Help strings corrections in etags.c.
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
63f018cd
FP
12007-11-22 Francesco Potort\e,Al\e(B <pot@gnu.org>
2
3 * etags.c (default_C_help) [CTAGS]: differentiate the help string,
4 as the defaults in ctags are different from etags.
5 (default_C_help, Cplusplus_help, PHP_help, print_help): Remove
6 text saying --members is the default: not true in Emacs 22.
7
61ec9e85
FP
82007-11-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
9
10 * etags.c: (C_entries): In case '}' decrement bracelev before testing it.
11
6e096c71
FP
122007-11-15 Masatake YAMATO <jet@gyve.org>
13
14 * etags.c (C_entries): In case '}', set fvdef to fvnone
15 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
16
61ec9e85
FP
172007-11-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
18
19 * etags.c: (C_entries): Reset the fvdef machine when out of function.
20 (C_entries): Parse start of C comment as a space == end of token.
21 This is not necessary for C++ comment, already parsed as newline.
22
70cd9104
JB
232007-10-26 Juanma Barranquero <lekktu@gmail.com>
24
25 * emacsclient.c: Add a wrapper for getenv so it also checks the
26 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
27 Code partially based on w32_get_resource and init_environment (w32.c).
28 (xmalloc): New function by K\e,Aa\e(Broly L\e$,1 q\e(Brentey (backported from the trunk).
29 (quote_file_name): Use it.
30 (egetenv): New wrapper for getenv.
31 (get_current_dir_name, decode_options, get_server_config)
32 (set_local_socket, set_socket, main): Use egetenv, not getenv.
33 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
34
d22b00e5
JR
352007-10-25 Jason Rumney <jasonr@gnu.org>
36
37 * emacsclient.c (sock_err_message): New function.
38 (set_tcp_socket): Use it.
39
dbf60b07
JR
402007-09-27 Jason Rumney <jasonr@gnu.org>
41
42 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
43
44 * emacsclient.c (w32_window_app): Init common controls when windowed.
45
ca4ea90f
EZ
462007-08-25 Eli Zaretskii <eliz@gnu.org>
47
48 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
49 Prepend "-" to the command, in case srcdir=. and file is copied
50 into itself.
51
cacc7b51
GM
522007-07-25 Glenn Morris <rgm@gnu.org>
53
54 * Relicense all FSF files to GPLv3 or later.
55
56 * COPYING: Switch to GPLv3.
57
effb3d94
EZ
582007-07-20 Eli Zaretskii <eliz@gnu.org>
59
60 * makefile.w32-in (clean): Don't delete *~.
61
7dfc4cda
CY
622007-06-02 Chong Yidong <cyd@stupidchicken.com>
63
64 * Version 22.1 released.
65
11d2d983
FP
662007-02-26 Francesco Potort\e,Al\e(B <pot@gnu.org>
67
d620ddb3 68 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 69
0971f887
GM
702007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
71
72 * Makefile.in (EMACS, EMACSOPT): New variables.
73 (blessmail): Use `--no-site-file' when compiling.
74
933ccc8c
FP
752007-02-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
76
77 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
78 (main): Now --members is the default for etags, not for ctags yet.
79
d881944f 802007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 81
47dad44f 82 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
83 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
84 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
85 import, package, extends, implements and interface to be treated
86 specially for all kinds of C-style files, not just Java files.
87
ed8bbc0e
FP
882007-01-02 Francesco Potort\e,Al\e(B <pot@gnu.org>
89
47dad44f 90 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
91 (no_duplicates): Static variables for the above option.
92 (print_help): Do not print help for --no-warn, now undocumented.
93 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 94 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 95
18f9bf25
FP
962006-12-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
97
98 * etags.c (readline): When creating a relative file name from a
99 #line directive, leave the file name alone. The previous
100 behaviour was to make it relative to the tags file directory,
101 under the hypothesis that the #line directive file name was
102 relative to the directory of the tagged file. That hypothesis is
103 wrong with Cpp and Lex.
17d5f8a6 104 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 105
5e059fc1
EZ
1062006-12-22 Eli Zaretskii <eliz@gnu.org>
107
108 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
109 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 110 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
111 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
112 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
113 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
114 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
115 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 116 (clean): Delete stamp_BLD.
5e059fc1 117
bd3b41c6
FP
1182006-12-20 Francesco Potort\e,Al\e(B <pot@gnu.org>
119
120 * etags.c (C_entries): DEFUN names were longer by one: corrected.
121
0e0dced5
JB
1222006-12-18 Juanma Barranquero <lekktu@gmail.com>
123
124 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
125 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
126 (main) [WINDOWSNT]: Remove code to release the focus; call
127 w32_give_focus instead.
128
4472aef4
JB
1292006-12-15 Juanma Barranquero <lekktu@gmail.com>
130
131 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
132 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
133 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
134 Suggestions and comment by Eli Zaretskii.
135
12f7728e 1362006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
137
138 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
139 Use $(USER32) for compatibility with Visual Studio .NET 2003.
140
310afa17
JB
1412006-11-30 Juanma Barranquero <lekktu@gmail.com>
142
143 * emacsclient.c (emacs_pid): New variable.
144 (message): Remove leftover code.
145 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
146 focus yet; emacsclient can still display an informational message
147 before sending requests to Emacs.
148 (main): Allow Emacs to grab the focus. Simplify message() call.
149
1502006-11-30 Michael Mauger <mmaug@yahoo.com>
151
152 * emacsclient.c (message): Make sure the message is properly
153 written even if it contains printf escapes, and flush the result.
154 (set_tcp_socket): Make the message for non-local connections
155 informational rather than an error.
156
8c57275b 1572006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
158
159 * etags.c (readline): Check for double quote after #line.
160
4472aef4 1612006-11-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
9b492fad
FP
162
163 * etags.c (readline): sscanf could in principle return 2.
164
1652006-11-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
166
167 * etags.c (readline): lno is unsigned.
168 (TeX_commands): Use p++ (rather than *p++) to increment p.
169 (Lua_functions): Explicitly discard LOOKING_AT's return value.
170
4d91c8f9
JB
1712006-11-27 Juanma Barranquero <lekktu@gmail.com>
172
173 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
174 ($(TRES)): New rule (copied from nt/makefile.w32-in).
175 ($(BLD)/emacsclientw.exe): Add dependency.
176
340d34a5
EZ
1772006-11-27 Eli Zaretskii <eliz@gnu.org>
178
d620ddb3 179 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 180
7dce1990
JB
1812006-11-25 Juanma Barranquero <lekktu@gmail.com>
182
183 * makefile.w32-in (VERSION): New macro.
184 (ECLIENT_CFLAGS): Add -DVERSION.
185
410797a5 1862006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
187
188 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
189
410797a5 1902006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 191
4472aef4
JB
192 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
193 file names with forward slashes.
cb0297bb 194
30aa95ce
JB
1952006-11-23 Juanma Barranquero <lekktu@gmail.com>
196
197 * emacsclient.c (print_help_and_exit): Tweak message contents and
198 tabs/spaces to improve alignment in message boxes.
199
42073bfb
JB
2002006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
201
202 * emacsclient.c: Include <stdarg.h>.
203 [WINDOWSNT]: Include <windows.h>.
204 (w32_check_console_app): New function.
205 (message): New function.
206 (decode_options, print_help_and_exit, fail, main)
207 (initialize_sockets, get_server_config, set_tcp_socket)
208 (set_local_socket, set_socket): Use message().
209
32dd9283 2102006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 211
32dd9283
JR
212 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
213 HAVE_INET_SOCKETS.
214
1bbea9fc
JB
2152006-11-13 Juanma Barranquero <lekktu@gmail.com>
216
217 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
218 ($(BLD)/emacsclientw.exe): New target.
219 (install): Install emacsclientw.exe.
220 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
221 (ECLIENT_CFLAGS): Remove redundant flags.
222
223 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
224
a48db427
JR
2252006-11-13 Jason Rumney <jasonr@gnu.org>
226
227 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
228
21f89bb7 2292006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
230
231 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
232
d5abc12c
JB
2332006-11-08 Juanma Barranquero <lekktu@gmail.com>
234
ed4a3730
JB
235 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
236 FARPROC to avoid a compiler warning.
d5abc12c 237
18b8c421
JB
2382006-11-07 Juanma Barranquero <lekktu@gmail.com>
239
88b46d84
JB
240 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
241 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
242
18b8c421
JB
243 * emacsclient.c (get_server_config): Extract also the Emacs pid
244 from the server file. On Windows, try to force the Emacs frame to
245 the foreground.
246
b03d27bd
JB
2472006-11-06 Juanma Barranquero <lekktu@gmail.com>
248
21f89bb7 249 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
250 option --socket-name.
251 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
252 command line options.
21f89bb7 253 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
254 (fail): Don't check for missing arguments, it is now done in set_socket.
255 (file_name_absolute_p): New function (loosely based on the one in
256 fileio.c).
257 (initialize_sockets): Don't check for duplicate loading of Winsock.
258 (get_server_config): Only try relative paths in the default
259 directory locations.
260 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
261 a remote server.
262 (set_socket): Call INITIALIZE(). Search explicit command-line
263 arguments, then environment variable EMACS_SERVER_FILE, then implicit
264 socket paths, before trying the alternate editor.
265 (main): Use file_name_absolute_p.
266
b20d6154
EZ
2672006-11-04 Eli Zaretskii <eliz@gnu.org>
268
269 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
270 file if it doesn't already exist.
271
9c92edca
JB
2722006-11-03 Juanma Barranquero <lekktu@gmail.com>
273
274 * emacsclient.c (initialize_sockets): Don't initialize Winsock
275 more than once.
276
b6ce9c46
JB
2772006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
278
279 * Makefile.in (INSTALL_SCRIPT): New macro.
280 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
281
4418616b
JB
2822006-11-02 Juanma Barranquero <lekktu@gmail.com>
283
284 * grep-changelog: When called with no arguments (not even a
285 filter), show help instead of blindingly dumping every single
286 ChangeLog available. Doc fix. Update version.
287
1e7823d0
JB
2882006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
289
290 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
291 [!WINDOWSNT]: Include <netinet/in.h> if available.
292 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
293 (IOCTL, IOCTL_BOOL_ARG): Remove.
294 (set_tcp_socket): Don't set the socket in blocking mode.
295 Remove c_arg.
296
ebc20ca0
JB
2972006-11-01 Juanma Barranquero <lekktu@gmail.com>
298
299 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
300 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
301
411b80a5
JB
3022006-10-31 \e,bS\e(Bscar Fuentes <ofv@wanadoo.es> (tiny change)
303
304 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
305 (close_winsock): Declare as __cdecl.
306
95d0feaa
JB
3072006-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
308
309 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
310 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
311 to set the socket in non-blocking mode.
312
e35fc962
JB
3132006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
314
d4fa60c8 315 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
316 (INVALID_SOCKET): Define.
317 (initialize_sockets): Put #endif at the right place.
318 (set_local_socket): Use progname, not argv[0].
319
ecc54057
JB
3202006-10-31 Juanma Barranquero <lekktu@gmail.com>
321
322 * makefile.w32-in (ALL): Add emacsclient.
323 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
324 (emacsclient, $(BLD)/emacsclient.exe): New targets.
325 (install): Install emacsclient.
326
327 * emacsclient.c: Add support for TCP sockets.
328 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
329 (INITIALIZE): New macros.
330 (IOCTL_BOOL_ARG): New typedef.
331 (server_file): New global variable.
332 (longopts): New option --server-file.
333 (decode_options): Process new option --server-file and environment
334 variable EMACS_SERVER_FILE.
335 (print_help_and_exit): Document new option.
336 (fail): If no connection available and no alternate editor,
337 suggest using options to make them explicit.
338 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
339 (send_buffer, sblen): New variables.
340 (send_to_emacs): New function to buffer output and send it with
341 send().
342 (quote_file_name): Use SEND_STRING.
343 (close_winsock, initialize_sockets): New functions to load and
344 unload Winsock.
345 (get_server_config, set_tcp_socket): New functions to create and
346 set up TCP sockets.
347 (set_local_socket): New function to create and set up Unix
348 socket (code moved from previous implementation).
349 (set_socket): New function to chose between TCP and Unix sockets.
350 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
351 set_local_socket. Use set_socket. Get answers from server.el with
352 recv(), not file stream functions.
353
70846e2a
EZ
3542006-10-09 Eli Zaretskii <eliz@gnu.org>
355
356 * makefile.w32-in (../src/config.h): Fix error message.
357
e2247cd0
EZ
3582006-09-30 Eli Zaretskii <eliz@gnu.org>
359
360 * .cvsignore: Add blessmail.
361
45a2056c
JB
3622006-09-15 Jay Belanger <belanger@truman.edu>
363
364 * COPYING: Replace "Library Public License" by "Lesser Public
365 License" throughout.
366
1f4edc37
JD
3672006-08-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
368
ecc54057 369 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 370 (readline): Change position on %n and \" in sscanf.
1f4edc37 371
1520a816
JD
3722006-08-07 Masatake YAMATO <jet@gyve.org>
373
ecc54057
JB
374 * etags.c (readline): Expect sscanf returns 2, not 1.
375
867cc23e
JD
3762006-08-07 Masatake YAMATO <jet@gyve.org>
377
9984b9d5 378 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
379 File ended without newline causes infinite loop.
380
fc185ae6
FP
3812002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
382
ecc54057 383 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6
FP
384
3852006-07-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
386
387 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
388 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
389 (Objc_suffixes): Suggest using --lang=c for full help.
390 (C_entries): Initialise savetoken to 0 to shut up the compiler.
391
116e754b
AS
3922006-07-20 Andreas Schwab <schwab@suse.de>
393
394 * fakemail.c (fatal): Drop second parameter and treat first
395 parameter as a plain string. Callers changed.
396
2381d38d
DN
3972006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
398
399 * ebrowse.c (usage, version): Mark as NO_RETURN.
400
401 * emacsclient.c (print_help_and_exit): Likewise.
402
327891eb
FP
4032006-07-10 Francesco Potort\e,Al\e(B <pot@gnu.org>
404
405 * etags.c (absolute_filename): Free unused space (cosmetic change).
406 (in_word_set): In C, also tag #undef symbols.
407
7cb93181
EZ
4082006-06-09 Eli Zaretskii <eliz@gnu.org>
409
410 * yow.c: Remove file.
411
412 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
413
414 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
415 yow${EXEEXT}: Remove target.
416
0f29c66d
MY
4172006-06-04 Masatake YAMATO <jet@gyve.org>
418
63fbb644 419 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
420 doesn't exist, is not seekable, not is failed in ftall.
421
a941b26b
EZ
4222006-06-03 Eli Zaretskii <eliz@gnu.org>
423
9781fb53
EZ
424 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
425 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
426 ($(BLD)/test-distrib.exe): New targets.
427 (sorted-doc, digest-doc, test-distrib): New targets.
428 (install): Install sorted-doc.exe and digest-doc.exe.
429 ($(BLD)/sorted-doc.$(O)): Update dependencies.
430
1b178b99
EZ
431 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
432 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
433 terminal device.
434
ae85efdb
EZ
435 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
436 [WINDOWSNT] <top level>: Don't redeclare malloc.
437 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
438 terminal device.
1b178b99 439 (main): Initialize bp, to avoid compiler warnings
ae85efdb 440
a941b26b
EZ
441 * makefile.w32-in: Delete traces of leditcfns.c.
442
443 * leditcfns.c: Remove file.
444
8a6d5da7
FP
4452006-05-23 Francesco Potort\e,Al\e(B <pot@gnu.org>
446
447 * pop.c (pop_open, socket_connection, KPOP_SERVICE): Added
448 comments explaining why the "kpop" service is never used.
449
642c61f3
EZ
4502006-05-13 Eli Zaretskii <eliz@gnu.org>
451
452 * makefile.w32-in (lisp1): Add fringe.elc.
453
7e237d24
FP
4542006-05-02 Francesco Potort\e,Al\e(B <pot@gnu.org>
455
456 * etags.c (Perl_functions): Free space allocated for var package.
457 (Erlang_functions): Possibly free space allocated for var last.
458 (Prolog_functions): Possibly free space allocated for var last.
459
7c47913b
DN
4602006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
461
7fe8b491
DN
462 * sorted-doc.c (main): Initialize docs to NULL.
463
cdeda579
DN
464 * yow.c (yow): Free buf.
465
7c47913b
DN
466 * etags.c: Delete c-indentation-style local variable.
467
2ef88a94
RS
4682006-04-29 Richard Stallman <rms@gnu.org>
469
5e5b35c7
RS
470 * movemail.c (main): Check for negative value from `read'.
471
2ef88a94
RS
472 * fakemail.c (read_header): Give fatal error if input has no header.
473
d65b4235
PE
4742006-04-02 Paul Eggert <eggert@cs.ucla.edu>
475
476 * b2m.c (main): Don't include <limits.h>.
477 (TM_YEAR_BASE): New macro.
478 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
479 that s/ files can override this. Use the more-conservative range
480 1000-9999.
481 (main): Check for asctime returning NULL.
482 * fakemail.c: Likewise.
483
f5565804
PE
4842006-03-27 Paul Eggert <eggert@cs.ucla.edu>
485
486 * b2m.c: Include <limits.h>.
487 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
488 (main): Check for out-of-range time stamps.
489 * fakemail.c: Likewise.
490
90c9c343
AS
4912006-03-18 Andre Spiegel <spiegel@gnu.org>
492
493 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
494 execute $DIFF twice, and once with the wrong options.
495
a6a2b5d4
EZ
4962006-02-23 Claudio Fontana <claudio@gnu.org>
497
9e2bcc86
EZ
498 * Makefile.in (install, uninstall): Add DESTDIR variable to
499 support staged installations.
a6a2b5d4 500
ef3f69f9
EZ
5012005-12-30 Eli Zaretskii <eliz@gnu.org>
502
503 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
504 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
505 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
506 Rearrange the list to be similar to $(shortlisp) in
507 src/Makefile.in.
ef3f69f9
EZ
508 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
509 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
510 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
511 src/Makefile.in.
512
30cfcf7f
RS
5132005-12-22 Richard M. Stallman <rms@gnu.org>
514
515 * Makefile.in (update-game-score.o): Delete spurious final `\'.
516
ecc54057 5172005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
518
519 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
520 which was never opened.
521
283879ef 5222005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
523
524 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
525 header files.)
526
55102b5d
FP
5272005-09-27 Francesco Potort\e,Al\e(B <pot@gnu.org>
528
529 * etags.c: Preliminary Forth support.
530 (prolog_pr): Cast strlen to int before comparison.
531 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
532 the second argument is indeed a literal string.
b9509712 533 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
534
5352005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
536
537 * etags.c (longopts, print_help, main): The -a (--append) option
538 can be used in ctags also; for one, the Linux make file uses it.
539
41ea4df8
CY
5402005-09-20 Chong Yidong <cyd@stupidchicken.com>
541
542 * ebrowse.c (add_sym): Compare namespace names instead of
543 namespace objects. This prevents the parser from incorrectly
544 treating classes whose superclass is in another namespace.
545
5c4757d3
RS
5462005-09-15 Richard M. Stallman <rms@gnu.org>
547
548 * Makefile.in (update-game-score.o): New target.
549 Compile and link this progranm separately.
550 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
551
df1b2142
JR
5522005-09-11 Jason Rumney <jasonr@gnu.org>
553
ecc54057 554 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142
JR
555 message instead.
556 (../src/paths.h): Removed.
557
c638055f
JB
5582005-07-27 Juanma Barranquero <lekktu@gmail.com>
559
560 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
561 generated. Ignore also ctags.c and getopt.h.
562
563 * makefile.w32-in (clean): Delete getopt.h.
564 (getopt.h): New rule.
565
9eff9fe3
PE
5662005-07-26 Paul Eggert <eggert@cs.ucla.edu>
567
568 Merge gnulib getopt implementation into Emacs.
569
570 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
571 (GETOPT_H): New macro, from gnulib.
572 (getopt.h): New rule, from gnulib.
573 (GETOPTOBJS): Now autoconfigured.
574 (GETOPTDEPS): getopt.h is now autoconfigured.
575 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
576 (getopt.o): Depend on ${srcdir}/gettext.h.
577 (movemail.o): Depend on $(GETOPT_H).
578 * getopt.c, getopt1.c: Sync from gnulib.
579 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
580 * getopt.h: Removed (now is getopt_.h).
581
ec641d50
KR
5822005-07-13 Ken Raeburn <raeburn@gnu.org>
583
0e0dced5
JB
584 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
585 (sendline): Add the \r\n to the line in a temporary buffer, and write
586 it all at once.
ec641d50 587
a0ec7a4a
LK
5882005-07-04 Lute Kamstra <lute@gnu.org>
589
590 Update FSF's address in GPL notices.
591
0e0dddda
EZ
5922005-06-13 Eli Zaretskii <eliz@gnu.org>
593
594 * makefile.w32-in ($(DOC)): Fix last change.
595
5a77c8e2
EZ
5962005-06-12 Eli Zaretskii <eliz@gnu.org>
597
598 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
599 temacs.exe, and the preloaded *.elc files. This avoids
600 unnecessary dumping and DOC rebuilding.
601
1a8fb426
EZ
6022005-06-04 Eli Zaretskii <eliz@gnu.org>
603
604 * ntlib.h (fileno): Don't define if already defined.
605
7235a58f
TTN
6062005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
607
608 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
609 (yow): Use EXIT_FAILURE in case of memory error.
610
5063dbbf
YM
6112005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
612
613 * make-docfile.c (DIRECTORY_SEP): New macro.
614 (IS_DIRECTORY_SEP): Use it.
615
5b9562c3
JD
6162005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
617
618 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
619
ba025f6d
YM
6202005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
621
622 * make-docfile.c: Undo previous change.
623
a9eedf40
AS
6242005-02-04 Andreas Schwab <schwab@suse.de>
625
0e0dced5
JB
626 * movemail.c (fatal): Accept third parameter and pass down to error.
627 (pfatal_with_name): Pass error string as format parameter instead of
628 as part of format string.
a9eedf40
AS
629 (pfatal_and_delete): Likewise.
630 (main): Adjust call to fatal.
631 (xmalloc): Likewise.
632
5a92a9eb
RS
6332005-01-29 Richard M. Stallman <rms@gnu.org>
634
635 * movemail.c (popmail): Don't use Errmsg as format string.
636
e6973a25
ST
6372004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
638
0e0dced5 639 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 640
1bb3da38
AS
6412004-12-15 Andreas Schwab <schwab@suse.de>
642
643 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
644 preprocessing to compile time constant.
645
d4a38fdd
KS
6462004-11-17 Kim F. Storm <storm@cua.dk>
647
648 * etags.c: Undo last change.
649
f2eb41c8
KS
6502004-11-09 Kim F. Storm <storm@cua.dk>
651
652 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
653 silence compiler.
654
655 * hexl.c (main): Init local var c to silence compiler.
656
657 * etags.c (main, consider_token, C_entries): Add misc switch
658 default targets to silence compiler.
659
3cf5c994
JD
6602004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
661
662 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
663 resulting DOC file can be used on Unix/Mac also.
664
e057dc50
FP
6652004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
666
667 * etags.c (main): When relative file names are given as argument,
668 make them relative to the current working dir, rather than
669 relative to the output tags file, if the latter is in /dev.
670
05d9a399
FP
6712004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
672
673 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
674 <stdlib.h> is available.
675 (enum sym_type): New st_C_attribute value for parsing
676 gcc's __attribute__. Deleted st_C_typespec value.
677 (gperf, in_word_set): Use gperf 3, options changed. Added the
678 __attribute__ keyword, removed all the st_C_typespec keywords,
679 changed attribute for Java to (C_JAVA & !C_PLPL).
680 (inattribute): New global bool, part of the C state machine.
681 (cblev): Identifier renamed to bracelev throughout.
682 (consider_token, C_entries): Numerous changes for making the
683 parser more robust and adding support for __attribute__.
684
6852004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
686
ecc54057 687 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
688 Support the Lua scripting language <http://www.lua.org>.
689
fba74375
FP
6902004-09-08 Francesco Potort\e,Al\e(B <pot@gnu.org>
691
d57727c9 692 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
693 for ease of use.
694
3751eb00
RS
6952004-07-17 Richard M. Stallman <rms@gnu.org>
696
697 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
698
86d373e6
JB
6992004-06-01 Juanma Barranquero <lektu@terra.es>
700
701 * makefile.w32-in (obj): Add image.c.
702
80e26b66
TTN
7032004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
704
0e0dced5 705 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 706
e6662c8b
JR
7072004-05-08 Jason Rumney <jasonr@gnu.org>
708
709 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
710 command-lines.
711
65396510
TTN
7122004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
713
714 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
715 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
716 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
717
718 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
719 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
720 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 721
c2bcfb19
TTN
7222004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
723
724 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
725
3f0656ff
TTN
7262004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
727
728 * b2m.c (GOOD, BAD): Delete macros. Throughout,
729 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
730 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
731
732 * etags.c: Likewise.
733
238add5e
JR
7342004-05-03 Jason Rumney <jasonr@gnu.org>
735
736 * makefile.nt: Remove.
737
b09c5608
EZ
7382004-04-26 Eli Zaretskii <eliz@gnu.org>
739
740 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
741 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
742 instead of a literal '/'.
743
d814862a
JB
7442004-04-23 Juanma Barranquero <lektu@terra.es>
745
746 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
747
442a2160
PE
7482004-04-17 Paul Eggert <eggert@gnu.org>
749
750 * rcs2log (Help): Clarify wording of the usage message.
751 Problem reported by Alan Mackenzie in
752 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
753
d5d66b7e
SM
7542004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * make-docfile.c (xmalloc): Fix return type.
757 (put_filename): New fun.
758 (scan_file): Use it.
759
bdfd0369
JB
7602004-03-09 Juanma Barranquero <lektu@terra.es>
761
762 * grep-changelog: Changes to support ChangeLog.10+.
763 (main): Tidy up usage string. Fix "Use of uninitialized value"
764 warning. Set version to 0.2. Parse the directory listing to get
765 any ChangeLog.n file, not just 1..9.
766 (header_match_p, entry_match_p, print_log, parse_changelog):
767 Remove Perl prototypes (their purpose is to help the parser, which
768 isn't needed here, not declare arguments).
769 (parse_changelog): Make --reverse faster on big batches by not
770 modifying the entries list.
771
a64387ee
JB
7722004-03-01 Juanma Barranquero <lektu@terra.es>
773
774 * makefile.w32-in (obj): Add fringe.c.
775
9766d41b
PE
7762004-02-14 Paul Eggert <eggert@twinsun.com>
777
778 * rcs2log: Work correctly if CVSROOT specifies :fork: or
779 :local: methods, or omits the colon between the hostname
780 and the path. Allow :/ in repository path, since CVS does.
781 Fix typo: "pository" should be set from $CVSROOT, not $repository.
782 This fixes a bug reported by Wolfgang Scherer in
783 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
784 along with some related bugs I discovered by inspecting how
785 CVS itself parses $CVSROOT.
786
a64387ee 7872004-02-04 J\e,bi\e(Br\e,bt\e(Bme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
788
789 * emacsclient.c (decode_options): Fix handling of alternate editor.
790
0734b0d0
SM
7912004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
792
793 * emacsclient.c (main): Don't use the hostname in the socket name.
794 Look for relative socket names in the /tmp dir rather than in cwd.
795
2a6fc2d9
RS
7962004-01-24 Richard M. Stallman <rms@gnu.org>
797
798 * emacsclient.c (main): Restore errno from saved_errno,
799 so the error message comes from socket_status.
800
0734b0d0
SM
8012004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
802
803 * emacsclient.c (main): Stop if socket name too long.
804 Only try su-fallback if the socket name was not explicit.
805 Check socket name length in su-fallback case as well.
806
152b6e83
AS
8072004-01-08 Andreas Schwab <schwab@suse.de>
808
809 * emacsclient.c (main): Save errno from socket_status.
810
e8228824
AS
8112004-01-04 Andreas Schwab <schwab@suse.de>
812
813 * emacsclient.c (main): Fix socket name when using another user.
814
c9140662
PE
8152003-12-27 Paul Eggert <eggert@twinsun.com>
816
817 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
818 a tag, and if the user has not specified an rlog option.
819 Adapted from a suggestion by Martin Stjernholm in
820 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
821 (Copyright): Update to 2003.
822
8babaa59
TTN
8232003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
824
825 * make-docfile.c (main): For return code, no longer special-case VMS.
826 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
827
14ef7288
EZ
8282003-09-28 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
829
830 * emacsclient.c (quote_file_name): Print the result instead of
831 returning it. Fix the return type accordingly.
1ae7cf5e
RS
832 (main): With --eval, if no file name, read from stdin.
833 Quote file names.
14ef7288 834
f387bdea
RS
8352003-09-10 Richard M. Stallman <rms@gnu.org>
836
837 * emacsclient.c (main): Use socket_name.
838
14ef7288 8392003-09-10 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
840
841 * emacsclient.c (socket_name): New variable.
842 (longopts, decode_options, print_help_and_exit):
843 Handle --socket-name argument.
844
0b7e7337
FP
8452003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
846
783bcffa 847 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
848 token len is long enough.
849
ac06b30b
DL
8502003-08-20 Dave Love <fx@gnu.org>
851
852 * Makefile.in: Remove obsolete references to alloca.
853
32b0a3c6
JB
8542003-07-29 Ken Brush <ken@wirex.com>
855
856 * emacsclient.c (main)
857 * etags.c (suggest_asking_for_help)
858 * movemail.c (main): Fix having macros in a printf statement.
859
3867c42d
JB
8602003-05-31 Juanma Barranquero <lektu@terra.es>
861
862 * makefile.w32-in (lisp): Fix references to byte-run.el,
863 float-sup.el and map-ynp.el, which are now in emacs-lisp.
864
7933722a
DL
8652003-05-22 Dave Love <fx@gnu.org>
866
867 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
868 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
869
463f55ee
DL
8702003-05-20 Dave Love <fx@gnu.org>
871
872 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
873
874 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
875
1b7a835b
JB
8762003-04-27 Oliver Scholz <alkibiades@gmx.de>
877
0e0dced5 878 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 879
eec54bd7
SM
8802003-04-12 Stefan Monnier <monnier@cs.yale.edu>
881
882 * emacsclient.c (main): Use new safe location for socket.
883
ff4bd681
JB
8842003-03-12 Tom Tromey <tromey@redhat.com>
885
eec54bd7
SM
886 * emacsclient.c (print_help_and_exit): Print to stdout.
887 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
888 (decode_options): Don't call print_help_and_exit in default case.
889 Print version information to stdout.
890 (main): Don't call print_help_and_exit.
891
dd132e44
RS
8922003-02-15 Richard M. Stallman <rms@gnu.org>
893
894 * cvtmail.c: Cast result of malloc and realloc.
895 Don't include stdlib.h, becuase config.h does.
896 (malloc, realloc): Declarations deleted.
ff4bd681 897
dd132e44
RS
898 * yow.c (yow): Cast result of malloc and realloc.
899 (malloc, realloc): Declarations deleted.
900
71ffc53a
JB
9012003-02-11 Juanma Barranquero <lektu@terra.es>
902
903 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
904
0dfd93c0
AS
9052003-02-08 Andreas Schwab <schwab@suse.de>
906
907 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
908 instead of the substitution.
909
37d1e680
RS
9102003-02-04 Richard M. Stallman <rms@gnu.org>
911
912 * update-game-score.c (push_score, read_scores): Cast values
913 of malloc and realloc.
914 (main, lock_file): Avoid assignment inside if.
915
c60ee5e7
JB
9162003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
917
918 * Makefile.in: Use @EXEEXT@ for Cygwin.
919
b24e2dc7
DL
9202003-01-21 Dave Love <fx@gnu.org>
921
922 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
923 column-0 `('.
924
925 * yow.c: Don't include string.h.
926
675d000f
RS
9272003-01-20 Richard M. Stallman <rms@gnu.org>
928
929 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
930 New targets.
931
207aa3ff
KS
9322003-01-06 Kim F. Storm <storm@cua.dk>
933
934 * pop.c (__P): Renamed from _P to avoid problems on Cygwin.
935 All uses changed.
936
cf6d30d7
AI
9372002-12-18 Andrew Innes <andrewi@gnu.org>
938
939 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
940 because GNU make doesn't append when using >> redirection.
941
649fc2c5
PJ
9422002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
943
944 * b2m.pl: Make sure every message ends with a blank line, because
945 some mbox parsers require a blank line before "From " lines.
946
85cce843
RS
9472002-12-08 Richard M. Stallman <rms@gnu.org>
948
949 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
950 (_): Test only HAVE_LIBINTL_H to decide what to do.
951
2ccc4d34
RS
9522002-12-05 Richard M. Stallman <rms@gnu.org>
953
954 * getopt.c: Comment out include of libintl.h or gettext.h.
955
c5992177
RS
9562002-12-04 Richard M. Stallman <rms@gnu.org>
957
958 * Update getopt from gnulib version; changes described below.
959
960 * getopt1.c: Conditionally find getopt.h.
961 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
962
963 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
964 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 965 (wchar.h): Include, maybe.
c5992177
RS
966 (attribute_hidden): Define if not defind.
967 (__getopt_initialized): Use attribute_hidden.
968 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
969 (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
970 Conditional on USE_NONOPTION_FLAGS.
971 (SWAP_FLAGS): New definitions.
972 (exchange): Test USE_NONOPTION_FLAGS.
973 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
974 (_getopt_internal): Error if argc < 1. New local var print_errors.
975 Improve test for ambiguous long option.
976 Add LIBIO support for error message output.
977 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
978
979 * getopt.h: Maybe include ctype.h.
980 Treat __cplusplus like __STDC__.
981 (decls): Use __ in arg names.
982
4b5e69bd
SE
9832002-12-02 Stephen Eglen <stephen@gnu.org>
984
985 * emacsclient.c (main): Tell user how to start server within Emacs
986 if socket could not be found.
987
19fa03f3
RS
9882002-12-02 Richard M. Stallman <rms@gnu.org>
989
990 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
991
7be215b4
JB
9922002-11-19 Ben Key <bkey1@tampabay.rr.com>
993
29f538e6
BK
994 * makefile.w32-in: Fixed a bug that caused the documentation for
995 the built in function play-sound-internal not to be included in
996 /etc/DOC.
7be215b4 997
1998560a
DL
9982002-11-18 Dave Love <fx@gnu.org>
999
1000 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1001 fcntl.h, stdarg.h conditionally.
1002 (_GNU_SOURCE, __attribute__): Don't define.
1003 (optarg, optind, opterr): Declare.
1004 (lose, lose_syserr): Use NO_RETURN.
1005 (get_user_id): Use P_.
1006
8b96caf3
RS
10072002-11-17 Richard M. Stallman <rms@gnu.org>
1008
1009 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1010
59daa29a
DL
10112002-11-14 Dave Love <fx@gnu.org>
1012
1013 * movemail.c (pop_retr): Declare comment.
1014
1015 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1016
1017 * Makefile.in (YACC): Deleted.
1018
f1b443bf
AS
10192002-10-19 Andreas Schwab <schwab@suse.de>
1020
1021 * Makefile.in (${archlibdir}): Always create $(gamedir).
1022 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1023
52402e4f
JB
10242002-10-04 Juanma Barranquero <lektu@terra.es>
1025
1026 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1027
15dab115
MR
10282002-09-30 Markus Rost <rost@math.ohio-state.edu>
1029
1030 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1031 completely.
1032
30be2360
SM
10332002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1034
1035 * emacsclient.c: Remove SYSV support.
1036 (eval, display): New vars.
1037 (longopts): Add --eval and --display.
1038 (decode_options): Add -e and -d processing.
1039 (print_help_and_exit): Update the usage string.
1040 (main): Add support for --eval and --display.
3ecdcd59 1041 (main): Always use /tmp and non-qualified hostname.
30be2360 1042
4208da83
SM
10432002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1044
1045 * emacsserver.c: Remove.
1046
3cf8c6aa
SM
10472002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1048
1049 * emacsclient.c (quote_file_name): Quote \n.
1050 (main): Print a final \n when needed.
1051
ecc54057 10522002-09-03 Francesco Potort\e,Al\e(B <pot@gnu.org>
4c6dce51
FP
1053
1054 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1055 string that cannot be freed.
1056
ecc54057 10572002-08-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
ba88f8eb
FP
1058
1059 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1060 auto-detection is enabled and the `::' qualifier is met.
1061 (consider_token, C_entries): Several bugs corrected that tagged
1062 some declarations even though --declarations was not used.
1063 (plainc): New macro.
1064 (C_entries): Use it.
1065 (C_entries): Several cosmetic changes.
1066 (C_entries): Invalidate the token is some cases.
1067
ecc54057 10682002-08-29 Francesco Potort\e,Al\e(B <pot@gnu.org>
09cd1a74 1069
eec54bd7 1070 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1071 (ignoreindent): Renamed from noindentypedefs.
1072 (cjava, cplpl): They are now macros instead of local vars.
1073
ecc54057 10742002-08-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
09cd1a74
FP
1075
1076 * etags.c (HTML_labels): Tag ID= also.
1077
ecc54057 10782002-08-27 Francesco Potort\e,Al\e(B <pot@gnu.org>
87046df8
FP
1079
1080 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1081
ecc54057 1082 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1083 (etags_strcasecmp): Like BSD's, for compatibility.
1084 (strcaseeq): Make it into a macro.
1085
1086 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1087 (linebuffer_init): Renamed from initbuffer. All callers changed.
1088 (pattern): Structure renamed to `regexp', member regex renamed to
1089 pattern.
1090 (node_st): Member pat renamed to regex.
eec54bd7
SM
1091 (pattern); New member force_explicit_name, for future use.
1092 Now always set to true, cannot be reset.
87046df8
FP
1093 (add_regex, regex_tag_multiline, readline): Use it.
1094 (main): Free some global structures.
8ee14629 1095 (fdesc): New member `written'.
87046df8
FP
1096 (readline, process_file): Initialise it.
1097 (put_entries): Set it.
1098 (main): Use it to create entries for files without tags.
1099 (total_size_of_entries): Do not count invalid tags.
87046df8 1100
02ce3e80
SM
11012002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1102
1103 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1104 for the function name in the usage info.
1105
5fba5c21
CW
11062002-07-31 Colin Walters <walters@gnu.org>
1107
1108 * update-game-score.c (P_): New macro. Use it for all prototypes.
1109 (lose): Don't use varargs.
1110 (lose_syserr): New function.
1111
1112 * update-game-score.c: Change all functions to K&R style.
1113
712eaee0
AS
11142002-07-30 Andreas Schwab <schwab@suse.de>
1115
1116 * Makefile.in (localstatedir): New variable.
1117
c89ed6ef
PJ
11182002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
1119
1120 * b2m.pl: Fix regexp for finding return address fields.
1121
1e042160
SM
11222002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1123
1124 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1125
c60ee5e7 11262002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
e9b60209 1127
02ce3e80 1128 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 1129
9ee028d2
PJ
11302002-06-26 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1131
1132 * b2m.pl: New file.
1133
ecc54057 11342002-06-21 Francesco Potort\e,Al\e(B <pot@gnu.org>
e1af8d40 1135
ecc54057 1136 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
1137 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1138 (PHP_functions, PHP_functions, Cobol_paragraphs)
1139 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1140 (prolog_pr, erlang_func, erlang_attribute)
1141 (Perl_functions, Perl_functions, Pascal_functions)
1142 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1143 (get_tag): Prototype changed, all callers changed.
1144
ecc54057 11452002-06-20 Francesco Potort\e,Al\e(B <pot@gnu.org>
ceaeb365 1146
d76132d0
FP
1147 * etags.c: Implement implicit tag names, that is, unnamed tags
1148 whose name is automatically deduced by etags.el. The advantage is
1149 that there is no explicit tag name in most tags, so the size of
1150 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 1151 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
1152 (make_tag): New function (was the disabled function new_pfnote).
1153 (make_C_tag): Use it.
1154
ecc54057 11552002-06-19 Francesco Potort\e,Al\e(B <pot@gnu.org>
f175bfff
FP
1156
1157 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1158 (Makefile_targets): Tag variables unless --no-globals.
1159 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1160
ecc54057 11612002-06-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
82ef78b3
FP
1162
1163 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1164 (invalidate_nodes): Bug corrected.
1165 (print_help): Better help for regexps.
1166
7a8940da
JB
11672002-06-13 Juanma Barranquero <lektu@terra.es>
1168
1169 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1170 font-core.elc.
1171
ecc54057 11722002-06-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
6861f0e3
FP
1173
1174 * etags.c: New multi-line regexp and new regexp syntax.
1175 (arg_type): at_icregexp label removed (obsolete).
1176 (pattern): New member multi_line for multi-line regexps.
1177 (filebuf): A global buffer containing the whole file as a string
1178 for multi-line regexp matching.
1179 (need_filebuf): Global flag raised if multi-line regexps used.
1180 (print_help): Document new regexp modifiers, remove references to
1181 obsolete option --ignore-case-regexp.
1182 (main): Do not set regexp syntax and translation table here.
1183 (main): Treat -c option as a backward compatibility hack.
1184 (main, find_entries): Init and free filebuf.
1185 (find_entries): Call regex_tag_multiline after the regular parser.
1186 (scan_separators): Check for untermintaed regexp and return NULL.
1187 (analyse_regex, add_regex): Remove the ignore_case argument, which
1188 is now a modifier to the regexp. All callers changed.
1189 (add_regex): Manage the regexp modifiers.
1190 (regex_tag_multiline): New function. Reads from filebuf.
1191 (readline_internal): If necessary, copy the whole file into filebuf.
1192 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1193
ecc54057 11942002-06-11 Francesco Potort\e,Al\e(B <pot@gnu.org>
6861f0e3
FP
1195
1196 * etags.c (add_regex): Better check for null regexps.
1197 (readline): Check for regex matching null string.
1198 (find_entries): Reorganisation.
1199
ecc54057 12002002-06-07 Francesco Potort\e,Al\e(B <pot@gnu.org>
f0da41a6
FP
1201
1202 * etags.c (scan_separators): Support all character escape
1203 sequences supported by Gcc.
02ce3e80 1204 (find_entries): Rewind unconditionally.
f0da41a6
FP
1205 (find_entries): Do not call language functions directly, now calls
1206 itself.
1207 (find_entries): Do general initialisations here.
1208 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1209 (Ada_getit, Pascal_functions, Pascal_functions)
1210 (prolog_skip_comment): Do not do them here.
1211 (readline_internal): Increment lineno here.
1212 (readline): Conditionally undo readline_internal increment.
1213 (readline): Do not return a value.
1214
ecc54057 12152002-06-06 Francesco Potort\e,Al\e(B <pot@gnu.org>
5526f1f6 1216
88c71720 1217 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
1218 (enum arg_type): New label at_stdin.
1219 (STDIN): New constant.
1220 (parsing_stdin): New flag.
1221 (longopts): New option --parse-stdin=NAME.
1222 (print_help): Document it.
1223 (main): Handle it.
1224 (process_file): Split into process_file and process_file_name.
1225 (process_file_name): New function.
1226
88c71720 1227 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 1228 (TeX_commands): Skip comments.
5526f1f6
FP
1229 (TEX_defenv): Now contains more contructs.
1230 (TEX_cmt): Make it a static char and move it before TeX_commands.
1231 (TeX_commands): Shorten the tag to the brace after the name.
1232 (TeX_commands): Names now include the initial backslash.
1233 (TeX_commands): Names do not include numeric args #n.
1234 (TeX_commands): Correct line char number in tags.
1235 (TEX_tabent, TEX_token): Deleted.
1236 (TeX_commands, TEX_decode_env): Streamlined.
1237
ecc54057 12382002-06-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
50496bd9
FP
1239
1240 * etags.c (main): Avoid a buffer overrun with sprintf.
1241
a71867c5
RS
12422002-05-30 Richard M. Stallman <rms@gnu.org>
1243
1244 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1245 (LIBS_MOVE): Renamed from MOVE_LIBS.
1246
b7e67db6
PE
12472002-05-26 Paul Eggert <eggert@twinsun.com>
1248
1249 Reinstate the following change from 2002-03-22, which was
1250 inadvertently lost on 2002-04-13.
1251
1252 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1253 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1254 the latter usage.
1255
5f226e2c
EZ
12562002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1257
1258 * pop.c (socket_connection): Move the code to resolve the POP
1259 host right before trying to connect with it.
1260
5167cfda
CW
12612002-04-28 Colin Walters <walters@verbum.org>
1262
1263 * Makefile.in (${archlibdir}): Don't conditionalize on
1264 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1265 or not we have access to the specified game user.
50496bd9 1266
5167cfda
CW
1267 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1268 (main): New argument -d, for specifying directory.
1269 (usage): Document.
02ce3e80 1270 (get_user_id): Compute.
5167cfda
CW
1271 (get_home_dir): Deleted.
1272 (get_prefix): New function, taken from main.
1273 (main): Check whether or not we are running setuid. Move prefix
1274 computation to get_prefix. Don't call getpwent; we don't need to
1275 any more. Instead, move it to get_user_id().
1276
beedfcf1
PJ
12772002-04-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1278
1279 * ebrowse.c (skip_initializer): Return void.
1280
973c3c87
CW
12812002-04-23 Colin Walters <walters@verbum.org>
1282
1283 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1284 space.
1285
ecc54057 12862002-04-22 Francesco Potort\e,Al\e(B <pot@gnu.org>
8378bcd3 1287
ecc54057 1288 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
1289 (process_file): Print the tags from the nodes as soon as
1290 possible, and delete the nodes. This brings down the memory
1291 occupancy as etags to almost the same level as when the #line
1292 directives were not parsed.
1293 (free_fdesc): New function.
1294 (find_entries): Use it.
1295 (invalidate_nodes): In etags mode, do not just mark the nodes as
1296 invalid, do delete them.
1297
c901ceff
GM
12982002-04-21 Gerd Moellmann <gerd@gnu.org>
1299
1300 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1301
c42d6dbd
EZ
13022002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1303
1304 * update-game-score.c: Move config.h before the other headers, to
1305 avoid compiler warnings.
1306
ecc54057 13072002-04-16 Francesco Potort\e,Al\e(B <pot@gnu.org>
090416ca
FP
1308
1309 * etags.c (find_entries): Bug fix in list management.
1310
ecc54057 13112002-04-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
5dab24c1
FP
1312
1313 * etags.c (get_language_from_filename): Add one argument.
1314 (strcaseeq): New function.
1315 (get_language_from_filename): Use it to do a case insenstitive
1316 comparison if called with appropriate args.
1317 (find_entries): Try with case insensitive match.
1318 (process_file): Bug fixed.
1319
ecc54057 13202002-04-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
c150db23
FP
1321
1322 * etags.c (find_entries): Delete tags previously obtained from
1323 file xxx.c's #line directives when parsing file xxx.y. This is
1324 generally done for automatically generated files containing
1325 #line directives. This handles the case when xxx.y is tagged
1326 before xxx.c, and the entries of xxx.c pointing to xxx.y should
1327 be discarded.
eec54bd7 1328 (language): Add the metasource member. Initializers changed.
c150db23
FP
1329 (invalidate_nodes): New function.
1330 (readline): Discard lines after having found a #line
02ce3e80 1331 directive pointing to an already tagged file. This handles the
c150db23
FP
1332 case when xxx.y is tagged before xxx.c, and the entries of
1333 xxx.c pointing to xxx.y should be discarded.
1334 (fdesc): New structure for keeping track of input files.
1335 (fdesc): Remove `file' member (a string) and use instead a pointer
1336 to a file description structure.
02ce3e80
SM
1337 (curfile, curfiledir, curtagfname, curlang, nocharno)
1338 (forced_lang): Global variables removed in favor of fdhead and
c150db23
FP
1339 curfdp, pointers to file description strucures.
1340 (longopts, main, print_help): Use the CTAGS conditional to include
1341 or exclude options that work on etags or ctags only.
02ce3e80
SM
1342 (process_file, find_entries, pfnote, add_node, put_entries)
1343 (readline): Use fdhead and curfdp.
c150db23
FP
1344 (process_file, find_entries): Do not take an arg string, all
1345 callers changed.
1346
1347 * etags.c (longopts, print_help, main): Test CTAGS to disallow
1348 options that are not right for either etags or ctags.
1349
1350 * etags.c (number_len, total_size_of_entries): Define them also
1351 in CTAGS mode, because gcc does not compile all refs away.
1352
e9d1f248
CW
13532002-04-14 Colin Walters <walters@debian.org>
1354
1355 * update-game-score.c (lock_file): If the lock file is older than
1356 an hour, delete it. Reset attempts to zero if we have to break
1357 the lock.
1358
7605f1bd
AS
13592002-04-14 Andreas Schwab <schwab@suse.de>
1360
1361 * update-game-score.c (read_score): Fix type of second parameter
1362 of getdelim to be of type size_t instead of int. Use 0 instead of
1363 ESUCCES.
1364
e82defd1
CW
13652002-04-10 Colin Walters <walters@verbum.org>
1366
ecc54057 1367 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
1368 (MAX_DATA_LEN, MAX_SCORES): New.
1369 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1370 default to ~/.emacs.d/games.
1371 (get_user_id): Don't zero uid in the case where we can't get the
1372 username.
1373 (lose): New function.
1374 (main): Actually use `max', and default it to MAX_SCORES.
1375 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
1376 function.
1377 (read_score): Handle the case of reading unamelen characters, then
1378 finishing. Use mktemp if mkstemp isn't available.
1379 (lock_file, unlock_file): Delete unused versions.
1380 (lock_file): Always sleep, even if we unlinked the lock file.
1381
e82defd1
CW
1382 * Makefile.in (gamedir, gameuser): New variables.
1383 (toplevel, UTILITIES): Add update-game-score.
1384 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
1385
5795b420
CW
13862002-04-07 Colin Walters <walters@verbum.org>
1387
1388 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
1389 (get_user_id): Take struct passwd as an argument.
1390 (get_home_dir): New function.
1391 (main): Read in user information here. Discover home directory if
1392 necessary.
1393 (read_score): Trim newline only in `getline' case.
1394
cd553ffb 13952002-04-05 Colin Walters <walters@debian.org>
c150db23 1396
cd553ffb
CW
1397 * update-game-score.c (toplevel): Include pwd.h.
1398 (struct score_entry): Add username field.
1399 (push_score): Use it.
1400 (get_user_id): New function.
1401 (main): Don't malloc excessively.
1402 (main): Use username field.
1403 (read_score): Read it.
1404 (push_score): Handle it.
1405 (write_scores) Write it.
c150db23
FP
1406 (read_score): Handle arbitrary length data.
1407
b74bd4a3
EZ
14082002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
1409
1410 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
1411
fa8bc89d
GM
14122002-03-29 Gerd Moellmann <gerd@gnu.org>
1413
1414 * ebrowse.c (add_declarator, skip_initializer): New functions.
1415 (declaration): Use them.
1416
dd87b4cc
JR
14172002-03-28 Jason Rumney <jasonr@gnu.org>
1418
1419 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
1420
cd553ffb
CW
14212002-03-27 Colin Walters <walters@debian.org>
1422
1423 * update-game-score.c: New file.
1424
dfef6d49
PE
14252002-03-22 Paul Eggert <eggert@twinsun.com>
1426
1427 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1428 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1429 the latter usage.
1430
ecc54057 14312002-03-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
a13d6523 1432
4fff90e4 1433 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
1434 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1435 (TeX_commands): Name tags. Correction of old disabled code.
1436
1437 * etags.c (curfiledir, curtagfname): New global variables.
1438 (process_file): Initialise them.
1439 (readline): Canonicalize the name found in #line directive.
893a741e 1440
4fff90e4 14412002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 1442
893a741e
JR
1443 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1444 compilers that don't optimize out dead code.
1445
ecc54057 14462002-03-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
51aeded3
FP
1447
1448 * etags.c: Honour #line directives.
1449 (no_line_directive): New global var; set it for old behaviour.
1450 (main): Remove some #ifdef in the getopt switch.
1451 (add_node, put_entries): Code added to merge different chunks of
1452 nodes referring to the same file. Currently the tags are just
1453 appended, without any check for duplicates.
1454 (Perl_functions): Do not special case ctags.
1455 (readline): Identify #line directives and do the right thing.
1456 (nocharno, invalidcharno): New global vars.
1457 (process_file): Reset nocharno.
1458 (readline): Set nocharno.
1459 (pfnote): Read nocharno and maybe put invalidcharno in node.
1460 (total_size_of_entries, put_entries): Use invalidcharno.
1461
1462 * etags.c: Keep the whole tag table in memory, even in etags mode.
1463 (main): Call put_entries here even in CTAGS mode.
1464 (main, process_file): Check the return values of fclose and pclose.
1465 (process_file): Do not call put_entries after parsing each file.
1466 (process_file): Canonicalise file names even for ctags.
1467 (process_file): Set curfile here...
1468 (find_entries): ... not here any more.
1469 (add_node): In etags mode, build a linked list of entries (on
1470 right pointer) for each file, and link the first entry of each
1471 file on left nodes.
1472 (put_entries): Print here the name of the file.
1473 (put_entries): Print the entries starting from the first file.
c150db23 1474 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
1475 mode, make the second work only on the right nodes.
1476
1477 * etags.c: Make all global variables static.
1478
50ce1f62
JB
14792002-02-25 Juanma Barranquero <lektu@terra.es>
1480
1481 * makefile.w32-in (lisp): Add missing backslash.
1482
82a399d2
JR
14832002-02-24 Jason Rumney <jasonr@gnu.org>
1484
1485 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
1486 using .elc files.
1487 (lisp): Sync with list in src/Makefile.in
1488 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
1489
a279c920
PE
14902002-02-10 Paul Eggert <eggert@twinsun.com>
1491
1492 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
1493 disallows the old syntax.
1494
0caa685d
PE
14952002-02-03 Paul Eggert <eggert@twinsun.com>
1496
1497 * rcs2log(Copyright): Update to 2002.
1498 (AWK, TMPDIR): Work around portability problem in broken shells that
1499 don't understand `: ${VAR=val}'.
1500 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
1501 Prefer the new -k option to the traditional +M -N option.
1502
03950b5b
PJ
15032002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1504
1505 * b2m.c (main): Parenthesize assignment when used as truth value
1506 to prevent gcc warnings.
1507
1508 * fakemail.c: Include <config.h>.
1509
2f8fe2f4
PJ
15102001-12-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1511
1512 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1513 * yow.c: Include <config.h>.
1514
ecc54057 15152001-12-21 Francesco Potort\e,Al\e(B <pot@gnu.org>
a60e4de9
FP
1516
1517 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1518 (get_tag): Return a pointer to the tag that is found.
1519
1520 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1521 (F_takeprec): Renamed from takeprec. All callers changed.
1522 (F_getit): Renamed from getit. All callers changed.
1523 (nocase_tail): Renamed from tail. All callers changed.
1524 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 1525 (L_getit): Simplify by using get_tag.
a60e4de9
FP
1526 (Perl_functions, Postscript_functions, erlang_attribute): Use the
1527 modified LOOKING_AT.
1528 (notinname): Removed '[' and added ')' to the recognised chars.
1529 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
1530 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
1531 Clarified, using strneq or notinname.
1532 (L_isdef, L_isquote): Removed.
1533 (Lisp_functions, L_getit): Clarified.
1534
ecc54057 1535 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
1536 [HAVE_CONFIG_H]: Let config.h deal with __P.
1537 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
1538 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
1539 gperf code needs it.
ecc54057
JB
1540 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
1541 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
1542 (xmalloc, xrealloc): Use PTR instead of long *.
1543 (bool): Make it a define, not a typedef, for C++ compilers.
1544 (pattern): Members renamed to avoid name clash in some C++ compilers.
1545 (get_language_from_langname): Use const argument.
1546
c95eaa61
PJ
15472001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1548
1549 * makefile.nt, makefile.w32-in: Remove mocklisp files.
1550
69bfc389
PJ
15512001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1552
b8509940
PJ
1553 * emacsserver.c: Conditionally include config.h.
1554
594aa066
PJ
1555 * fakemail.c: Likewise.
1556
e69233c2
PJ
1557 * emacsclient.c: Include "config.h", not <../src/config.h>.
1558 (main): Parenthesize assignment when used as truth value to
1559 prevent gcc warnings.
1560
69bfc389
PJ
1561 * ebrowse.c: Include stdlib.h and string.h conditionally.
1562
e4e34e31
EZ
15632001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
1564
1565 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
1566
ffb7c9c6
PJ
15672001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1568
1569 * test-distrib.c: Fix previous change.
1570
fb5aa7ac
DL
15712001-12-18 Dave Love <fx@gnu.org>
1572
1573 * test-distrib.c: Conditionally include fcntl.h.
1574
1575 * fakemail.c: Include "config.h", not <../src/config.h>.
1576 (_XOPEN_SOURCE): Define as 500.
1577
1578 * emacsserver.c: Include "config.h", not <../src/config.h>.
1579
1580 * cvtmail.c: Include config.h, stdlib.h.
1581 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
1582
1583 * yow.c: Conditionally include various headers. Use "epaths.h",
1584 not <../src/epaths.h>.
1585 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1586
ecc54057 15872001-12-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
e94a3679 1588
13dc0576 1589 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
1590 (LOOKING_AT): New macro.
1591 (Perl_functions, Python_functions, PHP_functions)
1592 (Scheme_functions, Texinfo_nodes): Use it.
1593 (Perl_functions): Use strneq.
1594 (prolog_pred): Renamed to prolog_pr.
13dc0576 1595 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 1596 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 1597 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
1598 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
1599
34e39c95
RS
16002001-12-11 Richard M. Stallman <rms@gnu.org>
1601
1602 * Makefile.in (clean): Don't delete ../etc/DOC*.
1603
296071e7
PJ
16042001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1605
1606 * COPYING: Moved back.
1607
76054cc8
AI
16082001-11-30 Andrew Innes <andrewi@gnu.org>
1609
e94a3679
FP
1610 * makefile.w32-in (FACE_SUPPORT):
1611 (MOUSE_SUPPORT):
1612 (FLOAT_SUPPORT):
1613 (WINNT_SUPPORT):
76054cc8
AI
1614 (lisp): Reference .el files instead of .elc files, to simplify
1615 bootstrapping.
1616 ($(DOC)): Change dependency to just `make-docfile'.
1617
0142178a
PJ
16182001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1619
1620 * COPYING: Removed.
1621
e8d6a09b
PE
16222001-11-28 Paul Eggert <eggert@twinsun.com>
1623
1624 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
1625
1626 The following changes are derived from suggestions by Bob Chapman
1627 <rechapman@compuserve.com>.
1628
1629 * rcs2log (printlogline): Also allow tab and newline to separate
1630 '(function):' from the rest of a comment.
1631 (reformat the sorted log entries): Require date and author to
1632 match the clumpname.
1633
9a190096
GM
16342001-11-16 Gerd Moellmann <gerd@gnu.org>
1635
1636 * ebrowse.c (matching_regexp): Escape '\\'.
1637
8ec1b917
PJ
16382001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1639
1640 * Makefile.in: Add support for --program-prefix, --program-suffix
1641 and --program-transform-name options.
1642
6d8f7d5d
RS
16432001-11-03 Richard M. Stallman <rms@gnu.org>
1644
1645 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
1646
1647 * movemail.c (popmail): Always pass two args to `error'.
1648
84e70f78
KR
16492001-10-24 Ken Raeburn <raeburn@gnu.org>
1650
1651 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
1652 -lhesiod and maybe -lresolv.
1653 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
1654 support if it's available.
1655
386ca361
MB
16562001-10-21 Miles Bader <miles@gnu.org>
1657
a3b10252
MB
1658 * make-docfile.c (struct rcsoc_state): New type.
1659 (read_c_string_or_comment): Add SAW_USAGE
386ca361 1660 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
1661 Use a variable of type `rcsoc_state' to hold most of our state.
1662 (put_char): Add STATE parameter, and remove all other parameters
1663 except CH. Use STATE to get access to all needed state.
1664 (scan_keyword_or_put_char): New function.
386ca361
MB
1665 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
1666 Don't output a usage-string if there was one in the doc-string.
1667
71431a0e
GM
16682001-10-20 Gerd Moellmann <gerd@gnu.org>
1669
6aa97356 1670 * (Version 21.1 released.)
71431a0e 1671
37a9305e
PJ
16722001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1673
1674 * b2m.c: Properly spell the name of Emacs.
1675
945220bd
MB
16762001-10-17 Miles Bader <miles@gnu.org>
1677
1678 * make-docfile.c (put_char): New function.
1679 (read_c_string_or_comment): Strip trailing spaces and newlines.
1680
14242528
MB
16812001-10-16 Miles Bader <miles@gnu.org>
1682
1683 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
1684 comments [with `doc:' keyword prefix].
1685
9f5eb4a3
GM
16862001-10-15 Gerd Moellmann <gerd@gnu.org>
1687
1688 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
1689 in a C doc comment.
1690
e641b454
GM
16912001-10-13 Gerd Moellmann <gerd@gnu.org>
1692
1693 * make-docfile.c (read_c_string_or_comment): Renamed from
1694 read_c_string. Add parameter COMMENT. Read C-style comments.
1695 (scan_c_file): Handle doc strings in C comments.
1696
967d7793
AI
16972001-10-12 Andrew Innes <andrewi@gnu.org>
1698
1699 * makefile.nt (ALL): Do not include fakemail.
1700
1701 * makefile.w32-in (install): Do not copy fakemail.
1702
d682756a
JR
17032001-10-10 Jason Rumney <jasonr@gnu.org>
1704
1705 * makefile.w32-in (ALL) Do not include fakemail.
1706
1707 * makefile.nt (install) Ditto.
1708
14a3dff7
GM
17092001-10-09 Gerd Moellmann <gerd@gnu.org>
1710
1711 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 1712
95bc7904 1713 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 1714
f98d41f5
PJ
17152001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1716
1717 * profile.c: Include config.h, not ../src/config.h.
1718 Include systime.h, not ../src/systime.h.
1719
ab952a4f
GM
17202001-10-05 Gerd Moellmann <gerd@gnu.org>
1721
1722 * Branch for 21.1.
dff28924 1723
12c64503
GM
17242001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
1725
1726 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
1727 ALIASEE to help work with namespace aliases.
1728 (struct sym): Remove struct member NAMESP_ALIASES.
1729 (namespace_alias_table): New variable.
1730 (make_namespace): Add parameter CONTEXT.
1731 (check_namespace): New function.
1732 (find_namespace): Add parameter CONTEXT.
1733 (check_namespace_alias): New function.
02ce3e80
SM
1734 (register_namespace_alias): Change type of parameter OLD_NAME.
1735 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
1736 (check_namespace): New function.
1737 (enter_namespace): Call find_namespace with CONTEXT parameter.
1738 (match_qualified_namespace_alias): New function.
eec54bd7 1739 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 1740 While parsing qualified ident or type update namespace context and
12c64503 1741 restore it on exit.
eec54bd7
SM
1742 (parse_qualified_param_ident_or_type): Fix typo in comment.
1743 (globals): Change handling of namespace aliases.
1744 (version): Add year 2001.
12c64503 1745
990e1190
FP
17462001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1747
1748 * etags.c (analyse_regex): If regex_arg is NULL, return
1749 immediately after a call to free_patterns.
1750
f2e7e23e
AS
17512001-09-05 Paul Eggert <eggert@twinsun.com>
1752
1753 * rcs2log (Help, mainline code): Add new option -L FILE.
1754 (Copyright): Update year.
02ce3e80
SM
1755 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
1756 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
1757 C locale.
1758 (mainline code): Handle nonstandard -u option differently, by
1759 transforming it to standard form. Check for "Working file: ", not
1760 "Working file:". Allow file names with spaces.
1761 (SOH, rlogfile): New shell vars.
dff28924 1762 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
1763 rlogfile.
1764
1765 Append ';;' to the last arm of every case statement, for
1766 portability to ancient broken BSD shells.
1767
02ce3e80 1768 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
1769 (pository): New var. This fixes some bugs where repositories are
1770 remote, or have trailing slashes.
02ce3e80 1771 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 1772 about that possibility.
dff28924 1773 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 1774 the output.
dff28924 1775
75c911eb
EZ
17762001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1777
1778 * ebrowse.c (SEEK_END): #define if not defined by system headers.
1779 Suggested by Dave Love <d.love@dl.ac.uk>.
1780
5ae10f4a
EZ
17812001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1782
1783 * makefile.nt (lisp): Synchronize with src/Makefile.in.
1784 * makefile.w32-in (lisp): Ditto.
1785
0e4011d8 17862001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
1787
1788 * grep-changelog (parse_changelog): Remove unused local variable.
1789
1790 * grep-changelog (main): Add new option --reverse.
1791 (print_log): Use it.
1792 (parse_changelog): Use it.
1793
3c88ae74
GM
17942001-07-20 Gerd Moellmann <gerd@gnu.org>
1795
1796 * grep-changelog: Remove RCS Id keyword.
1797
41848daa
GM
17982001-07-20 Juanma Barranquero <lektu@terra.es>
1799
6e07c0a5
GM
1800 * grep-changelog (parse_changelog): Add tests for defined values
1801 to quiet warning from Perl 5.005 or above.
177ab8ce 1802 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
1803 argument to prevent duplicate headers.
1804
1805 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 1806
467f1209
GM
18072001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
1808
1809 * emacsclient.c (print_help_and_exit): Fix help message for
1810 +LINE:COLUMN option.
1811
18122000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 1813
467f1209
GM
1814 * emacsclient.c (main): Add support for +LINE:COLUMN command line
1815 argument.
1816
bb24c64f
GM
18172001-07-16 Gerd Moellmann <gerd@gnu.org>
1818
1819 * ebrowse.c (main): Check that the output file exists and
1820 is non-empty if invoked with `--append'.
1821
ecc54057 18222001-05-14 Francesco Potort\e,Al\e(B <pot@gnu.org>
fa829470 1823
e335b66a
GM
1824 * etags.c (add_regex): Reset the whole newly allocated pattern
1825 buffer instead of the individual members. It's safer and works
ecc54057 1826 with XEmacs.
fa829470 1827
e335b66a 1828 * etags.1: Markups corrected.
fa829470 1829
6da5c7da
GM
18302001-05-08 Gerd Moellmann <gerd@gnu.org>
1831
02ce3e80 1832 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 1833
efbecf9d
GM
18342001-05-03 Gerd Moellmann <gerd@gnu.org>
1835
1836 * ebrowse.c (globals): Fix handling of namespace aliases.
1837
f4976ebc
EZ
18382001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
1839
1840 * etags.c (print_help): Enclose the regexp in the help text
1841 example in quotes.
1842
23431241
DL
18432001-04-05 Dave Love <fx@gnu.org>
1844
1845 * emacsclient.c (fail): Don't return a value.
fa829470 1846 (main): Cast uid values for sprintf.
23431241 1847
476bf681
GM
18482001-04-03 Gerd Moellmann <gerd@gnu.org>
1849
b3f6107b
GM
1850 * emacsclient.c (fail, main): Don't use implicit int return type.
1851
476bf681
GM
1852 * b2m.c (main): Always return a value.
1853
ef53d75e
GM
18542001-03-02 Gerd Moellmann <gerd@gnu.org>
1855
1856 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
1857 freshly allocated object in *LAST_ID.
1858 (read_line): Accept \r\n line endings.
1859
425de386
AI
18602001-02-24 Andrew Innes <andrewi@gnu.org>
1861
1862 * makefile.w32-in: Fix copyright notice.
1863
ecc54057 18642001-02-23 Francesco Potort\e,Al\e(B <pot@gnu.org>
f55ae599
FP
1865
1866 * etags.c (enum sym_type): New label st_C_template.
1867 (gperf input): Use it for switching to C++ from C.
1868 (consider_token): Do it.
c2a642c0
FP
1869 (C_entries): Initialise typdefcblev to quiet compilers.
1870 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 1871
f6839838
AI
18722001-02-22 Andrew Innes <andrewi@gnu.org>
1873
1874 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
1875 VMS header files.
1876 ($(BLD)\profile.obj): Ditto.
1877
1878 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
1879 VMS header files.
1880 ($(BLD)/profile.$(O)): Ditto.
1881
193fba87
AI
18822001-02-05 Andrew Innes <andrewi@gnu.org>
1883
1884 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
1885 invocation of make-docfile, to work with Windows 2000.
1886
30526cc6
DL
18872001-01-31 Dave Love <fx@gnu.org>
1888
1889 * etags.c (in_word_set): Use `static' in definition (for pcc).
1890
ecc54057 18912001-01-31 Francesco Potort\e,Al\e(B <pot@gnu.org>
8f79fe72 1892
ecc54057 1893 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
1894 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
1895 (C_entries): Tag token renamed to still_in_token because sunos4
1896 pcc wants to expand it as the token() macro even though it has no
1897 arguments.
1898
914d7258
AI
18992001-01-30 Andrew Innes <andrewi@gnu.org>
1900
1901 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
1902 bug in the Mingw32 assert.h header file.
1903
ecc54057 19042001-01-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
b28e26be 1905
ecc54057
JB
1906 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
1907 #define it for the sake of XEmacs.
b28e26be
FP
1908 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
1909 HAVE_CONFIG_H. This change only affects a standalone etags.
1910 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
1911 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
1912 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
1913 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
1914 WINDOWSNT, as this is the correct way to use it.
1915
ecc54057 19162001-01-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
8c463abe
FP
1917
1918 * etags.c: Be capable to parse nested struct-like structures.
1919 (structdef, structtag): Struct state machine revisited.
1920 (struct tok): Revisited.
1921 (cstack, nestlev, instruct): New struct and macros.
1922 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 1923 for dealing with nested class names.
8c463abe
FP
1924 (consider_token, make_C_tag, C_entries): Many changes for dealing
1925 with arbitrarily nested structures.
1926 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
1927 (C_entries): Consider templates in C++.
1928 (sym_type): New constant st_C_class for detecting "class" also in
1929 C mode.
1930 (C_AUTO): New macro for automatic detection of C++.
1931 (consider_token): Automatic set C++ mode.
1932 (C_entries): New security check for yacc.
1933 (print_language_names, print_help): Mention the autodetect
1934 feature, do not show help for the -C option, now mostly useless.
1935 (C_entries): Tag C++ forward declarations if --declarations.
1936 (C_entries): Don't be fooled by things like XDEFUN.
1937 (consider_token): Discard asm pseudo function.
1938
e26f9ced
EZ
19392001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
1940
1941 * etags.c: Add a coding: tag.
1942
a47b7816
GM
19432001-01-26 Gerd Moellmann <gerd@gnu.org>
1944
8c463abe 1945 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
1946 New variables.
1947 (matching_regexp): Use them instead of static variables in
1948 function scope.
1949
ecc54057 19502001-01-25 Francesco Potort\e,Al\e(B <pot@gnu.org>
d22a24fa
FP
1951
1952 * etags.c (struct tok): Renamed from struct token.
1953 (token): Renamed from tok.
1954 (structtype): Make it a local variable.
1955 [DEBUG]: Use assert.
1956 (xrnew): Change the synopsis.
1957 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
1958 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 1959 (token): Buffer renamed to line.
d22a24fa 1960 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 1961 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
1962 (linebuffer_setlen): Was grow_buffer, now also sets len.
1963 (consider_token, C_entries, Pascal_functions): Use it.
1964 (C_entries): Preventing problems relative to extern "C".
1965 (C_entries): Can tag more than one variable or func separated by
1966 comma when --declarations is used.
1967 (C_entries): More accurate tagging of members and declarations.
1968 (yacc_rules): Was global, made local to C_entries.
1969 (next_token_is_func): Removed.
1970 (fvdef): New constants fdefunkey, fdefunname.
1971 (consider_token, C_entries): Use them.
1972 (C_entries): Build proper lisp names for Emacs DEFUNs.
1973
21c2bbe0
GM
19742001-01-22 Gerd Moellmann <gerd@gnu.org>
1975
1976 * ebrowse.c (xfree): New function.
1977 (member, declaration, globals): Use xmalloc instead of alloca.
1978
ecc54057 19792001-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
83be933c
FP
1980
1981 * etags.c (print_language_names): Print filenames in addition to
1982 suffixes.
1983
ecc54057 19842001-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org>
47df1a5e
EZ
1985
1986 * etags.c (get_language_from_langname): Renamed from
1987 get_language_from_name.
eec54bd7
SM
1988 (get_language_from_filename): Renamed from get_language_from_suffix.
1989 Now first looks for the complete file name.
47df1a5e
EZ
1990 (language): New member char **filenames.
1991 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 1992 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 1993 for makefiles.
13dc0576 1994 (Makefile_targets): New function.
47df1a5e
EZ
1995 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
1996 it conformant to the style of the rest of the code.
1997
291c7e74
GM
19982001-01-13 Gerd Moellmann <gerd@gnu.org>
1999
2000 * make-docfile.c (write_c_args): Print newlines as spaces.
2001
0dac6924
AI
20022001-01-06 Andrew Innes <andrewi@gnu.org>
2003
2004 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2005 of *.pdb.
2006
3e99d3b4
GM
20072001-01-03 Paul Eggert <eggert@twinsun.com>
2008
2009 * lib-src/rcs2log: Avoid security hole allowing attacker to
2010 cause user of rcs2log to overwrite arbitrary files, fixing
2011 a bug reported by Morten Welinder.
2012
2013 Don't put "exit 1" at the end of the exit trap; it's
2014 ineffective in POSIX shells.
2015
d6bb0c0d
GM
20162001-01-02 Gerd Moellmann <gerd@gnu.org>
2017
eec54bd7
SM
2018 * ebrowse.c (yyerror): Change to take two arguments.
2019 Add prototype. Change callers.
d6bb0c0d 2020
d5c00476 20212001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2022
2023 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2024 compiler warnings.
2025 (yyerror): Change parameter declarations to be of type long, so
2026 that they can take pointers on 64-bit platforms.
2027
2028 * emacsclient.c (main): Remove unused local variable statbfr.
2029 (main) <homedir>: Make its declaration conditional on
2030 SERVER_HOME_DIR, to avoid compiler warnings.
2031
2032 * emacsserver.c (main) <homedir>: Make its declaration conditional
2033 on SERVER_HOME_DIR, to avoid compiler warnings.
2034
2035 * fakemail.c (readline): Cast buffer to "long *" to pacify
2036 over-zealous compilers.
2037
7c89ea61
EZ
20382000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2039
2040 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2041
a6768cc5
GM
20422000-12-15 Gerd Moellmann <gerd@gnu.org>
2043
2044 * ebrowse.c (operator_name): Cast argument of isalpha to
2045 unsigned char.
2046
2047 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2048 Use them throughout instead of ctype functions/macros.
2049 (lowcase): Cast to unsigned char.
2050 (UPCASE): New macro.
2051 (canonicalize_filename): Use UPCASE instead toupper.
2052
2053 * fakemail.c (get_keyword): Make sure that isspace and
2054 similar aren't called with a negative argument.
2055
70de49cc
DL
20562000-12-13 Dave Love <fx@gnu.org>
2057
2058 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2059
4e8b894c
AI
20602000-12-06 Andrew Innes <andrewi@gnu.org>
2061
2062 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2063 don't know the real version, and I can't seem to get the quoting
2064 right in all circumstances.
2065
2066 * ebrowse.c (VERSION): Provide default definition, like etags.c
2067 does, because Windows build can't snarf this from version.el.
2068
88257bc8
AI
20692000-11-30 Andrew Innes <andrewi@gnu.org>
2070
2071 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2072 (install): Ditto.
2073
d19249e7
JR
20742000-11-23 Jason Rumney <jasonr@gnu.org>
2075
2076 * makefile.w32-in: Add targets for ebrowse.exe.
2077 (LOCAL_FLAGS): Add -DVERSION flag.
2078
7df6adc3
DL
20792000-09-25 Dave Love <fx@gnu.org>
2080
2081 * sorted-doc.c: Include config.h.
2082 [!HAVE_STDLIB_H]: Declare malloc.
2083
fe83b953
AI
20842000-09-14 Andrew Innes <andrewi@gnu.org>
2085
2086 * makefile.w32-in: Revert to Unix line endings.
2087
517699ca
DL
20882000-09-04 Dave Love <fx@gnu.org>
2089
2090 * movemail.c (index, rindex): Prototype conditionally.
2091
f8803e97
AI
20922000-09-03 Andrew Innes <andrewi@gnu.org>
2093
2094 * makefile.w32-in: Change to DOS line endings.
2095
f72adc12
EZ
20962000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2097
4034f3a8 2098 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2099 [!F_OK]: Provide default definitions only after including both
2100 fcntl.h and unistd.h.
2101
f678f592
DL
21022000-08-29 Dave Love <fx@gnu.org>
2103
2104 * movemail.c: Revert previous change.
2105
5b671d04
EZ
21062000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2107
2108 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2109
6fa86045
DL
21102000-08-28 Dave Love <fx@gnu.org>
2111
2112 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2113 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2114
746d9caf
AI
21152000-08-22 Andrew Innes <andrewi@gnu.org>
2116
2117 * ntlib.h (WIN32): Remove unnecessary definition.
2118 (sleep): Make argument unsigned long.
2119 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2120
2121 * ntlib.c (sleep): Make argument unsigned long.
2122
2123 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2124
2125 * makefile.w32-in: New file.
2126
3b541489
EZ
21272000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2128
2129 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2130 letter only if it is a drive letter.
2131
e5acf0ca
GM
21322000-07-14 Gerd Moellmann <gerd@gnu.org>
2133
02ce3e80 2134 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
2135
2136 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2137 by alloca.o.
2138
02ce3e80 2139 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 2140
4b92c49a
GM
21412000-07-10 Gerd Moellmann <gerd@gnu.org>
2142
2143 * ebrowse.c (yylex): Accept string literals with newlines in them.
2144 (process_pp_line): Handle case of string literal with newline
2145 in it in replacement text, which counts as continuing the
2146 replacement text in GNU C.
2147
831a6cb0
GM
21482000-07-02 Gerd Moellmann <gerd@gnu.org>
2149
2150 * ebrowse.c (token_string): Add missing tokens.
2151 (parm_list): Handle case of qualified pointers.
2152
53245ee2
DL
21532000-06-23 Dave Love <fx@gnu.org>
2154
2155 * ebrowse.c: Move config.h before other includes (which may use
2156 feature tests).
2157
dcbf2cd2
JM
21582000-06-14 Jim Meyering <meyering@lucent.com>
2159
2160 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2161
f1c7754a
JR
21622000-06-11 Jason Rumney <jasonr@gnu.org>
2163
2164 * makefile.nt: Add targets for ebrowse.
2165
2166 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2167 compare filenames.
2168
5f1aea9a
GM
21692000-06-06 Gerd Moellmann <gerd@gnu.org>
2170
2171 * ebrowse.c (ymalloc): Renamed from xmalloc.
2172 (yrealloc): Renamed from xrealloc.
2173
5bf244f1
DL
21742000-05-21 Dave Love <fx@gnu.org>
2175
2176 * movemail.c: Include config.h, not ../src/config.h.
2177 (Errmsg): Bump length.
2178
2179 * pop.c (ERROR_MAX): Increase to 160.
2180
ec82fb2f
GM
21812000-05-04 Gerd Moellmann <gerd@gnu.org>
2182
2183 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2184
5c922ea7
EZ
21852000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2186
02ce3e80
SM
2187 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2188 Define to semi-colon.
5c922ea7 2189 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 2190 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
2191 (process_file): Don't assume that fread always reads as many bytes
2192 as it was told to (DOS-style CR-LF text files fail this logic).
2193 (open_file): Allocate enough space for path->path plus the file
2194 name and the slash.
2195
6142fdcb 21962000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
2197
2198 * etags.c (Texinfo_functions): New function.
2199 (lang_names): Install it.
2200 (Texinfo_suffixes): New variable.
2201
cb9215e4
GM
22022000-04-19 Gerd Moellmann <gerd@gnu.org>
2203
2204 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2205 (declaration): Remove parameter IS_EXTERN.
2206 (class_definition): Remove unused variable.
2207
be0dbdab
GM
22082000-04-09 Gerd Moellmann <gerd@gnu.org>
2209
2210 * Makefile.in (INSTALLABLES): Add ebrowse.
2211 (ebrowse): New target.
2212
2213 * ebrowse.c: New file.
2214
c5aa0fc2
AS
22152000-03-29 Andreas Schwab <schwab@suse.de>
2216
2217 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2218
d054101f
GM
22192000-03-02 Gerd Moellmann <gerd@gnu.org>
2220
2221 * etags.c (lisp_suffixes) Add `LSP'.
2222
ecc54057 22232000-02-10 Francesco Potort\e,Al\e(B <pot@gnu.org>
71cbb895 2224
eec54bd7 2225 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
2226 space, and use it throughout in place of isspace, thus preventing a
2227 potential signed char to int conversion problem.
2228 (MSDOS): #undefine befere redefining
2229
ecc54057 22302000-02-04 Francesco Potort\e,Al\e(B <pot@gnu.org>
71cbb895
FP
2231
2232 * etags.c (many functions): Add prototypes.
2233
97fa0cc8
DL
22342000-02-10 Dave Love <fx@gnu.org>
2235
2236 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2237 (erlang_func): Add `static' to definitions to keep pcc happy.
2238
ecc54057 22392000-01-31 Francesco Potort\e,Al\e(B <pot@gnu.org>
e4100b7f
FP
2240
2241 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2242 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2243 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2244 (getenv, getcwd): Only declare them if necessary.
2245 (EMACS_NAME): New constant macro.
2246 (print_version): Use it.
2247 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 2248
19e262bd 22492000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
2250
2251 * etags.c [WINDOWSNT]: #include <direct.h>
2252
19e262bd 22532000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 2254
19e262bd
FP
2255 * etags.c (all functions): Made them static.
2256 (all functions): Write prototypes.
e4100b7f 2257
55e30d2a
RS
22582000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2259
2260 * movemail.c (main): Improve error message if can't create lock file.
2261
c60ee5e7 22622000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
2263
2264 * emacsclient.c (socket_status): New function.
02ce3e80 2265 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
2266 for a socket based on the UID associated with the name.
2267
e4936aa9
GM
22682000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2269
2270 * emacsclient.c: Add option -a EDITOR and environment variable
2271 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2272
c60ee5e7 22731999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
2274
2275 * movemail.c (popmail): Allow mailbox specifications of the
2276 form `po:username:hostname'.
2277
ecc54057 22781999-11-19 Francesco Potort\e,Al\e(B <pot@gnu.org>
e2081362
FP
2279
2280 * etags.c (_GNU_SOURCE): Define only if undefined.
2281 (get_scheme): Declaration deleted.
02ce3e80 2282 (main): Error was called with an integer as second arg, instead of
e2081362
FP
2283 a char pointer.
2284 (canonicalize_filename): Bug removed.
2285
22861999-11-18 Dave Love <d.love@dl.ac.uk>
2287
2288 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2289 lossage from name clash with macro.
2290
b05d3bee
GM
22911999-11-13 Gerd Moellmann <gerd@gnu.org>
2292
2293 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2294
cb3a6c48
GM
22951999-11-03 Gerd Moellmann <gerd@gnu.org>
2296
2297 * etags.c (print_help): Change email address to send bugs to.
2298
ecc54057 22991999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>>
1c478461
FP
2300
2301 * etags.c: Add suffix psw for PSWrap.
2302 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2303 (Postscript_functions): Add code for PSWrap.
2304 (Scheme_functions): Use local pointer and new get_tag function.
2305 (get_tag): New name for old get_scheme.
2306 (process_file): Do not free NULL when file does not exist.
2307 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2308 (C_entries): Modifications that make --members tag even inside
2309 typedefs and C nested structs (one level only).
eec54bd7 2310 (consider_token): Correct a bug which prevented tagging of enum
1c478461 2311 constants.
eec54bd7 2312 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
2313 st_C_ignore. This makes it simpler to work when cblev!=0.
2314
02ce3e80 2315 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
2316 --declarations is used.
2317
2318 * etags.c (C_entries, consider_token): C++ `operator' now is
2319 tagged in most cases.
2320 As before, :: is not recognised if surrounded by spaces.
2321
2322 * etags.c (relative_filename): Account for DOS file names such
2323 that is impossible to make one relative to another.
2324
2325 * etags.c (sym_type): New st_C_extern tag.
2326 (gperf input): Use it for spotting external declarations.
2327 (print_help): Document the new behaviour of --declarations.
2328 (fvextern): New global variable.
2329 (consider_token, C_entries): Use it.
2330
2331 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
2332 (etags_getcwd): Remove test for WINDOWSNT.
2333
2334 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
2335 foo.cgz, foo.cz, etc.
2336
2337 * etags.c (declarations): New global switch.
2338 (longopts): Describe it.
2339 (print_help): Document it.
2340 (C_entries): Use it.
2341 (process_file): Don't process a file twice.
2342
2343 * etags.c (Fortran_functions): No tags for "procedure".
2344
23451999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
2346
2347 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
2348 non-zero, returns a pointer to where the extension begins; callers
2349 changed.
2350 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2351 were foo.c.gz.
2352
ecc54057 23531999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>
1c478461
FP
2354
2355 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2356 (fvdev): New constant foperator.
2357 (consider_token): Use it to get "operator" in C++.
2358 (C_entries): Extend length of operator@ function name.
2359 (C_entries): Use foperator when necessary.
2360
2361 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
2362
2363 * etags.c (compressor): New struct for compressed files.
2364 (get_compressor_from_suffix): New function.
2365 (get_language_from_suffix): Use it. Also, semantics changed.
2366 (process_file): Consider compressed files, close file.
2367 (find_entries): Use different call arg for get_language_from_suffix,
2368 don't close file.
2369
2370 * etags.c (main): Call free_tree.
2371 (find_entries): Do not free curfile.
2372 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
2373 (prolog_pred, erlang_func, substitute): Cast strlen to int when
2374 comparing.
2375 (canonicalize_filename): Shut up compiler warning.
2376 (Perl_functions): Make tag significant.
2377
23781999-11-01 Dave Love <d.love@dl.ac.uk>
2379
2380 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
2381 (argument_type): New member at_icregexp.
2382 (lc_trans): New global.
2383 (main): Fill lc_trans. Process -c args.
2384 (add_regex): New arg determining whether to use translation table.
2385 (analyse_regex): New arg. Use it for add_regex.
2386
ecc54057 23871999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>
1c478461
FP
2388
2389 * etags.c (init): Cosmetic change: NULL --> '\0'.
2390 (erlang_attribute): Bug corrected (uninitialized variable).
2391 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 2392 corrects a bug. All callers changed.
1c478461
FP
2393 (canonicalize_filename): New function.
2394 (process_file, etags_getcwd, absolute_dirname): Use it.
2395 (relative_filename, absolute_filename): Removed var shadowing.
2396 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 2397 compilers quiet.
1c478461
FP
2398 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
2399
2400 * etags.c (xrnew): New macro. All callers of xrealloc changed.
2401 (language): New typedef (was struct lang_entry).
2402 (curlang): New global variable.
02ce3e80 2403 (node): Typedef renamed from NODE.
1c478461
FP
2404 (linebuffer): New typedef (was struct linebuffer).
2405 (pattern): New typedef (was struct pattern). Some members added.
2406 Now used as element of a linked list.
2407 (patterns, num_patterns): Global variables deleted.
2408 (p_head): New global variable.
a64387ee 2409 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
2410 (get_language_from_name, get_language_from_interpreter)
2411 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 2412 (last_node): New global variable.
02ce3e80
SM
2413 (free_tree, add_node, put_entries, total_size_of_entries):
2414 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
2415 (number_len): Rewritten for elegance.
2416 (token): New typedef replaces TOKEN.
2417 (analyse_regex, add_regex): Rewritten for new functionality.
2418 (free_patterns): New function called from main and add_regex.
2419 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 2420 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
2421 (readline): Rewritten for new functionality.
2422
ecc54057 2423 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
2424 (print_help): --globals is now used for more than C-type languages.
2425 (Perl_functions): Tag global variables ("my" and "local").
2426
2427 * etags.c (print_help): Some messages clarified.
2428 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
2429 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
2430 (Python_functions, Cobol_paragraphs, Pascal_functions)
2431 (Lisp_functions, Postscript_functions, Scheme_functions)
2432 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
2433 (Cobol_paragraphs, Postscript_functions, TeX_functions)
2434 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
2435 of the global variable dbp.
2436 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
2437 standard indentation.
2438
02ce3e80
SM
2439 * etags.c (Python_suffixes, lang_names, Python_functions):
2440 Python support.
1c478461 2441 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
2442 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
2443 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
2444 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
2445 (eat_white): Deleted.
2446
2447 * etags.c (CHAR, init): Keep into account non US-ASCII
2448 characters and compilers with default signed chars.
2449 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2450 constructs.
ecc54057 2451 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 2452
ecc54057 2453 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
2454 (main): Put interval syntax here.
2455 (add_regex): And remove it from here.
2456
2457 * etags.c (suggest_asking_for_help): Provide a
2458 meaningful help message with and without LONG_OPTIONS.
2459
2460 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
2461 <stdlib.h, string.h>: Don't test MSDOS when including them.
2462 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
2463 (put_entries): Correctly use %ld instead of %d in printf.
2464
2465 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
2466 declare getcwd if HAVE_GETCWD.
2467 (consider_token): Dead break instruction removed.
2468
4ee9629e
PE
24691999-10-19 Paul Eggert <eggert@twinsun.com>
2470
2471 Add support for large files. Merge glibc 2.1.2.
1c478461 2472
4ee9629e
PE
2473 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
2474 movemail.c, pop.c:
2475 Do not include <stdlib.h>, as <config.h> does this now.
2476
2477 * b2m.c, emacsserver.c, etags.c, profile.c:
2478 Include <config.h> before any system include files.
1c478461 2479
4ee9629e
PE
2480 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
2481 test-distrib.c:
2482 (read, write, open, close): Do not undef.
2483
2484 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
2485 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
2486
2487 * getopt.h: Adopt glibc 2.1.2.
1c478461 2488
93c8d183
DL
24891999-10-15 Dave Love <fx@gnu.org>
2490
2491 * Makefile.in (pop.o): Depend on config.h.
2492
b358f91c
GM
24931999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2494
2495 * pop.c: Use "pop3" as the POP service name on all platforms,
2496 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
2497 has been the standard service name since RFC 1340 was published in
2498 July 1992, so I think it's safe to start using it by default.
2499
362bc2da
DL
25001999-09-27 Dave Love <fx@gnu.org>
2501
2502 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
2503
74e4cb59
PR
25041999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2505
2506 * make-docfile.c (scan_lisp_file): Fix previous changes;
2507 swallow CRLF like just CR or just LF.
2508
362bc2da
DL
25091999-09-03 Richard Stallman <rms@gnu.org>
2510
2511 * make-docfile.c: Include config.h not ../src/config.h.
2512 (main, fopen, chdir): Add #undef.
2513 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
2514 (scan_lisp_file): Handle \r like \n.
2515
25161999-08-30 Andreas Schwab <schwab@gnu.org>
2517
2518 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
2519
2520 * emacsserver.c: Include <stdlib.h> if available. Don't declare
2521 errno if it's a macro.
2522
2523 * test-distrib.c: Include <unistd.h> if available.
2524
25251999-08-29 Richard Stallman <rms@gnu.org>
2526
2527 * emacsclient.c (print_help_and_exit): Mention --version.
2528
25291999-08-25 Richard M. Stallman <rms@gnu.org>
2530
2531 * emacsclient.c (decode_options): Update version output.
2532 (print_help_and_exit): Update bug report address.
2533
25341999-08-13 Richard M. Stallman <rms@gnu.org>
2535
2536 * emacsclient.c (main): Move the dynamic allocation of
2537 system_name outside of the SERVER_HOME_DIR conditional.
2538 * emacsserver.c (main): Likewise.
2539
25401999-08-10 Gerd Moellmann <gerd@gnu.org>
2541
2542 * grep-changelog: New.
2543 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
2544
25451999-07-12 Richard Stallman <rms@gnu.org>
2546
2547 * Version 20.4 released.
2548
25491999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
2550
1c478461 2551 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
2552
25531999-06-23 Dave Love <fx@gnu.org>
2554
2555 * etags.c (erlang_attribute): Fix undefined variable usage (after
2556 Potorti).
2557
25581999-05-2 Andrew Innes <andrewi@gnu.org>
2559
2560 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
2561 mapped to _chsize.
2562
25631999-04-29 Richard M. Stallman <rms@gnu.org>
2564
2565 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
2566
25671999-03-30 Dave Love <fx@gnu.org>
2568
2569 * sorted-doc.c (main): Split up tables. Modify the preamble
2570 somewhat.
2571
25721999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2573
2574 * makefile.nt: Remove common multiple file compilation commands.
2575
25761999-02-26 Richard Stallman <rms@gnu.org>
2577
2578 * Version 20.4 released.
2579
2580 * Makefile.in (yow): Depend on epaths.h, not paths.h.
2581
2582 * yow.c: Refer to epaths.h.
2583
25841999-02-22 Simon Josefsson <jas@pdc.kth.se>
2585
2586 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
2587
25881999-01-27 Andrew Innes <andrewi@gnu.org>
2589
2590 * makefile.nt: Do make version comparison as strings.
2591
25921999-01-25 Richard Stallman <rms@gnu.org>
2593
2594 * emacsclient.c (xmalloc): Fix previous change.
2595
25961999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
2597
2598 * emacsclient.c (xmalloc): Declare to return long.
2599
26001999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2601
2602 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
2603 the case of the drive letter.
2604
26051999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
2606
2607 * emacsserver.c (main): Eliminate arbitrary limit on
2608 length of system_name.
2609
2610 * emacsclient.c (main): Eliminate arbitrary limit on
2611 length of system_name.
2612 (xmalloc): Define unconditionally.
2613
26141999-01-12 Darrin B. Jewell <jewell@mit.edu>
2615
2616 * etags.c (relative_filename): Stop backward search at beginning
2617 of string, since non-Unix systems can have absolute paths with no
2618 initial slash.
2619
26201998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2621
2622 * makefile.nt: Do string comparision of _NMAKE_VER.
2623
c60ee5e7 26241998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
2625
2626 * makefile.nt: Compile multiple source files when possible.
2627
26281998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
2629
2630 * Makefile.in: Replace tabs with spaces
2631 when they might confuse some Make versions.
2632
26331998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
2634
2635 * emacsclient.c (main): Null-terminate system_name.
2636
2637 * emacsserver.c (main): Null-terminate system_name.
2638
26391998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2640
2641 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
2642 an error message from POP, mention that it's from POP, to
2643 distinguish it from local error messages.
2644
26451998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2646
2647 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
2648 order of messages downloaded from a POP server (e.g., if the
2649 server stores messages in mailboxes in reverse order).
2650
26511998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2652
2653 * Version 20.3 released.
2654
26551998-08-11 Paul Eggert <eggert@twinsun.com>
2656
2657 * rcs2log: Update copyright date and bug report address.
2658 (initialize_fullname): Prefer getent if available.
2659
26601998-07-30 Paul Eggert <eggert@twinsun.com>
2661
2662 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
2663 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 2664
362bc2da
DL
26651998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
2666
2667 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
2668
26691998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
2670
2671 * Makefile.in: Properly terminate a comment.
2672
26731998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2674
2675 * movemail.c (sys_wait): Rename to wait.
2676
2677 * ntlib.h: Undefine _WINSOCKAPI_.
2678
2679 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
2680
26811998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2682
2683 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
2684
26851998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
2686
2687 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
2688 all file i/o to be in binary mode. Include ntlib.h.
2689
26901998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
2691
2692 * make-docfile.c: Include <unistd.h> for chdir.
2693
26941998-04-25 Richard Stallman <rms@psilocin.gnu.org>
2695
2696 * etags.c (TEX_decode_env): Don't free the value getenv returns.
2697
26981998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2699
2700 * makefile.nt (obj): Update with new files in src.
2701 (clean): Delete patch scratch files, optimized compilation dir.
2702
27031998-04-08 Dave Love <fx@gnu.org>
2704
2705 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
2706 Irix6, at least.
2707
27081998-04-06 Andreas Schwab <schwab@gnu.org>
2709
2710 Silence -Wimplicit:
2711 * movemail.c: Move cancelations up. Include <stdlib.h> if
2712 available.
2713 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
2714 (parse_header): Explicitly declare return type.
2715 * emacsserver.c: Include <unistd.h> if available.
2716 (main, handle_signals, perror_1, fatal_error): Explicitly declare
2717 return types. Add forward declarations.
2718 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
2719 Don't declare geteuid.
2720 (print_help_and_exit): Change return type to void. Forward
2721 declare it.
2722 * b2m.c: Include <stdlib.h> if available.
2723 (main): Explicitly declare return type.
2724
27251998-04-03 Richard Stallman <rms@delysid.gnu.org>
2726
2727 * etags.c (put_entries): Use %ld.
2728
2729 * b2m.c (fatal): Declare the arg.
2730
27311998-04-03 Richard Stallman <rms@psilocin.gnu.org>
2732
2733 * etags.c (put_entries): Use %ld.
2734
2735 * b2m.c (fatal): Declare the arg.
2736
27371998-03-26 Richard Stallman <rms@psilocin.gnu.org>
2738
2739 * pop.c (pop_getline): Renamed from getline.
2740
27411998-03-05 Richard Stallman <rms@psilocin.gnu.org>
2742
2743 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
2744 for the utilities.
2745
27461998-01-23 Dave Love <d.love@dl.ac.uk>
2747
2748 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
2749 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
2750 Always make named tags.
2751 (Fortran_functions): Grok BLOCK DATA.
2752
27531998-01-23 Andreas Schwab <schwab@gnu.org>
2754
2755 * movemail.c (main): Fix interwoven brace and cpp conditional
2756 nesting.
2757
27581997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
2759
2760 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2761 server to contain embedded nulls.
2762
27631997-12-03 Paul Eggert <eggert@delysid.gnu.org>
2764
2765 * movemail.c:
2766 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
2767 '>' any lines starting with "From " read from the POP server, but
2768 leave the code in place, wrapped in #ifdef
2769 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2770 because it turns out that something is depending on it. Change
2771 suggested by Paul Eggert <eggert@twinsun.com>.
2772 Convert the character \037 (^_) at the beginning of a line into
2773 the character '^' followed by the character '_', because otherwise
2774 Emacs can't parse the resulting file as a valid BABYL file.
2775 Change suggested by Paul Eggert <eggert@twinsun.com>.
2776
27771997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2778
2779 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2780 server to contain embedded nulls.
2781
27821997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 2783
362bc2da
DL
2784 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
2785 quotes with a '>' any lines starting with "From " read from the
2786 POP server, but leave the code in place, wrapped in #ifdef
2787 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2788 because it turns out that something is depending on it. Change
2789 suggested by Paul Eggert <eggert@twinsun.com>.
2790
2791 Convert the character \037 (^_) at the beginning of a line into
2792 the character '^' followed by the character '_', because otherwise
2793 Emacs can't parse the resulting file as a valid BABYL file.
2794 Change suggested by Paul Eggert <eggert@twinsun.com>.
2795
27961997-11-22 Richard Stallman <rms@gnu.org>
2797
2798 * b2m.c: Include getopt.h.
2799 (main): Use getopt_long to handle --version and --help.
2800
2801 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
2802
28031997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2804
2805 * pop.c (fullwrite): Get rid of an extra call to write. Problem
2806 pointed out by Chiaki Ishikawa.
2807
28081997-10-16 Dave Love <d.love@dl.ac.uk>
2809
ecc54057
JB
2810 * etags.c (L_getit): Always make named tags so that Emacs
2811 completion on symbols containing `:' etc. works.
2812 (get_scheme): Likewise.
362bc2da
DL
2813
28141997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2815
2816 * pop.c: Use system header files instead of declaring C-library
2817 functions explicitly.
2818
28191997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2820
2821 * Version 20.2 released.
2822
28231997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2824
2825 * Version 20.1 released.
2826
28271997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
2828
2829 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
2830
2831 * ntlib.c (getpid): Delete function.
2832
28331997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2834
2835 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
2836
28371997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2838
2839 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
2840 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
2841
28421997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2843
2844 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
2845
28461997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
2847
2848 * profile.c (get_time): Cast arg to fprintf.
2849
2850 * hexl.c (main): Use %08lx instead of %08x in printf because the
2851 variable named addresses is long.
2852
28531997-08-08 Geoff Voelker <voelker@cs.washington.edu>
2854
2855 * makefile.nt (lisp): Update paths to lisp files that have moved.
2856
28571997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
2858
2859 * makefile.nt (ctags.obj): New target.
2860 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
2861
2862 * ntlib.h: Add includes.
2863 Undo definitions of crt routines from config.h.
2864
28651997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2866
2867 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2868
28691997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2870
2871 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
2872 Kerberos V5 for movemail, including detection of V4 and V5 header
2873 files and libraries.
362bc2da 2874 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 2875 declarations of string functions.
362bc2da 2876 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 2877 V5 API rather than the old one.
362bc2da 2878 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
2879 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
2880 with a constant in a header file.
362bc2da
DL
2881
2882 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
2883 Kerberos V5 for movemail, including detection of V4 and V5 header
2884 files and libraries.
362bc2da
DL
2885
28861997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2887
2888 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
2889
2890 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 2891
362bc2da
DL
28921997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2893
2894 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
2895
28961997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2897
2898 * movemail.c (rindex): Add declaration.
2899
d57727c9 29001997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
2901
2902 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
2903 (movemail.exe): Depend upon and link with getopt files.
2904 (obj): Include new source files.
2905 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
2906 (lisp): Include new and reorganized elisp files.
2907
29081997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2909
2910 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
2911
29121997-06-25 Paul Eggert <eggert@twinsun.com>
2913
2914 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
2915
29161997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
2917
2918 * b2m.c (readline): Terminate buffer properly when EOF seen.
2919 Test for valid pointer before dereferencing it.
2920
ecc54057 29211997-05-30 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2922
2923 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
2924 defined inside etags.c if HAVE_CONFIG_H is defined.
2925
ecc54057 29261997-05-29 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da 2927
ecc54057 2928 * etags.c (logical): Type name changed to bool.
362bc2da
DL
2929 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
2930 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
2931 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
2932 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
2933 (longopts): New long options without short counterpart are
2934 globals, members, no-globals, no-members. Regexp options are now
2935 defined conditionally to ETAGS_REGEXPS.
2936 (print_help): Updated.
2937
ecc54057 29381997-05-22 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2939
2940 * etags.c (C_entries): Use "." instead of "::" for Java.
2941 (consider_token): is_func renamed to is_func_or_var.
2942 (C_entries): is_func renamed to funorvar.
2943 (C_entries): Initialise tok.named.
2944 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
2945 get rid of "import", "package" and "friend".
2946 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 2947 users changed.
362bc2da
DL
2948 (C_entries): Make separate tags for variables separated by comma.
2949 (globals, members): New flags.
2950 (main, C_entries): Use them.
2951 (make_C_tag, C_entries): Make tok a global variable.
1c478461 2952
ecc54057 29531997-05-16 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2954
2955 * etags.c (funcdef): New vignore constant.
2956 (consider_token, C_entries): Use it to tag global variables.
2957 (print_help): Update for global variables.
2958 (consider_token, C_entries): Set the len member of token_name.
2959 (prolog_pred): Cleanup according to GNU coding standards.
2960 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
2961 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
2962
ecc54057 29631997-05-15 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2964
2965 * etags.c (CHARS, CHAR): New constant and macro.
2966 (iswhite, begtoken, intoken, endtoken): Use them.
2967 (notinname, _nin, nonam): New macro, array, string.
2968 (init): Cleanup and init _nin.
2969 (new_pfnote): New function.
2970 (make_C_tag) [traditional_tag_style]: Use it.
2971 (traditional_tag_style): Costant set to TRUE for now.
2972
ecc54057 29731997-05-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2974
2975 * etags.c (C_entries, Pascal_functions): Cleanup.
2976 (TeX_functions): NULL as a function arg needs a cast.
2977 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
2978
ecc54057 29791997-05-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2980
2981 * etags.c (TeX_functions): Cleaned up.
2982 (tex_getit): Removed.
2983
29841997-05-13 Paul Eggert <eggert@twinsun.com>
2985
2986 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 2987 non-files within the RCS subdirectory.
362bc2da 2988
ecc54057 29891997-05-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
2990
2991 * etags.c (C_JAVA): New #define.
2992 (Cjava_suffixes): .java is Java.
2993 (Cjava_entries): New function.
2994 (lang_names): Add Java.
2995 (sym_type): Add st_C_javastruct for Java.
2996 (C_stab_entry): Add `extends' and `implements' keywords.
2997 (consider_token, C_entries): Recognise Java structures.
2998
ecc54057 29991997-05-12 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da 3000
ecc54057 3001 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3002 (Postscript_suffixes): .ps is Postscript.
3003 (lang_names): Add Postscript.
3004 (Postscript_functions): New function.
3005 (TEX_decode_env): Close minor memory leak.
3006 (just_read_file): Correct the char number of the tag.
3007
30081997-05-11 Paul Eggert <eggert@twinsun.com>
3009
3010 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3011 Don't prepend $nl since this causes some shells to generate the
3012 empty string when IFS is $nl.
362bc2da 3013 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3014 PC-based shells mishandle CR.
362bc2da
DL
3015 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3016 nismatch, in case it's set to some nonstandard value.
1c478461 3017
362bc2da
DL
30181997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3019
3020 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3021 read in separate blocks.
3022
ecc54057 30231997-04-30 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3024
3025 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3026 (struct linebuffer): New member `len' is the length of the string.
3027 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3028 Use it instead of strlen.
3029 (TEX_getit): Declare and define unconditionally as static.
3030 (TeX_functions): Use if instead of #if TeX_named_tokens.
3031 (add_regex): Set RE_INTERVALS flag for regex compilation.
3032 (substitute): Code cleanup.
3033 (readline_internal): Code cleanup, set new member `len'.
3034 (readline): Bug corrected.
3035
30361997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3037
3038 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3039 (obj): Change references of nt*.c files to w32*.c files.
3040
ecc54057 30411997-04-15 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3042
3043 * etags.c (xnew): Add support for debugging with chkmalloc.
3044 (error): Use this instead of printf whenever possible.
3045 (main): Only call xnew after having initialised progname.
3046 (substitute): Bad memory corruption error corrected.
3047
ecc54057 30481997-04-08 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3049
3050 * etags.c (add_regex): Undo previous change.
3051 (relative_filename): Small memory leak closed.
3052 (absolute_filename): Cleaned up the code, possibly closing a bug.
3053 (absolute_dirname): Always return a newly allocated string.
1c478461 3054
362bc2da
DL
30551997-03-21 Paul Eggert <eggert@twinsun.com>
3056
3057 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3058 of the form ,*, or *_; they are probably RCS lock files.
3059 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3060 they are used by rcsfreeze.
3061
ecc54057 30621997-03-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3063
3064 * etags.c (add_regex): reset *putbuf before using it.
3065
30661997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3067
3068 * movemail.c (popmail): Remove some unnecessary function
3069 declarations.
3070 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3071 into pop_retr, there's no reason to pass in mbx_write, and the
3072 file argument can be declared FILE * explicitly. This fixes a
3073 compilation problem on systems with 64-bit pointers.
3074
30751997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3076
3077 * movemail.c: Delete duplicate inclusion of fcntl.h
3078 and duplicate #undefs of open, read, write, close.
3079
30801997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3081
3082 * movemail.c (main): Do not display "[POP-password]" in the usage
3083 message when movemail is compiled without POP support.
3084 (main, popmail): Add the optional "-p" argument, which causes
3085 movemail to leave mail in the inbox after copying it into the
3086 output file.
1c478461 3087
362bc2da
DL
3088 * Makefile.in (movemail): Link with getopt.
3089
30901997-01-20 Paul Eggert <eggert@twinsun.com>
3091
ecc54057 3092 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3093 (Copyright, Help, Id): New variables, for above.
3094 (rlog): Use -q option with cvs log, to avoid useless chatter.
3095
3096 Treat logs of "Initial revision" (RCS) or "file F was initially added
3097 on branch B." (CVS) as if they said "New file.", for consistency with
3098 change log entries.
3099
31001997-01-01 Paul Eggert <eggert@twinsun.com>
3101
3102 * vcdiff (PATH): Add /usr/xpg4/bin,
3103 where XPG4 SCCS hangs out in Solaris 2.5.
3104 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3105
31061996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3107
3108 * etags.c (streq, strneq): Use == NULL rather than !.
3109
31101996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3111
3112 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3113 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3114
3115 * movemail.c: Include maillock.h (conditionally).
3116 Remove a redundant inclusion of <stdio.h>.
3117 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3118 (main): Add variable spool_name.
3119 Support the usage of maillock and mailunlock to
ecc54057 3120 lock and unlock mailboxes.
362bc2da
DL
3121 (mail_spool_name): New function.
3122
3123 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3124 movemail to exit with an error status incorrectly on systems which
3125 use lock files rather than a system locking function to lock
3126 mailboxes.
362bc2da
DL
3127
31281996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3129
3130 * pop.c (socket_connection): Free realhost after using it.
3131
ecc54057 31321996-12-04 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3133
3134 * etags.c (C_entries): Test tok.valid. This handles some
3135 particular cases involving function declarations that failed.
3136
31371996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 3138
362bc2da
DL
3139 * pop.c (socket_connection):
3140 gethostbyname may return a pointer to static data.
3141 krb_realmofhost can clobber it. So copy it.
3142
ecc54057 31431996-11-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3144
3145 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3146 must cast it to (char *) because we have no prototypes.
3147 (make_C_tag): Macro deleted, new function.
3148 (C_entries): Calls to make_C_tag macro changed to call function.
3149
ecc54057 31501996-11-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3151
3152 * etags.c (grow_linebuffer): New function.
3153 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3154 (make_tag): Macro renamed to make_C_tag. All callers changed.
3155 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3156 (Prolog_functions): prolog_skip_comment was called with wrong
3157 number of arguments.
3158 (xrealloc): fatal was called with wrong number of arguments
3159
ecc54057 31601996-11-08 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3161
3162 * etags.c (relative_filename): Bug corrected.
3163 (etags_getcwd): Avoid warning of unused variable.
3164 (C_entries, consider_token): Added support for enum labels.
3165
31661996-11-03 Paul Eggert <eggert@twinsun.com>
3167
3168 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 3169 repository file names.
362bc2da
DL
3170
31711996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3172
3173 * emacsserver.c: Fix 1996-09-02 change.
3174
31751996-10-12 Paul Eggert <eggert@twinsun.com>
3176
3177 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 3178 option', since CVS says 'invalid option'.
362bc2da
DL
3179 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3180 revisions, since some hosts reject 1970-01-01 when east of UTC.
3181 (date): Remove.
3182
31831996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3184
3185 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3186
ecc54057 31871996-10-02 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3188
3189 * etags.c (print_version): Print copyright info.
3190
3191 * etags.c (print_help): Print the bug reporting address.
3192 (main): Use return as the last instruction, instead of exit.
3193
3194 * etags.c (main): Don't open the tags file in cxref mode.
3195
31961996-09-29 Dave Love <d.love@dl.ac.uk>
3197
3198 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 3199 as well as earlier CVSs and RCS.
362bc2da
DL
3200
32011996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3202
3203 * movemail.c (main): If the lock call fails with EBUSY or
3204 EAGAIN, retry a few times.
3205
32061996-09-25 Paul Eggert <eggert@twinsun.com>
3207
3208 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 3209 whether to append -zLT.
362bc2da
DL
3210
32111996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3212
3213 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3214 * emacsclient.c, movemail.c: Likewise.
3215
32161996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3217
3218 * emacsclient.c (longopts): Change nowait to no-wait.
3219 (print_help_and_exit): Fix option name; upcase metavars.
3220
32211996-09-06 Erik Naggum <erik@naggum.no>
3222
3223 * emacsserver.c (main): Declare `fromlen' as size_t.
3224
32251996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3226
3227 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3228
32291996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3230
3231 * emacsclient.c (quote_file_name): Quote with &, not \.
3232 Quote `-' only at start of file name. Terminate the value string.
3233
3234 * emacsserver.c: Include signal.h properly;
3235 delete the duplicate includes for it.
3236
3237 * emacsserver.c: On fatal signal, delete socket-file:
3238 * emacsserver.c: Include signal.h.
ecc54057 3239 (xmalloc, fatal, error): New functions.
362bc2da
DL
3240 (delete_socket, handle_signals): New functions.
3241 (progname, socket_name): New variables.
3242 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3243
32441996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3245
3246 * emacsclient.c (quote_file_name): New function.
3247 (main, both versions): Use quote_file_name.
3248 (decode_options): Don't return a value.
3249 (main, both versions): Use optind.
3250 Don't check for -nowait here.
1c478461 3251
362bc2da
DL
3252 * emacsclient.c (decode_options): New function.
3253 (main, both versions): Call decode_options.
3254 (print_help_and_exit): New function.
3255 (VERSION): New macro.
3256
3257 * Makefile.in (emacsclient): Link with getopt.
3258 Add -DVERSION so emacsclient knows its version number.
3259
32601996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3261
3262 * makefile.nt (lisp): Include dos-nt.elc.
3263
32641996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3265
3266 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3267
32681996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3269
3270 * emacsclient.c (both versions): Handle -nowait and --nowait
3271 by sending data to the server.
3272
32731996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3274
3275 * Makefile.in (INSTALL_STRIP): New variable.
3276 (${archlibdir}): Use INSTALL_STRIP.
3277
3278 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3279 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3280
3281 * pop.c: Reverse conditional in previous change.
3282
32831996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3284
3285 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3286
32871996-08-24 Paul Eggert <eggert@twinsun.com>
3288
3289 * rcs2log: Use ISO 8601 date format, with time zone appended
3290 if change-log-time-zone-rule is non-nil, instead of
3291 traditional Unix date format.
3292
3293 (datearg): When computing default from ChangeLog, handle ISO format
3294 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3295 Don't worry about hh:mm:ss since the resolution is now by day.
3296 Use emtpy datearg, not empty rlog_options, to decide whether to pass
3297 "$datearg" option to $rlog.
3298 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3299 (month_data): Remove `mo'; no longer needed.
3300 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
3301
3302 Match `revision' line of rlog output more accurately.
3303
3304 Add -c, -v options.
3305
33061996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3307
3308 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3309
33101996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3311
3312 * Version 19.33 released.
3313
33141996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3315
3316 * Version 19.32 released.
3317
33181996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3319
3320 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3321 computing character positions in source files.
3322
33231996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3324
3325 * makefile.nt (clean): Use OBJDIR macro.
3326
33271996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3328
3329 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3330
c60ee5e7 33311996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 3332
ecc54057 3333 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
3334 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3335 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
3336
33371996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
3338
3339 * ntlib.h: Correct return type of getwd.
3340 * ntlib.c (getwd): Correct return type.
3341
33421996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3343
3344 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
3345 to infile.
3346
33471996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3348
3349 * makefile.nt: Remove all references to wakeup.
3350
ecc54057 33511996-06-28 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3352
3353 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3354 explicit, mutable, typename.
3355
33561996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3357
3358 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
3359 streams, one for sending and one for reading the reply.
3360
33611996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3362
3363 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
3364 (wakeup): Target deleted.
3365 (UTILITIES): Delete wakeup and timer.
3366
3367 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
3368
33691996-06-11 Geoff Voelker <voelker@cs.washington.edu>
3370
3371 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
3372 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
3373
33741996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3375
3376 * etags.c (main): Copy cwd when appending slash.
3377
33781996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3379
3380 * Version 19.31 released.
3381
ecc54057 33821996-05-17 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3383
3384 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3385 (Pascal_functions): Increase linecharno by the correct number of
3386 chars, inline the GET_NEW_LINE macro and delete its definition.
3387
c60ee5e7 33881996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3389
3390 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
3391
c60ee5e7 33921996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3393
3394 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
3395 (movemail.exe, fakemail.exe): Now built under Win32.o
3396
3397 * ntlib.c: Include ntlib.h.
3398 (nt_sleep): Rename to sleep.
3399 (getwd): Return directory.
3400 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
3401 sys_ctime, sys_fopen): New functions.
3402
3403 * ntlib.h: New file.
3404
34051996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3406
3407 * pop.c (SEND, RECV): Renamed from send, recv.
3408 (pop_open, pop_trash): Make the trash_started code unconditional.
3409 (socket_connection): Delete casts to void.
3410
34111996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3412
3413 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
3414 copied from lisp.h.
3415
34161996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
3417
3418 * fakemail.c [WINDOWSNT]: Include ntlib.h.
3419
3420 * hexl.c [DOSNT]: Include fcntl.h.
3421 [WINDOWSNT]: Include io.h.
3422 (main) [MSDOS]: Change conditional to DOS_NT.
3423
3424 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
3425 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
3426 [WINDOWSNT]: Include locking.h.
3427 (main): Update usage message. Use IS_DIRECTORY_SEP.
3428 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
3429 (main) [WINDOWSNT]: Invoke locking instead of flock.
3430 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
3431 (main) [MAIL_USE_POP]: Pass password to popmail if used.
3432 Include winsock.h; don't include unix inet headers.
3433 (popmail): Add password argument and pass it to pop_open.
3434 Open output file in binary mode.
3435
3436 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 3437 Macro SOCKET_ERROR undefined.
362bc2da
DL
3438 Don't declare h_errno.
3439 [!WINDOWSNT]: Define macros recv and send.
3440 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
3441 (pop_open) [WINDOWSNT]: Initialize trash_started.
3442 (have_winsock) [WINDOWSNT]: New variable.
3443 (socket_connection) [WINDOWSNT]: Initialize winsock.
3444 (socket_connection): Use closesocket instead of close.
3445 (getline): Use recv instead of read.
3446 (fullwrite): Use send instead of write.
3447 (pop_trash): Use closesocket instead of close.
3448 (pop_trash) [WINDOWSNT]: Cleanup winsock.
3449 Check if being called recursively by sendline.
3450
3451 * pop.h (struct _popserver): New field trash_started.
3452
3453 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
3454
34551996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3456
3457 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
3458
34591996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3460
3461 * etags.c [WINDOWSNT]: Include io.h.
3462
34631996-04-10 Geoff Voelker <voelker@cs.washington.edu>
3464
3465 * makefile.nt (CTAGSOBJ): Compile with regexp support.
3466
34671996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
3468
3469 * hexl.c [DJGPP v2]: Include io.h.
3470 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
3471
3472 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
3473 DJGPP v2.
3474
34751996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3476
3477 * etags.c (absolute_filename): Use absolutefn.
3478
34791996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
3480
3481 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
3482 letter isn't an alphabetic character.
3483 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
3484 (process_file) [DOS_NT]: Convert all slashes to forward style.
3485 (absolute_filename) [DOS_NT]: Emit error message for relative
3486 paths with a drive letter.
3487 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
3488 DOS/NT drive letters which try to reference the parent of the root.
3489 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
3490
34911996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3492
3493 * makefile.nt: Change uses of del to $(DEL).
3494
ecc54057 34951996-03-22 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3496
3497 * etags.c (just_read_file): Reset lineno and charno on entry.
3498
34991996-03-15 Anders Lindgren <andersl@csd.uu.se>
3500
3501 * etags.c: Prolog language totaly rewritten.
ecc54057 3502 (Prolog_functions): Rewritten from scratch.
362bc2da 3503 (skip_comment, prolog_getit): Removed.
ecc54057
JB
3504 (prolog_skip_comment): New function, like old skip_comment.
3505 (prolog_pred, prolog_atom, prolog_white): New functions.
3506 (erlang_func, erlang_attributes): Forward declarations added.
3507 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 3508
ecc54057 35091996-03-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3510
3511 * etags.c (absolutefn): DOS_NT version corrected.
3512 (main): Append "/" to the dir name only if not already there.
3513 (print_help): Explain the absolute/relative file name issue.
1c478461 3514
362bc2da
DL
35151996-03-08 Anders Lindgren <andersl@csd.uu.se>
3516
3517 * etags.c: New Languange Erlang added.
3518 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
3519 erlang_white): New functions.
3520 (Erlang_suffixes): New suffix list.
3521 (lang_names): Erlang entry added.
3522 (prolog_getit): Accepts headers spanning several lines.
3523 Always name tags.
3524 (Prolog_functions): Removed incorrect compensation for
3525 newline characters.
3526 (readline_internal): Zero-terminate last line.
3527
35281996-03-20 Mike Long <mike.long@analog.com>
3529
3530 * b2m.c (main): Initialize progname variable before using it.
3531 Quote `username' in From_ header.
3532
35331996-03-18 Geoff Voelker <voelker@cs.washington.edu>
3534
3535 * ntlib.c (getpid): New function.
3536
35371996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3538
3539 * emacsclient.c (main, both definitions):
3540 Print a newline for normal termination.
3541
35421996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
3543
3544 * tcp.c (main): Convert port to network byte order.
3545
35461996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
3547
3548 * pop.c (pop_retrieve, getline): Avoid type clashes.
3549
35501996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
3551
3552 * etags.c (enum sym_type, anonymous enum): Delete final comma.
3553
35541996-01-15 Paul Eggert <eggert@twinsun.com>
3555
3556 * rcs2log (initialize_fullname): Add support for NIS+.
3557 (hostname): Fully qualify the default hostname with the domainname
3558 if the hostname lacks a `.'.
3559
35601996-01-15 Paul Eggert <eggert@twinsun.com>
3561
3562 * rcs2log (initialize_fullname): Add support for NIS+.
3563 (hostname): Fully qualify the default hostname with the domainname
3564 if the hostname lacks a `.'.
3565
35661996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
3567
3568 * etags.c (consider_token): Fix typo in expression.
3569
35701996-01-04 Paul Eggert <eggert@twinsun.com>
3571
3572 * etags.c (substitute): Fix spelling in message.
3573
35741996-01-03 George V. Reilly <georger@microcrafts.com>
3575
3576 * makefile.nt (etags, ctags): Compile with regexp support.
3577 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
3578 subdirectory exists before compiling.
1c478461 3579
362bc2da
DL
35801996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
3581
3582 * emacsserver.c (main): Do chmod based on existing permission.
3583
35841995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3585
3586 * Makefile.in (install): Turn on read/execute permission.
3587
35881995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3589
3590 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
3591 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
3592
35931995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3594
3595 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3596
ecc54057 35971995-12-07 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
362bc2da
DL
3598
3599 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3600 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3601 get_scheme, prolog_getit): Name the tag in ctags mode.
3602 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3603 (Perl_interpreters): Accept "@PERL@" as an interpreter.
3604 (suggest_asking_for_help): New function.
3605 (main, get_language_from_name): Use suggest_asking_for_help.
3606 (main): Let get_language_from_name make language existence check.
3607 (streq, strneq): Check the arguments #if DEBUG.
3608
ecc54057 36091995-12-06 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
362bc2da
DL
3610
3611 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3612 (gperf): Added keywords for Objective C and GNU macros.
3613 (sym_type): Added values to account for Objective C and GNU macros.
3614 (begtk): The '@' character can start a token.
3615 (objdef, methodlen, objtag): New variables for Objective C.
3616 (consider_token, C_entries): Added code for Objective C.
3617 (plain_C_suffixes): Add .m and .lm for Objective C.
3618 (Yacc_suffixes): Add .ym for Objective yacc.
3619 (GROW_LINEBUFFER): New macro.
3620 (consider_token, C_entries, Pascal_functions): Use the new macro.
3621 (consider_token): Take one more argument. Caller changed.
3622 (consider_token): Use the hashing function to spot GNU macros.
3623 (C_entries): Consider // as a comment start even in plain C for
3624 the sake of Objective C parsing.
3625
ecc54057 36261995-12-04 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
362bc2da
DL
3627
3628 * Makefile.in (ctags): depend on etags only for simplicity;
ecc54057 3629 compile with regexp support enabled.
362bc2da
DL
3630
36311995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3632
3633 * Version 19.30 released.
3634
36351995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3636
3637 * makefile.nt (DOC, clean): Don't use switches to del not
3638 supported by Windows 95.
3639
36401995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3641
3642 * Makefile.in (regex.o): Depend on ../src/config.h.
3643
36441995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3645
3646 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
3647 (LOADLIBES): Use LIB_STANDARD.
3648
36491995-11-07 Kevin Gallo <kgallo@microsoft.com>
3650
3651 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3652 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3653 Windows 95 conditional.
3654
ecc54057 36551995-11-06 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3656
3657 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3658 get_lang_from_suffix): New functions.
3659 (get_language): Function deleted.
3660 (lang_entry): Two members added to struct.
3661 (lang_names): Reflect the new layout of lang_entry.
3662 (print_language_names, main, find_entries): Use the new functions.
3663 (find_entries): Look at the first line for #! if no language.
3664 (C_entries): Invalidate the token when funcdef is reset.
3665 (Perl_functions): New function.
3666 (lang_suffixes): .pl and .pm are Perl suffixes.
3667
ecc54057 36681995-11-02 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3669
3670 * etags.c (lowcase): Use the standard tolower function.
3671 (substitute): Remove some wrong and some useless code related with
a64387ee 3672 escape '\' character in regexp replacement string.
362bc2da
DL
3673 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3674 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
3675 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
3676 .prolog for prolog (.pl removed).
3677 (massage_name, etags_getcwd): Use lowcase instead of tolower.
3678 (C_entries, find_entries): Added comments about memory leakage.
3679 (add_node): Dead code removed.
3680
36811995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3682
3683 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
3684 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
3685
36861995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3687
3688 * test-distrib.c: Add #undef for open, close, read, write.
3689
36901995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3691
3692 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3693 [! O_RDONLY]: Define it to zero.
3694 (main): Use O_RDONLY instead of explicit zero.
3695
ecc54057 36961995-08-17 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3697
3698 * etags.c (Pascal_functions): Close comment bug corrected.
3699 (add_node): Correctly compare node file names.
3700 (Pascal_functions): Correctly allocate and free memory for tline.
3701 (pfnote): Put the definition of fp in the innermost block.
3702 (NODE): `named' member removed.
3703 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 3704 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
3705 (pfnote): `named' argument removed, all callers changed.
3706 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3707 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 3708 removed from pfnote call, some code cleanup.
362bc2da
DL
3709 (relative_filename): Free temporary space allocated by concat.
3710
37111995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3712
3713 * Makefile.in (getdate.c): New target.
3714 (getdate.o): Just compile getdate.c.
3715
37161995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
3717
3718 * fakemail.c (xrealloc): Change cast to match return type.
3719
37201995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3721
3722 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
3723
37241995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3725
3726 * movemail.c (main): Fix previous change.
3727 Add error check for empty OUTNAME.
3728
37291995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3730
3731 * movemail.c (main): Mention lock file name in error message.
3732
37331995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3734
3735 * profile.c (gettimeofday): New function, defined if necessary.
3736
37371995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3738
3739 * Makefile.in: Renamed from Makefile.in.in.
3740 (distclean): Delete Makefile.c, not Makefile.in.
3741
37421995-07-17 Michael Shields <shields@tembel.org>
3743
3744 * Makefile.in.in (tags): Synonym for `TAGS'.
3745
37461995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3747
3748 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3749 configure has already set $(INSTALL) to the proper relative path.
3750
ecc54057 37511995-06-27 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3752
3753 * etags.c (plain_C_entries): new function.
3754 (lowcase): new macro.
3755 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3756 (lang_suffixes): new suffix ".pc" for Pro*C files.
3757 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3758 (tail): look for the end of the token when comparing.
3759 (takeprec): since now tail behaves differently, use strneq.
3760
37611995-07-08 Paul Eggert <eggert@twinsun.com>
3762
3763 * rcs2log (datearg): Separate date from time with comma, not space,
3764 to work around CVS 1.5 bug.
3765 (CVSROOT): Don't abort when unset if repository is absolute.
3766
37671995-07-07 Paul Eggert <eggert@twinsun.com>
3768
3769 * rcs-checkin, rcs2log, vcdiff:
3770 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
3771 that interpret `#! /' as a 4-byte magic number.
3772
37731995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
3774
3775 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
3776 mailbox with "po:mailbox", the mailbox is everything after the
3777 "po:" prefix.
3778
37791995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3780
3781 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 3782 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
3783
37841995-06-28 Paul Eggert <eggert@twinsun.com>
3785
3786 * rcs2log (CVSROOT, repository):
3787 Allow remote repositories a la CVS 1.4.
3788
ecc54057 37891995-06-27 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3790
3791 * etags.c (plain_C_entries): new function.
3792 (lowcase): new macro.
3793 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3794 (lang_suffixes): new suffix ".pc" for Pro*C files.
3795 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3796 (tail): look for the end of the token when comparing.
3797 (takeprec): since now tail behaves differently, use strneq.
3798
37991995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3800
3801 * movemail.c (main): Add newline in usage message.
3802
38031995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3804
3805 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3806
ecc54057 38071995-06-21 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3808
3809 * etags.c (find_entries): Rewind before rereading the input file.
3810
38111995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3812
3813 * Version 19.29 released.
3814
3815 * make-docfile.c (main) [MSDOS]: Do set _fmode.
3816 This undoes part of the previous change.
3817
38181995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3819
3820 * make-docfile.c (main): On MSDOS, don't change stdout
3821 to binary, and insist on an -o option.
3822
38231995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3824
3825 * etags.c (process_file,absolute_filename): Handle filenames
3826 starting with a drive letter.
3827
3828 * makefile.nt (install): Copy wakeup.exe properly.
3829
38301995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
3831
3832 * make-docfile.c [MSDOS]: #undef chdir.
3833
38341995-06-04 Paul Eggert <eggert@twinsun.com>
3835
3836 * rcs2log (output_authors): Allow ':' in time zone,
3837 as per ISO 8601 and RCS 5.6.8 beta.
3838
ecc54057 38391995-05-29 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3840
3841 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
3842 compatibility problems.
3843
38441995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
3845
3846 * etags.c (etags_getcwd): Don't use #elif.
3847 Have just one function body.
3848
38491995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3850
3851 * makefile.nt (LIBS): Use BASE_LIBS.
3852 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
3853 upon LIBS.
3854 (DOC): Use del instead of rm.
3855 (DOC) [WINDOWS95]: Use DOC.
3856 (clean): Handle MSVC aux files.
3857 (config.h,paths.h): Use $(CP) instead of cp.
3858 (config.h): Use $(CONFIG_H)
3859 (make-docfile.obj): Depend upon config.h.
3860 Clean up comments.
3861
ecc54057 38621995-05-23 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3863
3864 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3865 former gives the true path even in the presence of simlinks.
3866
38671995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3868
3869 * movemail.c (main): Increase lock timeout to five minutes.
3870
38711995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3872
3873 * makefile.nt (obj): Use .c files.
3874
38751995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3876
3877 * make-docfile.c: Include config.h.
3878 (NO_SHORTNAMES): New definition.
3879 (xmalloc): Return long *.
3880
3881 * etags.c (C_entries): Cast result of xrealloc.
3882 (xmalloc, xrealloc): Declare them to return long *.
3883
3884 * b2m.c (xmalloc, xrealloc): Declare them long *.
3885
3886 * movemail.c (xmalloc): Declare it to return long *.
3887
38881995-04-30 Paul Eggert <eggert@twinsun.com>
3889
3890 * rcs2log (datearg): If rlog options are specified explicitly,
3891 omit the implicit '-d>DATE' option.
3892 (repository, rlog): Allow absolute paths to CVS repositories.
3893 Look only at the first line of CVS/Repository.
3894
38951995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
3896
3897 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
3898 realclean.
3899
39001995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3901
3902 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
3903 Alternative (empty) definitions.
3904
39051995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3906
3907 * emacsclient.c (main): Add argv[0] to an error message.
3908
39091995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
3910
3911 * emacsclient.c (main): Improve error handling.
3912 * cvtmail.c (main, skip_to_lf): Improve error handling.
3913 (sysfail): New function.
3914
3915 * b2m.c (main): Check for trailing ", " before trying to delete it.
3916
39171995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3918
3919 * Makefile.in.in (all): Build test-distrib and make-docfile.
3920
3921 * make-docfile.c (scan_c_file): At end, restore file name last char
3922 to its original value.
3923
39241995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3925
3926 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
3927
39281995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3929
3930 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
3931 (alloca.o, regex.o): Use BASE_CFLAGS.
3932
39331995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3934
3935 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
3936
39371995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
3938
3939 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
3940 (SOURCES, distclean): Removed obsolete references to aixcc.
3941
39421995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3943
3944 * aixcc.lex: File deleted--surely obsolete now.
3945
39461995-03-23 Paul Eggert <eggert@twinsun.com>
3947
3948 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
3949 portability to mawk and nawk.
3950
39511995-03-21 Paul Eggert <eggert@twinsun.com>
3952
3953 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
3954 -u "login<tab>fullname<tab>mailaddr".
3955
39561995-03-21 Paul Eggert <eggert@twinsun.com>
3957
3958 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
3959 replaces the (now obsolescent) -n login fullname mailaddr option.
3960 Add -R option for recursive rlog.
3961 (AWK): New environment variable (default `awk') for awk program name.
3962 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
3963 Quote authors and fullnames correctly.
3964 Don't omit path from repository root when logging CVS files.
3965
39661995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3967
3968 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
3969 even if HAVE_SYSVIPC.
3970 * emacsclient.c (main): Use getcwd if not BSD.
3971
ecc54057 39721995-03-13 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3973
3974 * etags.c (process_file): free (filename) after using it.
3975 (readline_internal): Do not access the char before start of line.
3976
ecc54057 39771995-02-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3978
3979 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
3980 savetok.valid. Mark token as valid when it is initialised.
3981 (make_tag): Make token only if token is valid and reset validity.
3982 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
3983 (TOKEN): Added a new member: valid.
3984
ecc54057 39851995-02-15 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3986
3987 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
3988 (main): Do not read twice the last filename in the stdin file list.
3989
ecc54057 39901995-02-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3991
3992 * etags.c (C_entries): Initialise the new members of TOKEN.
3993 (C_entries): Do not allocate a new space for each token found by
3994 consider_token. Let make_tag do that instead.
3995 (make_tag): Since now TOKEN has memory of where it is taken from,
3996 this new macro substitutes both make_tag_from_new_lb and
3997 make_tag_from_oth_lb. All callers changed.
3998 (TOKEN): Add linepos and buffer members.
3999 (main): Initialise token_str.
4000 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4001 (token_str): New global variable used by C_entries.
4002
40031995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4004
4005 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4006
ecc54057 40071995-02-01 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4008
4009 * etags.c (pfnote): Initialise been_warned in the node.
4010 (C_entries): Removed a speed hack for the sake of clarity.
4011
ecc54057 40121995-01-18 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4013
4014 * etags.c (longopts, print_help, main): Use -I as abbreviation
4015 for the --ignore-indentation option.
4016 (main): Do not print an error message for unknown options.
4017
ecc54057 40181995-01-12 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4019
4020 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
4021 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
4022 constantypedefs, update, vgrind_style, no_warnings,
4023 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
4024 (permit_duplicates): Was a var, now a #define.
4025 (filename_lb): Was global, now local to main.
4026 (main): Open the tag file when in cxref mode.
4027 Use a BUFSIZ size buffer for making the shell commands.
4028 Look at the return value from the system routine.
4029 Exit when cannot open the tag file.
4030 (process_file): Open the file and pass the FILE* to find_entries.
4031 (find_entries): Now void, because does not open the file itself.
4032 (pfnote): Recovering from lack of memory does not work. Removed.
4033 Use savenstr and simplify the code.
4034 (free_tree): Only free the name space if node is named.
4035 (structtag): Now a pointer, not a fixed length array of chars.
4036 (consider_token): Don't take a token as argument. Use savenstr
4037 when saving a tag in structtag. Callers changed.
4038 (TOKEN): Structure changed. Now used only in C_entries.
4039 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4040 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4041 (pfcnt): Deleted. Users updated.
4042 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4043 TEX_getit, prolog_getit): Use dinamic allocation for storing
4044 the tag instead of a fixed size buffer.
4045
40461995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4047
4048 * movemail.c (main): Skip past the colon in inname.
4049
ecc54057 40501995-01-10 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4051
4052 * etags.c (pfatal): New function.
4053 (main, etags_getcwd): Use pfatal.
4054 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4055
ecc54057 40561995-01-10 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4057
4058 * etags.c (Lang_function): Use void instead to declare the
4059 language functions, because many compilers are buggy.
4060 (etags_getcwd): Fix the previous fix on the #else branch.
4061 (readline_internal): Discard possible \r before \n here.
4062 (C_entries): Do not deal with \r here: undo previous fix.
4063
ecc54057 40641995-01-09 Francesco Potort\e,Al\e(B (pot@fly)
362bc2da
DL
4065
4066 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4067 functions and a macro that allow the program to work on input
4068 lines of whatever length. Copied from etags.c.
4069 (fatal): Print a fatal error message and exit.
4070 (main): Use the new functions. Fixed a bug that made a \037 char
4071 appear at the end of the output.
4072
40731995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4074
4075 * etags.c (C_entries): Ignore carriage return at end of line.
4076
40771994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4078
4079 * fakemail.c (xmalloc, xrealloc): Add casts.
4080 (add_field): Handle <...> and "..." syntax.
4081 (setup_files, get_keyword): Clean up parens and line breaks.
4082 (args_size): Likewise.
4083
40841994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4085
4086 * yow.c: Include program name in error messages.
4087
40881994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4089
4090 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4091 (xmalloc, fatal, error): New functions.
4092 (progname): New variable.
4093 (main): Set progname.
4094
40951994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4096
4097 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4098 (main): If socket/mqueue name is in home dir, add in the host name.
4099 Rename .emacs_server to .emacs-server....
4100
41011994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4102
4103 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4104
ecc54057 41051994-11-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4106
4107 * etags.c (print_help): print --regex usage for ctags also.
4108 (main): use -h in addition to -H as abbreviation for --help.
4109
ecc54057 41101994-11-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4111
4112 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4113 is compiled if this is defined. The new functions and variables
4114 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4115 [VMS]: All VMS specific code previously contained in
4116 etags-vmslib.c is now included here, modified for dealing with
4117 language and regex options intermixed with filenames.
4118 (header_file): Global variable deleted.
4119 (Lang_Function): New typedef. All language parser functions
4120 changed to this new type.
4121 (string_numeric_p, substr, prestr): Functions deleted.
4122 (readline_internal): Does the job that readline did previously.
4123 (longopts): --language and --regex options added.
4124 (lang_names, lang_extensions, lang_func, print_language_names):
4125 New structures, variables and functions for choosing languages.
4126 (print_help): Help strings updated. Calls print_language_names.
4127 (argument_type, ARGUMENT): Typedefs for dealing with language and
4128 regex options intermixed with filenames.
4129 (main): Changed the way of dealing with arguments on the command
4130 line to deal with language and regex options intermixed with
4131 filenames.
4132 (get_language, default_C_entries, Cplusplus_entries,
4133 Cstar_entries, Yacc_entries, just_read_file): New functions.
4134 (find_entries): Use the new method for choosing the language.
4135 (Pascal_functions): Allow intermixing of comment styles.
4136 (prolog_getit, skip_comment): Rewritten for speed.
4137 (readline): Rewritten to deal with regexps.
4138
ecc54057 41391994-11-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4140
4141 * etags.c (<errno.h>): #include added.
4142 (etags_getcwd): Check return value from getcwd.
4143
41441994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4145
4146 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4147 (get_time): Use EMACS_SUB_TIME.
4148
d57727c9 41491994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4150
4151 * ntlib.c: New file.
4152 * makefile.nt: New file.
4153
4154 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4155 [WINDOWSNT]: Include the NT headers.
4156 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4157
4158 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4159 [WINDOWSNT]: Include some NT headers.
4160
41611994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4162
4163 * pop.c (getline): When a search of already-read input for CRLF
4164 fails, store the fact that we've searched it and don't search it
4165 again after reading more data.
4166
4167 * pop.c (getline): When determining whether or not it's necessary
4168 to grow the input buffer, take into account the null that's stored
4169 at the end of already-read input in the buffer.
4170
ecc54057 41711994-10-21 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4172
4173 * etags.c (prestr, substr): return a logical type.
4174 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
4175 (consider_token): set funcdef to fignore when a DEFUN is met.
4176 (C_entries): Now we can use Tom Hageman patch for extern "C".
4177
41781994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4179
4180 * movemail.c: PopServer renamed to popserver throughout.
4181
41821994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4183
4184 * etags.c: Don't declare malloc, since we include config.h.
4185 * fakemail.c: Likewise.
4186
41871994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4188
4189 * movemail.c: Don't declare malloc.
4190
41911994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4192
4193 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 4194 avoid syntax error.
362bc2da
DL
4195
41961994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4197
4198 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4199 defined, and if HAVE_CONFIG_H isn't defined, define
4200 MAIL_USE_POP always (so that this file can be included in
4201 other programs besides emacs).
4202
4203 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4204 HAVE_CONFIG_H isn't defined.
4205
4206 * pop.c (find_crlf, getline): Instead of using strstr, use a
4207 custom function for finding CRLF.
4208 (my_strstr): Function deleted.
4209
42101994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4211
4212 * pop.c (getline): Fix a segfault because of passing a
4213 non-null-terminated string into strstr(). Fix from
4214 djm@va.pubnix.com (David J. MacKenzie).
4215
4216 * pop.c: Don't include <string.h> and <strings.h>.
4217
4218 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4219 should be interchangeable, and indeed the inclusion is done in
4220 both orders in various files in the Kerberos 4 library sources,
4221 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4222 requires that <des.h> be included first, and I don't see any harm
4223 in changing the order.
4224
4225 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4226 STDC_HEADERS, if they're defined. Undef open, read, write and
4227 close after including it.
4228
42291994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4230
4231 * pop.c: Fix mismatch in conditionals.
4232
4233 * make-docfile.c (main): Don't process one input file twice.
4234 Never use exit code > 1.
4235
4236 * pop.c (open, close, read, write): Add #undefs.
4237
4238 * pop.c: Don't declare malloc, realloc, free.
4239 Include ../src/config.h.
4240 Don't include string.h or strings.h.
4241 Include des.h before krb.h.
4242 Do declare my_strstr.
4243 (getline): Really use my_strstr.
4244 Leave one empty place in server->buffer,
4245 and put a null at the end of the data in it.
4246
42471994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4248
4249 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4250 call kill with pid 0. Handle EINTR when receiving messages.
4251
42521994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4253
4254 * Makefile.in.in (regex.o): Use full path to find regex.c.
4255
ecc54057 42561994-10-17 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4257
4258 * Makefile.in.in (etags): add dependency on regex.o, link with it.
4259 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
4260
42611994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4262
4263 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4264 (${archlibdir}): Use mkinstalldirs instead.
4265
4266 * movemail.c: Make functions that return nothing void, not
4267 implicitly int.
4268 (main): Improve usage message.
4269 (error): Write to stderr, not stdout.
4270
4271 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4272 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4273 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4274 variables and implicitly declared functions.
4275
42761994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4277
4278 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4279 (distclean): Not here.
4280
4281 * Makefile.in.in (libexecdir): Renamed from libdir.
4282
ecc54057 42831994-10-11 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4284
4285 * etags.c (C_entries): Name the #define's that are macros.
4286
42871994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4288
4289 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4290 fd_set arg is a pointer, descriptor arg comes first.
4291
ecc54057 42921994-09-29 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4293
4294 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4295 (C_entries): Recognise #define inside a struct.
4296 (C_entries): ANSI tells that preprocessor commands do not have to
4297 start on the first column.
4298 (print_help): Documentation corrected for -d and -D.
4299 (white, endtk): ANSI tells the vertical tab is a separator.
4300
43011994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4302
4303 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4304 (pop.o, movemail.o): New targets.
4305 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4306
4307 * pop.c, pop.h: New files.
4308
4309 * movemail.c: Improve POP code, move most of it into a separate file.
4310 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4311 (mbx_write): Check for errors and for From line.
4312 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4313 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4314 (pop_init): Functions deleted.
4315
43161994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4317
4318 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4319 Rename path to dirname.
4320
43211994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4322
4323 * Makefile.in.in (UTILITIES):
4324 Remove test-distrib, make-docfile, make-path.
4325 (DONT_INSTALL): New variable--list those files here.
4326 (clean): Delete the files in DONT_INSTALL.
4327
43281994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4329
4330 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4331 (main): Use fgets, not gets.
4332
43331994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4334
4335 * timer.c: Don't declare malloc.
4336
43371994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4338
4339 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4340 defined, use simple 32-bit versions of these macros.
4341 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
4342
c60ee5e7 43431994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
4344
4345 * etags.c (etags_getcwd): Use getcwd if available.
4346
43471994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4348
4349 * Version 19.27 released.
4350
43511994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4352
4353 * Version 19.26 released.
4354
43551994-08-15 Paul Eggert <eggert@twinsun.com>
4356
4357 * rcs2log: Add support for CVS.
4358 Work with `rlog's that output ISO 8601 dates.
4359
43601994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
4361
4362 * rcs2log: Use <> to delimit email address.
4363
43641994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4365
4366 * emacsserver.c [SYSV_IPC] (main): Make a separate process
4367 so we can listen for multiple requests.
4368
43691994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4370
4371 * movemail.c: Include config.h first thing.
4372
43731994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4374
4375 * emacsserver.c (main): Add casts to avoid warnings.
4376
43771994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4378
4379 * Makefile.in.in (${archlibdir}): Compare the proper dir
4380 before installing the scripts.
4381
43821994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4383
4384 * emacsclient.c (main): New local var progname saves argv[0].
4385
43861994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4387
4388 * emacsclient.c (main): Don't actually modify argv[0].
4389 Modify a copy instead.
4390
43911994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4392
4393 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
4394 (tzp): Var deleted.
4395
4396 * Makefile.in.in: Add #undef alloca.
4397
43981994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4399
4400 * timer.c (xmalloc): New function.
4401
44021994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4403
4404 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
4405 (alloca.o): New target.
4406
44071994-07-08 Dave Love (d.love@dl.ac.uk)
4408
ecc54057 4409 * etags.c (takeprec): recognise `character*(*) function'
362bc2da 4410
ecc54057 44111994-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4412
ecc54057
JB
4413 * etags.c (main): Don't barf on obsolete -t and -T switches.
4414 (main): Print an explicative message when a switch is not known.
362bc2da
DL
4415
44161994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4417
4418 * hexl.c: Don't declare exit or perror.
4419
4420 * emacsserver.c (main): Don't declare geteuid.
4421 Don't declare getenv if convex.
4422
44231994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4424
4425 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
4426
ecc54057 44271994-06-03 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4428
4429 * etags.c (absolute_filename): Remove infinite loop bug when
4430 accessing files in directories whose name begins with a dot.
4431
ecc54057 44321994-06-03 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4433
4434 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4435
44361994-06-01 Morten Welinder (terra@diku.dk)
4437
4438 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
4439 location of data directory.
4440
44411994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4442
4443 * Version 19.25 released.
4444
44451994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4446
4447 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
4448
44491994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4450
4451 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
4452
44531994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4454
4455 * Version 19.24 released.
4456
44571994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4458
4459 * make-docfile.c (write_c_args): Put `default' in upper case.
4460
44611994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4462
4463 * etags.c (etags_getcwd): Cast result of popen.
4464 (popen): Declaration deleted.
4465
44661994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
4467
4468 * etags.c [!MSDOS]: Declare popen.
4469
44701994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4471
4472 * b2m.c (main): Avoid crash if argc is 1.
4473
44741994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4475
4476 * Version 19.23 released.
4477
4478 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
4479
44801994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4481
4482 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
4483
44841994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4485
4486 * Makefile.in.in: Fix out of date comment.
4487
44881994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4489
4490 * Makefile.in.in: Put in a separator for where to start cpp procssing.
4491 Move all autoconf substitutions above that point.
4492 Above that point, use Make-style comments.
4493 This goes with changes in ../configure.in.
4494
44951994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4496
4497 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
4498 warning message.
4499 (${archlibdir}): Don't do it here. Don't depend on blessmail.
4500
45011994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
4502
4503 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
4504
45051994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4506
4507 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
4508 print advice to run it, if it has anything significant to do.
4509 And only if MOVEMAIL_NEEDS_BLESSING.
4510 (blessmail): Use emacs, not temacs.
4511 (configuration): Renamed from configname.
4512
45131994-04-30 Morten Welinder (terra@diku.dk)
4514
4515 * etags.c (find_entries): Treat `*.cpp' as C++ files.
4516
45171994-04-30 Morten Welinder (terra@diku.dk)
4518
4519 * etags.c [MSDOS]: #include <sys/param.h> for the following.
4520 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
4521 a shell.
4522
45231994-04-29 Morten Welinder (terra@diku.dk)
4524
4525 * hexl.c [MSDOS]: Don't define proto type for exit.
4526
45271994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4528
4529 * b2m.c: Don't include string.h or strings.h.
4530
45311994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
4532
4533 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
4534 symbols, not make variables.
4535
45361994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4537
4538 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
4539 * etags.c (print_version): Print VERSION as a string.
4540
45411994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4542
4543 * fakemail.c (readline): Fix updating of p when buffer grows.
4544
45451994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
4546
4547 * Makefile.in.in (blessmail): New target.
4548 ${archlibdir}: Use blessmail when installing movemail.
4549
45501994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4551
4552 * fakemail.c (readline): When extending the buffer,
4553 calculate end afresh using the new size.
4554
ecc54057 45551994-04-18 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4556
4557 * etags.c (main, print_help): eliminate the -F option.
4558
ecc54057 45591994-04-18 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4560
4561 * etags.c (absolute_filename): compare against '\0' instead of NULL.
4562
45631994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4564
4565 * Makefile.in.in: Renamed from Makefile.in.
4566 Makefile.in is now generated from it, and then preprocessed.
4567 Change comments to C syntax.
4568 Include config.h.
4569 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
4570 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
4571
45721994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4573
4574 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4575
ecc54057 45761994-04-12 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4577
4578 * etags.c (etags_getcwd): Initialize bufsize.
4579
45801994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4581
4582 * profile.c (gettimeofday): If system doesn't have this, define it
4583 to give a fatal error.
4584
45851994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
4586
4587 * movemail.c (main): Use setuid, not seteuid.
4588
45891994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4590
4591 * etags.c: #undef static.
4592
ecc54057 45931994-04-08 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4594
4595 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
4596 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
4597 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
4598 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4599 TeX_functions, Prolog_functions.
4600 (inf): no more a global variable.
4601 (C_entries): take 2nd parameter `inf' instead of using the global one.
4602 (find_entries): added the cp1 var for optimisation.
4603 (find_entries): added more suffixes for assembler files.
4604 (Asm_funcs): Now finds labels even without an ending colon.
4605
ecc54057 46061994-03-30 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4607
4608 * etags.c (main): use etags_getcwd for compatibility.
4609 (etags_getcwd): new function.
4610
46111994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4612
4613 * Makefile.in (etags, ctags): Pass -D for VERSION.
4614
ecc54057 46151994-03-25 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4616
4617 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
4618 (main): don't allow the use of -t and -T in etags mode.
4619 (print_help): don't show options enabled by default.
4620 (print_version): show the emacs version number if VERSION is #defined.
4621 (find_entries): add "ss" as suffix for Chez Scheme.
4622
ecc54057 46231994-03-23 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4624
4625 * etags.c (cwd, outfiledir): vars added.
4626 (relative_filename, absolute_filename, absolute_dirname):
4627 functions added to compute filenames in tags files.
4628 (process_file): filenames in tags file are relative to the
4629 directory where the tags file is (useful with the -o option).
4630 (main): initialise the outfiledir var.
4631 (TYPEDST): added the `tignore' value.
4632 (C_entries): corrected various small bugs.
4633
46341994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4635
4636 * Makefile.in (UTILITIES): `env' deleted.
4637 (env): Target deleted.
4638 * env.c: File deleted.
1c478461 4639
362bc2da
DL
46401994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4641
4642 * Makefile.in (install, ${archlibdir}): Switch back to ..
4643 before running INSTALL_PROGRAM.
4644
ecc54057 46451994-03-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4646
4647 * etags.c (TYPEDST): added the `tignore' value.
4648 (C_entries): corrected various bugs, now correctly parses the
4649 `extern "C" {' construction (patch by Tom R.Hageman).
4650
46511994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4652
4653 * b2m.c: Use <...> to include config.h.
4654 Don't include stdlib.h.
4655
177c0ea7 46561994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
4657
4658 * b2m.c (main): Change delimiter from "^L" to "^_^L".
4659 Allow for text following "BABYL OPTIONS:".
4660 Add --help option. Use argv[0] in error messages.
4661
46621994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4663
4664 * emacsclient.c (main) [HAVE_SYSVIPC]:
4665 Make msgp->mtext longer if necessary.
4666 On HPUX, error if it's more than 512 chars.
4667
46681994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4669
4670 * etags-vmslib.c: Use GPL.
4671 * emacstool.c: Use GPL.
4672 * fakemail.c: Update GPL.
4673
4674 * make-path.c (main): Return 1 on error, not -1.
4675 Update GPL.
4676
4677 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
4678 (xmalloc, xrealloc): Return char *, not int.
4679 (error): Write to stderr, not stdout.
4680 Update GPL.
4681
46821994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
4683
4684 * profile.c (main, get_time): Don't crash on invalid input.
4685
46861994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4687
4688 * profile.c (get_time): Simplify; avoid calling index.
4689 (main): exit on EOF.
4690
ecc54057 46911994-02-17 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4692
a64387ee 4693 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
4694
46951994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4696
4697 * fakemail.c (put_line): Don't break the line if it all fits.
4698
ecc54057 46991994-02-14 Francesco Potort\e,Al\e(B (pot@fly)
362bc2da
DL
4700
4701 * etags.c (absolute_pathnames, cwd): added global vars.
4702 (longopts, print_help, main, process_file): put absolute filenames
4703 in the tag file if the -A --absolute-pathnames option is used.
4704 (print_help): alfabetically order the options.
4705 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
4706
47071994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4708
4709 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4710 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4711
47121994-02-07 Christian Lynbech (lynbech@avignon)
4713
4714 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
4715
47161994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4717
4718 * Makefile.in (UTILITIES): Mention profile.
4719 (profile): New target.
4720
4721 * profile.c: New file.
4722
47231994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 4724
88c71720 4725 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 4726 Lisp docstrings do.
88c71720 4727 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
4728 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4729 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4730
ecc54057 47311994-01-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4732
4733 * etags.c (stab_entry, stab_create, stab_find, stab_search,
4734 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
4735 Use gperf generated hash table instead of linked list.
4736 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
4737 Mostly code generated by gperf.
4738 (consider_token): removed unused parameter `lp'.
4739 (PF_funcs, getit): allow subroutine and similar declarations
4740 to span multiple lines.
4741 (C_entries): check for newline if inchar to avoid bus errors.
4742 (process_file, find_entries): distinguish among nonexistent
4743 and not regular file.
4744
47451994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4746
4747 * timer.c: Include errno.h; don't include fasync.h.
4748 (schedule): Don't return a value.
4749 (sigcatch): Reestablish the handler first.
4750 (getevent): Always call notify at the end.
4751 (notify): Defer alarms around the whole body of function.
4752
47531994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4754
4755 * timer.c (main): Don't request SIGIO, and don't handle it.
4756 Loop calling getevent.
4757 (sigcatch): Delete code to handle SIGIO.
4758 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 4759 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
4760 Set defer_alarms around realloc and schedule.
4761 If alarm_deferred gets set, call notify.
4762 Likewise if this event is the only pending event.
4763 Make buf and buf_size global variables.
4764 Don't malloc buf if it is already non-zero.
4765 (schedule): Just exit if run out of memory.
4766 Return the number of events.
4767 (signal) [_CX_UX]: Add #undef.
4768
47691994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4770
4771 * timer.c [USG] (SIGIO): Define as SIGPOLL.
4772 (main) [USG]: Do ioctl to enable SIGPOLL.
4773
47741994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4775
4776 * timer.c: Don't declare sys_errlist; declare strerror instead.
4777 (schedule, main): Call strerror instead of using sys_errlist.
4778 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
4779 Call strerror instead of using sys_errlist.
4780 * env.c (main): Call strerror instead of using sys_errlist.
4781 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
4782 (main): Call strerror instead of using sys_errlist.
4783 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
4784 * env.c [! HAVE_STRERROR] (strerror): Likewise.
4785 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
4786 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
4787
47881994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4789
4790 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
4791
4792 * movemail.c (malloc): Don't declare it.
4793 (xmalloc): Cast result of malloc.
4794 (strcpy): Don't declare it.
4795
47961993-11-14 Morten Welinder (terra@diku.dk)
4797
4798 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
4799 (main): Use fclose to close file opened by fopen.
4800
4801 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
4802
4803 * movemail.c [MSDOS]: #undef `access'.
4804
4805 * b2m.c (main) [MSDOS]: Open all files as binary.
4806 * etags.c (main) [MSDOS]: Open all files as binary.
4807
4808 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
4809 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
4810 with.
4811
48121994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4813
4814 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
4815 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
4816 (LINK_CFLAGS): New variable.
4817 (timer): Use LINK_CFLAGS.
4818
48191993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4820
4821 * movemail.c: Include syswait.h.
4822 Fork a subprocess and use it to copy the mail file.
4823
48241993-12-07 Richard Stallman (rms@srarc2)
4825
4826 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
4827
48281993-12-04 Richard Stallman (rms@srarc2)
4829
4830 * movemail.c (main): When making tempname, cast result of xmalloc.
4831 Include room for EXXXXXX in the size.
4832 Don't use result of strcpy.
4833
48341993-12-03 Paul Eggert (eggert@twinsun.com)
4835
4836 * vcdiff: Add --brief option.
4837
48381993-12-02 Richard Stallman (rms@srarc2)
4839
4840 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
4841 for all executables and scripts.
4842
48431993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4844
4845 * Version 19.22 released.
4846
48471993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4848
4849 * Makefile.in (mostlyclean): Make it distinct from clean.
4850
48511993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4852
4853 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
4854
48551993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4856
4857 * Version 19.21 released.
4858
4859 * Makefile.in (install): Don't change mode or group when installing.
4860
4861 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
4862
48631993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4864
4865 * make-docfile.c (read_c_string): For "", concatenate the two strings.
4866
4867 * movemail.c (main): Fix error message text.
4868
48691993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4870
4871 * Version 19.20 released.
4872
177c0ea7 48731993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 4874
ecc54057 4875 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
4876 functions returning a pointer to a function, a la `signal', can be
4877 parsed. This also required new state `fstartlist' to `FUNCST'.
4878 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
4879 (C_entries, CNL): use it to isolate preprocessor directive processing
4880 from the other state engines.
4881 (begtk): add '~', for C++ class destructors.
4882
ecc54057 48831993-11-02 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4884
4885 * etags.c (consider_token): removed unused variable firsttok.
4886 (prolog_getit): call pfnote with the right number of arguments.
4887
48881993-10-19 Paul Eggert (eggert@twinsun.com)
4889
4890 * rcs2log (printlogline): Don't generate lines containing only
4891 white space.
4892
48931993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4894
4895 * Makefile.in (${archlibdir}):
4896 Install ${SCRIPTS} from ${srcdir}, not cwd.
4897
48981993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4899
4900 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
4901 the comment character.
4902
ecc54057 49031993-10-01 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4904
4905 * etags.c (process_file): dead code removed.
4906 (S_ISREG): #define it using S_IFREG if not defined.
4907 (process_file): regular files have nothing to do with symlinks.
4908
49091993-09-28 Brian Fox (bfox@ai.mit.edu)
4910
4911 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
4912 from current directory. Only chmod and chgrp files that we
4913 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
4914 ${bindir}.
4915 (INSTALLFLAGS): Deleted definition, since it is an unused variable
4916 now.
4917
49181993-09-27 Brian Fox (bfox@ai.mit.edu)
4919
4920 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
4921 configure figure out the correct values for these variables.
4922
49231993-09-14 Brian Fox (bfox@ai.mit.edu)
4924
4925 * Makefile.in (archlibdir): Only install execuatables internally
4926 used by emacs; don't install bindir binaries here.
4927
49281993-09-24 Paul Eggert (eggert@twinsun.com)
4929
4930 * rcs2log: Add -h, -n, -r options.
4931 By default, look for *,v files as well as RCS/*,v files.
4932 Use $TMPDIR (default /tmp) instead of /tmp.
4933
ecc54057 49341993-09-20 Francesco Potort\e,Al\e(B (pot@fly)
362bc2da
DL
4935
4936 * etags.c (C_entries): is_func is initialised here instead of in
4937 consider_token for the sake of the yacc rules section.
4938 (C_entries): Now class, struct, enum, union and typedef produce
4939 named tags.
4940
49411993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
4942
4943 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
4944
49451993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4946
88c71720
KS
4947 * Makefile.in: Support configuring in a different directory when
4948 ${srcdir} has already been configured.
4949 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
4950 -I${srcdir}/../src.
362bc2da
DL
4951 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
4952 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
4953 is already in CPP_FLAGS.
4954 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
4955 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
4956
49571993-08-25 Paul Eggert (eggert@twinsun.com)
4958
4959 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
4960 otherwise, HP awk complains.
4961
4962 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
4963 are common hangouts for SCCS commands.
4964
49651993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4966
4967 * Version 19.19 released.
4968
49691993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4970
4971 * Makefile.in (make-path): Dep on config.h.
4972
49731993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4974
4975 * b2m.c (TRUE, FALSE): Don't define if already defined.
4976
49771993-08-09 Paul Eggert (eggert@twinsun.com)
4978
4979 * rcs2log (awkscript):
4980 Some sites put comma-separated junk after the fullname.
4981 Remove it, but leave "Bill Gates, Jr" alone.
4982 Remove the junk from fullnames like "0000-Admin(0000)".
4983
49841993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4985
4986 * Version 19.18 released.
4987
ecc54057 49881993-08-04 Francesco Potort\e,Al\e(B (pot@spiff.gnu.ai.mit.edu)
362bc2da
DL
4989
4990 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
4991 (L_funcs): the (foo::defmumble stuff now should work.
4992 (consider_token): function returned random value--corrected.
4993 (C_entries): corrected == versus = typo.
4994
49951993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4996
4997 * etags.c (put_entries): For NODE->rewritten, put pattern before
4998 \177 and name after, not vice versa.
4999
50001993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5001
5002 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5003
ecc54057 50041993-07-30 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 5005
ecc54057 5006 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5007 after the parameter list and before the open curly brace.
5008 Allows correct parsing of C++ constructors.
5009 (C_entries, consider_token): make use of fignore.
5010 (consider_token): reset funcdef when next_token_is_func: when in
5011 ctags mode makes DEFVAR and others work better.
5012 (L_isquote): function that recognises the "(quote" string.
5013 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
5014
50151993-07-29 Paul Eggert (eggert@twinsun.com)
5016
5017 * rcs-checkin: Don't check whether a file is readable until we have
5018 decided not to ignore it.
5019
50201993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5021
5022 * Makefile.in (etags): Depend on ../src/config.h.
5023
5024 * emacsserver.c: Include types.h before file.h.
5025
50261993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5027
5028 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5029
50301993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5031
ecc54057 5032 * Version 19.17 released.
362bc2da
DL
5033
50341993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5035
5036 * etags.c (print_help): Break up the very long strings containing
5037 the help message into shorter strings, to placate chintzy C
5038 compilers which can't handle strings that long.
5039
5040 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5041 correct combination of <time.h> and <sys/time.h>.
5042
ecc54057 50431993-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5044
5045 * etags.c (alloca): removed all references to it.
5046 (main): now calls xnew instead of alloca for portability.
5047 (../src/config.h): included only if HAVE_CONFIG_H.
5048 (const): void definition removed--config.h takes care of it.
5049
ecc54057 50501993-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5051
5052 * etags.c (consider_token): was `==', now is `='.
5053 (consider_token): DEFUNs now treated like funcs in ctags mode.
5054
5055 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
5056 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5057 (C_entries): removed a piece of useless code.
5058 (C_entries): making typedef tags is delayed until a semicolon
5059 is met. This handles "typedef int X, Y, Z;" correctly.
5060
50611993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5062
5063 * Version 19.16 released.
5064
5065 * b2m.c: #include <sys/types.h>.
5066 (ltoday): Declare this to be time_t.
5067
50681993-06-30 Paul Eggert (eggert@twinsun.com)
5069
5070 * vcdiff: Add -q option.
5071
50721993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5073
5074 * etags.c: #include "config.h" and the alloca CPP tangle before
5075 #including the system headers and getopt.h. AIX requires the
5076 #pragma to come before any actual C code.
5077
50781993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5079
5080 * Makefile.in (ctags): Depend on etags, so that parallel makes
5081 don't write etags.o files on top of each other.
5082
50831993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5084
5085 * version 19.15 released.
5086
50871993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5088
5089 * etags.c (add_node): Move var last_node to file scope.
5090
50911993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5092
5093 * Version 19.14 released.
5094
50951993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5096
ecc54057 5097 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5098 * Makefile.in (distclean): Call clean to do most of the work.
5099 Delete aixcc.c and TAGS.
5100 (realclean): Just call distclean.
1c478461 5101
362bc2da
DL
5102 * Makefile.in: Remember, spaces are not tabs.
5103
51041993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5105
5106 * Makefile.in (CPP_CFLAGS): New variable.
5107 Use it instead of ALL_CFLAGS when compiling a .c file.
5108 (getopt.o, getopt1.o): Add explicit compilation commands.
5109
51101993-06-10 Mark D. Baushke (mdb@cisco.com)
5111
5112 * etags.c: Reinstate old -f option as an alias for -o for
5113 installed base uses.
5114
51151993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5116
5117 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5118 to bind or accept, cast the pointer, to avoid warnings on systems
5119 which declare prototypes for this.
5120 * emacsclient.c (main): Same.
5121
5122 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5123
51241993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5125
5126 * Version 19.13 released.
5127
5128 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5129 comes from, not sys/time.h.
5130
51311993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5132
5133 * wakeup.c: Include sys/time.h.
5134
5135 * etags.c: #undef static.
5136
5137 * Version 19.12 released.
5138
5139 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5140
51411993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5142
5143 * Version 19.11 released.
5144
5145 * timer.c [LINUX]: #undef signal.
5146 * emacsserver.c: #undef signal.
5147
51481993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5149
5150 * wakeup.c (main): Make when a time_t.
5151
51521993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5153
ecc54057 5154 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 5155 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
5156 might fail, and have pwd print out the current directory.
5157
5158 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5159 string-handling functions.
5160
51611993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5162
5163 * Version 19.10 released.
5164
51651993-05-29 Paul Eggert (eggert@twinsun.com)
5166
5167 * rcs2log: When given no file arguments, inspect RCS/.* as well
5168 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5169
51701993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5171
5172 * Makefile.in (timer): Link with $(LOADLIBES).
5173
51741993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5175
5176 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5177
51781993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5179
5180 * etags.c: Replace the CPP tangle for alloca with the one from the
5181 autoconf documentation, since that's working elsewhere.
5182
51831993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5184
5185 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5186 description files can find their ancestors.
5187
51881993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5189
5190 * Makefile.in (install): Get the scripts from ${srcdir},
5191 unlike the executables.
5192 (ALL_CFLAGS): Add -I../src
5193
51941993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5195
5196 * Version 19.9 released.
5197
51981993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5199
5200 * Makefile.in (install): Do install the programs listed in
5201 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5202 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5203
5204 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5205 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5206
52071993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5208
5209 * etags.c: Include ../src/config.h.
5210
5211 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5212 in first loop. Delete files from bindir before installing new ones.
5213 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5214
52151993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5216
5217 * Version 19.8 released.
5218
5219 * make-docfile.c: Doc fix.
5220
52211993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5222
5223 * tcp.c: Fix comment syntax at top of file.
5224 (main): Don't call htons with the port number.
5225
52261993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5227
5228 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 5229 appropriate.
362bc2da
DL
5230
5231 * Makefile.in (install): Refer to the variables INSTALLABLES and
5232 INSTALLABLE_SCRIPTS, instead of writing them out.
5233
52341993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5235
5236 * make-path.c (main): Return 0.
5237
52381993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5239
ecc54057 5240 * Version 19.7 released.
362bc2da
DL
5241
52421993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5243
5244 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5245
52461993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5247
5248 * tcp.c: New file.
5249
52501993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5251
5252 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5253
52541993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5255
5256 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5257 only. We should really fix this later, but let's just make it
5258 compile for now.
5259
5260 Install patches from David J. Mackenzie to make the srcdir option
5261 work.
5262 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5263 Makefile.
5264 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5265 INSTALLABLE_SCRIPTS.
5266 (INSTALLABLE_SCRIPTS): New list.
5267 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5268 (${archlibdir}): The scripts to be installed live in the source
5269 tree, not in the object tree.
5270 (test-distrib): Note that the data file lives in the source tree,
5271 not the object tree.
5272 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5273 (all other targets): Change references to source files to use
5274 ${srcdir}, except for config.h, which lives in the object dir.
5275 (timer.o): Note that this depends on ../src/config.h.
5276 * make-docfile.c (main): Add a -d option, to tell it where to find
5277 the source files.
5278 * test-distrib.c (main): Take the name of the distribution file to
5279 test from the command line.
5280
5281 * timer.c: Fix mispellings of get_date function's name.
5282
52831993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5284
5285 * etags.c (main):
5286 Don't require that there be input files if -i switches were given.
5287
52881993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5289
5290 The GNU coding standards specify that CFLAGS should be left for
5291 users to set.
5292 * Makefile.in (CFLAGS): Put this in the "things configure might
5293 edit" section, and have it default to -g.
5294 (ALL_CFLAGS): New variable, set to all the flags which should be
5295 passed to compilations. Replace all other uses of CFLAGS with
5296 ALL_CFLAGS.
5297 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5298
5299 * Makefile.in (DEFS): Remove this; it's always just going to be
5300 "-DHAVE_CONFIG_H -Demacs".
5301
53021993-05-03 Paul Eggert (eggert@twinsun.com)
5303
5304 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5305 /[/]/, so change it to /[\/]/. This should work on all
5306 Posix-compliant awks. It's slightly wrong with traditional awk,
5307 since it matches \ too, but that's a minor problem compared to awk
5308 syntax errors.
5309
53101993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5311
5312 * Makefile.in (ALLOCA): New variable, whose value we should
5313 inherit from the top-level makefile.
5314 (etags, ctags): Include ALLOCA in the list of object files that
5315 these executables depend on and link.
5316
53171993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5318
5319 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5320
53211993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5322
5323 * make-docfile.c (write_c_args): Print an argument named "defalt"
5324 as "default".
5325
53261993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5327
5328 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5329 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5330 compiler.
5331
ecc54057 53321993-03-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5333
5334 * etags.c (YACC): flag added to c_ext.
5335 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
5336 (find_entries): consistently use streq when reasonable.
5337 (find_entries): a .y file is a yacc file.
5338 (get_C_stab): c_ext becomes c_ext&C_PLPL.
5339 (C_entries): logical cplpl means c_ext&C_PLPL.
5340 (C_entries): logical yacc_rules means we are after the first %%.
5341 (C_entries): added logic for yacc files.
5342
ecc54057 53431993-03-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5344
5345 * etags.c (C_entries): ':' case moved to the second switch.
5346 (C_entries): do not examine token if structdef==scolonseen.
5347 (consider_token): structtag set to null string for enum.
5348
ecc54057 53491993-03-12 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5350
5351 * etags.c (GET_COOKIE): and related macros removed.
5352 (logical): is now int, no more a char.
5353 (reg): define deleted.
5354 (isgood, _gd, notgd): deleted.
5355 (gotone): deleted.
5356 (TOKEN): member linestart removed.
5357 (linepos, prev_linepos, lb1): deleted.
5358 (main): call initbuffer on lbs array instead of lb1.
5359 (init): removed the initialisation of the logical _gd array;
5360 (find_entries): a .sa suffix means assembler file.
5361 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
5362 All C state machines rewritten.
5363 (C_entries): complete rewrite.
5364 (condider_token): complete rewrite.
5365 (getline): deleted.
5366
ecc54057 53671993-03-01 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5368
5369 * etags.c (C_entries): Added the quotednl logical variable.
5370 Used for parsing of #define's spanning multiple lines.
5371
ecc54057 53721993-02-23 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5373
5374 * etags.c (C_entries): Save the definedef status even when a
5375 newline is met inside a string.
5376
53771993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5378
ecc54057 5379 * Makefile.in (EXECUTABLES): added rcs-checkin.
362bc2da
DL
5380
5381 * Makefile.in (unlock, relock): New productions.
5382
53831993-03-16 Paul Eggert (eggert@twinsun.com)
5384
5385 * rcs2log: Some awks don't understand "\r". Code around this.
5386 Unfortunately this requires putting a carriage return in the
5387 source code. Don't assume that rlog will tolerate times like
5388 `10:10:60'; RCS 5.7 won't allow this.
5389
53901993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5391
5392 * timer.c (main): Set the ownership of the stdin file descriptor
5393 to the current process. Print error messages if either of the
5394 fcntl's fails.
5395
5396 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
5397 ../src/config.h), not void.
5398
53991993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5400
5401 * b2m.c (main): Don't exit upon reading a blank line.
5402
ecc54057 54031993-03-01 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5404
5405 * etags.c (C_entries): New local variable quotednl. Used for
5406 parsing of #define's spanning multiple lines.
5407
5408 * etags.c (C_entries): Save the definedef status
5409 even when a newline is met inside a string.
5410
54111993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5412
5413 * timer.c (notify): Initialize waitfor properly.
5414
ecc54057 54151993-02-22 Francesco Potort\e,Al\e(B (pot@CNUCE.CNR.IT)
362bc2da
DL
5416
5417 * etags.c (C_entries): Don't reset definedef when a newline inside a
5418 comment is met.
5419
54201993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5421
5422 * etags.c (find_entries): If filename ends in .f or .for,
5423 don't try anything but Fortran.
5424
54251993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
5426
5427 * timer.c (notify): Flush stdout after writing message to avoid lossage
5428 on terminals.
5429
5430 (notify): Also, write a newline after the token.
5431
54321992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5433
5434 * Makefile.in (exec_prefix): New variable.
5435 (bindir, libdir): Use it instead of `prefix'.
5436
5437 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
5438
5439 * Makefile.in (libdir): Default to ${prefix}/lib.
5440 (archlibdir): Adjusted to match.
5441
5442 * Makefile.in (distclean): Don't delete backup or autosave files.
5443 (extraclean): Like realclean, but does delete backup and autosave
5444 files.
5445
5446 * Makefile.in (realclean): Ignore errors from rm.
5447
5448 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
5449 that doesn't exist anymore.
5450
54511992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5452
5453 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
5454 described in the top-level Makefile.
5455 (UTILITIES): Add make-path to the list of utility programs.
5456 (../arch-lib): Replaced by the ${archlibdir} target, which places
5457 the executables in their permanent home.
5458 (install, install.sysv, install.xenix): Consolidated into one
5459 target which should work under all circumstances, modulo a few
5460 ignored error messages.
5461
5462 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
5463 a different number of arguments than other DEFVARs, recognize it
5464 specially, and expect the right number of commas.
5465
54661992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5467
5468 * make-path.c: New program, to help with the installation process.
5469 * Makefile.in (make-path): New target.
5470
5471 * make-path.c (touchy_mkdir): Remove debugging output.
5472
54731992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5474
5475 * Makefile.in (getdate.o): Added explicit target for this, so we
5476 can indicate that it depends on ../src/config.h.
5477
54781992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5479
5480 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
5481 instead of CFLAGS.
5482 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
5483
54841992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5485
5486 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
5487 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
5488 that system.
5489
5490 * Makefile.in (arch-lib): Give rm the `-f' option.
5491
54921992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5493
5494 * make-docfile.c (write_c_args): Rewritten to correctly print
5495 &optionals before the first identifier, but after the first paren.
5496 This code used to just wait for commas or spaces; now it notices
5497 identifier boundaries.
5498
54991992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5500
5501 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
5502
55031992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5504
5505 * make-docfile.c (write_c_args): Print the argument lists properly
5506 when the first argument is optional.
5507
55081992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5509
5510 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
5511 Redefine @item. Set catcode of +.
5512
55131992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5514
5515 * emacsclient.c (main): Set IPC_CREAT in msgget call.
5516
55171992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5518
5519 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
5520 (TEX_decode_env): Make `tab' one element longer.
5521
55221992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5523
5524 * etags.c (PF_funcs): Recognize the "entry" keyword.
5525
55261992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5527
5528 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
5529
55301992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5531
5532 * timer.c (events): Rather than having slots marked as in use or
5533 out of use by the `token' field, keep all pending events at the
5534 beginning of the array. When we delete an event in the middle of
5535 the array, we move the last event into its place.
5536 (num_events): New variable.
5537 (schedule): It is now cheaper to find a free event slot;
5538 events[num_events] is the first free slot.
5539 (notify): Scan events[0 .. num_events-1], instead of the whole
5540 array. When an event fires, move the last event in the array into
5541 its spot. Use num_events to determine whether or not there are
5542 any pending events, not wait_for.
5543 (getevent): Deleted unused variable `ep'.
5544 (sigcatch): It's now easier to find all the active events.
5545 (main): Initialize num_events.
5546
5547 * etags.c: Rather than fret about which systems have index and
5548 which systems have strchr, and how to tell the difference between
5549 them, we just write out our own versions. Big deal.
5550 (index, rindex): Extern declarations removed.
5551 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
5552 (etags_index, etags_rindex): New declarations.
5553 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
5554 TEX_getit, substr): Use the etags_*index functions, rather than
5555 the native *index functions.
5556 (rindex, index): Renamed to etags_rindex and tags_rindex, and
5557 made them unconditionally defined, rather than having them depend
5558 on NEED_*INDEX.
5559
5560 * etags.c (savenstr): Add declaration for this at top of file.
5561 (TEX_decode_env): Don't declare it local to this function.
5562
5563 * b2m.c: #include "../src/config.h", so we can test for the USG
5564 macro, and decide whether to include <string.h> or <strings.h>.
5565 * Makefile.in: Note that b2m.c depends on ../src/config.h.
5566
55671992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5568
5569 * timer.c: Reformatted according to the GNU coding standards.
5570 Removed arbitrary limits on the number of events queued and the
5571 length of the tokens used to identify them.
5572 Removed casts to (void).
5573 Removed debugging printfs; they clutter the code, and the need
5574 can be better filled using a real debugger.
5575
55761992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5577
5578 * timer.c: Installed new version from Eric Raymond; this is more
5579 portable, since it doesn't try to use SIGIO.
5580
55811992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5582
5583 * emacsclient.c (main): If we can't find the socket in this
5584 person's home directory, print a message which asks if they've
5585 started the server, instead of just printing the message from
5586 sys_errmsg; Cygnus finds that people are much less confused by
5587 this.
5588
55891992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5590
5591 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
5592 so that index and rindex get defined, why don't we actually
5593 control index and rindex using symbols called "NEED_INDEX" and
5594 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
5595 little more readable than defining something whose name implies
5596 that it's not?
5597
55981992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5599
5600 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
5601 distribution:
5602 Miscellaneous doc fixes.
1c478461 5603 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
5604 (scan_lisp_file): Instead of using long hairy strings of ifs, call
5605 read_lisp_symbol and then see what we got. Call skip_white
5606 instead of writing out a loop to do its job. Correctly extract
5607 docstrings from "defmacro" declarations.
5608
56091992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5610
5611 * movemail.c (strcpy): Declare this to return char *.
5612
56131992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5614
5615 * etags.c (C_entries): When we find a C++ comment, do actually
5616 skip to the end of the line; do a 'break' instead of a 'continue'.
5617
56181992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5619
5620 * etags.c (getit): Add missing parenthesis to expression which
5621 decides if this token is an identifier.
5622
56231992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5624
5625 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
5626
56271992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5628
5629 * etags.c (put_entries): Always put space between name and line num.
5630
56311992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
5632
5633 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
5634 warning.
5635 (LEVEL_OK_FOR_FUNCDEF): Ditto.
5636
56371992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5638
5639 * make-docfile.c (write_c_args): Pass both arguments to putc.
5640
56411992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
5642
5643 * etags.c (C_entries): Fixed reading of "..." strings.
5644 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
5645 the C library source.
5646
5647 * etags.c (C_entries): When we see a backslash inside a quoted
5648 string, skip to the next character. This allows us to correctly
5649 deal with strings containing quotes.
5650
56511992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5652
5653 * make-docfile.c (write_c_args): Print the C argument names as
5654 they would be written in Elisp; print '_' as '-'.
5655
56561992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5657
5658 * movemail.c [POP]: Get user name via getpwuid.
5659
56601992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5661
5662 * Makefile.in: flags in CC invocations rearranged for no reason.
5663
56641992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5665
5666 * etags.c (print_help): Remember not to imbed raw newlines in
5667 strings - end the lines with `\n\'.
5668
56691992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5670
5671 * timer.c (getevent): Removed declaration of memcpy; since
5672 different systems have different return types, and we're not even
5673 using the return type anyway, it wasn't doing us any good.
5674
56751992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5676
5677 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
5678 type of this function.
5679
56801992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5681
5682 * ChangeLog: Since the old etc contents have been split into etc
5683 and lib-src, the old etc's ChangeLog has been duplicated in the
5684 new etc and lib-src. That means that each contains complete and
5685 coherent information, although each contains extraneous
1c478461 5686 information.
362bc2da
DL
5687
56881992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5689
5690 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
5691 to be consistent with other GNU programs, like makeinfo.
5692
5693 * lib-src/Makefile: Renamed to Makefile.in; the configure script
5694 will edit this to produce Makefile.
5695
56961992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5697
5698 * etags.c (print_help, print_version): New functions.
5699 (main): Options added to support them.
5700
5701 * etags.c (longopts): New array of long names for the options.
5702 (main): Recognize them.
5703
57041992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5705
5706 * etags.c (C_entries): Removed comment saying that \" in a string
5707 isn't recognized as magic, because it is correctly handled.
5708
5709 * getopt.c, getopt.h: New files, from GNU C library.
5710 * etags.c: Rewritten to use getopt.
5711 #include "getopt.h".
5712 (file_num): Variable deleted; its role is now played by getopt's
5713 optind.
5714 (main): Argument processing loop rewritten to call getopt to get
5715 next option. Options which take parameters (-o and -i) rewritten
5716 to get parameter from optarg instead of argv[1]. Filename
5717 preprocessing loop and update command changed similarly.
5718 * Makefile (etags, ctags): Depend on and link with getopt.h,
5719 getopt.o, and getopt1.o.
5720 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
5721
5722 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
5723 is non-zero.
5724
5725 (main): In the argument processing loop, the 'goto next_arg'
5726 statements are breaking out of the switch statement in exactly the
5727 same way that a simple 'break' statement would; replace the gotos
5728 with breaks, and remove the label.
5729
57301992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5731
5732 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
5733 (consider_token): Move next_token_is_func to global.
5734
57351992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5736
5737 * Makefile: Conform with GNU coding standards:
5738 (mostlyclean): New target, synonymous with clean.
5739 (TAGS, check): New targets.
5740 (INSTALL, INSTALLFLAGS): New variables.
5741
57421992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5743
ecc54057 5744 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
5745 `config.emacs' to `configure'.
5746
5747 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5748 * etc/MACHINES: Same.
5749
57501992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5751
5752 * movemail.c (main): Allow tempname to be as long as necessary,
5753 instead of limiting it to 39 characters.
5754
5755 * movemail.c (main): Move declaration of buf from top of function
5756 to local block surrounding the copy loop. This makes it less
5757 likely to be confused with the buf used by the code which checks the
5758 permissions on outname's directory.
5759
57601992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
5761
5762 * SERVICE: Remove my entry.
5763
57641992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5765
5766 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
5767 hardcoded -g.
5768
5769 * movemail.c (xmalloc): Return char *, not int.
5770 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
5771 that is off by default -- normally don't unlink the mail spool
5772 file, just empty it. Pass creat mode 0600, not 0666.
5773
dff28924 57741992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5775
5776 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
5777 (all): Instead of here.
5778 (install): Don't use the -s option, since people need symbols to
5779 debug code.
5780
dff28924 57811992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
5782
5783 * etags-vmslib.c (fn_exp): Add type cast.
5784
57851992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5786
5787 * movemail.c: Changes in comments.
5788
dff28924 57891992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5790
5791 * Makefile: Make the distclean target erase the DOC files from
5792 ../share-lib and the executables from ../arch-lib.
5793
dff28924 57941992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5795
5796 * emacsclient.c: #include <sys/stat.h>
5797 (main): Do declare statbfr.
5798
dff28924 57991991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5800
5801 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
5802 for the socket, depending on SERVER_HOME_DIR.
5803 If using /tmp, put host name in the socket name.
5804
5805 * movemail.c (pfatal_and_delete): New function.
5806 (main, popmail): Use it.
5807 (popmail): Close output before deleting messages.
5808 Check for error on close and on fsync.
5809 Use `fatal' where appropriate.
5810 (main): Remove (void).
5811
5812 * aixcc.lex: New file. Not officially part of Emacs.
5813 * Makefile: Rules for that.
5814
dff28924 58151991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
5816
5817 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
5818
5819 * etags.c (main): Properly cast call to alloca that initializes
5820 included_files.
5821
58221991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5823
5824 * etags.c (files_are_tag_tables): Remove global var.
5825 (process_file): Don't test it. Also remove hack checking for a
5826 file named "TAGS".
5827 (main): -i now takes an arg which is the name of a file to include.
5828 Collect these names and emit include tags for them after processing
5829 all the argument files.
5830
dff28924 58311991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5832
5833 * wakeup.c: Terminate if parent goes away.
5834
dff28924 58351991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5836
5837 * etags.c (C_entries): Process token before handling end of line.
5838 When inner loops reach end of line, just back up.
5839 Let the real end of line processing happen in just one place.
a64387ee 5840 (consider_token): Likewise.
362bc2da 5841
dff28924 58421991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
5843
5844 * etags.c (TEX_mode): Skip comments while scanning the text to see
5845 which escape character this file uses.
5846
dff28924 58471991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5848
5849 * emacsserver.c [USG]: Terminate if msgrcv fails.
5850
dff28924 58511991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5852
5853 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
5854
dff28924 58551991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5856
5857 * make-docfile: Find the arguments to a C function correctly,
5858 by not ignoring the character that read_c_string returns. Don't
5859 even try to find argument names for functions that take MANY
5860 or UNEVALLED arguments, since they're a figment of the docstring's
5861 imagination.
5862
dff28924 58631991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5864
5865 * make-docfile: Read the .elc files generated by the new byte
5866 compiler.
5867
dff28924 58681990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5869
5870 * refcard.tex: Use cm fonts, not am, in multi-column mode.
5871
dff28924 58721990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5873
5874 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
5875
dff28924 58761990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5877
5878 * Makefile (install*): No need to install wakeup.
5879
dff28924 58801990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5881
5882 * Makefile (install*): Install emacsclient like etags.
5883
dff28924 58841990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5885
5886 * movemail.c (error): Handle 3 args.
5887 (main): Don't check input access if using pop.
5888
dff28924 58891990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5890
5891 * etags.c (find_entries): Check for numbers after Scheme suffix.
5892
dff28924 58931990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5894
5895 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
5896
dff28924 58971990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5898
5899 * Makefile (nemacstool, xvetool): New targets.
5900
dff28924 59011990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5902
5903 * emacsclient.c: Include errno.h and define related variables.
5904
dff28924 59051990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5906
5907 * emacsclient.c: Change usage message.
5908
dff28924 59091990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 5910
ecc54057 5911 * emacs.1: Add break before -nw option.
362bc2da 5912
dff28924 59131990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
5914
5915 * qsort.c: Replace with GNU version.
5916
dff28924 59171990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
5918
5919 * wakeup.c: New program replacing loadst.c.
5920
dff28924 59211990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5922
5923 * emacsclient.c [USG]: Pass msgsnd only 4 args.
5924
dff28924 59251990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
5926
5927 * etags.c: Rename `flag' variables for what they do instead of
5928 which option character sets them.
5929
dff28924 59301990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5931
5932 * loadst.c (main): Conditional to get load average on Apollo.
5933
dff28924 59341990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
5935
5936 * emacsserver.c: Set the permission on the socket to 0600.
5937
dff28924 59381990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5939
5940 * emacsclient.c [BSD]: Print clean message for failing getwd.
5941
dff28924 59421990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5943
5944 * getdate.y: Use the getdate.y from GNU tar for timer.
5945
dff28924 59461990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
5947
5948 * emacsclient.c (main): Don't put brackets around "filename" in
5949 usage message. It isn't optional.
5950
dff28924 59511990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 5952
a64387ee 5953 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 5954
dff28924 59551990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
5956
5957 * emacsserver.c: Renamed from server.c.
5958 * Makefile: Reference emacsserver rather than server.
5959 * MACHINES: Doc fix for new emacsserver name.
5960
dff28924 59611990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5962
5963 * emacsclient.c: Print program name in error messages.
5964
dff28924 59651990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
5966
5967 * timer.c, getdate.y (new files) and Makefile:
5968 Sub-process support for run-at-time in timer.el.
1c478461 5969 Doesn't yet work correctly for USG.
362bc2da 5970
dff28924 59711990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
5972
5973 * MACHINES: Add HP 300 running BSD.
5974
dff28924 59751990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5976
5977 * yow.c: Dynamically allocate buffer; skip header before random
5978 choice to avoid bias toward first item.
5979
dff28924 59801989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5981
5982 * etags.c (readline): Separate out init of `pend'.
5983
dff28924 59841989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5985
5986 * etags.c: Undo changes relating to isgoodhdr.
5987
dff28924 59881989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
5989
5990 * etags.c (isgoodhdr): New macro.
5991 (_gdh, notgdh): New variable used by that.
5992 (init): Initialize _gdh.
5993 (find_entries): Set header_file.
5994 (consider_token): Use isgoodhdr if in header file.
5995
5996 * etags.c (total_size_of_entries):
5997 Was miscalculating by 1 in rewritten case.
5998
5999 * etags.c (PAS_funcs): One arg to pfnote was missing.
6000
dff28924 60011989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6002
6003 * MACHINES: Change for the ULTRIX entry.
6004
dff28924 60051989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6006
6007 * etags.c (process_file): If file is not regular, return.
6008
dff28924 60091989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6010
6011 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6012
dff28924 60131989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6014
6015 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6016 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6017
dff28924 60181989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6019
6020 * etags.c (consider_token): Allow any number of typespec keywords
6021 after `typedef', before new type name.
6022 (enum sym_type): Add st_C_typespec.
6023 (C_create_stab): Put typespec kwds in table.
6024
dff28924 60251989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6026
6027 * etags.c (main): Don't depend on name invoked by.
6028 If CTAGS is not defined, assume it is ETAGS.
6029
dff28924 60301989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6031
6032 * etags.c (L_funcs): Allow package name in define construct,
6033 as in (foo::defmumble name-defined ...).
6034
dff28924 60351989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6036
6037 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6038
6039 * Makefile (yow): Depends on ../src/paths.h.
6040
dff28924 60411989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6042
6043 * etags.c: Fix compilation by moving Pascal after Fortran.
6044
dff28924 60451989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6046
6047 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6048
dff28924 60491989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6050
6051 * hexl.c: New file, supports hexl-mode.
6052
dff28924 60531989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6054
6055 * movemail.c: New compilation flag MAIL_USE_MMDF.
6056
dff28924 60571989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6058
6059 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6060 * server.c: Likewise.
6061
6062 * make-docfile.c (scan_c_file): Output argument names at end of string.
6063 (write_c_args): New subroutine.
6064
dff28924 60651989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6066
6067 * movemail.c: Report failure of flock.
6068
dff28924 60691989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6070
6071 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6072
dff28924 60731989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6074
6075 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
6076
dff28924 60771989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6078
6079 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6080
6081 * emacsstool.1: update to document environment variables.
6082
dff28924 60831989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6084
6085 * etags.c (PAS_funcs): New function by Mosur Mohan.
6086
6087 * movemail.c: On sysv, include unistd.h.
6088
dff28924 60891989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6090
6091 * b2m.c: New file.
6092
dff28924 60931989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6094
6095 * etags.c: Prolog support from Sunichirou Sugou
6096
dff28924 60971989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6098
6099 * Makefile (clean): New target.
6100
dff28924 61011989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6102
6103 * fakemail.c (put_line): Break header lines at 79 cols.
6104
dff28924 61051989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6106
6107 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6108 multiple tags per line.
6109
dff28924 61101989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6111
6112 * movemail.c: Check access before doing real work.
6113 Check that outfile is in a writable directory.
6114 On fatal error, delete the lock file.
6115
dff28924 61161988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6117
ecc54057
JB
6118 * env.c: Add decl for my-index
6119 * etags.c (file-entries): .oak => scheme
362bc2da 6120
dff28924 61211988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6122
6123 * movemail.c: Use `access' to check input and output files.
6124
dff28924 61251988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6126
6127 * emacsclient.c (main): Ignore all of CWD before first slash.
6128
dff28924 61291988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6130
6131 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6132
dff28924 61331988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6134
6135 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6136 * server.c: chmod the socket to 0700.
6137
dff28924 61381988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6139
6140 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6141 (add_field): Delete comments and turn `<', `>' to spaces
6142 in header lines.
6143 (USE_FAKEMAIL): New customization macro says to make fakemail
6144 not be a no-op even on a BSD system.
6145
dff28924 61461988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6147
6148 * etags.c (consider_token): Skip comments just like whitespace.
6149 Notice `struct', etc. and set strtag for those tokens.
6150 Return 1 for the token following `struct' if an open-brace follows it.
6151 (C_entries): Special handling of token following `struct'
6152 needed because we have probably advanced to the following line
6153 to find the `{'.
6154 (main): New option `T' sets tflag and strflag.
6155 Set both of them by default if eflags.
6156
dff28924 61571988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6158
6159 * movemail.c: Do fsync before closing output.
6160
dff28924 61611988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 6162
ecc54057
JB
6163 * movemail.c: Better error message when can't create tempname.
6164 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 6165
dff28924 61661988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6167
6168 * etags.c: Support assembler code for .s and .a files.
6169 (getit): Allow underscore in a tag.
6170
dff28924 61711988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6172
6173 * movemail.c: Close output and check errors before deleting input.
6174
dff28924 61751988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6176
6177 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6178 whether to prefix it. Handle line number args.
6179
dff28924 61801988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da
DL
6181
6182 * etags.c (main): default setting of eflag was backwards.
6183
dff28924 61841988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6185
6186 * etags.c: New option -i. -f renamed -o.
6187 `-' as input file means read input file names from stdin.
6188 -i spec'd or input file named TAGS means the input file is another
6189 tag table; output an "include" line for it.
6190
dff28924 61911988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6192
6193 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6194 New targets install, install.sysv, install.xenix.
6195 This makefile is now responsible for installing executables
6196 and documentation from this directory into system directories.
6197
dff28924 61981988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
6199
6200 * server.c, emacsclient.c (main): Compute socket name from euid.
6201
dff28924 62021988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6203
6204 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6205
dff28924 62061988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6207
6208 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6209 * emacsclient.c: Likewise.
6210 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6211
dff28924 62121988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6213
6214 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
6215 (istoken) New string-comparison macro.
6216 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6217
dff28924 62181988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6219
6220 * etags.c: Changes for VMS.
6221 Always define ETAGS on VMS.
6222 Define macros GOOD and BAD for success and failure exit codes.
6223 (begtk, intk): Allow `$' in identifiers
6224 (main): Don't support -B, -F or -u on VMS.
6225 Alternate loop for scanning filename arguments.
6226 (system): Delete definition of this function.
6227
6228 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6229
dff28924 62301988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6231
6232 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6233 around include of param.h. (Like fns.c.)
6234
dff28924 62351988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6236
6237 * loadst.c (load_average): Move load-average code to this new fn.
6238 Add conditionals to compute load ave on UMAX.
6239
dff28924 62401988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6241
6242 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6243 with opposite sense.
6244
dff28924 62451988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
6246
6247 * emacsclient.c: Delete references to unused variable `out'. This
6248 caused a bus error when used under hp-ux.
6249
dff28924 62501988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6251
6252 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6253
dff28924 62541988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
6255
6256 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6257
dff28924 62581988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6259
6260 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6261
dff28924 62621988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6263
6264 * movemail.c: #undef close, since config can #define it on V.3.
6265 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
6266
dff28924 62671988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6268
6269 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6270 invalid escape sequences such as `\{'.
6271
6272 * loadst.c: Add `sequent' conditional for file dk.h.
6273
dff28924 62741988-03-20 Richard M. Stallman (rms@wilson)
362bc2da
DL
6275
6276 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
6277
6278 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6922b018
KH
6279
6280;; Local Variables:
d19249e7 6281;; coding: iso-2022-7bit
33462dfa 6282;; add-log-time-zone-rule: t
6922b018 6283;; End:
2a34a036 6284
9766d41b 6285 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
273dc16a 6286 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
4e6835db 6287 2006, 2007 Free Software Foundation, Inc.
5b87ad55
GM
6288
6289 This file is part of GNU Emacs.
6290
6291 GNU Emacs is free software; you can redistribute it and/or modify
6292 it under the terms of the GNU General Public License as published by
4a9f99bd 6293 the Free Software Foundation; either version 3, or (at your option)
5b87ad55
GM
6294 any later version.
6295
6296 GNU Emacs is distributed in the hope that it will be useful,
6297 but WITHOUT ANY WARRANTY; without even the implied warranty of
6298 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6299 GNU General Public License for more details.
6300
6301 You should have received a copy of the GNU General Public License
6302 along with GNU Emacs; see the file COPYING. If not, write to the
6303 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
6304 Boston, MA 02110-1301, USA.
ab5796a9
MB
6305
6306;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc