Document Bug#5541.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
f9b84f9f
CY
12010-02-20 Kevin Ryde <user42@zip.com.au>
2
3 * etags.c (Scheme_functions): Don't loop past a null character
4 (Bug#5601).
5
c14902e0 62010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
9d77a91f
CY
7
8 * etags.c (Fortran_functions): Handle recursive keyword
9 (Bug#5484).
10
6589a2f9
GM
112010-01-11 Glenn Morris <rgm@gnu.org>
12
13 * ebrowse.c (version):
14 * etags.c (print_version):
15 * rcs2log (Copyright): Set copyright year to 2010.
16
03dcfe01
CY
172009-12-09 David Robinow <drobinow@gmail.com> (tiny change)
18
19 * makefile.w32-in: Use parenthesis for macros for nmake
20 compatibility.
21
5ce6e4f4 222009-11-23 Tobias Ringström <tobias@ringis.se> (tiny change)
46f3381a 23
f7e0618c 24 * etags.c (absolute_filename): Use memmove if we have it for
46f3381a
JD
25 overlapping copy.
26
f6195dfb
DN
272009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
28
29 * make-docfile.c (scan_lisp_file): Also look for `defvaralias'.
30
b53f6df2
JB
312009-10-15 Juanma Barranquero <lekktu@gmail.com>
32
33 * .gitignore: Add echolisp.tmp.
34
9fc3db2b
GM
352009-10-15 Glenn Morris <rgm@gnu.org>
36
5f54cae6
GM
37 * emacsclient.c (print_help_and_exit): Fix bug report instructions.
38
9fc3db2b
GM
39 * makefile.w32-in (echolisp): New rule.
40 (clean): Delete echolisp.tmp.
41
614bd9cf
EZ
422009-09-27 Eli Zaretskii <eliz@gnu.org>
43
44 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Add term/internal.elc,
45 term/pc-win.elc, emacs-lisp/easymenu.elc, and term/ns-win.elc, to
46 be consistent with src/Makefile.in.
47
24e9e996
SM
482009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * update-game-score.c (main): Sort scores before trimming them,
51 reported by Jason Feng <jfeng@ozbert.com> (bug#4397).
52
c5a139ca
GM
532009-09-09 Glenn Morris <rgm@gnu.org>
54
55 * Makefile.in ($(DESTDIR)${archlibdir}): Set umask to world-readable
56 before creating directories and game score files.
57
a8a8ec61
GM
582009-08-19 Glenn Morris <rgm@gnu.org>
59
0916a29e 60 * cvtmail.c: Remove file.
a8a8ec61
GM
61 * Makefile.in (UTILITIES): Remove cvtmail.
62 (cvtmail${EXEEXT}): Remove.
63
678bc1f5
CY
642009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
65
66 * b2m.c (main): Ensure that each message ends in two newlines.
67
0a3472c7
JR
682009-07-03 Jason Rumney <jasonr@gnu.org>
69
70 * emacsclient.c (w32_set_user_model_id): Use standard types.
71
f2d6b714
EZ
722009-07-03 Eli Zaretskii <eliz@gnu.org>
73
74 * makefile.w32-in (WINNT_SUPPORT): Add common-win.elc, like
75 src/Makefile.in did.
76
ff90fbde
JR
772009-06-30 Jason Rumney <jasonr@gnu.org>
78
79 * emacsclient.c (w32_give_focus): Use GetModuleHandle for library
80 that is already loaded.
81 (w32_set_user_model_id): New function.
82 (main): Use it to associate emacsclient with emacs (bug#1849).
83
e0f59195
JM
842009-06-29 Jim Meyering <meyering@redhat.com>
85
86 Remove useless if-before-free test.
87 * make-docfile.c (scan_lisp_file): Remove useless test.
88
f5f20f6c
DN
892009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
90
91 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
92
70243478
CY
932009-06-21 Chong Yidong <cyd@stupidchicken.com>
94
95 * Branch for 23.1.
96
fa44da6e
AR
972006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
98
99 * mac-fix-env.m:
100 * Makefile.in (mac-fix-env): Remove.
101
a7f2b0b1
AR
1022006-06-06 David Reitter <david.reitter@gmail.com>
103
104 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
105
9dfda22f
JB
1062009-04-20 Juanma Barranquero <lekktu@gmail.com>
107
108 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
109 spacing is required in the message output, as the comment suggests).
110
24d5010d
CY
1112009-04-20 Chong Yidong <cyd@stupidchicken.com>
112
113 * emacsclient.c (print_help_and_exit): Clarify argument placement
114 for short option names.
115
6133a1a9
DN
1162009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
117
118 * emacsclient.c (print_help_and_exit): Fix typo.
119
22749e9a
EZ
1202009-03-21 Eli Zaretskii <eliz@gnu.org>
121
122 * ntlib.c (setuid): Argument is now unsigned.
123 (getuid): Return value is now unsigned.
124 (getpwuid): Argument is now unsigned.
125 (fchown): UID and GID arguments are now unsigned.
126
127 * ntlib.h (fchown): UID and GID arguments are now unsigned.
128 (getuid): Return value is now unsigned.
129 (setuid): Argument is now unsigned.
130 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
131
b57ac69d 1322009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
133
134 * emacsclient.c (main): Revert part of last change, so
135 drive-relative file names again work on Windows.
136
ba528748
SM
1372009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
138
139 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
140 names without prepending cwd to them, so Emacs uses its customary
141 rules to determine how to interpret the file name.
142
f213f2c0
GM
1432009-03-04 Glenn Morris <rgm@gnu.org>
144
145 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
146
8ee7d7be
CY
1472009-02-13 Sven Joachim <svenjoac@gmx.de>
148
149 * movemail.c: Include time.h unconditionally.
150 (main): Use time_t for time variables.
151
d228a23c
GM
1522009-02-11 Glenn Morris <rgm@gnu.org>
153
154 * movemail.c (mbx_delimit_begin): Also write the current time.
155
3f32be22
GM
1562009-02-10 Glenn Morris <rgm@gnu.org>
157
158 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
159 than Babyl format. (Bug#2196)
160
e7534fc4
AR
1612009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
162
163 * emacsclient.c (decode_options): Use a dummy display name under
164 NS/Cocoa.
165
9eb67dd9
CY
1662009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
167
168 * ebrowse.c (matching_regexp): Fix OB1 error.
169
b433a991
GM
1702009-01-05 Glenn Morris <rgm@gnu.org>
171
172 * ebrowse.c (version):
173 * etags.c (print_version):
174 * rcs2log (Copyright): Update copyright for 2009.
175
81f82586
CY
1762009-01-01 Chong Yidong <cyd@stupidchicken.com>
177
178 * movemail.c (main): Fatal if hard links cannot be created.
179
fd95644b
DN
1802008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
181
182 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
183 checking.
184
67c1df01
DN
1852008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
186
187 * emacsclient.c: Include syswait.h instead of sys/types.h.
188
f0131492 1892008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 190
d4835507
JB
191 * emacsclient.c (WCONTINUED): New compatibility define
192 for older systems.
5445ab06 193
d50299d5
DN
1942008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
195
196 * emacsclient.c (main): Fix previous change.
197
52016647
JB
1982008-12-10 Juanma Barranquero <lekktu@gmail.com>
199
200 * emacsclient.c (main): Fix mindless breakage where emacsclient
201 does not work *at all* on Windows, even if it *can* connect.
202
802bdb3c
DN
2032008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
204
205 * emacsclient.c (EMACS_DAEMON): Remove definition.
206 (decode_options): Do not allow an empty alternate_editor on
207 WINDOWSNT.
208 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
209 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 210 (main): Fail in case of not being able to connect.
802bdb3c 211
c3f995a2
JB
2122008-12-10 Juanma Barranquero <lekktu@gmail.com>
213
214 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
215 Changes when EMACS_DAEMON is not defined:
216 (print_help_and_exit): Don't add daemon information to help.
217 (start_daemon_and_retry_set_socket): Make a no-op.
218 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
219
636b507b
DN
2202008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
221
222 * emacsclient.c (print_help_and_exit): Describe what an empty
223 string argument does for --alternate-editor.
224 (set_socket): Make it possible to not exit in case of an error.
225 (start_daemon_and_retry_set_socket): New function.
226 (main): Use it. Restore the NULL value for socket_name and
227 server_file after the set_socket call.
228
448d4085
DN
2292008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
230
7b641241 231 * emacsclient.c: Include <arpa/inet.h>.
448d4085 232
938ebc4f
DN
2332008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
234
235 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
236
3d864325
GM
2372008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
238
239 * etags.c (add_regex): Pass correct length to re_compile_pattern.
240
48c2dc68
CY
2412008-11-02 Chong Yidong <cyd@stupidchicken.com>
242
243 * emacsclient.c (window_system): Delete redundant variable.
244 (decode_options): Don't use it.
245 (find_tty): New function.
246 (main): Use find_tty, and don't use window_system.
247
d41784ee
EZ
2482008-11-01 Eli Zaretskii <eliz@gnu.org>
249
250 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
251 `ttyname'.
252 (w32_getenv): Treat $TERM specially: if not found in the
253 environment and in the Registry, return "w32console".
254 (ttyname) [WINDOWSNT]: New function.
255
322ca650
AS
2562008-10-31 Andreas Schwab <schwab@suse.de>
257
258 * emacsclient.c (main): Don't force sending tty when in eval mode.
259
8a8a7cd3
CY
2602008-10-30 Chong Yidong <cyd@stupidchicken.com>
261
262 * emacsclient.c (main): If using the current frame, send tty
263 information to Emacs in case daemon mode needs to occupy this tty.
264
f8baa639
JB
2652008-10-29 Juanma Barranquero <lekktu@gmail.com>
266
bc558f3e
JB
267 * emacsclient.c (EXTRA_SPACE): New macro.
268 (get_server_config, set_local_socket): Use it.
269
f8baa639
JB
270 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
271 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
272
f77b11a0
JB
2732008-10-29 Ulrich Mueller <ulm@gentoo.org>
274
275 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
276 instead of hardcoded /tmp.
277
dc1cd5f7
DN
2782008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
279
280 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
281 (decode_options): Use getopt_long_only.
282
7a09249b
EZ
2832008-09-30 Eli Zaretskii <eliz@gnu.org>
284
285 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
286 codepage.elc.
287
997ec957
CY
2882008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
289
290 * emacsclient.c (main): Use stdout rather than stdin to obtain the
291 terminal (bug#427).
292
0d80bf29
FP
2932008-08-25 Francesco Potortì <pot@gnu.org>
294
295 * etags.c (main): Do not use static space for the tagfile string.
296
34a23e94
FP
2972008-08-17 Francesco Potortì <pot@gnu.org>
298
299 * etags.c (main): Use canonicalize_filename on tags file name.
300 (relative_filename): Revert 3.85: do not collapse slashes here.
301 (absolute_dirname): Remove useless call to canonicalize_filename.
302 (canonicalize_filename): Collapse multiple slashes here.
303
48fad8e8
DN
3042008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
305
10d1d0af
JB
306 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
307 Do not special case for NS_IMPL_COCOA.
48fad8e8 308
6088b51f 3092008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com>
f4494e84
AR
310
311 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
312 (.m.o): Dispense with GNUstep-specific flags.
313
39b8bb9b
CY
3142008-08-05 Ulrich Mueller <ulm@gentoo.org>
315
316 * pop.c (socket_connection): Add conditionals for
317 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
318 compilation with MIT Kerberos and Heimdal, respectively.
319
7c2fb837
DN
3202008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
321
322 * etags.c:
323 * emacsclient.c: Remove VMS support.
324
9e2a2647
DN
3252008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
326
327 Remove support for Mac Carbon.
328 * makefile.w32-in:
329 * emacsclient.c: Remove code for Carbon.
330
7f619bab
DN
3312008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
332
333 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
334
32cc3925
AS
3352008-07-17 Andreas Schwab <schwab@suse.de>
336
337 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
338 (LIB_STANDARD_LIBSRC): Don't define.
339 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
340
ba60bd44 3412008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
342
343 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
344 NS_IMPL_COCOA.
345
50863f58
DN
3462008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
347
ba60bd44
JB
348 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
349 Remove, unused.
50863f58 350
ba60bd44 3512008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
352
353 * .cvsignore: Add mac-fix-env.
354 * mac-fix-env.m: New file, automatically update
355 ~/.MacOSX/environment.plist on OS X systems to expose environment
356 variables inside Emacs started from icon.
357 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
358 programs to build.
359 * make-docfile.c: Add .m to list of file extensions.
360
bba104c1
DN
3612008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
362
363 * movemail.c (main): Use int instead of WAITTYPE.
364
da007124
JB
3652008-07-05 Juanma Barranquero <lekktu@gmail.com>
366
367 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
368 Remove vmsproc.el and vms-patch.el.
369
c9fc02c7
JB
3702008-06-26 Juanma Barranquero <lekktu@gmail.com>
371
372 * makefile.w32-in (obj): Remove w32bdf.o.
373
f2a77c3a
DN
3742008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
375
376 * fakemail.c: Remove references to obsolete variables.
377
c2cd06e6
JM
3782008-06-02 Jim Meyering <meyering@redhat.com>
379
e914c409 380 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 381
e914c409 382 Remove useless if-before-free tests.
70fdbb46
JM
383 * ebrowse.c (xfree): Likewise.
384 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 385 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 386 * pop.c (pop_quit): Likewise.
c2cd06e6 387
01b996ad
JB
3882008-05-30 Juanma Barranquero <lekktu@gmail.com>
389
390 * makefile.w32-in (lisp2): Add minibuffer.elc.
391
2926947a
SM
3922008-05-29 Tom Tromey <tromey@redhat.com>
393
394 * etags.c (relative_filename): Treat "///" like "/" in filenames.
395
10fea9c4
EZ
3962008-05-09 Eli Zaretskii <eliz@gnu.org>
397
398 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
399 (IS_DIRECTORY_SEP): New macro.
400 (convert_time, is_exec, stat): New functions.
401
86914123
EZ
4022008-05-08 Eli Zaretskii <eliz@gnu.org>
403
404 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
405
58bb7d50
EZ
4062008-05-03 Eli Zaretskii <eliz@gnu.org>
407
408 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
409 corresponding change in src/Makefile.in.
410
63b9b605
GM
4112008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
412
413 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
414
4429f88c
JR
4152008-04-10 Jason Rumney <jasonr@gnu.org>
416
417 * makefile.w32-in (CLIENTRES): New variable and target.
418 (TRES): Remove.
419 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
420
14b11401
SM
4212008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
424
95de358c
RF
4252008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
426
427 * vcdiff: Use mktemp (CVE-2008-1694).
428
6948400c
JR
4292008-04-09 Jason Rumney <jasonr@gnu.org>
430
431 * makefile.w32-in (distclean, maintainer-clean): New targets.
432
afd27920
GM
4332008-03-13 Glenn Morris <rgm@gnu.org>
434
435 * makefile.w32-in (VERSION): Set to 23.0.60.
436
3d193d0f
JB
4372008-03-04 Juanma Barranquero <lekktu@gmail.com>
438
439 * .cvsignore: Add oo.
440
1797886f
SM
4412008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
442
443 * etags.c (Perl_functions): Fix call to skip_spaces.
444
9d2818d6
DN
4452008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
446
447 * Makefile.in (NO_SHORTNAMES):
448 * emacsclient.c (NO_SHORTNAMES):
449 * fakemail.c (NO_SHORTNAMES):
450 * make-docfile.c (NO_SHORTNAMES):
451 * movemail.c (NO_SHORTNAMES):
452 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
453
79d48c1a
JR
4542008-02-23 Jason Rumney <jasonr@gnu.org>
455
456 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
457 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 458 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
459 (lisp2): Add new languages.
460 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
461
9c61c734
JB
4622008-02-22 Juanma Barranquero <lekktu@gmail.com>
463
464 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
465 malayalam.el, and tamil.el. Add sinhala.el.
466
50f271cb
JB
4672008-02-20 Juanma Barranquero <lekktu@gmail.com>
468
469 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
470 where NAME is relative to DRIVE'S current directory.
471
d07529f3
JB
4722008-02-15 Juanma Barranquero <lekktu@gmail.com>
473
474 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
475
45c1955d
DN
4762008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
477
478 * fakemail.c: Undo previous change.
479
deeaffe1
DN
4802008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
481
4624371d
DN
482 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
483 (main): Replace MAIL_PROGRAM_NAME with its value.
484
d07529f3 485 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 486
9997dc15
SM
4872008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * emacsclient.c (decode_options): Pass --display implicitly if -c
490 is specified. Only set tty if -t or -c is specified.
491
0c55bf82
JR
4922008-02-04 Jason Rumney <jasonr@gnu.org>
493
494 * makefile.w32-in (lisp1): Use (), not {}.
495
31cdf671
CY
4962008-02-04 Tom Tromey <tromey@redhat.com>
497
d07529f3
JB
498 * etags.c: Add "GTY" as synonym for __attribute__.
499 Update gperf output.
31cdf671 500
9303f985 5012008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2
MB
502
503 * makefile.w32-in (obj): Sync with src/Makefile.in
504 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
505 (WINNT_SUPPORT): Add term/w32-win.elc.
506 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
507
9303f985 5082008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 509
d07529f3 510 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 511
d07529f3 5122008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 513
290afd83 514 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
515 utf-8.elc, and latin-*.el.
516
0ea5797a
SM
5172008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
518
bcc891c2 519 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
520 Allow the -d option under w32 again, for those rare cases where it
521 actually does make sense.
522
5ab73228
JB
5232008-01-25 Juanma Barranquero <lekktu@gmail.com>
524
525 * emacsclient.c (set_tcp_socket): Don't send "\n" after
526 the authentication string; there's no need to haste.
527
702123a8
CY
5282008-01-22 Chong Yidong <cyd@stupidchicken.com>
529
530 * pop.c (pop_stat, pop_last): Fix last fix.
531
76ed5e01
DN
5322008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
533
534 * movemail.c: Remove references to XENIX.
535
e39a993c
DN
5362008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
537
538 * movemail.c:
539 * make-docfile.c: Remove reference to symbols defined by systems
540 not supported anymore: MAC_OS8, XENIX and STRIDE.
541
0ebec7d3
EZ
5422008-01-12 Eli Zaretskii <eliz@gnu.org>
543
544 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
545 of DISPLAY in the environment. Don't support -d.
546 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
547 (longopts) [WINDOWSNT]: Remove --display.
548
6eae3ad4
CY
5492008-01-10 Chong Yidong <cyd@stupidchicken.com>
550
551 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
552 conversion. Mistakes spotted by Nico Golde.
553
78da39c6
GM
5542008-01-09 Glenn Morris <rgm@gnu.org>
555
556 * emacsclient.c: Add missing final newlines to message calls.
557
34a14ec9 5582008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
559
560 * emacsclient.c (set_socket): Add final newline to socket error message.
561
a408ea17
GM
5622008-01-04 Glenn Morris <rgm@gnu.org>
563
07655e62
JB
564 * ebrowse.c (version) <emacs_copyright>: New variable.
565 Just use current year for copyright.
a408ea17
GM
566
567 * etags.c (print_version):
568 * rcs2log (Copyright): Update to 2008.
569
0dc7a8bc
JR
5702007-11-28 Jason Rumney <jasonr@gnu.org>
571
572 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
573
880820fe 5742007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
575
576 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
577
880820fe 5782007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
579
580 * pop.c (socket_connection): Move realhost out of #ifdefs.
581 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
582
880820fe 5832007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
584
585 * pop.c (socket_connection): Use getaddrinfo if available.
586
880820fe 5872007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 588
65841dd8 589 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 590 as the defaults in ctags are different from etags.
63f018cd 591
880820fe 5922007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
593
594 * etags.c: Make prototypes for extern definitions, and add all
595 that are needed to quench warnings on 64-bit.
596 (main): Use the same defaults for ctags as for etags: find
597 typedefs, structure tags, macro constants, enum constants, struct
598 members and global variables.
599 (make_C_tag) [DEBUG]: Add debugging printout.
600 (C_entries): In case '}' decrement bracelev before testing it.
601
7455effc
FP
6022007-11-15 Masatake YAMATO <jet@gyve.org>
603
604 * etags.c (C_entries): In case '}', set fvdef to fvnone
605 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
606
04a697fe
DN
6072007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
608
609 * makefile.w32-in (obj): Remove sunfns.o.
610
a2666217
JB
6112007-10-28 Juanma Barranquero <lekktu@gmail.com>
612
613 * makefile.w32-in (obj): Remove abbrev.o.
614
7ce8671d
JB
6152007-10-26 Juanma Barranquero <lekktu@gmail.com>
616
617 * emacsclient.c: Add a wrapper for getenv so it also checks the
618 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
619 Code partially based on w32_get_resource and init_environment (w32.c).
620 (egetenv): New wrapper for getenv.
621 (get_current_dir_name, decode_options, get_server_config)
622 (set_local_socket, set_socket, main): Use egetenv, not getenv.
623 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
624
d22b00e5
JR
6252007-10-25 Jason Rumney <jasonr@gnu.org>
626
627 * emacsclient.c (sock_err_message): New function.
628 (set_tcp_socket): Use it.
629
c4b858e3
JB
6302007-10-09 Juanma Barranquero <lekktu@gmail.com>
631
632 * emacsclient.c (print_help_and_exit): Fix space to improve
633 alignment in output messages.
634
dbf60b07
JR
6352007-09-27 Jason Rumney <jasonr@gnu.org>
636
637 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
638
639 * emacsclient.c (w32_window_app): Init common controls when windowed.
640
165e85b2
GM
6412007-09-21 Glenn Morris <rgm@gnu.org>
642
643 * emacstool.c: Remove file.
644 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
645 Delete targets built from emacstool.
646
c1b8e896
SM
6472007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
648
649 * emacsclient.c (decode_options): -t implies -c.
650
cb06b8dc
SM
6512007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
654 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
655 (main_argc): Remove.
656 (strprefix): Use strncmp.
657
c801ad51
JR
6582007-09-20 Jason Rumney <jasonr@gnu.org>
659
660 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
661
31fa6595
SM
6622007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * emacsclient.c (current_frame): Change the default.
665 (longopts): Replace --current-frame by --create-frame.
666 (decode_options): Reverse the meaning of -c.
667 (print_help_and_exit): Update help text accordingly.
668 (main): Remove the -version and -good-version messages.
669
58573230
GM
6702007-09-12 Glenn Morris <rgm@gnu.org>
671
672 * Makefile.in (SOURCES, unlock, relock): Delete.
673
bfd9ce71
GM
6742007-08-29 Glenn Morris <rgm@gnu.org>
675
676 * makefile.w32-in (VERSION): Increase to 23.0.50.
677
8d9cc0b7
MB
6782007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
679
680 * emacsclient.c (w32_execvp): Move definition before use.
681 (decode_options): Don't use a tty on mac carbon or windows.
682
6832007-08-29 Jason Rumney <jasonr@gnu.org>
684
31fa6595 685 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
686 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
687 (main): Expand removed macros inline.
688 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
689 option.
690 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
691
880820fe 6922007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
693
694 * emacsclient.c (signal.h): New include.
695 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
696 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
697 Copy definitions here from src/lisp.h.
698 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
699 (longopts): Add tty, current-frame.
700 (xmalloc, xstrdup): New functions.
701 (get_current_dir_name): New function, copied from src/sysdep.c.
702 (decode_options): Set display from environment. Add tty and
703 current_frame options. Make --no-wait imply --current-frame,
704 except when it is the only option given. Make sure no frame is
705 opened when --current-frame is set.
706 (print_help_and_exit): Document tty and current-frame options.
707 (fail): Change arguments to void.
708 (main): When sockets are not defined, set main_argc, main_argv,
709 and call fail() with no arguments.
710 (emacs_socket): New variable (moved out from main `s').
711 (quote_file_name): Rename to quote_argument.
712 (quote_argument): New name for old quote_file_name.
713 (unquote_argument, strprefix, pass_signal_to_emacs)
714 (handle_sigcont, handle_sigtstp, init_signals): New functions.
715 (set_local_socket): Initialize saved_errno to 0. If socket-name
716 is too long, call `fail' rather than `exit'.
717 (main): Doc update. Set main_argc, main_argv. New var `str'.
718 Don't need a filename or argument if tty or window_system set.
719 Call fail with no arguments. Use get_current_dir_name to send
720 over the current directory. Send version number to Emacs for
721 verification. If tty is set, check TERM, and pass name and type
722 to Emacs. Pass window_system to Emacs. Move sending of eval to
723 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
724 fflush. Check for a client/server version match.
725 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
726 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
727 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
728 environment and pwd to Emacs. Send current-frame to Emacs.
729
ca4ea90f
EZ
7302007-08-25 Eli Zaretskii <eliz@gnu.org>
731
732 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
733 Prepend "-" to the command, in case srcdir=. and file is copied
734 into itself.
735
cacc7b51
GM
7362007-07-25 Glenn Morris <rgm@gnu.org>
737
738 * Relicense all FSF files to GPLv3 or later.
739
740 * COPYING: Switch to GPLv3.
741
880820fe 7422007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
743
744 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
745 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
746 (print_help): Use it in if() rather than #if.
747 (print_help): Conditionally print help about --no-line-directive.
180f5b99 748
9724908a
EZ
7492007-07-16 Eli Zaretskii <eliz@gnu.org>
750
751 * makefile.w32-in (clean): Don't delete *~.
752
5cf9ca93
GM
7532007-06-07 Glenn Morris <rgm@gnu.org>
754
755 * etags.c (print_version): Add `emacs_copyright' string, for
756 easier automatic updating.
757
880820fe 7582007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
759
760 * etags.c: Extern definitions of some more pointer functions for
761 standalone compilation, especially important for 64bit platforms.
762 (main, print_help): --members is now the default for etags.
763 (C_entries): Parse start of C comment as a space == end of token.
764 This is not necessary for C++ comment, already parsed as newline.
765
07016031
GM
7662007-04-26 Glenn Morris <rgm@gnu.org>
767
768 * makefile.w32-in (VERSION): Increase to 22.1.50.
769
7dfc4cda
CY
7702007-06-02 Chong Yidong <cyd@stupidchicken.com>
771
772 * Version 22.1 released.
773
880820fe 7742007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 775
d620ddb3 776 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 777
0971f887
GM
7782007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
779
780 * Makefile.in (EMACS, EMACSOPT): New variables.
781 (blessmail): Use `--no-site-file' when compiling.
782
880820fe 7832007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
784
785 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
786 (main): Now --members is the default for etags, not for ctags yet.
787
d881944f 7882007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 789
47dad44f 790 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
791 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
792 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
793 import, package, extends, implements and interface to be treated
794 specially for all kinds of C-style files, not just Java files.
795
880820fe 7962007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 797
47dad44f 798 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
799 (no_duplicates): Static variables for the above option.
800 (print_help): Do not print help for --no-warn, now undocumented.
801 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 802 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 803
880820fe 8042006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
805
806 * etags.c (readline): When creating a relative file name from a
807 #line directive, leave the file name alone. The previous
a7c29764 808 behavior was to make it relative to the tags file directory,
18f9bf25
FP
809 under the hypothesis that the #line directive file name was
810 relative to the directory of the tagged file. That hypothesis is
811 wrong with Cpp and Lex.
17d5f8a6 812 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 813
5e059fc1
EZ
8142006-12-22 Eli Zaretskii <eliz@gnu.org>
815
816 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
817 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 818 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
819 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
820 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
821 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
822 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
823 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 824 (clean): Delete stamp_BLD.
5e059fc1 825
880820fe 8262006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
827
828 * etags.c (C_entries): DEFUN names were longer by one: corrected.
829
0e0dced5
JB
8302006-12-18 Juanma Barranquero <lekktu@gmail.com>
831
832 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
833 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
834 (main) [WINDOWSNT]: Remove code to release the focus; call
835 w32_give_focus instead.
836
4472aef4
JB
8372006-12-15 Juanma Barranquero <lekktu@gmail.com>
838
839 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
840 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
841 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
842 Suggestions and comment by Eli Zaretskii.
843
12f7728e 8442006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
845
846 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
847 Use $(USER32) for compatibility with Visual Studio .NET 2003.
848
310afa17
JB
8492006-11-30 Juanma Barranquero <lekktu@gmail.com>
850
851 * emacsclient.c (emacs_pid): New variable.
852 (message): Remove leftover code.
853 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
854 focus yet; emacsclient can still display an informational message
855 before sending requests to Emacs.
856 (main): Allow Emacs to grab the focus. Simplify message() call.
857
8582006-11-30 Michael Mauger <mmaug@yahoo.com>
859
860 * emacsclient.c (message): Make sure the message is properly
861 written even if it contains printf escapes, and flush the result.
862 (set_tcp_socket): Make the message for non-local connections
863 informational rather than an error.
864
8c57275b 8652006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
866
867 * etags.c (readline): Check for double quote after #line.
868
880820fe 8692006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
870
871 * etags.c (readline): sscanf could in principle return 2.
872
880820fe 8732006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
874
875 * etags.c (readline): lno is unsigned.
876 (TeX_commands): Use p++ (rather than *p++) to increment p.
877 (Lua_functions): Explicitly discard LOOKING_AT's return value.
878
4d91c8f9
JB
8792006-11-27 Juanma Barranquero <lekktu@gmail.com>
880
881 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
882 ($(TRES)): New rule (copied from nt/makefile.w32-in).
883 ($(BLD)/emacsclientw.exe): Add dependency.
884
340d34a5
EZ
8852006-11-27 Eli Zaretskii <eliz@gnu.org>
886
d620ddb3 887 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 888
7dce1990
JB
8892006-11-25 Juanma Barranquero <lekktu@gmail.com>
890
891 * makefile.w32-in (VERSION): New macro.
892 (ECLIENT_CFLAGS): Add -DVERSION.
893
410797a5 8942006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
895
896 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
897
410797a5 8982006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 899
4472aef4
JB
900 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
901 file names with forward slashes.
cb0297bb 902
30aa95ce
JB
9032006-11-23 Juanma Barranquero <lekktu@gmail.com>
904
905 * emacsclient.c (print_help_and_exit): Tweak message contents and
906 tabs/spaces to improve alignment in message boxes.
907
42073bfb
JB
9082006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
909
910 * emacsclient.c: Include <stdarg.h>.
911 [WINDOWSNT]: Include <windows.h>.
912 (w32_check_console_app): New function.
913 (message): New function.
914 (decode_options, print_help_and_exit, fail, main)
915 (initialize_sockets, get_server_config, set_tcp_socket)
916 (set_local_socket, set_socket): Use message().
917
32dd9283 9182006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 919
32dd9283
JR
920 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
921 HAVE_INET_SOCKETS.
922
1bbea9fc
JB
9232006-11-13 Juanma Barranquero <lekktu@gmail.com>
924
925 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
926 ($(BLD)/emacsclientw.exe): New target.
927 (install): Install emacsclientw.exe.
928 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
929 (ECLIENT_CFLAGS): Remove redundant flags.
930
931 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
932
a48db427
JR
9332006-11-13 Jason Rumney <jasonr@gnu.org>
934
935 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
936
21f89bb7 9372006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
938
939 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
940
d5abc12c
JB
9412006-11-08 Juanma Barranquero <lekktu@gmail.com>
942
ed4a3730
JB
943 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
944 FARPROC to avoid a compiler warning.
d5abc12c 945
18b8c421
JB
9462006-11-07 Juanma Barranquero <lekktu@gmail.com>
947
88b46d84
JB
948 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
949 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
950
18b8c421
JB
951 * emacsclient.c (get_server_config): Extract also the Emacs pid
952 from the server file. On Windows, try to force the Emacs frame to
953 the foreground.
954
b03d27bd
JB
9552006-11-06 Juanma Barranquero <lekktu@gmail.com>
956
21f89bb7 957 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
958 option --socket-name.
959 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
960 command line options.
21f89bb7 961 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
962 (fail): Don't check for missing arguments, it is now done in set_socket.
963 (file_name_absolute_p): New function (loosely based on the one in
964 fileio.c).
965 (initialize_sockets): Don't check for duplicate loading of Winsock.
966 (get_server_config): Only try relative paths in the default
967 directory locations.
968 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
969 a remote server.
970 (set_socket): Call INITIALIZE(). Search explicit command-line
971 arguments, then environment variable EMACS_SERVER_FILE, then implicit
972 socket paths, before trying the alternate editor.
973 (main): Use file_name_absolute_p.
974
b20d6154
EZ
9752006-11-04 Eli Zaretskii <eliz@gnu.org>
976
977 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
978 file if it doesn't already exist.
979
9c92edca
JB
9802006-11-03 Juanma Barranquero <lekktu@gmail.com>
981
982 * emacsclient.c (initialize_sockets): Don't initialize Winsock
983 more than once.
984
b6ce9c46
JB
9852006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
986
987 * Makefile.in (INSTALL_SCRIPT): New macro.
988 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
989
4418616b
JB
9902006-11-02 Juanma Barranquero <lekktu@gmail.com>
991
992 * grep-changelog: When called with no arguments (not even a
993 filter), show help instead of blindingly dumping every single
994 ChangeLog available. Doc fix. Update version.
995
1e7823d0
JB
9962006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
997
998 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
999 [!WINDOWSNT]: Include <netinet/in.h> if available.
1000 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
1001 (IOCTL, IOCTL_BOOL_ARG): Remove.
1002 (set_tcp_socket): Don't set the socket in blocking mode.
1003 Remove c_arg.
1004
ebc20ca0
JB
10052006-11-01 Juanma Barranquero <lekktu@gmail.com>
1006
1007 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
1008 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
1009
880820fe 10102006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
1011
1012 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
1013 (close_winsock): Declare as __cdecl.
1014
880820fe 10152006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
1016
1017 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
1018 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
1019 to set the socket in non-blocking mode.
1020
e35fc962
JB
10212006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
1022
d4fa60c8 1023 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
1024 (INVALID_SOCKET): Define.
1025 (initialize_sockets): Put #endif at the right place.
1026 (set_local_socket): Use progname, not argv[0].
1027
ecc54057
JB
10282006-10-31 Juanma Barranquero <lekktu@gmail.com>
1029
1030 * makefile.w32-in (ALL): Add emacsclient.
1031 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
1032 (emacsclient, $(BLD)/emacsclient.exe): New targets.
1033 (install): Install emacsclient.
1034
1035 * emacsclient.c: Add support for TCP sockets.
1036 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
1037 (INITIALIZE): New macros.
1038 (IOCTL_BOOL_ARG): New typedef.
1039 (server_file): New global variable.
1040 (longopts): New option --server-file.
1041 (decode_options): Process new option --server-file and environment
1042 variable EMACS_SERVER_FILE.
1043 (print_help_and_exit): Document new option.
1044 (fail): If no connection available and no alternate editor,
1045 suggest using options to make them explicit.
1046 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
1047 (send_buffer, sblen): New variables.
31fa6595 1048 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
1049 (quote_file_name): Use SEND_STRING.
1050 (close_winsock, initialize_sockets): New functions to load and
1051 unload Winsock.
1052 (get_server_config, set_tcp_socket): New functions to create and
1053 set up TCP sockets.
1054 (set_local_socket): New function to create and set up Unix
1055 socket (code moved from previous implementation).
10d1d0af 1056 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
1057 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
1058 set_local_socket. Use set_socket. Get answers from server.el with
1059 recv(), not file stream functions.
1060
70846e2a
EZ
10612006-10-09 Eli Zaretskii <eliz@gnu.org>
1062
1063 * makefile.w32-in (../src/config.h): Fix error message.
1064
e2247cd0
EZ
10652006-09-30 Eli Zaretskii <eliz@gnu.org>
1066
1067 * .cvsignore: Add blessmail.
1068
45a2056c
JB
10692006-09-15 Jay Belanger <belanger@truman.edu>
1070
1071 * COPYING: Replace "Library Public License" by "Lesser Public
1072 License" throughout.
1073
880820fe 10742006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 1075
ecc54057 1076 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 1077 (readline): Change position on %n and \" in sscanf.
1f4edc37 1078
1520a816
JD
10792006-08-07 Masatake YAMATO <jet@gyve.org>
1080
ecc54057
JB
1081 * etags.c (readline): Expect sscanf returns 2, not 1.
1082
867cc23e
JD
10832006-08-07 Masatake YAMATO <jet@gyve.org>
1084
9984b9d5 1085 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
1086 File ended without newline causes infinite loop.
1087
6088b51f 10882006-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
fc185ae6 1089
ecc54057 1090 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 1091
880820fe 10922006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
1093
1094 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
1095 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
1096 (Objc_suffixes): Suggest using --lang=c for full help.
1097 (C_entries): Initialise savetoken to 0 to shut up the compiler.
1098
116e754b
AS
10992006-07-20 Andreas Schwab <schwab@suse.de>
1100
1101 * fakemail.c (fatal): Drop second parameter and treat first
1102 parameter as a plain string. Callers changed.
1103
2381d38d
DN
11042006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
1105
1106 * ebrowse.c (usage, version): Mark as NO_RETURN.
1107
1108 * emacsclient.c (print_help_and_exit): Likewise.
1109
880820fe 11102006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
1111
1112 * etags.c (absolute_filename): Free unused space (cosmetic change).
1113 (in_word_set): In C, also tag #undef symbols.
1114
7cb93181
EZ
11152006-06-09 Eli Zaretskii <eliz@gnu.org>
1116
1117 * yow.c: Remove file.
1118
1119 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
1120
1121 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
1122 yow${EXEEXT}: Remove target.
1123
0f29c66d
MY
11242006-06-04 Masatake YAMATO <jet@gyve.org>
1125
63fbb644 1126 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
1127 doesn't exist, is not seekable, not is failed in ftall.
1128
a941b26b
EZ
11292006-06-03 Eli Zaretskii <eliz@gnu.org>
1130
9781fb53
EZ
1131 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
1132 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
1133 ($(BLD)/test-distrib.exe): New targets.
1134 (sorted-doc, digest-doc, test-distrib): New targets.
1135 (install): Install sorted-doc.exe and digest-doc.exe.
1136 ($(BLD)/sorted-doc.$(O)): Update dependencies.
1137
1b178b99
EZ
1138 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1139 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1140 terminal device.
1141
ae85efdb
EZ
1142 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1143 [WINDOWSNT] <top level>: Don't redeclare malloc.
1144 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1145 terminal device.
6088b51f 1146 (main): Initialize bp, to avoid compiler warnings.
ae85efdb 1147
a941b26b
EZ
1148 * makefile.w32-in: Delete traces of leditcfns.c.
1149
1150 * leditcfns.c: Remove file.
1151
880820fe 11522006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 1153
31fa6595
SM
1154 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1155 Add comments explaining why the "kpop" service is never used.
8a6d5da7 1156
642c61f3
EZ
11572006-05-13 Eli Zaretskii <eliz@gnu.org>
1158
1159 * makefile.w32-in (lisp1): Add fringe.elc.
1160
880820fe 11612006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
1162
1163 * etags.c (Perl_functions): Free space allocated for var package.
1164 (Erlang_functions): Possibly free space allocated for var last.
1165 (Prolog_functions): Possibly free space allocated for var last.
1166
7c47913b
DN
11672006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1168
7fe8b491
DN
1169 * sorted-doc.c (main): Initialize docs to NULL.
1170
cdeda579
DN
1171 * yow.c (yow): Free buf.
1172
7c47913b
DN
1173 * etags.c: Delete c-indentation-style local variable.
1174
2ef88a94
RS
11752006-04-29 Richard Stallman <rms@gnu.org>
1176
5e5b35c7
RS
1177 * movemail.c (main): Check for negative value from `read'.
1178
2ef88a94
RS
1179 * fakemail.c (read_header): Give fatal error if input has no header.
1180
d65b4235
PE
11812006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1182
1183 * b2m.c (main): Don't include <limits.h>.
1184 (TM_YEAR_BASE): New macro.
1185 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
1186 that s/ files can override this. Use the more-conservative range
1187 1000-9999.
1188 (main): Check for asctime returning NULL.
1189 * fakemail.c: Likewise.
1190
f5565804
PE
11912006-03-27 Paul Eggert <eggert@cs.ucla.edu>
1192
1193 * b2m.c: Include <limits.h>.
1194 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
1195 (main): Check for out-of-range time stamps.
1196 * fakemail.c: Likewise.
1197
90c9c343
AS
11982006-03-18 Andre Spiegel <spiegel@gnu.org>
1199
1200 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
1201 execute $DIFF twice, and once with the wrong options.
1202
a6a2b5d4
EZ
12032006-02-23 Claudio Fontana <claudio@gnu.org>
1204
9e2bcc86
EZ
1205 * Makefile.in (install, uninstall): Add DESTDIR variable to
1206 support staged installations.
a6a2b5d4 1207
ef3f69f9
EZ
12082005-12-30 Eli Zaretskii <eliz@gnu.org>
1209
1210 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
1211 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
1212 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
1213 Rearrange the list to be similar to $(shortlisp) in
1214 src/Makefile.in.
ef3f69f9
EZ
1215 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
1216 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
1217 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
1218 src/Makefile.in.
1219
30cfcf7f
RS
12202005-12-22 Richard M. Stallman <rms@gnu.org>
1221
1222 * Makefile.in (update-game-score.o): Delete spurious final `\'.
1223
ecc54057 12242005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
1225
1226 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
1227 which was never opened.
1228
283879ef 12292005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
1230
1231 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
1232 header files.)
1233
880820fe 12342005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
1235
1236 * etags.c: Preliminary Forth support.
1237 (prolog_pr): Cast strlen to int before comparison.
1238 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
1239 the second argument is indeed a literal string.
b9509712 1240 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
1241
12422005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
1243
1244 * etags.c (longopts, print_help, main): The -a (--append) option
1245 can be used in ctags also; for one, the Linux make file uses it.
1246
41ea4df8
CY
12472005-09-20 Chong Yidong <cyd@stupidchicken.com>
1248
1249 * ebrowse.c (add_sym): Compare namespace names instead of
1250 namespace objects. This prevents the parser from incorrectly
1251 treating classes whose superclass is in another namespace.
1252
5c4757d3
RS
12532005-09-15 Richard M. Stallman <rms@gnu.org>
1254
1255 * Makefile.in (update-game-score.o): New target.
10d1d0af 1256 Compile and link this program separately.
5c4757d3
RS
1257 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1258
df1b2142
JR
12592005-09-11 Jason Rumney <jasonr@gnu.org>
1260
ecc54057 1261 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 1262 message instead.
31fa6595 1263 (../src/paths.h): Remove.
df1b2142 1264
c638055f
JB
12652005-07-27 Juanma Barranquero <lekktu@gmail.com>
1266
1267 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
1268 generated. Ignore also ctags.c and getopt.h.
1269
1270 * makefile.w32-in (clean): Delete getopt.h.
1271 (getopt.h): New rule.
1272
9eff9fe3
PE
12732005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1274
1275 Merge gnulib getopt implementation into Emacs.
1276
1277 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
1278 (GETOPT_H): New macro, from gnulib.
1279 (getopt.h): New rule, from gnulib.
1280 (GETOPTOBJS): Now autoconfigured.
1281 (GETOPTDEPS): getopt.h is now autoconfigured.
1282 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
1283 (getopt.o): Depend on ${srcdir}/gettext.h.
1284 (movemail.o): Depend on $(GETOPT_H).
1285 * getopt.c, getopt1.c: Sync from gnulib.
1286 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
1287 * getopt.h: Removed (now is getopt_.h).
1288
ec641d50
KR
12892005-07-13 Ken Raeburn <raeburn@gnu.org>
1290
0e0dced5
JB
1291 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
1292 (sendline): Add the \r\n to the line in a temporary buffer, and write
1293 it all at once.
ec641d50 1294
a0ec7a4a
LK
12952005-07-04 Lute Kamstra <lute@gnu.org>
1296
1297 Update FSF's address in GPL notices.
1298
0e0dddda
EZ
12992005-06-13 Eli Zaretskii <eliz@gnu.org>
1300
1301 * makefile.w32-in ($(DOC)): Fix last change.
1302
5a77c8e2
EZ
13032005-06-12 Eli Zaretskii <eliz@gnu.org>
1304
1305 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
1306 temacs.exe, and the preloaded *.elc files. This avoids
1307 unnecessary dumping and DOC rebuilding.
1308
1a8fb426
EZ
13092005-06-04 Eli Zaretskii <eliz@gnu.org>
1310
1311 * ntlib.h (fileno): Don't define if already defined.
1312
7235a58f
TTN
13132005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1314
1315 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
1316 (yow): Use EXIT_FAILURE in case of memory error.
1317
5063dbbf
YM
13182005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1319
1320 * make-docfile.c (DIRECTORY_SEP): New macro.
1321 (IS_DIRECTORY_SEP): Use it.
1322
880820fe 13232005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
1324
1325 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1326
ba025f6d
YM
13272005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1328
1329 * make-docfile.c: Undo previous change.
1330
a9eedf40
AS
13312005-02-04 Andreas Schwab <schwab@suse.de>
1332
0e0dced5
JB
1333 * movemail.c (fatal): Accept third parameter and pass down to error.
1334 (pfatal_with_name): Pass error string as format parameter instead of
1335 as part of format string.
a9eedf40
AS
1336 (pfatal_and_delete): Likewise.
1337 (main): Adjust call to fatal.
1338 (xmalloc): Likewise.
1339
5a92a9eb
RS
13402005-01-29 Richard M. Stallman <rms@gnu.org>
1341
1342 * movemail.c (popmail): Don't use Errmsg as format string.
1343
e6973a25
ST
13442004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1345
0e0dced5 1346 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 1347
1bb3da38
AS
13482004-12-15 Andreas Schwab <schwab@suse.de>
1349
1350 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
1351 preprocessing to compile time constant.
1352
d4a38fdd
KS
13532004-11-17 Kim F. Storm <storm@cua.dk>
1354
1355 * etags.c: Undo last change.
1356
f2eb41c8
KS
13572004-11-09 Kim F. Storm <storm@cua.dk>
1358
1359 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
1360 silence compiler.
1361
1362 * hexl.c (main): Init local var c to silence compiler.
1363
1364 * etags.c (main, consider_token, C_entries): Add misc switch
1365 default targets to silence compiler.
1366
880820fe 13672004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
1368
1369 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
1370 resulting DOC file can be used on Unix/Mac also.
1371
880820fe 13722004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
1373
1374 * etags.c (main): When relative file names are given as argument,
1375 make them relative to the current working dir, rather than
1376 relative to the output tags file, if the latter is in /dev.
1377
880820fe 13782004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
1379
1380 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
1381 <stdlib.h> is available.
1382 (enum sym_type): New st_C_attribute value for parsing
1383 gcc's __attribute__. Deleted st_C_typespec value.
1384 (gperf, in_word_set): Use gperf 3, options changed. Added the
1385 __attribute__ keyword, removed all the st_C_typespec keywords,
1386 changed attribute for Java to (C_JAVA & !C_PLPL).
1387 (inattribute): New global bool, part of the C state machine.
1388 (cblev): Identifier renamed to bracelev throughout.
1389 (consider_token, C_entries): Numerous changes for making the
1390 parser more robust and adding support for __attribute__.
1391
13922004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
1393
ecc54057 1394 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
1395 Support the Lua scripting language <http://www.lua.org>.
1396
880820fe 13972004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 1398
d57727c9 1399 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
1400 for ease of use.
1401
3751eb00
RS
14022004-07-17 Richard M. Stallman <rms@gnu.org>
1403
1404 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
1405
86d373e6
JB
14062004-06-01 Juanma Barranquero <lektu@terra.es>
1407
1408 * makefile.w32-in (obj): Add image.c.
1409
80e26b66
TTN
14102004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
1411
0e0dced5 1412 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 1413
e6662c8b
JR
14142004-05-08 Jason Rumney <jasonr@gnu.org>
1415
1416 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
1417 command-lines.
1418
65396510
TTN
14192004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1420
1421 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
1422 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
1423 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1424
1425 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
1426 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
1427 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 1428
c2bcfb19
TTN
14292004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1430
1431 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
1432
3f0656ff
TTN
14332004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
1434
1435 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1436 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1437 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1438
1439 * etags.c: Likewise.
1440
238add5e
JR
14412004-05-03 Jason Rumney <jasonr@gnu.org>
1442
1443 * makefile.nt: Remove.
1444
b09c5608
EZ
14452004-04-26 Eli Zaretskii <eliz@gnu.org>
1446
1447 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1448 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1449 instead of a literal '/'.
1450
d814862a
JB
14512004-04-23 Juanma Barranquero <lektu@terra.es>
1452
1453 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1454
442a2160
PE
14552004-04-17 Paul Eggert <eggert@gnu.org>
1456
1457 * rcs2log (Help): Clarify wording of the usage message.
1458 Problem reported by Alan Mackenzie in
1459 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
1460
d5d66b7e
SM
14612004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1462
1463 * make-docfile.c (xmalloc): Fix return type.
1464 (put_filename): New fun.
1465 (scan_file): Use it.
1466
bdfd0369
JB
14672004-03-09 Juanma Barranquero <lektu@terra.es>
1468
1469 * grep-changelog: Changes to support ChangeLog.10+.
1470 (main): Tidy up usage string. Fix "Use of uninitialized value"
1471 warning. Set version to 0.2. Parse the directory listing to get
1472 any ChangeLog.n file, not just 1..9.
1473 (header_match_p, entry_match_p, print_log, parse_changelog):
1474 Remove Perl prototypes (their purpose is to help the parser, which
1475 isn't needed here, not declare arguments).
1476 (parse_changelog): Make --reverse faster on big batches by not
1477 modifying the entries list.
1478
a64387ee
JB
14792004-03-01 Juanma Barranquero <lektu@terra.es>
1480
1481 * makefile.w32-in (obj): Add fringe.c.
1482
9766d41b
PE
14832004-02-14 Paul Eggert <eggert@twinsun.com>
1484
1485 * rcs2log: Work correctly if CVSROOT specifies :fork: or
1486 :local: methods, or omits the colon between the hostname
1487 and the path. Allow :/ in repository path, since CVS does.
1488 Fix typo: "pository" should be set from $CVSROOT, not $repository.
1489 This fixes a bug reported by Wolfgang Scherer in
1490 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
1491 along with some related bugs I discovered by inspecting how
1492 CVS itself parses $CVSROOT.
1493
880820fe 14942004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
1495
1496 * emacsclient.c (decode_options): Fix handling of alternate editor.
1497
0734b0d0
SM
14982004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1499
1500 * emacsclient.c (main): Don't use the hostname in the socket name.
1501 Look for relative socket names in the /tmp dir rather than in cwd.
1502
2a6fc2d9
RS
15032004-01-24 Richard M. Stallman <rms@gnu.org>
1504
1505 * emacsclient.c (main): Restore errno from saved_errno,
1506 so the error message comes from socket_status.
1507
0734b0d0
SM
15082004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * emacsclient.c (main): Stop if socket name too long.
1511 Only try su-fallback if the socket name was not explicit.
1512 Check socket name length in su-fallback case as well.
1513
152b6e83
AS
15142004-01-08 Andreas Schwab <schwab@suse.de>
1515
1516 * emacsclient.c (main): Save errno from socket_status.
1517
e8228824
AS
15182004-01-04 Andreas Schwab <schwab@suse.de>
1519
1520 * emacsclient.c (main): Fix socket name when using another user.
1521
c9140662
PE
15222003-12-27 Paul Eggert <eggert@twinsun.com>
1523
1524 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
1525 a tag, and if the user has not specified an rlog option.
1526 Adapted from a suggestion by Martin Stjernholm in
1527 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
1528 (Copyright): Update to 2003.
1529
8babaa59
TTN
15302003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
1531
1532 * make-docfile.c (main): For return code, no longer special-case VMS.
1533 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
1534
880820fe 15352003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
1536
1537 * emacsclient.c (quote_file_name): Print the result instead of
1538 returning it. Fix the return type accordingly.
1ae7cf5e
RS
1539 (main): With --eval, if no file name, read from stdin.
1540 Quote file names.
14ef7288 1541
f387bdea
RS
15422003-09-10 Richard M. Stallman <rms@gnu.org>
1543
07655e62 1544 * emacsclient.c (main): Use socket_name.
f387bdea 1545
880820fe 15462003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
1547
1548 * emacsclient.c (socket_name): New variable.
1549 (longopts, decode_options, print_help_and_exit):
1550 Handle --socket-name argument.
1551
0b7e7337
FP
15522003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
1553
783bcffa 1554 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
1555 token len is long enough.
1556
ac06b30b
DL
15572003-08-20 Dave Love <fx@gnu.org>
1558
1559 * Makefile.in: Remove obsolete references to alloca.
1560
32b0a3c6
JB
15612003-07-29 Ken Brush <ken@wirex.com>
1562
1563 * emacsclient.c (main)
1564 * etags.c (suggest_asking_for_help)
1565 * movemail.c (main): Fix having macros in a printf statement.
1566
3867c42d
JB
15672003-05-31 Juanma Barranquero <lektu@terra.es>
1568
1569 * makefile.w32-in (lisp): Fix references to byte-run.el,
1570 float-sup.el and map-ynp.el, which are now in emacs-lisp.
1571
7933722a
DL
15722003-05-22 Dave Love <fx@gnu.org>
1573
1574 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
1575 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
1576
463f55ee
DL
15772003-05-20 Dave Love <fx@gnu.org>
1578
1579 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
1580
1581 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
1582
1b7a835b
JB
15832003-04-27 Oliver Scholz <alkibiades@gmx.de>
1584
0e0dced5 1585 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 1586
eec54bd7
SM
15872003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1588
1589 * emacsclient.c (main): Use new safe location for socket.
1590
ff4bd681
JB
15912003-03-12 Tom Tromey <tromey@redhat.com>
1592
eec54bd7
SM
1593 * emacsclient.c (print_help_and_exit): Print to stdout.
1594 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
1595 (decode_options): Don't call print_help_and_exit in default case.
1596 Print version information to stdout.
1597 (main): Don't call print_help_and_exit.
1598
dd132e44
RS
15992003-02-15 Richard M. Stallman <rms@gnu.org>
1600
1601 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 1602 Don't include stdlib.h, because config.h does.
dd132e44 1603 (malloc, realloc): Declarations deleted.
ff4bd681 1604
dd132e44
RS
1605 * yow.c (yow): Cast result of malloc and realloc.
1606 (malloc, realloc): Declarations deleted.
1607
71ffc53a
JB
16082003-02-11 Juanma Barranquero <lektu@terra.es>
1609
1610 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1611
0dfd93c0
AS
16122003-02-08 Andreas Schwab <schwab@suse.de>
1613
1614 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1615 instead of the substitution.
1616
37d1e680
RS
16172003-02-04 Richard M. Stallman <rms@gnu.org>
1618
1619 * update-game-score.c (push_score, read_scores): Cast values
1620 of malloc and realloc.
1621 (main, lock_file): Avoid assignment inside if.
1622
c60ee5e7
JB
16232003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1624
1625 * Makefile.in: Use @EXEEXT@ for Cygwin.
1626
b24e2dc7
DL
16272003-01-21 Dave Love <fx@gnu.org>
1628
1629 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1630 column-0 `('.
1631
1632 * yow.c: Don't include string.h.
1633
675d000f
RS
16342003-01-20 Richard M. Stallman <rms@gnu.org>
1635
1636 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1637 New targets.
1638
207aa3ff
KS
16392003-01-06 Kim F. Storm <storm@cua.dk>
1640
31fa6595 1641 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
1642 All uses changed.
1643
cf6d30d7
AI
16442002-12-18 Andrew Innes <andrewi@gnu.org>
1645
1646 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1647 because GNU make doesn't append when using >> redirection.
1648
f0131492 16492002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
1650
1651 * b2m.pl: Make sure every message ends with a blank line, because
1652 some mbox parsers require a blank line before "From " lines.
1653
85cce843
RS
16542002-12-08 Richard M. Stallman <rms@gnu.org>
1655
1656 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1657 (_): Test only HAVE_LIBINTL_H to decide what to do.
1658
2ccc4d34
RS
16592002-12-05 Richard M. Stallman <rms@gnu.org>
1660
1661 * getopt.c: Comment out include of libintl.h or gettext.h.
1662
c5992177
RS
16632002-12-04 Richard M. Stallman <rms@gnu.org>
1664
1665 * Update getopt from gnulib version; changes described below.
1666
1667 * getopt1.c: Conditionally find getopt.h.
1668 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1669
1670 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1671 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 1672 (wchar.h): Include, maybe.
10d1d0af 1673 (attribute_hidden): Define if not defined.
c5992177
RS
1674 (__getopt_initialized): Use attribute_hidden.
1675 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
d7982012
JB
1676 (__getopt_nonoption_flags, nonoption_flags_max_len)
1677 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
1678 (SWAP_FLAGS): New definitions.
1679 (exchange): Test USE_NONOPTION_FLAGS.
1680 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1681 (_getopt_internal): Error if argc < 1. New local var print_errors.
1682 Improve test for ambiguous long option.
1683 Add LIBIO support for error message output.
1684 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1685
1686 * getopt.h: Maybe include ctype.h.
1687 Treat __cplusplus like __STDC__.
1688 (decls): Use __ in arg names.
1689
4b5e69bd
SE
16902002-12-02 Stephen Eglen <stephen@gnu.org>
1691
1692 * emacsclient.c (main): Tell user how to start server within Emacs
1693 if socket could not be found.
1694
19fa03f3
RS
16952002-12-02 Richard M. Stallman <rms@gnu.org>
1696
1697 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1698
7be215b4
JB
16992002-11-19 Ben Key <bkey1@tampabay.rr.com>
1700
29f538e6
BK
1701 * makefile.w32-in: Fixed a bug that caused the documentation for
1702 the built in function play-sound-internal not to be included in
1703 /etc/DOC.
7be215b4 1704
1998560a
DL
17052002-11-18 Dave Love <fx@gnu.org>
1706
1707 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1708 fcntl.h, stdarg.h conditionally.
1709 (_GNU_SOURCE, __attribute__): Don't define.
1710 (optarg, optind, opterr): Declare.
1711 (lose, lose_syserr): Use NO_RETURN.
1712 (get_user_id): Use P_.
1713
8b96caf3
RS
17142002-11-17 Richard M. Stallman <rms@gnu.org>
1715
1716 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1717
59daa29a
DL
17182002-11-14 Dave Love <fx@gnu.org>
1719
1720 * movemail.c (pop_retr): Declare comment.
1721
1722 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1723
1724 * Makefile.in (YACC): Deleted.
1725
f1b443bf
AS
17262002-10-19 Andreas Schwab <schwab@suse.de>
1727
1728 * Makefile.in (${archlibdir}): Always create $(gamedir).
1729 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1730
52402e4f
JB
17312002-10-04 Juanma Barranquero <lektu@terra.es>
1732
1733 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1734
15dab115
MR
17352002-09-30 Markus Rost <rost@math.ohio-state.edu>
1736
1737 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1738 completely.
1739
30be2360
SM
17402002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1741
1742 * emacsclient.c: Remove SYSV support.
1743 (eval, display): New vars.
1744 (longopts): Add --eval and --display.
1745 (decode_options): Add -e and -d processing.
1746 (print_help_and_exit): Update the usage string.
1747 (main): Add support for --eval and --display.
3ecdcd59 1748 (main): Always use /tmp and non-qualified hostname.
30be2360 1749
4208da83
SM
17502002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1751
1752 * emacsserver.c: Remove.
1753
3cf8c6aa
SM
17542002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1755
1756 * emacsclient.c (quote_file_name): Quote \n.
1757 (main): Print a final \n when needed.
1758
880820fe 17592002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
1760
1761 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1762 string that cannot be freed.
1763
880820fe 17642002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
1765
1766 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1767 auto-detection is enabled and the `::' qualifier is met.
1768 (consider_token, C_entries): Several bugs corrected that tagged
1769 some declarations even though --declarations was not used.
1770 (plainc): New macro.
1771 (C_entries): Use it.
1772 (C_entries): Several cosmetic changes.
1773 (C_entries): Invalidate the token is some cases.
1774
880820fe 17752002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 1776
eec54bd7 1777 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1778 (ignoreindent): Renamed from noindentypedefs.
1779 (cjava, cplpl): They are now macros instead of local vars.
1780
880820fe 17812002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
1782
1783 * etags.c (HTML_labels): Tag ID= also.
1784
880820fe 17852002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
1786
1787 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1788
ecc54057 1789 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1790 (etags_strcasecmp): Like BSD's, for compatibility.
1791 (strcaseeq): Make it into a macro.
1792
1793 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1794 (linebuffer_init): Renamed from initbuffer. All callers changed.
1795 (pattern): Structure renamed to `regexp', member regex renamed to
1796 pattern.
1797 (node_st): Member pat renamed to regex.
eec54bd7
SM
1798 (pattern); New member force_explicit_name, for future use.
1799 Now always set to true, cannot be reset.
87046df8
FP
1800 (add_regex, regex_tag_multiline, readline): Use it.
1801 (main): Free some global structures.
8ee14629 1802 (fdesc): New member `written'.
87046df8
FP
1803 (readline, process_file): Initialise it.
1804 (put_entries): Set it.
1805 (main): Use it to create entries for files without tags.
1806 (total_size_of_entries): Do not count invalid tags.
87046df8 1807
02ce3e80
SM
18082002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1809
1810 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1811 for the function name in the usage info.
1812
5fba5c21
CW
18132002-07-31 Colin Walters <walters@gnu.org>
1814
1815 * update-game-score.c (P_): New macro. Use it for all prototypes.
1816 (lose): Don't use varargs.
1817 (lose_syserr): New function.
1818
1819 * update-game-score.c: Change all functions to K&R style.
1820
712eaee0
AS
18212002-07-30 Andreas Schwab <schwab@suse.de>
1822
1823 * Makefile.in (localstatedir): New variable.
1824
f0131492 18252002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
1826
1827 * b2m.pl: Fix regexp for finding return address fields.
1828
1e042160
SM
18292002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1830
1831 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1832
f0131492 18332002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 1834
02ce3e80 1835 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 1836
880820fe 18372002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
1838
1839 * b2m.pl: New file.
1840
880820fe 18412002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 1842
ecc54057 1843 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
1844 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1845 (PHP_functions, PHP_functions, Cobol_paragraphs)
1846 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1847 (prolog_pr, erlang_func, erlang_attribute)
1848 (Perl_functions, Perl_functions, Pascal_functions)
1849 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1850 (get_tag): Prototype changed, all callers changed.
1851
880820fe 18522002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 1853
d76132d0
FP
1854 * etags.c: Implement implicit tag names, that is, unnamed tags
1855 whose name is automatically deduced by etags.el. The advantage is
1856 that there is no explicit tag name in most tags, so the size of
1857 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 1858 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
1859 (make_tag): New function (was the disabled function new_pfnote).
1860 (make_C_tag): Use it.
1861
880820fe 18622002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
1863
1864 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1865 (Makefile_targets): Tag variables unless --no-globals.
1866 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1867
880820fe 18682002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
1869
1870 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1871 (invalidate_nodes): Bug corrected.
1872 (print_help): Better help for regexps.
1873
7a8940da
JB
18742002-06-13 Juanma Barranquero <lektu@terra.es>
1875
1876 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1877 font-core.elc.
1878
880820fe 18792002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1880
1881 * etags.c: New multi-line regexp and new regexp syntax.
1882 (arg_type): at_icregexp label removed (obsolete).
1883 (pattern): New member multi_line for multi-line regexps.
1884 (filebuf): A global buffer containing the whole file as a string
1885 for multi-line regexp matching.
1886 (need_filebuf): Global flag raised if multi-line regexps used.
1887 (print_help): Document new regexp modifiers, remove references to
1888 obsolete option --ignore-case-regexp.
1889 (main): Do not set regexp syntax and translation table here.
1890 (main): Treat -c option as a backward compatibility hack.
1891 (main, find_entries): Init and free filebuf.
1892 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 1893 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
1894 (analyse_regex, add_regex): Remove the ignore_case argument, which
1895 is now a modifier to the regexp. All callers changed.
1896 (add_regex): Manage the regexp modifiers.
1897 (regex_tag_multiline): New function. Reads from filebuf.
1898 (readline_internal): If necessary, copy the whole file into filebuf.
1899 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1900
880820fe 19012002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1902
1903 * etags.c (add_regex): Better check for null regexps.
1904 (readline): Check for regex matching null string.
6772c8e1 1905 (find_entries): Reorganization.
6861f0e3 1906
880820fe 19072002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
1908
1909 * etags.c (scan_separators): Support all character escape
1910 sequences supported by Gcc.
02ce3e80 1911 (find_entries): Rewind unconditionally.
f0da41a6
FP
1912 (find_entries): Do not call language functions directly, now calls
1913 itself.
1914 (find_entries): Do general initialisations here.
1915 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1916 (Ada_getit, Pascal_functions, Pascal_functions)
1917 (prolog_skip_comment): Do not do them here.
1918 (readline_internal): Increment lineno here.
1919 (readline): Conditionally undo readline_internal increment.
1920 (readline): Do not return a value.
1921
880820fe 19222002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 1923
88c71720 1924 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
1925 (enum arg_type): New label at_stdin.
1926 (STDIN): New constant.
1927 (parsing_stdin): New flag.
1928 (longopts): New option --parse-stdin=NAME.
1929 (print_help): Document it.
1930 (main): Handle it.
1931 (process_file): Split into process_file and process_file_name.
1932 (process_file_name): New function.
1933
88c71720 1934 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 1935 (TeX_commands): Skip comments.
10d1d0af 1936 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
1937 (TEX_cmt): Make it a static char and move it before TeX_commands.
1938 (TeX_commands): Shorten the tag to the brace after the name.
1939 (TeX_commands): Names now include the initial backslash.
1940 (TeX_commands): Names do not include numeric args #n.
1941 (TeX_commands): Correct line char number in tags.
1942 (TEX_tabent, TEX_token): Deleted.
1943 (TeX_commands, TEX_decode_env): Streamlined.
1944
880820fe 19452002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
1946
1947 * etags.c (main): Avoid a buffer overrun with sprintf.
1948
a71867c5
RS
19492002-05-30 Richard M. Stallman <rms@gnu.org>
1950
1951 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1952 (LIBS_MOVE): Renamed from MOVE_LIBS.
1953
b7e67db6
PE
19542002-05-26 Paul Eggert <eggert@twinsun.com>
1955
1956 Reinstate the following change from 2002-03-22, which was
1957 inadvertently lost on 2002-04-13.
1958
1959 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1960 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1961 the latter usage.
1962
5f226e2c
EZ
19632002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1964
1965 * pop.c (socket_connection): Move the code to resolve the POP
1966 host right before trying to connect with it.
1967
9021bb49
GM
19682002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
1969
1970 * tcp.c: Delete file since the TCP emulation is no longer in use on any
1971 platform.
1972
5167cfda
CW
19732002-04-28 Colin Walters <walters@verbum.org>
1974
1975 * Makefile.in (${archlibdir}): Don't conditionalize on
1976 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1977 or not we have access to the specified game user.
50496bd9 1978
5167cfda
CW
1979 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1980 (main): New argument -d, for specifying directory.
1981 (usage): Document.
02ce3e80 1982 (get_user_id): Compute.
5167cfda
CW
1983 (get_home_dir): Deleted.
1984 (get_prefix): New function, taken from main.
1985 (main): Check whether or not we are running setuid. Move prefix
1986 computation to get_prefix. Don't call getpwent; we don't need to
1987 any more. Instead, move it to get_user_id().
1988
880820fe 19892002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
1990
1991 * ebrowse.c (skip_initializer): Return void.
1992
973c3c87
CW
19932002-04-23 Colin Walters <walters@verbum.org>
1994
1995 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1996 space.
1997
880820fe 19982002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 1999
ecc54057 2000 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
2001 (process_file): Print the tags from the nodes as soon as
2002 possible, and delete the nodes. This brings down the memory
2003 occupancy as etags to almost the same level as when the #line
2004 directives were not parsed.
2005 (free_fdesc): New function.
2006 (find_entries): Use it.
2007 (invalidate_nodes): In etags mode, do not just mark the nodes as
2008 invalid, do delete them.
2009
c901ceff
GM
20102002-04-21 Gerd Moellmann <gerd@gnu.org>
2011
2012 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
2013
c42d6dbd
EZ
20142002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
2015
2016 * update-game-score.c: Move config.h before the other headers, to
2017 avoid compiler warnings.
2018
880820fe 20192002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
2020
2021 * etags.c (find_entries): Bug fix in list management.
2022
880820fe 20232002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
2024
2025 * etags.c (get_language_from_filename): Add one argument.
2026 (strcaseeq): New function.
10d1d0af 2027 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
2028 comparison if called with appropriate args.
2029 (find_entries): Try with case insensitive match.
2030 (process_file): Bug fixed.
2031
880820fe 20322002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
2033
2034 * etags.c (find_entries): Delete tags previously obtained from
2035 file xxx.c's #line directives when parsing file xxx.y. This is
2036 generally done for automatically generated files containing
2037 #line directives. This handles the case when xxx.y is tagged
2038 before xxx.c, and the entries of xxx.c pointing to xxx.y should
2039 be discarded.
eec54bd7 2040 (language): Add the metasource member. Initializers changed.
c150db23
FP
2041 (invalidate_nodes): New function.
2042 (readline): Discard lines after having found a #line
02ce3e80 2043 directive pointing to an already tagged file. This handles the
c150db23
FP
2044 case when xxx.y is tagged before xxx.c, and the entries of
2045 xxx.c pointing to xxx.y should be discarded.
2046 (fdesc): New structure for keeping track of input files.
2047 (fdesc): Remove `file' member (a string) and use instead a pointer
2048 to a file description structure.
02ce3e80
SM
2049 (curfile, curfiledir, curtagfname, curlang, nocharno)
2050 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 2051 curfdp, pointers to file description structures.
c150db23
FP
2052 (longopts, main, print_help): Use the CTAGS conditional to include
2053 or exclude options that work on etags or ctags only.
02ce3e80
SM
2054 (process_file, find_entries, pfnote, add_node, put_entries)
2055 (readline): Use fdhead and curfdp.
c150db23
FP
2056 (process_file, find_entries): Do not take an arg string, all
2057 callers changed.
2058
2059 * etags.c (longopts, print_help, main): Test CTAGS to disallow
2060 options that are not right for either etags or ctags.
2061
2062 * etags.c (number_len, total_size_of_entries): Define them also
2063 in CTAGS mode, because gcc does not compile all refs away.
2064
e9d1f248
CW
20652002-04-14 Colin Walters <walters@debian.org>
2066
2067 * update-game-score.c (lock_file): If the lock file is older than
2068 an hour, delete it. Reset attempts to zero if we have to break
2069 the lock.
2070
7605f1bd
AS
20712002-04-14 Andreas Schwab <schwab@suse.de>
2072
2073 * update-game-score.c (read_score): Fix type of second parameter
2074 of getdelim to be of type size_t instead of int. Use 0 instead of
2075 ESUCCES.
2076
e82defd1
CW
20772002-04-10 Colin Walters <walters@verbum.org>
2078
ecc54057 2079 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
2080 (MAX_DATA_LEN, MAX_SCORES): New.
2081 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
2082 default to ~/.emacs.d/games.
2083 (get_user_id): Don't zero uid in the case where we can't get the
2084 username.
2085 (lose): New function.
2086 (main): Actually use `max', and default it to MAX_SCORES.
2087 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
2088 function.
2089 (read_score): Handle the case of reading unamelen characters, then
2090 finishing. Use mktemp if mkstemp isn't available.
2091 (lock_file, unlock_file): Delete unused versions.
2092 (lock_file): Always sleep, even if we unlinked the lock file.
2093
e82defd1
CW
2094 * Makefile.in (gamedir, gameuser): New variables.
2095 (toplevel, UTILITIES): Add update-game-score.
2096 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2097
5795b420
CW
20982002-04-07 Colin Walters <walters@verbum.org>
2099
2100 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
2101 (get_user_id): Take struct passwd as an argument.
2102 (get_home_dir): New function.
2103 (main): Read in user information here. Discover home directory if
2104 necessary.
2105 (read_score): Trim newline only in `getline' case.
2106
cd553ffb 21072002-04-05 Colin Walters <walters@debian.org>
c150db23 2108
cd553ffb
CW
2109 * update-game-score.c (toplevel): Include pwd.h.
2110 (struct score_entry): Add username field.
2111 (push_score): Use it.
2112 (get_user_id): New function.
2113 (main): Don't malloc excessively.
2114 (main): Use username field.
2115 (read_score): Read it.
2116 (push_score): Handle it.
07655e62 2117 (write_scores): Write it.
c150db23
FP
2118 (read_score): Handle arbitrary length data.
2119
b74bd4a3
EZ
21202002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2121
2122 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2123
fa8bc89d
GM
21242002-03-29 Gerd Moellmann <gerd@gnu.org>
2125
2126 * ebrowse.c (add_declarator, skip_initializer): New functions.
2127 (declaration): Use them.
2128
dd87b4cc
JR
21292002-03-28 Jason Rumney <jasonr@gnu.org>
2130
2131 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2132
cd553ffb
CW
21332002-03-27 Colin Walters <walters@debian.org>
2134
2135 * update-game-score.c: New file.
2136
dfef6d49
PE
21372002-03-22 Paul Eggert <eggert@twinsun.com>
2138
2139 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2140 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2141 the latter usage.
2142
880820fe 21432002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 2144
4fff90e4 2145 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
2146 (Python_functions, PHP_functions): Name tags, for ctags' sake.
2147 (TeX_commands): Name tags. Correction of old disabled code.
2148
2149 * etags.c (curfiledir, curtagfname): New global variables.
2150 (process_file): Initialise them.
2151 (readline): Canonicalize the name found in #line directive.
893a741e 2152
4fff90e4 21532002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 2154
893a741e
JR
2155 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2156 compilers that don't optimize out dead code.
2157
880820fe 21582002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
2159
2160 * etags.c: Honour #line directives.
a7c29764 2161 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
2162 (main): Remove some #ifdef in the getopt switch.
2163 (add_node, put_entries): Code added to merge different chunks of
2164 nodes referring to the same file. Currently the tags are just
2165 appended, without any check for duplicates.
2166 (Perl_functions): Do not special case ctags.
2167 (readline): Identify #line directives and do the right thing.
2168 (nocharno, invalidcharno): New global vars.
2169 (process_file): Reset nocharno.
2170 (readline): Set nocharno.
2171 (pfnote): Read nocharno and maybe put invalidcharno in node.
2172 (total_size_of_entries, put_entries): Use invalidcharno.
2173
2174 * etags.c: Keep the whole tag table in memory, even in etags mode.
2175 (main): Call put_entries here even in CTAGS mode.
2176 (main, process_file): Check the return values of fclose and pclose.
2177 (process_file): Do not call put_entries after parsing each file.
2178 (process_file): Canonicalise file names even for ctags.
2179 (process_file): Set curfile here...
2180 (find_entries): ... not here any more.
2181 (add_node): In etags mode, build a linked list of entries (on
2182 right pointer) for each file, and link the first entry of each
2183 file on left nodes.
2184 (put_entries): Print here the name of the file.
2185 (put_entries): Print the entries starting from the first file.
c150db23 2186 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
2187 mode, make the second work only on the right nodes.
2188
2189 * etags.c: Make all global variables static.
2190
50ce1f62
JB
21912002-02-25 Juanma Barranquero <lektu@terra.es>
2192
2193 * makefile.w32-in (lisp): Add missing backslash.
2194
82a399d2
JR
21952002-02-24 Jason Rumney <jasonr@gnu.org>
2196
2197 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2198 using .elc files.
2199 (lisp): Sync with list in src/Makefile.in
2200 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2201
a279c920
PE
22022002-02-10 Paul Eggert <eggert@twinsun.com>
2203
2204 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
2205 disallows the old syntax.
2206
0caa685d
PE
22072002-02-03 Paul Eggert <eggert@twinsun.com>
2208
d7982012 2209 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
2210 (AWK, TMPDIR): Work around portability problem in broken shells that
2211 don't understand `: ${VAR=val}'.
2212 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
2213 Prefer the new -k option to the traditional +M -N option.
2214
880820fe 22152002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
2216
2217 * b2m.c (main): Parenthesize assignment when used as truth value
2218 to prevent gcc warnings.
2219
2220 * fakemail.c: Include <config.h>.
2221
880820fe 22222001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
2223
2224 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
2225 * yow.c: Include <config.h>.
2226
880820fe 22272001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
2228
2229 * etags.c (Perl_functions): Tag packages and use them in sub tags.
2230 (get_tag): Return a pointer to the tag that is found.
2231
2232 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
2233 (F_takeprec): Renamed from takeprec. All callers changed.
2234 (F_getit): Renamed from getit. All callers changed.
2235 (nocase_tail): Renamed from tail. All callers changed.
2236 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 2237 (L_getit): Simplify by using get_tag.
a60e4de9
FP
2238 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2239 modified LOOKING_AT.
2240 (notinname): Removed '[' and added ')' to the recognised chars.
2241 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2242 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2243 Clarified, using strneq or notinname.
2244 (L_isdef, L_isquote): Removed.
2245 (Lisp_functions, L_getit): Clarified.
2246
ecc54057 2247 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
2248 [HAVE_CONFIG_H]: Let config.h deal with __P.
2249 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2250 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
2251 gperf code needs it.
ecc54057
JB
2252 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2253 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
2254 (xmalloc, xrealloc): Use PTR instead of long *.
2255 (bool): Make it a define, not a typedef, for C++ compilers.
2256 (pattern): Members renamed to avoid name clash in some C++ compilers.
2257 (get_language_from_langname): Use const argument.
2258
880820fe 22592001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
2260
2261 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2262
880820fe 22632001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 2264
b8509940
PJ
2265 * emacsserver.c: Conditionally include config.h.
2266
594aa066
PJ
2267 * fakemail.c: Likewise.
2268
e69233c2
PJ
2269 * emacsclient.c: Include "config.h", not <../src/config.h>.
2270 (main): Parenthesize assignment when used as truth value to
2271 prevent gcc warnings.
2272
69bfc389
PJ
2273 * ebrowse.c: Include stdlib.h and string.h conditionally.
2274
e4e34e31
EZ
22752001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2276
2277 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
2278
880820fe 22792001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
2280
2281 * test-distrib.c: Fix previous change.
2282
fb5aa7ac
DL
22832001-12-18 Dave Love <fx@gnu.org>
2284
2285 * test-distrib.c: Conditionally include fcntl.h.
2286
2287 * fakemail.c: Include "config.h", not <../src/config.h>.
2288 (_XOPEN_SOURCE): Define as 500.
2289
2290 * emacsserver.c: Include "config.h", not <../src/config.h>.
2291
2292 * cvtmail.c: Include config.h, stdlib.h.
2293 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2294
2295 * yow.c: Conditionally include various headers. Use "epaths.h",
2296 not <../src/epaths.h>.
2297 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2298
880820fe 22992001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 2300
13dc0576 2301 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
2302 (LOOKING_AT): New macro.
2303 (Perl_functions, Python_functions, PHP_functions)
2304 (Scheme_functions, Texinfo_nodes): Use it.
2305 (Perl_functions): Use strneq.
2306 (prolog_pred): Renamed to prolog_pr.
13dc0576 2307 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 2308 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 2309 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
2310 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2311
34e39c95
RS
23122001-12-11 Richard M. Stallman <rms@gnu.org>
2313
2314 * Makefile.in (clean): Don't delete ../etc/DOC*.
2315
880820fe 23162001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
2317
2318 * COPYING: Moved back.
2319
76054cc8
AI
23202001-11-30 Andrew Innes <andrewi@gnu.org>
2321
e94a3679
FP
2322 * makefile.w32-in (FACE_SUPPORT):
2323 (MOUSE_SUPPORT):
2324 (FLOAT_SUPPORT):
2325 (WINNT_SUPPORT):
76054cc8
AI
2326 (lisp): Reference .el files instead of .elc files, to simplify
2327 bootstrapping.
2328 ($(DOC)): Change dependency to just `make-docfile'.
2329
880820fe 23302001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
2331
2332 * COPYING: Removed.
2333
e8d6a09b
PE
23342001-11-28 Paul Eggert <eggert@twinsun.com>
2335
2336 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
2337
2338 The following changes are derived from suggestions by Bob Chapman
2339 <rechapman@compuserve.com>.
2340
2341 * rcs2log (printlogline): Also allow tab and newline to separate
2342 '(function):' from the rest of a comment.
2343 (reformat the sorted log entries): Require date and author to
2344 match the clumpname.
2345
9a190096
GM
23462001-11-16 Gerd Moellmann <gerd@gnu.org>
2347
2348 * ebrowse.c (matching_regexp): Escape '\\'.
2349
880820fe 23502001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
2351
2352 * Makefile.in: Add support for --program-prefix, --program-suffix
2353 and --program-transform-name options.
2354
6d8f7d5d
RS
23552001-11-03 Richard M. Stallman <rms@gnu.org>
2356
2357 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
2358
2359 * movemail.c (popmail): Always pass two args to `error'.
2360
84e70f78
KR
23612001-10-24 Ken Raeburn <raeburn@gnu.org>
2362
2363 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
2364 -lhesiod and maybe -lresolv.
2365 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
2366 support if it's available.
2367
386ca361
MB
23682001-10-21 Miles Bader <miles@gnu.org>
2369
a3b10252
MB
2370 * make-docfile.c (struct rcsoc_state): New type.
2371 (read_c_string_or_comment): Add SAW_USAGE
386ca361 2372 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
2373 Use a variable of type `rcsoc_state' to hold most of our state.
2374 (put_char): Add STATE parameter, and remove all other parameters
2375 except CH. Use STATE to get access to all needed state.
2376 (scan_keyword_or_put_char): New function.
386ca361
MB
2377 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
2378 Don't output a usage-string if there was one in the doc-string.
2379
71431a0e
GM
23802001-10-20 Gerd Moellmann <gerd@gnu.org>
2381
6aa97356 2382 * (Version 21.1 released.)
71431a0e 2383
880820fe 23842001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
2385
2386 * b2m.c: Properly spell the name of Emacs.
2387
945220bd
MB
23882001-10-17 Miles Bader <miles@gnu.org>
2389
2390 * make-docfile.c (put_char): New function.
2391 (read_c_string_or_comment): Strip trailing spaces and newlines.
2392
14242528
MB
23932001-10-16 Miles Bader <miles@gnu.org>
2394
2395 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
2396 comments [with `doc:' keyword prefix].
2397
9f5eb4a3
GM
23982001-10-15 Gerd Moellmann <gerd@gnu.org>
2399
2400 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
2401 in a C doc comment.
2402
e641b454
GM
24032001-10-13 Gerd Moellmann <gerd@gnu.org>
2404
2405 * make-docfile.c (read_c_string_or_comment): Renamed from
2406 read_c_string. Add parameter COMMENT. Read C-style comments.
2407 (scan_c_file): Handle doc strings in C comments.
2408
967d7793
AI
24092001-10-12 Andrew Innes <andrewi@gnu.org>
2410
2411 * makefile.nt (ALL): Do not include fakemail.
2412
2413 * makefile.w32-in (install): Do not copy fakemail.
2414
d682756a
JR
24152001-10-10 Jason Rumney <jasonr@gnu.org>
2416
07655e62 2417 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 2418
07655e62 2419 * makefile.nt (install): Ditto.
d682756a 2420
14a3dff7
GM
24212001-10-09 Gerd Moellmann <gerd@gnu.org>
2422
2423 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 2424
95bc7904 2425 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 2426
880820fe 24272001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
2428
2429 * profile.c: Include config.h, not ../src/config.h.
2430 Include systime.h, not ../src/systime.h.
2431
ab952a4f
GM
24322001-10-05 Gerd Moellmann <gerd@gnu.org>
2433
2434 * Branch for 21.1.
dff28924 2435
12c64503
GM
24362001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
2437
2438 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
2439 ALIASEE to help work with namespace aliases.
2440 (struct sym): Remove struct member NAMESP_ALIASES.
2441 (namespace_alias_table): New variable.
2442 (make_namespace): Add parameter CONTEXT.
2443 (check_namespace): New function.
2444 (find_namespace): Add parameter CONTEXT.
2445 (check_namespace_alias): New function.
02ce3e80
SM
2446 (register_namespace_alias): Change type of parameter OLD_NAME.
2447 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
2448 (check_namespace): New function.
2449 (enter_namespace): Call find_namespace with CONTEXT parameter.
2450 (match_qualified_namespace_alias): New function.
eec54bd7 2451 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 2452 While parsing qualified ident or type update namespace context and
12c64503 2453 restore it on exit.
eec54bd7
SM
2454 (parse_qualified_param_ident_or_type): Fix typo in comment.
2455 (globals): Change handling of namespace aliases.
2456 (version): Add year 2001.
12c64503 2457
990e1190
FP
24582001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
2459
2460 * etags.c (analyse_regex): If regex_arg is NULL, return
2461 immediately after a call to free_patterns.
2462
f2e7e23e
AS
24632001-09-05 Paul Eggert <eggert@twinsun.com>
2464
2465 * rcs2log (Help, mainline code): Add new option -L FILE.
2466 (Copyright): Update year.
02ce3e80
SM
2467 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
2468 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
2469 C locale.
2470 (mainline code): Handle nonstandard -u option differently, by
2471 transforming it to standard form. Check for "Working file: ", not
2472 "Working file:". Allow file names with spaces.
2473 (SOH, rlogfile): New shell vars.
dff28924 2474 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
2475 rlogfile.
2476
2477 Append ';;' to the last arm of every case statement, for
2478 portability to ancient broken BSD shells.
2479
02ce3e80 2480 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
2481 (pository): New var. This fixes some bugs where repositories are
2482 remote, or have trailing slashes.
02ce3e80 2483 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 2484 about that possibility.
dff28924 2485 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 2486 the output.
dff28924 2487
75c911eb
EZ
24882001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2489
2490 * ebrowse.c (SEEK_END): #define if not defined by system headers.
2491 Suggested by Dave Love <d.love@dl.ac.uk>.
2492
5ae10f4a
EZ
24932001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2494
2495 * makefile.nt (lisp): Synchronize with src/Makefile.in.
2496 * makefile.w32-in (lisp): Ditto.
2497
0e4011d8 24982001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
2499
2500 * grep-changelog (parse_changelog): Remove unused local variable.
2501
2502 * grep-changelog (main): Add new option --reverse.
2503 (print_log): Use it.
2504 (parse_changelog): Use it.
2505
3c88ae74
GM
25062001-07-20 Gerd Moellmann <gerd@gnu.org>
2507
2508 * grep-changelog: Remove RCS Id keyword.
2509
41848daa
GM
25102001-07-20 Juanma Barranquero <lektu@terra.es>
2511
6e07c0a5
GM
2512 * grep-changelog (parse_changelog): Add tests for defined values
2513 to quiet warning from Perl 5.005 or above.
177ab8ce 2514 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
2515 argument to prevent duplicate headers.
2516
2517 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 2518
467f1209
GM
25192001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
2520
2521 * emacsclient.c (print_help_and_exit): Fix help message for
2522 +LINE:COLUMN option.
2523
25242000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 2525
467f1209
GM
2526 * emacsclient.c (main): Add support for +LINE:COLUMN command line
2527 argument.
2528
bb24c64f
GM
25292001-07-16 Gerd Moellmann <gerd@gnu.org>
2530
2531 * ebrowse.c (main): Check that the output file exists and
2532 is non-empty if invoked with `--append'.
2533
880820fe 25342001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 2535
e335b66a
GM
2536 * etags.c (add_regex): Reset the whole newly allocated pattern
2537 buffer instead of the individual members. It's safer and works
ecc54057 2538 with XEmacs.
fa829470 2539
e335b66a 2540 * etags.1: Markups corrected.
fa829470 2541
6da5c7da
GM
25422001-05-08 Gerd Moellmann <gerd@gnu.org>
2543
02ce3e80 2544 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 2545
efbecf9d
GM
25462001-05-03 Gerd Moellmann <gerd@gnu.org>
2547
2548 * ebrowse.c (globals): Fix handling of namespace aliases.
2549
f4976ebc
EZ
25502001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
2551
2552 * etags.c (print_help): Enclose the regexp in the help text
2553 example in quotes.
2554
23431241
DL
25552001-04-05 Dave Love <fx@gnu.org>
2556
2557 * emacsclient.c (fail): Don't return a value.
fa829470 2558 (main): Cast uid values for sprintf.
23431241 2559
476bf681
GM
25602001-04-03 Gerd Moellmann <gerd@gnu.org>
2561
b3f6107b
GM
2562 * emacsclient.c (fail, main): Don't use implicit int return type.
2563
476bf681
GM
2564 * b2m.c (main): Always return a value.
2565
ef53d75e
GM
25662001-03-02 Gerd Moellmann <gerd@gnu.org>
2567
2568 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
2569 freshly allocated object in *LAST_ID.
2570 (read_line): Accept \r\n line endings.
2571
425de386
AI
25722001-02-24 Andrew Innes <andrewi@gnu.org>
2573
2574 * makefile.w32-in: Fix copyright notice.
2575
880820fe 25762001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
2577
2578 * etags.c (enum sym_type): New label st_C_template.
2579 (gperf input): Use it for switching to C++ from C.
2580 (consider_token): Do it.
c2a642c0
FP
2581 (C_entries): Initialise typdefcblev to quiet compilers.
2582 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 2583
f6839838
AI
25842001-02-22 Andrew Innes <andrewi@gnu.org>
2585
2586 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
2587 VMS header files.
2588 ($(BLD)\profile.obj): Ditto.
2589
2590 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
2591 VMS header files.
2592 ($(BLD)/profile.$(O)): Ditto.
2593
193fba87
AI
25942001-02-05 Andrew Innes <andrewi@gnu.org>
2595
2596 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2597 invocation of make-docfile, to work with Windows 2000.
2598
30526cc6
DL
25992001-01-31 Dave Love <fx@gnu.org>
2600
2601 * etags.c (in_word_set): Use `static' in definition (for pcc).
2602
880820fe 26032001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 2604
ecc54057 2605 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
2606 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2607 (C_entries): Tag token renamed to still_in_token because sunos4
2608 pcc wants to expand it as the token() macro even though it has no
2609 arguments.
2610
914d7258
AI
26112001-01-30 Andrew Innes <andrewi@gnu.org>
2612
2613 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2614 bug in the Mingw32 assert.h header file.
2615
880820fe 26162001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 2617
ecc54057
JB
2618 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2619 #define it for the sake of XEmacs.
b28e26be
FP
2620 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2621 HAVE_CONFIG_H. This change only affects a standalone etags.
2622 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2623 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2624 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 2625 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
2626 WINDOWSNT, as this is the correct way to use it.
2627
880820fe 26282001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
2629
2630 * etags.c: Be capable to parse nested struct-like structures.
2631 (structdef, structtag): Struct state machine revisited.
2632 (struct tok): Revisited.
2633 (cstack, nestlev, instruct): New struct and macros.
2634 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 2635 for dealing with nested class names.
8c463abe
FP
2636 (consider_token, make_C_tag, C_entries): Many changes for dealing
2637 with arbitrarily nested structures.
2638 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2639 (C_entries): Consider templates in C++.
2640 (sym_type): New constant st_C_class for detecting "class" also in
2641 C mode.
2642 (C_AUTO): New macro for automatic detection of C++.
2643 (consider_token): Automatic set C++ mode.
2644 (C_entries): New security check for yacc.
2645 (print_language_names, print_help): Mention the autodetect
07655e62 2646 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
2647 (C_entries): Tag C++ forward declarations if --declarations.
2648 (C_entries): Don't be fooled by things like XDEFUN.
2649 (consider_token): Discard asm pseudo function.
2650
e26f9ced
EZ
26512001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2652
2653 * etags.c: Add a coding: tag.
2654
a47b7816
GM
26552001-01-26 Gerd Moellmann <gerd@gnu.org>
2656
8c463abe 2657 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
2658 New variables.
2659 (matching_regexp): Use them instead of static variables in
2660 function scope.
2661
880820fe 26622001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa
FP
2663
2664 * etags.c (struct tok): Renamed from struct token.
2665 (token): Renamed from tok.
2666 (structtype): Make it a local variable.
2667 [DEBUG]: Use assert.
2668 (xrnew): Change the synopsis.
2669 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2670 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 2671 (token): Buffer renamed to line.
d22a24fa 2672 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 2673 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
2674 (linebuffer_setlen): Was grow_buffer, now also sets len.
2675 (consider_token, C_entries, Pascal_functions): Use it.
2676 (C_entries): Preventing problems relative to extern "C".
2677 (C_entries): Can tag more than one variable or func separated by
2678 comma when --declarations is used.
2679 (C_entries): More accurate tagging of members and declarations.
2680 (yacc_rules): Was global, made local to C_entries.
2681 (next_token_is_func): Removed.
2682 (fvdef): New constants fdefunkey, fdefunname.
2683 (consider_token, C_entries): Use them.
2684 (C_entries): Build proper lisp names for Emacs DEFUNs.
2685
21c2bbe0
GM
26862001-01-22 Gerd Moellmann <gerd@gnu.org>
2687
2688 * ebrowse.c (xfree): New function.
2689 (member, declaration, globals): Use xmalloc instead of alloca.
2690
880820fe 26912001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
2692
2693 * etags.c (print_language_names): Print filenames in addition to
2694 suffixes.
2695
880820fe 26962001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e
EZ
2697
2698 * etags.c (get_language_from_langname): Renamed from
2699 get_language_from_name.
eec54bd7
SM
2700 (get_language_from_filename): Renamed from get_language_from_suffix.
2701 Now first looks for the complete file name.
47df1a5e
EZ
2702 (language): New member char **filenames.
2703 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 2704 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 2705 for makefiles.
13dc0576 2706 (Makefile_targets): New function.
47df1a5e
EZ
2707 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2708 it conformant to the style of the rest of the code.
2709
291c7e74
GM
27102001-01-13 Gerd Moellmann <gerd@gnu.org>
2711
2712 * make-docfile.c (write_c_args): Print newlines as spaces.
2713
0dac6924
AI
27142001-01-06 Andrew Innes <andrewi@gnu.org>
2715
2716 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2717 of *.pdb.
2718
3e99d3b4
GM
27192001-01-03 Paul Eggert <eggert@twinsun.com>
2720
290afd83 2721 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
2722 cause user of rcs2log to overwrite arbitrary files, fixing
2723 a bug reported by Morten Welinder.
2724
2725 Don't put "exit 1" at the end of the exit trap; it's
2726 ineffective in POSIX shells.
2727
d6bb0c0d
GM
27282001-01-02 Gerd Moellmann <gerd@gnu.org>
2729
eec54bd7
SM
2730 * ebrowse.c (yyerror): Change to take two arguments.
2731 Add prototype. Change callers.
d6bb0c0d 2732
d5c00476 27332001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2734
2735 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2736 compiler warnings.
2737 (yyerror): Change parameter declarations to be of type long, so
2738 that they can take pointers on 64-bit platforms.
2739
2740 * emacsclient.c (main): Remove unused local variable statbfr.
2741 (main) <homedir>: Make its declaration conditional on
2742 SERVER_HOME_DIR, to avoid compiler warnings.
2743
2744 * emacsserver.c (main) <homedir>: Make its declaration conditional
2745 on SERVER_HOME_DIR, to avoid compiler warnings.
2746
2747 * fakemail.c (readline): Cast buffer to "long *" to pacify
2748 over-zealous compilers.
2749
7c89ea61
EZ
27502000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2751
2752 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2753
a6768cc5
GM
27542000-12-15 Gerd Moellmann <gerd@gnu.org>
2755
2756 * ebrowse.c (operator_name): Cast argument of isalpha to
2757 unsigned char.
2758
2759 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2760 Use them throughout instead of ctype functions/macros.
2761 (lowcase): Cast to unsigned char.
2762 (UPCASE): New macro.
2763 (canonicalize_filename): Use UPCASE instead toupper.
2764
2765 * fakemail.c (get_keyword): Make sure that isspace and
2766 similar aren't called with a negative argument.
2767
70de49cc
DL
27682000-12-13 Dave Love <fx@gnu.org>
2769
2770 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2771
4e8b894c
AI
27722000-12-06 Andrew Innes <andrewi@gnu.org>
2773
2774 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2775 don't know the real version, and I can't seem to get the quoting
2776 right in all circumstances.
2777
2778 * ebrowse.c (VERSION): Provide default definition, like etags.c
2779 does, because Windows build can't snarf this from version.el.
2780
88257bc8
AI
27812000-11-30 Andrew Innes <andrewi@gnu.org>
2782
2783 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2784 (install): Ditto.
2785
d19249e7
JR
27862000-11-23 Jason Rumney <jasonr@gnu.org>
2787
2788 * makefile.w32-in: Add targets for ebrowse.exe.
2789 (LOCAL_FLAGS): Add -DVERSION flag.
2790
7df6adc3
DL
27912000-09-25 Dave Love <fx@gnu.org>
2792
2793 * sorted-doc.c: Include config.h.
2794 [!HAVE_STDLIB_H]: Declare malloc.
2795
fe83b953
AI
27962000-09-14 Andrew Innes <andrewi@gnu.org>
2797
2798 * makefile.w32-in: Revert to Unix line endings.
2799
517699ca
DL
28002000-09-04 Dave Love <fx@gnu.org>
2801
2802 * movemail.c (index, rindex): Prototype conditionally.
2803
f8803e97
AI
28042000-09-03 Andrew Innes <andrewi@gnu.org>
2805
2806 * makefile.w32-in: Change to DOS line endings.
2807
f72adc12
EZ
28082000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2809
4034f3a8 2810 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2811 [!F_OK]: Provide default definitions only after including both
2812 fcntl.h and unistd.h.
2813
f678f592
DL
28142000-08-29 Dave Love <fx@gnu.org>
2815
2816 * movemail.c: Revert previous change.
2817
5b671d04
EZ
28182000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2819
2820 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2821
6fa86045
DL
28222000-08-28 Dave Love <fx@gnu.org>
2823
2824 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2825 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2826
746d9caf
AI
28272000-08-22 Andrew Innes <andrewi@gnu.org>
2828
2829 * ntlib.h (WIN32): Remove unnecessary definition.
2830 (sleep): Make argument unsigned long.
2831 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2832
2833 * ntlib.c (sleep): Make argument unsigned long.
2834
2835 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2836
2837 * makefile.w32-in: New file.
2838
3b541489
EZ
28392000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2840
2841 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2842 letter only if it is a drive letter.
2843
e5acf0ca
GM
28442000-07-14 Gerd Moellmann <gerd@gnu.org>
2845
02ce3e80 2846 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
2847
2848 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2849 by alloca.o.
2850
02ce3e80 2851 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 2852
4b92c49a
GM
28532000-07-10 Gerd Moellmann <gerd@gnu.org>
2854
2855 * ebrowse.c (yylex): Accept string literals with newlines in them.
2856 (process_pp_line): Handle case of string literal with newline
2857 in it in replacement text, which counts as continuing the
2858 replacement text in GNU C.
2859
831a6cb0
GM
28602000-07-02 Gerd Moellmann <gerd@gnu.org>
2861
2862 * ebrowse.c (token_string): Add missing tokens.
2863 (parm_list): Handle case of qualified pointers.
2864
53245ee2
DL
28652000-06-23 Dave Love <fx@gnu.org>
2866
2867 * ebrowse.c: Move config.h before other includes (which may use
2868 feature tests).
2869
dcbf2cd2
JM
28702000-06-14 Jim Meyering <meyering@lucent.com>
2871
2872 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2873
f1c7754a
JR
28742000-06-11 Jason Rumney <jasonr@gnu.org>
2875
2876 * makefile.nt: Add targets for ebrowse.
2877
2878 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2879 compare filenames.
2880
5f1aea9a
GM
28812000-06-06 Gerd Moellmann <gerd@gnu.org>
2882
2883 * ebrowse.c (ymalloc): Renamed from xmalloc.
2884 (yrealloc): Renamed from xrealloc.
2885
5bf244f1
DL
28862000-05-21 Dave Love <fx@gnu.org>
2887
2888 * movemail.c: Include config.h, not ../src/config.h.
2889 (Errmsg): Bump length.
2890
2891 * pop.c (ERROR_MAX): Increase to 160.
2892
ec82fb2f
GM
28932000-05-04 Gerd Moellmann <gerd@gnu.org>
2894
2895 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2896
5c922ea7
EZ
28972000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2898
02ce3e80
SM
2899 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2900 Define to semi-colon.
5c922ea7 2901 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 2902 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
2903 (process_file): Don't assume that fread always reads as many bytes
2904 as it was told to (DOS-style CR-LF text files fail this logic).
2905 (open_file): Allocate enough space for path->path plus the file
2906 name and the slash.
2907
6142fdcb 29082000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
2909
2910 * etags.c (Texinfo_functions): New function.
2911 (lang_names): Install it.
2912 (Texinfo_suffixes): New variable.
2913
cb9215e4
GM
29142000-04-19 Gerd Moellmann <gerd@gnu.org>
2915
2916 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2917 (declaration): Remove parameter IS_EXTERN.
2918 (class_definition): Remove unused variable.
2919
be0dbdab
GM
29202000-04-09 Gerd Moellmann <gerd@gnu.org>
2921
2922 * Makefile.in (INSTALLABLES): Add ebrowse.
2923 (ebrowse): New target.
2924
2925 * ebrowse.c: New file.
2926
c5aa0fc2
AS
29272000-03-29 Andreas Schwab <schwab@suse.de>
2928
2929 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2930
d054101f
GM
29312000-03-02 Gerd Moellmann <gerd@gnu.org>
2932
2933 * etags.c (lisp_suffixes) Add `LSP'.
2934
880820fe 29352000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 2936
eec54bd7 2937 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
2938 space, and use it throughout in place of isspace, thus preventing a
2939 potential signed char to int conversion problem.
10d1d0af 2940 (MSDOS): #undefine before redefining.
71cbb895 2941
880820fe 29422000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
2943
2944 * etags.c (many functions): Add prototypes.
2945
97fa0cc8
DL
29462000-02-10 Dave Love <fx@gnu.org>
2947
2948 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2949 (erlang_func): Add `static' to definitions to keep pcc happy.
2950
880820fe 29512000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
2952
2953 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2954 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2955 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2956 (getenv, getcwd): Only declare them if necessary.
2957 (EMACS_NAME): New constant macro.
2958 (print_version): Use it.
2959 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 2960
19e262bd 29612000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
2962
2963 * etags.c [WINDOWSNT]: #include <direct.h>
2964
19e262bd 29652000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 2966
19e262bd
FP
2967 * etags.c (all functions): Made them static.
2968 (all functions): Write prototypes.
e4100b7f 2969
55e30d2a
RS
29702000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2971
2972 * movemail.c (main): Improve error message if can't create lock file.
2973
c60ee5e7 29742000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
2975
2976 * emacsclient.c (socket_status): New function.
02ce3e80 2977 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
2978 for a socket based on the UID associated with the name.
2979
e4936aa9
GM
29802000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2981
2982 * emacsclient.c: Add option -a EDITOR and environment variable
2983 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2984
f0131492 29851999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
2986
2987 * movemail.c (popmail): Allow mailbox specifications of the
2988 form `po:username:hostname'.
2989
880820fe 29901999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
2991
2992 * etags.c (_GNU_SOURCE): Define only if undefined.
2993 (get_scheme): Declaration deleted.
02ce3e80 2994 (main): Error was called with an integer as second arg, instead of
e2081362
FP
2995 a char pointer.
2996 (canonicalize_filename): Bug removed.
2997
29981999-11-18 Dave Love <d.love@dl.ac.uk>
2999
3000 * etags.c (C_entries): Rename label `intoken', avoiding K&R
3001 lossage from name clash with macro.
3002
b05d3bee
GM
30031999-11-13 Gerd Moellmann <gerd@gnu.org>
3004
3005 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
3006
cb3a6c48
GM
30071999-11-03 Gerd Moellmann <gerd@gnu.org>
3008
3009 * etags.c (print_help): Change email address to send bugs to.
3010
6088b51f 30111999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3012
3013 * etags.c: Add suffix psw for PSWrap.
3014 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
3015 (Postscript_functions): Add code for PSWrap.
3016 (Scheme_functions): Use local pointer and new get_tag function.
3017 (get_tag): New name for old get_scheme.
3018 (process_file): Do not free NULL when file does not exist.
3019 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
3020 (C_entries): Modifications that make --members tag even inside
3021 typedefs and C nested structs (one level only).
eec54bd7 3022 (consider_token): Correct a bug which prevented tagging of enum
1c478461 3023 constants.
eec54bd7 3024 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
3025 st_C_ignore. This makes it simpler to work when cblev!=0.
3026
02ce3e80 3027 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
3028 --declarations is used.
3029
3030 * etags.c (C_entries, consider_token): C++ `operator' now is
3031 tagged in most cases.
3032 As before, :: is not recognised if surrounded by spaces.
3033
3034 * etags.c (relative_filename): Account for DOS file names such
3035 that is impossible to make one relative to another.
3036
3037 * etags.c (sym_type): New st_C_extern tag.
3038 (gperf input): Use it for spotting external declarations.
a7c29764 3039 (print_help): Document the new behavior of --declarations.
1c478461
FP
3040 (fvextern): New global variable.
3041 (consider_token, C_entries): Use it.
3042
3043 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
3044 (etags_getcwd): Remove test for WINDOWSNT.
3045
3046 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
3047 foo.cgz, foo.cz, etc.
3048
3049 * etags.c (declarations): New global switch.
3050 (longopts): Describe it.
3051 (print_help): Document it.
3052 (C_entries): Use it.
3053 (process_file): Don't process a file twice.
3054
3055 * etags.c (Fortran_functions): No tags for "procedure".
3056
30571999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
3058
3059 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
3060 non-zero, returns a pointer to where the extension begins; callers
3061 changed.
3062 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
3063 were foo.c.gz.
3064
880820fe 30651999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3066
3067 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
3068 (fvdev): New constant foperator.
3069 (consider_token): Use it to get "operator" in C++.
3070 (C_entries): Extend length of operator@ function name.
3071 (C_entries): Use foperator when necessary.
3072
3073 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
3074
3075 * etags.c (compressor): New struct for compressed files.
3076 (get_compressor_from_suffix): New function.
3077 (get_language_from_suffix): Use it. Also, semantics changed.
3078 (process_file): Consider compressed files, close file.
3079 (find_entries): Use different call arg for get_language_from_suffix,
3080 don't close file.
3081
3082 * etags.c (main): Call free_tree.
3083 (find_entries): Do not free curfile.
3084 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
3085 (prolog_pred, erlang_func, substitute): Cast strlen to int when
3086 comparing.
3087 (canonicalize_filename): Shut up compiler warning.
3088 (Perl_functions): Make tag significant.
3089
30901999-11-01 Dave Love <d.love@dl.ac.uk>
3091
3092 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
3093 (argument_type): New member at_icregexp.
3094 (lc_trans): New global.
3095 (main): Fill lc_trans. Process -c args.
3096 (add_regex): New arg determining whether to use translation table.
3097 (analyse_regex): New arg. Use it for add_regex.
3098
880820fe 30991999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3100
3101 * etags.c (init): Cosmetic change: NULL --> '\0'.
3102 (erlang_attribute): Bug corrected (uninitialized variable).
3103 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 3104 corrects a bug. All callers changed.
1c478461
FP
3105 (canonicalize_filename): New function.
3106 (process_file, etags_getcwd, absolute_dirname): Use it.
3107 (relative_filename, absolute_filename): Removed var shadowing.
3108 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 3109 compilers quiet.
1c478461
FP
3110 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
3111
3112 * etags.c (xrnew): New macro. All callers of xrealloc changed.
3113 (language): New typedef (was struct lang_entry).
3114 (curlang): New global variable.
02ce3e80 3115 (node): Typedef renamed from NODE.
1c478461
FP
3116 (linebuffer): New typedef (was struct linebuffer).
3117 (pattern): New typedef (was struct pattern). Some members added.
3118 Now used as element of a linked list.
3119 (patterns, num_patterns): Global variables deleted.
3120 (p_head): New global variable.
a64387ee 3121 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
3122 (get_language_from_name, get_language_from_interpreter)
3123 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 3124 (last_node): New global variable.
02ce3e80
SM
3125 (free_tree, add_node, put_entries, total_size_of_entries):
3126 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
3127 (number_len): Rewritten for elegance.
3128 (token): New typedef replaces TOKEN.
3129 (analyse_regex, add_regex): Rewritten for new functionality.
3130 (free_patterns): New function called from main and add_regex.
3131 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 3132 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
3133 (readline): Rewritten for new functionality.
3134
ecc54057 3135 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
3136 (print_help): --globals is now used for more than C-type languages.
3137 (Perl_functions): Tag global variables ("my" and "local").
3138
3139 * etags.c (print_help): Some messages clarified.
3140 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
3141 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
3142 (Python_functions, Cobol_paragraphs, Pascal_functions)
3143 (Lisp_functions, Postscript_functions, Scheme_functions)
3144 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
3145 (Cobol_paragraphs, Postscript_functions, TeX_functions)
3146 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
3147 of the global variable dbp.
3148 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3149 standard indentation.
3150
02ce3e80
SM
3151 * etags.c (Python_suffixes, lang_names, Python_functions):
3152 Python support.
1c478461 3153 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
3154 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
3155 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
3156 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
3157 (eat_white): Deleted.
3158
3159 * etags.c (CHAR, init): Keep into account non US-ASCII
3160 characters and compilers with default signed chars.
3161 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
3162 constructs.
ecc54057 3163 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 3164
ecc54057 3165 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
3166 (main): Put interval syntax here.
3167 (add_regex): And remove it from here.
3168
3169 * etags.c (suggest_asking_for_help): Provide a
3170 meaningful help message with and without LONG_OPTIONS.
3171
d07529f3 3172 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
3173 <stdlib.h, string.h>: Don't test MSDOS when including them.
3174 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
3175 (put_entries): Correctly use %ld instead of %d in printf.
3176
d07529f3 3177 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
3178 declare getcwd if HAVE_GETCWD.
3179 (consider_token): Dead break instruction removed.
3180
4ee9629e
PE
31811999-10-19 Paul Eggert <eggert@twinsun.com>
3182
3183 Add support for large files. Merge glibc 2.1.2.
1c478461 3184
4ee9629e 3185 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 3186 * movemail.c, pop.c:
4ee9629e
PE
3187 Do not include <stdlib.h>, as <config.h> does this now.
3188
3189 * b2m.c, emacsserver.c, etags.c, profile.c:
3190 Include <config.h> before any system include files.
1c478461 3191
4ee9629e 3192 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 3193 * test-distrib.c:
4ee9629e
PE
3194 (read, write, open, close): Do not undef.
3195
3196 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
3197 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
3198
3199 * getopt.h: Adopt glibc 2.1.2.
1c478461 3200
93c8d183
DL
32011999-10-15 Dave Love <fx@gnu.org>
3202
3203 * Makefile.in (pop.o): Depend on config.h.
3204
b358f91c
GM
32051999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3206
3207 * pop.c: Use "pop3" as the POP service name on all platforms,
3208 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
3209 has been the standard service name since RFC 1340 was published in
3210 July 1992, so I think it's safe to start using it by default.
3211
362bc2da
DL
32121999-09-27 Dave Love <fx@gnu.org>
3213
3214 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
3215
74e4cb59
PR
32161999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3217
3218 * make-docfile.c (scan_lisp_file): Fix previous changes;
3219 swallow CRLF like just CR or just LF.
3220
362bc2da
DL
32211999-09-03 Richard Stallman <rms@gnu.org>
3222
3223 * make-docfile.c: Include config.h not ../src/config.h.
3224 (main, fopen, chdir): Add #undef.
3225 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
3226 (scan_lisp_file): Handle \r like \n.
3227
32281999-08-30 Andreas Schwab <schwab@gnu.org>
3229
3230 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
3231
3232 * emacsserver.c: Include <stdlib.h> if available. Don't declare
3233 errno if it's a macro.
3234
3235 * test-distrib.c: Include <unistd.h> if available.
3236
32371999-08-29 Richard Stallman <rms@gnu.org>
3238
3239 * emacsclient.c (print_help_and_exit): Mention --version.
3240
32411999-08-25 Richard M. Stallman <rms@gnu.org>
3242
3243 * emacsclient.c (decode_options): Update version output.
3244 (print_help_and_exit): Update bug report address.
3245
32461999-08-13 Richard M. Stallman <rms@gnu.org>
3247
3248 * emacsclient.c (main): Move the dynamic allocation of
3249 system_name outside of the SERVER_HOME_DIR conditional.
3250 * emacsserver.c (main): Likewise.
3251
32521999-08-10 Gerd Moellmann <gerd@gnu.org>
3253
3254 * grep-changelog: New.
3255 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3256
32571999-07-12 Richard Stallman <rms@gnu.org>
3258
3259 * Version 20.4 released.
3260
32611999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3262
1c478461 3263 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
3264
32651999-06-23 Dave Love <fx@gnu.org>
3266
3267 * etags.c (erlang_attribute): Fix undefined variable usage (after
3268 Potorti).
3269
86e888c2 32701999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
3271
3272 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3273 mapped to _chsize.
3274
32751999-04-29 Richard M. Stallman <rms@gnu.org>
3276
3277 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3278
32791999-03-30 Dave Love <fx@gnu.org>
3280
3281 * sorted-doc.c (main): Split up tables. Modify the preamble
3282 somewhat.
3283
32841999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3285
3286 * makefile.nt: Remove common multiple file compilation commands.
3287
32881999-02-26 Richard Stallman <rms@gnu.org>
3289
362bc2da
DL
3290 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3291
3292 * yow.c: Refer to epaths.h.
3293
32941999-02-22 Simon Josefsson <jas@pdc.kth.se>
3295
3296 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3297
32981999-01-27 Andrew Innes <andrewi@gnu.org>
3299
3300 * makefile.nt: Do make version comparison as strings.
3301
33021999-01-25 Richard Stallman <rms@gnu.org>
3303
3304 * emacsclient.c (xmalloc): Fix previous change.
3305
33061999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3307
3308 * emacsclient.c (xmalloc): Declare to return long.
3309
33101999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3311
3312 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
3313 the case of the drive letter.
3314
33151999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
3316
3317 * emacsserver.c (main): Eliminate arbitrary limit on
3318 length of system_name.
3319
3320 * emacsclient.c (main): Eliminate arbitrary limit on
3321 length of system_name.
3322 (xmalloc): Define unconditionally.
3323
33241999-01-12 Darrin B. Jewell <jewell@mit.edu>
3325
3326 * etags.c (relative_filename): Stop backward search at beginning
3327 of string, since non-Unix systems can have absolute paths with no
3328 initial slash.
3329
33301998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3331
3332 * makefile.nt: Do string comparision of _NMAKE_VER.
3333
c60ee5e7 33341998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
3335
3336 * makefile.nt: Compile multiple source files when possible.
3337
33381998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
3339
3340 * Makefile.in: Replace tabs with spaces
3341 when they might confuse some Make versions.
3342
33431998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
3344
3345 * emacsclient.c (main): Null-terminate system_name.
3346
3347 * emacsserver.c (main): Null-terminate system_name.
3348
33491998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3350
3351 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
3352 an error message from POP, mention that it's from POP, to
3353 distinguish it from local error messages.
3354
33551998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3356
3357 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
3358 order of messages downloaded from a POP server (e.g., if the
3359 server stores messages in mailboxes in reverse order).
3360
33611998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3362
3363 * Version 20.3 released.
3364
33651998-08-11 Paul Eggert <eggert@twinsun.com>
3366
3367 * rcs2log: Update copyright date and bug report address.
3368 (initialize_fullname): Prefer getent if available.
3369
33701998-07-30 Paul Eggert <eggert@twinsun.com>
3371
290afd83 3372 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 3373 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 3374
362bc2da
DL
33751998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3376
3377 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3378
33791998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3380
3381 * Makefile.in: Properly terminate a comment.
3382
33831998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3384
3385 * movemail.c (sys_wait): Rename to wait.
3386
3387 * ntlib.h: Undefine _WINSOCKAPI_.
3388
3389 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
3390
33911998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3392
3393 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
3394
33951998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
3396
3397 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
3398 all file i/o to be in binary mode. Include ntlib.h.
3399
34001998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
3401
3402 * make-docfile.c: Include <unistd.h> for chdir.
3403
34041998-04-25 Richard Stallman <rms@psilocin.gnu.org>
3405
3406 * etags.c (TEX_decode_env): Don't free the value getenv returns.
3407
34081998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3409
3410 * makefile.nt (obj): Update with new files in src.
3411 (clean): Delete patch scratch files, optimized compilation dir.
3412
34131998-04-08 Dave Love <fx@gnu.org>
3414
3415 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
3416 Irix6, at least.
3417
34181998-04-06 Andreas Schwab <schwab@gnu.org>
3419
3420 Silence -Wimplicit:
3421 * movemail.c: Move cancelations up. Include <stdlib.h> if
3422 available.
3423 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
3424 (parse_header): Explicitly declare return type.
3425 * emacsserver.c: Include <unistd.h> if available.
3426 (main, handle_signals, perror_1, fatal_error): Explicitly declare
3427 return types. Add forward declarations.
3428 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
3429 Don't declare geteuid.
3430 (print_help_and_exit): Change return type to void. Forward
3431 declare it.
3432 * b2m.c: Include <stdlib.h> if available.
3433 (main): Explicitly declare return type.
3434
362bc2da
DL
34351998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3436
3437 * etags.c (put_entries): Use %ld.
3438
3439 * b2m.c (fatal): Declare the arg.
3440
34411998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3442
3443 * pop.c (pop_getline): Renamed from getline.
3444
34451998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3446
3447 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3448 for the utilities.
3449
34501998-01-23 Dave Love <d.love@dl.ac.uk>
3451
3452 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3453 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3454 Always make named tags.
3455 (Fortran_functions): Grok BLOCK DATA.
3456
34571998-01-23 Andreas Schwab <schwab@gnu.org>
3458
3459 * movemail.c (main): Fix interwoven brace and cpp conditional
3460 nesting.
3461
362bc2da
DL
34621997-12-03 Paul Eggert <eggert@delysid.gnu.org>
3463
cb438d6e
JB
3464 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
3465 with a '>' any lines starting with "From " read from the POP server,
3466 but leave the code in place, wrapped in #ifdef
362bc2da
DL
3467 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3468 because it turns out that something is depending on it. Change
3469 suggested by Paul Eggert <eggert@twinsun.com>.
3470 Convert the character \037 (^_) at the beginning of a line into
3471 the character '^' followed by the character '_', because otherwise
3472 Emacs can't parse the resulting file as a valid BABYL file.
3473 Change suggested by Paul Eggert <eggert@twinsun.com>.
3474
34751997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3476
3477 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3478 server to contain embedded nulls.
3479
34801997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 3481
362bc2da
DL
3482 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
3483 quotes with a '>' any lines starting with "From " read from the
3484 POP server, but leave the code in place, wrapped in #ifdef
3485 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3486 because it turns out that something is depending on it. Change
3487 suggested by Paul Eggert <eggert@twinsun.com>.
3488
3489 Convert the character \037 (^_) at the beginning of a line into
3490 the character '^' followed by the character '_', because otherwise
3491 Emacs can't parse the resulting file as a valid BABYL file.
3492 Change suggested by Paul Eggert <eggert@twinsun.com>.
3493
34941997-11-22 Richard Stallman <rms@gnu.org>
3495
3496 * b2m.c: Include getopt.h.
3497 (main): Use getopt_long to handle --version and --help.
3498
3499 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
3500
35011997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3502
3503 * pop.c (fullwrite): Get rid of an extra call to write. Problem
3504 pointed out by Chiaki Ishikawa.
3505
35061997-10-16 Dave Love <d.love@dl.ac.uk>
3507
ecc54057
JB
3508 * etags.c (L_getit): Always make named tags so that Emacs
3509 completion on symbols containing `:' etc. works.
3510 (get_scheme): Likewise.
362bc2da
DL
3511
35121997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3513
3514 * pop.c: Use system header files instead of declaring C-library
3515 functions explicitly.
3516
35171997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3518
3519 * Version 20.2 released.
3520
35211997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3522
3523 * Version 20.1 released.
3524
35251997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3526
3527 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
3528
3529 * ntlib.c (getpid): Delete function.
3530
35311997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3532
3533 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
3534
35351997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3536
3537 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
3538 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
3539
35401997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3541
3542 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
3543
35441997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
3545
3546 * profile.c (get_time): Cast arg to fprintf.
3547
3548 * hexl.c (main): Use %08lx instead of %08x in printf because the
3549 variable named addresses is long.
3550
35511997-08-08 Geoff Voelker <voelker@cs.washington.edu>
3552
3553 * makefile.nt (lisp): Update paths to lisp files that have moved.
3554
35551997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
3556
3557 * makefile.nt (ctags.obj): New target.
3558 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
3559
3560 * ntlib.h: Add includes.
3561 Undo definitions of crt routines from config.h.
3562
35631997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3564
3565 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
3566
35671997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3568
3569 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3570 Kerberos V5 for movemail, including detection of V4 and V5 header
3571 files and libraries.
362bc2da 3572 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 3573 declarations of string functions.
362bc2da 3574 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 3575 V5 API rather than the old one.
362bc2da 3576 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
3577 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3578 with a constant in a header file.
362bc2da
DL
3579
3580 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3581 Kerberos V5 for movemail, including detection of V4 and V5 header
3582 files and libraries.
362bc2da
DL
3583
35841997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3585
3586 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3587
3588 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 3589
362bc2da
DL
35901997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3591
3592 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3593
35941997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3595
3596 * movemail.c (rindex): Add declaration.
3597
d57727c9 35981997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
3599
3600 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3601 (movemail.exe): Depend upon and link with getopt files.
3602 (obj): Include new source files.
3603 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3604 (lisp): Include new and reorganized elisp files.
3605
36061997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3607
3608 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3609
36101997-06-25 Paul Eggert <eggert@twinsun.com>
3611
3612 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3613
36141997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3615
3616 * b2m.c (readline): Terminate buffer properly when EOF seen.
3617 Test for valid pointer before dereferencing it.
3618
880820fe 36191997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3620
3621 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3622 defined inside etags.c if HAVE_CONFIG_H is defined.
3623
880820fe 36241997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3625
ecc54057 3626 * etags.c (logical): Type name changed to bool.
362bc2da
DL
3627 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3628 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3629 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3630 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3631 (longopts): New long options without short counterpart are
3632 globals, members, no-globals, no-members. Regexp options are now
3633 defined conditionally to ETAGS_REGEXPS.
3634 (print_help): Updated.
3635
880820fe 36361997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3637
3638 * etags.c (C_entries): Use "." instead of "::" for Java.
3639 (consider_token): is_func renamed to is_func_or_var.
3640 (C_entries): is_func renamed to funorvar.
3641 (C_entries): Initialise tok.named.
3642 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3643 get rid of "import", "package" and "friend".
3644 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 3645 users changed.
362bc2da
DL
3646 (C_entries): Make separate tags for variables separated by comma.
3647 (globals, members): New flags.
3648 (main, C_entries): Use them.
3649 (make_C_tag, C_entries): Make tok a global variable.
1c478461 3650
880820fe 36511997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3652
3653 * etags.c (funcdef): New vignore constant.
3654 (consider_token, C_entries): Use it to tag global variables.
3655 (print_help): Update for global variables.
3656 (consider_token, C_entries): Set the len member of token_name.
3657 (prolog_pred): Cleanup according to GNU coding standards.
3658 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3659 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3660
880820fe 36611997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3662
3663 * etags.c (CHARS, CHAR): New constant and macro.
3664 (iswhite, begtoken, intoken, endtoken): Use them.
3665 (notinname, _nin, nonam): New macro, array, string.
3666 (init): Cleanup and init _nin.
3667 (new_pfnote): New function.
3668 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 3669 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 3670
880820fe 36711997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3672
3673 * etags.c (C_entries, Pascal_functions): Cleanup.
3674 (TeX_functions): NULL as a function arg needs a cast.
3675 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3676
880820fe 36771997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3678
3679 * etags.c (TeX_functions): Cleaned up.
3680 (tex_getit): Removed.
3681
36821997-05-13 Paul Eggert <eggert@twinsun.com>
3683
3684 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 3685 non-files within the RCS subdirectory.
362bc2da 3686
880820fe 36871997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3688
3689 * etags.c (C_JAVA): New #define.
3690 (Cjava_suffixes): .java is Java.
3691 (Cjava_entries): New function.
3692 (lang_names): Add Java.
3693 (sym_type): Add st_C_javastruct for Java.
3694 (C_stab_entry): Add `extends' and `implements' keywords.
3695 (consider_token, C_entries): Recognise Java structures.
3696
880820fe 36971997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3698
ecc54057 3699 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3700 (Postscript_suffixes): .ps is Postscript.
3701 (lang_names): Add Postscript.
3702 (Postscript_functions): New function.
3703 (TEX_decode_env): Close minor memory leak.
3704 (just_read_file): Correct the char number of the tag.
3705
37061997-05-11 Paul Eggert <eggert@twinsun.com>
3707
3708 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3709 Don't prepend $nl since this causes some shells to generate the
3710 empty string when IFS is $nl.
362bc2da 3711 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3712 PC-based shells mishandle CR.
362bc2da
DL
3713 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3714 nismatch, in case it's set to some nonstandard value.
1c478461 3715
362bc2da
DL
37161997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3717
3718 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3719 read in separate blocks.
3720
880820fe 37211997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3722
3723 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3724 (struct linebuffer): New member `len' is the length of the string.
3725 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3726 Use it instead of strlen.
3727 (TEX_getit): Declare and define unconditionally as static.
3728 (TeX_functions): Use if instead of #if TeX_named_tokens.
3729 (add_regex): Set RE_INTERVALS flag for regex compilation.
3730 (substitute): Code cleanup.
3731 (readline_internal): Code cleanup, set new member `len'.
3732 (readline): Bug corrected.
3733
37341997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3735
3736 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3737 (obj): Change references of nt*.c files to w32*.c files.
3738
880820fe 37391997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3740
3741 * etags.c (xnew): Add support for debugging with chkmalloc.
3742 (error): Use this instead of printf whenever possible.
3743 (main): Only call xnew after having initialised progname.
3744 (substitute): Bad memory corruption error corrected.
3745
880820fe 37461997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3747
3748 * etags.c (add_regex): Undo previous change.
3749 (relative_filename): Small memory leak closed.
3750 (absolute_filename): Cleaned up the code, possibly closing a bug.
3751 (absolute_dirname): Always return a newly allocated string.
1c478461 3752
362bc2da
DL
37531997-03-21 Paul Eggert <eggert@twinsun.com>
3754
3755 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3756 of the form ,*, or *_; they are probably RCS lock files.
3757 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3758 they are used by rcsfreeze.
3759
880820fe 37601997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3761
2f2c687b 3762 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
3763
37641997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3765
3766 * movemail.c (popmail): Remove some unnecessary function
3767 declarations.
3768 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3769 into pop_retr, there's no reason to pass in mbx_write, and the
3770 file argument can be declared FILE * explicitly. This fixes a
3771 compilation problem on systems with 64-bit pointers.
3772
37731997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3774
3775 * movemail.c: Delete duplicate inclusion of fcntl.h
3776 and duplicate #undefs of open, read, write, close.
3777
37781997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3779
3780 * movemail.c (main): Do not display "[POP-password]" in the usage
3781 message when movemail is compiled without POP support.
3782 (main, popmail): Add the optional "-p" argument, which causes
3783 movemail to leave mail in the inbox after copying it into the
3784 output file.
1c478461 3785
362bc2da
DL
3786 * Makefile.in (movemail): Link with getopt.
3787
37881997-01-20 Paul Eggert <eggert@twinsun.com>
3789
ecc54057 3790 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3791 (Copyright, Help, Id): New variables, for above.
3792 (rlog): Use -q option with cvs log, to avoid useless chatter.
3793
3794 Treat logs of "Initial revision" (RCS) or "file F was initially added
3795 on branch B." (CVS) as if they said "New file.", for consistency with
3796 change log entries.
3797
37981997-01-01 Paul Eggert <eggert@twinsun.com>
3799
3800 * vcdiff (PATH): Add /usr/xpg4/bin,
3801 where XPG4 SCCS hangs out in Solaris 2.5.
3802 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3803
38041996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3805
3806 * etags.c (streq, strneq): Use == NULL rather than !.
3807
38081996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3809
3810 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3811 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3812
3813 * movemail.c: Include maillock.h (conditionally).
3814 Remove a redundant inclusion of <stdio.h>.
3815 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3816 (main): Add variable spool_name.
3817 Support the usage of maillock and mailunlock to
ecc54057 3818 lock and unlock mailboxes.
362bc2da
DL
3819 (mail_spool_name): New function.
3820
3821 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3822 movemail to exit with an error status incorrectly on systems which
3823 use lock files rather than a system locking function to lock
3824 mailboxes.
362bc2da
DL
3825
38261996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3827
3828 * pop.c (socket_connection): Free realhost after using it.
3829
880820fe 38301996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3831
3832 * etags.c (C_entries): Test tok.valid. This handles some
3833 particular cases involving function declarations that failed.
3834
38351996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 3836
362bc2da
DL
3837 * pop.c (socket_connection):
3838 gethostbyname may return a pointer to static data.
3839 krb_realmofhost can clobber it. So copy it.
3840
880820fe 38411996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3842
3843 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3844 must cast it to (char *) because we have no prototypes.
3845 (make_C_tag): Macro deleted, new function.
3846 (C_entries): Calls to make_C_tag macro changed to call function.
3847
880820fe 38481996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3849
3850 * etags.c (grow_linebuffer): New function.
3851 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3852 (make_tag): Macro renamed to make_C_tag. All callers changed.
3853 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3854 (Prolog_functions): prolog_skip_comment was called with wrong
3855 number of arguments.
6088b51f 3856 (xrealloc): fatal was called with wrong number of arguments.
362bc2da 3857
880820fe 38581996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3859
3860 * etags.c (relative_filename): Bug corrected.
3861 (etags_getcwd): Avoid warning of unused variable.
3862 (C_entries, consider_token): Added support for enum labels.
3863
38641996-11-03 Paul Eggert <eggert@twinsun.com>
3865
3866 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 3867 repository file names.
362bc2da
DL
3868
38691996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3870
3871 * emacsserver.c: Fix 1996-09-02 change.
3872
38731996-10-12 Paul Eggert <eggert@twinsun.com>
3874
3875 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 3876 option', since CVS says 'invalid option'.
362bc2da
DL
3877 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3878 revisions, since some hosts reject 1970-01-01 when east of UTC.
3879 (date): Remove.
3880
38811996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3882
3883 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3884
880820fe 38851996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3886
3887 * etags.c (print_version): Print copyright info.
3888
3889 * etags.c (print_help): Print the bug reporting address.
3890 (main): Use return as the last instruction, instead of exit.
3891
3892 * etags.c (main): Don't open the tags file in cxref mode.
3893
38941996-09-29 Dave Love <d.love@dl.ac.uk>
3895
3896 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 3897 as well as earlier CVSs and RCS.
362bc2da
DL
3898
38991996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3900
3901 * movemail.c (main): If the lock call fails with EBUSY or
3902 EAGAIN, retry a few times.
3903
39041996-09-25 Paul Eggert <eggert@twinsun.com>
3905
3906 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 3907 whether to append -zLT.
362bc2da
DL
3908
39091996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3910
3911 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3912 * emacsclient.c, movemail.c: Likewise.
3913
39141996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3915
3916 * emacsclient.c (longopts): Change nowait to no-wait.
3917 (print_help_and_exit): Fix option name; upcase metavars.
3918
39191996-09-06 Erik Naggum <erik@naggum.no>
3920
3921 * emacsserver.c (main): Declare `fromlen' as size_t.
3922
39231996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3924
3925 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3926
39271996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3928
3929 * emacsclient.c (quote_file_name): Quote with &, not \.
3930 Quote `-' only at start of file name. Terminate the value string.
3931
3932 * emacsserver.c: Include signal.h properly;
3933 delete the duplicate includes for it.
3934
3935 * emacsserver.c: On fatal signal, delete socket-file:
3936 * emacsserver.c: Include signal.h.
ecc54057 3937 (xmalloc, fatal, error): New functions.
362bc2da
DL
3938 (delete_socket, handle_signals): New functions.
3939 (progname, socket_name): New variables.
3940 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3941
39421996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3943
3944 * emacsclient.c (quote_file_name): New function.
3945 (main, both versions): Use quote_file_name.
3946 (decode_options): Don't return a value.
3947 (main, both versions): Use optind.
3948 Don't check for -nowait here.
1c478461 3949
362bc2da
DL
3950 * emacsclient.c (decode_options): New function.
3951 (main, both versions): Call decode_options.
3952 (print_help_and_exit): New function.
3953 (VERSION): New macro.
3954
3955 * Makefile.in (emacsclient): Link with getopt.
3956 Add -DVERSION so emacsclient knows its version number.
3957
39581996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3959
3960 * makefile.nt (lisp): Include dos-nt.elc.
3961
39621996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3963
3964 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3965
39661996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3967
3968 * emacsclient.c (both versions): Handle -nowait and --nowait
3969 by sending data to the server.
3970
39711996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3972
3973 * Makefile.in (INSTALL_STRIP): New variable.
3974 (${archlibdir}): Use INSTALL_STRIP.
3975
3976 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3977 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3978
3979 * pop.c: Reverse conditional in previous change.
3980
39811996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3982
3983 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3984
39851996-08-24 Paul Eggert <eggert@twinsun.com>
3986
3987 * rcs2log: Use ISO 8601 date format, with time zone appended
3988 if change-log-time-zone-rule is non-nil, instead of
3989 traditional Unix date format.
3990
3991 (datearg): When computing default from ChangeLog, handle ISO format
3992 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3993 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 3994 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
3995 "$datearg" option to $rlog.
3996 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3997 (month_data): Remove `mo'; no longer needed.
10d1d0af 3998 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
3999
4000 Match `revision' line of rlog output more accurately.
4001
4002 Add -c, -v options.
4003
40041996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
4005
4006 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
4007
40081996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4009
4010 * Version 19.33 released.
4011
40121996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4013
4014 * Version 19.32 released.
4015
40161996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
4017
4018 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
4019 computing character positions in source files.
4020
40211996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
4022
4023 * makefile.nt (clean): Use OBJDIR macro.
4024
40251996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4026
4027 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
4028
c60ee5e7 40291996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 4030
ecc54057 4031 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
4032 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
4033 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
4034
40351996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
4036
4037 * ntlib.h: Correct return type of getwd.
4038 * ntlib.c (getwd): Correct return type.
4039
40401996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4041
4042 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
4043 to infile.
4044
40451996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
4046
4047 * makefile.nt: Remove all references to wakeup.
4048
880820fe 40491996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4050
4051 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
4052 explicit, mutable, typename.
4053
40541996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4055
4056 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
4057 streams, one for sending and one for reading the reply.
4058
40591996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4060
4061 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
4062 (wakeup): Target deleted.
4063 (UTILITIES): Delete wakeup and timer.
4064
4065 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
4066
40671996-06-11 Geoff Voelker <voelker@cs.washington.edu>
4068
4069 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
4070 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
4071
40721996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
4073
4074 * etags.c (main): Copy cwd when appending slash.
4075
40761996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
4077
4078 * Version 19.31 released.
4079
880820fe 40801996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4081
4082 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
4083 (Pascal_functions): Increase linecharno by the correct number of
4084 chars, inline the GET_NEW_LINE macro and delete its definition.
4085
c60ee5e7 40861996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4087
4088 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4089
c60ee5e7 40901996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4091
4092 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
6088b51f 4093 (movemail.exe, fakemail.exe): Now built under Win32.o.
362bc2da
DL
4094
4095 * ntlib.c: Include ntlib.h.
4096 (nt_sleep): Rename to sleep.
4097 (getwd): Return directory.
4098 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
4099 sys_ctime, sys_fopen): New functions.
4100
4101 * ntlib.h: New file.
4102
41031996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4104
4105 * pop.c (SEND, RECV): Renamed from send, recv.
4106 (pop_open, pop_trash): Make the trash_started code unconditional.
4107 (socket_connection): Delete casts to void.
4108
41091996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4110
4111 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
4112 copied from lisp.h.
4113
41141996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4115
4116 * fakemail.c [WINDOWSNT]: Include ntlib.h.
4117
4118 * hexl.c [DOSNT]: Include fcntl.h.
4119 [WINDOWSNT]: Include io.h.
4120 (main) [MSDOS]: Change conditional to DOS_NT.
4121
4122 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
4123 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
4124 [WINDOWSNT]: Include locking.h.
4125 (main): Update usage message. Use IS_DIRECTORY_SEP.
4126 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
4127 (main) [WINDOWSNT]: Invoke locking instead of flock.
4128 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
4129 (main) [MAIL_USE_POP]: Pass password to popmail if used.
4130 Include winsock.h; don't include unix inet headers.
4131 (popmail): Add password argument and pass it to pop_open.
4132 Open output file in binary mode.
4133
4134 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 4135 Macro SOCKET_ERROR undefined.
362bc2da
DL
4136 Don't declare h_errno.
4137 [!WINDOWSNT]: Define macros recv and send.
4138 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
4139 (pop_open) [WINDOWSNT]: Initialize trash_started.
4140 (have_winsock) [WINDOWSNT]: New variable.
4141 (socket_connection) [WINDOWSNT]: Initialize winsock.
4142 (socket_connection): Use closesocket instead of close.
4143 (getline): Use recv instead of read.
4144 (fullwrite): Use send instead of write.
4145 (pop_trash): Use closesocket instead of close.
4146 (pop_trash) [WINDOWSNT]: Cleanup winsock.
4147 Check if being called recursively by sendline.
4148
4149 * pop.h (struct _popserver): New field trash_started.
4150
4151 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
4152
41531996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4154
4155 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
4156
41571996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4158
4159 * etags.c [WINDOWSNT]: Include io.h.
4160
41611996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4162
4163 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4164
41651996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
4166
4167 * hexl.c [DJGPP v2]: Include io.h.
4168 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
4169
4170 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
4171 DJGPP v2.
4172
41731996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4174
4175 * etags.c (absolute_filename): Use absolutefn.
4176
41771996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
4178
4179 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
4180 letter isn't an alphabetic character.
4181 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
4182 (process_file) [DOS_NT]: Convert all slashes to forward style.
4183 (absolute_filename) [DOS_NT]: Emit error message for relative
4184 paths with a drive letter.
4185 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
4186 DOS/NT drive letters which try to reference the parent of the root.
4187 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
4188
41891996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4190
4191 * makefile.nt: Change uses of del to $(DEL).
4192
880820fe 41931996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4194
4195 * etags.c (just_read_file): Reset lineno and charno on entry.
4196
41971996-03-15 Anders Lindgren <andersl@csd.uu.se>
4198
4199 * etags.c: Prolog language totaly rewritten.
ecc54057 4200 (Prolog_functions): Rewritten from scratch.
362bc2da 4201 (skip_comment, prolog_getit): Removed.
ecc54057
JB
4202 (prolog_skip_comment): New function, like old skip_comment.
4203 (prolog_pred, prolog_atom, prolog_white): New functions.
4204 (erlang_func, erlang_attributes): Forward declarations added.
4205 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 4206
880820fe 42071996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4208
4209 * etags.c (absolutefn): DOS_NT version corrected.
4210 (main): Append "/" to the dir name only if not already there.
4211 (print_help): Explain the absolute/relative file name issue.
1c478461 4212
362bc2da
DL
42131996-03-08 Anders Lindgren <andersl@csd.uu.se>
4214
10d1d0af
JB
4215 * etags.c: New Language Erlang added.
4216 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
4217 (erlang_white): New functions.
362bc2da
DL
4218 (Erlang_suffixes): New suffix list.
4219 (lang_names): Erlang entry added.
4220 (prolog_getit): Accepts headers spanning several lines.
4221 Always name tags.
4222 (Prolog_functions): Removed incorrect compensation for
4223 newline characters.
4224 (readline_internal): Zero-terminate last line.
4225
42261996-03-20 Mike Long <mike.long@analog.com>
4227
4228 * b2m.c (main): Initialize progname variable before using it.
4229 Quote `username' in From_ header.
4230
42311996-03-18 Geoff Voelker <voelker@cs.washington.edu>
4232
4233 * ntlib.c (getpid): New function.
4234
42351996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4236
4237 * emacsclient.c (main, both definitions):
4238 Print a newline for normal termination.
4239
42401996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4241
4242 * tcp.c (main): Convert port to network byte order.
4243
42441996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4245
4246 * pop.c (pop_retrieve, getline): Avoid type clashes.
4247
42481996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4249
4250 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4251
42521996-01-15 Paul Eggert <eggert@twinsun.com>
4253
4254 * rcs2log (initialize_fullname): Add support for NIS+.
4255 (hostname): Fully qualify the default hostname with the domainname
4256 if the hostname lacks a `.'.
4257
362bc2da
DL
42581996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4259
4260 * etags.c (consider_token): Fix typo in expression.
4261
42621996-01-04 Paul Eggert <eggert@twinsun.com>
4263
4264 * etags.c (substitute): Fix spelling in message.
4265
42661996-01-03 George V. Reilly <georger@microcrafts.com>
4267
4268 * makefile.nt (etags, ctags): Compile with regexp support.
4269 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
4270 subdirectory exists before compiling.
1c478461 4271
362bc2da
DL
42721996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4273
4274 * emacsserver.c (main): Do chmod based on existing permission.
4275
42761995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4277
4278 * Makefile.in (install): Turn on read/execute permission.
4279
42801995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4281
4282 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
4283 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
4284
42851995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4286
4287 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
4288
880820fe 42891995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4290
4291 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
4292 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
4293 get_scheme, prolog_getit): Name the tag in ctags mode.
4294 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
4295 (Perl_interpreters): Accept "@PERL@" as an interpreter.
4296 (suggest_asking_for_help): New function.
4297 (main, get_language_from_name): Use suggest_asking_for_help.
4298 (main): Let get_language_from_name make language existence check.
4299 (streq, strneq): Check the arguments #if DEBUG.
4300
880820fe 43011995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4302
4303 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
4304 (gperf): Added keywords for Objective C and GNU macros.
4305 (sym_type): Added values to account for Objective C and GNU macros.
4306 (begtk): The '@' character can start a token.
4307 (objdef, methodlen, objtag): New variables for Objective C.
4308 (consider_token, C_entries): Added code for Objective C.
4309 (plain_C_suffixes): Add .m and .lm for Objective C.
4310 (Yacc_suffixes): Add .ym for Objective yacc.
4311 (GROW_LINEBUFFER): New macro.
4312 (consider_token, C_entries, Pascal_functions): Use the new macro.
4313 (consider_token): Take one more argument. Caller changed.
4314 (consider_token): Use the hashing function to spot GNU macros.
4315 (C_entries): Consider // as a comment start even in plain C for
4316 the sake of Objective C parsing.
4317
880820fe 43181995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 4319
2f2c687b 4320 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 4321 compile with regexp support enabled.
362bc2da
DL
4322
43231995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4324
4325 * Version 19.30 released.
4326
43271995-11-22 Geoff Voelker <voelker@cs.washington.edu>
4328
4329 * makefile.nt (DOC, clean): Don't use switches to del not
4330 supported by Windows 95.
4331
43321995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4333
4334 * Makefile.in (regex.o): Depend on ../src/config.h.
4335
43361995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4337
4338 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
4339 (LOADLIBES): Use LIB_STANDARD.
4340
43411995-11-07 Kevin Gallo <kgallo@microsoft.com>
4342
4343 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
4344 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
4345 Windows 95 conditional.
4346
880820fe 43471995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4348
4349 * etags.c (get_lang_from_name, get_lang_from_interpreter,
4350 get_lang_from_suffix): New functions.
4351 (get_language): Function deleted.
4352 (lang_entry): Two members added to struct.
4353 (lang_names): Reflect the new layout of lang_entry.
4354 (print_language_names, main, find_entries): Use the new functions.
4355 (find_entries): Look at the first line for #! if no language.
4356 (C_entries): Invalidate the token when funcdef is reset.
4357 (Perl_functions): New function.
4358 (lang_suffixes): .pl and .pm are Perl suffixes.
4359
880820fe 43601995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4361
4362 * etags.c (lowcase): Use the standard tolower function.
4363 (substitute): Remove some wrong and some useless code related with
a64387ee 4364 escape '\' character in regexp replacement string.
362bc2da
DL
4365 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
4366 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4367 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4368 .prolog for prolog (.pl removed).
4369 (massage_name, etags_getcwd): Use lowcase instead of tolower.
4370 (C_entries, find_entries): Added comments about memory leakage.
4371 (add_node): Dead code removed.
4372
43731995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4374
4375 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
4376 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
4377
43781995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4379
4380 * test-distrib.c: Add #undef for open, close, read, write.
4381
43821995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4383
4384 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
4385 [! O_RDONLY]: Define it to zero.
4386 (main): Use O_RDONLY instead of explicit zero.
4387
880820fe 43881995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4389
4390 * etags.c (Pascal_functions): Close comment bug corrected.
4391 (add_node): Correctly compare node file names.
4392 (Pascal_functions): Correctly allocate and free memory for tline.
4393 (pfnote): Put the definition of fp in the innermost block.
4394 (NODE): `named' member removed.
4395 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 4396 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
4397 (pfnote): `named' argument removed, all callers changed.
4398 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4399 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 4400 removed from pfnote call, some code cleanup.
362bc2da
DL
4401 (relative_filename): Free temporary space allocated by concat.
4402
44031995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4404
4405 * Makefile.in (getdate.c): New target.
4406 (getdate.o): Just compile getdate.c.
4407
44081995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
4409
4410 * fakemail.c (xrealloc): Change cast to match return type.
4411
44121995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4413
4414 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
4415
44161995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4417
4418 * movemail.c (main): Fix previous change.
4419 Add error check for empty OUTNAME.
4420
44211995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4422
4423 * movemail.c (main): Mention lock file name in error message.
4424
44251995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4426
4427 * profile.c (gettimeofday): New function, defined if necessary.
4428
44291995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4430
4431 * Makefile.in: Renamed from Makefile.in.in.
4432 (distclean): Delete Makefile.c, not Makefile.in.
4433
44341995-07-17 Michael Shields <shields@tembel.org>
4435
4436 * Makefile.in.in (tags): Synonym for `TAGS'.
4437
44381995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4439
4440 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4441 configure has already set $(INSTALL) to the proper relative path.
4442
880820fe 44431995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4444
2f2c687b
JB
4445 * etags.c (plain_C_entries): New function.
4446 (lowcase): New macro.
4447 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4448 (lang_suffixes): New suffix ".pc" for Pro*C files.
4449 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4450 (tail): Look for the end of the token when comparing.
4451 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4452
44531995-07-08 Paul Eggert <eggert@twinsun.com>
4454
4455 * rcs2log (datearg): Separate date from time with comma, not space,
4456 to work around CVS 1.5 bug.
4457 (CVSROOT): Don't abort when unset if repository is absolute.
4458
44591995-07-07 Paul Eggert <eggert@twinsun.com>
4460
4461 * rcs-checkin, rcs2log, vcdiff:
4462 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4463 that interpret `#! /' as a 4-byte magic number.
4464
44651995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4466
4467 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
4468 mailbox with "po:mailbox", the mailbox is everything after the
4469 "po:" prefix.
4470
44711995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4472
4473 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 4474 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
4475
44761995-06-28 Paul Eggert <eggert@twinsun.com>
4477
4478 * rcs2log (CVSROOT, repository):
4479 Allow remote repositories a la CVS 1.4.
4480
880820fe 44811995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4482
2f2c687b
JB
4483 * etags.c (plain_C_entries): New function.
4484 (lowcase): New macro.
4485 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4486 (lang_suffixes): New suffix ".pc" for Pro*C files.
4487 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4488 (tail): Look for the end of the token when comparing.
4489 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4490
44911995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4492
4493 * movemail.c (main): Add newline in usage message.
4494
44951995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4496
4497 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
4498
880820fe 44991995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4500
4501 * etags.c (find_entries): Rewind before rereading the input file.
4502
45031995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4504
4505 * Version 19.29 released.
4506
4507 * make-docfile.c (main) [MSDOS]: Do set _fmode.
4508 This undoes part of the previous change.
4509
45101995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4511
4512 * make-docfile.c (main): On MSDOS, don't change stdout
4513 to binary, and insist on an -o option.
4514
45151995-06-13 Geoff Voelker <voelker@cs.washington.edu>
4516
4517 * etags.c (process_file,absolute_filename): Handle filenames
4518 starting with a drive letter.
4519
4520 * makefile.nt (install): Copy wakeup.exe properly.
4521
45221995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
4523
4524 * make-docfile.c [MSDOS]: #undef chdir.
4525
45261995-06-04 Paul Eggert <eggert@twinsun.com>
4527
4528 * rcs2log (output_authors): Allow ':' in time zone,
4529 as per ISO 8601 and RCS 5.6.8 beta.
4530
880820fe 45311995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4532
4533 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
4534 compatibility problems.
4535
45361995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
4537
4538 * etags.c (etags_getcwd): Don't use #elif.
4539 Have just one function body.
4540
45411995-05-25 Geoff Voelker <voelker@cs.washington.edu>
4542
4543 * makefile.nt (LIBS): Use BASE_LIBS.
4544 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
4545 upon LIBS.
4546 (DOC): Use del instead of rm.
4547 (DOC) [WINDOWS95]: Use DOC.
4548 (clean): Handle MSVC aux files.
4549 (config.h,paths.h): Use $(CP) instead of cp.
4550 (config.h): Use $(CONFIG_H)
4551 (make-docfile.obj): Depend upon config.h.
4552 Clean up comments.
4553
880820fe 45541995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4555
4556 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
4557 former gives the true path even in the presence of simlinks.
4558
45591995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4560
4561 * movemail.c (main): Increase lock timeout to five minutes.
4562
45631995-05-06 Geoff Voelker <voelker@cs.washington.edu>
4564
4565 * makefile.nt (obj): Use .c files.
4566
45671995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4568
4569 * make-docfile.c: Include config.h.
4570 (NO_SHORTNAMES): New definition.
4571 (xmalloc): Return long *.
4572
4573 * etags.c (C_entries): Cast result of xrealloc.
4574 (xmalloc, xrealloc): Declare them to return long *.
4575
4576 * b2m.c (xmalloc, xrealloc): Declare them long *.
4577
4578 * movemail.c (xmalloc): Declare it to return long *.
4579
45801995-04-30 Paul Eggert <eggert@twinsun.com>
4581
4582 * rcs2log (datearg): If rlog options are specified explicitly,
4583 omit the implicit '-d>DATE' option.
4584 (repository, rlog): Allow absolute paths to CVS repositories.
4585 Look only at the first line of CVS/Repository.
4586
45871995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4588
4589 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4590 realclean.
4591
45921995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4593
4594 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4595 Alternative (empty) definitions.
4596
45971995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4598
4599 * emacsclient.c (main): Add argv[0] to an error message.
4600
46011995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4602
4603 * emacsclient.c (main): Improve error handling.
4604 * cvtmail.c (main, skip_to_lf): Improve error handling.
4605 (sysfail): New function.
4606
4607 * b2m.c (main): Check for trailing ", " before trying to delete it.
4608
46091995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4610
4611 * Makefile.in.in (all): Build test-distrib and make-docfile.
4612
4613 * make-docfile.c (scan_c_file): At end, restore file name last char
4614 to its original value.
4615
46161995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4617
4618 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4619
46201995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4621
4622 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4623 (alloca.o, regex.o): Use BASE_CFLAGS.
4624
46251995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4626
4627 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4628
46291995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4630
4631 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4632 (SOURCES, distclean): Removed obsolete references to aixcc.
4633
46341995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4635
4636 * aixcc.lex: File deleted--surely obsolete now.
4637
46381995-03-23 Paul Eggert <eggert@twinsun.com>
4639
4640 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4641 portability to mawk and nawk.
4642
46431995-03-21 Paul Eggert <eggert@twinsun.com>
4644
4645 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4646 -u "login<tab>fullname<tab>mailaddr".
4647
46481995-03-21 Paul Eggert <eggert@twinsun.com>
4649
4650 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4651 replaces the (now obsolescent) -n login fullname mailaddr option.
4652 Add -R option for recursive rlog.
07655e62 4653 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
4654 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4655 Quote authors and fullnames correctly.
4656 Don't omit path from repository root when logging CVS files.
4657
46581995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4659
4660 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4661 even if HAVE_SYSVIPC.
4662 * emacsclient.c (main): Use getcwd if not BSD.
4663
880820fe 46641995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4665
2f2c687b 4666 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
4667 (readline_internal): Do not access the char before start of line.
4668
880820fe 46691995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4670
4671 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4672 savetok.valid. Mark token as valid when it is initialised.
4673 (make_tag): Make token only if token is valid and reset validity.
4674 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4675 (TOKEN): Added a new member: valid.
4676
880820fe 46771995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4678
4679 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4680 (main): Do not read twice the last filename in the stdin file list.
4681
880820fe 46821995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4683
4684 * etags.c (C_entries): Initialise the new members of TOKEN.
4685 (C_entries): Do not allocate a new space for each token found by
4686 consider_token. Let make_tag do that instead.
4687 (make_tag): Since now TOKEN has memory of where it is taken from,
4688 this new macro substitutes both make_tag_from_new_lb and
4689 make_tag_from_oth_lb. All callers changed.
4690 (TOKEN): Add linepos and buffer members.
4691 (main): Initialise token_str.
4692 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4693 (token_str): New global variable used by C_entries.
4694
46951995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4696
4697 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4698
880820fe 46991995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4700
4701 * etags.c (pfnote): Initialise been_warned in the node.
4702 (C_entries): Removed a speed hack for the sake of clarity.
4703
880820fe 47041995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4705
4706 * etags.c (longopts, print_help, main): Use -I as abbreviation
4707 for the --ignore-indentation option.
4708 (main): Do not print an error message for unknown options.
4709
880820fe 47101995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4711
4712 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
4713 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
4714 constantypedefs, update, vgrind_style, no_warnings,
4715 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
4716 (permit_duplicates): Was a var, now a #define.
4717 (filename_lb): Was global, now local to main.
4718 (main): Open the tag file when in cxref mode.
4719 Use a BUFSIZ size buffer for making the shell commands.
4720 Look at the return value from the system routine.
4721 Exit when cannot open the tag file.
4722 (process_file): Open the file and pass the FILE* to find_entries.
4723 (find_entries): Now void, because does not open the file itself.
4724 (pfnote): Recovering from lack of memory does not work. Removed.
4725 Use savenstr and simplify the code.
4726 (free_tree): Only free the name space if node is named.
4727 (structtag): Now a pointer, not a fixed length array of chars.
4728 (consider_token): Don't take a token as argument. Use savenstr
4729 when saving a tag in structtag. Callers changed.
4730 (TOKEN): Structure changed. Now used only in C_entries.
4731 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4732 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4733 (pfcnt): Deleted. Users updated.
4734 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4735 TEX_getit, prolog_getit): Use dinamic allocation for storing
4736 the tag instead of a fixed size buffer.
4737
47381995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4739
4740 * movemail.c (main): Skip past the colon in inname.
4741
880820fe 47421995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4743
4744 * etags.c (pfatal): New function.
4745 (main, etags_getcwd): Use pfatal.
4746 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4747
880820fe 47481995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4749
4750 * etags.c (Lang_function): Use void instead to declare the
4751 language functions, because many compilers are buggy.
4752 (etags_getcwd): Fix the previous fix on the #else branch.
4753 (readline_internal): Discard possible \r before \n here.
4754 (C_entries): Do not deal with \r here: undo previous fix.
4755
880820fe 47561995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
4757
4758 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4759 functions and a macro that allow the program to work on input
4760 lines of whatever length. Copied from etags.c.
4761 (fatal): Print a fatal error message and exit.
4762 (main): Use the new functions. Fixed a bug that made a \037 char
4763 appear at the end of the output.
4764
47651995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4766
4767 * etags.c (C_entries): Ignore carriage return at end of line.
4768
47691994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4770
4771 * fakemail.c (xmalloc, xrealloc): Add casts.
4772 (add_field): Handle <...> and "..." syntax.
4773 (setup_files, get_keyword): Clean up parens and line breaks.
4774 (args_size): Likewise.
4775
47761994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4777
4778 * yow.c: Include program name in error messages.
4779
47801994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4781
4782 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4783 (xmalloc, fatal, error): New functions.
4784 (progname): New variable.
4785 (main): Set progname.
4786
47871994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4788
4789 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4790 (main): If socket/mqueue name is in home dir, add in the host name.
4791 Rename .emacs_server to .emacs-server....
4792
47931994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4794
4795 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4796
880820fe 47971994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4798
2f2c687b
JB
4799 * etags.c (print_help): Print --regex usage for ctags also.
4800 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 4801
880820fe 48021994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4803
4804 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4805 is compiled if this is defined. The new functions and variables
4806 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4807 [VMS]: All VMS specific code previously contained in
4808 etags-vmslib.c is now included here, modified for dealing with
4809 language and regex options intermixed with filenames.
4810 (header_file): Global variable deleted.
4811 (Lang_Function): New typedef. All language parser functions
4812 changed to this new type.
4813 (string_numeric_p, substr, prestr): Functions deleted.
4814 (readline_internal): Does the job that readline did previously.
4815 (longopts): --language and --regex options added.
4816 (lang_names, lang_extensions, lang_func, print_language_names):
4817 New structures, variables and functions for choosing languages.
4818 (print_help): Help strings updated. Calls print_language_names.
4819 (argument_type, ARGUMENT): Typedefs for dealing with language and
4820 regex options intermixed with filenames.
4821 (main): Changed the way of dealing with arguments on the command
4822 line to deal with language and regex options intermixed with
4823 filenames.
4824 (get_language, default_C_entries, Cplusplus_entries,
4825 Cstar_entries, Yacc_entries, just_read_file): New functions.
4826 (find_entries): Use the new method for choosing the language.
4827 (Pascal_functions): Allow intermixing of comment styles.
4828 (prolog_getit, skip_comment): Rewritten for speed.
4829 (readline): Rewritten to deal with regexps.
4830
880820fe 48311994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4832
4833 * etags.c (<errno.h>): #include added.
4834 (etags_getcwd): Check return value from getcwd.
4835
48361994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4837
4838 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4839 (get_time): Use EMACS_SUB_TIME.
4840
d57727c9 48411994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4842
4843 * ntlib.c: New file.
4844 * makefile.nt: New file.
4845
4846 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4847 [WINDOWSNT]: Include the NT headers.
4848 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4849
4850 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4851 [WINDOWSNT]: Include some NT headers.
4852
48531994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4854
4855 * pop.c (getline): When a search of already-read input for CRLF
4856 fails, store the fact that we've searched it and don't search it
4857 again after reading more data.
4858
4859 * pop.c (getline): When determining whether or not it's necessary
4860 to grow the input buffer, take into account the null that's stored
4861 at the end of already-read input in the buffer.
4862
880820fe 48631994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4864
2f2c687b 4865 * etags.c (prestr, substr): Return a logical type.
362bc2da 4866 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 4867 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
4868 (C_entries): Now we can use Tom Hageman patch for extern "C".
4869
48701994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4871
4872 * movemail.c: PopServer renamed to popserver throughout.
4873
48741994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4875
4876 * etags.c: Don't declare malloc, since we include config.h.
4877 * fakemail.c: Likewise.
4878
48791994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4880
4881 * movemail.c: Don't declare malloc.
4882
48831994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4884
4885 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 4886 avoid syntax error.
362bc2da
DL
4887
48881994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4889
4890 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4891 defined, and if HAVE_CONFIG_H isn't defined, define
4892 MAIL_USE_POP always (so that this file can be included in
4893 other programs besides emacs).
4894
4895 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4896 HAVE_CONFIG_H isn't defined.
4897
4898 * pop.c (find_crlf, getline): Instead of using strstr, use a
4899 custom function for finding CRLF.
4900 (my_strstr): Function deleted.
4901
49021994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4903
4904 * pop.c (getline): Fix a segfault because of passing a
4905 non-null-terminated string into strstr(). Fix from
4906 djm@va.pubnix.com (David J. MacKenzie).
4907
4908 * pop.c: Don't include <string.h> and <strings.h>.
4909
4910 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4911 should be interchangeable, and indeed the inclusion is done in
4912 both orders in various files in the Kerberos 4 library sources,
4913 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4914 requires that <des.h> be included first, and I don't see any harm
4915 in changing the order.
4916
4917 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4918 STDC_HEADERS, if they're defined. Undef open, read, write and
4919 close after including it.
4920
49211994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4922
4923 * pop.c: Fix mismatch in conditionals.
4924
4925 * make-docfile.c (main): Don't process one input file twice.
4926 Never use exit code > 1.
4927
4928 * pop.c (open, close, read, write): Add #undefs.
4929
4930 * pop.c: Don't declare malloc, realloc, free.
4931 Include ../src/config.h.
4932 Don't include string.h or strings.h.
4933 Include des.h before krb.h.
4934 Do declare my_strstr.
4935 (getline): Really use my_strstr.
4936 Leave one empty place in server->buffer,
4937 and put a null at the end of the data in it.
4938
49391994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4940
4941 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4942 call kill with pid 0. Handle EINTR when receiving messages.
4943
49441994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4945
4946 * Makefile.in.in (regex.o): Use full path to find regex.c.
4947
880820fe 49481994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4949
2f2c687b
JB
4950 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
4951 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
4952
49531994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4954
4955 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4956 (${archlibdir}): Use mkinstalldirs instead.
4957
4958 * movemail.c: Make functions that return nothing void, not
4959 implicitly int.
4960 (main): Improve usage message.
4961 (error): Write to stderr, not stdout.
4962
4963 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4964 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4965 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4966 variables and implicitly declared functions.
4967
49681994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4969
4970 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4971 (distclean): Not here.
4972
4973 * Makefile.in.in (libexecdir): Renamed from libdir.
4974
880820fe 49751994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4976
4977 * etags.c (C_entries): Name the #define's that are macros.
4978
49791994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4980
4981 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4982 fd_set arg is a pointer, descriptor arg comes first.
4983
880820fe 49841994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4985
4986 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4987 (C_entries): Recognise #define inside a struct.
4988 (C_entries): ANSI tells that preprocessor commands do not have to
4989 start on the first column.
4990 (print_help): Documentation corrected for -d and -D.
4991 (white, endtk): ANSI tells the vertical tab is a separator.
4992
49931994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4994
4995 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4996 (pop.o, movemail.o): New targets.
4997 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4998
4999 * pop.c, pop.h: New files.
5000
5001 * movemail.c: Improve POP code, move most of it into a separate file.
5002 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
5003 (mbx_write): Check for errors and for From line.
5004 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
5005 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
5006 (pop_init): Functions deleted.
5007
50081994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
5009
5010 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
5011 Rename path to dirname.
5012
50131994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5014
5015 * Makefile.in.in (UTILITIES):
5016 Remove test-distrib, make-docfile, make-path.
5017 (DONT_INSTALL): New variable--list those files here.
5018 (clean): Delete the files in DONT_INSTALL.
5019
50201994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5021
5022 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
5023 (main): Use fgets, not gets.
5024
50251994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5026
5027 * timer.c: Don't declare malloc.
5028
50291994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
5030
5031 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
5032 defined, use simple 32-bit versions of these macros.
5033 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
5034
c60ee5e7 50351994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
5036
5037 * etags.c (etags_getcwd): Use getcwd if available.
5038
50391994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5040
5041 * Version 19.27 released.
5042
50431994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5044
5045 * Version 19.26 released.
5046
50471994-08-15 Paul Eggert <eggert@twinsun.com>
5048
5049 * rcs2log: Add support for CVS.
5050 Work with `rlog's that output ISO 8601 dates.
5051
50521994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
5053
5054 * rcs2log: Use <> to delimit email address.
5055
50561994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5057
5058 * emacsserver.c [SYSV_IPC] (main): Make a separate process
5059 so we can listen for multiple requests.
5060
50611994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5062
5063 * movemail.c: Include config.h first thing.
5064
50651994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5066
5067 * emacsserver.c (main): Add casts to avoid warnings.
5068
50691994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5070
5071 * Makefile.in.in (${archlibdir}): Compare the proper dir
5072 before installing the scripts.
5073
50741994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5075
5076 * emacsclient.c (main): New local var progname saves argv[0].
5077
50781994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5079
5080 * emacsclient.c (main): Don't actually modify argv[0].
5081 Modify a copy instead.
5082
50831994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5084
5085 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
5086 (tzp): Var deleted.
5087
5088 * Makefile.in.in: Add #undef alloca.
5089
50901994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5091
5092 * timer.c (xmalloc): New function.
5093
50941994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5095
5096 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
5097 (alloca.o): New target.
5098
50991994-07-08 Dave Love (d.love@dl.ac.uk)
5100
2f2c687b 5101 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 5102
880820fe 51031994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5104
ecc54057
JB
5105 * etags.c (main): Don't barf on obsolete -t and -T switches.
5106 (main): Print an explicative message when a switch is not known.
362bc2da
DL
5107
51081994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5109
5110 * hexl.c: Don't declare exit or perror.
5111
5112 * emacsserver.c (main): Don't declare geteuid.
5113 Don't declare getenv if convex.
5114
51151994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5116
5117 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5118
880820fe 51191994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5120
5121 * etags.c (absolute_filename): Remove infinite loop bug when
5122 accessing files in directories whose name begins with a dot.
5123
880820fe 51241994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5125
5126 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5127
51281994-06-01 Morten Welinder (terra@diku.dk)
5129
5130 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5131 location of data directory.
5132
51331994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5134
5135 * Version 19.25 released.
5136
51371994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5138
5139 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5140
51411994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5142
5143 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5144
51451994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5146
5147 * Version 19.24 released.
5148
51491994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5150
5151 * make-docfile.c (write_c_args): Put `default' in upper case.
5152
51531994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5154
5155 * etags.c (etags_getcwd): Cast result of popen.
5156 (popen): Declaration deleted.
5157
51581994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5159
5160 * etags.c [!MSDOS]: Declare popen.
5161
51621994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5163
5164 * b2m.c (main): Avoid crash if argc is 1.
5165
51661994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5167
5168 * Version 19.23 released.
5169
5170 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
5171
51721994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5173
5174 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
5175
51761994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5177
5178 * Makefile.in.in: Fix out of date comment.
5179
51801994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5181
5182 * Makefile.in.in: Put in a separator for where to start cpp procssing.
5183 Move all autoconf substitutions above that point.
5184 Above that point, use Make-style comments.
5185 This goes with changes in ../configure.in.
5186
51871994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5188
5189 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
5190 warning message.
5191 (${archlibdir}): Don't do it here. Don't depend on blessmail.
5192
51931994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5194
5195 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5196
51971994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5198
5199 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
5200 print advice to run it, if it has anything significant to do.
5201 And only if MOVEMAIL_NEEDS_BLESSING.
5202 (blessmail): Use emacs, not temacs.
5203 (configuration): Renamed from configname.
5204
52051994-04-30 Morten Welinder (terra@diku.dk)
5206
5207 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5208
52091994-04-30 Morten Welinder (terra@diku.dk)
5210
5211 * etags.c [MSDOS]: #include <sys/param.h> for the following.
5212 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
5213 a shell.
5214
52151994-04-29 Morten Welinder (terra@diku.dk)
5216
5217 * hexl.c [MSDOS]: Don't define proto type for exit.
5218
52191994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5220
5221 * b2m.c: Don't include string.h or strings.h.
5222
52231994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
5224
5225 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
5226 symbols, not make variables.
5227
52281994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5229
5230 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
5231 * etags.c (print_version): Print VERSION as a string.
5232
52331994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5234
5235 * fakemail.c (readline): Fix updating of p when buffer grows.
5236
52371994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
5238
5239 * Makefile.in.in (blessmail): New target.
5240 ${archlibdir}: Use blessmail when installing movemail.
5241
52421994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5243
5244 * fakemail.c (readline): When extending the buffer,
5245 calculate end afresh using the new size.
5246
880820fe 52471994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5248
2f2c687b 5249 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 5250
880820fe 52511994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5252
2f2c687b 5253 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
5254
52551994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5256
5257 * Makefile.in.in: Renamed from Makefile.in.
5258 Makefile.in is now generated from it, and then preprocessed.
5259 Change comments to C syntax.
5260 Include config.h.
5261 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
5262 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
5263
52641994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5265
5266 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5267
880820fe 52681994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5269
5270 * etags.c (etags_getcwd): Initialize bufsize.
5271
52721994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5273
5274 * profile.c (gettimeofday): If system doesn't have this, define it
5275 to give a fatal error.
5276
52771994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5278
5279 * movemail.c (main): Use setuid, not seteuid.
5280
52811994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5282
5283 * etags.c: #undef static.
5284
880820fe 52851994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5286
2f2c687b
JB
5287 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
5288 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
5289 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
362bc2da
DL
5290 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5291 TeX_functions, Prolog_functions.
2f2c687b
JB
5292 (inf): No more a global variable.
5293 (C_entries): Take 2nd parameter `inf' instead of using the global one.
5294 (find_entries): Added the cp1 var for optimisation.
5295 (find_entries): Added more suffixes for assembler files.
362bc2da
DL
5296 (Asm_funcs): Now finds labels even without an ending colon.
5297
880820fe 52981994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5299
2f2c687b
JB
5300 * etags.c (main): Use etags_getcwd for compatibility.
5301 (etags_getcwd): New function.
362bc2da
DL
5302
53031994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5304
5305 * Makefile.in (etags, ctags): Pass -D for VERSION.
5306
880820fe 53071994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5308
2f2c687b
JB
5309 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
5310 (main): Don't allow the use of -t and -T in etags mode.
5311 (print_help): Don't show options enabled by default.
5312 (print_version): Show the emacs version number if VERSION is #defined.
5313 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 5314
880820fe 53151994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5316
2f2c687b 5317 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
5318 (relative_filename, absolute_filename, absolute_dirname):
5319 functions added to compute filenames in tags files.
2f2c687b 5320 (process_file): Filenames in tags file are relative to the
362bc2da 5321 directory where the tags file is (useful with the -o option).
2f2c687b
JB
5322 (main): Initialise the outfiledir var.
5323 (TYPEDST): Added the `tignore' value.
5324 (C_entries): Corrected various small bugs.
362bc2da
DL
5325
53261994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5327
5328 * Makefile.in (UTILITIES): `env' deleted.
5329 (env): Target deleted.
5330 * env.c: File deleted.
1c478461 5331
362bc2da
DL
53321994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5333
5334 * Makefile.in (install, ${archlibdir}): Switch back to ..
5335 before running INSTALL_PROGRAM.
5336
880820fe 53371994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5338
2f2c687b
JB
5339 * etags.c (TYPEDST): Added the `tignore' value.
5340 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
5341 `extern "C" {' construction (patch by Tom R.Hageman).
5342
53431994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5344
5345 * b2m.c: Use <...> to include config.h.
5346 Don't include stdlib.h.
5347
177c0ea7 53481994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
5349
5350 * b2m.c (main): Change delimiter from "^L" to "^_^L".
5351 Allow for text following "BABYL OPTIONS:".
5352 Add --help option. Use argv[0] in error messages.
5353
53541994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5355
5356 * emacsclient.c (main) [HAVE_SYSVIPC]:
5357 Make msgp->mtext longer if necessary.
5358 On HPUX, error if it's more than 512 chars.
5359
53601994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
5361
5362 * etags-vmslib.c: Use GPL.
5363 * emacstool.c: Use GPL.
5364 * fakemail.c: Update GPL.
5365
5366 * make-path.c (main): Return 1 on error, not -1.
5367 Update GPL.
5368
5369 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
5370 (xmalloc, xrealloc): Return char *, not int.
5371 (error): Write to stderr, not stdout.
5372 Update GPL.
5373
53741994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5375
5376 * profile.c (main, get_time): Don't crash on invalid input.
5377
53781994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5379
5380 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 5381 (main): Exit on EOF.
362bc2da 5382
880820fe 53831994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5384
a64387ee 5385 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
5386
53871994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5388
5389 * fakemail.c (put_line): Don't break the line if it all fits.
5390
880820fe 53911994-02-14 Francesco Potortì (pot@fly)
362bc2da 5392
2f2c687b
JB
5393 * etags.c (absolute_pathnames, cwd): Added global vars.
5394 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 5395 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 5396 (print_help): Alphabetically order the options.
2f2c687b 5397 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
5398
53991994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5400
5401 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
5402 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
5403
54041994-02-07 Christian Lynbech (lynbech@avignon)
5405
5406 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
5407
54081994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5409
5410 * Makefile.in (UTILITIES): Mention profile.
5411 (profile): New target.
5412
5413 * profile.c: New file.
5414
54151994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 5416
88c71720 5417 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 5418 Lisp docstrings do.
88c71720 5419 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
5420 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5421 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5422
880820fe 54231994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5424
5425 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 5426 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 5427 Use gperf generated hash table instead of linked list.
2f2c687b 5428 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 5429 Mostly code generated by gperf.
2f2c687b
JB
5430 (consider_token): Removed unused parameter `lp'.
5431 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 5432 to span multiple lines.
2f2c687b
JB
5433 (C_entries): Check for newline if inchar to avoid bus errors.
5434 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
5435 and not regular file.
5436
54371994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5438
5439 * timer.c: Include errno.h; don't include fasync.h.
5440 (schedule): Don't return a value.
5441 (sigcatch): Reestablish the handler first.
5442 (getevent): Always call notify at the end.
5443 (notify): Defer alarms around the whole body of function.
5444
54451994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5446
5447 * timer.c (main): Don't request SIGIO, and don't handle it.
5448 Loop calling getevent.
5449 (sigcatch): Delete code to handle SIGIO.
5450 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 5451 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
5452 Set defer_alarms around realloc and schedule.
5453 If alarm_deferred gets set, call notify.
5454 Likewise if this event is the only pending event.
5455 Make buf and buf_size global variables.
5456 Don't malloc buf if it is already non-zero.
5457 (schedule): Just exit if run out of memory.
5458 Return the number of events.
5459 (signal) [_CX_UX]: Add #undef.
5460
54611994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5462
5463 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5464 (main) [USG]: Do ioctl to enable SIGPOLL.
5465
54661994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5467
5468 * timer.c: Don't declare sys_errlist; declare strerror instead.
5469 (schedule, main): Call strerror instead of using sys_errlist.
5470 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
5471 Call strerror instead of using sys_errlist.
5472 * env.c (main): Call strerror instead of using sys_errlist.
5473 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
5474 (main): Call strerror instead of using sys_errlist.
5475 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
5476 * env.c [! HAVE_STRERROR] (strerror): Likewise.
5477 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
5478 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
5479
54801994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5481
5482 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
5483
5484 * movemail.c (malloc): Don't declare it.
5485 (xmalloc): Cast result of malloc.
5486 (strcpy): Don't declare it.
5487
54881993-11-14 Morten Welinder (terra@diku.dk)
5489
5490 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
5491 (main): Use fclose to close file opened by fopen.
5492
5493 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
5494
5495 * movemail.c [MSDOS]: #undef `access'.
5496
5497 * b2m.c (main) [MSDOS]: Open all files as binary.
5498 * etags.c (main) [MSDOS]: Open all files as binary.
5499
5500 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
5501 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
5502 with.
5503
55041994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5505
5506 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
5507 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
5508 (LINK_CFLAGS): New variable.
5509 (timer): Use LINK_CFLAGS.
5510
55111993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5512
5513 * movemail.c: Include syswait.h.
5514 Fork a subprocess and use it to copy the mail file.
5515
55161993-12-07 Richard Stallman (rms@srarc2)
5517
5518 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
5519
55201993-12-04 Richard Stallman (rms@srarc2)
5521
5522 * movemail.c (main): When making tempname, cast result of xmalloc.
5523 Include room for EXXXXXX in the size.
5524 Don't use result of strcpy.
5525
55261993-12-03 Paul Eggert (eggert@twinsun.com)
5527
5528 * vcdiff: Add --brief option.
5529
55301993-12-02 Richard Stallman (rms@srarc2)
5531
5532 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
5533 for all executables and scripts.
5534
55351993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5536
5537 * Version 19.22 released.
5538
55391993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5540
5541 * Makefile.in (mostlyclean): Make it distinct from clean.
5542
55431993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5544
5545 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
5546
55471993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5548
5549 * Version 19.21 released.
5550
5551 * Makefile.in (install): Don't change mode or group when installing.
5552
5553 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
5554
55551993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5556
5557 * make-docfile.c (read_c_string): For "", concatenate the two strings.
5558
5559 * movemail.c (main): Fix error message text.
5560
55611993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5562
5563 * Version 19.20 released.
5564
177c0ea7 55651993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 5566
ecc54057 5567 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
5568 functions returning a pointer to a function, a la `signal', can be
5569 parsed. This also required new state `fstartlist' to `FUNCST'.
5570 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 5571 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 5572 from the other state engines.
2f2c687b 5573 (begtk): Add '~', for C++ class destructors.
362bc2da 5574
880820fe 55751993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5576
2f2c687b
JB
5577 * etags.c (consider_token): Removed unused variable firsttok.
5578 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
5579
55801993-10-19 Paul Eggert (eggert@twinsun.com)
5581
5582 * rcs2log (printlogline): Don't generate lines containing only
5583 white space.
5584
55851993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5586
5587 * Makefile.in (${archlibdir}):
5588 Install ${SCRIPTS} from ${srcdir}, not cwd.
5589
55901993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5591
5592 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5593 the comment character.
5594
880820fe 55951993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5596
2f2c687b 5597 * etags.c (process_file): Dead code removed.
362bc2da 5598 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 5599 (process_file): Regular files have nothing to do with symlinks.
362bc2da 5600
f0131492 56011993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5602
5603 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5604 from current directory. Only chmod and chgrp files that we
5605 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5606 ${bindir}.
5607 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5608 now.
5609
f0131492 56101993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5611
5612 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5613 configure figure out the correct values for these variables.
5614
f0131492 56151993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 5616
10d1d0af 5617 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
5618 used by emacs; don't install bindir binaries here.
5619
56201993-09-24 Paul Eggert (eggert@twinsun.com)
5621
5622 * rcs2log: Add -h, -n, -r options.
5623 By default, look for *,v files as well as RCS/*,v files.
5624 Use $TMPDIR (default /tmp) instead of /tmp.
5625
880820fe 56261993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
5627
5628 * etags.c (C_entries): is_func is initialised here instead of in
5629 consider_token for the sake of the yacc rules section.
5630 (C_entries): Now class, struct, enum, union and typedef produce
5631 named tags.
5632
56331993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5634
5635 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5636
56371993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5638
88c71720
KS
5639 * Makefile.in: Support configuring in a different directory when
5640 ${srcdir} has already been configured.
5641 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5642 -I${srcdir}/../src.
362bc2da
DL
5643 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5644 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5645 is already in CPP_FLAGS.
5646 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5647 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5648
56491993-08-25 Paul Eggert (eggert@twinsun.com)
5650
5651 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5652 otherwise, HP awk complains.
5653
5654 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5655 are common hangouts for SCCS commands.
5656
56571993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5658
5659 * Version 19.19 released.
5660
56611993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5662
5663 * Makefile.in (make-path): Dep on config.h.
5664
56651993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5666
5667 * b2m.c (TRUE, FALSE): Don't define if already defined.
5668
56691993-08-09 Paul Eggert (eggert@twinsun.com)
5670
5671 * rcs2log (awkscript):
5672 Some sites put comma-separated junk after the fullname.
5673 Remove it, but leave "Bill Gates, Jr" alone.
5674 Remove the junk from fullnames like "0000-Admin(0000)".
5675
56761993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5677
5678 * Version 19.18 released.
5679
880820fe 56801993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 5681
2f2c687b
JB
5682 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5683 (L_funcs): The (foo::defmumble stuff now should work.
5684 (consider_token): Function returned random value--corrected.
5685 (C_entries): Corrected == versus = typo.
362bc2da
DL
5686
56871993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5688
5689 * etags.c (put_entries): For NODE->rewritten, put pattern before
5690 \177 and name after, not vice versa.
5691
56921993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5693
5694 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5695
880820fe 56961993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5697
ecc54057 5698 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5699 after the parameter list and before the open curly brace.
5700 Allows correct parsing of C++ constructors.
2f2c687b
JB
5701 (C_entries, consider_token): Make use of fignore.
5702 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 5703 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
5704 (L_isquote): Function that recognises the "(quote" string.
5705 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
5706
57071993-07-29 Paul Eggert (eggert@twinsun.com)
5708
5709 * rcs-checkin: Don't check whether a file is readable until we have
5710 decided not to ignore it.
5711
57121993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5713
5714 * Makefile.in (etags): Depend on ../src/config.h.
5715
5716 * emacsserver.c: Include types.h before file.h.
5717
57181993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5719
5720 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5721
57221993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5723
ecc54057 5724 * Version 19.17 released.
362bc2da
DL
5725
57261993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5727
5728 * etags.c (print_help): Break up the very long strings containing
5729 the help message into shorter strings, to placate chintzy C
5730 compilers which can't handle strings that long.
5731
5732 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5733 correct combination of <time.h> and <sys/time.h>.
5734
880820fe 57351993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5736
2f2c687b
JB
5737 * etags.c (alloca): Removed all references to it.
5738 (main): Now calls xnew instead of alloca for portability.
5739 (../src/config.h): Included only if HAVE_CONFIG_H.
5740 (const): Void definition removed--config.h takes care of it.
362bc2da 5741
880820fe 57421993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5743
2f2c687b 5744 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
5745 (consider_token): DEFUNs now treated like funcs in ctags mode.
5746
2f2c687b
JB
5747 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5748 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5749 (C_entries): Removed a piece of useless code.
5750 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
5751 is met. This handles "typedef int X, Y, Z;" correctly.
5752
57531993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5754
5755 * Version 19.16 released.
5756
5757 * b2m.c: #include <sys/types.h>.
5758 (ltoday): Declare this to be time_t.
5759
57601993-06-30 Paul Eggert (eggert@twinsun.com)
5761
5762 * vcdiff: Add -q option.
5763
57641993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5765
5766 * etags.c: #include "config.h" and the alloca CPP tangle before
5767 #including the system headers and getopt.h. AIX requires the
5768 #pragma to come before any actual C code.
5769
57701993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5771
5772 * Makefile.in (ctags): Depend on etags, so that parallel makes
5773 don't write etags.o files on top of each other.
5774
57751993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5776
5777 * version 19.15 released.
5778
57791993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5780
5781 * etags.c (add_node): Move var last_node to file scope.
5782
57831993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5784
5785 * Version 19.14 released.
5786
57871993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5788
ecc54057 5789 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5790 * Makefile.in (distclean): Call clean to do most of the work.
5791 Delete aixcc.c and TAGS.
5792 (realclean): Just call distclean.
1c478461 5793
362bc2da
DL
5794 * Makefile.in: Remember, spaces are not tabs.
5795
57961993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5797
5798 * Makefile.in (CPP_CFLAGS): New variable.
5799 Use it instead of ALL_CFLAGS when compiling a .c file.
5800 (getopt.o, getopt1.o): Add explicit compilation commands.
5801
58021993-06-10 Mark D. Baushke (mdb@cisco.com)
5803
5804 * etags.c: Reinstate old -f option as an alias for -o for
5805 installed base uses.
5806
58071993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5808
5809 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5810 to bind or accept, cast the pointer, to avoid warnings on systems
5811 which declare prototypes for this.
5812 * emacsclient.c (main): Same.
5813
5814 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5815
58161993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5817
5818 * Version 19.13 released.
5819
5820 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5821 comes from, not sys/time.h.
5822
58231993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5824
5825 * wakeup.c: Include sys/time.h.
5826
5827 * etags.c: #undef static.
5828
5829 * Version 19.12 released.
5830
5831 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5832
58331993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5834
5835 * Version 19.11 released.
5836
5837 * timer.c [LINUX]: #undef signal.
5838 * emacsserver.c: #undef signal.
5839
58401993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5841
5842 * wakeup.c (main): Make when a time_t.
5843
58441993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5845
ecc54057 5846 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 5847 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
5848 might fail, and have pwd print out the current directory.
5849
5850 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5851 string-handling functions.
5852
58531993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5854
5855 * Version 19.10 released.
5856
58571993-05-29 Paul Eggert (eggert@twinsun.com)
5858
5859 * rcs2log: When given no file arguments, inspect RCS/.* as well
5860 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5861
58621993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5863
5864 * Makefile.in (timer): Link with $(LOADLIBES).
5865
58661993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5867
5868 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5869
58701993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5871
5872 * etags.c: Replace the CPP tangle for alloca with the one from the
5873 autoconf documentation, since that's working elsewhere.
5874
58751993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5876
5877 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5878 description files can find their ancestors.
5879
58801993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5881
5882 * Makefile.in (install): Get the scripts from ${srcdir},
5883 unlike the executables.
6088b51f 5884 (ALL_CFLAGS): Add -I../src.
362bc2da
DL
5885
58861993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5887
5888 * Version 19.9 released.
5889
58901993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5891
5892 * Makefile.in (install): Do install the programs listed in
5893 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5894 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5895
5896 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5897 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5898
58991993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5900
5901 * etags.c: Include ../src/config.h.
5902
5903 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5904 in first loop. Delete files from bindir before installing new ones.
5905 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5906
59071993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5908
5909 * Version 19.8 released.
5910
5911 * make-docfile.c: Doc fix.
5912
59131993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5914
5915 * tcp.c: Fix comment syntax at top of file.
5916 (main): Don't call htons with the port number.
5917
59181993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5919
5920 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 5921 appropriate.
362bc2da
DL
5922
5923 * Makefile.in (install): Refer to the variables INSTALLABLES and
5924 INSTALLABLE_SCRIPTS, instead of writing them out.
5925
59261993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5927
5928 * make-path.c (main): Return 0.
5929
59301993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5931
ecc54057 5932 * Version 19.7 released.
362bc2da
DL
5933
59341993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5935
5936 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5937
59381993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5939
5940 * tcp.c: New file.
5941
59421993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5943
5944 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5945
59461993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5947
5948 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5949 only. We should really fix this later, but let's just make it
5950 compile for now.
5951
5952 Install patches from David J. Mackenzie to make the srcdir option
5953 work.
5954 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5955 Makefile.
5956 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5957 INSTALLABLE_SCRIPTS.
5958 (INSTALLABLE_SCRIPTS): New list.
5959 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5960 (${archlibdir}): The scripts to be installed live in the source
5961 tree, not in the object tree.
5962 (test-distrib): Note that the data file lives in the source tree,
5963 not the object tree.
5964 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5965 (all other targets): Change references to source files to use
5966 ${srcdir}, except for config.h, which lives in the object dir.
5967 (timer.o): Note that this depends on ../src/config.h.
5968 * make-docfile.c (main): Add a -d option, to tell it where to find
5969 the source files.
5970 * test-distrib.c (main): Take the name of the distribution file to
5971 test from the command line.
5972
10d1d0af 5973 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
5974
59751993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5976
5977 * etags.c (main):
5978 Don't require that there be input files if -i switches were given.
5979
59801993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5981
5982 The GNU coding standards specify that CFLAGS should be left for
5983 users to set.
5984 * Makefile.in (CFLAGS): Put this in the "things configure might
5985 edit" section, and have it default to -g.
5986 (ALL_CFLAGS): New variable, set to all the flags which should be
5987 passed to compilations. Replace all other uses of CFLAGS with
5988 ALL_CFLAGS.
5989 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5990
5991 * Makefile.in (DEFS): Remove this; it's always just going to be
5992 "-DHAVE_CONFIG_H -Demacs".
5993
59941993-05-03 Paul Eggert (eggert@twinsun.com)
5995
5996 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5997 /[/]/, so change it to /[\/]/. This should work on all
5998 Posix-compliant awks. It's slightly wrong with traditional awk,
5999 since it matches \ too, but that's a minor problem compared to awk
6000 syntax errors.
6001
60021993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6003
6004 * Makefile.in (ALLOCA): New variable, whose value we should
6005 inherit from the top-level makefile.
6006 (etags, ctags): Include ALLOCA in the list of object files that
6007 these executables depend on and link.
6008
60091993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6010
6011 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
6012
60131993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
6014
6015 * make-docfile.c (write_c_args): Print an argument named "defalt"
6016 as "default".
6017
60181993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6019
6020 * Makefile.in (C_SWITCH_SYSTEM): New variable.
6021 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
6022 compiler.
6023
880820fe 60241993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6025
2f2c687b
JB
6026 * etags.c (YACC): Flag added to c_ext.
6027 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
6028 (find_entries): Consistently use streq when reasonable.
6029 (find_entries): A .y file is a yacc file.
362bc2da 6030 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
6031 (C_entries): Logical cplpl means c_ext&C_PLPL.
6032 (C_entries): Logical yacc_rules means we are after the first %%.
6033 (C_entries): Added logic for yacc files.
362bc2da 6034
880820fe 60351993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
6036
6037 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 6038 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
6039 (consider_token): structtag set to null string for enum.
6040
880820fe 60411993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 6042
2f2c687b
JB
6043 * etags.c (GET_COOKIE): And related macros removed.
6044 (logical): Is now int, no more a char.
6045 (reg): Define deleted.
6046 (isgood, _gd, notgd): Deleted.
6047 (gotone): Deleted.
6048 (TOKEN): Member linestart removed.
6049 (linepos, prev_linepos, lb1): Deleted.
6050 (main): Call initbuffer on lbs array instead of lb1.
6051 (init): Removed the initialisation of the logical _gd array;
6052 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
6053 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
6054 All C state machines rewritten.
2f2c687b
JB
6055 (C_entries): Complete rewrite.
6056 (condider_token): Complete rewrite.
6057 (getline): Deleted.
362bc2da 6058
880820fe 60591993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6060
6061 * etags.c (C_entries): Added the quotednl logical variable.
6062 Used for parsing of #define's spanning multiple lines.
6063
880820fe 60641993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6065
6066 * etags.c (C_entries): Save the definedef status even when a
6067 newline is met inside a string.
6068
60691993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
6070
2f2c687b 6071 * Makefile.in (EXECUTABLES): Added rcs-checkin.
362bc2da
DL
6072
6073 * Makefile.in (unlock, relock): New productions.
6074
60751993-03-16 Paul Eggert (eggert@twinsun.com)
6076
6077 * rcs2log: Some awks don't understand "\r". Code around this.
6078 Unfortunately this requires putting a carriage return in the
6079 source code. Don't assume that rlog will tolerate times like
6080 `10:10:60'; RCS 5.7 won't allow this.
6081
60821993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6083
6084 * timer.c (main): Set the ownership of the stdin file descriptor
6085 to the current process. Print error messages if either of the
6086 fcntl's fails.
6087
6088 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
6089 ../src/config.h), not void.
6090
60911993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6092
6093 * b2m.c (main): Don't exit upon reading a blank line.
6094
880820fe 60951993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6096
6097 * etags.c (C_entries): New local variable quotednl. Used for
6098 parsing of #define's spanning multiple lines.
6099
6100 * etags.c (C_entries): Save the definedef status
6101 even when a newline is met inside a string.
6102
61031993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6104
6105 * timer.c (notify): Initialize waitfor properly.
6106
880820fe 61071993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
6108
6109 * etags.c (C_entries): Don't reset definedef when a newline inside a
6110 comment is met.
6111
61121993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6113
6114 * etags.c (find_entries): If filename ends in .f or .for,
6115 don't try anything but Fortran.
6116
61171993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
6118
6119 * timer.c (notify): Flush stdout after writing message to avoid lossage
6120 on terminals.
6121
6122 (notify): Also, write a newline after the token.
6123
61241992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6125
6126 * Makefile.in (exec_prefix): New variable.
6127 (bindir, libdir): Use it instead of `prefix'.
6128
6129 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6130
6131 * Makefile.in (libdir): Default to ${prefix}/lib.
6132 (archlibdir): Adjusted to match.
6133
6134 * Makefile.in (distclean): Don't delete backup or autosave files.
6135 (extraclean): Like realclean, but does delete backup and autosave
6136 files.
6137
6138 * Makefile.in (realclean): Ignore errors from rm.
6139
6140 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
6141 that doesn't exist anymore.
6142
61431992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6144
6145 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
6146 described in the top-level Makefile.
6147 (UTILITIES): Add make-path to the list of utility programs.
6148 (../arch-lib): Replaced by the ${archlibdir} target, which places
6149 the executables in their permanent home.
6150 (install, install.sysv, install.xenix): Consolidated into one
6151 target which should work under all circumstances, modulo a few
6152 ignored error messages.
6153
6154 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
6155 a different number of arguments than other DEFVARs, recognize it
6156 specially, and expect the right number of commas.
6157
61581992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6159
6160 * make-path.c: New program, to help with the installation process.
6161 * Makefile.in (make-path): New target.
6162
6163 * make-path.c (touchy_mkdir): Remove debugging output.
6164
61651992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6166
6167 * Makefile.in (getdate.o): Added explicit target for this, so we
6168 can indicate that it depends on ../src/config.h.
6169
61701992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6171
6172 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
6173 instead of CFLAGS.
6174 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
6175
61761992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6177
6178 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
6179 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
6180 that system.
6181
6182 * Makefile.in (arch-lib): Give rm the `-f' option.
6183
61841992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6185
6186 * make-docfile.c (write_c_args): Rewritten to correctly print
6187 &optionals before the first identifier, but after the first paren.
6188 This code used to just wait for commas or spaces; now it notices
6189 identifier boundaries.
6190
61911992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6192
6193 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
6194
61951992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6196
6197 * make-docfile.c (write_c_args): Print the argument lists properly
6198 when the first argument is optional.
6199
62001992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6201
6202 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
6203 Redefine @item. Set catcode of +.
6204
62051992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6206
6207 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6208
62091992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6210
6211 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
6212 (TEX_decode_env): Make `tab' one element longer.
6213
62141992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6215
6216 * etags.c (PF_funcs): Recognize the "entry" keyword.
6217
62181992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6219
6220 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
6221
62221992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6223
6224 * timer.c (events): Rather than having slots marked as in use or
6225 out of use by the `token' field, keep all pending events at the
6226 beginning of the array. When we delete an event in the middle of
6227 the array, we move the last event into its place.
6228 (num_events): New variable.
6229 (schedule): It is now cheaper to find a free event slot;
6230 events[num_events] is the first free slot.
6231 (notify): Scan events[0 .. num_events-1], instead of the whole
6232 array. When an event fires, move the last event in the array into
6233 its spot. Use num_events to determine whether or not there are
6234 any pending events, not wait_for.
6235 (getevent): Deleted unused variable `ep'.
6236 (sigcatch): It's now easier to find all the active events.
6237 (main): Initialize num_events.
6238
6239 * etags.c: Rather than fret about which systems have index and
6240 which systems have strchr, and how to tell the difference between
6241 them, we just write out our own versions. Big deal.
6242 (index, rindex): Extern declarations removed.
6243 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
6244 (etags_index, etags_rindex): New declarations.
6245 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6246 TEX_getit, substr): Use the etags_*index functions, rather than
6247 the native *index functions.
6248 (rindex, index): Renamed to etags_rindex and tags_rindex, and
6249 made them unconditionally defined, rather than having them depend
6250 on NEED_*INDEX.
6251
6252 * etags.c (savenstr): Add declaration for this at top of file.
6253 (TEX_decode_env): Don't declare it local to this function.
6254
6255 * b2m.c: #include "../src/config.h", so we can test for the USG
6256 macro, and decide whether to include <string.h> or <strings.h>.
6257 * Makefile.in: Note that b2m.c depends on ../src/config.h.
6258
62591992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6260
6261 * timer.c: Reformatted according to the GNU coding standards.
6262 Removed arbitrary limits on the number of events queued and the
6263 length of the tokens used to identify them.
6264 Removed casts to (void).
6265 Removed debugging printfs; they clutter the code, and the need
6266 can be better filled using a real debugger.
6267
62681992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6269
6270 * timer.c: Installed new version from Eric Raymond; this is more
6271 portable, since it doesn't try to use SIGIO.
6272
62731992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6274
6275 * emacsclient.c (main): If we can't find the socket in this
6276 person's home directory, print a message which asks if they've
6277 started the server, instead of just printing the message from
6278 sys_errmsg; Cygnus finds that people are much less confused by
6279 this.
6280
62811992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6282
6283 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
6284 so that index and rindex get defined, why don't we actually
6285 control index and rindex using symbols called "NEED_INDEX" and
6286 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
6287 little more readable than defining something whose name implies
6288 that it's not?
6289
62901992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6291
6292 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
6293 distribution:
6294 Miscellaneous doc fixes.
1c478461 6295 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
6296 (scan_lisp_file): Instead of using long hairy strings of ifs, call
6297 read_lisp_symbol and then see what we got. Call skip_white
6298 instead of writing out a loop to do its job. Correctly extract
6299 docstrings from "defmacro" declarations.
6300
63011992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6302
6303 * movemail.c (strcpy): Declare this to return char *.
6304
63051992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6306
6307 * etags.c (C_entries): When we find a C++ comment, do actually
6308 skip to the end of the line; do a 'break' instead of a 'continue'.
6309
63101992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6311
6312 * etags.c (getit): Add missing parenthesis to expression which
6313 decides if this token is an identifier.
6314
63151992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6316
6317 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6318
63191992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6320
6321 * etags.c (put_entries): Always put space between name and line num.
6322
63231992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
6324
6325 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
6326 warning.
6327 (LEVEL_OK_FOR_FUNCDEF): Ditto.
6328
63291992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6330
6331 * make-docfile.c (write_c_args): Pass both arguments to putc.
6332
63331992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6334
6335 * etags.c (C_entries): Fixed reading of "..." strings.
6336 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6337 the C library source.
6338
6339 * etags.c (C_entries): When we see a backslash inside a quoted
6340 string, skip to the next character. This allows us to correctly
6341 deal with strings containing quotes.
6342
63431992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6344
6345 * make-docfile.c (write_c_args): Print the C argument names as
6346 they would be written in Elisp; print '_' as '-'.
6347
63481992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6349
6350 * movemail.c [POP]: Get user name via getpwuid.
6351
63521992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6353
2f2c687b 6354 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
6355
63561992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6357
10d1d0af 6358 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
6359 strings - end the lines with `\n\'.
6360
63611992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6362
6363 * timer.c (getevent): Removed declaration of memcpy; since
6364 different systems have different return types, and we're not even
6365 using the return type anyway, it wasn't doing us any good.
6366
63671992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6368
6369 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
6370 type of this function.
6371
63721992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6373
6374 * ChangeLog: Since the old etc contents have been split into etc
6375 and lib-src, the old etc's ChangeLog has been duplicated in the
6376 new etc and lib-src. That means that each contains complete and
6377 coherent information, although each contains extraneous
1c478461 6378 information.
362bc2da
DL
6379
63801992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6381
290afd83 6382 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
6383 to be consistent with other GNU programs, like makeinfo.
6384
290afd83 6385 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
6386 will edit this to produce Makefile.
6387
63881992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6389
6390 * etags.c (print_help, print_version): New functions.
6391 (main): Options added to support them.
6392
6393 * etags.c (longopts): New array of long names for the options.
6394 (main): Recognize them.
6395
63961992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6397
6398 * etags.c (C_entries): Removed comment saying that \" in a string
6399 isn't recognized as magic, because it is correctly handled.
6400
6401 * getopt.c, getopt.h: New files, from GNU C library.
6402 * etags.c: Rewritten to use getopt.
6403 #include "getopt.h".
6404 (file_num): Variable deleted; its role is now played by getopt's
6405 optind.
6406 (main): Argument processing loop rewritten to call getopt to get
6407 next option. Options which take parameters (-o and -i) rewritten
6408 to get parameter from optarg instead of argv[1]. Filename
6409 preprocessing loop and update command changed similarly.
6410 * Makefile (etags, ctags): Depend on and link with getopt.h,
6411 getopt.o, and getopt1.o.
6412 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
6413
6414 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
6415 is non-zero.
6416
6417 (main): In the argument processing loop, the 'goto next_arg'
6418 statements are breaking out of the switch statement in exactly the
6419 same way that a simple 'break' statement would; replace the gotos
6420 with breaks, and remove the label.
6421
64221992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6423
6424 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6425 (consider_token): Move next_token_is_func to global.
6426
64271992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6428
6429 * Makefile: Conform with GNU coding standards:
6430 (mostlyclean): New target, synonymous with clean.
6431 (TAGS, check): New targets.
6432 (INSTALL, INSTALLFLAGS): New variables.
6433
64341992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6435
ecc54057 6436 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
6437 `config.emacs' to `configure'.
6438
6439 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6440 * etc/MACHINES: Same.
6441
64421992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6443
6444 * movemail.c (main): Allow tempname to be as long as necessary,
6445 instead of limiting it to 39 characters.
6446
6447 * movemail.c (main): Move declaration of buf from top of function
6448 to local block surrounding the copy loop. This makes it less
6449 likely to be confused with the buf used by the code which checks the
6450 permissions on outname's directory.
6451
64521992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6453
6454 * SERVICE: Remove my entry.
6455
64561992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6457
6458 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6459 hardcoded -g.
6460
6461 * movemail.c (xmalloc): Return char *, not int.
6462 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6463 that is off by default -- normally don't unlink the mail spool
6464 file, just empty it. Pass creat mode 0600, not 0666.
6465
dff28924 64661992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6467
6468 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
6469 (all): Instead of here.
6470 (install): Don't use the -s option, since people need symbols to
6471 debug code.
6472
dff28924 64731992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
6474
6475 * etags-vmslib.c (fn_exp): Add type cast.
6476
64771992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6478
6479 * movemail.c: Changes in comments.
6480
dff28924 64811992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6482
6483 * Makefile: Make the distclean target erase the DOC files from
6484 ../share-lib and the executables from ../arch-lib.
6485
dff28924 64861992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6487
6488 * emacsclient.c: #include <sys/stat.h>
6489 (main): Do declare statbfr.
6490
dff28924 64911991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6492
6493 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
6494 for the socket, depending on SERVER_HOME_DIR.
6495 If using /tmp, put host name in the socket name.
6496
6497 * movemail.c (pfatal_and_delete): New function.
6498 (main, popmail): Use it.
6499 (popmail): Close output before deleting messages.
6500 Check for error on close and on fsync.
6501 Use `fatal' where appropriate.
6502 (main): Remove (void).
6503
6504 * aixcc.lex: New file. Not officially part of Emacs.
6505 * Makefile: Rules for that.
6506
dff28924 65071991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
6508
6509 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
6510
6511 * etags.c (main): Properly cast call to alloca that initializes
6512 included_files.
6513
65141991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6515
6516 * etags.c (files_are_tag_tables): Remove global var.
6517 (process_file): Don't test it. Also remove hack checking for a
6518 file named "TAGS".
6519 (main): -i now takes an arg which is the name of a file to include.
6520 Collect these names and emit include tags for them after processing
6521 all the argument files.
6522
dff28924 65231991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6524
6525 * wakeup.c: Terminate if parent goes away.
6526
dff28924 65271991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6528
6529 * etags.c (C_entries): Process token before handling end of line.
6530 When inner loops reach end of line, just back up.
6531 Let the real end of line processing happen in just one place.
a64387ee 6532 (consider_token): Likewise.
362bc2da 6533
dff28924 65341991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
6535
6536 * etags.c (TEX_mode): Skip comments while scanning the text to see
6537 which escape character this file uses.
6538
dff28924 65391991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6540
6541 * emacsserver.c [USG]: Terminate if msgrcv fails.
6542
dff28924 65431991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6544
6545 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
6546
dff28924 65471991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6548
6549 * make-docfile: Find the arguments to a C function correctly,
6550 by not ignoring the character that read_c_string returns. Don't
6551 even try to find argument names for functions that take MANY
6552 or UNEVALLED arguments, since they're a figment of the docstring's
6553 imagination.
6554
dff28924 65551991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6556
6557 * make-docfile: Read the .elc files generated by the new byte
6558 compiler.
6559
dff28924 65601990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6561
6562 * refcard.tex: Use cm fonts, not am, in multi-column mode.
6563
dff28924 65641990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6565
6566 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
6567
dff28924 65681990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6569
6570 * Makefile (install*): No need to install wakeup.
6571
dff28924 65721990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6573
6574 * Makefile (install*): Install emacsclient like etags.
6575
dff28924 65761990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6577
6578 * movemail.c (error): Handle 3 args.
6579 (main): Don't check input access if using pop.
6580
dff28924 65811990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6582
6583 * etags.c (find_entries): Check for numbers after Scheme suffix.
6584
dff28924 65851990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6586
6587 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6588
dff28924 65891990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6590
6591 * Makefile (nemacstool, xvetool): New targets.
6592
dff28924 65931990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6594
6595 * emacsclient.c: Include errno.h and define related variables.
6596
dff28924 65971990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6598
6599 * emacsclient.c: Change usage message.
6600
dff28924 66011990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 6602
ecc54057 6603 * emacs.1: Add break before -nw option.
362bc2da 6604
dff28924 66051990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6606
6607 * qsort.c: Replace with GNU version.
6608
dff28924 66091990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6610
6611 * wakeup.c: New program replacing loadst.c.
6612
dff28924 66131990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6614
6615 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6616
dff28924 66171990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
6618
6619 * etags.c: Rename `flag' variables for what they do instead of
6620 which option character sets them.
6621
dff28924 66221990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6623
6624 * loadst.c (main): Conditional to get load average on Apollo.
6625
dff28924 66261990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
6627
6628 * emacsserver.c: Set the permission on the socket to 0600.
6629
dff28924 66301990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6631
6632 * emacsclient.c [BSD]: Print clean message for failing getwd.
6633
dff28924 66341990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6635
6636 * getdate.y: Use the getdate.y from GNU tar for timer.
6637
dff28924 66381990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
6639
6640 * emacsclient.c (main): Don't put brackets around "filename" in
6641 usage message. It isn't optional.
6642
dff28924 66431990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 6644
a64387ee 6645 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 6646
dff28924 66471990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6648
6649 * emacsserver.c: Renamed from server.c.
6650 * Makefile: Reference emacsserver rather than server.
6651 * MACHINES: Doc fix for new emacsserver name.
6652
dff28924 66531990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6654
6655 * emacsclient.c: Print program name in error messages.
6656
dff28924 66571990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
6658
6659 * timer.c, getdate.y (new files) and Makefile:
6660 Sub-process support for run-at-time in timer.el.
1c478461 6661 Doesn't yet work correctly for USG.
362bc2da 6662
dff28924 66631990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
6664
6665 * MACHINES: Add HP 300 running BSD.
6666
dff28924 66671990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6668
6669 * yow.c: Dynamically allocate buffer; skip header before random
6670 choice to avoid bias toward first item.
6671
dff28924 66721989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6673
6674 * etags.c (readline): Separate out init of `pend'.
6675
dff28924 66761989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6677
6678 * etags.c: Undo changes relating to isgoodhdr.
6679
dff28924 66801989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6681
6682 * etags.c (isgoodhdr): New macro.
6683 (_gdh, notgdh): New variable used by that.
6684 (init): Initialize _gdh.
6685 (find_entries): Set header_file.
6686 (consider_token): Use isgoodhdr if in header file.
6687
6688 * etags.c (total_size_of_entries):
6689 Was miscalculating by 1 in rewritten case.
6690
6691 * etags.c (PAS_funcs): One arg to pfnote was missing.
6692
dff28924 66931989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6694
6695 * MACHINES: Change for the ULTRIX entry.
6696
dff28924 66971989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6698
6699 * etags.c (process_file): If file is not regular, return.
6700
dff28924 67011989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6702
6703 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6704
dff28924 67051989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6706
6707 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6708 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6709
dff28924 67101989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6711
6712 * etags.c (consider_token): Allow any number of typespec keywords
6713 after `typedef', before new type name.
6714 (enum sym_type): Add st_C_typespec.
6715 (C_create_stab): Put typespec kwds in table.
6716
dff28924 67171989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6718
6719 * etags.c (main): Don't depend on name invoked by.
6720 If CTAGS is not defined, assume it is ETAGS.
6721
dff28924 67221989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6723
6724 * etags.c (L_funcs): Allow package name in define construct,
6725 as in (foo::defmumble name-defined ...).
6726
dff28924 67271989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6728
6729 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6730
6731 * Makefile (yow): Depends on ../src/paths.h.
6732
dff28924 67331989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6734
6735 * etags.c: Fix compilation by moving Pascal after Fortran.
6736
dff28924 67371989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6738
6739 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6740
dff28924 67411989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6742
6743 * hexl.c: New file, supports hexl-mode.
6744
dff28924 67451989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6746
6747 * movemail.c: New compilation flag MAIL_USE_MMDF.
6748
dff28924 67491989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6750
6751 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6752 * server.c: Likewise.
6753
6754 * make-docfile.c (scan_c_file): Output argument names at end of string.
6755 (write_c_args): New subroutine.
6756
dff28924 67571989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6758
6759 * movemail.c: Report failure of flock.
6760
dff28924 67611989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6762
6763 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6764
dff28924 67651989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6766
2f2c687b 6767 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 6768
dff28924 67691989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6770
6771 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6772
30a7ee9f 6773 * emacstool.1: Update to document environment variables.
362bc2da 6774
dff28924 67751989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6776
6777 * etags.c (PAS_funcs): New function by Mosur Mohan.
6778
6779 * movemail.c: On sysv, include unistd.h.
6780
dff28924 67811989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6782
6783 * b2m.c: New file.
6784
dff28924 67851989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6786
6088b51f 6787 * etags.c: Prolog support from Sunichirou Sugou.
362bc2da 6788
dff28924 67891989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6790
6791 * Makefile (clean): New target.
6792
dff28924 67931989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6794
6795 * fakemail.c (put_line): Break header lines at 79 cols.
6796
dff28924 67971989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6798
6799 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6800 multiple tags per line.
6801
dff28924 68021989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6803
6804 * movemail.c: Check access before doing real work.
6805 Check that outfile is in a writable directory.
6806 On fatal error, delete the lock file.
6807
dff28924 68081988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6809
ecc54057 6810 * env.c: Add decl for my-index
6088b51f 6811 * etags.c (file-entries): .oak => scheme.
362bc2da 6812
dff28924 68131988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6814
6815 * movemail.c: Use `access' to check input and output files.
6816
dff28924 68171988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6818
6819 * emacsclient.c (main): Ignore all of CWD before first slash.
6820
dff28924 68211988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6822
6823 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6824
dff28924 68251988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6826
6827 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6828 * server.c: chmod the socket to 0700.
6829
dff28924 68301988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6831
6832 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6833 (add_field): Delete comments and turn `<', `>' to spaces
6834 in header lines.
6835 (USE_FAKEMAIL): New customization macro says to make fakemail
6836 not be a no-op even on a BSD system.
6837
dff28924 68381988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6839
6840 * etags.c (consider_token): Skip comments just like whitespace.
6841 Notice `struct', etc. and set strtag for those tokens.
6842 Return 1 for the token following `struct' if an open-brace follows it.
6843 (C_entries): Special handling of token following `struct'
6844 needed because we have probably advanced to the following line
6845 to find the `{'.
6846 (main): New option `T' sets tflag and strflag.
6847 Set both of them by default if eflags.
6848
dff28924 68491988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6850
6851 * movemail.c: Do fsync before closing output.
6852
dff28924 68531988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 6854
ecc54057
JB
6855 * movemail.c: Better error message when can't create tempname.
6856 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 6857
dff28924 68581988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6859
6860 * etags.c: Support assembler code for .s and .a files.
6861 (getit): Allow underscore in a tag.
6862
dff28924 68631988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6864
6865 * movemail.c: Close output and check errors before deleting input.
6866
dff28924 68671988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6868
6869 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6870 whether to prefix it. Handle line number args.
6871
dff28924 68721988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 6873
2f2c687b 6874 * etags.c (main): Default setting of eflag was backwards.
362bc2da 6875
dff28924 68761988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6877
6878 * etags.c: New option -i. -f renamed -o.
6879 `-' as input file means read input file names from stdin.
6880 -i spec'd or input file named TAGS means the input file is another
6881 tag table; output an "include" line for it.
6882
dff28924 68831988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6884
6885 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6886 New targets install, install.sysv, install.xenix.
6887 This makefile is now responsible for installing executables
6888 and documentation from this directory into system directories.
6889
dff28924 68901988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
6891
6892 * server.c, emacsclient.c (main): Compute socket name from euid.
6893
dff28924 68941988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6895
6896 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6897
dff28924 68981988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6899
6900 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6901 * emacsclient.c: Likewise.
6902 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6903
dff28924 69041988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6905
6906 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 6907 (istoken): New string-comparison macro.
362bc2da
DL
6908 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6909
dff28924 69101988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6911
6912 * etags.c: Changes for VMS.
6913 Always define ETAGS on VMS.
6914 Define macros GOOD and BAD for success and failure exit codes.
6915 (begtk, intk): Allow `$' in identifiers
6916 (main): Don't support -B, -F or -u on VMS.
6917 Alternate loop for scanning filename arguments.
6918 (system): Delete definition of this function.
6919
6920 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6921
dff28924 69221988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6923
6924 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6925 around include of param.h. (Like fns.c.)
6926
dff28924 69271988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6928
6929 * loadst.c (load_average): Move load-average code to this new fn.
6930 Add conditionals to compute load ave on UMAX.
6931
dff28924 69321988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6933
6934 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6935 with opposite sense.
6936
dff28924 69371988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
6938
6939 * emacsclient.c: Delete references to unused variable `out'. This
6940 caused a bus error when used under hp-ux.
6941
dff28924 69421988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6943
6944 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6945
dff28924 69461988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
6947
6948 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6949
dff28924 69501988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6951
6952 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6953
dff28924 69541988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6955
6956 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 6957 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 6958
dff28924 69591988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6960
6961 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6962 invalid escape sequences such as `\{'.
6963
6964 * loadst.c: Add `sequent' conditional for file dk.h.
6965
dff28924 69661988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 6967
2f2c687b 6968 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 6969
2f2c687b 6970 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
6971
6972;; Local Variables:
880820fe 6973;; coding: utf-8
33462dfa 6974;; add-log-time-zone-rule: t
6922b018 6975;; End:
2a34a036 6976
9766d41b 6977 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
294981c7 6978 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
114f9c96 6979 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
5b87ad55
GM
6980
6981 This file is part of GNU Emacs.
6982
294981c7 6983 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 6984 it under the terms of the GNU General Public License as published by
294981c7
GM
6985 the Free Software Foundation, either version 3 of the License, or
6986 (at your option) any later version.
5b87ad55
GM
6987
6988 GNU Emacs is distributed in the hope that it will be useful,
6989 but WITHOUT ANY WARRANTY; without even the implied warranty of
6990 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6991 GNU General Public License for more details.
6992
6993 You should have received a copy of the GNU General Public License
294981c7 6994 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
ab5796a9
MB
6995
6996;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc