(Example -- Configuring a tool called directly): Update example.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
6e096c71
FP
12007-11-15 Masatake YAMATO <jet@gyve.org>
2
3 * etags.c (C_entries): In case '}', set fvdef to fvnone
4 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
5
70cd9104
JB
62007-10-26 Juanma Barranquero <lekktu@gmail.com>
7
8 * emacsclient.c: Add a wrapper for getenv so it also checks the
9 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
10 Code partially based on w32_get_resource and init_environment (w32.c).
11 (xmalloc): New function by K\e,Aa\e(Broly L\e$,1 q\e(Brentey (backported from the trunk).
12 (quote_file_name): Use it.
13 (egetenv): New wrapper for getenv.
14 (get_current_dir_name, decode_options, get_server_config)
15 (set_local_socket, set_socket, main): Use egetenv, not getenv.
16 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
17
d22b00e5
JR
182007-10-25 Jason Rumney <jasonr@gnu.org>
19
20 * emacsclient.c (sock_err_message): New function.
21 (set_tcp_socket): Use it.
22
dbf60b07
JR
232007-09-27 Jason Rumney <jasonr@gnu.org>
24
25 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
26
27 * emacsclient.c (w32_window_app): Init common controls when windowed.
28
ca4ea90f
EZ
292007-08-25 Eli Zaretskii <eliz@gnu.org>
30
31 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
32 Prepend "-" to the command, in case srcdir=. and file is copied
33 into itself.
34
cacc7b51
GM
352007-07-25 Glenn Morris <rgm@gnu.org>
36
37 * Relicense all FSF files to GPLv3 or later.
38
39 * COPYING: Switch to GPLv3.
40
effb3d94
EZ
412007-07-20 Eli Zaretskii <eliz@gnu.org>
42
43 * makefile.w32-in (clean): Don't delete *~.
44
7dfc4cda
CY
452007-06-02 Chong Yidong <cyd@stupidchicken.com>
46
47 * Version 22.1 released.
48
11d2d983
FP
492007-02-26 Francesco Potort\e,Al\e(B <pot@gnu.org>
50
d620ddb3 51 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 52
0971f887
GM
532007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
54
55 * Makefile.in (EMACS, EMACSOPT): New variables.
56 (blessmail): Use `--no-site-file' when compiling.
57
933ccc8c
FP
582007-02-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
59
60 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
61 (main): Now --members is the default for etags, not for ctags yet.
62
d881944f 632007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 64
47dad44f 65 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
66 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
67 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
68 import, package, extends, implements and interface to be treated
69 specially for all kinds of C-style files, not just Java files.
70
ed8bbc0e
FP
712007-01-02 Francesco Potort\e,Al\e(B <pot@gnu.org>
72
47dad44f 73 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
74 (no_duplicates): Static variables for the above option.
75 (print_help): Do not print help for --no-warn, now undocumented.
76 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 77 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 78
18f9bf25
FP
792006-12-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
80
81 * etags.c (readline): When creating a relative file name from a
82 #line directive, leave the file name alone. The previous
83 behaviour was to make it relative to the tags file directory,
84 under the hypothesis that the #line directive file name was
85 relative to the directory of the tagged file. That hypothesis is
86 wrong with Cpp and Lex.
17d5f8a6 87 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 88
5e059fc1
EZ
892006-12-22 Eli Zaretskii <eliz@gnu.org>
90
91 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
92 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 93 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
94 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
95 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
96 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
97 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
98 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 99 (clean): Delete stamp_BLD.
5e059fc1 100
bd3b41c6
FP
1012006-12-20 Francesco Potort\e,Al\e(B <pot@gnu.org>
102
103 * etags.c (C_entries): DEFUN names were longer by one: corrected.
104
0e0dced5
JB
1052006-12-18 Juanma Barranquero <lekktu@gmail.com>
106
107 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
108 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
109 (main) [WINDOWSNT]: Remove code to release the focus; call
110 w32_give_focus instead.
111
4472aef4
JB
1122006-12-15 Juanma Barranquero <lekktu@gmail.com>
113
114 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
115 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
116 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
117 Suggestions and comment by Eli Zaretskii.
118
12f7728e 1192006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
120
121 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
122 Use $(USER32) for compatibility with Visual Studio .NET 2003.
123
310afa17
JB
1242006-11-30 Juanma Barranquero <lekktu@gmail.com>
125
126 * emacsclient.c (emacs_pid): New variable.
127 (message): Remove leftover code.
128 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
129 focus yet; emacsclient can still display an informational message
130 before sending requests to Emacs.
131 (main): Allow Emacs to grab the focus. Simplify message() call.
132
1332006-11-30 Michael Mauger <mmaug@yahoo.com>
134
135 * emacsclient.c (message): Make sure the message is properly
136 written even if it contains printf escapes, and flush the result.
137 (set_tcp_socket): Make the message for non-local connections
138 informational rather than an error.
139
8c57275b 1402006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
141
142 * etags.c (readline): Check for double quote after #line.
143
4472aef4 1442006-11-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
9b492fad
FP
145
146 * etags.c (readline): sscanf could in principle return 2.
147
1482006-11-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
149
150 * etags.c (readline): lno is unsigned.
151 (TeX_commands): Use p++ (rather than *p++) to increment p.
152 (Lua_functions): Explicitly discard LOOKING_AT's return value.
153
4d91c8f9
JB
1542006-11-27 Juanma Barranquero <lekktu@gmail.com>
155
156 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
157 ($(TRES)): New rule (copied from nt/makefile.w32-in).
158 ($(BLD)/emacsclientw.exe): Add dependency.
159
340d34a5
EZ
1602006-11-27 Eli Zaretskii <eliz@gnu.org>
161
d620ddb3 162 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 163
7dce1990
JB
1642006-11-25 Juanma Barranquero <lekktu@gmail.com>
165
166 * makefile.w32-in (VERSION): New macro.
167 (ECLIENT_CFLAGS): Add -DVERSION.
168
410797a5 1692006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
170
171 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
172
410797a5 1732006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 174
4472aef4
JB
175 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
176 file names with forward slashes.
cb0297bb 177
30aa95ce
JB
1782006-11-23 Juanma Barranquero <lekktu@gmail.com>
179
180 * emacsclient.c (print_help_and_exit): Tweak message contents and
181 tabs/spaces to improve alignment in message boxes.
182
42073bfb
JB
1832006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
184
185 * emacsclient.c: Include <stdarg.h>.
186 [WINDOWSNT]: Include <windows.h>.
187 (w32_check_console_app): New function.
188 (message): New function.
189 (decode_options, print_help_and_exit, fail, main)
190 (initialize_sockets, get_server_config, set_tcp_socket)
191 (set_local_socket, set_socket): Use message().
192
32dd9283 1932006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 194
32dd9283
JR
195 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
196 HAVE_INET_SOCKETS.
197
1bbea9fc
JB
1982006-11-13 Juanma Barranquero <lekktu@gmail.com>
199
200 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
201 ($(BLD)/emacsclientw.exe): New target.
202 (install): Install emacsclientw.exe.
203 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
204 (ECLIENT_CFLAGS): Remove redundant flags.
205
206 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
207
a48db427
JR
2082006-11-13 Jason Rumney <jasonr@gnu.org>
209
210 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
211
21f89bb7 2122006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
213
214 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
215
d5abc12c
JB
2162006-11-08 Juanma Barranquero <lekktu@gmail.com>
217
ed4a3730
JB
218 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
219 FARPROC to avoid a compiler warning.
d5abc12c 220
18b8c421
JB
2212006-11-07 Juanma Barranquero <lekktu@gmail.com>
222
88b46d84
JB
223 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
224 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
225
18b8c421
JB
226 * emacsclient.c (get_server_config): Extract also the Emacs pid
227 from the server file. On Windows, try to force the Emacs frame to
228 the foreground.
229
b03d27bd
JB
2302006-11-06 Juanma Barranquero <lekktu@gmail.com>
231
21f89bb7 232 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
233 option --socket-name.
234 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
235 command line options.
21f89bb7 236 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
237 (fail): Don't check for missing arguments, it is now done in set_socket.
238 (file_name_absolute_p): New function (loosely based on the one in
239 fileio.c).
240 (initialize_sockets): Don't check for duplicate loading of Winsock.
241 (get_server_config): Only try relative paths in the default
242 directory locations.
243 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
244 a remote server.
245 (set_socket): Call INITIALIZE(). Search explicit command-line
246 arguments, then environment variable EMACS_SERVER_FILE, then implicit
247 socket paths, before trying the alternate editor.
248 (main): Use file_name_absolute_p.
249
b20d6154
EZ
2502006-11-04 Eli Zaretskii <eliz@gnu.org>
251
252 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
253 file if it doesn't already exist.
254
9c92edca
JB
2552006-11-03 Juanma Barranquero <lekktu@gmail.com>
256
257 * emacsclient.c (initialize_sockets): Don't initialize Winsock
258 more than once.
259
b6ce9c46
JB
2602006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
261
262 * Makefile.in (INSTALL_SCRIPT): New macro.
263 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
264
4418616b
JB
2652006-11-02 Juanma Barranquero <lekktu@gmail.com>
266
267 * grep-changelog: When called with no arguments (not even a
268 filter), show help instead of blindingly dumping every single
269 ChangeLog available. Doc fix. Update version.
270
1e7823d0
JB
2712006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
272
273 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
274 [!WINDOWSNT]: Include <netinet/in.h> if available.
275 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
276 (IOCTL, IOCTL_BOOL_ARG): Remove.
277 (set_tcp_socket): Don't set the socket in blocking mode.
278 Remove c_arg.
279
ebc20ca0
JB
2802006-11-01 Juanma Barranquero <lekktu@gmail.com>
281
282 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
283 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
284
411b80a5
JB
2852006-10-31 \e,bS\e(Bscar Fuentes <ofv@wanadoo.es> (tiny change)
286
287 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
288 (close_winsock): Declare as __cdecl.
289
95d0feaa
JB
2902006-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
291
292 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
293 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
294 to set the socket in non-blocking mode.
295
e35fc962
JB
2962006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
297
d4fa60c8 298 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
299 (INVALID_SOCKET): Define.
300 (initialize_sockets): Put #endif at the right place.
301 (set_local_socket): Use progname, not argv[0].
302
ecc54057
JB
3032006-10-31 Juanma Barranquero <lekktu@gmail.com>
304
305 * makefile.w32-in (ALL): Add emacsclient.
306 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
307 (emacsclient, $(BLD)/emacsclient.exe): New targets.
308 (install): Install emacsclient.
309
310 * emacsclient.c: Add support for TCP sockets.
311 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
312 (INITIALIZE): New macros.
313 (IOCTL_BOOL_ARG): New typedef.
314 (server_file): New global variable.
315 (longopts): New option --server-file.
316 (decode_options): Process new option --server-file and environment
317 variable EMACS_SERVER_FILE.
318 (print_help_and_exit): Document new option.
319 (fail): If no connection available and no alternate editor,
320 suggest using options to make them explicit.
321 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
322 (send_buffer, sblen): New variables.
323 (send_to_emacs): New function to buffer output and send it with
324 send().
325 (quote_file_name): Use SEND_STRING.
326 (close_winsock, initialize_sockets): New functions to load and
327 unload Winsock.
328 (get_server_config, set_tcp_socket): New functions to create and
329 set up TCP sockets.
330 (set_local_socket): New function to create and set up Unix
331 socket (code moved from previous implementation).
332 (set_socket): New function to chose between TCP and Unix sockets.
333 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
334 set_local_socket. Use set_socket. Get answers from server.el with
335 recv(), not file stream functions.
336
70846e2a
EZ
3372006-10-09 Eli Zaretskii <eliz@gnu.org>
338
339 * makefile.w32-in (../src/config.h): Fix error message.
340
e2247cd0
EZ
3412006-09-30 Eli Zaretskii <eliz@gnu.org>
342
343 * .cvsignore: Add blessmail.
344
45a2056c
JB
3452006-09-15 Jay Belanger <belanger@truman.edu>
346
347 * COPYING: Replace "Library Public License" by "Lesser Public
348 License" throughout.
349
1f4edc37
JD
3502006-08-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
351
ecc54057 352 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 353 (readline): Change position on %n and \" in sscanf.
1f4edc37 354
1520a816
JD
3552006-08-07 Masatake YAMATO <jet@gyve.org>
356
ecc54057
JB
357 * etags.c (readline): Expect sscanf returns 2, not 1.
358
867cc23e
JD
3592006-08-07 Masatake YAMATO <jet@gyve.org>
360
9984b9d5 361 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
362 File ended without newline causes infinite loop.
363
fc185ae6
FP
3642002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
365
ecc54057 366 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6
FP
367
3682006-07-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
369
370 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
371 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
372 (Objc_suffixes): Suggest using --lang=c for full help.
373 (C_entries): Initialise savetoken to 0 to shut up the compiler.
374
116e754b
AS
3752006-07-20 Andreas Schwab <schwab@suse.de>
376
377 * fakemail.c (fatal): Drop second parameter and treat first
378 parameter as a plain string. Callers changed.
379
2381d38d
DN
3802006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
381
382 * ebrowse.c (usage, version): Mark as NO_RETURN.
383
384 * emacsclient.c (print_help_and_exit): Likewise.
385
327891eb
FP
3862006-07-10 Francesco Potort\e,Al\e(B <pot@gnu.org>
387
388 * etags.c (absolute_filename): Free unused space (cosmetic change).
389 (in_word_set): In C, also tag #undef symbols.
390
7cb93181
EZ
3912006-06-09 Eli Zaretskii <eliz@gnu.org>
392
393 * yow.c: Remove file.
394
395 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
396
397 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
398 yow${EXEEXT}: Remove target.
399
0f29c66d
MY
4002006-06-04 Masatake YAMATO <jet@gyve.org>
401
63fbb644 402 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
403 doesn't exist, is not seekable, not is failed in ftall.
404
a941b26b
EZ
4052006-06-03 Eli Zaretskii <eliz@gnu.org>
406
9781fb53
EZ
407 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
408 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
409 ($(BLD)/test-distrib.exe): New targets.
410 (sorted-doc, digest-doc, test-distrib): New targets.
411 (install): Install sorted-doc.exe and digest-doc.exe.
412 ($(BLD)/sorted-doc.$(O)): Update dependencies.
413
1b178b99
EZ
414 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
415 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
416 terminal device.
417
ae85efdb
EZ
418 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
419 [WINDOWSNT] <top level>: Don't redeclare malloc.
420 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
421 terminal device.
1b178b99 422 (main): Initialize bp, to avoid compiler warnings
ae85efdb 423
a941b26b
EZ
424 * makefile.w32-in: Delete traces of leditcfns.c.
425
426 * leditcfns.c: Remove file.
427
8a6d5da7
FP
4282006-05-23 Francesco Potort\e,Al\e(B <pot@gnu.org>
429
430 * pop.c (pop_open, socket_connection, KPOP_SERVICE): Added
431 comments explaining why the "kpop" service is never used.
432
642c61f3
EZ
4332006-05-13 Eli Zaretskii <eliz@gnu.org>
434
435 * makefile.w32-in (lisp1): Add fringe.elc.
436
7e237d24
FP
4372006-05-02 Francesco Potort\e,Al\e(B <pot@gnu.org>
438
439 * etags.c (Perl_functions): Free space allocated for var package.
440 (Erlang_functions): Possibly free space allocated for var last.
441 (Prolog_functions): Possibly free space allocated for var last.
442
7c47913b
DN
4432006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
444
7fe8b491
DN
445 * sorted-doc.c (main): Initialize docs to NULL.
446
cdeda579
DN
447 * yow.c (yow): Free buf.
448
7c47913b
DN
449 * etags.c: Delete c-indentation-style local variable.
450
2ef88a94
RS
4512006-04-29 Richard Stallman <rms@gnu.org>
452
5e5b35c7
RS
453 * movemail.c (main): Check for negative value from `read'.
454
2ef88a94
RS
455 * fakemail.c (read_header): Give fatal error if input has no header.
456
d65b4235
PE
4572006-04-02 Paul Eggert <eggert@cs.ucla.edu>
458
459 * b2m.c (main): Don't include <limits.h>.
460 (TM_YEAR_BASE): New macro.
461 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
462 that s/ files can override this. Use the more-conservative range
463 1000-9999.
464 (main): Check for asctime returning NULL.
465 * fakemail.c: Likewise.
466
f5565804
PE
4672006-03-27 Paul Eggert <eggert@cs.ucla.edu>
468
469 * b2m.c: Include <limits.h>.
470 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
471 (main): Check for out-of-range time stamps.
472 * fakemail.c: Likewise.
473
90c9c343
AS
4742006-03-18 Andre Spiegel <spiegel@gnu.org>
475
476 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
477 execute $DIFF twice, and once with the wrong options.
478
a6a2b5d4
EZ
4792006-02-23 Claudio Fontana <claudio@gnu.org>
480
9e2bcc86
EZ
481 * Makefile.in (install, uninstall): Add DESTDIR variable to
482 support staged installations.
a6a2b5d4 483
ef3f69f9
EZ
4842005-12-30 Eli Zaretskii <eliz@gnu.org>
485
486 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
487 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
488 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
489 Rearrange the list to be similar to $(shortlisp) in
490 src/Makefile.in.
ef3f69f9
EZ
491 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
492 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
493 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
494 src/Makefile.in.
495
30cfcf7f
RS
4962005-12-22 Richard M. Stallman <rms@gnu.org>
497
498 * Makefile.in (update-game-score.o): Delete spurious final `\'.
499
ecc54057 5002005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
501
502 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
503 which was never opened.
504
283879ef 5052005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
506
507 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
508 header files.)
509
55102b5d
FP
5102005-09-27 Francesco Potort\e,Al\e(B <pot@gnu.org>
511
512 * etags.c: Preliminary Forth support.
513 (prolog_pr): Cast strlen to int before comparison.
514 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
515 the second argument is indeed a literal string.
b9509712 516 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
517
5182005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
519
520 * etags.c (longopts, print_help, main): The -a (--append) option
521 can be used in ctags also; for one, the Linux make file uses it.
522
41ea4df8
CY
5232005-09-20 Chong Yidong <cyd@stupidchicken.com>
524
525 * ebrowse.c (add_sym): Compare namespace names instead of
526 namespace objects. This prevents the parser from incorrectly
527 treating classes whose superclass is in another namespace.
528
5c4757d3
RS
5292005-09-15 Richard M. Stallman <rms@gnu.org>
530
531 * Makefile.in (update-game-score.o): New target.
532 Compile and link this progranm separately.
533 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
534
df1b2142
JR
5352005-09-11 Jason Rumney <jasonr@gnu.org>
536
ecc54057 537 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142
JR
538 message instead.
539 (../src/paths.h): Removed.
540
c638055f
JB
5412005-07-27 Juanma Barranquero <lekktu@gmail.com>
542
543 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
544 generated. Ignore also ctags.c and getopt.h.
545
546 * makefile.w32-in (clean): Delete getopt.h.
547 (getopt.h): New rule.
548
9eff9fe3
PE
5492005-07-26 Paul Eggert <eggert@cs.ucla.edu>
550
551 Merge gnulib getopt implementation into Emacs.
552
553 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
554 (GETOPT_H): New macro, from gnulib.
555 (getopt.h): New rule, from gnulib.
556 (GETOPTOBJS): Now autoconfigured.
557 (GETOPTDEPS): getopt.h is now autoconfigured.
558 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
559 (getopt.o): Depend on ${srcdir}/gettext.h.
560 (movemail.o): Depend on $(GETOPT_H).
561 * getopt.c, getopt1.c: Sync from gnulib.
562 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
563 * getopt.h: Removed (now is getopt_.h).
564
ec641d50
KR
5652005-07-13 Ken Raeburn <raeburn@gnu.org>
566
0e0dced5
JB
567 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
568 (sendline): Add the \r\n to the line in a temporary buffer, and write
569 it all at once.
ec641d50 570
a0ec7a4a
LK
5712005-07-04 Lute Kamstra <lute@gnu.org>
572
573 Update FSF's address in GPL notices.
574
0e0dddda
EZ
5752005-06-13 Eli Zaretskii <eliz@gnu.org>
576
577 * makefile.w32-in ($(DOC)): Fix last change.
578
5a77c8e2
EZ
5792005-06-12 Eli Zaretskii <eliz@gnu.org>
580
581 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
582 temacs.exe, and the preloaded *.elc files. This avoids
583 unnecessary dumping and DOC rebuilding.
584
1a8fb426
EZ
5852005-06-04 Eli Zaretskii <eliz@gnu.org>
586
587 * ntlib.h (fileno): Don't define if already defined.
588
7235a58f
TTN
5892005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
590
591 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
592 (yow): Use EXIT_FAILURE in case of memory error.
593
5063dbbf
YM
5942005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
595
596 * make-docfile.c (DIRECTORY_SEP): New macro.
597 (IS_DIRECTORY_SEP): Use it.
598
5b9562c3
JD
5992005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
600
601 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
602
ba025f6d
YM
6032005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
604
605 * make-docfile.c: Undo previous change.
606
a9eedf40
AS
6072005-02-04 Andreas Schwab <schwab@suse.de>
608
0e0dced5
JB
609 * movemail.c (fatal): Accept third parameter and pass down to error.
610 (pfatal_with_name): Pass error string as format parameter instead of
611 as part of format string.
a9eedf40
AS
612 (pfatal_and_delete): Likewise.
613 (main): Adjust call to fatal.
614 (xmalloc): Likewise.
615
5a92a9eb
RS
6162005-01-29 Richard M. Stallman <rms@gnu.org>
617
618 * movemail.c (popmail): Don't use Errmsg as format string.
619
e6973a25
ST
6202004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
621
0e0dced5 622 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 623
1bb3da38
AS
6242004-12-15 Andreas Schwab <schwab@suse.de>
625
626 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
627 preprocessing to compile time constant.
628
d4a38fdd
KS
6292004-11-17 Kim F. Storm <storm@cua.dk>
630
631 * etags.c: Undo last change.
632
f2eb41c8
KS
6332004-11-09 Kim F. Storm <storm@cua.dk>
634
635 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
636 silence compiler.
637
638 * hexl.c (main): Init local var c to silence compiler.
639
640 * etags.c (main, consider_token, C_entries): Add misc switch
641 default targets to silence compiler.
642
3cf5c994
JD
6432004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
644
645 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
646 resulting DOC file can be used on Unix/Mac also.
647
e057dc50
FP
6482004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
649
650 * etags.c (main): When relative file names are given as argument,
651 make them relative to the current working dir, rather than
652 relative to the output tags file, if the latter is in /dev.
653
05d9a399
FP
6542004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
655
656 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
657 <stdlib.h> is available.
658 (enum sym_type): New st_C_attribute value for parsing
659 gcc's __attribute__. Deleted st_C_typespec value.
660 (gperf, in_word_set): Use gperf 3, options changed. Added the
661 __attribute__ keyword, removed all the st_C_typespec keywords,
662 changed attribute for Java to (C_JAVA & !C_PLPL).
663 (inattribute): New global bool, part of the C state machine.
664 (cblev): Identifier renamed to bracelev throughout.
665 (consider_token, C_entries): Numerous changes for making the
666 parser more robust and adding support for __attribute__.
667
6682004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
669
ecc54057 670 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
671 Support the Lua scripting language <http://www.lua.org>.
672
fba74375
FP
6732004-09-08 Francesco Potort\e,Al\e(B <pot@gnu.org>
674
d57727c9 675 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
676 for ease of use.
677
3751eb00
RS
6782004-07-17 Richard M. Stallman <rms@gnu.org>
679
680 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
681
86d373e6
JB
6822004-06-01 Juanma Barranquero <lektu@terra.es>
683
684 * makefile.w32-in (obj): Add image.c.
685
80e26b66
TTN
6862004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
687
0e0dced5 688 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 689
e6662c8b
JR
6902004-05-08 Jason Rumney <jasonr@gnu.org>
691
692 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
693 command-lines.
694
65396510
TTN
6952004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
696
697 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
698 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
699 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
700
701 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
702 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
703 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 704
c2bcfb19
TTN
7052004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
706
707 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
708
3f0656ff
TTN
7092004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
710
711 * b2m.c (GOOD, BAD): Delete macros. Throughout,
712 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
713 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
714
715 * etags.c: Likewise.
716
238add5e
JR
7172004-05-03 Jason Rumney <jasonr@gnu.org>
718
719 * makefile.nt: Remove.
720
b09c5608
EZ
7212004-04-26 Eli Zaretskii <eliz@gnu.org>
722
723 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
724 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
725 instead of a literal '/'.
726
d814862a
JB
7272004-04-23 Juanma Barranquero <lektu@terra.es>
728
729 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
730
442a2160
PE
7312004-04-17 Paul Eggert <eggert@gnu.org>
732
733 * rcs2log (Help): Clarify wording of the usage message.
734 Problem reported by Alan Mackenzie in
735 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
736
d5d66b7e
SM
7372004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
738
739 * make-docfile.c (xmalloc): Fix return type.
740 (put_filename): New fun.
741 (scan_file): Use it.
742
bdfd0369
JB
7432004-03-09 Juanma Barranquero <lektu@terra.es>
744
745 * grep-changelog: Changes to support ChangeLog.10+.
746 (main): Tidy up usage string. Fix "Use of uninitialized value"
747 warning. Set version to 0.2. Parse the directory listing to get
748 any ChangeLog.n file, not just 1..9.
749 (header_match_p, entry_match_p, print_log, parse_changelog):
750 Remove Perl prototypes (their purpose is to help the parser, which
751 isn't needed here, not declare arguments).
752 (parse_changelog): Make --reverse faster on big batches by not
753 modifying the entries list.
754
a64387ee
JB
7552004-03-01 Juanma Barranquero <lektu@terra.es>
756
757 * makefile.w32-in (obj): Add fringe.c.
758
9766d41b
PE
7592004-02-14 Paul Eggert <eggert@twinsun.com>
760
761 * rcs2log: Work correctly if CVSROOT specifies :fork: or
762 :local: methods, or omits the colon between the hostname
763 and the path. Allow :/ in repository path, since CVS does.
764 Fix typo: "pository" should be set from $CVSROOT, not $repository.
765 This fixes a bug reported by Wolfgang Scherer in
766 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
767 along with some related bugs I discovered by inspecting how
768 CVS itself parses $CVSROOT.
769
a64387ee 7702004-02-04 J\e,bi\e(Br\e,bt\e(Bme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
771
772 * emacsclient.c (decode_options): Fix handling of alternate editor.
773
0734b0d0
SM
7742004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
775
776 * emacsclient.c (main): Don't use the hostname in the socket name.
777 Look for relative socket names in the /tmp dir rather than in cwd.
778
2a6fc2d9
RS
7792004-01-24 Richard M. Stallman <rms@gnu.org>
780
781 * emacsclient.c (main): Restore errno from saved_errno,
782 so the error message comes from socket_status.
783
0734b0d0
SM
7842004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * emacsclient.c (main): Stop if socket name too long.
787 Only try su-fallback if the socket name was not explicit.
788 Check socket name length in su-fallback case as well.
789
152b6e83
AS
7902004-01-08 Andreas Schwab <schwab@suse.de>
791
792 * emacsclient.c (main): Save errno from socket_status.
793
e8228824
AS
7942004-01-04 Andreas Schwab <schwab@suse.de>
795
796 * emacsclient.c (main): Fix socket name when using another user.
797
c9140662
PE
7982003-12-27 Paul Eggert <eggert@twinsun.com>
799
800 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
801 a tag, and if the user has not specified an rlog option.
802 Adapted from a suggestion by Martin Stjernholm in
803 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
804 (Copyright): Update to 2003.
805
8babaa59
TTN
8062003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
807
808 * make-docfile.c (main): For return code, no longer special-case VMS.
809 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
810
14ef7288
EZ
8112003-09-28 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
812
813 * emacsclient.c (quote_file_name): Print the result instead of
814 returning it. Fix the return type accordingly.
1ae7cf5e
RS
815 (main): With --eval, if no file name, read from stdin.
816 Quote file names.
14ef7288 817
f387bdea
RS
8182003-09-10 Richard M. Stallman <rms@gnu.org>
819
820 * emacsclient.c (main): Use socket_name.
821
14ef7288 8222003-09-10 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
823
824 * emacsclient.c (socket_name): New variable.
825 (longopts, decode_options, print_help_and_exit):
826 Handle --socket-name argument.
827
0b7e7337
FP
8282003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
829
783bcffa 830 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
831 token len is long enough.
832
ac06b30b
DL
8332003-08-20 Dave Love <fx@gnu.org>
834
835 * Makefile.in: Remove obsolete references to alloca.
836
32b0a3c6
JB
8372003-07-29 Ken Brush <ken@wirex.com>
838
839 * emacsclient.c (main)
840 * etags.c (suggest_asking_for_help)
841 * movemail.c (main): Fix having macros in a printf statement.
842
3867c42d
JB
8432003-05-31 Juanma Barranquero <lektu@terra.es>
844
845 * makefile.w32-in (lisp): Fix references to byte-run.el,
846 float-sup.el and map-ynp.el, which are now in emacs-lisp.
847
7933722a
DL
8482003-05-22 Dave Love <fx@gnu.org>
849
850 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
851 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
852
463f55ee
DL
8532003-05-20 Dave Love <fx@gnu.org>
854
855 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
856
857 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
858
1b7a835b
JB
8592003-04-27 Oliver Scholz <alkibiades@gmx.de>
860
0e0dced5 861 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 862
eec54bd7
SM
8632003-04-12 Stefan Monnier <monnier@cs.yale.edu>
864
865 * emacsclient.c (main): Use new safe location for socket.
866
ff4bd681
JB
8672003-03-12 Tom Tromey <tromey@redhat.com>
868
eec54bd7
SM
869 * emacsclient.c (print_help_and_exit): Print to stdout.
870 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
871 (decode_options): Don't call print_help_and_exit in default case.
872 Print version information to stdout.
873 (main): Don't call print_help_and_exit.
874
dd132e44
RS
8752003-02-15 Richard M. Stallman <rms@gnu.org>
876
877 * cvtmail.c: Cast result of malloc and realloc.
878 Don't include stdlib.h, becuase config.h does.
879 (malloc, realloc): Declarations deleted.
ff4bd681 880
dd132e44
RS
881 * yow.c (yow): Cast result of malloc and realloc.
882 (malloc, realloc): Declarations deleted.
883
71ffc53a
JB
8842003-02-11 Juanma Barranquero <lektu@terra.es>
885
886 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
887
0dfd93c0
AS
8882003-02-08 Andreas Schwab <schwab@suse.de>
889
890 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
891 instead of the substitution.
892
37d1e680
RS
8932003-02-04 Richard M. Stallman <rms@gnu.org>
894
895 * update-game-score.c (push_score, read_scores): Cast values
896 of malloc and realloc.
897 (main, lock_file): Avoid assignment inside if.
898
c60ee5e7
JB
8992003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
900
901 * Makefile.in: Use @EXEEXT@ for Cygwin.
902
b24e2dc7
DL
9032003-01-21 Dave Love <fx@gnu.org>
904
905 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
906 column-0 `('.
907
908 * yow.c: Don't include string.h.
909
675d000f
RS
9102003-01-20 Richard M. Stallman <rms@gnu.org>
911
912 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
913 New targets.
914
207aa3ff
KS
9152003-01-06 Kim F. Storm <storm@cua.dk>
916
917 * pop.c (__P): Renamed from _P to avoid problems on Cygwin.
918 All uses changed.
919
cf6d30d7
AI
9202002-12-18 Andrew Innes <andrewi@gnu.org>
921
922 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
923 because GNU make doesn't append when using >> redirection.
924
649fc2c5
PJ
9252002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
926
927 * b2m.pl: Make sure every message ends with a blank line, because
928 some mbox parsers require a blank line before "From " lines.
929
85cce843
RS
9302002-12-08 Richard M. Stallman <rms@gnu.org>
931
932 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
933 (_): Test only HAVE_LIBINTL_H to decide what to do.
934
2ccc4d34
RS
9352002-12-05 Richard M. Stallman <rms@gnu.org>
936
937 * getopt.c: Comment out include of libintl.h or gettext.h.
938
c5992177
RS
9392002-12-04 Richard M. Stallman <rms@gnu.org>
940
941 * Update getopt from gnulib version; changes described below.
942
943 * getopt1.c: Conditionally find getopt.h.
944 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
945
946 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
947 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 948 (wchar.h): Include, maybe.
c5992177
RS
949 (attribute_hidden): Define if not defind.
950 (__getopt_initialized): Use attribute_hidden.
951 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
952 (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
953 Conditional on USE_NONOPTION_FLAGS.
954 (SWAP_FLAGS): New definitions.
955 (exchange): Test USE_NONOPTION_FLAGS.
956 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
957 (_getopt_internal): Error if argc < 1. New local var print_errors.
958 Improve test for ambiguous long option.
959 Add LIBIO support for error message output.
960 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
961
962 * getopt.h: Maybe include ctype.h.
963 Treat __cplusplus like __STDC__.
964 (decls): Use __ in arg names.
965
4b5e69bd
SE
9662002-12-02 Stephen Eglen <stephen@gnu.org>
967
968 * emacsclient.c (main): Tell user how to start server within Emacs
969 if socket could not be found.
970
19fa03f3
RS
9712002-12-02 Richard M. Stallman <rms@gnu.org>
972
973 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
974
7be215b4
JB
9752002-11-19 Ben Key <bkey1@tampabay.rr.com>
976
29f538e6
BK
977 * makefile.w32-in: Fixed a bug that caused the documentation for
978 the built in function play-sound-internal not to be included in
979 /etc/DOC.
7be215b4 980
1998560a
DL
9812002-11-18 Dave Love <fx@gnu.org>
982
983 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
984 fcntl.h, stdarg.h conditionally.
985 (_GNU_SOURCE, __attribute__): Don't define.
986 (optarg, optind, opterr): Declare.
987 (lose, lose_syserr): Use NO_RETURN.
988 (get_user_id): Use P_.
989
8b96caf3
RS
9902002-11-17 Richard M. Stallman <rms@gnu.org>
991
992 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
993
59daa29a
DL
9942002-11-14 Dave Love <fx@gnu.org>
995
996 * movemail.c (pop_retr): Declare comment.
997
998 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
999
1000 * Makefile.in (YACC): Deleted.
1001
f1b443bf
AS
10022002-10-19 Andreas Schwab <schwab@suse.de>
1003
1004 * Makefile.in (${archlibdir}): Always create $(gamedir).
1005 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1006
52402e4f
JB
10072002-10-04 Juanma Barranquero <lektu@terra.es>
1008
1009 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1010
15dab115
MR
10112002-09-30 Markus Rost <rost@math.ohio-state.edu>
1012
1013 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1014 completely.
1015
30be2360
SM
10162002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1017
1018 * emacsclient.c: Remove SYSV support.
1019 (eval, display): New vars.
1020 (longopts): Add --eval and --display.
1021 (decode_options): Add -e and -d processing.
1022 (print_help_and_exit): Update the usage string.
1023 (main): Add support for --eval and --display.
3ecdcd59 1024 (main): Always use /tmp and non-qualified hostname.
30be2360 1025
4208da83
SM
10262002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1027
1028 * emacsserver.c: Remove.
1029
3cf8c6aa
SM
10302002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1031
1032 * emacsclient.c (quote_file_name): Quote \n.
1033 (main): Print a final \n when needed.
1034
ecc54057 10352002-09-03 Francesco Potort\e,Al\e(B <pot@gnu.org>
4c6dce51
FP
1036
1037 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1038 string that cannot be freed.
1039
ecc54057 10402002-08-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
ba88f8eb
FP
1041
1042 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1043 auto-detection is enabled and the `::' qualifier is met.
1044 (consider_token, C_entries): Several bugs corrected that tagged
1045 some declarations even though --declarations was not used.
1046 (plainc): New macro.
1047 (C_entries): Use it.
1048 (C_entries): Several cosmetic changes.
1049 (C_entries): Invalidate the token is some cases.
1050
ecc54057 10512002-08-29 Francesco Potort\e,Al\e(B <pot@gnu.org>
09cd1a74 1052
eec54bd7 1053 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1054 (ignoreindent): Renamed from noindentypedefs.
1055 (cjava, cplpl): They are now macros instead of local vars.
1056
ecc54057 10572002-08-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
09cd1a74
FP
1058
1059 * etags.c (HTML_labels): Tag ID= also.
1060
ecc54057 10612002-08-27 Francesco Potort\e,Al\e(B <pot@gnu.org>
87046df8
FP
1062
1063 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1064
ecc54057 1065 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1066 (etags_strcasecmp): Like BSD's, for compatibility.
1067 (strcaseeq): Make it into a macro.
1068
1069 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1070 (linebuffer_init): Renamed from initbuffer. All callers changed.
1071 (pattern): Structure renamed to `regexp', member regex renamed to
1072 pattern.
1073 (node_st): Member pat renamed to regex.
eec54bd7
SM
1074 (pattern); New member force_explicit_name, for future use.
1075 Now always set to true, cannot be reset.
87046df8
FP
1076 (add_regex, regex_tag_multiline, readline): Use it.
1077 (main): Free some global structures.
8ee14629 1078 (fdesc): New member `written'.
87046df8
FP
1079 (readline, process_file): Initialise it.
1080 (put_entries): Set it.
1081 (main): Use it to create entries for files without tags.
1082 (total_size_of_entries): Do not count invalid tags.
87046df8 1083
02ce3e80
SM
10842002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1085
1086 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1087 for the function name in the usage info.
1088
5fba5c21
CW
10892002-07-31 Colin Walters <walters@gnu.org>
1090
1091 * update-game-score.c (P_): New macro. Use it for all prototypes.
1092 (lose): Don't use varargs.
1093 (lose_syserr): New function.
1094
1095 * update-game-score.c: Change all functions to K&R style.
1096
712eaee0
AS
10972002-07-30 Andreas Schwab <schwab@suse.de>
1098
1099 * Makefile.in (localstatedir): New variable.
1100
c89ed6ef
PJ
11012002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
1102
1103 * b2m.pl: Fix regexp for finding return address fields.
1104
1e042160
SM
11052002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1106
1107 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1108
c60ee5e7 11092002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
e9b60209 1110
02ce3e80 1111 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 1112
9ee028d2
PJ
11132002-06-26 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1114
1115 * b2m.pl: New file.
1116
ecc54057 11172002-06-21 Francesco Potort\e,Al\e(B <pot@gnu.org>
e1af8d40 1118
ecc54057 1119 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
1120 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1121 (PHP_functions, PHP_functions, Cobol_paragraphs)
1122 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1123 (prolog_pr, erlang_func, erlang_attribute)
1124 (Perl_functions, Perl_functions, Pascal_functions)
1125 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1126 (get_tag): Prototype changed, all callers changed.
1127
ecc54057 11282002-06-20 Francesco Potort\e,Al\e(B <pot@gnu.org>
ceaeb365 1129
d76132d0
FP
1130 * etags.c: Implement implicit tag names, that is, unnamed tags
1131 whose name is automatically deduced by etags.el. The advantage is
1132 that there is no explicit tag name in most tags, so the size of
1133 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 1134 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
1135 (make_tag): New function (was the disabled function new_pfnote).
1136 (make_C_tag): Use it.
1137
ecc54057 11382002-06-19 Francesco Potort\e,Al\e(B <pot@gnu.org>
f175bfff
FP
1139
1140 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1141 (Makefile_targets): Tag variables unless --no-globals.
1142 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1143
ecc54057 11442002-06-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
82ef78b3
FP
1145
1146 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1147 (invalidate_nodes): Bug corrected.
1148 (print_help): Better help for regexps.
1149
7a8940da
JB
11502002-06-13 Juanma Barranquero <lektu@terra.es>
1151
1152 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1153 font-core.elc.
1154
ecc54057 11552002-06-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
6861f0e3
FP
1156
1157 * etags.c: New multi-line regexp and new regexp syntax.
1158 (arg_type): at_icregexp label removed (obsolete).
1159 (pattern): New member multi_line for multi-line regexps.
1160 (filebuf): A global buffer containing the whole file as a string
1161 for multi-line regexp matching.
1162 (need_filebuf): Global flag raised if multi-line regexps used.
1163 (print_help): Document new regexp modifiers, remove references to
1164 obsolete option --ignore-case-regexp.
1165 (main): Do not set regexp syntax and translation table here.
1166 (main): Treat -c option as a backward compatibility hack.
1167 (main, find_entries): Init and free filebuf.
1168 (find_entries): Call regex_tag_multiline after the regular parser.
1169 (scan_separators): Check for untermintaed regexp and return NULL.
1170 (analyse_regex, add_regex): Remove the ignore_case argument, which
1171 is now a modifier to the regexp. All callers changed.
1172 (add_regex): Manage the regexp modifiers.
1173 (regex_tag_multiline): New function. Reads from filebuf.
1174 (readline_internal): If necessary, copy the whole file into filebuf.
1175 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1176
ecc54057 11772002-06-11 Francesco Potort\e,Al\e(B <pot@gnu.org>
6861f0e3
FP
1178
1179 * etags.c (add_regex): Better check for null regexps.
1180 (readline): Check for regex matching null string.
1181 (find_entries): Reorganisation.
1182
ecc54057 11832002-06-07 Francesco Potort\e,Al\e(B <pot@gnu.org>
f0da41a6
FP
1184
1185 * etags.c (scan_separators): Support all character escape
1186 sequences supported by Gcc.
02ce3e80 1187 (find_entries): Rewind unconditionally.
f0da41a6
FP
1188 (find_entries): Do not call language functions directly, now calls
1189 itself.
1190 (find_entries): Do general initialisations here.
1191 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1192 (Ada_getit, Pascal_functions, Pascal_functions)
1193 (prolog_skip_comment): Do not do them here.
1194 (readline_internal): Increment lineno here.
1195 (readline): Conditionally undo readline_internal increment.
1196 (readline): Do not return a value.
1197
ecc54057 11982002-06-06 Francesco Potort\e,Al\e(B <pot@gnu.org>
5526f1f6 1199
88c71720 1200 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
1201 (enum arg_type): New label at_stdin.
1202 (STDIN): New constant.
1203 (parsing_stdin): New flag.
1204 (longopts): New option --parse-stdin=NAME.
1205 (print_help): Document it.
1206 (main): Handle it.
1207 (process_file): Split into process_file and process_file_name.
1208 (process_file_name): New function.
1209
88c71720 1210 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 1211 (TeX_commands): Skip comments.
5526f1f6
FP
1212 (TEX_defenv): Now contains more contructs.
1213 (TEX_cmt): Make it a static char and move it before TeX_commands.
1214 (TeX_commands): Shorten the tag to the brace after the name.
1215 (TeX_commands): Names now include the initial backslash.
1216 (TeX_commands): Names do not include numeric args #n.
1217 (TeX_commands): Correct line char number in tags.
1218 (TEX_tabent, TEX_token): Deleted.
1219 (TeX_commands, TEX_decode_env): Streamlined.
1220
ecc54057 12212002-06-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
50496bd9
FP
1222
1223 * etags.c (main): Avoid a buffer overrun with sprintf.
1224
a71867c5
RS
12252002-05-30 Richard M. Stallman <rms@gnu.org>
1226
1227 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1228 (LIBS_MOVE): Renamed from MOVE_LIBS.
1229
b7e67db6
PE
12302002-05-26 Paul Eggert <eggert@twinsun.com>
1231
1232 Reinstate the following change from 2002-03-22, which was
1233 inadvertently lost on 2002-04-13.
1234
1235 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1236 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1237 the latter usage.
1238
5f226e2c
EZ
12392002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1240
1241 * pop.c (socket_connection): Move the code to resolve the POP
1242 host right before trying to connect with it.
1243
5167cfda
CW
12442002-04-28 Colin Walters <walters@verbum.org>
1245
1246 * Makefile.in (${archlibdir}): Don't conditionalize on
1247 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1248 or not we have access to the specified game user.
50496bd9 1249
5167cfda
CW
1250 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1251 (main): New argument -d, for specifying directory.
1252 (usage): Document.
02ce3e80 1253 (get_user_id): Compute.
5167cfda
CW
1254 (get_home_dir): Deleted.
1255 (get_prefix): New function, taken from main.
1256 (main): Check whether or not we are running setuid. Move prefix
1257 computation to get_prefix. Don't call getpwent; we don't need to
1258 any more. Instead, move it to get_user_id().
1259
beedfcf1
PJ
12602002-04-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1261
1262 * ebrowse.c (skip_initializer): Return void.
1263
973c3c87
CW
12642002-04-23 Colin Walters <walters@verbum.org>
1265
1266 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1267 space.
1268
ecc54057 12692002-04-22 Francesco Potort\e,Al\e(B <pot@gnu.org>
8378bcd3 1270
ecc54057 1271 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
1272 (process_file): Print the tags from the nodes as soon as
1273 possible, and delete the nodes. This brings down the memory
1274 occupancy as etags to almost the same level as when the #line
1275 directives were not parsed.
1276 (free_fdesc): New function.
1277 (find_entries): Use it.
1278 (invalidate_nodes): In etags mode, do not just mark the nodes as
1279 invalid, do delete them.
1280
c901ceff
GM
12812002-04-21 Gerd Moellmann <gerd@gnu.org>
1282
1283 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1284
c42d6dbd
EZ
12852002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1286
1287 * update-game-score.c: Move config.h before the other headers, to
1288 avoid compiler warnings.
1289
ecc54057 12902002-04-16 Francesco Potort\e,Al\e(B <pot@gnu.org>
090416ca
FP
1291
1292 * etags.c (find_entries): Bug fix in list management.
1293
ecc54057 12942002-04-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
5dab24c1
FP
1295
1296 * etags.c (get_language_from_filename): Add one argument.
1297 (strcaseeq): New function.
1298 (get_language_from_filename): Use it to do a case insenstitive
1299 comparison if called with appropriate args.
1300 (find_entries): Try with case insensitive match.
1301 (process_file): Bug fixed.
1302
ecc54057 13032002-04-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
c150db23
FP
1304
1305 * etags.c (find_entries): Delete tags previously obtained from
1306 file xxx.c's #line directives when parsing file xxx.y. This is
1307 generally done for automatically generated files containing
1308 #line directives. This handles the case when xxx.y is tagged
1309 before xxx.c, and the entries of xxx.c pointing to xxx.y should
1310 be discarded.
eec54bd7 1311 (language): Add the metasource member. Initializers changed.
c150db23
FP
1312 (invalidate_nodes): New function.
1313 (readline): Discard lines after having found a #line
02ce3e80 1314 directive pointing to an already tagged file. This handles the
c150db23
FP
1315 case when xxx.y is tagged before xxx.c, and the entries of
1316 xxx.c pointing to xxx.y should be discarded.
1317 (fdesc): New structure for keeping track of input files.
1318 (fdesc): Remove `file' member (a string) and use instead a pointer
1319 to a file description structure.
02ce3e80
SM
1320 (curfile, curfiledir, curtagfname, curlang, nocharno)
1321 (forced_lang): Global variables removed in favor of fdhead and
c150db23
FP
1322 curfdp, pointers to file description strucures.
1323 (longopts, main, print_help): Use the CTAGS conditional to include
1324 or exclude options that work on etags or ctags only.
02ce3e80
SM
1325 (process_file, find_entries, pfnote, add_node, put_entries)
1326 (readline): Use fdhead and curfdp.
c150db23
FP
1327 (process_file, find_entries): Do not take an arg string, all
1328 callers changed.
1329
1330 * etags.c (longopts, print_help, main): Test CTAGS to disallow
1331 options that are not right for either etags or ctags.
1332
1333 * etags.c (number_len, total_size_of_entries): Define them also
1334 in CTAGS mode, because gcc does not compile all refs away.
1335
e9d1f248
CW
13362002-04-14 Colin Walters <walters@debian.org>
1337
1338 * update-game-score.c (lock_file): If the lock file is older than
1339 an hour, delete it. Reset attempts to zero if we have to break
1340 the lock.
1341
7605f1bd
AS
13422002-04-14 Andreas Schwab <schwab@suse.de>
1343
1344 * update-game-score.c (read_score): Fix type of second parameter
1345 of getdelim to be of type size_t instead of int. Use 0 instead of
1346 ESUCCES.
1347
e82defd1
CW
13482002-04-10 Colin Walters <walters@verbum.org>
1349
ecc54057 1350 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
1351 (MAX_DATA_LEN, MAX_SCORES): New.
1352 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1353 default to ~/.emacs.d/games.
1354 (get_user_id): Don't zero uid in the case where we can't get the
1355 username.
1356 (lose): New function.
1357 (main): Actually use `max', and default it to MAX_SCORES.
1358 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
1359 function.
1360 (read_score): Handle the case of reading unamelen characters, then
1361 finishing. Use mktemp if mkstemp isn't available.
1362 (lock_file, unlock_file): Delete unused versions.
1363 (lock_file): Always sleep, even if we unlinked the lock file.
1364
e82defd1
CW
1365 * Makefile.in (gamedir, gameuser): New variables.
1366 (toplevel, UTILITIES): Add update-game-score.
1367 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
1368
5795b420
CW
13692002-04-07 Colin Walters <walters@verbum.org>
1370
1371 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
1372 (get_user_id): Take struct passwd as an argument.
1373 (get_home_dir): New function.
1374 (main): Read in user information here. Discover home directory if
1375 necessary.
1376 (read_score): Trim newline only in `getline' case.
1377
cd553ffb 13782002-04-05 Colin Walters <walters@debian.org>
c150db23 1379
cd553ffb
CW
1380 * update-game-score.c (toplevel): Include pwd.h.
1381 (struct score_entry): Add username field.
1382 (push_score): Use it.
1383 (get_user_id): New function.
1384 (main): Don't malloc excessively.
1385 (main): Use username field.
1386 (read_score): Read it.
1387 (push_score): Handle it.
1388 (write_scores) Write it.
c150db23
FP
1389 (read_score): Handle arbitrary length data.
1390
b74bd4a3
EZ
13912002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
1392
1393 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
1394
fa8bc89d
GM
13952002-03-29 Gerd Moellmann <gerd@gnu.org>
1396
1397 * ebrowse.c (add_declarator, skip_initializer): New functions.
1398 (declaration): Use them.
1399
dd87b4cc
JR
14002002-03-28 Jason Rumney <jasonr@gnu.org>
1401
1402 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
1403
cd553ffb
CW
14042002-03-27 Colin Walters <walters@debian.org>
1405
1406 * update-game-score.c: New file.
1407
dfef6d49
PE
14082002-03-22 Paul Eggert <eggert@twinsun.com>
1409
1410 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1411 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1412 the latter usage.
1413
ecc54057 14142002-03-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
a13d6523 1415
4fff90e4 1416 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
1417 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1418 (TeX_commands): Name tags. Correction of old disabled code.
1419
1420 * etags.c (curfiledir, curtagfname): New global variables.
1421 (process_file): Initialise them.
1422 (readline): Canonicalize the name found in #line directive.
893a741e 1423
4fff90e4 14242002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 1425
893a741e
JR
1426 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1427 compilers that don't optimize out dead code.
1428
ecc54057 14292002-03-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
51aeded3
FP
1430
1431 * etags.c: Honour #line directives.
1432 (no_line_directive): New global var; set it for old behaviour.
1433 (main): Remove some #ifdef in the getopt switch.
1434 (add_node, put_entries): Code added to merge different chunks of
1435 nodes referring to the same file. Currently the tags are just
1436 appended, without any check for duplicates.
1437 (Perl_functions): Do not special case ctags.
1438 (readline): Identify #line directives and do the right thing.
1439 (nocharno, invalidcharno): New global vars.
1440 (process_file): Reset nocharno.
1441 (readline): Set nocharno.
1442 (pfnote): Read nocharno and maybe put invalidcharno in node.
1443 (total_size_of_entries, put_entries): Use invalidcharno.
1444
1445 * etags.c: Keep the whole tag table in memory, even in etags mode.
1446 (main): Call put_entries here even in CTAGS mode.
1447 (main, process_file): Check the return values of fclose and pclose.
1448 (process_file): Do not call put_entries after parsing each file.
1449 (process_file): Canonicalise file names even for ctags.
1450 (process_file): Set curfile here...
1451 (find_entries): ... not here any more.
1452 (add_node): In etags mode, build a linked list of entries (on
1453 right pointer) for each file, and link the first entry of each
1454 file on left nodes.
1455 (put_entries): Print here the name of the file.
1456 (put_entries): Print the entries starting from the first file.
c150db23 1457 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
1458 mode, make the second work only on the right nodes.
1459
1460 * etags.c: Make all global variables static.
1461
50ce1f62
JB
14622002-02-25 Juanma Barranquero <lektu@terra.es>
1463
1464 * makefile.w32-in (lisp): Add missing backslash.
1465
82a399d2
JR
14662002-02-24 Jason Rumney <jasonr@gnu.org>
1467
1468 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
1469 using .elc files.
1470 (lisp): Sync with list in src/Makefile.in
1471 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
1472
a279c920
PE
14732002-02-10 Paul Eggert <eggert@twinsun.com>
1474
1475 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
1476 disallows the old syntax.
1477
0caa685d
PE
14782002-02-03 Paul Eggert <eggert@twinsun.com>
1479
1480 * rcs2log(Copyright): Update to 2002.
1481 (AWK, TMPDIR): Work around portability problem in broken shells that
1482 don't understand `: ${VAR=val}'.
1483 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
1484 Prefer the new -k option to the traditional +M -N option.
1485
03950b5b
PJ
14862002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1487
1488 * b2m.c (main): Parenthesize assignment when used as truth value
1489 to prevent gcc warnings.
1490
1491 * fakemail.c: Include <config.h>.
1492
2f8fe2f4
PJ
14932001-12-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1494
1495 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1496 * yow.c: Include <config.h>.
1497
ecc54057 14982001-12-21 Francesco Potort\e,Al\e(B <pot@gnu.org>
a60e4de9
FP
1499
1500 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1501 (get_tag): Return a pointer to the tag that is found.
1502
1503 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1504 (F_takeprec): Renamed from takeprec. All callers changed.
1505 (F_getit): Renamed from getit. All callers changed.
1506 (nocase_tail): Renamed from tail. All callers changed.
1507 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 1508 (L_getit): Simplify by using get_tag.
a60e4de9
FP
1509 (Perl_functions, Postscript_functions, erlang_attribute): Use the
1510 modified LOOKING_AT.
1511 (notinname): Removed '[' and added ')' to the recognised chars.
1512 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
1513 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
1514 Clarified, using strneq or notinname.
1515 (L_isdef, L_isquote): Removed.
1516 (Lisp_functions, L_getit): Clarified.
1517
ecc54057 1518 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
1519 [HAVE_CONFIG_H]: Let config.h deal with __P.
1520 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
1521 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
1522 gperf code needs it.
ecc54057
JB
1523 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
1524 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
1525 (xmalloc, xrealloc): Use PTR instead of long *.
1526 (bool): Make it a define, not a typedef, for C++ compilers.
1527 (pattern): Members renamed to avoid name clash in some C++ compilers.
1528 (get_language_from_langname): Use const argument.
1529
c95eaa61
PJ
15302001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1531
1532 * makefile.nt, makefile.w32-in: Remove mocklisp files.
1533
69bfc389
PJ
15342001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1535
b8509940
PJ
1536 * emacsserver.c: Conditionally include config.h.
1537
594aa066
PJ
1538 * fakemail.c: Likewise.
1539
e69233c2
PJ
1540 * emacsclient.c: Include "config.h", not <../src/config.h>.
1541 (main): Parenthesize assignment when used as truth value to
1542 prevent gcc warnings.
1543
69bfc389
PJ
1544 * ebrowse.c: Include stdlib.h and string.h conditionally.
1545
e4e34e31
EZ
15462001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
1547
1548 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
1549
ffb7c9c6
PJ
15502001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1551
1552 * test-distrib.c: Fix previous change.
1553
fb5aa7ac
DL
15542001-12-18 Dave Love <fx@gnu.org>
1555
1556 * test-distrib.c: Conditionally include fcntl.h.
1557
1558 * fakemail.c: Include "config.h", not <../src/config.h>.
1559 (_XOPEN_SOURCE): Define as 500.
1560
1561 * emacsserver.c: Include "config.h", not <../src/config.h>.
1562
1563 * cvtmail.c: Include config.h, stdlib.h.
1564 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
1565
1566 * yow.c: Conditionally include various headers. Use "epaths.h",
1567 not <../src/epaths.h>.
1568 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1569
ecc54057 15702001-12-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
e94a3679 1571
13dc0576 1572 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
1573 (LOOKING_AT): New macro.
1574 (Perl_functions, Python_functions, PHP_functions)
1575 (Scheme_functions, Texinfo_nodes): Use it.
1576 (Perl_functions): Use strneq.
1577 (prolog_pred): Renamed to prolog_pr.
13dc0576 1578 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 1579 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 1580 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
1581 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
1582
34e39c95
RS
15832001-12-11 Richard M. Stallman <rms@gnu.org>
1584
1585 * Makefile.in (clean): Don't delete ../etc/DOC*.
1586
296071e7
PJ
15872001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1588
1589 * COPYING: Moved back.
1590
76054cc8
AI
15912001-11-30 Andrew Innes <andrewi@gnu.org>
1592
e94a3679
FP
1593 * makefile.w32-in (FACE_SUPPORT):
1594 (MOUSE_SUPPORT):
1595 (FLOAT_SUPPORT):
1596 (WINNT_SUPPORT):
76054cc8
AI
1597 (lisp): Reference .el files instead of .elc files, to simplify
1598 bootstrapping.
1599 ($(DOC)): Change dependency to just `make-docfile'.
1600
0142178a
PJ
16012001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1602
1603 * COPYING: Removed.
1604
e8d6a09b
PE
16052001-11-28 Paul Eggert <eggert@twinsun.com>
1606
1607 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
1608
1609 The following changes are derived from suggestions by Bob Chapman
1610 <rechapman@compuserve.com>.
1611
1612 * rcs2log (printlogline): Also allow tab and newline to separate
1613 '(function):' from the rest of a comment.
1614 (reformat the sorted log entries): Require date and author to
1615 match the clumpname.
1616
9a190096
GM
16172001-11-16 Gerd Moellmann <gerd@gnu.org>
1618
1619 * ebrowse.c (matching_regexp): Escape '\\'.
1620
8ec1b917
PJ
16212001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1622
1623 * Makefile.in: Add support for --program-prefix, --program-suffix
1624 and --program-transform-name options.
1625
6d8f7d5d
RS
16262001-11-03 Richard M. Stallman <rms@gnu.org>
1627
1628 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
1629
1630 * movemail.c (popmail): Always pass two args to `error'.
1631
84e70f78
KR
16322001-10-24 Ken Raeburn <raeburn@gnu.org>
1633
1634 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
1635 -lhesiod and maybe -lresolv.
1636 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
1637 support if it's available.
1638
386ca361
MB
16392001-10-21 Miles Bader <miles@gnu.org>
1640
a3b10252
MB
1641 * make-docfile.c (struct rcsoc_state): New type.
1642 (read_c_string_or_comment): Add SAW_USAGE
386ca361 1643 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
1644 Use a variable of type `rcsoc_state' to hold most of our state.
1645 (put_char): Add STATE parameter, and remove all other parameters
1646 except CH. Use STATE to get access to all needed state.
1647 (scan_keyword_or_put_char): New function.
386ca361
MB
1648 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
1649 Don't output a usage-string if there was one in the doc-string.
1650
71431a0e
GM
16512001-10-20 Gerd Moellmann <gerd@gnu.org>
1652
6aa97356 1653 * (Version 21.1 released.)
71431a0e 1654
37a9305e
PJ
16552001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1656
1657 * b2m.c: Properly spell the name of Emacs.
1658
945220bd
MB
16592001-10-17 Miles Bader <miles@gnu.org>
1660
1661 * make-docfile.c (put_char): New function.
1662 (read_c_string_or_comment): Strip trailing spaces and newlines.
1663
14242528
MB
16642001-10-16 Miles Bader <miles@gnu.org>
1665
1666 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
1667 comments [with `doc:' keyword prefix].
1668
9f5eb4a3
GM
16692001-10-15 Gerd Moellmann <gerd@gnu.org>
1670
1671 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
1672 in a C doc comment.
1673
e641b454
GM
16742001-10-13 Gerd Moellmann <gerd@gnu.org>
1675
1676 * make-docfile.c (read_c_string_or_comment): Renamed from
1677 read_c_string. Add parameter COMMENT. Read C-style comments.
1678 (scan_c_file): Handle doc strings in C comments.
1679
967d7793
AI
16802001-10-12 Andrew Innes <andrewi@gnu.org>
1681
1682 * makefile.nt (ALL): Do not include fakemail.
1683
1684 * makefile.w32-in (install): Do not copy fakemail.
1685
d682756a
JR
16862001-10-10 Jason Rumney <jasonr@gnu.org>
1687
1688 * makefile.w32-in (ALL) Do not include fakemail.
1689
1690 * makefile.nt (install) Ditto.
1691
14a3dff7
GM
16922001-10-09 Gerd Moellmann <gerd@gnu.org>
1693
1694 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 1695
95bc7904 1696 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 1697
f98d41f5
PJ
16982001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1699
1700 * profile.c: Include config.h, not ../src/config.h.
1701 Include systime.h, not ../src/systime.h.
1702
ab952a4f
GM
17032001-10-05 Gerd Moellmann <gerd@gnu.org>
1704
1705 * Branch for 21.1.
dff28924 1706
12c64503
GM
17072001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
1708
1709 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
1710 ALIASEE to help work with namespace aliases.
1711 (struct sym): Remove struct member NAMESP_ALIASES.
1712 (namespace_alias_table): New variable.
1713 (make_namespace): Add parameter CONTEXT.
1714 (check_namespace): New function.
1715 (find_namespace): Add parameter CONTEXT.
1716 (check_namespace_alias): New function.
02ce3e80
SM
1717 (register_namespace_alias): Change type of parameter OLD_NAME.
1718 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
1719 (check_namespace): New function.
1720 (enter_namespace): Call find_namespace with CONTEXT parameter.
1721 (match_qualified_namespace_alias): New function.
eec54bd7 1722 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 1723 While parsing qualified ident or type update namespace context and
12c64503 1724 restore it on exit.
eec54bd7
SM
1725 (parse_qualified_param_ident_or_type): Fix typo in comment.
1726 (globals): Change handling of namespace aliases.
1727 (version): Add year 2001.
12c64503 1728
990e1190
FP
17292001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1730
1731 * etags.c (analyse_regex): If regex_arg is NULL, return
1732 immediately after a call to free_patterns.
1733
f2e7e23e
AS
17342001-09-05 Paul Eggert <eggert@twinsun.com>
1735
1736 * rcs2log (Help, mainline code): Add new option -L FILE.
1737 (Copyright): Update year.
02ce3e80
SM
1738 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
1739 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
1740 C locale.
1741 (mainline code): Handle nonstandard -u option differently, by
1742 transforming it to standard form. Check for "Working file: ", not
1743 "Working file:". Allow file names with spaces.
1744 (SOH, rlogfile): New shell vars.
dff28924 1745 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
1746 rlogfile.
1747
1748 Append ';;' to the last arm of every case statement, for
1749 portability to ancient broken BSD shells.
1750
02ce3e80 1751 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
1752 (pository): New var. This fixes some bugs where repositories are
1753 remote, or have trailing slashes.
02ce3e80 1754 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 1755 about that possibility.
dff28924 1756 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 1757 the output.
dff28924 1758
75c911eb
EZ
17592001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1760
1761 * ebrowse.c (SEEK_END): #define if not defined by system headers.
1762 Suggested by Dave Love <d.love@dl.ac.uk>.
1763
5ae10f4a
EZ
17642001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1765
1766 * makefile.nt (lisp): Synchronize with src/Makefile.in.
1767 * makefile.w32-in (lisp): Ditto.
1768
0e4011d8 17692001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
1770
1771 * grep-changelog (parse_changelog): Remove unused local variable.
1772
1773 * grep-changelog (main): Add new option --reverse.
1774 (print_log): Use it.
1775 (parse_changelog): Use it.
1776
3c88ae74
GM
17772001-07-20 Gerd Moellmann <gerd@gnu.org>
1778
1779 * grep-changelog: Remove RCS Id keyword.
1780
41848daa
GM
17812001-07-20 Juanma Barranquero <lektu@terra.es>
1782
6e07c0a5
GM
1783 * grep-changelog (parse_changelog): Add tests for defined values
1784 to quiet warning from Perl 5.005 or above.
177ab8ce 1785 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
1786 argument to prevent duplicate headers.
1787
1788 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 1789
467f1209
GM
17902001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
1791
1792 * emacsclient.c (print_help_and_exit): Fix help message for
1793 +LINE:COLUMN option.
1794
17952000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 1796
467f1209
GM
1797 * emacsclient.c (main): Add support for +LINE:COLUMN command line
1798 argument.
1799
bb24c64f
GM
18002001-07-16 Gerd Moellmann <gerd@gnu.org>
1801
1802 * ebrowse.c (main): Check that the output file exists and
1803 is non-empty if invoked with `--append'.
1804
ecc54057 18052001-05-14 Francesco Potort\e,Al\e(B <pot@gnu.org>
fa829470 1806
e335b66a
GM
1807 * etags.c (add_regex): Reset the whole newly allocated pattern
1808 buffer instead of the individual members. It's safer and works
ecc54057 1809 with XEmacs.
fa829470 1810
e335b66a 1811 * etags.1: Markups corrected.
fa829470 1812
6da5c7da
GM
18132001-05-08 Gerd Moellmann <gerd@gnu.org>
1814
02ce3e80 1815 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 1816
efbecf9d
GM
18172001-05-03 Gerd Moellmann <gerd@gnu.org>
1818
1819 * ebrowse.c (globals): Fix handling of namespace aliases.
1820
f4976ebc
EZ
18212001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
1822
1823 * etags.c (print_help): Enclose the regexp in the help text
1824 example in quotes.
1825
23431241
DL
18262001-04-05 Dave Love <fx@gnu.org>
1827
1828 * emacsclient.c (fail): Don't return a value.
fa829470 1829 (main): Cast uid values for sprintf.
23431241 1830
476bf681
GM
18312001-04-03 Gerd Moellmann <gerd@gnu.org>
1832
b3f6107b
GM
1833 * emacsclient.c (fail, main): Don't use implicit int return type.
1834
476bf681
GM
1835 * b2m.c (main): Always return a value.
1836
ef53d75e
GM
18372001-03-02 Gerd Moellmann <gerd@gnu.org>
1838
1839 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
1840 freshly allocated object in *LAST_ID.
1841 (read_line): Accept \r\n line endings.
1842
425de386
AI
18432001-02-24 Andrew Innes <andrewi@gnu.org>
1844
1845 * makefile.w32-in: Fix copyright notice.
1846
ecc54057 18472001-02-23 Francesco Potort\e,Al\e(B <pot@gnu.org>
f55ae599
FP
1848
1849 * etags.c (enum sym_type): New label st_C_template.
1850 (gperf input): Use it for switching to C++ from C.
1851 (consider_token): Do it.
c2a642c0
FP
1852 (C_entries): Initialise typdefcblev to quiet compilers.
1853 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 1854
f6839838
AI
18552001-02-22 Andrew Innes <andrewi@gnu.org>
1856
1857 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
1858 VMS header files.
1859 ($(BLD)\profile.obj): Ditto.
1860
1861 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
1862 VMS header files.
1863 ($(BLD)/profile.$(O)): Ditto.
1864
193fba87
AI
18652001-02-05 Andrew Innes <andrewi@gnu.org>
1866
1867 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
1868 invocation of make-docfile, to work with Windows 2000.
1869
30526cc6
DL
18702001-01-31 Dave Love <fx@gnu.org>
1871
1872 * etags.c (in_word_set): Use `static' in definition (for pcc).
1873
ecc54057 18742001-01-31 Francesco Potort\e,Al\e(B <pot@gnu.org>
8f79fe72 1875
ecc54057 1876 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
1877 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
1878 (C_entries): Tag token renamed to still_in_token because sunos4
1879 pcc wants to expand it as the token() macro even though it has no
1880 arguments.
1881
914d7258
AI
18822001-01-30 Andrew Innes <andrewi@gnu.org>
1883
1884 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
1885 bug in the Mingw32 assert.h header file.
1886
ecc54057 18872001-01-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
b28e26be 1888
ecc54057
JB
1889 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
1890 #define it for the sake of XEmacs.
b28e26be
FP
1891 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
1892 HAVE_CONFIG_H. This change only affects a standalone etags.
1893 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
1894 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
1895 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
1896 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
1897 WINDOWSNT, as this is the correct way to use it.
1898
ecc54057 18992001-01-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
8c463abe
FP
1900
1901 * etags.c: Be capable to parse nested struct-like structures.
1902 (structdef, structtag): Struct state machine revisited.
1903 (struct tok): Revisited.
1904 (cstack, nestlev, instruct): New struct and macros.
1905 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 1906 for dealing with nested class names.
8c463abe
FP
1907 (consider_token, make_C_tag, C_entries): Many changes for dealing
1908 with arbitrarily nested structures.
1909 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
1910 (C_entries): Consider templates in C++.
1911 (sym_type): New constant st_C_class for detecting "class" also in
1912 C mode.
1913 (C_AUTO): New macro for automatic detection of C++.
1914 (consider_token): Automatic set C++ mode.
1915 (C_entries): New security check for yacc.
1916 (print_language_names, print_help): Mention the autodetect
1917 feature, do not show help for the -C option, now mostly useless.
1918 (C_entries): Tag C++ forward declarations if --declarations.
1919 (C_entries): Don't be fooled by things like XDEFUN.
1920 (consider_token): Discard asm pseudo function.
1921
e26f9ced
EZ
19222001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
1923
1924 * etags.c: Add a coding: tag.
1925
a47b7816
GM
19262001-01-26 Gerd Moellmann <gerd@gnu.org>
1927
8c463abe 1928 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
1929 New variables.
1930 (matching_regexp): Use them instead of static variables in
1931 function scope.
1932
ecc54057 19332001-01-25 Francesco Potort\e,Al\e(B <pot@gnu.org>
d22a24fa
FP
1934
1935 * etags.c (struct tok): Renamed from struct token.
1936 (token): Renamed from tok.
1937 (structtype): Make it a local variable.
1938 [DEBUG]: Use assert.
1939 (xrnew): Change the synopsis.
1940 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
1941 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 1942 (token): Buffer renamed to line.
d22a24fa 1943 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 1944 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
1945 (linebuffer_setlen): Was grow_buffer, now also sets len.
1946 (consider_token, C_entries, Pascal_functions): Use it.
1947 (C_entries): Preventing problems relative to extern "C".
1948 (C_entries): Can tag more than one variable or func separated by
1949 comma when --declarations is used.
1950 (C_entries): More accurate tagging of members and declarations.
1951 (yacc_rules): Was global, made local to C_entries.
1952 (next_token_is_func): Removed.
1953 (fvdef): New constants fdefunkey, fdefunname.
1954 (consider_token, C_entries): Use them.
1955 (C_entries): Build proper lisp names for Emacs DEFUNs.
1956
21c2bbe0
GM
19572001-01-22 Gerd Moellmann <gerd@gnu.org>
1958
1959 * ebrowse.c (xfree): New function.
1960 (member, declaration, globals): Use xmalloc instead of alloca.
1961
ecc54057 19622001-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
83be933c
FP
1963
1964 * etags.c (print_language_names): Print filenames in addition to
1965 suffixes.
1966
ecc54057 19672001-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org>
47df1a5e
EZ
1968
1969 * etags.c (get_language_from_langname): Renamed from
1970 get_language_from_name.
eec54bd7
SM
1971 (get_language_from_filename): Renamed from get_language_from_suffix.
1972 Now first looks for the complete file name.
47df1a5e
EZ
1973 (language): New member char **filenames.
1974 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 1975 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 1976 for makefiles.
13dc0576 1977 (Makefile_targets): New function.
47df1a5e
EZ
1978 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
1979 it conformant to the style of the rest of the code.
1980
291c7e74
GM
19812001-01-13 Gerd Moellmann <gerd@gnu.org>
1982
1983 * make-docfile.c (write_c_args): Print newlines as spaces.
1984
0dac6924
AI
19852001-01-06 Andrew Innes <andrewi@gnu.org>
1986
1987 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
1988 of *.pdb.
1989
3e99d3b4
GM
19902001-01-03 Paul Eggert <eggert@twinsun.com>
1991
1992 * lib-src/rcs2log: Avoid security hole allowing attacker to
1993 cause user of rcs2log to overwrite arbitrary files, fixing
1994 a bug reported by Morten Welinder.
1995
1996 Don't put "exit 1" at the end of the exit trap; it's
1997 ineffective in POSIX shells.
1998
d6bb0c0d
GM
19992001-01-02 Gerd Moellmann <gerd@gnu.org>
2000
eec54bd7
SM
2001 * ebrowse.c (yyerror): Change to take two arguments.
2002 Add prototype. Change callers.
d6bb0c0d 2003
d5c00476 20042001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2005
2006 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2007 compiler warnings.
2008 (yyerror): Change parameter declarations to be of type long, so
2009 that they can take pointers on 64-bit platforms.
2010
2011 * emacsclient.c (main): Remove unused local variable statbfr.
2012 (main) <homedir>: Make its declaration conditional on
2013 SERVER_HOME_DIR, to avoid compiler warnings.
2014
2015 * emacsserver.c (main) <homedir>: Make its declaration conditional
2016 on SERVER_HOME_DIR, to avoid compiler warnings.
2017
2018 * fakemail.c (readline): Cast buffer to "long *" to pacify
2019 over-zealous compilers.
2020
7c89ea61
EZ
20212000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2022
2023 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2024
a6768cc5
GM
20252000-12-15 Gerd Moellmann <gerd@gnu.org>
2026
2027 * ebrowse.c (operator_name): Cast argument of isalpha to
2028 unsigned char.
2029
2030 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2031 Use them throughout instead of ctype functions/macros.
2032 (lowcase): Cast to unsigned char.
2033 (UPCASE): New macro.
2034 (canonicalize_filename): Use UPCASE instead toupper.
2035
2036 * fakemail.c (get_keyword): Make sure that isspace and
2037 similar aren't called with a negative argument.
2038
70de49cc
DL
20392000-12-13 Dave Love <fx@gnu.org>
2040
2041 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2042
4e8b894c
AI
20432000-12-06 Andrew Innes <andrewi@gnu.org>
2044
2045 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2046 don't know the real version, and I can't seem to get the quoting
2047 right in all circumstances.
2048
2049 * ebrowse.c (VERSION): Provide default definition, like etags.c
2050 does, because Windows build can't snarf this from version.el.
2051
88257bc8
AI
20522000-11-30 Andrew Innes <andrewi@gnu.org>
2053
2054 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2055 (install): Ditto.
2056
d19249e7
JR
20572000-11-23 Jason Rumney <jasonr@gnu.org>
2058
2059 * makefile.w32-in: Add targets for ebrowse.exe.
2060 (LOCAL_FLAGS): Add -DVERSION flag.
2061
7df6adc3
DL
20622000-09-25 Dave Love <fx@gnu.org>
2063
2064 * sorted-doc.c: Include config.h.
2065 [!HAVE_STDLIB_H]: Declare malloc.
2066
fe83b953
AI
20672000-09-14 Andrew Innes <andrewi@gnu.org>
2068
2069 * makefile.w32-in: Revert to Unix line endings.
2070
517699ca
DL
20712000-09-04 Dave Love <fx@gnu.org>
2072
2073 * movemail.c (index, rindex): Prototype conditionally.
2074
f8803e97
AI
20752000-09-03 Andrew Innes <andrewi@gnu.org>
2076
2077 * makefile.w32-in: Change to DOS line endings.
2078
f72adc12
EZ
20792000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2080
4034f3a8 2081 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2082 [!F_OK]: Provide default definitions only after including both
2083 fcntl.h and unistd.h.
2084
f678f592
DL
20852000-08-29 Dave Love <fx@gnu.org>
2086
2087 * movemail.c: Revert previous change.
2088
5b671d04
EZ
20892000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2090
2091 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2092
6fa86045
DL
20932000-08-28 Dave Love <fx@gnu.org>
2094
2095 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2096 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2097
746d9caf
AI
20982000-08-22 Andrew Innes <andrewi@gnu.org>
2099
2100 * ntlib.h (WIN32): Remove unnecessary definition.
2101 (sleep): Make argument unsigned long.
2102 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2103
2104 * ntlib.c (sleep): Make argument unsigned long.
2105
2106 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2107
2108 * makefile.w32-in: New file.
2109
3b541489
EZ
21102000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2111
2112 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2113 letter only if it is a drive letter.
2114
e5acf0ca
GM
21152000-07-14 Gerd Moellmann <gerd@gnu.org>
2116
02ce3e80 2117 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
2118
2119 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2120 by alloca.o.
2121
02ce3e80 2122 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 2123
4b92c49a
GM
21242000-07-10 Gerd Moellmann <gerd@gnu.org>
2125
2126 * ebrowse.c (yylex): Accept string literals with newlines in them.
2127 (process_pp_line): Handle case of string literal with newline
2128 in it in replacement text, which counts as continuing the
2129 replacement text in GNU C.
2130
831a6cb0
GM
21312000-07-02 Gerd Moellmann <gerd@gnu.org>
2132
2133 * ebrowse.c (token_string): Add missing tokens.
2134 (parm_list): Handle case of qualified pointers.
2135
53245ee2
DL
21362000-06-23 Dave Love <fx@gnu.org>
2137
2138 * ebrowse.c: Move config.h before other includes (which may use
2139 feature tests).
2140
dcbf2cd2
JM
21412000-06-14 Jim Meyering <meyering@lucent.com>
2142
2143 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2144
f1c7754a
JR
21452000-06-11 Jason Rumney <jasonr@gnu.org>
2146
2147 * makefile.nt: Add targets for ebrowse.
2148
2149 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2150 compare filenames.
2151
5f1aea9a
GM
21522000-06-06 Gerd Moellmann <gerd@gnu.org>
2153
2154 * ebrowse.c (ymalloc): Renamed from xmalloc.
2155 (yrealloc): Renamed from xrealloc.
2156
5bf244f1
DL
21572000-05-21 Dave Love <fx@gnu.org>
2158
2159 * movemail.c: Include config.h, not ../src/config.h.
2160 (Errmsg): Bump length.
2161
2162 * pop.c (ERROR_MAX): Increase to 160.
2163
ec82fb2f
GM
21642000-05-04 Gerd Moellmann <gerd@gnu.org>
2165
2166 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2167
5c922ea7
EZ
21682000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2169
02ce3e80
SM
2170 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2171 Define to semi-colon.
5c922ea7 2172 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 2173 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
2174 (process_file): Don't assume that fread always reads as many bytes
2175 as it was told to (DOS-style CR-LF text files fail this logic).
2176 (open_file): Allocate enough space for path->path plus the file
2177 name and the slash.
2178
6142fdcb 21792000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
2180
2181 * etags.c (Texinfo_functions): New function.
2182 (lang_names): Install it.
2183 (Texinfo_suffixes): New variable.
2184
cb9215e4
GM
21852000-04-19 Gerd Moellmann <gerd@gnu.org>
2186
2187 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2188 (declaration): Remove parameter IS_EXTERN.
2189 (class_definition): Remove unused variable.
2190
be0dbdab
GM
21912000-04-09 Gerd Moellmann <gerd@gnu.org>
2192
2193 * Makefile.in (INSTALLABLES): Add ebrowse.
2194 (ebrowse): New target.
2195
2196 * ebrowse.c: New file.
2197
c5aa0fc2
AS
21982000-03-29 Andreas Schwab <schwab@suse.de>
2199
2200 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2201
d054101f
GM
22022000-03-02 Gerd Moellmann <gerd@gnu.org>
2203
2204 * etags.c (lisp_suffixes) Add `LSP'.
2205
ecc54057 22062000-02-10 Francesco Potort\e,Al\e(B <pot@gnu.org>
71cbb895 2207
eec54bd7 2208 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
2209 space, and use it throughout in place of isspace, thus preventing a
2210 potential signed char to int conversion problem.
2211 (MSDOS): #undefine befere redefining
2212
ecc54057 22132000-02-04 Francesco Potort\e,Al\e(B <pot@gnu.org>
71cbb895
FP
2214
2215 * etags.c (many functions): Add prototypes.
2216
97fa0cc8
DL
22172000-02-10 Dave Love <fx@gnu.org>
2218
2219 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2220 (erlang_func): Add `static' to definitions to keep pcc happy.
2221
ecc54057 22222000-01-31 Francesco Potort\e,Al\e(B <pot@gnu.org>
e4100b7f
FP
2223
2224 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2225 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2226 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2227 (getenv, getcwd): Only declare them if necessary.
2228 (EMACS_NAME): New constant macro.
2229 (print_version): Use it.
2230 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 2231
19e262bd 22322000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
2233
2234 * etags.c [WINDOWSNT]: #include <direct.h>
2235
19e262bd 22362000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 2237
19e262bd
FP
2238 * etags.c (all functions): Made them static.
2239 (all functions): Write prototypes.
e4100b7f 2240
55e30d2a
RS
22412000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2242
2243 * movemail.c (main): Improve error message if can't create lock file.
2244
c60ee5e7 22452000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
2246
2247 * emacsclient.c (socket_status): New function.
02ce3e80 2248 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
2249 for a socket based on the UID associated with the name.
2250
e4936aa9
GM
22512000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2252
2253 * emacsclient.c: Add option -a EDITOR and environment variable
2254 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2255
c60ee5e7 22561999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
2257
2258 * movemail.c (popmail): Allow mailbox specifications of the
2259 form `po:username:hostname'.
2260
ecc54057 22611999-11-19 Francesco Potort\e,Al\e(B <pot@gnu.org>
e2081362
FP
2262
2263 * etags.c (_GNU_SOURCE): Define only if undefined.
2264 (get_scheme): Declaration deleted.
02ce3e80 2265 (main): Error was called with an integer as second arg, instead of
e2081362
FP
2266 a char pointer.
2267 (canonicalize_filename): Bug removed.
2268
22691999-11-18 Dave Love <d.love@dl.ac.uk>
2270
2271 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2272 lossage from name clash with macro.
2273
b05d3bee
GM
22741999-11-13 Gerd Moellmann <gerd@gnu.org>
2275
2276 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2277
cb3a6c48
GM
22781999-11-03 Gerd Moellmann <gerd@gnu.org>
2279
2280 * etags.c (print_help): Change email address to send bugs to.
2281
ecc54057 22821999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>>
1c478461
FP
2283
2284 * etags.c: Add suffix psw for PSWrap.
2285 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2286 (Postscript_functions): Add code for PSWrap.
2287 (Scheme_functions): Use local pointer and new get_tag function.
2288 (get_tag): New name for old get_scheme.
2289 (process_file): Do not free NULL when file does not exist.
2290 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2291 (C_entries): Modifications that make --members tag even inside
2292 typedefs and C nested structs (one level only).
eec54bd7 2293 (consider_token): Correct a bug which prevented tagging of enum
1c478461 2294 constants.
eec54bd7 2295 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
2296 st_C_ignore. This makes it simpler to work when cblev!=0.
2297
02ce3e80 2298 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
2299 --declarations is used.
2300
2301 * etags.c (C_entries, consider_token): C++ `operator' now is
2302 tagged in most cases.
2303 As before, :: is not recognised if surrounded by spaces.
2304
2305 * etags.c (relative_filename): Account for DOS file names such
2306 that is impossible to make one relative to another.
2307
2308 * etags.c (sym_type): New st_C_extern tag.
2309 (gperf input): Use it for spotting external declarations.
2310 (print_help): Document the new behaviour of --declarations.
2311 (fvextern): New global variable.
2312 (consider_token, C_entries): Use it.
2313
2314 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
2315 (etags_getcwd): Remove test for WINDOWSNT.
2316
2317 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
2318 foo.cgz, foo.cz, etc.
2319
2320 * etags.c (declarations): New global switch.
2321 (longopts): Describe it.
2322 (print_help): Document it.
2323 (C_entries): Use it.
2324 (process_file): Don't process a file twice.
2325
2326 * etags.c (Fortran_functions): No tags for "procedure".
2327
23281999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
2329
2330 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
2331 non-zero, returns a pointer to where the extension begins; callers
2332 changed.
2333 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2334 were foo.c.gz.
2335
ecc54057 23361999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>
1c478461
FP
2337
2338 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2339 (fvdev): New constant foperator.
2340 (consider_token): Use it to get "operator" in C++.
2341 (C_entries): Extend length of operator@ function name.
2342 (C_entries): Use foperator when necessary.
2343
2344 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
2345
2346 * etags.c (compressor): New struct for compressed files.
2347 (get_compressor_from_suffix): New function.
2348 (get_language_from_suffix): Use it. Also, semantics changed.
2349 (process_file): Consider compressed files, close file.
2350 (find_entries): Use different call arg for get_language_from_suffix,
2351 don't close file.
2352
2353 * etags.c (main): Call free_tree.
2354 (find_entries): Do not free curfile.
2355 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
2356 (prolog_pred, erlang_func, substitute): Cast strlen to int when
2357 comparing.
2358 (canonicalize_filename): Shut up compiler warning.
2359 (Perl_functions): Make tag significant.
2360
23611999-11-01 Dave Love <d.love@dl.ac.uk>
2362
2363 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
2364 (argument_type): New member at_icregexp.
2365 (lc_trans): New global.
2366 (main): Fill lc_trans. Process -c args.
2367 (add_regex): New arg determining whether to use translation table.
2368 (analyse_regex): New arg. Use it for add_regex.
2369
ecc54057 23701999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>
1c478461
FP
2371
2372 * etags.c (init): Cosmetic change: NULL --> '\0'.
2373 (erlang_attribute): Bug corrected (uninitialized variable).
2374 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 2375 corrects a bug. All callers changed.
1c478461
FP
2376 (canonicalize_filename): New function.
2377 (process_file, etags_getcwd, absolute_dirname): Use it.
2378 (relative_filename, absolute_filename): Removed var shadowing.
2379 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 2380 compilers quiet.
1c478461
FP
2381 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
2382
2383 * etags.c (xrnew): New macro. All callers of xrealloc changed.
2384 (language): New typedef (was struct lang_entry).
2385 (curlang): New global variable.
02ce3e80 2386 (node): Typedef renamed from NODE.
1c478461
FP
2387 (linebuffer): New typedef (was struct linebuffer).
2388 (pattern): New typedef (was struct pattern). Some members added.
2389 Now used as element of a linked list.
2390 (patterns, num_patterns): Global variables deleted.
2391 (p_head): New global variable.
a64387ee 2392 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
2393 (get_language_from_name, get_language_from_interpreter)
2394 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 2395 (last_node): New global variable.
02ce3e80
SM
2396 (free_tree, add_node, put_entries, total_size_of_entries):
2397 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
2398 (number_len): Rewritten for elegance.
2399 (token): New typedef replaces TOKEN.
2400 (analyse_regex, add_regex): Rewritten for new functionality.
2401 (free_patterns): New function called from main and add_regex.
2402 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 2403 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
2404 (readline): Rewritten for new functionality.
2405
ecc54057 2406 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
2407 (print_help): --globals is now used for more than C-type languages.
2408 (Perl_functions): Tag global variables ("my" and "local").
2409
2410 * etags.c (print_help): Some messages clarified.
2411 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
2412 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
2413 (Python_functions, Cobol_paragraphs, Pascal_functions)
2414 (Lisp_functions, Postscript_functions, Scheme_functions)
2415 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
2416 (Cobol_paragraphs, Postscript_functions, TeX_functions)
2417 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
2418 of the global variable dbp.
2419 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
2420 standard indentation.
2421
02ce3e80
SM
2422 * etags.c (Python_suffixes, lang_names, Python_functions):
2423 Python support.
1c478461 2424 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
2425 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
2426 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
2427 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
2428 (eat_white): Deleted.
2429
2430 * etags.c (CHAR, init): Keep into account non US-ASCII
2431 characters and compilers with default signed chars.
2432 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2433 constructs.
ecc54057 2434 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 2435
ecc54057 2436 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
2437 (main): Put interval syntax here.
2438 (add_regex): And remove it from here.
2439
2440 * etags.c (suggest_asking_for_help): Provide a
2441 meaningful help message with and without LONG_OPTIONS.
2442
2443 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
2444 <stdlib.h, string.h>: Don't test MSDOS when including them.
2445 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
2446 (put_entries): Correctly use %ld instead of %d in printf.
2447
2448 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
2449 declare getcwd if HAVE_GETCWD.
2450 (consider_token): Dead break instruction removed.
2451
4ee9629e
PE
24521999-10-19 Paul Eggert <eggert@twinsun.com>
2453
2454 Add support for large files. Merge glibc 2.1.2.
1c478461 2455
4ee9629e
PE
2456 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
2457 movemail.c, pop.c:
2458 Do not include <stdlib.h>, as <config.h> does this now.
2459
2460 * b2m.c, emacsserver.c, etags.c, profile.c:
2461 Include <config.h> before any system include files.
1c478461 2462
4ee9629e
PE
2463 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
2464 test-distrib.c:
2465 (read, write, open, close): Do not undef.
2466
2467 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
2468 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
2469
2470 * getopt.h: Adopt glibc 2.1.2.
1c478461 2471
93c8d183
DL
24721999-10-15 Dave Love <fx@gnu.org>
2473
2474 * Makefile.in (pop.o): Depend on config.h.
2475
b358f91c
GM
24761999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2477
2478 * pop.c: Use "pop3" as the POP service name on all platforms,
2479 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
2480 has been the standard service name since RFC 1340 was published in
2481 July 1992, so I think it's safe to start using it by default.
2482
362bc2da
DL
24831999-09-27 Dave Love <fx@gnu.org>
2484
2485 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
2486
74e4cb59
PR
24871999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2488
2489 * make-docfile.c (scan_lisp_file): Fix previous changes;
2490 swallow CRLF like just CR or just LF.
2491
362bc2da
DL
24921999-09-03 Richard Stallman <rms@gnu.org>
2493
2494 * make-docfile.c: Include config.h not ../src/config.h.
2495 (main, fopen, chdir): Add #undef.
2496 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
2497 (scan_lisp_file): Handle \r like \n.
2498
24991999-08-30 Andreas Schwab <schwab@gnu.org>
2500
2501 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
2502
2503 * emacsserver.c: Include <stdlib.h> if available. Don't declare
2504 errno if it's a macro.
2505
2506 * test-distrib.c: Include <unistd.h> if available.
2507
25081999-08-29 Richard Stallman <rms@gnu.org>
2509
2510 * emacsclient.c (print_help_and_exit): Mention --version.
2511
25121999-08-25 Richard M. Stallman <rms@gnu.org>
2513
2514 * emacsclient.c (decode_options): Update version output.
2515 (print_help_and_exit): Update bug report address.
2516
25171999-08-13 Richard M. Stallman <rms@gnu.org>
2518
2519 * emacsclient.c (main): Move the dynamic allocation of
2520 system_name outside of the SERVER_HOME_DIR conditional.
2521 * emacsserver.c (main): Likewise.
2522
25231999-08-10 Gerd Moellmann <gerd@gnu.org>
2524
2525 * grep-changelog: New.
2526 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
2527
25281999-07-12 Richard Stallman <rms@gnu.org>
2529
2530 * Version 20.4 released.
2531
25321999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
2533
1c478461 2534 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
2535
25361999-06-23 Dave Love <fx@gnu.org>
2537
2538 * etags.c (erlang_attribute): Fix undefined variable usage (after
2539 Potorti).
2540
25411999-05-2 Andrew Innes <andrewi@gnu.org>
2542
2543 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
2544 mapped to _chsize.
2545
25461999-04-29 Richard M. Stallman <rms@gnu.org>
2547
2548 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
2549
25501999-03-30 Dave Love <fx@gnu.org>
2551
2552 * sorted-doc.c (main): Split up tables. Modify the preamble
2553 somewhat.
2554
25551999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2556
2557 * makefile.nt: Remove common multiple file compilation commands.
2558
25591999-02-26 Richard Stallman <rms@gnu.org>
2560
2561 * Version 20.4 released.
2562
2563 * Makefile.in (yow): Depend on epaths.h, not paths.h.
2564
2565 * yow.c: Refer to epaths.h.
2566
25671999-02-22 Simon Josefsson <jas@pdc.kth.se>
2568
2569 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
2570
25711999-01-27 Andrew Innes <andrewi@gnu.org>
2572
2573 * makefile.nt: Do make version comparison as strings.
2574
25751999-01-25 Richard Stallman <rms@gnu.org>
2576
2577 * emacsclient.c (xmalloc): Fix previous change.
2578
25791999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
2580
2581 * emacsclient.c (xmalloc): Declare to return long.
2582
25831999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2584
2585 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
2586 the case of the drive letter.
2587
25881999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
2589
2590 * emacsserver.c (main): Eliminate arbitrary limit on
2591 length of system_name.
2592
2593 * emacsclient.c (main): Eliminate arbitrary limit on
2594 length of system_name.
2595 (xmalloc): Define unconditionally.
2596
25971999-01-12 Darrin B. Jewell <jewell@mit.edu>
2598
2599 * etags.c (relative_filename): Stop backward search at beginning
2600 of string, since non-Unix systems can have absolute paths with no
2601 initial slash.
2602
26031998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2604
2605 * makefile.nt: Do string comparision of _NMAKE_VER.
2606
c60ee5e7 26071998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
2608
2609 * makefile.nt: Compile multiple source files when possible.
2610
26111998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
2612
2613 * Makefile.in: Replace tabs with spaces
2614 when they might confuse some Make versions.
2615
26161998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
2617
2618 * emacsclient.c (main): Null-terminate system_name.
2619
2620 * emacsserver.c (main): Null-terminate system_name.
2621
26221998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2623
2624 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
2625 an error message from POP, mention that it's from POP, to
2626 distinguish it from local error messages.
2627
26281998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2629
2630 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
2631 order of messages downloaded from a POP server (e.g., if the
2632 server stores messages in mailboxes in reverse order).
2633
26341998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2635
2636 * Version 20.3 released.
2637
26381998-08-11 Paul Eggert <eggert@twinsun.com>
2639
2640 * rcs2log: Update copyright date and bug report address.
2641 (initialize_fullname): Prefer getent if available.
2642
26431998-07-30 Paul Eggert <eggert@twinsun.com>
2644
2645 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
2646 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 2647
362bc2da
DL
26481998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
2649
2650 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
2651
26521998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
2653
2654 * Makefile.in: Properly terminate a comment.
2655
26561998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2657
2658 * movemail.c (sys_wait): Rename to wait.
2659
2660 * ntlib.h: Undefine _WINSOCKAPI_.
2661
2662 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
2663
26641998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2665
2666 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
2667
26681998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
2669
2670 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
2671 all file i/o to be in binary mode. Include ntlib.h.
2672
26731998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
2674
2675 * make-docfile.c: Include <unistd.h> for chdir.
2676
26771998-04-25 Richard Stallman <rms@psilocin.gnu.org>
2678
2679 * etags.c (TEX_decode_env): Don't free the value getenv returns.
2680
26811998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2682
2683 * makefile.nt (obj): Update with new files in src.
2684 (clean): Delete patch scratch files, optimized compilation dir.
2685
26861998-04-08 Dave Love <fx@gnu.org>
2687
2688 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
2689 Irix6, at least.
2690
26911998-04-06 Andreas Schwab <schwab@gnu.org>
2692
2693 Silence -Wimplicit:
2694 * movemail.c: Move cancelations up. Include <stdlib.h> if
2695 available.
2696 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
2697 (parse_header): Explicitly declare return type.
2698 * emacsserver.c: Include <unistd.h> if available.
2699 (main, handle_signals, perror_1, fatal_error): Explicitly declare
2700 return types. Add forward declarations.
2701 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
2702 Don't declare geteuid.
2703 (print_help_and_exit): Change return type to void. Forward
2704 declare it.
2705 * b2m.c: Include <stdlib.h> if available.
2706 (main): Explicitly declare return type.
2707
27081998-04-03 Richard Stallman <rms@delysid.gnu.org>
2709
2710 * etags.c (put_entries): Use %ld.
2711
2712 * b2m.c (fatal): Declare the arg.
2713
27141998-04-03 Richard Stallman <rms@psilocin.gnu.org>
2715
2716 * etags.c (put_entries): Use %ld.
2717
2718 * b2m.c (fatal): Declare the arg.
2719
27201998-03-26 Richard Stallman <rms@psilocin.gnu.org>
2721
2722 * pop.c (pop_getline): Renamed from getline.
2723
27241998-03-05 Richard Stallman <rms@psilocin.gnu.org>
2725
2726 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
2727 for the utilities.
2728
27291998-01-23 Dave Love <d.love@dl.ac.uk>
2730
2731 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
2732 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
2733 Always make named tags.
2734 (Fortran_functions): Grok BLOCK DATA.
2735
27361998-01-23 Andreas Schwab <schwab@gnu.org>
2737
2738 * movemail.c (main): Fix interwoven brace and cpp conditional
2739 nesting.
2740
27411997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
2742
2743 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2744 server to contain embedded nulls.
2745
27461997-12-03 Paul Eggert <eggert@delysid.gnu.org>
2747
2748 * movemail.c:
2749 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
2750 '>' any lines starting with "From " read from the POP server, but
2751 leave the code in place, wrapped in #ifdef
2752 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2753 because it turns out that something is depending on it. Change
2754 suggested by Paul Eggert <eggert@twinsun.com>.
2755 Convert the character \037 (^_) at the beginning of a line into
2756 the character '^' followed by the character '_', because otherwise
2757 Emacs can't parse the resulting file as a valid BABYL file.
2758 Change suggested by Paul Eggert <eggert@twinsun.com>.
2759
27601997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2761
2762 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2763 server to contain embedded nulls.
2764
27651997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 2766
362bc2da
DL
2767 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
2768 quotes with a '>' any lines starting with "From " read from the
2769 POP server, but leave the code in place, wrapped in #ifdef
2770 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2771 because it turns out that something is depending on it. Change
2772 suggested by Paul Eggert <eggert@twinsun.com>.
2773
2774 Convert the character \037 (^_) at the beginning of a line into
2775 the character '^' followed by the character '_', because otherwise
2776 Emacs can't parse the resulting file as a valid BABYL file.
2777 Change suggested by Paul Eggert <eggert@twinsun.com>.
2778
27791997-11-22 Richard Stallman <rms@gnu.org>
2780
2781 * b2m.c: Include getopt.h.
2782 (main): Use getopt_long to handle --version and --help.
2783
2784 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
2785
27861997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2787
2788 * pop.c (fullwrite): Get rid of an extra call to write. Problem
2789 pointed out by Chiaki Ishikawa.
2790
27911997-10-16 Dave Love <d.love@dl.ac.uk>
2792
ecc54057
JB
2793 * etags.c (L_getit): Always make named tags so that Emacs
2794 completion on symbols containing `:' etc. works.
2795 (get_scheme): Likewise.
362bc2da
DL
2796
27971997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2798
2799 * pop.c: Use system header files instead of declaring C-library
2800 functions explicitly.
2801
28021997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2803
2804 * Version 20.2 released.
2805
28061997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2807
2808 * Version 20.1 released.
2809
28101997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
2811
2812 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
2813
2814 * ntlib.c (getpid): Delete function.
2815
28161997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2817
2818 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
2819
28201997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2821
2822 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
2823 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
2824
28251997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2826
2827 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
2828
28291997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
2830
2831 * profile.c (get_time): Cast arg to fprintf.
2832
2833 * hexl.c (main): Use %08lx instead of %08x in printf because the
2834 variable named addresses is long.
2835
28361997-08-08 Geoff Voelker <voelker@cs.washington.edu>
2837
2838 * makefile.nt (lisp): Update paths to lisp files that have moved.
2839
28401997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
2841
2842 * makefile.nt (ctags.obj): New target.
2843 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
2844
2845 * ntlib.h: Add includes.
2846 Undo definitions of crt routines from config.h.
2847
28481997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2849
2850 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2851
28521997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2853
2854 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
2855 Kerberos V5 for movemail, including detection of V4 and V5 header
2856 files and libraries.
362bc2da 2857 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 2858 declarations of string functions.
362bc2da 2859 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 2860 V5 API rather than the old one.
362bc2da 2861 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
2862 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
2863 with a constant in a header file.
362bc2da
DL
2864
2865 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
2866 Kerberos V5 for movemail, including detection of V4 and V5 header
2867 files and libraries.
362bc2da
DL
2868
28691997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2870
2871 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
2872
2873 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 2874
362bc2da
DL
28751997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2876
2877 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
2878
28791997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2880
2881 * movemail.c (rindex): Add declaration.
2882
d57727c9 28831997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
2884
2885 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
2886 (movemail.exe): Depend upon and link with getopt files.
2887 (obj): Include new source files.
2888 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
2889 (lisp): Include new and reorganized elisp files.
2890
28911997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2892
2893 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
2894
28951997-06-25 Paul Eggert <eggert@twinsun.com>
2896
2897 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
2898
28991997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
2900
2901 * b2m.c (readline): Terminate buffer properly when EOF seen.
2902 Test for valid pointer before dereferencing it.
2903
ecc54057 29041997-05-30 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2905
2906 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
2907 defined inside etags.c if HAVE_CONFIG_H is defined.
2908
ecc54057 29091997-05-29 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da 2910
ecc54057 2911 * etags.c (logical): Type name changed to bool.
362bc2da
DL
2912 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
2913 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
2914 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
2915 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
2916 (longopts): New long options without short counterpart are
2917 globals, members, no-globals, no-members. Regexp options are now
2918 defined conditionally to ETAGS_REGEXPS.
2919 (print_help): Updated.
2920
ecc54057 29211997-05-22 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2922
2923 * etags.c (C_entries): Use "." instead of "::" for Java.
2924 (consider_token): is_func renamed to is_func_or_var.
2925 (C_entries): is_func renamed to funorvar.
2926 (C_entries): Initialise tok.named.
2927 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
2928 get rid of "import", "package" and "friend".
2929 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 2930 users changed.
362bc2da
DL
2931 (C_entries): Make separate tags for variables separated by comma.
2932 (globals, members): New flags.
2933 (main, C_entries): Use them.
2934 (make_C_tag, C_entries): Make tok a global variable.
1c478461 2935
ecc54057 29361997-05-16 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2937
2938 * etags.c (funcdef): New vignore constant.
2939 (consider_token, C_entries): Use it to tag global variables.
2940 (print_help): Update for global variables.
2941 (consider_token, C_entries): Set the len member of token_name.
2942 (prolog_pred): Cleanup according to GNU coding standards.
2943 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
2944 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
2945
ecc54057 29461997-05-15 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2947
2948 * etags.c (CHARS, CHAR): New constant and macro.
2949 (iswhite, begtoken, intoken, endtoken): Use them.
2950 (notinname, _nin, nonam): New macro, array, string.
2951 (init): Cleanup and init _nin.
2952 (new_pfnote): New function.
2953 (make_C_tag) [traditional_tag_style]: Use it.
2954 (traditional_tag_style): Costant set to TRUE for now.
2955
ecc54057 29561997-05-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2957
2958 * etags.c (C_entries, Pascal_functions): Cleanup.
2959 (TeX_functions): NULL as a function arg needs a cast.
2960 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
2961
ecc54057 29621997-05-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2963
2964 * etags.c (TeX_functions): Cleaned up.
2965 (tex_getit): Removed.
2966
29671997-05-13 Paul Eggert <eggert@twinsun.com>
2968
2969 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 2970 non-files within the RCS subdirectory.
362bc2da 2971
ecc54057 29721997-05-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2973
2974 * etags.c (C_JAVA): New #define.
2975 (Cjava_suffixes): .java is Java.
2976 (Cjava_entries): New function.
2977 (lang_names): Add Java.
2978 (sym_type): Add st_C_javastruct for Java.
2979 (C_stab_entry): Add `extends' and `implements' keywords.
2980 (consider_token, C_entries): Recognise Java structures.
2981
ecc54057 29821997-05-12 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da 2983
ecc54057 2984 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
2985 (Postscript_suffixes): .ps is Postscript.
2986 (lang_names): Add Postscript.
2987 (Postscript_functions): New function.
2988 (TEX_decode_env): Close minor memory leak.
2989 (just_read_file): Correct the char number of the tag.
2990
29911997-05-11 Paul Eggert <eggert@twinsun.com>
2992
2993 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
2994 Don't prepend $nl since this causes some shells to generate the
2995 empty string when IFS is $nl.
362bc2da 2996 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 2997 PC-based shells mishandle CR.
362bc2da
DL
2998 (initialize_fullname): Set NIS_PATH to the empty string before invoking
2999 nismatch, in case it's set to some nonstandard value.
1c478461 3000
362bc2da
DL
30011997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3002
3003 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3004 read in separate blocks.
3005
ecc54057 30061997-04-30 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3007
3008 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3009 (struct linebuffer): New member `len' is the length of the string.
3010 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3011 Use it instead of strlen.
3012 (TEX_getit): Declare and define unconditionally as static.
3013 (TeX_functions): Use if instead of #if TeX_named_tokens.
3014 (add_regex): Set RE_INTERVALS flag for regex compilation.
3015 (substitute): Code cleanup.
3016 (readline_internal): Code cleanup, set new member `len'.
3017 (readline): Bug corrected.
3018
30191997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3020
3021 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3022 (obj): Change references of nt*.c files to w32*.c files.
3023
ecc54057 30241997-04-15 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3025
3026 * etags.c (xnew): Add support for debugging with chkmalloc.
3027 (error): Use this instead of printf whenever possible.
3028 (main): Only call xnew after having initialised progname.
3029 (substitute): Bad memory corruption error corrected.
3030
ecc54057 30311997-04-08 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3032
3033 * etags.c (add_regex): Undo previous change.
3034 (relative_filename): Small memory leak closed.
3035 (absolute_filename): Cleaned up the code, possibly closing a bug.
3036 (absolute_dirname): Always return a newly allocated string.
1c478461 3037
362bc2da
DL
30381997-03-21 Paul Eggert <eggert@twinsun.com>
3039
3040 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3041 of the form ,*, or *_; they are probably RCS lock files.
3042 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3043 they are used by rcsfreeze.
3044
ecc54057 30451997-03-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3046
3047 * etags.c (add_regex): reset *putbuf before using it.
3048
30491997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3050
3051 * movemail.c (popmail): Remove some unnecessary function
3052 declarations.
3053 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3054 into pop_retr, there's no reason to pass in mbx_write, and the
3055 file argument can be declared FILE * explicitly. This fixes a
3056 compilation problem on systems with 64-bit pointers.
3057
30581997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3059
3060 * movemail.c: Delete duplicate inclusion of fcntl.h
3061 and duplicate #undefs of open, read, write, close.
3062
30631997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3064
3065 * movemail.c (main): Do not display "[POP-password]" in the usage
3066 message when movemail is compiled without POP support.
3067 (main, popmail): Add the optional "-p" argument, which causes
3068 movemail to leave mail in the inbox after copying it into the
3069 output file.
1c478461 3070
362bc2da
DL
3071 * Makefile.in (movemail): Link with getopt.
3072
30731997-01-20 Paul Eggert <eggert@twinsun.com>
3074
ecc54057 3075 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3076 (Copyright, Help, Id): New variables, for above.
3077 (rlog): Use -q option with cvs log, to avoid useless chatter.
3078
3079 Treat logs of "Initial revision" (RCS) or "file F was initially added
3080 on branch B." (CVS) as if they said "New file.", for consistency with
3081 change log entries.
3082
30831997-01-01 Paul Eggert <eggert@twinsun.com>
3084
3085 * vcdiff (PATH): Add /usr/xpg4/bin,
3086 where XPG4 SCCS hangs out in Solaris 2.5.
3087 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3088
30891996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3090
3091 * etags.c (streq, strneq): Use == NULL rather than !.
3092
30931996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3094
3095 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3096 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3097
3098 * movemail.c: Include maillock.h (conditionally).
3099 Remove a redundant inclusion of <stdio.h>.
3100 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3101 (main): Add variable spool_name.
3102 Support the usage of maillock and mailunlock to
ecc54057 3103 lock and unlock mailboxes.
362bc2da
DL
3104 (mail_spool_name): New function.
3105
3106 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3107 movemail to exit with an error status incorrectly on systems which
3108 use lock files rather than a system locking function to lock
3109 mailboxes.
362bc2da
DL
3110
31111996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3112
3113 * pop.c (socket_connection): Free realhost after using it.
3114
ecc54057 31151996-12-04 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3116
3117 * etags.c (C_entries): Test tok.valid. This handles some
3118 particular cases involving function declarations that failed.
3119
31201996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 3121
362bc2da
DL
3122 * pop.c (socket_connection):
3123 gethostbyname may return a pointer to static data.
3124 krb_realmofhost can clobber it. So copy it.
3125
ecc54057 31261996-11-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3127
3128 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3129 must cast it to (char *) because we have no prototypes.
3130 (make_C_tag): Macro deleted, new function.
3131 (C_entries): Calls to make_C_tag macro changed to call function.
3132
ecc54057 31331996-11-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3134
3135 * etags.c (grow_linebuffer): New function.
3136 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3137 (make_tag): Macro renamed to make_C_tag. All callers changed.
3138 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3139 (Prolog_functions): prolog_skip_comment was called with wrong
3140 number of arguments.
3141 (xrealloc): fatal was called with wrong number of arguments
3142
ecc54057 31431996-11-08 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3144
3145 * etags.c (relative_filename): Bug corrected.
3146 (etags_getcwd): Avoid warning of unused variable.
3147 (C_entries, consider_token): Added support for enum labels.
3148
31491996-11-03 Paul Eggert <eggert@twinsun.com>
3150
3151 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 3152 repository file names.
362bc2da
DL
3153
31541996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3155
3156 * emacsserver.c: Fix 1996-09-02 change.
3157
31581996-10-12 Paul Eggert <eggert@twinsun.com>
3159
3160 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 3161 option', since CVS says 'invalid option'.
362bc2da
DL
3162 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3163 revisions, since some hosts reject 1970-01-01 when east of UTC.
3164 (date): Remove.
3165
31661996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3167
3168 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3169
ecc54057 31701996-10-02 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3171
3172 * etags.c (print_version): Print copyright info.
3173
3174 * etags.c (print_help): Print the bug reporting address.
3175 (main): Use return as the last instruction, instead of exit.
3176
3177 * etags.c (main): Don't open the tags file in cxref mode.
3178
31791996-09-29 Dave Love <d.love@dl.ac.uk>
3180
3181 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 3182 as well as earlier CVSs and RCS.
362bc2da
DL
3183
31841996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3185
3186 * movemail.c (main): If the lock call fails with EBUSY or
3187 EAGAIN, retry a few times.
3188
31891996-09-25 Paul Eggert <eggert@twinsun.com>
3190
3191 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 3192 whether to append -zLT.
362bc2da
DL
3193
31941996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3195
3196 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3197 * emacsclient.c, movemail.c: Likewise.
3198
31991996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3200
3201 * emacsclient.c (longopts): Change nowait to no-wait.
3202 (print_help_and_exit): Fix option name; upcase metavars.
3203
32041996-09-06 Erik Naggum <erik@naggum.no>
3205
3206 * emacsserver.c (main): Declare `fromlen' as size_t.
3207
32081996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3209
3210 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3211
32121996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3213
3214 * emacsclient.c (quote_file_name): Quote with &, not \.
3215 Quote `-' only at start of file name. Terminate the value string.
3216
3217 * emacsserver.c: Include signal.h properly;
3218 delete the duplicate includes for it.
3219
3220 * emacsserver.c: On fatal signal, delete socket-file:
3221 * emacsserver.c: Include signal.h.
ecc54057 3222 (xmalloc, fatal, error): New functions.
362bc2da
DL
3223 (delete_socket, handle_signals): New functions.
3224 (progname, socket_name): New variables.
3225 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3226
32271996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3228
3229 * emacsclient.c (quote_file_name): New function.
3230 (main, both versions): Use quote_file_name.
3231 (decode_options): Don't return a value.
3232 (main, both versions): Use optind.
3233 Don't check for -nowait here.
1c478461 3234
362bc2da
DL
3235 * emacsclient.c (decode_options): New function.
3236 (main, both versions): Call decode_options.
3237 (print_help_and_exit): New function.
3238 (VERSION): New macro.
3239
3240 * Makefile.in (emacsclient): Link with getopt.
3241 Add -DVERSION so emacsclient knows its version number.
3242
32431996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3244
3245 * makefile.nt (lisp): Include dos-nt.elc.
3246
32471996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3248
3249 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3250
32511996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3252
3253 * emacsclient.c (both versions): Handle -nowait and --nowait
3254 by sending data to the server.
3255
32561996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3257
3258 * Makefile.in (INSTALL_STRIP): New variable.
3259 (${archlibdir}): Use INSTALL_STRIP.
3260
3261 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3262 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3263
3264 * pop.c: Reverse conditional in previous change.
3265
32661996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3267
3268 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3269
32701996-08-24 Paul Eggert <eggert@twinsun.com>
3271
3272 * rcs2log: Use ISO 8601 date format, with time zone appended
3273 if change-log-time-zone-rule is non-nil, instead of
3274 traditional Unix date format.
3275
3276 (datearg): When computing default from ChangeLog, handle ISO format
3277 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3278 Don't worry about hh:mm:ss since the resolution is now by day.
3279 Use emtpy datearg, not empty rlog_options, to decide whether to pass
3280 "$datearg" option to $rlog.
3281 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3282 (month_data): Remove `mo'; no longer needed.
3283 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
3284
3285 Match `revision' line of rlog output more accurately.
3286
3287 Add -c, -v options.
3288
32891996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3290
3291 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3292
32931996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3294
3295 * Version 19.33 released.
3296
32971996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3298
3299 * Version 19.32 released.
3300
33011996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3302
3303 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3304 computing character positions in source files.
3305
33061996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3307
3308 * makefile.nt (clean): Use OBJDIR macro.
3309
33101996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3311
3312 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3313
c60ee5e7 33141996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 3315
ecc54057 3316 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
3317 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3318 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
3319
33201996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
3321
3322 * ntlib.h: Correct return type of getwd.
3323 * ntlib.c (getwd): Correct return type.
3324
33251996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3326
3327 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
3328 to infile.
3329
33301996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3331
3332 * makefile.nt: Remove all references to wakeup.
3333
ecc54057 33341996-06-28 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3335
3336 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3337 explicit, mutable, typename.
3338
33391996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3340
3341 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
3342 streams, one for sending and one for reading the reply.
3343
33441996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3345
3346 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
3347 (wakeup): Target deleted.
3348 (UTILITIES): Delete wakeup and timer.
3349
3350 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
3351
33521996-06-11 Geoff Voelker <voelker@cs.washington.edu>
3353
3354 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
3355 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
3356
33571996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3358
3359 * etags.c (main): Copy cwd when appending slash.
3360
33611996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3362
3363 * Version 19.31 released.
3364
ecc54057 33651996-05-17 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3366
3367 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3368 (Pascal_functions): Increase linecharno by the correct number of
3369 chars, inline the GET_NEW_LINE macro and delete its definition.
3370
c60ee5e7 33711996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3372
3373 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
3374
c60ee5e7 33751996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3376
3377 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
3378 (movemail.exe, fakemail.exe): Now built under Win32.o
3379
3380 * ntlib.c: Include ntlib.h.
3381 (nt_sleep): Rename to sleep.
3382 (getwd): Return directory.
3383 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
3384 sys_ctime, sys_fopen): New functions.
3385
3386 * ntlib.h: New file.
3387
33881996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3389
3390 * pop.c (SEND, RECV): Renamed from send, recv.
3391 (pop_open, pop_trash): Make the trash_started code unconditional.
3392 (socket_connection): Delete casts to void.
3393
33941996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3395
3396 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
3397 copied from lisp.h.
3398
33991996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
3400
3401 * fakemail.c [WINDOWSNT]: Include ntlib.h.
3402
3403 * hexl.c [DOSNT]: Include fcntl.h.
3404 [WINDOWSNT]: Include io.h.
3405 (main) [MSDOS]: Change conditional to DOS_NT.
3406
3407 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
3408 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
3409 [WINDOWSNT]: Include locking.h.
3410 (main): Update usage message. Use IS_DIRECTORY_SEP.
3411 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
3412 (main) [WINDOWSNT]: Invoke locking instead of flock.
3413 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
3414 (main) [MAIL_USE_POP]: Pass password to popmail if used.
3415 Include winsock.h; don't include unix inet headers.
3416 (popmail): Add password argument and pass it to pop_open.
3417 Open output file in binary mode.
3418
3419 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 3420 Macro SOCKET_ERROR undefined.
362bc2da
DL
3421 Don't declare h_errno.
3422 [!WINDOWSNT]: Define macros recv and send.
3423 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
3424 (pop_open) [WINDOWSNT]: Initialize trash_started.
3425 (have_winsock) [WINDOWSNT]: New variable.
3426 (socket_connection) [WINDOWSNT]: Initialize winsock.
3427 (socket_connection): Use closesocket instead of close.
3428 (getline): Use recv instead of read.
3429 (fullwrite): Use send instead of write.
3430 (pop_trash): Use closesocket instead of close.
3431 (pop_trash) [WINDOWSNT]: Cleanup winsock.
3432 Check if being called recursively by sendline.
3433
3434 * pop.h (struct _popserver): New field trash_started.
3435
3436 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
3437
34381996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3439
3440 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
3441
34421996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3443
3444 * etags.c [WINDOWSNT]: Include io.h.
3445
34461996-04-10 Geoff Voelker <voelker@cs.washington.edu>
3447
3448 * makefile.nt (CTAGSOBJ): Compile with regexp support.
3449
34501996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
3451
3452 * hexl.c [DJGPP v2]: Include io.h.
3453 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
3454
3455 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
3456 DJGPP v2.
3457
34581996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3459
3460 * etags.c (absolute_filename): Use absolutefn.
3461
34621996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
3463
3464 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
3465 letter isn't an alphabetic character.
3466 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
3467 (process_file) [DOS_NT]: Convert all slashes to forward style.
3468 (absolute_filename) [DOS_NT]: Emit error message for relative
3469 paths with a drive letter.
3470 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
3471 DOS/NT drive letters which try to reference the parent of the root.
3472 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
3473
34741996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3475
3476 * makefile.nt: Change uses of del to $(DEL).
3477
ecc54057 34781996-03-22 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3479
3480 * etags.c (just_read_file): Reset lineno and charno on entry.
3481
34821996-03-15 Anders Lindgren <andersl@csd.uu.se>
3483
3484 * etags.c: Prolog language totaly rewritten.
ecc54057 3485 (Prolog_functions): Rewritten from scratch.
362bc2da 3486 (skip_comment, prolog_getit): Removed.
ecc54057
JB
3487 (prolog_skip_comment): New function, like old skip_comment.
3488 (prolog_pred, prolog_atom, prolog_white): New functions.
3489 (erlang_func, erlang_attributes): Forward declarations added.
3490 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 3491
ecc54057 34921996-03-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3493
3494 * etags.c (absolutefn): DOS_NT version corrected.
3495 (main): Append "/" to the dir name only if not already there.
3496 (print_help): Explain the absolute/relative file name issue.
1c478461 3497
362bc2da
DL
34981996-03-08 Anders Lindgren <andersl@csd.uu.se>
3499
3500 * etags.c: New Languange Erlang added.
3501 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
3502 erlang_white): New functions.
3503 (Erlang_suffixes): New suffix list.
3504 (lang_names): Erlang entry added.
3505 (prolog_getit): Accepts headers spanning several lines.
3506 Always name tags.
3507 (Prolog_functions): Removed incorrect compensation for
3508 newline characters.
3509 (readline_internal): Zero-terminate last line.
3510
35111996-03-20 Mike Long <mike.long@analog.com>
3512
3513 * b2m.c (main): Initialize progname variable before using it.
3514 Quote `username' in From_ header.
3515
35161996-03-18 Geoff Voelker <voelker@cs.washington.edu>
3517
3518 * ntlib.c (getpid): New function.
3519
35201996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3521
3522 * emacsclient.c (main, both definitions):
3523 Print a newline for normal termination.
3524
35251996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
3526
3527 * tcp.c (main): Convert port to network byte order.
3528
35291996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
3530
3531 * pop.c (pop_retrieve, getline): Avoid type clashes.
3532
35331996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
3534
3535 * etags.c (enum sym_type, anonymous enum): Delete final comma.
3536
35371996-01-15 Paul Eggert <eggert@twinsun.com>
3538
3539 * rcs2log (initialize_fullname): Add support for NIS+.
3540 (hostname): Fully qualify the default hostname with the domainname
3541 if the hostname lacks a `.'.
3542
35431996-01-15 Paul Eggert <eggert@twinsun.com>
3544
3545 * rcs2log (initialize_fullname): Add support for NIS+.
3546 (hostname): Fully qualify the default hostname with the domainname
3547 if the hostname lacks a `.'.
3548
35491996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
3550
3551 * etags.c (consider_token): Fix typo in expression.
3552
35531996-01-04 Paul Eggert <eggert@twinsun.com>
3554
3555 * etags.c (substitute): Fix spelling in message.
3556
35571996-01-03 George V. Reilly <georger@microcrafts.com>
3558
3559 * makefile.nt (etags, ctags): Compile with regexp support.
3560 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
3561 subdirectory exists before compiling.
1c478461 3562
362bc2da
DL
35631996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
3564
3565 * emacsserver.c (main): Do chmod based on existing permission.
3566
35671995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3568
3569 * Makefile.in (install): Turn on read/execute permission.
3570
35711995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3572
3573 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
3574 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
3575
35761995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3577
3578 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3579
ecc54057 35801995-12-07 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
362bc2da
DL
3581
3582 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3583 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3584 get_scheme, prolog_getit): Name the tag in ctags mode.
3585 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3586 (Perl_interpreters): Accept "@PERL@" as an interpreter.
3587 (suggest_asking_for_help): New function.
3588 (main, get_language_from_name): Use suggest_asking_for_help.
3589 (main): Let get_language_from_name make language existence check.
3590 (streq, strneq): Check the arguments #if DEBUG.
3591
ecc54057 35921995-12-06 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
362bc2da
DL
3593
3594 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3595 (gperf): Added keywords for Objective C and GNU macros.
3596 (sym_type): Added values to account for Objective C and GNU macros.
3597 (begtk): The '@' character can start a token.
3598 (objdef, methodlen, objtag): New variables for Objective C.
3599 (consider_token, C_entries): Added code for Objective C.
3600 (plain_C_suffixes): Add .m and .lm for Objective C.
3601 (Yacc_suffixes): Add .ym for Objective yacc.
3602 (GROW_LINEBUFFER): New macro.
3603 (consider_token, C_entries, Pascal_functions): Use the new macro.
3604 (consider_token): Take one more argument. Caller changed.
3605 (consider_token): Use the hashing function to spot GNU macros.
3606 (C_entries): Consider // as a comment start even in plain C for
3607 the sake of Objective C parsing.
3608
ecc54057 36091995-12-04 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
362bc2da
DL
3610
3611 * Makefile.in (ctags): depend on etags only for simplicity;
ecc54057 3612 compile with regexp support enabled.
362bc2da
DL
3613
36141995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3615
3616 * Version 19.30 released.
3617
36181995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3619
3620 * makefile.nt (DOC, clean): Don't use switches to del not
3621 supported by Windows 95.
3622
36231995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3624
3625 * Makefile.in (regex.o): Depend on ../src/config.h.
3626
36271995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3628
3629 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
3630 (LOADLIBES): Use LIB_STANDARD.
3631
36321995-11-07 Kevin Gallo <kgallo@microsoft.com>
3633
3634 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3635 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3636 Windows 95 conditional.
3637
ecc54057 36381995-11-06 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3639
3640 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3641 get_lang_from_suffix): New functions.
3642 (get_language): Function deleted.
3643 (lang_entry): Two members added to struct.
3644 (lang_names): Reflect the new layout of lang_entry.
3645 (print_language_names, main, find_entries): Use the new functions.
3646 (find_entries): Look at the first line for #! if no language.
3647 (C_entries): Invalidate the token when funcdef is reset.
3648 (Perl_functions): New function.
3649 (lang_suffixes): .pl and .pm are Perl suffixes.
3650
ecc54057 36511995-11-02 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3652
3653 * etags.c (lowcase): Use the standard tolower function.
3654 (substitute): Remove some wrong and some useless code related with
a64387ee 3655 escape '\' character in regexp replacement string.
362bc2da
DL
3656 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3657 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
3658 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
3659 .prolog for prolog (.pl removed).
3660 (massage_name, etags_getcwd): Use lowcase instead of tolower.
3661 (C_entries, find_entries): Added comments about memory leakage.
3662 (add_node): Dead code removed.
3663
36641995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3665
3666 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
3667 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
3668
36691995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3670
3671 * test-distrib.c: Add #undef for open, close, read, write.
3672
36731995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3674
3675 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3676 [! O_RDONLY]: Define it to zero.
3677 (main): Use O_RDONLY instead of explicit zero.
3678
ecc54057 36791995-08-17 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3680
3681 * etags.c (Pascal_functions): Close comment bug corrected.
3682 (add_node): Correctly compare node file names.
3683 (Pascal_functions): Correctly allocate and free memory for tline.
3684 (pfnote): Put the definition of fp in the innermost block.
3685 (NODE): `named' member removed.
3686 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 3687 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
3688 (pfnote): `named' argument removed, all callers changed.
3689 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3690 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 3691 removed from pfnote call, some code cleanup.
362bc2da
DL
3692 (relative_filename): Free temporary space allocated by concat.
3693
36941995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3695
3696 * Makefile.in (getdate.c): New target.
3697 (getdate.o): Just compile getdate.c.
3698
36991995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
3700
3701 * fakemail.c (xrealloc): Change cast to match return type.
3702
37031995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3704
3705 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
3706
37071995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3708
3709 * movemail.c (main): Fix previous change.
3710 Add error check for empty OUTNAME.
3711
37121995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3713
3714 * movemail.c (main): Mention lock file name in error message.
3715
37161995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3717
3718 * profile.c (gettimeofday): New function, defined if necessary.
3719
37201995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3721
3722 * Makefile.in: Renamed from Makefile.in.in.
3723 (distclean): Delete Makefile.c, not Makefile.in.
3724
37251995-07-17 Michael Shields <shields@tembel.org>
3726
3727 * Makefile.in.in (tags): Synonym for `TAGS'.
3728
37291995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3730
3731 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3732 configure has already set $(INSTALL) to the proper relative path.
3733
ecc54057 37341995-06-27 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3735
3736 * etags.c (plain_C_entries): new function.
3737 (lowcase): new macro.
3738 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3739 (lang_suffixes): new suffix ".pc" for Pro*C files.
3740 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3741 (tail): look for the end of the token when comparing.
3742 (takeprec): since now tail behaves differently, use strneq.
3743
37441995-07-08 Paul Eggert <eggert@twinsun.com>
3745
3746 * rcs2log (datearg): Separate date from time with comma, not space,
3747 to work around CVS 1.5 bug.
3748 (CVSROOT): Don't abort when unset if repository is absolute.
3749
37501995-07-07 Paul Eggert <eggert@twinsun.com>
3751
3752 * rcs-checkin, rcs2log, vcdiff:
3753 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
3754 that interpret `#! /' as a 4-byte magic number.
3755
37561995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
3757
3758 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
3759 mailbox with "po:mailbox", the mailbox is everything after the
3760 "po:" prefix.
3761
37621995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3763
3764 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 3765 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
3766
37671995-06-28 Paul Eggert <eggert@twinsun.com>
3768
3769 * rcs2log (CVSROOT, repository):
3770 Allow remote repositories a la CVS 1.4.
3771
ecc54057 37721995-06-27 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3773
3774 * etags.c (plain_C_entries): new function.
3775 (lowcase): new macro.
3776 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3777 (lang_suffixes): new suffix ".pc" for Pro*C files.
3778 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3779 (tail): look for the end of the token when comparing.
3780 (takeprec): since now tail behaves differently, use strneq.
3781
37821995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3783
3784 * movemail.c (main): Add newline in usage message.
3785
37861995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3787
3788 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3789
ecc54057 37901995-06-21 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3791
3792 * etags.c (find_entries): Rewind before rereading the input file.
3793
37941995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3795
3796 * Version 19.29 released.
3797
3798 * make-docfile.c (main) [MSDOS]: Do set _fmode.
3799 This undoes part of the previous change.
3800
38011995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3802
3803 * make-docfile.c (main): On MSDOS, don't change stdout
3804 to binary, and insist on an -o option.
3805
38061995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3807
3808 * etags.c (process_file,absolute_filename): Handle filenames
3809 starting with a drive letter.
3810
3811 * makefile.nt (install): Copy wakeup.exe properly.
3812
38131995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
3814
3815 * make-docfile.c [MSDOS]: #undef chdir.
3816
38171995-06-04 Paul Eggert <eggert@twinsun.com>
3818
3819 * rcs2log (output_authors): Allow ':' in time zone,
3820 as per ISO 8601 and RCS 5.6.8 beta.
3821
ecc54057 38221995-05-29 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3823
3824 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
3825 compatibility problems.
3826
38271995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
3828
3829 * etags.c (etags_getcwd): Don't use #elif.
3830 Have just one function body.
3831
38321995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3833
3834 * makefile.nt (LIBS): Use BASE_LIBS.
3835 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
3836 upon LIBS.
3837 (DOC): Use del instead of rm.
3838 (DOC) [WINDOWS95]: Use DOC.
3839 (clean): Handle MSVC aux files.
3840 (config.h,paths.h): Use $(CP) instead of cp.
3841 (config.h): Use $(CONFIG_H)
3842 (make-docfile.obj): Depend upon config.h.
3843 Clean up comments.
3844
ecc54057 38451995-05-23 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3846
3847 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3848 former gives the true path even in the presence of simlinks.
3849
38501995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3851
3852 * movemail.c (main): Increase lock timeout to five minutes.
3853
38541995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3855
3856 * makefile.nt (obj): Use .c files.
3857
38581995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3859
3860 * make-docfile.c: Include config.h.
3861 (NO_SHORTNAMES): New definition.
3862 (xmalloc): Return long *.
3863
3864 * etags.c (C_entries): Cast result of xrealloc.
3865 (xmalloc, xrealloc): Declare them to return long *.
3866
3867 * b2m.c (xmalloc, xrealloc): Declare them long *.
3868
3869 * movemail.c (xmalloc): Declare it to return long *.
3870
38711995-04-30 Paul Eggert <eggert@twinsun.com>
3872
3873 * rcs2log (datearg): If rlog options are specified explicitly,
3874 omit the implicit '-d>DATE' option.
3875 (repository, rlog): Allow absolute paths to CVS repositories.
3876 Look only at the first line of CVS/Repository.
3877
38781995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
3879
3880 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
3881 realclean.
3882
38831995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3884
3885 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
3886 Alternative (empty) definitions.
3887
38881995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3889
3890 * emacsclient.c (main): Add argv[0] to an error message.
3891
38921995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
3893
3894 * emacsclient.c (main): Improve error handling.
3895 * cvtmail.c (main, skip_to_lf): Improve error handling.
3896 (sysfail): New function.
3897
3898 * b2m.c (main): Check for trailing ", " before trying to delete it.
3899
39001995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3901
3902 * Makefile.in.in (all): Build test-distrib and make-docfile.
3903
3904 * make-docfile.c (scan_c_file): At end, restore file name last char
3905 to its original value.
3906
39071995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3908
3909 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
3910
39111995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3912
3913 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
3914 (alloca.o, regex.o): Use BASE_CFLAGS.
3915
39161995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3917
3918 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
3919
39201995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
3921
3922 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
3923 (SOURCES, distclean): Removed obsolete references to aixcc.
3924
39251995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3926
3927 * aixcc.lex: File deleted--surely obsolete now.
3928
39291995-03-23 Paul Eggert <eggert@twinsun.com>
3930
3931 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
3932 portability to mawk and nawk.
3933
39341995-03-21 Paul Eggert <eggert@twinsun.com>
3935
3936 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
3937 -u "login<tab>fullname<tab>mailaddr".
3938
39391995-03-21 Paul Eggert <eggert@twinsun.com>
3940
3941 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
3942 replaces the (now obsolescent) -n login fullname mailaddr option.
3943 Add -R option for recursive rlog.
3944 (AWK): New environment variable (default `awk') for awk program name.
3945 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
3946 Quote authors and fullnames correctly.
3947 Don't omit path from repository root when logging CVS files.
3948
39491995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3950
3951 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
3952 even if HAVE_SYSVIPC.
3953 * emacsclient.c (main): Use getcwd if not BSD.
3954
ecc54057 39551995-03-13 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3956
3957 * etags.c (process_file): free (filename) after using it.
3958 (readline_internal): Do not access the char before start of line.
3959
ecc54057 39601995-02-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3961
3962 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
3963 savetok.valid. Mark token as valid when it is initialised.
3964 (make_tag): Make token only if token is valid and reset validity.
3965 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
3966 (TOKEN): Added a new member: valid.
3967
ecc54057 39681995-02-15 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3969
3970 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
3971 (main): Do not read twice the last filename in the stdin file list.
3972
ecc54057 39731995-02-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3974
3975 * etags.c (C_entries): Initialise the new members of TOKEN.
3976 (C_entries): Do not allocate a new space for each token found by
3977 consider_token. Let make_tag do that instead.
3978 (make_tag): Since now TOKEN has memory of where it is taken from,
3979 this new macro substitutes both make_tag_from_new_lb and
3980 make_tag_from_oth_lb. All callers changed.
3981 (TOKEN): Add linepos and buffer members.
3982 (main): Initialise token_str.
3983 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
3984 (token_str): New global variable used by C_entries.
3985
39861995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
3987
3988 * Makefile.in.in (maintainer-clean): Renamed from realclean.
3989
ecc54057 39901995-02-01 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3991
3992 * etags.c (pfnote): Initialise been_warned in the node.
3993 (C_entries): Removed a speed hack for the sake of clarity.
3994
ecc54057 39951995-01-18 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3996
3997 * etags.c (longopts, print_help, main): Use -I as abbreviation
3998 for the --ignore-indentation option.
3999 (main): Do not print an error message for unknown options.
4000
ecc54057 40011995-01-12 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4002
4003 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
4004 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
4005 constantypedefs, update, vgrind_style, no_warnings,
4006 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
4007 (permit_duplicates): Was a var, now a #define.
4008 (filename_lb): Was global, now local to main.
4009 (main): Open the tag file when in cxref mode.
4010 Use a BUFSIZ size buffer for making the shell commands.
4011 Look at the return value from the system routine.
4012 Exit when cannot open the tag file.
4013 (process_file): Open the file and pass the FILE* to find_entries.
4014 (find_entries): Now void, because does not open the file itself.
4015 (pfnote): Recovering from lack of memory does not work. Removed.
4016 Use savenstr and simplify the code.
4017 (free_tree): Only free the name space if node is named.
4018 (structtag): Now a pointer, not a fixed length array of chars.
4019 (consider_token): Don't take a token as argument. Use savenstr
4020 when saving a tag in structtag. Callers changed.
4021 (TOKEN): Structure changed. Now used only in C_entries.
4022 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4023 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4024 (pfcnt): Deleted. Users updated.
4025 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4026 TEX_getit, prolog_getit): Use dinamic allocation for storing
4027 the tag instead of a fixed size buffer.
4028
40291995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4030
4031 * movemail.c (main): Skip past the colon in inname.
4032
ecc54057 40331995-01-10 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4034
4035 * etags.c (pfatal): New function.
4036 (main, etags_getcwd): Use pfatal.
4037 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4038
ecc54057 40391995-01-10 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4040
4041 * etags.c (Lang_function): Use void instead to declare the
4042 language functions, because many compilers are buggy.
4043 (etags_getcwd): Fix the previous fix on the #else branch.
4044 (readline_internal): Discard possible \r before \n here.
4045 (C_entries): Do not deal with \r here: undo previous fix.
4046
ecc54057 40471995-01-09 Francesco Potort\e,Al\e(B (pot@fly)
362bc2da
DL
4048
4049 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4050 functions and a macro that allow the program to work on input
4051 lines of whatever length. Copied from etags.c.
4052 (fatal): Print a fatal error message and exit.
4053 (main): Use the new functions. Fixed a bug that made a \037 char
4054 appear at the end of the output.
4055
40561995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4057
4058 * etags.c (C_entries): Ignore carriage return at end of line.
4059
40601994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4061
4062 * fakemail.c (xmalloc, xrealloc): Add casts.
4063 (add_field): Handle <...> and "..." syntax.
4064 (setup_files, get_keyword): Clean up parens and line breaks.
4065 (args_size): Likewise.
4066
40671994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4068
4069 * yow.c: Include program name in error messages.
4070
40711994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4072
4073 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4074 (xmalloc, fatal, error): New functions.
4075 (progname): New variable.
4076 (main): Set progname.
4077
40781994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4079
4080 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4081 (main): If socket/mqueue name is in home dir, add in the host name.
4082 Rename .emacs_server to .emacs-server....
4083
40841994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4085
4086 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4087
ecc54057 40881994-11-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4089
4090 * etags.c (print_help): print --regex usage for ctags also.
4091 (main): use -h in addition to -H as abbreviation for --help.
4092
ecc54057 40931994-11-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4094
4095 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4096 is compiled if this is defined. The new functions and variables
4097 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4098 [VMS]: All VMS specific code previously contained in
4099 etags-vmslib.c is now included here, modified for dealing with
4100 language and regex options intermixed with filenames.
4101 (header_file): Global variable deleted.
4102 (Lang_Function): New typedef. All language parser functions
4103 changed to this new type.
4104 (string_numeric_p, substr, prestr): Functions deleted.
4105 (readline_internal): Does the job that readline did previously.
4106 (longopts): --language and --regex options added.
4107 (lang_names, lang_extensions, lang_func, print_language_names):
4108 New structures, variables and functions for choosing languages.
4109 (print_help): Help strings updated. Calls print_language_names.
4110 (argument_type, ARGUMENT): Typedefs for dealing with language and
4111 regex options intermixed with filenames.
4112 (main): Changed the way of dealing with arguments on the command
4113 line to deal with language and regex options intermixed with
4114 filenames.
4115 (get_language, default_C_entries, Cplusplus_entries,
4116 Cstar_entries, Yacc_entries, just_read_file): New functions.
4117 (find_entries): Use the new method for choosing the language.
4118 (Pascal_functions): Allow intermixing of comment styles.
4119 (prolog_getit, skip_comment): Rewritten for speed.
4120 (readline): Rewritten to deal with regexps.
4121
ecc54057 41221994-11-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4123
4124 * etags.c (<errno.h>): #include added.
4125 (etags_getcwd): Check return value from getcwd.
4126
41271994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4128
4129 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4130 (get_time): Use EMACS_SUB_TIME.
4131
d57727c9 41321994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4133
4134 * ntlib.c: New file.
4135 * makefile.nt: New file.
4136
4137 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4138 [WINDOWSNT]: Include the NT headers.
4139 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4140
4141 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4142 [WINDOWSNT]: Include some NT headers.
4143
41441994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4145
4146 * pop.c (getline): When a search of already-read input for CRLF
4147 fails, store the fact that we've searched it and don't search it
4148 again after reading more data.
4149
4150 * pop.c (getline): When determining whether or not it's necessary
4151 to grow the input buffer, take into account the null that's stored
4152 at the end of already-read input in the buffer.
4153
ecc54057 41541994-10-21 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4155
4156 * etags.c (prestr, substr): return a logical type.
4157 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
4158 (consider_token): set funcdef to fignore when a DEFUN is met.
4159 (C_entries): Now we can use Tom Hageman patch for extern "C".
4160
41611994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4162
4163 * movemail.c: PopServer renamed to popserver throughout.
4164
41651994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4166
4167 * etags.c: Don't declare malloc, since we include config.h.
4168 * fakemail.c: Likewise.
4169
41701994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4171
4172 * movemail.c: Don't declare malloc.
4173
41741994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4175
4176 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 4177 avoid syntax error.
362bc2da
DL
4178
41791994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4180
4181 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4182 defined, and if HAVE_CONFIG_H isn't defined, define
4183 MAIL_USE_POP always (so that this file can be included in
4184 other programs besides emacs).
4185
4186 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4187 HAVE_CONFIG_H isn't defined.
4188
4189 * pop.c (find_crlf, getline): Instead of using strstr, use a
4190 custom function for finding CRLF.
4191 (my_strstr): Function deleted.
4192
41931994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4194
4195 * pop.c (getline): Fix a segfault because of passing a
4196 non-null-terminated string into strstr(). Fix from
4197 djm@va.pubnix.com (David J. MacKenzie).
4198
4199 * pop.c: Don't include <string.h> and <strings.h>.
4200
4201 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4202 should be interchangeable, and indeed the inclusion is done in
4203 both orders in various files in the Kerberos 4 library sources,
4204 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4205 requires that <des.h> be included first, and I don't see any harm
4206 in changing the order.
4207
4208 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4209 STDC_HEADERS, if they're defined. Undef open, read, write and
4210 close after including it.
4211
42121994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4213
4214 * pop.c: Fix mismatch in conditionals.
4215
4216 * make-docfile.c (main): Don't process one input file twice.
4217 Never use exit code > 1.
4218
4219 * pop.c (open, close, read, write): Add #undefs.
4220
4221 * pop.c: Don't declare malloc, realloc, free.
4222 Include ../src/config.h.
4223 Don't include string.h or strings.h.
4224 Include des.h before krb.h.
4225 Do declare my_strstr.
4226 (getline): Really use my_strstr.
4227 Leave one empty place in server->buffer,
4228 and put a null at the end of the data in it.
4229
42301994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4231
4232 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4233 call kill with pid 0. Handle EINTR when receiving messages.
4234
42351994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4236
4237 * Makefile.in.in (regex.o): Use full path to find regex.c.
4238
ecc54057 42391994-10-17 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4240
4241 * Makefile.in.in (etags): add dependency on regex.o, link with it.
4242 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
4243
42441994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4245
4246 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4247 (${archlibdir}): Use mkinstalldirs instead.
4248
4249 * movemail.c: Make functions that return nothing void, not
4250 implicitly int.
4251 (main): Improve usage message.
4252 (error): Write to stderr, not stdout.
4253
4254 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4255 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4256 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4257 variables and implicitly declared functions.
4258
42591994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4260
4261 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4262 (distclean): Not here.
4263
4264 * Makefile.in.in (libexecdir): Renamed from libdir.
4265
ecc54057 42661994-10-11 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4267
4268 * etags.c (C_entries): Name the #define's that are macros.
4269
42701994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4271
4272 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4273 fd_set arg is a pointer, descriptor arg comes first.
4274
ecc54057 42751994-09-29 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4276
4277 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4278 (C_entries): Recognise #define inside a struct.
4279 (C_entries): ANSI tells that preprocessor commands do not have to
4280 start on the first column.
4281 (print_help): Documentation corrected for -d and -D.
4282 (white, endtk): ANSI tells the vertical tab is a separator.
4283
42841994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4285
4286 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4287 (pop.o, movemail.o): New targets.
4288 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4289
4290 * pop.c, pop.h: New files.
4291
4292 * movemail.c: Improve POP code, move most of it into a separate file.
4293 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4294 (mbx_write): Check for errors and for From line.
4295 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4296 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4297 (pop_init): Functions deleted.
4298
42991994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4300
4301 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4302 Rename path to dirname.
4303
43041994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4305
4306 * Makefile.in.in (UTILITIES):
4307 Remove test-distrib, make-docfile, make-path.
4308 (DONT_INSTALL): New variable--list those files here.
4309 (clean): Delete the files in DONT_INSTALL.
4310
43111994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4312
4313 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4314 (main): Use fgets, not gets.
4315
43161994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4317
4318 * timer.c: Don't declare malloc.
4319
43201994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4321
4322 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4323 defined, use simple 32-bit versions of these macros.
4324 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
4325
c60ee5e7 43261994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
4327
4328 * etags.c (etags_getcwd): Use getcwd if available.
4329
43301994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4331
4332 * Version 19.27 released.
4333
43341994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4335
4336 * Version 19.26 released.
4337
43381994-08-15 Paul Eggert <eggert@twinsun.com>
4339
4340 * rcs2log: Add support for CVS.
4341 Work with `rlog's that output ISO 8601 dates.
4342
43431994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
4344
4345 * rcs2log: Use <> to delimit email address.
4346
43471994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4348
4349 * emacsserver.c [SYSV_IPC] (main): Make a separate process
4350 so we can listen for multiple requests.
4351
43521994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4353
4354 * movemail.c: Include config.h first thing.
4355
43561994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4357
4358 * emacsserver.c (main): Add casts to avoid warnings.
4359
43601994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4361
4362 * Makefile.in.in (${archlibdir}): Compare the proper dir
4363 before installing the scripts.
4364
43651994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4366
4367 * emacsclient.c (main): New local var progname saves argv[0].
4368
43691994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4370
4371 * emacsclient.c (main): Don't actually modify argv[0].
4372 Modify a copy instead.
4373
43741994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4375
4376 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
4377 (tzp): Var deleted.
4378
4379 * Makefile.in.in: Add #undef alloca.
4380
43811994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4382
4383 * timer.c (xmalloc): New function.
4384
43851994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4386
4387 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
4388 (alloca.o): New target.
4389
43901994-07-08 Dave Love (d.love@dl.ac.uk)
4391
ecc54057 4392 * etags.c (takeprec): recognise `character*(*) function'
362bc2da 4393
ecc54057 43941994-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4395
ecc54057
JB
4396 * etags.c (main): Don't barf on obsolete -t and -T switches.
4397 (main): Print an explicative message when a switch is not known.
362bc2da
DL
4398
43991994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4400
4401 * hexl.c: Don't declare exit or perror.
4402
4403 * emacsserver.c (main): Don't declare geteuid.
4404 Don't declare getenv if convex.
4405
44061994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4407
4408 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
4409
ecc54057 44101994-06-03 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4411
4412 * etags.c (absolute_filename): Remove infinite loop bug when
4413 accessing files in directories whose name begins with a dot.
4414
ecc54057 44151994-06-03 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4416
4417 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4418
44191994-06-01 Morten Welinder (terra@diku.dk)
4420
4421 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
4422 location of data directory.
4423
44241994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4425
4426 * Version 19.25 released.
4427
44281994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4429
4430 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
4431
44321994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4433
4434 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
4435
44361994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4437
4438 * Version 19.24 released.
4439
44401994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4441
4442 * make-docfile.c (write_c_args): Put `default' in upper case.
4443
44441994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4445
4446 * etags.c (etags_getcwd): Cast result of popen.
4447 (popen): Declaration deleted.
4448
44491994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
4450
4451 * etags.c [!MSDOS]: Declare popen.
4452
44531994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4454
4455 * b2m.c (main): Avoid crash if argc is 1.
4456
44571994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4458
4459 * Version 19.23 released.
4460
4461 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
4462
44631994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4464
4465 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
4466
44671994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4468
4469 * Makefile.in.in: Fix out of date comment.
4470
44711994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4472
4473 * Makefile.in.in: Put in a separator for where to start cpp procssing.
4474 Move all autoconf substitutions above that point.
4475 Above that point, use Make-style comments.
4476 This goes with changes in ../configure.in.
4477
44781994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4479
4480 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
4481 warning message.
4482 (${archlibdir}): Don't do it here. Don't depend on blessmail.
4483
44841994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
4485
4486 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
4487
44881994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4489
4490 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
4491 print advice to run it, if it has anything significant to do.
4492 And only if MOVEMAIL_NEEDS_BLESSING.
4493 (blessmail): Use emacs, not temacs.
4494 (configuration): Renamed from configname.
4495
44961994-04-30 Morten Welinder (terra@diku.dk)
4497
4498 * etags.c (find_entries): Treat `*.cpp' as C++ files.
4499
45001994-04-30 Morten Welinder (terra@diku.dk)
4501
4502 * etags.c [MSDOS]: #include <sys/param.h> for the following.
4503 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
4504 a shell.
4505
45061994-04-29 Morten Welinder (terra@diku.dk)
4507
4508 * hexl.c [MSDOS]: Don't define proto type for exit.
4509
45101994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4511
4512 * b2m.c: Don't include string.h or strings.h.
4513
45141994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
4515
4516 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
4517 symbols, not make variables.
4518
45191994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4520
4521 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
4522 * etags.c (print_version): Print VERSION as a string.
4523
45241994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4525
4526 * fakemail.c (readline): Fix updating of p when buffer grows.
4527
45281994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
4529
4530 * Makefile.in.in (blessmail): New target.
4531 ${archlibdir}: Use blessmail when installing movemail.
4532
45331994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4534
4535 * fakemail.c (readline): When extending the buffer,
4536 calculate end afresh using the new size.
4537
ecc54057 45381994-04-18 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4539
4540 * etags.c (main, print_help): eliminate the -F option.
4541
ecc54057 45421994-04-18 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4543
4544 * etags.c (absolute_filename): compare against '\0' instead of NULL.
4545
45461994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4547
4548 * Makefile.in.in: Renamed from Makefile.in.
4549 Makefile.in is now generated from it, and then preprocessed.
4550 Change comments to C syntax.
4551 Include config.h.
4552 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
4553 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
4554
45551994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4556
4557 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4558
ecc54057 45591994-04-12 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4560
4561 * etags.c (etags_getcwd): Initialize bufsize.
4562
45631994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4564
4565 * profile.c (gettimeofday): If system doesn't have this, define it
4566 to give a fatal error.
4567
45681994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
4569
4570 * movemail.c (main): Use setuid, not seteuid.
4571
45721994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4573
4574 * etags.c: #undef static.
4575
ecc54057 45761994-04-08 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4577
4578 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
4579 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
4580 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
4581 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4582 TeX_functions, Prolog_functions.
4583 (inf): no more a global variable.
4584 (C_entries): take 2nd parameter `inf' instead of using the global one.
4585 (find_entries): added the cp1 var for optimisation.
4586 (find_entries): added more suffixes for assembler files.
4587 (Asm_funcs): Now finds labels even without an ending colon.
4588
ecc54057 45891994-03-30 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4590
4591 * etags.c (main): use etags_getcwd for compatibility.
4592 (etags_getcwd): new function.
4593
45941994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4595
4596 * Makefile.in (etags, ctags): Pass -D for VERSION.
4597
ecc54057 45981994-03-25 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4599
4600 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
4601 (main): don't allow the use of -t and -T in etags mode.
4602 (print_help): don't show options enabled by default.
4603 (print_version): show the emacs version number if VERSION is #defined.
4604 (find_entries): add "ss" as suffix for Chez Scheme.
4605
ecc54057 46061994-03-23 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4607
4608 * etags.c (cwd, outfiledir): vars added.
4609 (relative_filename, absolute_filename, absolute_dirname):
4610 functions added to compute filenames in tags files.
4611 (process_file): filenames in tags file are relative to the
4612 directory where the tags file is (useful with the -o option).
4613 (main): initialise the outfiledir var.
4614 (TYPEDST): added the `tignore' value.
4615 (C_entries): corrected various small bugs.
4616
46171994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4618
4619 * Makefile.in (UTILITIES): `env' deleted.
4620 (env): Target deleted.
4621 * env.c: File deleted.
1c478461 4622
362bc2da
DL
46231994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4624
4625 * Makefile.in (install, ${archlibdir}): Switch back to ..
4626 before running INSTALL_PROGRAM.
4627
ecc54057 46281994-03-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4629
4630 * etags.c (TYPEDST): added the `tignore' value.
4631 (C_entries): corrected various bugs, now correctly parses the
4632 `extern "C" {' construction (patch by Tom R.Hageman).
4633
46341994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4635
4636 * b2m.c: Use <...> to include config.h.
4637 Don't include stdlib.h.
4638
177c0ea7 46391994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
4640
4641 * b2m.c (main): Change delimiter from "^L" to "^_^L".
4642 Allow for text following "BABYL OPTIONS:".
4643 Add --help option. Use argv[0] in error messages.
4644
46451994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4646
4647 * emacsclient.c (main) [HAVE_SYSVIPC]:
4648 Make msgp->mtext longer if necessary.
4649 On HPUX, error if it's more than 512 chars.
4650
46511994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4652
4653 * etags-vmslib.c: Use GPL.
4654 * emacstool.c: Use GPL.
4655 * fakemail.c: Update GPL.
4656
4657 * make-path.c (main): Return 1 on error, not -1.
4658 Update GPL.
4659
4660 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
4661 (xmalloc, xrealloc): Return char *, not int.
4662 (error): Write to stderr, not stdout.
4663 Update GPL.
4664
46651994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
4666
4667 * profile.c (main, get_time): Don't crash on invalid input.
4668
46691994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4670
4671 * profile.c (get_time): Simplify; avoid calling index.
4672 (main): exit on EOF.
4673
ecc54057 46741994-02-17 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4675
a64387ee 4676 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
4677
46781994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4679
4680 * fakemail.c (put_line): Don't break the line if it all fits.
4681
ecc54057 46821994-02-14 Francesco Potort\e,Al\e(B (pot@fly)
362bc2da
DL
4683
4684 * etags.c (absolute_pathnames, cwd): added global vars.
4685 (longopts, print_help, main, process_file): put absolute filenames
4686 in the tag file if the -A --absolute-pathnames option is used.
4687 (print_help): alfabetically order the options.
4688 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
4689
46901994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4691
4692 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4693 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4694
46951994-02-07 Christian Lynbech (lynbech@avignon)
4696
4697 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
4698
46991994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4700
4701 * Makefile.in (UTILITIES): Mention profile.
4702 (profile): New target.
4703
4704 * profile.c: New file.
4705
47061994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 4707
88c71720 4708 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 4709 Lisp docstrings do.
88c71720 4710 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
4711 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4712 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4713
ecc54057 47141994-01-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4715
4716 * etags.c (stab_entry, stab_create, stab_find, stab_search,
4717 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
4718 Use gperf generated hash table instead of linked list.
4719 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
4720 Mostly code generated by gperf.
4721 (consider_token): removed unused parameter `lp'.
4722 (PF_funcs, getit): allow subroutine and similar declarations
4723 to span multiple lines.
4724 (C_entries): check for newline if inchar to avoid bus errors.
4725 (process_file, find_entries): distinguish among nonexistent
4726 and not regular file.
4727
47281994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4729
4730 * timer.c: Include errno.h; don't include fasync.h.
4731 (schedule): Don't return a value.
4732 (sigcatch): Reestablish the handler first.
4733 (getevent): Always call notify at the end.
4734 (notify): Defer alarms around the whole body of function.
4735
47361994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4737
4738 * timer.c (main): Don't request SIGIO, and don't handle it.
4739 Loop calling getevent.
4740 (sigcatch): Delete code to handle SIGIO.
4741 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 4742 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
4743 Set defer_alarms around realloc and schedule.
4744 If alarm_deferred gets set, call notify.
4745 Likewise if this event is the only pending event.
4746 Make buf and buf_size global variables.
4747 Don't malloc buf if it is already non-zero.
4748 (schedule): Just exit if run out of memory.
4749 Return the number of events.
4750 (signal) [_CX_UX]: Add #undef.
4751
47521994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4753
4754 * timer.c [USG] (SIGIO): Define as SIGPOLL.
4755 (main) [USG]: Do ioctl to enable SIGPOLL.
4756
47571994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4758
4759 * timer.c: Don't declare sys_errlist; declare strerror instead.
4760 (schedule, main): Call strerror instead of using sys_errlist.
4761 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
4762 Call strerror instead of using sys_errlist.
4763 * env.c (main): Call strerror instead of using sys_errlist.
4764 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
4765 (main): Call strerror instead of using sys_errlist.
4766 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
4767 * env.c [! HAVE_STRERROR] (strerror): Likewise.
4768 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
4769 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
4770
47711994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4772
4773 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
4774
4775 * movemail.c (malloc): Don't declare it.
4776 (xmalloc): Cast result of malloc.
4777 (strcpy): Don't declare it.
4778
47791993-11-14 Morten Welinder (terra@diku.dk)
4780
4781 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
4782 (main): Use fclose to close file opened by fopen.
4783
4784 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
4785
4786 * movemail.c [MSDOS]: #undef `access'.
4787
4788 * b2m.c (main) [MSDOS]: Open all files as binary.
4789 * etags.c (main) [MSDOS]: Open all files as binary.
4790
4791 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
4792 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
4793 with.
4794
47951994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4796
4797 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
4798 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
4799 (LINK_CFLAGS): New variable.
4800 (timer): Use LINK_CFLAGS.
4801
48021993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4803
4804 * movemail.c: Include syswait.h.
4805 Fork a subprocess and use it to copy the mail file.
4806
48071993-12-07 Richard Stallman (rms@srarc2)
4808
4809 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
4810
48111993-12-04 Richard Stallman (rms@srarc2)
4812
4813 * movemail.c (main): When making tempname, cast result of xmalloc.
4814 Include room for EXXXXXX in the size.
4815 Don't use result of strcpy.
4816
48171993-12-03 Paul Eggert (eggert@twinsun.com)
4818
4819 * vcdiff: Add --brief option.
4820
48211993-12-02 Richard Stallman (rms@srarc2)
4822
4823 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
4824 for all executables and scripts.
4825
48261993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4827
4828 * Version 19.22 released.
4829
48301993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4831
4832 * Makefile.in (mostlyclean): Make it distinct from clean.
4833
48341993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4835
4836 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
4837
48381993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4839
4840 * Version 19.21 released.
4841
4842 * Makefile.in (install): Don't change mode or group when installing.
4843
4844 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
4845
48461993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4847
4848 * make-docfile.c (read_c_string): For "", concatenate the two strings.
4849
4850 * movemail.c (main): Fix error message text.
4851
48521993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4853
4854 * Version 19.20 released.
4855
177c0ea7 48561993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 4857
ecc54057 4858 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
4859 functions returning a pointer to a function, a la `signal', can be
4860 parsed. This also required new state `fstartlist' to `FUNCST'.
4861 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
4862 (C_entries, CNL): use it to isolate preprocessor directive processing
4863 from the other state engines.
4864 (begtk): add '~', for C++ class destructors.
4865
ecc54057 48661993-11-02 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4867
4868 * etags.c (consider_token): removed unused variable firsttok.
4869 (prolog_getit): call pfnote with the right number of arguments.
4870
48711993-10-19 Paul Eggert (eggert@twinsun.com)
4872
4873 * rcs2log (printlogline): Don't generate lines containing only
4874 white space.
4875
48761993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4877
4878 * Makefile.in (${archlibdir}):
4879 Install ${SCRIPTS} from ${srcdir}, not cwd.
4880
48811993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4882
4883 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
4884 the comment character.
4885
ecc54057 48861993-10-01 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4887
4888 * etags.c (process_file): dead code removed.
4889 (S_ISREG): #define it using S_IFREG if not defined.
4890 (process_file): regular files have nothing to do with symlinks.
4891
48921993-09-28 Brian Fox (bfox@ai.mit.edu)
4893
4894 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
4895 from current directory. Only chmod and chgrp files that we
4896 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
4897 ${bindir}.
4898 (INSTALLFLAGS): Deleted definition, since it is an unused variable
4899 now.
4900
49011993-09-27 Brian Fox (bfox@ai.mit.edu)
4902
4903 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
4904 configure figure out the correct values for these variables.
4905
49061993-09-14 Brian Fox (bfox@ai.mit.edu)
4907
4908 * Makefile.in (archlibdir): Only install execuatables internally
4909 used by emacs; don't install bindir binaries here.
4910
49111993-09-24 Paul Eggert (eggert@twinsun.com)
4912
4913 * rcs2log: Add -h, -n, -r options.
4914 By default, look for *,v files as well as RCS/*,v files.
4915 Use $TMPDIR (default /tmp) instead of /tmp.
4916
ecc54057 49171993-09-20 Francesco Potort\e,Al\e(B (pot@fly)
362bc2da
DL
4918
4919 * etags.c (C_entries): is_func is initialised here instead of in
4920 consider_token for the sake of the yacc rules section.
4921 (C_entries): Now class, struct, enum, union and typedef produce
4922 named tags.
4923
49241993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
4925
4926 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
4927
49281993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4929
88c71720
KS
4930 * Makefile.in: Support configuring in a different directory when
4931 ${srcdir} has already been configured.
4932 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
4933 -I${srcdir}/../src.
362bc2da
DL
4934 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
4935 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
4936 is already in CPP_FLAGS.
4937 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
4938 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
4939
49401993-08-25 Paul Eggert (eggert@twinsun.com)
4941
4942 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
4943 otherwise, HP awk complains.
4944
4945 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
4946 are common hangouts for SCCS commands.
4947
49481993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4949
4950 * Version 19.19 released.
4951
49521993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4953
4954 * Makefile.in (make-path): Dep on config.h.
4955
49561993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4957
4958 * b2m.c (TRUE, FALSE): Don't define if already defined.
4959
49601993-08-09 Paul Eggert (eggert@twinsun.com)
4961
4962 * rcs2log (awkscript):
4963 Some sites put comma-separated junk after the fullname.
4964 Remove it, but leave "Bill Gates, Jr" alone.
4965 Remove the junk from fullnames like "0000-Admin(0000)".
4966
49671993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4968
4969 * Version 19.18 released.
4970
ecc54057 49711993-08-04 Francesco Potort\e,Al\e(B (pot@spiff.gnu.ai.mit.edu)
362bc2da
DL
4972
4973 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
4974 (L_funcs): the (foo::defmumble stuff now should work.
4975 (consider_token): function returned random value--corrected.
4976 (C_entries): corrected == versus = typo.
4977
49781993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4979
4980 * etags.c (put_entries): For NODE->rewritten, put pattern before
4981 \177 and name after, not vice versa.
4982
49831993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4984
4985 * timer.c (main): Generate a SIGIO as soon as we've initialized.
4986
ecc54057 49871993-07-30 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4988
ecc54057 4989 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
4990 after the parameter list and before the open curly brace.
4991 Allows correct parsing of C++ constructors.
4992 (C_entries, consider_token): make use of fignore.
4993 (consider_token): reset funcdef when next_token_is_func: when in
4994 ctags mode makes DEFVAR and others work better.
4995 (L_isquote): function that recognises the "(quote" string.
4996 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
4997
49981993-07-29 Paul Eggert (eggert@twinsun.com)
4999
5000 * rcs-checkin: Don't check whether a file is readable until we have
5001 decided not to ignore it.
5002
50031993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5004
5005 * Makefile.in (etags): Depend on ../src/config.h.
5006
5007 * emacsserver.c: Include types.h before file.h.
5008
50091993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5010
5011 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5012
50131993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5014
ecc54057 5015 * Version 19.17 released.
362bc2da
DL
5016
50171993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5018
5019 * etags.c (print_help): Break up the very long strings containing
5020 the help message into shorter strings, to placate chintzy C
5021 compilers which can't handle strings that long.
5022
5023 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5024 correct combination of <time.h> and <sys/time.h>.
5025
ecc54057 50261993-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5027
5028 * etags.c (alloca): removed all references to it.
5029 (main): now calls xnew instead of alloca for portability.
5030 (../src/config.h): included only if HAVE_CONFIG_H.
5031 (const): void definition removed--config.h takes care of it.
5032
ecc54057 50331993-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5034
5035 * etags.c (consider_token): was `==', now is `='.
5036 (consider_token): DEFUNs now treated like funcs in ctags mode.
5037
5038 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
5039 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5040 (C_entries): removed a piece of useless code.
5041 (C_entries): making typedef tags is delayed until a semicolon
5042 is met. This handles "typedef int X, Y, Z;" correctly.
5043
50441993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5045
5046 * Version 19.16 released.
5047
5048 * b2m.c: #include <sys/types.h>.
5049 (ltoday): Declare this to be time_t.
5050
50511993-06-30 Paul Eggert (eggert@twinsun.com)
5052
5053 * vcdiff: Add -q option.
5054
50551993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5056
5057 * etags.c: #include "config.h" and the alloca CPP tangle before
5058 #including the system headers and getopt.h. AIX requires the
5059 #pragma to come before any actual C code.
5060
50611993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5062
5063 * Makefile.in (ctags): Depend on etags, so that parallel makes
5064 don't write etags.o files on top of each other.
5065
50661993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5067
5068 * version 19.15 released.
5069
50701993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5071
5072 * etags.c (add_node): Move var last_node to file scope.
5073
50741993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5075
5076 * Version 19.14 released.
5077
50781993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5079
ecc54057 5080 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5081 * Makefile.in (distclean): Call clean to do most of the work.
5082 Delete aixcc.c and TAGS.
5083 (realclean): Just call distclean.
1c478461 5084
362bc2da
DL
5085 * Makefile.in: Remember, spaces are not tabs.
5086
50871993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5088
5089 * Makefile.in (CPP_CFLAGS): New variable.
5090 Use it instead of ALL_CFLAGS when compiling a .c file.
5091 (getopt.o, getopt1.o): Add explicit compilation commands.
5092
50931993-06-10 Mark D. Baushke (mdb@cisco.com)
5094
5095 * etags.c: Reinstate old -f option as an alias for -o for
5096 installed base uses.
5097
50981993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5099
5100 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5101 to bind or accept, cast the pointer, to avoid warnings on systems
5102 which declare prototypes for this.
5103 * emacsclient.c (main): Same.
5104
5105 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5106
51071993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5108
5109 * Version 19.13 released.
5110
5111 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5112 comes from, not sys/time.h.
5113
51141993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5115
5116 * wakeup.c: Include sys/time.h.
5117
5118 * etags.c: #undef static.
5119
5120 * Version 19.12 released.
5121
5122 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5123
51241993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5125
5126 * Version 19.11 released.
5127
5128 * timer.c [LINUX]: #undef signal.
5129 * emacsserver.c: #undef signal.
5130
51311993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5132
5133 * wakeup.c (main): Make when a time_t.
5134
51351993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5136
ecc54057 5137 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 5138 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
5139 might fail, and have pwd print out the current directory.
5140
5141 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5142 string-handling functions.
5143
51441993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5145
5146 * Version 19.10 released.
5147
51481993-05-29 Paul Eggert (eggert@twinsun.com)
5149
5150 * rcs2log: When given no file arguments, inspect RCS/.* as well
5151 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5152
51531993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5154
5155 * Makefile.in (timer): Link with $(LOADLIBES).
5156
51571993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5158
5159 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5160
51611993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5162
5163 * etags.c: Replace the CPP tangle for alloca with the one from the
5164 autoconf documentation, since that's working elsewhere.
5165
51661993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5167
5168 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5169 description files can find their ancestors.
5170
51711993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5172
5173 * Makefile.in (install): Get the scripts from ${srcdir},
5174 unlike the executables.
5175 (ALL_CFLAGS): Add -I../src
5176
51771993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5178
5179 * Version 19.9 released.
5180
51811993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5182
5183 * Makefile.in (install): Do install the programs listed in
5184 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5185 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5186
5187 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5188 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5189
51901993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5191
5192 * etags.c: Include ../src/config.h.
5193
5194 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5195 in first loop. Delete files from bindir before installing new ones.
5196 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5197
51981993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5199
5200 * Version 19.8 released.
5201
5202 * make-docfile.c: Doc fix.
5203
52041993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5205
5206 * tcp.c: Fix comment syntax at top of file.
5207 (main): Don't call htons with the port number.
5208
52091993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5210
5211 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 5212 appropriate.
362bc2da
DL
5213
5214 * Makefile.in (install): Refer to the variables INSTALLABLES and
5215 INSTALLABLE_SCRIPTS, instead of writing them out.
5216
52171993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5218
5219 * make-path.c (main): Return 0.
5220
52211993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5222
ecc54057 5223 * Version 19.7 released.
362bc2da
DL
5224
52251993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5226
5227 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5228
52291993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5230
5231 * tcp.c: New file.
5232
52331993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5234
5235 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5236
52371993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5238
5239 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5240 only. We should really fix this later, but let's just make it
5241 compile for now.
5242
5243 Install patches from David J. Mackenzie to make the srcdir option
5244 work.
5245 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5246 Makefile.
5247 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5248 INSTALLABLE_SCRIPTS.
5249 (INSTALLABLE_SCRIPTS): New list.
5250 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5251 (${archlibdir}): The scripts to be installed live in the source
5252 tree, not in the object tree.
5253 (test-distrib): Note that the data file lives in the source tree,
5254 not the object tree.
5255 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5256 (all other targets): Change references to source files to use
5257 ${srcdir}, except for config.h, which lives in the object dir.
5258 (timer.o): Note that this depends on ../src/config.h.
5259 * make-docfile.c (main): Add a -d option, to tell it where to find
5260 the source files.
5261 * test-distrib.c (main): Take the name of the distribution file to
5262 test from the command line.
5263
5264 * timer.c: Fix mispellings of get_date function's name.
5265
52661993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5267
5268 * etags.c (main):
5269 Don't require that there be input files if -i switches were given.
5270
52711993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5272
5273 The GNU coding standards specify that CFLAGS should be left for
5274 users to set.
5275 * Makefile.in (CFLAGS): Put this in the "things configure might
5276 edit" section, and have it default to -g.
5277 (ALL_CFLAGS): New variable, set to all the flags which should be
5278 passed to compilations. Replace all other uses of CFLAGS with
5279 ALL_CFLAGS.
5280 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5281
5282 * Makefile.in (DEFS): Remove this; it's always just going to be
5283 "-DHAVE_CONFIG_H -Demacs".
5284
52851993-05-03 Paul Eggert (eggert@twinsun.com)
5286
5287 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5288 /[/]/, so change it to /[\/]/. This should work on all
5289 Posix-compliant awks. It's slightly wrong with traditional awk,
5290 since it matches \ too, but that's a minor problem compared to awk
5291 syntax errors.
5292
52931993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5294
5295 * Makefile.in (ALLOCA): New variable, whose value we should
5296 inherit from the top-level makefile.
5297 (etags, ctags): Include ALLOCA in the list of object files that
5298 these executables depend on and link.
5299
53001993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5301
5302 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5303
53041993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5305
5306 * make-docfile.c (write_c_args): Print an argument named "defalt"
5307 as "default".
5308
53091993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5310
5311 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5312 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5313 compiler.
5314
ecc54057 53151993-03-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5316
5317 * etags.c (YACC): flag added to c_ext.
5318 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
5319 (find_entries): consistently use streq when reasonable.
5320 (find_entries): a .y file is a yacc file.
5321 (get_C_stab): c_ext becomes c_ext&C_PLPL.
5322 (C_entries): logical cplpl means c_ext&C_PLPL.
5323 (C_entries): logical yacc_rules means we are after the first %%.
5324 (C_entries): added logic for yacc files.
5325
ecc54057 53261993-03-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5327
5328 * etags.c (C_entries): ':' case moved to the second switch.
5329 (C_entries): do not examine token if structdef==scolonseen.
5330 (consider_token): structtag set to null string for enum.
5331
ecc54057 53321993-03-12 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5333
5334 * etags.c (GET_COOKIE): and related macros removed.
5335 (logical): is now int, no more a char.
5336 (reg): define deleted.
5337 (isgood, _gd, notgd): deleted.
5338 (gotone): deleted.
5339 (TOKEN): member linestart removed.
5340 (linepos, prev_linepos, lb1): deleted.
5341 (main): call initbuffer on lbs array instead of lb1.
5342 (init): removed the initialisation of the logical _gd array;
5343 (find_entries): a .sa suffix means assembler file.
5344 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
5345 All C state machines rewritten.
5346 (C_entries): complete rewrite.
5347 (condider_token): complete rewrite.
5348 (getline): deleted.
5349
ecc54057 53501993-03-01 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5351
5352 * etags.c (C_entries): Added the quotednl logical variable.
5353 Used for parsing of #define's spanning multiple lines.
5354
ecc54057 53551993-02-23 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5356
5357 * etags.c (C_entries): Save the definedef status even when a
5358 newline is met inside a string.
5359
53601993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5361
ecc54057 5362 * Makefile.in (EXECUTABLES): added rcs-checkin.
362bc2da
DL
5363
5364 * Makefile.in (unlock, relock): New productions.
5365
53661993-03-16 Paul Eggert (eggert@twinsun.com)
5367
5368 * rcs2log: Some awks don't understand "\r". Code around this.
5369 Unfortunately this requires putting a carriage return in the
5370 source code. Don't assume that rlog will tolerate times like
5371 `10:10:60'; RCS 5.7 won't allow this.
5372
53731993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5374
5375 * timer.c (main): Set the ownership of the stdin file descriptor
5376 to the current process. Print error messages if either of the
5377 fcntl's fails.
5378
5379 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
5380 ../src/config.h), not void.
5381
53821993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5383
5384 * b2m.c (main): Don't exit upon reading a blank line.
5385
ecc54057 53861993-03-01 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5387
5388 * etags.c (C_entries): New local variable quotednl. Used for
5389 parsing of #define's spanning multiple lines.
5390
5391 * etags.c (C_entries): Save the definedef status
5392 even when a newline is met inside a string.
5393
53941993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5395
5396 * timer.c (notify): Initialize waitfor properly.
5397
ecc54057 53981993-02-22 Francesco Potort\e,Al\e(B (pot@CNUCE.CNR.IT)
362bc2da
DL
5399
5400 * etags.c (C_entries): Don't reset definedef when a newline inside a
5401 comment is met.
5402
54031993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5404
5405 * etags.c (find_entries): If filename ends in .f or .for,
5406 don't try anything but Fortran.
5407
54081993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
5409
5410 * timer.c (notify): Flush stdout after writing message to avoid lossage
5411 on terminals.
5412
5413 (notify): Also, write a newline after the token.
5414
54151992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5416
5417 * Makefile.in (exec_prefix): New variable.
5418 (bindir, libdir): Use it instead of `prefix'.
5419
5420 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
5421
5422 * Makefile.in (libdir): Default to ${prefix}/lib.
5423 (archlibdir): Adjusted to match.
5424
5425 * Makefile.in (distclean): Don't delete backup or autosave files.
5426 (extraclean): Like realclean, but does delete backup and autosave
5427 files.
5428
5429 * Makefile.in (realclean): Ignore errors from rm.
5430
5431 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
5432 that doesn't exist anymore.
5433
54341992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5435
5436 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
5437 described in the top-level Makefile.
5438 (UTILITIES): Add make-path to the list of utility programs.
5439 (../arch-lib): Replaced by the ${archlibdir} target, which places
5440 the executables in their permanent home.
5441 (install, install.sysv, install.xenix): Consolidated into one
5442 target which should work under all circumstances, modulo a few
5443 ignored error messages.
5444
5445 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
5446 a different number of arguments than other DEFVARs, recognize it
5447 specially, and expect the right number of commas.
5448
54491992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5450
5451 * make-path.c: New program, to help with the installation process.
5452 * Makefile.in (make-path): New target.
5453
5454 * make-path.c (touchy_mkdir): Remove debugging output.
5455
54561992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5457
5458 * Makefile.in (getdate.o): Added explicit target for this, so we
5459 can indicate that it depends on ../src/config.h.
5460
54611992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5462
5463 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
5464 instead of CFLAGS.
5465 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
5466
54671992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5468
5469 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
5470 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
5471 that system.
5472
5473 * Makefile.in (arch-lib): Give rm the `-f' option.
5474
54751992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5476
5477 * make-docfile.c (write_c_args): Rewritten to correctly print
5478 &optionals before the first identifier, but after the first paren.
5479 This code used to just wait for commas or spaces; now it notices
5480 identifier boundaries.
5481
54821992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5483
5484 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
5485
54861992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5487
5488 * make-docfile.c (write_c_args): Print the argument lists properly
5489 when the first argument is optional.
5490
54911992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5492
5493 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
5494 Redefine @item. Set catcode of +.
5495
54961992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5497
5498 * emacsclient.c (main): Set IPC_CREAT in msgget call.
5499
55001992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5501
5502 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
5503 (TEX_decode_env): Make `tab' one element longer.
5504
55051992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5506
5507 * etags.c (PF_funcs): Recognize the "entry" keyword.
5508
55091992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5510
5511 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
5512
55131992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5514
5515 * timer.c (events): Rather than having slots marked as in use or
5516 out of use by the `token' field, keep all pending events at the
5517 beginning of the array. When we delete an event in the middle of
5518 the array, we move the last event into its place.
5519 (num_events): New variable.
5520 (schedule): It is now cheaper to find a free event slot;
5521 events[num_events] is the first free slot.
5522 (notify): Scan events[0 .. num_events-1], instead of the whole
5523 array. When an event fires, move the last event in the array into
5524 its spot. Use num_events to determine whether or not there are
5525 any pending events, not wait_for.
5526 (getevent): Deleted unused variable `ep'.
5527 (sigcatch): It's now easier to find all the active events.
5528 (main): Initialize num_events.
5529
5530 * etags.c: Rather than fret about which systems have index and
5531 which systems have strchr, and how to tell the difference between
5532 them, we just write out our own versions. Big deal.
5533 (index, rindex): Extern declarations removed.
5534 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
5535 (etags_index, etags_rindex): New declarations.
5536 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
5537 TEX_getit, substr): Use the etags_*index functions, rather than
5538 the native *index functions.
5539 (rindex, index): Renamed to etags_rindex and tags_rindex, and
5540 made them unconditionally defined, rather than having them depend
5541 on NEED_*INDEX.
5542
5543 * etags.c (savenstr): Add declaration for this at top of file.
5544 (TEX_decode_env): Don't declare it local to this function.
5545
5546 * b2m.c: #include "../src/config.h", so we can test for the USG
5547 macro, and decide whether to include <string.h> or <strings.h>.
5548 * Makefile.in: Note that b2m.c depends on ../src/config.h.
5549
55501992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5551
5552 * timer.c: Reformatted according to the GNU coding standards.
5553 Removed arbitrary limits on the number of events queued and the
5554 length of the tokens used to identify them.
5555 Removed casts to (void).
5556 Removed debugging printfs; they clutter the code, and the need
5557 can be better filled using a real debugger.
5558
55591992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5560
5561 * timer.c: Installed new version from Eric Raymond; this is more
5562 portable, since it doesn't try to use SIGIO.
5563
55641992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5565
5566 * emacsclient.c (main): If we can't find the socket in this
5567 person's home directory, print a message which asks if they've
5568 started the server, instead of just printing the message from
5569 sys_errmsg; Cygnus finds that people are much less confused by
5570 this.
5571
55721992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5573
5574 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
5575 so that index and rindex get defined, why don't we actually
5576 control index and rindex using symbols called "NEED_INDEX" and
5577 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
5578 little more readable than defining something whose name implies
5579 that it's not?
5580
55811992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5582
5583 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
5584 distribution:
5585 Miscellaneous doc fixes.
1c478461 5586 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
5587 (scan_lisp_file): Instead of using long hairy strings of ifs, call
5588 read_lisp_symbol and then see what we got. Call skip_white
5589 instead of writing out a loop to do its job. Correctly extract
5590 docstrings from "defmacro" declarations.
5591
55921992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5593
5594 * movemail.c (strcpy): Declare this to return char *.
5595
55961992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5597
5598 * etags.c (C_entries): When we find a C++ comment, do actually
5599 skip to the end of the line; do a 'break' instead of a 'continue'.
5600
56011992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5602
5603 * etags.c (getit): Add missing parenthesis to expression which
5604 decides if this token is an identifier.
5605
56061992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5607
5608 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
5609
56101992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5611
5612 * etags.c (put_entries): Always put space between name and line num.
5613
56141992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
5615
5616 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
5617 warning.
5618 (LEVEL_OK_FOR_FUNCDEF): Ditto.
5619
56201992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5621
5622 * make-docfile.c (write_c_args): Pass both arguments to putc.
5623
56241992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
5625
5626 * etags.c (C_entries): Fixed reading of "..." strings.
5627 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
5628 the C library source.
5629
5630 * etags.c (C_entries): When we see a backslash inside a quoted
5631 string, skip to the next character. This allows us to correctly
5632 deal with strings containing quotes.
5633
56341992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5635
5636 * make-docfile.c (write_c_args): Print the C argument names as
5637 they would be written in Elisp; print '_' as '-'.
5638
56391992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5640
5641 * movemail.c [POP]: Get user name via getpwuid.
5642
56431992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5644
5645 * Makefile.in: flags in CC invocations rearranged for no reason.
5646
56471992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5648
5649 * etags.c (print_help): Remember not to imbed raw newlines in
5650 strings - end the lines with `\n\'.
5651
56521992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5653
5654 * timer.c (getevent): Removed declaration of memcpy; since
5655 different systems have different return types, and we're not even
5656 using the return type anyway, it wasn't doing us any good.
5657
56581992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5659
5660 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
5661 type of this function.
5662
56631992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5664
5665 * ChangeLog: Since the old etc contents have been split into etc
5666 and lib-src, the old etc's ChangeLog has been duplicated in the
5667 new etc and lib-src. That means that each contains complete and
5668 coherent information, although each contains extraneous
1c478461 5669 information.
362bc2da
DL
5670
56711992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5672
5673 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
5674 to be consistent with other GNU programs, like makeinfo.
5675
5676 * lib-src/Makefile: Renamed to Makefile.in; the configure script
5677 will edit this to produce Makefile.
5678
56791992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5680
5681 * etags.c (print_help, print_version): New functions.
5682 (main): Options added to support them.
5683
5684 * etags.c (longopts): New array of long names for the options.
5685 (main): Recognize them.
5686
56871992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5688
5689 * etags.c (C_entries): Removed comment saying that \" in a string
5690 isn't recognized as magic, because it is correctly handled.
5691
5692 * getopt.c, getopt.h: New files, from GNU C library.
5693 * etags.c: Rewritten to use getopt.
5694 #include "getopt.h".
5695 (file_num): Variable deleted; its role is now played by getopt's
5696 optind.
5697 (main): Argument processing loop rewritten to call getopt to get
5698 next option. Options which take parameters (-o and -i) rewritten
5699 to get parameter from optarg instead of argv[1]. Filename
5700 preprocessing loop and update command changed similarly.
5701 * Makefile (etags, ctags): Depend on and link with getopt.h,
5702 getopt.o, and getopt1.o.
5703 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
5704
5705 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
5706 is non-zero.
5707
5708 (main): In the argument processing loop, the 'goto next_arg'
5709 statements are breaking out of the switch statement in exactly the
5710 same way that a simple 'break' statement would; replace the gotos
5711 with breaks, and remove the label.
5712
57131992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5714
5715 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
5716 (consider_token): Move next_token_is_func to global.
5717
57181992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5719
5720 * Makefile: Conform with GNU coding standards:
5721 (mostlyclean): New target, synonymous with clean.
5722 (TAGS, check): New targets.
5723 (INSTALL, INSTALLFLAGS): New variables.
5724
57251992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5726
ecc54057 5727 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
5728 `config.emacs' to `configure'.
5729
5730 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5731 * etc/MACHINES: Same.
5732
57331992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5734
5735 * movemail.c (main): Allow tempname to be as long as necessary,
5736 instead of limiting it to 39 characters.
5737
5738 * movemail.c (main): Move declaration of buf from top of function
5739 to local block surrounding the copy loop. This makes it less
5740 likely to be confused with the buf used by the code which checks the
5741 permissions on outname's directory.
5742
57431992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
5744
5745 * SERVICE: Remove my entry.
5746
57471992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5748
5749 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
5750 hardcoded -g.
5751
5752 * movemail.c (xmalloc): Return char *, not int.
5753 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
5754 that is off by default -- normally don't unlink the mail spool
5755 file, just empty it. Pass creat mode 0600, not 0666.
5756
dff28924 57571992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5758
5759 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
5760 (all): Instead of here.
5761 (install): Don't use the -s option, since people need symbols to
5762 debug code.
5763
dff28924 57641992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
5765
5766 * etags-vmslib.c (fn_exp): Add type cast.
5767
57681992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5769
5770 * movemail.c: Changes in comments.
5771
dff28924 57721992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5773
5774 * Makefile: Make the distclean target erase the DOC files from
5775 ../share-lib and the executables from ../arch-lib.
5776
dff28924 57771992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5778
5779 * emacsclient.c: #include <sys/stat.h>
5780 (main): Do declare statbfr.
5781
dff28924 57821991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5783
5784 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
5785 for the socket, depending on SERVER_HOME_DIR.
5786 If using /tmp, put host name in the socket name.
5787
5788 * movemail.c (pfatal_and_delete): New function.
5789 (main, popmail): Use it.
5790 (popmail): Close output before deleting messages.
5791 Check for error on close and on fsync.
5792 Use `fatal' where appropriate.
5793 (main): Remove (void).
5794
5795 * aixcc.lex: New file. Not officially part of Emacs.
5796 * Makefile: Rules for that.
5797
dff28924 57981991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
5799
5800 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
5801
5802 * etags.c (main): Properly cast call to alloca that initializes
5803 included_files.
5804
58051991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5806
5807 * etags.c (files_are_tag_tables): Remove global var.
5808 (process_file): Don't test it. Also remove hack checking for a
5809 file named "TAGS".
5810 (main): -i now takes an arg which is the name of a file to include.
5811 Collect these names and emit include tags for them after processing
5812 all the argument files.
5813
dff28924 58141991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5815
5816 * wakeup.c: Terminate if parent goes away.
5817
dff28924 58181991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5819
5820 * etags.c (C_entries): Process token before handling end of line.
5821 When inner loops reach end of line, just back up.
5822 Let the real end of line processing happen in just one place.
a64387ee 5823 (consider_token): Likewise.
362bc2da 5824
dff28924 58251991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
5826
5827 * etags.c (TEX_mode): Skip comments while scanning the text to see
5828 which escape character this file uses.
5829
dff28924 58301991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5831
5832 * emacsserver.c [USG]: Terminate if msgrcv fails.
5833
dff28924 58341991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5835
5836 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
5837
dff28924 58381991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5839
5840 * make-docfile: Find the arguments to a C function correctly,
5841 by not ignoring the character that read_c_string returns. Don't
5842 even try to find argument names for functions that take MANY
5843 or UNEVALLED arguments, since they're a figment of the docstring's
5844 imagination.
5845
dff28924 58461991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5847
5848 * make-docfile: Read the .elc files generated by the new byte
5849 compiler.
5850
dff28924 58511990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5852
5853 * refcard.tex: Use cm fonts, not am, in multi-column mode.
5854
dff28924 58551990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5856
5857 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
5858
dff28924 58591990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5860
5861 * Makefile (install*): No need to install wakeup.
5862
dff28924 58631990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5864
5865 * Makefile (install*): Install emacsclient like etags.
5866
dff28924 58671990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5868
5869 * movemail.c (error): Handle 3 args.
5870 (main): Don't check input access if using pop.
5871
dff28924 58721990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5873
5874 * etags.c (find_entries): Check for numbers after Scheme suffix.
5875
dff28924 58761990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5877
5878 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
5879
dff28924 58801990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5881
5882 * Makefile (nemacstool, xvetool): New targets.
5883
dff28924 58841990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5885
5886 * emacsclient.c: Include errno.h and define related variables.
5887
dff28924 58881990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5889
5890 * emacsclient.c: Change usage message.
5891
dff28924 58921990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 5893
ecc54057 5894 * emacs.1: Add break before -nw option.
362bc2da 5895
dff28924 58961990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
5897
5898 * qsort.c: Replace with GNU version.
5899
dff28924 59001990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
5901
5902 * wakeup.c: New program replacing loadst.c.
5903
dff28924 59041990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5905
5906 * emacsclient.c [USG]: Pass msgsnd only 4 args.
5907
dff28924 59081990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
5909
5910 * etags.c: Rename `flag' variables for what they do instead of
5911 which option character sets them.
5912
dff28924 59131990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5914
5915 * loadst.c (main): Conditional to get load average on Apollo.
5916
dff28924 59171990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
5918
5919 * emacsserver.c: Set the permission on the socket to 0600.
5920
dff28924 59211990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5922
5923 * emacsclient.c [BSD]: Print clean message for failing getwd.
5924
dff28924 59251990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5926
5927 * getdate.y: Use the getdate.y from GNU tar for timer.
5928
dff28924 59291990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
5930
5931 * emacsclient.c (main): Don't put brackets around "filename" in
5932 usage message. It isn't optional.
5933
dff28924 59341990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 5935
a64387ee 5936 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 5937
dff28924 59381990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5939
5940 * emacsserver.c: Renamed from server.c.
5941 * Makefile: Reference emacsserver rather than server.
5942 * MACHINES: Doc fix for new emacsserver name.
5943
dff28924 59441990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5945
5946 * emacsclient.c: Print program name in error messages.
5947
dff28924 59481990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
5949
5950 * timer.c, getdate.y (new files) and Makefile:
5951 Sub-process support for run-at-time in timer.el.
1c478461 5952 Doesn't yet work correctly for USG.
362bc2da 5953
dff28924 59541990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
5955
5956 * MACHINES: Add HP 300 running BSD.
5957
dff28924 59581990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5959
5960 * yow.c: Dynamically allocate buffer; skip header before random
5961 choice to avoid bias toward first item.
5962
dff28924 59631989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5964
5965 * etags.c (readline): Separate out init of `pend'.
5966
dff28924 59671989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5968
5969 * etags.c: Undo changes relating to isgoodhdr.
5970
dff28924 59711989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5972
5973 * etags.c (isgoodhdr): New macro.
5974 (_gdh, notgdh): New variable used by that.
5975 (init): Initialize _gdh.
5976 (find_entries): Set header_file.
5977 (consider_token): Use isgoodhdr if in header file.
5978
5979 * etags.c (total_size_of_entries):
5980 Was miscalculating by 1 in rewritten case.
5981
5982 * etags.c (PAS_funcs): One arg to pfnote was missing.
5983
dff28924 59841989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
5985
5986 * MACHINES: Change for the ULTRIX entry.
5987
dff28924 59881989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
5989
5990 * etags.c (process_file): If file is not regular, return.
5991
dff28924 59921989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5993
5994 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
5995
dff28924 59961989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5997
5998 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
5999 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6000
dff28924 60011989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6002
6003 * etags.c (consider_token): Allow any number of typespec keywords
6004 after `typedef', before new type name.
6005 (enum sym_type): Add st_C_typespec.
6006 (C_create_stab): Put typespec kwds in table.
6007
dff28924 60081989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6009
6010 * etags.c (main): Don't depend on name invoked by.
6011 If CTAGS is not defined, assume it is ETAGS.
6012
dff28924 60131989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6014
6015 * etags.c (L_funcs): Allow package name in define construct,
6016 as in (foo::defmumble name-defined ...).
6017
dff28924 60181989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6019
6020 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6021
6022 * Makefile (yow): Depends on ../src/paths.h.
6023
dff28924 60241989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6025
6026 * etags.c: Fix compilation by moving Pascal after Fortran.
6027
dff28924 60281989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6029
6030 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6031
dff28924 60321989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6033
6034 * hexl.c: New file, supports hexl-mode.
6035
dff28924 60361989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6037
6038 * movemail.c: New compilation flag MAIL_USE_MMDF.
6039
dff28924 60401989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6041
6042 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6043 * server.c: Likewise.
6044
6045 * make-docfile.c (scan_c_file): Output argument names at end of string.
6046 (write_c_args): New subroutine.
6047
dff28924 60481989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6049
6050 * movemail.c: Report failure of flock.
6051
dff28924 60521989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6053
6054 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6055
dff28924 60561989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6057
6058 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
6059
dff28924 60601989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6061
6062 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6063
6064 * emacsstool.1: update to document environment variables.
6065
dff28924 60661989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6067
6068 * etags.c (PAS_funcs): New function by Mosur Mohan.
6069
6070 * movemail.c: On sysv, include unistd.h.
6071
dff28924 60721989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6073
6074 * b2m.c: New file.
6075
dff28924 60761989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6077
6078 * etags.c: Prolog support from Sunichirou Sugou
6079
dff28924 60801989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6081
6082 * Makefile (clean): New target.
6083
dff28924 60841989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6085
6086 * fakemail.c (put_line): Break header lines at 79 cols.
6087
dff28924 60881989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6089
6090 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6091 multiple tags per line.
6092
dff28924 60931989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6094
6095 * movemail.c: Check access before doing real work.
6096 Check that outfile is in a writable directory.
6097 On fatal error, delete the lock file.
6098
dff28924 60991988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6100
ecc54057
JB
6101 * env.c: Add decl for my-index
6102 * etags.c (file-entries): .oak => scheme
362bc2da 6103
dff28924 61041988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6105
6106 * movemail.c: Use `access' to check input and output files.
6107
dff28924 61081988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6109
6110 * emacsclient.c (main): Ignore all of CWD before first slash.
6111
dff28924 61121988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6113
6114 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6115
dff28924 61161988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6117
6118 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6119 * server.c: chmod the socket to 0700.
6120
dff28924 61211988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6122
6123 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6124 (add_field): Delete comments and turn `<', `>' to spaces
6125 in header lines.
6126 (USE_FAKEMAIL): New customization macro says to make fakemail
6127 not be a no-op even on a BSD system.
6128
dff28924 61291988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6130
6131 * etags.c (consider_token): Skip comments just like whitespace.
6132 Notice `struct', etc. and set strtag for those tokens.
6133 Return 1 for the token following `struct' if an open-brace follows it.
6134 (C_entries): Special handling of token following `struct'
6135 needed because we have probably advanced to the following line
6136 to find the `{'.
6137 (main): New option `T' sets tflag and strflag.
6138 Set both of them by default if eflags.
6139
dff28924 61401988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6141
6142 * movemail.c: Do fsync before closing output.
6143
dff28924 61441988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 6145
ecc54057
JB
6146 * movemail.c: Better error message when can't create tempname.
6147 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 6148
dff28924 61491988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6150
6151 * etags.c: Support assembler code for .s and .a files.
6152 (getit): Allow underscore in a tag.
6153
dff28924 61541988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6155
6156 * movemail.c: Close output and check errors before deleting input.
6157
dff28924 61581988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6159
6160 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6161 whether to prefix it. Handle line number args.
6162
dff28924 61631988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da
DL
6164
6165 * etags.c (main): default setting of eflag was backwards.
6166
dff28924 61671988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6168
6169 * etags.c: New option -i. -f renamed -o.
6170 `-' as input file means read input file names from stdin.
6171 -i spec'd or input file named TAGS means the input file is another
6172 tag table; output an "include" line for it.
6173
dff28924 61741988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6175
6176 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6177 New targets install, install.sysv, install.xenix.
6178 This makefile is now responsible for installing executables
6179 and documentation from this directory into system directories.
6180
dff28924 61811988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
6182
6183 * server.c, emacsclient.c (main): Compute socket name from euid.
6184
dff28924 61851988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6186
6187 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6188
dff28924 61891988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6190
6191 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6192 * emacsclient.c: Likewise.
6193 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6194
dff28924 61951988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6196
6197 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
6198 (istoken) New string-comparison macro.
6199 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6200
dff28924 62011988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6202
6203 * etags.c: Changes for VMS.
6204 Always define ETAGS on VMS.
6205 Define macros GOOD and BAD for success and failure exit codes.
6206 (begtk, intk): Allow `$' in identifiers
6207 (main): Don't support -B, -F or -u on VMS.
6208 Alternate loop for scanning filename arguments.
6209 (system): Delete definition of this function.
6210
6211 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6212
dff28924 62131988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6214
6215 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6216 around include of param.h. (Like fns.c.)
6217
dff28924 62181988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6219
6220 * loadst.c (load_average): Move load-average code to this new fn.
6221 Add conditionals to compute load ave on UMAX.
6222
dff28924 62231988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6224
6225 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6226 with opposite sense.
6227
dff28924 62281988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
6229
6230 * emacsclient.c: Delete references to unused variable `out'. This
6231 caused a bus error when used under hp-ux.
6232
dff28924 62331988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6234
6235 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6236
dff28924 62371988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
6238
6239 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6240
dff28924 62411988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6242
6243 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6244
dff28924 62451988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6246
6247 * movemail.c: #undef close, since config can #define it on V.3.
6248 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
6249
dff28924 62501988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6251
6252 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6253 invalid escape sequences such as `\{'.
6254
6255 * loadst.c: Add `sequent' conditional for file dk.h.
6256
dff28924 62571988-03-20 Richard M. Stallman (rms@wilson)
362bc2da
DL
6258
6259 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
6260
6261 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6922b018
KH
6262
6263;; Local Variables:
d19249e7 6264;; coding: iso-2022-7bit
33462dfa 6265;; add-log-time-zone-rule: t
6922b018 6266;; End:
2a34a036 6267
9766d41b 6268 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
273dc16a 6269 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
4e6835db 6270 2006, 2007 Free Software Foundation, Inc.
5b87ad55
GM
6271
6272 This file is part of GNU Emacs.
6273
6274 GNU Emacs is free software; you can redistribute it and/or modify
6275 it under the terms of the GNU General Public License as published by
4a9f99bd 6276 the Free Software Foundation; either version 3, or (at your option)
5b87ad55
GM
6277 any later version.
6278
6279 GNU Emacs is distributed in the hope that it will be useful,
6280 but WITHOUT ANY WARRANTY; without even the implied warranty of
6281 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6282 GNU General Public License for more details.
6283
6284 You should have received a copy of the GNU General Public License
6285 along with GNU Emacs; see the file COPYING. If not, write to the
6286 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
6287 Boston, MA 02110-1301, USA.
ab5796a9
MB
6288
6289;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc