* server.el (server-buffer-done): Prevent kill-buffer from
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
f5f20f6c
DN
12009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
4
70243478
CY
52009-06-21 Chong Yidong <cyd@stupidchicken.com>
6
7 * Branch for 23.1.
8
fa44da6e
AR
92006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
10
11 * mac-fix-env.m:
12 * Makefile.in (mac-fix-env): Remove.
13
a7f2b0b1
AR
142006-06-06 David Reitter <david.reitter@gmail.com>
15
16 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
17
9dfda22f
JB
182009-04-20 Juanma Barranquero <lekktu@gmail.com>
19
20 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
21 spacing is required in the message output, as the comment suggests).
22
24d5010d
CY
232009-04-20 Chong Yidong <cyd@stupidchicken.com>
24
25 * emacsclient.c (print_help_and_exit): Clarify argument placement
26 for short option names.
27
6133a1a9
DN
282009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
29
30 * emacsclient.c (print_help_and_exit): Fix typo.
31
22749e9a
EZ
322009-03-21 Eli Zaretskii <eliz@gnu.org>
33
34 * ntlib.c (setuid): Argument is now unsigned.
35 (getuid): Return value is now unsigned.
36 (getpwuid): Argument is now unsigned.
37 (fchown): UID and GID arguments are now unsigned.
38
39 * ntlib.h (fchown): UID and GID arguments are now unsigned.
40 (getuid): Return value is now unsigned.
41 (setuid): Argument is now unsigned.
42 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
43
b57ac69d 442009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
45
46 * emacsclient.c (main): Revert part of last change, so
47 drive-relative file names again work on Windows.
48
ba528748
SM
492009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
50
51 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
52 names without prepending cwd to them, so Emacs uses its customary
53 rules to determine how to interpret the file name.
54
f213f2c0
GM
552009-03-04 Glenn Morris <rgm@gnu.org>
56
57 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
58
8ee7d7be
CY
592009-02-13 Sven Joachim <svenjoac@gmx.de>
60
61 * movemail.c: Include time.h unconditionally.
62 (main): Use time_t for time variables.
63
d228a23c
GM
642009-02-11 Glenn Morris <rgm@gnu.org>
65
66 * movemail.c (mbx_delimit_begin): Also write the current time.
67
3f32be22
GM
682009-02-10 Glenn Morris <rgm@gnu.org>
69
70 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
71 than Babyl format. (Bug#2196)
72
e7534fc4
AR
732009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
74
75 * emacsclient.c (decode_options): Use a dummy display name under
76 NS/Cocoa.
77
9eb67dd9
CY
782009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
79
80 * ebrowse.c (matching_regexp): Fix OB1 error.
81
b433a991
GM
822009-01-05 Glenn Morris <rgm@gnu.org>
83
84 * ebrowse.c (version):
85 * etags.c (print_version):
86 * rcs2log (Copyright): Update copyright for 2009.
87
81f82586
CY
882009-01-01 Chong Yidong <cyd@stupidchicken.com>
89
90 * movemail.c (main): Fatal if hard links cannot be created.
91
fd95644b
DN
922008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
93
94 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
95 checking.
96
67c1df01
DN
972008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
98
99 * emacsclient.c: Include syswait.h instead of sys/types.h.
100
f0131492 1012008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 102
d4835507
JB
103 * emacsclient.c (WCONTINUED): New compatibility define
104 for older systems.
5445ab06 105
d50299d5
DN
1062008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
107
108 * emacsclient.c (main): Fix previous change.
109
52016647
JB
1102008-12-10 Juanma Barranquero <lekktu@gmail.com>
111
112 * emacsclient.c (main): Fix mindless breakage where emacsclient
113 does not work *at all* on Windows, even if it *can* connect.
114
802bdb3c
DN
1152008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
116
117 * emacsclient.c (EMACS_DAEMON): Remove definition.
118 (decode_options): Do not allow an empty alternate_editor on
119 WINDOWSNT.
120 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
121 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 122 (main): Fail in case of not being able to connect.
802bdb3c 123
c3f995a2
JB
1242008-12-10 Juanma Barranquero <lekktu@gmail.com>
125
126 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
127 Changes when EMACS_DAEMON is not defined:
128 (print_help_and_exit): Don't add daemon information to help.
129 (start_daemon_and_retry_set_socket): Make a no-op.
130 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
131
636b507b
DN
1322008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
133
134 * emacsclient.c (print_help_and_exit): Describe what an empty
135 string argument does for --alternate-editor.
136 (set_socket): Make it possible to not exit in case of an error.
137 (start_daemon_and_retry_set_socket): New function.
138 (main): Use it. Restore the NULL value for socket_name and
139 server_file after the set_socket call.
140
448d4085
DN
1412008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
142
7b641241 143 * emacsclient.c: Include <arpa/inet.h>.
448d4085 144
938ebc4f
DN
1452008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
146
147 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
148
3d864325
GM
1492008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
150
151 * etags.c (add_regex): Pass correct length to re_compile_pattern.
152
48c2dc68
CY
1532008-11-02 Chong Yidong <cyd@stupidchicken.com>
154
155 * emacsclient.c (window_system): Delete redundant variable.
156 (decode_options): Don't use it.
157 (find_tty): New function.
158 (main): Use find_tty, and don't use window_system.
159
d41784ee
EZ
1602008-11-01 Eli Zaretskii <eliz@gnu.org>
161
162 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
163 `ttyname'.
164 (w32_getenv): Treat $TERM specially: if not found in the
165 environment and in the Registry, return "w32console".
166 (ttyname) [WINDOWSNT]: New function.
167
322ca650
AS
1682008-10-31 Andreas Schwab <schwab@suse.de>
169
170 * emacsclient.c (main): Don't force sending tty when in eval mode.
171
8a8a7cd3
CY
1722008-10-30 Chong Yidong <cyd@stupidchicken.com>
173
174 * emacsclient.c (main): If using the current frame, send tty
175 information to Emacs in case daemon mode needs to occupy this tty.
176
f8baa639
JB
1772008-10-29 Juanma Barranquero <lekktu@gmail.com>
178
bc558f3e
JB
179 * emacsclient.c (EXTRA_SPACE): New macro.
180 (get_server_config, set_local_socket): Use it.
181
f8baa639
JB
182 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
183 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
184
f77b11a0
JB
1852008-10-29 Ulrich Mueller <ulm@gentoo.org>
186
187 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
188 instead of hardcoded /tmp.
189
dc1cd5f7
DN
1902008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
191
192 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
193 (decode_options): Use getopt_long_only.
194
7a09249b
EZ
1952008-09-30 Eli Zaretskii <eliz@gnu.org>
196
197 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
198 codepage.elc.
199
997ec957
CY
2002008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
201
202 * emacsclient.c (main): Use stdout rather than stdin to obtain the
203 terminal (bug#427).
204
0d80bf29
FP
2052008-08-25 Francesco Potortì <pot@gnu.org>
206
207 * etags.c (main): Do not use static space for the tagfile string.
208
34a23e94
FP
2092008-08-17 Francesco Potortì <pot@gnu.org>
210
211 * etags.c (main): Use canonicalize_filename on tags file name.
212 (relative_filename): Revert 3.85: do not collapse slashes here.
213 (absolute_dirname): Remove useless call to canonicalize_filename.
214 (canonicalize_filename): Collapse multiple slashes here.
215
48fad8e8
DN
2162008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
217
10d1d0af
JB
218 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
219 Do not special case for NS_IMPL_COCOA.
48fad8e8 220
f4494e84
AR
2212008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
222
223 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
224 (.m.o): Dispense with GNUstep-specific flags.
225
39b8bb9b
CY
2262008-08-05 Ulrich Mueller <ulm@gentoo.org>
227
228 * pop.c (socket_connection): Add conditionals for
229 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
230 compilation with MIT Kerberos and Heimdal, respectively.
231
7c2fb837
DN
2322008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
233
234 * etags.c:
235 * emacsclient.c: Remove VMS support.
236
9e2a2647
DN
2372008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
238
239 Remove support for Mac Carbon.
240 * makefile.w32-in:
241 * emacsclient.c: Remove code for Carbon.
242
7f619bab
DN
2432008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
244
245 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
246
32cc3925
AS
2472008-07-17 Andreas Schwab <schwab@suse.de>
248
249 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
250 (LIB_STANDARD_LIBSRC): Don't define.
251 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
252
ba60bd44 2532008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
254
255 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
256 NS_IMPL_COCOA.
257
50863f58
DN
2582008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
259
ba60bd44
JB
260 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
261 Remove, unused.
50863f58 262
ba60bd44 2632008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
264
265 * .cvsignore: Add mac-fix-env.
266 * mac-fix-env.m: New file, automatically update
267 ~/.MacOSX/environment.plist on OS X systems to expose environment
268 variables inside Emacs started from icon.
269 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
270 programs to build.
271 * make-docfile.c: Add .m to list of file extensions.
272
bba104c1
DN
2732008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
274
275 * movemail.c (main): Use int instead of WAITTYPE.
276
da007124
JB
2772008-07-05 Juanma Barranquero <lekktu@gmail.com>
278
279 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
280 Remove vmsproc.el and vms-patch.el.
281
c9fc02c7
JB
2822008-06-26 Juanma Barranquero <lekktu@gmail.com>
283
284 * makefile.w32-in (obj): Remove w32bdf.o.
285
f2a77c3a
DN
2862008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
287
288 * fakemail.c: Remove references to obsolete variables.
289
c2cd06e6
JM
2902008-06-02 Jim Meyering <meyering@redhat.com>
291
e914c409 292 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 293
e914c409 294 Remove useless if-before-free tests.
70fdbb46
JM
295 * ebrowse.c (xfree): Likewise.
296 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 297 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 298 * pop.c (pop_quit): Likewise.
c2cd06e6 299
01b996ad
JB
3002008-05-30 Juanma Barranquero <lekktu@gmail.com>
301
302 * makefile.w32-in (lisp2): Add minibuffer.elc.
303
2926947a
SM
3042008-05-29 Tom Tromey <tromey@redhat.com>
305
306 * etags.c (relative_filename): Treat "///" like "/" in filenames.
307
10fea9c4
EZ
3082008-05-09 Eli Zaretskii <eliz@gnu.org>
309
310 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
311 (IS_DIRECTORY_SEP): New macro.
312 (convert_time, is_exec, stat): New functions.
313
86914123
EZ
3142008-05-08 Eli Zaretskii <eliz@gnu.org>
315
316 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
317
58bb7d50
EZ
3182008-05-03 Eli Zaretskii <eliz@gnu.org>
319
320 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
321 corresponding change in src/Makefile.in.
322
63b9b605
GM
3232008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
324
325 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
326
4429f88c
JR
3272008-04-10 Jason Rumney <jasonr@gnu.org>
328
329 * makefile.w32-in (CLIENTRES): New variable and target.
330 (TRES): Remove.
331 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
332
14b11401
SM
3332008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
334
335 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
336
95de358c
RF
3372008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
338
339 * vcdiff: Use mktemp (CVE-2008-1694).
340
6948400c
JR
3412008-04-09 Jason Rumney <jasonr@gnu.org>
342
343 * makefile.w32-in (distclean, maintainer-clean): New targets.
344
afd27920
GM
3452008-03-13 Glenn Morris <rgm@gnu.org>
346
347 * makefile.w32-in (VERSION): Set to 23.0.60.
348
3d193d0f
JB
3492008-03-04 Juanma Barranquero <lekktu@gmail.com>
350
351 * .cvsignore: Add oo.
352
1797886f
SM
3532008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
354
355 * etags.c (Perl_functions): Fix call to skip_spaces.
356
9d2818d6
DN
3572008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
358
359 * Makefile.in (NO_SHORTNAMES):
360 * emacsclient.c (NO_SHORTNAMES):
361 * fakemail.c (NO_SHORTNAMES):
362 * make-docfile.c (NO_SHORTNAMES):
363 * movemail.c (NO_SHORTNAMES):
364 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
365
79d48c1a
JR
3662008-02-23 Jason Rumney <jasonr@gnu.org>
367
368 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
369 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 370 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
371 (lisp2): Add new languages.
372 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
373
9c61c734
JB
3742008-02-22 Juanma Barranquero <lekktu@gmail.com>
375
376 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
377 malayalam.el, and tamil.el. Add sinhala.el.
378
50f271cb
JB
3792008-02-20 Juanma Barranquero <lekktu@gmail.com>
380
381 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
382 where NAME is relative to DRIVE'S current directory.
383
d07529f3
JB
3842008-02-15 Juanma Barranquero <lekktu@gmail.com>
385
386 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
387
45c1955d
DN
3882008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
389
390 * fakemail.c: Undo previous change.
391
deeaffe1
DN
3922008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
393
4624371d
DN
394 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
395 (main): Replace MAIL_PROGRAM_NAME with its value.
396
d07529f3 397 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 398
9997dc15
SM
3992008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * emacsclient.c (decode_options): Pass --display implicitly if -c
402 is specified. Only set tty if -t or -c is specified.
403
0c55bf82
JR
4042008-02-04 Jason Rumney <jasonr@gnu.org>
405
406 * makefile.w32-in (lisp1): Use (), not {}.
407
31cdf671
CY
4082008-02-04 Tom Tromey <tromey@redhat.com>
409
d07529f3
JB
410 * etags.c: Add "GTY" as synonym for __attribute__.
411 Update gperf output.
31cdf671 412
9303f985 4132008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2
MB
414
415 * makefile.w32-in (obj): Sync with src/Makefile.in
416 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
417 (WINNT_SUPPORT): Add term/w32-win.elc.
418 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
419
9303f985 4202008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 421
d07529f3 422 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 423
d07529f3 4242008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 425
290afd83 426 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
427 utf-8.elc, and latin-*.el.
428
0ea5797a
SM
4292008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
430
bcc891c2 431 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
432 Allow the -d option under w32 again, for those rare cases where it
433 actually does make sense.
434
5ab73228
JB
4352008-01-25 Juanma Barranquero <lekktu@gmail.com>
436
437 * emacsclient.c (set_tcp_socket): Don't send "\n" after
438 the authentication string; there's no need to haste.
439
702123a8
CY
4402008-01-22 Chong Yidong <cyd@stupidchicken.com>
441
442 * pop.c (pop_stat, pop_last): Fix last fix.
443
76ed5e01
DN
4442008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
445
446 * movemail.c: Remove references to XENIX.
447
e39a993c
DN
4482008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
449
450 * movemail.c:
451 * make-docfile.c: Remove reference to symbols defined by systems
452 not supported anymore: MAC_OS8, XENIX and STRIDE.
453
0ebec7d3
EZ
4542008-01-12 Eli Zaretskii <eliz@gnu.org>
455
456 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
457 of DISPLAY in the environment. Don't support -d.
458 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
459 (longopts) [WINDOWSNT]: Remove --display.
460
6eae3ad4
CY
4612008-01-10 Chong Yidong <cyd@stupidchicken.com>
462
463 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
464 conversion. Mistakes spotted by Nico Golde.
465
78da39c6
GM
4662008-01-09 Glenn Morris <rgm@gnu.org>
467
468 * emacsclient.c: Add missing final newlines to message calls.
469
34a14ec9 4702008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
471
472 * emacsclient.c (set_socket): Add final newline to socket error message.
473
a408ea17
GM
4742008-01-04 Glenn Morris <rgm@gnu.org>
475
07655e62
JB
476 * ebrowse.c (version) <emacs_copyright>: New variable.
477 Just use current year for copyright.
a408ea17
GM
478
479 * etags.c (print_version):
480 * rcs2log (Copyright): Update to 2008.
481
0dc7a8bc
JR
4822007-11-28 Jason Rumney <jasonr@gnu.org>
483
484 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
485
880820fe 4862007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
487
488 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
489
880820fe 4902007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
491
492 * pop.c (socket_connection): Move realhost out of #ifdefs.
493 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
494
880820fe 4952007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
496
497 * pop.c (socket_connection): Use getaddrinfo if available.
498
880820fe 4992007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 500
65841dd8 501 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 502 as the defaults in ctags are different from etags.
63f018cd 503
880820fe 5042007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
505
506 * etags.c: Make prototypes for extern definitions, and add all
507 that are needed to quench warnings on 64-bit.
508 (main): Use the same defaults for ctags as for etags: find
509 typedefs, structure tags, macro constants, enum constants, struct
510 members and global variables.
511 (make_C_tag) [DEBUG]: Add debugging printout.
512 (C_entries): In case '}' decrement bracelev before testing it.
513
7455effc
FP
5142007-11-15 Masatake YAMATO <jet@gyve.org>
515
516 * etags.c (C_entries): In case '}', set fvdef to fvnone
517 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
518
04a697fe
DN
5192007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
520
521 * makefile.w32-in (obj): Remove sunfns.o.
522
a2666217
JB
5232007-10-28 Juanma Barranquero <lekktu@gmail.com>
524
525 * makefile.w32-in (obj): Remove abbrev.o.
526
7ce8671d
JB
5272007-10-26 Juanma Barranquero <lekktu@gmail.com>
528
529 * emacsclient.c: Add a wrapper for getenv so it also checks the
530 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
531 Code partially based on w32_get_resource and init_environment (w32.c).
532 (egetenv): New wrapper for getenv.
533 (get_current_dir_name, decode_options, get_server_config)
534 (set_local_socket, set_socket, main): Use egetenv, not getenv.
535 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
536
d22b00e5
JR
5372007-10-25 Jason Rumney <jasonr@gnu.org>
538
539 * emacsclient.c (sock_err_message): New function.
540 (set_tcp_socket): Use it.
541
c4b858e3
JB
5422007-10-09 Juanma Barranquero <lekktu@gmail.com>
543
544 * emacsclient.c (print_help_and_exit): Fix space to improve
545 alignment in output messages.
546
dbf60b07
JR
5472007-09-27 Jason Rumney <jasonr@gnu.org>
548
549 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
550
551 * emacsclient.c (w32_window_app): Init common controls when windowed.
552
165e85b2
GM
5532007-09-21 Glenn Morris <rgm@gnu.org>
554
555 * emacstool.c: Remove file.
556 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
557 Delete targets built from emacstool.
558
c1b8e896
SM
5592007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * emacsclient.c (decode_options): -t implies -c.
562
cb06b8dc
SM
5632007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
564
565 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
566 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
567 (main_argc): Remove.
568 (strprefix): Use strncmp.
569
c801ad51
JR
5702007-09-20 Jason Rumney <jasonr@gnu.org>
571
572 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
573
31fa6595
SM
5742007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * emacsclient.c (current_frame): Change the default.
577 (longopts): Replace --current-frame by --create-frame.
578 (decode_options): Reverse the meaning of -c.
579 (print_help_and_exit): Update help text accordingly.
580 (main): Remove the -version and -good-version messages.
581
58573230
GM
5822007-09-12 Glenn Morris <rgm@gnu.org>
583
584 * Makefile.in (SOURCES, unlock, relock): Delete.
585
bfd9ce71
GM
5862007-08-29 Glenn Morris <rgm@gnu.org>
587
588 * makefile.w32-in (VERSION): Increase to 23.0.50.
589
8d9cc0b7
MB
5902007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
591
592 * emacsclient.c (w32_execvp): Move definition before use.
593 (decode_options): Don't use a tty on mac carbon or windows.
594
5952007-08-29 Jason Rumney <jasonr@gnu.org>
596
31fa6595 597 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
598 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
599 (main): Expand removed macros inline.
600 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
601 option.
602 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
603
880820fe 6042007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
605
606 * emacsclient.c (signal.h): New include.
607 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
608 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
609 Copy definitions here from src/lisp.h.
610 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
611 (longopts): Add tty, current-frame.
612 (xmalloc, xstrdup): New functions.
613 (get_current_dir_name): New function, copied from src/sysdep.c.
614 (decode_options): Set display from environment. Add tty and
615 current_frame options. Make --no-wait imply --current-frame,
616 except when it is the only option given. Make sure no frame is
617 opened when --current-frame is set.
618 (print_help_and_exit): Document tty and current-frame options.
619 (fail): Change arguments to void.
620 (main): When sockets are not defined, set main_argc, main_argv,
621 and call fail() with no arguments.
622 (emacs_socket): New variable (moved out from main `s').
623 (quote_file_name): Rename to quote_argument.
624 (quote_argument): New name for old quote_file_name.
625 (unquote_argument, strprefix, pass_signal_to_emacs)
626 (handle_sigcont, handle_sigtstp, init_signals): New functions.
627 (set_local_socket): Initialize saved_errno to 0. If socket-name
628 is too long, call `fail' rather than `exit'.
629 (main): Doc update. Set main_argc, main_argv. New var `str'.
630 Don't need a filename or argument if tty or window_system set.
631 Call fail with no arguments. Use get_current_dir_name to send
632 over the current directory. Send version number to Emacs for
633 verification. If tty is set, check TERM, and pass name and type
634 to Emacs. Pass window_system to Emacs. Move sending of eval to
635 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
636 fflush. Check for a client/server version match.
637 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
638 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
639 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
640 environment and pwd to Emacs. Send current-frame to Emacs.
641
ca4ea90f
EZ
6422007-08-25 Eli Zaretskii <eliz@gnu.org>
643
644 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
645 Prepend "-" to the command, in case srcdir=. and file is copied
646 into itself.
647
cacc7b51
GM
6482007-07-25 Glenn Morris <rgm@gnu.org>
649
650 * Relicense all FSF files to GPLv3 or later.
651
652 * COPYING: Switch to GPLv3.
653
880820fe 6542007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
655
656 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
657 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
658 (print_help): Use it in if() rather than #if.
659 (print_help): Conditionally print help about --no-line-directive.
180f5b99 660
9724908a
EZ
6612007-07-16 Eli Zaretskii <eliz@gnu.org>
662
663 * makefile.w32-in (clean): Don't delete *~.
664
5cf9ca93
GM
6652007-06-07 Glenn Morris <rgm@gnu.org>
666
667 * etags.c (print_version): Add `emacs_copyright' string, for
668 easier automatic updating.
669
880820fe 6702007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
671
672 * etags.c: Extern definitions of some more pointer functions for
673 standalone compilation, especially important for 64bit platforms.
674 (main, print_help): --members is now the default for etags.
675 (C_entries): Parse start of C comment as a space == end of token.
676 This is not necessary for C++ comment, already parsed as newline.
677
07016031
GM
6782007-04-26 Glenn Morris <rgm@gnu.org>
679
680 * makefile.w32-in (VERSION): Increase to 22.1.50.
681
7dfc4cda
CY
6822007-06-02 Chong Yidong <cyd@stupidchicken.com>
683
684 * Version 22.1 released.
685
880820fe 6862007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 687
d620ddb3 688 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 689
0971f887
GM
6902007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
691
692 * Makefile.in (EMACS, EMACSOPT): New variables.
693 (blessmail): Use `--no-site-file' when compiling.
694
880820fe 6952007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
696
697 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
698 (main): Now --members is the default for etags, not for ctags yet.
699
d881944f 7002007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 701
47dad44f 702 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
703 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
704 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
705 import, package, extends, implements and interface to be treated
706 specially for all kinds of C-style files, not just Java files.
707
880820fe 7082007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 709
47dad44f 710 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
711 (no_duplicates): Static variables for the above option.
712 (print_help): Do not print help for --no-warn, now undocumented.
713 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 714 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 715
880820fe 7162006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
717
718 * etags.c (readline): When creating a relative file name from a
719 #line directive, leave the file name alone. The previous
a7c29764 720 behavior was to make it relative to the tags file directory,
18f9bf25
FP
721 under the hypothesis that the #line directive file name was
722 relative to the directory of the tagged file. That hypothesis is
723 wrong with Cpp and Lex.
17d5f8a6 724 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 725
5e059fc1
EZ
7262006-12-22 Eli Zaretskii <eliz@gnu.org>
727
728 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
729 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 730 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
731 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
732 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
733 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
734 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
735 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 736 (clean): Delete stamp_BLD.
5e059fc1 737
880820fe 7382006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
739
740 * etags.c (C_entries): DEFUN names were longer by one: corrected.
741
0e0dced5
JB
7422006-12-18 Juanma Barranquero <lekktu@gmail.com>
743
744 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
745 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
746 (main) [WINDOWSNT]: Remove code to release the focus; call
747 w32_give_focus instead.
748
4472aef4
JB
7492006-12-15 Juanma Barranquero <lekktu@gmail.com>
750
751 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
752 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
753 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
754 Suggestions and comment by Eli Zaretskii.
755
12f7728e 7562006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
757
758 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
759 Use $(USER32) for compatibility with Visual Studio .NET 2003.
760
310afa17
JB
7612006-11-30 Juanma Barranquero <lekktu@gmail.com>
762
763 * emacsclient.c (emacs_pid): New variable.
764 (message): Remove leftover code.
765 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
766 focus yet; emacsclient can still display an informational message
767 before sending requests to Emacs.
768 (main): Allow Emacs to grab the focus. Simplify message() call.
769
7702006-11-30 Michael Mauger <mmaug@yahoo.com>
771
772 * emacsclient.c (message): Make sure the message is properly
773 written even if it contains printf escapes, and flush the result.
774 (set_tcp_socket): Make the message for non-local connections
775 informational rather than an error.
776
8c57275b 7772006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
778
779 * etags.c (readline): Check for double quote after #line.
780
880820fe 7812006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
782
783 * etags.c (readline): sscanf could in principle return 2.
784
880820fe 7852006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
786
787 * etags.c (readline): lno is unsigned.
788 (TeX_commands): Use p++ (rather than *p++) to increment p.
789 (Lua_functions): Explicitly discard LOOKING_AT's return value.
790
4d91c8f9
JB
7912006-11-27 Juanma Barranquero <lekktu@gmail.com>
792
793 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
794 ($(TRES)): New rule (copied from nt/makefile.w32-in).
795 ($(BLD)/emacsclientw.exe): Add dependency.
796
340d34a5
EZ
7972006-11-27 Eli Zaretskii <eliz@gnu.org>
798
d620ddb3 799 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 800
7dce1990
JB
8012006-11-25 Juanma Barranquero <lekktu@gmail.com>
802
803 * makefile.w32-in (VERSION): New macro.
804 (ECLIENT_CFLAGS): Add -DVERSION.
805
410797a5 8062006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
807
808 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
809
410797a5 8102006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 811
4472aef4
JB
812 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
813 file names with forward slashes.
cb0297bb 814
30aa95ce
JB
8152006-11-23 Juanma Barranquero <lekktu@gmail.com>
816
817 * emacsclient.c (print_help_and_exit): Tweak message contents and
818 tabs/spaces to improve alignment in message boxes.
819
42073bfb
JB
8202006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
821
822 * emacsclient.c: Include <stdarg.h>.
823 [WINDOWSNT]: Include <windows.h>.
824 (w32_check_console_app): New function.
825 (message): New function.
826 (decode_options, print_help_and_exit, fail, main)
827 (initialize_sockets, get_server_config, set_tcp_socket)
828 (set_local_socket, set_socket): Use message().
829
32dd9283 8302006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 831
32dd9283
JR
832 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
833 HAVE_INET_SOCKETS.
834
1bbea9fc
JB
8352006-11-13 Juanma Barranquero <lekktu@gmail.com>
836
837 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
838 ($(BLD)/emacsclientw.exe): New target.
839 (install): Install emacsclientw.exe.
840 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
841 (ECLIENT_CFLAGS): Remove redundant flags.
842
843 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
844
a48db427
JR
8452006-11-13 Jason Rumney <jasonr@gnu.org>
846
847 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
848
21f89bb7 8492006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
850
851 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
852
d5abc12c
JB
8532006-11-08 Juanma Barranquero <lekktu@gmail.com>
854
ed4a3730
JB
855 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
856 FARPROC to avoid a compiler warning.
d5abc12c 857
18b8c421
JB
8582006-11-07 Juanma Barranquero <lekktu@gmail.com>
859
88b46d84
JB
860 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
861 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
862
18b8c421
JB
863 * emacsclient.c (get_server_config): Extract also the Emacs pid
864 from the server file. On Windows, try to force the Emacs frame to
865 the foreground.
866
b03d27bd
JB
8672006-11-06 Juanma Barranquero <lekktu@gmail.com>
868
21f89bb7 869 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
870 option --socket-name.
871 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
872 command line options.
21f89bb7 873 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
874 (fail): Don't check for missing arguments, it is now done in set_socket.
875 (file_name_absolute_p): New function (loosely based on the one in
876 fileio.c).
877 (initialize_sockets): Don't check for duplicate loading of Winsock.
878 (get_server_config): Only try relative paths in the default
879 directory locations.
880 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
881 a remote server.
882 (set_socket): Call INITIALIZE(). Search explicit command-line
883 arguments, then environment variable EMACS_SERVER_FILE, then implicit
884 socket paths, before trying the alternate editor.
885 (main): Use file_name_absolute_p.
886
b20d6154
EZ
8872006-11-04 Eli Zaretskii <eliz@gnu.org>
888
889 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
890 file if it doesn't already exist.
891
9c92edca
JB
8922006-11-03 Juanma Barranquero <lekktu@gmail.com>
893
894 * emacsclient.c (initialize_sockets): Don't initialize Winsock
895 more than once.
896
b6ce9c46
JB
8972006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
898
899 * Makefile.in (INSTALL_SCRIPT): New macro.
900 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
901
4418616b
JB
9022006-11-02 Juanma Barranquero <lekktu@gmail.com>
903
904 * grep-changelog: When called with no arguments (not even a
905 filter), show help instead of blindingly dumping every single
906 ChangeLog available. Doc fix. Update version.
907
1e7823d0
JB
9082006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
909
910 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
911 [!WINDOWSNT]: Include <netinet/in.h> if available.
912 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
913 (IOCTL, IOCTL_BOOL_ARG): Remove.
914 (set_tcp_socket): Don't set the socket in blocking mode.
915 Remove c_arg.
916
ebc20ca0
JB
9172006-11-01 Juanma Barranquero <lekktu@gmail.com>
918
919 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
920 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
921
880820fe 9222006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
923
924 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
925 (close_winsock): Declare as __cdecl.
926
880820fe 9272006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
928
929 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
930 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
931 to set the socket in non-blocking mode.
932
e35fc962
JB
9332006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
934
d4fa60c8 935 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
936 (INVALID_SOCKET): Define.
937 (initialize_sockets): Put #endif at the right place.
938 (set_local_socket): Use progname, not argv[0].
939
ecc54057
JB
9402006-10-31 Juanma Barranquero <lekktu@gmail.com>
941
942 * makefile.w32-in (ALL): Add emacsclient.
943 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
944 (emacsclient, $(BLD)/emacsclient.exe): New targets.
945 (install): Install emacsclient.
946
947 * emacsclient.c: Add support for TCP sockets.
948 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
949 (INITIALIZE): New macros.
950 (IOCTL_BOOL_ARG): New typedef.
951 (server_file): New global variable.
952 (longopts): New option --server-file.
953 (decode_options): Process new option --server-file and environment
954 variable EMACS_SERVER_FILE.
955 (print_help_and_exit): Document new option.
956 (fail): If no connection available and no alternate editor,
957 suggest using options to make them explicit.
958 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
959 (send_buffer, sblen): New variables.
31fa6595 960 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
961 (quote_file_name): Use SEND_STRING.
962 (close_winsock, initialize_sockets): New functions to load and
963 unload Winsock.
964 (get_server_config, set_tcp_socket): New functions to create and
965 set up TCP sockets.
966 (set_local_socket): New function to create and set up Unix
967 socket (code moved from previous implementation).
10d1d0af 968 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
969 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
970 set_local_socket. Use set_socket. Get answers from server.el with
971 recv(), not file stream functions.
972
70846e2a
EZ
9732006-10-09 Eli Zaretskii <eliz@gnu.org>
974
975 * makefile.w32-in (../src/config.h): Fix error message.
976
e2247cd0
EZ
9772006-09-30 Eli Zaretskii <eliz@gnu.org>
978
979 * .cvsignore: Add blessmail.
980
45a2056c
JB
9812006-09-15 Jay Belanger <belanger@truman.edu>
982
983 * COPYING: Replace "Library Public License" by "Lesser Public
984 License" throughout.
985
880820fe 9862006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 987
ecc54057 988 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 989 (readline): Change position on %n and \" in sscanf.
1f4edc37 990
1520a816
JD
9912006-08-07 Masatake YAMATO <jet@gyve.org>
992
ecc54057
JB
993 * etags.c (readline): Expect sscanf returns 2, not 1.
994
867cc23e
JD
9952006-08-07 Masatake YAMATO <jet@gyve.org>
996
9984b9d5 997 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
998 File ended without newline causes infinite loop.
999
fc185ae6
FP
10002002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
1001
ecc54057 1002 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 1003
880820fe 10042006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
1005
1006 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
1007 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
1008 (Objc_suffixes): Suggest using --lang=c for full help.
1009 (C_entries): Initialise savetoken to 0 to shut up the compiler.
1010
116e754b
AS
10112006-07-20 Andreas Schwab <schwab@suse.de>
1012
1013 * fakemail.c (fatal): Drop second parameter and treat first
1014 parameter as a plain string. Callers changed.
1015
2381d38d
DN
10162006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
1017
1018 * ebrowse.c (usage, version): Mark as NO_RETURN.
1019
1020 * emacsclient.c (print_help_and_exit): Likewise.
1021
880820fe 10222006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
1023
1024 * etags.c (absolute_filename): Free unused space (cosmetic change).
1025 (in_word_set): In C, also tag #undef symbols.
1026
7cb93181
EZ
10272006-06-09 Eli Zaretskii <eliz@gnu.org>
1028
1029 * yow.c: Remove file.
1030
1031 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
1032
1033 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
1034 yow${EXEEXT}: Remove target.
1035
0f29c66d
MY
10362006-06-04 Masatake YAMATO <jet@gyve.org>
1037
63fbb644 1038 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
1039 doesn't exist, is not seekable, not is failed in ftall.
1040
a941b26b
EZ
10412006-06-03 Eli Zaretskii <eliz@gnu.org>
1042
9781fb53
EZ
1043 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
1044 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
1045 ($(BLD)/test-distrib.exe): New targets.
1046 (sorted-doc, digest-doc, test-distrib): New targets.
1047 (install): Install sorted-doc.exe and digest-doc.exe.
1048 ($(BLD)/sorted-doc.$(O)): Update dependencies.
1049
1b178b99
EZ
1050 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1051 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1052 terminal device.
1053
ae85efdb
EZ
1054 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1055 [WINDOWSNT] <top level>: Don't redeclare malloc.
1056 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1057 terminal device.
1b178b99 1058 (main): Initialize bp, to avoid compiler warnings
ae85efdb 1059
a941b26b
EZ
1060 * makefile.w32-in: Delete traces of leditcfns.c.
1061
1062 * leditcfns.c: Remove file.
1063
880820fe 10642006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 1065
31fa6595
SM
1066 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1067 Add comments explaining why the "kpop" service is never used.
8a6d5da7 1068
642c61f3
EZ
10692006-05-13 Eli Zaretskii <eliz@gnu.org>
1070
1071 * makefile.w32-in (lisp1): Add fringe.elc.
1072
880820fe 10732006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
1074
1075 * etags.c (Perl_functions): Free space allocated for var package.
1076 (Erlang_functions): Possibly free space allocated for var last.
1077 (Prolog_functions): Possibly free space allocated for var last.
1078
7c47913b
DN
10792006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1080
7fe8b491
DN
1081 * sorted-doc.c (main): Initialize docs to NULL.
1082
cdeda579
DN
1083 * yow.c (yow): Free buf.
1084
7c47913b
DN
1085 * etags.c: Delete c-indentation-style local variable.
1086
2ef88a94
RS
10872006-04-29 Richard Stallman <rms@gnu.org>
1088
5e5b35c7
RS
1089 * movemail.c (main): Check for negative value from `read'.
1090
2ef88a94
RS
1091 * fakemail.c (read_header): Give fatal error if input has no header.
1092
d65b4235
PE
10932006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1094
1095 * b2m.c (main): Don't include <limits.h>.
1096 (TM_YEAR_BASE): New macro.
1097 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
1098 that s/ files can override this. Use the more-conservative range
1099 1000-9999.
1100 (main): Check for asctime returning NULL.
1101 * fakemail.c: Likewise.
1102
f5565804
PE
11032006-03-27 Paul Eggert <eggert@cs.ucla.edu>
1104
1105 * b2m.c: Include <limits.h>.
1106 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
1107 (main): Check for out-of-range time stamps.
1108 * fakemail.c: Likewise.
1109
90c9c343
AS
11102006-03-18 Andre Spiegel <spiegel@gnu.org>
1111
1112 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
1113 execute $DIFF twice, and once with the wrong options.
1114
a6a2b5d4
EZ
11152006-02-23 Claudio Fontana <claudio@gnu.org>
1116
9e2bcc86
EZ
1117 * Makefile.in (install, uninstall): Add DESTDIR variable to
1118 support staged installations.
a6a2b5d4 1119
ef3f69f9
EZ
11202005-12-30 Eli Zaretskii <eliz@gnu.org>
1121
1122 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
1123 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
1124 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
1125 Rearrange the list to be similar to $(shortlisp) in
1126 src/Makefile.in.
ef3f69f9
EZ
1127 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
1128 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
1129 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
1130 src/Makefile.in.
1131
30cfcf7f
RS
11322005-12-22 Richard M. Stallman <rms@gnu.org>
1133
1134 * Makefile.in (update-game-score.o): Delete spurious final `\'.
1135
ecc54057 11362005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
1137
1138 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
1139 which was never opened.
1140
283879ef 11412005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
1142
1143 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
1144 header files.)
1145
880820fe 11462005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
1147
1148 * etags.c: Preliminary Forth support.
1149 (prolog_pr): Cast strlen to int before comparison.
1150 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
1151 the second argument is indeed a literal string.
b9509712 1152 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
1153
11542005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
1155
1156 * etags.c (longopts, print_help, main): The -a (--append) option
1157 can be used in ctags also; for one, the Linux make file uses it.
1158
41ea4df8
CY
11592005-09-20 Chong Yidong <cyd@stupidchicken.com>
1160
1161 * ebrowse.c (add_sym): Compare namespace names instead of
1162 namespace objects. This prevents the parser from incorrectly
1163 treating classes whose superclass is in another namespace.
1164
5c4757d3
RS
11652005-09-15 Richard M. Stallman <rms@gnu.org>
1166
1167 * Makefile.in (update-game-score.o): New target.
10d1d0af 1168 Compile and link this program separately.
5c4757d3
RS
1169 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1170
df1b2142
JR
11712005-09-11 Jason Rumney <jasonr@gnu.org>
1172
ecc54057 1173 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 1174 message instead.
31fa6595 1175 (../src/paths.h): Remove.
df1b2142 1176
c638055f
JB
11772005-07-27 Juanma Barranquero <lekktu@gmail.com>
1178
1179 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
1180 generated. Ignore also ctags.c and getopt.h.
1181
1182 * makefile.w32-in (clean): Delete getopt.h.
1183 (getopt.h): New rule.
1184
9eff9fe3
PE
11852005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1186
1187 Merge gnulib getopt implementation into Emacs.
1188
1189 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
1190 (GETOPT_H): New macro, from gnulib.
1191 (getopt.h): New rule, from gnulib.
1192 (GETOPTOBJS): Now autoconfigured.
1193 (GETOPTDEPS): getopt.h is now autoconfigured.
1194 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
1195 (getopt.o): Depend on ${srcdir}/gettext.h.
1196 (movemail.o): Depend on $(GETOPT_H).
1197 * getopt.c, getopt1.c: Sync from gnulib.
1198 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
1199 * getopt.h: Removed (now is getopt_.h).
1200
ec641d50
KR
12012005-07-13 Ken Raeburn <raeburn@gnu.org>
1202
0e0dced5
JB
1203 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
1204 (sendline): Add the \r\n to the line in a temporary buffer, and write
1205 it all at once.
ec641d50 1206
a0ec7a4a
LK
12072005-07-04 Lute Kamstra <lute@gnu.org>
1208
1209 Update FSF's address in GPL notices.
1210
0e0dddda
EZ
12112005-06-13 Eli Zaretskii <eliz@gnu.org>
1212
1213 * makefile.w32-in ($(DOC)): Fix last change.
1214
5a77c8e2
EZ
12152005-06-12 Eli Zaretskii <eliz@gnu.org>
1216
1217 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
1218 temacs.exe, and the preloaded *.elc files. This avoids
1219 unnecessary dumping and DOC rebuilding.
1220
1a8fb426
EZ
12212005-06-04 Eli Zaretskii <eliz@gnu.org>
1222
1223 * ntlib.h (fileno): Don't define if already defined.
1224
7235a58f
TTN
12252005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1226
1227 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
1228 (yow): Use EXIT_FAILURE in case of memory error.
1229
5063dbbf
YM
12302005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1231
1232 * make-docfile.c (DIRECTORY_SEP): New macro.
1233 (IS_DIRECTORY_SEP): Use it.
1234
880820fe 12352005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
1236
1237 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1238
ba025f6d
YM
12392005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1240
1241 * make-docfile.c: Undo previous change.
1242
a9eedf40
AS
12432005-02-04 Andreas Schwab <schwab@suse.de>
1244
0e0dced5
JB
1245 * movemail.c (fatal): Accept third parameter and pass down to error.
1246 (pfatal_with_name): Pass error string as format parameter instead of
1247 as part of format string.
a9eedf40
AS
1248 (pfatal_and_delete): Likewise.
1249 (main): Adjust call to fatal.
1250 (xmalloc): Likewise.
1251
5a92a9eb
RS
12522005-01-29 Richard M. Stallman <rms@gnu.org>
1253
1254 * movemail.c (popmail): Don't use Errmsg as format string.
1255
e6973a25
ST
12562004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1257
0e0dced5 1258 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 1259
1bb3da38
AS
12602004-12-15 Andreas Schwab <schwab@suse.de>
1261
1262 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
1263 preprocessing to compile time constant.
1264
d4a38fdd
KS
12652004-11-17 Kim F. Storm <storm@cua.dk>
1266
1267 * etags.c: Undo last change.
1268
f2eb41c8
KS
12692004-11-09 Kim F. Storm <storm@cua.dk>
1270
1271 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
1272 silence compiler.
1273
1274 * hexl.c (main): Init local var c to silence compiler.
1275
1276 * etags.c (main, consider_token, C_entries): Add misc switch
1277 default targets to silence compiler.
1278
880820fe 12792004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
1280
1281 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
1282 resulting DOC file can be used on Unix/Mac also.
1283
880820fe 12842004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
1285
1286 * etags.c (main): When relative file names are given as argument,
1287 make them relative to the current working dir, rather than
1288 relative to the output tags file, if the latter is in /dev.
1289
880820fe 12902004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
1291
1292 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
1293 <stdlib.h> is available.
1294 (enum sym_type): New st_C_attribute value for parsing
1295 gcc's __attribute__. Deleted st_C_typespec value.
1296 (gperf, in_word_set): Use gperf 3, options changed. Added the
1297 __attribute__ keyword, removed all the st_C_typespec keywords,
1298 changed attribute for Java to (C_JAVA & !C_PLPL).
1299 (inattribute): New global bool, part of the C state machine.
1300 (cblev): Identifier renamed to bracelev throughout.
1301 (consider_token, C_entries): Numerous changes for making the
1302 parser more robust and adding support for __attribute__.
1303
13042004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
1305
ecc54057 1306 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
1307 Support the Lua scripting language <http://www.lua.org>.
1308
880820fe 13092004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 1310
d57727c9 1311 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
1312 for ease of use.
1313
3751eb00
RS
13142004-07-17 Richard M. Stallman <rms@gnu.org>
1315
1316 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
1317
86d373e6
JB
13182004-06-01 Juanma Barranquero <lektu@terra.es>
1319
1320 * makefile.w32-in (obj): Add image.c.
1321
80e26b66
TTN
13222004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
1323
0e0dced5 1324 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 1325
e6662c8b
JR
13262004-05-08 Jason Rumney <jasonr@gnu.org>
1327
1328 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
1329 command-lines.
1330
65396510
TTN
13312004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1332
1333 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
1334 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
1335 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1336
1337 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
1338 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
1339 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 1340
c2bcfb19
TTN
13412004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1342
1343 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
1344
3f0656ff
TTN
13452004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
1346
1347 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1348 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1349 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1350
1351 * etags.c: Likewise.
1352
238add5e
JR
13532004-05-03 Jason Rumney <jasonr@gnu.org>
1354
1355 * makefile.nt: Remove.
1356
b09c5608
EZ
13572004-04-26 Eli Zaretskii <eliz@gnu.org>
1358
1359 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1360 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1361 instead of a literal '/'.
1362
d814862a
JB
13632004-04-23 Juanma Barranquero <lektu@terra.es>
1364
1365 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1366
442a2160
PE
13672004-04-17 Paul Eggert <eggert@gnu.org>
1368
1369 * rcs2log (Help): Clarify wording of the usage message.
1370 Problem reported by Alan Mackenzie in
1371 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
1372
d5d66b7e
SM
13732004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1374
1375 * make-docfile.c (xmalloc): Fix return type.
1376 (put_filename): New fun.
1377 (scan_file): Use it.
1378
bdfd0369
JB
13792004-03-09 Juanma Barranquero <lektu@terra.es>
1380
1381 * grep-changelog: Changes to support ChangeLog.10+.
1382 (main): Tidy up usage string. Fix "Use of uninitialized value"
1383 warning. Set version to 0.2. Parse the directory listing to get
1384 any ChangeLog.n file, not just 1..9.
1385 (header_match_p, entry_match_p, print_log, parse_changelog):
1386 Remove Perl prototypes (their purpose is to help the parser, which
1387 isn't needed here, not declare arguments).
1388 (parse_changelog): Make --reverse faster on big batches by not
1389 modifying the entries list.
1390
a64387ee
JB
13912004-03-01 Juanma Barranquero <lektu@terra.es>
1392
1393 * makefile.w32-in (obj): Add fringe.c.
1394
9766d41b
PE
13952004-02-14 Paul Eggert <eggert@twinsun.com>
1396
1397 * rcs2log: Work correctly if CVSROOT specifies :fork: or
1398 :local: methods, or omits the colon between the hostname
1399 and the path. Allow :/ in repository path, since CVS does.
1400 Fix typo: "pository" should be set from $CVSROOT, not $repository.
1401 This fixes a bug reported by Wolfgang Scherer in
1402 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
1403 along with some related bugs I discovered by inspecting how
1404 CVS itself parses $CVSROOT.
1405
880820fe 14062004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
1407
1408 * emacsclient.c (decode_options): Fix handling of alternate editor.
1409
0734b0d0
SM
14102004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1411
1412 * emacsclient.c (main): Don't use the hostname in the socket name.
1413 Look for relative socket names in the /tmp dir rather than in cwd.
1414
2a6fc2d9
RS
14152004-01-24 Richard M. Stallman <rms@gnu.org>
1416
1417 * emacsclient.c (main): Restore errno from saved_errno,
1418 so the error message comes from socket_status.
1419
0734b0d0
SM
14202004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * emacsclient.c (main): Stop if socket name too long.
1423 Only try su-fallback if the socket name was not explicit.
1424 Check socket name length in su-fallback case as well.
1425
152b6e83
AS
14262004-01-08 Andreas Schwab <schwab@suse.de>
1427
1428 * emacsclient.c (main): Save errno from socket_status.
1429
e8228824
AS
14302004-01-04 Andreas Schwab <schwab@suse.de>
1431
1432 * emacsclient.c (main): Fix socket name when using another user.
1433
c9140662
PE
14342003-12-27 Paul Eggert <eggert@twinsun.com>
1435
1436 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
1437 a tag, and if the user has not specified an rlog option.
1438 Adapted from a suggestion by Martin Stjernholm in
1439 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
1440 (Copyright): Update to 2003.
1441
8babaa59
TTN
14422003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
1443
1444 * make-docfile.c (main): For return code, no longer special-case VMS.
1445 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
1446
880820fe 14472003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
1448
1449 * emacsclient.c (quote_file_name): Print the result instead of
1450 returning it. Fix the return type accordingly.
1ae7cf5e
RS
1451 (main): With --eval, if no file name, read from stdin.
1452 Quote file names.
14ef7288 1453
f387bdea
RS
14542003-09-10 Richard M. Stallman <rms@gnu.org>
1455
07655e62 1456 * emacsclient.c (main): Use socket_name.
f387bdea 1457
880820fe 14582003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
1459
1460 * emacsclient.c (socket_name): New variable.
1461 (longopts, decode_options, print_help_and_exit):
1462 Handle --socket-name argument.
1463
0b7e7337
FP
14642003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
1465
783bcffa 1466 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
1467 token len is long enough.
1468
ac06b30b
DL
14692003-08-20 Dave Love <fx@gnu.org>
1470
1471 * Makefile.in: Remove obsolete references to alloca.
1472
32b0a3c6
JB
14732003-07-29 Ken Brush <ken@wirex.com>
1474
1475 * emacsclient.c (main)
1476 * etags.c (suggest_asking_for_help)
1477 * movemail.c (main): Fix having macros in a printf statement.
1478
3867c42d
JB
14792003-05-31 Juanma Barranquero <lektu@terra.es>
1480
1481 * makefile.w32-in (lisp): Fix references to byte-run.el,
1482 float-sup.el and map-ynp.el, which are now in emacs-lisp.
1483
7933722a
DL
14842003-05-22 Dave Love <fx@gnu.org>
1485
1486 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
1487 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
1488
463f55ee
DL
14892003-05-20 Dave Love <fx@gnu.org>
1490
1491 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
1492
1493 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
1494
1b7a835b
JB
14952003-04-27 Oliver Scholz <alkibiades@gmx.de>
1496
0e0dced5 1497 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 1498
eec54bd7
SM
14992003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1500
1501 * emacsclient.c (main): Use new safe location for socket.
1502
ff4bd681
JB
15032003-03-12 Tom Tromey <tromey@redhat.com>
1504
eec54bd7
SM
1505 * emacsclient.c (print_help_and_exit): Print to stdout.
1506 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
1507 (decode_options): Don't call print_help_and_exit in default case.
1508 Print version information to stdout.
1509 (main): Don't call print_help_and_exit.
1510
dd132e44
RS
15112003-02-15 Richard M. Stallman <rms@gnu.org>
1512
1513 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 1514 Don't include stdlib.h, because config.h does.
dd132e44 1515 (malloc, realloc): Declarations deleted.
ff4bd681 1516
dd132e44
RS
1517 * yow.c (yow): Cast result of malloc and realloc.
1518 (malloc, realloc): Declarations deleted.
1519
71ffc53a
JB
15202003-02-11 Juanma Barranquero <lektu@terra.es>
1521
1522 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1523
0dfd93c0
AS
15242003-02-08 Andreas Schwab <schwab@suse.de>
1525
1526 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1527 instead of the substitution.
1528
37d1e680
RS
15292003-02-04 Richard M. Stallman <rms@gnu.org>
1530
1531 * update-game-score.c (push_score, read_scores): Cast values
1532 of malloc and realloc.
1533 (main, lock_file): Avoid assignment inside if.
1534
c60ee5e7
JB
15352003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1536
1537 * Makefile.in: Use @EXEEXT@ for Cygwin.
1538
b24e2dc7
DL
15392003-01-21 Dave Love <fx@gnu.org>
1540
1541 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1542 column-0 `('.
1543
1544 * yow.c: Don't include string.h.
1545
675d000f
RS
15462003-01-20 Richard M. Stallman <rms@gnu.org>
1547
1548 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1549 New targets.
1550
207aa3ff
KS
15512003-01-06 Kim F. Storm <storm@cua.dk>
1552
31fa6595 1553 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
1554 All uses changed.
1555
cf6d30d7
AI
15562002-12-18 Andrew Innes <andrewi@gnu.org>
1557
1558 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1559 because GNU make doesn't append when using >> redirection.
1560
f0131492 15612002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
1562
1563 * b2m.pl: Make sure every message ends with a blank line, because
1564 some mbox parsers require a blank line before "From " lines.
1565
85cce843
RS
15662002-12-08 Richard M. Stallman <rms@gnu.org>
1567
1568 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1569 (_): Test only HAVE_LIBINTL_H to decide what to do.
1570
2ccc4d34
RS
15712002-12-05 Richard M. Stallman <rms@gnu.org>
1572
1573 * getopt.c: Comment out include of libintl.h or gettext.h.
1574
c5992177
RS
15752002-12-04 Richard M. Stallman <rms@gnu.org>
1576
1577 * Update getopt from gnulib version; changes described below.
1578
1579 * getopt1.c: Conditionally find getopt.h.
1580 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1581
1582 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1583 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 1584 (wchar.h): Include, maybe.
10d1d0af 1585 (attribute_hidden): Define if not defined.
c5992177
RS
1586 (__getopt_initialized): Use attribute_hidden.
1587 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
d7982012
JB
1588 (__getopt_nonoption_flags, nonoption_flags_max_len)
1589 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
1590 (SWAP_FLAGS): New definitions.
1591 (exchange): Test USE_NONOPTION_FLAGS.
1592 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1593 (_getopt_internal): Error if argc < 1. New local var print_errors.
1594 Improve test for ambiguous long option.
1595 Add LIBIO support for error message output.
1596 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1597
1598 * getopt.h: Maybe include ctype.h.
1599 Treat __cplusplus like __STDC__.
1600 (decls): Use __ in arg names.
1601
4b5e69bd
SE
16022002-12-02 Stephen Eglen <stephen@gnu.org>
1603
1604 * emacsclient.c (main): Tell user how to start server within Emacs
1605 if socket could not be found.
1606
19fa03f3
RS
16072002-12-02 Richard M. Stallman <rms@gnu.org>
1608
1609 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1610
7be215b4
JB
16112002-11-19 Ben Key <bkey1@tampabay.rr.com>
1612
29f538e6
BK
1613 * makefile.w32-in: Fixed a bug that caused the documentation for
1614 the built in function play-sound-internal not to be included in
1615 /etc/DOC.
7be215b4 1616
1998560a
DL
16172002-11-18 Dave Love <fx@gnu.org>
1618
1619 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1620 fcntl.h, stdarg.h conditionally.
1621 (_GNU_SOURCE, __attribute__): Don't define.
1622 (optarg, optind, opterr): Declare.
1623 (lose, lose_syserr): Use NO_RETURN.
1624 (get_user_id): Use P_.
1625
8b96caf3
RS
16262002-11-17 Richard M. Stallman <rms@gnu.org>
1627
1628 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1629
59daa29a
DL
16302002-11-14 Dave Love <fx@gnu.org>
1631
1632 * movemail.c (pop_retr): Declare comment.
1633
1634 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1635
1636 * Makefile.in (YACC): Deleted.
1637
f1b443bf
AS
16382002-10-19 Andreas Schwab <schwab@suse.de>
1639
1640 * Makefile.in (${archlibdir}): Always create $(gamedir).
1641 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1642
52402e4f
JB
16432002-10-04 Juanma Barranquero <lektu@terra.es>
1644
1645 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1646
15dab115
MR
16472002-09-30 Markus Rost <rost@math.ohio-state.edu>
1648
1649 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1650 completely.
1651
30be2360
SM
16522002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1653
1654 * emacsclient.c: Remove SYSV support.
1655 (eval, display): New vars.
1656 (longopts): Add --eval and --display.
1657 (decode_options): Add -e and -d processing.
1658 (print_help_and_exit): Update the usage string.
1659 (main): Add support for --eval and --display.
3ecdcd59 1660 (main): Always use /tmp and non-qualified hostname.
30be2360 1661
4208da83
SM
16622002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1663
1664 * emacsserver.c: Remove.
1665
3cf8c6aa
SM
16662002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1667
1668 * emacsclient.c (quote_file_name): Quote \n.
1669 (main): Print a final \n when needed.
1670
880820fe 16712002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
1672
1673 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1674 string that cannot be freed.
1675
880820fe 16762002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
1677
1678 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1679 auto-detection is enabled and the `::' qualifier is met.
1680 (consider_token, C_entries): Several bugs corrected that tagged
1681 some declarations even though --declarations was not used.
1682 (plainc): New macro.
1683 (C_entries): Use it.
1684 (C_entries): Several cosmetic changes.
1685 (C_entries): Invalidate the token is some cases.
1686
880820fe 16872002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 1688
eec54bd7 1689 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1690 (ignoreindent): Renamed from noindentypedefs.
1691 (cjava, cplpl): They are now macros instead of local vars.
1692
880820fe 16932002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
1694
1695 * etags.c (HTML_labels): Tag ID= also.
1696
880820fe 16972002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
1698
1699 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1700
ecc54057 1701 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1702 (etags_strcasecmp): Like BSD's, for compatibility.
1703 (strcaseeq): Make it into a macro.
1704
1705 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1706 (linebuffer_init): Renamed from initbuffer. All callers changed.
1707 (pattern): Structure renamed to `regexp', member regex renamed to
1708 pattern.
1709 (node_st): Member pat renamed to regex.
eec54bd7
SM
1710 (pattern); New member force_explicit_name, for future use.
1711 Now always set to true, cannot be reset.
87046df8
FP
1712 (add_regex, regex_tag_multiline, readline): Use it.
1713 (main): Free some global structures.
8ee14629 1714 (fdesc): New member `written'.
87046df8
FP
1715 (readline, process_file): Initialise it.
1716 (put_entries): Set it.
1717 (main): Use it to create entries for files without tags.
1718 (total_size_of_entries): Do not count invalid tags.
87046df8 1719
02ce3e80
SM
17202002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1721
1722 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1723 for the function name in the usage info.
1724
5fba5c21
CW
17252002-07-31 Colin Walters <walters@gnu.org>
1726
1727 * update-game-score.c (P_): New macro. Use it for all prototypes.
1728 (lose): Don't use varargs.
1729 (lose_syserr): New function.
1730
1731 * update-game-score.c: Change all functions to K&R style.
1732
712eaee0
AS
17332002-07-30 Andreas Schwab <schwab@suse.de>
1734
1735 * Makefile.in (localstatedir): New variable.
1736
f0131492 17372002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
1738
1739 * b2m.pl: Fix regexp for finding return address fields.
1740
1e042160
SM
17412002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1742
1743 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1744
f0131492 17452002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 1746
02ce3e80 1747 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 1748
880820fe 17492002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
1750
1751 * b2m.pl: New file.
1752
880820fe 17532002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 1754
ecc54057 1755 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
1756 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1757 (PHP_functions, PHP_functions, Cobol_paragraphs)
1758 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1759 (prolog_pr, erlang_func, erlang_attribute)
1760 (Perl_functions, Perl_functions, Pascal_functions)
1761 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1762 (get_tag): Prototype changed, all callers changed.
1763
880820fe 17642002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 1765
d76132d0
FP
1766 * etags.c: Implement implicit tag names, that is, unnamed tags
1767 whose name is automatically deduced by etags.el. The advantage is
1768 that there is no explicit tag name in most tags, so the size of
1769 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 1770 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
1771 (make_tag): New function (was the disabled function new_pfnote).
1772 (make_C_tag): Use it.
1773
880820fe 17742002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
1775
1776 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1777 (Makefile_targets): Tag variables unless --no-globals.
1778 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1779
880820fe 17802002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
1781
1782 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1783 (invalidate_nodes): Bug corrected.
1784 (print_help): Better help for regexps.
1785
7a8940da
JB
17862002-06-13 Juanma Barranquero <lektu@terra.es>
1787
1788 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1789 font-core.elc.
1790
880820fe 17912002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1792
1793 * etags.c: New multi-line regexp and new regexp syntax.
1794 (arg_type): at_icregexp label removed (obsolete).
1795 (pattern): New member multi_line for multi-line regexps.
1796 (filebuf): A global buffer containing the whole file as a string
1797 for multi-line regexp matching.
1798 (need_filebuf): Global flag raised if multi-line regexps used.
1799 (print_help): Document new regexp modifiers, remove references to
1800 obsolete option --ignore-case-regexp.
1801 (main): Do not set regexp syntax and translation table here.
1802 (main): Treat -c option as a backward compatibility hack.
1803 (main, find_entries): Init and free filebuf.
1804 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 1805 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
1806 (analyse_regex, add_regex): Remove the ignore_case argument, which
1807 is now a modifier to the regexp. All callers changed.
1808 (add_regex): Manage the regexp modifiers.
1809 (regex_tag_multiline): New function. Reads from filebuf.
1810 (readline_internal): If necessary, copy the whole file into filebuf.
1811 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1812
880820fe 18132002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1814
1815 * etags.c (add_regex): Better check for null regexps.
1816 (readline): Check for regex matching null string.
6772c8e1 1817 (find_entries): Reorganization.
6861f0e3 1818
880820fe 18192002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
1820
1821 * etags.c (scan_separators): Support all character escape
1822 sequences supported by Gcc.
02ce3e80 1823 (find_entries): Rewind unconditionally.
f0da41a6
FP
1824 (find_entries): Do not call language functions directly, now calls
1825 itself.
1826 (find_entries): Do general initialisations here.
1827 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1828 (Ada_getit, Pascal_functions, Pascal_functions)
1829 (prolog_skip_comment): Do not do them here.
1830 (readline_internal): Increment lineno here.
1831 (readline): Conditionally undo readline_internal increment.
1832 (readline): Do not return a value.
1833
880820fe 18342002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 1835
88c71720 1836 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
1837 (enum arg_type): New label at_stdin.
1838 (STDIN): New constant.
1839 (parsing_stdin): New flag.
1840 (longopts): New option --parse-stdin=NAME.
1841 (print_help): Document it.
1842 (main): Handle it.
1843 (process_file): Split into process_file and process_file_name.
1844 (process_file_name): New function.
1845
88c71720 1846 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 1847 (TeX_commands): Skip comments.
10d1d0af 1848 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
1849 (TEX_cmt): Make it a static char and move it before TeX_commands.
1850 (TeX_commands): Shorten the tag to the brace after the name.
1851 (TeX_commands): Names now include the initial backslash.
1852 (TeX_commands): Names do not include numeric args #n.
1853 (TeX_commands): Correct line char number in tags.
1854 (TEX_tabent, TEX_token): Deleted.
1855 (TeX_commands, TEX_decode_env): Streamlined.
1856
880820fe 18572002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
1858
1859 * etags.c (main): Avoid a buffer overrun with sprintf.
1860
a71867c5
RS
18612002-05-30 Richard M. Stallman <rms@gnu.org>
1862
1863 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1864 (LIBS_MOVE): Renamed from MOVE_LIBS.
1865
b7e67db6
PE
18662002-05-26 Paul Eggert <eggert@twinsun.com>
1867
1868 Reinstate the following change from 2002-03-22, which was
1869 inadvertently lost on 2002-04-13.
1870
1871 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1872 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1873 the latter usage.
1874
5f226e2c
EZ
18752002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1876
1877 * pop.c (socket_connection): Move the code to resolve the POP
1878 host right before trying to connect with it.
1879
9021bb49
GM
18802002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
1881
1882 * tcp.c: Delete file since the TCP emulation is no longer in use on any
1883 platform.
1884
5167cfda
CW
18852002-04-28 Colin Walters <walters@verbum.org>
1886
1887 * Makefile.in (${archlibdir}): Don't conditionalize on
1888 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1889 or not we have access to the specified game user.
50496bd9 1890
5167cfda
CW
1891 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1892 (main): New argument -d, for specifying directory.
1893 (usage): Document.
02ce3e80 1894 (get_user_id): Compute.
5167cfda
CW
1895 (get_home_dir): Deleted.
1896 (get_prefix): New function, taken from main.
1897 (main): Check whether or not we are running setuid. Move prefix
1898 computation to get_prefix. Don't call getpwent; we don't need to
1899 any more. Instead, move it to get_user_id().
1900
880820fe 19012002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
1902
1903 * ebrowse.c (skip_initializer): Return void.
1904
973c3c87
CW
19052002-04-23 Colin Walters <walters@verbum.org>
1906
1907 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1908 space.
1909
880820fe 19102002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 1911
ecc54057 1912 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
1913 (process_file): Print the tags from the nodes as soon as
1914 possible, and delete the nodes. This brings down the memory
1915 occupancy as etags to almost the same level as when the #line
1916 directives were not parsed.
1917 (free_fdesc): New function.
1918 (find_entries): Use it.
1919 (invalidate_nodes): In etags mode, do not just mark the nodes as
1920 invalid, do delete them.
1921
c901ceff
GM
19222002-04-21 Gerd Moellmann <gerd@gnu.org>
1923
1924 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1925
c42d6dbd
EZ
19262002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1927
1928 * update-game-score.c: Move config.h before the other headers, to
1929 avoid compiler warnings.
1930
880820fe 19312002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
1932
1933 * etags.c (find_entries): Bug fix in list management.
1934
880820fe 19352002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
1936
1937 * etags.c (get_language_from_filename): Add one argument.
1938 (strcaseeq): New function.
10d1d0af 1939 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
1940 comparison if called with appropriate args.
1941 (find_entries): Try with case insensitive match.
1942 (process_file): Bug fixed.
1943
880820fe 19442002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
1945
1946 * etags.c (find_entries): Delete tags previously obtained from
1947 file xxx.c's #line directives when parsing file xxx.y. This is
1948 generally done for automatically generated files containing
1949 #line directives. This handles the case when xxx.y is tagged
1950 before xxx.c, and the entries of xxx.c pointing to xxx.y should
1951 be discarded.
eec54bd7 1952 (language): Add the metasource member. Initializers changed.
c150db23
FP
1953 (invalidate_nodes): New function.
1954 (readline): Discard lines after having found a #line
02ce3e80 1955 directive pointing to an already tagged file. This handles the
c150db23
FP
1956 case when xxx.y is tagged before xxx.c, and the entries of
1957 xxx.c pointing to xxx.y should be discarded.
1958 (fdesc): New structure for keeping track of input files.
1959 (fdesc): Remove `file' member (a string) and use instead a pointer
1960 to a file description structure.
02ce3e80
SM
1961 (curfile, curfiledir, curtagfname, curlang, nocharno)
1962 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 1963 curfdp, pointers to file description structures.
c150db23
FP
1964 (longopts, main, print_help): Use the CTAGS conditional to include
1965 or exclude options that work on etags or ctags only.
02ce3e80
SM
1966 (process_file, find_entries, pfnote, add_node, put_entries)
1967 (readline): Use fdhead and curfdp.
c150db23
FP
1968 (process_file, find_entries): Do not take an arg string, all
1969 callers changed.
1970
1971 * etags.c (longopts, print_help, main): Test CTAGS to disallow
1972 options that are not right for either etags or ctags.
1973
1974 * etags.c (number_len, total_size_of_entries): Define them also
1975 in CTAGS mode, because gcc does not compile all refs away.
1976
e9d1f248
CW
19772002-04-14 Colin Walters <walters@debian.org>
1978
1979 * update-game-score.c (lock_file): If the lock file is older than
1980 an hour, delete it. Reset attempts to zero if we have to break
1981 the lock.
1982
7605f1bd
AS
19832002-04-14 Andreas Schwab <schwab@suse.de>
1984
1985 * update-game-score.c (read_score): Fix type of second parameter
1986 of getdelim to be of type size_t instead of int. Use 0 instead of
1987 ESUCCES.
1988
e82defd1
CW
19892002-04-10 Colin Walters <walters@verbum.org>
1990
ecc54057 1991 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
1992 (MAX_DATA_LEN, MAX_SCORES): New.
1993 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1994 default to ~/.emacs.d/games.
1995 (get_user_id): Don't zero uid in the case where we can't get the
1996 username.
1997 (lose): New function.
1998 (main): Actually use `max', and default it to MAX_SCORES.
1999 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
2000 function.
2001 (read_score): Handle the case of reading unamelen characters, then
2002 finishing. Use mktemp if mkstemp isn't available.
2003 (lock_file, unlock_file): Delete unused versions.
2004 (lock_file): Always sleep, even if we unlinked the lock file.
2005
e82defd1
CW
2006 * Makefile.in (gamedir, gameuser): New variables.
2007 (toplevel, UTILITIES): Add update-game-score.
2008 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2009
5795b420
CW
20102002-04-07 Colin Walters <walters@verbum.org>
2011
2012 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
2013 (get_user_id): Take struct passwd as an argument.
2014 (get_home_dir): New function.
2015 (main): Read in user information here. Discover home directory if
2016 necessary.
2017 (read_score): Trim newline only in `getline' case.
2018
cd553ffb 20192002-04-05 Colin Walters <walters@debian.org>
c150db23 2020
cd553ffb
CW
2021 * update-game-score.c (toplevel): Include pwd.h.
2022 (struct score_entry): Add username field.
2023 (push_score): Use it.
2024 (get_user_id): New function.
2025 (main): Don't malloc excessively.
2026 (main): Use username field.
2027 (read_score): Read it.
2028 (push_score): Handle it.
07655e62 2029 (write_scores): Write it.
c150db23
FP
2030 (read_score): Handle arbitrary length data.
2031
b74bd4a3
EZ
20322002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2033
2034 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2035
fa8bc89d
GM
20362002-03-29 Gerd Moellmann <gerd@gnu.org>
2037
2038 * ebrowse.c (add_declarator, skip_initializer): New functions.
2039 (declaration): Use them.
2040
dd87b4cc
JR
20412002-03-28 Jason Rumney <jasonr@gnu.org>
2042
2043 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2044
cd553ffb
CW
20452002-03-27 Colin Walters <walters@debian.org>
2046
2047 * update-game-score.c: New file.
2048
dfef6d49
PE
20492002-03-22 Paul Eggert <eggert@twinsun.com>
2050
2051 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2052 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2053 the latter usage.
2054
880820fe 20552002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 2056
4fff90e4 2057 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
2058 (Python_functions, PHP_functions): Name tags, for ctags' sake.
2059 (TeX_commands): Name tags. Correction of old disabled code.
2060
2061 * etags.c (curfiledir, curtagfname): New global variables.
2062 (process_file): Initialise them.
2063 (readline): Canonicalize the name found in #line directive.
893a741e 2064
4fff90e4 20652002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 2066
893a741e
JR
2067 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2068 compilers that don't optimize out dead code.
2069
880820fe 20702002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
2071
2072 * etags.c: Honour #line directives.
a7c29764 2073 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
2074 (main): Remove some #ifdef in the getopt switch.
2075 (add_node, put_entries): Code added to merge different chunks of
2076 nodes referring to the same file. Currently the tags are just
2077 appended, without any check for duplicates.
2078 (Perl_functions): Do not special case ctags.
2079 (readline): Identify #line directives and do the right thing.
2080 (nocharno, invalidcharno): New global vars.
2081 (process_file): Reset nocharno.
2082 (readline): Set nocharno.
2083 (pfnote): Read nocharno and maybe put invalidcharno in node.
2084 (total_size_of_entries, put_entries): Use invalidcharno.
2085
2086 * etags.c: Keep the whole tag table in memory, even in etags mode.
2087 (main): Call put_entries here even in CTAGS mode.
2088 (main, process_file): Check the return values of fclose and pclose.
2089 (process_file): Do not call put_entries after parsing each file.
2090 (process_file): Canonicalise file names even for ctags.
2091 (process_file): Set curfile here...
2092 (find_entries): ... not here any more.
2093 (add_node): In etags mode, build a linked list of entries (on
2094 right pointer) for each file, and link the first entry of each
2095 file on left nodes.
2096 (put_entries): Print here the name of the file.
2097 (put_entries): Print the entries starting from the first file.
c150db23 2098 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
2099 mode, make the second work only on the right nodes.
2100
2101 * etags.c: Make all global variables static.
2102
50ce1f62
JB
21032002-02-25 Juanma Barranquero <lektu@terra.es>
2104
2105 * makefile.w32-in (lisp): Add missing backslash.
2106
82a399d2
JR
21072002-02-24 Jason Rumney <jasonr@gnu.org>
2108
2109 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2110 using .elc files.
2111 (lisp): Sync with list in src/Makefile.in
2112 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2113
a279c920
PE
21142002-02-10 Paul Eggert <eggert@twinsun.com>
2115
2116 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
2117 disallows the old syntax.
2118
0caa685d
PE
21192002-02-03 Paul Eggert <eggert@twinsun.com>
2120
d7982012 2121 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
2122 (AWK, TMPDIR): Work around portability problem in broken shells that
2123 don't understand `: ${VAR=val}'.
2124 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
2125 Prefer the new -k option to the traditional +M -N option.
2126
880820fe 21272002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
2128
2129 * b2m.c (main): Parenthesize assignment when used as truth value
2130 to prevent gcc warnings.
2131
2132 * fakemail.c: Include <config.h>.
2133
880820fe 21342001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
2135
2136 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
2137 * yow.c: Include <config.h>.
2138
880820fe 21392001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
2140
2141 * etags.c (Perl_functions): Tag packages and use them in sub tags.
2142 (get_tag): Return a pointer to the tag that is found.
2143
2144 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
2145 (F_takeprec): Renamed from takeprec. All callers changed.
2146 (F_getit): Renamed from getit. All callers changed.
2147 (nocase_tail): Renamed from tail. All callers changed.
2148 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 2149 (L_getit): Simplify by using get_tag.
a60e4de9
FP
2150 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2151 modified LOOKING_AT.
2152 (notinname): Removed '[' and added ')' to the recognised chars.
2153 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2154 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2155 Clarified, using strneq or notinname.
2156 (L_isdef, L_isquote): Removed.
2157 (Lisp_functions, L_getit): Clarified.
2158
ecc54057 2159 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
2160 [HAVE_CONFIG_H]: Let config.h deal with __P.
2161 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2162 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
2163 gperf code needs it.
ecc54057
JB
2164 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2165 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
2166 (xmalloc, xrealloc): Use PTR instead of long *.
2167 (bool): Make it a define, not a typedef, for C++ compilers.
2168 (pattern): Members renamed to avoid name clash in some C++ compilers.
2169 (get_language_from_langname): Use const argument.
2170
880820fe 21712001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
2172
2173 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2174
880820fe 21752001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 2176
b8509940
PJ
2177 * emacsserver.c: Conditionally include config.h.
2178
594aa066
PJ
2179 * fakemail.c: Likewise.
2180
e69233c2
PJ
2181 * emacsclient.c: Include "config.h", not <../src/config.h>.
2182 (main): Parenthesize assignment when used as truth value to
2183 prevent gcc warnings.
2184
69bfc389
PJ
2185 * ebrowse.c: Include stdlib.h and string.h conditionally.
2186
e4e34e31
EZ
21872001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2188
2189 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
2190
880820fe 21912001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
2192
2193 * test-distrib.c: Fix previous change.
2194
fb5aa7ac
DL
21952001-12-18 Dave Love <fx@gnu.org>
2196
2197 * test-distrib.c: Conditionally include fcntl.h.
2198
2199 * fakemail.c: Include "config.h", not <../src/config.h>.
2200 (_XOPEN_SOURCE): Define as 500.
2201
2202 * emacsserver.c: Include "config.h", not <../src/config.h>.
2203
2204 * cvtmail.c: Include config.h, stdlib.h.
2205 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2206
2207 * yow.c: Conditionally include various headers. Use "epaths.h",
2208 not <../src/epaths.h>.
2209 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2210
880820fe 22112001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 2212
13dc0576 2213 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
2214 (LOOKING_AT): New macro.
2215 (Perl_functions, Python_functions, PHP_functions)
2216 (Scheme_functions, Texinfo_nodes): Use it.
2217 (Perl_functions): Use strneq.
2218 (prolog_pred): Renamed to prolog_pr.
13dc0576 2219 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 2220 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 2221 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
2222 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2223
34e39c95
RS
22242001-12-11 Richard M. Stallman <rms@gnu.org>
2225
2226 * Makefile.in (clean): Don't delete ../etc/DOC*.
2227
880820fe 22282001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
2229
2230 * COPYING: Moved back.
2231
76054cc8
AI
22322001-11-30 Andrew Innes <andrewi@gnu.org>
2233
e94a3679
FP
2234 * makefile.w32-in (FACE_SUPPORT):
2235 (MOUSE_SUPPORT):
2236 (FLOAT_SUPPORT):
2237 (WINNT_SUPPORT):
76054cc8
AI
2238 (lisp): Reference .el files instead of .elc files, to simplify
2239 bootstrapping.
2240 ($(DOC)): Change dependency to just `make-docfile'.
2241
880820fe 22422001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
2243
2244 * COPYING: Removed.
2245
e8d6a09b
PE
22462001-11-28 Paul Eggert <eggert@twinsun.com>
2247
2248 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
2249
2250 The following changes are derived from suggestions by Bob Chapman
2251 <rechapman@compuserve.com>.
2252
2253 * rcs2log (printlogline): Also allow tab and newline to separate
2254 '(function):' from the rest of a comment.
2255 (reformat the sorted log entries): Require date and author to
2256 match the clumpname.
2257
9a190096
GM
22582001-11-16 Gerd Moellmann <gerd@gnu.org>
2259
2260 * ebrowse.c (matching_regexp): Escape '\\'.
2261
880820fe 22622001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
2263
2264 * Makefile.in: Add support for --program-prefix, --program-suffix
2265 and --program-transform-name options.
2266
6d8f7d5d
RS
22672001-11-03 Richard M. Stallman <rms@gnu.org>
2268
2269 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
2270
2271 * movemail.c (popmail): Always pass two args to `error'.
2272
84e70f78
KR
22732001-10-24 Ken Raeburn <raeburn@gnu.org>
2274
2275 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
2276 -lhesiod and maybe -lresolv.
2277 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
2278 support if it's available.
2279
386ca361
MB
22802001-10-21 Miles Bader <miles@gnu.org>
2281
a3b10252
MB
2282 * make-docfile.c (struct rcsoc_state): New type.
2283 (read_c_string_or_comment): Add SAW_USAGE
386ca361 2284 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
2285 Use a variable of type `rcsoc_state' to hold most of our state.
2286 (put_char): Add STATE parameter, and remove all other parameters
2287 except CH. Use STATE to get access to all needed state.
2288 (scan_keyword_or_put_char): New function.
386ca361
MB
2289 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
2290 Don't output a usage-string if there was one in the doc-string.
2291
71431a0e
GM
22922001-10-20 Gerd Moellmann <gerd@gnu.org>
2293
6aa97356 2294 * (Version 21.1 released.)
71431a0e 2295
880820fe 22962001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
2297
2298 * b2m.c: Properly spell the name of Emacs.
2299
945220bd
MB
23002001-10-17 Miles Bader <miles@gnu.org>
2301
2302 * make-docfile.c (put_char): New function.
2303 (read_c_string_or_comment): Strip trailing spaces and newlines.
2304
14242528
MB
23052001-10-16 Miles Bader <miles@gnu.org>
2306
2307 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
2308 comments [with `doc:' keyword prefix].
2309
9f5eb4a3
GM
23102001-10-15 Gerd Moellmann <gerd@gnu.org>
2311
2312 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
2313 in a C doc comment.
2314
e641b454
GM
23152001-10-13 Gerd Moellmann <gerd@gnu.org>
2316
2317 * make-docfile.c (read_c_string_or_comment): Renamed from
2318 read_c_string. Add parameter COMMENT. Read C-style comments.
2319 (scan_c_file): Handle doc strings in C comments.
2320
967d7793
AI
23212001-10-12 Andrew Innes <andrewi@gnu.org>
2322
2323 * makefile.nt (ALL): Do not include fakemail.
2324
2325 * makefile.w32-in (install): Do not copy fakemail.
2326
d682756a
JR
23272001-10-10 Jason Rumney <jasonr@gnu.org>
2328
07655e62 2329 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 2330
07655e62 2331 * makefile.nt (install): Ditto.
d682756a 2332
14a3dff7
GM
23332001-10-09 Gerd Moellmann <gerd@gnu.org>
2334
2335 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 2336
95bc7904 2337 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 2338
880820fe 23392001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
2340
2341 * profile.c: Include config.h, not ../src/config.h.
2342 Include systime.h, not ../src/systime.h.
2343
ab952a4f
GM
23442001-10-05 Gerd Moellmann <gerd@gnu.org>
2345
2346 * Branch for 21.1.
dff28924 2347
12c64503
GM
23482001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
2349
2350 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
2351 ALIASEE to help work with namespace aliases.
2352 (struct sym): Remove struct member NAMESP_ALIASES.
2353 (namespace_alias_table): New variable.
2354 (make_namespace): Add parameter CONTEXT.
2355 (check_namespace): New function.
2356 (find_namespace): Add parameter CONTEXT.
2357 (check_namespace_alias): New function.
02ce3e80
SM
2358 (register_namespace_alias): Change type of parameter OLD_NAME.
2359 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
2360 (check_namespace): New function.
2361 (enter_namespace): Call find_namespace with CONTEXT parameter.
2362 (match_qualified_namespace_alias): New function.
eec54bd7 2363 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 2364 While parsing qualified ident or type update namespace context and
12c64503 2365 restore it on exit.
eec54bd7
SM
2366 (parse_qualified_param_ident_or_type): Fix typo in comment.
2367 (globals): Change handling of namespace aliases.
2368 (version): Add year 2001.
12c64503 2369
990e1190
FP
23702001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
2371
2372 * etags.c (analyse_regex): If regex_arg is NULL, return
2373 immediately after a call to free_patterns.
2374
f2e7e23e
AS
23752001-09-05 Paul Eggert <eggert@twinsun.com>
2376
2377 * rcs2log (Help, mainline code): Add new option -L FILE.
2378 (Copyright): Update year.
02ce3e80
SM
2379 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
2380 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
2381 C locale.
2382 (mainline code): Handle nonstandard -u option differently, by
2383 transforming it to standard form. Check for "Working file: ", not
2384 "Working file:". Allow file names with spaces.
2385 (SOH, rlogfile): New shell vars.
dff28924 2386 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
2387 rlogfile.
2388
2389 Append ';;' to the last arm of every case statement, for
2390 portability to ancient broken BSD shells.
2391
02ce3e80 2392 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
2393 (pository): New var. This fixes some bugs where repositories are
2394 remote, or have trailing slashes.
02ce3e80 2395 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 2396 about that possibility.
dff28924 2397 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 2398 the output.
dff28924 2399
75c911eb
EZ
24002001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2401
2402 * ebrowse.c (SEEK_END): #define if not defined by system headers.
2403 Suggested by Dave Love <d.love@dl.ac.uk>.
2404
5ae10f4a
EZ
24052001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2406
2407 * makefile.nt (lisp): Synchronize with src/Makefile.in.
2408 * makefile.w32-in (lisp): Ditto.
2409
0e4011d8 24102001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
2411
2412 * grep-changelog (parse_changelog): Remove unused local variable.
2413
2414 * grep-changelog (main): Add new option --reverse.
2415 (print_log): Use it.
2416 (parse_changelog): Use it.
2417
3c88ae74
GM
24182001-07-20 Gerd Moellmann <gerd@gnu.org>
2419
2420 * grep-changelog: Remove RCS Id keyword.
2421
41848daa
GM
24222001-07-20 Juanma Barranquero <lektu@terra.es>
2423
6e07c0a5
GM
2424 * grep-changelog (parse_changelog): Add tests for defined values
2425 to quiet warning from Perl 5.005 or above.
177ab8ce 2426 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
2427 argument to prevent duplicate headers.
2428
2429 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 2430
467f1209
GM
24312001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
2432
2433 * emacsclient.c (print_help_and_exit): Fix help message for
2434 +LINE:COLUMN option.
2435
24362000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 2437
467f1209
GM
2438 * emacsclient.c (main): Add support for +LINE:COLUMN command line
2439 argument.
2440
bb24c64f
GM
24412001-07-16 Gerd Moellmann <gerd@gnu.org>
2442
2443 * ebrowse.c (main): Check that the output file exists and
2444 is non-empty if invoked with `--append'.
2445
880820fe 24462001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 2447
e335b66a
GM
2448 * etags.c (add_regex): Reset the whole newly allocated pattern
2449 buffer instead of the individual members. It's safer and works
ecc54057 2450 with XEmacs.
fa829470 2451
e335b66a 2452 * etags.1: Markups corrected.
fa829470 2453
6da5c7da
GM
24542001-05-08 Gerd Moellmann <gerd@gnu.org>
2455
02ce3e80 2456 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 2457
efbecf9d
GM
24582001-05-03 Gerd Moellmann <gerd@gnu.org>
2459
2460 * ebrowse.c (globals): Fix handling of namespace aliases.
2461
f4976ebc
EZ
24622001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
2463
2464 * etags.c (print_help): Enclose the regexp in the help text
2465 example in quotes.
2466
23431241
DL
24672001-04-05 Dave Love <fx@gnu.org>
2468
2469 * emacsclient.c (fail): Don't return a value.
fa829470 2470 (main): Cast uid values for sprintf.
23431241 2471
476bf681
GM
24722001-04-03 Gerd Moellmann <gerd@gnu.org>
2473
b3f6107b
GM
2474 * emacsclient.c (fail, main): Don't use implicit int return type.
2475
476bf681
GM
2476 * b2m.c (main): Always return a value.
2477
ef53d75e
GM
24782001-03-02 Gerd Moellmann <gerd@gnu.org>
2479
2480 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
2481 freshly allocated object in *LAST_ID.
2482 (read_line): Accept \r\n line endings.
2483
425de386
AI
24842001-02-24 Andrew Innes <andrewi@gnu.org>
2485
2486 * makefile.w32-in: Fix copyright notice.
2487
880820fe 24882001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
2489
2490 * etags.c (enum sym_type): New label st_C_template.
2491 (gperf input): Use it for switching to C++ from C.
2492 (consider_token): Do it.
c2a642c0
FP
2493 (C_entries): Initialise typdefcblev to quiet compilers.
2494 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 2495
f6839838
AI
24962001-02-22 Andrew Innes <andrewi@gnu.org>
2497
2498 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
2499 VMS header files.
2500 ($(BLD)\profile.obj): Ditto.
2501
2502 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
2503 VMS header files.
2504 ($(BLD)/profile.$(O)): Ditto.
2505
193fba87
AI
25062001-02-05 Andrew Innes <andrewi@gnu.org>
2507
2508 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2509 invocation of make-docfile, to work with Windows 2000.
2510
30526cc6
DL
25112001-01-31 Dave Love <fx@gnu.org>
2512
2513 * etags.c (in_word_set): Use `static' in definition (for pcc).
2514
880820fe 25152001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 2516
ecc54057 2517 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
2518 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2519 (C_entries): Tag token renamed to still_in_token because sunos4
2520 pcc wants to expand it as the token() macro even though it has no
2521 arguments.
2522
914d7258
AI
25232001-01-30 Andrew Innes <andrewi@gnu.org>
2524
2525 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2526 bug in the Mingw32 assert.h header file.
2527
880820fe 25282001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 2529
ecc54057
JB
2530 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2531 #define it for the sake of XEmacs.
b28e26be
FP
2532 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2533 HAVE_CONFIG_H. This change only affects a standalone etags.
2534 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2535 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2536 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 2537 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
2538 WINDOWSNT, as this is the correct way to use it.
2539
880820fe 25402001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
2541
2542 * etags.c: Be capable to parse nested struct-like structures.
2543 (structdef, structtag): Struct state machine revisited.
2544 (struct tok): Revisited.
2545 (cstack, nestlev, instruct): New struct and macros.
2546 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 2547 for dealing with nested class names.
8c463abe
FP
2548 (consider_token, make_C_tag, C_entries): Many changes for dealing
2549 with arbitrarily nested structures.
2550 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2551 (C_entries): Consider templates in C++.
2552 (sym_type): New constant st_C_class for detecting "class" also in
2553 C mode.
2554 (C_AUTO): New macro for automatic detection of C++.
2555 (consider_token): Automatic set C++ mode.
2556 (C_entries): New security check for yacc.
2557 (print_language_names, print_help): Mention the autodetect
07655e62 2558 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
2559 (C_entries): Tag C++ forward declarations if --declarations.
2560 (C_entries): Don't be fooled by things like XDEFUN.
2561 (consider_token): Discard asm pseudo function.
2562
e26f9ced
EZ
25632001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2564
2565 * etags.c: Add a coding: tag.
2566
a47b7816
GM
25672001-01-26 Gerd Moellmann <gerd@gnu.org>
2568
8c463abe 2569 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
2570 New variables.
2571 (matching_regexp): Use them instead of static variables in
2572 function scope.
2573
880820fe 25742001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa
FP
2575
2576 * etags.c (struct tok): Renamed from struct token.
2577 (token): Renamed from tok.
2578 (structtype): Make it a local variable.
2579 [DEBUG]: Use assert.
2580 (xrnew): Change the synopsis.
2581 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2582 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 2583 (token): Buffer renamed to line.
d22a24fa 2584 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 2585 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
2586 (linebuffer_setlen): Was grow_buffer, now also sets len.
2587 (consider_token, C_entries, Pascal_functions): Use it.
2588 (C_entries): Preventing problems relative to extern "C".
2589 (C_entries): Can tag more than one variable or func separated by
2590 comma when --declarations is used.
2591 (C_entries): More accurate tagging of members and declarations.
2592 (yacc_rules): Was global, made local to C_entries.
2593 (next_token_is_func): Removed.
2594 (fvdef): New constants fdefunkey, fdefunname.
2595 (consider_token, C_entries): Use them.
2596 (C_entries): Build proper lisp names for Emacs DEFUNs.
2597
21c2bbe0
GM
25982001-01-22 Gerd Moellmann <gerd@gnu.org>
2599
2600 * ebrowse.c (xfree): New function.
2601 (member, declaration, globals): Use xmalloc instead of alloca.
2602
880820fe 26032001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
2604
2605 * etags.c (print_language_names): Print filenames in addition to
2606 suffixes.
2607
880820fe 26082001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e
EZ
2609
2610 * etags.c (get_language_from_langname): Renamed from
2611 get_language_from_name.
eec54bd7
SM
2612 (get_language_from_filename): Renamed from get_language_from_suffix.
2613 Now first looks for the complete file name.
47df1a5e
EZ
2614 (language): New member char **filenames.
2615 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 2616 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 2617 for makefiles.
13dc0576 2618 (Makefile_targets): New function.
47df1a5e
EZ
2619 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2620 it conformant to the style of the rest of the code.
2621
291c7e74
GM
26222001-01-13 Gerd Moellmann <gerd@gnu.org>
2623
2624 * make-docfile.c (write_c_args): Print newlines as spaces.
2625
0dac6924
AI
26262001-01-06 Andrew Innes <andrewi@gnu.org>
2627
2628 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2629 of *.pdb.
2630
3e99d3b4
GM
26312001-01-03 Paul Eggert <eggert@twinsun.com>
2632
290afd83 2633 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
2634 cause user of rcs2log to overwrite arbitrary files, fixing
2635 a bug reported by Morten Welinder.
2636
2637 Don't put "exit 1" at the end of the exit trap; it's
2638 ineffective in POSIX shells.
2639
d6bb0c0d
GM
26402001-01-02 Gerd Moellmann <gerd@gnu.org>
2641
eec54bd7
SM
2642 * ebrowse.c (yyerror): Change to take two arguments.
2643 Add prototype. Change callers.
d6bb0c0d 2644
d5c00476 26452001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2646
2647 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2648 compiler warnings.
2649 (yyerror): Change parameter declarations to be of type long, so
2650 that they can take pointers on 64-bit platforms.
2651
2652 * emacsclient.c (main): Remove unused local variable statbfr.
2653 (main) <homedir>: Make its declaration conditional on
2654 SERVER_HOME_DIR, to avoid compiler warnings.
2655
2656 * emacsserver.c (main) <homedir>: Make its declaration conditional
2657 on SERVER_HOME_DIR, to avoid compiler warnings.
2658
2659 * fakemail.c (readline): Cast buffer to "long *" to pacify
2660 over-zealous compilers.
2661
7c89ea61
EZ
26622000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2663
2664 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2665
a6768cc5
GM
26662000-12-15 Gerd Moellmann <gerd@gnu.org>
2667
2668 * ebrowse.c (operator_name): Cast argument of isalpha to
2669 unsigned char.
2670
2671 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2672 Use them throughout instead of ctype functions/macros.
2673 (lowcase): Cast to unsigned char.
2674 (UPCASE): New macro.
2675 (canonicalize_filename): Use UPCASE instead toupper.
2676
2677 * fakemail.c (get_keyword): Make sure that isspace and
2678 similar aren't called with a negative argument.
2679
70de49cc
DL
26802000-12-13 Dave Love <fx@gnu.org>
2681
2682 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2683
4e8b894c
AI
26842000-12-06 Andrew Innes <andrewi@gnu.org>
2685
2686 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2687 don't know the real version, and I can't seem to get the quoting
2688 right in all circumstances.
2689
2690 * ebrowse.c (VERSION): Provide default definition, like etags.c
2691 does, because Windows build can't snarf this from version.el.
2692
88257bc8
AI
26932000-11-30 Andrew Innes <andrewi@gnu.org>
2694
2695 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2696 (install): Ditto.
2697
d19249e7
JR
26982000-11-23 Jason Rumney <jasonr@gnu.org>
2699
2700 * makefile.w32-in: Add targets for ebrowse.exe.
2701 (LOCAL_FLAGS): Add -DVERSION flag.
2702
7df6adc3
DL
27032000-09-25 Dave Love <fx@gnu.org>
2704
2705 * sorted-doc.c: Include config.h.
2706 [!HAVE_STDLIB_H]: Declare malloc.
2707
fe83b953
AI
27082000-09-14 Andrew Innes <andrewi@gnu.org>
2709
2710 * makefile.w32-in: Revert to Unix line endings.
2711
517699ca
DL
27122000-09-04 Dave Love <fx@gnu.org>
2713
2714 * movemail.c (index, rindex): Prototype conditionally.
2715
f8803e97
AI
27162000-09-03 Andrew Innes <andrewi@gnu.org>
2717
2718 * makefile.w32-in: Change to DOS line endings.
2719
f72adc12
EZ
27202000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2721
4034f3a8 2722 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2723 [!F_OK]: Provide default definitions only after including both
2724 fcntl.h and unistd.h.
2725
f678f592
DL
27262000-08-29 Dave Love <fx@gnu.org>
2727
2728 * movemail.c: Revert previous change.
2729
5b671d04
EZ
27302000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2731
2732 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2733
6fa86045
DL
27342000-08-28 Dave Love <fx@gnu.org>
2735
2736 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2737 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2738
746d9caf
AI
27392000-08-22 Andrew Innes <andrewi@gnu.org>
2740
2741 * ntlib.h (WIN32): Remove unnecessary definition.
2742 (sleep): Make argument unsigned long.
2743 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2744
2745 * ntlib.c (sleep): Make argument unsigned long.
2746
2747 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2748
2749 * makefile.w32-in: New file.
2750
3b541489
EZ
27512000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2752
2753 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2754 letter only if it is a drive letter.
2755
e5acf0ca
GM
27562000-07-14 Gerd Moellmann <gerd@gnu.org>
2757
02ce3e80 2758 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
2759
2760 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2761 by alloca.o.
2762
02ce3e80 2763 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 2764
4b92c49a
GM
27652000-07-10 Gerd Moellmann <gerd@gnu.org>
2766
2767 * ebrowse.c (yylex): Accept string literals with newlines in them.
2768 (process_pp_line): Handle case of string literal with newline
2769 in it in replacement text, which counts as continuing the
2770 replacement text in GNU C.
2771
831a6cb0
GM
27722000-07-02 Gerd Moellmann <gerd@gnu.org>
2773
2774 * ebrowse.c (token_string): Add missing tokens.
2775 (parm_list): Handle case of qualified pointers.
2776
53245ee2
DL
27772000-06-23 Dave Love <fx@gnu.org>
2778
2779 * ebrowse.c: Move config.h before other includes (which may use
2780 feature tests).
2781
dcbf2cd2
JM
27822000-06-14 Jim Meyering <meyering@lucent.com>
2783
2784 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2785
f1c7754a
JR
27862000-06-11 Jason Rumney <jasonr@gnu.org>
2787
2788 * makefile.nt: Add targets for ebrowse.
2789
2790 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2791 compare filenames.
2792
5f1aea9a
GM
27932000-06-06 Gerd Moellmann <gerd@gnu.org>
2794
2795 * ebrowse.c (ymalloc): Renamed from xmalloc.
2796 (yrealloc): Renamed from xrealloc.
2797
5bf244f1
DL
27982000-05-21 Dave Love <fx@gnu.org>
2799
2800 * movemail.c: Include config.h, not ../src/config.h.
2801 (Errmsg): Bump length.
2802
2803 * pop.c (ERROR_MAX): Increase to 160.
2804
ec82fb2f
GM
28052000-05-04 Gerd Moellmann <gerd@gnu.org>
2806
2807 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2808
5c922ea7
EZ
28092000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2810
02ce3e80
SM
2811 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2812 Define to semi-colon.
5c922ea7 2813 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 2814 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
2815 (process_file): Don't assume that fread always reads as many bytes
2816 as it was told to (DOS-style CR-LF text files fail this logic).
2817 (open_file): Allocate enough space for path->path plus the file
2818 name and the slash.
2819
6142fdcb 28202000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
2821
2822 * etags.c (Texinfo_functions): New function.
2823 (lang_names): Install it.
2824 (Texinfo_suffixes): New variable.
2825
cb9215e4
GM
28262000-04-19 Gerd Moellmann <gerd@gnu.org>
2827
2828 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2829 (declaration): Remove parameter IS_EXTERN.
2830 (class_definition): Remove unused variable.
2831
be0dbdab
GM
28322000-04-09 Gerd Moellmann <gerd@gnu.org>
2833
2834 * Makefile.in (INSTALLABLES): Add ebrowse.
2835 (ebrowse): New target.
2836
2837 * ebrowse.c: New file.
2838
c5aa0fc2
AS
28392000-03-29 Andreas Schwab <schwab@suse.de>
2840
2841 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2842
d054101f
GM
28432000-03-02 Gerd Moellmann <gerd@gnu.org>
2844
2845 * etags.c (lisp_suffixes) Add `LSP'.
2846
880820fe 28472000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 2848
eec54bd7 2849 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
2850 space, and use it throughout in place of isspace, thus preventing a
2851 potential signed char to int conversion problem.
10d1d0af 2852 (MSDOS): #undefine before redefining.
71cbb895 2853
880820fe 28542000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
2855
2856 * etags.c (many functions): Add prototypes.
2857
97fa0cc8
DL
28582000-02-10 Dave Love <fx@gnu.org>
2859
2860 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2861 (erlang_func): Add `static' to definitions to keep pcc happy.
2862
880820fe 28632000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
2864
2865 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2866 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2867 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2868 (getenv, getcwd): Only declare them if necessary.
2869 (EMACS_NAME): New constant macro.
2870 (print_version): Use it.
2871 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 2872
19e262bd 28732000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
2874
2875 * etags.c [WINDOWSNT]: #include <direct.h>
2876
19e262bd 28772000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 2878
19e262bd
FP
2879 * etags.c (all functions): Made them static.
2880 (all functions): Write prototypes.
e4100b7f 2881
55e30d2a
RS
28822000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2883
2884 * movemail.c (main): Improve error message if can't create lock file.
2885
c60ee5e7 28862000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
2887
2888 * emacsclient.c (socket_status): New function.
02ce3e80 2889 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
2890 for a socket based on the UID associated with the name.
2891
e4936aa9
GM
28922000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2893
2894 * emacsclient.c: Add option -a EDITOR and environment variable
2895 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2896
f0131492 28971999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
2898
2899 * movemail.c (popmail): Allow mailbox specifications of the
2900 form `po:username:hostname'.
2901
880820fe 29021999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
2903
2904 * etags.c (_GNU_SOURCE): Define only if undefined.
2905 (get_scheme): Declaration deleted.
02ce3e80 2906 (main): Error was called with an integer as second arg, instead of
e2081362
FP
2907 a char pointer.
2908 (canonicalize_filename): Bug removed.
2909
29101999-11-18 Dave Love <d.love@dl.ac.uk>
2911
2912 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2913 lossage from name clash with macro.
2914
b05d3bee
GM
29151999-11-13 Gerd Moellmann <gerd@gnu.org>
2916
2917 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2918
cb3a6c48
GM
29191999-11-03 Gerd Moellmann <gerd@gnu.org>
2920
2921 * etags.c (print_help): Change email address to send bugs to.
2922
880820fe 29231999-11-01 Francesco Potortì <pot@gnu.org>>
1c478461
FP
2924
2925 * etags.c: Add suffix psw for PSWrap.
2926 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2927 (Postscript_functions): Add code for PSWrap.
2928 (Scheme_functions): Use local pointer and new get_tag function.
2929 (get_tag): New name for old get_scheme.
2930 (process_file): Do not free NULL when file does not exist.
2931 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2932 (C_entries): Modifications that make --members tag even inside
2933 typedefs and C nested structs (one level only).
eec54bd7 2934 (consider_token): Correct a bug which prevented tagging of enum
1c478461 2935 constants.
eec54bd7 2936 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
2937 st_C_ignore. This makes it simpler to work when cblev!=0.
2938
02ce3e80 2939 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
2940 --declarations is used.
2941
2942 * etags.c (C_entries, consider_token): C++ `operator' now is
2943 tagged in most cases.
2944 As before, :: is not recognised if surrounded by spaces.
2945
2946 * etags.c (relative_filename): Account for DOS file names such
2947 that is impossible to make one relative to another.
2948
2949 * etags.c (sym_type): New st_C_extern tag.
2950 (gperf input): Use it for spotting external declarations.
a7c29764 2951 (print_help): Document the new behavior of --declarations.
1c478461
FP
2952 (fvextern): New global variable.
2953 (consider_token, C_entries): Use it.
2954
2955 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
2956 (etags_getcwd): Remove test for WINDOWSNT.
2957
2958 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
2959 foo.cgz, foo.cz, etc.
2960
2961 * etags.c (declarations): New global switch.
2962 (longopts): Describe it.
2963 (print_help): Document it.
2964 (C_entries): Use it.
2965 (process_file): Don't process a file twice.
2966
2967 * etags.c (Fortran_functions): No tags for "procedure".
2968
29691999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
2970
2971 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
2972 non-zero, returns a pointer to where the extension begins; callers
2973 changed.
2974 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2975 were foo.c.gz.
2976
880820fe 29771999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
2978
2979 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2980 (fvdev): New constant foperator.
2981 (consider_token): Use it to get "operator" in C++.
2982 (C_entries): Extend length of operator@ function name.
2983 (C_entries): Use foperator when necessary.
2984
2985 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
2986
2987 * etags.c (compressor): New struct for compressed files.
2988 (get_compressor_from_suffix): New function.
2989 (get_language_from_suffix): Use it. Also, semantics changed.
2990 (process_file): Consider compressed files, close file.
2991 (find_entries): Use different call arg for get_language_from_suffix,
2992 don't close file.
2993
2994 * etags.c (main): Call free_tree.
2995 (find_entries): Do not free curfile.
2996 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
2997 (prolog_pred, erlang_func, substitute): Cast strlen to int when
2998 comparing.
2999 (canonicalize_filename): Shut up compiler warning.
3000 (Perl_functions): Make tag significant.
3001
30021999-11-01 Dave Love <d.love@dl.ac.uk>
3003
3004 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
3005 (argument_type): New member at_icregexp.
3006 (lc_trans): New global.
3007 (main): Fill lc_trans. Process -c args.
3008 (add_regex): New arg determining whether to use translation table.
3009 (analyse_regex): New arg. Use it for add_regex.
3010
880820fe 30111999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3012
3013 * etags.c (init): Cosmetic change: NULL --> '\0'.
3014 (erlang_attribute): Bug corrected (uninitialized variable).
3015 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 3016 corrects a bug. All callers changed.
1c478461
FP
3017 (canonicalize_filename): New function.
3018 (process_file, etags_getcwd, absolute_dirname): Use it.
3019 (relative_filename, absolute_filename): Removed var shadowing.
3020 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 3021 compilers quiet.
1c478461
FP
3022 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
3023
3024 * etags.c (xrnew): New macro. All callers of xrealloc changed.
3025 (language): New typedef (was struct lang_entry).
3026 (curlang): New global variable.
02ce3e80 3027 (node): Typedef renamed from NODE.
1c478461
FP
3028 (linebuffer): New typedef (was struct linebuffer).
3029 (pattern): New typedef (was struct pattern). Some members added.
3030 Now used as element of a linked list.
3031 (patterns, num_patterns): Global variables deleted.
3032 (p_head): New global variable.
a64387ee 3033 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
3034 (get_language_from_name, get_language_from_interpreter)
3035 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 3036 (last_node): New global variable.
02ce3e80
SM
3037 (free_tree, add_node, put_entries, total_size_of_entries):
3038 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
3039 (number_len): Rewritten for elegance.
3040 (token): New typedef replaces TOKEN.
3041 (analyse_regex, add_regex): Rewritten for new functionality.
3042 (free_patterns): New function called from main and add_regex.
3043 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 3044 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
3045 (readline): Rewritten for new functionality.
3046
ecc54057 3047 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
3048 (print_help): --globals is now used for more than C-type languages.
3049 (Perl_functions): Tag global variables ("my" and "local").
3050
3051 * etags.c (print_help): Some messages clarified.
3052 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
3053 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
3054 (Python_functions, Cobol_paragraphs, Pascal_functions)
3055 (Lisp_functions, Postscript_functions, Scheme_functions)
3056 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
3057 (Cobol_paragraphs, Postscript_functions, TeX_functions)
3058 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
3059 of the global variable dbp.
3060 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3061 standard indentation.
3062
02ce3e80
SM
3063 * etags.c (Python_suffixes, lang_names, Python_functions):
3064 Python support.
1c478461 3065 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
3066 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
3067 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
3068 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
3069 (eat_white): Deleted.
3070
3071 * etags.c (CHAR, init): Keep into account non US-ASCII
3072 characters and compilers with default signed chars.
3073 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
3074 constructs.
ecc54057 3075 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 3076
ecc54057 3077 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
3078 (main): Put interval syntax here.
3079 (add_regex): And remove it from here.
3080
3081 * etags.c (suggest_asking_for_help): Provide a
3082 meaningful help message with and without LONG_OPTIONS.
3083
d07529f3 3084 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
3085 <stdlib.h, string.h>: Don't test MSDOS when including them.
3086 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
3087 (put_entries): Correctly use %ld instead of %d in printf.
3088
d07529f3 3089 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
3090 declare getcwd if HAVE_GETCWD.
3091 (consider_token): Dead break instruction removed.
3092
4ee9629e
PE
30931999-10-19 Paul Eggert <eggert@twinsun.com>
3094
3095 Add support for large files. Merge glibc 2.1.2.
1c478461 3096
4ee9629e 3097 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 3098 * movemail.c, pop.c:
4ee9629e
PE
3099 Do not include <stdlib.h>, as <config.h> does this now.
3100
3101 * b2m.c, emacsserver.c, etags.c, profile.c:
3102 Include <config.h> before any system include files.
1c478461 3103
4ee9629e 3104 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 3105 * test-distrib.c:
4ee9629e
PE
3106 (read, write, open, close): Do not undef.
3107
3108 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
3109 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
3110
3111 * getopt.h: Adopt glibc 2.1.2.
1c478461 3112
93c8d183
DL
31131999-10-15 Dave Love <fx@gnu.org>
3114
3115 * Makefile.in (pop.o): Depend on config.h.
3116
b358f91c
GM
31171999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3118
3119 * pop.c: Use "pop3" as the POP service name on all platforms,
3120 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
3121 has been the standard service name since RFC 1340 was published in
3122 July 1992, so I think it's safe to start using it by default.
3123
362bc2da
DL
31241999-09-27 Dave Love <fx@gnu.org>
3125
3126 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
3127
74e4cb59
PR
31281999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3129
3130 * make-docfile.c (scan_lisp_file): Fix previous changes;
3131 swallow CRLF like just CR or just LF.
3132
362bc2da
DL
31331999-09-03 Richard Stallman <rms@gnu.org>
3134
3135 * make-docfile.c: Include config.h not ../src/config.h.
3136 (main, fopen, chdir): Add #undef.
3137 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
3138 (scan_lisp_file): Handle \r like \n.
3139
31401999-08-30 Andreas Schwab <schwab@gnu.org>
3141
3142 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
3143
3144 * emacsserver.c: Include <stdlib.h> if available. Don't declare
3145 errno if it's a macro.
3146
3147 * test-distrib.c: Include <unistd.h> if available.
3148
31491999-08-29 Richard Stallman <rms@gnu.org>
3150
3151 * emacsclient.c (print_help_and_exit): Mention --version.
3152
31531999-08-25 Richard M. Stallman <rms@gnu.org>
3154
3155 * emacsclient.c (decode_options): Update version output.
3156 (print_help_and_exit): Update bug report address.
3157
31581999-08-13 Richard M. Stallman <rms@gnu.org>
3159
3160 * emacsclient.c (main): Move the dynamic allocation of
3161 system_name outside of the SERVER_HOME_DIR conditional.
3162 * emacsserver.c (main): Likewise.
3163
31641999-08-10 Gerd Moellmann <gerd@gnu.org>
3165
3166 * grep-changelog: New.
3167 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3168
31691999-07-12 Richard Stallman <rms@gnu.org>
3170
3171 * Version 20.4 released.
3172
31731999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3174
1c478461 3175 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
3176
31771999-06-23 Dave Love <fx@gnu.org>
3178
3179 * etags.c (erlang_attribute): Fix undefined variable usage (after
3180 Potorti).
3181
86e888c2 31821999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
3183
3184 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3185 mapped to _chsize.
3186
31871999-04-29 Richard M. Stallman <rms@gnu.org>
3188
3189 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3190
31911999-03-30 Dave Love <fx@gnu.org>
3192
3193 * sorted-doc.c (main): Split up tables. Modify the preamble
3194 somewhat.
3195
31961999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3197
3198 * makefile.nt: Remove common multiple file compilation commands.
3199
32001999-02-26 Richard Stallman <rms@gnu.org>
3201
362bc2da
DL
3202 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3203
3204 * yow.c: Refer to epaths.h.
3205
32061999-02-22 Simon Josefsson <jas@pdc.kth.se>
3207
3208 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3209
32101999-01-27 Andrew Innes <andrewi@gnu.org>
3211
3212 * makefile.nt: Do make version comparison as strings.
3213
32141999-01-25 Richard Stallman <rms@gnu.org>
3215
3216 * emacsclient.c (xmalloc): Fix previous change.
3217
32181999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3219
3220 * emacsclient.c (xmalloc): Declare to return long.
3221
32221999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3223
3224 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
3225 the case of the drive letter.
3226
32271999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
3228
3229 * emacsserver.c (main): Eliminate arbitrary limit on
3230 length of system_name.
3231
3232 * emacsclient.c (main): Eliminate arbitrary limit on
3233 length of system_name.
3234 (xmalloc): Define unconditionally.
3235
32361999-01-12 Darrin B. Jewell <jewell@mit.edu>
3237
3238 * etags.c (relative_filename): Stop backward search at beginning
3239 of string, since non-Unix systems can have absolute paths with no
3240 initial slash.
3241
32421998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3243
3244 * makefile.nt: Do string comparision of _NMAKE_VER.
3245
c60ee5e7 32461998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
3247
3248 * makefile.nt: Compile multiple source files when possible.
3249
32501998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
3251
3252 * Makefile.in: Replace tabs with spaces
3253 when they might confuse some Make versions.
3254
32551998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
3256
3257 * emacsclient.c (main): Null-terminate system_name.
3258
3259 * emacsserver.c (main): Null-terminate system_name.
3260
32611998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3262
3263 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
3264 an error message from POP, mention that it's from POP, to
3265 distinguish it from local error messages.
3266
32671998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3268
3269 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
3270 order of messages downloaded from a POP server (e.g., if the
3271 server stores messages in mailboxes in reverse order).
3272
32731998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3274
3275 * Version 20.3 released.
3276
32771998-08-11 Paul Eggert <eggert@twinsun.com>
3278
3279 * rcs2log: Update copyright date and bug report address.
3280 (initialize_fullname): Prefer getent if available.
3281
32821998-07-30 Paul Eggert <eggert@twinsun.com>
3283
290afd83 3284 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 3285 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 3286
362bc2da
DL
32871998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3288
3289 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3290
32911998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3292
3293 * Makefile.in: Properly terminate a comment.
3294
32951998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3296
3297 * movemail.c (sys_wait): Rename to wait.
3298
3299 * ntlib.h: Undefine _WINSOCKAPI_.
3300
3301 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
3302
33031998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3304
3305 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
3306
33071998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
3308
3309 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
3310 all file i/o to be in binary mode. Include ntlib.h.
3311
33121998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
3313
3314 * make-docfile.c: Include <unistd.h> for chdir.
3315
33161998-04-25 Richard Stallman <rms@psilocin.gnu.org>
3317
3318 * etags.c (TEX_decode_env): Don't free the value getenv returns.
3319
33201998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3321
3322 * makefile.nt (obj): Update with new files in src.
3323 (clean): Delete patch scratch files, optimized compilation dir.
3324
33251998-04-08 Dave Love <fx@gnu.org>
3326
3327 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
3328 Irix6, at least.
3329
33301998-04-06 Andreas Schwab <schwab@gnu.org>
3331
3332 Silence -Wimplicit:
3333 * movemail.c: Move cancelations up. Include <stdlib.h> if
3334 available.
3335 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
3336 (parse_header): Explicitly declare return type.
3337 * emacsserver.c: Include <unistd.h> if available.
3338 (main, handle_signals, perror_1, fatal_error): Explicitly declare
3339 return types. Add forward declarations.
3340 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
3341 Don't declare geteuid.
3342 (print_help_and_exit): Change return type to void. Forward
3343 declare it.
3344 * b2m.c: Include <stdlib.h> if available.
3345 (main): Explicitly declare return type.
3346
362bc2da
DL
33471998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3348
3349 * etags.c (put_entries): Use %ld.
3350
3351 * b2m.c (fatal): Declare the arg.
3352
33531998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3354
3355 * pop.c (pop_getline): Renamed from getline.
3356
33571998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3358
3359 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3360 for the utilities.
3361
33621998-01-23 Dave Love <d.love@dl.ac.uk>
3363
3364 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3365 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3366 Always make named tags.
3367 (Fortran_functions): Grok BLOCK DATA.
3368
33691998-01-23 Andreas Schwab <schwab@gnu.org>
3370
3371 * movemail.c (main): Fix interwoven brace and cpp conditional
3372 nesting.
3373
362bc2da
DL
33741997-12-03 Paul Eggert <eggert@delysid.gnu.org>
3375
cb438d6e
JB
3376 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
3377 with a '>' any lines starting with "From " read from the POP server,
3378 but leave the code in place, wrapped in #ifdef
362bc2da
DL
3379 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3380 because it turns out that something is depending on it. Change
3381 suggested by Paul Eggert <eggert@twinsun.com>.
3382 Convert the character \037 (^_) at the beginning of a line into
3383 the character '^' followed by the character '_', because otherwise
3384 Emacs can't parse the resulting file as a valid BABYL file.
3385 Change suggested by Paul Eggert <eggert@twinsun.com>.
3386
33871997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3388
3389 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3390 server to contain embedded nulls.
3391
33921997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 3393
362bc2da
DL
3394 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
3395 quotes with a '>' any lines starting with "From " read from the
3396 POP server, but leave the code in place, wrapped in #ifdef
3397 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3398 because it turns out that something is depending on it. Change
3399 suggested by Paul Eggert <eggert@twinsun.com>.
3400
3401 Convert the character \037 (^_) at the beginning of a line into
3402 the character '^' followed by the character '_', because otherwise
3403 Emacs can't parse the resulting file as a valid BABYL file.
3404 Change suggested by Paul Eggert <eggert@twinsun.com>.
3405
34061997-11-22 Richard Stallman <rms@gnu.org>
3407
3408 * b2m.c: Include getopt.h.
3409 (main): Use getopt_long to handle --version and --help.
3410
3411 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
3412
34131997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3414
3415 * pop.c (fullwrite): Get rid of an extra call to write. Problem
3416 pointed out by Chiaki Ishikawa.
3417
34181997-10-16 Dave Love <d.love@dl.ac.uk>
3419
ecc54057
JB
3420 * etags.c (L_getit): Always make named tags so that Emacs
3421 completion on symbols containing `:' etc. works.
3422 (get_scheme): Likewise.
362bc2da
DL
3423
34241997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3425
3426 * pop.c: Use system header files instead of declaring C-library
3427 functions explicitly.
3428
34291997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3430
3431 * Version 20.2 released.
3432
34331997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3434
3435 * Version 20.1 released.
3436
34371997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3438
3439 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
3440
3441 * ntlib.c (getpid): Delete function.
3442
34431997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3444
3445 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
3446
34471997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3448
3449 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
3450 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
3451
34521997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3453
3454 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
3455
34561997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
3457
3458 * profile.c (get_time): Cast arg to fprintf.
3459
3460 * hexl.c (main): Use %08lx instead of %08x in printf because the
3461 variable named addresses is long.
3462
34631997-08-08 Geoff Voelker <voelker@cs.washington.edu>
3464
3465 * makefile.nt (lisp): Update paths to lisp files that have moved.
3466
34671997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
3468
3469 * makefile.nt (ctags.obj): New target.
3470 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
3471
3472 * ntlib.h: Add includes.
3473 Undo definitions of crt routines from config.h.
3474
34751997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3476
3477 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
3478
34791997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3480
3481 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3482 Kerberos V5 for movemail, including detection of V4 and V5 header
3483 files and libraries.
362bc2da 3484 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 3485 declarations of string functions.
362bc2da 3486 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 3487 V5 API rather than the old one.
362bc2da 3488 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
3489 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3490 with a constant in a header file.
362bc2da
DL
3491
3492 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3493 Kerberos V5 for movemail, including detection of V4 and V5 header
3494 files and libraries.
362bc2da
DL
3495
34961997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3497
3498 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3499
3500 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 3501
362bc2da
DL
35021997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3503
3504 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3505
35061997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3507
3508 * movemail.c (rindex): Add declaration.
3509
d57727c9 35101997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
3511
3512 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3513 (movemail.exe): Depend upon and link with getopt files.
3514 (obj): Include new source files.
3515 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3516 (lisp): Include new and reorganized elisp files.
3517
35181997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3519
3520 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3521
35221997-06-25 Paul Eggert <eggert@twinsun.com>
3523
3524 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3525
35261997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3527
3528 * b2m.c (readline): Terminate buffer properly when EOF seen.
3529 Test for valid pointer before dereferencing it.
3530
880820fe 35311997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3532
3533 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3534 defined inside etags.c if HAVE_CONFIG_H is defined.
3535
880820fe 35361997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3537
ecc54057 3538 * etags.c (logical): Type name changed to bool.
362bc2da
DL
3539 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3540 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3541 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3542 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3543 (longopts): New long options without short counterpart are
3544 globals, members, no-globals, no-members. Regexp options are now
3545 defined conditionally to ETAGS_REGEXPS.
3546 (print_help): Updated.
3547
880820fe 35481997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3549
3550 * etags.c (C_entries): Use "." instead of "::" for Java.
3551 (consider_token): is_func renamed to is_func_or_var.
3552 (C_entries): is_func renamed to funorvar.
3553 (C_entries): Initialise tok.named.
3554 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3555 get rid of "import", "package" and "friend".
3556 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 3557 users changed.
362bc2da
DL
3558 (C_entries): Make separate tags for variables separated by comma.
3559 (globals, members): New flags.
3560 (main, C_entries): Use them.
3561 (make_C_tag, C_entries): Make tok a global variable.
1c478461 3562
880820fe 35631997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3564
3565 * etags.c (funcdef): New vignore constant.
3566 (consider_token, C_entries): Use it to tag global variables.
3567 (print_help): Update for global variables.
3568 (consider_token, C_entries): Set the len member of token_name.
3569 (prolog_pred): Cleanup according to GNU coding standards.
3570 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3571 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3572
880820fe 35731997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3574
3575 * etags.c (CHARS, CHAR): New constant and macro.
3576 (iswhite, begtoken, intoken, endtoken): Use them.
3577 (notinname, _nin, nonam): New macro, array, string.
3578 (init): Cleanup and init _nin.
3579 (new_pfnote): New function.
3580 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 3581 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 3582
880820fe 35831997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3584
3585 * etags.c (C_entries, Pascal_functions): Cleanup.
3586 (TeX_functions): NULL as a function arg needs a cast.
3587 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3588
880820fe 35891997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3590
3591 * etags.c (TeX_functions): Cleaned up.
3592 (tex_getit): Removed.
3593
35941997-05-13 Paul Eggert <eggert@twinsun.com>
3595
3596 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 3597 non-files within the RCS subdirectory.
362bc2da 3598
880820fe 35991997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3600
3601 * etags.c (C_JAVA): New #define.
3602 (Cjava_suffixes): .java is Java.
3603 (Cjava_entries): New function.
3604 (lang_names): Add Java.
3605 (sym_type): Add st_C_javastruct for Java.
3606 (C_stab_entry): Add `extends' and `implements' keywords.
3607 (consider_token, C_entries): Recognise Java structures.
3608
880820fe 36091997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3610
ecc54057 3611 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3612 (Postscript_suffixes): .ps is Postscript.
3613 (lang_names): Add Postscript.
3614 (Postscript_functions): New function.
3615 (TEX_decode_env): Close minor memory leak.
3616 (just_read_file): Correct the char number of the tag.
3617
36181997-05-11 Paul Eggert <eggert@twinsun.com>
3619
3620 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3621 Don't prepend $nl since this causes some shells to generate the
3622 empty string when IFS is $nl.
362bc2da 3623 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3624 PC-based shells mishandle CR.
362bc2da
DL
3625 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3626 nismatch, in case it's set to some nonstandard value.
1c478461 3627
362bc2da
DL
36281997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3629
3630 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3631 read in separate blocks.
3632
880820fe 36331997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3634
3635 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3636 (struct linebuffer): New member `len' is the length of the string.
3637 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3638 Use it instead of strlen.
3639 (TEX_getit): Declare and define unconditionally as static.
3640 (TeX_functions): Use if instead of #if TeX_named_tokens.
3641 (add_regex): Set RE_INTERVALS flag for regex compilation.
3642 (substitute): Code cleanup.
3643 (readline_internal): Code cleanup, set new member `len'.
3644 (readline): Bug corrected.
3645
36461997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3647
3648 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3649 (obj): Change references of nt*.c files to w32*.c files.
3650
880820fe 36511997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3652
3653 * etags.c (xnew): Add support for debugging with chkmalloc.
3654 (error): Use this instead of printf whenever possible.
3655 (main): Only call xnew after having initialised progname.
3656 (substitute): Bad memory corruption error corrected.
3657
880820fe 36581997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3659
3660 * etags.c (add_regex): Undo previous change.
3661 (relative_filename): Small memory leak closed.
3662 (absolute_filename): Cleaned up the code, possibly closing a bug.
3663 (absolute_dirname): Always return a newly allocated string.
1c478461 3664
362bc2da
DL
36651997-03-21 Paul Eggert <eggert@twinsun.com>
3666
3667 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3668 of the form ,*, or *_; they are probably RCS lock files.
3669 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3670 they are used by rcsfreeze.
3671
880820fe 36721997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3673
2f2c687b 3674 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
3675
36761997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3677
3678 * movemail.c (popmail): Remove some unnecessary function
3679 declarations.
3680 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3681 into pop_retr, there's no reason to pass in mbx_write, and the
3682 file argument can be declared FILE * explicitly. This fixes a
3683 compilation problem on systems with 64-bit pointers.
3684
36851997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3686
3687 * movemail.c: Delete duplicate inclusion of fcntl.h
3688 and duplicate #undefs of open, read, write, close.
3689
36901997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3691
3692 * movemail.c (main): Do not display "[POP-password]" in the usage
3693 message when movemail is compiled without POP support.
3694 (main, popmail): Add the optional "-p" argument, which causes
3695 movemail to leave mail in the inbox after copying it into the
3696 output file.
1c478461 3697
362bc2da
DL
3698 * Makefile.in (movemail): Link with getopt.
3699
37001997-01-20 Paul Eggert <eggert@twinsun.com>
3701
ecc54057 3702 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3703 (Copyright, Help, Id): New variables, for above.
3704 (rlog): Use -q option with cvs log, to avoid useless chatter.
3705
3706 Treat logs of "Initial revision" (RCS) or "file F was initially added
3707 on branch B." (CVS) as if they said "New file.", for consistency with
3708 change log entries.
3709
37101997-01-01 Paul Eggert <eggert@twinsun.com>
3711
3712 * vcdiff (PATH): Add /usr/xpg4/bin,
3713 where XPG4 SCCS hangs out in Solaris 2.5.
3714 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3715
37161996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3717
3718 * etags.c (streq, strneq): Use == NULL rather than !.
3719
37201996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3721
3722 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3723 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3724
3725 * movemail.c: Include maillock.h (conditionally).
3726 Remove a redundant inclusion of <stdio.h>.
3727 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3728 (main): Add variable spool_name.
3729 Support the usage of maillock and mailunlock to
ecc54057 3730 lock and unlock mailboxes.
362bc2da
DL
3731 (mail_spool_name): New function.
3732
3733 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3734 movemail to exit with an error status incorrectly on systems which
3735 use lock files rather than a system locking function to lock
3736 mailboxes.
362bc2da
DL
3737
37381996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3739
3740 * pop.c (socket_connection): Free realhost after using it.
3741
880820fe 37421996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3743
3744 * etags.c (C_entries): Test tok.valid. This handles some
3745 particular cases involving function declarations that failed.
3746
37471996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 3748
362bc2da
DL
3749 * pop.c (socket_connection):
3750 gethostbyname may return a pointer to static data.
3751 krb_realmofhost can clobber it. So copy it.
3752
880820fe 37531996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3754
3755 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3756 must cast it to (char *) because we have no prototypes.
3757 (make_C_tag): Macro deleted, new function.
3758 (C_entries): Calls to make_C_tag macro changed to call function.
3759
880820fe 37601996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3761
3762 * etags.c (grow_linebuffer): New function.
3763 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3764 (make_tag): Macro renamed to make_C_tag. All callers changed.
3765 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3766 (Prolog_functions): prolog_skip_comment was called with wrong
3767 number of arguments.
3768 (xrealloc): fatal was called with wrong number of arguments
3769
880820fe 37701996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3771
3772 * etags.c (relative_filename): Bug corrected.
3773 (etags_getcwd): Avoid warning of unused variable.
3774 (C_entries, consider_token): Added support for enum labels.
3775
37761996-11-03 Paul Eggert <eggert@twinsun.com>
3777
3778 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 3779 repository file names.
362bc2da
DL
3780
37811996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3782
3783 * emacsserver.c: Fix 1996-09-02 change.
3784
37851996-10-12 Paul Eggert <eggert@twinsun.com>
3786
3787 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 3788 option', since CVS says 'invalid option'.
362bc2da
DL
3789 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3790 revisions, since some hosts reject 1970-01-01 when east of UTC.
3791 (date): Remove.
3792
37931996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3794
3795 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3796
880820fe 37971996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3798
3799 * etags.c (print_version): Print copyright info.
3800
3801 * etags.c (print_help): Print the bug reporting address.
3802 (main): Use return as the last instruction, instead of exit.
3803
3804 * etags.c (main): Don't open the tags file in cxref mode.
3805
38061996-09-29 Dave Love <d.love@dl.ac.uk>
3807
3808 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 3809 as well as earlier CVSs and RCS.
362bc2da
DL
3810
38111996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3812
3813 * movemail.c (main): If the lock call fails with EBUSY or
3814 EAGAIN, retry a few times.
3815
38161996-09-25 Paul Eggert <eggert@twinsun.com>
3817
3818 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 3819 whether to append -zLT.
362bc2da
DL
3820
38211996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3822
3823 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3824 * emacsclient.c, movemail.c: Likewise.
3825
38261996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3827
3828 * emacsclient.c (longopts): Change nowait to no-wait.
3829 (print_help_and_exit): Fix option name; upcase metavars.
3830
38311996-09-06 Erik Naggum <erik@naggum.no>
3832
3833 * emacsserver.c (main): Declare `fromlen' as size_t.
3834
38351996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3836
3837 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3838
38391996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3840
3841 * emacsclient.c (quote_file_name): Quote with &, not \.
3842 Quote `-' only at start of file name. Terminate the value string.
3843
3844 * emacsserver.c: Include signal.h properly;
3845 delete the duplicate includes for it.
3846
3847 * emacsserver.c: On fatal signal, delete socket-file:
3848 * emacsserver.c: Include signal.h.
ecc54057 3849 (xmalloc, fatal, error): New functions.
362bc2da
DL
3850 (delete_socket, handle_signals): New functions.
3851 (progname, socket_name): New variables.
3852 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3853
38541996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3855
3856 * emacsclient.c (quote_file_name): New function.
3857 (main, both versions): Use quote_file_name.
3858 (decode_options): Don't return a value.
3859 (main, both versions): Use optind.
3860 Don't check for -nowait here.
1c478461 3861
362bc2da
DL
3862 * emacsclient.c (decode_options): New function.
3863 (main, both versions): Call decode_options.
3864 (print_help_and_exit): New function.
3865 (VERSION): New macro.
3866
3867 * Makefile.in (emacsclient): Link with getopt.
3868 Add -DVERSION so emacsclient knows its version number.
3869
38701996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3871
3872 * makefile.nt (lisp): Include dos-nt.elc.
3873
38741996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3875
3876 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3877
38781996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3879
3880 * emacsclient.c (both versions): Handle -nowait and --nowait
3881 by sending data to the server.
3882
38831996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3884
3885 * Makefile.in (INSTALL_STRIP): New variable.
3886 (${archlibdir}): Use INSTALL_STRIP.
3887
3888 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3889 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3890
3891 * pop.c: Reverse conditional in previous change.
3892
38931996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3894
3895 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3896
38971996-08-24 Paul Eggert <eggert@twinsun.com>
3898
3899 * rcs2log: Use ISO 8601 date format, with time zone appended
3900 if change-log-time-zone-rule is non-nil, instead of
3901 traditional Unix date format.
3902
3903 (datearg): When computing default from ChangeLog, handle ISO format
3904 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3905 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 3906 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
3907 "$datearg" option to $rlog.
3908 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3909 (month_data): Remove `mo'; no longer needed.
10d1d0af 3910 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
3911
3912 Match `revision' line of rlog output more accurately.
3913
3914 Add -c, -v options.
3915
39161996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3917
3918 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3919
39201996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3921
3922 * Version 19.33 released.
3923
39241996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3925
3926 * Version 19.32 released.
3927
39281996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3929
3930 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3931 computing character positions in source files.
3932
39331996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3934
3935 * makefile.nt (clean): Use OBJDIR macro.
3936
39371996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3938
3939 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3940
c60ee5e7 39411996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 3942
ecc54057 3943 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
3944 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3945 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
3946
39471996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
3948
3949 * ntlib.h: Correct return type of getwd.
3950 * ntlib.c (getwd): Correct return type.
3951
39521996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3953
3954 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
3955 to infile.
3956
39571996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3958
3959 * makefile.nt: Remove all references to wakeup.
3960
880820fe 39611996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3962
3963 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3964 explicit, mutable, typename.
3965
39661996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3967
3968 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
3969 streams, one for sending and one for reading the reply.
3970
39711996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3972
3973 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
3974 (wakeup): Target deleted.
3975 (UTILITIES): Delete wakeup and timer.
3976
3977 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
3978
39791996-06-11 Geoff Voelker <voelker@cs.washington.edu>
3980
3981 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
3982 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
3983
39841996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3985
3986 * etags.c (main): Copy cwd when appending slash.
3987
39881996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3989
3990 * Version 19.31 released.
3991
880820fe 39921996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3993
3994 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3995 (Pascal_functions): Increase linecharno by the correct number of
3996 chars, inline the GET_NEW_LINE macro and delete its definition.
3997
c60ee5e7 39981996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3999
4000 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4001
c60ee5e7 40021996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4003
4004 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
4005 (movemail.exe, fakemail.exe): Now built under Win32.o
4006
4007 * ntlib.c: Include ntlib.h.
4008 (nt_sleep): Rename to sleep.
4009 (getwd): Return directory.
4010 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
4011 sys_ctime, sys_fopen): New functions.
4012
4013 * ntlib.h: New file.
4014
40151996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4016
4017 * pop.c (SEND, RECV): Renamed from send, recv.
4018 (pop_open, pop_trash): Make the trash_started code unconditional.
4019 (socket_connection): Delete casts to void.
4020
40211996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4022
4023 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
4024 copied from lisp.h.
4025
40261996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4027
4028 * fakemail.c [WINDOWSNT]: Include ntlib.h.
4029
4030 * hexl.c [DOSNT]: Include fcntl.h.
4031 [WINDOWSNT]: Include io.h.
4032 (main) [MSDOS]: Change conditional to DOS_NT.
4033
4034 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
4035 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
4036 [WINDOWSNT]: Include locking.h.
4037 (main): Update usage message. Use IS_DIRECTORY_SEP.
4038 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
4039 (main) [WINDOWSNT]: Invoke locking instead of flock.
4040 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
4041 (main) [MAIL_USE_POP]: Pass password to popmail if used.
4042 Include winsock.h; don't include unix inet headers.
4043 (popmail): Add password argument and pass it to pop_open.
4044 Open output file in binary mode.
4045
4046 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 4047 Macro SOCKET_ERROR undefined.
362bc2da
DL
4048 Don't declare h_errno.
4049 [!WINDOWSNT]: Define macros recv and send.
4050 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
4051 (pop_open) [WINDOWSNT]: Initialize trash_started.
4052 (have_winsock) [WINDOWSNT]: New variable.
4053 (socket_connection) [WINDOWSNT]: Initialize winsock.
4054 (socket_connection): Use closesocket instead of close.
4055 (getline): Use recv instead of read.
4056 (fullwrite): Use send instead of write.
4057 (pop_trash): Use closesocket instead of close.
4058 (pop_trash) [WINDOWSNT]: Cleanup winsock.
4059 Check if being called recursively by sendline.
4060
4061 * pop.h (struct _popserver): New field trash_started.
4062
4063 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
4064
40651996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4066
4067 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
4068
40691996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4070
4071 * etags.c [WINDOWSNT]: Include io.h.
4072
40731996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4074
4075 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4076
40771996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
4078
4079 * hexl.c [DJGPP v2]: Include io.h.
4080 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
4081
4082 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
4083 DJGPP v2.
4084
40851996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4086
4087 * etags.c (absolute_filename): Use absolutefn.
4088
40891996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
4090
4091 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
4092 letter isn't an alphabetic character.
4093 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
4094 (process_file) [DOS_NT]: Convert all slashes to forward style.
4095 (absolute_filename) [DOS_NT]: Emit error message for relative
4096 paths with a drive letter.
4097 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
4098 DOS/NT drive letters which try to reference the parent of the root.
4099 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
4100
41011996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4102
4103 * makefile.nt: Change uses of del to $(DEL).
4104
880820fe 41051996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4106
4107 * etags.c (just_read_file): Reset lineno and charno on entry.
4108
41091996-03-15 Anders Lindgren <andersl@csd.uu.se>
4110
4111 * etags.c: Prolog language totaly rewritten.
ecc54057 4112 (Prolog_functions): Rewritten from scratch.
362bc2da 4113 (skip_comment, prolog_getit): Removed.
ecc54057
JB
4114 (prolog_skip_comment): New function, like old skip_comment.
4115 (prolog_pred, prolog_atom, prolog_white): New functions.
4116 (erlang_func, erlang_attributes): Forward declarations added.
4117 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 4118
880820fe 41191996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4120
4121 * etags.c (absolutefn): DOS_NT version corrected.
4122 (main): Append "/" to the dir name only if not already there.
4123 (print_help): Explain the absolute/relative file name issue.
1c478461 4124
362bc2da
DL
41251996-03-08 Anders Lindgren <andersl@csd.uu.se>
4126
10d1d0af
JB
4127 * etags.c: New Language Erlang added.
4128 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
4129 (erlang_white): New functions.
362bc2da
DL
4130 (Erlang_suffixes): New suffix list.
4131 (lang_names): Erlang entry added.
4132 (prolog_getit): Accepts headers spanning several lines.
4133 Always name tags.
4134 (Prolog_functions): Removed incorrect compensation for
4135 newline characters.
4136 (readline_internal): Zero-terminate last line.
4137
41381996-03-20 Mike Long <mike.long@analog.com>
4139
4140 * b2m.c (main): Initialize progname variable before using it.
4141 Quote `username' in From_ header.
4142
41431996-03-18 Geoff Voelker <voelker@cs.washington.edu>
4144
4145 * ntlib.c (getpid): New function.
4146
41471996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4148
4149 * emacsclient.c (main, both definitions):
4150 Print a newline for normal termination.
4151
41521996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4153
4154 * tcp.c (main): Convert port to network byte order.
4155
41561996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4157
4158 * pop.c (pop_retrieve, getline): Avoid type clashes.
4159
41601996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4161
4162 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4163
41641996-01-15 Paul Eggert <eggert@twinsun.com>
4165
4166 * rcs2log (initialize_fullname): Add support for NIS+.
4167 (hostname): Fully qualify the default hostname with the domainname
4168 if the hostname lacks a `.'.
4169
362bc2da
DL
41701996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4171
4172 * etags.c (consider_token): Fix typo in expression.
4173
41741996-01-04 Paul Eggert <eggert@twinsun.com>
4175
4176 * etags.c (substitute): Fix spelling in message.
4177
41781996-01-03 George V. Reilly <georger@microcrafts.com>
4179
4180 * makefile.nt (etags, ctags): Compile with regexp support.
4181 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
4182 subdirectory exists before compiling.
1c478461 4183
362bc2da
DL
41841996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4185
4186 * emacsserver.c (main): Do chmod based on existing permission.
4187
41881995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4189
4190 * Makefile.in (install): Turn on read/execute permission.
4191
41921995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4193
4194 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
4195 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
4196
41971995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4198
4199 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
4200
880820fe 42011995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4202
4203 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
4204 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
4205 get_scheme, prolog_getit): Name the tag in ctags mode.
4206 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
4207 (Perl_interpreters): Accept "@PERL@" as an interpreter.
4208 (suggest_asking_for_help): New function.
4209 (main, get_language_from_name): Use suggest_asking_for_help.
4210 (main): Let get_language_from_name make language existence check.
4211 (streq, strneq): Check the arguments #if DEBUG.
4212
880820fe 42131995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4214
4215 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
4216 (gperf): Added keywords for Objective C and GNU macros.
4217 (sym_type): Added values to account for Objective C and GNU macros.
4218 (begtk): The '@' character can start a token.
4219 (objdef, methodlen, objtag): New variables for Objective C.
4220 (consider_token, C_entries): Added code for Objective C.
4221 (plain_C_suffixes): Add .m and .lm for Objective C.
4222 (Yacc_suffixes): Add .ym for Objective yacc.
4223 (GROW_LINEBUFFER): New macro.
4224 (consider_token, C_entries, Pascal_functions): Use the new macro.
4225 (consider_token): Take one more argument. Caller changed.
4226 (consider_token): Use the hashing function to spot GNU macros.
4227 (C_entries): Consider // as a comment start even in plain C for
4228 the sake of Objective C parsing.
4229
880820fe 42301995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 4231
2f2c687b 4232 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 4233 compile with regexp support enabled.
362bc2da
DL
4234
42351995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4236
4237 * Version 19.30 released.
4238
42391995-11-22 Geoff Voelker <voelker@cs.washington.edu>
4240
4241 * makefile.nt (DOC, clean): Don't use switches to del not
4242 supported by Windows 95.
4243
42441995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4245
4246 * Makefile.in (regex.o): Depend on ../src/config.h.
4247
42481995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4249
4250 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
4251 (LOADLIBES): Use LIB_STANDARD.
4252
42531995-11-07 Kevin Gallo <kgallo@microsoft.com>
4254
4255 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
4256 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
4257 Windows 95 conditional.
4258
880820fe 42591995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4260
4261 * etags.c (get_lang_from_name, get_lang_from_interpreter,
4262 get_lang_from_suffix): New functions.
4263 (get_language): Function deleted.
4264 (lang_entry): Two members added to struct.
4265 (lang_names): Reflect the new layout of lang_entry.
4266 (print_language_names, main, find_entries): Use the new functions.
4267 (find_entries): Look at the first line for #! if no language.
4268 (C_entries): Invalidate the token when funcdef is reset.
4269 (Perl_functions): New function.
4270 (lang_suffixes): .pl and .pm are Perl suffixes.
4271
880820fe 42721995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4273
4274 * etags.c (lowcase): Use the standard tolower function.
4275 (substitute): Remove some wrong and some useless code related with
a64387ee 4276 escape '\' character in regexp replacement string.
362bc2da
DL
4277 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
4278 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4279 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4280 .prolog for prolog (.pl removed).
4281 (massage_name, etags_getcwd): Use lowcase instead of tolower.
4282 (C_entries, find_entries): Added comments about memory leakage.
4283 (add_node): Dead code removed.
4284
42851995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4286
4287 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
4288 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
4289
42901995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4291
4292 * test-distrib.c: Add #undef for open, close, read, write.
4293
42941995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4295
4296 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
4297 [! O_RDONLY]: Define it to zero.
4298 (main): Use O_RDONLY instead of explicit zero.
4299
880820fe 43001995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4301
4302 * etags.c (Pascal_functions): Close comment bug corrected.
4303 (add_node): Correctly compare node file names.
4304 (Pascal_functions): Correctly allocate and free memory for tline.
4305 (pfnote): Put the definition of fp in the innermost block.
4306 (NODE): `named' member removed.
4307 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 4308 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
4309 (pfnote): `named' argument removed, all callers changed.
4310 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4311 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 4312 removed from pfnote call, some code cleanup.
362bc2da
DL
4313 (relative_filename): Free temporary space allocated by concat.
4314
43151995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4316
4317 * Makefile.in (getdate.c): New target.
4318 (getdate.o): Just compile getdate.c.
4319
43201995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
4321
4322 * fakemail.c (xrealloc): Change cast to match return type.
4323
43241995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4325
4326 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
4327
43281995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4329
4330 * movemail.c (main): Fix previous change.
4331 Add error check for empty OUTNAME.
4332
43331995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4334
4335 * movemail.c (main): Mention lock file name in error message.
4336
43371995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4338
4339 * profile.c (gettimeofday): New function, defined if necessary.
4340
43411995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4342
4343 * Makefile.in: Renamed from Makefile.in.in.
4344 (distclean): Delete Makefile.c, not Makefile.in.
4345
43461995-07-17 Michael Shields <shields@tembel.org>
4347
4348 * Makefile.in.in (tags): Synonym for `TAGS'.
4349
43501995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4351
4352 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4353 configure has already set $(INSTALL) to the proper relative path.
4354
880820fe 43551995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4356
2f2c687b
JB
4357 * etags.c (plain_C_entries): New function.
4358 (lowcase): New macro.
4359 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4360 (lang_suffixes): New suffix ".pc" for Pro*C files.
4361 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4362 (tail): Look for the end of the token when comparing.
4363 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4364
43651995-07-08 Paul Eggert <eggert@twinsun.com>
4366
4367 * rcs2log (datearg): Separate date from time with comma, not space,
4368 to work around CVS 1.5 bug.
4369 (CVSROOT): Don't abort when unset if repository is absolute.
4370
43711995-07-07 Paul Eggert <eggert@twinsun.com>
4372
4373 * rcs-checkin, rcs2log, vcdiff:
4374 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4375 that interpret `#! /' as a 4-byte magic number.
4376
43771995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4378
4379 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
4380 mailbox with "po:mailbox", the mailbox is everything after the
4381 "po:" prefix.
4382
43831995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4384
4385 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 4386 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
4387
43881995-06-28 Paul Eggert <eggert@twinsun.com>
4389
4390 * rcs2log (CVSROOT, repository):
4391 Allow remote repositories a la CVS 1.4.
4392
880820fe 43931995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4394
2f2c687b
JB
4395 * etags.c (plain_C_entries): New function.
4396 (lowcase): New macro.
4397 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4398 (lang_suffixes): New suffix ".pc" for Pro*C files.
4399 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4400 (tail): Look for the end of the token when comparing.
4401 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4402
44031995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4404
4405 * movemail.c (main): Add newline in usage message.
4406
44071995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4408
4409 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
4410
880820fe 44111995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4412
4413 * etags.c (find_entries): Rewind before rereading the input file.
4414
44151995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4416
4417 * Version 19.29 released.
4418
4419 * make-docfile.c (main) [MSDOS]: Do set _fmode.
4420 This undoes part of the previous change.
4421
44221995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4423
4424 * make-docfile.c (main): On MSDOS, don't change stdout
4425 to binary, and insist on an -o option.
4426
44271995-06-13 Geoff Voelker <voelker@cs.washington.edu>
4428
4429 * etags.c (process_file,absolute_filename): Handle filenames
4430 starting with a drive letter.
4431
4432 * makefile.nt (install): Copy wakeup.exe properly.
4433
44341995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
4435
4436 * make-docfile.c [MSDOS]: #undef chdir.
4437
44381995-06-04 Paul Eggert <eggert@twinsun.com>
4439
4440 * rcs2log (output_authors): Allow ':' in time zone,
4441 as per ISO 8601 and RCS 5.6.8 beta.
4442
880820fe 44431995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4444
4445 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
4446 compatibility problems.
4447
44481995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
4449
4450 * etags.c (etags_getcwd): Don't use #elif.
4451 Have just one function body.
4452
44531995-05-25 Geoff Voelker <voelker@cs.washington.edu>
4454
4455 * makefile.nt (LIBS): Use BASE_LIBS.
4456 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
4457 upon LIBS.
4458 (DOC): Use del instead of rm.
4459 (DOC) [WINDOWS95]: Use DOC.
4460 (clean): Handle MSVC aux files.
4461 (config.h,paths.h): Use $(CP) instead of cp.
4462 (config.h): Use $(CONFIG_H)
4463 (make-docfile.obj): Depend upon config.h.
4464 Clean up comments.
4465
880820fe 44661995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4467
4468 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
4469 former gives the true path even in the presence of simlinks.
4470
44711995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4472
4473 * movemail.c (main): Increase lock timeout to five minutes.
4474
44751995-05-06 Geoff Voelker <voelker@cs.washington.edu>
4476
4477 * makefile.nt (obj): Use .c files.
4478
44791995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4480
4481 * make-docfile.c: Include config.h.
4482 (NO_SHORTNAMES): New definition.
4483 (xmalloc): Return long *.
4484
4485 * etags.c (C_entries): Cast result of xrealloc.
4486 (xmalloc, xrealloc): Declare them to return long *.
4487
4488 * b2m.c (xmalloc, xrealloc): Declare them long *.
4489
4490 * movemail.c (xmalloc): Declare it to return long *.
4491
44921995-04-30 Paul Eggert <eggert@twinsun.com>
4493
4494 * rcs2log (datearg): If rlog options are specified explicitly,
4495 omit the implicit '-d>DATE' option.
4496 (repository, rlog): Allow absolute paths to CVS repositories.
4497 Look only at the first line of CVS/Repository.
4498
44991995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4500
4501 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4502 realclean.
4503
45041995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4505
4506 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4507 Alternative (empty) definitions.
4508
45091995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4510
4511 * emacsclient.c (main): Add argv[0] to an error message.
4512
45131995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4514
4515 * emacsclient.c (main): Improve error handling.
4516 * cvtmail.c (main, skip_to_lf): Improve error handling.
4517 (sysfail): New function.
4518
4519 * b2m.c (main): Check for trailing ", " before trying to delete it.
4520
45211995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4522
4523 * Makefile.in.in (all): Build test-distrib and make-docfile.
4524
4525 * make-docfile.c (scan_c_file): At end, restore file name last char
4526 to its original value.
4527
45281995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4529
4530 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4531
45321995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4533
4534 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4535 (alloca.o, regex.o): Use BASE_CFLAGS.
4536
45371995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4538
4539 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4540
45411995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4542
4543 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4544 (SOURCES, distclean): Removed obsolete references to aixcc.
4545
45461995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4547
4548 * aixcc.lex: File deleted--surely obsolete now.
4549
45501995-03-23 Paul Eggert <eggert@twinsun.com>
4551
4552 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4553 portability to mawk and nawk.
4554
45551995-03-21 Paul Eggert <eggert@twinsun.com>
4556
4557 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4558 -u "login<tab>fullname<tab>mailaddr".
4559
45601995-03-21 Paul Eggert <eggert@twinsun.com>
4561
4562 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4563 replaces the (now obsolescent) -n login fullname mailaddr option.
4564 Add -R option for recursive rlog.
07655e62 4565 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
4566 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4567 Quote authors and fullnames correctly.
4568 Don't omit path from repository root when logging CVS files.
4569
45701995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4571
4572 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4573 even if HAVE_SYSVIPC.
4574 * emacsclient.c (main): Use getcwd if not BSD.
4575
880820fe 45761995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4577
2f2c687b 4578 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
4579 (readline_internal): Do not access the char before start of line.
4580
880820fe 45811995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4582
4583 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4584 savetok.valid. Mark token as valid when it is initialised.
4585 (make_tag): Make token only if token is valid and reset validity.
4586 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4587 (TOKEN): Added a new member: valid.
4588
880820fe 45891995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4590
4591 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4592 (main): Do not read twice the last filename in the stdin file list.
4593
880820fe 45941995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4595
4596 * etags.c (C_entries): Initialise the new members of TOKEN.
4597 (C_entries): Do not allocate a new space for each token found by
4598 consider_token. Let make_tag do that instead.
4599 (make_tag): Since now TOKEN has memory of where it is taken from,
4600 this new macro substitutes both make_tag_from_new_lb and
4601 make_tag_from_oth_lb. All callers changed.
4602 (TOKEN): Add linepos and buffer members.
4603 (main): Initialise token_str.
4604 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4605 (token_str): New global variable used by C_entries.
4606
46071995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4608
4609 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4610
880820fe 46111995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4612
4613 * etags.c (pfnote): Initialise been_warned in the node.
4614 (C_entries): Removed a speed hack for the sake of clarity.
4615
880820fe 46161995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4617
4618 * etags.c (longopts, print_help, main): Use -I as abbreviation
4619 for the --ignore-indentation option.
4620 (main): Do not print an error message for unknown options.
4621
880820fe 46221995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4623
4624 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
4625 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
4626 constantypedefs, update, vgrind_style, no_warnings,
4627 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
4628 (permit_duplicates): Was a var, now a #define.
4629 (filename_lb): Was global, now local to main.
4630 (main): Open the tag file when in cxref mode.
4631 Use a BUFSIZ size buffer for making the shell commands.
4632 Look at the return value from the system routine.
4633 Exit when cannot open the tag file.
4634 (process_file): Open the file and pass the FILE* to find_entries.
4635 (find_entries): Now void, because does not open the file itself.
4636 (pfnote): Recovering from lack of memory does not work. Removed.
4637 Use savenstr and simplify the code.
4638 (free_tree): Only free the name space if node is named.
4639 (structtag): Now a pointer, not a fixed length array of chars.
4640 (consider_token): Don't take a token as argument. Use savenstr
4641 when saving a tag in structtag. Callers changed.
4642 (TOKEN): Structure changed. Now used only in C_entries.
4643 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4644 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4645 (pfcnt): Deleted. Users updated.
4646 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4647 TEX_getit, prolog_getit): Use dinamic allocation for storing
4648 the tag instead of a fixed size buffer.
4649
46501995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4651
4652 * movemail.c (main): Skip past the colon in inname.
4653
880820fe 46541995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4655
4656 * etags.c (pfatal): New function.
4657 (main, etags_getcwd): Use pfatal.
4658 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4659
880820fe 46601995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4661
4662 * etags.c (Lang_function): Use void instead to declare the
4663 language functions, because many compilers are buggy.
4664 (etags_getcwd): Fix the previous fix on the #else branch.
4665 (readline_internal): Discard possible \r before \n here.
4666 (C_entries): Do not deal with \r here: undo previous fix.
4667
880820fe 46681995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
4669
4670 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4671 functions and a macro that allow the program to work on input
4672 lines of whatever length. Copied from etags.c.
4673 (fatal): Print a fatal error message and exit.
4674 (main): Use the new functions. Fixed a bug that made a \037 char
4675 appear at the end of the output.
4676
46771995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4678
4679 * etags.c (C_entries): Ignore carriage return at end of line.
4680
46811994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4682
4683 * fakemail.c (xmalloc, xrealloc): Add casts.
4684 (add_field): Handle <...> and "..." syntax.
4685 (setup_files, get_keyword): Clean up parens and line breaks.
4686 (args_size): Likewise.
4687
46881994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4689
4690 * yow.c: Include program name in error messages.
4691
46921994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4693
4694 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4695 (xmalloc, fatal, error): New functions.
4696 (progname): New variable.
4697 (main): Set progname.
4698
46991994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4700
4701 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4702 (main): If socket/mqueue name is in home dir, add in the host name.
4703 Rename .emacs_server to .emacs-server....
4704
47051994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4706
4707 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4708
880820fe 47091994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4710
2f2c687b
JB
4711 * etags.c (print_help): Print --regex usage for ctags also.
4712 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 4713
880820fe 47141994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4715
4716 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4717 is compiled if this is defined. The new functions and variables
4718 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4719 [VMS]: All VMS specific code previously contained in
4720 etags-vmslib.c is now included here, modified for dealing with
4721 language and regex options intermixed with filenames.
4722 (header_file): Global variable deleted.
4723 (Lang_Function): New typedef. All language parser functions
4724 changed to this new type.
4725 (string_numeric_p, substr, prestr): Functions deleted.
4726 (readline_internal): Does the job that readline did previously.
4727 (longopts): --language and --regex options added.
4728 (lang_names, lang_extensions, lang_func, print_language_names):
4729 New structures, variables and functions for choosing languages.
4730 (print_help): Help strings updated. Calls print_language_names.
4731 (argument_type, ARGUMENT): Typedefs for dealing with language and
4732 regex options intermixed with filenames.
4733 (main): Changed the way of dealing with arguments on the command
4734 line to deal with language and regex options intermixed with
4735 filenames.
4736 (get_language, default_C_entries, Cplusplus_entries,
4737 Cstar_entries, Yacc_entries, just_read_file): New functions.
4738 (find_entries): Use the new method for choosing the language.
4739 (Pascal_functions): Allow intermixing of comment styles.
4740 (prolog_getit, skip_comment): Rewritten for speed.
4741 (readline): Rewritten to deal with regexps.
4742
880820fe 47431994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4744
4745 * etags.c (<errno.h>): #include added.
4746 (etags_getcwd): Check return value from getcwd.
4747
47481994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4749
4750 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4751 (get_time): Use EMACS_SUB_TIME.
4752
d57727c9 47531994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4754
4755 * ntlib.c: New file.
4756 * makefile.nt: New file.
4757
4758 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4759 [WINDOWSNT]: Include the NT headers.
4760 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4761
4762 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4763 [WINDOWSNT]: Include some NT headers.
4764
47651994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4766
4767 * pop.c (getline): When a search of already-read input for CRLF
4768 fails, store the fact that we've searched it and don't search it
4769 again after reading more data.
4770
4771 * pop.c (getline): When determining whether or not it's necessary
4772 to grow the input buffer, take into account the null that's stored
4773 at the end of already-read input in the buffer.
4774
880820fe 47751994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4776
2f2c687b 4777 * etags.c (prestr, substr): Return a logical type.
362bc2da 4778 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 4779 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
4780 (C_entries): Now we can use Tom Hageman patch for extern "C".
4781
47821994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4783
4784 * movemail.c: PopServer renamed to popserver throughout.
4785
47861994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4787
4788 * etags.c: Don't declare malloc, since we include config.h.
4789 * fakemail.c: Likewise.
4790
47911994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4792
4793 * movemail.c: Don't declare malloc.
4794
47951994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4796
4797 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 4798 avoid syntax error.
362bc2da
DL
4799
48001994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4801
4802 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4803 defined, and if HAVE_CONFIG_H isn't defined, define
4804 MAIL_USE_POP always (so that this file can be included in
4805 other programs besides emacs).
4806
4807 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4808 HAVE_CONFIG_H isn't defined.
4809
4810 * pop.c (find_crlf, getline): Instead of using strstr, use a
4811 custom function for finding CRLF.
4812 (my_strstr): Function deleted.
4813
48141994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4815
4816 * pop.c (getline): Fix a segfault because of passing a
4817 non-null-terminated string into strstr(). Fix from
4818 djm@va.pubnix.com (David J. MacKenzie).
4819
4820 * pop.c: Don't include <string.h> and <strings.h>.
4821
4822 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4823 should be interchangeable, and indeed the inclusion is done in
4824 both orders in various files in the Kerberos 4 library sources,
4825 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4826 requires that <des.h> be included first, and I don't see any harm
4827 in changing the order.
4828
4829 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4830 STDC_HEADERS, if they're defined. Undef open, read, write and
4831 close after including it.
4832
48331994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4834
4835 * pop.c: Fix mismatch in conditionals.
4836
4837 * make-docfile.c (main): Don't process one input file twice.
4838 Never use exit code > 1.
4839
4840 * pop.c (open, close, read, write): Add #undefs.
4841
4842 * pop.c: Don't declare malloc, realloc, free.
4843 Include ../src/config.h.
4844 Don't include string.h or strings.h.
4845 Include des.h before krb.h.
4846 Do declare my_strstr.
4847 (getline): Really use my_strstr.
4848 Leave one empty place in server->buffer,
4849 and put a null at the end of the data in it.
4850
48511994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4852
4853 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4854 call kill with pid 0. Handle EINTR when receiving messages.
4855
48561994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4857
4858 * Makefile.in.in (regex.o): Use full path to find regex.c.
4859
880820fe 48601994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4861
2f2c687b
JB
4862 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
4863 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
4864
48651994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4866
4867 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4868 (${archlibdir}): Use mkinstalldirs instead.
4869
4870 * movemail.c: Make functions that return nothing void, not
4871 implicitly int.
4872 (main): Improve usage message.
4873 (error): Write to stderr, not stdout.
4874
4875 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4876 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4877 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4878 variables and implicitly declared functions.
4879
48801994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4881
4882 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4883 (distclean): Not here.
4884
4885 * Makefile.in.in (libexecdir): Renamed from libdir.
4886
880820fe 48871994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4888
4889 * etags.c (C_entries): Name the #define's that are macros.
4890
48911994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4892
4893 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4894 fd_set arg is a pointer, descriptor arg comes first.
4895
880820fe 48961994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4897
4898 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4899 (C_entries): Recognise #define inside a struct.
4900 (C_entries): ANSI tells that preprocessor commands do not have to
4901 start on the first column.
4902 (print_help): Documentation corrected for -d and -D.
4903 (white, endtk): ANSI tells the vertical tab is a separator.
4904
49051994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4906
4907 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4908 (pop.o, movemail.o): New targets.
4909 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4910
4911 * pop.c, pop.h: New files.
4912
4913 * movemail.c: Improve POP code, move most of it into a separate file.
4914 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4915 (mbx_write): Check for errors and for From line.
4916 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4917 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4918 (pop_init): Functions deleted.
4919
49201994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4921
4922 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4923 Rename path to dirname.
4924
49251994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4926
4927 * Makefile.in.in (UTILITIES):
4928 Remove test-distrib, make-docfile, make-path.
4929 (DONT_INSTALL): New variable--list those files here.
4930 (clean): Delete the files in DONT_INSTALL.
4931
49321994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4933
4934 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4935 (main): Use fgets, not gets.
4936
49371994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4938
4939 * timer.c: Don't declare malloc.
4940
49411994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4942
4943 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4944 defined, use simple 32-bit versions of these macros.
4945 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
4946
c60ee5e7 49471994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
4948
4949 * etags.c (etags_getcwd): Use getcwd if available.
4950
49511994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4952
4953 * Version 19.27 released.
4954
49551994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4956
4957 * Version 19.26 released.
4958
49591994-08-15 Paul Eggert <eggert@twinsun.com>
4960
4961 * rcs2log: Add support for CVS.
4962 Work with `rlog's that output ISO 8601 dates.
4963
49641994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
4965
4966 * rcs2log: Use <> to delimit email address.
4967
49681994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4969
4970 * emacsserver.c [SYSV_IPC] (main): Make a separate process
4971 so we can listen for multiple requests.
4972
49731994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4974
4975 * movemail.c: Include config.h first thing.
4976
49771994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4978
4979 * emacsserver.c (main): Add casts to avoid warnings.
4980
49811994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4982
4983 * Makefile.in.in (${archlibdir}): Compare the proper dir
4984 before installing the scripts.
4985
49861994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4987
4988 * emacsclient.c (main): New local var progname saves argv[0].
4989
49901994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4991
4992 * emacsclient.c (main): Don't actually modify argv[0].
4993 Modify a copy instead.
4994
49951994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4996
4997 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
4998 (tzp): Var deleted.
4999
5000 * Makefile.in.in: Add #undef alloca.
5001
50021994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5003
5004 * timer.c (xmalloc): New function.
5005
50061994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5007
5008 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
5009 (alloca.o): New target.
5010
50111994-07-08 Dave Love (d.love@dl.ac.uk)
5012
2f2c687b 5013 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 5014
880820fe 50151994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5016
ecc54057
JB
5017 * etags.c (main): Don't barf on obsolete -t and -T switches.
5018 (main): Print an explicative message when a switch is not known.
362bc2da
DL
5019
50201994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5021
5022 * hexl.c: Don't declare exit or perror.
5023
5024 * emacsserver.c (main): Don't declare geteuid.
5025 Don't declare getenv if convex.
5026
50271994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5028
5029 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5030
880820fe 50311994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5032
5033 * etags.c (absolute_filename): Remove infinite loop bug when
5034 accessing files in directories whose name begins with a dot.
5035
880820fe 50361994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5037
5038 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5039
50401994-06-01 Morten Welinder (terra@diku.dk)
5041
5042 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5043 location of data directory.
5044
50451994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5046
5047 * Version 19.25 released.
5048
50491994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5050
5051 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5052
50531994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5054
5055 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5056
50571994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5058
5059 * Version 19.24 released.
5060
50611994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5062
5063 * make-docfile.c (write_c_args): Put `default' in upper case.
5064
50651994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5066
5067 * etags.c (etags_getcwd): Cast result of popen.
5068 (popen): Declaration deleted.
5069
50701994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5071
5072 * etags.c [!MSDOS]: Declare popen.
5073
50741994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5075
5076 * b2m.c (main): Avoid crash if argc is 1.
5077
50781994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5079
5080 * Version 19.23 released.
5081
5082 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
5083
50841994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5085
5086 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
5087
50881994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5089
5090 * Makefile.in.in: Fix out of date comment.
5091
50921994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5093
5094 * Makefile.in.in: Put in a separator for where to start cpp procssing.
5095 Move all autoconf substitutions above that point.
5096 Above that point, use Make-style comments.
5097 This goes with changes in ../configure.in.
5098
50991994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5100
5101 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
5102 warning message.
5103 (${archlibdir}): Don't do it here. Don't depend on blessmail.
5104
51051994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5106
5107 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5108
51091994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5110
5111 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
5112 print advice to run it, if it has anything significant to do.
5113 And only if MOVEMAIL_NEEDS_BLESSING.
5114 (blessmail): Use emacs, not temacs.
5115 (configuration): Renamed from configname.
5116
51171994-04-30 Morten Welinder (terra@diku.dk)
5118
5119 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5120
51211994-04-30 Morten Welinder (terra@diku.dk)
5122
5123 * etags.c [MSDOS]: #include <sys/param.h> for the following.
5124 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
5125 a shell.
5126
51271994-04-29 Morten Welinder (terra@diku.dk)
5128
5129 * hexl.c [MSDOS]: Don't define proto type for exit.
5130
51311994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5132
5133 * b2m.c: Don't include string.h or strings.h.
5134
51351994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
5136
5137 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
5138 symbols, not make variables.
5139
51401994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5141
5142 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
5143 * etags.c (print_version): Print VERSION as a string.
5144
51451994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5146
5147 * fakemail.c (readline): Fix updating of p when buffer grows.
5148
51491994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
5150
5151 * Makefile.in.in (blessmail): New target.
5152 ${archlibdir}: Use blessmail when installing movemail.
5153
51541994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5155
5156 * fakemail.c (readline): When extending the buffer,
5157 calculate end afresh using the new size.
5158
880820fe 51591994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5160
2f2c687b 5161 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 5162
880820fe 51631994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5164
2f2c687b 5165 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
5166
51671994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5168
5169 * Makefile.in.in: Renamed from Makefile.in.
5170 Makefile.in is now generated from it, and then preprocessed.
5171 Change comments to C syntax.
5172 Include config.h.
5173 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
5174 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
5175
51761994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5177
5178 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5179
880820fe 51801994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5181
5182 * etags.c (etags_getcwd): Initialize bufsize.
5183
51841994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5185
5186 * profile.c (gettimeofday): If system doesn't have this, define it
5187 to give a fatal error.
5188
51891994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5190
5191 * movemail.c (main): Use setuid, not seteuid.
5192
51931994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5194
5195 * etags.c: #undef static.
5196
880820fe 51971994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5198
2f2c687b
JB
5199 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
5200 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
5201 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
362bc2da
DL
5202 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5203 TeX_functions, Prolog_functions.
2f2c687b
JB
5204 (inf): No more a global variable.
5205 (C_entries): Take 2nd parameter `inf' instead of using the global one.
5206 (find_entries): Added the cp1 var for optimisation.
5207 (find_entries): Added more suffixes for assembler files.
362bc2da
DL
5208 (Asm_funcs): Now finds labels even without an ending colon.
5209
880820fe 52101994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5211
2f2c687b
JB
5212 * etags.c (main): Use etags_getcwd for compatibility.
5213 (etags_getcwd): New function.
362bc2da
DL
5214
52151994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5216
5217 * Makefile.in (etags, ctags): Pass -D for VERSION.
5218
880820fe 52191994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5220
2f2c687b
JB
5221 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
5222 (main): Don't allow the use of -t and -T in etags mode.
5223 (print_help): Don't show options enabled by default.
5224 (print_version): Show the emacs version number if VERSION is #defined.
5225 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 5226
880820fe 52271994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5228
2f2c687b 5229 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
5230 (relative_filename, absolute_filename, absolute_dirname):
5231 functions added to compute filenames in tags files.
2f2c687b 5232 (process_file): Filenames in tags file are relative to the
362bc2da 5233 directory where the tags file is (useful with the -o option).
2f2c687b
JB
5234 (main): Initialise the outfiledir var.
5235 (TYPEDST): Added the `tignore' value.
5236 (C_entries): Corrected various small bugs.
362bc2da
DL
5237
52381994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5239
5240 * Makefile.in (UTILITIES): `env' deleted.
5241 (env): Target deleted.
5242 * env.c: File deleted.
1c478461 5243
362bc2da
DL
52441994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5245
5246 * Makefile.in (install, ${archlibdir}): Switch back to ..
5247 before running INSTALL_PROGRAM.
5248
880820fe 52491994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5250
2f2c687b
JB
5251 * etags.c (TYPEDST): Added the `tignore' value.
5252 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
5253 `extern "C" {' construction (patch by Tom R.Hageman).
5254
52551994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5256
5257 * b2m.c: Use <...> to include config.h.
5258 Don't include stdlib.h.
5259
177c0ea7 52601994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
5261
5262 * b2m.c (main): Change delimiter from "^L" to "^_^L".
5263 Allow for text following "BABYL OPTIONS:".
5264 Add --help option. Use argv[0] in error messages.
5265
52661994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5267
5268 * emacsclient.c (main) [HAVE_SYSVIPC]:
5269 Make msgp->mtext longer if necessary.
5270 On HPUX, error if it's more than 512 chars.
5271
52721994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
5273
5274 * etags-vmslib.c: Use GPL.
5275 * emacstool.c: Use GPL.
5276 * fakemail.c: Update GPL.
5277
5278 * make-path.c (main): Return 1 on error, not -1.
5279 Update GPL.
5280
5281 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
5282 (xmalloc, xrealloc): Return char *, not int.
5283 (error): Write to stderr, not stdout.
5284 Update GPL.
5285
52861994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5287
5288 * profile.c (main, get_time): Don't crash on invalid input.
5289
52901994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5291
5292 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 5293 (main): Exit on EOF.
362bc2da 5294
880820fe 52951994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5296
a64387ee 5297 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
5298
52991994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5300
5301 * fakemail.c (put_line): Don't break the line if it all fits.
5302
880820fe 53031994-02-14 Francesco Potortì (pot@fly)
362bc2da 5304
2f2c687b
JB
5305 * etags.c (absolute_pathnames, cwd): Added global vars.
5306 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 5307 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 5308 (print_help): Alphabetically order the options.
2f2c687b 5309 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
5310
53111994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5312
5313 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
5314 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
5315
53161994-02-07 Christian Lynbech (lynbech@avignon)
5317
5318 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
5319
53201994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5321
5322 * Makefile.in (UTILITIES): Mention profile.
5323 (profile): New target.
5324
5325 * profile.c: New file.
5326
53271994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 5328
88c71720 5329 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 5330 Lisp docstrings do.
88c71720 5331 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
5332 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5333 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5334
880820fe 53351994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5336
5337 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 5338 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 5339 Use gperf generated hash table instead of linked list.
2f2c687b 5340 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 5341 Mostly code generated by gperf.
2f2c687b
JB
5342 (consider_token): Removed unused parameter `lp'.
5343 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 5344 to span multiple lines.
2f2c687b
JB
5345 (C_entries): Check for newline if inchar to avoid bus errors.
5346 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
5347 and not regular file.
5348
53491994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5350
5351 * timer.c: Include errno.h; don't include fasync.h.
5352 (schedule): Don't return a value.
5353 (sigcatch): Reestablish the handler first.
5354 (getevent): Always call notify at the end.
5355 (notify): Defer alarms around the whole body of function.
5356
53571994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5358
5359 * timer.c (main): Don't request SIGIO, and don't handle it.
5360 Loop calling getevent.
5361 (sigcatch): Delete code to handle SIGIO.
5362 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 5363 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
5364 Set defer_alarms around realloc and schedule.
5365 If alarm_deferred gets set, call notify.
5366 Likewise if this event is the only pending event.
5367 Make buf and buf_size global variables.
5368 Don't malloc buf if it is already non-zero.
5369 (schedule): Just exit if run out of memory.
5370 Return the number of events.
5371 (signal) [_CX_UX]: Add #undef.
5372
53731994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5374
5375 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5376 (main) [USG]: Do ioctl to enable SIGPOLL.
5377
53781994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5379
5380 * timer.c: Don't declare sys_errlist; declare strerror instead.
5381 (schedule, main): Call strerror instead of using sys_errlist.
5382 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
5383 Call strerror instead of using sys_errlist.
5384 * env.c (main): Call strerror instead of using sys_errlist.
5385 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
5386 (main): Call strerror instead of using sys_errlist.
5387 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
5388 * env.c [! HAVE_STRERROR] (strerror): Likewise.
5389 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
5390 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
5391
53921994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5393
5394 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
5395
5396 * movemail.c (malloc): Don't declare it.
5397 (xmalloc): Cast result of malloc.
5398 (strcpy): Don't declare it.
5399
54001993-11-14 Morten Welinder (terra@diku.dk)
5401
5402 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
5403 (main): Use fclose to close file opened by fopen.
5404
5405 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
5406
5407 * movemail.c [MSDOS]: #undef `access'.
5408
5409 * b2m.c (main) [MSDOS]: Open all files as binary.
5410 * etags.c (main) [MSDOS]: Open all files as binary.
5411
5412 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
5413 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
5414 with.
5415
54161994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5417
5418 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
5419 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
5420 (LINK_CFLAGS): New variable.
5421 (timer): Use LINK_CFLAGS.
5422
54231993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5424
5425 * movemail.c: Include syswait.h.
5426 Fork a subprocess and use it to copy the mail file.
5427
54281993-12-07 Richard Stallman (rms@srarc2)
5429
5430 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
5431
54321993-12-04 Richard Stallman (rms@srarc2)
5433
5434 * movemail.c (main): When making tempname, cast result of xmalloc.
5435 Include room for EXXXXXX in the size.
5436 Don't use result of strcpy.
5437
54381993-12-03 Paul Eggert (eggert@twinsun.com)
5439
5440 * vcdiff: Add --brief option.
5441
54421993-12-02 Richard Stallman (rms@srarc2)
5443
5444 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
5445 for all executables and scripts.
5446
54471993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5448
5449 * Version 19.22 released.
5450
54511993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5452
5453 * Makefile.in (mostlyclean): Make it distinct from clean.
5454
54551993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5456
5457 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
5458
54591993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5460
5461 * Version 19.21 released.
5462
5463 * Makefile.in (install): Don't change mode or group when installing.
5464
5465 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
5466
54671993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5468
5469 * make-docfile.c (read_c_string): For "", concatenate the two strings.
5470
5471 * movemail.c (main): Fix error message text.
5472
54731993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5474
5475 * Version 19.20 released.
5476
177c0ea7 54771993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 5478
ecc54057 5479 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
5480 functions returning a pointer to a function, a la `signal', can be
5481 parsed. This also required new state `fstartlist' to `FUNCST'.
5482 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 5483 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 5484 from the other state engines.
2f2c687b 5485 (begtk): Add '~', for C++ class destructors.
362bc2da 5486
880820fe 54871993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5488
2f2c687b
JB
5489 * etags.c (consider_token): Removed unused variable firsttok.
5490 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
5491
54921993-10-19 Paul Eggert (eggert@twinsun.com)
5493
5494 * rcs2log (printlogline): Don't generate lines containing only
5495 white space.
5496
54971993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5498
5499 * Makefile.in (${archlibdir}):
5500 Install ${SCRIPTS} from ${srcdir}, not cwd.
5501
55021993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5503
5504 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5505 the comment character.
5506
880820fe 55071993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5508
2f2c687b 5509 * etags.c (process_file): Dead code removed.
362bc2da 5510 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 5511 (process_file): Regular files have nothing to do with symlinks.
362bc2da 5512
f0131492 55131993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5514
5515 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5516 from current directory. Only chmod and chgrp files that we
5517 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5518 ${bindir}.
5519 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5520 now.
5521
f0131492 55221993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5523
5524 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5525 configure figure out the correct values for these variables.
5526
f0131492 55271993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 5528
10d1d0af 5529 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
5530 used by emacs; don't install bindir binaries here.
5531
55321993-09-24 Paul Eggert (eggert@twinsun.com)
5533
5534 * rcs2log: Add -h, -n, -r options.
5535 By default, look for *,v files as well as RCS/*,v files.
5536 Use $TMPDIR (default /tmp) instead of /tmp.
5537
880820fe 55381993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
5539
5540 * etags.c (C_entries): is_func is initialised here instead of in
5541 consider_token for the sake of the yacc rules section.
5542 (C_entries): Now class, struct, enum, union and typedef produce
5543 named tags.
5544
55451993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5546
5547 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5548
55491993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5550
88c71720
KS
5551 * Makefile.in: Support configuring in a different directory when
5552 ${srcdir} has already been configured.
5553 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5554 -I${srcdir}/../src.
362bc2da
DL
5555 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5556 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5557 is already in CPP_FLAGS.
5558 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5559 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5560
55611993-08-25 Paul Eggert (eggert@twinsun.com)
5562
5563 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5564 otherwise, HP awk complains.
5565
5566 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5567 are common hangouts for SCCS commands.
5568
55691993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5570
5571 * Version 19.19 released.
5572
55731993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5574
5575 * Makefile.in (make-path): Dep on config.h.
5576
55771993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5578
5579 * b2m.c (TRUE, FALSE): Don't define if already defined.
5580
55811993-08-09 Paul Eggert (eggert@twinsun.com)
5582
5583 * rcs2log (awkscript):
5584 Some sites put comma-separated junk after the fullname.
5585 Remove it, but leave "Bill Gates, Jr" alone.
5586 Remove the junk from fullnames like "0000-Admin(0000)".
5587
55881993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5589
5590 * Version 19.18 released.
5591
880820fe 55921993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 5593
2f2c687b
JB
5594 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5595 (L_funcs): The (foo::defmumble stuff now should work.
5596 (consider_token): Function returned random value--corrected.
5597 (C_entries): Corrected == versus = typo.
362bc2da
DL
5598
55991993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5600
5601 * etags.c (put_entries): For NODE->rewritten, put pattern before
5602 \177 and name after, not vice versa.
5603
56041993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5605
5606 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5607
880820fe 56081993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5609
ecc54057 5610 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5611 after the parameter list and before the open curly brace.
5612 Allows correct parsing of C++ constructors.
2f2c687b
JB
5613 (C_entries, consider_token): Make use of fignore.
5614 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 5615 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
5616 (L_isquote): Function that recognises the "(quote" string.
5617 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
5618
56191993-07-29 Paul Eggert (eggert@twinsun.com)
5620
5621 * rcs-checkin: Don't check whether a file is readable until we have
5622 decided not to ignore it.
5623
56241993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5625
5626 * Makefile.in (etags): Depend on ../src/config.h.
5627
5628 * emacsserver.c: Include types.h before file.h.
5629
56301993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5631
5632 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5633
56341993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5635
ecc54057 5636 * Version 19.17 released.
362bc2da
DL
5637
56381993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5639
5640 * etags.c (print_help): Break up the very long strings containing
5641 the help message into shorter strings, to placate chintzy C
5642 compilers which can't handle strings that long.
5643
5644 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5645 correct combination of <time.h> and <sys/time.h>.
5646
880820fe 56471993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5648
2f2c687b
JB
5649 * etags.c (alloca): Removed all references to it.
5650 (main): Now calls xnew instead of alloca for portability.
5651 (../src/config.h): Included only if HAVE_CONFIG_H.
5652 (const): Void definition removed--config.h takes care of it.
362bc2da 5653
880820fe 56541993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5655
2f2c687b 5656 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
5657 (consider_token): DEFUNs now treated like funcs in ctags mode.
5658
2f2c687b
JB
5659 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5660 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5661 (C_entries): Removed a piece of useless code.
5662 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
5663 is met. This handles "typedef int X, Y, Z;" correctly.
5664
56651993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5666
5667 * Version 19.16 released.
5668
5669 * b2m.c: #include <sys/types.h>.
5670 (ltoday): Declare this to be time_t.
5671
56721993-06-30 Paul Eggert (eggert@twinsun.com)
5673
5674 * vcdiff: Add -q option.
5675
56761993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5677
5678 * etags.c: #include "config.h" and the alloca CPP tangle before
5679 #including the system headers and getopt.h. AIX requires the
5680 #pragma to come before any actual C code.
5681
56821993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5683
5684 * Makefile.in (ctags): Depend on etags, so that parallel makes
5685 don't write etags.o files on top of each other.
5686
56871993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5688
5689 * version 19.15 released.
5690
56911993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5692
5693 * etags.c (add_node): Move var last_node to file scope.
5694
56951993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5696
5697 * Version 19.14 released.
5698
56991993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5700
ecc54057 5701 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5702 * Makefile.in (distclean): Call clean to do most of the work.
5703 Delete aixcc.c and TAGS.
5704 (realclean): Just call distclean.
1c478461 5705
362bc2da
DL
5706 * Makefile.in: Remember, spaces are not tabs.
5707
57081993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5709
5710 * Makefile.in (CPP_CFLAGS): New variable.
5711 Use it instead of ALL_CFLAGS when compiling a .c file.
5712 (getopt.o, getopt1.o): Add explicit compilation commands.
5713
57141993-06-10 Mark D. Baushke (mdb@cisco.com)
5715
5716 * etags.c: Reinstate old -f option as an alias for -o for
5717 installed base uses.
5718
57191993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5720
5721 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5722 to bind or accept, cast the pointer, to avoid warnings on systems
5723 which declare prototypes for this.
5724 * emacsclient.c (main): Same.
5725
5726 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5727
57281993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5729
5730 * Version 19.13 released.
5731
5732 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5733 comes from, not sys/time.h.
5734
57351993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5736
5737 * wakeup.c: Include sys/time.h.
5738
5739 * etags.c: #undef static.
5740
5741 * Version 19.12 released.
5742
5743 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5744
57451993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5746
5747 * Version 19.11 released.
5748
5749 * timer.c [LINUX]: #undef signal.
5750 * emacsserver.c: #undef signal.
5751
57521993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5753
5754 * wakeup.c (main): Make when a time_t.
5755
57561993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5757
ecc54057 5758 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 5759 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
5760 might fail, and have pwd print out the current directory.
5761
5762 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5763 string-handling functions.
5764
57651993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5766
5767 * Version 19.10 released.
5768
57691993-05-29 Paul Eggert (eggert@twinsun.com)
5770
5771 * rcs2log: When given no file arguments, inspect RCS/.* as well
5772 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5773
57741993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5775
5776 * Makefile.in (timer): Link with $(LOADLIBES).
5777
57781993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5779
5780 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5781
57821993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5783
5784 * etags.c: Replace the CPP tangle for alloca with the one from the
5785 autoconf documentation, since that's working elsewhere.
5786
57871993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5788
5789 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5790 description files can find their ancestors.
5791
57921993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5793
5794 * Makefile.in (install): Get the scripts from ${srcdir},
5795 unlike the executables.
5796 (ALL_CFLAGS): Add -I../src
5797
57981993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5799
5800 * Version 19.9 released.
5801
58021993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5803
5804 * Makefile.in (install): Do install the programs listed in
5805 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5806 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5807
5808 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5809 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5810
58111993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5812
5813 * etags.c: Include ../src/config.h.
5814
5815 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5816 in first loop. Delete files from bindir before installing new ones.
5817 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5818
58191993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5820
5821 * Version 19.8 released.
5822
5823 * make-docfile.c: Doc fix.
5824
58251993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5826
5827 * tcp.c: Fix comment syntax at top of file.
5828 (main): Don't call htons with the port number.
5829
58301993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5831
5832 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 5833 appropriate.
362bc2da
DL
5834
5835 * Makefile.in (install): Refer to the variables INSTALLABLES and
5836 INSTALLABLE_SCRIPTS, instead of writing them out.
5837
58381993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5839
5840 * make-path.c (main): Return 0.
5841
58421993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5843
ecc54057 5844 * Version 19.7 released.
362bc2da
DL
5845
58461993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5847
5848 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5849
58501993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5851
5852 * tcp.c: New file.
5853
58541993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5855
5856 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5857
58581993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5859
5860 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5861 only. We should really fix this later, but let's just make it
5862 compile for now.
5863
5864 Install patches from David J. Mackenzie to make the srcdir option
5865 work.
5866 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5867 Makefile.
5868 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5869 INSTALLABLE_SCRIPTS.
5870 (INSTALLABLE_SCRIPTS): New list.
5871 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5872 (${archlibdir}): The scripts to be installed live in the source
5873 tree, not in the object tree.
5874 (test-distrib): Note that the data file lives in the source tree,
5875 not the object tree.
5876 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5877 (all other targets): Change references to source files to use
5878 ${srcdir}, except for config.h, which lives in the object dir.
5879 (timer.o): Note that this depends on ../src/config.h.
5880 * make-docfile.c (main): Add a -d option, to tell it where to find
5881 the source files.
5882 * test-distrib.c (main): Take the name of the distribution file to
5883 test from the command line.
5884
10d1d0af 5885 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
5886
58871993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5888
5889 * etags.c (main):
5890 Don't require that there be input files if -i switches were given.
5891
58921993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5893
5894 The GNU coding standards specify that CFLAGS should be left for
5895 users to set.
5896 * Makefile.in (CFLAGS): Put this in the "things configure might
5897 edit" section, and have it default to -g.
5898 (ALL_CFLAGS): New variable, set to all the flags which should be
5899 passed to compilations. Replace all other uses of CFLAGS with
5900 ALL_CFLAGS.
5901 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5902
5903 * Makefile.in (DEFS): Remove this; it's always just going to be
5904 "-DHAVE_CONFIG_H -Demacs".
5905
59061993-05-03 Paul Eggert (eggert@twinsun.com)
5907
5908 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5909 /[/]/, so change it to /[\/]/. This should work on all
5910 Posix-compliant awks. It's slightly wrong with traditional awk,
5911 since it matches \ too, but that's a minor problem compared to awk
5912 syntax errors.
5913
59141993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5915
5916 * Makefile.in (ALLOCA): New variable, whose value we should
5917 inherit from the top-level makefile.
5918 (etags, ctags): Include ALLOCA in the list of object files that
5919 these executables depend on and link.
5920
59211993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5922
5923 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5924
59251993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5926
5927 * make-docfile.c (write_c_args): Print an argument named "defalt"
5928 as "default".
5929
59301993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5931
5932 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5933 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5934 compiler.
5935
880820fe 59361993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5937
2f2c687b
JB
5938 * etags.c (YACC): Flag added to c_ext.
5939 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
5940 (find_entries): Consistently use streq when reasonable.
5941 (find_entries): A .y file is a yacc file.
362bc2da 5942 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
5943 (C_entries): Logical cplpl means c_ext&C_PLPL.
5944 (C_entries): Logical yacc_rules means we are after the first %%.
5945 (C_entries): Added logic for yacc files.
362bc2da 5946
880820fe 59471993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5948
5949 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 5950 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
5951 (consider_token): structtag set to null string for enum.
5952
880820fe 59531993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5954
2f2c687b
JB
5955 * etags.c (GET_COOKIE): And related macros removed.
5956 (logical): Is now int, no more a char.
5957 (reg): Define deleted.
5958 (isgood, _gd, notgd): Deleted.
5959 (gotone): Deleted.
5960 (TOKEN): Member linestart removed.
5961 (linepos, prev_linepos, lb1): Deleted.
5962 (main): Call initbuffer on lbs array instead of lb1.
5963 (init): Removed the initialisation of the logical _gd array;
5964 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
5965 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
5966 All C state machines rewritten.
2f2c687b
JB
5967 (C_entries): Complete rewrite.
5968 (condider_token): Complete rewrite.
5969 (getline): Deleted.
362bc2da 5970
880820fe 59711993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5972
5973 * etags.c (C_entries): Added the quotednl logical variable.
5974 Used for parsing of #define's spanning multiple lines.
5975
880820fe 59761993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5977
5978 * etags.c (C_entries): Save the definedef status even when a
5979 newline is met inside a string.
5980
59811993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5982
2f2c687b 5983 * Makefile.in (EXECUTABLES): Added rcs-checkin.
362bc2da
DL
5984
5985 * Makefile.in (unlock, relock): New productions.
5986
59871993-03-16 Paul Eggert (eggert@twinsun.com)
5988
5989 * rcs2log: Some awks don't understand "\r". Code around this.
5990 Unfortunately this requires putting a carriage return in the
5991 source code. Don't assume that rlog will tolerate times like
5992 `10:10:60'; RCS 5.7 won't allow this.
5993
59941993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5995
5996 * timer.c (main): Set the ownership of the stdin file descriptor
5997 to the current process. Print error messages if either of the
5998 fcntl's fails.
5999
6000 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
6001 ../src/config.h), not void.
6002
60031993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6004
6005 * b2m.c (main): Don't exit upon reading a blank line.
6006
880820fe 60071993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6008
6009 * etags.c (C_entries): New local variable quotednl. Used for
6010 parsing of #define's spanning multiple lines.
6011
6012 * etags.c (C_entries): Save the definedef status
6013 even when a newline is met inside a string.
6014
60151993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6016
6017 * timer.c (notify): Initialize waitfor properly.
6018
880820fe 60191993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
6020
6021 * etags.c (C_entries): Don't reset definedef when a newline inside a
6022 comment is met.
6023
60241993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6025
6026 * etags.c (find_entries): If filename ends in .f or .for,
6027 don't try anything but Fortran.
6028
60291993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
6030
6031 * timer.c (notify): Flush stdout after writing message to avoid lossage
6032 on terminals.
6033
6034 (notify): Also, write a newline after the token.
6035
60361992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6037
6038 * Makefile.in (exec_prefix): New variable.
6039 (bindir, libdir): Use it instead of `prefix'.
6040
6041 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6042
6043 * Makefile.in (libdir): Default to ${prefix}/lib.
6044 (archlibdir): Adjusted to match.
6045
6046 * Makefile.in (distclean): Don't delete backup or autosave files.
6047 (extraclean): Like realclean, but does delete backup and autosave
6048 files.
6049
6050 * Makefile.in (realclean): Ignore errors from rm.
6051
6052 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
6053 that doesn't exist anymore.
6054
60551992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6056
6057 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
6058 described in the top-level Makefile.
6059 (UTILITIES): Add make-path to the list of utility programs.
6060 (../arch-lib): Replaced by the ${archlibdir} target, which places
6061 the executables in their permanent home.
6062 (install, install.sysv, install.xenix): Consolidated into one
6063 target which should work under all circumstances, modulo a few
6064 ignored error messages.
6065
6066 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
6067 a different number of arguments than other DEFVARs, recognize it
6068 specially, and expect the right number of commas.
6069
60701992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6071
6072 * make-path.c: New program, to help with the installation process.
6073 * Makefile.in (make-path): New target.
6074
6075 * make-path.c (touchy_mkdir): Remove debugging output.
6076
60771992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6078
6079 * Makefile.in (getdate.o): Added explicit target for this, so we
6080 can indicate that it depends on ../src/config.h.
6081
60821992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6083
6084 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
6085 instead of CFLAGS.
6086 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
6087
60881992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6089
6090 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
6091 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
6092 that system.
6093
6094 * Makefile.in (arch-lib): Give rm the `-f' option.
6095
60961992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6097
6098 * make-docfile.c (write_c_args): Rewritten to correctly print
6099 &optionals before the first identifier, but after the first paren.
6100 This code used to just wait for commas or spaces; now it notices
6101 identifier boundaries.
6102
61031992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6104
6105 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
6106
61071992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6108
6109 * make-docfile.c (write_c_args): Print the argument lists properly
6110 when the first argument is optional.
6111
61121992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6113
6114 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
6115 Redefine @item. Set catcode of +.
6116
61171992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6118
6119 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6120
61211992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6122
6123 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
6124 (TEX_decode_env): Make `tab' one element longer.
6125
61261992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6127
6128 * etags.c (PF_funcs): Recognize the "entry" keyword.
6129
61301992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6131
6132 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
6133
61341992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6135
6136 * timer.c (events): Rather than having slots marked as in use or
6137 out of use by the `token' field, keep all pending events at the
6138 beginning of the array. When we delete an event in the middle of
6139 the array, we move the last event into its place.
6140 (num_events): New variable.
6141 (schedule): It is now cheaper to find a free event slot;
6142 events[num_events] is the first free slot.
6143 (notify): Scan events[0 .. num_events-1], instead of the whole
6144 array. When an event fires, move the last event in the array into
6145 its spot. Use num_events to determine whether or not there are
6146 any pending events, not wait_for.
6147 (getevent): Deleted unused variable `ep'.
6148 (sigcatch): It's now easier to find all the active events.
6149 (main): Initialize num_events.
6150
6151 * etags.c: Rather than fret about which systems have index and
6152 which systems have strchr, and how to tell the difference between
6153 them, we just write out our own versions. Big deal.
6154 (index, rindex): Extern declarations removed.
6155 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
6156 (etags_index, etags_rindex): New declarations.
6157 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6158 TEX_getit, substr): Use the etags_*index functions, rather than
6159 the native *index functions.
6160 (rindex, index): Renamed to etags_rindex and tags_rindex, and
6161 made them unconditionally defined, rather than having them depend
6162 on NEED_*INDEX.
6163
6164 * etags.c (savenstr): Add declaration for this at top of file.
6165 (TEX_decode_env): Don't declare it local to this function.
6166
6167 * b2m.c: #include "../src/config.h", so we can test for the USG
6168 macro, and decide whether to include <string.h> or <strings.h>.
6169 * Makefile.in: Note that b2m.c depends on ../src/config.h.
6170
61711992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6172
6173 * timer.c: Reformatted according to the GNU coding standards.
6174 Removed arbitrary limits on the number of events queued and the
6175 length of the tokens used to identify them.
6176 Removed casts to (void).
6177 Removed debugging printfs; they clutter the code, and the need
6178 can be better filled using a real debugger.
6179
61801992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6181
6182 * timer.c: Installed new version from Eric Raymond; this is more
6183 portable, since it doesn't try to use SIGIO.
6184
61851992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6186
6187 * emacsclient.c (main): If we can't find the socket in this
6188 person's home directory, print a message which asks if they've
6189 started the server, instead of just printing the message from
6190 sys_errmsg; Cygnus finds that people are much less confused by
6191 this.
6192
61931992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6194
6195 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
6196 so that index and rindex get defined, why don't we actually
6197 control index and rindex using symbols called "NEED_INDEX" and
6198 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
6199 little more readable than defining something whose name implies
6200 that it's not?
6201
62021992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6203
6204 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
6205 distribution:
6206 Miscellaneous doc fixes.
1c478461 6207 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
6208 (scan_lisp_file): Instead of using long hairy strings of ifs, call
6209 read_lisp_symbol and then see what we got. Call skip_white
6210 instead of writing out a loop to do its job. Correctly extract
6211 docstrings from "defmacro" declarations.
6212
62131992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6214
6215 * movemail.c (strcpy): Declare this to return char *.
6216
62171992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6218
6219 * etags.c (C_entries): When we find a C++ comment, do actually
6220 skip to the end of the line; do a 'break' instead of a 'continue'.
6221
62221992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6223
6224 * etags.c (getit): Add missing parenthesis to expression which
6225 decides if this token is an identifier.
6226
62271992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6228
6229 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6230
62311992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6232
6233 * etags.c (put_entries): Always put space between name and line num.
6234
62351992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
6236
6237 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
6238 warning.
6239 (LEVEL_OK_FOR_FUNCDEF): Ditto.
6240
62411992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6242
6243 * make-docfile.c (write_c_args): Pass both arguments to putc.
6244
62451992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6246
6247 * etags.c (C_entries): Fixed reading of "..." strings.
6248 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6249 the C library source.
6250
6251 * etags.c (C_entries): When we see a backslash inside a quoted
6252 string, skip to the next character. This allows us to correctly
6253 deal with strings containing quotes.
6254
62551992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6256
6257 * make-docfile.c (write_c_args): Print the C argument names as
6258 they would be written in Elisp; print '_' as '-'.
6259
62601992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6261
6262 * movemail.c [POP]: Get user name via getpwuid.
6263
62641992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6265
2f2c687b 6266 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
6267
62681992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6269
10d1d0af 6270 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
6271 strings - end the lines with `\n\'.
6272
62731992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6274
6275 * timer.c (getevent): Removed declaration of memcpy; since
6276 different systems have different return types, and we're not even
6277 using the return type anyway, it wasn't doing us any good.
6278
62791992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6280
6281 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
6282 type of this function.
6283
62841992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6285
6286 * ChangeLog: Since the old etc contents have been split into etc
6287 and lib-src, the old etc's ChangeLog has been duplicated in the
6288 new etc and lib-src. That means that each contains complete and
6289 coherent information, although each contains extraneous
1c478461 6290 information.
362bc2da
DL
6291
62921992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6293
290afd83 6294 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
6295 to be consistent with other GNU programs, like makeinfo.
6296
290afd83 6297 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
6298 will edit this to produce Makefile.
6299
63001992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6301
6302 * etags.c (print_help, print_version): New functions.
6303 (main): Options added to support them.
6304
6305 * etags.c (longopts): New array of long names for the options.
6306 (main): Recognize them.
6307
63081992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6309
6310 * etags.c (C_entries): Removed comment saying that \" in a string
6311 isn't recognized as magic, because it is correctly handled.
6312
6313 * getopt.c, getopt.h: New files, from GNU C library.
6314 * etags.c: Rewritten to use getopt.
6315 #include "getopt.h".
6316 (file_num): Variable deleted; its role is now played by getopt's
6317 optind.
6318 (main): Argument processing loop rewritten to call getopt to get
6319 next option. Options which take parameters (-o and -i) rewritten
6320 to get parameter from optarg instead of argv[1]. Filename
6321 preprocessing loop and update command changed similarly.
6322 * Makefile (etags, ctags): Depend on and link with getopt.h,
6323 getopt.o, and getopt1.o.
6324 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
6325
6326 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
6327 is non-zero.
6328
6329 (main): In the argument processing loop, the 'goto next_arg'
6330 statements are breaking out of the switch statement in exactly the
6331 same way that a simple 'break' statement would; replace the gotos
6332 with breaks, and remove the label.
6333
63341992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6335
6336 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6337 (consider_token): Move next_token_is_func to global.
6338
63391992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6340
6341 * Makefile: Conform with GNU coding standards:
6342 (mostlyclean): New target, synonymous with clean.
6343 (TAGS, check): New targets.
6344 (INSTALL, INSTALLFLAGS): New variables.
6345
63461992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6347
ecc54057 6348 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
6349 `config.emacs' to `configure'.
6350
6351 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6352 * etc/MACHINES: Same.
6353
63541992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6355
6356 * movemail.c (main): Allow tempname to be as long as necessary,
6357 instead of limiting it to 39 characters.
6358
6359 * movemail.c (main): Move declaration of buf from top of function
6360 to local block surrounding the copy loop. This makes it less
6361 likely to be confused with the buf used by the code which checks the
6362 permissions on outname's directory.
6363
63641992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6365
6366 * SERVICE: Remove my entry.
6367
63681992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6369
6370 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6371 hardcoded -g.
6372
6373 * movemail.c (xmalloc): Return char *, not int.
6374 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6375 that is off by default -- normally don't unlink the mail spool
6376 file, just empty it. Pass creat mode 0600, not 0666.
6377
dff28924 63781992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6379
6380 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
6381 (all): Instead of here.
6382 (install): Don't use the -s option, since people need symbols to
6383 debug code.
6384
dff28924 63851992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
6386
6387 * etags-vmslib.c (fn_exp): Add type cast.
6388
63891992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6390
6391 * movemail.c: Changes in comments.
6392
dff28924 63931992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6394
6395 * Makefile: Make the distclean target erase the DOC files from
6396 ../share-lib and the executables from ../arch-lib.
6397
dff28924 63981992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6399
6400 * emacsclient.c: #include <sys/stat.h>
6401 (main): Do declare statbfr.
6402
dff28924 64031991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6404
6405 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
6406 for the socket, depending on SERVER_HOME_DIR.
6407 If using /tmp, put host name in the socket name.
6408
6409 * movemail.c (pfatal_and_delete): New function.
6410 (main, popmail): Use it.
6411 (popmail): Close output before deleting messages.
6412 Check for error on close and on fsync.
6413 Use `fatal' where appropriate.
6414 (main): Remove (void).
6415
6416 * aixcc.lex: New file. Not officially part of Emacs.
6417 * Makefile: Rules for that.
6418
dff28924 64191991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
6420
6421 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
6422
6423 * etags.c (main): Properly cast call to alloca that initializes
6424 included_files.
6425
64261991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6427
6428 * etags.c (files_are_tag_tables): Remove global var.
6429 (process_file): Don't test it. Also remove hack checking for a
6430 file named "TAGS".
6431 (main): -i now takes an arg which is the name of a file to include.
6432 Collect these names and emit include tags for them after processing
6433 all the argument files.
6434
dff28924 64351991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6436
6437 * wakeup.c: Terminate if parent goes away.
6438
dff28924 64391991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6440
6441 * etags.c (C_entries): Process token before handling end of line.
6442 When inner loops reach end of line, just back up.
6443 Let the real end of line processing happen in just one place.
a64387ee 6444 (consider_token): Likewise.
362bc2da 6445
dff28924 64461991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
6447
6448 * etags.c (TEX_mode): Skip comments while scanning the text to see
6449 which escape character this file uses.
6450
dff28924 64511991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6452
6453 * emacsserver.c [USG]: Terminate if msgrcv fails.
6454
dff28924 64551991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6456
6457 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
6458
dff28924 64591991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6460
6461 * make-docfile: Find the arguments to a C function correctly,
6462 by not ignoring the character that read_c_string returns. Don't
6463 even try to find argument names for functions that take MANY
6464 or UNEVALLED arguments, since they're a figment of the docstring's
6465 imagination.
6466
dff28924 64671991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6468
6469 * make-docfile: Read the .elc files generated by the new byte
6470 compiler.
6471
dff28924 64721990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6473
6474 * refcard.tex: Use cm fonts, not am, in multi-column mode.
6475
dff28924 64761990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6477
6478 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
6479
dff28924 64801990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6481
6482 * Makefile (install*): No need to install wakeup.
6483
dff28924 64841990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6485
6486 * Makefile (install*): Install emacsclient like etags.
6487
dff28924 64881990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6489
6490 * movemail.c (error): Handle 3 args.
6491 (main): Don't check input access if using pop.
6492
dff28924 64931990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6494
6495 * etags.c (find_entries): Check for numbers after Scheme suffix.
6496
dff28924 64971990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6498
6499 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6500
dff28924 65011990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6502
6503 * Makefile (nemacstool, xvetool): New targets.
6504
dff28924 65051990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6506
6507 * emacsclient.c: Include errno.h and define related variables.
6508
dff28924 65091990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6510
6511 * emacsclient.c: Change usage message.
6512
dff28924 65131990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 6514
ecc54057 6515 * emacs.1: Add break before -nw option.
362bc2da 6516
dff28924 65171990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6518
6519 * qsort.c: Replace with GNU version.
6520
dff28924 65211990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6522
6523 * wakeup.c: New program replacing loadst.c.
6524
dff28924 65251990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6526
6527 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6528
dff28924 65291990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
6530
6531 * etags.c: Rename `flag' variables for what they do instead of
6532 which option character sets them.
6533
dff28924 65341990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6535
6536 * loadst.c (main): Conditional to get load average on Apollo.
6537
dff28924 65381990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
6539
6540 * emacsserver.c: Set the permission on the socket to 0600.
6541
dff28924 65421990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6543
6544 * emacsclient.c [BSD]: Print clean message for failing getwd.
6545
dff28924 65461990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6547
6548 * getdate.y: Use the getdate.y from GNU tar for timer.
6549
dff28924 65501990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
6551
6552 * emacsclient.c (main): Don't put brackets around "filename" in
6553 usage message. It isn't optional.
6554
dff28924 65551990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 6556
a64387ee 6557 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 6558
dff28924 65591990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6560
6561 * emacsserver.c: Renamed from server.c.
6562 * Makefile: Reference emacsserver rather than server.
6563 * MACHINES: Doc fix for new emacsserver name.
6564
dff28924 65651990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6566
6567 * emacsclient.c: Print program name in error messages.
6568
dff28924 65691990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
6570
6571 * timer.c, getdate.y (new files) and Makefile:
6572 Sub-process support for run-at-time in timer.el.
1c478461 6573 Doesn't yet work correctly for USG.
362bc2da 6574
dff28924 65751990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
6576
6577 * MACHINES: Add HP 300 running BSD.
6578
dff28924 65791990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6580
6581 * yow.c: Dynamically allocate buffer; skip header before random
6582 choice to avoid bias toward first item.
6583
dff28924 65841989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6585
6586 * etags.c (readline): Separate out init of `pend'.
6587
dff28924 65881989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6589
6590 * etags.c: Undo changes relating to isgoodhdr.
6591
dff28924 65921989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6593
6594 * etags.c (isgoodhdr): New macro.
6595 (_gdh, notgdh): New variable used by that.
6596 (init): Initialize _gdh.
6597 (find_entries): Set header_file.
6598 (consider_token): Use isgoodhdr if in header file.
6599
6600 * etags.c (total_size_of_entries):
6601 Was miscalculating by 1 in rewritten case.
6602
6603 * etags.c (PAS_funcs): One arg to pfnote was missing.
6604
dff28924 66051989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6606
6607 * MACHINES: Change for the ULTRIX entry.
6608
dff28924 66091989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6610
6611 * etags.c (process_file): If file is not regular, return.
6612
dff28924 66131989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6614
6615 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6616
dff28924 66171989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6618
6619 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6620 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6621
dff28924 66221989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6623
6624 * etags.c (consider_token): Allow any number of typespec keywords
6625 after `typedef', before new type name.
6626 (enum sym_type): Add st_C_typespec.
6627 (C_create_stab): Put typespec kwds in table.
6628
dff28924 66291989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6630
6631 * etags.c (main): Don't depend on name invoked by.
6632 If CTAGS is not defined, assume it is ETAGS.
6633
dff28924 66341989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6635
6636 * etags.c (L_funcs): Allow package name in define construct,
6637 as in (foo::defmumble name-defined ...).
6638
dff28924 66391989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6640
6641 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6642
6643 * Makefile (yow): Depends on ../src/paths.h.
6644
dff28924 66451989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6646
6647 * etags.c: Fix compilation by moving Pascal after Fortran.
6648
dff28924 66491989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6650
6651 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6652
dff28924 66531989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6654
6655 * hexl.c: New file, supports hexl-mode.
6656
dff28924 66571989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6658
6659 * movemail.c: New compilation flag MAIL_USE_MMDF.
6660
dff28924 66611989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6662
6663 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6664 * server.c: Likewise.
6665
6666 * make-docfile.c (scan_c_file): Output argument names at end of string.
6667 (write_c_args): New subroutine.
6668
dff28924 66691989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6670
6671 * movemail.c: Report failure of flock.
6672
dff28924 66731989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6674
6675 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6676
dff28924 66771989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6678
2f2c687b 6679 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 6680
dff28924 66811989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6682
6683 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6684
30a7ee9f 6685 * emacstool.1: Update to document environment variables.
362bc2da 6686
dff28924 66871989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6688
6689 * etags.c (PAS_funcs): New function by Mosur Mohan.
6690
6691 * movemail.c: On sysv, include unistd.h.
6692
dff28924 66931989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6694
6695 * b2m.c: New file.
6696
dff28924 66971989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6698
6699 * etags.c: Prolog support from Sunichirou Sugou
6700
dff28924 67011989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6702
6703 * Makefile (clean): New target.
6704
dff28924 67051989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6706
6707 * fakemail.c (put_line): Break header lines at 79 cols.
6708
dff28924 67091989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6710
6711 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6712 multiple tags per line.
6713
dff28924 67141989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6715
6716 * movemail.c: Check access before doing real work.
6717 Check that outfile is in a writable directory.
6718 On fatal error, delete the lock file.
6719
dff28924 67201988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6721
ecc54057
JB
6722 * env.c: Add decl for my-index
6723 * etags.c (file-entries): .oak => scheme
362bc2da 6724
dff28924 67251988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6726
6727 * movemail.c: Use `access' to check input and output files.
6728
dff28924 67291988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6730
6731 * emacsclient.c (main): Ignore all of CWD before first slash.
6732
dff28924 67331988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6734
6735 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6736
dff28924 67371988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6738
6739 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6740 * server.c: chmod the socket to 0700.
6741
dff28924 67421988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6743
6744 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6745 (add_field): Delete comments and turn `<', `>' to spaces
6746 in header lines.
6747 (USE_FAKEMAIL): New customization macro says to make fakemail
6748 not be a no-op even on a BSD system.
6749
dff28924 67501988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6751
6752 * etags.c (consider_token): Skip comments just like whitespace.
6753 Notice `struct', etc. and set strtag for those tokens.
6754 Return 1 for the token following `struct' if an open-brace follows it.
6755 (C_entries): Special handling of token following `struct'
6756 needed because we have probably advanced to the following line
6757 to find the `{'.
6758 (main): New option `T' sets tflag and strflag.
6759 Set both of them by default if eflags.
6760
dff28924 67611988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6762
6763 * movemail.c: Do fsync before closing output.
6764
dff28924 67651988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 6766
ecc54057
JB
6767 * movemail.c: Better error message when can't create tempname.
6768 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 6769
dff28924 67701988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6771
6772 * etags.c: Support assembler code for .s and .a files.
6773 (getit): Allow underscore in a tag.
6774
dff28924 67751988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6776
6777 * movemail.c: Close output and check errors before deleting input.
6778
dff28924 67791988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6780
6781 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6782 whether to prefix it. Handle line number args.
6783
dff28924 67841988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 6785
2f2c687b 6786 * etags.c (main): Default setting of eflag was backwards.
362bc2da 6787
dff28924 67881988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6789
6790 * etags.c: New option -i. -f renamed -o.
6791 `-' as input file means read input file names from stdin.
6792 -i spec'd or input file named TAGS means the input file is another
6793 tag table; output an "include" line for it.
6794
dff28924 67951988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6796
6797 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6798 New targets install, install.sysv, install.xenix.
6799 This makefile is now responsible for installing executables
6800 and documentation from this directory into system directories.
6801
dff28924 68021988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
6803
6804 * server.c, emacsclient.c (main): Compute socket name from euid.
6805
dff28924 68061988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6807
6808 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6809
dff28924 68101988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6811
6812 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6813 * emacsclient.c: Likewise.
6814 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6815
dff28924 68161988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6817
6818 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 6819 (istoken): New string-comparison macro.
362bc2da
DL
6820 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6821
dff28924 68221988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6823
6824 * etags.c: Changes for VMS.
6825 Always define ETAGS on VMS.
6826 Define macros GOOD and BAD for success and failure exit codes.
6827 (begtk, intk): Allow `$' in identifiers
6828 (main): Don't support -B, -F or -u on VMS.
6829 Alternate loop for scanning filename arguments.
6830 (system): Delete definition of this function.
6831
6832 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6833
dff28924 68341988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6835
6836 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6837 around include of param.h. (Like fns.c.)
6838
dff28924 68391988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6840
6841 * loadst.c (load_average): Move load-average code to this new fn.
6842 Add conditionals to compute load ave on UMAX.
6843
dff28924 68441988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6845
6846 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6847 with opposite sense.
6848
dff28924 68491988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
6850
6851 * emacsclient.c: Delete references to unused variable `out'. This
6852 caused a bus error when used under hp-ux.
6853
dff28924 68541988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6855
6856 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6857
dff28924 68581988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
6859
6860 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6861
dff28924 68621988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6863
6864 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6865
dff28924 68661988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6867
6868 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 6869 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 6870
dff28924 68711988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6872
6873 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6874 invalid escape sequences such as `\{'.
6875
6876 * loadst.c: Add `sequent' conditional for file dk.h.
6877
dff28924 68781988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 6879
2f2c687b 6880 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 6881
2f2c687b 6882 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
6883
6884;; Local Variables:
880820fe 6885;; coding: utf-8
33462dfa 6886;; add-log-time-zone-rule: t
6922b018 6887;; End:
2a34a036 6888
9766d41b 6889 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
294981c7 6890 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
f5d0ac07 6891 2007, 2008, 2009 Free Software Foundation, Inc.
5b87ad55
GM
6892
6893 This file is part of GNU Emacs.
6894
294981c7 6895 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 6896 it under the terms of the GNU General Public License as published by
294981c7
GM
6897 the Free Software Foundation, either version 3 of the License, or
6898 (at your option) any later version.
5b87ad55
GM
6899
6900 GNU Emacs is distributed in the hope that it will be useful,
6901 but WITHOUT ANY WARRANTY; without even the implied warranty of
6902 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6903 GNU General Public License for more details.
6904
6905 You should have received a copy of the GNU General Public License
294981c7 6906 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
ab5796a9
MB
6907
6908;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc