Remove useless if-before-free test.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
e0f59195
JM
12009-06-29 Jim Meyering <meyering@redhat.com>
2
3 Remove useless if-before-free test.
4 * make-docfile.c (scan_lisp_file): Remove useless test.
5
f5f20f6c
DN
62009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
7
8 * Makefile.in (movemail.o): Don't pass -Demacs, unused.
9
70243478
CY
102009-06-21 Chong Yidong <cyd@stupidchicken.com>
11
12 * Branch for 23.1.
13
fa44da6e
AR
142006-06-09 Adrian Robert <Adrian.B.Robert@gmail.com>
15
16 * mac-fix-env.m:
17 * Makefile.in (mac-fix-env): Remove.
18
a7f2b0b1
AR
192006-06-06 David Reitter <david.reitter@gmail.com>
20
21 * Makefile.in (mac-fix-env): Compile it using ALL_CFLAGS.
22
9dfda22f
JB
232009-04-20 Juanma Barranquero <lekktu@gmail.com>
24
25 * emacsclient.c (print_help_and_exit): Fix typo and tabify (careful
26 spacing is required in the message output, as the comment suggests).
27
24d5010d
CY
282009-04-20 Chong Yidong <cyd@stupidchicken.com>
29
30 * emacsclient.c (print_help_and_exit): Clarify argument placement
31 for short option names.
32
6133a1a9
DN
332009-04-02 Dan Nicolaescu <dann@ics.uci.edu>
34
35 * emacsclient.c (print_help_and_exit): Fix typo.
36
22749e9a
EZ
372009-03-21 Eli Zaretskii <eliz@gnu.org>
38
39 * ntlib.c (setuid): Argument is now unsigned.
40 (getuid): Return value is now unsigned.
41 (getpwuid): Argument is now unsigned.
42 (fchown): UID and GID arguments are now unsigned.
43
44 * ntlib.h (fchown): UID and GID arguments are now unsigned.
45 (getuid): Return value is now unsigned.
46 (setuid): Argument is now unsigned.
47 (getpwuid): Remove prototype (it's declared in nt/inc/pwd.h).
48
b57ac69d 492009-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
6cde1b21
JB
50
51 * emacsclient.c (main): Revert part of last change, so
52 drive-relative file names again work on Windows.
53
ba528748
SM
542009-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
55
56 * emacsclient.c (main): Always pass cwd via "-dir". Pass the file
57 names without prepending cwd to them, so Emacs uses its customary
58 rules to determine how to interpret the file name.
59
f213f2c0
GM
602009-03-04 Glenn Morris <rgm@gnu.org>
61
62 * movemail.c (main) [MAIL_USE_POP]: Add -r to usage message.
63
8ee7d7be
CY
642009-02-13 Sven Joachim <svenjoac@gmx.de>
65
66 * movemail.c: Include time.h unconditionally.
67 (main): Use time_t for time variables.
68
d228a23c
GM
692009-02-11 Glenn Morris <rgm@gnu.org>
70
71 * movemail.c (mbx_delimit_begin): Also write the current time.
72
3f32be22
GM
732009-02-10 Glenn Morris <rgm@gnu.org>
74
75 * movemail.c (mbx_delimit_begin, mbx_delimit_end): Write mbox rather
76 than Babyl format. (Bug#2196)
77
e7534fc4
AR
782009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com>
79
80 * emacsclient.c (decode_options): Use a dummy display name under
81 NS/Cocoa.
82
9eb67dd9
CY
832009-01-14 Lars Rasmusson <lars.rasmusson@gmail.com> (tiny change)
84
85 * ebrowse.c (matching_regexp): Fix OB1 error.
86
b433a991
GM
872009-01-05 Glenn Morris <rgm@gnu.org>
88
89 * ebrowse.c (version):
90 * etags.c (print_version):
91 * rcs2log (Copyright): Update copyright for 2009.
92
81f82586
CY
932009-01-01 Chong Yidong <cyd@stupidchicken.com>
94
95 * movemail.c (main): Fatal if hard links cannot be created.
96
fd95644b
DN
972008-12-18 Dan Nicolaescu <dann@ics.uci.edu>
98
99 * emacsclient.c (start_daemon_and_retry_set_socket): Improve error
100 checking.
101
67c1df01
DN
1022008-12-14 Dan Nicolaescu <dann@ics.uci.edu>
103
104 * emacsclient.c: Include syswait.h instead of sys/types.h.
105
f0131492 1062008-12-11 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change)
5445ab06 107
d4835507
JB
108 * emacsclient.c (WCONTINUED): New compatibility define
109 for older systems.
5445ab06 110
d50299d5
DN
1112008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
112
113 * emacsclient.c (main): Fix previous change.
114
52016647
JB
1152008-12-10 Juanma Barranquero <lekktu@gmail.com>
116
117 * emacsclient.c (main): Fix mindless breakage where emacsclient
118 does not work *at all* on Windows, even if it *can* connect.
119
802bdb3c
DN
1202008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
121
122 * emacsclient.c (EMACS_DAEMON): Remove definition.
123 (decode_options): Do not allow an empty alternate_editor on
124 WINDOWSNT.
125 (print_help_and_exit): Replace EMACS_DAEMON with WINDOWSNT.
126 (start_daemon_and_retry_set_socket): Likewise.
45ce4570 127 (main): Fail in case of not being able to connect.
802bdb3c 128
c3f995a2
JB
1292008-12-10 Juanma Barranquero <lekktu@gmail.com>
130
131 * emacsclient.c [!WINDOWSNT] (EMACS_DAEMON): New define.
132 Changes when EMACS_DAEMON is not defined:
133 (print_help_and_exit): Don't add daemon information to help.
134 (start_daemon_and_retry_set_socket): Make a no-op.
135 (main): Don't set `start_daemon_if_needed' (which is initialized to 0).
136
636b507b
DN
1372008-12-10 Dan Nicolaescu <dann@ics.uci.edu>
138
139 * emacsclient.c (print_help_and_exit): Describe what an empty
140 string argument does for --alternate-editor.
141 (set_socket): Make it possible to not exit in case of an error.
142 (start_daemon_and_retry_set_socket): New function.
143 (main): Use it. Restore the NULL value for socket_name and
144 server_file after the set_socket call.
145
448d4085
DN
1462008-12-03 Dan Nicolaescu <dann@ics.uci.edu>
147
7b641241 148 * emacsclient.c: Include <arpa/inet.h>.
448d4085 149
938ebc4f
DN
1502008-12-01 Dan Nicolaescu <dann@ics.uci.edu>
151
152 * make-docfile.c (scan_lisp_file): Use xmalloc instead of malloc.
153
3d864325
GM
1542008-11-22 Derek Peschel <dpeschel@eskimo.com> (tiny change)
155
156 * etags.c (add_regex): Pass correct length to re_compile_pattern.
157
48c2dc68
CY
1582008-11-02 Chong Yidong <cyd@stupidchicken.com>
159
160 * emacsclient.c (window_system): Delete redundant variable.
161 (decode_options): Don't use it.
162 (find_tty): New function.
163 (main): Use find_tty, and don't use window_system.
164
d41784ee
EZ
1652008-11-01 Eli Zaretskii <eliz@gnu.org>
166
167 * emacsclient.c (main) [WINDOWSNT]: Don't ifdef away the call to
168 `ttyname'.
169 (w32_getenv): Treat $TERM specially: if not found in the
170 environment and in the Registry, return "w32console".
171 (ttyname) [WINDOWSNT]: New function.
172
322ca650
AS
1732008-10-31 Andreas Schwab <schwab@suse.de>
174
175 * emacsclient.c (main): Don't force sending tty when in eval mode.
176
8a8a7cd3
CY
1772008-10-30 Chong Yidong <cyd@stupidchicken.com>
178
179 * emacsclient.c (main): If using the current frame, send tty
180 information to Emacs in case daemon mode needs to occupy this tty.
181
f8baa639
JB
1822008-10-29 Juanma Barranquero <lekktu@gmail.com>
183
bc558f3e
JB
184 * emacsclient.c (EXTRA_SPACE): New macro.
185 (get_server_config, set_local_socket): Use it.
186
f8baa639
JB
187 * makefile.w32-in ($(BLD)/sorted-doc.$(O)): Remove spurious backslash.
188 Reported by Guillaume Conjat <gconjat.ext@orange-ftgroup.com>.
189
f77b11a0
JB
1902008-10-29 Ulrich Mueller <ulm@gentoo.org>
191
192 * emacsclient.c (set_local_socket): Use TMPDIR (default /tmp)
193 instead of hardcoded /tmp.
194
dc1cd5f7
DN
1952008-10-13 Dan Nicolaescu <dann@ics.uci.edu>
196
197 * emacsclient.c (longopts, print_help_and_exit): Add -nw.
198 (decode_options): Use getopt_long_only.
199
7a09249b
EZ
2002008-09-30 Eli Zaretskii <eliz@gnu.org>
201
202 * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove ccl.elc and
203 codepage.elc.
204
997ec957
CY
2052008-09-19 Dan Nicolaescu <dann@ics.uci.edu>
206
207 * emacsclient.c (main): Use stdout rather than stdin to obtain the
208 terminal (bug#427).
209
0d80bf29
FP
2102008-08-25 Francesco Potortì <pot@gnu.org>
211
212 * etags.c (main): Do not use static space for the tagfile string.
213
34a23e94
FP
2142008-08-17 Francesco Potortì <pot@gnu.org>
215
216 * etags.c (main): Use canonicalize_filename on tags file name.
217 (relative_filename): Revert 3.85: do not collapse slashes here.
218 (absolute_dirname): Remove useless call to canonicalize_filename.
219 (canonicalize_filename): Collapse multiple slashes here.
220
48fad8e8
DN
2212008-08-07 Dan Nicolaescu <dann@ics.uci.edu>
222
10d1d0af
JB
223 * Makefile.in (INSTALLABLES): Add LIB_SRC_EXTRA_INSTALLABLES.
224 Do not special case for NS_IMPL_COCOA.
48fad8e8 225
f4494e84
AR
2262008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
227
228 * Makefile.in (CFLAGS): Drop -universal under NS_IMPL_COCOA.
229 (.m.o): Dispense with GNUstep-specific flags.
230
39b8bb9b
CY
2312008-08-05 Ulrich Mueller <ulm@gentoo.org>
232
233 * pop.c (socket_connection): Add conditionals for
234 HAVE_KRB5_ERROR_TEXT and HAVE_KRB5_ERROR_E_TEXT to support
235 compilation with MIT Kerberos and Heimdal, respectively.
236
7c2fb837
DN
2372008-07-31 Dan Nicolaescu <dann@ics.uci.edu>
238
239 * etags.c:
240 * emacsclient.c: Remove VMS support.
241
9e2a2647
DN
2422008-07-27 Dan Nicolaescu <dann@ics.uci.edu>
243
244 Remove support for Mac Carbon.
245 * makefile.w32-in:
246 * emacsclient.c: Remove code for Carbon.
247
7f619bab
DN
2482008-07-21 Dan Nicolaescu <dann@ics.uci.edu>
249
250 * Makefile.in (mac-fix-env): Remove #ifdef around rule.
251
32cc3925
AS
2522008-07-17 Andreas Schwab <schwab@suse.de>
253
254 * Makefile.in (INSTALL_SCRIPT): Remove duplicate definition.
255 (LIB_STANDARD_LIBSRC): Don't define.
256 (LOADLIBES): Remove LIB_STANDARD_LIBSRC.
257
ba60bd44 2582008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com>
122e9f8f
AR
259
260 * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to
261 NS_IMPL_COCOA.
262
50863f58
DN
2632008-07-16 Dan Nicolaescu <dann@ics.uci.edu>
264
ba60bd44
JB
265 * ntlib.h (fcloseall, fgetchar, flushall, fputchar, putw):
266 Remove, unused.
50863f58 267
ba60bd44 2682008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com>
edfda783
AR
269
270 * .cvsignore: Add mac-fix-env.
271 * mac-fix-env.m: New file, automatically update
272 ~/.MacOSX/environment.plist on OS X systems to expose environment
273 variables inside Emacs started from icon.
274 * Makefile.in: Add -universal to CFLAGS on OS X, add mac-fix-env to
275 programs to build.
276 * make-docfile.c: Add .m to list of file extensions.
277
bba104c1
DN
2782008-07-12 Dan Nicolaescu <dann@ics.uci.edu>
279
280 * movemail.c (main): Use int instead of WAITTYPE.
281
da007124
JB
2822008-07-05 Juanma Barranquero <lekktu@gmail.com>
283
284 * makefile.w32-in (OTHER_PLATFORM_SUPPORT):
285 Remove vmsproc.el and vms-patch.el.
286
c9fc02c7
JB
2872008-06-26 Juanma Barranquero <lekktu@gmail.com>
288
289 * makefile.w32-in (obj): Remove w32bdf.o.
290
f2a77c3a
DN
2912008-06-26 Dan Nicolaescu <dann@ics.uci.edu>
292
293 * fakemail.c: Remove references to obsolete variables.
294
c2cd06e6
JM
2952008-06-02 Jim Meyering <meyering@redhat.com>
296
e914c409 297 * ebrowse.c (xfree): Remove definition; s/xfree/free/.
5c19cd0b 298
e914c409 299 Remove useless if-before-free tests.
70fdbb46
JM
300 * ebrowse.c (xfree): Likewise.
301 * etags.c (process_file_name, free_tree, free_fdesc): Likewise.
c2cd06e6 302 (popclass_above, Prolog_functions, Erlang_functions): Likewise.
70fdbb46 303 * pop.c (pop_quit): Likewise.
c2cd06e6 304
01b996ad
JB
3052008-05-30 Juanma Barranquero <lekktu@gmail.com>
306
307 * makefile.w32-in (lisp2): Add minibuffer.elc.
308
2926947a
SM
3092008-05-29 Tom Tromey <tromey@redhat.com>
310
311 * etags.c (relative_filename): Treat "///" like "/" in filenames.
312
10fea9c4
EZ
3132008-05-09 Eli Zaretskii <eliz@gnu.org>
314
315 * ntlib.c: Include sys/types.h, sys/stat.h, and errno.h.
316 (IS_DIRECTORY_SEP): New macro.
317 (convert_time, is_exec, stat): New functions.
318
86914123
EZ
3192008-05-08 Eli Zaretskii <eliz@gnu.org>
320
321 * makefile.w32-in (lisp2): Rename epa-file-hook.elc to epa-hook.elc.
322
58bb7d50
EZ
3232008-05-03 Eli Zaretskii <eliz@gnu.org>
324
325 * makefile.w32-in (lisp2): Add epa-file-hook.elc, to track the
326 corresponding change in src/Makefile.in.
327
63b9b605
GM
3282008-04-24 Adam Gołębiowski <adamg@pld-linux.org> (tiny change)
329
330 * Makefile.in (etags${EXEEXT}, ctags${EXEEXT}): Fix quote typo.
331
4429f88c
JR
3322008-04-10 Jason Rumney <jasonr@gnu.org>
333
334 * makefile.w32-in (CLIENTRES): New variable and target.
335 (TRES): Remove.
336 ($(BLD)/emacsclientw.exe): Use $(CLIENTRES) instead of $(TRES).
337
14b11401
SM
3382008-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
339
340 * vcdiff: Use "sccs get" rather than "get"; leave PATH alone.
341
95de358c
RF
3422008-04-18 Steve Grubb <sgrubb@redhat.com> (tiny change)
343
344 * vcdiff: Use mktemp (CVE-2008-1694).
345
6948400c
JR
3462008-04-09 Jason Rumney <jasonr@gnu.org>
347
348 * makefile.w32-in (distclean, maintainer-clean): New targets.
349
afd27920
GM
3502008-03-13 Glenn Morris <rgm@gnu.org>
351
352 * makefile.w32-in (VERSION): Set to 23.0.60.
353
3d193d0f
JB
3542008-03-04 Juanma Barranquero <lekktu@gmail.com>
355
356 * .cvsignore: Add oo.
357
1797886f
SM
3582008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
359
360 * etags.c (Perl_functions): Fix call to skip_spaces.
361
9d2818d6
DN
3622008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
363
364 * Makefile.in (NO_SHORTNAMES):
365 * emacsclient.c (NO_SHORTNAMES):
366 * fakemail.c (NO_SHORTNAMES):
367 * make-docfile.c (NO_SHORTNAMES):
368 * movemail.c (NO_SHORTNAMES):
369 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
370
79d48c1a
JR
3712008-02-23 Jason Rumney <jasonr@gnu.org>
372
373 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
374 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
290afd83 375 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
79d48c1a
JR
376 (lisp2): Add new languages.
377 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
378
9c61c734
JB
3792008-02-22 Juanma Barranquero <lekktu@gmail.com>
380
381 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
382 malayalam.el, and tamil.el. Add sinhala.el.
383
50f271cb
JB
3842008-02-20 Juanma Barranquero <lekktu@gmail.com>
385
386 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
387 where NAME is relative to DRIVE'S current directory.
388
d07529f3
JB
3892008-02-15 Juanma Barranquero <lekktu@gmail.com>
390
391 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
392
45c1955d
DN
3932008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
394
395 * fakemail.c: Undo previous change.
396
deeaffe1
DN
3972008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
398
4624371d
DN
399 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
400 (main): Replace MAIL_PROGRAM_NAME with its value.
401
d07529f3 402 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
deeaffe1 403
9997dc15
SM
4042008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
405
406 * emacsclient.c (decode_options): Pass --display implicitly if -c
407 is specified. Only set tty if -t or -c is specified.
408
0c55bf82
JR
4092008-02-04 Jason Rumney <jasonr@gnu.org>
410
411 * makefile.w32-in (lisp1): Use (), not {}.
412
31cdf671
CY
4132008-02-04 Tom Tromey <tromey@redhat.com>
414
d07529f3
JB
415 * etags.c: Add "GTY" as synonym for __attribute__.
416 Update gperf output.
31cdf671 417
9303f985 4182008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2
MB
419
420 * makefile.w32-in (obj): Sync with src/Makefile.in
421 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
422 (WINNT_SUPPORT): Add term/w32-win.elc.
423 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
424
9303f985 4252008-02-01 Jason Rumney <jasonr@gnu.org>
aca7a3d2 426
d07529f3 427 * makefile.w32-in (obj): Add font.o and w32font.o.
aca7a3d2 428
d07529f3 4292008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
aca7a3d2 430
290afd83 431 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
aca7a3d2
MB
432 utf-8.elc, and latin-*.el.
433
0ea5797a
SM
4342008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
435
bcc891c2 436 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
0ea5797a
SM
437 Allow the -d option under w32 again, for those rare cases where it
438 actually does make sense.
439
5ab73228
JB
4402008-01-25 Juanma Barranquero <lekktu@gmail.com>
441
442 * emacsclient.c (set_tcp_socket): Don't send "\n" after
443 the authentication string; there's no need to haste.
444
702123a8
CY
4452008-01-22 Chong Yidong <cyd@stupidchicken.com>
446
447 * pop.c (pop_stat, pop_last): Fix last fix.
448
76ed5e01
DN
4492008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
450
451 * movemail.c: Remove references to XENIX.
452
e39a993c
DN
4532008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
454
455 * movemail.c:
456 * make-docfile.c: Remove reference to symbols defined by systems
457 not supported anymore: MAC_OS8, XENIX and STRIDE.
458
0ebec7d3
EZ
4592008-01-12 Eli Zaretskii <eliz@gnu.org>
460
461 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
462 of DISPLAY in the environment. Don't support -d.
463 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
464 (longopts) [WINDOWSNT]: Remove --display.
465
6eae3ad4
CY
4662008-01-10 Chong Yidong <cyd@stupidchicken.com>
467
468 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
469 conversion. Mistakes spotted by Nico Golde.
470
78da39c6
GM
4712008-01-09 Glenn Morris <rgm@gnu.org>
472
473 * emacsclient.c: Add missing final newlines to message calls.
474
34a14ec9 4752008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
78da39c6
GM
476
477 * emacsclient.c (set_socket): Add final newline to socket error message.
478
a408ea17
GM
4792008-01-04 Glenn Morris <rgm@gnu.org>
480
07655e62
JB
481 * ebrowse.c (version) <emacs_copyright>: New variable.
482 Just use current year for copyright.
a408ea17
GM
483
484 * etags.c (print_version):
485 * rcs2log (Copyright): Update to 2008.
486
0dc7a8bc
JR
4872007-11-28 Jason Rumney <jasonr@gnu.org>
488
489 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
490
880820fe 4912007-11-27 Jan Djärv <jan.h.d@swipnet.se>
7291159e
JD
492
493 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
494
880820fe 4952007-11-19 Jan Djärv <jan.h.d@swipnet.se>
ee15f312
JD
496
497 * pop.c (socket_connection): Move realhost out of #ifdefs.
498 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
499
880820fe 5002007-11-18 Jan Djärv <jan.h.d@swipnet.se>
33a2a872
JD
501
502 * pop.c (socket_connection): Use getaddrinfo if available.
503
880820fe 5042007-11-22 Francesco Potortì <pot@gnu.org>
63f018cd 505
65841dd8 506 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
63f018cd 507 as the defaults in ctags are different from etags.
63f018cd 508
880820fe 5092007-11-15 Francesco Potortì <pot@gnu.org>
21e14641
FP
510
511 * etags.c: Make prototypes for extern definitions, and add all
512 that are needed to quench warnings on 64-bit.
513 (main): Use the same defaults for ctags as for etags: find
514 typedefs, structure tags, macro constants, enum constants, struct
515 members and global variables.
516 (make_C_tag) [DEBUG]: Add debugging printout.
517 (C_entries): In case '}' decrement bracelev before testing it.
518
7455effc
FP
5192007-11-15 Masatake YAMATO <jet@gyve.org>
520
521 * etags.c (C_entries): In case '}', set fvdef to fvnone
522 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
523
04a697fe
DN
5242007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
525
526 * makefile.w32-in (obj): Remove sunfns.o.
527
a2666217
JB
5282007-10-28 Juanma Barranquero <lekktu@gmail.com>
529
530 * makefile.w32-in (obj): Remove abbrev.o.
531
7ce8671d
JB
5322007-10-26 Juanma Barranquero <lekktu@gmail.com>
533
534 * emacsclient.c: Add a wrapper for getenv so it also checks the
535 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
536 Code partially based on w32_get_resource and init_environment (w32.c).
537 (egetenv): New wrapper for getenv.
538 (get_current_dir_name, decode_options, get_server_config)
539 (set_local_socket, set_socket, main): Use egetenv, not getenv.
540 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
541
d22b00e5
JR
5422007-10-25 Jason Rumney <jasonr@gnu.org>
543
544 * emacsclient.c (sock_err_message): New function.
545 (set_tcp_socket): Use it.
546
c4b858e3
JB
5472007-10-09 Juanma Barranquero <lekktu@gmail.com>
548
549 * emacsclient.c (print_help_and_exit): Fix space to improve
550 alignment in output messages.
551
dbf60b07
JR
5522007-09-27 Jason Rumney <jasonr@gnu.org>
553
554 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
555
556 * emacsclient.c (w32_window_app): Init common controls when windowed.
557
165e85b2
GM
5582007-09-21 Glenn Morris <rgm@gnu.org>
559
560 * emacstool.c: Remove file.
561 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
562 Delete targets built from emacstool.
563
c1b8e896
SM
5642007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
565
566 * emacsclient.c (decode_options): -t implies -c.
567
cb06b8dc
SM
5682007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
569
570 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
571 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
572 (main_argc): Remove.
573 (strprefix): Use strncmp.
574
c801ad51
JR
5752007-09-20 Jason Rumney <jasonr@gnu.org>
576
577 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
578
31fa6595
SM
5792007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * emacsclient.c (current_frame): Change the default.
582 (longopts): Replace --current-frame by --create-frame.
583 (decode_options): Reverse the meaning of -c.
584 (print_help_and_exit): Update help text accordingly.
585 (main): Remove the -version and -good-version messages.
586
58573230
GM
5872007-09-12 Glenn Morris <rgm@gnu.org>
588
589 * Makefile.in (SOURCES, unlock, relock): Delete.
590
bfd9ce71
GM
5912007-08-29 Glenn Morris <rgm@gnu.org>
592
593 * makefile.w32-in (VERSION): Increase to 23.0.50.
594
8d9cc0b7
MB
5952007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
596
597 * emacsclient.c (w32_execvp): Move definition before use.
598 (decode_options): Don't use a tty on mac carbon or windows.
599
6002007-08-29 Jason Rumney <jasonr@gnu.org>
601
31fa6595 602 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
603 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
604 (main): Expand removed macros inline.
605 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
606 option.
607 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
608
880820fe 6092007-08-29 Károly Lőrentey <lorentey@elte.hu>
8d9cc0b7
MB
610
611 * emacsclient.c (signal.h): New include.
612 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
613 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
614 Copy definitions here from src/lisp.h.
615 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
616 (longopts): Add tty, current-frame.
617 (xmalloc, xstrdup): New functions.
618 (get_current_dir_name): New function, copied from src/sysdep.c.
619 (decode_options): Set display from environment. Add tty and
620 current_frame options. Make --no-wait imply --current-frame,
621 except when it is the only option given. Make sure no frame is
622 opened when --current-frame is set.
623 (print_help_and_exit): Document tty and current-frame options.
624 (fail): Change arguments to void.
625 (main): When sockets are not defined, set main_argc, main_argv,
626 and call fail() with no arguments.
627 (emacs_socket): New variable (moved out from main `s').
628 (quote_file_name): Rename to quote_argument.
629 (quote_argument): New name for old quote_file_name.
630 (unquote_argument, strprefix, pass_signal_to_emacs)
631 (handle_sigcont, handle_sigtstp, init_signals): New functions.
632 (set_local_socket): Initialize saved_errno to 0. If socket-name
633 is too long, call `fail' rather than `exit'.
634 (main): Doc update. Set main_argc, main_argv. New var `str'.
635 Don't need a filename or argument if tty or window_system set.
636 Call fail with no arguments. Use get_current_dir_name to send
637 over the current directory. Send version number to Emacs for
638 verification. If tty is set, check TERM, and pass name and type
639 to Emacs. Pass window_system to Emacs. Move sending of eval to
640 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
641 fflush. Check for a client/server version match.
642 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
643 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
644 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
645 environment and pwd to Emacs. Send current-frame to Emacs.
646
ca4ea90f
EZ
6472007-08-25 Eli Zaretskii <eliz@gnu.org>
648
649 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
650 Prepend "-" to the command, in case srcdir=. and file is copied
651 into itself.
652
cacc7b51
GM
6532007-07-25 Glenn Morris <rgm@gnu.org>
654
655 * Relicense all FSF files to GPLv3 or later.
656
657 * COPYING: Switch to GPLv3.
658
880820fe 6592007-07-17 Francesco Potortì <pot@gnu.org>
180f5b99
FP
660
661 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
662 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
663 (print_help): Use it in if() rather than #if.
664 (print_help): Conditionally print help about --no-line-directive.
180f5b99 665
9724908a
EZ
6662007-07-16 Eli Zaretskii <eliz@gnu.org>
667
668 * makefile.w32-in (clean): Don't delete *~.
669
5cf9ca93
GM
6702007-06-07 Glenn Morris <rgm@gnu.org>
671
672 * etags.c (print_version): Add `emacs_copyright' string, for
673 easier automatic updating.
674
880820fe 6752007-05-18 Francesco Potortì <pot@gnu.org>
cabfc1bc
FP
676
677 * etags.c: Extern definitions of some more pointer functions for
678 standalone compilation, especially important for 64bit platforms.
679 (main, print_help): --members is now the default for etags.
680 (C_entries): Parse start of C comment as a space == end of token.
681 This is not necessary for C++ comment, already parsed as newline.
682
07016031
GM
6832007-04-26 Glenn Morris <rgm@gnu.org>
684
685 * makefile.w32-in (VERSION): Increase to 22.1.50.
686
7dfc4cda
CY
6872007-06-02 Chong Yidong <cyd@stupidchicken.com>
688
689 * Version 22.1 released.
690
880820fe 6912007-02-26 Francesco Potortì <pot@gnu.org>
11d2d983 692
d620ddb3 693 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 694
0971f887
GM
6952007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
696
697 * Makefile.in (EMACS, EMACSOPT): New variables.
698 (blessmail): Use `--no-site-file' when compiling.
699
880820fe 7002007-02-05 Francesco Potortì <pot@gnu.org>
933ccc8c
FP
701
702 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
703 (main): Now --members is the default for etags, not for ctags yet.
704
d881944f 7052007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 706
47dad44f 707 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
708 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
709 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
710 import, package, extends, implements and interface to be treated
711 specially for all kinds of C-style files, not just Java files.
712
880820fe 7132007-01-02 Francesco Potortì <pot@gnu.org>
ed8bbc0e 714
47dad44f 715 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
716 (no_duplicates): Static variables for the above option.
717 (print_help): Do not print help for --no-warn, now undocumented.
718 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 719 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 720
880820fe 7212006-12-28 Francesco Potortì <pot@gnu.org>
18f9bf25
FP
722
723 * etags.c (readline): When creating a relative file name from a
724 #line directive, leave the file name alone. The previous
a7c29764 725 behavior was to make it relative to the tags file directory,
18f9bf25
FP
726 under the hypothesis that the #line directive file name was
727 relative to the directory of the tagged file. That hypothesis is
728 wrong with Cpp and Lex.
17d5f8a6 729 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 730
5e059fc1
EZ
7312006-12-22 Eli Zaretskii <eliz@gnu.org>
732
733 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
734 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 735 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
736 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
737 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
738 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
739 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
740 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 741 (clean): Delete stamp_BLD.
5e059fc1 742
880820fe 7432006-12-20 Francesco Potortì <pot@gnu.org>
bd3b41c6
FP
744
745 * etags.c (C_entries): DEFUN names were longer by one: corrected.
746
0e0dced5
JB
7472006-12-18 Juanma Barranquero <lekktu@gmail.com>
748
749 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
750 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
751 (main) [WINDOWSNT]: Remove code to release the focus; call
752 w32_give_focus instead.
753
4472aef4
JB
7542006-12-15 Juanma Barranquero <lekktu@gmail.com>
755
756 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
757 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
758 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
759 Suggestions and comment by Eli Zaretskii.
760
12f7728e 7612006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
762
763 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
764 Use $(USER32) for compatibility with Visual Studio .NET 2003.
765
310afa17
JB
7662006-11-30 Juanma Barranquero <lekktu@gmail.com>
767
768 * emacsclient.c (emacs_pid): New variable.
769 (message): Remove leftover code.
770 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
771 focus yet; emacsclient can still display an informational message
772 before sending requests to Emacs.
773 (main): Allow Emacs to grab the focus. Simplify message() call.
774
7752006-11-30 Michael Mauger <mmaug@yahoo.com>
776
777 * emacsclient.c (message): Make sure the message is properly
778 written even if it contains printf escapes, and flush the result.
779 (set_tcp_socket): Make the message for non-local connections
780 informational rather than an error.
781
8c57275b 7822006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
783
784 * etags.c (readline): Check for double quote after #line.
785
880820fe 7862006-11-28 Jan Djärv <jan.h.d@swipnet.se>
9b492fad
FP
787
788 * etags.c (readline): sscanf could in principle return 2.
789
880820fe 7902006-11-28 Francesco Potortì <pot@gnu.org>
9b492fad
FP
791
792 * etags.c (readline): lno is unsigned.
793 (TeX_commands): Use p++ (rather than *p++) to increment p.
794 (Lua_functions): Explicitly discard LOOKING_AT's return value.
795
4d91c8f9
JB
7962006-11-27 Juanma Barranquero <lekktu@gmail.com>
797
798 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
799 ($(TRES)): New rule (copied from nt/makefile.w32-in).
800 ($(BLD)/emacsclientw.exe): Add dependency.
801
340d34a5
EZ
8022006-11-27 Eli Zaretskii <eliz@gnu.org>
803
d620ddb3 804 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 805
7dce1990
JB
8062006-11-25 Juanma Barranquero <lekktu@gmail.com>
807
808 * makefile.w32-in (VERSION): New macro.
809 (ECLIENT_CFLAGS): Add -DVERSION.
810
410797a5 8112006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
812
813 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
814
410797a5 8152006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 816
4472aef4
JB
817 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
818 file names with forward slashes.
cb0297bb 819
30aa95ce
JB
8202006-11-23 Juanma Barranquero <lekktu@gmail.com>
821
822 * emacsclient.c (print_help_and_exit): Tweak message contents and
823 tabs/spaces to improve alignment in message boxes.
824
42073bfb
JB
8252006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
826
827 * emacsclient.c: Include <stdarg.h>.
828 [WINDOWSNT]: Include <windows.h>.
829 (w32_check_console_app): New function.
830 (message): New function.
831 (decode_options, print_help_and_exit, fail, main)
832 (initialize_sockets, get_server_config, set_tcp_socket)
833 (set_local_socket, set_socket): Use message().
834
32dd9283 8352006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 836
32dd9283
JR
837 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
838 HAVE_INET_SOCKETS.
839
1bbea9fc
JB
8402006-11-13 Juanma Barranquero <lekktu@gmail.com>
841
842 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
843 ($(BLD)/emacsclientw.exe): New target.
844 (install): Install emacsclientw.exe.
845 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
846 (ECLIENT_CFLAGS): Remove redundant flags.
847
848 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
849
a48db427
JR
8502006-11-13 Jason Rumney <jasonr@gnu.org>
851
852 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
853
21f89bb7 8542006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
855
856 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
857
d5abc12c
JB
8582006-11-08 Juanma Barranquero <lekktu@gmail.com>
859
ed4a3730
JB
860 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
861 FARPROC to avoid a compiler warning.
d5abc12c 862
18b8c421
JB
8632006-11-07 Juanma Barranquero <lekktu@gmail.com>
864
88b46d84
JB
865 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
866 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
867
18b8c421
JB
868 * emacsclient.c (get_server_config): Extract also the Emacs pid
869 from the server file. On Windows, try to force the Emacs frame to
870 the foreground.
871
b03d27bd
JB
8722006-11-06 Juanma Barranquero <lekktu@gmail.com>
873
21f89bb7 874 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
875 option --socket-name.
876 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
877 command line options.
21f89bb7 878 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
879 (fail): Don't check for missing arguments, it is now done in set_socket.
880 (file_name_absolute_p): New function (loosely based on the one in
881 fileio.c).
882 (initialize_sockets): Don't check for duplicate loading of Winsock.
883 (get_server_config): Only try relative paths in the default
884 directory locations.
885 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
886 a remote server.
887 (set_socket): Call INITIALIZE(). Search explicit command-line
888 arguments, then environment variable EMACS_SERVER_FILE, then implicit
889 socket paths, before trying the alternate editor.
890 (main): Use file_name_absolute_p.
891
b20d6154
EZ
8922006-11-04 Eli Zaretskii <eliz@gnu.org>
893
894 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
895 file if it doesn't already exist.
896
9c92edca
JB
8972006-11-03 Juanma Barranquero <lekktu@gmail.com>
898
899 * emacsclient.c (initialize_sockets): Don't initialize Winsock
900 more than once.
901
b6ce9c46
JB
9022006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
903
904 * Makefile.in (INSTALL_SCRIPT): New macro.
905 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
906
4418616b
JB
9072006-11-02 Juanma Barranquero <lekktu@gmail.com>
908
909 * grep-changelog: When called with no arguments (not even a
910 filter), show help instead of blindingly dumping every single
911 ChangeLog available. Doc fix. Update version.
912
1e7823d0
JB
9132006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
914
915 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
916 [!WINDOWSNT]: Include <netinet/in.h> if available.
917 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
918 (IOCTL, IOCTL_BOOL_ARG): Remove.
919 (set_tcp_socket): Don't set the socket in blocking mode.
920 Remove c_arg.
921
ebc20ca0
JB
9222006-11-01 Juanma Barranquero <lekktu@gmail.com>
923
924 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
925 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
926
880820fe 9272006-10-31 Óscar Fuentes <ofv@wanadoo.es> (tiny change)
411b80a5
JB
928
929 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
930 (close_winsock): Declare as __cdecl.
931
880820fe 9322006-10-31 Jan Djärv <jan.h.d@swipnet.se>
95d0feaa
JB
933
934 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
935 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
936 to set the socket in non-blocking mode.
937
e35fc962
JB
9382006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
939
d4fa60c8 940 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
941 (INVALID_SOCKET): Define.
942 (initialize_sockets): Put #endif at the right place.
943 (set_local_socket): Use progname, not argv[0].
944
ecc54057
JB
9452006-10-31 Juanma Barranquero <lekktu@gmail.com>
946
947 * makefile.w32-in (ALL): Add emacsclient.
948 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
949 (emacsclient, $(BLD)/emacsclient.exe): New targets.
950 (install): Install emacsclient.
951
952 * emacsclient.c: Add support for TCP sockets.
953 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
954 (INITIALIZE): New macros.
955 (IOCTL_BOOL_ARG): New typedef.
956 (server_file): New global variable.
957 (longopts): New option --server-file.
958 (decode_options): Process new option --server-file and environment
959 variable EMACS_SERVER_FILE.
960 (print_help_and_exit): Document new option.
961 (fail): If no connection available and no alternate editor,
962 suggest using options to make them explicit.
963 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
964 (send_buffer, sblen): New variables.
31fa6595 965 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
966 (quote_file_name): Use SEND_STRING.
967 (close_winsock, initialize_sockets): New functions to load and
968 unload Winsock.
969 (get_server_config, set_tcp_socket): New functions to create and
970 set up TCP sockets.
971 (set_local_socket): New function to create and set up Unix
972 socket (code moved from previous implementation).
10d1d0af 973 (set_socket): New function to choose between TCP and Unix sockets.
ecc54057
JB
974 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
975 set_local_socket. Use set_socket. Get answers from server.el with
976 recv(), not file stream functions.
977
70846e2a
EZ
9782006-10-09 Eli Zaretskii <eliz@gnu.org>
979
980 * makefile.w32-in (../src/config.h): Fix error message.
981
e2247cd0
EZ
9822006-09-30 Eli Zaretskii <eliz@gnu.org>
983
984 * .cvsignore: Add blessmail.
985
45a2056c
JB
9862006-09-15 Jay Belanger <belanger@truman.edu>
987
988 * COPYING: Replace "Library Public License" by "Lesser Public
989 License" throughout.
990
880820fe 9912006-08-09 Jan Djärv <jan.h.d@swipnet.se>
1f4edc37 992
ecc54057 993 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 994 (readline): Change position on %n and \" in sscanf.
1f4edc37 995
1520a816
JD
9962006-08-07 Masatake YAMATO <jet@gyve.org>
997
ecc54057
JB
998 * etags.c (readline): Expect sscanf returns 2, not 1.
999
867cc23e
JD
10002006-08-07 Masatake YAMATO <jet@gyve.org>
1001
9984b9d5 1002 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
1003 File ended without newline causes infinite loop.
1004
fc185ae6
FP
10052002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
1006
ecc54057 1007 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6 1008
880820fe 10092006-07-30 Francesco Potortì <pot@gnu.org>
fc185ae6
FP
1010
1011 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
1012 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
1013 (Objc_suffixes): Suggest using --lang=c for full help.
1014 (C_entries): Initialise savetoken to 0 to shut up the compiler.
1015
116e754b
AS
10162006-07-20 Andreas Schwab <schwab@suse.de>
1017
1018 * fakemail.c (fatal): Drop second parameter and treat first
1019 parameter as a plain string. Callers changed.
1020
2381d38d
DN
10212006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
1022
1023 * ebrowse.c (usage, version): Mark as NO_RETURN.
1024
1025 * emacsclient.c (print_help_and_exit): Likewise.
1026
880820fe 10272006-07-10 Francesco Potortì <pot@gnu.org>
327891eb
FP
1028
1029 * etags.c (absolute_filename): Free unused space (cosmetic change).
1030 (in_word_set): In C, also tag #undef symbols.
1031
7cb93181
EZ
10322006-06-09 Eli Zaretskii <eliz@gnu.org>
1033
1034 * yow.c: Remove file.
1035
1036 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
1037
1038 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
1039 yow${EXEEXT}: Remove target.
1040
0f29c66d
MY
10412006-06-04 Masatake YAMATO <jet@gyve.org>
1042
63fbb644 1043 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
1044 doesn't exist, is not seekable, not is failed in ftall.
1045
a941b26b
EZ
10462006-06-03 Eli Zaretskii <eliz@gnu.org>
1047
9781fb53
EZ
1048 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
1049 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
1050 ($(BLD)/test-distrib.exe): New targets.
1051 (sorted-doc, digest-doc, test-distrib): New targets.
1052 (install): Install sorted-doc.exe and digest-doc.exe.
1053 ($(BLD)/sorted-doc.$(O)): Update dependencies.
1054
1b178b99
EZ
1055 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1056 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1057 terminal device.
1058
ae85efdb
EZ
1059 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
1060 [WINDOWSNT] <top level>: Don't redeclare malloc.
1061 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
1062 terminal device.
1b178b99 1063 (main): Initialize bp, to avoid compiler warnings
ae85efdb 1064
a941b26b
EZ
1065 * makefile.w32-in: Delete traces of leditcfns.c.
1066
1067 * leditcfns.c: Remove file.
1068
880820fe 10692006-05-23 Francesco Potortì <pot@gnu.org>
8a6d5da7 1070
31fa6595
SM
1071 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
1072 Add comments explaining why the "kpop" service is never used.
8a6d5da7 1073
642c61f3
EZ
10742006-05-13 Eli Zaretskii <eliz@gnu.org>
1075
1076 * makefile.w32-in (lisp1): Add fringe.elc.
1077
880820fe 10782006-05-02 Francesco Potortì <pot@gnu.org>
7e237d24
FP
1079
1080 * etags.c (Perl_functions): Free space allocated for var package.
1081 (Erlang_functions): Possibly free space allocated for var last.
1082 (Prolog_functions): Possibly free space allocated for var last.
1083
7c47913b
DN
10842006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
1085
7fe8b491
DN
1086 * sorted-doc.c (main): Initialize docs to NULL.
1087
cdeda579
DN
1088 * yow.c (yow): Free buf.
1089
7c47913b
DN
1090 * etags.c: Delete c-indentation-style local variable.
1091
2ef88a94
RS
10922006-04-29 Richard Stallman <rms@gnu.org>
1093
5e5b35c7
RS
1094 * movemail.c (main): Check for negative value from `read'.
1095
2ef88a94
RS
1096 * fakemail.c (read_header): Give fatal error if input has no header.
1097
d65b4235
PE
10982006-04-02 Paul Eggert <eggert@cs.ucla.edu>
1099
1100 * b2m.c (main): Don't include <limits.h>.
1101 (TM_YEAR_BASE): New macro.
1102 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
1103 that s/ files can override this. Use the more-conservative range
1104 1000-9999.
1105 (main): Check for asctime returning NULL.
1106 * fakemail.c: Likewise.
1107
f5565804
PE
11082006-03-27 Paul Eggert <eggert@cs.ucla.edu>
1109
1110 * b2m.c: Include <limits.h>.
1111 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
1112 (main): Check for out-of-range time stamps.
1113 * fakemail.c: Likewise.
1114
90c9c343
AS
11152006-03-18 Andre Spiegel <spiegel@gnu.org>
1116
1117 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
1118 execute $DIFF twice, and once with the wrong options.
1119
a6a2b5d4
EZ
11202006-02-23 Claudio Fontana <claudio@gnu.org>
1121
9e2bcc86
EZ
1122 * Makefile.in (install, uninstall): Add DESTDIR variable to
1123 support staged installations.
a6a2b5d4 1124
ef3f69f9
EZ
11252005-12-30 Eli Zaretskii <eliz@gnu.org>
1126
1127 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
1128 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
1129 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
1130 Rearrange the list to be similar to $(shortlisp) in
1131 src/Makefile.in.
ef3f69f9
EZ
1132 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
1133 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
1134 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
1135 src/Makefile.in.
1136
30cfcf7f
RS
11372005-12-22 Richard M. Stallman <rms@gnu.org>
1138
1139 * Makefile.in (update-game-score.o): Delete spurious final `\'.
1140
ecc54057 11412005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
1142
1143 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
1144 which was never opened.
1145
283879ef 11462005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
1147
1148 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
1149 header files.)
1150
880820fe 11512005-09-27 Francesco Potortì <pot@gnu.org>
55102b5d
FP
1152
1153 * etags.c: Preliminary Forth support.
1154 (prolog_pr): Cast strlen to int before comparison.
1155 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
1156 the second argument is indeed a literal string.
b9509712 1157 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
1158
11592005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
1160
1161 * etags.c (longopts, print_help, main): The -a (--append) option
1162 can be used in ctags also; for one, the Linux make file uses it.
1163
41ea4df8
CY
11642005-09-20 Chong Yidong <cyd@stupidchicken.com>
1165
1166 * ebrowse.c (add_sym): Compare namespace names instead of
1167 namespace objects. This prevents the parser from incorrectly
1168 treating classes whose superclass is in another namespace.
1169
5c4757d3
RS
11702005-09-15 Richard M. Stallman <rms@gnu.org>
1171
1172 * Makefile.in (update-game-score.o): New target.
10d1d0af 1173 Compile and link this program separately.
5c4757d3
RS
1174 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
1175
df1b2142
JR
11762005-09-11 Jason Rumney <jasonr@gnu.org>
1177
ecc54057 1178 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 1179 message instead.
31fa6595 1180 (../src/paths.h): Remove.
df1b2142 1181
c638055f
JB
11822005-07-27 Juanma Barranquero <lekktu@gmail.com>
1183
1184 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
1185 generated. Ignore also ctags.c and getopt.h.
1186
1187 * makefile.w32-in (clean): Delete getopt.h.
1188 (getopt.h): New rule.
1189
9eff9fe3
PE
11902005-07-26 Paul Eggert <eggert@cs.ucla.edu>
1191
1192 Merge gnulib getopt implementation into Emacs.
1193
1194 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
1195 (GETOPT_H): New macro, from gnulib.
1196 (getopt.h): New rule, from gnulib.
1197 (GETOPTOBJS): Now autoconfigured.
1198 (GETOPTDEPS): getopt.h is now autoconfigured.
1199 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
1200 (getopt.o): Depend on ${srcdir}/gettext.h.
1201 (movemail.o): Depend on $(GETOPT_H).
1202 * getopt.c, getopt1.c: Sync from gnulib.
1203 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
1204 * getopt.h: Removed (now is getopt_.h).
1205
ec641d50
KR
12062005-07-13 Ken Raeburn <raeburn@gnu.org>
1207
0e0dced5
JB
1208 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
1209 (sendline): Add the \r\n to the line in a temporary buffer, and write
1210 it all at once.
ec641d50 1211
a0ec7a4a
LK
12122005-07-04 Lute Kamstra <lute@gnu.org>
1213
1214 Update FSF's address in GPL notices.
1215
0e0dddda
EZ
12162005-06-13 Eli Zaretskii <eliz@gnu.org>
1217
1218 * makefile.w32-in ($(DOC)): Fix last change.
1219
5a77c8e2
EZ
12202005-06-12 Eli Zaretskii <eliz@gnu.org>
1221
1222 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
1223 temacs.exe, and the preloaded *.elc files. This avoids
1224 unnecessary dumping and DOC rebuilding.
1225
1a8fb426
EZ
12262005-06-04 Eli Zaretskii <eliz@gnu.org>
1227
1228 * ntlib.h (fileno): Don't define if already defined.
1229
7235a58f
TTN
12302005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1231
1232 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
1233 (yow): Use EXIT_FAILURE in case of memory error.
1234
5063dbbf
YM
12352005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1236
1237 * make-docfile.c (DIRECTORY_SEP): New macro.
1238 (IS_DIRECTORY_SEP): Use it.
1239
880820fe 12402005-03-18 Jan Djärv <jan.h.d@swipnet.se>
5b9562c3
JD
1241
1242 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
1243
ba025f6d
YM
12442005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1245
1246 * make-docfile.c: Undo previous change.
1247
a9eedf40
AS
12482005-02-04 Andreas Schwab <schwab@suse.de>
1249
0e0dced5
JB
1250 * movemail.c (fatal): Accept third parameter and pass down to error.
1251 (pfatal_with_name): Pass error string as format parameter instead of
1252 as part of format string.
a9eedf40
AS
1253 (pfatal_and_delete): Likewise.
1254 (main): Adjust call to fatal.
1255 (xmalloc): Likewise.
1256
5a92a9eb
RS
12572005-01-29 Richard M. Stallman <rms@gnu.org>
1258
1259 * movemail.c (popmail): Don't use Errmsg as format string.
1260
e6973a25
ST
12612004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1262
0e0dced5 1263 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 1264
1bb3da38
AS
12652004-12-15 Andreas Schwab <schwab@suse.de>
1266
1267 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
1268 preprocessing to compile time constant.
1269
d4a38fdd
KS
12702004-11-17 Kim F. Storm <storm@cua.dk>
1271
1272 * etags.c: Undo last change.
1273
f2eb41c8
KS
12742004-11-09 Kim F. Storm <storm@cua.dk>
1275
1276 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
1277 silence compiler.
1278
1279 * hexl.c (main): Init local var c to silence compiler.
1280
1281 * etags.c (main, consider_token, C_entries): Add misc switch
1282 default targets to silence compiler.
1283
880820fe 12842004-11-09 Jan Djärv <jan.h.d@swipnet.se>
3cf5c994
JD
1285
1286 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
1287 resulting DOC file can be used on Unix/Mac also.
1288
880820fe 12892004-09-13 Francesco Potortì <pot@gnu.org>
e057dc50
FP
1290
1291 * etags.c (main): When relative file names are given as argument,
1292 make them relative to the current working dir, rather than
1293 relative to the output tags file, if the latter is in /dev.
1294
880820fe 12952004-09-13 Francesco Potortì <pot@gnu.org>
05d9a399
FP
1296
1297 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
1298 <stdlib.h> is available.
1299 (enum sym_type): New st_C_attribute value for parsing
1300 gcc's __attribute__. Deleted st_C_typespec value.
1301 (gperf, in_word_set): Use gperf 3, options changed. Added the
1302 __attribute__ keyword, removed all the st_C_typespec keywords,
1303 changed attribute for Java to (C_JAVA & !C_PLPL).
1304 (inattribute): New global bool, part of the C state machine.
1305 (cblev): Identifier renamed to bracelev throughout.
1306 (consider_token, C_entries): Numerous changes for making the
1307 parser more robust and adding support for __attribute__.
1308
13092004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
1310
ecc54057 1311 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
1312 Support the Lua scripting language <http://www.lua.org>.
1313
880820fe 13142004-09-08 Francesco Potortì <pot@gnu.org>
fba74375 1315
d57727c9 1316 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
1317 for ease of use.
1318
3751eb00
RS
13192004-07-17 Richard M. Stallman <rms@gnu.org>
1320
1321 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
1322
86d373e6
JB
13232004-06-01 Juanma Barranquero <lektu@terra.es>
1324
1325 * makefile.w32-in (obj): Add image.c.
1326
80e26b66
TTN
13272004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
1328
0e0dced5 1329 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 1330
e6662c8b
JR
13312004-05-08 Jason Rumney <jasonr@gnu.org>
1332
1333 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
1334 command-lines.
1335
65396510
TTN
13362004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1337
1338 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
1339 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
1340 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1341
1342 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
1343 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
1344 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 1345
c2bcfb19
TTN
13462004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
1347
1348 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
1349
3f0656ff
TTN
13502004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
1351
1352 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1353 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1354 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1355
1356 * etags.c: Likewise.
1357
238add5e
JR
13582004-05-03 Jason Rumney <jasonr@gnu.org>
1359
1360 * makefile.nt: Remove.
1361
b09c5608
EZ
13622004-04-26 Eli Zaretskii <eliz@gnu.org>
1363
1364 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1365 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1366 instead of a literal '/'.
1367
d814862a
JB
13682004-04-23 Juanma Barranquero <lektu@terra.es>
1369
1370 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1371
442a2160
PE
13722004-04-17 Paul Eggert <eggert@gnu.org>
1373
1374 * rcs2log (Help): Clarify wording of the usage message.
1375 Problem reported by Alan Mackenzie in
1376 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
1377
d5d66b7e
SM
13782004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1379
1380 * make-docfile.c (xmalloc): Fix return type.
1381 (put_filename): New fun.
1382 (scan_file): Use it.
1383
bdfd0369
JB
13842004-03-09 Juanma Barranquero <lektu@terra.es>
1385
1386 * grep-changelog: Changes to support ChangeLog.10+.
1387 (main): Tidy up usage string. Fix "Use of uninitialized value"
1388 warning. Set version to 0.2. Parse the directory listing to get
1389 any ChangeLog.n file, not just 1..9.
1390 (header_match_p, entry_match_p, print_log, parse_changelog):
1391 Remove Perl prototypes (their purpose is to help the parser, which
1392 isn't needed here, not declare arguments).
1393 (parse_changelog): Make --reverse faster on big batches by not
1394 modifying the entries list.
1395
a64387ee
JB
13962004-03-01 Juanma Barranquero <lektu@terra.es>
1397
1398 * makefile.w32-in (obj): Add fringe.c.
1399
9766d41b
PE
14002004-02-14 Paul Eggert <eggert@twinsun.com>
1401
1402 * rcs2log: Work correctly if CVSROOT specifies :fork: or
1403 :local: methods, or omits the colon between the hostname
1404 and the path. Allow :/ in repository path, since CVS does.
1405 Fix typo: "pository" should be set from $CVSROOT, not $repository.
1406 This fixes a bug reported by Wolfgang Scherer in
1407 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
1408 along with some related bugs I discovered by inspecting how
1409 CVS itself parses $CVSROOT.
1410
880820fe 14112004-02-04 Jérôme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
1412
1413 * emacsclient.c (decode_options): Fix handling of alternate editor.
1414
0734b0d0
SM
14152004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * emacsclient.c (main): Don't use the hostname in the socket name.
1418 Look for relative socket names in the /tmp dir rather than in cwd.
1419
2a6fc2d9
RS
14202004-01-24 Richard M. Stallman <rms@gnu.org>
1421
1422 * emacsclient.c (main): Restore errno from saved_errno,
1423 so the error message comes from socket_status.
1424
0734b0d0
SM
14252004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1426
1427 * emacsclient.c (main): Stop if socket name too long.
1428 Only try su-fallback if the socket name was not explicit.
1429 Check socket name length in su-fallback case as well.
1430
152b6e83
AS
14312004-01-08 Andreas Schwab <schwab@suse.de>
1432
1433 * emacsclient.c (main): Save errno from socket_status.
1434
e8228824
AS
14352004-01-04 Andreas Schwab <schwab@suse.de>
1436
1437 * emacsclient.c (main): Fix socket name when using another user.
1438
c9140662
PE
14392003-12-27 Paul Eggert <eggert@twinsun.com>
1440
1441 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
1442 a tag, and if the user has not specified an rlog option.
1443 Adapted from a suggestion by Martin Stjernholm in
1444 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
1445 (Copyright): Update to 2003.
1446
8babaa59
TTN
14472003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
1448
1449 * make-docfile.c (main): For return code, no longer special-case VMS.
1450 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
1451
880820fe 14522003-09-28 Andreas Büsching <crunchy@tzi.de> (tiny change)
14ef7288
EZ
1453
1454 * emacsclient.c (quote_file_name): Print the result instead of
1455 returning it. Fix the return type accordingly.
1ae7cf5e
RS
1456 (main): With --eval, if no file name, read from stdin.
1457 Quote file names.
14ef7288 1458
f387bdea
RS
14592003-09-10 Richard M. Stallman <rms@gnu.org>
1460
07655e62 1461 * emacsclient.c (main): Use socket_name.
f387bdea 1462
880820fe 14632003-09-10 Andreas Büsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
1464
1465 * emacsclient.c (socket_name): New variable.
1466 (longopts, decode_options, print_help_and_exit):
1467 Handle --socket-name argument.
1468
0b7e7337
FP
14692003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
1470
783bcffa 1471 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
1472 token len is long enough.
1473
ac06b30b
DL
14742003-08-20 Dave Love <fx@gnu.org>
1475
1476 * Makefile.in: Remove obsolete references to alloca.
1477
32b0a3c6
JB
14782003-07-29 Ken Brush <ken@wirex.com>
1479
1480 * emacsclient.c (main)
1481 * etags.c (suggest_asking_for_help)
1482 * movemail.c (main): Fix having macros in a printf statement.
1483
3867c42d
JB
14842003-05-31 Juanma Barranquero <lektu@terra.es>
1485
1486 * makefile.w32-in (lisp): Fix references to byte-run.el,
1487 float-sup.el and map-ynp.el, which are now in emacs-lisp.
1488
7933722a
DL
14892003-05-22 Dave Love <fx@gnu.org>
1490
1491 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
1492 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
1493
463f55ee
DL
14942003-05-20 Dave Love <fx@gnu.org>
1495
1496 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
1497
1498 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
1499
1b7a835b
JB
15002003-04-27 Oliver Scholz <alkibiades@gmx.de>
1501
0e0dced5 1502 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 1503
eec54bd7
SM
15042003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1505
1506 * emacsclient.c (main): Use new safe location for socket.
1507
ff4bd681
JB
15082003-03-12 Tom Tromey <tromey@redhat.com>
1509
eec54bd7
SM
1510 * emacsclient.c (print_help_and_exit): Print to stdout.
1511 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
1512 (decode_options): Don't call print_help_and_exit in default case.
1513 Print version information to stdout.
1514 (main): Don't call print_help_and_exit.
1515
dd132e44
RS
15162003-02-15 Richard M. Stallman <rms@gnu.org>
1517
1518 * cvtmail.c: Cast result of malloc and realloc.
10d1d0af 1519 Don't include stdlib.h, because config.h does.
dd132e44 1520 (malloc, realloc): Declarations deleted.
ff4bd681 1521
dd132e44
RS
1522 * yow.c (yow): Cast result of malloc and realloc.
1523 (malloc, realloc): Declarations deleted.
1524
71ffc53a
JB
15252003-02-11 Juanma Barranquero <lektu@terra.es>
1526
1527 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1528
0dfd93c0
AS
15292003-02-08 Andreas Schwab <schwab@suse.de>
1530
1531 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1532 instead of the substitution.
1533
37d1e680
RS
15342003-02-04 Richard M. Stallman <rms@gnu.org>
1535
1536 * update-game-score.c (push_score, read_scores): Cast values
1537 of malloc and realloc.
1538 (main, lock_file): Avoid assignment inside if.
1539
c60ee5e7
JB
15402003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1541
1542 * Makefile.in: Use @EXEEXT@ for Cygwin.
1543
b24e2dc7
DL
15442003-01-21 Dave Love <fx@gnu.org>
1545
1546 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1547 column-0 `('.
1548
1549 * yow.c: Don't include string.h.
1550
675d000f
RS
15512003-01-20 Richard M. Stallman <rms@gnu.org>
1552
1553 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1554 New targets.
1555
207aa3ff
KS
15562003-01-06 Kim F. Storm <storm@cua.dk>
1557
31fa6595 1558 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
1559 All uses changed.
1560
cf6d30d7
AI
15612002-12-18 Andrew Innes <andrewi@gnu.org>
1562
1563 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1564 because GNU make doesn't append when using >> redirection.
1565
f0131492 15662002-12-12 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
649fc2c5
PJ
1567
1568 * b2m.pl: Make sure every message ends with a blank line, because
1569 some mbox parsers require a blank line before "From " lines.
1570
85cce843
RS
15712002-12-08 Richard M. Stallman <rms@gnu.org>
1572
1573 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1574 (_): Test only HAVE_LIBINTL_H to decide what to do.
1575
2ccc4d34
RS
15762002-12-05 Richard M. Stallman <rms@gnu.org>
1577
1578 * getopt.c: Comment out include of libintl.h or gettext.h.
1579
c5992177
RS
15802002-12-04 Richard M. Stallman <rms@gnu.org>
1581
1582 * Update getopt from gnulib version; changes described below.
1583
1584 * getopt1.c: Conditionally find getopt.h.
1585 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1586
1587 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1588 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 1589 (wchar.h): Include, maybe.
10d1d0af 1590 (attribute_hidden): Define if not defined.
c5992177
RS
1591 (__getopt_initialized): Use attribute_hidden.
1592 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
d7982012
JB
1593 (__getopt_nonoption_flags, nonoption_flags_max_len)
1594 (nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
c5992177
RS
1595 (SWAP_FLAGS): New definitions.
1596 (exchange): Test USE_NONOPTION_FLAGS.
1597 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1598 (_getopt_internal): Error if argc < 1. New local var print_errors.
1599 Improve test for ambiguous long option.
1600 Add LIBIO support for error message output.
1601 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1602
1603 * getopt.h: Maybe include ctype.h.
1604 Treat __cplusplus like __STDC__.
1605 (decls): Use __ in arg names.
1606
4b5e69bd
SE
16072002-12-02 Stephen Eglen <stephen@gnu.org>
1608
1609 * emacsclient.c (main): Tell user how to start server within Emacs
1610 if socket could not be found.
1611
19fa03f3
RS
16122002-12-02 Richard M. Stallman <rms@gnu.org>
1613
1614 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1615
7be215b4
JB
16162002-11-19 Ben Key <bkey1@tampabay.rr.com>
1617
29f538e6
BK
1618 * makefile.w32-in: Fixed a bug that caused the documentation for
1619 the built in function play-sound-internal not to be included in
1620 /etc/DOC.
7be215b4 1621
1998560a
DL
16222002-11-18 Dave Love <fx@gnu.org>
1623
1624 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1625 fcntl.h, stdarg.h conditionally.
1626 (_GNU_SOURCE, __attribute__): Don't define.
1627 (optarg, optind, opterr): Declare.
1628 (lose, lose_syserr): Use NO_RETURN.
1629 (get_user_id): Use P_.
1630
8b96caf3
RS
16312002-11-17 Richard M. Stallman <rms@gnu.org>
1632
1633 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1634
59daa29a
DL
16352002-11-14 Dave Love <fx@gnu.org>
1636
1637 * movemail.c (pop_retr): Declare comment.
1638
1639 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1640
1641 * Makefile.in (YACC): Deleted.
1642
f1b443bf
AS
16432002-10-19 Andreas Schwab <schwab@suse.de>
1644
1645 * Makefile.in (${archlibdir}): Always create $(gamedir).
1646 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1647
52402e4f
JB
16482002-10-04 Juanma Barranquero <lektu@terra.es>
1649
1650 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1651
15dab115
MR
16522002-09-30 Markus Rost <rost@math.ohio-state.edu>
1653
1654 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1655 completely.
1656
30be2360
SM
16572002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1658
1659 * emacsclient.c: Remove SYSV support.
1660 (eval, display): New vars.
1661 (longopts): Add --eval and --display.
1662 (decode_options): Add -e and -d processing.
1663 (print_help_and_exit): Update the usage string.
1664 (main): Add support for --eval and --display.
3ecdcd59 1665 (main): Always use /tmp and non-qualified hostname.
30be2360 1666
4208da83
SM
16672002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1668
1669 * emacsserver.c: Remove.
1670
3cf8c6aa
SM
16712002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1672
1673 * emacsclient.c (quote_file_name): Quote \n.
1674 (main): Print a final \n when needed.
1675
880820fe 16762002-09-03 Francesco Potortì <pot@gnu.org>
4c6dce51
FP
1677
1678 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1679 string that cannot be freed.
1680
880820fe 16812002-08-30 Francesco Potortì <pot@gnu.org>
ba88f8eb
FP
1682
1683 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1684 auto-detection is enabled and the `::' qualifier is met.
1685 (consider_token, C_entries): Several bugs corrected that tagged
1686 some declarations even though --declarations was not used.
1687 (plainc): New macro.
1688 (C_entries): Use it.
1689 (C_entries): Several cosmetic changes.
1690 (C_entries): Invalidate the token is some cases.
1691
880820fe 16922002-08-29 Francesco Potortì <pot@gnu.org>
09cd1a74 1693
eec54bd7 1694 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1695 (ignoreindent): Renamed from noindentypedefs.
1696 (cjava, cplpl): They are now macros instead of local vars.
1697
880820fe 16982002-08-28 Francesco Potortì <pot@gnu.org>
09cd1a74
FP
1699
1700 * etags.c (HTML_labels): Tag ID= also.
1701
880820fe 17022002-08-27 Francesco Potortì <pot@gnu.org>
87046df8
FP
1703
1704 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1705
ecc54057 1706 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1707 (etags_strcasecmp): Like BSD's, for compatibility.
1708 (strcaseeq): Make it into a macro.
1709
1710 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1711 (linebuffer_init): Renamed from initbuffer. All callers changed.
1712 (pattern): Structure renamed to `regexp', member regex renamed to
1713 pattern.
1714 (node_st): Member pat renamed to regex.
eec54bd7
SM
1715 (pattern); New member force_explicit_name, for future use.
1716 Now always set to true, cannot be reset.
87046df8
FP
1717 (add_regex, regex_tag_multiline, readline): Use it.
1718 (main): Free some global structures.
8ee14629 1719 (fdesc): New member `written'.
87046df8
FP
1720 (readline, process_file): Initialise it.
1721 (put_entries): Set it.
1722 (main): Use it to create entries for files without tags.
1723 (total_size_of_entries): Do not count invalid tags.
87046df8 1724
02ce3e80
SM
17252002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1726
1727 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1728 for the function name in the usage info.
1729
5fba5c21
CW
17302002-07-31 Colin Walters <walters@gnu.org>
1731
1732 * update-game-score.c (P_): New macro. Use it for all prototypes.
1733 (lose): Don't use varargs.
1734 (lose_syserr): New function.
1735
1736 * update-game-score.c: Change all functions to K&R style.
1737
712eaee0
AS
17382002-07-30 Andreas Schwab <schwab@suse.de>
1739
1740 * Makefile.in (localstatedir): New variable.
1741
f0131492 17422002-07-29 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
c89ed6ef
PJ
1743
1744 * b2m.pl: Fix regexp for finding return address fields.
1745
1e042160
SM
17462002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1747
1748 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1749
f0131492 17502002-07-05 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
e9b60209 1751
02ce3e80 1752 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 1753
880820fe 17542002-06-26 Pavel Janík <Pavel@Janik.cz>
9ee028d2
PJ
1755
1756 * b2m.pl: New file.
1757
880820fe 17582002-06-21 Francesco Potortì <pot@gnu.org>
e1af8d40 1759
ecc54057 1760 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
1761 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1762 (PHP_functions, PHP_functions, Cobol_paragraphs)
1763 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1764 (prolog_pr, erlang_func, erlang_attribute)
1765 (Perl_functions, Perl_functions, Pascal_functions)
1766 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1767 (get_tag): Prototype changed, all callers changed.
1768
880820fe 17692002-06-20 Francesco Potortì <pot@gnu.org>
ceaeb365 1770
d76132d0
FP
1771 * etags.c: Implement implicit tag names, that is, unnamed tags
1772 whose name is automatically deduced by etags.el. The advantage is
1773 that there is no explicit tag name in most tags, so the size of
1774 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 1775 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
1776 (make_tag): New function (was the disabled function new_pfnote).
1777 (make_C_tag): Use it.
1778
880820fe 17792002-06-19 Francesco Potortì <pot@gnu.org>
f175bfff
FP
1780
1781 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1782 (Makefile_targets): Tag variables unless --no-globals.
1783 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1784
880820fe 17852002-06-13 Francesco Potortì <pot@gnu.org>
82ef78b3
FP
1786
1787 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1788 (invalidate_nodes): Bug corrected.
1789 (print_help): Better help for regexps.
1790
7a8940da
JB
17912002-06-13 Juanma Barranquero <lektu@terra.es>
1792
1793 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1794 font-core.elc.
1795
880820fe 17962002-06-12 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1797
1798 * etags.c: New multi-line regexp and new regexp syntax.
1799 (arg_type): at_icregexp label removed (obsolete).
1800 (pattern): New member multi_line for multi-line regexps.
1801 (filebuf): A global buffer containing the whole file as a string
1802 for multi-line regexp matching.
1803 (need_filebuf): Global flag raised if multi-line regexps used.
1804 (print_help): Document new regexp modifiers, remove references to
1805 obsolete option --ignore-case-regexp.
1806 (main): Do not set regexp syntax and translation table here.
1807 (main): Treat -c option as a backward compatibility hack.
1808 (main, find_entries): Init and free filebuf.
1809 (find_entries): Call regex_tag_multiline after the regular parser.
10d1d0af 1810 (scan_separators): Check for unterminated regexp and return NULL.
6861f0e3
FP
1811 (analyse_regex, add_regex): Remove the ignore_case argument, which
1812 is now a modifier to the regexp. All callers changed.
1813 (add_regex): Manage the regexp modifiers.
1814 (regex_tag_multiline): New function. Reads from filebuf.
1815 (readline_internal): If necessary, copy the whole file into filebuf.
1816 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1817
880820fe 18182002-06-11 Francesco Potortì <pot@gnu.org>
6861f0e3
FP
1819
1820 * etags.c (add_regex): Better check for null regexps.
1821 (readline): Check for regex matching null string.
6772c8e1 1822 (find_entries): Reorganization.
6861f0e3 1823
880820fe 18242002-06-07 Francesco Potortì <pot@gnu.org>
f0da41a6
FP
1825
1826 * etags.c (scan_separators): Support all character escape
1827 sequences supported by Gcc.
02ce3e80 1828 (find_entries): Rewind unconditionally.
f0da41a6
FP
1829 (find_entries): Do not call language functions directly, now calls
1830 itself.
1831 (find_entries): Do general initialisations here.
1832 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1833 (Ada_getit, Pascal_functions, Pascal_functions)
1834 (prolog_skip_comment): Do not do them here.
1835 (readline_internal): Increment lineno here.
1836 (readline): Conditionally undo readline_internal increment.
1837 (readline): Do not return a value.
1838
880820fe 18392002-06-06 Francesco Potortì <pot@gnu.org>
5526f1f6 1840
88c71720 1841 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
1842 (enum arg_type): New label at_stdin.
1843 (STDIN): New constant.
1844 (parsing_stdin): New flag.
1845 (longopts): New option --parse-stdin=NAME.
1846 (print_help): Document it.
1847 (main): Handle it.
1848 (process_file): Split into process_file and process_file_name.
1849 (process_file_name): New function.
1850
88c71720 1851 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 1852 (TeX_commands): Skip comments.
10d1d0af 1853 (TEX_defenv): Now contains more constructs.
5526f1f6
FP
1854 (TEX_cmt): Make it a static char and move it before TeX_commands.
1855 (TeX_commands): Shorten the tag to the brace after the name.
1856 (TeX_commands): Names now include the initial backslash.
1857 (TeX_commands): Names do not include numeric args #n.
1858 (TeX_commands): Correct line char number in tags.
1859 (TEX_tabent, TEX_token): Deleted.
1860 (TeX_commands, TEX_decode_env): Streamlined.
1861
880820fe 18622002-06-05 Francesco Potortì <pot@gnu.org>
50496bd9
FP
1863
1864 * etags.c (main): Avoid a buffer overrun with sprintf.
1865
a71867c5
RS
18662002-05-30 Richard M. Stallman <rms@gnu.org>
1867
1868 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1869 (LIBS_MOVE): Renamed from MOVE_LIBS.
1870
b7e67db6
PE
18712002-05-26 Paul Eggert <eggert@twinsun.com>
1872
1873 Reinstate the following change from 2002-03-22, which was
1874 inadvertently lost on 2002-04-13.
1875
1876 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1877 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1878 the latter usage.
1879
5f226e2c
EZ
18802002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1881
1882 * pop.c (socket_connection): Move the code to resolve the POP
1883 host right before trying to connect with it.
1884
9021bb49
GM
18852002-05-05 Eli Zaretskii <eliz@is.elta.co.il>
1886
1887 * tcp.c: Delete file since the TCP emulation is no longer in use on any
1888 platform.
1889
5167cfda
CW
18902002-04-28 Colin Walters <walters@verbum.org>
1891
1892 * Makefile.in (${archlibdir}): Don't conditionalize on
1893 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1894 or not we have access to the specified game user.
50496bd9 1895
5167cfda
CW
1896 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1897 (main): New argument -d, for specifying directory.
1898 (usage): Document.
02ce3e80 1899 (get_user_id): Compute.
5167cfda
CW
1900 (get_home_dir): Deleted.
1901 (get_prefix): New function, taken from main.
1902 (main): Check whether or not we are running setuid. Move prefix
1903 computation to get_prefix. Don't call getpwent; we don't need to
1904 any more. Instead, move it to get_user_id().
1905
880820fe 19062002-04-24 Pavel Janík <Pavel@Janik.cz>
beedfcf1
PJ
1907
1908 * ebrowse.c (skip_initializer): Return void.
1909
973c3c87
CW
19102002-04-23 Colin Walters <walters@verbum.org>
1911
1912 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1913 space.
1914
880820fe 19152002-04-22 Francesco Potortì <pot@gnu.org>
8378bcd3 1916
ecc54057 1917 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
1918 (process_file): Print the tags from the nodes as soon as
1919 possible, and delete the nodes. This brings down the memory
1920 occupancy as etags to almost the same level as when the #line
1921 directives were not parsed.
1922 (free_fdesc): New function.
1923 (find_entries): Use it.
1924 (invalidate_nodes): In etags mode, do not just mark the nodes as
1925 invalid, do delete them.
1926
c901ceff
GM
19272002-04-21 Gerd Moellmann <gerd@gnu.org>
1928
1929 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1930
c42d6dbd
EZ
19312002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1932
1933 * update-game-score.c: Move config.h before the other headers, to
1934 avoid compiler warnings.
1935
880820fe 19362002-04-16 Francesco Potortì <pot@gnu.org>
090416ca
FP
1937
1938 * etags.c (find_entries): Bug fix in list management.
1939
880820fe 19402002-04-15 Francesco Potortì <pot@gnu.org>
5dab24c1
FP
1941
1942 * etags.c (get_language_from_filename): Add one argument.
1943 (strcaseeq): New function.
10d1d0af 1944 (get_language_from_filename): Use it to do a case insensitive
5dab24c1
FP
1945 comparison if called with appropriate args.
1946 (find_entries): Try with case insensitive match.
1947 (process_file): Bug fixed.
1948
880820fe 19492002-04-13 Francesco Potortì <pot@gnu.org>
c150db23
FP
1950
1951 * etags.c (find_entries): Delete tags previously obtained from
1952 file xxx.c's #line directives when parsing file xxx.y. This is
1953 generally done for automatically generated files containing
1954 #line directives. This handles the case when xxx.y is tagged
1955 before xxx.c, and the entries of xxx.c pointing to xxx.y should
1956 be discarded.
eec54bd7 1957 (language): Add the metasource member. Initializers changed.
c150db23
FP
1958 (invalidate_nodes): New function.
1959 (readline): Discard lines after having found a #line
02ce3e80 1960 directive pointing to an already tagged file. This handles the
c150db23
FP
1961 case when xxx.y is tagged before xxx.c, and the entries of
1962 xxx.c pointing to xxx.y should be discarded.
1963 (fdesc): New structure for keeping track of input files.
1964 (fdesc): Remove `file' member (a string) and use instead a pointer
1965 to a file description structure.
02ce3e80
SM
1966 (curfile, curfiledir, curtagfname, curlang, nocharno)
1967 (forced_lang): Global variables removed in favor of fdhead and
10d1d0af 1968 curfdp, pointers to file description structures.
c150db23
FP
1969 (longopts, main, print_help): Use the CTAGS conditional to include
1970 or exclude options that work on etags or ctags only.
02ce3e80
SM
1971 (process_file, find_entries, pfnote, add_node, put_entries)
1972 (readline): Use fdhead and curfdp.
c150db23
FP
1973 (process_file, find_entries): Do not take an arg string, all
1974 callers changed.
1975
1976 * etags.c (longopts, print_help, main): Test CTAGS to disallow
1977 options that are not right for either etags or ctags.
1978
1979 * etags.c (number_len, total_size_of_entries): Define them also
1980 in CTAGS mode, because gcc does not compile all refs away.
1981
e9d1f248
CW
19822002-04-14 Colin Walters <walters@debian.org>
1983
1984 * update-game-score.c (lock_file): If the lock file is older than
1985 an hour, delete it. Reset attempts to zero if we have to break
1986 the lock.
1987
7605f1bd
AS
19882002-04-14 Andreas Schwab <schwab@suse.de>
1989
1990 * update-game-score.c (read_score): Fix type of second parameter
1991 of getdelim to be of type size_t instead of int. Use 0 instead of
1992 ESUCCES.
1993
e82defd1
CW
19942002-04-10 Colin Walters <walters@verbum.org>
1995
ecc54057 1996 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
1997 (MAX_DATA_LEN, MAX_SCORES): New.
1998 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1999 default to ~/.emacs.d/games.
2000 (get_user_id): Don't zero uid in the case where we can't get the
2001 username.
2002 (lose): New function.
2003 (main): Actually use `max', and default it to MAX_SCORES.
2004 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
2005 function.
2006 (read_score): Handle the case of reading unamelen characters, then
2007 finishing. Use mktemp if mkstemp isn't available.
2008 (lock_file, unlock_file): Delete unused versions.
2009 (lock_file): Always sleep, even if we unlinked the lock file.
2010
e82defd1
CW
2011 * Makefile.in (gamedir, gameuser): New variables.
2012 (toplevel, UTILITIES): Add update-game-score.
2013 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
2014
5795b420
CW
20152002-04-07 Colin Walters <walters@verbum.org>
2016
2017 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
2018 (get_user_id): Take struct passwd as an argument.
2019 (get_home_dir): New function.
2020 (main): Read in user information here. Discover home directory if
2021 necessary.
2022 (read_score): Trim newline only in `getline' case.
2023
cd553ffb 20242002-04-05 Colin Walters <walters@debian.org>
c150db23 2025
cd553ffb
CW
2026 * update-game-score.c (toplevel): Include pwd.h.
2027 (struct score_entry): Add username field.
2028 (push_score): Use it.
2029 (get_user_id): New function.
2030 (main): Don't malloc excessively.
2031 (main): Use username field.
2032 (read_score): Read it.
2033 (push_score): Handle it.
07655e62 2034 (write_scores): Write it.
c150db23
FP
2035 (read_score): Handle arbitrary length data.
2036
b74bd4a3
EZ
20372002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
2038
2039 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
2040
fa8bc89d
GM
20412002-03-29 Gerd Moellmann <gerd@gnu.org>
2042
2043 * ebrowse.c (add_declarator, skip_initializer): New functions.
2044 (declaration): Use them.
2045
dd87b4cc
JR
20462002-03-28 Jason Rumney <jasonr@gnu.org>
2047
2048 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
2049
cd553ffb
CW
20502002-03-27 Colin Walters <walters@debian.org>
2051
2052 * update-game-score.c: New file.
2053
dfef6d49
PE
20542002-03-22 Paul Eggert <eggert@twinsun.com>
2055
2056 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
2057 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
2058 the latter usage.
2059
880820fe 20602002-03-12 Francesco Potortì <pot@gnu.org>
a13d6523 2061
4fff90e4 2062 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
2063 (Python_functions, PHP_functions): Name tags, for ctags' sake.
2064 (TeX_commands): Name tags. Correction of old disabled code.
2065
2066 * etags.c (curfiledir, curtagfname): New global variables.
2067 (process_file): Initialise them.
2068 (readline): Canonicalize the name found in #line directive.
893a741e 2069
4fff90e4 20702002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 2071
893a741e
JR
2072 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
2073 compilers that don't optimize out dead code.
2074
880820fe 20752002-03-05 Francesco Potortì <pot@gnu.org>
51aeded3
FP
2076
2077 * etags.c: Honour #line directives.
a7c29764 2078 (no_line_directive): New global var; set it for old behavior.
51aeded3
FP
2079 (main): Remove some #ifdef in the getopt switch.
2080 (add_node, put_entries): Code added to merge different chunks of
2081 nodes referring to the same file. Currently the tags are just
2082 appended, without any check for duplicates.
2083 (Perl_functions): Do not special case ctags.
2084 (readline): Identify #line directives and do the right thing.
2085 (nocharno, invalidcharno): New global vars.
2086 (process_file): Reset nocharno.
2087 (readline): Set nocharno.
2088 (pfnote): Read nocharno and maybe put invalidcharno in node.
2089 (total_size_of_entries, put_entries): Use invalidcharno.
2090
2091 * etags.c: Keep the whole tag table in memory, even in etags mode.
2092 (main): Call put_entries here even in CTAGS mode.
2093 (main, process_file): Check the return values of fclose and pclose.
2094 (process_file): Do not call put_entries after parsing each file.
2095 (process_file): Canonicalise file names even for ctags.
2096 (process_file): Set curfile here...
2097 (find_entries): ... not here any more.
2098 (add_node): In etags mode, build a linked list of entries (on
2099 right pointer) for each file, and link the first entry of each
2100 file on left nodes.
2101 (put_entries): Print here the name of the file.
2102 (put_entries): Print the entries starting from the first file.
c150db23 2103 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
2104 mode, make the second work only on the right nodes.
2105
2106 * etags.c: Make all global variables static.
2107
50ce1f62
JB
21082002-02-25 Juanma Barranquero <lektu@terra.es>
2109
2110 * makefile.w32-in (lisp): Add missing backslash.
2111
82a399d2
JR
21122002-02-24 Jason Rumney <jasonr@gnu.org>
2113
2114 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
2115 using .elc files.
2116 (lisp): Sync with list in src/Makefile.in
2117 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
2118
a279c920
PE
21192002-02-10 Paul Eggert <eggert@twinsun.com>
2120
2121 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
2122 disallows the old syntax.
2123
0caa685d
PE
21242002-02-03 Paul Eggert <eggert@twinsun.com>
2125
d7982012 2126 * rcs2log (Copyright): Update to 2002.
0caa685d
PE
2127 (AWK, TMPDIR): Work around portability problem in broken shells that
2128 don't understand `: ${VAR=val}'.
2129 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
2130 Prefer the new -k option to the traditional +M -N option.
2131
880820fe 21322002-01-01 Pavel Janík <Pavel@Janik.cz>
03950b5b
PJ
2133
2134 * b2m.c (main): Parenthesize assignment when used as truth value
2135 to prevent gcc warnings.
2136
2137 * fakemail.c: Include <config.h>.
2138
880820fe 21392001-12-29 Pavel Janík <Pavel@Janik.cz>
2f8fe2f4
PJ
2140
2141 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
2142 * yow.c: Include <config.h>.
2143
880820fe 21442001-12-21 Francesco Potortì <pot@gnu.org>
a60e4de9
FP
2145
2146 * etags.c (Perl_functions): Tag packages and use them in sub tags.
2147 (get_tag): Return a pointer to the tag that is found.
2148
2149 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
2150 (F_takeprec): Renamed from takeprec. All callers changed.
2151 (F_getit): Renamed from getit. All callers changed.
2152 (nocase_tail): Renamed from tail. All callers changed.
2153 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 2154 (L_getit): Simplify by using get_tag.
a60e4de9
FP
2155 (Perl_functions, Postscript_functions, erlang_attribute): Use the
2156 modified LOOKING_AT.
2157 (notinname): Removed '[' and added ')' to the recognised chars.
2158 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
2159 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
2160 Clarified, using strneq or notinname.
2161 (L_isdef, L_isquote): Removed.
2162 (Lisp_functions, L_getit): Clarified.
2163
ecc54057 2164 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
2165 [HAVE_CONFIG_H]: Let config.h deal with __P.
2166 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
2167 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
2168 gperf code needs it.
ecc54057
JB
2169 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
2170 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
2171 (xmalloc, xrealloc): Use PTR instead of long *.
2172 (bool): Make it a define, not a typedef, for C++ compilers.
2173 (pattern): Members renamed to avoid name clash in some C++ compilers.
2174 (get_language_from_langname): Use const argument.
2175
880820fe 21762001-12-22 Pavel Janík <Pavel@Janik.cz>
c95eaa61
PJ
2177
2178 * makefile.nt, makefile.w32-in: Remove mocklisp files.
2179
880820fe 21802001-12-19 Pavel Janík <Pavel@Janik.cz>
69bfc389 2181
b8509940
PJ
2182 * emacsserver.c: Conditionally include config.h.
2183
594aa066
PJ
2184 * fakemail.c: Likewise.
2185
e69233c2
PJ
2186 * emacsclient.c: Include "config.h", not <../src/config.h>.
2187 (main): Parenthesize assignment when used as truth value to
2188 prevent gcc warnings.
2189
69bfc389
PJ
2190 * ebrowse.c: Include stdlib.h and string.h conditionally.
2191
e4e34e31
EZ
21922001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
2193
2194 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
2195
880820fe 21962001-12-18 Pavel Janík <Pavel@Janik.cz>
ffb7c9c6
PJ
2197
2198 * test-distrib.c: Fix previous change.
2199
fb5aa7ac
DL
22002001-12-18 Dave Love <fx@gnu.org>
2201
2202 * test-distrib.c: Conditionally include fcntl.h.
2203
2204 * fakemail.c: Include "config.h", not <../src/config.h>.
2205 (_XOPEN_SOURCE): Define as 500.
2206
2207 * emacsserver.c: Include "config.h", not <../src/config.h>.
2208
2209 * cvtmail.c: Include config.h, stdlib.h.
2210 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
2211
2212 * yow.c: Conditionally include various headers. Use "epaths.h",
2213 not <../src/epaths.h>.
2214 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
2215
880820fe 22162001-12-12 Francesco Potortì <pot@gnu.org>
e94a3679 2217
13dc0576 2218 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
2219 (LOOKING_AT): New macro.
2220 (Perl_functions, Python_functions, PHP_functions)
2221 (Scheme_functions, Texinfo_nodes): Use it.
2222 (Perl_functions): Use strneq.
2223 (prolog_pred): Renamed to prolog_pr.
13dc0576 2224 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 2225 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 2226 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
2227 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2228
34e39c95
RS
22292001-12-11 Richard M. Stallman <rms@gnu.org>
2230
2231 * Makefile.in (clean): Don't delete ../etc/DOC*.
2232
880820fe 22332001-12-11 Pavel Janík <Pavel@Janik.cz>
296071e7
PJ
2234
2235 * COPYING: Moved back.
2236
76054cc8
AI
22372001-11-30 Andrew Innes <andrewi@gnu.org>
2238
e94a3679
FP
2239 * makefile.w32-in (FACE_SUPPORT):
2240 (MOUSE_SUPPORT):
2241 (FLOAT_SUPPORT):
2242 (WINNT_SUPPORT):
76054cc8
AI
2243 (lisp): Reference .el files instead of .elc files, to simplify
2244 bootstrapping.
2245 ($(DOC)): Change dependency to just `make-docfile'.
2246
880820fe 22472001-11-29 Pavel Janík <Pavel@Janik.cz>
0142178a
PJ
2248
2249 * COPYING: Removed.
2250
e8d6a09b
PE
22512001-11-28 Paul Eggert <eggert@twinsun.com>
2252
2253 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
2254
2255 The following changes are derived from suggestions by Bob Chapman
2256 <rechapman@compuserve.com>.
2257
2258 * rcs2log (printlogline): Also allow tab and newline to separate
2259 '(function):' from the rest of a comment.
2260 (reformat the sorted log entries): Require date and author to
2261 match the clumpname.
2262
9a190096
GM
22632001-11-16 Gerd Moellmann <gerd@gnu.org>
2264
2265 * ebrowse.c (matching_regexp): Escape '\\'.
2266
880820fe 22672001-11-15 Pavel Janík <Pavel@Janik.cz>
8ec1b917
PJ
2268
2269 * Makefile.in: Add support for --program-prefix, --program-suffix
2270 and --program-transform-name options.
2271
6d8f7d5d
RS
22722001-11-03 Richard M. Stallman <rms@gnu.org>
2273
2274 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
2275
2276 * movemail.c (popmail): Always pass two args to `error'.
2277
84e70f78
KR
22782001-10-24 Ken Raeburn <raeburn@gnu.org>
2279
2280 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
2281 -lhesiod and maybe -lresolv.
2282 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
2283 support if it's available.
2284
386ca361
MB
22852001-10-21 Miles Bader <miles@gnu.org>
2286
a3b10252
MB
2287 * make-docfile.c (struct rcsoc_state): New type.
2288 (read_c_string_or_comment): Add SAW_USAGE
386ca361 2289 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
2290 Use a variable of type `rcsoc_state' to hold most of our state.
2291 (put_char): Add STATE parameter, and remove all other parameters
2292 except CH. Use STATE to get access to all needed state.
2293 (scan_keyword_or_put_char): New function.
386ca361
MB
2294 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
2295 Don't output a usage-string if there was one in the doc-string.
2296
71431a0e
GM
22972001-10-20 Gerd Moellmann <gerd@gnu.org>
2298
6aa97356 2299 * (Version 21.1 released.)
71431a0e 2300
880820fe 23012001-10-19 Pavel Janík <Pavel@Janik.cz>
37a9305e
PJ
2302
2303 * b2m.c: Properly spell the name of Emacs.
2304
945220bd
MB
23052001-10-17 Miles Bader <miles@gnu.org>
2306
2307 * make-docfile.c (put_char): New function.
2308 (read_c_string_or_comment): Strip trailing spaces and newlines.
2309
14242528
MB
23102001-10-16 Miles Bader <miles@gnu.org>
2311
2312 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
2313 comments [with `doc:' keyword prefix].
2314
9f5eb4a3
GM
23152001-10-15 Gerd Moellmann <gerd@gnu.org>
2316
2317 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
2318 in a C doc comment.
2319
e641b454
GM
23202001-10-13 Gerd Moellmann <gerd@gnu.org>
2321
2322 * make-docfile.c (read_c_string_or_comment): Renamed from
2323 read_c_string. Add parameter COMMENT. Read C-style comments.
2324 (scan_c_file): Handle doc strings in C comments.
2325
967d7793
AI
23262001-10-12 Andrew Innes <andrewi@gnu.org>
2327
2328 * makefile.nt (ALL): Do not include fakemail.
2329
2330 * makefile.w32-in (install): Do not copy fakemail.
2331
d682756a
JR
23322001-10-10 Jason Rumney <jasonr@gnu.org>
2333
07655e62 2334 * makefile.w32-in (ALL): Do not include fakemail.
d682756a 2335
07655e62 2336 * makefile.nt (install): Ditto.
d682756a 2337
14a3dff7
GM
23382001-10-09 Gerd Moellmann <gerd@gnu.org>
2339
2340 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 2341
95bc7904 2342 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 2343
880820fe 23442001-10-07 Pavel Janík <Pavel@Janik.cz>
f98d41f5
PJ
2345
2346 * profile.c: Include config.h, not ../src/config.h.
2347 Include systime.h, not ../src/systime.h.
2348
ab952a4f
GM
23492001-10-05 Gerd Moellmann <gerd@gnu.org>
2350
2351 * Branch for 21.1.
dff28924 2352
12c64503
GM
23532001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
2354
2355 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
2356 ALIASEE to help work with namespace aliases.
2357 (struct sym): Remove struct member NAMESP_ALIASES.
2358 (namespace_alias_table): New variable.
2359 (make_namespace): Add parameter CONTEXT.
2360 (check_namespace): New function.
2361 (find_namespace): Add parameter CONTEXT.
2362 (check_namespace_alias): New function.
02ce3e80
SM
2363 (register_namespace_alias): Change type of parameter OLD_NAME.
2364 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
2365 (check_namespace): New function.
2366 (enter_namespace): Call find_namespace with CONTEXT parameter.
2367 (match_qualified_namespace_alias): New function.
eec54bd7 2368 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 2369 While parsing qualified ident or type update namespace context and
12c64503 2370 restore it on exit.
eec54bd7
SM
2371 (parse_qualified_param_ident_or_type): Fix typo in comment.
2372 (globals): Change handling of namespace aliases.
2373 (version): Add year 2001.
12c64503 2374
990e1190
FP
23752001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
2376
2377 * etags.c (analyse_regex): If regex_arg is NULL, return
2378 immediately after a call to free_patterns.
2379
f2e7e23e
AS
23802001-09-05 Paul Eggert <eggert@twinsun.com>
2381
2382 * rcs2log (Help, mainline code): Add new option -L FILE.
2383 (Copyright): Update year.
02ce3e80
SM
2384 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
2385 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
2386 C locale.
2387 (mainline code): Handle nonstandard -u option differently, by
2388 transforming it to standard form. Check for "Working file: ", not
2389 "Working file:". Allow file names with spaces.
2390 (SOH, rlogfile): New shell vars.
dff28924 2391 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
2392 rlogfile.
2393
2394 Append ';;' to the last arm of every case statement, for
2395 portability to ancient broken BSD shells.
2396
02ce3e80 2397 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
2398 (pository): New var. This fixes some bugs where repositories are
2399 remote, or have trailing slashes.
02ce3e80 2400 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 2401 about that possibility.
dff28924 2402 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 2403 the output.
dff28924 2404
75c911eb
EZ
24052001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2406
2407 * ebrowse.c (SEEK_END): #define if not defined by system headers.
2408 Suggested by Dave Love <d.love@dl.ac.uk>.
2409
5ae10f4a
EZ
24102001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2411
2412 * makefile.nt (lisp): Synchronize with src/Makefile.in.
2413 * makefile.w32-in (lisp): Ditto.
2414
0e4011d8 24152001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
2416
2417 * grep-changelog (parse_changelog): Remove unused local variable.
2418
2419 * grep-changelog (main): Add new option --reverse.
2420 (print_log): Use it.
2421 (parse_changelog): Use it.
2422
3c88ae74
GM
24232001-07-20 Gerd Moellmann <gerd@gnu.org>
2424
2425 * grep-changelog: Remove RCS Id keyword.
2426
41848daa
GM
24272001-07-20 Juanma Barranquero <lektu@terra.es>
2428
6e07c0a5
GM
2429 * grep-changelog (parse_changelog): Add tests for defined values
2430 to quiet warning from Perl 5.005 or above.
177ab8ce 2431 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
2432 argument to prevent duplicate headers.
2433
2434 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 2435
467f1209
GM
24362001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
2437
2438 * emacsclient.c (print_help_and_exit): Fix help message for
2439 +LINE:COLUMN option.
2440
24412000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 2442
467f1209
GM
2443 * emacsclient.c (main): Add support for +LINE:COLUMN command line
2444 argument.
2445
bb24c64f
GM
24462001-07-16 Gerd Moellmann <gerd@gnu.org>
2447
2448 * ebrowse.c (main): Check that the output file exists and
2449 is non-empty if invoked with `--append'.
2450
880820fe 24512001-05-14 Francesco Potortì <pot@gnu.org>
fa829470 2452
e335b66a
GM
2453 * etags.c (add_regex): Reset the whole newly allocated pattern
2454 buffer instead of the individual members. It's safer and works
ecc54057 2455 with XEmacs.
fa829470 2456
e335b66a 2457 * etags.1: Markups corrected.
fa829470 2458
6da5c7da
GM
24592001-05-08 Gerd Moellmann <gerd@gnu.org>
2460
02ce3e80 2461 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 2462
efbecf9d
GM
24632001-05-03 Gerd Moellmann <gerd@gnu.org>
2464
2465 * ebrowse.c (globals): Fix handling of namespace aliases.
2466
f4976ebc
EZ
24672001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
2468
2469 * etags.c (print_help): Enclose the regexp in the help text
2470 example in quotes.
2471
23431241
DL
24722001-04-05 Dave Love <fx@gnu.org>
2473
2474 * emacsclient.c (fail): Don't return a value.
fa829470 2475 (main): Cast uid values for sprintf.
23431241 2476
476bf681
GM
24772001-04-03 Gerd Moellmann <gerd@gnu.org>
2478
b3f6107b
GM
2479 * emacsclient.c (fail, main): Don't use implicit int return type.
2480
476bf681
GM
2481 * b2m.c (main): Always return a value.
2482
ef53d75e
GM
24832001-03-02 Gerd Moellmann <gerd@gnu.org>
2484
2485 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
2486 freshly allocated object in *LAST_ID.
2487 (read_line): Accept \r\n line endings.
2488
425de386
AI
24892001-02-24 Andrew Innes <andrewi@gnu.org>
2490
2491 * makefile.w32-in: Fix copyright notice.
2492
880820fe 24932001-02-23 Francesco Potortì <pot@gnu.org>
f55ae599
FP
2494
2495 * etags.c (enum sym_type): New label st_C_template.
2496 (gperf input): Use it for switching to C++ from C.
2497 (consider_token): Do it.
c2a642c0
FP
2498 (C_entries): Initialise typdefcblev to quiet compilers.
2499 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 2500
f6839838
AI
25012001-02-22 Andrew Innes <andrewi@gnu.org>
2502
2503 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
2504 VMS header files.
2505 ($(BLD)\profile.obj): Ditto.
2506
2507 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
2508 VMS header files.
2509 ($(BLD)/profile.$(O)): Ditto.
2510
193fba87
AI
25112001-02-05 Andrew Innes <andrewi@gnu.org>
2512
2513 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2514 invocation of make-docfile, to work with Windows 2000.
2515
30526cc6
DL
25162001-01-31 Dave Love <fx@gnu.org>
2517
2518 * etags.c (in_word_set): Use `static' in definition (for pcc).
2519
880820fe 25202001-01-31 Francesco Potortì <pot@gnu.org>
8f79fe72 2521
ecc54057 2522 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
2523 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2524 (C_entries): Tag token renamed to still_in_token because sunos4
2525 pcc wants to expand it as the token() macro even though it has no
2526 arguments.
2527
914d7258
AI
25282001-01-30 Andrew Innes <andrewi@gnu.org>
2529
2530 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2531 bug in the Mingw32 assert.h header file.
2532
880820fe 25332001-01-30 Francesco Potortì <pot@gnu.org>
b28e26be 2534
ecc54057
JB
2535 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2536 #define it for the sake of XEmacs.
b28e26be
FP
2537 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2538 HAVE_CONFIG_H. This change only affects a standalone etags.
2539 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2540 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2541 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 2542 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
2543 WINDOWSNT, as this is the correct way to use it.
2544
880820fe 25452001-01-28 Francesco Potortì <pot@gnu.org>
8c463abe
FP
2546
2547 * etags.c: Be capable to parse nested struct-like structures.
2548 (structdef, structtag): Struct state machine revisited.
2549 (struct tok): Revisited.
2550 (cstack, nestlev, instruct): New struct and macros.
2551 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 2552 for dealing with nested class names.
8c463abe
FP
2553 (consider_token, make_C_tag, C_entries): Many changes for dealing
2554 with arbitrarily nested structures.
2555 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2556 (C_entries): Consider templates in C++.
2557 (sym_type): New constant st_C_class for detecting "class" also in
2558 C mode.
2559 (C_AUTO): New macro for automatic detection of C++.
2560 (consider_token): Automatic set C++ mode.
2561 (C_entries): New security check for yacc.
2562 (print_language_names, print_help): Mention the autodetect
07655e62 2563 feature, do not show help for the -C option, now mostly useless.
8c463abe
FP
2564 (C_entries): Tag C++ forward declarations if --declarations.
2565 (C_entries): Don't be fooled by things like XDEFUN.
2566 (consider_token): Discard asm pseudo function.
2567
e26f9ced
EZ
25682001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2569
2570 * etags.c: Add a coding: tag.
2571
a47b7816
GM
25722001-01-26 Gerd Moellmann <gerd@gnu.org>
2573
8c463abe 2574 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
2575 New variables.
2576 (matching_regexp): Use them instead of static variables in
2577 function scope.
2578
880820fe 25792001-01-25 Francesco Potortì <pot@gnu.org>
d22a24fa
FP
2580
2581 * etags.c (struct tok): Renamed from struct token.
2582 (token): Renamed from tok.
2583 (structtype): Make it a local variable.
2584 [DEBUG]: Use assert.
2585 (xrnew): Change the synopsis.
2586 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2587 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 2588 (token): Buffer renamed to line.
d22a24fa 2589 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 2590 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
2591 (linebuffer_setlen): Was grow_buffer, now also sets len.
2592 (consider_token, C_entries, Pascal_functions): Use it.
2593 (C_entries): Preventing problems relative to extern "C".
2594 (C_entries): Can tag more than one variable or func separated by
2595 comma when --declarations is used.
2596 (C_entries): More accurate tagging of members and declarations.
2597 (yacc_rules): Was global, made local to C_entries.
2598 (next_token_is_func): Removed.
2599 (fvdef): New constants fdefunkey, fdefunname.
2600 (consider_token, C_entries): Use them.
2601 (C_entries): Build proper lisp names for Emacs DEFUNs.
2602
21c2bbe0
GM
26032001-01-22 Gerd Moellmann <gerd@gnu.org>
2604
2605 * ebrowse.c (xfree): New function.
2606 (member, declaration, globals): Use xmalloc instead of alloca.
2607
880820fe 26082001-01-15 Francesco Potortì <pot@gnu.org>
83be933c
FP
2609
2610 * etags.c (print_language_names): Print filenames in addition to
2611 suffixes.
2612
880820fe 26132001-01-14 Francesco Potortì <pot@gnu.org>
47df1a5e
EZ
2614
2615 * etags.c (get_language_from_langname): Renamed from
2616 get_language_from_name.
eec54bd7
SM
2617 (get_language_from_filename): Renamed from get_language_from_suffix.
2618 Now first looks for the complete file name.
47df1a5e
EZ
2619 (language): New member char **filenames.
2620 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 2621 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 2622 for makefiles.
13dc0576 2623 (Makefile_targets): New function.
47df1a5e
EZ
2624 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2625 it conformant to the style of the rest of the code.
2626
291c7e74
GM
26272001-01-13 Gerd Moellmann <gerd@gnu.org>
2628
2629 * make-docfile.c (write_c_args): Print newlines as spaces.
2630
0dac6924
AI
26312001-01-06 Andrew Innes <andrewi@gnu.org>
2632
2633 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2634 of *.pdb.
2635
3e99d3b4
GM
26362001-01-03 Paul Eggert <eggert@twinsun.com>
2637
290afd83 2638 * rcs2log: Avoid security hole allowing attacker to
3e99d3b4
GM
2639 cause user of rcs2log to overwrite arbitrary files, fixing
2640 a bug reported by Morten Welinder.
2641
2642 Don't put "exit 1" at the end of the exit trap; it's
2643 ineffective in POSIX shells.
2644
d6bb0c0d
GM
26452001-01-02 Gerd Moellmann <gerd@gnu.org>
2646
eec54bd7
SM
2647 * ebrowse.c (yyerror): Change to take two arguments.
2648 Add prototype. Change callers.
d6bb0c0d 2649
d5c00476 26502001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2651
2652 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2653 compiler warnings.
2654 (yyerror): Change parameter declarations to be of type long, so
2655 that they can take pointers on 64-bit platforms.
2656
2657 * emacsclient.c (main): Remove unused local variable statbfr.
2658 (main) <homedir>: Make its declaration conditional on
2659 SERVER_HOME_DIR, to avoid compiler warnings.
2660
2661 * emacsserver.c (main) <homedir>: Make its declaration conditional
2662 on SERVER_HOME_DIR, to avoid compiler warnings.
2663
2664 * fakemail.c (readline): Cast buffer to "long *" to pacify
2665 over-zealous compilers.
2666
7c89ea61
EZ
26672000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2668
2669 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2670
a6768cc5
GM
26712000-12-15 Gerd Moellmann <gerd@gnu.org>
2672
2673 * ebrowse.c (operator_name): Cast argument of isalpha to
2674 unsigned char.
2675
2676 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2677 Use them throughout instead of ctype functions/macros.
2678 (lowcase): Cast to unsigned char.
2679 (UPCASE): New macro.
2680 (canonicalize_filename): Use UPCASE instead toupper.
2681
2682 * fakemail.c (get_keyword): Make sure that isspace and
2683 similar aren't called with a negative argument.
2684
70de49cc
DL
26852000-12-13 Dave Love <fx@gnu.org>
2686
2687 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2688
4e8b894c
AI
26892000-12-06 Andrew Innes <andrewi@gnu.org>
2690
2691 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2692 don't know the real version, and I can't seem to get the quoting
2693 right in all circumstances.
2694
2695 * ebrowse.c (VERSION): Provide default definition, like etags.c
2696 does, because Windows build can't snarf this from version.el.
2697
88257bc8
AI
26982000-11-30 Andrew Innes <andrewi@gnu.org>
2699
2700 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2701 (install): Ditto.
2702
d19249e7
JR
27032000-11-23 Jason Rumney <jasonr@gnu.org>
2704
2705 * makefile.w32-in: Add targets for ebrowse.exe.
2706 (LOCAL_FLAGS): Add -DVERSION flag.
2707
7df6adc3
DL
27082000-09-25 Dave Love <fx@gnu.org>
2709
2710 * sorted-doc.c: Include config.h.
2711 [!HAVE_STDLIB_H]: Declare malloc.
2712
fe83b953
AI
27132000-09-14 Andrew Innes <andrewi@gnu.org>
2714
2715 * makefile.w32-in: Revert to Unix line endings.
2716
517699ca
DL
27172000-09-04 Dave Love <fx@gnu.org>
2718
2719 * movemail.c (index, rindex): Prototype conditionally.
2720
f8803e97
AI
27212000-09-03 Andrew Innes <andrewi@gnu.org>
2722
2723 * makefile.w32-in: Change to DOS line endings.
2724
f72adc12
EZ
27252000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2726
4034f3a8 2727 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2728 [!F_OK]: Provide default definitions only after including both
2729 fcntl.h and unistd.h.
2730
f678f592
DL
27312000-08-29 Dave Love <fx@gnu.org>
2732
2733 * movemail.c: Revert previous change.
2734
5b671d04
EZ
27352000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2736
2737 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2738
6fa86045
DL
27392000-08-28 Dave Love <fx@gnu.org>
2740
2741 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2742 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2743
746d9caf
AI
27442000-08-22 Andrew Innes <andrewi@gnu.org>
2745
2746 * ntlib.h (WIN32): Remove unnecessary definition.
2747 (sleep): Make argument unsigned long.
2748 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2749
2750 * ntlib.c (sleep): Make argument unsigned long.
2751
2752 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2753
2754 * makefile.w32-in: New file.
2755
3b541489
EZ
27562000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2757
2758 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2759 letter only if it is a drive letter.
2760
e5acf0ca
GM
27612000-07-14 Gerd Moellmann <gerd@gnu.org>
2762
02ce3e80 2763 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
2764
2765 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2766 by alloca.o.
2767
02ce3e80 2768 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 2769
4b92c49a
GM
27702000-07-10 Gerd Moellmann <gerd@gnu.org>
2771
2772 * ebrowse.c (yylex): Accept string literals with newlines in them.
2773 (process_pp_line): Handle case of string literal with newline
2774 in it in replacement text, which counts as continuing the
2775 replacement text in GNU C.
2776
831a6cb0
GM
27772000-07-02 Gerd Moellmann <gerd@gnu.org>
2778
2779 * ebrowse.c (token_string): Add missing tokens.
2780 (parm_list): Handle case of qualified pointers.
2781
53245ee2
DL
27822000-06-23 Dave Love <fx@gnu.org>
2783
2784 * ebrowse.c: Move config.h before other includes (which may use
2785 feature tests).
2786
dcbf2cd2
JM
27872000-06-14 Jim Meyering <meyering@lucent.com>
2788
2789 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2790
f1c7754a
JR
27912000-06-11 Jason Rumney <jasonr@gnu.org>
2792
2793 * makefile.nt: Add targets for ebrowse.
2794
2795 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2796 compare filenames.
2797
5f1aea9a
GM
27982000-06-06 Gerd Moellmann <gerd@gnu.org>
2799
2800 * ebrowse.c (ymalloc): Renamed from xmalloc.
2801 (yrealloc): Renamed from xrealloc.
2802
5bf244f1
DL
28032000-05-21 Dave Love <fx@gnu.org>
2804
2805 * movemail.c: Include config.h, not ../src/config.h.
2806 (Errmsg): Bump length.
2807
2808 * pop.c (ERROR_MAX): Increase to 160.
2809
ec82fb2f
GM
28102000-05-04 Gerd Moellmann <gerd@gnu.org>
2811
2812 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2813
5c922ea7
EZ
28142000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2815
02ce3e80
SM
2816 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2817 Define to semi-colon.
5c922ea7 2818 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 2819 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
2820 (process_file): Don't assume that fread always reads as many bytes
2821 as it was told to (DOS-style CR-LF text files fail this logic).
2822 (open_file): Allocate enough space for path->path plus the file
2823 name and the slash.
2824
6142fdcb 28252000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
2826
2827 * etags.c (Texinfo_functions): New function.
2828 (lang_names): Install it.
2829 (Texinfo_suffixes): New variable.
2830
cb9215e4
GM
28312000-04-19 Gerd Moellmann <gerd@gnu.org>
2832
2833 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2834 (declaration): Remove parameter IS_EXTERN.
2835 (class_definition): Remove unused variable.
2836
be0dbdab
GM
28372000-04-09 Gerd Moellmann <gerd@gnu.org>
2838
2839 * Makefile.in (INSTALLABLES): Add ebrowse.
2840 (ebrowse): New target.
2841
2842 * ebrowse.c: New file.
2843
c5aa0fc2
AS
28442000-03-29 Andreas Schwab <schwab@suse.de>
2845
2846 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2847
d054101f
GM
28482000-03-02 Gerd Moellmann <gerd@gnu.org>
2849
2850 * etags.c (lisp_suffixes) Add `LSP'.
2851
880820fe 28522000-02-10 Francesco Potortì <pot@gnu.org>
71cbb895 2853
eec54bd7 2854 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
2855 space, and use it throughout in place of isspace, thus preventing a
2856 potential signed char to int conversion problem.
10d1d0af 2857 (MSDOS): #undefine before redefining.
71cbb895 2858
880820fe 28592000-02-04 Francesco Potortì <pot@gnu.org>
71cbb895
FP
2860
2861 * etags.c (many functions): Add prototypes.
2862
97fa0cc8
DL
28632000-02-10 Dave Love <fx@gnu.org>
2864
2865 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2866 (erlang_func): Add `static' to definitions to keep pcc happy.
2867
880820fe 28682000-01-31 Francesco Potortì <pot@gnu.org>
e4100b7f
FP
2869
2870 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2871 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2872 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2873 (getenv, getcwd): Only declare them if necessary.
2874 (EMACS_NAME): New constant macro.
2875 (print_version): Use it.
2876 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 2877
19e262bd 28782000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
2879
2880 * etags.c [WINDOWSNT]: #include <direct.h>
2881
19e262bd 28822000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 2883
19e262bd
FP
2884 * etags.c (all functions): Made them static.
2885 (all functions): Write prototypes.
e4100b7f 2886
55e30d2a
RS
28872000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2888
2889 * movemail.c (main): Improve error message if can't create lock file.
2890
c60ee5e7 28912000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
2892
2893 * emacsclient.c (socket_status): New function.
02ce3e80 2894 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
2895 for a socket based on the UID associated with the name.
2896
e4936aa9
GM
28972000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2898
2899 * emacsclient.c: Add option -a EDITOR and environment variable
2900 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2901
f0131492 29021999-12-10 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
2903
2904 * movemail.c (popmail): Allow mailbox specifications of the
2905 form `po:username:hostname'.
2906
880820fe 29071999-11-19 Francesco Potortì <pot@gnu.org>
e2081362
FP
2908
2909 * etags.c (_GNU_SOURCE): Define only if undefined.
2910 (get_scheme): Declaration deleted.
02ce3e80 2911 (main): Error was called with an integer as second arg, instead of
e2081362
FP
2912 a char pointer.
2913 (canonicalize_filename): Bug removed.
2914
29151999-11-18 Dave Love <d.love@dl.ac.uk>
2916
2917 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2918 lossage from name clash with macro.
2919
b05d3bee
GM
29201999-11-13 Gerd Moellmann <gerd@gnu.org>
2921
2922 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2923
cb3a6c48
GM
29241999-11-03 Gerd Moellmann <gerd@gnu.org>
2925
2926 * etags.c (print_help): Change email address to send bugs to.
2927
880820fe 29281999-11-01 Francesco Potortì <pot@gnu.org>>
1c478461
FP
2929
2930 * etags.c: Add suffix psw for PSWrap.
2931 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2932 (Postscript_functions): Add code for PSWrap.
2933 (Scheme_functions): Use local pointer and new get_tag function.
2934 (get_tag): New name for old get_scheme.
2935 (process_file): Do not free NULL when file does not exist.
2936 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2937 (C_entries): Modifications that make --members tag even inside
2938 typedefs and C nested structs (one level only).
eec54bd7 2939 (consider_token): Correct a bug which prevented tagging of enum
1c478461 2940 constants.
eec54bd7 2941 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
2942 st_C_ignore. This makes it simpler to work when cblev!=0.
2943
02ce3e80 2944 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
2945 --declarations is used.
2946
2947 * etags.c (C_entries, consider_token): C++ `operator' now is
2948 tagged in most cases.
2949 As before, :: is not recognised if surrounded by spaces.
2950
2951 * etags.c (relative_filename): Account for DOS file names such
2952 that is impossible to make one relative to another.
2953
2954 * etags.c (sym_type): New st_C_extern tag.
2955 (gperf input): Use it for spotting external declarations.
a7c29764 2956 (print_help): Document the new behavior of --declarations.
1c478461
FP
2957 (fvextern): New global variable.
2958 (consider_token, C_entries): Use it.
2959
2960 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
2961 (etags_getcwd): Remove test for WINDOWSNT.
2962
2963 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
2964 foo.cgz, foo.cz, etc.
2965
2966 * etags.c (declarations): New global switch.
2967 (longopts): Describe it.
2968 (print_help): Document it.
2969 (C_entries): Use it.
2970 (process_file): Don't process a file twice.
2971
2972 * etags.c (Fortran_functions): No tags for "procedure".
2973
29741999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
2975
2976 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
2977 non-zero, returns a pointer to where the extension begins; callers
2978 changed.
2979 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2980 were foo.c.gz.
2981
880820fe 29821999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
2983
2984 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2985 (fvdev): New constant foperator.
2986 (consider_token): Use it to get "operator" in C++.
2987 (C_entries): Extend length of operator@ function name.
2988 (C_entries): Use foperator when necessary.
2989
2990 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
2991
2992 * etags.c (compressor): New struct for compressed files.
2993 (get_compressor_from_suffix): New function.
2994 (get_language_from_suffix): Use it. Also, semantics changed.
2995 (process_file): Consider compressed files, close file.
2996 (find_entries): Use different call arg for get_language_from_suffix,
2997 don't close file.
2998
2999 * etags.c (main): Call free_tree.
3000 (find_entries): Do not free curfile.
3001 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
3002 (prolog_pred, erlang_func, substitute): Cast strlen to int when
3003 comparing.
3004 (canonicalize_filename): Shut up compiler warning.
3005 (Perl_functions): Make tag significant.
3006
30071999-11-01 Dave Love <d.love@dl.ac.uk>
3008
3009 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
3010 (argument_type): New member at_icregexp.
3011 (lc_trans): New global.
3012 (main): Fill lc_trans. Process -c args.
3013 (add_regex): New arg determining whether to use translation table.
3014 (analyse_regex): New arg. Use it for add_regex.
3015
880820fe 30161999-11-01 Francesco Potortì <pot@gnu.org>
1c478461
FP
3017
3018 * etags.c (init): Cosmetic change: NULL --> '\0'.
3019 (erlang_attribute): Bug corrected (uninitialized variable).
3020 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 3021 corrects a bug. All callers changed.
1c478461
FP
3022 (canonicalize_filename): New function.
3023 (process_file, etags_getcwd, absolute_dirname): Use it.
3024 (relative_filename, absolute_filename): Removed var shadowing.
3025 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 3026 compilers quiet.
1c478461
FP
3027 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
3028
3029 * etags.c (xrnew): New macro. All callers of xrealloc changed.
3030 (language): New typedef (was struct lang_entry).
3031 (curlang): New global variable.
02ce3e80 3032 (node): Typedef renamed from NODE.
1c478461
FP
3033 (linebuffer): New typedef (was struct linebuffer).
3034 (pattern): New typedef (was struct pattern). Some members added.
3035 Now used as element of a linked list.
3036 (patterns, num_patterns): Global variables deleted.
3037 (p_head): New global variable.
a64387ee 3038 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
3039 (get_language_from_name, get_language_from_interpreter)
3040 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 3041 (last_node): New global variable.
02ce3e80
SM
3042 (free_tree, add_node, put_entries, total_size_of_entries):
3043 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
3044 (number_len): Rewritten for elegance.
3045 (token): New typedef replaces TOKEN.
3046 (analyse_regex, add_regex): Rewritten for new functionality.
3047 (free_patterns): New function called from main and add_regex.
3048 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 3049 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
3050 (readline): Rewritten for new functionality.
3051
ecc54057 3052 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
3053 (print_help): --globals is now used for more than C-type languages.
3054 (Perl_functions): Tag global variables ("my" and "local").
3055
3056 * etags.c (print_help): Some messages clarified.
3057 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
3058 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
3059 (Python_functions, Cobol_paragraphs, Pascal_functions)
3060 (Lisp_functions, Postscript_functions, Scheme_functions)
3061 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
3062 (Cobol_paragraphs, Postscript_functions, TeX_functions)
3063 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
3064 of the global variable dbp.
3065 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
3066 standard indentation.
3067
02ce3e80
SM
3068 * etags.c (Python_suffixes, lang_names, Python_functions):
3069 Python support.
1c478461 3070 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
3071 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
3072 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
3073 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
3074 (eat_white): Deleted.
3075
3076 * etags.c (CHAR, init): Keep into account non US-ASCII
3077 characters and compilers with default signed chars.
3078 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
3079 constructs.
ecc54057 3080 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 3081
ecc54057 3082 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
3083 (main): Put interval syntax here.
3084 (add_regex): And remove it from here.
3085
3086 * etags.c (suggest_asking_for_help): Provide a
3087 meaningful help message with and without LONG_OPTIONS.
3088
d07529f3 3089 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
1c478461
FP
3090 <stdlib.h, string.h>: Don't test MSDOS when including them.
3091 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
3092 (put_entries): Correctly use %ld instead of %d in printf.
3093
d07529f3 3094 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
1c478461
FP
3095 declare getcwd if HAVE_GETCWD.
3096 (consider_token): Dead break instruction removed.
3097
4ee9629e
PE
30981999-10-19 Paul Eggert <eggert@twinsun.com>
3099
3100 Add support for large files. Merge glibc 2.1.2.
1c478461 3101
4ee9629e 3102 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
d07529f3 3103 * movemail.c, pop.c:
4ee9629e
PE
3104 Do not include <stdlib.h>, as <config.h> does this now.
3105
3106 * b2m.c, emacsserver.c, etags.c, profile.c:
3107 Include <config.h> before any system include files.
1c478461 3108
4ee9629e 3109 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
d07529f3 3110 * test-distrib.c:
4ee9629e
PE
3111 (read, write, open, close): Do not undef.
3112
3113 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
3114 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
3115
3116 * getopt.h: Adopt glibc 2.1.2.
1c478461 3117
93c8d183
DL
31181999-10-15 Dave Love <fx@gnu.org>
3119
3120 * Makefile.in (pop.o): Depend on config.h.
3121
b358f91c
GM
31221999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3123
3124 * pop.c: Use "pop3" as the POP service name on all platforms,
3125 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
3126 has been the standard service name since RFC 1340 was published in
3127 July 1992, so I think it's safe to start using it by default.
3128
362bc2da
DL
31291999-09-27 Dave Love <fx@gnu.org>
3130
3131 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
3132
74e4cb59
PR
31331999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
3134
3135 * make-docfile.c (scan_lisp_file): Fix previous changes;
3136 swallow CRLF like just CR or just LF.
3137
362bc2da
DL
31381999-09-03 Richard Stallman <rms@gnu.org>
3139
3140 * make-docfile.c: Include config.h not ../src/config.h.
3141 (main, fopen, chdir): Add #undef.
3142 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
3143 (scan_lisp_file): Handle \r like \n.
3144
31451999-08-30 Andreas Schwab <schwab@gnu.org>
3146
3147 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
3148
3149 * emacsserver.c: Include <stdlib.h> if available. Don't declare
3150 errno if it's a macro.
3151
3152 * test-distrib.c: Include <unistd.h> if available.
3153
31541999-08-29 Richard Stallman <rms@gnu.org>
3155
3156 * emacsclient.c (print_help_and_exit): Mention --version.
3157
31581999-08-25 Richard M. Stallman <rms@gnu.org>
3159
3160 * emacsclient.c (decode_options): Update version output.
3161 (print_help_and_exit): Update bug report address.
3162
31631999-08-13 Richard M. Stallman <rms@gnu.org>
3164
3165 * emacsclient.c (main): Move the dynamic allocation of
3166 system_name outside of the SERVER_HOME_DIR conditional.
3167 * emacsserver.c (main): Likewise.
3168
31691999-08-10 Gerd Moellmann <gerd@gnu.org>
3170
3171 * grep-changelog: New.
3172 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
3173
31741999-07-12 Richard Stallman <rms@gnu.org>
3175
3176 * Version 20.4 released.
3177
31781999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
3179
1c478461 3180 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
3181
31821999-06-23 Dave Love <fx@gnu.org>
3183
3184 * etags.c (erlang_attribute): Fix undefined variable usage (after
3185 Potorti).
3186
86e888c2 31871999-05-02 Andrew Innes <andrewi@gnu.org>
362bc2da
DL
3188
3189 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
3190 mapped to _chsize.
3191
31921999-04-29 Richard M. Stallman <rms@gnu.org>
3193
3194 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
3195
31961999-03-30 Dave Love <fx@gnu.org>
3197
3198 * sorted-doc.c (main): Split up tables. Modify the preamble
3199 somewhat.
3200
32011999-03-05 Geoff Voelker <voelker@cs.washington.edu>
3202
3203 * makefile.nt: Remove common multiple file compilation commands.
3204
32051999-02-26 Richard Stallman <rms@gnu.org>
3206
362bc2da
DL
3207 * Makefile.in (yow): Depend on epaths.h, not paths.h.
3208
3209 * yow.c: Refer to epaths.h.
3210
32111999-02-22 Simon Josefsson <jas@pdc.kth.se>
3212
3213 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
3214
32151999-01-27 Andrew Innes <andrewi@gnu.org>
3216
3217 * makefile.nt: Do make version comparison as strings.
3218
32191999-01-25 Richard Stallman <rms@gnu.org>
3220
3221 * emacsclient.c (xmalloc): Fix previous change.
3222
32231999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
3224
3225 * emacsclient.c (xmalloc): Declare to return long.
3226
32271999-01-22 Geoff Voelker <voelker@cs.washington.edu>
3228
3229 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
3230 the case of the drive letter.
3231
32321999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
3233
3234 * emacsserver.c (main): Eliminate arbitrary limit on
3235 length of system_name.
3236
3237 * emacsclient.c (main): Eliminate arbitrary limit on
3238 length of system_name.
3239 (xmalloc): Define unconditionally.
3240
32411999-01-12 Darrin B. Jewell <jewell@mit.edu>
3242
3243 * etags.c (relative_filename): Stop backward search at beginning
3244 of string, since non-Unix systems can have absolute paths with no
3245 initial slash.
3246
32471998-12-08 Geoff Voelker <voelker@cs.washington.edu>
3248
3249 * makefile.nt: Do string comparision of _NMAKE_VER.
3250
c60ee5e7 32511998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
3252
3253 * makefile.nt: Compile multiple source files when possible.
3254
32551998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
3256
3257 * Makefile.in: Replace tabs with spaces
3258 when they might confuse some Make versions.
3259
32601998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
3261
3262 * emacsclient.c (main): Null-terminate system_name.
3263
3264 * emacsserver.c (main): Null-terminate system_name.
3265
32661998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3267
3268 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
3269 an error message from POP, mention that it's from POP, to
3270 distinguish it from local error messages.
3271
32721998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3273
3274 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
3275 order of messages downloaded from a POP server (e.g., if the
3276 server stores messages in mailboxes in reverse order).
3277
32781998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
3279
3280 * Version 20.3 released.
3281
32821998-08-11 Paul Eggert <eggert@twinsun.com>
3283
3284 * rcs2log: Update copyright date and bug report address.
3285 (initialize_fullname): Prefer getent if available.
3286
32871998-07-30 Paul Eggert <eggert@twinsun.com>
3288
290afd83 3289 * Makefile.in (REGEXPDEPS, regex.o):
362bc2da 3290 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 3291
362bc2da
DL
32921998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
3293
3294 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
3295
32961998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
3297
3298 * Makefile.in: Properly terminate a comment.
3299
33001998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
3301
3302 * movemail.c (sys_wait): Rename to wait.
3303
3304 * ntlib.h: Undefine _WINSOCKAPI_.
3305
3306 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
3307
33081998-05-30 Geoff Voelker <voelker@cs.washington.edu>
3309
3310 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
3311
33121998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
3313
3314 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
3315 all file i/o to be in binary mode. Include ntlib.h.
3316
33171998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
3318
3319 * make-docfile.c: Include <unistd.h> for chdir.
3320
33211998-04-25 Richard Stallman <rms@psilocin.gnu.org>
3322
3323 * etags.c (TEX_decode_env): Don't free the value getenv returns.
3324
33251998-04-17 Geoff Voelker <voelker@cs.washington.edu>
3326
3327 * makefile.nt (obj): Update with new files in src.
3328 (clean): Delete patch scratch files, optimized compilation dir.
3329
33301998-04-08 Dave Love <fx@gnu.org>
3331
3332 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
3333 Irix6, at least.
3334
33351998-04-06 Andreas Schwab <schwab@gnu.org>
3336
3337 Silence -Wimplicit:
3338 * movemail.c: Move cancelations up. Include <stdlib.h> if
3339 available.
3340 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
3341 (parse_header): Explicitly declare return type.
3342 * emacsserver.c: Include <unistd.h> if available.
3343 (main, handle_signals, perror_1, fatal_error): Explicitly declare
3344 return types. Add forward declarations.
3345 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
3346 Don't declare geteuid.
3347 (print_help_and_exit): Change return type to void. Forward
3348 declare it.
3349 * b2m.c: Include <stdlib.h> if available.
3350 (main): Explicitly declare return type.
3351
362bc2da
DL
33521998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3353
3354 * etags.c (put_entries): Use %ld.
3355
3356 * b2m.c (fatal): Declare the arg.
3357
33581998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3359
3360 * pop.c (pop_getline): Renamed from getline.
3361
33621998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3363
3364 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3365 for the utilities.
3366
33671998-01-23 Dave Love <d.love@dl.ac.uk>
3368
3369 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3370 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3371 Always make named tags.
3372 (Fortran_functions): Grok BLOCK DATA.
3373
33741998-01-23 Andreas Schwab <schwab@gnu.org>
3375
3376 * movemail.c (main): Fix interwoven brace and cpp conditional
3377 nesting.
3378
362bc2da
DL
33791997-12-03 Paul Eggert <eggert@delysid.gnu.org>
3380
cb438d6e
JB
3381 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which quotes
3382 with a '>' any lines starting with "From " read from the POP server,
3383 but leave the code in place, wrapped in #ifdef
362bc2da
DL
3384 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3385 because it turns out that something is depending on it. Change
3386 suggested by Paul Eggert <eggert@twinsun.com>.
3387 Convert the character \037 (^_) at the beginning of a line into
3388 the character '^' followed by the character '_', because otherwise
3389 Emacs can't parse the resulting file as a valid BABYL file.
3390 Change suggested by Paul Eggert <eggert@twinsun.com>.
3391
33921997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3393
3394 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3395 server to contain embedded nulls.
3396
33971997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 3398
362bc2da
DL
3399 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
3400 quotes with a '>' any lines starting with "From " read from the
3401 POP server, but leave the code in place, wrapped in #ifdef
3402 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3403 because it turns out that something is depending on it. Change
3404 suggested by Paul Eggert <eggert@twinsun.com>.
3405
3406 Convert the character \037 (^_) at the beginning of a line into
3407 the character '^' followed by the character '_', because otherwise
3408 Emacs can't parse the resulting file as a valid BABYL file.
3409 Change suggested by Paul Eggert <eggert@twinsun.com>.
3410
34111997-11-22 Richard Stallman <rms@gnu.org>
3412
3413 * b2m.c: Include getopt.h.
3414 (main): Use getopt_long to handle --version and --help.
3415
3416 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
3417
34181997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3419
3420 * pop.c (fullwrite): Get rid of an extra call to write. Problem
3421 pointed out by Chiaki Ishikawa.
3422
34231997-10-16 Dave Love <d.love@dl.ac.uk>
3424
ecc54057
JB
3425 * etags.c (L_getit): Always make named tags so that Emacs
3426 completion on symbols containing `:' etc. works.
3427 (get_scheme): Likewise.
362bc2da
DL
3428
34291997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3430
3431 * pop.c: Use system header files instead of declaring C-library
3432 functions explicitly.
3433
34341997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3435
3436 * Version 20.2 released.
3437
34381997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3439
3440 * Version 20.1 released.
3441
34421997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3443
3444 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
3445
3446 * ntlib.c (getpid): Delete function.
3447
34481997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3449
3450 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
3451
34521997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3453
3454 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
3455 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
3456
34571997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3458
3459 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
3460
34611997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
3462
3463 * profile.c (get_time): Cast arg to fprintf.
3464
3465 * hexl.c (main): Use %08lx instead of %08x in printf because the
3466 variable named addresses is long.
3467
34681997-08-08 Geoff Voelker <voelker@cs.washington.edu>
3469
3470 * makefile.nt (lisp): Update paths to lisp files that have moved.
3471
34721997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
3473
3474 * makefile.nt (ctags.obj): New target.
3475 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
3476
3477 * ntlib.h: Add includes.
3478 Undo definitions of crt routines from config.h.
3479
34801997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3481
3482 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
3483
34841997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3485
3486 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3487 Kerberos V5 for movemail, including detection of V4 and V5 header
3488 files and libraries.
362bc2da 3489 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 3490 declarations of string functions.
362bc2da 3491 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 3492 V5 API rather than the old one.
362bc2da 3493 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
3494 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3495 with a constant in a header file.
362bc2da
DL
3496
3497 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3498 Kerberos V5 for movemail, including detection of V4 and V5 header
3499 files and libraries.
362bc2da
DL
3500
35011997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3502
3503 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3504
3505 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 3506
362bc2da
DL
35071997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3508
3509 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3510
35111997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3512
3513 * movemail.c (rindex): Add declaration.
3514
d57727c9 35151997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
3516
3517 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3518 (movemail.exe): Depend upon and link with getopt files.
3519 (obj): Include new source files.
3520 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3521 (lisp): Include new and reorganized elisp files.
3522
35231997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3524
3525 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3526
35271997-06-25 Paul Eggert <eggert@twinsun.com>
3528
3529 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3530
35311997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3532
3533 * b2m.c (readline): Terminate buffer properly when EOF seen.
3534 Test for valid pointer before dereferencing it.
3535
880820fe 35361997-05-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3537
3538 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3539 defined inside etags.c if HAVE_CONFIG_H is defined.
3540
880820fe 35411997-05-29 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3542
ecc54057 3543 * etags.c (logical): Type name changed to bool.
362bc2da
DL
3544 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3545 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3546 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3547 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3548 (longopts): New long options without short counterpart are
3549 globals, members, no-globals, no-members. Regexp options are now
3550 defined conditionally to ETAGS_REGEXPS.
3551 (print_help): Updated.
3552
880820fe 35531997-05-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3554
3555 * etags.c (C_entries): Use "." instead of "::" for Java.
3556 (consider_token): is_func renamed to is_func_or_var.
3557 (C_entries): is_func renamed to funorvar.
3558 (C_entries): Initialise tok.named.
3559 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3560 get rid of "import", "package" and "friend".
3561 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 3562 users changed.
362bc2da
DL
3563 (C_entries): Make separate tags for variables separated by comma.
3564 (globals, members): New flags.
3565 (main, C_entries): Use them.
3566 (make_C_tag, C_entries): Make tok a global variable.
1c478461 3567
880820fe 35681997-05-16 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3569
3570 * etags.c (funcdef): New vignore constant.
3571 (consider_token, C_entries): Use it to tag global variables.
3572 (print_help): Update for global variables.
3573 (consider_token, C_entries): Set the len member of token_name.
3574 (prolog_pred): Cleanup according to GNU coding standards.
3575 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3576 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3577
880820fe 35781997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3579
3580 * etags.c (CHARS, CHAR): New constant and macro.
3581 (iswhite, begtoken, intoken, endtoken): Use them.
3582 (notinname, _nin, nonam): New macro, array, string.
3583 (init): Cleanup and init _nin.
3584 (new_pfnote): New function.
3585 (make_C_tag) [traditional_tag_style]: Use it.
10d1d0af 3586 (traditional_tag_style): Constant set to TRUE for now.
362bc2da 3587
880820fe 35881997-05-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3589
3590 * etags.c (C_entries, Pascal_functions): Cleanup.
3591 (TeX_functions): NULL as a function arg needs a cast.
3592 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3593
880820fe 35941997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3595
3596 * etags.c (TeX_functions): Cleaned up.
3597 (tex_getit): Removed.
3598
35991997-05-13 Paul Eggert <eggert@twinsun.com>
3600
3601 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 3602 non-files within the RCS subdirectory.
362bc2da 3603
880820fe 36041997-05-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3605
3606 * etags.c (C_JAVA): New #define.
3607 (Cjava_suffixes): .java is Java.
3608 (Cjava_entries): New function.
3609 (lang_names): Add Java.
3610 (sym_type): Add st_C_javastruct for Java.
3611 (C_stab_entry): Add `extends' and `implements' keywords.
3612 (consider_token, C_entries): Recognise Java structures.
3613
880820fe 36141997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3615
ecc54057 3616 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3617 (Postscript_suffixes): .ps is Postscript.
3618 (lang_names): Add Postscript.
3619 (Postscript_functions): New function.
3620 (TEX_decode_env): Close minor memory leak.
3621 (just_read_file): Correct the char number of the tag.
3622
36231997-05-11 Paul Eggert <eggert@twinsun.com>
3624
3625 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3626 Don't prepend $nl since this causes some shells to generate the
3627 empty string when IFS is $nl.
362bc2da 3628 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3629 PC-based shells mishandle CR.
362bc2da
DL
3630 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3631 nismatch, in case it's set to some nonstandard value.
1c478461 3632
362bc2da
DL
36331997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3634
3635 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3636 read in separate blocks.
3637
880820fe 36381997-04-30 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3639
3640 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3641 (struct linebuffer): New member `len' is the length of the string.
3642 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3643 Use it instead of strlen.
3644 (TEX_getit): Declare and define unconditionally as static.
3645 (TeX_functions): Use if instead of #if TeX_named_tokens.
3646 (add_regex): Set RE_INTERVALS flag for regex compilation.
3647 (substitute): Code cleanup.
3648 (readline_internal): Code cleanup, set new member `len'.
3649 (readline): Bug corrected.
3650
36511997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3652
3653 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3654 (obj): Change references of nt*.c files to w32*.c files.
3655
880820fe 36561997-04-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3657
3658 * etags.c (xnew): Add support for debugging with chkmalloc.
3659 (error): Use this instead of printf whenever possible.
3660 (main): Only call xnew after having initialised progname.
3661 (substitute): Bad memory corruption error corrected.
3662
880820fe 36631997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3664
3665 * etags.c (add_regex): Undo previous change.
3666 (relative_filename): Small memory leak closed.
3667 (absolute_filename): Cleaned up the code, possibly closing a bug.
3668 (absolute_dirname): Always return a newly allocated string.
1c478461 3669
362bc2da
DL
36701997-03-21 Paul Eggert <eggert@twinsun.com>
3671
3672 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3673 of the form ,*, or *_; they are probably RCS lock files.
3674 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3675 they are used by rcsfreeze.
3676
880820fe 36771997-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da 3678
2f2c687b 3679 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
3680
36811997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3682
3683 * movemail.c (popmail): Remove some unnecessary function
3684 declarations.
3685 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3686 into pop_retr, there's no reason to pass in mbx_write, and the
3687 file argument can be declared FILE * explicitly. This fixes a
3688 compilation problem on systems with 64-bit pointers.
3689
36901997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3691
3692 * movemail.c: Delete duplicate inclusion of fcntl.h
3693 and duplicate #undefs of open, read, write, close.
3694
36951997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3696
3697 * movemail.c (main): Do not display "[POP-password]" in the usage
3698 message when movemail is compiled without POP support.
3699 (main, popmail): Add the optional "-p" argument, which causes
3700 movemail to leave mail in the inbox after copying it into the
3701 output file.
1c478461 3702
362bc2da
DL
3703 * Makefile.in (movemail): Link with getopt.
3704
37051997-01-20 Paul Eggert <eggert@twinsun.com>
3706
ecc54057 3707 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3708 (Copyright, Help, Id): New variables, for above.
3709 (rlog): Use -q option with cvs log, to avoid useless chatter.
3710
3711 Treat logs of "Initial revision" (RCS) or "file F was initially added
3712 on branch B." (CVS) as if they said "New file.", for consistency with
3713 change log entries.
3714
37151997-01-01 Paul Eggert <eggert@twinsun.com>
3716
3717 * vcdiff (PATH): Add /usr/xpg4/bin,
3718 where XPG4 SCCS hangs out in Solaris 2.5.
3719 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3720
37211996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3722
3723 * etags.c (streq, strneq): Use == NULL rather than !.
3724
37251996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3726
3727 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3728 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3729
3730 * movemail.c: Include maillock.h (conditionally).
3731 Remove a redundant inclusion of <stdio.h>.
3732 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3733 (main): Add variable spool_name.
3734 Support the usage of maillock and mailunlock to
ecc54057 3735 lock and unlock mailboxes.
362bc2da
DL
3736 (mail_spool_name): New function.
3737
3738 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3739 movemail to exit with an error status incorrectly on systems which
3740 use lock files rather than a system locking function to lock
3741 mailboxes.
362bc2da
DL
3742
37431996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3744
3745 * pop.c (socket_connection): Free realhost after using it.
3746
880820fe 37471996-12-04 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3748
3749 * etags.c (C_entries): Test tok.valid. This handles some
3750 particular cases involving function declarations that failed.
3751
37521996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 3753
362bc2da
DL
3754 * pop.c (socket_connection):
3755 gethostbyname may return a pointer to static data.
3756 krb_realmofhost can clobber it. So copy it.
3757
880820fe 37581996-11-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3759
3760 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3761 must cast it to (char *) because we have no prototypes.
3762 (make_C_tag): Macro deleted, new function.
3763 (C_entries): Calls to make_C_tag macro changed to call function.
3764
880820fe 37651996-11-13 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3766
3767 * etags.c (grow_linebuffer): New function.
3768 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3769 (make_tag): Macro renamed to make_C_tag. All callers changed.
3770 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3771 (Prolog_functions): prolog_skip_comment was called with wrong
3772 number of arguments.
3773 (xrealloc): fatal was called with wrong number of arguments
3774
880820fe 37751996-11-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3776
3777 * etags.c (relative_filename): Bug corrected.
3778 (etags_getcwd): Avoid warning of unused variable.
3779 (C_entries, consider_token): Added support for enum labels.
3780
37811996-11-03 Paul Eggert <eggert@twinsun.com>
3782
3783 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 3784 repository file names.
362bc2da
DL
3785
37861996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3787
3788 * emacsserver.c: Fix 1996-09-02 change.
3789
37901996-10-12 Paul Eggert <eggert@twinsun.com>
3791
3792 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 3793 option', since CVS says 'invalid option'.
362bc2da
DL
3794 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3795 revisions, since some hosts reject 1970-01-01 when east of UTC.
3796 (date): Remove.
3797
37981996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3799
3800 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3801
880820fe 38021996-10-02 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3803
3804 * etags.c (print_version): Print copyright info.
3805
3806 * etags.c (print_help): Print the bug reporting address.
3807 (main): Use return as the last instruction, instead of exit.
3808
3809 * etags.c (main): Don't open the tags file in cxref mode.
3810
38111996-09-29 Dave Love <d.love@dl.ac.uk>
3812
3813 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 3814 as well as earlier CVSs and RCS.
362bc2da
DL
3815
38161996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3817
3818 * movemail.c (main): If the lock call fails with EBUSY or
3819 EAGAIN, retry a few times.
3820
38211996-09-25 Paul Eggert <eggert@twinsun.com>
3822
3823 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 3824 whether to append -zLT.
362bc2da
DL
3825
38261996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3827
3828 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3829 * emacsclient.c, movemail.c: Likewise.
3830
38311996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3832
3833 * emacsclient.c (longopts): Change nowait to no-wait.
3834 (print_help_and_exit): Fix option name; upcase metavars.
3835
38361996-09-06 Erik Naggum <erik@naggum.no>
3837
3838 * emacsserver.c (main): Declare `fromlen' as size_t.
3839
38401996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3841
3842 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3843
38441996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3845
3846 * emacsclient.c (quote_file_name): Quote with &, not \.
3847 Quote `-' only at start of file name. Terminate the value string.
3848
3849 * emacsserver.c: Include signal.h properly;
3850 delete the duplicate includes for it.
3851
3852 * emacsserver.c: On fatal signal, delete socket-file:
3853 * emacsserver.c: Include signal.h.
ecc54057 3854 (xmalloc, fatal, error): New functions.
362bc2da
DL
3855 (delete_socket, handle_signals): New functions.
3856 (progname, socket_name): New variables.
3857 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3858
38591996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3860
3861 * emacsclient.c (quote_file_name): New function.
3862 (main, both versions): Use quote_file_name.
3863 (decode_options): Don't return a value.
3864 (main, both versions): Use optind.
3865 Don't check for -nowait here.
1c478461 3866
362bc2da
DL
3867 * emacsclient.c (decode_options): New function.
3868 (main, both versions): Call decode_options.
3869 (print_help_and_exit): New function.
3870 (VERSION): New macro.
3871
3872 * Makefile.in (emacsclient): Link with getopt.
3873 Add -DVERSION so emacsclient knows its version number.
3874
38751996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3876
3877 * makefile.nt (lisp): Include dos-nt.elc.
3878
38791996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3880
3881 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3882
38831996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3884
3885 * emacsclient.c (both versions): Handle -nowait and --nowait
3886 by sending data to the server.
3887
38881996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3889
3890 * Makefile.in (INSTALL_STRIP): New variable.
3891 (${archlibdir}): Use INSTALL_STRIP.
3892
3893 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3894 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3895
3896 * pop.c: Reverse conditional in previous change.
3897
38981996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3899
3900 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3901
39021996-08-24 Paul Eggert <eggert@twinsun.com>
3903
3904 * rcs2log: Use ISO 8601 date format, with time zone appended
3905 if change-log-time-zone-rule is non-nil, instead of
3906 traditional Unix date format.
3907
3908 (datearg): When computing default from ChangeLog, handle ISO format
3909 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3910 Don't worry about hh:mm:ss since the resolution is now by day.
10d1d0af 3911 Use empty datearg, not empty rlog_options, to decide whether to pass
362bc2da
DL
3912 "$datearg" option to $rlog.
3913 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3914 (month_data): Remove `mo'; no longer needed.
10d1d0af 3915 (rlog_options): Use -zLT for localtime output, if `rlog' supports it.
362bc2da
DL
3916
3917 Match `revision' line of rlog output more accurately.
3918
3919 Add -c, -v options.
3920
39211996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3922
3923 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3924
39251996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3926
3927 * Version 19.33 released.
3928
39291996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3930
3931 * Version 19.32 released.
3932
39331996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3934
3935 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3936 computing character positions in source files.
3937
39381996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3939
3940 * makefile.nt (clean): Use OBJDIR macro.
3941
39421996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3943
3944 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3945
c60ee5e7 39461996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 3947
ecc54057 3948 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
3949 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3950 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
3951
39521996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
3953
3954 * ntlib.h: Correct return type of getwd.
3955 * ntlib.c (getwd): Correct return type.
3956
39571996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3958
3959 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
3960 to infile.
3961
39621996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3963
3964 * makefile.nt: Remove all references to wakeup.
3965
880820fe 39661996-06-28 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3967
3968 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3969 explicit, mutable, typename.
3970
39711996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3972
3973 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
3974 streams, one for sending and one for reading the reply.
3975
39761996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3977
3978 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
3979 (wakeup): Target deleted.
3980 (UTILITIES): Delete wakeup and timer.
3981
3982 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
3983
39841996-06-11 Geoff Voelker <voelker@cs.washington.edu>
3985
3986 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
3987 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
3988
39891996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3990
3991 * etags.c (main): Copy cwd when appending slash.
3992
39931996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3994
3995 * Version 19.31 released.
3996
880820fe 39971996-05-17 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3998
3999 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
4000 (Pascal_functions): Increase linecharno by the correct number of
4001 chars, inline the GET_NEW_LINE macro and delete its definition.
4002
c60ee5e7 40031996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4004
4005 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
4006
c60ee5e7 40071996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
4008
4009 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
4010 (movemail.exe, fakemail.exe): Now built under Win32.o
4011
4012 * ntlib.c: Include ntlib.h.
4013 (nt_sleep): Rename to sleep.
4014 (getwd): Return directory.
4015 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
4016 sys_ctime, sys_fopen): New functions.
4017
4018 * ntlib.h: New file.
4019
40201996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4021
4022 * pop.c (SEND, RECV): Renamed from send, recv.
4023 (pop_open, pop_trash): Make the trash_started code unconditional.
4024 (socket_connection): Delete casts to void.
4025
40261996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
4027
4028 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
4029 copied from lisp.h.
4030
40311996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
4032
4033 * fakemail.c [WINDOWSNT]: Include ntlib.h.
4034
4035 * hexl.c [DOSNT]: Include fcntl.h.
4036 [WINDOWSNT]: Include io.h.
4037 (main) [MSDOS]: Change conditional to DOS_NT.
4038
4039 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
4040 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
4041 [WINDOWSNT]: Include locking.h.
4042 (main): Update usage message. Use IS_DIRECTORY_SEP.
4043 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
4044 (main) [WINDOWSNT]: Invoke locking instead of flock.
4045 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
4046 (main) [MAIL_USE_POP]: Pass password to popmail if used.
4047 Include winsock.h; don't include unix inet headers.
4048 (popmail): Add password argument and pass it to pop_open.
4049 Open output file in binary mode.
4050
4051 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 4052 Macro SOCKET_ERROR undefined.
362bc2da
DL
4053 Don't declare h_errno.
4054 [!WINDOWSNT]: Define macros recv and send.
4055 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
4056 (pop_open) [WINDOWSNT]: Initialize trash_started.
4057 (have_winsock) [WINDOWSNT]: New variable.
4058 (socket_connection) [WINDOWSNT]: Initialize winsock.
4059 (socket_connection): Use closesocket instead of close.
4060 (getline): Use recv instead of read.
4061 (fullwrite): Use send instead of write.
4062 (pop_trash): Use closesocket instead of close.
4063 (pop_trash) [WINDOWSNT]: Cleanup winsock.
4064 Check if being called recursively by sendline.
4065
4066 * pop.h (struct _popserver): New field trash_started.
4067
4068 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
4069
40701996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4071
4072 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
4073
40741996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4075
4076 * etags.c [WINDOWSNT]: Include io.h.
4077
40781996-04-10 Geoff Voelker <voelker@cs.washington.edu>
4079
4080 * makefile.nt (CTAGSOBJ): Compile with regexp support.
4081
40821996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
4083
4084 * hexl.c [DJGPP v2]: Include io.h.
4085 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
4086
4087 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
4088 DJGPP v2.
4089
40901996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4091
4092 * etags.c (absolute_filename): Use absolutefn.
4093
40941996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
4095
4096 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
4097 letter isn't an alphabetic character.
4098 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
4099 (process_file) [DOS_NT]: Convert all slashes to forward style.
4100 (absolute_filename) [DOS_NT]: Emit error message for relative
4101 paths with a drive letter.
4102 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
4103 DOS/NT drive letters which try to reference the parent of the root.
4104 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
4105
41061996-03-27 Geoff Voelker <voelker@cs.washington.edu>
4107
4108 * makefile.nt: Change uses of del to $(DEL).
4109
880820fe 41101996-03-22 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4111
4112 * etags.c (just_read_file): Reset lineno and charno on entry.
4113
41141996-03-15 Anders Lindgren <andersl@csd.uu.se>
4115
4116 * etags.c: Prolog language totaly rewritten.
ecc54057 4117 (Prolog_functions): Rewritten from scratch.
362bc2da 4118 (skip_comment, prolog_getit): Removed.
ecc54057
JB
4119 (prolog_skip_comment): New function, like old skip_comment.
4120 (prolog_pred, prolog_atom, prolog_white): New functions.
4121 (erlang_func, erlang_attributes): Forward declarations added.
4122 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 4123
880820fe 41241996-03-14 Francesco Potortì <F.Potorti@cnuce.cnr.it>
362bc2da
DL
4125
4126 * etags.c (absolutefn): DOS_NT version corrected.
4127 (main): Append "/" to the dir name only if not already there.
4128 (print_help): Explain the absolute/relative file name issue.
1c478461 4129
362bc2da
DL
41301996-03-08 Anders Lindgren <andersl@csd.uu.se>
4131
10d1d0af
JB
4132 * etags.c: New Language Erlang added.
4133 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom)
4134 (erlang_white): New functions.
362bc2da
DL
4135 (Erlang_suffixes): New suffix list.
4136 (lang_names): Erlang entry added.
4137 (prolog_getit): Accepts headers spanning several lines.
4138 Always name tags.
4139 (Prolog_functions): Removed incorrect compensation for
4140 newline characters.
4141 (readline_internal): Zero-terminate last line.
4142
41431996-03-20 Mike Long <mike.long@analog.com>
4144
4145 * b2m.c (main): Initialize progname variable before using it.
4146 Quote `username' in From_ header.
4147
41481996-03-18 Geoff Voelker <voelker@cs.washington.edu>
4149
4150 * ntlib.c (getpid): New function.
4151
41521996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4153
4154 * emacsclient.c (main, both definitions):
4155 Print a newline for normal termination.
4156
41571996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
4158
4159 * tcp.c (main): Convert port to network byte order.
4160
41611996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
4162
4163 * pop.c (pop_retrieve, getline): Avoid type clashes.
4164
41651996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
4166
4167 * etags.c (enum sym_type, anonymous enum): Delete final comma.
4168
41691996-01-15 Paul Eggert <eggert@twinsun.com>
4170
4171 * rcs2log (initialize_fullname): Add support for NIS+.
4172 (hostname): Fully qualify the default hostname with the domainname
4173 if the hostname lacks a `.'.
4174
362bc2da
DL
41751996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
4176
4177 * etags.c (consider_token): Fix typo in expression.
4178
41791996-01-04 Paul Eggert <eggert@twinsun.com>
4180
4181 * etags.c (substitute): Fix spelling in message.
4182
41831996-01-03 George V. Reilly <georger@microcrafts.com>
4184
4185 * makefile.nt (etags, ctags): Compile with regexp support.
4186 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
4187 subdirectory exists before compiling.
1c478461 4188
362bc2da
DL
41891996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
4190
4191 * emacsserver.c (main): Do chmod based on existing permission.
4192
41931995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4194
4195 * Makefile.in (install): Turn on read/execute permission.
4196
41971995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4198
4199 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
4200 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
4201
42021995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
4203
4204 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
4205
880820fe 42061995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4207
4208 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
4209 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
4210 get_scheme, prolog_getit): Name the tag in ctags mode.
4211 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
4212 (Perl_interpreters): Accept "@PERL@" as an interpreter.
4213 (suggest_asking_for_help): New function.
4214 (main, get_language_from_name): Use suggest_asking_for_help.
4215 (main): Let get_language_from_name make language existence check.
4216 (streq, strneq): Check the arguments #if DEBUG.
4217
880820fe 42181995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da
DL
4219
4220 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
4221 (gperf): Added keywords for Objective C and GNU macros.
4222 (sym_type): Added values to account for Objective C and GNU macros.
4223 (begtk): The '@' character can start a token.
4224 (objdef, methodlen, objtag): New variables for Objective C.
4225 (consider_token, C_entries): Added code for Objective C.
4226 (plain_C_suffixes): Add .m and .lm for Objective C.
4227 (Yacc_suffixes): Add .ym for Objective yacc.
4228 (GROW_LINEBUFFER): New macro.
4229 (consider_token, C_entries, Pascal_functions): Use the new macro.
4230 (consider_token): Take one more argument. Caller changed.
4231 (consider_token): Use the hashing function to spot GNU macros.
4232 (C_entries): Consider // as a comment start even in plain C for
4233 the sake of Objective C parsing.
4234
880820fe 42351995-12-04 Francesco Potortì <pot@cnuce.cnr.it>
362bc2da 4236
2f2c687b 4237 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 4238 compile with regexp support enabled.
362bc2da
DL
4239
42401995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4241
4242 * Version 19.30 released.
4243
42441995-11-22 Geoff Voelker <voelker@cs.washington.edu>
4245
4246 * makefile.nt (DOC, clean): Don't use switches to del not
4247 supported by Windows 95.
4248
42491995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4250
4251 * Makefile.in (regex.o): Depend on ../src/config.h.
4252
42531995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4254
4255 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
4256 (LOADLIBES): Use LIB_STANDARD.
4257
42581995-11-07 Kevin Gallo <kgallo@microsoft.com>
4259
4260 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
4261 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
4262 Windows 95 conditional.
4263
880820fe 42641995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4265
4266 * etags.c (get_lang_from_name, get_lang_from_interpreter,
4267 get_lang_from_suffix): New functions.
4268 (get_language): Function deleted.
4269 (lang_entry): Two members added to struct.
4270 (lang_names): Reflect the new layout of lang_entry.
4271 (print_language_names, main, find_entries): Use the new functions.
4272 (find_entries): Look at the first line for #! if no language.
4273 (C_entries): Invalidate the token when funcdef is reset.
4274 (Perl_functions): New function.
4275 (lang_suffixes): .pl and .pm are Perl suffixes.
4276
880820fe 42771995-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4278
4279 * etags.c (lowcase): Use the standard tolower function.
4280 (substitute): Remove some wrong and some useless code related with
a64387ee 4281 escape '\' character in regexp replacement string.
362bc2da
DL
4282 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
4283 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
4284 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
4285 .prolog for prolog (.pl removed).
4286 (massage_name, etags_getcwd): Use lowcase instead of tolower.
4287 (C_entries, find_entries): Added comments about memory leakage.
4288 (add_node): Dead code removed.
4289
42901995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4291
4292 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
4293 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
4294
42951995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4296
4297 * test-distrib.c: Add #undef for open, close, read, write.
4298
42991995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4300
4301 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
4302 [! O_RDONLY]: Define it to zero.
4303 (main): Use O_RDONLY instead of explicit zero.
4304
880820fe 43051995-08-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4306
4307 * etags.c (Pascal_functions): Close comment bug corrected.
4308 (add_node): Correctly compare node file names.
4309 (Pascal_functions): Correctly allocate and free memory for tline.
4310 (pfnote): Put the definition of fp in the innermost block.
4311 (NODE): `named' member removed.
4312 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 4313 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
4314 (pfnote): `named' argument removed, all callers changed.
4315 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4316 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 4317 removed from pfnote call, some code cleanup.
362bc2da
DL
4318 (relative_filename): Free temporary space allocated by concat.
4319
43201995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4321
4322 * Makefile.in (getdate.c): New target.
4323 (getdate.o): Just compile getdate.c.
4324
43251995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
4326
4327 * fakemail.c (xrealloc): Change cast to match return type.
4328
43291995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4330
4331 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
4332
43331995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4334
4335 * movemail.c (main): Fix previous change.
4336 Add error check for empty OUTNAME.
4337
43381995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4339
4340 * movemail.c (main): Mention lock file name in error message.
4341
43421995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4343
4344 * profile.c (gettimeofday): New function, defined if necessary.
4345
43461995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4347
4348 * Makefile.in: Renamed from Makefile.in.in.
4349 (distclean): Delete Makefile.c, not Makefile.in.
4350
43511995-07-17 Michael Shields <shields@tembel.org>
4352
4353 * Makefile.in.in (tags): Synonym for `TAGS'.
4354
43551995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4356
4357 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4358 configure has already set $(INSTALL) to the proper relative path.
4359
880820fe 43601995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4361
2f2c687b
JB
4362 * etags.c (plain_C_entries): New function.
4363 (lowcase): New macro.
4364 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4365 (lang_suffixes): New suffix ".pc" for Pro*C files.
4366 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4367 (tail): Look for the end of the token when comparing.
4368 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4369
43701995-07-08 Paul Eggert <eggert@twinsun.com>
4371
4372 * rcs2log (datearg): Separate date from time with comma, not space,
4373 to work around CVS 1.5 bug.
4374 (CVSROOT): Don't abort when unset if repository is absolute.
4375
43761995-07-07 Paul Eggert <eggert@twinsun.com>
4377
4378 * rcs-checkin, rcs2log, vcdiff:
4379 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4380 that interpret `#! /' as a 4-byte magic number.
4381
43821995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4383
4384 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
4385 mailbox with "po:mailbox", the mailbox is everything after the
4386 "po:" prefix.
4387
43881995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4389
4390 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 4391 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
4392
43931995-06-28 Paul Eggert <eggert@twinsun.com>
4394
4395 * rcs2log (CVSROOT, repository):
4396 Allow remote repositories a la CVS 1.4.
4397
880820fe 43981995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4399
2f2c687b
JB
4400 * etags.c (plain_C_entries): New function.
4401 (lowcase): New macro.
4402 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4403 (lang_suffixes): New suffix ".pc" for Pro*C files.
4404 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4405 (tail): Look for the end of the token when comparing.
4406 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
4407
44081995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4409
4410 * movemail.c (main): Add newline in usage message.
4411
44121995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4413
4414 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
4415
880820fe 44161995-06-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4417
4418 * etags.c (find_entries): Rewind before rereading the input file.
4419
44201995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4421
4422 * Version 19.29 released.
4423
4424 * make-docfile.c (main) [MSDOS]: Do set _fmode.
4425 This undoes part of the previous change.
4426
44271995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4428
4429 * make-docfile.c (main): On MSDOS, don't change stdout
4430 to binary, and insist on an -o option.
4431
44321995-06-13 Geoff Voelker <voelker@cs.washington.edu>
4433
4434 * etags.c (process_file,absolute_filename): Handle filenames
4435 starting with a drive letter.
4436
4437 * makefile.nt (install): Copy wakeup.exe properly.
4438
44391995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
4440
4441 * make-docfile.c [MSDOS]: #undef chdir.
4442
44431995-06-04 Paul Eggert <eggert@twinsun.com>
4444
4445 * rcs2log (output_authors): Allow ':' in time zone,
4446 as per ISO 8601 and RCS 5.6.8 beta.
4447
880820fe 44481995-05-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4449
4450 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
4451 compatibility problems.
4452
44531995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
4454
4455 * etags.c (etags_getcwd): Don't use #elif.
4456 Have just one function body.
4457
44581995-05-25 Geoff Voelker <voelker@cs.washington.edu>
4459
4460 * makefile.nt (LIBS): Use BASE_LIBS.
4461 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
4462 upon LIBS.
4463 (DOC): Use del instead of rm.
4464 (DOC) [WINDOWS95]: Use DOC.
4465 (clean): Handle MSVC aux files.
4466 (config.h,paths.h): Use $(CP) instead of cp.
4467 (config.h): Use $(CONFIG_H)
4468 (make-docfile.obj): Depend upon config.h.
4469 Clean up comments.
4470
880820fe 44711995-05-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4472
4473 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
4474 former gives the true path even in the presence of simlinks.
4475
44761995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4477
4478 * movemail.c (main): Increase lock timeout to five minutes.
4479
44801995-05-06 Geoff Voelker <voelker@cs.washington.edu>
4481
4482 * makefile.nt (obj): Use .c files.
4483
44841995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4485
4486 * make-docfile.c: Include config.h.
4487 (NO_SHORTNAMES): New definition.
4488 (xmalloc): Return long *.
4489
4490 * etags.c (C_entries): Cast result of xrealloc.
4491 (xmalloc, xrealloc): Declare them to return long *.
4492
4493 * b2m.c (xmalloc, xrealloc): Declare them long *.
4494
4495 * movemail.c (xmalloc): Declare it to return long *.
4496
44971995-04-30 Paul Eggert <eggert@twinsun.com>
4498
4499 * rcs2log (datearg): If rlog options are specified explicitly,
4500 omit the implicit '-d>DATE' option.
4501 (repository, rlog): Allow absolute paths to CVS repositories.
4502 Look only at the first line of CVS/Repository.
4503
45041995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4505
4506 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4507 realclean.
4508
45091995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4510
4511 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4512 Alternative (empty) definitions.
4513
45141995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4515
4516 * emacsclient.c (main): Add argv[0] to an error message.
4517
45181995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4519
4520 * emacsclient.c (main): Improve error handling.
4521 * cvtmail.c (main, skip_to_lf): Improve error handling.
4522 (sysfail): New function.
4523
4524 * b2m.c (main): Check for trailing ", " before trying to delete it.
4525
45261995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4527
4528 * Makefile.in.in (all): Build test-distrib and make-docfile.
4529
4530 * make-docfile.c (scan_c_file): At end, restore file name last char
4531 to its original value.
4532
45331995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4534
4535 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4536
45371995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4538
4539 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4540 (alloca.o, regex.o): Use BASE_CFLAGS.
4541
45421995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4543
4544 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4545
45461995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4547
4548 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4549 (SOURCES, distclean): Removed obsolete references to aixcc.
4550
45511995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4552
4553 * aixcc.lex: File deleted--surely obsolete now.
4554
45551995-03-23 Paul Eggert <eggert@twinsun.com>
4556
4557 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4558 portability to mawk and nawk.
4559
45601995-03-21 Paul Eggert <eggert@twinsun.com>
4561
4562 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4563 -u "login<tab>fullname<tab>mailaddr".
4564
45651995-03-21 Paul Eggert <eggert@twinsun.com>
4566
4567 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4568 replaces the (now obsolescent) -n login fullname mailaddr option.
4569 Add -R option for recursive rlog.
07655e62 4570 (AWK): New environment variable (default `awk') for awk program name.
362bc2da
DL
4571 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4572 Quote authors and fullnames correctly.
4573 Don't omit path from repository root when logging CVS files.
4574
45751995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4576
4577 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4578 even if HAVE_SYSVIPC.
4579 * emacsclient.c (main): Use getcwd if not BSD.
4580
880820fe 45811995-03-13 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4582
2f2c687b 4583 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
4584 (readline_internal): Do not access the char before start of line.
4585
880820fe 45861995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4587
4588 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4589 savetok.valid. Mark token as valid when it is initialised.
4590 (make_tag): Make token only if token is valid and reset validity.
4591 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4592 (TOKEN): Added a new member: valid.
4593
880820fe 45941995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4595
4596 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4597 (main): Do not read twice the last filename in the stdin file list.
4598
880820fe 45991995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4600
4601 * etags.c (C_entries): Initialise the new members of TOKEN.
4602 (C_entries): Do not allocate a new space for each token found by
4603 consider_token. Let make_tag do that instead.
4604 (make_tag): Since now TOKEN has memory of where it is taken from,
4605 this new macro substitutes both make_tag_from_new_lb and
4606 make_tag_from_oth_lb. All callers changed.
4607 (TOKEN): Add linepos and buffer members.
4608 (main): Initialise token_str.
4609 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4610 (token_str): New global variable used by C_entries.
4611
46121995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4613
4614 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4615
880820fe 46161995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4617
4618 * etags.c (pfnote): Initialise been_warned in the node.
4619 (C_entries): Removed a speed hack for the sake of clarity.
4620
880820fe 46211995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4622
4623 * etags.c (longopts, print_help, main): Use -I as abbreviation
4624 for the --ignore-indentation option.
4625 (main): Do not print an error message for unknown options.
4626
880820fe 46271995-01-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4628
4629 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
4630 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
4631 constantypedefs, update, vgrind_style, no_warnings,
4632 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
4633 (permit_duplicates): Was a var, now a #define.
4634 (filename_lb): Was global, now local to main.
4635 (main): Open the tag file when in cxref mode.
4636 Use a BUFSIZ size buffer for making the shell commands.
4637 Look at the return value from the system routine.
4638 Exit when cannot open the tag file.
4639 (process_file): Open the file and pass the FILE* to find_entries.
4640 (find_entries): Now void, because does not open the file itself.
4641 (pfnote): Recovering from lack of memory does not work. Removed.
4642 Use savenstr and simplify the code.
4643 (free_tree): Only free the name space if node is named.
4644 (structtag): Now a pointer, not a fixed length array of chars.
4645 (consider_token): Don't take a token as argument. Use savenstr
4646 when saving a tag in structtag. Callers changed.
4647 (TOKEN): Structure changed. Now used only in C_entries.
4648 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4649 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4650 (pfcnt): Deleted. Users updated.
4651 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4652 TEX_getit, prolog_getit): Use dinamic allocation for storing
4653 the tag instead of a fixed size buffer.
4654
46551995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4656
4657 * movemail.c (main): Skip past the colon in inname.
4658
880820fe 46591995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4660
4661 * etags.c (pfatal): New function.
4662 (main, etags_getcwd): Use pfatal.
4663 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4664
880820fe 46651995-01-10 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4666
4667 * etags.c (Lang_function): Use void instead to declare the
4668 language functions, because many compilers are buggy.
4669 (etags_getcwd): Fix the previous fix on the #else branch.
4670 (readline_internal): Discard possible \r before \n here.
4671 (C_entries): Do not deal with \r here: undo previous fix.
4672
880820fe 46731995-01-09 Francesco Potortì (pot@fly)
362bc2da
DL
4674
4675 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4676 functions and a macro that allow the program to work on input
4677 lines of whatever length. Copied from etags.c.
4678 (fatal): Print a fatal error message and exit.
4679 (main): Use the new functions. Fixed a bug that made a \037 char
4680 appear at the end of the output.
4681
46821995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4683
4684 * etags.c (C_entries): Ignore carriage return at end of line.
4685
46861994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4687
4688 * fakemail.c (xmalloc, xrealloc): Add casts.
4689 (add_field): Handle <...> and "..." syntax.
4690 (setup_files, get_keyword): Clean up parens and line breaks.
4691 (args_size): Likewise.
4692
46931994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4694
4695 * yow.c: Include program name in error messages.
4696
46971994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4698
4699 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4700 (xmalloc, fatal, error): New functions.
4701 (progname): New variable.
4702 (main): Set progname.
4703
47041994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4705
4706 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4707 (main): If socket/mqueue name is in home dir, add in the host name.
4708 Rename .emacs_server to .emacs-server....
4709
47101994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4711
4712 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4713
880820fe 47141994-11-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4715
2f2c687b
JB
4716 * etags.c (print_help): Print --regex usage for ctags also.
4717 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 4718
880820fe 47191994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4720
4721 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4722 is compiled if this is defined. The new functions and variables
4723 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4724 [VMS]: All VMS specific code previously contained in
4725 etags-vmslib.c is now included here, modified for dealing with
4726 language and regex options intermixed with filenames.
4727 (header_file): Global variable deleted.
4728 (Lang_Function): New typedef. All language parser functions
4729 changed to this new type.
4730 (string_numeric_p, substr, prestr): Functions deleted.
4731 (readline_internal): Does the job that readline did previously.
4732 (longopts): --language and --regex options added.
4733 (lang_names, lang_extensions, lang_func, print_language_names):
4734 New structures, variables and functions for choosing languages.
4735 (print_help): Help strings updated. Calls print_language_names.
4736 (argument_type, ARGUMENT): Typedefs for dealing with language and
4737 regex options intermixed with filenames.
4738 (main): Changed the way of dealing with arguments on the command
4739 line to deal with language and regex options intermixed with
4740 filenames.
4741 (get_language, default_C_entries, Cplusplus_entries,
4742 Cstar_entries, Yacc_entries, just_read_file): New functions.
4743 (find_entries): Use the new method for choosing the language.
4744 (Pascal_functions): Allow intermixing of comment styles.
4745 (prolog_getit, skip_comment): Rewritten for speed.
4746 (readline): Rewritten to deal with regexps.
4747
880820fe 47481994-11-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4749
4750 * etags.c (<errno.h>): #include added.
4751 (etags_getcwd): Check return value from getcwd.
4752
47531994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4754
4755 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4756 (get_time): Use EMACS_SUB_TIME.
4757
d57727c9 47581994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4759
4760 * ntlib.c: New file.
4761 * makefile.nt: New file.
4762
4763 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4764 [WINDOWSNT]: Include the NT headers.
4765 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4766
4767 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4768 [WINDOWSNT]: Include some NT headers.
4769
47701994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4771
4772 * pop.c (getline): When a search of already-read input for CRLF
4773 fails, store the fact that we've searched it and don't search it
4774 again after reading more data.
4775
4776 * pop.c (getline): When determining whether or not it's necessary
4777 to grow the input buffer, take into account the null that's stored
4778 at the end of already-read input in the buffer.
4779
880820fe 47801994-10-21 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 4781
2f2c687b 4782 * etags.c (prestr, substr): Return a logical type.
362bc2da 4783 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 4784 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
4785 (C_entries): Now we can use Tom Hageman patch for extern "C".
4786
47871994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4788
4789 * movemail.c: PopServer renamed to popserver throughout.
4790
47911994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4792
4793 * etags.c: Don't declare malloc, since we include config.h.
4794 * fakemail.c: Likewise.
4795
47961994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4797
4798 * movemail.c: Don't declare malloc.
4799
48001994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4801
4802 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 4803 avoid syntax error.
362bc2da
DL
4804
48051994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4806
4807 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4808 defined, and if HAVE_CONFIG_H isn't defined, define
4809 MAIL_USE_POP always (so that this file can be included in
4810 other programs besides emacs).
4811
4812 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4813 HAVE_CONFIG_H isn't defined.
4814
4815 * pop.c (find_crlf, getline): Instead of using strstr, use a
4816 custom function for finding CRLF.
4817 (my_strstr): Function deleted.
4818
48191994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4820
4821 * pop.c (getline): Fix a segfault because of passing a
4822 non-null-terminated string into strstr(). Fix from
4823 djm@va.pubnix.com (David J. MacKenzie).
4824
4825 * pop.c: Don't include <string.h> and <strings.h>.
4826
4827 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4828 should be interchangeable, and indeed the inclusion is done in
4829 both orders in various files in the Kerberos 4 library sources,
4830 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4831 requires that <des.h> be included first, and I don't see any harm
4832 in changing the order.
4833
4834 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4835 STDC_HEADERS, if they're defined. Undef open, read, write and
4836 close after including it.
4837
48381994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4839
4840 * pop.c: Fix mismatch in conditionals.
4841
4842 * make-docfile.c (main): Don't process one input file twice.
4843 Never use exit code > 1.
4844
4845 * pop.c (open, close, read, write): Add #undefs.
4846
4847 * pop.c: Don't declare malloc, realloc, free.
4848 Include ../src/config.h.
4849 Don't include string.h or strings.h.
4850 Include des.h before krb.h.
4851 Do declare my_strstr.
4852 (getline): Really use my_strstr.
4853 Leave one empty place in server->buffer,
4854 and put a null at the end of the data in it.
4855
48561994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4857
4858 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4859 call kill with pid 0. Handle EINTR when receiving messages.
4860
48611994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4862
4863 * Makefile.in.in (regex.o): Use full path to find regex.c.
4864
880820fe 48651994-10-17 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 4866
2f2c687b
JB
4867 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
4868 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
4869
48701994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4871
4872 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4873 (${archlibdir}): Use mkinstalldirs instead.
4874
4875 * movemail.c: Make functions that return nothing void, not
4876 implicitly int.
4877 (main): Improve usage message.
4878 (error): Write to stderr, not stdout.
4879
4880 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4881 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4882 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4883 variables and implicitly declared functions.
4884
48851994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4886
4887 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4888 (distclean): Not here.
4889
4890 * Makefile.in.in (libexecdir): Renamed from libdir.
4891
880820fe 48921994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4893
4894 * etags.c (C_entries): Name the #define's that are macros.
4895
48961994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4897
4898 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4899 fd_set arg is a pointer, descriptor arg comes first.
4900
880820fe 49011994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
4902
4903 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4904 (C_entries): Recognise #define inside a struct.
4905 (C_entries): ANSI tells that preprocessor commands do not have to
4906 start on the first column.
4907 (print_help): Documentation corrected for -d and -D.
4908 (white, endtk): ANSI tells the vertical tab is a separator.
4909
49101994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4911
4912 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4913 (pop.o, movemail.o): New targets.
4914 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4915
4916 * pop.c, pop.h: New files.
4917
4918 * movemail.c: Improve POP code, move most of it into a separate file.
4919 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4920 (mbx_write): Check for errors and for From line.
4921 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4922 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4923 (pop_init): Functions deleted.
4924
49251994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4926
4927 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4928 Rename path to dirname.
4929
49301994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4931
4932 * Makefile.in.in (UTILITIES):
4933 Remove test-distrib, make-docfile, make-path.
4934 (DONT_INSTALL): New variable--list those files here.
4935 (clean): Delete the files in DONT_INSTALL.
4936
49371994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4938
4939 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4940 (main): Use fgets, not gets.
4941
49421994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4943
4944 * timer.c: Don't declare malloc.
4945
49461994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4947
4948 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4949 defined, use simple 32-bit versions of these macros.
4950 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
4951
c60ee5e7 49521994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
4953
4954 * etags.c (etags_getcwd): Use getcwd if available.
4955
49561994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4957
4958 * Version 19.27 released.
4959
49601994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4961
4962 * Version 19.26 released.
4963
49641994-08-15 Paul Eggert <eggert@twinsun.com>
4965
4966 * rcs2log: Add support for CVS.
4967 Work with `rlog's that output ISO 8601 dates.
4968
49691994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
4970
4971 * rcs2log: Use <> to delimit email address.
4972
49731994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4974
4975 * emacsserver.c [SYSV_IPC] (main): Make a separate process
4976 so we can listen for multiple requests.
4977
49781994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4979
4980 * movemail.c: Include config.h first thing.
4981
49821994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4983
4984 * emacsserver.c (main): Add casts to avoid warnings.
4985
49861994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4987
4988 * Makefile.in.in (${archlibdir}): Compare the proper dir
4989 before installing the scripts.
4990
49911994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4992
4993 * emacsclient.c (main): New local var progname saves argv[0].
4994
49951994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4996
4997 * emacsclient.c (main): Don't actually modify argv[0].
4998 Modify a copy instead.
4999
50001994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
5001
5002 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
5003 (tzp): Var deleted.
5004
5005 * Makefile.in.in: Add #undef alloca.
5006
50071994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5008
5009 * timer.c (xmalloc): New function.
5010
50111994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5012
5013 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
5014 (alloca.o): New target.
5015
50161994-07-08 Dave Love (d.love@dl.ac.uk)
5017
2f2c687b 5018 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 5019
880820fe 50201994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5021
ecc54057
JB
5022 * etags.c (main): Don't barf on obsolete -t and -T switches.
5023 (main): Print an explicative message when a switch is not known.
362bc2da
DL
5024
50251994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5026
5027 * hexl.c: Don't declare exit or perror.
5028
5029 * emacsserver.c (main): Don't declare geteuid.
5030 Don't declare getenv if convex.
5031
50321994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5033
5034 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
5035
880820fe 50361994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5037
5038 * etags.c (absolute_filename): Remove infinite loop bug when
5039 accessing files in directories whose name begins with a dot.
5040
880820fe 50411994-06-03 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5042
5043 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
5044
50451994-06-01 Morten Welinder (terra@diku.dk)
5046
5047 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
5048 location of data directory.
5049
50501994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5051
5052 * Version 19.25 released.
5053
50541994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5055
5056 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
5057
50581994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5059
5060 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
5061
50621994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5063
5064 * Version 19.24 released.
5065
50661994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5067
5068 * make-docfile.c (write_c_args): Put `default' in upper case.
5069
50701994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5071
5072 * etags.c (etags_getcwd): Cast result of popen.
5073 (popen): Declaration deleted.
5074
50751994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
5076
5077 * etags.c [!MSDOS]: Declare popen.
5078
50791994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5080
5081 * b2m.c (main): Avoid crash if argc is 1.
5082
50831994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5084
5085 * Version 19.23 released.
5086
5087 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
5088
50891994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5090
5091 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
5092
50931994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5094
5095 * Makefile.in.in: Fix out of date comment.
5096
50971994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5098
5099 * Makefile.in.in: Put in a separator for where to start cpp procssing.
5100 Move all autoconf substitutions above that point.
5101 Above that point, use Make-style comments.
5102 This goes with changes in ../configure.in.
5103
51041994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5105
5106 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
5107 warning message.
5108 (${archlibdir}): Don't do it here. Don't depend on blessmail.
5109
51101994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
5111
5112 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
5113
51141994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5115
5116 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
5117 print advice to run it, if it has anything significant to do.
5118 And only if MOVEMAIL_NEEDS_BLESSING.
5119 (blessmail): Use emacs, not temacs.
5120 (configuration): Renamed from configname.
5121
51221994-04-30 Morten Welinder (terra@diku.dk)
5123
5124 * etags.c (find_entries): Treat `*.cpp' as C++ files.
5125
51261994-04-30 Morten Welinder (terra@diku.dk)
5127
5128 * etags.c [MSDOS]: #include <sys/param.h> for the following.
5129 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
5130 a shell.
5131
51321994-04-29 Morten Welinder (terra@diku.dk)
5133
5134 * hexl.c [MSDOS]: Don't define proto type for exit.
5135
51361994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5137
5138 * b2m.c: Don't include string.h or strings.h.
5139
51401994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
5141
5142 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
5143 symbols, not make variables.
5144
51451994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5146
5147 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
5148 * etags.c (print_version): Print VERSION as a string.
5149
51501994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5151
5152 * fakemail.c (readline): Fix updating of p when buffer grows.
5153
51541994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
5155
5156 * Makefile.in.in (blessmail): New target.
5157 ${archlibdir}: Use blessmail when installing movemail.
5158
51591994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5160
5161 * fakemail.c (readline): When extending the buffer,
5162 calculate end afresh using the new size.
5163
880820fe 51641994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5165
2f2c687b 5166 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 5167
880820fe 51681994-04-18 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5169
2f2c687b 5170 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
5171
51721994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5173
5174 * Makefile.in.in: Renamed from Makefile.in.
5175 Makefile.in is now generated from it, and then preprocessed.
5176 Change comments to C syntax.
5177 Include config.h.
5178 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
5179 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
5180
51811994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5182
5183 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
5184
880820fe 51851994-04-12 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da
DL
5186
5187 * etags.c (etags_getcwd): Initialize bufsize.
5188
51891994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5190
5191 * profile.c (gettimeofday): If system doesn't have this, define it
5192 to give a fatal error.
5193
51941994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
5195
5196 * movemail.c (main): Use setuid, not seteuid.
5197
51981994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5199
5200 * etags.c: #undef static.
5201
880820fe 52021994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5203
2f2c687b
JB
5204 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
5205 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
5206 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
362bc2da
DL
5207 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
5208 TeX_functions, Prolog_functions.
2f2c687b
JB
5209 (inf): No more a global variable.
5210 (C_entries): Take 2nd parameter `inf' instead of using the global one.
5211 (find_entries): Added the cp1 var for optimisation.
5212 (find_entries): Added more suffixes for assembler files.
362bc2da
DL
5213 (Asm_funcs): Now finds labels even without an ending colon.
5214
880820fe 52151994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
362bc2da 5216
2f2c687b
JB
5217 * etags.c (main): Use etags_getcwd for compatibility.
5218 (etags_getcwd): New function.
362bc2da
DL
5219
52201994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5221
5222 * Makefile.in (etags, ctags): Pass -D for VERSION.
5223
880820fe 52241994-03-25 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5225
2f2c687b
JB
5226 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
5227 (main): Don't allow the use of -t and -T in etags mode.
5228 (print_help): Don't show options enabled by default.
5229 (print_version): Show the emacs version number if VERSION is #defined.
5230 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 5231
880820fe 52321994-03-23 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5233
2f2c687b 5234 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
5235 (relative_filename, absolute_filename, absolute_dirname):
5236 functions added to compute filenames in tags files.
2f2c687b 5237 (process_file): Filenames in tags file are relative to the
362bc2da 5238 directory where the tags file is (useful with the -o option).
2f2c687b
JB
5239 (main): Initialise the outfiledir var.
5240 (TYPEDST): Added the `tignore' value.
5241 (C_entries): Corrected various small bugs.
362bc2da
DL
5242
52431994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5244
5245 * Makefile.in (UTILITIES): `env' deleted.
5246 (env): Target deleted.
5247 * env.c: File deleted.
1c478461 5248
362bc2da
DL
52491994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5250
5251 * Makefile.in (install, ${archlibdir}): Switch back to ..
5252 before running INSTALL_PROGRAM.
5253
880820fe 52541994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5255
2f2c687b
JB
5256 * etags.c (TYPEDST): Added the `tignore' value.
5257 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
5258 `extern "C" {' construction (patch by Tom R.Hageman).
5259
52601994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5261
5262 * b2m.c: Use <...> to include config.h.
5263 Don't include stdlib.h.
5264
177c0ea7 52651994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
5266
5267 * b2m.c (main): Change delimiter from "^L" to "^_^L".
5268 Allow for text following "BABYL OPTIONS:".
5269 Add --help option. Use argv[0] in error messages.
5270
52711994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5272
5273 * emacsclient.c (main) [HAVE_SYSVIPC]:
5274 Make msgp->mtext longer if necessary.
5275 On HPUX, error if it's more than 512 chars.
5276
52771994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
5278
5279 * etags-vmslib.c: Use GPL.
5280 * emacstool.c: Use GPL.
5281 * fakemail.c: Update GPL.
5282
5283 * make-path.c (main): Return 1 on error, not -1.
5284 Update GPL.
5285
5286 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
5287 (xmalloc, xrealloc): Return char *, not int.
5288 (error): Write to stderr, not stdout.
5289 Update GPL.
5290
52911994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
5292
5293 * profile.c (main, get_time): Don't crash on invalid input.
5294
52951994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
5296
5297 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 5298 (main): Exit on EOF.
362bc2da 5299
880820fe 53001994-02-17 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5301
a64387ee 5302 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
5303
53041994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5305
5306 * fakemail.c (put_line): Don't break the line if it all fits.
5307
880820fe 53081994-02-14 Francesco Potortì (pot@fly)
362bc2da 5309
2f2c687b
JB
5310 * etags.c (absolute_pathnames, cwd): Added global vars.
5311 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 5312 in the tag file if the -A --absolute-pathnames option is used.
10d1d0af 5313 (print_help): Alphabetically order the options.
2f2c687b 5314 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
5315
53161994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5317
5318 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
5319 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
5320
53211994-02-07 Christian Lynbech (lynbech@avignon)
5322
5323 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
5324
53251994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5326
5327 * Makefile.in (UTILITIES): Mention profile.
5328 (profile): New target.
5329
5330 * profile.c: New file.
5331
53321994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 5333
88c71720 5334 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 5335 Lisp docstrings do.
88c71720 5336 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
5337 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5338 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5339
880820fe 53401994-01-14 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5341
5342 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 5343 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 5344 Use gperf generated hash table instead of linked list.
2f2c687b 5345 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 5346 Mostly code generated by gperf.
2f2c687b
JB
5347 (consider_token): Removed unused parameter `lp'.
5348 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 5349 to span multiple lines.
2f2c687b
JB
5350 (C_entries): Check for newline if inchar to avoid bus errors.
5351 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
5352 and not regular file.
5353
53541994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5355
5356 * timer.c: Include errno.h; don't include fasync.h.
5357 (schedule): Don't return a value.
5358 (sigcatch): Reestablish the handler first.
5359 (getevent): Always call notify at the end.
5360 (notify): Defer alarms around the whole body of function.
5361
53621994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5363
5364 * timer.c (main): Don't request SIGIO, and don't handle it.
5365 Loop calling getevent.
5366 (sigcatch): Delete code to handle SIGIO.
5367 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 5368 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
5369 Set defer_alarms around realloc and schedule.
5370 If alarm_deferred gets set, call notify.
5371 Likewise if this event is the only pending event.
5372 Make buf and buf_size global variables.
5373 Don't malloc buf if it is already non-zero.
5374 (schedule): Just exit if run out of memory.
5375 Return the number of events.
5376 (signal) [_CX_UX]: Add #undef.
5377
53781994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5379
5380 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5381 (main) [USG]: Do ioctl to enable SIGPOLL.
5382
53831994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5384
5385 * timer.c: Don't declare sys_errlist; declare strerror instead.
5386 (schedule, main): Call strerror instead of using sys_errlist.
5387 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
5388 Call strerror instead of using sys_errlist.
5389 * env.c (main): Call strerror instead of using sys_errlist.
5390 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
5391 (main): Call strerror instead of using sys_errlist.
5392 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
5393 * env.c [! HAVE_STRERROR] (strerror): Likewise.
5394 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
5395 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
5396
53971994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5398
5399 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
5400
5401 * movemail.c (malloc): Don't declare it.
5402 (xmalloc): Cast result of malloc.
5403 (strcpy): Don't declare it.
5404
54051993-11-14 Morten Welinder (terra@diku.dk)
5406
5407 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
5408 (main): Use fclose to close file opened by fopen.
5409
5410 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
5411
5412 * movemail.c [MSDOS]: #undef `access'.
5413
5414 * b2m.c (main) [MSDOS]: Open all files as binary.
5415 * etags.c (main) [MSDOS]: Open all files as binary.
5416
5417 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
5418 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
5419 with.
5420
54211994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5422
5423 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
5424 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
5425 (LINK_CFLAGS): New variable.
5426 (timer): Use LINK_CFLAGS.
5427
54281993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5429
5430 * movemail.c: Include syswait.h.
5431 Fork a subprocess and use it to copy the mail file.
5432
54331993-12-07 Richard Stallman (rms@srarc2)
5434
5435 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
5436
54371993-12-04 Richard Stallman (rms@srarc2)
5438
5439 * movemail.c (main): When making tempname, cast result of xmalloc.
5440 Include room for EXXXXXX in the size.
5441 Don't use result of strcpy.
5442
54431993-12-03 Paul Eggert (eggert@twinsun.com)
5444
5445 * vcdiff: Add --brief option.
5446
54471993-12-02 Richard Stallman (rms@srarc2)
5448
5449 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
5450 for all executables and scripts.
5451
54521993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5453
5454 * Version 19.22 released.
5455
54561993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5457
5458 * Makefile.in (mostlyclean): Make it distinct from clean.
5459
54601993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5461
5462 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
5463
54641993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5465
5466 * Version 19.21 released.
5467
5468 * Makefile.in (install): Don't change mode or group when installing.
5469
5470 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
5471
54721993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5473
5474 * make-docfile.c (read_c_string): For "", concatenate the two strings.
5475
5476 * movemail.c (main): Fix error message text.
5477
54781993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5479
5480 * Version 19.20 released.
5481
177c0ea7 54821993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 5483
ecc54057 5484 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
5485 functions returning a pointer to a function, a la `signal', can be
5486 parsed. This also required new state `fstartlist' to `FUNCST'.
5487 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 5488 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 5489 from the other state engines.
2f2c687b 5490 (begtk): Add '~', for C++ class destructors.
362bc2da 5491
880820fe 54921993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5493
2f2c687b
JB
5494 * etags.c (consider_token): Removed unused variable firsttok.
5495 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
5496
54971993-10-19 Paul Eggert (eggert@twinsun.com)
5498
5499 * rcs2log (printlogline): Don't generate lines containing only
5500 white space.
5501
55021993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5503
5504 * Makefile.in (${archlibdir}):
5505 Install ${SCRIPTS} from ${srcdir}, not cwd.
5506
55071993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5508
5509 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5510 the comment character.
5511
880820fe 55121993-10-01 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5513
2f2c687b 5514 * etags.c (process_file): Dead code removed.
362bc2da 5515 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 5516 (process_file): Regular files have nothing to do with symlinks.
362bc2da 5517
f0131492 55181993-09-28 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5519
5520 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5521 from current directory. Only chmod and chgrp files that we
5522 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5523 ${bindir}.
5524 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5525 now.
5526
f0131492 55271993-09-27 Brian J. Fox (bfox@ai.mit.edu)
362bc2da
DL
5528
5529 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5530 configure figure out the correct values for these variables.
5531
f0131492 55321993-09-14 Brian J. Fox (bfox@ai.mit.edu)
362bc2da 5533
10d1d0af 5534 * Makefile.in (archlibdir): Only install executables internally
362bc2da
DL
5535 used by emacs; don't install bindir binaries here.
5536
55371993-09-24 Paul Eggert (eggert@twinsun.com)
5538
5539 * rcs2log: Add -h, -n, -r options.
5540 By default, look for *,v files as well as RCS/*,v files.
5541 Use $TMPDIR (default /tmp) instead of /tmp.
5542
880820fe 55431993-09-20 Francesco Potortì (pot@fly)
362bc2da
DL
5544
5545 * etags.c (C_entries): is_func is initialised here instead of in
5546 consider_token for the sake of the yacc rules section.
5547 (C_entries): Now class, struct, enum, union and typedef produce
5548 named tags.
5549
55501993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5551
5552 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5553
55541993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5555
88c71720
KS
5556 * Makefile.in: Support configuring in a different directory when
5557 ${srcdir} has already been configured.
5558 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5559 -I${srcdir}/../src.
362bc2da
DL
5560 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5561 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5562 is already in CPP_FLAGS.
5563 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5564 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5565
55661993-08-25 Paul Eggert (eggert@twinsun.com)
5567
5568 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5569 otherwise, HP awk complains.
5570
5571 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5572 are common hangouts for SCCS commands.
5573
55741993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5575
5576 * Version 19.19 released.
5577
55781993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5579
5580 * Makefile.in (make-path): Dep on config.h.
5581
55821993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5583
5584 * b2m.c (TRUE, FALSE): Don't define if already defined.
5585
55861993-08-09 Paul Eggert (eggert@twinsun.com)
5587
5588 * rcs2log (awkscript):
5589 Some sites put comma-separated junk after the fullname.
5590 Remove it, but leave "Bill Gates, Jr" alone.
5591 Remove the junk from fullnames like "0000-Admin(0000)".
5592
55931993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5594
5595 * Version 19.18 released.
5596
880820fe 55971993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
362bc2da 5598
2f2c687b
JB
5599 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5600 (L_funcs): The (foo::defmumble stuff now should work.
5601 (consider_token): Function returned random value--corrected.
5602 (C_entries): Corrected == versus = typo.
362bc2da
DL
5603
56041993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5605
5606 * etags.c (put_entries): For NODE->rewritten, put pattern before
5607 \177 and name after, not vice versa.
5608
56091993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5610
5611 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5612
880820fe 56131993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5614
ecc54057 5615 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5616 after the parameter list and before the open curly brace.
5617 Allows correct parsing of C++ constructors.
2f2c687b
JB
5618 (C_entries, consider_token): Make use of fignore.
5619 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 5620 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
5621 (L_isquote): Function that recognises the "(quote" string.
5622 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
5623
56241993-07-29 Paul Eggert (eggert@twinsun.com)
5625
5626 * rcs-checkin: Don't check whether a file is readable until we have
5627 decided not to ignore it.
5628
56291993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5630
5631 * Makefile.in (etags): Depend on ../src/config.h.
5632
5633 * emacsserver.c: Include types.h before file.h.
5634
56351993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5636
5637 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5638
56391993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5640
ecc54057 5641 * Version 19.17 released.
362bc2da
DL
5642
56431993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5644
5645 * etags.c (print_help): Break up the very long strings containing
5646 the help message into shorter strings, to placate chintzy C
5647 compilers which can't handle strings that long.
5648
5649 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5650 correct combination of <time.h> and <sys/time.h>.
5651
880820fe 56521993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5653
2f2c687b
JB
5654 * etags.c (alloca): Removed all references to it.
5655 (main): Now calls xnew instead of alloca for portability.
5656 (../src/config.h): Included only if HAVE_CONFIG_H.
5657 (const): Void definition removed--config.h takes care of it.
362bc2da 5658
880820fe 56591993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5660
2f2c687b 5661 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
5662 (consider_token): DEFUNs now treated like funcs in ctags mode.
5663
2f2c687b
JB
5664 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5665 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5666 (C_entries): Removed a piece of useless code.
5667 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
5668 is met. This handles "typedef int X, Y, Z;" correctly.
5669
56701993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5671
5672 * Version 19.16 released.
5673
5674 * b2m.c: #include <sys/types.h>.
5675 (ltoday): Declare this to be time_t.
5676
56771993-06-30 Paul Eggert (eggert@twinsun.com)
5678
5679 * vcdiff: Add -q option.
5680
56811993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5682
5683 * etags.c: #include "config.h" and the alloca CPP tangle before
5684 #including the system headers and getopt.h. AIX requires the
5685 #pragma to come before any actual C code.
5686
56871993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5688
5689 * Makefile.in (ctags): Depend on etags, so that parallel makes
5690 don't write etags.o files on top of each other.
5691
56921993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5693
5694 * version 19.15 released.
5695
56961993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5697
5698 * etags.c (add_node): Move var last_node to file scope.
5699
57001993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5701
5702 * Version 19.14 released.
5703
57041993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5705
ecc54057 5706 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5707 * Makefile.in (distclean): Call clean to do most of the work.
5708 Delete aixcc.c and TAGS.
5709 (realclean): Just call distclean.
1c478461 5710
362bc2da
DL
5711 * Makefile.in: Remember, spaces are not tabs.
5712
57131993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5714
5715 * Makefile.in (CPP_CFLAGS): New variable.
5716 Use it instead of ALL_CFLAGS when compiling a .c file.
5717 (getopt.o, getopt1.o): Add explicit compilation commands.
5718
57191993-06-10 Mark D. Baushke (mdb@cisco.com)
5720
5721 * etags.c: Reinstate old -f option as an alias for -o for
5722 installed base uses.
5723
57241993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5725
5726 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5727 to bind or accept, cast the pointer, to avoid warnings on systems
5728 which declare prototypes for this.
5729 * emacsclient.c (main): Same.
5730
5731 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5732
57331993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5734
5735 * Version 19.13 released.
5736
5737 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5738 comes from, not sys/time.h.
5739
57401993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5741
5742 * wakeup.c: Include sys/time.h.
5743
5744 * etags.c: #undef static.
5745
5746 * Version 19.12 released.
5747
5748 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5749
57501993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5751
5752 * Version 19.11 released.
5753
5754 * timer.c [LINUX]: #undef signal.
5755 * emacsserver.c: #undef signal.
5756
57571993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5758
5759 * wakeup.c (main): Make when a time_t.
5760
57611993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5762
ecc54057 5763 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 5764 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
5765 might fail, and have pwd print out the current directory.
5766
5767 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5768 string-handling functions.
5769
57701993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5771
5772 * Version 19.10 released.
5773
57741993-05-29 Paul Eggert (eggert@twinsun.com)
5775
5776 * rcs2log: When given no file arguments, inspect RCS/.* as well
5777 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5778
57791993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5780
5781 * Makefile.in (timer): Link with $(LOADLIBES).
5782
57831993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5784
5785 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5786
57871993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5788
5789 * etags.c: Replace the CPP tangle for alloca with the one from the
5790 autoconf documentation, since that's working elsewhere.
5791
57921993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5793
5794 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5795 description files can find their ancestors.
5796
57971993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5798
5799 * Makefile.in (install): Get the scripts from ${srcdir},
5800 unlike the executables.
5801 (ALL_CFLAGS): Add -I../src
5802
58031993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5804
5805 * Version 19.9 released.
5806
58071993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5808
5809 * Makefile.in (install): Do install the programs listed in
5810 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5811 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5812
5813 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5814 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5815
58161993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5817
5818 * etags.c: Include ../src/config.h.
5819
5820 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5821 in first loop. Delete files from bindir before installing new ones.
5822 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5823
58241993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5825
5826 * Version 19.8 released.
5827
5828 * make-docfile.c: Doc fix.
5829
58301993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5831
5832 * tcp.c: Fix comment syntax at top of file.
5833 (main): Don't call htons with the port number.
5834
58351993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5836
5837 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 5838 appropriate.
362bc2da
DL
5839
5840 * Makefile.in (install): Refer to the variables INSTALLABLES and
5841 INSTALLABLE_SCRIPTS, instead of writing them out.
5842
58431993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5844
5845 * make-path.c (main): Return 0.
5846
58471993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5848
ecc54057 5849 * Version 19.7 released.
362bc2da
DL
5850
58511993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5852
5853 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5854
58551993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5856
5857 * tcp.c: New file.
5858
58591993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5860
5861 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5862
58631993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5864
5865 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5866 only. We should really fix this later, but let's just make it
5867 compile for now.
5868
5869 Install patches from David J. Mackenzie to make the srcdir option
5870 work.
5871 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5872 Makefile.
5873 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5874 INSTALLABLE_SCRIPTS.
5875 (INSTALLABLE_SCRIPTS): New list.
5876 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5877 (${archlibdir}): The scripts to be installed live in the source
5878 tree, not in the object tree.
5879 (test-distrib): Note that the data file lives in the source tree,
5880 not the object tree.
5881 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5882 (all other targets): Change references to source files to use
5883 ${srcdir}, except for config.h, which lives in the object dir.
5884 (timer.o): Note that this depends on ../src/config.h.
5885 * make-docfile.c (main): Add a -d option, to tell it where to find
5886 the source files.
5887 * test-distrib.c (main): Take the name of the distribution file to
5888 test from the command line.
5889
10d1d0af 5890 * timer.c: Fix misspellings of get_date function's name.
362bc2da
DL
5891
58921993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5893
5894 * etags.c (main):
5895 Don't require that there be input files if -i switches were given.
5896
58971993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5898
5899 The GNU coding standards specify that CFLAGS should be left for
5900 users to set.
5901 * Makefile.in (CFLAGS): Put this in the "things configure might
5902 edit" section, and have it default to -g.
5903 (ALL_CFLAGS): New variable, set to all the flags which should be
5904 passed to compilations. Replace all other uses of CFLAGS with
5905 ALL_CFLAGS.
5906 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5907
5908 * Makefile.in (DEFS): Remove this; it's always just going to be
5909 "-DHAVE_CONFIG_H -Demacs".
5910
59111993-05-03 Paul Eggert (eggert@twinsun.com)
5912
5913 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5914 /[/]/, so change it to /[\/]/. This should work on all
5915 Posix-compliant awks. It's slightly wrong with traditional awk,
5916 since it matches \ too, but that's a minor problem compared to awk
5917 syntax errors.
5918
59191993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5920
5921 * Makefile.in (ALLOCA): New variable, whose value we should
5922 inherit from the top-level makefile.
5923 (etags, ctags): Include ALLOCA in the list of object files that
5924 these executables depend on and link.
5925
59261993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5927
5928 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5929
59301993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5931
5932 * make-docfile.c (write_c_args): Print an argument named "defalt"
5933 as "default".
5934
59351993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5936
5937 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5938 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5939 compiler.
5940
880820fe 59411993-03-22 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5942
2f2c687b
JB
5943 * etags.c (YACC): Flag added to c_ext.
5944 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
5945 (find_entries): Consistently use streq when reasonable.
5946 (find_entries): A .y file is a yacc file.
362bc2da 5947 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
5948 (C_entries): Logical cplpl means c_ext&C_PLPL.
5949 (C_entries): Logical yacc_rules means we are after the first %%.
5950 (C_entries): Added logic for yacc files.
362bc2da 5951
880820fe 59521993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da
DL
5953
5954 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 5955 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
5956 (consider_token): structtag set to null string for enum.
5957
880820fe 59581993-03-12 Francesco Potortì (pot@cnuce.cnr.it)
362bc2da 5959
2f2c687b
JB
5960 * etags.c (GET_COOKIE): And related macros removed.
5961 (logical): Is now int, no more a char.
5962 (reg): Define deleted.
5963 (isgood, _gd, notgd): Deleted.
5964 (gotone): Deleted.
5965 (TOKEN): Member linestart removed.
5966 (linepos, prev_linepos, lb1): Deleted.
5967 (main): Call initbuffer on lbs array instead of lb1.
5968 (init): Removed the initialisation of the logical _gd array;
5969 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
5970 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
5971 All C state machines rewritten.
2f2c687b
JB
5972 (C_entries): Complete rewrite.
5973 (condider_token): Complete rewrite.
5974 (getline): Deleted.
362bc2da 5975
880820fe 59761993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5977
5978 * etags.c (C_entries): Added the quotednl logical variable.
5979 Used for parsing of #define's spanning multiple lines.
5980
880820fe 59811993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5982
5983 * etags.c (C_entries): Save the definedef status even when a
5984 newline is met inside a string.
5985
59861993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5987
2f2c687b 5988 * Makefile.in (EXECUTABLES): Added rcs-checkin.
362bc2da
DL
5989
5990 * Makefile.in (unlock, relock): New productions.
5991
59921993-03-16 Paul Eggert (eggert@twinsun.com)
5993
5994 * rcs2log: Some awks don't understand "\r". Code around this.
5995 Unfortunately this requires putting a carriage return in the
5996 source code. Don't assume that rlog will tolerate times like
5997 `10:10:60'; RCS 5.7 won't allow this.
5998
59991993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6000
6001 * timer.c (main): Set the ownership of the stdin file descriptor
6002 to the current process. Print error messages if either of the
6003 fcntl's fails.
6004
6005 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
6006 ../src/config.h), not void.
6007
60081993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6009
6010 * b2m.c (main): Don't exit upon reading a blank line.
6011
880820fe 60121993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
6013
6014 * etags.c (C_entries): New local variable quotednl. Used for
6015 parsing of #define's spanning multiple lines.
6016
6017 * etags.c (C_entries): Save the definedef status
6018 even when a newline is met inside a string.
6019
60201993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6021
6022 * timer.c (notify): Initialize waitfor properly.
6023
880820fe 60241993-02-22 Francesco Potortì (pot@CNUCE.CNR.IT)
362bc2da
DL
6025
6026 * etags.c (C_entries): Don't reset definedef when a newline inside a
6027 comment is met.
6028
60291993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6030
6031 * etags.c (find_entries): If filename ends in .f or .for,
6032 don't try anything but Fortran.
6033
60341993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
6035
6036 * timer.c (notify): Flush stdout after writing message to avoid lossage
6037 on terminals.
6038
6039 (notify): Also, write a newline after the token.
6040
60411992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6042
6043 * Makefile.in (exec_prefix): New variable.
6044 (bindir, libdir): Use it instead of `prefix'.
6045
6046 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
6047
6048 * Makefile.in (libdir): Default to ${prefix}/lib.
6049 (archlibdir): Adjusted to match.
6050
6051 * Makefile.in (distclean): Don't delete backup or autosave files.
6052 (extraclean): Like realclean, but does delete backup and autosave
6053 files.
6054
6055 * Makefile.in (realclean): Ignore errors from rm.
6056
6057 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
6058 that doesn't exist anymore.
6059
60601992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6061
6062 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
6063 described in the top-level Makefile.
6064 (UTILITIES): Add make-path to the list of utility programs.
6065 (../arch-lib): Replaced by the ${archlibdir} target, which places
6066 the executables in their permanent home.
6067 (install, install.sysv, install.xenix): Consolidated into one
6068 target which should work under all circumstances, modulo a few
6069 ignored error messages.
6070
6071 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
6072 a different number of arguments than other DEFVARs, recognize it
6073 specially, and expect the right number of commas.
6074
60751992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6076
6077 * make-path.c: New program, to help with the installation process.
6078 * Makefile.in (make-path): New target.
6079
6080 * make-path.c (touchy_mkdir): Remove debugging output.
6081
60821992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6083
6084 * Makefile.in (getdate.o): Added explicit target for this, so we
6085 can indicate that it depends on ../src/config.h.
6086
60871992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
6088
6089 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
6090 instead of CFLAGS.
6091 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
6092
60931992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6094
6095 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
6096 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
6097 that system.
6098
6099 * Makefile.in (arch-lib): Give rm the `-f' option.
6100
61011992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6102
6103 * make-docfile.c (write_c_args): Rewritten to correctly print
6104 &optionals before the first identifier, but after the first paren.
6105 This code used to just wait for commas or spaces; now it notices
6106 identifier boundaries.
6107
61081992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6109
6110 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
6111
61121992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6113
6114 * make-docfile.c (write_c_args): Print the argument lists properly
6115 when the first argument is optional.
6116
61171992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6118
6119 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
6120 Redefine @item. Set catcode of +.
6121
61221992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6123
6124 * emacsclient.c (main): Set IPC_CREAT in msgget call.
6125
61261992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6127
6128 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
6129 (TEX_decode_env): Make `tab' one element longer.
6130
61311992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6132
6133 * etags.c (PF_funcs): Recognize the "entry" keyword.
6134
61351992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6136
6137 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
6138
61391992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6140
6141 * timer.c (events): Rather than having slots marked as in use or
6142 out of use by the `token' field, keep all pending events at the
6143 beginning of the array. When we delete an event in the middle of
6144 the array, we move the last event into its place.
6145 (num_events): New variable.
6146 (schedule): It is now cheaper to find a free event slot;
6147 events[num_events] is the first free slot.
6148 (notify): Scan events[0 .. num_events-1], instead of the whole
6149 array. When an event fires, move the last event in the array into
6150 its spot. Use num_events to determine whether or not there are
6151 any pending events, not wait_for.
6152 (getevent): Deleted unused variable `ep'.
6153 (sigcatch): It's now easier to find all the active events.
6154 (main): Initialize num_events.
6155
6156 * etags.c: Rather than fret about which systems have index and
6157 which systems have strchr, and how to tell the difference between
6158 them, we just write out our own versions. Big deal.
6159 (index, rindex): Extern declarations removed.
6160 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
6161 (etags_index, etags_rindex): New declarations.
6162 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
6163 TEX_getit, substr): Use the etags_*index functions, rather than
6164 the native *index functions.
6165 (rindex, index): Renamed to etags_rindex and tags_rindex, and
6166 made them unconditionally defined, rather than having them depend
6167 on NEED_*INDEX.
6168
6169 * etags.c (savenstr): Add declaration for this at top of file.
6170 (TEX_decode_env): Don't declare it local to this function.
6171
6172 * b2m.c: #include "../src/config.h", so we can test for the USG
6173 macro, and decide whether to include <string.h> or <strings.h>.
6174 * Makefile.in: Note that b2m.c depends on ../src/config.h.
6175
61761992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6177
6178 * timer.c: Reformatted according to the GNU coding standards.
6179 Removed arbitrary limits on the number of events queued and the
6180 length of the tokens used to identify them.
6181 Removed casts to (void).
6182 Removed debugging printfs; they clutter the code, and the need
6183 can be better filled using a real debugger.
6184
61851992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6186
6187 * timer.c: Installed new version from Eric Raymond; this is more
6188 portable, since it doesn't try to use SIGIO.
6189
61901992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6191
6192 * emacsclient.c (main): If we can't find the socket in this
6193 person's home directory, print a message which asks if they've
6194 started the server, instead of just printing the message from
6195 sys_errmsg; Cygnus finds that people are much less confused by
6196 this.
6197
61981992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6199
6200 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
6201 so that index and rindex get defined, why don't we actually
6202 control index and rindex using symbols called "NEED_INDEX" and
6203 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
6204 little more readable than defining something whose name implies
6205 that it's not?
6206
62071992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6208
6209 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
6210 distribution:
6211 Miscellaneous doc fixes.
1c478461 6212 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
6213 (scan_lisp_file): Instead of using long hairy strings of ifs, call
6214 read_lisp_symbol and then see what we got. Call skip_white
6215 instead of writing out a loop to do its job. Correctly extract
6216 docstrings from "defmacro" declarations.
6217
62181992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6219
6220 * movemail.c (strcpy): Declare this to return char *.
6221
62221992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6223
6224 * etags.c (C_entries): When we find a C++ comment, do actually
6225 skip to the end of the line; do a 'break' instead of a 'continue'.
6226
62271992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6228
6229 * etags.c (getit): Add missing parenthesis to expression which
6230 decides if this token is an identifier.
6231
62321992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6233
6234 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
6235
62361992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6237
6238 * etags.c (put_entries): Always put space between name and line num.
6239
62401992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
6241
6242 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
6243 warning.
6244 (LEVEL_OK_FOR_FUNCDEF): Ditto.
6245
62461992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
6247
6248 * make-docfile.c (write_c_args): Pass both arguments to putc.
6249
62501992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
6251
6252 * etags.c (C_entries): Fixed reading of "..." strings.
6253 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
6254 the C library source.
6255
6256 * etags.c (C_entries): When we see a backslash inside a quoted
6257 string, skip to the next character. This allows us to correctly
6258 deal with strings containing quotes.
6259
62601992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6261
6262 * make-docfile.c (write_c_args): Print the C argument names as
6263 they would be written in Elisp; print '_' as '-'.
6264
62651992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6266
6267 * movemail.c [POP]: Get user name via getpwuid.
6268
62691992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6270
2f2c687b 6271 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
6272
62731992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6274
10d1d0af 6275 * etags.c (print_help): Remember not to embed raw newlines in
362bc2da
DL
6276 strings - end the lines with `\n\'.
6277
62781992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6279
6280 * timer.c (getevent): Removed declaration of memcpy; since
6281 different systems have different return types, and we're not even
6282 using the return type anyway, it wasn't doing us any good.
6283
62841992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6285
6286 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
6287 type of this function.
6288
62891992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6290
6291 * ChangeLog: Since the old etc contents have been split into etc
6292 and lib-src, the old etc's ChangeLog has been duplicated in the
6293 new etc and lib-src. That means that each contains complete and
6294 coherent information, although each contains extraneous
1c478461 6295 information.
362bc2da
DL
6296
62971992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6298
290afd83 6299 * etags.c: "--no-warning" option renamed to "--no-warn",
362bc2da
DL
6300 to be consistent with other GNU programs, like makeinfo.
6301
290afd83 6302 * Makefile: Renamed to Makefile.in; the configure script
362bc2da
DL
6303 will edit this to produce Makefile.
6304
63051992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6306
6307 * etags.c (print_help, print_version): New functions.
6308 (main): Options added to support them.
6309
6310 * etags.c (longopts): New array of long names for the options.
6311 (main): Recognize them.
6312
63131992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6314
6315 * etags.c (C_entries): Removed comment saying that \" in a string
6316 isn't recognized as magic, because it is correctly handled.
6317
6318 * getopt.c, getopt.h: New files, from GNU C library.
6319 * etags.c: Rewritten to use getopt.
6320 #include "getopt.h".
6321 (file_num): Variable deleted; its role is now played by getopt's
6322 optind.
6323 (main): Argument processing loop rewritten to call getopt to get
6324 next option. Options which take parameters (-o and -i) rewritten
6325 to get parameter from optarg instead of argv[1]. Filename
6326 preprocessing loop and update command changed similarly.
6327 * Makefile (etags, ctags): Depend on and link with getopt.h,
6328 getopt.o, and getopt1.o.
6329 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
6330
6331 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
6332 is non-zero.
6333
6334 (main): In the argument processing loop, the 'goto next_arg'
6335 statements are breaking out of the switch statement in exactly the
6336 same way that a simple 'break' statement would; replace the gotos
6337 with breaks, and remove the label.
6338
63391992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6340
6341 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6342 (consider_token): Move next_token_is_func to global.
6343
63441992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6345
6346 * Makefile: Conform with GNU coding standards:
6347 (mostlyclean): New target, synonymous with clean.
6348 (TAGS, check): New targets.
6349 (INSTALL, INSTALLFLAGS): New variables.
6350
63511992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6352
ecc54057 6353 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
6354 `config.emacs' to `configure'.
6355
6356 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6357 * etc/MACHINES: Same.
6358
63591992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6360
6361 * movemail.c (main): Allow tempname to be as long as necessary,
6362 instead of limiting it to 39 characters.
6363
6364 * movemail.c (main): Move declaration of buf from top of function
6365 to local block surrounding the copy loop. This makes it less
6366 likely to be confused with the buf used by the code which checks the
6367 permissions on outname's directory.
6368
63691992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6370
6371 * SERVICE: Remove my entry.
6372
63731992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6374
6375 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6376 hardcoded -g.
6377
6378 * movemail.c (xmalloc): Return char *, not int.
6379 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6380 that is off by default -- normally don't unlink the mail spool
6381 file, just empty it. Pass creat mode 0600, not 0666.
6382
dff28924 63831992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6384
6385 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
6386 (all): Instead of here.
6387 (install): Don't use the -s option, since people need symbols to
6388 debug code.
6389
dff28924 63901992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
6391
6392 * etags-vmslib.c (fn_exp): Add type cast.
6393
63941992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6395
6396 * movemail.c: Changes in comments.
6397
dff28924 63981992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6399
6400 * Makefile: Make the distclean target erase the DOC files from
6401 ../share-lib and the executables from ../arch-lib.
6402
dff28924 64031992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
6404
6405 * emacsclient.c: #include <sys/stat.h>
6406 (main): Do declare statbfr.
6407
dff28924 64081991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6409
6410 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
6411 for the socket, depending on SERVER_HOME_DIR.
6412 If using /tmp, put host name in the socket name.
6413
6414 * movemail.c (pfatal_and_delete): New function.
6415 (main, popmail): Use it.
6416 (popmail): Close output before deleting messages.
6417 Check for error on close and on fsync.
6418 Use `fatal' where appropriate.
6419 (main): Remove (void).
6420
6421 * aixcc.lex: New file. Not officially part of Emacs.
6422 * Makefile: Rules for that.
6423
dff28924 64241991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
6425
6426 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
6427
6428 * etags.c (main): Properly cast call to alloca that initializes
6429 included_files.
6430
64311991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6432
6433 * etags.c (files_are_tag_tables): Remove global var.
6434 (process_file): Don't test it. Also remove hack checking for a
6435 file named "TAGS".
6436 (main): -i now takes an arg which is the name of a file to include.
6437 Collect these names and emit include tags for them after processing
6438 all the argument files.
6439
dff28924 64401991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6441
6442 * wakeup.c: Terminate if parent goes away.
6443
dff28924 64441991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6445
6446 * etags.c (C_entries): Process token before handling end of line.
6447 When inner loops reach end of line, just back up.
6448 Let the real end of line processing happen in just one place.
a64387ee 6449 (consider_token): Likewise.
362bc2da 6450
dff28924 64511991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
6452
6453 * etags.c (TEX_mode): Skip comments while scanning the text to see
6454 which escape character this file uses.
6455
dff28924 64561991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
6457
6458 * emacsserver.c [USG]: Terminate if msgrcv fails.
6459
dff28924 64601991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6461
6462 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
6463
dff28924 64641991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6465
6466 * make-docfile: Find the arguments to a C function correctly,
6467 by not ignoring the character that read_c_string returns. Don't
6468 even try to find argument names for functions that take MANY
6469 or UNEVALLED arguments, since they're a figment of the docstring's
6470 imagination.
6471
dff28924 64721991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
6473
6474 * make-docfile: Read the .elc files generated by the new byte
6475 compiler.
6476
dff28924 64771990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6478
6479 * refcard.tex: Use cm fonts, not am, in multi-column mode.
6480
dff28924 64811990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6482
6483 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
6484
dff28924 64851990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6486
6487 * Makefile (install*): No need to install wakeup.
6488
dff28924 64891990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6490
6491 * Makefile (install*): Install emacsclient like etags.
6492
dff28924 64931990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6494
6495 * movemail.c (error): Handle 3 args.
6496 (main): Don't check input access if using pop.
6497
dff28924 64981990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6499
6500 * etags.c (find_entries): Check for numbers after Scheme suffix.
6501
dff28924 65021990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6503
6504 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6505
dff28924 65061990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6507
6508 * Makefile (nemacstool, xvetool): New targets.
6509
dff28924 65101990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6511
6512 * emacsclient.c: Include errno.h and define related variables.
6513
dff28924 65141990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6515
6516 * emacsclient.c: Change usage message.
6517
dff28924 65181990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 6519
ecc54057 6520 * emacs.1: Add break before -nw option.
362bc2da 6521
dff28924 65221990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6523
6524 * qsort.c: Replace with GNU version.
6525
dff28924 65261990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6527
6528 * wakeup.c: New program replacing loadst.c.
6529
dff28924 65301990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6531
6532 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6533
dff28924 65341990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
6535
6536 * etags.c: Rename `flag' variables for what they do instead of
6537 which option character sets them.
6538
dff28924 65391990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6540
6541 * loadst.c (main): Conditional to get load average on Apollo.
6542
dff28924 65431990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
6544
6545 * emacsserver.c: Set the permission on the socket to 0600.
6546
dff28924 65471990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6548
6549 * emacsclient.c [BSD]: Print clean message for failing getwd.
6550
dff28924 65511990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6552
6553 * getdate.y: Use the getdate.y from GNU tar for timer.
6554
dff28924 65551990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
6556
6557 * emacsclient.c (main): Don't put brackets around "filename" in
6558 usage message. It isn't optional.
6559
dff28924 65601990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 6561
a64387ee 6562 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 6563
dff28924 65641990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6565
6566 * emacsserver.c: Renamed from server.c.
6567 * Makefile: Reference emacsserver rather than server.
6568 * MACHINES: Doc fix for new emacsserver name.
6569
dff28924 65701990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6571
6572 * emacsclient.c: Print program name in error messages.
6573
dff28924 65741990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
6575
6576 * timer.c, getdate.y (new files) and Makefile:
6577 Sub-process support for run-at-time in timer.el.
1c478461 6578 Doesn't yet work correctly for USG.
362bc2da 6579
dff28924 65801990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
6581
6582 * MACHINES: Add HP 300 running BSD.
6583
dff28924 65841990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6585
6586 * yow.c: Dynamically allocate buffer; skip header before random
6587 choice to avoid bias toward first item.
6588
dff28924 65891989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6590
6591 * etags.c (readline): Separate out init of `pend'.
6592
dff28924 65931989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6594
6595 * etags.c: Undo changes relating to isgoodhdr.
6596
dff28924 65971989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6598
6599 * etags.c (isgoodhdr): New macro.
6600 (_gdh, notgdh): New variable used by that.
6601 (init): Initialize _gdh.
6602 (find_entries): Set header_file.
6603 (consider_token): Use isgoodhdr if in header file.
6604
6605 * etags.c (total_size_of_entries):
6606 Was miscalculating by 1 in rewritten case.
6607
6608 * etags.c (PAS_funcs): One arg to pfnote was missing.
6609
dff28924 66101989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6611
6612 * MACHINES: Change for the ULTRIX entry.
6613
dff28924 66141989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6615
6616 * etags.c (process_file): If file is not regular, return.
6617
dff28924 66181989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6619
6620 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6621
dff28924 66221989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6623
6624 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6625 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6626
dff28924 66271989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6628
6629 * etags.c (consider_token): Allow any number of typespec keywords
6630 after `typedef', before new type name.
6631 (enum sym_type): Add st_C_typespec.
6632 (C_create_stab): Put typespec kwds in table.
6633
dff28924 66341989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6635
6636 * etags.c (main): Don't depend on name invoked by.
6637 If CTAGS is not defined, assume it is ETAGS.
6638
dff28924 66391989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6640
6641 * etags.c (L_funcs): Allow package name in define construct,
6642 as in (foo::defmumble name-defined ...).
6643
dff28924 66441989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6645
6646 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6647
6648 * Makefile (yow): Depends on ../src/paths.h.
6649
dff28924 66501989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6651
6652 * etags.c: Fix compilation by moving Pascal after Fortran.
6653
dff28924 66541989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6655
6656 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6657
dff28924 66581989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6659
6660 * hexl.c: New file, supports hexl-mode.
6661
dff28924 66621989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6663
6664 * movemail.c: New compilation flag MAIL_USE_MMDF.
6665
dff28924 66661989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6667
6668 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6669 * server.c: Likewise.
6670
6671 * make-docfile.c (scan_c_file): Output argument names at end of string.
6672 (write_c_args): New subroutine.
6673
dff28924 66741989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6675
6676 * movemail.c: Report failure of flock.
6677
dff28924 66781989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6679
6680 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6681
dff28924 66821989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6683
2f2c687b 6684 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 6685
dff28924 66861989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6687
6688 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6689
30a7ee9f 6690 * emacstool.1: Update to document environment variables.
362bc2da 6691
dff28924 66921989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6693
6694 * etags.c (PAS_funcs): New function by Mosur Mohan.
6695
6696 * movemail.c: On sysv, include unistd.h.
6697
dff28924 66981989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6699
6700 * b2m.c: New file.
6701
dff28924 67021989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6703
6704 * etags.c: Prolog support from Sunichirou Sugou
6705
dff28924 67061989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6707
6708 * Makefile (clean): New target.
6709
dff28924 67101989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6711
6712 * fakemail.c (put_line): Break header lines at 79 cols.
6713
dff28924 67141989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6715
6716 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6717 multiple tags per line.
6718
dff28924 67191989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6720
6721 * movemail.c: Check access before doing real work.
6722 Check that outfile is in a writable directory.
6723 On fatal error, delete the lock file.
6724
dff28924 67251988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6726
ecc54057
JB
6727 * env.c: Add decl for my-index
6728 * etags.c (file-entries): .oak => scheme
362bc2da 6729
dff28924 67301988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6731
6732 * movemail.c: Use `access' to check input and output files.
6733
dff28924 67341988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6735
6736 * emacsclient.c (main): Ignore all of CWD before first slash.
6737
dff28924 67381988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6739
6740 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6741
dff28924 67421988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6743
6744 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6745 * server.c: chmod the socket to 0700.
6746
dff28924 67471988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6748
6749 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6750 (add_field): Delete comments and turn `<', `>' to spaces
6751 in header lines.
6752 (USE_FAKEMAIL): New customization macro says to make fakemail
6753 not be a no-op even on a BSD system.
6754
dff28924 67551988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6756
6757 * etags.c (consider_token): Skip comments just like whitespace.
6758 Notice `struct', etc. and set strtag for those tokens.
6759 Return 1 for the token following `struct' if an open-brace follows it.
6760 (C_entries): Special handling of token following `struct'
6761 needed because we have probably advanced to the following line
6762 to find the `{'.
6763 (main): New option `T' sets tflag and strflag.
6764 Set both of them by default if eflags.
6765
dff28924 67661988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6767
6768 * movemail.c: Do fsync before closing output.
6769
dff28924 67701988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 6771
ecc54057
JB
6772 * movemail.c: Better error message when can't create tempname.
6773 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 6774
dff28924 67751988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6776
6777 * etags.c: Support assembler code for .s and .a files.
6778 (getit): Allow underscore in a tag.
6779
dff28924 67801988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6781
6782 * movemail.c: Close output and check errors before deleting input.
6783
dff28924 67841988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6785
6786 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6787 whether to prefix it. Handle line number args.
6788
dff28924 67891988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 6790
2f2c687b 6791 * etags.c (main): Default setting of eflag was backwards.
362bc2da 6792
dff28924 67931988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6794
6795 * etags.c: New option -i. -f renamed -o.
6796 `-' as input file means read input file names from stdin.
6797 -i spec'd or input file named TAGS means the input file is another
6798 tag table; output an "include" line for it.
6799
dff28924 68001988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6801
6802 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6803 New targets install, install.sysv, install.xenix.
6804 This makefile is now responsible for installing executables
6805 and documentation from this directory into system directories.
6806
dff28924 68071988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
6808
6809 * server.c, emacsclient.c (main): Compute socket name from euid.
6810
dff28924 68111988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6812
6813 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6814
dff28924 68151988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6816
6817 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6818 * emacsclient.c: Likewise.
6819 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6820
dff28924 68211988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6822
6823 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
07655e62 6824 (istoken): New string-comparison macro.
362bc2da
DL
6825 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6826
dff28924 68271988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6828
6829 * etags.c: Changes for VMS.
6830 Always define ETAGS on VMS.
6831 Define macros GOOD and BAD for success and failure exit codes.
6832 (begtk, intk): Allow `$' in identifiers
6833 (main): Don't support -B, -F or -u on VMS.
6834 Alternate loop for scanning filename arguments.
6835 (system): Delete definition of this function.
6836
6837 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6838
dff28924 68391988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6840
6841 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6842 around include of param.h. (Like fns.c.)
6843
dff28924 68441988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6845
6846 * loadst.c (load_average): Move load-average code to this new fn.
6847 Add conditionals to compute load ave on UMAX.
6848
dff28924 68491988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6850
6851 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6852 with opposite sense.
6853
dff28924 68541988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
6855
6856 * emacsclient.c: Delete references to unused variable `out'. This
6857 caused a bus error when used under hp-ux.
6858
dff28924 68591988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6860
6861 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6862
dff28924 68631988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
6864
6865 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6866
dff28924 68671988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6868
6869 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6870
dff28924 68711988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6872
6873 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 6874 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 6875
dff28924 68761988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6877
6878 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6879 invalid escape sequences such as `\{'.
6880
6881 * loadst.c: Add `sequent' conditional for file dk.h.
6882
dff28924 68831988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 6884
2f2c687b 6885 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 6886
2f2c687b 6887 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
6888
6889;; Local Variables:
880820fe 6890;; coding: utf-8
33462dfa 6891;; add-log-time-zone-rule: t
6922b018 6892;; End:
2a34a036 6893
9766d41b 6894 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
294981c7 6895 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
f5d0ac07 6896 2007, 2008, 2009 Free Software Foundation, Inc.
5b87ad55
GM
6897
6898 This file is part of GNU Emacs.
6899
294981c7 6900 GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 6901 it under the terms of the GNU General Public License as published by
294981c7
GM
6902 the Free Software Foundation, either version 3 of the License, or
6903 (at your option) any later version.
5b87ad55
GM
6904
6905 GNU Emacs is distributed in the hope that it will be useful,
6906 but WITHOUT ANY WARRANTY; without even the implied warranty of
6907 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6908 GNU General Public License for more details.
6909
6910 You should have received a copy of the GNU General Public License
294981c7 6911 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
ab5796a9
MB
6912
6913;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc