1 2007-02-26 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
3 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
5 2007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
7 * Makefile.in (EMACS, EMACSOPT): New variables.
8 (blessmail): Use `--no-site-file' when compiling.
10 2007-02-05 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
12 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
13 (main): Now --members is the default for etags, not for ctags yet.
15 2007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
17 * etags.c (gperf, in_word_set): Change attribute for Java to
18 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
19 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
20 import, package, extends, implements and interface to be treated
21 specially for all kinds of C-style files, not just Java files.
23 2007-01-02 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
25 * etags.c (longopts): New undocumented option --no-duplicates.
26 (no_duplicates): Static variables for the above option.
27 (print_help): Do not print help for --no-warn, now undocumented.
28 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
29 (main): Pass the -u option to sort in ctags mode.
31 2006-12-28 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
33 * etags.c (readline): When creating a relative file name from a
34 #line directive, leave the file name alone. The previous
35 behaviour was to make it relative to the tags file directory,
36 under the hypothesis that the #line directive file name was
37 relative to the directory of the tagged file. That hypothesis is
38 wrong with Cpp and Lex.
39 (Makefile_targets): Do not include spaces in tag names.
41 2006-12-22 Eli Zaretskii <eliz@gnu.org>
43 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
44 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
45 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
46 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
47 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
48 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
49 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
50 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
51 (clean): Delete stamp_BLD.
53 2006-12-20 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
55 * etags.c (C_entries): DEFUN names were longer by one: corrected.
57 2006-12-18 Juanma Barranquero <lekktu@gmail.com>
59 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
60 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
61 (main) [WINDOWSNT]: Remove code to release the focus; call
62 w32_give_focus instead.
64 2006-12-15 Juanma Barranquero <lekktu@gmail.com>
66 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
67 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
68 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
69 Suggestions and comment by Eli Zaretskii.
71 2006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
73 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
74 Use $(USER32) for compatibility with Visual Studio .NET 2003.
76 2006-11-30 Juanma Barranquero <lekktu@gmail.com>
78 * emacsclient.c (emacs_pid): New variable.
79 (message): Remove leftover code.
80 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
81 focus yet; emacsclient can still display an informational message
82 before sending requests to Emacs.
83 (main): Allow Emacs to grab the focus. Simplify message() call.
85 2006-11-30 Michael Mauger <mmaug@yahoo.com>
87 * emacsclient.c (message): Make sure the message is properly
88 written even if it contains printf escapes, and flush the result.
89 (set_tcp_socket): Make the message for non-local connections
90 informational rather than an error.
92 2006-11-28 Kevin Ryde <user42@zip.com.au>
94 * etags.c (readline): Check for double quote after #line.
96 2006-11-28 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
98 * etags.c (readline): sscanf could in principle return 2.
100 2006-11-28 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
102 * etags.c (readline): lno is unsigned.
103 (TeX_commands): Use p++ (rather than *p++) to increment p.
104 (Lua_functions): Explicitly discard LOOKING_AT's return value.
106 2006-11-27 Juanma Barranquero <lekktu@gmail.com>
108 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
109 ($(TRES)): New rule (copied from nt/makefile.w32-in).
110 ($(BLD)/emacsclientw.exe): Add dependency.
112 2006-11-27 Eli Zaretskii <eliz@gnu.org>
114 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
116 2006-11-25 Juanma Barranquero <lekktu@gmail.com>
118 * makefile.w32-in (VERSION): New macro.
119 (ECLIENT_CFLAGS): Add -DVERSION.
121 2006-11-25 Jason Rumney <jasonr@gnu.org>
123 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
125 2006-11-24 Michael Mauger <mmaug@yahoo.com>
127 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
128 file names with forward slashes.
130 2006-11-23 Juanma Barranquero <lekktu@gmail.com>
132 * emacsclient.c (print_help_and_exit): Tweak message contents and
133 tabs/spaces to improve alignment in message boxes.
135 2006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
137 * emacsclient.c: Include <stdarg.h>.
138 [WINDOWSNT]: Include <windows.h>.
139 (w32_check_console_app): New function.
140 (message): New function.
141 (decode_options, print_help_and_exit, fail, main)
142 (initialize_sockets, get_server_config, set_tcp_socket)
143 (set_local_socket, set_socket): Use message().
145 2006-11-13 Jason Rumney <jasonr@gnu.org>
147 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
150 2006-11-13 Juanma Barranquero <lekktu@gmail.com>
152 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
153 ($(BLD)/emacsclientw.exe): New target.
154 (install): Install emacsclientw.exe.
155 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
156 (ECLIENT_CFLAGS): Remove redundant flags.
158 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
160 2006-11-13 Jason Rumney <jasonr@gnu.org>
162 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
164 2006-11-10 David Reitter <david.reitter@gmail.com>
166 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
168 2006-11-08 Juanma Barranquero <lekktu@gmail.com>
170 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
171 FARPROC to avoid a compiler warning.
173 2006-11-07 Juanma Barranquero <lekktu@gmail.com>
175 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
176 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
178 * emacsclient.c (get_server_config): Extract also the Emacs pid
179 from the server file. On Windows, try to force the Emacs frame to
182 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
184 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
185 option --socket-name.
186 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
187 command line options.
188 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
189 (fail): Don't check for missing arguments, it is now done in set_socket.
190 (file_name_absolute_p): New function (loosely based on the one in
192 (initialize_sockets): Don't check for duplicate loading of Winsock.
193 (get_server_config): Only try relative paths in the default
195 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
197 (set_socket): Call INITIALIZE(). Search explicit command-line
198 arguments, then environment variable EMACS_SERVER_FILE, then implicit
199 socket paths, before trying the alternate editor.
200 (main): Use file_name_absolute_p.
202 2006-11-04 Eli Zaretskii <eliz@gnu.org>
204 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
205 file if it doesn't already exist.
207 2006-11-03 Juanma Barranquero <lekktu@gmail.com>
209 * emacsclient.c (initialize_sockets): Don't initialize Winsock
212 2006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
214 * Makefile.in (INSTALL_SCRIPT): New macro.
215 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
217 2006-11-02 Juanma Barranquero <lekktu@gmail.com>
219 * grep-changelog: When called with no arguments (not even a
220 filter), show help instead of blindingly dumping every single
221 ChangeLog available. Doc fix. Update version.
223 2006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
225 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
226 [!WINDOWSNT]: Include <netinet/in.h> if available.
227 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
228 (IOCTL, IOCTL_BOOL_ARG): Remove.
229 (set_tcp_socket): Don't set the socket in blocking mode.
232 2006-11-01 Juanma Barranquero <lekktu@gmail.com>
234 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
235 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
237 2006-10-31
\e,bS
\e(Bscar Fuentes <ofv@wanadoo.es> (tiny change)
239 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
240 (close_winsock): Declare as __cdecl.
242 2006-10-31 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
244 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
245 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
246 to set the socket in non-blocking mode.
248 2006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
250 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
251 (INVALID_SOCKET): Define.
252 (initialize_sockets): Put #endif at the right place.
253 (set_local_socket): Use progname, not argv[0].
255 2006-10-31 Juanma Barranquero <lekktu@gmail.com>
257 * makefile.w32-in (ALL): Add emacsclient.
258 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
259 (emacsclient, $(BLD)/emacsclient.exe): New targets.
260 (install): Install emacsclient.
262 * emacsclient.c: Add support for TCP sockets.
263 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
264 (INITIALIZE): New macros.
265 (IOCTL_BOOL_ARG): New typedef.
266 (server_file): New global variable.
267 (longopts): New option --server-file.
268 (decode_options): Process new option --server-file and environment
269 variable EMACS_SERVER_FILE.
270 (print_help_and_exit): Document new option.
271 (fail): If no connection available and no alternate editor,
272 suggest using options to make them explicit.
273 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
274 (send_buffer, sblen): New variables.
275 (send_to_emacs): New function to buffer output and send it with
277 (quote_file_name): Use SEND_STRING.
278 (close_winsock, initialize_sockets): New functions to load and
280 (get_server_config, set_tcp_socket): New functions to create and
282 (set_local_socket): New function to create and set up Unix
283 socket (code moved from previous implementation).
284 (set_socket): New function to chose between TCP and Unix sockets.
285 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
286 set_local_socket. Use set_socket. Get answers from server.el with
287 recv(), not file stream functions.
289 2006-10-09 Eli Zaretskii <eliz@gnu.org>
291 * makefile.w32-in (../src/config.h): Fix error message.
293 2006-09-30 Eli Zaretskii <eliz@gnu.org>
295 * .cvsignore: Add blessmail.
297 2006-09-15 Jay Belanger <belanger@truman.edu>
299 * COPYING: Replace "Library Public License" by "Lesser Public
302 2006-08-09 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
304 * etags.c (readline): Expect sscanf returns >= 1.
305 (readline): Change position on %n and \" in sscanf.
307 2006-08-07 Masatake YAMATO <jet@gyve.org>
309 * etags.c (readline): Expect sscanf returns 2, not 1.
311 2006-08-07 Masatake YAMATO <jet@gyve.org>
313 * etags.c (TEX_mode): Check getc returns EOF.
314 File ended without newline causes infinite loop.
316 2002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
318 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
320 2006-07-30 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
322 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
323 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
324 (Objc_suffixes): Suggest using --lang=c for full help.
325 (C_entries): Initialise savetoken to 0 to shut up the compiler.
327 2006-07-20 Andreas Schwab <schwab@suse.de>
329 * fakemail.c (fatal): Drop second parameter and treat first
330 parameter as a plain string. Callers changed.
332 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
334 * ebrowse.c (usage, version): Mark as NO_RETURN.
336 * emacsclient.c (print_help_and_exit): Likewise.
338 2006-07-10 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
340 * etags.c (absolute_filename): Free unused space (cosmetic change).
341 (in_word_set): In C, also tag #undef symbols.
343 2006-06-09 Eli Zaretskii <eliz@gnu.org>
345 * yow.c: Remove file.
347 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
349 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
350 yow${EXEEXT}: Remove target.
352 2006-06-04 Masatake YAMATO <jet@gyve.org>
354 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
355 doesn't exist, is not seekable, not is failed in ftall.
357 2006-06-03 Eli Zaretskii <eliz@gnu.org>
359 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
360 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
361 ($(BLD)/test-distrib.exe): New targets.
362 (sorted-doc, digest-doc, test-distrib): New targets.
363 (install): Install sorted-doc.exe and digest-doc.exe.
364 ($(BLD)/sorted-doc.$(O)): Update dependencies.
366 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
367 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
370 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
371 [WINDOWSNT] <top level>: Don't redeclare malloc.
372 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
374 (main): Initialize bp, to avoid compiler warnings
376 * makefile.w32-in: Delete traces of leditcfns.c.
378 * leditcfns.c: Remove file.
380 2006-05-23 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
382 * pop.c (pop_open, socket_connection, KPOP_SERVICE): Added
383 comments explaining why the "kpop" service is never used.
385 2006-05-13 Eli Zaretskii <eliz@gnu.org>
387 * makefile.w32-in (lisp1): Add fringe.elc.
389 2006-05-02 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
391 * etags.c (Perl_functions): Free space allocated for var package.
392 (Erlang_functions): Possibly free space allocated for var last.
393 (Prolog_functions): Possibly free space allocated for var last.
395 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
397 * sorted-doc.c (main): Initialize docs to NULL.
399 * yow.c (yow): Free buf.
401 * etags.c: Delete c-indentation-style local variable.
403 2006-04-29 Richard Stallman <rms@gnu.org>
405 * movemail.c (main): Check for negative value from `read'.
407 * fakemail.c (read_header): Give fatal error if input has no header.
409 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
411 * b2m.c (main): Don't include <limits.h>.
412 (TM_YEAR_BASE): New macro.
413 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
414 that s/ files can override this. Use the more-conservative range
416 (main): Check for asctime returning NULL.
417 * fakemail.c: Likewise.
419 2006-03-27 Paul Eggert <eggert@cs.ucla.edu>
421 * b2m.c: Include <limits.h>.
422 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
423 (main): Check for out-of-range time stamps.
424 * fakemail.c: Likewise.
426 2006-03-18 Andre Spiegel <spiegel@gnu.org>
428 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
429 execute $DIFF twice, and once with the wrong options.
431 2006-02-23 Claudio Fontana <claudio@gnu.org>
433 * Makefile.in (install, uninstall): Add DESTDIR variable to
434 support staged installations.
436 2005-12-30 Eli Zaretskii <eliz@gnu.org>
438 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
439 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
440 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
441 Rearrange the list to be similar to $(shortlisp) in
443 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
444 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
445 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
448 2005-12-22 Richard M. Stallman <rms@gnu.org>
450 * Makefile.in (update-game-score.o): Delete spurious final `\'.
452 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
454 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
455 which was never opened.
457 2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
459 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
462 2005-09-27 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
464 * etags.c: Preliminary Forth support.
465 (prolog_pr): Cast strlen to int before comparison.
466 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
467 the second argument is indeed a literal string.
468 (main): In append mode, sort the tags file after writing it.
470 2005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
472 * etags.c (longopts, print_help, main): The -a (--append) option
473 can be used in ctags also; for one, the Linux make file uses it.
475 2005-09-20 Chong Yidong <cyd@stupidchicken.com>
477 * ebrowse.c (add_sym): Compare namespace names instead of
478 namespace objects. This prevents the parser from incorrectly
479 treating classes whose superclass is in another namespace.
481 2005-09-15 Richard M. Stallman <rms@gnu.org>
483 * Makefile.in (update-game-score.o): New target.
484 Compile and link this progranm separately.
485 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
487 2005-09-11 Jason Rumney <jasonr@gnu.org>
489 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
491 (../src/paths.h): Removed.
493 2005-07-27 Juanma Barranquero <lekktu@gmail.com>
495 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
496 generated. Ignore also ctags.c and getopt.h.
498 * makefile.w32-in (clean): Delete getopt.h.
499 (getopt.h): New rule.
501 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
503 Merge gnulib getopt implementation into Emacs.
505 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
506 (GETOPT_H): New macro, from gnulib.
507 (getopt.h): New rule, from gnulib.
508 (GETOPTOBJS): Now autoconfigured.
509 (GETOPTDEPS): getopt.h is now autoconfigured.
510 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
511 (getopt.o): Depend on ${srcdir}/gettext.h.
512 (movemail.o): Depend on $(GETOPT_H).
513 * getopt.c, getopt1.c: Sync from gnulib.
514 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
515 * getopt.h: Removed (now is getopt_.h).
517 2005-07-13 Ken Raeburn <raeburn@gnu.org>
519 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
520 (sendline): Add the \r\n to the line in a temporary buffer, and write
523 2005-07-04 Lute Kamstra <lute@gnu.org>
525 Update FSF's address in GPL notices.
527 2005-06-13 Eli Zaretskii <eliz@gnu.org>
529 * makefile.w32-in ($(DOC)): Fix last change.
531 2005-06-12 Eli Zaretskii <eliz@gnu.org>
533 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
534 temacs.exe, and the preloaded *.elc files. This avoids
535 unnecessary dumping and DOC rebuilding.
537 2005-06-04 Eli Zaretskii <eliz@gnu.org>
539 * ntlib.h (fileno): Don't define if already defined.
541 2005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
543 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
544 (yow): Use EXIT_FAILURE in case of memory error.
546 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
548 * make-docfile.c (DIRECTORY_SEP): New macro.
549 (IS_DIRECTORY_SEP): Use it.
551 2005-03-18 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
553 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
555 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
557 * make-docfile.c: Undo previous change.
559 2005-02-04 Andreas Schwab <schwab@suse.de>
561 * movemail.c (fatal): Accept third parameter and pass down to error.
562 (pfatal_with_name): Pass error string as format parameter instead of
563 as part of format string.
564 (pfatal_and_delete): Likewise.
565 (main): Adjust call to fatal.
568 2005-01-29 Richard M. Stallman <rms@gnu.org>
570 * movemail.c (popmail): Don't use Errmsg as format string.
572 2004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
574 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
576 2004-12-15 Andreas Schwab <schwab@suse.de>
578 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
579 preprocessing to compile time constant.
581 2004-11-17 Kim F. Storm <storm@cua.dk>
583 * etags.c: Undo last change.
585 2004-11-09 Kim F. Storm <storm@cua.dk>
587 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
590 * hexl.c (main): Init local var c to silence compiler.
592 * etags.c (main, consider_token, C_entries): Add misc switch
593 default targets to silence compiler.
595 2004-11-09 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
597 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
598 resulting DOC file can be used on Unix/Mac also.
600 2004-09-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
602 * etags.c (main): When relative file names are given as argument,
603 make them relative to the current working dir, rather than
604 relative to the output tags file, if the latter is in /dev.
606 2004-09-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
608 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
609 <stdlib.h> is available.
610 (enum sym_type): New st_C_attribute value for parsing
611 gcc's __attribute__. Deleted st_C_typespec value.
612 (gperf, in_word_set): Use gperf 3, options changed. Added the
613 __attribute__ keyword, removed all the st_C_typespec keywords,
614 changed attribute for Java to (C_JAVA & !C_PLPL).
615 (inattribute): New global bool, part of the C state machine.
616 (cblev): Identifier renamed to bracelev throughout.
617 (consider_token, C_entries): Numerous changes for making the
618 parser more robust and adding support for __attribute__.
620 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
622 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
623 Support the Lua scripting language <http://www.lua.org>.
625 2004-09-08 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
627 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
630 2004-07-17 Richard M. Stallman <rms@gnu.org>
632 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
634 2004-06-01 Juanma Barranquero <lektu@terra.es>
636 * makefile.w32-in (obj): Add image.c.
638 2004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
640 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
642 2004-05-08 Jason Rumney <jasonr@gnu.org>
644 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
647 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
649 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
650 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
651 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
653 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
654 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
655 * test-distrib.c, update-game-score.c, yow.c: Likewise.
657 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
659 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
661 2004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
663 * b2m.c (GOOD, BAD): Delete macros. Throughout,
664 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
665 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
669 2004-05-03 Jason Rumney <jasonr@gnu.org>
671 * makefile.nt: Remove.
673 2004-04-26 Eli Zaretskii <eliz@gnu.org>
675 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
676 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
677 instead of a literal '/'.
679 2004-04-23 Juanma Barranquero <lektu@terra.es>
681 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
683 2004-04-17 Paul Eggert <eggert@gnu.org>
685 * rcs2log (Help): Clarify wording of the usage message.
686 Problem reported by Alan Mackenzie in
687 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
689 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
691 * make-docfile.c (xmalloc): Fix return type.
692 (put_filename): New fun.
695 2004-03-09 Juanma Barranquero <lektu@terra.es>
697 * grep-changelog: Changes to support ChangeLog.10+.
698 (main): Tidy up usage string. Fix "Use of uninitialized value"
699 warning. Set version to 0.2. Parse the directory listing to get
700 any ChangeLog.n file, not just 1..9.
701 (header_match_p, entry_match_p, print_log, parse_changelog):
702 Remove Perl prototypes (their purpose is to help the parser, which
703 isn't needed here, not declare arguments).
704 (parse_changelog): Make --reverse faster on big batches by not
705 modifying the entries list.
707 2004-03-01 Juanma Barranquero <lektu@terra.es>
709 * makefile.w32-in (obj): Add fringe.c.
711 2004-02-14 Paul Eggert <eggert@twinsun.com>
713 * rcs2log: Work correctly if CVSROOT specifies :fork: or
714 :local: methods, or omits the colon between the hostname
715 and the path. Allow :/ in repository path, since CVS does.
716 Fix typo: "pository" should be set from $CVSROOT, not $repository.
717 This fixes a bug reported by Wolfgang Scherer in
718 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
719 along with some related bugs I discovered by inspecting how
720 CVS itself parses $CVSROOT.
722 2004-02-04 J
\e,bi
\e(Br
\e,bt
\e(Bme Marant <jmarant@nerim.net> (tiny change)
724 * emacsclient.c (decode_options): Fix handling of alternate editor.
726 2004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
728 * emacsclient.c (main): Don't use the hostname in the socket name.
729 Look for relative socket names in the /tmp dir rather than in cwd.
731 2004-01-24 Richard M. Stallman <rms@gnu.org>
733 * emacsclient.c (main): Restore errno from saved_errno,
734 so the error message comes from socket_status.
736 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
738 * emacsclient.c (main): Stop if socket name too long.
739 Only try su-fallback if the socket name was not explicit.
740 Check socket name length in su-fallback case as well.
742 2004-01-08 Andreas Schwab <schwab@suse.de>
744 * emacsclient.c (main): Save errno from socket_status.
746 2004-01-04 Andreas Schwab <schwab@suse.de>
748 * emacsclient.c (main): Fix socket name when using another user.
750 2003-12-27 Paul Eggert <eggert@twinsun.com>
752 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
753 a tag, and if the user has not specified an rlog option.
754 Adapted from a suggestion by Martin Stjernholm in
755 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
756 (Copyright): Update to 2003.
758 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
760 * make-docfile.c (main): For return code, no longer special-case VMS.
761 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
763 2003-09-28 Andreas B
\e,A|
\e(Bsching <crunchy@tzi.de> (tiny change)
765 * emacsclient.c (quote_file_name): Print the result instead of
766 returning it. Fix the return type accordingly.
767 (main): With --eval, if no file name, read from stdin.
770 2003-09-10 Richard M. Stallman <rms@gnu.org>
772 * emacsclient.c (main): Use socket_name.
774 2003-09-10 Andreas B
\e,A|
\e(Bsching <crunchy@tzi.de> (tiny change)
776 * emacsclient.c (socket_name): New variable.
777 (longopts, decode_options, print_help_and_exit):
778 Handle --socket-name argument.
780 2003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
782 * etags.c (consider_token): Check C++ `operator' only when the
783 token len is long enough.
785 2003-08-20 Dave Love <fx@gnu.org>
787 * Makefile.in: Remove obsolete references to alloca.
789 2003-07-29 Ken Brush <ken@wirex.com>
791 * emacsclient.c (main)
792 * etags.c (suggest_asking_for_help)
793 * movemail.c (main): Fix having macros in a printf statement.
795 2003-05-31 Juanma Barranquero <lektu@terra.es>
797 * makefile.w32-in (lisp): Fix references to byte-run.el,
798 float-sup.el and map-ynp.el, which are now in emacs-lisp.
800 2003-05-22 Dave Love <fx@gnu.org>
802 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
803 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
805 2003-05-20 Dave Love <fx@gnu.org>
807 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
809 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
811 2003-04-27 Oliver Scholz <alkibiades@gmx.de>
813 * update-game-score.c (read_scores): Fix corruption of scores on read.
815 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
817 * emacsclient.c (main): Use new safe location for socket.
819 2003-03-12 Tom Tromey <tromey@redhat.com>
821 * emacsclient.c (print_help_and_exit): Print to stdout.
822 Exit successfully. Added some blank lines for readability.
823 (decode_options): Don't call print_help_and_exit in default case.
824 Print version information to stdout.
825 (main): Don't call print_help_and_exit.
827 2003-02-15 Richard M. Stallman <rms@gnu.org>
829 * cvtmail.c: Cast result of malloc and realloc.
830 Don't include stdlib.h, becuase config.h does.
831 (malloc, realloc): Declarations deleted.
833 * yow.c (yow): Cast result of malloc and realloc.
834 (malloc, realloc): Declarations deleted.
836 2003-02-11 Juanma Barranquero <lektu@terra.es>
838 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
840 2003-02-08 Andreas Schwab <schwab@suse.de>
842 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
843 instead of the substitution.
845 2003-02-04 Richard M. Stallman <rms@gnu.org>
847 * update-game-score.c (push_score, read_scores): Cast values
848 of malloc and realloc.
849 (main, lock_file): Avoid assignment inside if.
851 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
853 * Makefile.in: Use @EXEEXT@ for Cygwin.
855 2003-01-21 Dave Love <fx@gnu.org>
857 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
860 * yow.c: Don't include string.h.
862 2003-01-20 Richard M. Stallman <rms@gnu.org>
864 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
867 2003-01-06 Kim F. Storm <storm@cua.dk>
869 * pop.c (__P): Renamed from _P to avoid problems on Cygwin.
872 2002-12-18 Andrew Innes <andrewi@gnu.org>
874 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
875 because GNU make doesn't append when using >> redirection.
877 2002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
879 * b2m.pl: Make sure every message ends with a blank line, because
880 some mbox parsers require a blank line before "From " lines.
882 2002-12-08 Richard M. Stallman <rms@gnu.org>
884 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
885 (_): Test only HAVE_LIBINTL_H to decide what to do.
887 2002-12-05 Richard M. Stallman <rms@gnu.org>
889 * getopt.c: Comment out include of libintl.h or gettext.h.
891 2002-12-04 Richard M. Stallman <rms@gnu.org>
893 * Update getopt from gnulib version; changes described below.
895 * getopt1.c: Conditionally find getopt.h.
896 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
898 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
899 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
900 (wchar.h): Include, maybe.
901 (attribute_hidden): Define if not defind.
902 (__getopt_initialized): Use attribute_hidden.
903 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
904 (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
905 Conditional on USE_NONOPTION_FLAGS.
906 (SWAP_FLAGS): New definitions.
907 (exchange): Test USE_NONOPTION_FLAGS.
908 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
909 (_getopt_internal): Error if argc < 1. New local var print_errors.
910 Improve test for ambiguous long option.
911 Add LIBIO support for error message output.
912 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
914 * getopt.h: Maybe include ctype.h.
915 Treat __cplusplus like __STDC__.
916 (decls): Use __ in arg names.
918 2002-12-02 Stephen Eglen <stephen@gnu.org>
920 * emacsclient.c (main): Tell user how to start server within Emacs
921 if socket could not be found.
923 2002-12-02 Richard M. Stallman <rms@gnu.org>
925 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
927 2002-11-19 Ben Key <bkey1@tampabay.rr.com>
929 * makefile.w32-in: Fixed a bug that caused the documentation for
930 the built in function play-sound-internal not to be included in
933 2002-11-18 Dave Love <fx@gnu.org>
935 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
936 fcntl.h, stdarg.h conditionally.
937 (_GNU_SOURCE, __attribute__): Don't define.
938 (optarg, optind, opterr): Declare.
939 (lose, lose_syserr): Use NO_RETURN.
940 (get_user_id): Use P_.
942 2002-11-17 Richard M. Stallman <rms@gnu.org>
944 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
946 2002-11-14 Dave Love <fx@gnu.org>
948 * movemail.c (pop_retr): Declare comment.
950 * make-docfile.c (read_c_string_or_comment): Declare msgno.
952 * Makefile.in (YACC): Deleted.
954 2002-10-19 Andreas Schwab <schwab@suse.de>
956 * Makefile.in (${archlibdir}): Always create $(gamedir).
957 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
959 2002-10-04 Juanma Barranquero <lektu@terra.es>
961 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
963 2002-09-30 Markus Rost <rost@math.ohio-state.edu>
965 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
968 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
970 * emacsclient.c: Remove SYSV support.
971 (eval, display): New vars.
972 (longopts): Add --eval and --display.
973 (decode_options): Add -e and -d processing.
974 (print_help_and_exit): Update the usage string.
975 (main): Add support for --eval and --display.
976 (main): Always use /tmp and non-qualified hostname.
978 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
980 * emacsserver.c: Remove.
982 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
984 * emacsclient.c (quote_file_name): Quote \n.
985 (main): Print a final \n when needed.
987 2002-09-03 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
989 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
990 string that cannot be freed.
992 2002-08-30 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
994 * etags.c (consider_token, C_entries): Switch to C++ parsing when
995 auto-detection is enabled and the `::' qualifier is met.
996 (consider_token, C_entries): Several bugs corrected that tagged
997 some declarations even though --declarations was not used.
1000 (C_entries): Several cosmetic changes.
1001 (C_entries): Invalidate the token is some cases.
1003 2002-08-29 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1005 * etags.c (C_entries): Correct a problem with const C++ funcs.
1006 (ignoreindent): Renamed from noindentypedefs.
1007 (cjava, cplpl): They are now macros instead of local vars.
1009 2002-08-28 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1011 * etags.c (HTML_labels): Tag ID= also.
1013 2002-08-27 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1015 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1017 * etags.c (HTML_labels): New language HTML.
1018 (etags_strcasecmp): Like BSD's, for compatibility.
1019 (strcaseeq): Make it into a macro.
1021 * etags.c (make_tag): Never generate null length tag names.
1022 (linebuffer_init): Renamed from initbuffer. All callers changed.
1023 (pattern): Structure renamed to `regexp', member regex renamed to
1025 (node_st): Member pat renamed to regex.
1026 (pattern); New member force_explicit_name, for future use.
1027 Now always set to true, cannot be reset.
1028 (add_regex, regex_tag_multiline, readline): Use it.
1029 (main): Free some global structures.
1030 (fdesc): New member `written'.
1031 (readline, process_file): Initialise it.
1032 (put_entries): Set it.
1033 (main): Use it to create entries for files without tags.
1034 (total_size_of_entries): Do not count invalid tags.
1036 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1038 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1039 for the function name in the usage info.
1041 2002-07-31 Colin Walters <walters@gnu.org>
1043 * update-game-score.c (P_): New macro. Use it for all prototypes.
1044 (lose): Don't use varargs.
1045 (lose_syserr): New function.
1047 * update-game-score.c: Change all functions to K&R style.
1049 2002-07-30 Andreas Schwab <schwab@suse.de>
1051 * Makefile.in (localstatedir): New variable.
1053 2002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
1055 * b2m.pl: Fix regexp for finding return address fields.
1057 2002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1059 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1061 2002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
1063 * b2m.pl: Obey the rmail file and use the unpruned header properly.
1065 2002-06-26 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1069 2002-06-21 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1071 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
1072 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1073 (PHP_functions, PHP_functions, Cobol_paragraphs)
1074 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1075 (prolog_pr, erlang_func, erlang_attribute)
1076 (Perl_functions, Perl_functions, Pascal_functions)
1077 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1078 (get_tag): Prototype changed, all callers changed.
1080 2002-06-20 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1082 * etags.c: Implement implicit tag names, that is, unnamed tags
1083 whose name is automatically deduced by etags.el. The advantage is
1084 that there is no explicit tag name in most tags, so the size of
1085 the tags file is reduced, yet find-tag is able to do a match as
1086 accurate as with named tags. See the comment in make_tag for details.
1087 (make_tag): New function (was the disabled function new_pfnote).
1088 (make_C_tag): Use it.
1090 2002-06-19 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1092 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1093 (Makefile_targets): Tag variables unless --no-globals.
1094 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1096 2002-06-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1098 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1099 (invalidate_nodes): Bug corrected.
1100 (print_help): Better help for regexps.
1102 2002-06-13 Juanma Barranquero <lektu@terra.es>
1104 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1107 2002-06-12 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1109 * etags.c: New multi-line regexp and new regexp syntax.
1110 (arg_type): at_icregexp label removed (obsolete).
1111 (pattern): New member multi_line for multi-line regexps.
1112 (filebuf): A global buffer containing the whole file as a string
1113 for multi-line regexp matching.
1114 (need_filebuf): Global flag raised if multi-line regexps used.
1115 (print_help): Document new regexp modifiers, remove references to
1116 obsolete option --ignore-case-regexp.
1117 (main): Do not set regexp syntax and translation table here.
1118 (main): Treat -c option as a backward compatibility hack.
1119 (main, find_entries): Init and free filebuf.
1120 (find_entries): Call regex_tag_multiline after the regular parser.
1121 (scan_separators): Check for untermintaed regexp and return NULL.
1122 (analyse_regex, add_regex): Remove the ignore_case argument, which
1123 is now a modifier to the regexp. All callers changed.
1124 (add_regex): Manage the regexp modifiers.
1125 (regex_tag_multiline): New function. Reads from filebuf.
1126 (readline_internal): If necessary, copy the whole file into filebuf.
1127 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1129 2002-06-11 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1131 * etags.c (add_regex): Better check for null regexps.
1132 (readline): Check for regex matching null string.
1133 (find_entries): Reorganisation.
1135 2002-06-07 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1137 * etags.c (scan_separators): Support all character escape
1138 sequences supported by Gcc.
1139 (find_entries): Rewind unconditionally.
1140 (find_entries): Do not call language functions directly, now calls
1142 (find_entries): Do general initialisations here.
1143 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1144 (Ada_getit, Pascal_functions, Pascal_functions)
1145 (prolog_skip_comment): Do not do them here.
1146 (readline_internal): Increment lineno here.
1147 (readline): Conditionally undo readline_internal increment.
1148 (readline): Do not return a value.
1150 2002-06-06 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1152 * etags.c: New option --parse-stdin=FILE.
1153 (enum arg_type): New label at_stdin.
1154 (STDIN): New constant.
1155 (parsing_stdin): New flag.
1156 (longopts): New option --parse-stdin=NAME.
1157 (print_help): Document it.
1159 (process_file): Split into process_file and process_file_name.
1160 (process_file_name): New function.
1162 * etags.c: Improvements and bug squashing in TeX handling.
1163 (TeX_commands): Skip comments.
1164 (TEX_defenv): Now contains more contructs.
1165 (TEX_cmt): Make it a static char and move it before TeX_commands.
1166 (TeX_commands): Shorten the tag to the brace after the name.
1167 (TeX_commands): Names now include the initial backslash.
1168 (TeX_commands): Names do not include numeric args #n.
1169 (TeX_commands): Correct line char number in tags.
1170 (TEX_tabent, TEX_token): Deleted.
1171 (TeX_commands, TEX_decode_env): Streamlined.
1173 2002-06-05 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1175 * etags.c (main): Avoid a buffer overrun with sprintf.
1177 2002-05-30 Richard M. Stallman <rms@gnu.org>
1179 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1180 (LIBS_MOVE): Renamed from MOVE_LIBS.
1182 2002-05-26 Paul Eggert <eggert@twinsun.com>
1184 Reinstate the following change from 2002-03-22, which was
1185 inadvertently lost on 2002-04-13.
1187 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1188 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1191 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1193 * pop.c (socket_connection): Move the code to resolve the POP
1194 host right before trying to connect with it.
1196 2002-04-28 Colin Walters <walters@verbum.org>
1198 * Makefile.in (${archlibdir}): Don't conditionalize on
1199 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1200 or not we have access to the specified game user.
1202 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1203 (main): New argument -d, for specifying directory.
1205 (get_user_id): Compute.
1206 (get_home_dir): Deleted.
1207 (get_prefix): New function, taken from main.
1208 (main): Check whether or not we are running setuid. Move prefix
1209 computation to get_prefix. Don't call getpwent; we don't need to
1210 any more. Instead, move it to get_user_id().
1212 2002-04-24 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1214 * ebrowse.c (skip_initializer): Return void.
1216 2002-04-23 Colin Walters <walters@verbum.org>
1218 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1221 2002-04-22 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1223 * etags.c (last_node): Make it a global variable.
1224 (process_file): Print the tags from the nodes as soon as
1225 possible, and delete the nodes. This brings down the memory
1226 occupancy as etags to almost the same level as when the #line
1227 directives were not parsed.
1228 (free_fdesc): New function.
1229 (find_entries): Use it.
1230 (invalidate_nodes): In etags mode, do not just mark the nodes as
1231 invalid, do delete them.
1233 2002-04-21 Gerd Moellmann <gerd@gnu.org>
1235 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1237 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1239 * update-game-score.c: Move config.h before the other headers, to
1240 avoid compiler warnings.
1242 2002-04-16 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1244 * etags.c (find_entries): Bug fix in list management.
1246 2002-04-15 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1248 * etags.c (get_language_from_filename): Add one argument.
1249 (strcaseeq): New function.
1250 (get_language_from_filename): Use it to do a case insenstitive
1251 comparison if called with appropriate args.
1252 (find_entries): Try with case insensitive match.
1253 (process_file): Bug fixed.
1255 2002-04-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1257 * etags.c (find_entries): Delete tags previously obtained from
1258 file xxx.c's #line directives when parsing file xxx.y. This is
1259 generally done for automatically generated files containing
1260 #line directives. This handles the case when xxx.y is tagged
1261 before xxx.c, and the entries of xxx.c pointing to xxx.y should
1263 (language): Add the metasource member. Initializers changed.
1264 (invalidate_nodes): New function.
1265 (readline): Discard lines after having found a #line
1266 directive pointing to an already tagged file. This handles the
1267 case when xxx.y is tagged before xxx.c, and the entries of
1268 xxx.c pointing to xxx.y should be discarded.
1269 (fdesc): New structure for keeping track of input files.
1270 (fdesc): Remove `file' member (a string) and use instead a pointer
1271 to a file description structure.
1272 (curfile, curfiledir, curtagfname, curlang, nocharno)
1273 (forced_lang): Global variables removed in favor of fdhead and
1274 curfdp, pointers to file description strucures.
1275 (longopts, main, print_help): Use the CTAGS conditional to include
1276 or exclude options that work on etags or ctags only.
1277 (process_file, find_entries, pfnote, add_node, put_entries)
1278 (readline): Use fdhead and curfdp.
1279 (process_file, find_entries): Do not take an arg string, all
1282 * etags.c (longopts, print_help, main): Test CTAGS to disallow
1283 options that are not right for either etags or ctags.
1285 * etags.c (number_len, total_size_of_entries): Define them also
1286 in CTAGS mode, because gcc does not compile all refs away.
1288 2002-04-14 Colin Walters <walters@debian.org>
1290 * update-game-score.c (lock_file): If the lock file is older than
1291 an hour, delete it. Reset attempts to zero if we have to break
1294 2002-04-14 Andreas Schwab <schwab@suse.de>
1296 * update-game-score.c (read_score): Fix type of second parameter
1297 of getdelim to be of type size_t instead of int. Use 0 instead of
1300 2002-04-10 Colin Walters <walters@verbum.org>
1302 * update-game-score.c (toplevel): Include stdarg.h.
1303 (MAX_DATA_LEN, MAX_SCORES): New.
1304 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1305 default to ~/.emacs.d/games.
1306 (get_user_id): Don't zero uid in the case where we can't get the
1308 (lose): New function.
1309 (main): Actually use `max', and default it to MAX_SCORES.
1310 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
1312 (read_score): Handle the case of reading unamelen characters, then
1313 finishing. Use mktemp if mkstemp isn't available.
1314 (lock_file, unlock_file): Delete unused versions.
1315 (lock_file): Always sleep, even if we unlinked the lock file.
1317 * Makefile.in (gamedir, gameuser): New variables.
1318 (toplevel, UTILITIES): Add update-game-score.
1319 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
1321 2002-04-07 Colin Walters <walters@verbum.org>
1323 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
1324 (get_user_id): Take struct passwd as an argument.
1325 (get_home_dir): New function.
1326 (main): Read in user information here. Discover home directory if
1328 (read_score): Trim newline only in `getline' case.
1330 2002-04-05 Colin Walters <walters@debian.org>
1332 * update-game-score.c (toplevel): Include pwd.h.
1333 (struct score_entry): Add username field.
1334 (push_score): Use it.
1335 (get_user_id): New function.
1336 (main): Don't malloc excessively.
1337 (main): Use username field.
1338 (read_score): Read it.
1339 (push_score): Handle it.
1340 (write_scores) Write it.
1341 (read_score): Handle arbitrary length data.
1343 2002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
1345 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
1347 2002-03-29 Gerd Moellmann <gerd@gnu.org>
1349 * ebrowse.c (add_declarator, skip_initializer): New functions.
1350 (declaration): Use them.
1352 2002-03-28 Jason Rumney <jasonr@gnu.org>
1354 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
1356 2002-03-27 Colin Walters <walters@debian.org>
1358 * update-game-score.c: New file.
1360 2002-03-22 Paul Eggert <eggert@twinsun.com>
1362 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1363 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1366 2002-03-12 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1368 * etags.c (Python_functions): Skip spaces at beginning of lines.
1369 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1370 (TeX_commands): Name tags. Correction of old disabled code.
1372 * etags.c (curfiledir, curtagfname): New global variables.
1373 (process_file): Initialise them.
1374 (readline): Canonicalize the name found in #line directive.
1376 2002-03-06 Jason Rumney <jasonr@gnu.org>
1378 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1379 compilers that don't optimize out dead code.
1381 2002-03-05 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1383 * etags.c: Honour #line directives.
1384 (no_line_directive): New global var; set it for old behaviour.
1385 (main): Remove some #ifdef in the getopt switch.
1386 (add_node, put_entries): Code added to merge different chunks of
1387 nodes referring to the same file. Currently the tags are just
1388 appended, without any check for duplicates.
1389 (Perl_functions): Do not special case ctags.
1390 (readline): Identify #line directives and do the right thing.
1391 (nocharno, invalidcharno): New global vars.
1392 (process_file): Reset nocharno.
1393 (readline): Set nocharno.
1394 (pfnote): Read nocharno and maybe put invalidcharno in node.
1395 (total_size_of_entries, put_entries): Use invalidcharno.
1397 * etags.c: Keep the whole tag table in memory, even in etags mode.
1398 (main): Call put_entries here even in CTAGS mode.
1399 (main, process_file): Check the return values of fclose and pclose.
1400 (process_file): Do not call put_entries after parsing each file.
1401 (process_file): Canonicalise file names even for ctags.
1402 (process_file): Set curfile here...
1403 (find_entries): ... not here any more.
1404 (add_node): In etags mode, build a linked list of entries (on
1405 right pointer) for each file, and link the first entry of each
1407 (put_entries): Print here the name of the file.
1408 (put_entries): Print the entries starting from the first file.
1409 (number_len, total_size_of_entries): Define these only in etags
1410 mode, make the second work only on the right nodes.
1412 * etags.c: Make all global variables static.
1414 2002-02-25 Juanma Barranquero <lektu@terra.es>
1416 * makefile.w32-in (lisp): Add missing backslash.
1418 2002-02-24 Jason Rumney <jasonr@gnu.org>
1420 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
1422 (lisp): Sync with list in src/Makefile.in
1423 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
1425 2002-02-10 Paul Eggert <eggert@twinsun.com>
1427 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
1428 disallows the old syntax.
1430 2002-02-03 Paul Eggert <eggert@twinsun.com>
1432 * rcs2log(Copyright): Update to 2002.
1433 (AWK, TMPDIR): Work around portability problem in broken shells that
1434 don't understand `: ${VAR=val}'.
1435 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
1436 Prefer the new -k option to the traditional +M -N option.
1438 2002-01-01 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1440 * b2m.c (main): Parenthesize assignment when used as truth value
1441 to prevent gcc warnings.
1443 * fakemail.c: Include <config.h>.
1445 2001-12-29 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1447 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1448 * yow.c: Include <config.h>.
1450 2001-12-21 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1452 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1453 (get_tag): Return a pointer to the tag that is found.
1455 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1456 (F_takeprec): Renamed from takeprec. All callers changed.
1457 (F_getit): Renamed from getit. All callers changed.
1458 (nocase_tail): Renamed from tail. All callers changed.
1459 (Ada_getit): Renamed from adagetit. All callers changed.
1460 (L_getit): Simplify by using get_tag.
1461 (Perl_functions, Postscript_functions, erlang_attribute): Use the
1462 modified LOOKING_AT.
1463 (notinname): Removed '[' and added ')' to the recognised chars.
1464 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
1465 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
1466 Clarified, using strneq or notinname.
1467 (L_isdef, L_isquote): Removed.
1468 (Lisp_functions, L_getit): Clarified.
1470 * etags.c (P_): Renamed to __P for consistency with config.h.
1471 [HAVE_CONFIG_H]: Let config.h deal with __P.
1472 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
1473 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
1474 gperf code needs it.
1475 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
1476 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
1477 (xmalloc, xrealloc): Use PTR instead of long *.
1478 (bool): Make it a define, not a typedef, for C++ compilers.
1479 (pattern): Members renamed to avoid name clash in some C++ compilers.
1480 (get_language_from_langname): Use const argument.
1482 2001-12-22 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1484 * makefile.nt, makefile.w32-in: Remove mocklisp files.
1486 2001-12-19 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1488 * emacsserver.c: Conditionally include config.h.
1490 * fakemail.c: Likewise.
1492 * emacsclient.c: Include "config.h", not <../src/config.h>.
1493 (main): Parenthesize assignment when used as truth value to
1494 prevent gcc warnings.
1496 * ebrowse.c: Include stdlib.h and string.h conditionally.
1498 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
1500 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
1502 2001-12-18 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1504 * test-distrib.c: Fix previous change.
1506 2001-12-18 Dave Love <fx@gnu.org>
1508 * test-distrib.c: Conditionally include fcntl.h.
1510 * fakemail.c: Include "config.h", not <../src/config.h>.
1511 (_XOPEN_SOURCE): Define as 500.
1513 * emacsserver.c: Include "config.h", not <../src/config.h>.
1515 * cvtmail.c: Include config.h, stdlib.h.
1516 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
1518 * yow.c: Conditionally include various headers. Use "epaths.h",
1519 not <../src/epaths.h>.
1520 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1522 2001-12-12 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1524 * etags.c (PHP_functions): New function for parsing PHP.
1525 (LOOKING_AT): New macro.
1526 (Perl_functions, Python_functions, PHP_functions)
1527 (Scheme_functions, Texinfo_nodes): Use it.
1528 (Perl_functions): Use strneq.
1529 (prolog_pred): Renamed to prolog_pr.
1530 (prolog_pr): Recognise Prolog rules in addition to predicates.
1531 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
1532 unmodified compile, as Cygwin's regex.h is incompatible with us.
1533 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
1535 2001-12-11 Richard M. Stallman <rms@gnu.org>
1537 * Makefile.in (clean): Don't delete ../etc/DOC*.
1539 2001-12-11 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1541 * COPYING: Moved back.
1543 2001-11-30 Andrew Innes <andrewi@gnu.org>
1545 * makefile.w32-in (FACE_SUPPORT):
1549 (lisp): Reference .el files instead of .elc files, to simplify
1551 ($(DOC)): Change dependency to just `make-docfile'.
1553 2001-11-29 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1557 2001-11-28 Paul Eggert <eggert@twinsun.com>
1559 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
1561 The following changes are derived from suggestions by Bob Chapman
1562 <rechapman@compuserve.com>.
1564 * rcs2log (printlogline): Also allow tab and newline to separate
1565 '(function):' from the rest of a comment.
1566 (reformat the sorted log entries): Require date and author to
1567 match the clumpname.
1569 2001-11-16 Gerd Moellmann <gerd@gnu.org>
1571 * ebrowse.c (matching_regexp): Escape '\\'.
1573 2001-11-15 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1575 * Makefile.in: Add support for --program-prefix, --program-suffix
1576 and --program-transform-name options.
1578 2001-11-03 Richard M. Stallman <rms@gnu.org>
1580 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
1582 * movemail.c (popmail): Always pass two args to `error'.
1584 2001-10-24 Ken Raeburn <raeburn@gnu.org>
1586 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
1587 -lhesiod and maybe -lresolv.
1588 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
1589 support if it's available.
1591 2001-10-21 Miles Bader <miles@gnu.org>
1593 * make-docfile.c (struct rcsoc_state): New type.
1594 (read_c_string_or_comment): Add SAW_USAGE
1595 parameter, and implement scanning for a `usage:' keyword.
1596 Use a variable of type `rcsoc_state' to hold most of our state.
1597 (put_char): Add STATE parameter, and remove all other parameters
1598 except CH. Use STATE to get access to all needed state.
1599 (scan_keyword_or_put_char): New function.
1600 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
1601 Don't output a usage-string if there was one in the doc-string.
1603 2001-10-20 Gerd Moellmann <gerd@gnu.org>
1605 * (Version 21.1 released.)
1607 2001-10-19 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1609 * b2m.c: Properly spell the name of Emacs.
1611 2001-10-17 Miles Bader <miles@gnu.org>
1613 * make-docfile.c (put_char): New function.
1614 (read_c_string_or_comment): Strip trailing spaces and newlines.
1616 2001-10-16 Miles Bader <miles@gnu.org>
1618 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
1619 comments [with `doc:' keyword prefix].
1621 2001-10-15 Gerd Moellmann <gerd@gnu.org>
1623 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
1626 2001-10-13 Gerd Moellmann <gerd@gnu.org>
1628 * make-docfile.c (read_c_string_or_comment): Renamed from
1629 read_c_string. Add parameter COMMENT. Read C-style comments.
1630 (scan_c_file): Handle doc strings in C comments.
1632 2001-10-12 Andrew Innes <andrewi@gnu.org>
1634 * makefile.nt (ALL): Do not include fakemail.
1636 * makefile.w32-in (install): Do not copy fakemail.
1638 2001-10-10 Jason Rumney <jasonr@gnu.org>
1640 * makefile.w32-in (ALL) Do not include fakemail.
1642 * makefile.nt (install) Ditto.
1644 2001-10-09 Gerd Moellmann <gerd@gnu.org>
1646 * emacsserver.c (main): Cast geteuid in sprintf to int.
1648 * emacsclient.c (main): Cast isdigit argument to unsigned char.
1650 2001-10-07 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1652 * profile.c: Include config.h, not ../src/config.h.
1653 Include systime.h, not ../src/systime.h.
1655 2001-10-05 Gerd Moellmann <gerd@gnu.org>
1659 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
1661 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
1662 ALIASEE to help work with namespace aliases.
1663 (struct sym): Remove struct member NAMESP_ALIASES.
1664 (namespace_alias_table): New variable.
1665 (make_namespace): Add parameter CONTEXT.
1666 (check_namespace): New function.
1667 (find_namespace): Add parameter CONTEXT.
1668 (check_namespace_alias): New function.
1669 (register_namespace_alias): Change type of parameter OLD_NAME.
1670 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
1671 (check_namespace): New function.
1672 (enter_namespace): Call find_namespace with CONTEXT parameter.
1673 (match_qualified_namespace_alias): New function.
1674 (parse_qualified_ident_or_type): Fix typo in comment.
1675 While parsing qualified ident or type update namespace context and
1677 (parse_qualified_param_ident_or_type): Fix typo in comment.
1678 (globals): Change handling of namespace aliases.
1679 (version): Add year 2001.
1681 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
1683 * etags.c (analyse_regex): If regex_arg is NULL, return
1684 immediately after a call to free_patterns.
1686 2001-09-05 Paul Eggert <eggert@twinsun.com>
1688 * rcs2log (Help, mainline code): Add new option -L FILE.
1689 (Copyright): Update year.
1690 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
1691 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
1693 (mainline code): Handle nonstandard -u option differently, by
1694 transforming it to standard form. Check for "Working file: ", not
1695 "Working file:". Allow file names with spaces.
1696 (SOH, rlogfile): New shell vars.
1697 (rlogout): Remove. Its old functionality is mostly migrated to
1700 Append ';;' to the last arm of every case statement, for
1701 portability to ancient broken BSD shells.
1703 (logins): Fix bug; was not being computed at all, lowering performance.
1704 (pository): New var. This fixes some bugs where repositories are
1705 remote, or have trailing slashes.
1706 (authors): $llogout is never an empty shell var, so don't worry
1707 about that possibility.
1708 (printlogline, mainline code): Fix bug with SOH's being put into
1711 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
1713 * ebrowse.c (SEEK_END): #define if not defined by system headers.
1714 Suggested by Dave Love <d.love@dl.ac.uk>.
1716 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
1718 * makefile.nt (lisp): Synchronize with src/Makefile.in.
1719 * makefile.w32-in (lisp): Ditto.
1721 2001-07-25 Juanma Barranquero <lektu@terra.es>
1723 * grep-changelog (parse_changelog): Remove unused local variable.
1725 * grep-changelog (main): Add new option --reverse.
1726 (print_log): Use it.
1727 (parse_changelog): Use it.
1729 2001-07-20 Gerd Moellmann <gerd@gnu.org>
1731 * grep-changelog: Remove RCS Id keyword.
1733 2001-07-20 Juanma Barranquero <lektu@terra.es>
1735 * grep-changelog (parse_changelog): Add tests for defined values
1736 to quiet warning from Perl 5.005 or above.
1737 (entry_match_p, header_match_p): Fix handling of null or empty
1738 argument to prevent duplicate headers.
1740 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
1742 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
1744 * emacsclient.c (print_help_and_exit): Fix help message for
1745 +LINE:COLUMN option.
1747 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
1749 * emacsclient.c (main): Add support for +LINE:COLUMN command line
1752 2001-07-16 Gerd Moellmann <gerd@gnu.org>
1754 * ebrowse.c (main): Check that the output file exists and
1755 is non-empty if invoked with `--append'.
1757 2001-05-14 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1759 * etags.c (add_regex): Reset the whole newly allocated pattern
1760 buffer instead of the individual members. It's safer and works
1763 * etags.1: Markups corrected.
1765 2001-05-08 Gerd Moellmann <gerd@gnu.org>
1767 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
1769 2001-05-03 Gerd Moellmann <gerd@gnu.org>
1771 * ebrowse.c (globals): Fix handling of namespace aliases.
1773 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
1775 * etags.c (print_help): Enclose the regexp in the help text
1778 2001-04-05 Dave Love <fx@gnu.org>
1780 * emacsclient.c (fail): Don't return a value.
1781 (main): Cast uid values for sprintf.
1783 2001-04-03 Gerd Moellmann <gerd@gnu.org>
1785 * emacsclient.c (fail, main): Don't use implicit int return type.
1787 * b2m.c (main): Always return a value.
1789 2001-03-02 Gerd Moellmann <gerd@gnu.org>
1791 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
1792 freshly allocated object in *LAST_ID.
1793 (read_line): Accept \r\n line endings.
1795 2001-02-24 Andrew Innes <andrewi@gnu.org>
1797 * makefile.w32-in: Fix copyright notice.
1799 2001-02-23 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1801 * etags.c (enum sym_type): New label st_C_template.
1802 (gperf input): Use it for switching to C++ from C.
1803 (consider_token): Do it.
1804 (C_entries): Initialise typdefcblev to quiet compilers.
1805 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
1807 2001-02-22 Andrew Innes <andrewi@gnu.org>
1809 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
1811 ($(BLD)\profile.obj): Ditto.
1813 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
1815 ($(BLD)/profile.$(O)): Ditto.
1817 2001-02-05 Andrew Innes <andrewi@gnu.org>
1819 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
1820 invocation of make-docfile, to work with Windows 2000.
1822 2001-01-31 Dave Love <fx@gnu.org>
1824 * etags.c (in_word_set): Use `static' in definition (for pcc).
1826 2001-01-31 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1828 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
1829 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
1830 (C_entries): Tag token renamed to still_in_token because sunos4
1831 pcc wants to expand it as the token() macro even though it has no
1834 2001-01-30 Andrew Innes <andrewi@gnu.org>
1836 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
1837 bug in the Mingw32 assert.h header file.
1839 2001-01-30 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1841 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
1842 #define it for the sake of XEmacs.
1843 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
1844 HAVE_CONFIG_H. This change only affects a standalone etags.
1845 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
1846 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
1847 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
1848 [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
1849 WINDOWSNT, as this is the correct way to use it.
1851 2001-01-28 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1853 * etags.c: Be capable to parse nested struct-like structures.
1854 (structdef, structtag): Struct state machine revisited.
1855 (struct tok): Revisited.
1856 (cstack, nestlev, instruct): New struct and macros.
1857 (pushclass_above, popclass_above, write_classname): New functions
1858 for dealing with nested class names.
1859 (consider_token, make_C_tag, C_entries): Many changes for dealing
1860 with arbitrarily nested structures.
1861 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
1862 (C_entries): Consider templates in C++.
1863 (sym_type): New constant st_C_class for detecting "class" also in
1865 (C_AUTO): New macro for automatic detection of C++.
1866 (consider_token): Automatic set C++ mode.
1867 (C_entries): New security check for yacc.
1868 (print_language_names, print_help): Mention the autodetect
1869 feature, do not show help for the -C option, now mostly useless.
1870 (C_entries): Tag C++ forward declarations if --declarations.
1871 (C_entries): Don't be fooled by things like XDEFUN.
1872 (consider_token): Discard asm pseudo function.
1874 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
1876 * etags.c: Add a coding: tag.
1878 2001-01-26 Gerd Moellmann <gerd@gnu.org>
1880 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
1882 (matching_regexp): Use them instead of static variables in
1885 2001-01-25 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1887 * etags.c (struct tok): Renamed from struct token.
1888 (token): Renamed from tok.
1889 (structtype): Make it a local variable.
1890 [DEBUG]: Use assert.
1891 (xrnew): Change the synopsis.
1892 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
1893 (grow_linebuffer): Don't call xrnew when not needed.
1894 (token): Buffer renamed to line.
1895 (C_entries): Three calls to inibuffer moved here from main.
1896 (C_entries): Remove all references to var methodlen, delete it.
1897 (linebuffer_setlen): Was grow_buffer, now also sets len.
1898 (consider_token, C_entries, Pascal_functions): Use it.
1899 (C_entries): Preventing problems relative to extern "C".
1900 (C_entries): Can tag more than one variable or func separated by
1901 comma when --declarations is used.
1902 (C_entries): More accurate tagging of members and declarations.
1903 (yacc_rules): Was global, made local to C_entries.
1904 (next_token_is_func): Removed.
1905 (fvdef): New constants fdefunkey, fdefunname.
1906 (consider_token, C_entries): Use them.
1907 (C_entries): Build proper lisp names for Emacs DEFUNs.
1909 2001-01-22 Gerd Moellmann <gerd@gnu.org>
1911 * ebrowse.c (xfree): New function.
1912 (member, declaration, globals): Use xmalloc instead of alloca.
1914 2001-01-15 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1916 * etags.c (print_language_names): Print filenames in addition to
1919 2001-01-14 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1921 * etags.c (get_language_from_langname): Renamed from
1922 get_language_from_name.
1923 (get_language_from_filename): Renamed from get_language_from_suffix.
1924 Now first looks for the complete file name.
1925 (language): New member char **filenames.
1926 (Makefile_filenames): List of possible filenames for makefiles.
1927 (lang_names): Add a NULL member for every entry, added an entry
1929 (Makefile_targets): New function.
1930 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
1931 it conformant to the style of the rest of the code.
1933 2001-01-13 Gerd Moellmann <gerd@gnu.org>
1935 * make-docfile.c (write_c_args): Print newlines as spaces.
1937 2001-01-06 Andrew Innes <andrewi@gnu.org>
1939 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
1942 2001-01-03 Paul Eggert <eggert@twinsun.com>
1944 * lib-src/rcs2log: Avoid security hole allowing attacker to
1945 cause user of rcs2log to overwrite arbitrary files, fixing
1946 a bug reported by Morten Welinder.
1948 Don't put "exit 1" at the end of the exit trap; it's
1949 ineffective in POSIX shells.
1951 2001-01-02 Gerd Moellmann <gerd@gnu.org>
1953 * ebrowse.c (yyerror): Change to take two arguments.
1954 Add prototype. Change callers.
1956 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
1958 * ebrowse.c (enter_namespace, main): Cast variables to shut up
1960 (yyerror): Change parameter declarations to be of type long, so
1961 that they can take pointers on 64-bit platforms.
1963 * emacsclient.c (main): Remove unused local variable statbfr.
1964 (main) <homedir>: Make its declaration conditional on
1965 SERVER_HOME_DIR, to avoid compiler warnings.
1967 * emacsserver.c (main) <homedir>: Make its declaration conditional
1968 on SERVER_HOME_DIR, to avoid compiler warnings.
1970 * fakemail.c (readline): Cast buffer to "long *" to pacify
1971 over-zealous compilers.
1973 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
1975 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
1977 2000-12-15 Gerd Moellmann <gerd@gnu.org>
1979 * ebrowse.c (operator_name): Cast argument of isalpha to
1982 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
1983 Use them throughout instead of ctype functions/macros.
1984 (lowcase): Cast to unsigned char.
1985 (UPCASE): New macro.
1986 (canonicalize_filename): Use UPCASE instead toupper.
1988 * fakemail.c (get_keyword): Make sure that isspace and
1989 similar aren't called with a negative argument.
1991 2000-12-13 Dave Love <fx@gnu.org>
1993 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
1995 2000-12-06 Andrew Innes <andrewi@gnu.org>
1997 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
1998 don't know the real version, and I can't seem to get the quoting
1999 right in all circumstances.
2001 * ebrowse.c (VERSION): Provide default definition, like etags.c
2002 does, because Windows build can't snarf this from version.el.
2004 2000-11-30 Andrew Innes <andrewi@gnu.org>
2006 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2009 2000-11-23 Jason Rumney <jasonr@gnu.org>
2011 * makefile.w32-in: Add targets for ebrowse.exe.
2012 (LOCAL_FLAGS): Add -DVERSION flag.
2014 2000-09-25 Dave Love <fx@gnu.org>
2016 * sorted-doc.c: Include config.h.
2017 [!HAVE_STDLIB_H]: Declare malloc.
2019 2000-09-14 Andrew Innes <andrewi@gnu.org>
2021 * makefile.w32-in: Revert to Unix line endings.
2023 2000-09-04 Dave Love <fx@gnu.org>
2025 * movemail.c (index, rindex): Prototype conditionally.
2027 2000-09-03 Andrew Innes <andrewi@gnu.org>
2029 * makefile.w32-in: Change to DOS line endings.
2031 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2033 * movemail.c (toplevel): Remove redundant fcntl.h.
2034 [!F_OK]: Provide default definitions only after including both
2035 fcntl.h and unistd.h.
2037 2000-08-29 Dave Love <fx@gnu.org>
2039 * movemail.c: Revert previous change.
2041 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2043 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2045 2000-08-28 Dave Love <fx@gnu.org>
2047 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2048 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2050 2000-08-22 Andrew Innes <andrewi@gnu.org>
2052 * ntlib.h (WIN32): Remove unnecessary definition.
2053 (sleep): Make argument unsigned long.
2054 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2056 * ntlib.c (sleep): Make argument unsigned long.
2058 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2060 * makefile.w32-in: New file.
2062 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2064 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2065 letter only if it is a drive letter.
2067 2000-07-14 Gerd Moellmann <gerd@gnu.org>
2069 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
2071 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2074 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
2076 2000-07-10 Gerd Moellmann <gerd@gnu.org>
2078 * ebrowse.c (yylex): Accept string literals with newlines in them.
2079 (process_pp_line): Handle case of string literal with newline
2080 in it in replacement text, which counts as continuing the
2081 replacement text in GNU C.
2083 2000-07-02 Gerd Moellmann <gerd@gnu.org>
2085 * ebrowse.c (token_string): Add missing tokens.
2086 (parm_list): Handle case of qualified pointers.
2088 2000-06-23 Dave Love <fx@gnu.org>
2090 * ebrowse.c: Move config.h before other includes (which may use
2093 2000-06-14 Jim Meyering <meyering@lucent.com>
2095 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2097 2000-06-11 Jason Rumney <jasonr@gnu.org>
2099 * makefile.nt: Add targets for ebrowse.
2101 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2104 2000-06-06 Gerd Moellmann <gerd@gnu.org>
2106 * ebrowse.c (ymalloc): Renamed from xmalloc.
2107 (yrealloc): Renamed from xrealloc.
2109 2000-05-21 Dave Love <fx@gnu.org>
2111 * movemail.c: Include config.h, not ../src/config.h.
2112 (Errmsg): Bump length.
2114 * pop.c (ERROR_MAX): Increase to 160.
2116 2000-05-04 Gerd Moellmann <gerd@gnu.org>
2118 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2120 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2122 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2123 Define to semi-colon.
2124 (FILENAME_EQ): New macro, for comparing file names.
2125 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
2126 (process_file): Don't assume that fread always reads as many bytes
2127 as it was told to (DOS-style CR-LF text files fail this logic).
2128 (open_file): Allocate enough space for path->path plus the file
2131 2000-04-19 Dave Love <fx@gnu.org>
2133 * etags.c (Texinfo_functions): New function.
2134 (lang_names): Install it.
2135 (Texinfo_suffixes): New variable.
2137 2000-04-19 Gerd Moellmann <gerd@gnu.org>
2139 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2140 (declaration): Remove parameter IS_EXTERN.
2141 (class_definition): Remove unused variable.
2143 2000-04-09 Gerd Moellmann <gerd@gnu.org>
2145 * Makefile.in (INSTALLABLES): Add ebrowse.
2146 (ebrowse): New target.
2148 * ebrowse.c: New file.
2150 2000-03-29 Andreas Schwab <schwab@suse.de>
2152 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2154 2000-03-02 Gerd Moellmann <gerd@gnu.org>
2156 * etags.c (lisp_suffixes) Add `LSP'.
2158 2000-02-10 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2160 * etags.c (iswhite): Redefine not to consider '\0' as white
2161 space, and use it throughout in place of isspace, thus preventing a
2162 potential signed char to int conversion problem.
2163 (MSDOS): #undefine befere redefining
2165 2000-02-04 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2167 * etags.c (many functions): Add prototypes.
2169 2000-02-10 Dave Love <fx@gnu.org>
2171 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2172 (erlang_func): Add `static' to definitions to keep pcc happy.
2174 2000-01-31 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2176 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2177 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2178 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2179 (getenv, getcwd): Only declare them if necessary.
2180 (EMACS_NAME): New constant macro.
2181 (print_version): Use it.
2182 (P_) [__STDC__]: Macro for defining function prototypes.
2184 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
2186 * etags.c [WINDOWSNT]: #include <direct.h>
2188 2000-01-18 Martin Buchholz <martin@xemacs.org>
2190 * etags.c (all functions): Made them static.
2191 (all functions): Write prototypes.
2193 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2195 * movemail.c (main): Improve error message if can't create lock file.
2197 2000-01-28 Eric Hanchrow <offby1@blarg.net>
2199 * emacsclient.c (socket_status): New function.
2200 (main): If $LOGNAME or $USER exist and differ from our euid, look
2201 for a socket based on the UID associated with the name.
2203 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2205 * emacsclient.c: Add option -a EDITOR and environment variable
2206 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2208 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
2210 * movemail.c (popmail): Allow mailbox specifications of the
2211 form `po:username:hostname'.
2213 1999-11-19 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2215 * etags.c (_GNU_SOURCE): Define only if undefined.
2216 (get_scheme): Declaration deleted.
2217 (main): Error was called with an integer as second arg, instead of
2219 (canonicalize_filename): Bug removed.
2221 1999-11-18 Dave Love <d.love@dl.ac.uk>
2223 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2224 lossage from name clash with macro.
2226 1999-11-13 Gerd Moellmann <gerd@gnu.org>
2228 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2230 1999-11-03 Gerd Moellmann <gerd@gnu.org>
2232 * etags.c (print_help): Change email address to send bugs to.
2234 1999-11-01 Francesco Potort
\e,Al
\e(B <pot@gnu.org>>
2236 * etags.c: Add suffix psw for PSWrap.
2237 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2238 (Postscript_functions): Add code for PSWrap.
2239 (Scheme_functions): Use local pointer and new get_tag function.
2240 (get_tag): New name for old get_scheme.
2241 (process_file): Do not free NULL when file does not exist.
2242 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2243 (C_entries): Modifications that make --members tag even inside
2244 typedefs and C nested structs (one level only).
2245 (consider_token): Correct a bug which prevented tagging of enum
2247 (C_stab_entry): Add if, for, while, switch, return as
2248 st_C_ignore. This makes it simpler to work when cblev!=0.
2250 * etags.c (C_entries): Tag member function declarations when
2251 --declarations is used.
2253 * etags.c (C_entries, consider_token): C++ `operator' now is
2254 tagged in most cases.
2255 As before, :: is not recognised if surrounded by spaces.
2257 * etags.c (relative_filename): Account for DOS file names such
2258 that is impossible to make one relative to another.
2260 * etags.c (sym_type): New st_C_extern tag.
2261 (gperf input): Use it for spotting external declarations.
2262 (print_help): Document the new behaviour of --declarations.
2263 (fvextern): New global variable.
2264 (consider_token, C_entries): Use it.
2266 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
2267 (etags_getcwd): Remove test for WINDOWSNT.
2269 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
2270 foo.cgz, foo.cz, etc.
2272 * etags.c (declarations): New global switch.
2273 (longopts): Describe it.
2274 (print_help): Document it.
2275 (C_entries): Use it.
2276 (process_file): Don't process a file twice.
2278 * etags.c (Fortran_functions): No tags for "procedure".
2280 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
2282 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
2283 non-zero, returns a pointer to where the extension begins; callers
2285 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2288 1999-11-01 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2290 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2291 (fvdev): New constant foperator.
2292 (consider_token): Use it to get "operator" in C++.
2293 (C_entries): Extend length of operator@ function name.
2294 (C_entries): Use foperator when necessary.
2296 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
2298 * etags.c (compressor): New struct for compressed files.
2299 (get_compressor_from_suffix): New function.
2300 (get_language_from_suffix): Use it. Also, semantics changed.
2301 (process_file): Consider compressed files, close file.
2302 (find_entries): Use different call arg for get_language_from_suffix,
2305 * etags.c (main): Call free_tree.
2306 (find_entries): Do not free curfile.
2307 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
2308 (prolog_pred, erlang_func, substitute): Cast strlen to int when
2310 (canonicalize_filename): Shut up compiler warning.
2311 (Perl_functions): Make tag significant.
2313 1999-11-01 Dave Love <d.love@dl.ac.uk>
2315 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
2316 (argument_type): New member at_icregexp.
2317 (lc_trans): New global.
2318 (main): Fill lc_trans. Process -c args.
2319 (add_regex): New arg determining whether to use translation table.
2320 (analyse_regex): New arg. Use it for add_regex.
2322 1999-11-01 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2324 * etags.c (init): Cosmetic change: NULL --> '\0'.
2325 (erlang_attribute): Bug corrected (uninitialized variable).
2326 (filename_is_absolute): New function replaces absolutefn macro and
2327 corrects a bug. All callers changed.
2328 (canonicalize_filename): New function.
2329 (process_file, etags_getcwd, absolute_dirname): Use it.
2330 (relative_filename, absolute_filename): Removed var shadowing.
2331 (C_entries, Pascal_functions): Add fake initializations to keep
2333 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
2335 * etags.c (xrnew): New macro. All callers of xrealloc changed.
2336 (language): New typedef (was struct lang_entry).
2337 (curlang): New global variable.
2338 (node): Typedef renamed from NODE.
2339 (linebuffer): New typedef (was struct linebuffer).
2340 (pattern): New typedef (was struct pattern). Some members added.
2341 Now used as element of a linked list.
2342 (patterns, num_patterns): Global variables deleted.
2343 (p_head): New global variable.
2344 (forced_lang): New global variable (replaces lang_func).
2345 (get_language_from_name, get_language_from_interpreter)
2346 (get_language_from_suffix): Semantics changed. All callers changed.
2347 (last_node): New global variable.
2348 (free_tree, add_node, put_entries, total_size_of_entries):
2349 Change name of local vars to avoid clashes with typedef node.
2350 (number_len): Rewritten for elegance.
2351 (token): New typedef replaces TOKEN.
2352 (analyse_regex, add_regex): Rewritten for new functionality.
2353 (free_patterns): New function called from main and add_regex.
2354 (initbuffer, readline_internal, readline, grow_linebuffer):
2355 Change name of local vars to avoid clashes with typedef linebuffer.
2356 (readline): Rewritten for new functionality.
2358 * etags.c (Scheme_suffixes): New suffix ".ss".
2359 (print_help): --globals is now used for more than C-type languages.
2360 (Perl_functions): Tag global variables ("my" and "local").
2362 * etags.c (print_help): Some messages clarified.
2363 (LOOP_ON_INPUT_LINES): New macro.
2364 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
2365 (Python_functions, Cobol_paragraphs, Pascal_functions)
2366 (Lisp_functions, Postscript_functions, Scheme_functions)
2367 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
2368 (Cobol_paragraphs, Postscript_functions, TeX_functions)
2369 (Prolog_functions, Erlang_functions): Use a local variable instead
2370 of the global variable dbp.
2371 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
2372 standard indentation.
2374 * etags.c (Python_suffixes, lang_names, Python_functions):
2376 (skip_spaces, skip_non_spaces): Utility functions.
2377 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
2378 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
2379 (prolog_pred, erlanf_func, erlang_attribute): Use them.
2380 (eat_white): Deleted.
2382 * etags.c (CHAR, init): Keep into account non US-ASCII
2383 characters and compilers with default signed chars.
2384 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2386 (C_stab_entry): "interface" in Java behaves like "class".
2388 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
2389 (main): Put interval syntax here.
2390 (add_regex): And remove it from here.
2392 * etags.c (suggest_asking_for_help): Provide a
2393 meaningful help message with and without LONG_OPTIONS.
2395 * etags.c: <io.h> [MSDOS]: Include it, don't include string.h.
2396 <stdlib.h, string.h>: Don't test MSDOS when including them.
2397 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
2398 (put_entries): Correctly use %ld instead of %d in printf.
2400 * etags.c: <unistd.h> [HAVE_UNISTD_H]: Include conditionally, else
2401 declare getcwd if HAVE_GETCWD.
2402 (consider_token): Dead break instruction removed.
2404 1999-10-19 Paul Eggert <eggert@twinsun.com>
2406 Add support for large files. Merge glibc 2.1.2.
2408 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
2410 Do not include <stdlib.h>, as <config.h> does this now.
2412 * b2m.c, emacsserver.c, etags.c, profile.c:
2413 Include <config.h> before any system include files.
2415 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
2417 (read, write, open, close): Do not undef.
2419 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
2420 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
2422 * getopt.h: Adopt glibc 2.1.2.
2424 1999-10-15 Dave Love <fx@gnu.org>
2426 * Makefile.in (pop.o): Depend on config.h.
2428 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2430 * pop.c: Use "pop3" as the POP service name on all platforms,
2431 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
2432 has been the standard service name since RFC 1340 was published in
2433 July 1992, so I think it's safe to start using it by default.
2435 1999-09-27 Dave Love <fx@gnu.org>
2437 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
2439 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2441 * make-docfile.c (scan_lisp_file): Fix previous changes;
2442 swallow CRLF like just CR or just LF.
2444 1999-09-03 Richard Stallman <rms@gnu.org>
2446 * make-docfile.c: Include config.h not ../src/config.h.
2447 (main, fopen, chdir): Add #undef.
2448 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
2449 (scan_lisp_file): Handle \r like \n.
2451 1999-08-30 Andreas Schwab <schwab@gnu.org>
2453 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
2455 * emacsserver.c: Include <stdlib.h> if available. Don't declare
2456 errno if it's a macro.
2458 * test-distrib.c: Include <unistd.h> if available.
2460 1999-08-29 Richard Stallman <rms@gnu.org>
2462 * emacsclient.c (print_help_and_exit): Mention --version.
2464 1999-08-25 Richard M. Stallman <rms@gnu.org>
2466 * emacsclient.c (decode_options): Update version output.
2467 (print_help_and_exit): Update bug report address.
2469 1999-08-13 Richard M. Stallman <rms@gnu.org>
2471 * emacsclient.c (main): Move the dynamic allocation of
2472 system_name outside of the SERVER_HOME_DIR conditional.
2473 * emacsserver.c (main): Likewise.
2475 1999-08-10 Gerd Moellmann <gerd@gnu.org>
2477 * grep-changelog: New.
2478 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
2480 1999-07-12 Richard Stallman <rms@gnu.org>
2482 * Version 20.4 released.
2484 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
2486 * Makefile.in (clean): Remove fns*.el.
2488 1999-06-23 Dave Love <fx@gnu.org>
2490 * etags.c (erlang_attribute): Fix undefined variable usage (after
2493 1999-05-2 Andrew Innes <andrewi@gnu.org>
2495 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
2498 1999-04-29 Richard M. Stallman <rms@gnu.org>
2500 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
2502 1999-03-30 Dave Love <fx@gnu.org>
2504 * sorted-doc.c (main): Split up tables. Modify the preamble
2507 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2509 * makefile.nt: Remove common multiple file compilation commands.
2511 1999-02-26 Richard Stallman <rms@gnu.org>
2513 * Version 20.4 released.
2515 * Makefile.in (yow): Depend on epaths.h, not paths.h.
2517 * yow.c: Refer to epaths.h.
2519 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
2521 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
2523 1999-01-27 Andrew Innes <andrewi@gnu.org>
2525 * makefile.nt: Do make version comparison as strings.
2527 1999-01-25 Richard Stallman <rms@gnu.org>
2529 * emacsclient.c (xmalloc): Fix previous change.
2531 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
2533 * emacsclient.c (xmalloc): Declare to return long.
2535 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2537 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
2538 the case of the drive letter.
2540 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
2542 * emacsserver.c (main): Eliminate arbitrary limit on
2543 length of system_name.
2545 * emacsclient.c (main): Eliminate arbitrary limit on
2546 length of system_name.
2547 (xmalloc): Define unconditionally.
2549 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
2551 * etags.c (relative_filename): Stop backward search at beginning
2552 of string, since non-Unix systems can have absolute paths with no
2555 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2557 * makefile.nt: Do string comparision of _NMAKE_VER.
2559 1998-11-03 Theodore Jump <tjump@cais.com>
2561 * makefile.nt: Compile multiple source files when possible.
2563 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
2565 * Makefile.in: Replace tabs with spaces
2566 when they might confuse some Make versions.
2568 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
2570 * emacsclient.c (main): Null-terminate system_name.
2572 * emacsserver.c (main): Null-terminate system_name.
2574 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2576 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
2577 an error message from POP, mention that it's from POP, to
2578 distinguish it from local error messages.
2580 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2582 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
2583 order of messages downloaded from a POP server (e.g., if the
2584 server stores messages in mailboxes in reverse order).
2586 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2588 * Version 20.3 released.
2590 1998-08-11 Paul Eggert <eggert@twinsun.com>
2592 * rcs2log: Update copyright date and bug report address.
2593 (initialize_fullname): Prefer getent if available.
2595 1998-07-30 Paul Eggert <eggert@twinsun.com>
2597 * lib-src/Makefile.in (REGEXPDEPS, regex.o):
2598 Prepend $(srcdir)/ to rule dependencies outside this dir.
2600 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
2602 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
2604 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
2606 * Makefile.in: Properly terminate a comment.
2608 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2610 * movemail.c (sys_wait): Rename to wait.
2612 * ntlib.h: Undefine _WINSOCKAPI_.
2614 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
2616 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2618 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
2620 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
2622 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
2623 all file i/o to be in binary mode. Include ntlib.h.
2625 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
2627 * make-docfile.c: Include <unistd.h> for chdir.
2629 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
2631 * etags.c (TEX_decode_env): Don't free the value getenv returns.
2633 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2635 * makefile.nt (obj): Update with new files in src.
2636 (clean): Delete patch scratch files, optimized compilation dir.
2638 1998-04-08 Dave Love <fx@gnu.org>
2640 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
2643 1998-04-06 Andreas Schwab <schwab@gnu.org>
2646 * movemail.c: Move cancelations up. Include <stdlib.h> if
2648 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
2649 (parse_header): Explicitly declare return type.
2650 * emacsserver.c: Include <unistd.h> if available.
2651 (main, handle_signals, perror_1, fatal_error): Explicitly declare
2652 return types. Add forward declarations.
2653 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
2654 Don't declare geteuid.
2655 (print_help_and_exit): Change return type to void. Forward
2657 * b2m.c: Include <stdlib.h> if available.
2658 (main): Explicitly declare return type.
2660 1998-04-03 Richard Stallman <rms@delysid.gnu.org>
2662 * etags.c (put_entries): Use %ld.
2664 * b2m.c (fatal): Declare the arg.
2666 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
2668 * etags.c (put_entries): Use %ld.
2670 * b2m.c (fatal): Declare the arg.
2672 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
2674 * pop.c (pop_getline): Renamed from getline.
2676 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
2678 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
2681 1998-01-23 Dave Love <d.love@dl.ac.uk>
2683 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
2684 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
2685 Always make named tags.
2686 (Fortran_functions): Grok BLOCK DATA.
2688 1998-01-23 Andreas Schwab <schwab@gnu.org>
2690 * movemail.c (main): Fix interwoven brace and cpp conditional
2693 1997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
2695 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2696 server to contain embedded nulls.
2698 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
2701 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
2702 '>' any lines starting with "From " read from the POP server, but
2703 leave the code in place, wrapped in #ifdef
2704 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2705 because it turns out that something is depending on it. Change
2706 suggested by Paul Eggert <eggert@twinsun.com>.
2707 Convert the character \037 (^_) at the beginning of a line into
2708 the character '^' followed by the character '_', because otherwise
2709 Emacs can't parse the resulting file as a valid BABYL file.
2710 Change suggested by Paul Eggert <eggert@twinsun.com>.
2712 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2714 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
2715 server to contain embedded nulls.
2717 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2719 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
2720 quotes with a '>' any lines starting with "From " read from the
2721 POP server, but leave the code in place, wrapped in #ifdef
2722 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
2723 because it turns out that something is depending on it. Change
2724 suggested by Paul Eggert <eggert@twinsun.com>.
2726 Convert the character \037 (^_) at the beginning of a line into
2727 the character '^' followed by the character '_', because otherwise
2728 Emacs can't parse the resulting file as a valid BABYL file.
2729 Change suggested by Paul Eggert <eggert@twinsun.com>.
2731 1997-11-22 Richard Stallman <rms@gnu.org>
2733 * b2m.c: Include getopt.h.
2734 (main): Use getopt_long to handle --version and --help.
2736 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
2738 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2740 * pop.c (fullwrite): Get rid of an extra call to write. Problem
2741 pointed out by Chiaki Ishikawa.
2743 1997-10-16 Dave Love <d.love@dl.ac.uk>
2745 * etags.c (L_getit): Always make named tags so that Emacs
2746 completion on symbols containing `:' etc. works.
2747 (get_scheme): Likewise.
2749 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2751 * pop.c: Use system header files instead of declaring C-library
2752 functions explicitly.
2754 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2756 * Version 20.2 released.
2758 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2760 * Version 20.1 released.
2762 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
2764 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
2766 * ntlib.c (getpid): Delete function.
2768 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2770 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
2772 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2774 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
2775 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
2777 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2779 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
2781 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
2783 * profile.c (get_time): Cast arg to fprintf.
2785 * hexl.c (main): Use %08lx instead of %08x in printf because the
2786 variable named addresses is long.
2788 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
2790 * makefile.nt (lisp): Update paths to lisp files that have moved.
2792 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
2794 * makefile.nt (ctags.obj): New target.
2795 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
2797 * ntlib.h: Add includes.
2798 Undo definitions of crt routines from config.h.
2800 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2802 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
2804 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2806 * pop.c: Support auto-configuration of both Kerberos V4 and
2807 Kerberos V5 for movemail, including detection of V4 and V5 header
2808 files and libraries.
2809 Include <string.h> when STDC_HEADERS is defined, to get
2810 declarations of string functions.
2811 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
2812 V5 API rather than the old one.
2813 [KERBEROS] (socket_connection): Change a constant name from
2814 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
2815 with a constant in a header file.
2817 * Makefile.in: Support auto-configuration of both Kerberos V4 and
2818 Kerberos V5 for movemail, including detection of V4 and V5 header
2819 files and libraries.
2821 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2823 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
2825 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
2827 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2829 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
2831 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2833 * movemail.c (rindex): Add declaration.
2835 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
2837 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
2838 (movemail.exe): Depend upon and link with getopt files.
2839 (obj): Include new source files.
2840 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
2841 (lisp): Include new and reorganized elisp files.
2843 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
2845 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
2847 1997-06-25 Paul Eggert <eggert@twinsun.com>
2849 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
2851 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
2853 * b2m.c (readline): Terminate buffer properly when EOF seen.
2854 Test for valid pointer before dereferencing it.
2856 1997-05-30 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2858 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
2859 defined inside etags.c if HAVE_CONFIG_H is defined.
2861 1997-05-29 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2863 * etags.c (logical): Type name changed to bool.
2864 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
2865 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
2866 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
2867 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
2868 (longopts): New long options without short counterpart are
2869 globals, members, no-globals, no-members. Regexp options are now
2870 defined conditionally to ETAGS_REGEXPS.
2871 (print_help): Updated.
2873 1997-05-22 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2875 * etags.c (C_entries): Use "." instead of "::" for Java.
2876 (consider_token): is_func renamed to is_func_or_var.
2877 (C_entries): is_func renamed to funorvar.
2878 (C_entries): Initialise tok.named.
2879 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
2880 get rid of "import", "package" and "friend".
2881 (fvdef): Renamed from funcdef. Also some constants renamed. All
2883 (C_entries): Make separate tags for variables separated by comma.
2884 (globals, members): New flags.
2885 (main, C_entries): Use them.
2886 (make_C_tag, C_entries): Make tok a global variable.
2888 1997-05-16 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2890 * etags.c (funcdef): New vignore constant.
2891 (consider_token, C_entries): Use it to tag global variables.
2892 (print_help): Update for global variables.
2893 (consider_token, C_entries): Set the len member of token_name.
2894 (prolog_pred): Cleanup according to GNU coding standards.
2895 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
2896 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
2898 1997-05-15 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2900 * etags.c (CHARS, CHAR): New constant and macro.
2901 (iswhite, begtoken, intoken, endtoken): Use them.
2902 (notinname, _nin, nonam): New macro, array, string.
2903 (init): Cleanup and init _nin.
2904 (new_pfnote): New function.
2905 (make_C_tag) [traditional_tag_style]: Use it.
2906 (traditional_tag_style): Costant set to TRUE for now.
2908 1997-05-14 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2910 * etags.c (C_entries, Pascal_functions): Cleanup.
2911 (TeX_functions): NULL as a function arg needs a cast.
2912 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
2914 1997-05-13 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2916 * etags.c (TeX_functions): Cleaned up.
2917 (tex_getit): Removed.
2919 1997-05-13 Paul Eggert <eggert@twinsun.com>
2921 * rcs2log (files): When computing arguments automatically, ignore
2922 non-files within the RCS subdirectory.
2924 1997-05-13 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2926 * etags.c (C_JAVA): New #define.
2927 (Cjava_suffixes): .java is Java.
2928 (Cjava_entries): New function.
2929 (lang_names): Add Java.
2930 (sym_type): Add st_C_javastruct for Java.
2931 (C_stab_entry): Add `extends' and `implements' keywords.
2932 (consider_token, C_entries): Recognise Java structures.
2934 1997-05-12 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2936 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
2937 (Postscript_suffixes): .ps is Postscript.
2938 (lang_names): Add Postscript.
2939 (Postscript_functions): New function.
2940 (TEX_decode_env): Close minor memory leak.
2941 (just_read_file): Correct the char number of the tag.
2943 1997-05-11 Paul Eggert <eggert@twinsun.com>
2945 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
2946 Don't prepend $nl since this causes some shells to generate the
2947 empty string when IFS is $nl.
2948 (printlogline): Use SOH (octal code 1), not CR, since some
2949 PC-based shells mishandle CR.
2950 (initialize_fullname): Set NIS_PATH to the empty string before invoking
2951 nismatch, in case it's set to some nonstandard value.
2953 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2955 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
2956 read in separate blocks.
2958 1997-04-30 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2960 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
2961 (struct linebuffer): New member `len' is the length of the string.
2962 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
2963 Use it instead of strlen.
2964 (TEX_getit): Declare and define unconditionally as static.
2965 (TeX_functions): Use if instead of #if TeX_named_tokens.
2966 (add_regex): Set RE_INTERVALS flag for regex compilation.
2967 (substitute): Code cleanup.
2968 (readline_internal): Code cleanup, set new member `len'.
2969 (readline): Bug corrected.
2971 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
2973 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
2974 (obj): Change references of nt*.c files to w32*.c files.
2976 1997-04-15 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2978 * etags.c (xnew): Add support for debugging with chkmalloc.
2979 (error): Use this instead of printf whenever possible.
2980 (main): Only call xnew after having initialised progname.
2981 (substitute): Bad memory corruption error corrected.
2983 1997-04-08 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2985 * etags.c (add_regex): Undo previous change.
2986 (relative_filename): Small memory leak closed.
2987 (absolute_filename): Cleaned up the code, possibly closing a bug.
2988 (absolute_dirname): Always return a newly allocated string.
2990 1997-03-21 Paul Eggert <eggert@twinsun.com>
2992 * rcs2log (files): Ignore files in RCS directory whose names are
2993 of the form ,*, or *_; they are probably RCS lock files.
2994 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
2995 they are used by rcsfreeze.
2997 1997-03-14 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
2999 * etags.c (add_regex): reset *putbuf before using it.
3001 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3003 * movemail.c (popmail): Remove some unnecessary function
3005 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3006 into pop_retr, there's no reason to pass in mbx_write, and the
3007 file argument can be declared FILE * explicitly. This fixes a
3008 compilation problem on systems with 64-bit pointers.
3010 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3012 * movemail.c: Delete duplicate inclusion of fcntl.h
3013 and duplicate #undefs of open, read, write, close.
3015 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3017 * movemail.c (main): Do not display "[POP-password]" in the usage
3018 message when movemail is compiled without POP support.
3019 (main, popmail): Add the optional "-p" argument, which causes
3020 movemail to leave mail in the inbox after copying it into the
3023 * Makefile.in (movemail): Link with getopt.
3025 1997-01-20 Paul Eggert <eggert@twinsun.com>
3027 * rcs2log (--help, --version): New options, per GNU coding standards.
3028 (Copyright, Help, Id): New variables, for above.
3029 (rlog): Use -q option with cvs log, to avoid useless chatter.
3031 Treat logs of "Initial revision" (RCS) or "file F was initially added
3032 on branch B." (CVS) as if they said "New file.", for consistency with
3035 1997-01-01 Paul Eggert <eggert@twinsun.com>
3037 * vcdiff (PATH): Add /usr/xpg4/bin,
3038 where XPG4 SCCS hangs out in Solaris 2.5.
3039 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3041 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3043 * etags.c (streq, strneq): Use == NULL rather than !.
3045 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3047 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
3048 (movemail): Use LIBMAIL, to link against -lmail.
3050 * movemail.c: Include maillock.h (conditionally).
3051 Remove a redundant inclusion of <stdio.h>.
3052 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3053 (main): Add variable spool_name.
3054 Support the usage of maillock and mailunlock to
3055 lock and unlock mailboxes.
3056 (mail_spool_name): New function.
3058 * movemail.c: Fix an uninitialized variable which could cause
3059 movemail to exit with an error status incorrectly on systems which
3060 use lock files rather than a system locking function to lock
3063 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3065 * pop.c (socket_connection): Free realhost after using it.
3067 1996-12-04 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3069 * etags.c (C_entries): Test tok.valid. This handles some
3070 particular cases involving function declarations that failed.
3072 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
3074 * pop.c (socket_connection):
3075 gethostbyname may return a pointer to static data.
3076 krb_realmofhost can clobber it. So copy it.
3078 1996-11-14 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3080 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3081 must cast it to (char *) because we have no prototypes.
3082 (make_C_tag): Macro deleted, new function.
3083 (C_entries): Calls to make_C_tag macro changed to call function.
3085 1996-11-13 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3087 * etags.c (grow_linebuffer): New function.
3088 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3089 (make_tag): Macro renamed to make_C_tag. All callers changed.
3090 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3091 (Prolog_functions): prolog_skip_comment was called with wrong
3092 number of arguments.
3093 (xrealloc): fatal was called with wrong number of arguments
3095 1996-11-08 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3097 * etags.c (relative_filename): Bug corrected.
3098 (etags_getcwd): Avoid warning of unused variable.
3099 (C_entries, consider_token): Added support for enum labels.
3101 1996-11-03 Paul Eggert <eggert@twinsun.com>
3103 * rcs2log: When processing cvs log output, remove `Attic/' from
3104 repository file names.
3106 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3108 * emacsserver.c: Fix 1996-09-02 change.
3110 1996-10-12 Paul Eggert <eggert@twinsun.com>
3112 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
3113 option', since CVS says 'invalid option'.
3114 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3115 revisions, since some hosts reject 1970-01-01 when east of UTC.
3118 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3120 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3122 1996-10-02 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3124 * etags.c (print_version): Print copyright info.
3126 * etags.c (print_help): Print the bug reporting address.
3127 (main): Use return as the last instruction, instead of exit.
3129 * etags.c (main): Don't open the tags file in cxref mode.
3131 1996-09-29 Dave Love <d.love@dl.ac.uk>
3133 * rcs2log (date): Make default format acceptable to CVS post v1.8
3134 as well as earlier CVSs and RCS.
3136 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3138 * movemail.c (main): If the lock call fails with EBUSY or
3139 EAGAIN, retry a few times.
3141 1996-09-25 Paul Eggert <eggert@twinsun.com>
3143 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
3144 whether to append -zLT.
3146 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3148 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3149 * emacsclient.c, movemail.c: Likewise.
3151 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3153 * emacsclient.c (longopts): Change nowait to no-wait.
3154 (print_help_and_exit): Fix option name; upcase metavars.
3156 1996-09-06 Erik Naggum <erik@naggum.no>
3158 * emacsserver.c (main): Declare `fromlen' as size_t.
3160 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3162 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3164 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3166 * emacsclient.c (quote_file_name): Quote with &, not \.
3167 Quote `-' only at start of file name. Terminate the value string.
3169 * emacsserver.c: Include signal.h properly;
3170 delete the duplicate includes for it.
3172 * emacsserver.c: On fatal signal, delete socket-file:
3173 * emacsserver.c: Include signal.h.
3174 (xmalloc, fatal, error): New functions.
3175 (delete_socket, handle_signals): New functions.
3176 (progname, socket_name): New variables.
3177 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3179 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3181 * emacsclient.c (quote_file_name): New function.
3182 (main, both versions): Use quote_file_name.
3183 (decode_options): Don't return a value.
3184 (main, both versions): Use optind.
3185 Don't check for -nowait here.
3187 * emacsclient.c (decode_options): New function.
3188 (main, both versions): Call decode_options.
3189 (print_help_and_exit): New function.
3190 (VERSION): New macro.
3192 * Makefile.in (emacsclient): Link with getopt.
3193 Add -DVERSION so emacsclient knows its version number.
3195 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3197 * makefile.nt (lisp): Include dos-nt.elc.
3199 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3201 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3203 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3205 * emacsclient.c (both versions): Handle -nowait and --nowait
3206 by sending data to the server.
3208 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3210 * Makefile.in (INSTALL_STRIP): New variable.
3211 (${archlibdir}): Use INSTALL_STRIP.
3213 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3214 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3216 * pop.c: Reverse conditional in previous change.
3218 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3220 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3222 1996-08-24 Paul Eggert <eggert@twinsun.com>
3224 * rcs2log: Use ISO 8601 date format, with time zone appended
3225 if change-log-time-zone-rule is non-nil, instead of
3226 traditional Unix date format.
3228 (datearg): When computing default from ChangeLog, handle ISO format
3229 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3230 Don't worry about hh:mm:ss since the resolution is now by day.
3231 Use emtpy datearg, not empty rlog_options, to decide whether to pass
3232 "$datearg" option to $rlog.
3233 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3234 (month_data): Remove `mo'; no longer needed.
3235 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
3237 Match `revision' line of rlog output more accurately.
3241 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3243 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3245 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3247 * Version 19.33 released.
3249 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3251 * Version 19.32 released.
3253 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3255 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3256 computing character positions in source files.
3258 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3260 * makefile.nt (clean): Use OBJDIR macro.
3262 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3264 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3266 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
3268 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
3269 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3270 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
3272 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
3274 * ntlib.h: Correct return type of getwd.
3275 * ntlib.c (getwd): Correct return type.
3277 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3279 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
3282 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3284 * makefile.nt: Remove all references to wakeup.
3286 1996-06-28 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3288 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3289 explicit, mutable, typename.
3291 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3293 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
3294 streams, one for sending and one for reading the reply.
3296 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3298 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
3299 (wakeup): Target deleted.
3300 (UTILITIES): Delete wakeup and timer.
3302 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
3304 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
3306 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
3307 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
3309 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3311 * etags.c (main): Copy cwd when appending slash.
3313 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3315 * Version 19.31 released.
3317 1996-05-17 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3319 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3320 (Pascal_functions): Increase linecharno by the correct number of
3321 chars, inline the GET_NEW_LINE macro and delete its definition.
3323 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3325 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
3327 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3329 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
3330 (movemail.exe, fakemail.exe): Now built under Win32.o
3332 * ntlib.c: Include ntlib.h.
3333 (nt_sleep): Rename to sleep.
3334 (getwd): Return directory.
3335 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
3336 sys_ctime, sys_fopen): New functions.
3338 * ntlib.h: New file.
3340 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3342 * pop.c (SEND, RECV): Renamed from send, recv.
3343 (pop_open, pop_trash): Make the trash_started code unconditional.
3344 (socket_connection): Delete casts to void.
3346 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3348 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
3351 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
3353 * fakemail.c [WINDOWSNT]: Include ntlib.h.
3355 * hexl.c [DOSNT]: Include fcntl.h.
3356 [WINDOWSNT]: Include io.h.
3357 (main) [MSDOS]: Change conditional to DOS_NT.
3359 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
3360 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
3361 [WINDOWSNT]: Include locking.h.
3362 (main): Update usage message. Use IS_DIRECTORY_SEP.
3363 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
3364 (main) [WINDOWSNT]: Invoke locking instead of flock.
3365 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
3366 (main) [MAIL_USE_POP]: Pass password to popmail if used.
3367 Include winsock.h; don't include unix inet headers.
3368 (popmail): Add password argument and pass it to pop_open.
3369 Open output file in binary mode.
3371 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
3372 Macro SOCKET_ERROR undefined.
3373 Don't declare h_errno.
3374 [!WINDOWSNT]: Define macros recv and send.
3375 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
3376 (pop_open) [WINDOWSNT]: Initialize trash_started.
3377 (have_winsock) [WINDOWSNT]: New variable.
3378 (socket_connection) [WINDOWSNT]: Initialize winsock.
3379 (socket_connection): Use closesocket instead of close.
3380 (getline): Use recv instead of read.
3381 (fullwrite): Use send instead of write.
3382 (pop_trash): Use closesocket instead of close.
3383 (pop_trash) [WINDOWSNT]: Cleanup winsock.
3384 Check if being called recursively by sendline.
3386 * pop.h (struct _popserver): New field trash_started.
3388 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
3390 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3392 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
3394 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3396 * etags.c [WINDOWSNT]: Include io.h.
3398 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
3400 * makefile.nt (CTAGSOBJ): Compile with regexp support.
3402 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
3404 * hexl.c [DJGPP v2]: Include io.h.
3405 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
3407 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
3410 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3412 * etags.c (absolute_filename): Use absolutefn.
3414 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
3416 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
3417 letter isn't an alphabetic character.
3418 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
3419 (process_file) [DOS_NT]: Convert all slashes to forward style.
3420 (absolute_filename) [DOS_NT]: Emit error message for relative
3421 paths with a drive letter.
3422 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
3423 DOS/NT drive letters which try to reference the parent of the root.
3424 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
3426 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3428 * makefile.nt: Change uses of del to $(DEL).
3430 1996-03-22 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3432 * etags.c (just_read_file): Reset lineno and charno on entry.
3434 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
3436 * etags.c: Prolog language totaly rewritten.
3437 (Prolog_functions): Rewritten from scratch.
3438 (skip_comment, prolog_getit): Removed.
3439 (prolog_skip_comment): New function, like old skip_comment.
3440 (prolog_pred, prolog_atom, prolog_white): New functions.
3441 (erlang_func, erlang_attributes): Forward declarations added.
3442 (erlang_atom): Check if backslash ends line inside quoted atom.
3444 1996-03-14 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3446 * etags.c (absolutefn): DOS_NT version corrected.
3447 (main): Append "/" to the dir name only if not already there.
3448 (print_help): Explain the absolute/relative file name issue.
3450 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
3452 * etags.c: New Languange Erlang added.
3453 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
3454 erlang_white): New functions.
3455 (Erlang_suffixes): New suffix list.
3456 (lang_names): Erlang entry added.
3457 (prolog_getit): Accepts headers spanning several lines.
3459 (Prolog_functions): Removed incorrect compensation for
3461 (readline_internal): Zero-terminate last line.
3463 1996-03-20 Mike Long <mike.long@analog.com>
3465 * b2m.c (main): Initialize progname variable before using it.
3466 Quote `username' in From_ header.
3468 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
3470 * ntlib.c (getpid): New function.
3472 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3474 * emacsclient.c (main, both definitions):
3475 Print a newline for normal termination.
3477 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
3479 * tcp.c (main): Convert port to network byte order.
3481 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
3483 * pop.c (pop_retrieve, getline): Avoid type clashes.
3485 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
3487 * etags.c (enum sym_type, anonymous enum): Delete final comma.
3489 1996-01-15 Paul Eggert <eggert@twinsun.com>
3491 * rcs2log (initialize_fullname): Add support for NIS+.
3492 (hostname): Fully qualify the default hostname with the domainname
3493 if the hostname lacks a `.'.
3495 1996-01-15 Paul Eggert <eggert@twinsun.com>
3497 * rcs2log (initialize_fullname): Add support for NIS+.
3498 (hostname): Fully qualify the default hostname with the domainname
3499 if the hostname lacks a `.'.
3501 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
3503 * etags.c (consider_token): Fix typo in expression.
3505 1996-01-04 Paul Eggert <eggert@twinsun.com>
3507 * etags.c (substitute): Fix spelling in message.
3509 1996-01-03 George V. Reilly <georger@microcrafts.com>
3511 * makefile.nt (etags, ctags): Compile with regexp support.
3512 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
3513 subdirectory exists before compiling.
3515 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
3517 * emacsserver.c (main): Do chmod based on existing permission.
3519 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3521 * Makefile.in (install): Turn on read/execute permission.
3523 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3525 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
3526 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
3528 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3530 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3532 1995-12-07 Francesco Potort
\e,Al
\e(B <pot@cnuce.cnr.it>
3534 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3535 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3536 get_scheme, prolog_getit): Name the tag in ctags mode.
3537 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3538 (Perl_interpreters): Accept "@PERL@" as an interpreter.
3539 (suggest_asking_for_help): New function.
3540 (main, get_language_from_name): Use suggest_asking_for_help.
3541 (main): Let get_language_from_name make language existence check.
3542 (streq, strneq): Check the arguments #if DEBUG.
3544 1995-12-06 Francesco Potort
\e,Al
\e(B <pot@cnuce.cnr.it>
3546 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3547 (gperf): Added keywords for Objective C and GNU macros.
3548 (sym_type): Added values to account for Objective C and GNU macros.
3549 (begtk): The '@' character can start a token.
3550 (objdef, methodlen, objtag): New variables for Objective C.
3551 (consider_token, C_entries): Added code for Objective C.
3552 (plain_C_suffixes): Add .m and .lm for Objective C.
3553 (Yacc_suffixes): Add .ym for Objective yacc.
3554 (GROW_LINEBUFFER): New macro.
3555 (consider_token, C_entries, Pascal_functions): Use the new macro.
3556 (consider_token): Take one more argument. Caller changed.
3557 (consider_token): Use the hashing function to spot GNU macros.
3558 (C_entries): Consider // as a comment start even in plain C for
3559 the sake of Objective C parsing.
3561 1995-12-04 Francesco Potort
\e,Al
\e(B <pot@cnuce.cnr.it>
3563 * Makefile.in (ctags): depend on etags only for simplicity;
3564 compile with regexp support enabled.
3566 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3568 * Version 19.30 released.
3570 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3572 * makefile.nt (DOC, clean): Don't use switches to del not
3573 supported by Windows 95.
3575 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3577 * Makefile.in (regex.o): Depend on ../src/config.h.
3579 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3581 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
3582 (LOADLIBES): Use LIB_STANDARD.
3584 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
3586 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3587 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3588 Windows 95 conditional.
3590 1995-11-06 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3592 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3593 get_lang_from_suffix): New functions.
3594 (get_language): Function deleted.
3595 (lang_entry): Two members added to struct.
3596 (lang_names): Reflect the new layout of lang_entry.
3597 (print_language_names, main, find_entries): Use the new functions.
3598 (find_entries): Look at the first line for #! if no language.
3599 (C_entries): Invalidate the token when funcdef is reset.
3600 (Perl_functions): New function.
3601 (lang_suffixes): .pl and .pm are Perl suffixes.
3603 1995-11-02 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3605 * etags.c (lowcase): Use the standard tolower function.
3606 (substitute): Remove some wrong and some useless code related with
3607 escape '\' character in regexp replacement string.
3608 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3609 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
3610 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
3611 .prolog for prolog (.pl removed).
3612 (massage_name, etags_getcwd): Use lowcase instead of tolower.
3613 (C_entries, find_entries): Added comments about memory leakage.
3614 (add_node): Dead code removed.
3616 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3618 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
3619 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
3621 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3623 * test-distrib.c: Add #undef for open, close, read, write.
3625 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3627 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3628 [! O_RDONLY]: Define it to zero.
3629 (main): Use O_RDONLY instead of explicit zero.
3631 1995-08-17 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3633 * etags.c (Pascal_functions): Close comment bug corrected.
3634 (add_node): Correctly compare node file names.
3635 (Pascal_functions): Correctly allocate and free memory for tline.
3636 (pfnote): Put the definition of fp in the innermost block.
3637 (NODE): `named' member removed.
3638 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
3639 use the `named' member, check whether `name' is NULL instead.
3640 (pfnote): `named' argument removed, all callers changed.
3641 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3642 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
3643 removed from pfnote call, some code cleanup.
3644 (relative_filename): Free temporary space allocated by concat.
3646 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3648 * Makefile.in (getdate.c): New target.
3649 (getdate.o): Just compile getdate.c.
3651 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
3653 * fakemail.c (xrealloc): Change cast to match return type.
3655 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3657 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
3659 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3661 * movemail.c (main): Fix previous change.
3662 Add error check for empty OUTNAME.
3664 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3666 * movemail.c (main): Mention lock file name in error message.
3668 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3670 * profile.c (gettimeofday): New function, defined if necessary.
3672 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3674 * Makefile.in: Renamed from Makefile.in.in.
3675 (distclean): Delete Makefile.c, not Makefile.in.
3677 1995-07-17 Michael Shields <shields@tembel.org>
3679 * Makefile.in.in (tags): Synonym for `TAGS'.
3681 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3683 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
3684 configure has already set $(INSTALL) to the proper relative path.
3686 1995-06-27 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3688 * etags.c (plain_C_entries): new function.
3689 (lowcase): new macro.
3690 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3691 (lang_suffixes): new suffix ".pc" for Pro*C files.
3692 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3693 (tail): look for the end of the token when comparing.
3694 (takeprec): since now tail behaves differently, use strneq.
3696 1995-07-08 Paul Eggert <eggert@twinsun.com>
3698 * rcs2log (datearg): Separate date from time with comma, not space,
3699 to work around CVS 1.5 bug.
3700 (CVSROOT): Don't abort when unset if repository is absolute.
3702 1995-07-07 Paul Eggert <eggert@twinsun.com>
3704 * rcs-checkin, rcs2log, vcdiff:
3705 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
3706 that interpret `#! /' as a 4-byte magic number.
3708 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
3710 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
3711 mailbox with "po:mailbox", the mailbox is everything after the
3714 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3716 * emacsserver.c: Make all error messages start with `Error: '.
3717 (fatal_error, perror_1): New functions, use throughout.
3719 1995-06-28 Paul Eggert <eggert@twinsun.com>
3721 * rcs2log (CVSROOT, repository):
3722 Allow remote repositories a la CVS 1.4.
3724 1995-06-27 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3726 * etags.c (plain_C_entries): new function.
3727 (lowcase): new macro.
3728 (tail, Fortran_functions, Pascal_functions): use new macro lowcase.
3729 (lang_suffixes): new suffix ".pc" for Pro*C files.
3730 (consider_token): don't tag all tokens beginning with DEFUN & Co..
3731 (tail): look for the end of the token when comparing.
3732 (takeprec): since now tail behaves differently, use strneq.
3734 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3736 * movemail.c (main): Add newline in usage message.
3738 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3740 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
3742 1995-06-21 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3744 * etags.c (find_entries): Rewind before rereading the input file.
3746 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3748 * Version 19.29 released.
3750 * make-docfile.c (main) [MSDOS]: Do set _fmode.
3751 This undoes part of the previous change.
3753 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3755 * make-docfile.c (main): On MSDOS, don't change stdout
3756 to binary, and insist on an -o option.
3758 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
3760 * etags.c (process_file,absolute_filename): Handle filenames
3761 starting with a drive letter.
3763 * makefile.nt (install): Copy wakeup.exe properly.
3765 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
3767 * make-docfile.c [MSDOS]: #undef chdir.
3769 1995-06-04 Paul Eggert <eggert@twinsun.com>
3771 * rcs2log (output_authors): Allow ':' in time zone,
3772 as per ISO 8601 and RCS 5.6.8 beta.
3774 1995-05-29 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3776 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
3777 compatibility problems.
3779 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
3781 * etags.c (etags_getcwd): Don't use #elif.
3782 Have just one function body.
3784 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
3786 * makefile.nt (LIBS): Use BASE_LIBS.
3787 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
3789 (DOC): Use del instead of rm.
3790 (DOC) [WINDOWS95]: Use DOC.
3791 (clean): Handle MSVC aux files.
3792 (config.h,paths.h): Use $(CP) instead of cp.
3793 (config.h): Use $(CONFIG_H)
3794 (make-docfile.obj): Depend upon config.h.
3797 1995-05-23 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3799 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
3800 former gives the true path even in the presence of simlinks.
3802 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3804 * movemail.c (main): Increase lock timeout to five minutes.
3806 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
3808 * makefile.nt (obj): Use .c files.
3810 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3812 * make-docfile.c: Include config.h.
3813 (NO_SHORTNAMES): New definition.
3814 (xmalloc): Return long *.
3816 * etags.c (C_entries): Cast result of xrealloc.
3817 (xmalloc, xrealloc): Declare them to return long *.
3819 * b2m.c (xmalloc, xrealloc): Declare them long *.
3821 * movemail.c (xmalloc): Declare it to return long *.
3823 1995-04-30 Paul Eggert <eggert@twinsun.com>
3825 * rcs2log (datearg): If rlog options are specified explicitly,
3826 omit the implicit '-d>DATE' option.
3827 (repository, rlog): Allow absolute paths to CVS repositories.
3828 Look only at the first line of CVS/Repository.
3830 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
3832 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
3835 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3837 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
3838 Alternative (empty) definitions.
3840 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3842 * emacsclient.c (main): Add argv[0] to an error message.
3844 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
3846 * emacsclient.c (main): Improve error handling.
3847 * cvtmail.c (main, skip_to_lf): Improve error handling.
3848 (sysfail): New function.
3850 * b2m.c (main): Check for trailing ", " before trying to delete it.
3852 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3854 * Makefile.in.in (all): Build test-distrib and make-docfile.
3856 * make-docfile.c (scan_c_file): At end, restore file name last char
3857 to its original value.
3859 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3861 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
3863 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3865 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
3866 (alloca.o, regex.o): Use BASE_CFLAGS.
3868 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3870 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
3872 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
3874 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
3875 (SOURCES, distclean): Removed obsolete references to aixcc.
3877 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3879 * aixcc.lex: File deleted--surely obsolete now.
3881 1995-03-23 Paul Eggert <eggert@twinsun.com>
3883 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
3884 portability to mawk and nawk.
3886 1995-03-21 Paul Eggert <eggert@twinsun.com>
3888 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
3889 -u "login<tab>fullname<tab>mailaddr".
3891 1995-03-21 Paul Eggert <eggert@twinsun.com>
3893 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
3894 replaces the (now obsolescent) -n login fullname mailaddr option.
3895 Add -R option for recursive rlog.
3896 (AWK): New environment variable (default `awk') for awk program name.
3897 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
3898 Quote authors and fullnames correctly.
3899 Don't omit path from repository root when logging CVS files.
3901 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3903 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
3904 even if HAVE_SYSVIPC.
3905 * emacsclient.c (main): Use getcwd if not BSD.
3907 1995-03-13 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3909 * etags.c (process_file): free (filename) after using it.
3910 (readline_internal): Do not access the char before start of line.
3912 1995-02-22 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3914 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
3915 savetok.valid. Mark token as valid when it is initialised.
3916 (make_tag): Make token only if token is valid and reset validity.
3917 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
3918 (TOKEN): Added a new member: valid.
3920 1995-02-15 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3922 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
3923 (main): Do not read twice the last filename in the stdin file list.
3925 1995-02-14 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3927 * etags.c (C_entries): Initialise the new members of TOKEN.
3928 (C_entries): Do not allocate a new space for each token found by
3929 consider_token. Let make_tag do that instead.
3930 (make_tag): Since now TOKEN has memory of where it is taken from,
3931 this new macro substitutes both make_tag_from_new_lb and
3932 make_tag_from_oth_lb. All callers changed.
3933 (TOKEN): Add linepos and buffer members.
3934 (main): Initialise token_str.
3935 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
3936 (token_str): New global variable used by C_entries.
3938 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
3940 * Makefile.in.in (maintainer-clean): Renamed from realclean.
3942 1995-02-01 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3944 * etags.c (pfnote): Initialise been_warned in the node.
3945 (C_entries): Removed a speed hack for the sake of clarity.
3947 1995-01-18 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3949 * etags.c (longopts, print_help, main): Use -I as abbreviation
3950 for the --ignore-indentation option.
3951 (main): Do not print an error message for unknown options.
3953 1995-01-12 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3955 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
3956 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
3957 constantypedefs, update, vgrind_style, no_warnings,
3958 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
3959 (permit_duplicates): Was a var, now a #define.
3960 (filename_lb): Was global, now local to main.
3961 (main): Open the tag file when in cxref mode.
3962 Use a BUFSIZ size buffer for making the shell commands.
3963 Look at the return value from the system routine.
3964 Exit when cannot open the tag file.
3965 (process_file): Open the file and pass the FILE* to find_entries.
3966 (find_entries): Now void, because does not open the file itself.
3967 (pfnote): Recovering from lack of memory does not work. Removed.
3968 Use savenstr and simplify the code.
3969 (free_tree): Only free the name space if node is named.
3970 (structtag): Now a pointer, not a fixed length array of chars.
3971 (consider_token): Don't take a token as argument. Use savenstr
3972 when saving a tag in structtag. Callers changed.
3973 (TOKEN): Structure changed. Now used only in C_entries.
3974 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
3975 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
3976 (pfcnt): Deleted. Users updated.
3977 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3978 TEX_getit, prolog_getit): Use dinamic allocation for storing
3979 the tag instead of a fixed size buffer.
3981 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3983 * movemail.c (main): Skip past the colon in inname.
3985 1995-01-10 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3987 * etags.c (pfatal): New function.
3988 (main, etags_getcwd): Use pfatal.
3989 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
3991 1995-01-10 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3993 * etags.c (Lang_function): Use void instead to declare the
3994 language functions, because many compilers are buggy.
3995 (etags_getcwd): Fix the previous fix on the #else branch.
3996 (readline_internal): Discard possible \r before \n here.
3997 (C_entries): Do not deal with \r here: undo previous fix.
3999 1995-01-09 Francesco Potort
\e,Al
\e(B (pot@fly)
4001 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4002 functions and a macro that allow the program to work on input
4003 lines of whatever length. Copied from etags.c.
4004 (fatal): Print a fatal error message and exit.
4005 (main): Use the new functions. Fixed a bug that made a \037 char
4006 appear at the end of the output.
4008 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4010 * etags.c (C_entries): Ignore carriage return at end of line.
4012 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4014 * fakemail.c (xmalloc, xrealloc): Add casts.
4015 (add_field): Handle <...> and "..." syntax.
4016 (setup_files, get_keyword): Clean up parens and line breaks.
4017 (args_size): Likewise.
4019 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4021 * yow.c: Include program name in error messages.
4023 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4025 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4026 (xmalloc, fatal, error): New functions.
4027 (progname): New variable.
4028 (main): Set progname.
4030 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4032 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4033 (main): If socket/mqueue name is in home dir, add in the host name.
4034 Rename .emacs_server to .emacs-server....
4036 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4038 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4040 1994-11-22 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4042 * etags.c (print_help): print --regex usage for ctags also.
4043 (main): use -h in addition to -H as abbreviation for --help.
4045 1994-11-16 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4047 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4048 is compiled if this is defined. The new functions and variables
4049 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4050 [VMS]: All VMS specific code previously contained in
4051 etags-vmslib.c is now included here, modified for dealing with
4052 language and regex options intermixed with filenames.
4053 (header_file): Global variable deleted.
4054 (Lang_Function): New typedef. All language parser functions
4055 changed to this new type.
4056 (string_numeric_p, substr, prestr): Functions deleted.
4057 (readline_internal): Does the job that readline did previously.
4058 (longopts): --language and --regex options added.
4059 (lang_names, lang_extensions, lang_func, print_language_names):
4060 New structures, variables and functions for choosing languages.
4061 (print_help): Help strings updated. Calls print_language_names.
4062 (argument_type, ARGUMENT): Typedefs for dealing with language and
4063 regex options intermixed with filenames.
4064 (main): Changed the way of dealing with arguments on the command
4065 line to deal with language and regex options intermixed with
4067 (get_language, default_C_entries, Cplusplus_entries,
4068 Cstar_entries, Yacc_entries, just_read_file): New functions.
4069 (find_entries): Use the new method for choosing the language.
4070 (Pascal_functions): Allow intermixing of comment styles.
4071 (prolog_getit, skip_comment): Rewritten for speed.
4072 (readline): Rewritten to deal with regexps.
4074 1994-11-16 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4076 * etags.c (<errno.h>): #include added.
4077 (etags_getcwd): Check return value from getcwd.
4079 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4081 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4082 (get_time): Use EMACS_SUB_TIME.
4084 1994-10-30 Geoff Voelker <voelker@cs.washington.edu>
4086 * ntlib.c: New file.
4087 * makefile.nt: New file.
4089 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4090 [WINDOWSNT]: Include the NT headers.
4091 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4093 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4094 [WINDOWSNT]: Include some NT headers.
4096 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4098 * pop.c (getline): When a search of already-read input for CRLF
4099 fails, store the fact that we've searched it and don't search it
4100 again after reading more data.
4102 * pop.c (getline): When determining whether or not it's necessary
4103 to grow the input buffer, take into account the null that's stored
4104 at the end of already-read input in the buffer.
4106 1994-10-21 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4108 * etags.c (prestr, substr): return a logical type.
4109 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
4110 (consider_token): set funcdef to fignore when a DEFUN is met.
4111 (C_entries): Now we can use Tom Hageman patch for extern "C".
4113 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4115 * movemail.c: PopServer renamed to popserver throughout.
4117 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4119 * etags.c: Don't declare malloc, since we include config.h.
4120 * fakemail.c: Likewise.
4122 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4124 * movemail.c: Don't declare malloc.
4126 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4128 * rcs-checkin: Use test -r instead of < to check readability, to
4131 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4133 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4134 defined, and if HAVE_CONFIG_H isn't defined, define
4135 MAIL_USE_POP always (so that this file can be included in
4136 other programs besides emacs).
4138 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4139 HAVE_CONFIG_H isn't defined.
4141 * pop.c (find_crlf, getline): Instead of using strstr, use a
4142 custom function for finding CRLF.
4143 (my_strstr): Function deleted.
4145 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4147 * pop.c (getline): Fix a segfault because of passing a
4148 non-null-terminated string into strstr(). Fix from
4149 djm@va.pubnix.com (David J. MacKenzie).
4151 * pop.c: Don't include <string.h> and <strings.h>.
4153 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4154 should be interchangeable, and indeed the inclusion is done in
4155 both orders in various files in the Kerberos 4 library sources,
4156 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4157 requires that <des.h> be included first, and I don't see any harm
4158 in changing the order.
4160 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4161 STDC_HEADERS, if they're defined. Undef open, read, write and
4162 close after including it.
4164 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4166 * pop.c: Fix mismatch in conditionals.
4168 * make-docfile.c (main): Don't process one input file twice.
4169 Never use exit code > 1.
4171 * pop.c (open, close, read, write): Add #undefs.
4173 * pop.c: Don't declare malloc, realloc, free.
4174 Include ../src/config.h.
4175 Don't include string.h or strings.h.
4176 Include des.h before krb.h.
4177 Do declare my_strstr.
4178 (getline): Really use my_strstr.
4179 Leave one empty place in server->buffer,
4180 and put a null at the end of the data in it.
4182 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4184 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4185 call kill with pid 0. Handle EINTR when receiving messages.
4187 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4189 * Makefile.in.in (regex.o): Use full path to find regex.c.
4191 1994-10-17 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4193 * Makefile.in.in (etags): add dependency on regex.o, link with it.
4194 (REGEXPOBJ, REGEXPDEPS, regex.o): target and macros added.
4196 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4198 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4199 (${archlibdir}): Use mkinstalldirs instead.
4201 * movemail.c: Make functions that return nothing void, not
4203 (main): Improve usage message.
4204 (error): Write to stderr, not stdout.
4206 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4207 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4208 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4209 variables and implicitly declared functions.
4211 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4213 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4214 (distclean): Not here.
4216 * Makefile.in.in (libexecdir): Renamed from libdir.
4218 1994-10-11 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4220 * etags.c (C_entries): Name the #define's that are macros.
4222 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4224 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4225 fd_set arg is a pointer, descriptor arg comes first.
4227 1994-09-29 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4229 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4230 (C_entries): Recognise #define inside a struct.
4231 (C_entries): ANSI tells that preprocessor commands do not have to
4232 start on the first column.
4233 (print_help): Documentation corrected for -d and -D.
4234 (white, endtk): ANSI tells the vertical tab is a separator.
4236 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4238 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4239 (pop.o, movemail.o): New targets.
4240 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4242 * pop.c, pop.h: New files.
4244 * movemail.c: Improve POP code, move most of it into a separate file.
4245 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4246 (mbx_write): Check for errors and for From line.
4247 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4248 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4249 (pop_init): Functions deleted.
4251 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4253 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4254 Rename path to dirname.
4256 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4258 * Makefile.in.in (UTILITIES):
4259 Remove test-distrib, make-docfile, make-path.
4260 (DONT_INSTALL): New variable--list those files here.
4261 (clean): Delete the files in DONT_INSTALL.
4263 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4265 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4266 (main): Use fgets, not gets.
4268 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4270 * timer.c: Don't declare malloc.
4272 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4274 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4275 defined, use simple 32-bit versions of these macros.
4276 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
4278 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4280 * etags.c (etags_getcwd): Use getcwd if available.
4282 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4284 * Version 19.27 released.
4286 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4288 * Version 19.26 released.
4290 1994-08-15 Paul Eggert <eggert@twinsun.com>
4292 * rcs2log: Add support for CVS.
4293 Work with `rlog's that output ISO 8601 dates.
4295 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
4297 * rcs2log: Use <> to delimit email address.
4299 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4301 * emacsserver.c [SYSV_IPC] (main): Make a separate process
4302 so we can listen for multiple requests.
4304 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4306 * movemail.c: Include config.h first thing.
4308 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4310 * emacsserver.c (main): Add casts to avoid warnings.
4312 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4314 * Makefile.in.in (${archlibdir}): Compare the proper dir
4315 before installing the scripts.
4317 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4319 * emacsclient.c (main): New local var progname saves argv[0].
4321 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4323 * emacsclient.c (main): Don't actually modify argv[0].
4324 Modify a copy instead.
4326 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4328 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
4331 * Makefile.in.in: Add #undef alloca.
4333 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4335 * timer.c (xmalloc): New function.
4337 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4339 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
4340 (alloca.o): New target.
4342 1994-07-08 Dave Love (d.love@dl.ac.uk)
4344 * etags.c (takeprec): recognise `character*(*) function'
4346 1994-07-08 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4348 * etags.c (main): Don't barf on obsolete -t and -T switches.
4349 (main): Print an explicative message when a switch is not known.
4351 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4353 * hexl.c: Don't declare exit or perror.
4355 * emacsserver.c (main): Don't declare geteuid.
4356 Don't declare getenv if convex.
4358 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4360 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
4362 1994-06-03 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4364 * etags.c (absolute_filename): Remove infinite loop bug when
4365 accessing files in directories whose name begins with a dot.
4367 1994-06-03 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4369 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4371 1994-06-01 Morten Welinder (terra@diku.dk)
4373 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
4374 location of data directory.
4376 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4378 * Version 19.25 released.
4380 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4382 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
4384 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4386 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
4388 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4390 * Version 19.24 released.
4392 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4394 * make-docfile.c (write_c_args): Put `default' in upper case.
4396 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4398 * etags.c (etags_getcwd): Cast result of popen.
4399 (popen): Declaration deleted.
4401 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
4403 * etags.c [!MSDOS]: Declare popen.
4405 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4407 * b2m.c (main): Avoid crash if argc is 1.
4409 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4411 * Version 19.23 released.
4413 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
4415 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4417 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
4419 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4421 * Makefile.in.in: Fix out of date comment.
4423 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4425 * Makefile.in.in: Put in a separator for where to start cpp procssing.
4426 Move all autoconf substitutions above that point.
4427 Above that point, use Make-style comments.
4428 This goes with changes in ../configure.in.
4430 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4432 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
4434 (${archlibdir}): Don't do it here. Don't depend on blessmail.
4436 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
4438 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
4440 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4442 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
4443 print advice to run it, if it has anything significant to do.
4444 And only if MOVEMAIL_NEEDS_BLESSING.
4445 (blessmail): Use emacs, not temacs.
4446 (configuration): Renamed from configname.
4448 1994-04-30 Morten Welinder (terra@diku.dk)
4450 * etags.c (find_entries): Treat `*.cpp' as C++ files.
4452 1994-04-30 Morten Welinder (terra@diku.dk)
4454 * etags.c [MSDOS]: #include <sys/param.h> for the following.
4455 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
4458 1994-04-29 Morten Welinder (terra@diku.dk)
4460 * hexl.c [MSDOS]: Don't define proto type for exit.
4462 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4464 * b2m.c: Don't include string.h or strings.h.
4466 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
4468 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
4469 symbols, not make variables.
4471 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4473 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
4474 * etags.c (print_version): Print VERSION as a string.
4476 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4478 * fakemail.c (readline): Fix updating of p when buffer grows.
4480 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
4482 * Makefile.in.in (blessmail): New target.
4483 ${archlibdir}: Use blessmail when installing movemail.
4485 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4487 * fakemail.c (readline): When extending the buffer,
4488 calculate end afresh using the new size.
4490 1994-04-18 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4492 * etags.c (main, print_help): eliminate the -F option.
4494 1994-04-18 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4496 * etags.c (absolute_filename): compare against '\0' instead of NULL.
4498 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4500 * Makefile.in.in: Renamed from Makefile.in.
4501 Makefile.in is now generated from it, and then preprocessed.
4502 Change comments to C syntax.
4504 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
4505 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
4507 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4509 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4511 1994-04-12 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4513 * etags.c (etags_getcwd): Initialize bufsize.
4515 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4517 * profile.c (gettimeofday): If system doesn't have this, define it
4518 to give a fatal error.
4520 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
4522 * movemail.c (main): Use setuid, not seteuid.
4524 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4526 * etags.c: #undef static.
4528 1994-04-08 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4530 * etags.c (outf, outfiledir): renamed to tagf, tagfiledir.
4531 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs,
4532 Scheme_funcs, prolog_funcs): renamed to Fortran_functions,
4533 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4534 TeX_functions, Prolog_functions.
4535 (inf): no more a global variable.
4536 (C_entries): take 2nd parameter `inf' instead of using the global one.
4537 (find_entries): added the cp1 var for optimisation.
4538 (find_entries): added more suffixes for assembler files.
4539 (Asm_funcs): Now finds labels even without an ending colon.
4541 1994-03-30 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4543 * etags.c (main): use etags_getcwd for compatibility.
4544 (etags_getcwd): new function.
4546 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4548 * Makefile.in (etags, ctags): Pass -D for VERSION.
4550 1994-03-25 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4552 * etags.c (emacs_tags_format, ETAGS): removed. Use CTAGS instead.
4553 (main): don't allow the use of -t and -T in etags mode.
4554 (print_help): don't show options enabled by default.
4555 (print_version): show the emacs version number if VERSION is #defined.
4556 (find_entries): add "ss" as suffix for Chez Scheme.
4558 1994-03-23 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4560 * etags.c (cwd, outfiledir): vars added.
4561 (relative_filename, absolute_filename, absolute_dirname):
4562 functions added to compute filenames in tags files.
4563 (process_file): filenames in tags file are relative to the
4564 directory where the tags file is (useful with the -o option).
4565 (main): initialise the outfiledir var.
4566 (TYPEDST): added the `tignore' value.
4567 (C_entries): corrected various small bugs.
4569 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4571 * Makefile.in (UTILITIES): `env' deleted.
4572 (env): Target deleted.
4573 * env.c: File deleted.
4575 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4577 * Makefile.in (install, ${archlibdir}): Switch back to ..
4578 before running INSTALL_PROGRAM.
4580 1994-03-14 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4582 * etags.c (TYPEDST): added the `tignore' value.
4583 (C_entries): corrected various bugs, now correctly parses the
4584 `extern "C" {' construction (patch by Tom R.Hageman).
4586 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4588 * b2m.c: Use <...> to include config.h.
4589 Don't include stdlib.h.
4591 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
4593 * b2m.c (main): Change delimiter from "^L" to "^_^L".
4594 Allow for text following "BABYL OPTIONS:".
4595 Add --help option. Use argv[0] in error messages.
4597 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4599 * emacsclient.c (main) [HAVE_SYSVIPC]:
4600 Make msgp->mtext longer if necessary.
4601 On HPUX, error if it's more than 512 chars.
4603 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4605 * etags-vmslib.c: Use GPL.
4606 * emacstool.c: Use GPL.
4607 * fakemail.c: Update GPL.
4609 * make-path.c (main): Return 1 on error, not -1.
4612 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
4613 (xmalloc, xrealloc): Return char *, not int.
4614 (error): Write to stderr, not stdout.
4617 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
4619 * profile.c (main, get_time): Don't crash on invalid input.
4621 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4623 * profile.c (get_time): Simplify; avoid calling index.
4624 (main): exit on EOF.
4626 1994-02-17 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4628 * etags.c (--absolute-pathnames): Option removed.
4630 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4632 * fakemail.c (put_line): Don't break the line if it all fits.
4634 1994-02-14 Francesco Potort
\e,Al
\e(B (pot@fly)
4636 * etags.c (absolute_pathnames, cwd): added global vars.
4637 (longopts, print_help, main, process_file): put absolute filenames
4638 in the tag file if the -A --absolute-pathnames option is used.
4639 (print_help): alfabetically order the options.
4640 (malloc, realloc, strcpy, strncpy, strcmp): remove extern declar.
4642 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4644 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4645 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4647 1994-02-07 Christian Lynbech (lynbech@avignon)
4649 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
4651 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4653 * Makefile.in (UTILITIES): Mention profile.
4654 (profile): New target.
4656 * profile.c: New file.
4658 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4660 * make-docfile.c: Make the argument list output look more like the
4662 (write_c_args): Take new arg FUNC. Make output
4663 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
4664 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
4666 1994-01-14 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4668 * etags.c (stab_entry, stab_create, stab_find, stab_search,
4669 stab_type, add_keyword, C_reate_stab, C_create_stabs): deleted.
4670 Use gperf generated hash table instead of linked list.
4671 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): added.
4672 Mostly code generated by gperf.
4673 (consider_token): removed unused parameter `lp'.
4674 (PF_funcs, getit): allow subroutine and similar declarations
4675 to span multiple lines.
4676 (C_entries): check for newline if inchar to avoid bus errors.
4677 (process_file, find_entries): distinguish among nonexistent
4678 and not regular file.
4680 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4682 * timer.c: Include errno.h; don't include fasync.h.
4683 (schedule): Don't return a value.
4684 (sigcatch): Reestablish the handler first.
4685 (getevent): Always call notify at the end.
4686 (notify): Defer alarms around the whole body of function.
4688 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4690 * timer.c (main): Don't request SIGIO, and don't handle it.
4691 Loop calling getevent.
4692 (sigcatch): Delete code to handle SIGIO.
4693 if defer_alarms is set, don't call notify, just set alarm_deferred.
4694 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
4695 Set defer_alarms around realloc and schedule.
4696 If alarm_deferred gets set, call notify.
4697 Likewise if this event is the only pending event.
4698 Make buf and buf_size global variables.
4699 Don't malloc buf if it is already non-zero.
4700 (schedule): Just exit if run out of memory.
4701 Return the number of events.
4702 (signal) [_CX_UX]: Add #undef.
4704 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4706 * timer.c [USG] (SIGIO): Define as SIGPOLL.
4707 (main) [USG]: Do ioctl to enable SIGPOLL.
4709 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4711 * timer.c: Don't declare sys_errlist; declare strerror instead.
4712 (schedule, main): Call strerror instead of using sys_errlist.
4713 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
4714 Call strerror instead of using sys_errlist.
4715 * env.c (main): Call strerror instead of using sys_errlist.
4716 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
4717 (main): Call strerror instead of using sys_errlist.
4718 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
4719 * env.c [! HAVE_STRERROR] (strerror): Likewise.
4720 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
4721 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
4723 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4725 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
4727 * movemail.c (malloc): Don't declare it.
4728 (xmalloc): Cast result of malloc.
4729 (strcpy): Don't declare it.
4731 1993-11-14 Morten Welinder (terra@diku.dk)
4733 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
4734 (main): Use fclose to close file opened by fopen.
4736 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
4738 * movemail.c [MSDOS]: #undef `access'.
4740 * b2m.c (main) [MSDOS]: Open all files as binary.
4741 * etags.c (main) [MSDOS]: Open all files as binary.
4743 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
4744 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
4747 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4749 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
4750 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
4751 (LINK_CFLAGS): New variable.
4752 (timer): Use LINK_CFLAGS.
4754 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4756 * movemail.c: Include syswait.h.
4757 Fork a subprocess and use it to copy the mail file.
4759 1993-12-07 Richard Stallman (rms@srarc2)
4761 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
4763 1993-12-04 Richard Stallman (rms@srarc2)
4765 * movemail.c (main): When making tempname, cast result of xmalloc.
4766 Include room for EXXXXXX in the size.
4767 Don't use result of strcpy.
4769 1993-12-03 Paul Eggert (eggert@twinsun.com)
4771 * vcdiff: Add --brief option.
4773 1993-12-02 Richard Stallman (rms@srarc2)
4775 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
4776 for all executables and scripts.
4778 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4780 * Version 19.22 released.
4782 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4784 * Makefile.in (mostlyclean): Make it distinct from clean.
4786 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4788 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
4790 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4792 * Version 19.21 released.
4794 * Makefile.in (install): Don't change mode or group when installing.
4796 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
4798 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4800 * make-docfile.c (read_c_string): For "", concatenate the two strings.
4802 * movemail.c (main): Fix error message text.
4804 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4806 * Version 19.20 released.
4808 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
4810 * etags.c (C_entries): Keep track of ()-parenthesis level so that
4811 functions returning a pointer to a function, a la `signal', can be
4812 parsed. This also required new state `fstartlist' to `FUNCST'.
4813 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
4814 (C_entries, CNL): use it to isolate preprocessor directive processing
4815 from the other state engines.
4816 (begtk): add '~', for C++ class destructors.
4818 1993-11-02 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4820 * etags.c (consider_token): removed unused variable firsttok.
4821 (prolog_getit): call pfnote with the right number of arguments.
4823 1993-10-19 Paul Eggert (eggert@twinsun.com)
4825 * rcs2log (printlogline): Don't generate lines containing only
4828 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4830 * Makefile.in (${archlibdir}):
4831 Install ${SCRIPTS} from ${srcdir}, not cwd.
4833 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4835 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
4836 the comment character.
4838 1993-10-01 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4840 * etags.c (process_file): dead code removed.
4841 (S_ISREG): #define it using S_IFREG if not defined.
4842 (process_file): regular files have nothing to do with symlinks.
4844 1993-09-28 Brian Fox (bfox@ai.mit.edu)
4846 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
4847 from current directory. Only chmod and chgrp files that we
4848 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
4850 (INSTALLFLAGS): Deleted definition, since it is an unused variable
4853 1993-09-27 Brian Fox (bfox@ai.mit.edu)
4855 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
4856 configure figure out the correct values for these variables.
4858 1993-09-14 Brian Fox (bfox@ai.mit.edu)
4860 * Makefile.in (archlibdir): Only install execuatables internally
4861 used by emacs; don't install bindir binaries here.
4863 1993-09-24 Paul Eggert (eggert@twinsun.com)
4865 * rcs2log: Add -h, -n, -r options.
4866 By default, look for *,v files as well as RCS/*,v files.
4867 Use $TMPDIR (default /tmp) instead of /tmp.
4869 1993-09-20 Francesco Potort
\e,Al
\e(B (pot@fly)
4871 * etags.c (C_entries): is_func is initialised here instead of in
4872 consider_token for the sake of the yacc rules section.
4873 (C_entries): Now class, struct, enum, union and typedef produce
4876 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
4878 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
4880 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4882 * Makefile.in: Support configuring in a different directory when
4883 ${srcdir} has already been configured.
4884 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
4886 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
4887 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
4888 is already in CPP_FLAGS.
4889 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
4890 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
4892 1993-08-25 Paul Eggert (eggert@twinsun.com)
4894 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
4895 otherwise, HP awk complains.
4897 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
4898 are common hangouts for SCCS commands.
4900 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4902 * Version 19.19 released.
4904 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4906 * Makefile.in (make-path): Dep on config.h.
4908 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4910 * b2m.c (TRUE, FALSE): Don't define if already defined.
4912 1993-08-09 Paul Eggert (eggert@twinsun.com)
4914 * rcs2log (awkscript):
4915 Some sites put comma-separated junk after the fullname.
4916 Remove it, but leave "Bill Gates, Jr" alone.
4917 Remove the junk from fullnames like "0000-Admin(0000)".
4919 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4921 * Version 19.18 released.
4923 1993-08-04 Francesco Potort
\e,Al
\e(B (pot@spiff.gnu.ai.mit.edu)
4925 * etags.c (L_isdef, L_isquote, L_getit): small optimisations.
4926 (L_funcs): the (foo::defmumble stuff now should work.
4927 (consider_token): function returned random value--corrected.
4928 (C_entries): corrected == versus = typo.
4930 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4932 * etags.c (put_entries): For NODE->rewritten, put pattern before
4933 \177 and name after, not vice versa.
4935 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4937 * timer.c (main): Generate a SIGIO as soon as we've initialized.
4939 1993-07-30 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4941 * etags.c (FINCST): Added the fignore status. Means we are
4942 after the parameter list and before the open curly brace.
4943 Allows correct parsing of C++ constructors.
4944 (C_entries, consider_token): make use of fignore.
4945 (consider_token): reset funcdef when next_token_is_func: when in
4946 ctags mode makes DEFVAR and others work better.
4947 (L_isquote): function that recognises the "(quote" string.
4948 (L_getit): ignore quoting via "'" or "(quote". Useful for defalias.
4950 1993-07-29 Paul Eggert (eggert@twinsun.com)
4952 * rcs-checkin: Don't check whether a file is readable until we have
4953 decided not to ignore it.
4955 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4957 * Makefile.in (etags): Depend on ../src/config.h.
4959 * emacsserver.c: Include types.h before file.h.
4961 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4963 * Makefile.in (install): Use .n, not .new, for temporary filenames.
4965 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4967 * Version 19.17 released.
4969 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
4971 * etags.c (print_help): Break up the very long strings containing
4972 the help message into shorter strings, to placate chintzy C
4973 compilers which can't handle strings that long.
4975 * wakeup.c: Use CPP tangle from autoconf manual to #include the
4976 correct combination of <time.h> and <sys/time.h>.
4978 1993-07-08 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4980 * etags.c (alloca): removed all references to it.
4981 (main): now calls xnew instead of alloca for portability.
4982 (../src/config.h): included only if HAVE_CONFIG_H.
4983 (const): void definition removed--config.h takes care of it.
4985 1993-07-08 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4987 * etags.c (consider_token): was `==', now is `='.
4988 (consider_token): DEFUNs now treated like funcs in ctags mode.
4990 * etags.c (LEVEL_OK_FOR_FUNCDEF): removed.
4991 (C_entries): optimized the test that used LEVEL_OK_FOR_FUNCDEF.
4992 (C_entries): removed a piece of useless code.
4993 (C_entries): making typedef tags is delayed until a semicolon
4994 is met. This handles "typedef int X, Y, Z;" correctly.
4996 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
4998 * Version 19.16 released.
5000 * b2m.c: #include <sys/types.h>.
5001 (ltoday): Declare this to be time_t.
5003 1993-06-30 Paul Eggert (eggert@twinsun.com)
5005 * vcdiff: Add -q option.
5007 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5009 * etags.c: #include "config.h" and the alloca CPP tangle before
5010 #including the system headers and getopt.h. AIX requires the
5011 #pragma to come before any actual C code.
5013 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5015 * Makefile.in (ctags): Depend on etags, so that parallel makes
5016 don't write etags.o files on top of each other.
5018 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5020 * version 19.15 released.
5022 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5024 * etags.c (add_node): Move var last_node to file scope.
5026 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5028 * Version 19.14 released.
5030 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5032 Bring mumbleclean targets into conformance with GNU coding standards.
5033 * Makefile.in (distclean): Call clean to do most of the work.
5034 Delete aixcc.c and TAGS.
5035 (realclean): Just call distclean.
5037 * Makefile.in: Remember, spaces are not tabs.
5039 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5041 * Makefile.in (CPP_CFLAGS): New variable.
5042 Use it instead of ALL_CFLAGS when compiling a .c file.
5043 (getopt.o, getopt1.o): Add explicit compilation commands.
5045 1993-06-10 Mark D. Baushke (mdb@cisco.com)
5047 * etags.c: Reinstate old -f option as an alias for -o for
5048 installed base uses.
5050 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5052 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5053 to bind or accept, cast the pointer, to avoid warnings on systems
5054 which declare prototypes for this.
5055 * emacsclient.c (main): Same.
5057 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5059 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5061 * Version 19.13 released.
5063 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5064 comes from, not sys/time.h.
5066 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5068 * wakeup.c: Include sys/time.h.
5070 * etags.c: #undef static.
5072 * Version 19.12 released.
5074 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5076 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5078 * Version 19.11 released.
5080 * timer.c [LINUX]: #undef signal.
5081 * emacsserver.c: #undef signal.
5083 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5085 * wakeup.c (main): Make when a time_t.
5087 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5089 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
5090 `(cd foo ; pwd)' to get the canonical name of a directory; cd
5091 might fail, and have pwd print out the current directory.
5093 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5094 string-handling functions.
5096 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5098 * Version 19.10 released.
5100 1993-05-29 Paul Eggert (eggert@twinsun.com)
5102 * rcs2log: When given no file arguments, inspect RCS/.* as well
5103 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5105 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5107 * Makefile.in (timer): Link with $(LOADLIBES).
5109 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5111 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5113 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5115 * etags.c: Replace the CPP tangle for alloca with the one from the
5116 autoconf documentation, since that's working elsewhere.
5118 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5120 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5121 description files can find their ancestors.
5123 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5125 * Makefile.in (install): Get the scripts from ${srcdir},
5126 unlike the executables.
5127 (ALL_CFLAGS): Add -I../src
5129 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5131 * Version 19.9 released.
5133 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5135 * Makefile.in (install): Do install the programs listed in
5136 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5137 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5139 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5140 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5142 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5144 * etags.c: Include ../src/config.h.
5146 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5147 in first loop. Delete files from bindir before installing new ones.
5148 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5150 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5152 * Version 19.8 released.
5154 * make-docfile.c: Doc fix.
5156 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5158 * tcp.c: Fix comment syntax at top of file.
5159 (main): Don't call htons with the port number.
5161 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5163 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
5166 * Makefile.in (install): Refer to the variables INSTALLABLES and
5167 INSTALLABLE_SCRIPTS, instead of writing them out.
5169 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5171 * make-path.c (main): Return 0.
5173 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5175 * Version 19.7 released.
5177 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5179 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5181 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5185 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5187 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5189 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5191 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5192 only. We should really fix this later, but let's just make it
5195 Install patches from David J. Mackenzie to make the srcdir option
5197 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5199 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5200 INSTALLABLE_SCRIPTS.
5201 (INSTALLABLE_SCRIPTS): New list.
5202 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5203 (${archlibdir}): The scripts to be installed live in the source
5204 tree, not in the object tree.
5205 (test-distrib): Note that the data file lives in the source tree,
5206 not the object tree.
5207 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5208 (all other targets): Change references to source files to use
5209 ${srcdir}, except for config.h, which lives in the object dir.
5210 (timer.o): Note that this depends on ../src/config.h.
5211 * make-docfile.c (main): Add a -d option, to tell it where to find
5213 * test-distrib.c (main): Take the name of the distribution file to
5214 test from the command line.
5216 * timer.c: Fix mispellings of get_date function's name.
5218 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5221 Don't require that there be input files if -i switches were given.
5223 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5225 The GNU coding standards specify that CFLAGS should be left for
5227 * Makefile.in (CFLAGS): Put this in the "things configure might
5228 edit" section, and have it default to -g.
5229 (ALL_CFLAGS): New variable, set to all the flags which should be
5230 passed to compilations. Replace all other uses of CFLAGS with
5232 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5234 * Makefile.in (DEFS): Remove this; it's always just going to be
5235 "-DHAVE_CONFIG_H -Demacs".
5237 1993-05-03 Paul Eggert (eggert@twinsun.com)
5239 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5240 /[/]/, so change it to /[\/]/. This should work on all
5241 Posix-compliant awks. It's slightly wrong with traditional awk,
5242 since it matches \ too, but that's a minor problem compared to awk
5245 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5247 * Makefile.in (ALLOCA): New variable, whose value we should
5248 inherit from the top-level makefile.
5249 (etags, ctags): Include ALLOCA in the list of object files that
5250 these executables depend on and link.
5252 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5254 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5256 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5258 * make-docfile.c (write_c_args): Print an argument named "defalt"
5261 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5263 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5264 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5267 1993-03-22 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5269 * etags.c (YACC): flag added to c_ext.
5270 (c_ext): no more a synonim for c_ext&C_PLPL because of YACC.
5271 (find_entries): consistently use streq when reasonable.
5272 (find_entries): a .y file is a yacc file.
5273 (get_C_stab): c_ext becomes c_ext&C_PLPL.
5274 (C_entries): logical cplpl means c_ext&C_PLPL.
5275 (C_entries): logical yacc_rules means we are after the first %%.
5276 (C_entries): added logic for yacc files.
5278 1993-03-16 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5280 * etags.c (C_entries): ':' case moved to the second switch.
5281 (C_entries): do not examine token if structdef==scolonseen.
5282 (consider_token): structtag set to null string for enum.
5284 1993-03-12 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5286 * etags.c (GET_COOKIE): and related macros removed.
5287 (logical): is now int, no more a char.
5288 (reg): define deleted.
5289 (isgood, _gd, notgd): deleted.
5291 (TOKEN): member linestart removed.
5292 (linepos, prev_linepos, lb1): deleted.
5293 (main): call initbuffer on lbs array instead of lb1.
5294 (init): removed the initialisation of the logical _gd array;
5295 (find_entries): a .sa suffix means assembler file.
5296 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
5297 All C state machines rewritten.
5298 (C_entries): complete rewrite.
5299 (condider_token): complete rewrite.
5302 1993-03-01 Francesco Potort
\e,Al
\e(B (pot@fly.CNUCE.CNR.IT)
5304 * etags.c (C_entries): Added the quotednl logical variable.
5305 Used for parsing of #define's spanning multiple lines.
5307 1993-02-23 Francesco Potort
\e,Al
\e(B (pot@fly.CNUCE.CNR.IT)
5309 * etags.c (C_entries): Save the definedef status even when a
5310 newline is met inside a string.
5312 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5314 * Makefile.in (EXECUTABLES): added rcs-checkin.
5316 * Makefile.in (unlock, relock): New productions.
5318 1993-03-16 Paul Eggert (eggert@twinsun.com)
5320 * rcs2log: Some awks don't understand "\r". Code around this.
5321 Unfortunately this requires putting a carriage return in the
5322 source code. Don't assume that rlog will tolerate times like
5323 `10:10:60'; RCS 5.7 won't allow this.
5325 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5327 * timer.c (main): Set the ownership of the stdin file descriptor
5328 to the current process. Print error messages if either of the
5331 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
5332 ../src/config.h), not void.
5334 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5336 * b2m.c (main): Don't exit upon reading a blank line.
5338 1993-03-01 Francesco Potort
\e,Al
\e(B (pot@fly.CNUCE.CNR.IT)
5340 * etags.c (C_entries): New local variable quotednl. Used for
5341 parsing of #define's spanning multiple lines.
5343 * etags.c (C_entries): Save the definedef status
5344 even when a newline is met inside a string.
5346 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5348 * timer.c (notify): Initialize waitfor properly.
5350 1993-02-22 Francesco Potort
\e,Al
\e(B (pot@CNUCE.CNR.IT)
5352 * etags.c (C_entries): Don't reset definedef when a newline inside a
5355 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5357 * etags.c (find_entries): If filename ends in .f or .for,
5358 don't try anything but Fortran.
5360 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
5362 * timer.c (notify): Flush stdout after writing message to avoid lossage
5365 (notify): Also, write a newline after the token.
5367 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5369 * Makefile.in (exec_prefix): New variable.
5370 (bindir, libdir): Use it instead of `prefix'.
5372 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
5374 * Makefile.in (libdir): Default to ${prefix}/lib.
5375 (archlibdir): Adjusted to match.
5377 * Makefile.in (distclean): Don't delete backup or autosave files.
5378 (extraclean): Like realclean, but does delete backup and autosave
5381 * Makefile.in (realclean): Ignore errors from rm.
5383 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
5384 that doesn't exist anymore.
5386 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5388 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
5389 described in the top-level Makefile.
5390 (UTILITIES): Add make-path to the list of utility programs.
5391 (../arch-lib): Replaced by the ${archlibdir} target, which places
5392 the executables in their permanent home.
5393 (install, install.sysv, install.xenix): Consolidated into one
5394 target which should work under all circumstances, modulo a few
5395 ignored error messages.
5397 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
5398 a different number of arguments than other DEFVARs, recognize it
5399 specially, and expect the right number of commas.
5401 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5403 * make-path.c: New program, to help with the installation process.
5404 * Makefile.in (make-path): New target.
5406 * make-path.c (touchy_mkdir): Remove debugging output.
5408 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5410 * Makefile.in (getdate.o): Added explicit target for this, so we
5411 can indicate that it depends on ../src/config.h.
5413 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5415 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
5417 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
5419 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5421 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
5422 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
5425 * Makefile.in (arch-lib): Give rm the `-f' option.
5427 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5429 * make-docfile.c (write_c_args): Rewritten to correctly print
5430 &optionals before the first identifier, but after the first paren.
5431 This code used to just wait for commas or spaces; now it notices
5432 identifier boundaries.
5434 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5436 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
5438 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5440 * make-docfile.c (write_c_args): Print the argument lists properly
5441 when the first argument is optional.
5443 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5445 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
5446 Redefine @item. Set catcode of +.
5448 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5450 * emacsclient.c (main): Set IPC_CREAT in msgget call.
5452 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5454 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
5455 (TEX_decode_env): Make `tab' one element longer.
5457 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5459 * etags.c (PF_funcs): Recognize the "entry" keyword.
5461 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5463 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
5465 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5467 * timer.c (events): Rather than having slots marked as in use or
5468 out of use by the `token' field, keep all pending events at the
5469 beginning of the array. When we delete an event in the middle of
5470 the array, we move the last event into its place.
5471 (num_events): New variable.
5472 (schedule): It is now cheaper to find a free event slot;
5473 events[num_events] is the first free slot.
5474 (notify): Scan events[0 .. num_events-1], instead of the whole
5475 array. When an event fires, move the last event in the array into
5476 its spot. Use num_events to determine whether or not there are
5477 any pending events, not wait_for.
5478 (getevent): Deleted unused variable `ep'.
5479 (sigcatch): It's now easier to find all the active events.
5480 (main): Initialize num_events.
5482 * etags.c: Rather than fret about which systems have index and
5483 which systems have strchr, and how to tell the difference between
5484 them, we just write out our own versions. Big deal.
5485 (index, rindex): Extern declarations removed.
5486 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
5487 (etags_index, etags_rindex): New declarations.
5488 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
5489 TEX_getit, substr): Use the etags_*index functions, rather than
5490 the native *index functions.
5491 (rindex, index): Renamed to etags_rindex and tags_rindex, and
5492 made them unconditionally defined, rather than having them depend
5495 * etags.c (savenstr): Add declaration for this at top of file.
5496 (TEX_decode_env): Don't declare it local to this function.
5498 * b2m.c: #include "../src/config.h", so we can test for the USG
5499 macro, and decide whether to include <string.h> or <strings.h>.
5500 * Makefile.in: Note that b2m.c depends on ../src/config.h.
5502 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5504 * timer.c: Reformatted according to the GNU coding standards.
5505 Removed arbitrary limits on the number of events queued and the
5506 length of the tokens used to identify them.
5507 Removed casts to (void).
5508 Removed debugging printfs; they clutter the code, and the need
5509 can be better filled using a real debugger.
5511 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5513 * timer.c: Installed new version from Eric Raymond; this is more
5514 portable, since it doesn't try to use SIGIO.
5516 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5518 * emacsclient.c (main): If we can't find the socket in this
5519 person's home directory, print a message which asks if they've
5520 started the server, instead of just printing the message from
5521 sys_errmsg; Cygnus finds that people are much less confused by
5524 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5526 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
5527 so that index and rindex get defined, why don't we actually
5528 control index and rindex using symbols called "NEED_INDEX" and
5529 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
5530 little more readable than defining something whose name implies
5533 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5535 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
5537 Miscellaneous doc fixes.
5538 (skip_white, read_lisp_symbol): New functions.
5539 (scan_lisp_file): Instead of using long hairy strings of ifs, call
5540 read_lisp_symbol and then see what we got. Call skip_white
5541 instead of writing out a loop to do its job. Correctly extract
5542 docstrings from "defmacro" declarations.
5544 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5546 * movemail.c (strcpy): Declare this to return char *.
5548 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5550 * etags.c (C_entries): When we find a C++ comment, do actually
5551 skip to the end of the line; do a 'break' instead of a 'continue'.
5553 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5555 * etags.c (getit): Add missing parenthesis to expression which
5556 decides if this token is an identifier.
5558 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5560 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
5562 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5564 * etags.c (put_entries): Always put space between name and line num.
5566 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
5568 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
5570 (LEVEL_OK_FOR_FUNCDEF): Ditto.
5572 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5574 * make-docfile.c (write_c_args): Pass both arguments to putc.
5576 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
5578 * etags.c (C_entries): Fixed reading of "..." strings.
5579 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
5580 the C library source.
5582 * etags.c (C_entries): When we see a backslash inside a quoted
5583 string, skip to the next character. This allows us to correctly
5584 deal with strings containing quotes.
5586 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5588 * make-docfile.c (write_c_args): Print the C argument names as
5589 they would be written in Elisp; print '_' as '-'.
5591 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5593 * movemail.c [POP]: Get user name via getpwuid.
5595 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5597 * Makefile.in: flags in CC invocations rearranged for no reason.
5599 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5601 * etags.c (print_help): Remember not to imbed raw newlines in
5602 strings - end the lines with `\n\'.
5604 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5606 * timer.c (getevent): Removed declaration of memcpy; since
5607 different systems have different return types, and we're not even
5608 using the return type anyway, it wasn't doing us any good.
5610 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5612 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
5613 type of this function.
5615 1992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5617 * ChangeLog: Since the old etc contents have been split into etc
5618 and lib-src, the old etc's ChangeLog has been duplicated in the
5619 new etc and lib-src. That means that each contains complete and
5620 coherent information, although each contains extraneous
5623 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5625 * lib-src/etags.c: "--no-warning" option renamed to "--no-warn",
5626 to be consistent with other GNU programs, like makeinfo.
5628 * lib-src/Makefile: Renamed to Makefile.in; the configure script
5629 will edit this to produce Makefile.
5631 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5633 * etags.c (print_help, print_version): New functions.
5634 (main): Options added to support them.
5636 * etags.c (longopts): New array of long names for the options.
5637 (main): Recognize them.
5639 1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5641 * etags.c (C_entries): Removed comment saying that \" in a string
5642 isn't recognized as magic, because it is correctly handled.
5644 * getopt.c, getopt.h: New files, from GNU C library.
5645 * etags.c: Rewritten to use getopt.
5646 #include "getopt.h".
5647 (file_num): Variable deleted; its role is now played by getopt's
5649 (main): Argument processing loop rewritten to call getopt to get
5650 next option. Options which take parameters (-o and -i) rewritten
5651 to get parameter from optarg instead of argv[1]. Filename
5652 preprocessing loop and update command changed similarly.
5653 * Makefile (etags, ctags): Depend on and link with getopt.h,
5654 getopt.o, and getopt1.o.
5655 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
5657 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
5660 (main): In the argument processing loop, the 'goto next_arg'
5661 statements are breaking out of the switch statement in exactly the
5662 same way that a simple 'break' statement would; replace the gotos
5663 with breaks, and remove the label.
5665 1992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5667 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
5668 (consider_token): Move next_token_is_func to global.
5670 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5672 * Makefile: Conform with GNU coding standards:
5673 (mostlyclean): New target, synonymous with clean.
5674 (TAGS, check): New targets.
5675 (INSTALL, INSTALLFLAGS): New variables.
5677 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5679 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
5680 `config.emacs' to `configure'.
5682 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
5683 * etc/MACHINES: Same.
5685 1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5687 * movemail.c (main): Allow tempname to be as long as necessary,
5688 instead of limiting it to 39 characters.
5690 * movemail.c (main): Move declaration of buf from top of function
5691 to local block surrounding the copy loop. This makes it less
5692 likely to be confused with the buf used by the code which checks the
5693 permissions on outname's directory.
5695 1992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
5697 * SERVICE: Remove my entry.
5699 1992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
5701 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
5704 * movemail.c (xmalloc): Return char *, not int.
5705 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
5706 that is off by default -- normally don't unlink the mail spool
5707 file, just empty it. Pass creat mode 0600, not 0666.
5709 1992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5711 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
5712 (all): Instead of here.
5713 (install): Don't use the -s option, since people need symbols to
5716 1992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
5718 * etags-vmslib.c (fn_exp): Add type cast.
5720 1992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5722 * movemail.c: Changes in comments.
5724 1992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5726 * Makefile: Make the distclean target erase the DOC files from
5727 ../share-lib and the executables from ../arch-lib.
5729 1992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5731 * emacsclient.c: #include <sys/stat.h>
5732 (main): Do declare statbfr.
5734 1991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5736 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
5737 for the socket, depending on SERVER_HOME_DIR.
5738 If using /tmp, put host name in the socket name.
5740 * movemail.c (pfatal_and_delete): New function.
5741 (main, popmail): Use it.
5742 (popmail): Close output before deleting messages.
5743 Check for error on close and on fsync.
5744 Use `fatal' where appropriate.
5745 (main): Remove (void).
5747 * aixcc.lex: New file. Not officially part of Emacs.
5748 * Makefile: Rules for that.
5750 1991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
5752 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
5754 * etags.c (main): Properly cast call to alloca that initializes
5757 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5759 * etags.c (files_are_tag_tables): Remove global var.
5760 (process_file): Don't test it. Also remove hack checking for a
5762 (main): -i now takes an arg which is the name of a file to include.
5763 Collect these names and emit include tags for them after processing
5764 all the argument files.
5766 1991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5768 * wakeup.c: Terminate if parent goes away.
5770 1991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5772 * etags.c (C_entries): Process token before handling end of line.
5773 When inner loops reach end of line, just back up.
5774 Let the real end of line processing happen in just one place.
5775 (consider_token): Likewise.
5777 1991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5779 * etags.c (TEX_mode): Skip comments while scanning the text to see
5780 which escape character this file uses.
5782 1991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5784 * emacsserver.c [USG]: Terminate if msgrcv fails.
5786 1991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
5788 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
5790 1991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
5792 * make-docfile: Find the arguments to a C function correctly,
5793 by not ignoring the character that read_c_string returns. Don't
5794 even try to find argument names for functions that take MANY
5795 or UNEVALLED arguments, since they're a figment of the docstring's
5798 1991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
5800 * make-docfile: Read the .elc files generated by the new byte
5803 1990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
5805 * refcard.tex: Use cm fonts, not am, in multi-column mode.
5807 1990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
5809 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
5811 1990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
5813 * Makefile (install*): No need to install wakeup.
5815 1990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
5817 * Makefile (install*): Install emacsclient like etags.
5819 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
5821 * movemail.c (error): Handle 3 args.
5822 (main): Don't check input access if using pop.
5824 1990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
5826 * etags.c (find_entries): Check for numbers after Scheme suffix.
5828 1990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
5830 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
5832 1990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
5834 * Makefile (nemacstool, xvetool): New targets.
5836 1990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
5838 * emacsclient.c: Include errno.h and define related variables.
5840 1990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
5842 * emacsclient.c: Change usage message.
5844 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
5846 * emacs.1: Add break before -nw option.
5848 1990-08-19 David J. MacKenzie (djm@apple-gunkies)
5850 * qsort.c: Replace with GNU version.
5852 1990-08-14 David J. MacKenzie (djm@apple-gunkies)
5854 * wakeup.c: New program replacing loadst.c.
5856 1990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5858 * emacsclient.c [USG]: Pass msgsnd only 4 args.
5860 1990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
5862 * etags.c: Rename `flag' variables for what they do instead of
5863 which option character sets them.
5865 1990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5867 * loadst.c (main): Conditional to get load average on Apollo.
5869 1990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
5871 * emacsserver.c: Set the permission on the socket to 0600.
5873 1990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5875 * emacsclient.c [BSD]: Print clean message for failing getwd.
5877 1990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
5879 * getdate.y: Use the getdate.y from GNU tar for timer.
5881 1990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
5883 * emacsclient.c (main): Don't put brackets around "filename" in
5884 usage message. It isn't optional.
5886 1990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
5888 * etags.c (getit): Recognize '$' as beginning identifiers.
5890 1990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
5892 * emacsserver.c: Renamed from server.c.
5893 * Makefile: Reference emacsserver rather than server.
5894 * MACHINES: Doc fix for new emacsserver name.
5896 1990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5898 * emacsclient.c: Print program name in error messages.
5900 1990-01-19 David Lawrence (tale@cocoa-puffs)
5902 * timer.c, getdate.y (new files) and Makefile:
5903 Sub-process support for run-at-time in timer.el.
5904 Doesn't yet work correctly for USG.
5906 1990-01-10 Jim Kingdon (kingdon@pogo)
5908 * MACHINES: Add HP 300 running BSD.
5910 1990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5912 * yow.c: Dynamically allocate buffer; skip header before random
5913 choice to avoid bias toward first item.
5915 1989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5917 * etags.c (readline): Separate out init of `pend'.
5919 1989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5921 * etags.c: Undo changes relating to isgoodhdr.
5923 1989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
5925 * etags.c (isgoodhdr): New macro.
5926 (_gdh, notgdh): New variable used by that.
5927 (init): Initialize _gdh.
5928 (find_entries): Set header_file.
5929 (consider_token): Use isgoodhdr if in header file.
5931 * etags.c (total_size_of_entries):
5932 Was miscalculating by 1 in rewritten case.
5934 * etags.c (PAS_funcs): One arg to pfnote was missing.
5936 1989-12-05 Joseph Arceneaux (jla@spiff)
5938 * MACHINES: Change for the ULTRIX entry.
5940 1989-11-21 Joseph Arceneaux (jla@spiff)
5942 * etags.c (process_file): If file is not regular, return.
5944 1989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5946 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
5948 1989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5950 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
5951 (main): If HAVE_GETLOADAVG, don't call `nlist'.
5953 1989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5955 * etags.c (consider_token): Allow any number of typespec keywords
5956 after `typedef', before new type name.
5957 (enum sym_type): Add st_C_typespec.
5958 (C_create_stab): Put typespec kwds in table.
5960 1989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
5962 * etags.c (main): Don't depend on name invoked by.
5963 If CTAGS is not defined, assume it is ETAGS.
5965 1989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5967 * etags.c (L_funcs): Allow package name in define construct,
5968 as in (foo::defmumble name-defined ...).
5970 1989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5972 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
5974 * Makefile (yow): Depends on ../src/paths.h.
5976 1989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
5978 * etags.c: Fix compilation by moving Pascal after Fortran.
5980 1989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5982 * movemail.c [USG]: Define F_OK, etc., if not found in header.
5984 1989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5986 * hexl.c: New file, supports hexl-mode.
5988 1989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5990 * movemail.c: New compilation flag MAIL_USE_MMDF.
5992 1989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
5994 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
5995 * server.c: Likewise.
5997 * make-docfile.c (scan_c_file): Output argument names at end of string.
5998 (write_c_args): New subroutine.
6000 1989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6002 * movemail.c: Report failure of flock.
6004 1989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6006 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6008 1989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6010 * loadst.c: on bsd4.3, use gettimeofday instead of CPUSTATES.
6012 1989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
6014 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6016 * emacsstool.1: update to document environment variables.
6018 1989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6020 * etags.c (PAS_funcs): New function by Mosur Mohan.
6022 * movemail.c: On sysv, include unistd.h.
6024 1989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6028 1989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6030 * etags.c: Prolog support from Sunichirou Sugou
6032 1989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6034 * Makefile (clean): New target.
6036 1989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6038 * fakemail.c (put_line): Break header lines at 79 cols.
6040 1989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6042 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6043 multiple tags per line.
6045 1989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6047 * movemail.c: Check access before doing real work.
6048 Check that outfile is in a writable directory.
6049 On fatal error, delete the lock file.
6051 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
6053 * env.c: Add decl for my-index
6054 * etags.c (file-entries): .oak => scheme
6056 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6058 * movemail.c: Use `access' to check input and output files.
6060 1988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6062 * emacsclient.c (main): Ignore all of CWD before first slash.
6064 1988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6066 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6068 1988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6070 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6071 * server.c: chmod the socket to 0700.
6073 1988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6075 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6076 (add_field): Delete comments and turn `<', `>' to spaces
6078 (USE_FAKEMAIL): New customization macro says to make fakemail
6079 not be a no-op even on a BSD system.
6081 1988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6083 * etags.c (consider_token): Skip comments just like whitespace.
6084 Notice `struct', etc. and set strtag for those tokens.
6085 Return 1 for the token following `struct' if an open-brace follows it.
6086 (C_entries): Special handling of token following `struct'
6087 needed because we have probably advanced to the following line
6089 (main): New option `T' sets tflag and strflag.
6090 Set both of them by default if eflags.
6092 1988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6094 * movemail.c: Do fsync before closing output.
6096 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
6098 * movemail.c: Better error message when can't create tempname.
6099 This file needs a great deal of extra error-checking and lucid reporting...
6101 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6103 * etags.c: Support assembler code for .s and .a files.
6104 (getit): Allow underscore in a tag.
6106 1988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6108 * movemail.c: Close output and check errors before deleting input.
6110 1988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
6112 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6113 whether to prefix it. Handle line number args.
6115 1988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
6117 * etags.c (main): default setting of eflag was backwards.
6119 1988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6121 * etags.c: New option -i. -f renamed -o.
6122 `-' as input file means read input file names from stdin.
6123 -i spec'd or input file named TAGS means the input file is another
6124 tag table; output an "include" line for it.
6126 1988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6128 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6129 New targets install, install.sysv, install.xenix.
6130 This makefile is now responsible for installing executables
6131 and documentation from this directory into system directories.
6133 1988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
6135 * server.c, emacsclient.c (main): Compute socket name from euid.
6137 1988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6139 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6141 1988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6143 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6144 * emacsclient.c: Likewise.
6145 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6147 1988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6149 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
6150 (istoken) New string-comparison macro.
6151 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6153 1988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6155 * etags.c: Changes for VMS.
6156 Always define ETAGS on VMS.
6157 Define macros GOOD and BAD for success and failure exit codes.
6158 (begtk, intk): Allow `$' in identifiers
6159 (main): Don't support -B, -F or -u on VMS.
6160 Alternate loop for scanning filename arguments.
6161 (system): Delete definition of this function.
6163 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6165 1988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6167 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6168 around include of param.h. (Like fns.c.)
6170 1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6172 * loadst.c (load_average): Move load-average code to this new fn.
6173 Add conditionals to compute load ave on UMAX.
6175 1988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
6177 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6178 with opposite sense.
6180 1988-05-13 Chris Hanson (cph@kleph)
6182 * emacsclient.c: Delete references to unused variable `out'. This
6183 caused a bus error when used under hp-ux.
6185 1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6187 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6189 1988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
6191 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6193 1988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6195 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6197 1988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6199 * movemail.c: #undef close, since config can #define it on V.3.
6200 * emacsclient.c, fakemail.c, loadst.c, server.c: likewise.
6202 1988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
6204 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6205 invalid escape sequences such as `\{'.
6207 * loadst.c: Add `sequent' conditional for file dk.h.
6209 1988-03-20 Richard M. Stallman (rms@wilson)
6211 * server.c [not BSD and not HAVE_SYSVIPC]: fix error message.
6213 * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
6216 ;; coding: iso-2022-7bit
6217 ;; add-log-time-zone-rule: t
6220 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
6221 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
6222 2006, 2007 Free Software Foundation, Inc.
6224 This file is part of GNU Emacs.
6226 GNU Emacs is free software; you can redistribute it and/or modify
6227 it under the terms of the GNU General Public License as published by
6228 the Free Software Foundation; either version 2, or (at your option)
6231 GNU Emacs is distributed in the hope that it will be useful,
6232 but WITHOUT ANY WARRANTY; without even the implied warranty of
6233 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6234 GNU General Public License for more details.
6236 You should have received a copy of the GNU General Public License
6237 along with GNU Emacs; see the file COPYING. If not, write to the
6238 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
6239 Boston, MA 02110-1301, USA.
6241 ;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc