* progmodes/octave-mod.el (inferior-octave-send-list-and-digest):
[bpt/emacs.git] / lib-src / ChangeLog
CommitLineData
33a2a872
JD
12007-11-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
2
3 * pop.c (socket_connection): Use getaddrinfo if available.
4
21e14641
FP
52007-11-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
6
7 * etags.c: Make prototypes for extern definitions, and add all
8 that are needed to quench warnings on 64-bit.
9 (main): Use the same defaults for ctags as for etags: find
10 typedefs, structure tags, macro constants, enum constants, struct
11 members and global variables.
12 (make_C_tag) [DEBUG]: Add debugging printout.
13 (C_entries): In case '}' decrement bracelev before testing it.
14
7455effc
FP
152007-11-15 Masatake YAMATO <jet@gyve.org>
16
17 * etags.c (C_entries): In case '}', set fvdef to fvnone
18 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
19
04a697fe
DN
202007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
21
22 * makefile.w32-in (obj): Remove sunfns.o.
23
a2666217
JB
242007-10-28 Juanma Barranquero <lekktu@gmail.com>
25
26 * makefile.w32-in (obj): Remove abbrev.o.
27
7ce8671d
JB
282007-10-26 Juanma Barranquero <lekktu@gmail.com>
29
30 * emacsclient.c: Add a wrapper for getenv so it also checks the
31 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
32 Code partially based on w32_get_resource and init_environment (w32.c).
33 (egetenv): New wrapper for getenv.
34 (get_current_dir_name, decode_options, get_server_config)
35 (set_local_socket, set_socket, main): Use egetenv, not getenv.
36 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
37
d22b00e5
JR
382007-10-25 Jason Rumney <jasonr@gnu.org>
39
40 * emacsclient.c (sock_err_message): New function.
41 (set_tcp_socket): Use it.
42
c4b858e3
JB
432007-10-09 Juanma Barranquero <lekktu@gmail.com>
44
45 * emacsclient.c (print_help_and_exit): Fix space to improve
46 alignment in output messages.
47
dbf60b07
JR
482007-09-27 Jason Rumney <jasonr@gnu.org>
49
50 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
51
52 * emacsclient.c (w32_window_app): Init common controls when windowed.
53
165e85b2
GM
542007-09-21 Glenn Morris <rgm@gnu.org>
55
56 * emacstool.c: Remove file.
57 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
58 Delete targets built from emacstool.
59
c1b8e896
SM
602007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
61
62 * emacsclient.c (decode_options): -t implies -c.
63
cb06b8dc
SM
642007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
67 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
68 (main_argc): Remove.
69 (strprefix): Use strncmp.
70
c801ad51
JR
712007-09-20 Jason Rumney <jasonr@gnu.org>
72
73 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
74
31fa6595
SM
752007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
76
77 * emacsclient.c (current_frame): Change the default.
78 (longopts): Replace --current-frame by --create-frame.
79 (decode_options): Reverse the meaning of -c.
80 (print_help_and_exit): Update help text accordingly.
81 (main): Remove the -version and -good-version messages.
82
58573230
GM
832007-09-12 Glenn Morris <rgm@gnu.org>
84
85 * Makefile.in (SOURCES, unlock, relock): Delete.
86
bfd9ce71
GM
872007-08-29 Glenn Morris <rgm@gnu.org>
88
89 * makefile.w32-in (VERSION): Increase to 23.0.50.
90
8d9cc0b7
MB
912007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
92
93 * emacsclient.c (w32_execvp): Move definition before use.
94 (decode_options): Don't use a tty on mac carbon or windows.
95
962007-08-29 Jason Rumney <jasonr@gnu.org>
97
31fa6595 98 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
8d9cc0b7
MB
99 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
100 (main): Expand removed macros inline.
101 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
102 option.
103 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
104
7ce8671d 1052007-08-29 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu>
8d9cc0b7
MB
106
107 * emacsclient.c (signal.h): New include.
108 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
31fa6595
SM
109 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
110 Copy definitions here from src/lisp.h.
111 (main_argc, main_argv, current_frame, window_system, tty): New vars.
8d9cc0b7
MB
112 (longopts): Add tty, current-frame.
113 (xmalloc, xstrdup): New functions.
114 (get_current_dir_name): New function, copied from src/sysdep.c.
115 (decode_options): Set display from environment. Add tty and
116 current_frame options. Make --no-wait imply --current-frame,
117 except when it is the only option given. Make sure no frame is
118 opened when --current-frame is set.
119 (print_help_and_exit): Document tty and current-frame options.
120 (fail): Change arguments to void.
121 (main): When sockets are not defined, set main_argc, main_argv,
122 and call fail() with no arguments.
123 (emacs_socket): New variable (moved out from main `s').
124 (quote_file_name): Rename to quote_argument.
125 (quote_argument): New name for old quote_file_name.
126 (unquote_argument, strprefix, pass_signal_to_emacs)
127 (handle_sigcont, handle_sigtstp, init_signals): New functions.
128 (set_local_socket): Initialize saved_errno to 0. If socket-name
129 is too long, call `fail' rather than `exit'.
130 (main): Doc update. Set main_argc, main_argv. New var `str'.
131 Don't need a filename or argument if tty or window_system set.
132 Call fail with no arguments. Use get_current_dir_name to send
133 over the current directory. Send version number to Emacs for
134 verification. If tty is set, check TERM, and pass name and type
135 to Emacs. Pass window_system to Emacs. Move sending of eval to
136 optind loop. Send -position, -file to Emacs. Call fsync after
31fa6595
SM
137 fflush. Check for a client/server version match.
138 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
139 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
140 close the connection for us. When creating a new frame, send
8d9cc0b7
MB
141 environment and pwd to Emacs. Send current-frame to Emacs.
142
ca4ea90f
EZ
1432007-08-25 Eli Zaretskii <eliz@gnu.org>
144
145 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
146 Prepend "-" to the command, in case srcdir=. and file is copied
147 into itself.
148
cacc7b51
GM
1492007-07-25 Glenn Morris <rgm@gnu.org>
150
151 * Relicense all FSF files to GPLv3 or later.
152
153 * COPYING: Switch to GPLv3.
154
180f5b99
FP
1552007-07-17 Francesco Potort\e,Al\e(B <pot@gnu.org>
156
157 * etags.c (C_entries): Reset the fvdef machine when out of function.
21b2cdc7
FP
158 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
159 (print_help): Use it in if() rather than #if.
160 (print_help): Conditionally print help about --no-line-directive.
180f5b99 161
9724908a
EZ
1622007-07-16 Eli Zaretskii <eliz@gnu.org>
163
164 * makefile.w32-in (clean): Don't delete *~.
165
5cf9ca93
GM
1662007-06-07 Glenn Morris <rgm@gnu.org>
167
168 * etags.c (print_version): Add `emacs_copyright' string, for
169 easier automatic updating.
170
cabfc1bc
FP
1712007-05-18 Francesco Potort\e,Al\e(B <pot@gnu.org>
172
173 * etags.c: Extern definitions of some more pointer functions for
174 standalone compilation, especially important for 64bit platforms.
175 (main, print_help): --members is now the default for etags.
176 (C_entries): Parse start of C comment as a space == end of token.
177 This is not necessary for C++ comment, already parsed as newline.
178
07016031
GM
1792007-04-26 Glenn Morris <rgm@gnu.org>
180
181 * makefile.w32-in (VERSION): Increase to 22.1.50.
182
7dfc4cda
CY
1832007-06-02 Chong Yidong <cyd@stupidchicken.com>
184
185 * Version 22.1 released.
186
11d2d983
FP
1872007-02-26 Francesco Potort\e,Al\e(B <pot@gnu.org>
188
d620ddb3 189 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
11d2d983 190
0971f887
GM
1912007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
192
193 * Makefile.in (EMACS, EMACSOPT): New variables.
194 (blessmail): Use `--no-site-file' when compiling.
195
933ccc8c
FP
1962007-02-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
197
198 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
199 (main): Now --members is the default for etags, not for ctags yet.
200
d881944f 2012007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
953dea63 202
47dad44f 203 * etags.c (gperf, in_word_set): Change attribute for Java to
953dea63
FP
204 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
205 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
206 import, package, extends, implements and interface to be treated
207 specially for all kinds of C-style files, not just Java files.
208
ed8bbc0e
FP
2092007-01-02 Francesco Potort\e,Al\e(B <pot@gnu.org>
210
47dad44f 211 * etags.c (longopts): New undocumented option --no-duplicates.
ed8bbc0e
FP
212 (no_duplicates): Static variables for the above option.
213 (print_help): Do not print help for --no-warn, now undocumented.
214 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
56c0d866 215 (main): Pass the -u option to sort in ctags mode.
ed8bbc0e 216
18f9bf25
FP
2172006-12-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
218
219 * etags.c (readline): When creating a relative file name from a
220 #line directive, leave the file name alone. The previous
221 behaviour was to make it relative to the tags file directory,
222 under the hypothesis that the #line directive file name was
223 relative to the directory of the tagged file. That hypothesis is
224 wrong with Cpp and Lex.
17d5f8a6 225 (Makefile_targets): Do not include spaces in tag names.
18f9bf25 226
5e059fc1
EZ
2272006-12-22 Eli Zaretskii <eliz@gnu.org>
228
229 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
230 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
47dad44f 231 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
5e059fc1
EZ
232 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
233 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
234 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
235 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
236 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
6808dce1 237 (clean): Delete stamp_BLD.
5e059fc1 238
bd3b41c6
FP
2392006-12-20 Francesco Potort\e,Al\e(B <pot@gnu.org>
240
241 * etags.c (C_entries): DEFUN names were longer by one: corrected.
242
0e0dced5
JB
2432006-12-18 Juanma Barranquero <lekktu@gmail.com>
244
245 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
246 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
247 (main) [WINDOWSNT]: Remove code to release the focus; call
248 w32_give_focus instead.
249
4472aef4
JB
2502006-12-15 Juanma Barranquero <lekktu@gmail.com>
251
252 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
253 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
254 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
255 Suggestions and comment by Eli Zaretskii.
256
12f7728e 2572006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
c388769e
JB
258
259 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
260 Use $(USER32) for compatibility with Visual Studio .NET 2003.
261
310afa17
JB
2622006-11-30 Juanma Barranquero <lekktu@gmail.com>
263
264 * emacsclient.c (emacs_pid): New variable.
265 (message): Remove leftover code.
266 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
267 focus yet; emacsclient can still display an informational message
268 before sending requests to Emacs.
269 (main): Allow Emacs to grab the focus. Simplify message() call.
270
2712006-11-30 Michael Mauger <mmaug@yahoo.com>
272
273 * emacsclient.c (message): Make sure the message is properly
274 written even if it contains printf escapes, and flush the result.
275 (set_tcp_socket): Make the message for non-local connections
276 informational rather than an error.
277
8c57275b 2782006-11-28 Kevin Ryde <user42@zip.com.au>
9b492fad
FP
279
280 * etags.c (readline): Check for double quote after #line.
281
4472aef4 2822006-11-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
9b492fad
FP
283
284 * etags.c (readline): sscanf could in principle return 2.
285
2862006-11-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
287
288 * etags.c (readline): lno is unsigned.
289 (TeX_commands): Use p++ (rather than *p++) to increment p.
290 (Lua_functions): Explicitly discard LOOKING_AT's return value.
291
4d91c8f9
JB
2922006-11-27 Juanma Barranquero <lekktu@gmail.com>
293
294 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
295 ($(TRES)): New rule (copied from nt/makefile.w32-in).
296 ($(BLD)/emacsclientw.exe): Add dependency.
297
340d34a5
EZ
2982006-11-27 Eli Zaretskii <eliz@gnu.org>
299
d620ddb3 300 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
340d34a5 301
7dce1990
JB
3022006-11-25 Juanma Barranquero <lekktu@gmail.com>
303
304 * makefile.w32-in (VERSION): New macro.
305 (ECLIENT_CFLAGS): Add -DVERSION.
306
410797a5 3072006-11-25 Jason Rumney <jasonr@gnu.org>
402767e4
JR
308
309 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
310
410797a5 3112006-11-24 Michael Mauger <mmaug@yahoo.com>
cb0297bb 312
4472aef4
JB
313 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
314 file names with forward slashes.
cb0297bb 315
30aa95ce
JB
3162006-11-23 Juanma Barranquero <lekktu@gmail.com>
317
318 * emacsclient.c (print_help_and_exit): Tweak message contents and
319 tabs/spaces to improve alignment in message boxes.
320
42073bfb
JB
3212006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
322
323 * emacsclient.c: Include <stdarg.h>.
324 [WINDOWSNT]: Include <windows.h>.
325 (w32_check_console_app): New function.
326 (message): New function.
327 (decode_options, print_help_and_exit, fail, main)
328 (initialize_sockets, get_server_config, set_tcp_socket)
329 (set_local_socket, set_socket): Use message().
330
32dd9283 3312006-11-13 Jason Rumney <jasonr@gnu.org>
1ac3c910 332
32dd9283
JR
333 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
334 HAVE_INET_SOCKETS.
335
1bbea9fc
JB
3362006-11-13 Juanma Barranquero <lekktu@gmail.com>
337
338 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
339 ($(BLD)/emacsclientw.exe): New target.
340 (install): Install emacsclientw.exe.
341 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
342 (ECLIENT_CFLAGS): Remove redundant flags.
343
344 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
345
a48db427
JR
3462006-11-13 Jason Rumney <jasonr@gnu.org>
347
348 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
349
21f89bb7 3502006-11-10 David Reitter <david.reitter@gmail.com>
ed4a3730
JB
351
352 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
353
d5abc12c
JB
3542006-11-08 Juanma Barranquero <lekktu@gmail.com>
355
ed4a3730
JB
356 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
357 FARPROC to avoid a compiler warning.
d5abc12c 358
18b8c421
JB
3592006-11-07 Juanma Barranquero <lekktu@gmail.com>
360
88b46d84
JB
361 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
362 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
363
18b8c421
JB
364 * emacsclient.c (get_server_config): Extract also the Emacs pid
365 from the server file. On Windows, try to force the Emacs frame to
366 the foreground.
367
b03d27bd
JB
3682006-11-06 Juanma Barranquero <lekktu@gmail.com>
369
21f89bb7 370 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
b03d27bd
JB
371 option --socket-name.
372 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
373 command line options.
21f89bb7 374 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
b03d27bd
JB
375 (fail): Don't check for missing arguments, it is now done in set_socket.
376 (file_name_absolute_p): New function (loosely based on the one in
377 fileio.c).
378 (initialize_sockets): Don't check for duplicate loading of Winsock.
379 (get_server_config): Only try relative paths in the default
380 directory locations.
381 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
382 a remote server.
383 (set_socket): Call INITIALIZE(). Search explicit command-line
384 arguments, then environment variable EMACS_SERVER_FILE, then implicit
385 socket paths, before trying the alternate editor.
386 (main): Use file_name_absolute_p.
387
b20d6154
EZ
3882006-11-04 Eli Zaretskii <eliz@gnu.org>
389
390 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
391 file if it doesn't already exist.
392
9c92edca
JB
3932006-11-03 Juanma Barranquero <lekktu@gmail.com>
394
395 * emacsclient.c (initialize_sockets): Don't initialize Winsock
396 more than once.
397
b6ce9c46
JB
3982006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
399
400 * Makefile.in (INSTALL_SCRIPT): New macro.
401 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
402
4418616b
JB
4032006-11-02 Juanma Barranquero <lekktu@gmail.com>
404
405 * grep-changelog: When called with no arguments (not even a
406 filter), show help instead of blindingly dumping every single
407 ChangeLog available. Doc fix. Update version.
408
1e7823d0
JB
4092006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
410
411 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
412 [!WINDOWSNT]: Include <netinet/in.h> if available.
413 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
414 (IOCTL, IOCTL_BOOL_ARG): Remove.
415 (set_tcp_socket): Don't set the socket in blocking mode.
416 Remove c_arg.
417
ebc20ca0
JB
4182006-11-01 Juanma Barranquero <lekktu@gmail.com>
419
420 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
421 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
422
411b80a5
JB
4232006-10-31 \e,bS\e(Bscar Fuentes <ofv@wanadoo.es> (tiny change)
424
425 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
426 (close_winsock): Declare as __cdecl.
427
95d0feaa
JB
4282006-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
429
430 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
431 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
432 to set the socket in non-blocking mode.
433
e35fc962
JB
4342006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
435
d4fa60c8 436 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
e35fc962
JB
437 (INVALID_SOCKET): Define.
438 (initialize_sockets): Put #endif at the right place.
439 (set_local_socket): Use progname, not argv[0].
440
ecc54057
JB
4412006-10-31 Juanma Barranquero <lekktu@gmail.com>
442
443 * makefile.w32-in (ALL): Add emacsclient.
444 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
445 (emacsclient, $(BLD)/emacsclient.exe): New targets.
446 (install): Install emacsclient.
447
448 * emacsclient.c: Add support for TCP sockets.
449 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
450 (INITIALIZE): New macros.
451 (IOCTL_BOOL_ARG): New typedef.
452 (server_file): New global variable.
453 (longopts): New option --server-file.
454 (decode_options): Process new option --server-file and environment
455 variable EMACS_SERVER_FILE.
456 (print_help_and_exit): Document new option.
457 (fail): If no connection available and no alternate editor,
458 suggest using options to make them explicit.
459 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
460 (send_buffer, sblen): New variables.
31fa6595 461 (send_to_emacs): New function to buffer output and send it with `send'.
ecc54057
JB
462 (quote_file_name): Use SEND_STRING.
463 (close_winsock, initialize_sockets): New functions to load and
464 unload Winsock.
465 (get_server_config, set_tcp_socket): New functions to create and
466 set up TCP sockets.
467 (set_local_socket): New function to create and set up Unix
468 socket (code moved from previous implementation).
469 (set_socket): New function to chose between TCP and Unix sockets.
470 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
471 set_local_socket. Use set_socket. Get answers from server.el with
472 recv(), not file stream functions.
473
70846e2a
EZ
4742006-10-09 Eli Zaretskii <eliz@gnu.org>
475
476 * makefile.w32-in (../src/config.h): Fix error message.
477
e2247cd0
EZ
4782006-09-30 Eli Zaretskii <eliz@gnu.org>
479
480 * .cvsignore: Add blessmail.
481
45a2056c
JB
4822006-09-15 Jay Belanger <belanger@truman.edu>
483
484 * COPYING: Replace "Library Public License" by "Lesser Public
485 License" throughout.
486
1f4edc37
JD
4872006-08-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
488
ecc54057 489 * etags.c (readline): Expect sscanf returns >= 1.
ea90c5d3 490 (readline): Change position on %n and \" in sscanf.
1f4edc37 491
1520a816
JD
4922006-08-07 Masatake YAMATO <jet@gyve.org>
493
ecc54057
JB
494 * etags.c (readline): Expect sscanf returns 2, not 1.
495
867cc23e
JD
4962006-08-07 Masatake YAMATO <jet@gyve.org>
497
9984b9d5 498 * etags.c (TEX_mode): Check getc returns EOF.
867cc23e
JD
499 File ended without newline causes infinite loop.
500
fc185ae6
FP
5012002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
502
ecc54057 503 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
fc185ae6
FP
504
5052006-07-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
506
507 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
508 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
509 (Objc_suffixes): Suggest using --lang=c for full help.
510 (C_entries): Initialise savetoken to 0 to shut up the compiler.
511
116e754b
AS
5122006-07-20 Andreas Schwab <schwab@suse.de>
513
514 * fakemail.c (fatal): Drop second parameter and treat first
515 parameter as a plain string. Callers changed.
516
2381d38d
DN
5172006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
518
519 * ebrowse.c (usage, version): Mark as NO_RETURN.
520
521 * emacsclient.c (print_help_and_exit): Likewise.
522
327891eb
FP
5232006-07-10 Francesco Potort\e,Al\e(B <pot@gnu.org>
524
525 * etags.c (absolute_filename): Free unused space (cosmetic change).
526 (in_word_set): In C, also tag #undef symbols.
527
7cb93181
EZ
5282006-06-09 Eli Zaretskii <eliz@gnu.org>
529
530 * yow.c: Remove file.
531
532 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
533
534 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
535 yow${EXEEXT}: Remove target.
536
0f29c66d
MY
5372006-06-04 Masatake YAMATO <jet@gyve.org>
538
63fbb644 539 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
0f29c66d
MY
540 doesn't exist, is not seekable, not is failed in ftall.
541
a941b26b
EZ
5422006-06-03 Eli Zaretskii <eliz@gnu.org>
543
9781fb53
EZ
544 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
545 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
546 ($(BLD)/test-distrib.exe): New targets.
547 (sorted-doc, digest-doc, test-distrib): New targets.
548 (install): Install sorted-doc.exe and digest-doc.exe.
549 ($(BLD)/sorted-doc.$(O)): Update dependencies.
550
1b178b99
EZ
551 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
552 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
553 terminal device.
554
ae85efdb
EZ
555 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
556 [WINDOWSNT] <top level>: Don't redeclare malloc.
557 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
558 terminal device.
1b178b99 559 (main): Initialize bp, to avoid compiler warnings
ae85efdb 560
a941b26b
EZ
561 * makefile.w32-in: Delete traces of leditcfns.c.
562
563 * leditcfns.c: Remove file.
564
8a6d5da7
FP
5652006-05-23 Francesco Potort\e,Al\e(B <pot@gnu.org>
566
31fa6595
SM
567 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
568 Add comments explaining why the "kpop" service is never used.
8a6d5da7 569
642c61f3
EZ
5702006-05-13 Eli Zaretskii <eliz@gnu.org>
571
572 * makefile.w32-in (lisp1): Add fringe.elc.
573
7e237d24
FP
5742006-05-02 Francesco Potort\e,Al\e(B <pot@gnu.org>
575
576 * etags.c (Perl_functions): Free space allocated for var package.
577 (Erlang_functions): Possibly free space allocated for var last.
578 (Prolog_functions): Possibly free space allocated for var last.
579
7c47913b
DN
5802006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
581
7fe8b491
DN
582 * sorted-doc.c (main): Initialize docs to NULL.
583
cdeda579
DN
584 * yow.c (yow): Free buf.
585
7c47913b
DN
586 * etags.c: Delete c-indentation-style local variable.
587
2ef88a94
RS
5882006-04-29 Richard Stallman <rms@gnu.org>
589
5e5b35c7
RS
590 * movemail.c (main): Check for negative value from `read'.
591
2ef88a94
RS
592 * fakemail.c (read_header): Give fatal error if input has no header.
593
d65b4235
PE
5942006-04-02 Paul Eggert <eggert@cs.ucla.edu>
595
596 * b2m.c (main): Don't include <limits.h>.
597 (TM_YEAR_BASE): New macro.
598 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
599 that s/ files can override this. Use the more-conservative range
600 1000-9999.
601 (main): Check for asctime returning NULL.
602 * fakemail.c: Likewise.
603
f5565804
PE
6042006-03-27 Paul Eggert <eggert@cs.ucla.edu>
605
606 * b2m.c: Include <limits.h>.
607 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
608 (main): Check for out-of-range time stamps.
609 * fakemail.c: Likewise.
610
90c9c343
AS
6112006-03-18 Andre Spiegel <spiegel@gnu.org>
612
613 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
614 execute $DIFF twice, and once with the wrong options.
615
a6a2b5d4
EZ
6162006-02-23 Claudio Fontana <claudio@gnu.org>
617
9e2bcc86
EZ
618 * Makefile.in (install, uninstall): Add DESTDIR variable to
619 support staged installations.
a6a2b5d4 620
ef3f69f9
EZ
6212005-12-30 Eli Zaretskii <eliz@gnu.org>
622
623 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
fc8dc7cf
EZ
624 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
625 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
626 Rearrange the list to be similar to $(shortlisp) in
627 src/Makefile.in.
ef3f69f9
EZ
628 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
629 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
630 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
631 src/Makefile.in.
632
30cfcf7f
RS
6332005-12-22 Richard M. Stallman <rms@gnu.org>
634
635 * Makefile.in (update-game-score.o): Delete spurious final `\'.
636
ecc54057 6372005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
2e0bea68
FP
638
639 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
640 which was never opened.
641
283879ef 6422005-10-20 Olli Savia <ops@iki.fi> (tiny change)
ce0ae3a9
EZ
643
644 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
645 header files.)
646
55102b5d
FP
6472005-09-27 Francesco Potort\e,Al\e(B <pot@gnu.org>
648
649 * etags.c: Preliminary Forth support.
650 (prolog_pr): Cast strlen to int before comparison.
651 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
652 the second argument is indeed a literal string.
b9509712 653 (main): In append mode, sort the tags file after writing it.
55102b5d
FP
654
6552005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
656
657 * etags.c (longopts, print_help, main): The -a (--append) option
658 can be used in ctags also; for one, the Linux make file uses it.
659
41ea4df8
CY
6602005-09-20 Chong Yidong <cyd@stupidchicken.com>
661
662 * ebrowse.c (add_sym): Compare namespace names instead of
663 namespace objects. This prevents the parser from incorrectly
664 treating classes whose superclass is in another namespace.
665
5c4757d3
RS
6662005-09-15 Richard M. Stallman <rms@gnu.org>
667
668 * Makefile.in (update-game-score.o): New target.
669 Compile and link this progranm separately.
670 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
671
df1b2142
JR
6722005-09-11 Jason Rumney <jasonr@gnu.org>
673
ecc54057 674 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
df1b2142 675 message instead.
31fa6595 676 (../src/paths.h): Remove.
df1b2142 677
c638055f
JB
6782005-07-27 Juanma Barranquero <lekktu@gmail.com>
679
680 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
681 generated. Ignore also ctags.c and getopt.h.
682
683 * makefile.w32-in (clean): Delete getopt.h.
684 (getopt.h): New rule.
685
9eff9fe3
PE
6862005-07-26 Paul Eggert <eggert@cs.ucla.edu>
687
688 Merge gnulib getopt implementation into Emacs.
689
690 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
691 (GETOPT_H): New macro, from gnulib.
692 (getopt.h): New rule, from gnulib.
693 (GETOPTOBJS): Now autoconfigured.
694 (GETOPTDEPS): getopt.h is now autoconfigured.
695 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
696 (getopt.o): Depend on ${srcdir}/gettext.h.
697 (movemail.o): Depend on $(GETOPT_H).
698 * getopt.c, getopt1.c: Sync from gnulib.
699 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
700 * getopt.h: Removed (now is getopt_.h).
701
ec641d50
KR
7022005-07-13 Ken Raeburn <raeburn@gnu.org>
703
0e0dced5
JB
704 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
705 (sendline): Add the \r\n to the line in a temporary buffer, and write
706 it all at once.
ec641d50 707
a0ec7a4a
LK
7082005-07-04 Lute Kamstra <lute@gnu.org>
709
710 Update FSF's address in GPL notices.
711
0e0dddda
EZ
7122005-06-13 Eli Zaretskii <eliz@gnu.org>
713
714 * makefile.w32-in ($(DOC)): Fix last change.
715
5a77c8e2
EZ
7162005-06-12 Eli Zaretskii <eliz@gnu.org>
717
718 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
719 temacs.exe, and the preloaded *.elc files. This avoids
720 unnecessary dumping and DOC rebuilding.
721
1a8fb426
EZ
7222005-06-04 Eli Zaretskii <eliz@gnu.org>
723
724 * ntlib.h (fileno): Don't define if already defined.
725
7235a58f
TTN
7262005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
727
728 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
729 (yow): Use EXIT_FAILURE in case of memory error.
730
5063dbbf
YM
7312005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
732
733 * make-docfile.c (DIRECTORY_SEP): New macro.
734 (IS_DIRECTORY_SEP): Use it.
735
5b9562c3
JD
7362005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
737
738 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
739
ba025f6d
YM
7402005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
741
742 * make-docfile.c: Undo previous change.
743
a9eedf40
AS
7442005-02-04 Andreas Schwab <schwab@suse.de>
745
0e0dced5
JB
746 * movemail.c (fatal): Accept third parameter and pass down to error.
747 (pfatal_with_name): Pass error string as format parameter instead of
748 as part of format string.
a9eedf40
AS
749 (pfatal_and_delete): Likewise.
750 (main): Adjust call to fatal.
751 (xmalloc): Likewise.
752
5a92a9eb
RS
7532005-01-29 Richard M. Stallman <rms@gnu.org>
754
755 * movemail.c (popmail): Don't use Errmsg as format string.
756
e6973a25
ST
7572004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
758
0e0dced5 759 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
e6973a25 760
1bb3da38
AS
7612004-12-15 Andreas Schwab <schwab@suse.de>
762
763 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
764 preprocessing to compile time constant.
765
d4a38fdd
KS
7662004-11-17 Kim F. Storm <storm@cua.dk>
767
768 * etags.c: Undo last change.
769
f2eb41c8
KS
7702004-11-09 Kim F. Storm <storm@cua.dk>
771
772 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
773 silence compiler.
774
775 * hexl.c (main): Init local var c to silence compiler.
776
777 * etags.c (main, consider_token, C_entries): Add misc switch
778 default targets to silence compiler.
779
3cf5c994
JD
7802004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
781
782 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
783 resulting DOC file can be used on Unix/Mac also.
784
e057dc50
FP
7852004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
786
787 * etags.c (main): When relative file names are given as argument,
788 make them relative to the current working dir, rather than
789 relative to the output tags file, if the latter is in /dev.
790
05d9a399
FP
7912004-09-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
792
793 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
794 <stdlib.h> is available.
795 (enum sym_type): New st_C_attribute value for parsing
796 gcc's __attribute__. Deleted st_C_typespec value.
797 (gperf, in_word_set): Use gperf 3, options changed. Added the
798 __attribute__ keyword, removed all the st_C_typespec keywords,
799 changed attribute for Java to (C_JAVA & !C_PLPL).
800 (inattribute): New global bool, part of the C state machine.
801 (cblev): Identifier renamed to bracelev throughout.
802 (consider_token, C_entries): Numerous changes for making the
803 parser more robust and adding support for __attribute__.
804
8052004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
806
ecc54057 807 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
05d9a399
FP
808 Support the Lua scripting language <http://www.lua.org>.
809
fba74375
FP
8102004-09-08 Francesco Potort\e,Al\e(B <pot@gnu.org>
811
d57727c9 812 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
fba74375
FP
813 for ease of use.
814
3751eb00
RS
8152004-07-17 Richard M. Stallman <rms@gnu.org>
816
817 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
818
86d373e6
JB
8192004-06-01 Juanma Barranquero <lektu@terra.es>
820
821 * makefile.w32-in (obj): Add image.c.
822
80e26b66
TTN
8232004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
824
0e0dced5 825 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
80e26b66 826
e6662c8b
JR
8272004-05-08 Jason Rumney <jasonr@gnu.org>
828
829 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
830 command-lines.
831
65396510
TTN
8322004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
833
834 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
835 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
836 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
837
838 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
86d373e6
JB
839 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
840 * test-distrib.c, update-game-score.c, yow.c: Likewise.
65396510 841
c2bcfb19
TTN
8422004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
843
844 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
845
3f0656ff
TTN
8462004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
847
848 * b2m.c (GOOD, BAD): Delete macros. Throughout,
849 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
850 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
851
852 * etags.c: Likewise.
853
238add5e
JR
8542004-05-03 Jason Rumney <jasonr@gnu.org>
855
856 * makefile.nt: Remove.
857
b09c5608
EZ
8582004-04-26 Eli Zaretskii <eliz@gnu.org>
859
860 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
861 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
862 instead of a literal '/'.
863
d814862a
JB
8642004-04-23 Juanma Barranquero <lektu@terra.es>
865
866 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
867
442a2160
PE
8682004-04-17 Paul Eggert <eggert@gnu.org>
869
870 * rcs2log (Help): Clarify wording of the usage message.
871 Problem reported by Alan Mackenzie in
872 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
873
d5d66b7e
SM
8742004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
875
876 * make-docfile.c (xmalloc): Fix return type.
877 (put_filename): New fun.
878 (scan_file): Use it.
879
bdfd0369
JB
8802004-03-09 Juanma Barranquero <lektu@terra.es>
881
882 * grep-changelog: Changes to support ChangeLog.10+.
883 (main): Tidy up usage string. Fix "Use of uninitialized value"
884 warning. Set version to 0.2. Parse the directory listing to get
885 any ChangeLog.n file, not just 1..9.
886 (header_match_p, entry_match_p, print_log, parse_changelog):
887 Remove Perl prototypes (their purpose is to help the parser, which
888 isn't needed here, not declare arguments).
889 (parse_changelog): Make --reverse faster on big batches by not
890 modifying the entries list.
891
a64387ee
JB
8922004-03-01 Juanma Barranquero <lektu@terra.es>
893
894 * makefile.w32-in (obj): Add fringe.c.
895
9766d41b
PE
8962004-02-14 Paul Eggert <eggert@twinsun.com>
897
898 * rcs2log: Work correctly if CVSROOT specifies :fork: or
899 :local: methods, or omits the colon between the hostname
900 and the path. Allow :/ in repository path, since CVS does.
901 Fix typo: "pository" should be set from $CVSROOT, not $repository.
902 This fixes a bug reported by Wolfgang Scherer in
903 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
904 along with some related bugs I discovered by inspecting how
905 CVS itself parses $CVSROOT.
906
a64387ee 9072004-02-04 J\e,bi\e(Br\e,bt\e(Bme Marant <jmarant@nerim.net> (tiny change)
98c6e531
SM
908
909 * emacsclient.c (decode_options): Fix handling of alternate editor.
910
0734b0d0
SM
9112004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * emacsclient.c (main): Don't use the hostname in the socket name.
914 Look for relative socket names in the /tmp dir rather than in cwd.
915
2a6fc2d9
RS
9162004-01-24 Richard M. Stallman <rms@gnu.org>
917
918 * emacsclient.c (main): Restore errno from saved_errno,
919 so the error message comes from socket_status.
920
0734b0d0
SM
9212004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * emacsclient.c (main): Stop if socket name too long.
924 Only try su-fallback if the socket name was not explicit.
925 Check socket name length in su-fallback case as well.
926
152b6e83
AS
9272004-01-08 Andreas Schwab <schwab@suse.de>
928
929 * emacsclient.c (main): Save errno from socket_status.
930
e8228824
AS
9312004-01-04 Andreas Schwab <schwab@suse.de>
932
933 * emacsclient.c (main): Fix socket name when using another user.
934
c9140662
PE
9352003-12-27 Paul Eggert <eggert@twinsun.com>
936
937 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
938 a tag, and if the user has not specified an rlog option.
939 Adapted from a suggestion by Martin Stjernholm in
940 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
941 (Copyright): Update to 2003.
942
8babaa59
TTN
9432003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
944
945 * make-docfile.c (main): For return code, no longer special-case VMS.
946 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
947
14ef7288
EZ
9482003-09-28 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
949
950 * emacsclient.c (quote_file_name): Print the result instead of
951 returning it. Fix the return type accordingly.
1ae7cf5e
RS
952 (main): With --eval, if no file name, read from stdin.
953 Quote file names.
14ef7288 954
f387bdea
RS
9552003-09-10 Richard M. Stallman <rms@gnu.org>
956
957 * emacsclient.c (main): Use socket_name.
958
14ef7288 9592003-09-10 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
f387bdea
RS
960
961 * emacsclient.c (socket_name): New variable.
962 (longopts, decode_options, print_help_and_exit):
963 Handle --socket-name argument.
964
0b7e7337
FP
9652003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
966
783bcffa 967 * etags.c (consider_token): Check C++ `operator' only when the
0b7e7337
FP
968 token len is long enough.
969
ac06b30b
DL
9702003-08-20 Dave Love <fx@gnu.org>
971
972 * Makefile.in: Remove obsolete references to alloca.
973
32b0a3c6
JB
9742003-07-29 Ken Brush <ken@wirex.com>
975
976 * emacsclient.c (main)
977 * etags.c (suggest_asking_for_help)
978 * movemail.c (main): Fix having macros in a printf statement.
979
3867c42d
JB
9802003-05-31 Juanma Barranquero <lektu@terra.es>
981
982 * makefile.w32-in (lisp): Fix references to byte-run.el,
983 float-sup.el and map-ynp.el, which are now in emacs-lisp.
984
7933722a
DL
9852003-05-22 Dave Love <fx@gnu.org>
986
987 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
988 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
989
463f55ee
DL
9902003-05-20 Dave Love <fx@gnu.org>
991
992 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
993
994 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
995
1b7a835b
JB
9962003-04-27 Oliver Scholz <alkibiades@gmx.de>
997
0e0dced5 998 * update-game-score.c (read_scores): Fix corruption of scores on read.
1b7a835b 999
eec54bd7
SM
10002003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1001
1002 * emacsclient.c (main): Use new safe location for socket.
1003
ff4bd681
JB
10042003-03-12 Tom Tromey <tromey@redhat.com>
1005
eec54bd7
SM
1006 * emacsclient.c (print_help_and_exit): Print to stdout.
1007 Exit successfully. Added some blank lines for readability.
ff4bd681
JB
1008 (decode_options): Don't call print_help_and_exit in default case.
1009 Print version information to stdout.
1010 (main): Don't call print_help_and_exit.
1011
dd132e44
RS
10122003-02-15 Richard M. Stallman <rms@gnu.org>
1013
1014 * cvtmail.c: Cast result of malloc and realloc.
1015 Don't include stdlib.h, becuase config.h does.
1016 (malloc, realloc): Declarations deleted.
ff4bd681 1017
dd132e44
RS
1018 * yow.c (yow): Cast result of malloc and realloc.
1019 (malloc, realloc): Declarations deleted.
1020
71ffc53a
JB
10212003-02-11 Juanma Barranquero <lektu@terra.es>
1022
1023 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1024
0dfd93c0
AS
10252003-02-08 Andreas Schwab <schwab@suse.de>
1026
1027 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1028 instead of the substitution.
1029
37d1e680
RS
10302003-02-04 Richard M. Stallman <rms@gnu.org>
1031
1032 * update-game-score.c (push_score, read_scores): Cast values
1033 of malloc and realloc.
1034 (main, lock_file): Avoid assignment inside if.
1035
c60ee5e7
JB
10362003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1037
1038 * Makefile.in: Use @EXEEXT@ for Cygwin.
1039
b24e2dc7
DL
10402003-01-21 Dave Love <fx@gnu.org>
1041
1042 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1043 column-0 `('.
1044
1045 * yow.c: Don't include string.h.
1046
675d000f
RS
10472003-01-20 Richard M. Stallman <rms@gnu.org>
1048
1049 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1050 New targets.
1051
207aa3ff
KS
10522003-01-06 Kim F. Storm <storm@cua.dk>
1053
31fa6595 1054 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
207aa3ff
KS
1055 All uses changed.
1056
cf6d30d7
AI
10572002-12-18 Andrew Innes <andrewi@gnu.org>
1058
1059 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1060 because GNU make doesn't append when using >> redirection.
1061
649fc2c5
PJ
10622002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
1063
1064 * b2m.pl: Make sure every message ends with a blank line, because
1065 some mbox parsers require a blank line before "From " lines.
1066
85cce843
RS
10672002-12-08 Richard M. Stallman <rms@gnu.org>
1068
1069 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1070 (_): Test only HAVE_LIBINTL_H to decide what to do.
1071
2ccc4d34
RS
10722002-12-05 Richard M. Stallman <rms@gnu.org>
1073
1074 * getopt.c: Comment out include of libintl.h or gettext.h.
1075
c5992177
RS
10762002-12-04 Richard M. Stallman <rms@gnu.org>
1077
1078 * Update getopt from gnulib version; changes described below.
1079
1080 * getopt1.c: Conditionally find getopt.h.
1081 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1082
1083 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1084 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
c60ee5e7 1085 (wchar.h): Include, maybe.
c5992177
RS
1086 (attribute_hidden): Define if not defind.
1087 (__getopt_initialized): Use attribute_hidden.
1088 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
1089 (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
1090 Conditional on USE_NONOPTION_FLAGS.
1091 (SWAP_FLAGS): New definitions.
1092 (exchange): Test USE_NONOPTION_FLAGS.
1093 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1094 (_getopt_internal): Error if argc < 1. New local var print_errors.
1095 Improve test for ambiguous long option.
1096 Add LIBIO support for error message output.
1097 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1098
1099 * getopt.h: Maybe include ctype.h.
1100 Treat __cplusplus like __STDC__.
1101 (decls): Use __ in arg names.
1102
4b5e69bd
SE
11032002-12-02 Stephen Eglen <stephen@gnu.org>
1104
1105 * emacsclient.c (main): Tell user how to start server within Emacs
1106 if socket could not be found.
1107
19fa03f3
RS
11082002-12-02 Richard M. Stallman <rms@gnu.org>
1109
1110 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1111
7be215b4
JB
11122002-11-19 Ben Key <bkey1@tampabay.rr.com>
1113
29f538e6
BK
1114 * makefile.w32-in: Fixed a bug that caused the documentation for
1115 the built in function play-sound-internal not to be included in
1116 /etc/DOC.
7be215b4 1117
1998560a
DL
11182002-11-18 Dave Love <fx@gnu.org>
1119
1120 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1121 fcntl.h, stdarg.h conditionally.
1122 (_GNU_SOURCE, __attribute__): Don't define.
1123 (optarg, optind, opterr): Declare.
1124 (lose, lose_syserr): Use NO_RETURN.
1125 (get_user_id): Use P_.
1126
8b96caf3
RS
11272002-11-17 Richard M. Stallman <rms@gnu.org>
1128
1129 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1130
59daa29a
DL
11312002-11-14 Dave Love <fx@gnu.org>
1132
1133 * movemail.c (pop_retr): Declare comment.
1134
1135 * make-docfile.c (read_c_string_or_comment): Declare msgno.
9a007cb7
DL
1136
1137 * Makefile.in (YACC): Deleted.
1138
f1b443bf
AS
11392002-10-19 Andreas Schwab <schwab@suse.de>
1140
1141 * Makefile.in (${archlibdir}): Always create $(gamedir).
1142 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1143
52402e4f
JB
11442002-10-04 Juanma Barranquero <lektu@terra.es>
1145
1146 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1147
15dab115
MR
11482002-09-30 Markus Rost <rost@math.ohio-state.edu>
1149
1150 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1151 completely.
1152
30be2360
SM
11532002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1154
1155 * emacsclient.c: Remove SYSV support.
1156 (eval, display): New vars.
1157 (longopts): Add --eval and --display.
1158 (decode_options): Add -e and -d processing.
1159 (print_help_and_exit): Update the usage string.
1160 (main): Add support for --eval and --display.
3ecdcd59 1161 (main): Always use /tmp and non-qualified hostname.
30be2360 1162
4208da83
SM
11632002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1164
1165 * emacsserver.c: Remove.
1166
3cf8c6aa
SM
11672002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1168
1169 * emacsclient.c (quote_file_name): Quote \n.
1170 (main): Print a final \n when needed.
1171
ecc54057 11722002-09-03 Francesco Potort\e,Al\e(B <pot@gnu.org>
4c6dce51
FP
1173
1174 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1175 string that cannot be freed.
1176
ecc54057 11772002-08-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
ba88f8eb
FP
1178
1179 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1180 auto-detection is enabled and the `::' qualifier is met.
1181 (consider_token, C_entries): Several bugs corrected that tagged
1182 some declarations even though --declarations was not used.
1183 (plainc): New macro.
1184 (C_entries): Use it.
1185 (C_entries): Several cosmetic changes.
1186 (C_entries): Invalidate the token is some cases.
1187
ecc54057 11882002-08-29 Francesco Potort\e,Al\e(B <pot@gnu.org>
09cd1a74 1189
eec54bd7 1190 * etags.c (C_entries): Correct a problem with const C++ funcs.
09cd1a74
FP
1191 (ignoreindent): Renamed from noindentypedefs.
1192 (cjava, cplpl): They are now macros instead of local vars.
1193
ecc54057 11942002-08-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
09cd1a74
FP
1195
1196 * etags.c (HTML_labels): Tag ID= also.
1197
ecc54057 11982002-08-27 Francesco Potort\e,Al\e(B <pot@gnu.org>
87046df8
FP
1199
1200 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1201
ecc54057 1202 * etags.c (HTML_labels): New language HTML.
8ee14629
FP
1203 (etags_strcasecmp): Like BSD's, for compatibility.
1204 (strcaseeq): Make it into a macro.
1205
1206 * etags.c (make_tag): Never generate null length tag names.
87046df8
FP
1207 (linebuffer_init): Renamed from initbuffer. All callers changed.
1208 (pattern): Structure renamed to `regexp', member regex renamed to
1209 pattern.
1210 (node_st): Member pat renamed to regex.
eec54bd7
SM
1211 (pattern); New member force_explicit_name, for future use.
1212 Now always set to true, cannot be reset.
87046df8
FP
1213 (add_regex, regex_tag_multiline, readline): Use it.
1214 (main): Free some global structures.
8ee14629 1215 (fdesc): New member `written'.
87046df8
FP
1216 (readline, process_file): Initialise it.
1217 (put_entries): Set it.
1218 (main): Use it to create entries for files without tags.
1219 (total_size_of_entries): Do not count invalid tags.
87046df8 1220
02ce3e80
SM
12212002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1222
1223 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1224 for the function name in the usage info.
1225
5fba5c21
CW
12262002-07-31 Colin Walters <walters@gnu.org>
1227
1228 * update-game-score.c (P_): New macro. Use it for all prototypes.
1229 (lose): Don't use varargs.
1230 (lose_syserr): New function.
1231
1232 * update-game-score.c: Change all functions to K&R style.
1233
712eaee0
AS
12342002-07-30 Andreas Schwab <schwab@suse.de>
1235
1236 * Makefile.in (localstatedir): New variable.
1237
c89ed6ef
PJ
12382002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
1239
1240 * b2m.pl: Fix regexp for finding return address fields.
1241
1e042160
SM
12422002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1243
1244 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1245
c60ee5e7 12462002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
e9b60209 1247
02ce3e80 1248 * b2m.pl: Obey the rmail file and use the unpruned header properly.
e9b60209 1249
9ee028d2
PJ
12502002-06-26 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1251
1252 * b2m.pl: New file.
1253
ecc54057 12542002-06-21 Francesco Potort\e,Al\e(B <pot@gnu.org>
e1af8d40 1255
ecc54057 1256 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
e1af8d40
FP
1257 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1258 (PHP_functions, PHP_functions, Cobol_paragraphs)
1259 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1260 (prolog_pr, erlang_func, erlang_attribute)
1261 (Perl_functions, Perl_functions, Pascal_functions)
1262 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1263 (get_tag): Prototype changed, all callers changed.
1264
ecc54057 12652002-06-20 Francesco Potort\e,Al\e(B <pot@gnu.org>
ceaeb365 1266
d76132d0
FP
1267 * etags.c: Implement implicit tag names, that is, unnamed tags
1268 whose name is automatically deduced by etags.el. The advantage is
1269 that there is no explicit tag name in most tags, so the size of
1270 the tags file is reduced, yet find-tag is able to do a match as
eec54bd7 1271 accurate as with named tags. See the comment in make_tag for details.
ceaeb365
FP
1272 (make_tag): New function (was the disabled function new_pfnote).
1273 (make_C_tag): Use it.
1274
ecc54057 12752002-06-19 Francesco Potort\e,Al\e(B <pot@gnu.org>
f175bfff
FP
1276
1277 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1278 (Makefile_targets): Tag variables unless --no-globals.
1279 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1280
ecc54057 12812002-06-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
82ef78b3
FP
1282
1283 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1284 (invalidate_nodes): Bug corrected.
1285 (print_help): Better help for regexps.
1286
7a8940da
JB
12872002-06-13 Juanma Barranquero <lektu@terra.es>
1288
1289 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1290 font-core.elc.
1291
ecc54057 12922002-06-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
6861f0e3
FP
1293
1294 * etags.c: New multi-line regexp and new regexp syntax.
1295 (arg_type): at_icregexp label removed (obsolete).
1296 (pattern): New member multi_line for multi-line regexps.
1297 (filebuf): A global buffer containing the whole file as a string
1298 for multi-line regexp matching.
1299 (need_filebuf): Global flag raised if multi-line regexps used.
1300 (print_help): Document new regexp modifiers, remove references to
1301 obsolete option --ignore-case-regexp.
1302 (main): Do not set regexp syntax and translation table here.
1303 (main): Treat -c option as a backward compatibility hack.
1304 (main, find_entries): Init and free filebuf.
1305 (find_entries): Call regex_tag_multiline after the regular parser.
1306 (scan_separators): Check for untermintaed regexp and return NULL.
1307 (analyse_regex, add_regex): Remove the ignore_case argument, which
1308 is now a modifier to the regexp. All callers changed.
1309 (add_regex): Manage the regexp modifiers.
1310 (regex_tag_multiline): New function. Reads from filebuf.
1311 (readline_internal): If necessary, copy the whole file into filebuf.
1312 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1313
ecc54057 13142002-06-11 Francesco Potort\e,Al\e(B <pot@gnu.org>
6861f0e3
FP
1315
1316 * etags.c (add_regex): Better check for null regexps.
1317 (readline): Check for regex matching null string.
1318 (find_entries): Reorganisation.
1319
ecc54057 13202002-06-07 Francesco Potort\e,Al\e(B <pot@gnu.org>
f0da41a6
FP
1321
1322 * etags.c (scan_separators): Support all character escape
1323 sequences supported by Gcc.
02ce3e80 1324 (find_entries): Rewind unconditionally.
f0da41a6
FP
1325 (find_entries): Do not call language functions directly, now calls
1326 itself.
1327 (find_entries): Do general initialisations here.
1328 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1329 (Ada_getit, Pascal_functions, Pascal_functions)
1330 (prolog_skip_comment): Do not do them here.
1331 (readline_internal): Increment lineno here.
1332 (readline): Conditionally undo readline_internal increment.
1333 (readline): Do not return a value.
1334
ecc54057 13352002-06-06 Francesco Potort\e,Al\e(B <pot@gnu.org>
5526f1f6 1336
88c71720 1337 * etags.c: New option --parse-stdin=FILE.
97b90b0a
FP
1338 (enum arg_type): New label at_stdin.
1339 (STDIN): New constant.
1340 (parsing_stdin): New flag.
1341 (longopts): New option --parse-stdin=NAME.
1342 (print_help): Document it.
1343 (main): Handle it.
1344 (process_file): Split into process_file and process_file_name.
1345 (process_file_name): New function.
1346
88c71720 1347 * etags.c: Improvements and bug squashing in TeX handling.
97b90b0a 1348 (TeX_commands): Skip comments.
5526f1f6
FP
1349 (TEX_defenv): Now contains more contructs.
1350 (TEX_cmt): Make it a static char and move it before TeX_commands.
1351 (TeX_commands): Shorten the tag to the brace after the name.
1352 (TeX_commands): Names now include the initial backslash.
1353 (TeX_commands): Names do not include numeric args #n.
1354 (TeX_commands): Correct line char number in tags.
1355 (TEX_tabent, TEX_token): Deleted.
1356 (TeX_commands, TEX_decode_env): Streamlined.
1357
ecc54057 13582002-06-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
50496bd9
FP
1359
1360 * etags.c (main): Avoid a buffer overrun with sprintf.
1361
a71867c5
RS
13622002-05-30 Richard M. Stallman <rms@gnu.org>
1363
1364 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1365 (LIBS_MOVE): Renamed from MOVE_LIBS.
1366
b7e67db6
PE
13672002-05-26 Paul Eggert <eggert@twinsun.com>
1368
1369 Reinstate the following change from 2002-03-22, which was
1370 inadvertently lost on 2002-04-13.
1371
1372 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1373 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1374 the latter usage.
1375
5f226e2c
EZ
13762002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1377
1378 * pop.c (socket_connection): Move the code to resolve the POP
1379 host right before trying to connect with it.
1380
5167cfda
CW
13812002-04-28 Colin Walters <walters@verbum.org>
1382
1383 * Makefile.in (${archlibdir}): Don't conditionalize on
1384 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1385 or not we have access to the specified game user.
50496bd9 1386
5167cfda
CW
1387 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1388 (main): New argument -d, for specifying directory.
1389 (usage): Document.
02ce3e80 1390 (get_user_id): Compute.
5167cfda
CW
1391 (get_home_dir): Deleted.
1392 (get_prefix): New function, taken from main.
1393 (main): Check whether or not we are running setuid. Move prefix
1394 computation to get_prefix. Don't call getpwent; we don't need to
1395 any more. Instead, move it to get_user_id().
1396
beedfcf1
PJ
13972002-04-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1398
1399 * ebrowse.c (skip_initializer): Return void.
1400
973c3c87
CW
14012002-04-23 Colin Walters <walters@verbum.org>
1402
1403 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1404 space.
1405
ecc54057 14062002-04-22 Francesco Potort\e,Al\e(B <pot@gnu.org>
8378bcd3 1407
ecc54057 1408 * etags.c (last_node): Make it a global variable.
8378bcd3
FP
1409 (process_file): Print the tags from the nodes as soon as
1410 possible, and delete the nodes. This brings down the memory
1411 occupancy as etags to almost the same level as when the #line
1412 directives were not parsed.
1413 (free_fdesc): New function.
1414 (find_entries): Use it.
1415 (invalidate_nodes): In etags mode, do not just mark the nodes as
1416 invalid, do delete them.
1417
c901ceff
GM
14182002-04-21 Gerd Moellmann <gerd@gnu.org>
1419
1420 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1421
c42d6dbd
EZ
14222002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1423
1424 * update-game-score.c: Move config.h before the other headers, to
1425 avoid compiler warnings.
1426
ecc54057 14272002-04-16 Francesco Potort\e,Al\e(B <pot@gnu.org>
090416ca
FP
1428
1429 * etags.c (find_entries): Bug fix in list management.
1430
ecc54057 14312002-04-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
5dab24c1
FP
1432
1433 * etags.c (get_language_from_filename): Add one argument.
1434 (strcaseeq): New function.
1435 (get_language_from_filename): Use it to do a case insenstitive
1436 comparison if called with appropriate args.
1437 (find_entries): Try with case insensitive match.
1438 (process_file): Bug fixed.
1439
ecc54057 14402002-04-13 Francesco Potort\e,Al\e(B <pot@gnu.org>
c150db23
FP
1441
1442 * etags.c (find_entries): Delete tags previously obtained from
1443 file xxx.c's #line directives when parsing file xxx.y. This is
1444 generally done for automatically generated files containing
1445 #line directives. This handles the case when xxx.y is tagged
1446 before xxx.c, and the entries of xxx.c pointing to xxx.y should
1447 be discarded.
eec54bd7 1448 (language): Add the metasource member. Initializers changed.
c150db23
FP
1449 (invalidate_nodes): New function.
1450 (readline): Discard lines after having found a #line
02ce3e80 1451 directive pointing to an already tagged file. This handles the
c150db23
FP
1452 case when xxx.y is tagged before xxx.c, and the entries of
1453 xxx.c pointing to xxx.y should be discarded.
1454 (fdesc): New structure for keeping track of input files.
1455 (fdesc): Remove `file' member (a string) and use instead a pointer
1456 to a file description structure.
02ce3e80
SM
1457 (curfile, curfiledir, curtagfname, curlang, nocharno)
1458 (forced_lang): Global variables removed in favor of fdhead and
c150db23
FP
1459 curfdp, pointers to file description strucures.
1460 (longopts, main, print_help): Use the CTAGS conditional to include
1461 or exclude options that work on etags or ctags only.
02ce3e80
SM
1462 (process_file, find_entries, pfnote, add_node, put_entries)
1463 (readline): Use fdhead and curfdp.
c150db23
FP
1464 (process_file, find_entries): Do not take an arg string, all
1465 callers changed.
1466
1467 * etags.c (longopts, print_help, main): Test CTAGS to disallow
1468 options that are not right for either etags or ctags.
1469
1470 * etags.c (number_len, total_size_of_entries): Define them also
1471 in CTAGS mode, because gcc does not compile all refs away.
1472
e9d1f248
CW
14732002-04-14 Colin Walters <walters@debian.org>
1474
1475 * update-game-score.c (lock_file): If the lock file is older than
1476 an hour, delete it. Reset attempts to zero if we have to break
1477 the lock.
1478
7605f1bd
AS
14792002-04-14 Andreas Schwab <schwab@suse.de>
1480
1481 * update-game-score.c (read_score): Fix type of second parameter
1482 of getdelim to be of type size_t instead of int. Use 0 instead of
1483 ESUCCES.
1484
e82defd1
CW
14852002-04-10 Colin Walters <walters@verbum.org>
1486
ecc54057 1487 * update-game-score.c (toplevel): Include stdarg.h.
b9b966e0
CW
1488 (MAX_DATA_LEN, MAX_SCORES): New.
1489 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1490 default to ~/.emacs.d/games.
1491 (get_user_id): Don't zero uid in the case where we can't get the
1492 username.
1493 (lose): New function.
1494 (main): Actually use `max', and default it to MAX_SCORES.
1495 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
1496 function.
1497 (read_score): Handle the case of reading unamelen characters, then
1498 finishing. Use mktemp if mkstemp isn't available.
1499 (lock_file, unlock_file): Delete unused versions.
1500 (lock_file): Always sleep, even if we unlinked the lock file.
1501
e82defd1
CW
1502 * Makefile.in (gamedir, gameuser): New variables.
1503 (toplevel, UTILITIES): Add update-game-score.
1504 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
1505
5795b420
CW
15062002-04-07 Colin Walters <walters@verbum.org>
1507
1508 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
1509 (get_user_id): Take struct passwd as an argument.
1510 (get_home_dir): New function.
1511 (main): Read in user information here. Discover home directory if
1512 necessary.
1513 (read_score): Trim newline only in `getline' case.
1514
cd553ffb 15152002-04-05 Colin Walters <walters@debian.org>
c150db23 1516
cd553ffb
CW
1517 * update-game-score.c (toplevel): Include pwd.h.
1518 (struct score_entry): Add username field.
1519 (push_score): Use it.
1520 (get_user_id): New function.
1521 (main): Don't malloc excessively.
1522 (main): Use username field.
1523 (read_score): Read it.
1524 (push_score): Handle it.
1525 (write_scores) Write it.
c150db23
FP
1526 (read_score): Handle arbitrary length data.
1527
b74bd4a3
EZ
15282002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
1529
1530 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
1531
fa8bc89d
GM
15322002-03-29 Gerd Moellmann <gerd@gnu.org>
1533
1534 * ebrowse.c (add_declarator, skip_initializer): New functions.
1535 (declaration): Use them.
1536
dd87b4cc
JR
15372002-03-28 Jason Rumney <jasonr@gnu.org>
1538
1539 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
1540
cd553ffb
CW
15412002-03-27 Colin Walters <walters@debian.org>
1542
1543 * update-game-score.c: New file.
1544
dfef6d49
PE
15452002-03-22 Paul Eggert <eggert@twinsun.com>
1546
1547 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1548 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1549 the latter usage.
1550
ecc54057 15512002-03-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
a13d6523 1552
4fff90e4 1553 * etags.c (Python_functions): Skip spaces at beginning of lines.
a13d6523
FP
1554 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1555 (TeX_commands): Name tags. Correction of old disabled code.
1556
1557 * etags.c (curfiledir, curtagfname): New global variables.
1558 (process_file): Initialise them.
1559 (readline): Canonicalize the name found in #line directive.
893a741e 1560
4fff90e4 15612002-03-06 Jason Rumney <jasonr@gnu.org>
ca55a1e3 1562
893a741e
JR
1563 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1564 compilers that don't optimize out dead code.
1565
ecc54057 15662002-03-05 Francesco Potort\e,Al\e(B <pot@gnu.org>
51aeded3
FP
1567
1568 * etags.c: Honour #line directives.
1569 (no_line_directive): New global var; set it for old behaviour.
1570 (main): Remove some #ifdef in the getopt switch.
1571 (add_node, put_entries): Code added to merge different chunks of
1572 nodes referring to the same file. Currently the tags are just
1573 appended, without any check for duplicates.
1574 (Perl_functions): Do not special case ctags.
1575 (readline): Identify #line directives and do the right thing.
1576 (nocharno, invalidcharno): New global vars.
1577 (process_file): Reset nocharno.
1578 (readline): Set nocharno.
1579 (pfnote): Read nocharno and maybe put invalidcharno in node.
1580 (total_size_of_entries, put_entries): Use invalidcharno.
1581
1582 * etags.c: Keep the whole tag table in memory, even in etags mode.
1583 (main): Call put_entries here even in CTAGS mode.
1584 (main, process_file): Check the return values of fclose and pclose.
1585 (process_file): Do not call put_entries after parsing each file.
1586 (process_file): Canonicalise file names even for ctags.
1587 (process_file): Set curfile here...
1588 (find_entries): ... not here any more.
1589 (add_node): In etags mode, build a linked list of entries (on
1590 right pointer) for each file, and link the first entry of each
1591 file on left nodes.
1592 (put_entries): Print here the name of the file.
1593 (put_entries): Print the entries starting from the first file.
c150db23 1594 (number_len, total_size_of_entries): Define these only in etags
51aeded3
FP
1595 mode, make the second work only on the right nodes.
1596
1597 * etags.c: Make all global variables static.
1598
50ce1f62
JB
15992002-02-25 Juanma Barranquero <lektu@terra.es>
1600
1601 * makefile.w32-in (lisp): Add missing backslash.
1602
82a399d2
JR
16032002-02-24 Jason Rumney <jasonr@gnu.org>
1604
1605 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
1606 using .elc files.
1607 (lisp): Sync with list in src/Makefile.in
1608 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
1609
a279c920
PE
16102002-02-10 Paul Eggert <eggert@twinsun.com>
1611
1612 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
1613 disallows the old syntax.
1614
0caa685d
PE
16152002-02-03 Paul Eggert <eggert@twinsun.com>
1616
1617 * rcs2log(Copyright): Update to 2002.
1618 (AWK, TMPDIR): Work around portability problem in broken shells that
1619 don't understand `: ${VAR=val}'.
1620 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
1621 Prefer the new -k option to the traditional +M -N option.
1622
03950b5b
PJ
16232002-01-01 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1624
1625 * b2m.c (main): Parenthesize assignment when used as truth value
1626 to prevent gcc warnings.
1627
1628 * fakemail.c: Include <config.h>.
1629
2f8fe2f4
PJ
16302001-12-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1631
1632 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1633 * yow.c: Include <config.h>.
1634
ecc54057 16352001-12-21 Francesco Potort\e,Al\e(B <pot@gnu.org>
a60e4de9
FP
1636
1637 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1638 (get_tag): Return a pointer to the tag that is found.
1639
1640 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1641 (F_takeprec): Renamed from takeprec. All callers changed.
1642 (F_getit): Renamed from getit. All callers changed.
1643 (nocase_tail): Renamed from tail. All callers changed.
1644 (Ada_getit): Renamed from adagetit. All callers changed.
eec54bd7 1645 (L_getit): Simplify by using get_tag.
a60e4de9
FP
1646 (Perl_functions, Postscript_functions, erlang_attribute): Use the
1647 modified LOOKING_AT.
1648 (notinname): Removed '[' and added ')' to the recognised chars.
1649 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
1650 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
1651 Clarified, using strneq or notinname.
1652 (L_isdef, L_isquote): Removed.
1653 (Lisp_functions, L_getit): Clarified.
1654
ecc54057 1655 * etags.c (P_): Renamed to __P for consistency with config.h.
a60e4de9
FP
1656 [HAVE_CONFIG_H]: Let config.h deal with __P.
1657 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
1658 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
1659 gperf code needs it.
ecc54057
JB
1660 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
1661 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
a60e4de9
FP
1662 (xmalloc, xrealloc): Use PTR instead of long *.
1663 (bool): Make it a define, not a typedef, for C++ compilers.
1664 (pattern): Members renamed to avoid name clash in some C++ compilers.
1665 (get_language_from_langname): Use const argument.
1666
c95eaa61
PJ
16672001-12-22 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1668
1669 * makefile.nt, makefile.w32-in: Remove mocklisp files.
1670
69bfc389
PJ
16712001-12-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1672
b8509940
PJ
1673 * emacsserver.c: Conditionally include config.h.
1674
594aa066
PJ
1675 * fakemail.c: Likewise.
1676
e69233c2
PJ
1677 * emacsclient.c: Include "config.h", not <../src/config.h>.
1678 (main): Parenthesize assignment when used as truth value to
1679 prevent gcc warnings.
1680
69bfc389
PJ
1681 * ebrowse.c: Include stdlib.h and string.h conditionally.
1682
e4e34e31
EZ
16832001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
1684
1685 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
1686
ffb7c9c6
PJ
16872001-12-18 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1688
1689 * test-distrib.c: Fix previous change.
1690
fb5aa7ac
DL
16912001-12-18 Dave Love <fx@gnu.org>
1692
1693 * test-distrib.c: Conditionally include fcntl.h.
1694
1695 * fakemail.c: Include "config.h", not <../src/config.h>.
1696 (_XOPEN_SOURCE): Define as 500.
1697
1698 * emacsserver.c: Include "config.h", not <../src/config.h>.
1699
1700 * cvtmail.c: Include config.h, stdlib.h.
1701 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
1702
1703 * yow.c: Conditionally include various headers. Use "epaths.h",
1704 not <../src/epaths.h>.
1705 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1706
ecc54057 17072001-12-12 Francesco Potort\e,Al\e(B <pot@gnu.org>
e94a3679 1708
13dc0576 1709 * etags.c (PHP_functions): New function for parsing PHP.
e94a3679
FP
1710 (LOOKING_AT): New macro.
1711 (Perl_functions, Python_functions, PHP_functions)
1712 (Scheme_functions, Texinfo_nodes): Use it.
1713 (Perl_functions): Use strneq.
1714 (prolog_pred): Renamed to prolog_pr.
13dc0576 1715 (prolog_pr): Recognise Prolog rules in addition to predicates.
e94a3679 1716 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
13dc0576 1717 unmodified compile, as Cygwin's regex.h is incompatible with us.
e94a3679
FP
1718 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
1719
34e39c95
RS
17202001-12-11 Richard M. Stallman <rms@gnu.org>
1721
1722 * Makefile.in (clean): Don't delete ../etc/DOC*.
1723
296071e7
PJ
17242001-12-11 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1725
1726 * COPYING: Moved back.
1727
76054cc8
AI
17282001-11-30 Andrew Innes <andrewi@gnu.org>
1729
e94a3679
FP
1730 * makefile.w32-in (FACE_SUPPORT):
1731 (MOUSE_SUPPORT):
1732 (FLOAT_SUPPORT):
1733 (WINNT_SUPPORT):
76054cc8
AI
1734 (lisp): Reference .el files instead of .elc files, to simplify
1735 bootstrapping.
1736 ($(DOC)): Change dependency to just `make-docfile'.
1737
0142178a
PJ
17382001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1739
1740 * COPYING: Removed.
1741
e8d6a09b
PE
17422001-11-28 Paul Eggert <eggert@twinsun.com>
1743
1744 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
1745
1746 The following changes are derived from suggestions by Bob Chapman
1747 <rechapman@compuserve.com>.
1748
1749 * rcs2log (printlogline): Also allow tab and newline to separate
1750 '(function):' from the rest of a comment.
1751 (reformat the sorted log entries): Require date and author to
1752 match the clumpname.
1753
9a190096
GM
17542001-11-16 Gerd Moellmann <gerd@gnu.org>
1755
1756 * ebrowse.c (matching_regexp): Escape '\\'.
1757
8ec1b917
PJ
17582001-11-15 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1759
1760 * Makefile.in: Add support for --program-prefix, --program-suffix
1761 and --program-transform-name options.
1762
6d8f7d5d
RS
17632001-11-03 Richard M. Stallman <rms@gnu.org>
1764
1765 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
1766
1767 * movemail.c (popmail): Always pass two args to `error'.
1768
84e70f78
KR
17692001-10-24 Ken Raeburn <raeburn@gnu.org>
1770
1771 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
1772 -lhesiod and maybe -lresolv.
1773 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
1774 support if it's available.
1775
386ca361
MB
17762001-10-21 Miles Bader <miles@gnu.org>
1777
a3b10252
MB
1778 * make-docfile.c (struct rcsoc_state): New type.
1779 (read_c_string_or_comment): Add SAW_USAGE
386ca361 1780 parameter, and implement scanning for a `usage:' keyword.
a3b10252
MB
1781 Use a variable of type `rcsoc_state' to hold most of our state.
1782 (put_char): Add STATE parameter, and remove all other parameters
1783 except CH. Use STATE to get access to all needed state.
1784 (scan_keyword_or_put_char): New function.
386ca361
MB
1785 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
1786 Don't output a usage-string if there was one in the doc-string.
1787
71431a0e
GM
17882001-10-20 Gerd Moellmann <gerd@gnu.org>
1789
6aa97356 1790 * (Version 21.1 released.)
71431a0e 1791
37a9305e
PJ
17922001-10-19 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1793
1794 * b2m.c: Properly spell the name of Emacs.
1795
945220bd
MB
17962001-10-17 Miles Bader <miles@gnu.org>
1797
1798 * make-docfile.c (put_char): New function.
1799 (read_c_string_or_comment): Strip trailing spaces and newlines.
1800
14242528
MB
18012001-10-16 Miles Bader <miles@gnu.org>
1802
1803 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
1804 comments [with `doc:' keyword prefix].
1805
9f5eb4a3
GM
18062001-10-15 Gerd Moellmann <gerd@gnu.org>
1807
1808 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
1809 in a C doc comment.
1810
e641b454
GM
18112001-10-13 Gerd Moellmann <gerd@gnu.org>
1812
1813 * make-docfile.c (read_c_string_or_comment): Renamed from
1814 read_c_string. Add parameter COMMENT. Read C-style comments.
1815 (scan_c_file): Handle doc strings in C comments.
1816
967d7793
AI
18172001-10-12 Andrew Innes <andrewi@gnu.org>
1818
1819 * makefile.nt (ALL): Do not include fakemail.
1820
1821 * makefile.w32-in (install): Do not copy fakemail.
1822
d682756a
JR
18232001-10-10 Jason Rumney <jasonr@gnu.org>
1824
1825 * makefile.w32-in (ALL) Do not include fakemail.
1826
1827 * makefile.nt (install) Ditto.
1828
14a3dff7
GM
18292001-10-09 Gerd Moellmann <gerd@gnu.org>
1830
1831 * emacsserver.c (main): Cast geteuid in sprintf to int.
14a3dff7 1832
95bc7904 1833 * emacsclient.c (main): Cast isdigit argument to unsigned char.
14a3dff7 1834
f98d41f5
PJ
18352001-10-07 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
1836
1837 * profile.c: Include config.h, not ../src/config.h.
1838 Include systime.h, not ../src/systime.h.
1839
ab952a4f
GM
18402001-10-05 Gerd Moellmann <gerd@gnu.org>
1841
1842 * Branch for 21.1.
dff28924 1843
12c64503
GM
18442001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
1845
1846 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
1847 ALIASEE to help work with namespace aliases.
1848 (struct sym): Remove struct member NAMESP_ALIASES.
1849 (namespace_alias_table): New variable.
1850 (make_namespace): Add parameter CONTEXT.
1851 (check_namespace): New function.
1852 (find_namespace): Add parameter CONTEXT.
1853 (check_namespace_alias): New function.
02ce3e80
SM
1854 (register_namespace_alias): Change type of parameter OLD_NAME.
1855 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
12c64503
GM
1856 (check_namespace): New function.
1857 (enter_namespace): Call find_namespace with CONTEXT parameter.
1858 (match_qualified_namespace_alias): New function.
eec54bd7 1859 (parse_qualified_ident_or_type): Fix typo in comment.
02ce3e80 1860 While parsing qualified ident or type update namespace context and
12c64503 1861 restore it on exit.
eec54bd7
SM
1862 (parse_qualified_param_ident_or_type): Fix typo in comment.
1863 (globals): Change handling of namespace aliases.
1864 (version): Add year 2001.
12c64503 1865
990e1190
FP
18662001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1867
1868 * etags.c (analyse_regex): If regex_arg is NULL, return
1869 immediately after a call to free_patterns.
1870
f2e7e23e
AS
18712001-09-05 Paul Eggert <eggert@twinsun.com>
1872
1873 * rcs2log (Help, mainline code): Add new option -L FILE.
1874 (Copyright): Update year.
02ce3e80
SM
1875 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
1876 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
f2e7e23e
AS
1877 C locale.
1878 (mainline code): Handle nonstandard -u option differently, by
1879 transforming it to standard form. Check for "Working file: ", not
1880 "Working file:". Allow file names with spaces.
1881 (SOH, rlogfile): New shell vars.
dff28924 1882 (rlogout): Remove. Its old functionality is mostly migrated to
f2e7e23e
AS
1883 rlogfile.
1884
1885 Append ';;' to the last arm of every case statement, for
1886 portability to ancient broken BSD shells.
1887
02ce3e80 1888 (logins): Fix bug; was not being computed at all, lowering performance.
f2e7e23e
AS
1889 (pository): New var. This fixes some bugs where repositories are
1890 remote, or have trailing slashes.
02ce3e80 1891 (authors): $llogout is never an empty shell var, so don't worry
f2e7e23e 1892 about that possibility.
dff28924 1893 (printlogline, mainline code): Fix bug with SOH's being put into
f2e7e23e 1894 the output.
dff28924 1895
75c911eb
EZ
18962001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1897
1898 * ebrowse.c (SEEK_END): #define if not defined by system headers.
1899 Suggested by Dave Love <d.love@dl.ac.uk>.
1900
5ae10f4a
EZ
19012001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1902
1903 * makefile.nt (lisp): Synchronize with src/Makefile.in.
1904 * makefile.w32-in (lisp): Ditto.
1905
0e4011d8 19062001-07-25 Juanma Barranquero <lektu@terra.es>
e743f599
GM
1907
1908 * grep-changelog (parse_changelog): Remove unused local variable.
1909
1910 * grep-changelog (main): Add new option --reverse.
1911 (print_log): Use it.
1912 (parse_changelog): Use it.
1913
3c88ae74
GM
19142001-07-20 Gerd Moellmann <gerd@gnu.org>
1915
1916 * grep-changelog: Remove RCS Id keyword.
1917
41848daa
GM
19182001-07-20 Juanma Barranquero <lektu@terra.es>
1919
6e07c0a5
GM
1920 * grep-changelog (parse_changelog): Add tests for defined values
1921 to quiet warning from Perl 5.005 or above.
177ab8ce 1922 (entry_match_p, header_match_p): Fix handling of null or empty
0e4011d8
GM
1923 argument to prevent duplicate headers.
1924
1925 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
41848daa 1926
467f1209
GM
19272001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
1928
1929 * emacsclient.c (print_help_and_exit): Fix help message for
1930 +LINE:COLUMN option.
1931
19322000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
990e1190 1933
467f1209
GM
1934 * emacsclient.c (main): Add support for +LINE:COLUMN command line
1935 argument.
1936
bb24c64f
GM
19372001-07-16 Gerd Moellmann <gerd@gnu.org>
1938
1939 * ebrowse.c (main): Check that the output file exists and
1940 is non-empty if invoked with `--append'.
1941
ecc54057 19422001-05-14 Francesco Potort\e,Al\e(B <pot@gnu.org>
fa829470 1943
e335b66a
GM
1944 * etags.c (add_regex): Reset the whole newly allocated pattern
1945 buffer instead of the individual members. It's safer and works
ecc54057 1946 with XEmacs.
fa829470 1947
e335b66a 1948 * etags.1: Markups corrected.
fa829470 1949
6da5c7da
GM
19502001-05-08 Gerd Moellmann <gerd@gnu.org>
1951
02ce3e80 1952 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
6da5c7da 1953
efbecf9d
GM
19542001-05-03 Gerd Moellmann <gerd@gnu.org>
1955
1956 * ebrowse.c (globals): Fix handling of namespace aliases.
1957
f4976ebc
EZ
19582001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
1959
1960 * etags.c (print_help): Enclose the regexp in the help text
1961 example in quotes.
1962
23431241
DL
19632001-04-05 Dave Love <fx@gnu.org>
1964
1965 * emacsclient.c (fail): Don't return a value.
fa829470 1966 (main): Cast uid values for sprintf.
23431241 1967
476bf681
GM
19682001-04-03 Gerd Moellmann <gerd@gnu.org>
1969
b3f6107b
GM
1970 * emacsclient.c (fail, main): Don't use implicit int return type.
1971
476bf681
GM
1972 * b2m.c (main): Always return a value.
1973
ef53d75e
GM
19742001-03-02 Gerd Moellmann <gerd@gnu.org>
1975
1976 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
1977 freshly allocated object in *LAST_ID.
1978 (read_line): Accept \r\n line endings.
1979
425de386
AI
19802001-02-24 Andrew Innes <andrewi@gnu.org>
1981
1982 * makefile.w32-in: Fix copyright notice.
1983
ecc54057 19842001-02-23 Francesco Potort\e,Al\e(B <pot@gnu.org>
f55ae599
FP
1985
1986 * etags.c (enum sym_type): New label st_C_template.
1987 (gperf input): Use it for switching to C++ from C.
1988 (consider_token): Do it.
c2a642c0
FP
1989 (C_entries): Initialise typdefcblev to quiet compilers.
1990 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
f55ae599 1991
f6839838
AI
19922001-02-22 Andrew Innes <andrewi@gnu.org>
1993
1994 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
1995 VMS header files.
1996 ($(BLD)\profile.obj): Ditto.
1997
1998 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
1999 VMS header files.
2000 ($(BLD)/profile.$(O)): Ditto.
2001
193fba87
AI
20022001-02-05 Andrew Innes <andrewi@gnu.org>
2003
2004 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2005 invocation of make-docfile, to work with Windows 2000.
2006
30526cc6
DL
20072001-01-31 Dave Love <fx@gnu.org>
2008
2009 * etags.c (in_word_set): Use `static' in definition (for pcc).
2010
ecc54057 20112001-01-31 Francesco Potort\e,Al\e(B <pot@gnu.org>
8f79fe72 2012
ecc54057 2013 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
8f79fe72
FP
2014 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2015 (C_entries): Tag token renamed to still_in_token because sunos4
2016 pcc wants to expand it as the token() macro even though it has no
2017 arguments.
2018
914d7258
AI
20192001-01-30 Andrew Innes <andrewi@gnu.org>
2020
2021 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2022 bug in the Mingw32 assert.h header file.
2023
ecc54057 20242001-01-30 Francesco Potort\e,Al\e(B <pot@gnu.org>
b28e26be 2025
ecc54057
JB
2026 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2027 #define it for the sake of XEmacs.
b28e26be
FP
2028 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2029 HAVE_CONFIG_H. This change only affects a standalone etags.
2030 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2031 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2032 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2f2c687b 2033 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
b28e26be
FP
2034 WINDOWSNT, as this is the correct way to use it.
2035
ecc54057 20362001-01-28 Francesco Potort\e,Al\e(B <pot@gnu.org>
8c463abe
FP
2037
2038 * etags.c: Be capable to parse nested struct-like structures.
2039 (structdef, structtag): Struct state machine revisited.
2040 (struct tok): Revisited.
2041 (cstack, nestlev, instruct): New struct and macros.
2042 (pushclass_above, popclass_above, write_classname): New functions
13dc0576 2043 for dealing with nested class names.
8c463abe
FP
2044 (consider_token, make_C_tag, C_entries): Many changes for dealing
2045 with arbitrarily nested structures.
2046 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2047 (C_entries): Consider templates in C++.
2048 (sym_type): New constant st_C_class for detecting "class" also in
2049 C mode.
2050 (C_AUTO): New macro for automatic detection of C++.
2051 (consider_token): Automatic set C++ mode.
2052 (C_entries): New security check for yacc.
2053 (print_language_names, print_help): Mention the autodetect
2054 feature, do not show help for the -C option, now mostly useless.
2055 (C_entries): Tag C++ forward declarations if --declarations.
2056 (C_entries): Don't be fooled by things like XDEFUN.
2057 (consider_token): Discard asm pseudo function.
2058
e26f9ced
EZ
20592001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2060
2061 * etags.c: Add a coding: tag.
2062
a47b7816
GM
20632001-01-26 Gerd Moellmann <gerd@gnu.org>
2064
8c463abe 2065 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
a47b7816
GM
2066 New variables.
2067 (matching_regexp): Use them instead of static variables in
2068 function scope.
2069
ecc54057 20702001-01-25 Francesco Potort\e,Al\e(B <pot@gnu.org>
d22a24fa
FP
2071
2072 * etags.c (struct tok): Renamed from struct token.
2073 (token): Renamed from tok.
2074 (structtype): Make it a local variable.
2075 [DEBUG]: Use assert.
2076 (xrnew): Change the synopsis.
2077 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2078 (grow_linebuffer): Don't call xrnew when not needed.
02ce3e80 2079 (token): Buffer renamed to line.
d22a24fa 2080 (C_entries): Three calls to inibuffer moved here from main.
eec54bd7 2081 (C_entries): Remove all references to var methodlen, delete it.
d22a24fa
FP
2082 (linebuffer_setlen): Was grow_buffer, now also sets len.
2083 (consider_token, C_entries, Pascal_functions): Use it.
2084 (C_entries): Preventing problems relative to extern "C".
2085 (C_entries): Can tag more than one variable or func separated by
2086 comma when --declarations is used.
2087 (C_entries): More accurate tagging of members and declarations.
2088 (yacc_rules): Was global, made local to C_entries.
2089 (next_token_is_func): Removed.
2090 (fvdef): New constants fdefunkey, fdefunname.
2091 (consider_token, C_entries): Use them.
2092 (C_entries): Build proper lisp names for Emacs DEFUNs.
2093
21c2bbe0
GM
20942001-01-22 Gerd Moellmann <gerd@gnu.org>
2095
2096 * ebrowse.c (xfree): New function.
2097 (member, declaration, globals): Use xmalloc instead of alloca.
2098
ecc54057 20992001-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org>
83be933c
FP
2100
2101 * etags.c (print_language_names): Print filenames in addition to
2102 suffixes.
2103
ecc54057 21042001-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org>
47df1a5e
EZ
2105
2106 * etags.c (get_language_from_langname): Renamed from
2107 get_language_from_name.
eec54bd7
SM
2108 (get_language_from_filename): Renamed from get_language_from_suffix.
2109 Now first looks for the complete file name.
47df1a5e
EZ
2110 (language): New member char **filenames.
2111 (Makefile_filenames): List of possible filenames for makefiles.
eec54bd7 2112 (lang_names): Add a NULL member for every entry, added an entry
47df1a5e 2113 for makefiles.
13dc0576 2114 (Makefile_targets): New function.
47df1a5e
EZ
2115 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2116 it conformant to the style of the rest of the code.
2117
291c7e74
GM
21182001-01-13 Gerd Moellmann <gerd@gnu.org>
2119
2120 * make-docfile.c (write_c_args): Print newlines as spaces.
2121
0dac6924
AI
21222001-01-06 Andrew Innes <andrewi@gnu.org>
2123
2124 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2125 of *.pdb.
2126
3e99d3b4
GM
21272001-01-03 Paul Eggert <eggert@twinsun.com>
2128
2129 * lib-src/rcs2log: Avoid security hole allowing attacker to
2130 cause user of rcs2log to overwrite arbitrary files, fixing
2131 a bug reported by Morten Welinder.
2132
2133 Don't put "exit 1" at the end of the exit trap; it's
2134 ineffective in POSIX shells.
2135
d6bb0c0d
GM
21362001-01-02 Gerd Moellmann <gerd@gnu.org>
2137
eec54bd7
SM
2138 * ebrowse.c (yyerror): Change to take two arguments.
2139 Add prototype. Change callers.
d6bb0c0d 2140
d5c00476 21412001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
315f5865
EZ
2142
2143 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2144 compiler warnings.
2145 (yyerror): Change parameter declarations to be of type long, so
2146 that they can take pointers on 64-bit platforms.
2147
2148 * emacsclient.c (main): Remove unused local variable statbfr.
2149 (main) <homedir>: Make its declaration conditional on
2150 SERVER_HOME_DIR, to avoid compiler warnings.
2151
2152 * emacsserver.c (main) <homedir>: Make its declaration conditional
2153 on SERVER_HOME_DIR, to avoid compiler warnings.
2154
2155 * fakemail.c (readline): Cast buffer to "long *" to pacify
2156 over-zealous compilers.
2157
7c89ea61
EZ
21582000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2159
2160 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2161
a6768cc5
GM
21622000-12-15 Gerd Moellmann <gerd@gnu.org>
2163
2164 * ebrowse.c (operator_name): Cast argument of isalpha to
2165 unsigned char.
2166
2167 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2168 Use them throughout instead of ctype functions/macros.
2169 (lowcase): Cast to unsigned char.
2170 (UPCASE): New macro.
2171 (canonicalize_filename): Use UPCASE instead toupper.
2172
2173 * fakemail.c (get_keyword): Make sure that isspace and
2174 similar aren't called with a negative argument.
2175
70de49cc
DL
21762000-12-13 Dave Love <fx@gnu.org>
2177
2178 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2179
4e8b894c
AI
21802000-12-06 Andrew Innes <andrewi@gnu.org>
2181
2182 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2183 don't know the real version, and I can't seem to get the quoting
2184 right in all circumstances.
2185
2186 * ebrowse.c (VERSION): Provide default definition, like etags.c
2187 does, because Windows build can't snarf this from version.el.
2188
88257bc8
AI
21892000-11-30 Andrew Innes <andrewi@gnu.org>
2190
2191 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2192 (install): Ditto.
2193
d19249e7
JR
21942000-11-23 Jason Rumney <jasonr@gnu.org>
2195
2196 * makefile.w32-in: Add targets for ebrowse.exe.
2197 (LOCAL_FLAGS): Add -DVERSION flag.
2198
7df6adc3
DL
21992000-09-25 Dave Love <fx@gnu.org>
2200
2201 * sorted-doc.c: Include config.h.
2202 [!HAVE_STDLIB_H]: Declare malloc.
2203
fe83b953
AI
22042000-09-14 Andrew Innes <andrewi@gnu.org>
2205
2206 * makefile.w32-in: Revert to Unix line endings.
2207
517699ca
DL
22082000-09-04 Dave Love <fx@gnu.org>
2209
2210 * movemail.c (index, rindex): Prototype conditionally.
2211
f8803e97
AI
22122000-09-03 Andrew Innes <andrewi@gnu.org>
2213
2214 * makefile.w32-in: Change to DOS line endings.
2215
f72adc12
EZ
22162000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2217
4034f3a8 2218 * movemail.c (toplevel): Remove redundant fcntl.h.
f72adc12
EZ
2219 [!F_OK]: Provide default definitions only after including both
2220 fcntl.h and unistd.h.
2221
f678f592
DL
22222000-08-29 Dave Love <fx@gnu.org>
2223
2224 * movemail.c: Revert previous change.
2225
5b671d04
EZ
22262000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2227
2228 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2229
6fa86045
DL
22302000-08-28 Dave Love <fx@gnu.org>
2231
2232 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2233 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2234
746d9caf
AI
22352000-08-22 Andrew Innes <andrewi@gnu.org>
2236
2237 * ntlib.h (WIN32): Remove unnecessary definition.
2238 (sleep): Make argument unsigned long.
2239 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2240
2241 * ntlib.c (sleep): Make argument unsigned long.
2242
2243 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2244
2245 * makefile.w32-in: New file.
2246
3b541489
EZ
22472000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2248
2249 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2250 letter only if it is a drive letter.
2251
e5acf0ca
GM
22522000-07-14 Gerd Moellmann <gerd@gnu.org>
2253
02ce3e80 2254 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
e5acf0ca
GM
2255
2256 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2257 by alloca.o.
2258
02ce3e80 2259 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
e5acf0ca 2260
4b92c49a
GM
22612000-07-10 Gerd Moellmann <gerd@gnu.org>
2262
2263 * ebrowse.c (yylex): Accept string literals with newlines in them.
2264 (process_pp_line): Handle case of string literal with newline
2265 in it in replacement text, which counts as continuing the
2266 replacement text in GNU C.
2267
831a6cb0
GM
22682000-07-02 Gerd Moellmann <gerd@gnu.org>
2269
2270 * ebrowse.c (token_string): Add missing tokens.
2271 (parm_list): Handle case of qualified pointers.
2272
53245ee2
DL
22732000-06-23 Dave Love <fx@gnu.org>
2274
2275 * ebrowse.c: Move config.h before other includes (which may use
2276 feature tests).
2277
dcbf2cd2
JM
22782000-06-14 Jim Meyering <meyering@lucent.com>
2279
2280 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2281
f1c7754a
JR
22822000-06-11 Jason Rumney <jasonr@gnu.org>
2283
2284 * makefile.nt: Add targets for ebrowse.
2285
2286 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2287 compare filenames.
2288
5f1aea9a
GM
22892000-06-06 Gerd Moellmann <gerd@gnu.org>
2290
2291 * ebrowse.c (ymalloc): Renamed from xmalloc.
2292 (yrealloc): Renamed from xrealloc.
2293
5bf244f1
DL
22942000-05-21 Dave Love <fx@gnu.org>
2295
2296 * movemail.c: Include config.h, not ../src/config.h.
2297 (Errmsg): Bump length.
2298
2299 * pop.c (ERROR_MAX): Increase to 160.
2300
ec82fb2f
GM
23012000-05-04 Gerd Moellmann <gerd@gnu.org>
2302
2303 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2304
5c922ea7
EZ
23052000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2306
02ce3e80
SM
2307 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2308 Define to semi-colon.
5c922ea7 2309 (FILENAME_EQ): New macro, for comparing file names.
02ce3e80 2310 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
5c922ea7
EZ
2311 (process_file): Don't assume that fread always reads as many bytes
2312 as it was told to (DOS-style CR-LF text files fail this logic).
2313 (open_file): Allocate enough space for path->path plus the file
2314 name and the slash.
2315
6142fdcb 23162000-04-19 Dave Love <fx@gnu.org>
97052c63
DL
2317
2318 * etags.c (Texinfo_functions): New function.
2319 (lang_names): Install it.
2320 (Texinfo_suffixes): New variable.
2321
cb9215e4
GM
23222000-04-19 Gerd Moellmann <gerd@gnu.org>
2323
2324 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2325 (declaration): Remove parameter IS_EXTERN.
2326 (class_definition): Remove unused variable.
2327
be0dbdab
GM
23282000-04-09 Gerd Moellmann <gerd@gnu.org>
2329
2330 * Makefile.in (INSTALLABLES): Add ebrowse.
2331 (ebrowse): New target.
2332
2333 * ebrowse.c: New file.
2334
c5aa0fc2
AS
23352000-03-29 Andreas Schwab <schwab@suse.de>
2336
2337 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2338
d054101f
GM
23392000-03-02 Gerd Moellmann <gerd@gnu.org>
2340
2341 * etags.c (lisp_suffixes) Add `LSP'.
2342
ecc54057 23432000-02-10 Francesco Potort\e,Al\e(B <pot@gnu.org>
71cbb895 2344
eec54bd7 2345 * etags.c (iswhite): Redefine not to consider '\0' as white
71cbb895
FP
2346 space, and use it throughout in place of isspace, thus preventing a
2347 potential signed char to int conversion problem.
2348 (MSDOS): #undefine befere redefining
2349
ecc54057 23502000-02-04 Francesco Potort\e,Al\e(B <pot@gnu.org>
71cbb895
FP
2351
2352 * etags.c (many functions): Add prototypes.
2353
97fa0cc8
DL
23542000-02-10 Dave Love <fx@gnu.org>
2355
2356 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2357 (erlang_func): Add `static' to definitions to keep pcc happy.
2358
ecc54057 23592000-01-31 Francesco Potort\e,Al\e(B <pot@gnu.org>
e4100b7f
FP
2360
2361 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2362 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2363 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2364 (getenv, getcwd): Only declare them if necessary.
2365 (EMACS_NAME): New constant macro.
2366 (print_version): Use it.
2367 (P_) [__STDC__]: Macro for defining function prototypes.
e4100b7f 2368
19e262bd 23692000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
e4100b7f
FP
2370
2371 * etags.c [WINDOWSNT]: #include <direct.h>
2372
19e262bd 23732000-01-18 Martin Buchholz <martin@xemacs.org>
e4100b7f 2374
19e262bd
FP
2375 * etags.c (all functions): Made them static.
2376 (all functions): Write prototypes.
e4100b7f 2377
55e30d2a
RS
23782000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2379
2380 * movemail.c (main): Improve error message if can't create lock file.
2381
c60ee5e7 23822000-01-28 Eric Hanchrow <offby1@blarg.net>
875c1439
GM
2383
2384 * emacsclient.c (socket_status): New function.
02ce3e80 2385 (main): If $LOGNAME or $USER exist and differ from our euid, look
875c1439
GM
2386 for a socket based on the UID associated with the name.
2387
e4936aa9
GM
23882000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2389
2390 * emacsclient.c: Add option -a EDITOR and environment variable
2391 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2392
c60ee5e7 23931999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
791a9087
GM
2394
2395 * movemail.c (popmail): Allow mailbox specifications of the
2396 form `po:username:hostname'.
2397
ecc54057 23981999-11-19 Francesco Potort\e,Al\e(B <pot@gnu.org>
e2081362
FP
2399
2400 * etags.c (_GNU_SOURCE): Define only if undefined.
2401 (get_scheme): Declaration deleted.
02ce3e80 2402 (main): Error was called with an integer as second arg, instead of
e2081362
FP
2403 a char pointer.
2404 (canonicalize_filename): Bug removed.
2405
24061999-11-18 Dave Love <d.love@dl.ac.uk>
2407
2408 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2409 lossage from name clash with macro.
2410
b05d3bee
GM
24111999-11-13 Gerd Moellmann <gerd@gnu.org>
2412
2413 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2414
cb3a6c48
GM
24151999-11-03 Gerd Moellmann <gerd@gnu.org>
2416
2417 * etags.c (print_help): Change email address to send bugs to.
2418
ecc54057 24191999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>>
1c478461
FP
2420
2421 * etags.c: Add suffix psw for PSWrap.
2422 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2423 (Postscript_functions): Add code for PSWrap.
2424 (Scheme_functions): Use local pointer and new get_tag function.
2425 (get_tag): New name for old get_scheme.
2426 (process_file): Do not free NULL when file does not exist.
2427 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2428 (C_entries): Modifications that make --members tag even inside
2429 typedefs and C nested structs (one level only).
eec54bd7 2430 (consider_token): Correct a bug which prevented tagging of enum
1c478461 2431 constants.
eec54bd7 2432 (C_stab_entry): Add if, for, while, switch, return as
1c478461
FP
2433 st_C_ignore. This makes it simpler to work when cblev!=0.
2434
02ce3e80 2435 * etags.c (C_entries): Tag member function declarations when
1c478461
FP
2436 --declarations is used.
2437
2438 * etags.c (C_entries, consider_token): C++ `operator' now is
2439 tagged in most cases.
2440 As before, :: is not recognised if surrounded by spaces.
2441
2442 * etags.c (relative_filename): Account for DOS file names such
2443 that is impossible to make one relative to another.
2444
2445 * etags.c (sym_type): New st_C_extern tag.
2446 (gperf input): Use it for spotting external declarations.
2447 (print_help): Document the new behaviour of --declarations.
2448 (fvextern): New global variable.
2449 (consider_token, C_entries): Use it.
2450
2451 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
2452 (etags_getcwd): Remove test for WINDOWSNT.
2453
2454 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
2455 foo.cgz, foo.cz, etc.
2456
2457 * etags.c (declarations): New global switch.
2458 (longopts): Describe it.
2459 (print_help): Document it.
2460 (C_entries): Use it.
2461 (process_file): Don't process a file twice.
2462
2463 * etags.c (Fortran_functions): No tags for "procedure".
2464
24651999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
2466
2467 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
2468 non-zero, returns a pointer to where the extension begins; callers
2469 changed.
2470 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2471 were foo.c.gz.
2472
ecc54057 24731999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>
1c478461
FP
2474
2475 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2476 (fvdev): New constant foperator.
2477 (consider_token): Use it to get "operator" in C++.
2478 (C_entries): Extend length of operator@ function name.
2479 (C_entries): Use foperator when necessary.
2480
2481 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
2482
2483 * etags.c (compressor): New struct for compressed files.
2484 (get_compressor_from_suffix): New function.
2485 (get_language_from_suffix): Use it. Also, semantics changed.
2486 (process_file): Consider compressed files, close file.
2487 (find_entries): Use different call arg for get_language_from_suffix,
2488 don't close file.
2489
2490 * etags.c (main): Call free_tree.
2491 (find_entries): Do not free curfile.
2492 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
2493 (prolog_pred, erlang_func, substitute): Cast strlen to int when
2494 comparing.
2495 (canonicalize_filename): Shut up compiler warning.
2496 (Perl_functions): Make tag significant.
2497
24981999-11-01 Dave Love <d.love@dl.ac.uk>
2499
2500 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
2501 (argument_type): New member at_icregexp.
2502 (lc_trans): New global.
2503 (main): Fill lc_trans. Process -c args.
2504 (add_regex): New arg determining whether to use translation table.
2505 (analyse_regex): New arg. Use it for add_regex.
2506
ecc54057 25071999-11-01 Francesco Potort\e,Al\e(B <pot@gnu.org>
1c478461
FP
2508
2509 * etags.c (init): Cosmetic change: NULL --> '\0'.
2510 (erlang_attribute): Bug corrected (uninitialized variable).
2511 (filename_is_absolute): New function replaces absolutefn macro and
02ce3e80 2512 corrects a bug. All callers changed.
1c478461
FP
2513 (canonicalize_filename): New function.
2514 (process_file, etags_getcwd, absolute_dirname): Use it.
2515 (relative_filename, absolute_filename): Removed var shadowing.
2516 (C_entries, Pascal_functions): Add fake initializations to keep
02ce3e80 2517 compilers quiet.
1c478461
FP
2518 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
2519
2520 * etags.c (xrnew): New macro. All callers of xrealloc changed.
2521 (language): New typedef (was struct lang_entry).
2522 (curlang): New global variable.
02ce3e80 2523 (node): Typedef renamed from NODE.
1c478461
FP
2524 (linebuffer): New typedef (was struct linebuffer).
2525 (pattern): New typedef (was struct pattern). Some members added.
2526 Now used as element of a linked list.
2527 (patterns, num_patterns): Global variables deleted.
2528 (p_head): New global variable.
a64387ee 2529 (forced_lang): New global variable (replaces lang_func).
02ce3e80
SM
2530 (get_language_from_name, get_language_from_interpreter)
2531 (get_language_from_suffix): Semantics changed. All callers changed.
1c478461 2532 (last_node): New global variable.
02ce3e80
SM
2533 (free_tree, add_node, put_entries, total_size_of_entries):
2534 Change name of local vars to avoid clashes with typedef node.
1c478461
FP
2535 (number_len): Rewritten for elegance.
2536 (token): New typedef replaces TOKEN.
2537 (analyse_regex, add_regex): Rewritten for new functionality.
2538 (free_patterns): New function called from main and add_regex.
2539 (initbuffer, readline_internal, readline, grow_linebuffer):
02ce3e80 2540 Change name of local vars to avoid clashes with typedef linebuffer.
1c478461
FP
2541 (readline): Rewritten for new functionality.
2542
ecc54057 2543 * etags.c (Scheme_suffixes): New suffix ".ss".
1c478461
FP
2544 (print_help): --globals is now used for more than C-type languages.
2545 (Perl_functions): Tag global variables ("my" and "local").
2546
2547 * etags.c (print_help): Some messages clarified.
2548 (LOOP_ON_INPUT_LINES): New macro.
02ce3e80
SM
2549 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
2550 (Python_functions, Cobol_paragraphs, Pascal_functions)
2551 (Lisp_functions, Postscript_functions, Scheme_functions)
2552 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
2553 (Cobol_paragraphs, Postscript_functions, TeX_functions)
2554 (Prolog_functions, Erlang_functions): Use a local variable instead
1c478461
FP
2555 of the global variable dbp.
2556 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
2557 standard indentation.
2558
02ce3e80
SM
2559 * etags.c (Python_suffixes, lang_names, Python_functions):
2560 Python support.
1c478461 2561 (skip_spaces, skip_non_spaces): Utility functions.
02ce3e80
SM
2562 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
2563 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
2564 (prolog_pred, erlanf_func, erlang_attribute): Use them.
1c478461
FP
2565 (eat_white): Deleted.
2566
2567 * etags.c (CHAR, init): Keep into account non US-ASCII
2568 characters and compilers with default signed chars.
2569 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2570 constructs.
ecc54057 2571 (C_stab_entry): "interface" in Java behaves like "class".
1c478461 2572
ecc54057 2573 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
1c478461
FP
2574 (main): Put interval syntax here.
2575 (add_regex): And remove it from here.
2576
2577 * etags.c (suggest_asking_for_help): Provide a
2578 meaningful help message with and without LONG_OPTIONS.
2579
2580 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
2581 <stdlib.h, string.h>: Don't test MSDOS when including them.
2582 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
2583 (put_entries): Correctly use %ld instead of %d in printf.
2584
2585 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
2586 declare getcwd if HAVE_GETCWD.
2587 (consider_token): Dead break instruction removed.
2588
4ee9629e
PE
25891999-10-19 Paul Eggert <eggert@twinsun.com>
2590
2591 Add support for large files. Merge glibc 2.1.2.
1c478461 2592
4ee9629e
PE
2593 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
2594 movemail.c, pop.c:
2595 Do not include <stdlib.h>, as <config.h> does this now.
2596
2597 * b2m.c, emacsserver.c, etags.c, profile.c:
2598 Include <config.h> before any system include files.
1c478461 2599
4ee9629e
PE
2600 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
2601 test-distrib.c:
2602 (read, write, open, close): Do not undef.
2603
2604 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
2605 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
2606
2607 * getopt.h: Adopt glibc 2.1.2.
1c478461 2608
93c8d183
DL
26091999-10-15 Dave Love <fx@gnu.org>
2610
2611 * Makefile.in (pop.o): Depend on config.h.
2612
b358f91c
GM
26131999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2614
2615 * pop.c: Use "pop3" as the POP service name on all platforms,
2616 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
2617 has been the standard service name since RFC 1340 was published in
2618 July 1992, so I think it's safe to start using it by default.
2619
362bc2da
DL
26201999-09-27 Dave Love <fx@gnu.org>
2621
2622 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
2623
74e4cb59
PR
26241999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2625
2626 * make-docfile.c (scan_lisp_file): Fix previous changes;
2627 swallow CRLF like just CR or just LF.
2628
362bc2da
DL
26291999-09-03 Richard Stallman <rms@gnu.org>
2630
2631 * make-docfile.c: Include config.h not ../src/config.h.
2632 (main, fopen, chdir): Add #undef.
2633 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
2634 (scan_lisp_file): Handle \r like \n.
2635
26361999-08-30 Andreas Schwab <schwab@gnu.org>
2637
2638 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
2639
2640 * emacsserver.c: Include <stdlib.h> if available. Don't declare
2641 errno if it's a macro.
2642
2643 * test-distrib.c: Include <unistd.h> if available.
2644
26451999-08-29 Richard Stallman <rms@gnu.org>
2646
2647 * emacsclient.c (print_help_and_exit): Mention --version.
2648
26491999-08-25 Richard M. Stallman <rms@gnu.org>
2650
2651 * emacsclient.c (decode_options): Update version output.
2652 (print_help_and_exit): Update bug report address.
2653
26541999-08-13 Richard M. Stallman <rms@gnu.org>
2655
2656 * emacsclient.c (main): Move the dynamic allocation of
2657 system_name outside of the SERVER_HOME_DIR conditional.
2658 * emacsserver.c (main): Likewise.
2659
26601999-08-10 Gerd Moellmann <gerd@gnu.org>
2661
2662 * grep-changelog: New.
2663 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
2664
26651999-07-12 Richard Stallman <rms@gnu.org>
2666
2667 * Version 20.4 released.
2668
26691999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
2670
1c478461 2671 * Makefile.in (clean): Remove fns*.el.
362bc2da
DL
2672
26731999-06-23 Dave Love <fx@gnu.org>
2674
2675 * etags.c (erlang_attribute): Fix undefined variable usage (after
2676 Potorti).
2677
26781999-05-2 Andrew Innes <andrewi@gnu.org>
2679
2680 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
2681 mapped to _chsize.
2682
26831999-04-29 Richard M. Stallman <rms@gnu.org>
2684
2685 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
2686
26871999-03-30 Dave Love <fx@gnu.org>
2688
2689 * sorted-doc.c (main): Split up tables. Modify the preamble
2690 somewhat.
2691
26921999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2693
2694 * makefile.nt: Remove common multiple file compilation commands.
2695
26961999-02-26 Richard Stallman <rms@gnu.org>
2697
2698 * Version 20.4 released.
2699
2700 * Makefile.in (yow): Depend on epaths.h, not paths.h.
2701
2702 * yow.c: Refer to epaths.h.
2703
27041999-02-22 Simon Josefsson <jas@pdc.kth.se>
2705
2706 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
2707
27081999-01-27 Andrew Innes <andrewi@gnu.org>
2709
2710 * makefile.nt: Do make version comparison as strings.
2711
27121999-01-25 Richard Stallman <rms@gnu.org>
2713
2714 * emacsclient.c (xmalloc): Fix previous change.
2715
27161999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
2717
2718 * emacsclient.c (xmalloc): Declare to return long.
2719
27201999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2721
2722 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
2723 the case of the drive letter.
2724
27251999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
2726
2727 * emacsserver.c (main): Eliminate arbitrary limit on
2728 length of system_name.
2729
2730 * emacsclient.c (main): Eliminate arbitrary limit on
2731 length of system_name.
2732 (xmalloc): Define unconditionally.
2733
27341999-01-12 Darrin B. Jewell <jewell@mit.edu>
2735
2736 * etags.c (relative_filename): Stop backward search at beginning
2737 of string, since non-Unix systems can have absolute paths with no
2738 initial slash.
2739
27401998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2741
2742 * makefile.nt: Do string comparision of _NMAKE_VER.
2743
c60ee5e7 27441998-11-03 Theodore Jump <tjump@cais.com>
362bc2da
DL
2745
2746 * makefile.nt: Compile multiple source files when possible.
2747
27481998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
2749
2750 * Makefile.in: Replace tabs with spaces
2751 when they might confuse some Make versions.
2752
27531998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
2754
2755 * emacsclient.c (main): Null-terminate system_name.
2756
2757 * emacsserver.c (main): Null-terminate system_name.
2758
27591998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2760
2761 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
2762 an error message from POP, mention that it's from POP, to
2763 distinguish it from local error messages.
2764
27651998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2766
2767 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
2768 order of messages downloaded from a POP server (e.g., if the
2769 server stores messages in mailboxes in reverse order).
2770
27711998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2772
2773 * Version 20.3 released.
2774
27751998-08-11 Paul Eggert <eggert@twinsun.com>
2776
2777 * rcs2log: Update copyright date and bug report address.
2778 (initialize_fullname): Prefer getent if available.
2779
27801998-07-30 Paul Eggert <eggert@twinsun.com>
2781
2782 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
2783 Prepend $(srcdir)/ to rule dependencies outside this dir.
1c478461 2784
362bc2da
DL
27851998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
2786
2787 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
2788
27891998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
2790
2791 * Makefile.in: Properly terminate a comment.
2792
27931998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2794
2795 * movemail.c (sys_wait): Rename to wait.
2796
2797 * ntlib.h: Undefine _WINSOCKAPI_.
2798
2799 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
2800
28011998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2802
2803 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
2804
28051998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
2806
2807 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
2808 all file i/o to be in binary mode. Include ntlib.h.
2809
28101998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
2811
2812 * make-docfile.c: Include <unistd.h> for chdir.
2813
28141998-04-25 Richard Stallman <rms@psilocin.gnu.org>
2815
2816 * etags.c (TEX_decode_env): Don't free the value getenv returns.
2817
28181998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2819
2820 * makefile.nt (obj): Update with new files in src.
2821 (clean): Delete patch scratch files, optimized compilation dir.
2822
28231998-04-08 Dave Love <fx@gnu.org>
2824
2825 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
2826 Irix6, at least.
2827
28281998-04-06 Andreas Schwab <schwab@gnu.org>
2829
2830 Silence -Wimplicit:
2831 * movemail.c: Move cancelations up. Include <stdlib.h> if
2832 available.
2833 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
2834 (parse_header): Explicitly declare return type.
2835 * emacsserver.c: Include <unistd.h> if available.
2836 (main, handle_signals, perror_1, fatal_error): Explicitly declare
2837 return types. Add forward declarations.
2838 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
2839 Don't declare geteuid.
2840 (print_help_and_exit): Change return type to void. Forward
2841 declare it.
2842 * b2m.c: Include <stdlib.h> if available.
2843 (main): Explicitly declare return type.
2844
28451998-04-03 Richard Stallman <rms@delysid.gnu.org>
2846
2847 * etags.c (put_entries): Use %ld.
2848
2849 * b2m.c (fatal): Declare the arg.
2850
28511998-04-03 Richard Stallman <rms@psilocin.gnu.org>
2852
2853 * etags.c (put_entries): Use %ld.
2854
2855 * b2m.c (fatal): Declare the arg.
2856
28571998-03-26 Richard Stallman <rms@psilocin.gnu.org>
2858
2859 * pop.c (pop_getline): Renamed from getline.
2860
28611998-03-05 Richard Stallman <rms@psilocin.gnu.org>
2862
2863 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
2864 for the utilities.
2865
28661998-01-23 Dave Love <d.love@dl.ac.uk>
2867
2868 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
2869 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
2870 Always make named tags.
2871 (Fortran_functions): Grok BLOCK DATA.
2872
28731998-01-23 Andreas Schwab <schwab@gnu.org>
2874
2875 * movemail.c (main): Fix interwoven brace and cpp conditional
2876 nesting.
2877
28781997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
2879
2880 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2881 server to contain embedded nulls.
2882
28831997-12-03 Paul Eggert <eggert@delysid.gnu.org>
2884
2885 * movemail.c:
2886 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
2887 '>' any lines starting with "From " read from the POP server, but
2888 leave the code in place, wrapped in #ifdef
2889 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2890 because it turns out that something is depending on it. Change
2891 suggested by Paul Eggert <eggert@twinsun.com>.
2892 Convert the character \037 (^_) at the beginning of a line into
2893 the character '^' followed by the character '_', because otherwise
2894 Emacs can't parse the resulting file as a valid BABYL file.
2895 Change suggested by Paul Eggert <eggert@twinsun.com>.
2896
28971997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2898
2899 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2900 server to contain embedded nulls.
2901
29021997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
1c478461 2903
362bc2da
DL
2904 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
2905 quotes with a '>' any lines starting with "From " read from the
2906 POP server, but leave the code in place, wrapped in #ifdef
2907 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2908 because it turns out that something is depending on it. Change
2909 suggested by Paul Eggert <eggert@twinsun.com>.
2910
2911 Convert the character \037 (^_) at the beginning of a line into
2912 the character '^' followed by the character '_', because otherwise
2913 Emacs can't parse the resulting file as a valid BABYL file.
2914 Change suggested by Paul Eggert <eggert@twinsun.com>.
2915
29161997-11-22 Richard Stallman <rms@gnu.org>
2917
2918 * b2m.c: Include getopt.h.
2919 (main): Use getopt_long to handle --version and --help.
2920
2921 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
2922
29231997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2924
2925 * pop.c (fullwrite): Get rid of an extra call to write. Problem
2926 pointed out by Chiaki Ishikawa.
2927
29281997-10-16 Dave Love <d.love@dl.ac.uk>
2929
ecc54057
JB
2930 * etags.c (L_getit): Always make named tags so that Emacs
2931 completion on symbols containing `:' etc. works.
2932 (get_scheme): Likewise.
362bc2da
DL
2933
29341997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2935
2936 * pop.c: Use system header files instead of declaring C-library
2937 functions explicitly.
2938
29391997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2940
2941 * Version 20.2 released.
2942
29431997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2944
2945 * Version 20.1 released.
2946
29471997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
2948
2949 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
2950
2951 * ntlib.c (getpid): Delete function.
2952
29531997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2954
2955 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
2956
29571997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2958
2959 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
2960 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
2961
29621997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2963
2964 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
2965
29661997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
2967
2968 * profile.c (get_time): Cast arg to fprintf.
2969
2970 * hexl.c (main): Use %08lx instead of %08x in printf because the
2971 variable named addresses is long.
2972
29731997-08-08 Geoff Voelker <voelker@cs.washington.edu>
2974
2975 * makefile.nt (lisp): Update paths to lisp files that have moved.
2976
29771997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
2978
2979 * makefile.nt (ctags.obj): New target.
2980 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
2981
2982 * ntlib.h: Add includes.
2983 Undo definitions of crt routines from config.h.
2984
29851997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2986
2987 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2988
29891997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2990
2991 * pop.c: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
2992 Kerberos V5 for movemail, including detection of V4 and V5 header
2993 files and libraries.
362bc2da 2994 Include <string.h> when STDC_HEADERS is defined, to get
ecc54057 2995 declarations of string functions.
362bc2da 2996 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
ecc54057 2997 V5 API rather than the old one.
362bc2da 2998 [KERBEROS] (socket_connection): Change a constant name from
ecc54057
JB
2999 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3000 with a constant in a header file.
362bc2da
DL
3001
3002 * Makefile.in: Support auto-configuration of both Kerberos V4 and
ecc54057
JB
3003 Kerberos V5 for movemail, including detection of V4 and V5 header
3004 files and libraries.
362bc2da
DL
3005
30061997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3007
3008 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3009
3010 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
1c478461 3011
362bc2da
DL
30121997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3013
3014 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3015
30161997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3017
3018 * movemail.c (rindex): Add declaration.
3019
d57727c9 30201997-07-01 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
3021
3022 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3023 (movemail.exe): Depend upon and link with getopt files.
3024 (obj): Include new source files.
3025 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3026 (lisp): Include new and reorganized elisp files.
3027
30281997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3029
3030 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3031
30321997-06-25 Paul Eggert <eggert@twinsun.com>
3033
3034 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3035
30361997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3037
3038 * b2m.c (readline): Terminate buffer properly when EOF seen.
3039 Test for valid pointer before dereferencing it.
3040
ecc54057 30411997-05-30 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3042
3043 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3044 defined inside etags.c if HAVE_CONFIG_H is defined.
3045
ecc54057 30461997-05-29 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da 3047
ecc54057 3048 * etags.c (logical): Type name changed to bool.
362bc2da
DL
3049 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3050 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3051 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3052 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3053 (longopts): New long options without short counterpart are
3054 globals, members, no-globals, no-members. Regexp options are now
3055 defined conditionally to ETAGS_REGEXPS.
3056 (print_help): Updated.
3057
ecc54057 30581997-05-22 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3059
3060 * etags.c (C_entries): Use "." instead of "::" for Java.
3061 (consider_token): is_func renamed to is_func_or_var.
3062 (C_entries): is_func renamed to funorvar.
3063 (C_entries): Initialise tok.named.
3064 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3065 get rid of "import", "package" and "friend".
3066 (fvdef): Renamed from funcdef. Also some constants renamed. All
1c478461 3067 users changed.
362bc2da
DL
3068 (C_entries): Make separate tags for variables separated by comma.
3069 (globals, members): New flags.
3070 (main, C_entries): Use them.
3071 (make_C_tag, C_entries): Make tok a global variable.
1c478461 3072
ecc54057 30731997-05-16 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3074
3075 * etags.c (funcdef): New vignore constant.
3076 (consider_token, C_entries): Use it to tag global variables.
3077 (print_help): Update for global variables.
3078 (consider_token, C_entries): Set the len member of token_name.
3079 (prolog_pred): Cleanup according to GNU coding standards.
3080 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3081 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3082
ecc54057 30831997-05-15 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3084
3085 * etags.c (CHARS, CHAR): New constant and macro.
3086 (iswhite, begtoken, intoken, endtoken): Use them.
3087 (notinname, _nin, nonam): New macro, array, string.
3088 (init): Cleanup and init _nin.
3089 (new_pfnote): New function.
3090 (make_C_tag) [traditional_tag_style]: Use it.
3091 (traditional_tag_style): Costant set to TRUE for now.
3092
ecc54057 30931997-05-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3094
3095 * etags.c (C_entries, Pascal_functions): Cleanup.
3096 (TeX_functions): NULL as a function arg needs a cast.
3097 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3098
ecc54057 30991997-05-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3100
3101 * etags.c (TeX_functions): Cleaned up.
3102 (tex_getit): Removed.
3103
31041997-05-13 Paul Eggert <eggert@twinsun.com>
3105
3106 * rcs2log (files): When computing arguments automatically, ignore
ecc54057 3107 non-files within the RCS subdirectory.
362bc2da 3108
ecc54057 31091997-05-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3110
3111 * etags.c (C_JAVA): New #define.
3112 (Cjava_suffixes): .java is Java.
3113 (Cjava_entries): New function.
3114 (lang_names): Add Java.
3115 (sym_type): Add st_C_javastruct for Java.
3116 (C_stab_entry): Add `extends' and `implements' keywords.
3117 (consider_token, C_entries): Recognise Java structures.
3118
ecc54057 31191997-05-12 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da 3120
ecc54057 3121 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
362bc2da
DL
3122 (Postscript_suffixes): .ps is Postscript.
3123 (lang_names): Add Postscript.
3124 (Postscript_functions): New function.
3125 (TEX_decode_env): Close minor memory leak.
3126 (just_read_file): Correct the char number of the tag.
3127
31281997-05-11 Paul Eggert <eggert@twinsun.com>
3129
3130 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
ecc54057
JB
3131 Don't prepend $nl since this causes some shells to generate the
3132 empty string when IFS is $nl.
362bc2da 3133 (printlogline): Use SOH (octal code 1), not CR, since some
ecc54057 3134 PC-based shells mishandle CR.
362bc2da
DL
3135 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3136 nismatch, in case it's set to some nonstandard value.
1c478461 3137
362bc2da
DL
31381997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3139
3140 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3141 read in separate blocks.
3142
ecc54057 31431997-04-30 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3144
3145 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3146 (struct linebuffer): New member `len' is the length of the string.
3147 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3148 Use it instead of strlen.
3149 (TEX_getit): Declare and define unconditionally as static.
3150 (TeX_functions): Use if instead of #if TeX_named_tokens.
3151 (add_regex): Set RE_INTERVALS flag for regex compilation.
3152 (substitute): Code cleanup.
3153 (readline_internal): Code cleanup, set new member `len'.
3154 (readline): Bug corrected.
3155
31561997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3157
3158 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3159 (obj): Change references of nt*.c files to w32*.c files.
3160
ecc54057 31611997-04-15 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3162
3163 * etags.c (xnew): Add support for debugging with chkmalloc.
3164 (error): Use this instead of printf whenever possible.
3165 (main): Only call xnew after having initialised progname.
3166 (substitute): Bad memory corruption error corrected.
3167
ecc54057 31681997-04-08 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3169
3170 * etags.c (add_regex): Undo previous change.
3171 (relative_filename): Small memory leak closed.
3172 (absolute_filename): Cleaned up the code, possibly closing a bug.
3173 (absolute_dirname): Always return a newly allocated string.
1c478461 3174
362bc2da
DL
31751997-03-21 Paul Eggert <eggert@twinsun.com>
3176
3177 * rcs2log (files): Ignore files in RCS directory whose names are
ecc54057
JB
3178 of the form ,*, or *_; they are probably RCS lock files.
3179 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
362bc2da
DL
3180 they are used by rcsfreeze.
3181
ecc54057 31821997-03-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da 3183
2f2c687b 3184 * etags.c (add_regex): Reset *putbuf before using it.
362bc2da
DL
3185
31861997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3187
3188 * movemail.c (popmail): Remove some unnecessary function
3189 declarations.
3190 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3191 into pop_retr, there's no reason to pass in mbx_write, and the
3192 file argument can be declared FILE * explicitly. This fixes a
3193 compilation problem on systems with 64-bit pointers.
3194
31951997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3196
3197 * movemail.c: Delete duplicate inclusion of fcntl.h
3198 and duplicate #undefs of open, read, write, close.
3199
32001997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3201
3202 * movemail.c (main): Do not display "[POP-password]" in the usage
3203 message when movemail is compiled without POP support.
3204 (main, popmail): Add the optional "-p" argument, which causes
3205 movemail to leave mail in the inbox after copying it into the
3206 output file.
1c478461 3207
362bc2da
DL
3208 * Makefile.in (movemail): Link with getopt.
3209
32101997-01-20 Paul Eggert <eggert@twinsun.com>
3211
ecc54057 3212 * rcs2log (--help, --version): New options, per GNU coding standards.
362bc2da
DL
3213 (Copyright, Help, Id): New variables, for above.
3214 (rlog): Use -q option with cvs log, to avoid useless chatter.
3215
3216 Treat logs of "Initial revision" (RCS) or "file F was initially added
3217 on branch B." (CVS) as if they said "New file.", for consistency with
3218 change log entries.
3219
32201997-01-01 Paul Eggert <eggert@twinsun.com>
3221
3222 * vcdiff (PATH): Add /usr/xpg4/bin,
3223 where XPG4 SCCS hangs out in Solaris 2.5.
3224 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3225
32261996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3227
3228 * etags.c (streq, strneq): Use == NULL rather than !.
3229
32301996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3231
3232 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
ecc54057 3233 (movemail): Use LIBMAIL, to link against -lmail.
362bc2da
DL
3234
3235 * movemail.c: Include maillock.h (conditionally).
3236 Remove a redundant inclusion of <stdio.h>.
3237 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3238 (main): Add variable spool_name.
3239 Support the usage of maillock and mailunlock to
ecc54057 3240 lock and unlock mailboxes.
362bc2da
DL
3241 (mail_spool_name): New function.
3242
3243 * movemail.c: Fix an uninitialized variable which could cause
ecc54057
JB
3244 movemail to exit with an error status incorrectly on systems which
3245 use lock files rather than a system locking function to lock
3246 mailboxes.
362bc2da
DL
3247
32481996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3249
3250 * pop.c (socket_connection): Free realhost after using it.
3251
ecc54057 32521996-12-04 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3253
3254 * etags.c (C_entries): Test tok.valid. This handles some
3255 particular cases involving function declarations that failed.
3256
32571996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
1c478461 3258
362bc2da
DL
3259 * pop.c (socket_connection):
3260 gethostbyname may return a pointer to static data.
3261 krb_realmofhost can clobber it. So copy it.
3262
ecc54057 32631996-11-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3264
3265 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3266 must cast it to (char *) because we have no prototypes.
3267 (make_C_tag): Macro deleted, new function.
3268 (C_entries): Calls to make_C_tag macro changed to call function.
3269
ecc54057 32701996-11-13 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3271
3272 * etags.c (grow_linebuffer): New function.
3273 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3274 (make_tag): Macro renamed to make_C_tag. All callers changed.
3275 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3276 (Prolog_functions): prolog_skip_comment was called with wrong
3277 number of arguments.
3278 (xrealloc): fatal was called with wrong number of arguments
3279
ecc54057 32801996-11-08 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3281
3282 * etags.c (relative_filename): Bug corrected.
3283 (etags_getcwd): Avoid warning of unused variable.
3284 (C_entries, consider_token): Added support for enum labels.
3285
32861996-11-03 Paul Eggert <eggert@twinsun.com>
3287
3288 * rcs2log: When processing cvs log output, remove `Attic/' from
ecc54057 3289 repository file names.
362bc2da
DL
3290
32911996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3292
3293 * emacsserver.c: Fix 1996-09-02 change.
3294
32951996-10-12 Paul Eggert <eggert@twinsun.com>
3296
3297 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
ecc54057 3298 option', since CVS says 'invalid option'.
362bc2da
DL
3299 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3300 revisions, since some hosts reject 1970-01-01 when east of UTC.
3301 (date): Remove.
3302
33031996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3304
3305 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3306
ecc54057 33071996-10-02 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3308
3309 * etags.c (print_version): Print copyright info.
3310
3311 * etags.c (print_help): Print the bug reporting address.
3312 (main): Use return as the last instruction, instead of exit.
3313
3314 * etags.c (main): Don't open the tags file in cxref mode.
3315
33161996-09-29 Dave Love <d.love@dl.ac.uk>
3317
3318 * rcs2log (date): Make default format acceptable to CVS post v1.8
ecc54057 3319 as well as earlier CVSs and RCS.
362bc2da
DL
3320
33211996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3322
3323 * movemail.c (main): If the lock call fails with EBUSY or
3324 EAGAIN, retry a few times.
3325
33261996-09-25 Paul Eggert <eggert@twinsun.com>
3327
3328 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
ecc54057 3329 whether to append -zLT.
362bc2da
DL
3330
33311996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3332
3333 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3334 * emacsclient.c, movemail.c: Likewise.
3335
33361996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3337
3338 * emacsclient.c (longopts): Change nowait to no-wait.
3339 (print_help_and_exit): Fix option name; upcase metavars.
3340
33411996-09-06 Erik Naggum <erik@naggum.no>
3342
3343 * emacsserver.c (main): Declare `fromlen' as size_t.
3344
33451996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3346
3347 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3348
33491996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3350
3351 * emacsclient.c (quote_file_name): Quote with &, not \.
3352 Quote `-' only at start of file name. Terminate the value string.
3353
3354 * emacsserver.c: Include signal.h properly;
3355 delete the duplicate includes for it.
3356
3357 * emacsserver.c: On fatal signal, delete socket-file:
3358 * emacsserver.c: Include signal.h.
ecc54057 3359 (xmalloc, fatal, error): New functions.
362bc2da
DL
3360 (delete_socket, handle_signals): New functions.
3361 (progname, socket_name): New variables.
3362 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3363
33641996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3365
3366 * emacsclient.c (quote_file_name): New function.
3367 (main, both versions): Use quote_file_name.
3368 (decode_options): Don't return a value.
3369 (main, both versions): Use optind.
3370 Don't check for -nowait here.
1c478461 3371
362bc2da
DL
3372 * emacsclient.c (decode_options): New function.
3373 (main, both versions): Call decode_options.
3374 (print_help_and_exit): New function.
3375 (VERSION): New macro.
3376
3377 * Makefile.in (emacsclient): Link with getopt.
3378 Add -DVERSION so emacsclient knows its version number.
3379
33801996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3381
3382 * makefile.nt (lisp): Include dos-nt.elc.
3383
33841996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3385
3386 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3387
33881996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3389
3390 * emacsclient.c (both versions): Handle -nowait and --nowait
3391 by sending data to the server.
3392
33931996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3394
3395 * Makefile.in (INSTALL_STRIP): New variable.
3396 (${archlibdir}): Use INSTALL_STRIP.
3397
3398 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3399 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3400
3401 * pop.c: Reverse conditional in previous change.
3402
34031996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3404
3405 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3406
34071996-08-24 Paul Eggert <eggert@twinsun.com>
3408
3409 * rcs2log: Use ISO 8601 date format, with time zone appended
3410 if change-log-time-zone-rule is non-nil, instead of
3411 traditional Unix date format.
3412
3413 (datearg): When computing default from ChangeLog, handle ISO format
3414 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3415 Don't worry about hh:mm:ss since the resolution is now by day.
3416 Use emtpy datearg, not empty rlog_options, to decide whether to pass
3417 "$datearg" option to $rlog.
3418 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3419 (month_data): Remove `mo'; no longer needed.
3420 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
3421
3422 Match `revision' line of rlog output more accurately.
3423
3424 Add -c, -v options.
3425
34261996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3427
3428 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3429
34301996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3431
3432 * Version 19.33 released.
3433
34341996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3435
3436 * Version 19.32 released.
3437
34381996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3439
3440 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3441 computing character positions in source files.
3442
34431996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3444
3445 * makefile.nt (clean): Use OBJDIR macro.
3446
34471996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3448
3449 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3450
c60ee5e7 34511996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
362bc2da 3452
ecc54057 3453 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
362bc2da
DL
3454 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3455 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
3456
34571996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
3458
3459 * ntlib.h: Correct return type of getwd.
3460 * ntlib.c (getwd): Correct return type.
3461
34621996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3463
3464 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
3465 to infile.
3466
34671996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3468
3469 * makefile.nt: Remove all references to wakeup.
3470
ecc54057 34711996-06-28 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3472
3473 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3474 explicit, mutable, typename.
3475
34761996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3477
3478 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
3479 streams, one for sending and one for reading the reply.
3480
34811996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3482
3483 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
3484 (wakeup): Target deleted.
3485 (UTILITIES): Delete wakeup and timer.
3486
3487 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
3488
34891996-06-11 Geoff Voelker <voelker@cs.washington.edu>
3490
3491 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
3492 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
3493
34941996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3495
3496 * etags.c (main): Copy cwd when appending slash.
3497
34981996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3499
3500 * Version 19.31 released.
3501
ecc54057 35021996-05-17 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3503
3504 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3505 (Pascal_functions): Increase linecharno by the correct number of
3506 chars, inline the GET_NEW_LINE macro and delete its definition.
3507
c60ee5e7 35081996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3509
3510 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
3511
c60ee5e7 35121996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
362bc2da
DL
3513
3514 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
3515 (movemail.exe, fakemail.exe): Now built under Win32.o
3516
3517 * ntlib.c: Include ntlib.h.
3518 (nt_sleep): Rename to sleep.
3519 (getwd): Return directory.
3520 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
3521 sys_ctime, sys_fopen): New functions.
3522
3523 * ntlib.h: New file.
3524
35251996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3526
3527 * pop.c (SEND, RECV): Renamed from send, recv.
3528 (pop_open, pop_trash): Make the trash_started code unconditional.
3529 (socket_connection): Delete casts to void.
3530
35311996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3532
3533 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
3534 copied from lisp.h.
3535
35361996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
3537
3538 * fakemail.c [WINDOWSNT]: Include ntlib.h.
3539
3540 * hexl.c [DOSNT]: Include fcntl.h.
3541 [WINDOWSNT]: Include io.h.
3542 (main) [MSDOS]: Change conditional to DOS_NT.
3543
3544 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
3545 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
3546 [WINDOWSNT]: Include locking.h.
3547 (main): Update usage message. Use IS_DIRECTORY_SEP.
3548 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
3549 (main) [WINDOWSNT]: Invoke locking instead of flock.
3550 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
3551 (main) [MAIL_USE_POP]: Pass password to popmail if used.
3552 Include winsock.h; don't include unix inet headers.
3553 (popmail): Add password argument and pass it to pop_open.
3554 Open output file in binary mode.
3555
3556 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
1c478461 3557 Macro SOCKET_ERROR undefined.
362bc2da
DL
3558 Don't declare h_errno.
3559 [!WINDOWSNT]: Define macros recv and send.
3560 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
3561 (pop_open) [WINDOWSNT]: Initialize trash_started.
3562 (have_winsock) [WINDOWSNT]: New variable.
3563 (socket_connection) [WINDOWSNT]: Initialize winsock.
3564 (socket_connection): Use closesocket instead of close.
3565 (getline): Use recv instead of read.
3566 (fullwrite): Use send instead of write.
3567 (pop_trash): Use closesocket instead of close.
3568 (pop_trash) [WINDOWSNT]: Cleanup winsock.
3569 Check if being called recursively by sendline.
3570
3571 * pop.h (struct _popserver): New field trash_started.
3572
3573 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
3574
35751996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3576
3577 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
3578
35791996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3580
3581 * etags.c [WINDOWSNT]: Include io.h.
3582
35831996-04-10 Geoff Voelker <voelker@cs.washington.edu>
3584
3585 * makefile.nt (CTAGSOBJ): Compile with regexp support.
3586
35871996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
3588
3589 * hexl.c [DJGPP v2]: Include io.h.
3590 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
3591
3592 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
3593 DJGPP v2.
3594
35951996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3596
3597 * etags.c (absolute_filename): Use absolutefn.
3598
35991996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
3600
3601 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
3602 letter isn't an alphabetic character.
3603 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
3604 (process_file) [DOS_NT]: Convert all slashes to forward style.
3605 (absolute_filename) [DOS_NT]: Emit error message for relative
3606 paths with a drive letter.
3607 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
3608 DOS/NT drive letters which try to reference the parent of the root.
3609 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
3610
36111996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3612
3613 * makefile.nt: Change uses of del to $(DEL).
3614
ecc54057 36151996-03-22 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3616
3617 * etags.c (just_read_file): Reset lineno and charno on entry.
3618
36191996-03-15 Anders Lindgren <andersl@csd.uu.se>
3620
3621 * etags.c: Prolog language totaly rewritten.
ecc54057 3622 (Prolog_functions): Rewritten from scratch.
362bc2da 3623 (skip_comment, prolog_getit): Removed.
ecc54057
JB
3624 (prolog_skip_comment): New function, like old skip_comment.
3625 (prolog_pred, prolog_atom, prolog_white): New functions.
3626 (erlang_func, erlang_attributes): Forward declarations added.
3627 (erlang_atom): Check if backslash ends line inside quoted atom.
362bc2da 3628
ecc54057 36291996-03-14 Francesco Potort\e,Al\e(B <F.Potorti@cnuce.cnr.it>
362bc2da
DL
3630
3631 * etags.c (absolutefn): DOS_NT version corrected.
3632 (main): Append "/" to the dir name only if not already there.
3633 (print_help): Explain the absolute/relative file name issue.
1c478461 3634
362bc2da
DL
36351996-03-08 Anders Lindgren <andersl@csd.uu.se>
3636
3637 * etags.c: New Languange Erlang added.
3638 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
3639 erlang_white): New functions.
3640 (Erlang_suffixes): New suffix list.
3641 (lang_names): Erlang entry added.
3642 (prolog_getit): Accepts headers spanning several lines.
3643 Always name tags.
3644 (Prolog_functions): Removed incorrect compensation for
3645 newline characters.
3646 (readline_internal): Zero-terminate last line.
3647
36481996-03-20 Mike Long <mike.long@analog.com>
3649
3650 * b2m.c (main): Initialize progname variable before using it.
3651 Quote `username' in From_ header.
3652
36531996-03-18 Geoff Voelker <voelker@cs.washington.edu>
3654
3655 * ntlib.c (getpid): New function.
3656
36571996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3658
3659 * emacsclient.c (main, both definitions):
3660 Print a newline for normal termination.
3661
36621996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
3663
3664 * tcp.c (main): Convert port to network byte order.
3665
36661996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
3667
3668 * pop.c (pop_retrieve, getline): Avoid type clashes.
3669
36701996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
3671
3672 * etags.c (enum sym_type, anonymous enum): Delete final comma.
3673
36741996-01-15 Paul Eggert <eggert@twinsun.com>
3675
3676 * rcs2log (initialize_fullname): Add support for NIS+.
3677 (hostname): Fully qualify the default hostname with the domainname
3678 if the hostname lacks a `.'.
3679
36801996-01-15 Paul Eggert <eggert@twinsun.com>
3681
3682 * rcs2log (initialize_fullname): Add support for NIS+.
3683 (hostname): Fully qualify the default hostname with the domainname
3684 if the hostname lacks a `.'.
3685
36861996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
3687
3688 * etags.c (consider_token): Fix typo in expression.
3689
36901996-01-04 Paul Eggert <eggert@twinsun.com>
3691
3692 * etags.c (substitute): Fix spelling in message.
3693
36941996-01-03 George V. Reilly <georger@microcrafts.com>
3695
3696 * makefile.nt (etags, ctags): Compile with regexp support.
3697 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
3698 subdirectory exists before compiling.
1c478461 3699
362bc2da
DL
37001996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
3701
3702 * emacsserver.c (main): Do chmod based on existing permission.
3703
37041995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3705
3706 * Makefile.in (install): Turn on read/execute permission.
3707
37081995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3709
3710 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
3711 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
3712
37131995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3714
3715 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3716
ecc54057 37171995-12-07 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
362bc2da
DL
3718
3719 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3720 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3721 get_scheme, prolog_getit): Name the tag in ctags mode.
3722 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3723 (Perl_interpreters): Accept "@PERL@" as an interpreter.
3724 (suggest_asking_for_help): New function.
3725 (main, get_language_from_name): Use suggest_asking_for_help.
3726 (main): Let get_language_from_name make language existence check.
3727 (streq, strneq): Check the arguments #if DEBUG.
3728
ecc54057 37291995-12-06 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
362bc2da
DL
3730
3731 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3732 (gperf): Added keywords for Objective C and GNU macros.
3733 (sym_type): Added values to account for Objective C and GNU macros.
3734 (begtk): The '@' character can start a token.
3735 (objdef, methodlen, objtag): New variables for Objective C.
3736 (consider_token, C_entries): Added code for Objective C.
3737 (plain_C_suffixes): Add .m and .lm for Objective C.
3738 (Yacc_suffixes): Add .ym for Objective yacc.
3739 (GROW_LINEBUFFER): New macro.
3740 (consider_token, C_entries, Pascal_functions): Use the new macro.
3741 (consider_token): Take one more argument. Caller changed.
3742 (consider_token): Use the hashing function to spot GNU macros.
3743 (C_entries): Consider // as a comment start even in plain C for
3744 the sake of Objective C parsing.
3745
ecc54057 37461995-12-04 Francesco Potort\e,Al\e(B <pot@cnuce.cnr.it>
362bc2da 3747
2f2c687b 3748 * Makefile.in (ctags): Depend on etags only for simplicity;
ecc54057 3749 compile with regexp support enabled.
362bc2da
DL
3750
37511995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3752
3753 * Version 19.30 released.
3754
37551995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3756
3757 * makefile.nt (DOC, clean): Don't use switches to del not
3758 supported by Windows 95.
3759
37601995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3761
3762 * Makefile.in (regex.o): Depend on ../src/config.h.
3763
37641995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3765
3766 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
3767 (LOADLIBES): Use LIB_STANDARD.
3768
37691995-11-07 Kevin Gallo <kgallo@microsoft.com>
3770
3771 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3772 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3773 Windows 95 conditional.
3774
ecc54057 37751995-11-06 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3776
3777 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3778 get_lang_from_suffix): New functions.
3779 (get_language): Function deleted.
3780 (lang_entry): Two members added to struct.
3781 (lang_names): Reflect the new layout of lang_entry.
3782 (print_language_names, main, find_entries): Use the new functions.
3783 (find_entries): Look at the first line for #! if no language.
3784 (C_entries): Invalidate the token when funcdef is reset.
3785 (Perl_functions): New function.
3786 (lang_suffixes): .pl and .pm are Perl suffixes.
3787
ecc54057 37881995-11-02 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3789
3790 * etags.c (lowcase): Use the standard tolower function.
3791 (substitute): Remove some wrong and some useless code related with
a64387ee 3792 escape '\' character in regexp replacement string.
362bc2da
DL
3793 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3794 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
3795 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
3796 .prolog for prolog (.pl removed).
3797 (massage_name, etags_getcwd): Use lowcase instead of tolower.
3798 (C_entries, find_entries): Added comments about memory leakage.
3799 (add_node): Dead code removed.
3800
38011995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3802
3803 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
3804 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
3805
38061995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3807
3808 * test-distrib.c: Add #undef for open, close, read, write.
3809
38101995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3811
3812 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3813 [! O_RDONLY]: Define it to zero.
3814 (main): Use O_RDONLY instead of explicit zero.
3815
ecc54057 38161995-08-17 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3817
3818 * etags.c (Pascal_functions): Close comment bug corrected.
3819 (add_node): Correctly compare node file names.
3820 (Pascal_functions): Correctly allocate and free memory for tline.
3821 (pfnote): Put the definition of fp in the innermost block.
3822 (NODE): `named' member removed.
3823 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
1c478461 3824 use the `named' member, check whether `name' is NULL instead.
362bc2da
DL
3825 (pfnote): `named' argument removed, all callers changed.
3826 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3827 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
1c478461 3828 removed from pfnote call, some code cleanup.
362bc2da
DL
3829 (relative_filename): Free temporary space allocated by concat.
3830
38311995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3832
3833 * Makefile.in (getdate.c): New target.
3834 (getdate.o): Just compile getdate.c.
3835
38361995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
3837
3838 * fakemail.c (xrealloc): Change cast to match return type.
3839
38401995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3841
3842 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
3843
38441995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3845
3846 * movemail.c (main): Fix previous change.
3847 Add error check for empty OUTNAME.
3848
38491995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3850
3851 * movemail.c (main): Mention lock file name in error message.
3852
38531995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3854
3855 * profile.c (gettimeofday): New function, defined if necessary.
3856
38571995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3858
3859 * Makefile.in: Renamed from Makefile.in.in.
3860 (distclean): Delete Makefile.c, not Makefile.in.
3861
38621995-07-17 Michael Shields <shields@tembel.org>
3863
3864 * Makefile.in.in (tags): Synonym for `TAGS'.
3865
38661995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3867
3868 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3869 configure has already set $(INSTALL) to the proper relative path.
3870
ecc54057 38711995-06-27 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 3872
2f2c687b
JB
3873 * etags.c (plain_C_entries): New function.
3874 (lowcase): New macro.
3875 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
3876 (lang_suffixes): New suffix ".pc" for Pro*C files.
3877 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
3878 (tail): Look for the end of the token when comparing.
3879 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
3880
38811995-07-08 Paul Eggert <eggert@twinsun.com>
3882
3883 * rcs2log (datearg): Separate date from time with comma, not space,
3884 to work around CVS 1.5 bug.
3885 (CVSROOT): Don't abort when unset if repository is absolute.
3886
38871995-07-07 Paul Eggert <eggert@twinsun.com>
3888
3889 * rcs-checkin, rcs2log, vcdiff:
3890 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
3891 that interpret `#! /' as a 4-byte magic number.
3892
38931995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
3894
3895 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
3896 mailbox with "po:mailbox", the mailbox is everything after the
3897 "po:" prefix.
3898
38991995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3900
3901 * emacsserver.c: Make all error messages start with `Error: '.
ecc54057 3902 (fatal_error, perror_1): New functions, use throughout.
362bc2da
DL
3903
39041995-06-28 Paul Eggert <eggert@twinsun.com>
3905
3906 * rcs2log (CVSROOT, repository):
3907 Allow remote repositories a la CVS 1.4.
3908
ecc54057 39091995-06-27 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 3910
2f2c687b
JB
3911 * etags.c (plain_C_entries): New function.
3912 (lowcase): New macro.
3913 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
3914 (lang_suffixes): New suffix ".pc" for Pro*C files.
3915 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
3916 (tail): Look for the end of the token when comparing.
3917 (takeprec): Since now tail behaves differently, use strneq.
362bc2da
DL
3918
39191995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3920
3921 * movemail.c (main): Add newline in usage message.
3922
39231995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3924
3925 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3926
ecc54057 39271995-06-21 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3928
3929 * etags.c (find_entries): Rewind before rereading the input file.
3930
39311995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3932
3933 * Version 19.29 released.
3934
3935 * make-docfile.c (main) [MSDOS]: Do set _fmode.
3936 This undoes part of the previous change.
3937
39381995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3939
3940 * make-docfile.c (main): On MSDOS, don't change stdout
3941 to binary, and insist on an -o option.
3942
39431995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3944
3945 * etags.c (process_file,absolute_filename): Handle filenames
3946 starting with a drive letter.
3947
3948 * makefile.nt (install): Copy wakeup.exe properly.
3949
39501995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
3951
3952 * make-docfile.c [MSDOS]: #undef chdir.
3953
39541995-06-04 Paul Eggert <eggert@twinsun.com>
3955
3956 * rcs2log (output_authors): Allow ':' in time zone,
3957 as per ISO 8601 and RCS 5.6.8 beta.
3958
ecc54057 39591995-05-29 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3960
3961 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
3962 compatibility problems.
3963
39641995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
3965
3966 * etags.c (etags_getcwd): Don't use #elif.
3967 Have just one function body.
3968
39691995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3970
3971 * makefile.nt (LIBS): Use BASE_LIBS.
3972 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
3973 upon LIBS.
3974 (DOC): Use del instead of rm.
3975 (DOC) [WINDOWS95]: Use DOC.
3976 (clean): Handle MSVC aux files.
3977 (config.h,paths.h): Use $(CP) instead of cp.
3978 (config.h): Use $(CONFIG_H)
3979 (make-docfile.obj): Depend upon config.h.
3980 Clean up comments.
3981
ecc54057 39821995-05-23 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
3983
3984 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3985 former gives the true path even in the presence of simlinks.
3986
39871995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3988
3989 * movemail.c (main): Increase lock timeout to five minutes.
3990
39911995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3992
3993 * makefile.nt (obj): Use .c files.
3994
39951995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3996
3997 * make-docfile.c: Include config.h.
3998 (NO_SHORTNAMES): New definition.
3999 (xmalloc): Return long *.
4000
4001 * etags.c (C_entries): Cast result of xrealloc.
4002 (xmalloc, xrealloc): Declare them to return long *.
4003
4004 * b2m.c (xmalloc, xrealloc): Declare them long *.
4005
4006 * movemail.c (xmalloc): Declare it to return long *.
4007
40081995-04-30 Paul Eggert <eggert@twinsun.com>
4009
4010 * rcs2log (datearg): If rlog options are specified explicitly,
4011 omit the implicit '-d>DATE' option.
4012 (repository, rlog): Allow absolute paths to CVS repositories.
4013 Look only at the first line of CVS/Repository.
4014
40151995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4016
4017 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4018 realclean.
4019
40201995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4021
4022 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4023 Alternative (empty) definitions.
4024
40251995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4026
4027 * emacsclient.c (main): Add argv[0] to an error message.
4028
40291995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4030
4031 * emacsclient.c (main): Improve error handling.
4032 * cvtmail.c (main, skip_to_lf): Improve error handling.
4033 (sysfail): New function.
4034
4035 * b2m.c (main): Check for trailing ", " before trying to delete it.
4036
40371995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4038
4039 * Makefile.in.in (all): Build test-distrib and make-docfile.
4040
4041 * make-docfile.c (scan_c_file): At end, restore file name last char
4042 to its original value.
4043
40441995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4045
4046 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4047
40481995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4049
4050 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4051 (alloca.o, regex.o): Use BASE_CFLAGS.
4052
40531995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4054
4055 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4056
40571995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4058
4059 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4060 (SOURCES, distclean): Removed obsolete references to aixcc.
4061
40621995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4063
4064 * aixcc.lex: File deleted--surely obsolete now.
4065
40661995-03-23 Paul Eggert <eggert@twinsun.com>
4067
4068 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4069 portability to mawk and nawk.
4070
40711995-03-21 Paul Eggert <eggert@twinsun.com>
4072
4073 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4074 -u "login<tab>fullname<tab>mailaddr".
4075
40761995-03-21 Paul Eggert <eggert@twinsun.com>
4077
4078 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4079 replaces the (now obsolescent) -n login fullname mailaddr option.
4080 Add -R option for recursive rlog.
4081 (AWK): New environment variable (default `awk') for awk program name.
4082 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4083 Quote authors and fullnames correctly.
4084 Don't omit path from repository root when logging CVS files.
4085
40861995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4087
4088 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4089 even if HAVE_SYSVIPC.
4090 * emacsclient.c (main): Use getcwd if not BSD.
4091
ecc54057 40921995-03-13 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4093
2f2c687b 4094 * etags.c (process_file): Free (filename) after using it.
362bc2da
DL
4095 (readline_internal): Do not access the char before start of line.
4096
ecc54057 40971995-02-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4098
4099 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4100 savetok.valid. Mark token as valid when it is initialised.
4101 (make_tag): Make token only if token is valid and reset validity.
4102 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4103 (TOKEN): Added a new member: valid.
4104
ecc54057 41051995-02-15 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4106
4107 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4108 (main): Do not read twice the last filename in the stdin file list.
4109
ecc54057 41101995-02-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4111
4112 * etags.c (C_entries): Initialise the new members of TOKEN.
4113 (C_entries): Do not allocate a new space for each token found by
4114 consider_token. Let make_tag do that instead.
4115 (make_tag): Since now TOKEN has memory of where it is taken from,
4116 this new macro substitutes both make_tag_from_new_lb and
4117 make_tag_from_oth_lb. All callers changed.
4118 (TOKEN): Add linepos and buffer members.
4119 (main): Initialise token_str.
4120 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4121 (token_str): New global variable used by C_entries.
4122
41231995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4124
4125 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4126
ecc54057 41271995-02-01 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4128
4129 * etags.c (pfnote): Initialise been_warned in the node.
4130 (C_entries): Removed a speed hack for the sake of clarity.
4131
ecc54057 41321995-01-18 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4133
4134 * etags.c (longopts, print_help, main): Use -I as abbreviation
4135 for the --ignore-indentation option.
4136 (main): Do not print an error message for unknown options.
4137
ecc54057 41381995-01-12 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4139
4140 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
4141 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
4142 constantypedefs, update, vgrind_style, no_warnings,
4143 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
4144 (permit_duplicates): Was a var, now a #define.
4145 (filename_lb): Was global, now local to main.
4146 (main): Open the tag file when in cxref mode.
4147 Use a BUFSIZ size buffer for making the shell commands.
4148 Look at the return value from the system routine.
4149 Exit when cannot open the tag file.
4150 (process_file): Open the file and pass the FILE* to find_entries.
4151 (find_entries): Now void, because does not open the file itself.
4152 (pfnote): Recovering from lack of memory does not work. Removed.
4153 Use savenstr and simplify the code.
4154 (free_tree): Only free the name space if node is named.
4155 (structtag): Now a pointer, not a fixed length array of chars.
4156 (consider_token): Don't take a token as argument. Use savenstr
4157 when saving a tag in structtag. Callers changed.
4158 (TOKEN): Structure changed. Now used only in C_entries.
4159 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4160 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4161 (pfcnt): Deleted. Users updated.
4162 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4163 TEX_getit, prolog_getit): Use dinamic allocation for storing
4164 the tag instead of a fixed size buffer.
4165
41661995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4167
4168 * movemail.c (main): Skip past the colon in inname.
4169
ecc54057 41701995-01-10 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4171
4172 * etags.c (pfatal): New function.
4173 (main, etags_getcwd): Use pfatal.
4174 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4175
ecc54057 41761995-01-10 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4177
4178 * etags.c (Lang_function): Use void instead to declare the
4179 language functions, because many compilers are buggy.
4180 (etags_getcwd): Fix the previous fix on the #else branch.
4181 (readline_internal): Discard possible \r before \n here.
4182 (C_entries): Do not deal with \r here: undo previous fix.
4183
ecc54057 41841995-01-09 Francesco Potort\e,Al\e(B (pot@fly)
362bc2da
DL
4185
4186 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4187 functions and a macro that allow the program to work on input
4188 lines of whatever length. Copied from etags.c.
4189 (fatal): Print a fatal error message and exit.
4190 (main): Use the new functions. Fixed a bug that made a \037 char
4191 appear at the end of the output.
4192
41931995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4194
4195 * etags.c (C_entries): Ignore carriage return at end of line.
4196
41971994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4198
4199 * fakemail.c (xmalloc, xrealloc): Add casts.
4200 (add_field): Handle <...> and "..." syntax.
4201 (setup_files, get_keyword): Clean up parens and line breaks.
4202 (args_size): Likewise.
4203
42041994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4205
4206 * yow.c: Include program name in error messages.
4207
42081994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4209
4210 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4211 (xmalloc, fatal, error): New functions.
4212 (progname): New variable.
4213 (main): Set progname.
4214
42151994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4216
4217 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4218 (main): If socket/mqueue name is in home dir, add in the host name.
4219 Rename .emacs_server to .emacs-server....
4220
42211994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4222
4223 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4224
ecc54057 42251994-11-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4226
2f2c687b
JB
4227 * etags.c (print_help): Print --regex usage for ctags also.
4228 (main): Use -h in addition to -H as abbreviation for --help.
362bc2da 4229
ecc54057 42301994-11-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4231
4232 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4233 is compiled if this is defined. The new functions and variables
4234 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4235 [VMS]: All VMS specific code previously contained in
4236 etags-vmslib.c is now included here, modified for dealing with
4237 language and regex options intermixed with filenames.
4238 (header_file): Global variable deleted.
4239 (Lang_Function): New typedef. All language parser functions
4240 changed to this new type.
4241 (string_numeric_p, substr, prestr): Functions deleted.
4242 (readline_internal): Does the job that readline did previously.
4243 (longopts): --language and --regex options added.
4244 (lang_names, lang_extensions, lang_func, print_language_names):
4245 New structures, variables and functions for choosing languages.
4246 (print_help): Help strings updated. Calls print_language_names.
4247 (argument_type, ARGUMENT): Typedefs for dealing with language and
4248 regex options intermixed with filenames.
4249 (main): Changed the way of dealing with arguments on the command
4250 line to deal with language and regex options intermixed with
4251 filenames.
4252 (get_language, default_C_entries, Cplusplus_entries,
4253 Cstar_entries, Yacc_entries, just_read_file): New functions.
4254 (find_entries): Use the new method for choosing the language.
4255 (Pascal_functions): Allow intermixing of comment styles.
4256 (prolog_getit, skip_comment): Rewritten for speed.
4257 (readline): Rewritten to deal with regexps.
4258
ecc54057 42591994-11-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4260
4261 * etags.c (<errno.h>): #include added.
4262 (etags_getcwd): Check return value from getcwd.
4263
42641994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4265
4266 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4267 (get_time): Use EMACS_SUB_TIME.
4268
d57727c9 42691994-10-30 Geoff Voelker <voelker@cs.washington.edu>
362bc2da
DL
4270
4271 * ntlib.c: New file.
4272 * makefile.nt: New file.
4273
4274 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4275 [WINDOWSNT]: Include the NT headers.
4276 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4277
4278 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4279 [WINDOWSNT]: Include some NT headers.
4280
42811994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4282
4283 * pop.c (getline): When a search of already-read input for CRLF
4284 fails, store the fact that we've searched it and don't search it
4285 again after reading more data.
4286
4287 * pop.c (getline): When determining whether or not it's necessary
4288 to grow the input buffer, take into account the null that's stored
4289 at the end of already-read input in the buffer.
4290
ecc54057 42911994-10-21 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4292
2f2c687b 4293 * etags.c (prestr, substr): Return a logical type.
362bc2da 4294 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
2f2c687b 4295 (consider_token): Set funcdef to fignore when a DEFUN is met.
362bc2da
DL
4296 (C_entries): Now we can use Tom Hageman patch for extern "C".
4297
42981994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4299
4300 * movemail.c: PopServer renamed to popserver throughout.
4301
43021994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4303
4304 * etags.c: Don't declare malloc, since we include config.h.
4305 * fakemail.c: Likewise.
4306
43071994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4308
4309 * movemail.c: Don't declare malloc.
4310
43111994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4312
4313 * rcs-checkin: Use test -r instead of < to check readability, to
ecc54057 4314 avoid syntax error.
362bc2da
DL
4315
43161994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4317
4318 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4319 defined, and if HAVE_CONFIG_H isn't defined, define
4320 MAIL_USE_POP always (so that this file can be included in
4321 other programs besides emacs).
4322
4323 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4324 HAVE_CONFIG_H isn't defined.
4325
4326 * pop.c (find_crlf, getline): Instead of using strstr, use a
4327 custom function for finding CRLF.
4328 (my_strstr): Function deleted.
4329
43301994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4331
4332 * pop.c (getline): Fix a segfault because of passing a
4333 non-null-terminated string into strstr(). Fix from
4334 djm@va.pubnix.com (David J. MacKenzie).
4335
4336 * pop.c: Don't include <string.h> and <strings.h>.
4337
4338 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4339 should be interchangeable, and indeed the inclusion is done in
4340 both orders in various files in the Kerberos 4 library sources,
4341 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4342 requires that <des.h> be included first, and I don't see any harm
4343 in changing the order.
4344
4345 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4346 STDC_HEADERS, if they're defined. Undef open, read, write and
4347 close after including it.
4348
43491994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4350
4351 * pop.c: Fix mismatch in conditionals.
4352
4353 * make-docfile.c (main): Don't process one input file twice.
4354 Never use exit code > 1.
4355
4356 * pop.c (open, close, read, write): Add #undefs.
4357
4358 * pop.c: Don't declare malloc, realloc, free.
4359 Include ../src/config.h.
4360 Don't include string.h or strings.h.
4361 Include des.h before krb.h.
4362 Do declare my_strstr.
4363 (getline): Really use my_strstr.
4364 Leave one empty place in server->buffer,
4365 and put a null at the end of the data in it.
4366
43671994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4368
4369 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4370 call kill with pid 0. Handle EINTR when receiving messages.
4371
43721994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4373
4374 * Makefile.in.in (regex.o): Use full path to find regex.c.
4375
ecc54057 43761994-10-17 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da 4377
2f2c687b
JB
4378 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
4379 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
362bc2da
DL
4380
43811994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4382
4383 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4384 (${archlibdir}): Use mkinstalldirs instead.
4385
4386 * movemail.c: Make functions that return nothing void, not
4387 implicitly int.
4388 (main): Improve usage message.
4389 (error): Write to stderr, not stdout.
4390
4391 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4392 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4393 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4394 variables and implicitly declared functions.
4395
43961994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4397
4398 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4399 (distclean): Not here.
4400
4401 * Makefile.in.in (libexecdir): Renamed from libdir.
4402
ecc54057 44031994-10-11 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4404
4405 * etags.c (C_entries): Name the #define's that are macros.
4406
44071994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4408
4409 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4410 fd_set arg is a pointer, descriptor arg comes first.
4411
ecc54057 44121994-09-29 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4413
4414 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4415 (C_entries): Recognise #define inside a struct.
4416 (C_entries): ANSI tells that preprocessor commands do not have to
4417 start on the first column.
4418 (print_help): Documentation corrected for -d and -D.
4419 (white, endtk): ANSI tells the vertical tab is a separator.
4420
44211994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4422
4423 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4424 (pop.o, movemail.o): New targets.
4425 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4426
4427 * pop.c, pop.h: New files.
4428
4429 * movemail.c: Improve POP code, move most of it into a separate file.
4430 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4431 (mbx_write): Check for errors and for From line.
4432 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4433 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4434 (pop_init): Functions deleted.
4435
44361994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4437
4438 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4439 Rename path to dirname.
4440
44411994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4442
4443 * Makefile.in.in (UTILITIES):
4444 Remove test-distrib, make-docfile, make-path.
4445 (DONT_INSTALL): New variable--list those files here.
4446 (clean): Delete the files in DONT_INSTALL.
4447
44481994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4449
4450 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4451 (main): Use fgets, not gets.
4452
44531994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4454
4455 * timer.c: Don't declare malloc.
4456
44571994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4458
4459 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4460 defined, use simple 32-bit versions of these macros.
4461 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
4462
c60ee5e7 44631994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
362bc2da
DL
4464
4465 * etags.c (etags_getcwd): Use getcwd if available.
4466
44671994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4468
4469 * Version 19.27 released.
4470
44711994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4472
4473 * Version 19.26 released.
4474
44751994-08-15 Paul Eggert <eggert@twinsun.com>
4476
4477 * rcs2log: Add support for CVS.
4478 Work with `rlog's that output ISO 8601 dates.
4479
44801994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
4481
4482 * rcs2log: Use <> to delimit email address.
4483
44841994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4485
4486 * emacsserver.c [SYSV_IPC] (main): Make a separate process
4487 so we can listen for multiple requests.
4488
44891994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4490
4491 * movemail.c: Include config.h first thing.
4492
44931994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4494
4495 * emacsserver.c (main): Add casts to avoid warnings.
4496
44971994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4498
4499 * Makefile.in.in (${archlibdir}): Compare the proper dir
4500 before installing the scripts.
4501
45021994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4503
4504 * emacsclient.c (main): New local var progname saves argv[0].
4505
45061994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4507
4508 * emacsclient.c (main): Don't actually modify argv[0].
4509 Modify a copy instead.
4510
45111994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4512
4513 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
4514 (tzp): Var deleted.
4515
4516 * Makefile.in.in: Add #undef alloca.
4517
45181994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4519
4520 * timer.c (xmalloc): New function.
4521
45221994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4523
4524 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
4525 (alloca.o): New target.
4526
45271994-07-08 Dave Love (d.love@dl.ac.uk)
4528
2f2c687b 4529 * etags.c (takeprec): Recognise `character*(*) function'.
362bc2da 4530
ecc54057 45311994-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4532
ecc54057
JB
4533 * etags.c (main): Don't barf on obsolete -t and -T switches.
4534 (main): Print an explicative message when a switch is not known.
362bc2da
DL
4535
45361994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4537
4538 * hexl.c: Don't declare exit or perror.
4539
4540 * emacsserver.c (main): Don't declare geteuid.
4541 Don't declare getenv if convex.
4542
45431994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4544
4545 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
4546
ecc54057 45471994-06-03 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4548
4549 * etags.c (absolute_filename): Remove infinite loop bug when
4550 accessing files in directories whose name begins with a dot.
4551
ecc54057 45521994-06-03 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4553
4554 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4555
45561994-06-01 Morten Welinder (terra@diku.dk)
4557
4558 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
4559 location of data directory.
4560
45611994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4562
4563 * Version 19.25 released.
4564
45651994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4566
4567 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
4568
45691994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4570
4571 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
4572
45731994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4574
4575 * Version 19.24 released.
4576
45771994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4578
4579 * make-docfile.c (write_c_args): Put `default' in upper case.
4580
45811994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4582
4583 * etags.c (etags_getcwd): Cast result of popen.
4584 (popen): Declaration deleted.
4585
45861994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
4587
4588 * etags.c [!MSDOS]: Declare popen.
4589
45901994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4591
4592 * b2m.c (main): Avoid crash if argc is 1.
4593
45941994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4595
4596 * Version 19.23 released.
4597
4598 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
4599
46001994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4601
4602 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
4603
46041994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4605
4606 * Makefile.in.in: Fix out of date comment.
4607
46081994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4609
4610 * Makefile.in.in: Put in a separator for where to start cpp procssing.
4611 Move all autoconf substitutions above that point.
4612 Above that point, use Make-style comments.
4613 This goes with changes in ../configure.in.
4614
46151994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4616
4617 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
4618 warning message.
4619 (${archlibdir}): Don't do it here. Don't depend on blessmail.
4620
46211994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
4622
4623 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
4624
46251994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4626
4627 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
4628 print advice to run it, if it has anything significant to do.
4629 And only if MOVEMAIL_NEEDS_BLESSING.
4630 (blessmail): Use emacs, not temacs.
4631 (configuration): Renamed from configname.
4632
46331994-04-30 Morten Welinder (terra@diku.dk)
4634
4635 * etags.c (find_entries): Treat `*.cpp' as C++ files.
4636
46371994-04-30 Morten Welinder (terra@diku.dk)
4638
4639 * etags.c [MSDOS]: #include <sys/param.h> for the following.
4640 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
4641 a shell.
4642
46431994-04-29 Morten Welinder (terra@diku.dk)
4644
4645 * hexl.c [MSDOS]: Don't define proto type for exit.
4646
46471994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4648
4649 * b2m.c: Don't include string.h or strings.h.
4650
46511994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
4652
4653 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
4654 symbols, not make variables.
4655
46561994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4657
4658 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
4659 * etags.c (print_version): Print VERSION as a string.
4660
46611994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4662
4663 * fakemail.c (readline): Fix updating of p when buffer grows.
4664
46651994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
4666
4667 * Makefile.in.in (blessmail): New target.
4668 ${archlibdir}: Use blessmail when installing movemail.
4669
46701994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4671
4672 * fakemail.c (readline): When extending the buffer,
4673 calculate end afresh using the new size.
4674
ecc54057 46751994-04-18 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da 4676
2f2c687b 4677 * etags.c (main, print_help): Eliminate the -F option.
362bc2da 4678
ecc54057 46791994-04-18 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da 4680
2f2c687b 4681 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
362bc2da
DL
4682
46831994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4684
4685 * Makefile.in.in: Renamed from Makefile.in.
4686 Makefile.in is now generated from it, and then preprocessed.
4687 Change comments to C syntax.
4688 Include config.h.
4689 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
4690 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
4691
46921994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4693
4694 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4695
ecc54057 46961994-04-12 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da
DL
4697
4698 * etags.c (etags_getcwd): Initialize bufsize.
4699
47001994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4701
4702 * profile.c (gettimeofday): If system doesn't have this, define it
4703 to give a fatal error.
4704
47051994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
4706
4707 * movemail.c (main): Use setuid, not seteuid.
4708
47091994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4710
4711 * etags.c: #undef static.
4712
ecc54057 47131994-04-08 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da 4714
2f2c687b
JB
4715 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
4716 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
4717 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
362bc2da
DL
4718 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4719 TeX_functions, Prolog_functions.
2f2c687b
JB
4720 (inf): No more a global variable.
4721 (C_entries): Take 2nd parameter `inf' instead of using the global one.
4722 (find_entries): Added the cp1 var for optimisation.
4723 (find_entries): Added more suffixes for assembler files.
362bc2da
DL
4724 (Asm_funcs): Now finds labels even without an ending colon.
4725
ecc54057 47261994-03-30 Francesco Potort\e,Al\e(B (pot@fly.cnuce.cnr.it)
362bc2da 4727
2f2c687b
JB
4728 * etags.c (main): Use etags_getcwd for compatibility.
4729 (etags_getcwd): New function.
362bc2da
DL
4730
47311994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4732
4733 * Makefile.in (etags, ctags): Pass -D for VERSION.
4734
ecc54057 47351994-03-25 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4736
2f2c687b
JB
4737 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
4738 (main): Don't allow the use of -t and -T in etags mode.
4739 (print_help): Don't show options enabled by default.
4740 (print_version): Show the emacs version number if VERSION is #defined.
4741 (find_entries): Add "ss" as suffix for Chez Scheme.
362bc2da 4742
ecc54057 47431994-03-23 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4744
2f2c687b 4745 * etags.c (cwd, outfiledir): Vars added.
362bc2da
DL
4746 (relative_filename, absolute_filename, absolute_dirname):
4747 functions added to compute filenames in tags files.
2f2c687b 4748 (process_file): Filenames in tags file are relative to the
362bc2da 4749 directory where the tags file is (useful with the -o option).
2f2c687b
JB
4750 (main): Initialise the outfiledir var.
4751 (TYPEDST): Added the `tignore' value.
4752 (C_entries): Corrected various small bugs.
362bc2da
DL
4753
47541994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4755
4756 * Makefile.in (UTILITIES): `env' deleted.
4757 (env): Target deleted.
4758 * env.c: File deleted.
1c478461 4759
362bc2da
DL
47601994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4761
4762 * Makefile.in (install, ${archlibdir}): Switch back to ..
4763 before running INSTALL_PROGRAM.
4764
ecc54057 47651994-03-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4766
2f2c687b
JB
4767 * etags.c (TYPEDST): Added the `tignore' value.
4768 (C_entries): Corrected various bugs, now correctly parses the
362bc2da
DL
4769 `extern "C" {' construction (patch by Tom R.Hageman).
4770
47711994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4772
4773 * b2m.c: Use <...> to include config.h.
4774 Don't include stdlib.h.
4775
177c0ea7 47761994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
362bc2da
DL
4777
4778 * b2m.c (main): Change delimiter from "^L" to "^_^L".
4779 Allow for text following "BABYL OPTIONS:".
4780 Add --help option. Use argv[0] in error messages.
4781
47821994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4783
4784 * emacsclient.c (main) [HAVE_SYSVIPC]:
4785 Make msgp->mtext longer if necessary.
4786 On HPUX, error if it's more than 512 chars.
4787
47881994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4789
4790 * etags-vmslib.c: Use GPL.
4791 * emacstool.c: Use GPL.
4792 * fakemail.c: Update GPL.
4793
4794 * make-path.c (main): Return 1 on error, not -1.
4795 Update GPL.
4796
4797 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
4798 (xmalloc, xrealloc): Return char *, not int.
4799 (error): Write to stderr, not stdout.
4800 Update GPL.
4801
48021994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
4803
4804 * profile.c (main, get_time): Don't crash on invalid input.
4805
48061994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4807
4808 * profile.c (get_time): Simplify; avoid calling index.
2f2c687b 4809 (main): Exit on EOF.
362bc2da 4810
ecc54057 48111994-02-17 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 4812
a64387ee 4813 * etags.c (--absolute-pathnames): Option removed.
362bc2da
DL
4814
48151994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4816
4817 * fakemail.c (put_line): Don't break the line if it all fits.
4818
ecc54057 48191994-02-14 Francesco Potort\e,Al\e(B (pot@fly)
362bc2da 4820
2f2c687b
JB
4821 * etags.c (absolute_pathnames, cwd): Added global vars.
4822 (longopts, print_help, main, process_file): Put absolute filenames
362bc2da 4823 in the tag file if the -A --absolute-pathnames option is used.
2f2c687b
JB
4824 (print_help): Alfabetically order the options.
4825 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
362bc2da
DL
4826
48271994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4828
4829 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4830 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4831
48321994-02-07 Christian Lynbech (lynbech@avignon)
4833
4834 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
4835
48361994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4837
4838 * Makefile.in (UTILITIES): Mention profile.
4839 (profile): New target.
4840
4841 * profile.c: New file.
4842
48431994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
c60ee5e7 4844
88c71720 4845 * make-docfile.c: Make the argument list output look more like the
c60ee5e7 4846 Lisp docstrings do.
88c71720 4847 (write_c_args): Take new arg FUNC. Make output
362bc2da
DL
4848 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4849 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4850
ecc54057 48511994-01-14 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
4852
4853 * etags.c (stab_entry, stab_create, stab_find, stab_search,
2f2c687b 4854 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
362bc2da 4855 Use gperf generated hash table instead of linked list.
2f2c687b 4856 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
362bc2da 4857 Mostly code generated by gperf.
2f2c687b
JB
4858 (consider_token): Removed unused parameter `lp'.
4859 (PF_funcs, getit): Allow subroutine and similar declarations
362bc2da 4860 to span multiple lines.
2f2c687b
JB
4861 (C_entries): Check for newline if inchar to avoid bus errors.
4862 (process_file, find_entries): Distinguish among nonexistent
362bc2da
DL
4863 and not regular file.
4864
48651994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4866
4867 * timer.c: Include errno.h; don't include fasync.h.
4868 (schedule): Don't return a value.
4869 (sigcatch): Reestablish the handler first.
4870 (getevent): Always call notify at the end.
4871 (notify): Defer alarms around the whole body of function.
4872
48731994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4874
4875 * timer.c (main): Don't request SIGIO, and don't handle it.
4876 Loop calling getevent.
4877 (sigcatch): Delete code to handle SIGIO.
4878 if defer_alarms is set, don't call notify, just set alarm_deferred.
1c478461 4879 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
362bc2da
DL
4880 Set defer_alarms around realloc and schedule.
4881 If alarm_deferred gets set, call notify.
4882 Likewise if this event is the only pending event.
4883 Make buf and buf_size global variables.
4884 Don't malloc buf if it is already non-zero.
4885 (schedule): Just exit if run out of memory.
4886 Return the number of events.
4887 (signal) [_CX_UX]: Add #undef.
4888
48891994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4890
4891 * timer.c [USG] (SIGIO): Define as SIGPOLL.
4892 (main) [USG]: Do ioctl to enable SIGPOLL.
4893
48941994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4895
4896 * timer.c: Don't declare sys_errlist; declare strerror instead.
4897 (schedule, main): Call strerror instead of using sys_errlist.
4898 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
4899 Call strerror instead of using sys_errlist.
4900 * env.c (main): Call strerror instead of using sys_errlist.
4901 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
4902 (main): Call strerror instead of using sys_errlist.
4903 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
4904 * env.c [! HAVE_STRERROR] (strerror): Likewise.
4905 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
4906 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
4907
49081994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4909
4910 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
4911
4912 * movemail.c (malloc): Don't declare it.
4913 (xmalloc): Cast result of malloc.
4914 (strcpy): Don't declare it.
4915
49161993-11-14 Morten Welinder (terra@diku.dk)
4917
4918 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
4919 (main): Use fclose to close file opened by fopen.
4920
4921 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
4922
4923 * movemail.c [MSDOS]: #undef `access'.
4924
4925 * b2m.c (main) [MSDOS]: Open all files as binary.
4926 * etags.c (main) [MSDOS]: Open all files as binary.
4927
4928 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
4929 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
4930 with.
4931
49321994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4933
4934 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
4935 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
4936 (LINK_CFLAGS): New variable.
4937 (timer): Use LINK_CFLAGS.
4938
49391993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4940
4941 * movemail.c: Include syswait.h.
4942 Fork a subprocess and use it to copy the mail file.
4943
49441993-12-07 Richard Stallman (rms@srarc2)
4945
4946 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
4947
49481993-12-04 Richard Stallman (rms@srarc2)
4949
4950 * movemail.c (main): When making tempname, cast result of xmalloc.
4951 Include room for EXXXXXX in the size.
4952 Don't use result of strcpy.
4953
49541993-12-03 Paul Eggert (eggert@twinsun.com)
4955
4956 * vcdiff: Add --brief option.
4957
49581993-12-02 Richard Stallman (rms@srarc2)
4959
4960 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
4961 for all executables and scripts.
4962
49631993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4964
4965 * Version 19.22 released.
4966
49671993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4968
4969 * Makefile.in (mostlyclean): Make it distinct from clean.
4970
49711993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4972
4973 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
4974
49751993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4976
4977 * Version 19.21 released.
4978
4979 * Makefile.in (install): Don't change mode or group when installing.
4980
4981 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
4982
49831993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4984
4985 * make-docfile.c (read_c_string): For "", concatenate the two strings.
4986
4987 * movemail.c (main): Fix error message text.
4988
49891993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4990
4991 * Version 19.20 released.
4992
177c0ea7 49931993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
362bc2da 4994
ecc54057 4995 * etags.c (C_entries): Keep track of ()-parenthesis level so that
362bc2da
DL
4996 functions returning a pointer to a function, a la `signal', can be
4997 parsed. This also required new state `fstartlist' to `FUNCST'.
4998 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
2f2c687b 4999 (C_entries, CNL): Use it to isolate preprocessor directive processing
362bc2da 5000 from the other state engines.
2f2c687b 5001 (begtk): Add '~', for C++ class destructors.
362bc2da 5002
ecc54057 50031993-11-02 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 5004
2f2c687b
JB
5005 * etags.c (consider_token): Removed unused variable firsttok.
5006 (prolog_getit): Call pfnote with the right number of arguments.
362bc2da
DL
5007
50081993-10-19 Paul Eggert (eggert@twinsun.com)
5009
5010 * rcs2log (printlogline): Don't generate lines containing only
5011 white space.
5012
50131993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5014
5015 * Makefile.in (${archlibdir}):
5016 Install ${SCRIPTS} from ${srcdir}, not cwd.
5017
50181993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5019
5020 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5021 the comment character.
5022
ecc54057 50231993-10-01 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 5024
2f2c687b 5025 * etags.c (process_file): Dead code removed.
362bc2da 5026 (S_ISREG): #define it using S_IFREG if not defined.
2f2c687b 5027 (process_file): Regular files have nothing to do with symlinks.
362bc2da
DL
5028
50291993-09-28 Brian Fox (bfox@ai.mit.edu)
5030
5031 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5032 from current directory. Only chmod and chgrp files that we
5033 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5034 ${bindir}.
5035 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5036 now.
5037
50381993-09-27 Brian Fox (bfox@ai.mit.edu)
5039
5040 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5041 configure figure out the correct values for these variables.
5042
50431993-09-14 Brian Fox (bfox@ai.mit.edu)
5044
5045 * Makefile.in (archlibdir): Only install execuatables internally
5046 used by emacs; don't install bindir binaries here.
5047
50481993-09-24 Paul Eggert (eggert@twinsun.com)
5049
5050 * rcs2log: Add -h, -n, -r options.
5051 By default, look for *,v files as well as RCS/*,v files.
5052 Use $TMPDIR (default /tmp) instead of /tmp.
5053
ecc54057 50541993-09-20 Francesco Potort\e,Al\e(B (pot@fly)
362bc2da
DL
5055
5056 * etags.c (C_entries): is_func is initialised here instead of in
5057 consider_token for the sake of the yacc rules section.
5058 (C_entries): Now class, struct, enum, union and typedef produce
5059 named tags.
5060
50611993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5062
5063 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5064
50651993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5066
88c71720
KS
5067 * Makefile.in: Support configuring in a different directory when
5068 ${srcdir} has already been configured.
5069 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5070 -I${srcdir}/../src.
362bc2da
DL
5071 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5072 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5073 is already in CPP_FLAGS.
5074 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5075 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5076
50771993-08-25 Paul Eggert (eggert@twinsun.com)
5078
5079 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5080 otherwise, HP awk complains.
5081
5082 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5083 are common hangouts for SCCS commands.
5084
50851993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5086
5087 * Version 19.19 released.
5088
50891993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5090
5091 * Makefile.in (make-path): Dep on config.h.
5092
50931993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5094
5095 * b2m.c (TRUE, FALSE): Don't define if already defined.
5096
50971993-08-09 Paul Eggert (eggert@twinsun.com)
5098
5099 * rcs2log (awkscript):
5100 Some sites put comma-separated junk after the fullname.
5101 Remove it, but leave "Bill Gates, Jr" alone.
5102 Remove the junk from fullnames like "0000-Admin(0000)".
5103
51041993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5105
5106 * Version 19.18 released.
5107
ecc54057 51081993-08-04 Francesco Potort\e,Al\e(B (pot@spiff.gnu.ai.mit.edu)
362bc2da 5109
2f2c687b
JB
5110 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5111 (L_funcs): The (foo::defmumble stuff now should work.
5112 (consider_token): Function returned random value--corrected.
5113 (C_entries): Corrected == versus = typo.
362bc2da
DL
5114
51151993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5116
5117 * etags.c (put_entries): For NODE->rewritten, put pattern before
5118 \177 and name after, not vice versa.
5119
51201993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5121
5122 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5123
ecc54057 51241993-07-30 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 5125
ecc54057 5126 * etags.c (FINCST): Added the fignore status. Means we are
362bc2da
DL
5127 after the parameter list and before the open curly brace.
5128 Allows correct parsing of C++ constructors.
2f2c687b
JB
5129 (C_entries, consider_token): Make use of fignore.
5130 (consider_token): Reset funcdef when next_token_is_func: when in
362bc2da 5131 ctags mode makes DEFVAR and others work better.
2f2c687b
JB
5132 (L_isquote): Function that recognises the "(quote" string.
5133 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
362bc2da
DL
5134
51351993-07-29 Paul Eggert (eggert@twinsun.com)
5136
5137 * rcs-checkin: Don't check whether a file is readable until we have
5138 decided not to ignore it.
5139
51401993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5141
5142 * Makefile.in (etags): Depend on ../src/config.h.
5143
5144 * emacsserver.c: Include types.h before file.h.
5145
51461993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5147
5148 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5149
51501993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5151
ecc54057 5152 * Version 19.17 released.
362bc2da
DL
5153
51541993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5155
5156 * etags.c (print_help): Break up the very long strings containing
5157 the help message into shorter strings, to placate chintzy C
5158 compilers which can't handle strings that long.
5159
5160 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5161 correct combination of <time.h> and <sys/time.h>.
5162
ecc54057 51631993-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 5164
2f2c687b
JB
5165 * etags.c (alloca): Removed all references to it.
5166 (main): Now calls xnew instead of alloca for portability.
5167 (../src/config.h): Included only if HAVE_CONFIG_H.
5168 (const): Void definition removed--config.h takes care of it.
362bc2da 5169
ecc54057 51701993-07-08 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 5171
2f2c687b 5172 * etags.c (consider_token): Was `==', now is `='.
362bc2da
DL
5173 (consider_token): DEFUNs now treated like funcs in ctags mode.
5174
2f2c687b
JB
5175 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5176 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5177 (C_entries): Removed a piece of useless code.
5178 (C_entries): Making typedef tags is delayed until a semicolon
362bc2da
DL
5179 is met. This handles "typedef int X, Y, Z;" correctly.
5180
51811993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5182
5183 * Version 19.16 released.
5184
5185 * b2m.c: #include <sys/types.h>.
5186 (ltoday): Declare this to be time_t.
5187
51881993-06-30 Paul Eggert (eggert@twinsun.com)
5189
5190 * vcdiff: Add -q option.
5191
51921993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5193
5194 * etags.c: #include "config.h" and the alloca CPP tangle before
5195 #including the system headers and getopt.h. AIX requires the
5196 #pragma to come before any actual C code.
5197
51981993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5199
5200 * Makefile.in (ctags): Depend on etags, so that parallel makes
5201 don't write etags.o files on top of each other.
5202
52031993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5204
5205 * version 19.15 released.
5206
52071993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5208
5209 * etags.c (add_node): Move var last_node to file scope.
5210
52111993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5212
5213 * Version 19.14 released.
5214
52151993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5216
ecc54057 5217 Bring mumbleclean targets into conformance with GNU coding standards.
362bc2da
DL
5218 * Makefile.in (distclean): Call clean to do most of the work.
5219 Delete aixcc.c and TAGS.
5220 (realclean): Just call distclean.
1c478461 5221
362bc2da
DL
5222 * Makefile.in: Remember, spaces are not tabs.
5223
52241993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5225
5226 * Makefile.in (CPP_CFLAGS): New variable.
5227 Use it instead of ALL_CFLAGS when compiling a .c file.
5228 (getopt.o, getopt1.o): Add explicit compilation commands.
5229
52301993-06-10 Mark D. Baushke (mdb@cisco.com)
5231
5232 * etags.c: Reinstate old -f option as an alias for -o for
5233 installed base uses.
5234
52351993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5236
5237 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5238 to bind or accept, cast the pointer, to avoid warnings on systems
5239 which declare prototypes for this.
5240 * emacsclient.c (main): Same.
5241
5242 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5243
52441993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5245
5246 * Version 19.13 released.
5247
5248 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5249 comes from, not sys/time.h.
5250
52511993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5252
5253 * wakeup.c: Include sys/time.h.
5254
5255 * etags.c: #undef static.
5256
5257 * Version 19.12 released.
5258
5259 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5260
52611993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5262
5263 * Version 19.11 released.
5264
5265 * timer.c [LINUX]: #undef signal.
5266 * emacsserver.c: #undef signal.
5267
52681993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5269
5270 * wakeup.c (main): Make when a time_t.
5271
52721993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5273
ecc54057 5274 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
a64387ee 5275 `(cd foo ; pwd)' to get the canonical name of a directory; cd
362bc2da
DL
5276 might fail, and have pwd print out the current directory.
5277
5278 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5279 string-handling functions.
5280
52811993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5282
5283 * Version 19.10 released.
5284
52851993-05-29 Paul Eggert (eggert@twinsun.com)
5286
5287 * rcs2log: When given no file arguments, inspect RCS/.* as well
5288 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5289
52901993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5291
5292 * Makefile.in (timer): Link with $(LOADLIBES).
5293
52941993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5295
5296 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5297
52981993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5299
5300 * etags.c: Replace the CPP tangle for alloca with the one from the
5301 autoconf documentation, since that's working elsewhere.
5302
53031993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5304
5305 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5306 description files can find their ancestors.
5307
53081993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5309
5310 * Makefile.in (install): Get the scripts from ${srcdir},
5311 unlike the executables.
5312 (ALL_CFLAGS): Add -I../src
5313
53141993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5315
5316 * Version 19.9 released.
5317
53181993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5319
5320 * Makefile.in (install): Do install the programs listed in
5321 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5322 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5323
5324 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5325 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5326
53271993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5328
5329 * etags.c: Include ../src/config.h.
5330
5331 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5332 in first loop. Delete files from bindir before installing new ones.
5333 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5334
53351993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5336
5337 * Version 19.8 released.
5338
5339 * make-docfile.c: Doc fix.
5340
53411993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5342
5343 * tcp.c: Fix comment syntax at top of file.
5344 (main): Don't call htons with the port number.
5345
53461993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5347
5348 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
1c478461 5349 appropriate.
362bc2da
DL
5350
5351 * Makefile.in (install): Refer to the variables INSTALLABLES and
5352 INSTALLABLE_SCRIPTS, instead of writing them out.
5353
53541993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5355
5356 * make-path.c (main): Return 0.
5357
53581993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5359
ecc54057 5360 * Version 19.7 released.
362bc2da
DL
5361
53621993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5363
5364 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5365
53661993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5367
5368 * tcp.c: New file.
5369
53701993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5371
5372 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5373
53741993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5375
5376 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5377 only. We should really fix this later, but let's just make it
5378 compile for now.
5379
5380 Install patches from David J. Mackenzie to make the srcdir option
5381 work.
5382 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5383 Makefile.
5384 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5385 INSTALLABLE_SCRIPTS.
5386 (INSTALLABLE_SCRIPTS): New list.
5387 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5388 (${archlibdir}): The scripts to be installed live in the source
5389 tree, not in the object tree.
5390 (test-distrib): Note that the data file lives in the source tree,
5391 not the object tree.
5392 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5393 (all other targets): Change references to source files to use
5394 ${srcdir}, except for config.h, which lives in the object dir.
5395 (timer.o): Note that this depends on ../src/config.h.
5396 * make-docfile.c (main): Add a -d option, to tell it where to find
5397 the source files.
5398 * test-distrib.c (main): Take the name of the distribution file to
5399 test from the command line.
5400
5401 * timer.c: Fix mispellings of get_date function's name.
5402
54031993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5404
5405 * etags.c (main):
5406 Don't require that there be input files if -i switches were given.
5407
54081993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5409
5410 The GNU coding standards specify that CFLAGS should be left for
5411 users to set.
5412 * Makefile.in (CFLAGS): Put this in the "things configure might
5413 edit" section, and have it default to -g.
5414 (ALL_CFLAGS): New variable, set to all the flags which should be
5415 passed to compilations. Replace all other uses of CFLAGS with
5416 ALL_CFLAGS.
5417 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5418
5419 * Makefile.in (DEFS): Remove this; it's always just going to be
5420 "-DHAVE_CONFIG_H -Demacs".
5421
54221993-05-03 Paul Eggert (eggert@twinsun.com)
5423
5424 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5425 /[/]/, so change it to /[\/]/. This should work on all
5426 Posix-compliant awks. It's slightly wrong with traditional awk,
5427 since it matches \ too, but that's a minor problem compared to awk
5428 syntax errors.
5429
54301993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5431
5432 * Makefile.in (ALLOCA): New variable, whose value we should
5433 inherit from the top-level makefile.
5434 (etags, ctags): Include ALLOCA in the list of object files that
5435 these executables depend on and link.
5436
54371993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5438
5439 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5440
54411993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5442
5443 * make-docfile.c (write_c_args): Print an argument named "defalt"
5444 as "default".
5445
54461993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5447
5448 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5449 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5450 compiler.
5451
ecc54057 54521993-03-22 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 5453
2f2c687b
JB
5454 * etags.c (YACC): Flag added to c_ext.
5455 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
5456 (find_entries): Consistently use streq when reasonable.
5457 (find_entries): A .y file is a yacc file.
362bc2da 5458 (get_C_stab): c_ext becomes c_ext&C_PLPL.
2f2c687b
JB
5459 (C_entries): Logical cplpl means c_ext&C_PLPL.
5460 (C_entries): Logical yacc_rules means we are after the first %%.
5461 (C_entries): Added logic for yacc files.
362bc2da 5462
ecc54057 54631993-03-16 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da
DL
5464
5465 * etags.c (C_entries): ':' case moved to the second switch.
2f2c687b 5466 (C_entries): Do not examine token if structdef==scolonseen.
362bc2da
DL
5467 (consider_token): structtag set to null string for enum.
5468
ecc54057 54691993-03-12 Francesco Potort\e,Al\e(B (pot@cnuce.cnr.it)
362bc2da 5470
2f2c687b
JB
5471 * etags.c (GET_COOKIE): And related macros removed.
5472 (logical): Is now int, no more a char.
5473 (reg): Define deleted.
5474 (isgood, _gd, notgd): Deleted.
5475 (gotone): Deleted.
5476 (TOKEN): Member linestart removed.
5477 (linepos, prev_linepos, lb1): Deleted.
5478 (main): Call initbuffer on lbs array instead of lb1.
5479 (init): Removed the initialisation of the logical _gd array;
5480 (find_entries): A .sa suffix means assembler file.
362bc2da
DL
5481 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
5482 All C state machines rewritten.
2f2c687b
JB
5483 (C_entries): Complete rewrite.
5484 (condider_token): Complete rewrite.
5485 (getline): Deleted.
362bc2da 5486
ecc54057 54871993-03-01 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5488
5489 * etags.c (C_entries): Added the quotednl logical variable.
5490 Used for parsing of #define's spanning multiple lines.
5491
ecc54057 54921993-02-23 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5493
5494 * etags.c (C_entries): Save the definedef status even when a
5495 newline is met inside a string.
5496
54971993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5498
2f2c687b 5499 * Makefile.in (EXECUTABLES): Added rcs-checkin.
362bc2da
DL
5500
5501 * Makefile.in (unlock, relock): New productions.
5502
55031993-03-16 Paul Eggert (eggert@twinsun.com)
5504
5505 * rcs2log: Some awks don't understand "\r". Code around this.
5506 Unfortunately this requires putting a carriage return in the
5507 source code. Don't assume that rlog will tolerate times like
5508 `10:10:60'; RCS 5.7 won't allow this.
5509
55101993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5511
5512 * timer.c (main): Set the ownership of the stdin file descriptor
5513 to the current process. Print error messages if either of the
5514 fcntl's fails.
5515
5516 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
5517 ../src/config.h), not void.
5518
55191993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5520
5521 * b2m.c (main): Don't exit upon reading a blank line.
5522
ecc54057 55231993-03-01 Francesco Potort\e,Al\e(B (pot@fly.CNUCE.CNR.IT)
362bc2da
DL
5524
5525 * etags.c (C_entries): New local variable quotednl. Used for
5526 parsing of #define's spanning multiple lines.
5527
5528 * etags.c (C_entries): Save the definedef status
5529 even when a newline is met inside a string.
5530
55311993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5532
5533 * timer.c (notify): Initialize waitfor properly.
5534
ecc54057 55351993-02-22 Francesco Potort\e,Al\e(B (pot@CNUCE.CNR.IT)
362bc2da
DL
5536
5537 * etags.c (C_entries): Don't reset definedef when a newline inside a
5538 comment is met.
5539
55401993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5541
5542 * etags.c (find_entries): If filename ends in .f or .for,
5543 don't try anything but Fortran.
5544
55451993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
5546
5547 * timer.c (notify): Flush stdout after writing message to avoid lossage
5548 on terminals.
5549
5550 (notify): Also, write a newline after the token.
5551
55521992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5553
5554 * Makefile.in (exec_prefix): New variable.
5555 (bindir, libdir): Use it instead of `prefix'.
5556
5557 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
5558
5559 * Makefile.in (libdir): Default to ${prefix}/lib.
5560 (archlibdir): Adjusted to match.
5561
5562 * Makefile.in (distclean): Don't delete backup or autosave files.
5563 (extraclean): Like realclean, but does delete backup and autosave
5564 files.
5565
5566 * Makefile.in (realclean): Ignore errors from rm.
5567
5568 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
5569 that doesn't exist anymore.
5570
55711992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5572
5573 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
5574 described in the top-level Makefile.
5575 (UTILITIES): Add make-path to the list of utility programs.
5576 (../arch-lib): Replaced by the ${archlibdir} target, which places
5577 the executables in their permanent home.
5578 (install, install.sysv, install.xenix): Consolidated into one
5579 target which should work under all circumstances, modulo a few
5580 ignored error messages.
5581
5582 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
5583 a different number of arguments than other DEFVARs, recognize it
5584 specially, and expect the right number of commas.
5585
55861992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5587
5588 * make-path.c: New program, to help with the installation process.
5589 * Makefile.in (make-path): New target.
5590
5591 * make-path.c (touchy_mkdir): Remove debugging output.
5592
55931992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5594
5595 * Makefile.in (getdate.o): Added explicit target for this, so we
5596 can indicate that it depends on ../src/config.h.
5597
55981992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5599
5600 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
5601 instead of CFLAGS.
5602 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
5603
56041992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5605
5606 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
5607 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
5608 that system.
5609
5610 * Makefile.in (arch-lib): Give rm the `-f' option.
5611
56121992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5613
5614 * make-docfile.c (write_c_args): Rewritten to correctly print
5615 &optionals before the first identifier, but after the first paren.
5616 This code used to just wait for commas or spaces; now it notices
5617 identifier boundaries.
5618
56191992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5620
5621 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
5622
56231992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5624
5625 * make-docfile.c (write_c_args): Print the argument lists properly
5626 when the first argument is optional.
5627
56281992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5629
5630 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
5631 Redefine @item. Set catcode of +.
5632
56331992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5634
5635 * emacsclient.c (main): Set IPC_CREAT in msgget call.
5636
56371992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5638
5639 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
5640 (TEX_decode_env): Make `tab' one element longer.
5641
56421992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5643
5644 * etags.c (PF_funcs): Recognize the "entry" keyword.
5645
56461992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5647
5648 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
5649
56501992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5651
5652 * timer.c (events): Rather than having slots marked as in use or
5653 out of use by the `token' field, keep all pending events at the
5654 beginning of the array. When we delete an event in the middle of
5655 the array, we move the last event into its place.
5656 (num_events): New variable.
5657 (schedule): It is now cheaper to find a free event slot;
5658 events[num_events] is the first free slot.
5659 (notify): Scan events[0 .. num_events-1], instead of the whole
5660 array. When an event fires, move the last event in the array into
5661 its spot. Use num_events to determine whether or not there are
5662 any pending events, not wait_for.
5663 (getevent): Deleted unused variable `ep'.
5664 (sigcatch): It's now easier to find all the active events.
5665 (main): Initialize num_events.
5666
5667 * etags.c: Rather than fret about which systems have index and
5668 which systems have strchr, and how to tell the difference between
5669 them, we just write out our own versions. Big deal.
5670 (index, rindex): Extern declarations removed.
5671 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
5672 (etags_index, etags_rindex): New declarations.
5673 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
5674 TEX_getit, substr): Use the etags_*index functions, rather than
5675 the native *index functions.
5676 (rindex, index): Renamed to etags_rindex and tags_rindex, and
5677 made them unconditionally defined, rather than having them depend
5678 on NEED_*INDEX.
5679
5680 * etags.c (savenstr): Add declaration for this at top of file.
5681 (TEX_decode_env): Don't declare it local to this function.
5682
5683 * b2m.c: #include "../src/config.h", so we can test for the USG
5684 macro, and decide whether to include <string.h> or <strings.h>.
5685 * Makefile.in: Note that b2m.c depends on ../src/config.h.
5686
56871992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5688
5689 * timer.c: Reformatted according to the GNU coding standards.
5690 Removed arbitrary limits on the number of events queued and the
5691 length of the tokens used to identify them.
5692 Removed casts to (void).
5693 Removed debugging printfs; they clutter the code, and the need
5694 can be better filled using a real debugger.
5695
56961992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5697
5698 * timer.c: Installed new version from Eric Raymond; this is more
5699 portable, since it doesn't try to use SIGIO.
5700
57011992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5702
5703 * emacsclient.c (main): If we can't find the socket in this
5704 person's home directory, print a message which asks if they've
5705 started the server, instead of just printing the message from
5706 sys_errmsg; Cygnus finds that people are much less confused by
5707 this.
5708
57091992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5710
5711 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
5712 so that index and rindex get defined, why don't we actually
5713 control index and rindex using symbols called "NEED_INDEX" and
5714 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
5715 little more readable than defining something whose name implies
5716 that it's not?
5717
57181992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5719
5720 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
5721 distribution:
5722 Miscellaneous doc fixes.
1c478461 5723 (skip_white, read_lisp_symbol): New functions.
362bc2da
DL
5724 (scan_lisp_file): Instead of using long hairy strings of ifs, call
5725 read_lisp_symbol and then see what we got. Call skip_white
5726 instead of writing out a loop to do its job. Correctly extract
5727 docstrings from "defmacro" declarations.
5728
57291992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5730
5731 * movemail.c (strcpy): Declare this to return char *.
5732
57331992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5734
5735 * etags.c (C_entries): When we find a C++ comment, do actually
5736 skip to the end of the line; do a 'break' instead of a 'continue'.
5737
57381992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5739
5740 * etags.c (getit): Add missing parenthesis to expression which
5741 decides if this token is an identifier.
5742
57431992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5744
5745 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
5746
57471992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5748
5749 * etags.c (put_entries): Always put space between name and line num.
5750
57511992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
5752
5753 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
5754 warning.
5755 (LEVEL_OK_FOR_FUNCDEF): Ditto.
5756
57571992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5758
5759 * make-docfile.c (write_c_args): Pass both arguments to putc.
5760
57611992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
5762
5763 * etags.c (C_entries): Fixed reading of "..." strings.
5764 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
5765 the C library source.
5766
5767 * etags.c (C_entries): When we see a backslash inside a quoted
5768 string, skip to the next character. This allows us to correctly
5769 deal with strings containing quotes.
5770
57711992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5772
5773 * make-docfile.c (write_c_args): Print the C argument names as
5774 they would be written in Elisp; print '_' as '-'.
5775
57761992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5777
5778 * movemail.c [POP]: Get user name via getpwuid.
5779
57801992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5781
2f2c687b 5782 * Makefile.in: Flags in CC invocations rearranged for no reason.
362bc2da
DL
5783
57841992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5785
5786 * etags.c (print_help): Remember not to imbed raw newlines in
5787 strings - end the lines with `\n\'.
5788
57891992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5790
5791 * timer.c (getevent): Removed declaration of memcpy; since
5792 different systems have different return types, and we're not even
5793 using the return type anyway, it wasn't doing us any good.
5794
57951992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5796
5797 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
5798 type of this function.
5799
58001992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5801
5802 * ChangeLog: Since the old etc contents have been split into etc
5803 and lib-src, the old etc's ChangeLog has been duplicated in the
5804 new etc and lib-src. That means that each contains complete and
5805 coherent information, although each contains extraneous
1c478461 5806 information.
362bc2da
DL
5807
58081992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5809
5810 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
5811 to be consistent with other GNU programs, like makeinfo.
5812
5813 * lib-src/Makefile: Renamed to Makefile.in; the configure script
5814 will edit this to produce Makefile.
5815
58161992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5817
5818 * etags.c (print_help, print_version): New functions.
5819 (main): Options added to support them.
5820
5821 * etags.c (longopts): New array of long names for the options.
5822 (main): Recognize them.
5823
58241992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5825
5826 * etags.c (C_entries): Removed comment saying that \" in a string
5827 isn't recognized as magic, because it is correctly handled.
5828
5829 * getopt.c, getopt.h: New files, from GNU C library.
5830 * etags.c: Rewritten to use getopt.
5831 #include "getopt.h".
5832 (file_num): Variable deleted; its role is now played by getopt's
5833 optind.
5834 (main): Argument processing loop rewritten to call getopt to get
5835 next option. Options which take parameters (-o and -i) rewritten
5836 to get parameter from optarg instead of argv[1]. Filename
5837 preprocessing loop and update command changed similarly.
5838 * Makefile (etags, ctags): Depend on and link with getopt.h,
5839 getopt.o, and getopt1.o.
5840 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
5841
5842 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
5843 is non-zero.
5844
5845 (main): In the argument processing loop, the 'goto next_arg'
5846 statements are breaking out of the switch statement in exactly the
5847 same way that a simple 'break' statement would; replace the gotos
5848 with breaks, and remove the label.
5849
58501992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5851
5852 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
5853 (consider_token): Move next_token_is_func to global.
5854
58551992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5856
5857 * Makefile: Conform with GNU coding standards:
5858 (mostlyclean): New target, synonymous with clean.
5859 (TAGS, check): New targets.
5860 (INSTALL, INSTALLFLAGS): New variables.
5861
58621992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5863
ecc54057 5864 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
362bc2da
DL
5865 `config.emacs' to `configure'.
5866
5867 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5868 * etc/MACHINES: Same.
5869
58701992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5871
5872 * movemail.c (main): Allow tempname to be as long as necessary,
5873 instead of limiting it to 39 characters.
5874
5875 * movemail.c (main): Move declaration of buf from top of function
5876 to local block surrounding the copy loop. This makes it less
5877 likely to be confused with the buf used by the code which checks the
5878 permissions on outname's directory.
5879
58801992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
5881
5882 * SERVICE: Remove my entry.
5883
58841992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5885
5886 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
5887 hardcoded -g.
5888
5889 * movemail.c (xmalloc): Return char *, not int.
5890 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
5891 that is off by default -- normally don't unlink the mail spool
5892 file, just empty it. Pass creat mode 0600, not 0666.
5893
dff28924 58941992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5895
5896 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
5897 (all): Instead of here.
5898 (install): Don't use the -s option, since people need symbols to
5899 debug code.
5900
dff28924 59011992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
362bc2da
DL
5902
5903 * etags-vmslib.c (fn_exp): Add type cast.
5904
59051992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5906
5907 * movemail.c: Changes in comments.
5908
dff28924 59091992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5910
5911 * Makefile: Make the distclean target erase the DOC files from
5912 ../share-lib and the executables from ../arch-lib.
5913
dff28924 59141992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
362bc2da
DL
5915
5916 * emacsclient.c: #include <sys/stat.h>
5917 (main): Do declare statbfr.
5918
dff28924 59191991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5920
5921 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
5922 for the socket, depending on SERVER_HOME_DIR.
5923 If using /tmp, put host name in the socket name.
5924
5925 * movemail.c (pfatal_and_delete): New function.
5926 (main, popmail): Use it.
5927 (popmail): Close output before deleting messages.
5928 Check for error on close and on fsync.
5929 Use `fatal' where appropriate.
5930 (main): Remove (void).
5931
5932 * aixcc.lex: New file. Not officially part of Emacs.
5933 * Makefile: Rules for that.
5934
dff28924 59351991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
362bc2da
DL
5936
5937 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
5938
5939 * etags.c (main): Properly cast call to alloca that initializes
5940 included_files.
5941
59421991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5943
5944 * etags.c (files_are_tag_tables): Remove global var.
5945 (process_file): Don't test it. Also remove hack checking for a
5946 file named "TAGS".
5947 (main): -i now takes an arg which is the name of a file to include.
5948 Collect these names and emit include tags for them after processing
5949 all the argument files.
5950
dff28924 59511991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5952
5953 * wakeup.c: Terminate if parent goes away.
5954
dff28924 59551991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5956
5957 * etags.c (C_entries): Process token before handling end of line.
5958 When inner loops reach end of line, just back up.
5959 Let the real end of line processing happen in just one place.
a64387ee 5960 (consider_token): Likewise.
362bc2da 5961
dff28924 59621991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
362bc2da
DL
5963
5964 * etags.c (TEX_mode): Skip comments while scanning the text to see
5965 which escape character this file uses.
5966
dff28924 59671991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
362bc2da
DL
5968
5969 * emacsserver.c [USG]: Terminate if msgrcv fails.
5970
dff28924 59711991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5972
5973 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
5974
dff28924 59751991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5976
5977 * make-docfile: Find the arguments to a C function correctly,
5978 by not ignoring the character that read_c_string returns. Don't
5979 even try to find argument names for functions that take MANY
5980 or UNEVALLED arguments, since they're a figment of the docstring's
5981 imagination.
5982
dff28924 59831991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
362bc2da
DL
5984
5985 * make-docfile: Read the .elc files generated by the new byte
5986 compiler.
5987
dff28924 59881990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5989
5990 * refcard.tex: Use cm fonts, not am, in multi-column mode.
5991
dff28924 59921990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5993
5994 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
5995
dff28924 59961990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
5997
5998 * Makefile (install*): No need to install wakeup.
5999
dff28924 60001990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6001
6002 * Makefile (install*): Install emacsclient like etags.
6003
dff28924 60041990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6005
6006 * movemail.c (error): Handle 3 args.
6007 (main): Don't check input access if using pop.
6008
dff28924 60091990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6010
6011 * etags.c (find_entries): Check for numbers after Scheme suffix.
6012
dff28924 60131990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6014
6015 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6016
dff28924 60171990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6018
6019 * Makefile (nemacstool, xvetool): New targets.
6020
dff28924 60211990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6022
6023 * emacsclient.c: Include errno.h and define related variables.
6024
dff28924 60251990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
362bc2da
DL
6026
6027 * emacsclient.c: Change usage message.
6028
dff28924 60291990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da 6030
ecc54057 6031 * emacs.1: Add break before -nw option.
362bc2da 6032
dff28924 60331990-08-19 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6034
6035 * qsort.c: Replace with GNU version.
6036
dff28924 60371990-08-14 David J. MacKenzie (djm@apple-gunkies)
362bc2da
DL
6038
6039 * wakeup.c: New program replacing loadst.c.
6040
dff28924 60411990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6042
6043 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6044
dff28924 60451990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
362bc2da
DL
6046
6047 * etags.c: Rename `flag' variables for what they do instead of
6048 which option character sets them.
6049
dff28924 60501990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6051
6052 * loadst.c (main): Conditional to get load average on Apollo.
6053
dff28924 60541990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da
DL
6055
6056 * emacsserver.c: Set the permission on the socket to 0600.
6057
dff28924 60581990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6059
6060 * emacsclient.c [BSD]: Print clean message for failing getwd.
6061
dff28924 60621990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6063
6064 * getdate.y: Use the getdate.y from GNU tar for timer.
6065
dff28924 60661990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
362bc2da
DL
6067
6068 * emacsclient.c (main): Don't put brackets around "filename" in
6069 usage message. It isn't optional.
6070
dff28924 60711990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
362bc2da 6072
a64387ee 6073 * etags.c (getit): Recognize '$' as beginning identifiers.
362bc2da 6074
dff28924 60751990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
362bc2da
DL
6076
6077 * emacsserver.c: Renamed from server.c.
6078 * Makefile: Reference emacsserver rather than server.
6079 * MACHINES: Doc fix for new emacsserver name.
6080
dff28924 60811990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6082
6083 * emacsclient.c: Print program name in error messages.
6084
dff28924 60851990-01-19 David Lawrence (tale@cocoa-puffs)
362bc2da
DL
6086
6087 * timer.c, getdate.y (new files) and Makefile:
6088 Sub-process support for run-at-time in timer.el.
1c478461 6089 Doesn't yet work correctly for USG.
362bc2da 6090
dff28924 60911990-01-10 Jim Kingdon (kingdon@pogo)
362bc2da
DL
6092
6093 * MACHINES: Add HP 300 running BSD.
6094
dff28924 60951990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6096
6097 * yow.c: Dynamically allocate buffer; skip header before random
6098 choice to avoid bias toward first item.
6099
dff28924 61001989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6101
6102 * etags.c (readline): Separate out init of `pend'.
6103
dff28924 61041989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6105
6106 * etags.c: Undo changes relating to isgoodhdr.
6107
dff28924 61081989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6109
6110 * etags.c (isgoodhdr): New macro.
6111 (_gdh, notgdh): New variable used by that.
6112 (init): Initialize _gdh.
6113 (find_entries): Set header_file.
6114 (consider_token): Use isgoodhdr if in header file.
6115
6116 * etags.c (total_size_of_entries):
6117 Was miscalculating by 1 in rewritten case.
6118
6119 * etags.c (PAS_funcs): One arg to pfnote was missing.
6120
dff28924 61211989-12-05 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6122
6123 * MACHINES: Change for the ULTRIX entry.
6124
dff28924 61251989-11-21 Joseph Arceneaux (jla@spiff)
362bc2da
DL
6126
6127 * etags.c (process_file): If file is not regular, return.
6128
dff28924 61291989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6130
6131 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6132
dff28924 61331989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6134
6135 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6136 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6137
dff28924 61381989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6139
6140 * etags.c (consider_token): Allow any number of typespec keywords
6141 after `typedef', before new type name.
6142 (enum sym_type): Add st_C_typespec.
6143 (C_create_stab): Put typespec kwds in table.
6144
dff28924 61451989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6146
6147 * etags.c (main): Don't depend on name invoked by.
6148 If CTAGS is not defined, assume it is ETAGS.
6149
dff28924 61501989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6151
6152 * etags.c (L_funcs): Allow package name in define construct,
6153 as in (foo::defmumble name-defined ...).
6154
dff28924 61551989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6156
6157 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6158
6159 * Makefile (yow): Depends on ../src/paths.h.
6160
dff28924 61611989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6162
6163 * etags.c: Fix compilation by moving Pascal after Fortran.
6164
dff28924 61651989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6166
6167 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6168
dff28924 61691989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6170
6171 * hexl.c: New file, supports hexl-mode.
6172
dff28924 61731989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6174
6175 * movemail.c: New compilation flag MAIL_USE_MMDF.
6176
dff28924 61771989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6178
6179 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6180 * server.c: Likewise.
6181
6182 * make-docfile.c (scan_c_file): Output argument names at end of string.
6183 (write_c_args): New subroutine.
6184
dff28924 61851989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6186
6187 * movemail.c: Report failure of flock.
6188
dff28924 61891989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6190
6191 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6192
dff28924 61931989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da 6194
2f2c687b 6195 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
362bc2da 6196
dff28924 61971989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6198
6199 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6200
2f2c687b 6201 * emacsstool.1: Update to document environment variables.
362bc2da 6202
dff28924 62031989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6204
6205 * etags.c (PAS_funcs): New function by Mosur Mohan.
6206
6207 * movemail.c: On sysv, include unistd.h.
6208
dff28924 62091989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6210
6211 * b2m.c: New file.
6212
dff28924 62131989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6214
6215 * etags.c: Prolog support from Sunichirou Sugou
6216
dff28924 62171989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6218
6219 * Makefile (clean): New target.
6220
dff28924 62211989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6222
6223 * fakemail.c (put_line): Break header lines at 79 cols.
6224
dff28924 62251989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6226
6227 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6228 multiple tags per line.
6229
dff28924 62301989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6231
6232 * movemail.c: Check access before doing real work.
6233 Check that outfile is in a writable directory.
6234 On fatal error, delete the lock file.
6235
dff28924 62361988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
362bc2da 6237
ecc54057
JB
6238 * env.c: Add decl for my-index
6239 * etags.c (file-entries): .oak => scheme
362bc2da 6240
dff28924 62411988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6242
6243 * movemail.c: Use `access' to check input and output files.
6244
dff28924 62451988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6246
6247 * emacsclient.c (main): Ignore all of CWD before first slash.
6248
dff28924 62491988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6250
6251 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6252
dff28924 62531988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6254
6255 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6256 * server.c: chmod the socket to 0700.
6257
dff28924 62581988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6259
6260 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6261 (add_field): Delete comments and turn `<', `>' to spaces
6262 in header lines.
6263 (USE_FAKEMAIL): New customization macro says to make fakemail
6264 not be a no-op even on a BSD system.
6265
dff28924 62661988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6267
6268 * etags.c (consider_token): Skip comments just like whitespace.
6269 Notice `struct', etc. and set strtag for those tokens.
6270 Return 1 for the token following `struct' if an open-brace follows it.
6271 (C_entries): Special handling of token following `struct'
6272 needed because we have probably advanced to the following line
6273 to find the `{'.
6274 (main): New option `T' sets tflag and strflag.
6275 Set both of them by default if eflags.
6276
dff28924 62771988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6278
6279 * movemail.c: Do fsync before closing output.
6280
dff28924 62811988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
362bc2da 6282
ecc54057
JB
6283 * movemail.c: Better error message when can't create tempname.
6284 This file needs a great deal of extra error-checking and lucid reporting...
362bc2da 6285
dff28924 62861988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6287
6288 * etags.c: Support assembler code for .s and .a files.
6289 (getit): Allow underscore in a tag.
6290
dff28924 62911988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6292
6293 * movemail.c: Close output and check errors before deleting input.
6294
dff28924 62951988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
362bc2da
DL
6296
6297 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6298 whether to prefix it. Handle line number args.
6299
dff28924 63001988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
362bc2da 6301
2f2c687b 6302 * etags.c (main): Default setting of eflag was backwards.
362bc2da 6303
dff28924 63041988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6305
6306 * etags.c: New option -i. -f renamed -o.
6307 `-' as input file means read input file names from stdin.
6308 -i spec'd or input file named TAGS means the input file is another
6309 tag table; output an "include" line for it.
6310
dff28924 63111988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6312
6313 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6314 New targets install, install.sysv, install.xenix.
6315 This makefile is now responsible for installing executables
6316 and documentation from this directory into system directories.
6317
dff28924 63181988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
362bc2da
DL
6319
6320 * server.c, emacsclient.c (main): Compute socket name from euid.
6321
dff28924 63221988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6323
6324 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6325
dff28924 63261988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6327
6328 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6329 * emacsclient.c: Likewise.
6330 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6331
dff28924 63321988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6333
6334 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
6335 (istoken) New string-comparison macro.
6336 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6337
dff28924 63381988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6339
6340 * etags.c: Changes for VMS.
6341 Always define ETAGS on VMS.
6342 Define macros GOOD and BAD for success and failure exit codes.
6343 (begtk, intk): Allow `$' in identifiers
6344 (main): Don't support -B, -F or -u on VMS.
6345 Alternate loop for scanning filename arguments.
6346 (system): Delete definition of this function.
6347
6348 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6349
dff28924 63501988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
362bc2da
DL
6351
6352 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6353 around include of param.h. (Like fns.c.)
6354
dff28924 63551988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6356
6357 * loadst.c (load_average): Move load-average code to this new fn.
6358 Add conditionals to compute load ave on UMAX.
6359
dff28924 63601988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6361
6362 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6363 with opposite sense.
6364
dff28924 63651988-05-13 Chris Hanson (cph@kleph)
362bc2da
DL
6366
6367 * emacsclient.c: Delete references to unused variable `out'. This
6368 caused a bus error when used under hp-ux.
6369
dff28924 63701988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6371
6372 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6373
dff28924 63741988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
362bc2da
DL
6375
6376 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6377
dff28924 63781988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6379
6380 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6381
dff28924 63821988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
362bc2da
DL
6383
6384 * movemail.c: #undef close, since config can #define it on V.3.
2f2c687b 6385 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
362bc2da 6386
dff28924 63871988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
362bc2da
DL
6388
6389 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6390 invalid escape sequences such as `\{'.
6391
6392 * loadst.c: Add `sequent' conditional for file dk.h.
6393
dff28924 63941988-03-20 Richard M. Stallman (rms@wilson)
362bc2da 6395
2f2c687b 6396 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
362bc2da 6397
2f2c687b 6398 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6922b018
KH
6399
6400;; Local Variables:
d19249e7 6401;; coding: iso-2022-7bit
33462dfa 6402;; add-log-time-zone-rule: t
6922b018 6403;; End:
2a34a036 6404
9766d41b 6405 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
273dc16a 6406 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
4e6835db 6407 2006, 2007 Free Software Foundation, Inc.
5b87ad55
GM
6408
6409 This file is part of GNU Emacs.
6410
6411 GNU Emacs is free software; you can redistribute it and/or modify
6412 it under the terms of the GNU General Public License as published by
4a9f99bd 6413 the Free Software Foundation; either version 3, or (at your option)
5b87ad55
GM
6414 any later version.
6415
6416 GNU Emacs is distributed in the hope that it will be useful,
6417 but WITHOUT ANY WARRANTY; without even the implied warranty of
6418 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6419 GNU General Public License for more details.
6420
6421 You should have received a copy of the GNU General Public License
6422 along with GNU Emacs; see the file COPYING. If not, write to the
6423 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
6424 Boston, MA 02110-1301, USA.
ab5796a9
MB
6425
6426;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc