1 2008-03-04 Juanma Barranquero <lekktu@gmail.com>
5 2008-02-27 Yuri Shtil <yuris@juniper.net> (tiny change)
7 * etags.c (Perl_functions): Fix call to skip_spaces.
9 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu>
11 * Makefile.in (NO_SHORTNAMES):
12 * emacsclient.c (NO_SHORTNAMES):
13 * fakemail.c (NO_SHORTNAMES):
14 * make-docfile.c (NO_SHORTNAMES):
15 * movemail.c (NO_SHORTNAMES):
16 * pop.c (NO_SHORTNAMES): Remove references to obsolete variable.
18 2008-02-23 Jason Rumney <jasonr@gnu.org>
20 * makefile.w32-in (MOUSE_SUPPORT): Remove duplicate tooltip.elc.
21 (MSDOS_SUPPORT, VMS_SUPPORT): Remove.
22 (OTHER_PLATFORM_SUPPORT): Replace above. Add X specific files too.
23 (lisp2): Add new languages.
24 ($(DOC)): Use OTHER_PLATFORM_SUPPORT.
26 2008-02-22 Juanma Barranquero <lekktu@gmail.com>
28 * makefile.w32-in (lisp2): Remove devanagari.el, kannada.el,
29 malayalam.el, and tamil.el. Add sinhala.el.
31 2008-02-20 Juanma Barranquero <lekktu@gmail.com>
33 * emacsclient.c (main) [WINDOWSNT]: Understand DRIVE:NAME,
34 where NAME is relative to DRIVE'S current directory.
36 2008-02-15 Juanma Barranquero <lekktu@gmail.com>
38 * emacsclient.c (print_help_and_exit): Show -d option on Windows.
40 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu>
42 * fakemail.c: Undo previous change.
44 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu>
46 * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
47 (main): Replace MAIL_PROGRAM_NAME with its value.
49 * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete variable.
51 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
53 * emacsclient.c (decode_options): Pass --display implicitly if -c
54 is specified. Only set tty if -t or -c is specified.
56 2008-02-04 Jason Rumney <jasonr@gnu.org>
58 * makefile.w32-in (lisp1): Use (), not {}.
60 2008-02-04 Tom Tromey <tromey@redhat.com>
62 * etags.c: Add "GTY" as synonym for __attribute__.
65 2008-02-01 Jason Rumney <jasonr@gnu.org>
67 * makefile.w32-in (obj): Sync with src/Makefile.in
68 (TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
69 (WINNT_SUPPORT): Add term/w32-win.elc.
70 (lisp1, lisp2): Sync with lisp in src/Makefile.in.
72 2008-02-01 Jason Rumney <jasonr@gnu.org>
74 * makefile.w32-in (obj): Add font.o and w32font.o.
76 2008-02-01 Zhang Wei <id.brep@gmail.com> (tiny change)
78 * makefile.w32-in (lisp1): Delete ucs-tables.elc,
79 utf-8.elc, and latin-*.el.
81 2008-01-26 Stefan Monnier <monnier@iro.umontreal.ca>
83 * emacsclient.c (decode_options): Default to NULL display, as Emacs-22.
84 Allow the -d option under w32 again, for those rare cases where it
85 actually does make sense.
87 2008-01-25 Juanma Barranquero <lekktu@gmail.com>
89 * emacsclient.c (set_tcp_socket): Don't send "\n" after
90 the authentication string; there's no need to haste.
92 2008-01-22 Chong Yidong <cyd@stupidchicken.com>
94 * pop.c (pop_stat, pop_last): Fix last fix.
96 2008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
98 * movemail.c: Remove references to XENIX.
100 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
103 * make-docfile.c: Remove reference to symbols defined by systems
104 not supported anymore: MAC_OS8, XENIX and STRIDE.
106 2008-01-12 Eli Zaretskii <eliz@gnu.org>
108 * emacsclient.c (decode_options) [WINDOWSNT]: Don't use the value
109 of DISPLAY in the environment. Don't support -d.
110 (print_help_and_exit) [WINDOWSNT]: Don't show the --display option.
111 (longopts) [WINDOWSNT]: Remove --display.
113 2008-01-10 Chong Yidong <cyd@stupidchicken.com>
115 * pop.c (pop_stat, pop_last): Check validity of string-to-integer
116 conversion. Mistakes spotted by Nico Golde.
118 2008-01-09 Glenn Morris <rgm@gnu.org>
120 * emacsclient.c: Add missing final newlines to message calls.
122 2008-01-09 Daniel Hackney <dan@haxney.org> (tiny change)
124 * emacsclient.c (set_socket): Add final newline to socket error message.
126 2008-01-04 Glenn Morris <rgm@gnu.org>
128 * ebrowse.c (version) <emacs_copyright>: New variable.
129 Just use current year for copyright.
131 * etags.c (print_version):
132 * rcs2log (Copyright): Update to 2008.
134 2007-11-28 Jason Rumney <jasonr@gnu.org>
136 * makefile.w32-in (VMS_SUPPORT): No longer byte-compiled.
138 2007-11-27 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
140 * pop.c (socket_connection): Remove AI_ADDRCONFIG.
142 2007-11-19 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
144 * pop.c (socket_connection): Move realhost out of #ifdefs.
145 Set realhost both for HAVE_GETADDRINFO and !HAVE_GETADDRINFO.
147 2007-11-18 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
149 * pop.c (socket_connection): Use getaddrinfo if available.
151 2007-11-22 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
153 * etags.c (default_C_help) [CTAGS]: Differentiate the help string,
154 as the defaults in ctags are different from etags.
156 2007-11-15 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
158 * etags.c: Make prototypes for extern definitions, and add all
159 that are needed to quench warnings on 64-bit.
160 (main): Use the same defaults for ctags as for etags: find
161 typedefs, structure tags, macro constants, enum constants, struct
162 members and global variables.
163 (make_C_tag) [DEBUG]: Add debugging printout.
164 (C_entries): In case '}' decrement bracelev before testing it.
166 2007-11-15 Masatake YAMATO <jet@gyve.org>
168 * etags.c (C_entries): In case '}', set fvdef to fvnone
169 unconditioned to (!ignoreindent && lp == newlb.buffer + 1).
171 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu>
173 * makefile.w32-in (obj): Remove sunfns.o.
175 2007-10-28 Juanma Barranquero <lekktu@gmail.com>
177 * makefile.w32-in (obj): Remove abbrev.o.
179 2007-10-26 Juanma Barranquero <lekktu@gmail.com>
181 * emacsclient.c: Add a wrapper for getenv so it also checks the
182 registry on Windows. Suggestion and algorithm by Eli Zaretskii.
183 Code partially based on w32_get_resource and init_environment (w32.c).
184 (egetenv): New wrapper for getenv.
185 (get_current_dir_name, decode_options, get_server_config)
186 (set_local_socket, set_socket, main): Use egetenv, not getenv.
187 (w32_get_resource, w32_getenv) [WINDOWSNT]: New functions.
189 2007-10-25 Jason Rumney <jasonr@gnu.org>
191 * emacsclient.c (sock_err_message): New function.
192 (set_tcp_socket): Use it.
194 2007-10-09 Juanma Barranquero <lekktu@gmail.com>
196 * emacsclient.c (print_help_and_exit): Fix space to improve
197 alignment in output messages.
199 2007-09-27 Jason Rumney <jasonr@gnu.org>
201 * makefile.w32-in (emacsclient, emacsclientw): Link to COMCTL32.
203 * emacsclient.c (w32_window_app): Init common controls when windowed.
205 2007-09-21 Glenn Morris <rgm@gnu.org>
207 * emacstool.c: Remove file.
208 * Makefile.in (emacstool, nemacstool, xvetool, xveterm):
209 Delete targets built from emacstool.
211 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
213 * emacsclient.c (decode_options): -t implies -c.
215 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
217 * emacsclient.c (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP)
218 (IS_ANY_SEP): Only define if !defined(HAVE_GET_CURRENT_DIR_NAME).
220 (strprefix): Use strncmp.
222 2007-09-20 Jason Rumney <jasonr@gnu.org>
224 * emacsclient.c (main) [SIGSTOP]: Change conditional from WINDOWSNT.
226 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
228 * emacsclient.c (current_frame): Change the default.
229 (longopts): Replace --current-frame by --create-frame.
230 (decode_options): Reverse the meaning of -c.
231 (print_help_and_exit): Update help text accordingly.
232 (main): Remove the -version and -good-version messages.
234 2007-09-12 Glenn Morris <rgm@gnu.org>
236 * Makefile.in (SOURCES, unlock, relock): Delete.
238 2007-08-29 Glenn Morris <rgm@gnu.org>
240 * makefile.w32-in (VERSION): Increase to 23.0.50.
242 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu>
244 * emacsclient.c (w32_execvp): Move definition before use.
245 (decode_options): Don't use a tty on mac carbon or windows.
247 2007-08-29 Jason Rumney <jasonr@gnu.org>
249 * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
250 (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
251 (main): Expand removed macros inline.
252 (main) [WINDOWSNT]: Don't call ttyname. Don't recognize -suspend
254 (main) [NO_SOCKETS_IN_FILE_SYSTEM]: Don't call init_signals.
256 2007-08-29 K
\e,Aa
\e(Broly L
\e$,1 q
\e(Brentey <lorentey@elte.hu>
258 * emacsclient.c (signal.h): New include.
259 (sys/stat.h, errno.h): Always include, even on WINDOWSNT.
260 (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_DEVICE_SEP, IS_ANY_SEP):
261 Copy definitions here from src/lisp.h.
262 (main_argc, main_argv, current_frame, window_system, tty): New vars.
263 (longopts): Add tty, current-frame.
264 (xmalloc, xstrdup): New functions.
265 (get_current_dir_name): New function, copied from src/sysdep.c.
266 (decode_options): Set display from environment. Add tty and
267 current_frame options. Make --no-wait imply --current-frame,
268 except when it is the only option given. Make sure no frame is
269 opened when --current-frame is set.
270 (print_help_and_exit): Document tty and current-frame options.
271 (fail): Change arguments to void.
272 (main): When sockets are not defined, set main_argc, main_argv,
273 and call fail() with no arguments.
274 (emacs_socket): New variable (moved out from main `s').
275 (quote_file_name): Rename to quote_argument.
276 (quote_argument): New name for old quote_file_name.
277 (unquote_argument, strprefix, pass_signal_to_emacs)
278 (handle_sigcont, handle_sigtstp, init_signals): New functions.
279 (set_local_socket): Initialize saved_errno to 0. If socket-name
280 is too long, call `fail' rather than `exit'.
281 (main): Doc update. Set main_argc, main_argv. New var `str'.
282 Don't need a filename or argument if tty or window_system set.
283 Call fail with no arguments. Use get_current_dir_name to send
284 over the current directory. Send version number to Emacs for
285 verification. If tty is set, check TERM, and pass name and type
286 to Emacs. Pass window_system to Emacs. Move sending of eval to
287 optind loop. Send -position, -file to Emacs. Call fsync after
288 fflush. Check for a client/server version match.
289 Handle -emacs-pid, -window-system-unsupported, -print, -error, and
290 -suspend commands. Don't exit prematurely on --no-wait, let Emacs
291 close the connection for us. When creating a new frame, send
292 environment and pwd to Emacs. Send current-frame to Emacs.
294 2007-08-25 Eli Zaretskii <eliz@gnu.org>
296 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
297 Prepend "-" to the command, in case srcdir=. and file is copied
300 2007-07-25 Glenn Morris <rgm@gnu.org>
302 * Relicense all FSF files to GPLv3 or later.
304 * COPYING: Switch to GPLv3.
306 2007-07-17 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
308 * etags.c (C_entries): Reset the fvdef machine when out of function.
309 (PRINT_UNDOCUMENTED_OPTIONS_HELP): #define as FALSE if undefined.
310 (print_help): Use it in if() rather than #if.
311 (print_help): Conditionally print help about --no-line-directive.
313 2007-07-16 Eli Zaretskii <eliz@gnu.org>
315 * makefile.w32-in (clean): Don't delete *~.
317 2007-06-07 Glenn Morris <rgm@gnu.org>
319 * etags.c (print_version): Add `emacs_copyright' string, for
320 easier automatic updating.
322 2007-05-18 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
324 * etags.c: Extern definitions of some more pointer functions for
325 standalone compilation, especially important for 64bit platforms.
326 (main, print_help): --members is now the default for etags.
327 (C_entries): Parse start of C comment as a space == end of token.
328 This is not necessary for C++ comment, already parsed as newline.
330 2007-04-26 Glenn Morris <rgm@gnu.org>
332 * makefile.w32-in (VERSION): Increase to 22.1.50.
334 2007-06-02 Chong Yidong <cyd@stupidchicken.com>
336 * Version 22.1 released.
338 2007-02-26 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
340 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
342 2007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
344 * Makefile.in (EMACS, EMACSOPT): New variables.
345 (blessmail): Use `--no-site-file' when compiling.
347 2007-02-05 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
349 * etags.c (default_C_help, Cplusplus_help, PHP_help, print_help)
350 (main): Now --members is the default for etags, not for ctags yet.
352 2007-02-04 Per Cederqvist <ceder@ingate.com> (tiny change)
354 * etags.c (gperf, in_word_set): Change attribute for Java to
355 (C_JAVA & ~C_PLPL). The previous change introduced 2004-09-13 was
356 broken, as (C_JAVA & !C_PLPL) always evaluates to 0. This caused
357 import, package, extends, implements and interface to be treated
358 specially for all kinds of C-style files, not just Java files.
360 2007-01-02 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
362 * etags.c (longopts): New undocumented option --no-duplicates.
363 (no_duplicates): Static variables for the above option.
364 (print_help): Do not print help for --no-warn, now undocumented.
365 (add_node): Allow duplicate tags in ctags mode unless --no-duplicates.
366 (main): Pass the -u option to sort in ctags mode.
368 2006-12-28 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
370 * etags.c (readline): When creating a relative file name from a
371 #line directive, leave the file name alone. The previous
372 behaviour was to make it relative to the tags file directory,
373 under the hypothesis that the #line directive file name was
374 relative to the directory of the tagged file. That hypothesis is
375 wrong with Cpp and Lex.
376 (Makefile_targets): Do not include spaces in tag names.
378 2006-12-22 Eli Zaretskii <eliz@gnu.org>
380 * makefile.w32-in (make-docfile, ctags, etags, ebrowse, hexl)
381 (movemail, fakemail, sorted-doc, digest-doc, emacsclient)
382 (test-distrib, $(DOC), all): Depend on stamp_BLD instead of $(BLD).
383 ($(BLD)/make-docfile.$(O) $(BLD)/hexl.$(O) $(BLD)/fakemail.$(O))
384 ($(BLD)/sorted-doc.$(O) $(BLD)/digest-doc.$(O))
385 ($(BLD)/test-distrib.$(O) $(GETOPTOBJS) $(MOVEMAILOBJS))
386 ($(BLD)/emacsclient.$(O) $(BLD)/etags.$(O) $(BLD)/regex.$(O))
387 ($(BLD)/ebrowse.$(O) $(BLD)/ctags.$(O)): Depend on stamp_BLD.
388 (clean): Delete stamp_BLD.
390 2006-12-20 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
392 * etags.c (C_entries): DEFUN names were longer by one: corrected.
394 2006-12-18 Juanma Barranquero <lekktu@gmail.com>
396 * emacsclient.c [WINDOWSNT] (set_fg, get_wc): New variables.
397 [WINDOWSNT] (w32_find_emacs_process, w32_give_focus): New functions.
398 (main) [WINDOWSNT]: Remove code to release the focus; call
399 w32_give_focus instead.
401 2006-12-15 Juanma Barranquero <lekktu@gmail.com>
403 * emacsclient.c (w32_execvp): New function; wrapper for `execvp'.
404 (execvp) [WINDOWSNT]: Redefine to `w32_execvp'.
405 (fail): Remove Windows-specific fix (subsumed into w32_execvp).
406 Suggestions and comment by Eli Zaretskii.
408 2006-12-06 Christoph Conrad <christoph.conrad@gmx.de>
410 * makefile.w32-in ($(BLD)/emacsclient.exe, $(BLD)/emacsclientw.exe):
411 Use $(USER32) for compatibility with Visual Studio .NET 2003.
413 2006-11-30 Juanma Barranquero <lekktu@gmail.com>
415 * emacsclient.c (emacs_pid): New variable.
416 (message): Remove leftover code.
417 (get_server_config): Set emacs_pid. Don't allow Emacs to grab the
418 focus yet; emacsclient can still display an informational message
419 before sending requests to Emacs.
420 (main): Allow Emacs to grab the focus. Simplify message() call.
422 2006-11-30 Michael Mauger <mmaug@yahoo.com>
424 * emacsclient.c (message): Make sure the message is properly
425 written even if it contains printf escapes, and flush the result.
426 (set_tcp_socket): Make the message for non-local connections
427 informational rather than an error.
429 2006-11-28 Kevin Ryde <user42@zip.com.au>
431 * etags.c (readline): Check for double quote after #line.
433 2006-11-28 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
435 * etags.c (readline): sscanf could in principle return 2.
437 2006-11-28 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
439 * etags.c (readline): lno is unsigned.
440 (TeX_commands): Use p++ (rather than *p++) to increment p.
441 (Lua_functions): Explicitly discard LOOKING_AT's return value.
443 2006-11-27 Juanma Barranquero <lekktu@gmail.com>
445 * makefile.w32-in (TRES): New macro (copied from nt/makefile.w32-in).
446 ($(TRES)): New rule (copied from nt/makefile.w32-in).
447 ($(BLD)/emacsclientw.exe): Add dependency.
449 2006-11-27 Eli Zaretskii <eliz@gnu.org>
451 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
453 2006-11-25 Juanma Barranquero <lekktu@gmail.com>
455 * makefile.w32-in (VERSION): New macro.
456 (ECLIENT_CFLAGS): Add -DVERSION.
458 2006-11-25 Jason Rumney <jasonr@gnu.org>
460 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Use isalpha().
462 2006-11-24 Michael Mauger <mmaug@yahoo.com>
464 * emacsclient.c (file_name_absolute_p) [WINDOWSNT]: Support absolute
465 file names with forward slashes.
467 2006-11-23 Juanma Barranquero <lekktu@gmail.com>
469 * emacsclient.c (print_help_and_exit): Tweak message contents and
470 tabs/spaces to improve alignment in message boxes.
472 2006-11-22 Lennart Borgman <lennart.borgman.073@student.lu.se>
474 * emacsclient.c: Include <stdarg.h>.
475 [WINDOWSNT]: Include <windows.h>.
476 (w32_check_console_app): New function.
477 (message): New function.
478 (decode_options, print_help_and_exit, fail, main)
479 (initialize_sockets, get_server_config, set_tcp_socket)
480 (set_local_socket, set_socket): Use message().
482 2006-11-13 Jason Rumney <jasonr@gnu.org>
484 * emacsclient.c [WINDOWSNT]: Let config.h define HAVE_SOCKETS and
487 2006-11-13 Juanma Barranquero <lekktu@gmail.com>
489 * makefile.w32-in (emacsclient): Depend also on emacsclientw.exe.
490 ($(BLD)/emacsclientw.exe): New target.
491 (install): Install emacsclientw.exe.
492 ($(BLD)/cvtmail.$(O), $(BLD)/emacstool.$(O)): Remove obsolete targets.
493 (ECLIENT_CFLAGS): Remove redundant flags.
495 * emacsclient.c [WINDOWSNT]: Undef _WINSOCKAPI_ and _WINSOCK_H.
497 2006-11-13 Jason Rumney <jasonr@gnu.org>
499 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Use CFLAGS.
501 2006-11-10 David Reitter <david.reitter@gmail.com>
503 * emacsclient.c [!WINDOWSNT]: Include <sys/types.h>.
505 2006-11-08 Juanma Barranquero <lekktu@gmail.com>
507 * emacsclient.c (get_server_config) [WINDOWSNT]: Declare set_fg as
508 FARPROC to avoid a compiler warning.
510 2006-11-07 Juanma Barranquero <lekktu@gmail.com>
512 * emacsclient.c (get_server_config) [WINDOWSNT]: Look for the server
513 file on APPDATA if it doesn't exist on HOME, even if HOME is defined.
515 * emacsclient.c (get_server_config): Extract also the Emacs pid
516 from the server file. On Windows, try to force the Emacs frame to
519 2006-11-06 Juanma Barranquero <lekktu@gmail.com>
521 * emacsclient.c (longopts) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't show
522 option --socket-name.
523 (decode_options): Don't get EMACS_SERVER_FILE here, it could override
524 command line options.
525 (decode_options) [!NO_SOCKETS_IN_FILE_SYSTEM]: Don't parse "-s" option.
526 (fail): Don't check for missing arguments, it is now done in set_socket.
527 (file_name_absolute_p): New function (loosely based on the one in
529 (initialize_sockets): Don't check for duplicate loading of Winsock.
530 (get_server_config): Only try relative paths in the default
532 (set_tcp_socket): Don't call INITIALIZE(). Warn when connecting to
534 (set_socket): Call INITIALIZE(). Search explicit command-line
535 arguments, then environment variable EMACS_SERVER_FILE, then implicit
536 socket paths, before trying the alternate editor.
537 (main): Use file_name_absolute_p.
539 2006-11-04 Eli Zaretskii <eliz@gnu.org>
541 * makefile.w32-in (../src/$(BLD)/temacs.exe): Create as temporary
542 file if it doesn't already exist.
544 2006-11-03 Juanma Barranquero <lekktu@gmail.com>
546 * emacsclient.c (initialize_sockets): Don't initialize Winsock
549 2006-11-03 Mark Davies <mark@mcs.vuw.ac.nz>
551 * Makefile.in (INSTALL_SCRIPT): New macro.
552 ($(DESTDIR)${archlibdir}, install): Use it, instead of INSTALL_PROGRAM.
554 2006-11-02 Juanma Barranquero <lekktu@gmail.com>
556 * grep-changelog: When called with no arguments (not even a
557 filter), show help instead of blindingly dumping every single
558 ChangeLog available. Doc fix. Update version.
560 2006-11-02 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
562 * emacsclient.c [WINDOWSNT]: Define HAVE_INET_SOCKETS.
563 [!WINDOWSNT]: Include <netinet/in.h> if available.
564 [HAVE_SOCKETS]: Also require HAVE_INET_SOCKETS.
565 (IOCTL, IOCTL_BOOL_ARG): Remove.
566 (set_tcp_socket): Don't set the socket in blocking mode.
569 2006-11-01 Juanma Barranquero <lekktu@gmail.com>
571 * emacsclient.c (fail) [WINDOWSNT]: Force the first argv passed to
572 execvp to point to alternate_editor (otherwise .BAT scripts can't run).
574 2006-10-31
\e,bS
\e(Bscar Fuentes <ofv@wanadoo.es> (tiny change)
576 * emacsclient.c [WINDOWSNT]: Include <malloc.h> and <stdlib.h>.
577 (close_winsock): Declare as __cdecl.
579 2006-10-31 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
581 * emacsclient.c [!WINDOWSNT]: Include <fcntl.h> if available.
582 (set_tcp_socket): Prefer O_NONBLOCK, then O_NDELAY, then FIONBIO
583 to set the socket in non-blocking mode.
585 2006-10-31 Tim Van Holder <tim.vanholder@gmail.com> (tiny change)
587 * emacsclient.c [!WINDOWSNT]: Include <netinet/in.h> and <sys/ioctl.h>.
588 (INVALID_SOCKET): Define.
589 (initialize_sockets): Put #endif at the right place.
590 (set_local_socket): Use progname, not argv[0].
592 2006-10-31 Juanma Barranquero <lekktu@gmail.com>
594 * makefile.w32-in (ALL): Add emacsclient.
595 (ECLIENT_CFLAGS, ECLIENTOBJS): New macros.
596 (emacsclient, $(BLD)/emacsclient.exe): New targets.
597 (install): Install emacsclient.
599 * emacsclient.c: Add support for TCP sockets.
600 (SEND_STRING, SEND_QUOTED, HSOCKET, CLOSE_SOCKET, IOCTL)
601 (INITIALIZE): New macros.
602 (IOCTL_BOOL_ARG): New typedef.
603 (server_file): New global variable.
604 (longopts): New option --server-file.
605 (decode_options): Process new option --server-file and environment
606 variable EMACS_SERVER_FILE.
607 (print_help_and_exit): Document new option.
608 (fail): If no connection available and no alternate editor,
609 suggest using options to make them explicit.
610 (AUTH_KEY_LENGTH, SEND_BUFFER_SIZE): New constants.
611 (send_buffer, sblen): New variables.
612 (send_to_emacs): New function to buffer output and send it with `send'.
613 (quote_file_name): Use SEND_STRING.
614 (close_winsock, initialize_sockets): New functions to load and
616 (get_server_config, set_tcp_socket): New functions to create and
618 (set_local_socket): New function to create and set up Unix
619 socket (code moved from previous implementation).
620 (set_socket): New function to chose between TCP and Unix sockets.
621 (main): Use SEND_STRING and SEND_QUOTED. Most code moved to
622 set_local_socket. Use set_socket. Get answers from server.el with
623 recv(), not file stream functions.
625 2006-10-09 Eli Zaretskii <eliz@gnu.org>
627 * makefile.w32-in (../src/config.h): Fix error message.
629 2006-09-30 Eli Zaretskii <eliz@gnu.org>
631 * .cvsignore: Add blessmail.
633 2006-09-15 Jay Belanger <belanger@truman.edu>
635 * COPYING: Replace "Library Public License" by "Lesser Public
638 2006-08-09 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
640 * etags.c (readline): Expect sscanf returns >= 1.
641 (readline): Change position on %n and \" in sscanf.
643 2006-08-07 Masatake YAMATO <jet@gyve.org>
645 * etags.c (readline): Expect sscanf returns 2, not 1.
647 2006-08-07 Masatake YAMATO <jet@gyve.org>
649 * etags.c (TEX_mode): Check getc returns EOF.
650 File ended without newline causes infinite loop.
652 2002-07-30 Adrian Aichner <adrian@xemacs.org> (tiny change)
654 * etags.c: It's XEmacs, not Xemacs: change all the occurrences.
656 2006-07-30 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
658 * etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
659 [LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
660 (Objc_suffixes): Suggest using --lang=c for full help.
661 (C_entries): Initialise savetoken to 0 to shut up the compiler.
663 2006-07-20 Andreas Schwab <schwab@suse.de>
665 * fakemail.c (fatal): Drop second parameter and treat first
666 parameter as a plain string. Callers changed.
668 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu>
670 * ebrowse.c (usage, version): Mark as NO_RETURN.
672 * emacsclient.c (print_help_and_exit): Likewise.
674 2006-07-10 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
676 * etags.c (absolute_filename): Free unused space (cosmetic change).
677 (in_word_set): In C, also tag #undef symbols.
679 2006-06-09 Eli Zaretskii <eliz@gnu.org>
681 * yow.c: Remove file.
683 * makefile.w32-in ($(BLD)/yow.$(O)): Remove target.
685 * Makefile.in (UTILITIES): Remove yow${EXEEXT}.
686 yow${EXEEXT}: Remove target.
688 2006-06-04 Masatake YAMATO <jet@gyve.org>
690 * ebrowse.c (main): Exit with EXIT_FAILURE if BROWSE file
691 doesn't exist, is not seekable, not is failed in ftall.
693 2006-06-03 Eli Zaretskii <eliz@gnu.org>
695 * makefile.w32-in (ALL): Add sorted-doc and digest-doc.
696 ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe)
697 ($(BLD)/test-distrib.exe): New targets.
698 (sorted-doc, digest-doc, test-distrib): New targets.
699 (install): Install sorted-doc.exe and digest-doc.exe.
700 ($(BLD)/sorted-doc.$(O)): Update dependencies.
702 * digest-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
703 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
706 * sorted-doc.c [DOS_NT] <top level>: Include fcntl.h and io.h.
707 [WINDOWSNT] <top level>: Don't redeclare malloc.
708 (main) [DOS_NT]: Switch stdin to binary mode, if it is not a
710 (main): Initialize bp, to avoid compiler warnings
712 * makefile.w32-in: Delete traces of leditcfns.c.
714 * leditcfns.c: Remove file.
716 2006-05-23 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
718 * pop.c (pop_open, socket_connection, KPOP_SERVICE):
719 Add comments explaining why the "kpop" service is never used.
721 2006-05-13 Eli Zaretskii <eliz@gnu.org>
723 * makefile.w32-in (lisp1): Add fringe.elc.
725 2006-05-02 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
727 * etags.c (Perl_functions): Free space allocated for var package.
728 (Erlang_functions): Possibly free space allocated for var last.
729 (Prolog_functions): Possibly free space allocated for var last.
731 2006-04-29 Dan Nicolaescu <dann@ics.uci.edu>
733 * sorted-doc.c (main): Initialize docs to NULL.
735 * yow.c (yow): Free buf.
737 * etags.c: Delete c-indentation-style local variable.
739 2006-04-29 Richard Stallman <rms@gnu.org>
741 * movemail.c (main): Check for negative value from `read'.
743 * fakemail.c (read_header): Give fatal error if input has no header.
745 2006-04-02 Paul Eggert <eggert@cs.ucla.edu>
747 * b2m.c (main): Don't include <limits.h>.
748 (TM_YEAR_BASE): New macro.
749 (TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
750 that s/ files can override this. Use the more-conservative range
752 (main): Check for asctime returning NULL.
753 * fakemail.c: Likewise.
755 2006-03-27 Paul Eggert <eggert@cs.ucla.edu>
757 * b2m.c: Include <limits.h>.
758 (TM_YEAR_IN_ASCTIME_RANGE): New macro.
759 (main): Check for out-of-range time stamps.
760 * fakemail.c: Likewise.
762 2006-03-18 Andre Spiegel <spiegel@gnu.org>
764 * vcdiff: Use "echo" as a default for $echo, otherwise we'll
765 execute $DIFF twice, and once with the wrong options.
767 2006-02-23 Claudio Fontana <claudio@gnu.org>
769 * Makefile.in (install, uninstall): Add DESTDIR variable to
770 support staged installations.
772 2005-12-30 Eli Zaretskii <eliz@gnu.org>
774 * makefile.w32-in (MOUSE_SUPPORT): Add tooltip.elc.
775 (lisp1): Add rfn-eshadow.elc, international/utf-16.elc, image.elc,
776 international/fontset.elc, dnd.elc, mwheel.elc, and tool-bar.elc.
777 Rearrange the list to be similar to $(shortlisp) in
779 (lisp2): Add language/kannada.el, emacs-lisp/syntax.elc,
780 emacs-lisp/timer.elc, jka-cmpr-hook.elc, font-lock.elc,
781 jit-lock.elc. Rearrange the list to be similar to $(shortlisp) in
784 2005-12-22 Richard M. Stallman <rms@gnu.org>
786 * Makefile.in (update-game-score.o): Delete spurious final `\'.
788 2005-11-18 Hideki IWAMOTO <h-iwamoto@kit.hi-ho.ne.jp> (tiny change)
790 * etags.c (main): Cxref mode writes to stdout: do not close tagf,
791 which was never opened.
793 2005-10-20 Olli Savia <ops@iki.fi> (tiny change)
795 * etags.c: Undef STDIN if defined. (LynxOS defines it in system
798 2005-09-27 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
800 * etags.c: Preliminary Forth support.
801 (prolog_pr): Cast strlen to int before comparison.
802 (LOOKING_AT, LOOKING_AT_NOCASE): Let the preprocessor check that
803 the second argument is indeed a literal string.
804 (main): In append mode, sort the tags file after writing it.
806 2005-09-27 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change)
808 * etags.c (longopts, print_help, main): The -a (--append) option
809 can be used in ctags also; for one, the Linux make file uses it.
811 2005-09-20 Chong Yidong <cyd@stupidchicken.com>
813 * ebrowse.c (add_sym): Compare namespace names instead of
814 namespace objects. This prevents the parser from incorrectly
815 treating classes whose superclass is in another namespace.
817 2005-09-15 Richard M. Stallman <rms@gnu.org>
819 * Makefile.in (update-game-score.o): New target.
820 Compile and link this progranm separately.
821 (update-game-score${EXEEXT}): Use GETOPTDEPTS.
823 2005-09-11 Jason Rumney <jasonr@gnu.org>
825 * makefile.w32-in (../src/config.h): Don't overwrite. Print a
827 (../src/paths.h): Remove.
829 2005-07-27 Juanma Barranquero <lekktu@gmail.com>
831 * .cvsignore: Don't ignore fns-* and fns.el, which are no longer
832 generated. Ignore also ctags.c and getopt.h.
834 * makefile.w32-in (clean): Delete getopt.h.
835 (getopt.h): New rule.
837 2005-07-26 Paul Eggert <eggert@cs.ucla.edu>
839 Merge gnulib getopt implementation into Emacs.
841 * Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
842 (GETOPT_H): New macro, from gnulib.
843 (getopt.h): New rule, from gnulib.
844 (GETOPTOBJS): Now autoconfigured.
845 (GETOPTDEPS): getopt.h is now autoconfigured.
846 (getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
847 (getopt.o): Depend on ${srcdir}/gettext.h.
848 (movemail.o): Depend on $(GETOPT_H).
849 * getopt.c, getopt1.c: Sync from gnulib.
850 * getopt_.h, getopt_int.h, gettext.h: New files, from gnulib.
851 * getopt.h: Removed (now is getopt_.h).
853 2005-07-13 Ken Raeburn <raeburn@gnu.org>
855 * pop.c: Don't include des.h (or variants thereof); krb.h will do it.
856 (sendline): Add the \r\n to the line in a temporary buffer, and write
859 2005-07-04 Lute Kamstra <lute@gnu.org>
861 Update FSF's address in GPL notices.
863 2005-06-13 Eli Zaretskii <eliz@gnu.org>
865 * makefile.w32-in ($(DOC)): Fix last change.
867 2005-06-12 Eli Zaretskii <eliz@gnu.org>
869 * makefile.w32-in ($(DOC)): Depend on make-docfile.exe,
870 temacs.exe, and the preloaded *.elc files. This avoids
871 unnecessary dumping and DOC rebuilding.
873 2005-06-04 Eli Zaretskii <eliz@gnu.org>
875 * ntlib.h (fileno): Don't define if already defined.
877 2005-05-25 Thien-Thi Nguyen <ttn@gnu.org>
879 * yow.c (setup_yow): Use EXIT_FAILURE in case no separators found.
880 (yow): Use EXIT_FAILURE in case of memory error.
882 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
884 * make-docfile.c (DIRECTORY_SEP): New macro.
885 (IS_DIRECTORY_SEP): Use it.
887 2005-03-18 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
889 * emacsclient.c: Avoid expansion of getcwd when defined as a macro.
891 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
893 * make-docfile.c: Undo previous change.
895 2005-02-04 Andreas Schwab <schwab@suse.de>
897 * movemail.c (fatal): Accept third parameter and pass down to error.
898 (pfatal_with_name): Pass error string as format parameter instead of
899 as part of format string.
900 (pfatal_and_delete): Likewise.
901 (main): Adjust call to fatal.
904 2005-01-29 Richard M. Stallman <rms@gnu.org>
906 * movemail.c (popmail): Don't use Errmsg as format string.
908 2004-12-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
910 * make-docfile.c: Include stdlib.h even if WINDOWSNT is not defined.
912 2004-12-15 Andreas Schwab <schwab@suse.de>
914 * etags.c (main): Fix typo in conversion of LONG_OPTIONS from
915 preprocessing to compile time constant.
917 2004-11-17 Kim F. Storm <storm@cua.dk>
919 * etags.c: Undo last change.
921 2004-11-09 Kim F. Storm <storm@cua.dk>
923 * make-docfile.c (scan_c_file): Set defvarperbufferflag to
926 * hexl.c (main): Init local var c to silence compiler.
928 * etags.c (main, consider_token, C_entries): Add misc switch
929 default targets to silence compiler.
931 2004-11-09 Jan Dj
\e,Ad
\e(Brv <jan.h.d@swipnet.se>
933 * makefile.w32-in (obj): Add all files (X and Mac) to doc so the
934 resulting DOC file can be used on Unix/Mac also.
936 2004-09-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
938 * etags.c (main): When relative file names are given as argument,
939 make them relative to the current working dir, rather than
940 relative to the output tags file, if the latter is in /dev.
942 2004-09-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
944 * etags.c [EXIT_SUCCESS, EXIT_FAILURE]: Define them when no
945 <stdlib.h> is available.
946 (enum sym_type): New st_C_attribute value for parsing
947 gcc's __attribute__. Deleted st_C_typespec value.
948 (gperf, in_word_set): Use gperf 3, options changed. Added the
949 __attribute__ keyword, removed all the st_C_typespec keywords,
950 changed attribute for Java to (C_JAVA & !C_PLPL).
951 (inattribute): New global bool, part of the C state machine.
952 (cblev): Identifier renamed to bracelev throughout.
953 (consider_token, C_entries): Numerous changes for making the
954 parser more robust and adding support for __attribute__.
956 2004-09-13 David A. Capello <dacap@users.sourceforge.net> (tiny change)
958 * etags.c (Lua_suffixes, Lua_help, lang_names, Lua_functions):
959 Support the Lua scripting language <http://www.lua.org>.
961 2004-09-08 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
963 * etags.c [LONG_OPTIONS]: Make it TRUE (ifdef) or FALSE (ifndef)
966 2004-07-17 Richard M. Stallman <rms@gnu.org>
968 * emacsclient.c (quote_file_name): Pass COPY thru %s to output it.
970 2004-06-01 Juanma Barranquero <lektu@terra.es>
972 * makefile.w32-in (obj): Add image.c.
974 2004-05-10 Thien-Thi Nguyen <ttn@gnu.org>
976 * test-distrib.c (main): For failing cases, exit with `EXIT_FAILURE'.
978 2004-05-08 Jason Rumney <jasonr@gnu.org>
980 * makefile.w32-in (lisp1, lisp2): Split lisp to avoid long
983 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
985 * cvtmail.c: Throughout, replace 0 destined for `exit' arg
986 with `EXIT_SUCCESS'. Likewise, replace 1 with `EXIT_FAILURE'.
987 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
989 * ebrowse.c, emacsclient.c, fakemail.c, hexl.c,
990 * make-docfile.c, movemail.c, profile.c, sorted-doc.c,
991 * test-distrib.c, update-game-score.c, yow.c: Likewise.
993 2004-05-08 Thien-Thi Nguyen <ttn@gnu.org>
995 * Makefile.in (emacsclient${EXEEXT}): Use makefile var `version'.
997 2004-05-07 Thien-Thi Nguyen <ttn@gnu.org>
999 * b2m.c (GOOD, BAD): Delete macros. Throughout,
1000 replace w/ `EXIT_SUCCESS' and `EXIT_FAILURE', respectively.
1001 (main): Use `EXIT_SUCCESS' or `EXIT_FAILURE' for return value.
1003 * etags.c: Likewise.
1005 2004-05-03 Jason Rumney <jasonr@gnu.org>
1007 * makefile.nt: Remove.
1009 2004-04-26 Eli Zaretskii <eliz@gnu.org>
1011 * make-docfile.c (IS_DIRECTORY_SEP): New macro.
1012 (put_filename): Remove unused variable len. Use IS_DIRECTORY_SEP
1013 instead of a literal '/'.
1015 2004-04-23 Juanma Barranquero <lektu@terra.es>
1017 * makefile.w32-in: Add "-*- makefile -*-" mode tag.
1019 2004-04-17 Paul Eggert <eggert@gnu.org>
1021 * rcs2log (Help): Clarify wording of the usage message.
1022 Problem reported by Alan Mackenzie in
1023 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>.
1025 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
1027 * make-docfile.c (xmalloc): Fix return type.
1028 (put_filename): New fun.
1029 (scan_file): Use it.
1031 2004-03-09 Juanma Barranquero <lektu@terra.es>
1033 * grep-changelog: Changes to support ChangeLog.10+.
1034 (main): Tidy up usage string. Fix "Use of uninitialized value"
1035 warning. Set version to 0.2. Parse the directory listing to get
1036 any ChangeLog.n file, not just 1..9.
1037 (header_match_p, entry_match_p, print_log, parse_changelog):
1038 Remove Perl prototypes (their purpose is to help the parser, which
1039 isn't needed here, not declare arguments).
1040 (parse_changelog): Make --reverse faster on big batches by not
1041 modifying the entries list.
1043 2004-03-01 Juanma Barranquero <lektu@terra.es>
1045 * makefile.w32-in (obj): Add fringe.c.
1047 2004-02-14 Paul Eggert <eggert@twinsun.com>
1049 * rcs2log: Work correctly if CVSROOT specifies :fork: or
1050 :local: methods, or omits the colon between the hostname
1051 and the path. Allow :/ in repository path, since CVS does.
1052 Fix typo: "pository" should be set from $CVSROOT, not $repository.
1053 This fixes a bug reported by Wolfgang Scherer in
1054 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
1055 along with some related bugs I discovered by inspecting how
1056 CVS itself parses $CVSROOT.
1058 2004-02-04 J
\e,bi
\e(Br
\e,bt
\e(Bme Marant <jmarant@nerim.net> (tiny change)
1060 * emacsclient.c (decode_options): Fix handling of alternate editor.
1062 2004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
1064 * emacsclient.c (main): Don't use the hostname in the socket name.
1065 Look for relative socket names in the /tmp dir rather than in cwd.
1067 2004-01-24 Richard M. Stallman <rms@gnu.org>
1069 * emacsclient.c (main): Restore errno from saved_errno,
1070 so the error message comes from socket_status.
1072 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * emacsclient.c (main): Stop if socket name too long.
1075 Only try su-fallback if the socket name was not explicit.
1076 Check socket name length in su-fallback case as well.
1078 2004-01-08 Andreas Schwab <schwab@suse.de>
1080 * emacsclient.c (main): Save errno from socket_status.
1082 2004-01-04 Andreas Schwab <schwab@suse.de>
1084 * emacsclient.c (main): Fix socket name when using another user.
1086 2003-12-27 Paul Eggert <eggert@twinsun.com>
1088 * rcs2log (rlog_options): Append -rbranchtag if CVS/Tag indicates
1089 a tag, and if the user has not specified an rlog option.
1090 Adapted from a suggestion by Martin Stjernholm in
1091 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2003-07/msg00066.html>.
1092 (Copyright): Update to 2003.
1094 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org>
1096 * make-docfile.c (main): For return code, no longer special-case VMS.
1097 Instead, use `EXIT_SUCCESS' and `EXIT_FAILURE' from stdlib.h.
1099 2003-09-28 Andreas B
\e,A|
\e(Bsching <crunchy@tzi.de> (tiny change)
1101 * emacsclient.c (quote_file_name): Print the result instead of
1102 returning it. Fix the return type accordingly.
1103 (main): With --eval, if no file name, read from stdin.
1106 2003-09-10 Richard M. Stallman <rms@gnu.org>
1108 * emacsclient.c (main): Use socket_name.
1110 2003-09-10 Andreas B
\e,A|
\e(Bsching <crunchy@tzi.de> (tiny change)
1112 * emacsclient.c (socket_name): New variable.
1113 (longopts, decode_options, print_help_and_exit):
1114 Handle --socket-name argument.
1116 2003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
1118 * etags.c (consider_token): Check C++ `operator' only when the
1119 token len is long enough.
1121 2003-08-20 Dave Love <fx@gnu.org>
1123 * Makefile.in: Remove obsolete references to alloca.
1125 2003-07-29 Ken Brush <ken@wirex.com>
1127 * emacsclient.c (main)
1128 * etags.c (suggest_asking_for_help)
1129 * movemail.c (main): Fix having macros in a printf statement.
1131 2003-05-31 Juanma Barranquero <lektu@terra.es>
1133 * makefile.w32-in (lisp): Fix references to byte-run.el,
1134 float-sup.el and map-ynp.el, which are now in emacs-lisp.
1136 2003-05-22 Dave Love <fx@gnu.org>
1138 * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
1139 (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
1141 2003-05-20 Dave Love <fx@gnu.org>
1143 * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
1145 * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
1147 2003-04-27 Oliver Scholz <alkibiades@gmx.de>
1149 * update-game-score.c (read_scores): Fix corruption of scores on read.
1151 2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
1153 * emacsclient.c (main): Use new safe location for socket.
1155 2003-03-12 Tom Tromey <tromey@redhat.com>
1157 * emacsclient.c (print_help_and_exit): Print to stdout.
1158 Exit successfully. Added some blank lines for readability.
1159 (decode_options): Don't call print_help_and_exit in default case.
1160 Print version information to stdout.
1161 (main): Don't call print_help_and_exit.
1163 2003-02-15 Richard M. Stallman <rms@gnu.org>
1165 * cvtmail.c: Cast result of malloc and realloc.
1166 Don't include stdlib.h, becuase config.h does.
1167 (malloc, realloc): Declarations deleted.
1169 * yow.c (yow): Cast result of malloc and realloc.
1170 (malloc, realloc): Declarations deleted.
1172 2003-02-11 Juanma Barranquero <lektu@terra.es>
1174 * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
1176 2003-02-08 Andreas Schwab <schwab@suse.de>
1178 * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
1179 instead of the substitution.
1181 2003-02-04 Richard M. Stallman <rms@gnu.org>
1183 * update-game-score.c (push_score, read_scores): Cast values
1184 of malloc and realloc.
1185 (main, lock_file): Avoid assignment inside if.
1187 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
1189 * Makefile.in: Use @EXEEXT@ for Cygwin.
1191 2003-01-21 Dave Love <fx@gnu.org>
1193 * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
1196 * yow.c: Don't include string.h.
1198 2003-01-20 Richard M. Stallman <rms@gnu.org>
1200 * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
1203 2003-01-06 Kim F. Storm <storm@cua.dk>
1205 * pop.c (__P): Rename from _P to avoid problems on Cygwin.
1208 2002-12-18 Andrew Innes <andrewi@gnu.org>
1210 * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
1211 because GNU make doesn't append when using >> redirection.
1213 2002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
1215 * b2m.pl: Make sure every message ends with a blank line, because
1216 some mbox parsers require a blank line before "From " lines.
1218 2002-12-08 Richard M. Stallman <rms@gnu.org>
1220 * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
1221 (_): Test only HAVE_LIBINTL_H to decide what to do.
1223 2002-12-05 Richard M. Stallman <rms@gnu.org>
1225 * getopt.c: Comment out include of libintl.h or gettext.h.
1227 2002-12-04 Richard M. Stallman <rms@gnu.org>
1229 * Update getopt from gnulib version; changes described below.
1231 * getopt1.c: Conditionally find getopt.h.
1232 [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
1234 * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
1235 (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
1236 (wchar.h): Include, maybe.
1237 (attribute_hidden): Define if not defind.
1238 (__getopt_initialized): Use attribute_hidden.
1239 (__libc_argc, __libc_argv): Renamed from original_argc, etc.
1240 (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
1241 Conditional on USE_NONOPTION_FLAGS.
1242 (SWAP_FLAGS): New definitions.
1243 (exchange): Test USE_NONOPTION_FLAGS.
1244 (_getopt_initialize): Test USE_NONOPTION_FLAGS.
1245 (_getopt_internal): Error if argc < 1. New local var print_errors.
1246 Improve test for ambiguous long option.
1247 Add LIBIO support for error message output.
1248 (NONOPTION_P): Test USE_NONOPTION_FLAGS.
1250 * getopt.h: Maybe include ctype.h.
1251 Treat __cplusplus like __STDC__.
1252 (decls): Use __ in arg names.
1254 2002-12-02 Stephen Eglen <stephen@gnu.org>
1256 * emacsclient.c (main): Tell user how to start server within Emacs
1257 if socket could not be found.
1259 2002-12-02 Richard M. Stallman <rms@gnu.org>
1261 * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
1263 2002-11-19 Ben Key <bkey1@tampabay.rr.com>
1265 * makefile.w32-in: Fixed a bug that caused the documentation for
1266 the built in function play-sound-internal not to be included in
1269 2002-11-18 Dave Love <fx@gnu.org>
1271 * update-game-score.c: Include unistd.h, string.h, stdlib.h,
1272 fcntl.h, stdarg.h conditionally.
1273 (_GNU_SOURCE, __attribute__): Don't define.
1274 (optarg, optind, opterr): Declare.
1275 (lose, lose_syserr): Use NO_RETURN.
1276 (get_user_id): Use P_.
1278 2002-11-17 Richard M. Stallman <rms@gnu.org>
1280 * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
1282 2002-11-14 Dave Love <fx@gnu.org>
1284 * movemail.c (pop_retr): Declare comment.
1286 * make-docfile.c (read_c_string_or_comment): Declare msgno.
1288 * Makefile.in (YACC): Deleted.
1290 2002-10-19 Andreas Schwab <schwab@suse.de>
1292 * Makefile.in (${archlibdir}): Always create $(gamedir).
1293 (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
1295 2002-10-04 Juanma Barranquero <lektu@terra.es>
1297 * makefile.w32-in (lisp): Load devanagari.el, not .elc.
1299 2002-09-30 Markus Rost <rost@math.ohio-state.edu>
1301 * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
1304 2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
1306 * emacsclient.c: Remove SYSV support.
1307 (eval, display): New vars.
1308 (longopts): Add --eval and --display.
1309 (decode_options): Add -e and -d processing.
1310 (print_help_and_exit): Update the usage string.
1311 (main): Add support for --eval and --display.
1312 (main): Always use /tmp and non-qualified hostname.
1314 2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
1316 * emacsserver.c: Remove.
1318 2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
1320 * emacsclient.c (quote_file_name): Quote \n.
1321 (main): Print a final \n when needed.
1323 2002-09-03 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1325 * etags.c (regex_tag_multiline, readline): Never pass pfnote a
1326 string that cannot be freed.
1328 2002-08-30 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1330 * etags.c (consider_token, C_entries): Switch to C++ parsing when
1331 auto-detection is enabled and the `::' qualifier is met.
1332 (consider_token, C_entries): Several bugs corrected that tagged
1333 some declarations even though --declarations was not used.
1334 (plainc): New macro.
1335 (C_entries): Use it.
1336 (C_entries): Several cosmetic changes.
1337 (C_entries): Invalidate the token is some cases.
1339 2002-08-29 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1341 * etags.c (C_entries): Correct a problem with const C++ funcs.
1342 (ignoreindent): Renamed from noindentypedefs.
1343 (cjava, cplpl): They are now macros instead of local vars.
1345 2002-08-28 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1347 * etags.c (HTML_labels): Tag ID= also.
1349 2002-08-27 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1351 * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
1353 * etags.c (HTML_labels): New language HTML.
1354 (etags_strcasecmp): Like BSD's, for compatibility.
1355 (strcaseeq): Make it into a macro.
1357 * etags.c (make_tag): Never generate null length tag names.
1358 (linebuffer_init): Renamed from initbuffer. All callers changed.
1359 (pattern): Structure renamed to `regexp', member regex renamed to
1361 (node_st): Member pat renamed to regex.
1362 (pattern); New member force_explicit_name, for future use.
1363 Now always set to true, cannot be reset.
1364 (add_regex, regex_tag_multiline, readline): Use it.
1365 (main): Free some global structures.
1366 (fdesc): New member `written'.
1367 (readline, process_file): Initialise it.
1368 (put_entries): Set it.
1369 (main): Use it to create entries for files without tags.
1370 (total_size_of_entries): Do not count invalid tags.
1372 2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
1374 * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
1375 for the function name in the usage info.
1377 2002-07-31 Colin Walters <walters@gnu.org>
1379 * update-game-score.c (P_): New macro. Use it for all prototypes.
1380 (lose): Don't use varargs.
1381 (lose_syserr): New function.
1383 * update-game-score.c: Change all functions to K&R style.
1385 2002-07-30 Andreas Schwab <schwab@suse.de>
1387 * Makefile.in (localstatedir): New variable.
1389 2002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
1391 * b2m.pl: Fix regexp for finding return address fields.
1393 2002-07-15 Stefan Monnier <monnier@cs.yale.edu>
1395 * make-docfile.c (scan_c_file): Warn about missing `usage' info.
1397 2002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
1399 * b2m.pl: Obey the rmail file and use the unpruned header properly.
1401 2002-06-26 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1405 2002-06-21 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1407 * etags.c (F_getit, Fortran_functions, Ada_getit, Asm_labels)
1408 (Python_functions, PHP_functions, PHP_functions, PHP_functions)
1409 (PHP_functions, PHP_functions, Cobol_paragraphs)
1410 (Makefile_targets, Postscript_functions, Texinfo_nodes)
1411 (prolog_pr, erlang_func, erlang_attribute)
1412 (Perl_functions, Perl_functions, Pascal_functions)
1413 (TeX_commands, get_tag): Use make_tag instead of pfnote.
1414 (get_tag): Prototype changed, all callers changed.
1416 2002-06-20 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1418 * etags.c: Implement implicit tag names, that is, unnamed tags
1419 whose name is automatically deduced by etags.el. The advantage is
1420 that there is no explicit tag name in most tags, so the size of
1421 the tags file is reduced, yet find-tag is able to do a match as
1422 accurate as with named tags. See the comment in make_tag for details.
1423 (make_tag): New function (was the disabled function new_pfnote).
1424 (make_C_tag): Use it.
1426 2002-06-19 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1428 * etags.c (add_regex): Invalid regexp modifiers are ignored.
1429 (Makefile_targets): Tag variables unless --no-globals.
1430 (LOOP_ON_INPUT_LINES): Serious bug corrected.
1432 2002-06-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1434 * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
1435 (invalidate_nodes): Bug corrected.
1436 (print_help): Better help for regexps.
1438 2002-06-13 Juanma Barranquero <lektu@terra.es>
1440 * makefile.w32-in (lisp): Add international/ucs-tables.elc and
1443 2002-06-12 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1445 * etags.c: New multi-line regexp and new regexp syntax.
1446 (arg_type): at_icregexp label removed (obsolete).
1447 (pattern): New member multi_line for multi-line regexps.
1448 (filebuf): A global buffer containing the whole file as a string
1449 for multi-line regexp matching.
1450 (need_filebuf): Global flag raised if multi-line regexps used.
1451 (print_help): Document new regexp modifiers, remove references to
1452 obsolete option --ignore-case-regexp.
1453 (main): Do not set regexp syntax and translation table here.
1454 (main): Treat -c option as a backward compatibility hack.
1455 (main, find_entries): Init and free filebuf.
1456 (find_entries): Call regex_tag_multiline after the regular parser.
1457 (scan_separators): Check for untermintaed regexp and return NULL.
1458 (analyse_regex, add_regex): Remove the ignore_case argument, which
1459 is now a modifier to the regexp. All callers changed.
1460 (add_regex): Manage the regexp modifiers.
1461 (regex_tag_multiline): New function. Reads from filebuf.
1462 (readline_internal): If necessary, copy the whole file into filebuf.
1463 (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
1465 2002-06-11 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1467 * etags.c (add_regex): Better check for null regexps.
1468 (readline): Check for regex matching null string.
1469 (find_entries): Reorganisation.
1471 2002-06-07 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1473 * etags.c (scan_separators): Support all character escape
1474 sequences supported by Gcc.
1475 (find_entries): Rewind unconditionally.
1476 (find_entries): Do not call language functions directly, now calls
1478 (find_entries): Do general initialisations here.
1479 (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
1480 (Ada_getit, Pascal_functions, Pascal_functions)
1481 (prolog_skip_comment): Do not do them here.
1482 (readline_internal): Increment lineno here.
1483 (readline): Conditionally undo readline_internal increment.
1484 (readline): Do not return a value.
1486 2002-06-06 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1488 * etags.c: New option --parse-stdin=FILE.
1489 (enum arg_type): New label at_stdin.
1490 (STDIN): New constant.
1491 (parsing_stdin): New flag.
1492 (longopts): New option --parse-stdin=NAME.
1493 (print_help): Document it.
1495 (process_file): Split into process_file and process_file_name.
1496 (process_file_name): New function.
1498 * etags.c: Improvements and bug squashing in TeX handling.
1499 (TeX_commands): Skip comments.
1500 (TEX_defenv): Now contains more contructs.
1501 (TEX_cmt): Make it a static char and move it before TeX_commands.
1502 (TeX_commands): Shorten the tag to the brace after the name.
1503 (TeX_commands): Names now include the initial backslash.
1504 (TeX_commands): Names do not include numeric args #n.
1505 (TeX_commands): Correct line char number in tags.
1506 (TEX_tabent, TEX_token): Deleted.
1507 (TeX_commands, TEX_decode_env): Streamlined.
1509 2002-06-05 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1511 * etags.c (main): Avoid a buffer overrun with sprintf.
1513 2002-05-30 Richard M. Stallman <rms@gnu.org>
1515 * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
1516 (LIBS_MOVE): Renamed from MOVE_LIBS.
1518 2002-05-26 Paul Eggert <eggert@twinsun.com>
1520 Reinstate the following change from 2002-03-22, which was
1521 inadvertently lost on 2002-04-13.
1523 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1524 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1527 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1529 * pop.c (socket_connection): Move the code to resolve the POP
1530 host right before trying to connect with it.
1532 2002-04-28 Colin Walters <walters@verbum.org>
1534 * Makefile.in (${archlibdir}): Don't conditionalize on
1535 HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
1536 or not we have access to the specified game user.
1538 * update-game-score.c (SCORE_FILE_PREFIX): Delete.
1539 (main): New argument -d, for specifying directory.
1541 (get_user_id): Compute.
1542 (get_home_dir): Deleted.
1543 (get_prefix): New function, taken from main.
1544 (main): Check whether or not we are running setuid. Move prefix
1545 computation to get_prefix. Don't call getpwent; we don't need to
1546 any more. Instead, move it to get_user_id().
1548 2002-04-24 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1550 * ebrowse.c (skip_initializer): Return void.
1552 2002-04-23 Colin Walters <walters@verbum.org>
1554 * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
1557 2002-04-22 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1559 * etags.c (last_node): Make it a global variable.
1560 (process_file): Print the tags from the nodes as soon as
1561 possible, and delete the nodes. This brings down the memory
1562 occupancy as etags to almost the same level as when the #line
1563 directives were not parsed.
1564 (free_fdesc): New function.
1565 (find_entries): Use it.
1566 (invalidate_nodes): In etags mode, do not just mark the nodes as
1567 invalid, do delete them.
1569 2002-04-21 Gerd Moellmann <gerd@gnu.org>
1571 * ebrowse.c (add_declarator): Test *CLS instead of CLS.
1573 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
1575 * update-game-score.c: Move config.h before the other headers, to
1576 avoid compiler warnings.
1578 2002-04-16 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1580 * etags.c (find_entries): Bug fix in list management.
1582 2002-04-15 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1584 * etags.c (get_language_from_filename): Add one argument.
1585 (strcaseeq): New function.
1586 (get_language_from_filename): Use it to do a case insenstitive
1587 comparison if called with appropriate args.
1588 (find_entries): Try with case insensitive match.
1589 (process_file): Bug fixed.
1591 2002-04-13 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1593 * etags.c (find_entries): Delete tags previously obtained from
1594 file xxx.c's #line directives when parsing file xxx.y. This is
1595 generally done for automatically generated files containing
1596 #line directives. This handles the case when xxx.y is tagged
1597 before xxx.c, and the entries of xxx.c pointing to xxx.y should
1599 (language): Add the metasource member. Initializers changed.
1600 (invalidate_nodes): New function.
1601 (readline): Discard lines after having found a #line
1602 directive pointing to an already tagged file. This handles the
1603 case when xxx.y is tagged before xxx.c, and the entries of
1604 xxx.c pointing to xxx.y should be discarded.
1605 (fdesc): New structure for keeping track of input files.
1606 (fdesc): Remove `file' member (a string) and use instead a pointer
1607 to a file description structure.
1608 (curfile, curfiledir, curtagfname, curlang, nocharno)
1609 (forced_lang): Global variables removed in favor of fdhead and
1610 curfdp, pointers to file description strucures.
1611 (longopts, main, print_help): Use the CTAGS conditional to include
1612 or exclude options that work on etags or ctags only.
1613 (process_file, find_entries, pfnote, add_node, put_entries)
1614 (readline): Use fdhead and curfdp.
1615 (process_file, find_entries): Do not take an arg string, all
1618 * etags.c (longopts, print_help, main): Test CTAGS to disallow
1619 options that are not right for either etags or ctags.
1621 * etags.c (number_len, total_size_of_entries): Define them also
1622 in CTAGS mode, because gcc does not compile all refs away.
1624 2002-04-14 Colin Walters <walters@debian.org>
1626 * update-game-score.c (lock_file): If the lock file is older than
1627 an hour, delete it. Reset attempts to zero if we have to break
1630 2002-04-14 Andreas Schwab <schwab@suse.de>
1632 * update-game-score.c (read_score): Fix type of second parameter
1633 of getdelim to be of type size_t instead of int. Use 0 instead of
1636 2002-04-10 Colin Walters <walters@verbum.org>
1638 * update-game-score.c (toplevel): Include stdarg.h.
1639 (MAX_DATA_LEN, MAX_SCORES): New.
1640 (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
1641 default to ~/.emacs.d/games.
1642 (get_user_id): Don't zero uid in the case where we can't get the
1644 (lose): New function.
1645 (main): Actually use `max', and default it to MAX_SCORES.
1646 Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
1648 (read_score): Handle the case of reading unamelen characters, then
1649 finishing. Use mktemp if mkstemp isn't available.
1650 (lock_file, unlock_file): Delete unused versions.
1651 (lock_file): Always sleep, even if we unlinked the lock file.
1653 * Makefile.in (gamedir, gameuser): New variables.
1654 (toplevel, UTILITIES): Add update-game-score.
1655 (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
1657 2002-04-07 Colin Walters <walters@verbum.org>
1659 * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
1660 (get_user_id): Take struct passwd as an argument.
1661 (get_home_dir): New function.
1662 (main): Read in user information here. Discover home directory if
1664 (read_score): Trim newline only in `getline' case.
1666 2002-04-05 Colin Walters <walters@debian.org>
1668 * update-game-score.c (toplevel): Include pwd.h.
1669 (struct score_entry): Add username field.
1670 (push_score): Use it.
1671 (get_user_id): New function.
1672 (main): Don't malloc excessively.
1673 (main): Use username field.
1674 (read_score): Read it.
1675 (push_score): Handle it.
1676 (write_scores): Write it.
1677 (read_score): Handle arbitrary length data.
1679 2002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
1681 * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
1683 2002-03-29 Gerd Moellmann <gerd@gnu.org>
1685 * ebrowse.c (add_declarator, skip_initializer): New functions.
1686 (declaration): Use them.
1688 2002-03-28 Jason Rumney <jasonr@gnu.org>
1690 * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
1692 2002-03-27 Colin Walters <walters@debian.org>
1694 * update-game-score.c: New file.
1696 2002-03-22 Paul Eggert <eggert@twinsun.com>
1698 * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
1699 `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
1702 2002-03-12 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1704 * etags.c (Python_functions): Skip spaces at beginning of lines.
1705 (Python_functions, PHP_functions): Name tags, for ctags' sake.
1706 (TeX_commands): Name tags. Correction of old disabled code.
1708 * etags.c (curfiledir, curtagfname): New global variables.
1709 (process_file): Initialise them.
1710 (readline): Canonicalize the name found in #line directive.
1712 2002-03-06 Jason Rumney <jasonr@gnu.org>
1714 * etags.c (put_entries): Use #if !CTAGS, to fix link error on
1715 compilers that don't optimize out dead code.
1717 2002-03-05 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1719 * etags.c: Honour #line directives.
1720 (no_line_directive): New global var; set it for old behaviour.
1721 (main): Remove some #ifdef in the getopt switch.
1722 (add_node, put_entries): Code added to merge different chunks of
1723 nodes referring to the same file. Currently the tags are just
1724 appended, without any check for duplicates.
1725 (Perl_functions): Do not special case ctags.
1726 (readline): Identify #line directives and do the right thing.
1727 (nocharno, invalidcharno): New global vars.
1728 (process_file): Reset nocharno.
1729 (readline): Set nocharno.
1730 (pfnote): Read nocharno and maybe put invalidcharno in node.
1731 (total_size_of_entries, put_entries): Use invalidcharno.
1733 * etags.c: Keep the whole tag table in memory, even in etags mode.
1734 (main): Call put_entries here even in CTAGS mode.
1735 (main, process_file): Check the return values of fclose and pclose.
1736 (process_file): Do not call put_entries after parsing each file.
1737 (process_file): Canonicalise file names even for ctags.
1738 (process_file): Set curfile here...
1739 (find_entries): ... not here any more.
1740 (add_node): In etags mode, build a linked list of entries (on
1741 right pointer) for each file, and link the first entry of each
1743 (put_entries): Print here the name of the file.
1744 (put_entries): Print the entries starting from the first file.
1745 (number_len, total_size_of_entries): Define these only in etags
1746 mode, make the second work only on the right nodes.
1748 * etags.c: Make all global variables static.
1750 2002-02-25 Juanma Barranquero <lektu@terra.es>
1752 * makefile.w32-in (lisp): Add missing backslash.
1754 2002-02-24 Jason Rumney <jasonr@gnu.org>
1756 * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
1758 (lisp): Sync with list in src/Makefile.in
1759 (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
1761 2002-02-10 Paul Eggert <eggert@twinsun.com>
1763 * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
1764 disallows the old syntax.
1766 2002-02-03 Paul Eggert <eggert@twinsun.com>
1768 * rcs2log(Copyright): Update to 2002.
1769 (AWK, TMPDIR): Work around portability problem in broken shells that
1770 don't understand `: ${VAR=val}'.
1771 (SORT_K_OPTIONS): New var, for hosts that conform to POSIX 1003.1-2001.
1772 Prefer the new -k option to the traditional +M -N option.
1774 2002-01-01 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1776 * b2m.c (main): Parenthesize assignment when used as truth value
1777 to prevent gcc warnings.
1779 * fakemail.c: Include <config.h>.
1781 2001-12-29 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1783 * cvtmail.c, emacsclient.c, emacsserver.c, pop.c, sorted-doc.c,
1784 * yow.c: Include <config.h>.
1786 2001-12-21 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1788 * etags.c (Perl_functions): Tag packages and use them in sub tags.
1789 (get_tag): Return a pointer to the tag that is found.
1791 * etags.c (LOOKING_AT): Use !intoken instead of iswhite.
1792 (F_takeprec): Renamed from takeprec. All callers changed.
1793 (F_getit): Renamed from getit. All callers changed.
1794 (nocase_tail): Renamed from tail. All callers changed.
1795 (Ada_getit): Renamed from adagetit. All callers changed.
1796 (L_getit): Simplify by using get_tag.
1797 (Perl_functions, Postscript_functions, erlang_attribute): Use the
1798 modified LOOKING_AT.
1799 (notinname): Removed '[' and added ')' to the recognised chars.
1800 (LOOKING_AT, get_tag, PHP_functions): Use notinname.
1801 (Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
1802 Clarified, using strneq or notinname.
1803 (L_isdef, L_isquote): Removed.
1804 (Lisp_functions, L_getit): Clarified.
1806 * etags.c (P_): Renamed to __P for consistency with config.h.
1807 [HAVE_CONFIG_H]: Let config.h deal with __P.
1808 [__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
1809 [!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
1810 gperf code needs it.
1811 [HAVE_CONFIG_H] [!PTR]: Define PTR (for use with XEmacs).
1812 [HAVE_CONFIG_H] [!__P]: Define __P (for use with XEmacs).
1813 (xmalloc, xrealloc): Use PTR instead of long *.
1814 (bool): Make it a define, not a typedef, for C++ compilers.
1815 (pattern): Members renamed to avoid name clash in some C++ compilers.
1816 (get_language_from_langname): Use const argument.
1818 2001-12-22 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1820 * makefile.nt, makefile.w32-in: Remove mocklisp files.
1822 2001-12-19 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1824 * emacsserver.c: Conditionally include config.h.
1826 * fakemail.c: Likewise.
1828 * emacsclient.c: Include "config.h", not <../src/config.h>.
1829 (main): Parenthesize assignment when used as truth value to
1830 prevent gcc warnings.
1832 * ebrowse.c: Include stdlib.h and string.h conditionally.
1834 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il>
1836 * yow.c (main): Use time_t, not long, to avoid a compiler warning.
1838 2001-12-18 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1840 * test-distrib.c: Fix previous change.
1842 2001-12-18 Dave Love <fx@gnu.org>
1844 * test-distrib.c: Conditionally include fcntl.h.
1846 * fakemail.c: Include "config.h", not <../src/config.h>.
1847 (_XOPEN_SOURCE): Define as 500.
1849 * emacsserver.c: Include "config.h", not <../src/config.h>.
1851 * cvtmail.c: Include config.h, stdlib.h.
1852 (xmalloc, xrealloc, skip_to_lf sysfail): Prototype.
1854 * yow.c: Conditionally include various headers. Use "epaths.h",
1855 not <../src/epaths.h>.
1856 (malloc, realloc) [!HAVE_STDLIB_H]: Prototype.
1858 2001-12-12 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
1860 * etags.c (PHP_functions): New function for parsing PHP.
1861 (LOOKING_AT): New macro.
1862 (Perl_functions, Python_functions, PHP_functions)
1863 (Scheme_functions, Texinfo_nodes): Use it.
1864 (Perl_functions): Use strneq.
1865 (prolog_pred): Renamed to prolog_pr.
1866 (prolog_pr): Recognise Prolog rules in addition to predicates.
1867 [ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
1868 unmodified compile, as Cygwin's regex.h is incompatible with us.
1869 [!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
1871 2001-12-11 Richard M. Stallman <rms@gnu.org>
1873 * Makefile.in (clean): Don't delete ../etc/DOC*.
1875 2001-12-11 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1877 * COPYING: Moved back.
1879 2001-11-30 Andrew Innes <andrewi@gnu.org>
1881 * makefile.w32-in (FACE_SUPPORT):
1885 (lisp): Reference .el files instead of .elc files, to simplify
1887 ($(DOC)): Change dependency to just `make-docfile'.
1889 2001-11-29 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1893 2001-11-28 Paul Eggert <eggert@twinsun.com>
1895 * rcs2log (Copyright): Add '(C)' as per coding guidelines.
1897 The following changes are derived from suggestions by Bob Chapman
1898 <rechapman@compuserve.com>.
1900 * rcs2log (printlogline): Also allow tab and newline to separate
1901 '(function):' from the rest of a comment.
1902 (reformat the sorted log entries): Require date and author to
1903 match the clumpname.
1905 2001-11-16 Gerd Moellmann <gerd@gnu.org>
1907 * ebrowse.c (matching_regexp): Escape '\\'.
1909 2001-11-15 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1911 * Makefile.in: Add support for --program-prefix, --program-suffix
1912 and --program-transform-name options.
1914 2001-11-03 Richard M. Stallman <rms@gnu.org>
1916 * cvtmail.c (xrealloc): Always pass two args to `fatal'.
1918 * movemail.c (popmail): Always pass two args to `error'.
1920 2001-10-24 Ken Raeburn <raeburn@gnu.org>
1922 * Makefile.in (HESIODLIB) [HAVE_LIBHESIOD]: Set to include
1923 -lhesiod and maybe -lresolv.
1924 (CRYPTOLIB) [HAVE_LIBK5CRYPTO]: Use -lk5crypto for Kerberos
1925 support if it's available.
1927 2001-10-21 Miles Bader <miles@gnu.org>
1929 * make-docfile.c (struct rcsoc_state): New type.
1930 (read_c_string_or_comment): Add SAW_USAGE
1931 parameter, and implement scanning for a `usage:' keyword.
1932 Use a variable of type `rcsoc_state' to hold most of our state.
1933 (put_char): Add STATE parameter, and remove all other parameters
1934 except CH. Use STATE to get access to all needed state.
1935 (scan_keyword_or_put_char): New function.
1936 (scan_c_file): Pass SAW_USAGE argument to read_c_string_or_comment.
1937 Don't output a usage-string if there was one in the doc-string.
1939 2001-10-20 Gerd Moellmann <gerd@gnu.org>
1941 * (Version 21.1 released.)
1943 2001-10-19 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1945 * b2m.c: Properly spell the name of Emacs.
1947 2001-10-17 Miles Bader <miles@gnu.org>
1949 * make-docfile.c (put_char): New function.
1950 (read_c_string_or_comment): Strip trailing spaces and newlines.
1952 2001-10-16 Miles Bader <miles@gnu.org>
1954 * make-docfile.c (scan_c_file): Handle `new style' doc strings in
1955 comments [with `doc:' keyword prefix].
1957 2001-10-15 Gerd Moellmann <gerd@gnu.org>
1959 * make-docfile.c (read_c_string_or_comment): Don't drop a '*'
1962 2001-10-13 Gerd Moellmann <gerd@gnu.org>
1964 * make-docfile.c (read_c_string_or_comment): Renamed from
1965 read_c_string. Add parameter COMMENT. Read C-style comments.
1966 (scan_c_file): Handle doc strings in C comments.
1968 2001-10-12 Andrew Innes <andrewi@gnu.org>
1970 * makefile.nt (ALL): Do not include fakemail.
1972 * makefile.w32-in (install): Do not copy fakemail.
1974 2001-10-10 Jason Rumney <jasonr@gnu.org>
1976 * makefile.w32-in (ALL): Do not include fakemail.
1978 * makefile.nt (install): Ditto.
1980 2001-10-09 Gerd Moellmann <gerd@gnu.org>
1982 * emacsserver.c (main): Cast geteuid in sprintf to int.
1984 * emacsclient.c (main): Cast isdigit argument to unsigned char.
1986 2001-10-07 Pavel Jan
\e,Bm
\e(Bk <Pavel@Janik.cz>
1988 * profile.c: Include config.h, not ../src/config.h.
1989 Include systime.h, not ../src/systime.h.
1991 2001-10-05 Gerd Moellmann <gerd@gnu.org>
1995 2001-10-01 Alexander Zhuckov <zuav@int.spb.ru>
1997 * ebrowse.c (struct alias): Add two new struct members: NAMESP and
1998 ALIASEE to help work with namespace aliases.
1999 (struct sym): Remove struct member NAMESP_ALIASES.
2000 (namespace_alias_table): New variable.
2001 (make_namespace): Add parameter CONTEXT.
2002 (check_namespace): New function.
2003 (find_namespace): Add parameter CONTEXT.
2004 (check_namespace_alias): New function.
2005 (register_namespace_alias): Change type of parameter OLD_NAME.
2006 Search for already defined alias in NAMESPACE_ALIAS_TABLE.
2007 (check_namespace): New function.
2008 (enter_namespace): Call find_namespace with CONTEXT parameter.
2009 (match_qualified_namespace_alias): New function.
2010 (parse_qualified_ident_or_type): Fix typo in comment.
2011 While parsing qualified ident or type update namespace context and
2013 (parse_qualified_param_ident_or_type): Fix typo in comment.
2014 (globals): Change handling of namespace aliases.
2015 (version): Add year 2001.
2017 2001-09-15 Eli Zaretskii <eliz@is.elta.co.il>
2019 * etags.c (analyse_regex): If regex_arg is NULL, return
2020 immediately after a call to free_patterns.
2022 2001-09-05 Paul Eggert <eggert@twinsun.com>
2024 * rcs2log (Help, mainline code): Add new option -L FILE.
2025 (Copyright): Update year.
2026 (LANG, LANGUAGE, LC_ALL, LC_COLLATE, LC_CTYPE, LC_MESSAGES)
2027 (LC_NUMERIC, LC_TIME): New shell vars, to make sure we live in the
2029 (mainline code): Handle nonstandard -u option differently, by
2030 transforming it to standard form. Check for "Working file: ", not
2031 "Working file:". Allow file names with spaces.
2032 (SOH, rlogfile): New shell vars.
2033 (rlogout): Remove. Its old functionality is mostly migrated to
2036 Append ';;' to the last arm of every case statement, for
2037 portability to ancient broken BSD shells.
2039 (logins): Fix bug; was not being computed at all, lowering performance.
2040 (pository): New var. This fixes some bugs where repositories are
2041 remote, or have trailing slashes.
2042 (authors): $llogout is never an empty shell var, so don't worry
2043 about that possibility.
2044 (printlogline, mainline code): Fix bug with SOH's being put into
2047 2001-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2049 * ebrowse.c (SEEK_END): #define if not defined by system headers.
2050 Suggested by Dave Love <d.love@dl.ac.uk>.
2052 2001-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2054 * makefile.nt (lisp): Synchronize with src/Makefile.in.
2055 * makefile.w32-in (lisp): Ditto.
2057 2001-07-25 Juanma Barranquero <lektu@terra.es>
2059 * grep-changelog (parse_changelog): Remove unused local variable.
2061 * grep-changelog (main): Add new option --reverse.
2062 (print_log): Use it.
2063 (parse_changelog): Use it.
2065 2001-07-20 Gerd Moellmann <gerd@gnu.org>
2067 * grep-changelog: Remove RCS Id keyword.
2069 2001-07-20 Juanma Barranquero <lektu@terra.es>
2071 * grep-changelog (parse_changelog): Add tests for defined values
2072 to quiet warning from Perl 5.005 or above.
2073 (entry_match_p, header_match_p): Fix handling of null or empty
2074 argument to prevent duplicate headers.
2076 * grep-changelog (main, parse_changelog): Make "use strict"-clean.
2078 2001-07-17 Jan Nieuwenhuizen <janneke@gnu.org>
2080 * emacsclient.c (print_help_and_exit): Fix help message for
2081 +LINE:COLUMN option.
2083 2000-07-17 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2085 * emacsclient.c (main): Add support for +LINE:COLUMN command line
2088 2001-07-16 Gerd Moellmann <gerd@gnu.org>
2090 * ebrowse.c (main): Check that the output file exists and
2091 is non-empty if invoked with `--append'.
2093 2001-05-14 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2095 * etags.c (add_regex): Reset the whole newly allocated pattern
2096 buffer instead of the individual members. It's safer and works
2099 * etags.1: Markups corrected.
2101 2001-05-08 Gerd Moellmann <gerd@gnu.org>
2103 * ebrowse.c (enter_namespace): Fix reallocation of namespace_stack.
2105 2001-05-03 Gerd Moellmann <gerd@gnu.org>
2107 * ebrowse.c (globals): Fix handling of namespace aliases.
2109 2001-04-27 Eli Zaretskii <eliz@is.elta.co.il>
2111 * etags.c (print_help): Enclose the regexp in the help text
2114 2001-04-05 Dave Love <fx@gnu.org>
2116 * emacsclient.c (fail): Don't return a value.
2117 (main): Cast uid values for sprintf.
2119 2001-04-03 Gerd Moellmann <gerd@gnu.org>
2121 * emacsclient.c (fail, main): Don't use implicit int return type.
2123 * b2m.c (main): Always return a value.
2125 2001-03-02 Gerd Moellmann <gerd@gnu.org>
2127 * ebrowse.c (parse_qualified_param_ident_or_type): Return a
2128 freshly allocated object in *LAST_ID.
2129 (read_line): Accept \r\n line endings.
2131 2001-02-24 Andrew Innes <andrewi@gnu.org>
2133 * makefile.w32-in: Fix copyright notice.
2135 2001-02-23 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2137 * etags.c (enum sym_type): New label st_C_template.
2138 (gperf input): Use it for switching to C++ from C.
2139 (consider_token): Do it.
2140 (C_entries): Initialise typdefcblev to quiet compilers.
2141 [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
2143 2001-02-22 Andrew Innes <andrewi@gnu.org>
2145 * makefile.nt ($(BLD)\movemail.obj): Remove reference to
2147 ($(BLD)\profile.obj): Ditto.
2149 * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
2151 ($(BLD)/profile.$(O)): Ditto.
2153 2001-02-05 Andrew Innes <andrewi@gnu.org>
2155 * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
2156 invocation of make-docfile, to work with Windows 2000.
2158 2001-01-31 Dave Love <fx@gnu.org>
2160 * etags.c (in_word_set): Use `static' in definition (for pcc).
2162 2001-01-31 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2164 * etags.c [NDEBUG]: #undef assert and #define it as ((void)0), for
2165 the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
2166 (C_entries): Tag token renamed to still_in_token because sunos4
2167 pcc wants to expand it as the token() macro even though it has no
2170 2001-01-30 Andrew Innes <andrewi@gnu.org>
2172 * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
2173 bug in the Mingw32 assert.h header file.
2175 2001-01-30 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2177 * etags.c [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
2178 #define it for the sake of XEmacs.
2179 [WINDOWSNT]: #undef HAVE_NTGUI even if built without
2180 HAVE_CONFIG_H. This change only affects a standalone etags.
2181 [WINDOWSNT]: #undef DOS_NT and #define it even if built with
2182 HAVE_CONFIG_H. This change does nothing in Emacs, as DOS_NT is
2183 always defined when HAVE_CONFIG_H and WINDOWS are both defined.
2184 [!HAVE_UNISTD_H]: Use defined(WINDOWSNT) instead of the bare
2185 WINDOWSNT, as this is the correct way to use it.
2187 2001-01-28 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2189 * etags.c: Be capable to parse nested struct-like structures.
2190 (structdef, structtag): Struct state machine revisited.
2191 (struct tok): Revisited.
2192 (cstack, nestlev, instruct): New struct and macros.
2193 (pushclass_above, popclass_above, write_classname): New functions
2194 for dealing with nested class names.
2195 (consider_token, make_C_tag, C_entries): Many changes for dealing
2196 with arbitrarily nested structures.
2197 (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
2198 (C_entries): Consider templates in C++.
2199 (sym_type): New constant st_C_class for detecting "class" also in
2201 (C_AUTO): New macro for automatic detection of C++.
2202 (consider_token): Automatic set C++ mode.
2203 (C_entries): New security check for yacc.
2204 (print_language_names, print_help): Mention the autodetect
2205 feature, do not show help for the -C option, now mostly useless.
2206 (C_entries): Tag C++ forward declarations if --declarations.
2207 (C_entries): Don't be fooled by things like XDEFUN.
2208 (consider_token): Discard asm pseudo function.
2210 2001-01-27 Eli Zaretskii <eliz@is.elta.co.il>
2212 * etags.c: Add a coding: tag.
2214 2001-01-26 Gerd Moellmann <gerd@gnu.org>
2216 * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
2218 (matching_regexp): Use them instead of static variables in
2221 2001-01-25 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2223 * etags.c (struct tok): Renamed from struct token.
2224 (token): Renamed from tok.
2225 (structtype): Make it a local variable.
2226 [DEBUG]: Use assert.
2227 (xrnew): Change the synopsis.
2228 (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
2229 (grow_linebuffer): Don't call xrnew when not needed.
2230 (token): Buffer renamed to line.
2231 (C_entries): Three calls to inibuffer moved here from main.
2232 (C_entries): Remove all references to var methodlen, delete it.
2233 (linebuffer_setlen): Was grow_buffer, now also sets len.
2234 (consider_token, C_entries, Pascal_functions): Use it.
2235 (C_entries): Preventing problems relative to extern "C".
2236 (C_entries): Can tag more than one variable or func separated by
2237 comma when --declarations is used.
2238 (C_entries): More accurate tagging of members and declarations.
2239 (yacc_rules): Was global, made local to C_entries.
2240 (next_token_is_func): Removed.
2241 (fvdef): New constants fdefunkey, fdefunname.
2242 (consider_token, C_entries): Use them.
2243 (C_entries): Build proper lisp names for Emacs DEFUNs.
2245 2001-01-22 Gerd Moellmann <gerd@gnu.org>
2247 * ebrowse.c (xfree): New function.
2248 (member, declaration, globals): Use xmalloc instead of alloca.
2250 2001-01-15 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2252 * etags.c (print_language_names): Print filenames in addition to
2255 2001-01-14 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2257 * etags.c (get_language_from_langname): Renamed from
2258 get_language_from_name.
2259 (get_language_from_filename): Renamed from get_language_from_suffix.
2260 Now first looks for the complete file name.
2261 (language): New member char **filenames.
2262 (Makefile_filenames): List of possible filenames for makefiles.
2263 (lang_names): Add a NULL member for every entry, added an entry
2265 (Makefile_targets): New function.
2266 (Texinfo_nodes): Renamed from Texinfo_fuctions and made
2267 it conformant to the style of the rest of the code.
2269 2001-01-13 Gerd Moellmann <gerd@gnu.org>
2271 * make-docfile.c (write_c_args): Print newlines as spaces.
2273 2001-01-06 Andrew Innes <andrewi@gnu.org>
2275 * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
2278 2001-01-03 Paul Eggert <eggert@twinsun.com>
2280 * rcs2log: Avoid security hole allowing attacker to
2281 cause user of rcs2log to overwrite arbitrary files, fixing
2282 a bug reported by Morten Welinder.
2284 Don't put "exit 1" at the end of the exit trap; it's
2285 ineffective in POSIX shells.
2287 2001-01-02 Gerd Moellmann <gerd@gnu.org>
2289 * ebrowse.c (yyerror): Change to take two arguments.
2290 Add prototype. Change callers.
2292 2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
2294 * ebrowse.c (enter_namespace, main): Cast variables to shut up
2296 (yyerror): Change parameter declarations to be of type long, so
2297 that they can take pointers on 64-bit platforms.
2299 * emacsclient.c (main): Remove unused local variable statbfr.
2300 (main) <homedir>: Make its declaration conditional on
2301 SERVER_HOME_DIR, to avoid compiler warnings.
2303 * emacsserver.c (main) <homedir>: Make its declaration conditional
2304 on SERVER_HOME_DIR, to avoid compiler warnings.
2306 * fakemail.c (readline): Cast buffer to "long *" to pacify
2307 over-zealous compilers.
2309 2000-12-16 Eli Zaretskii <eliz@is.elta.co.il>
2311 * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
2313 2000-12-15 Gerd Moellmann <gerd@gnu.org>
2315 * ebrowse.c (operator_name): Cast argument of isalpha to
2318 * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
2319 Use them throughout instead of ctype functions/macros.
2320 (lowcase): Cast to unsigned char.
2321 (UPCASE): New macro.
2322 (canonicalize_filename): Use UPCASE instead toupper.
2324 * fakemail.c (get_keyword): Make sure that isspace and
2325 similar aren't called with a negative argument.
2327 2000-12-13 Dave Love <fx@gnu.org>
2329 * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
2331 2000-12-06 Andrew Innes <andrewi@gnu.org>
2333 * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
2334 don't know the real version, and I can't seem to get the quoting
2335 right in all circumstances.
2337 * ebrowse.c (VERSION): Provide default definition, like etags.c
2338 does, because Windows build can't snarf this from version.el.
2340 2000-11-30 Andrew Innes <andrewi@gnu.org>
2342 * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
2345 2000-11-23 Jason Rumney <jasonr@gnu.org>
2347 * makefile.w32-in: Add targets for ebrowse.exe.
2348 (LOCAL_FLAGS): Add -DVERSION flag.
2350 2000-09-25 Dave Love <fx@gnu.org>
2352 * sorted-doc.c: Include config.h.
2353 [!HAVE_STDLIB_H]: Declare malloc.
2355 2000-09-14 Andrew Innes <andrewi@gnu.org>
2357 * makefile.w32-in: Revert to Unix line endings.
2359 2000-09-04 Dave Love <fx@gnu.org>
2361 * movemail.c (index, rindex): Prototype conditionally.
2363 2000-09-03 Andrew Innes <andrewi@gnu.org>
2365 * makefile.w32-in: Change to DOS line endings.
2367 2000-09-01 Eli Zaretskii <eliz@is.elta.co.il>
2369 * movemail.c (toplevel): Remove redundant fcntl.h.
2370 [!F_OK]: Provide default definitions only after including both
2371 fcntl.h and unistd.h.
2373 2000-08-29 Dave Love <fx@gnu.org>
2375 * movemail.c: Revert previous change.
2377 2000-08-29 Eli Zaretskii <eliz@is.elta.co.il>
2379 * Makefile.in (profile, make-docfile, hexl): Depend on config.h.
2381 2000-08-28 Dave Love <fx@gnu.org>
2383 * movemail.c (toplevel) [HAVE_STRING_H]: Include string.h.
2384 (toplevel) [HAVE_STRINGS_H]: Include strings.h.
2386 2000-08-22 Andrew Innes <andrewi@gnu.org>
2388 * ntlib.h (WIN32): Remove unnecessary definition.
2389 (sleep): Make argument unsigned long.
2390 (_WINSOCK_H): Undefine so normal winsock definitions can be used.
2392 * ntlib.c (sleep): Make argument unsigned long.
2394 * movemail.c (main) [WINDOWSNT]: Force binary mode for fileio.
2396 * makefile.w32-in: New file.
2398 2000-08-20 Eli Zaretskii <eliz@is.elta.co.il>
2400 * etags.c (canonicalize_filename) [DOS_NT]: Upcase the first
2401 letter only if it is a drive letter.
2403 2000-07-14 Gerd Moellmann <gerd@gnu.org>
2405 * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
2407 * etags.c (xmalloc, xrealloc): Make externally visible, for use
2410 * Makefile.in (alloca.o): Add -Demacs so that alloca will use xmalloc.
2412 2000-07-10 Gerd Moellmann <gerd@gnu.org>
2414 * ebrowse.c (yylex): Accept string literals with newlines in them.
2415 (process_pp_line): Handle case of string literal with newline
2416 in it in replacement text, which counts as continuing the
2417 replacement text in GNU C.
2419 2000-07-02 Gerd Moellmann <gerd@gnu.org>
2421 * ebrowse.c (token_string): Add missing tokens.
2422 (parm_list): Handle case of qualified pointers.
2424 2000-06-23 Dave Love <fx@gnu.org>
2426 * ebrowse.c: Move config.h before other includes (which may use
2429 2000-06-14 Jim Meyering <meyering@lucent.com>
2431 * grep-changelog: Fix typos in comments. Remove trailing blanks.
2433 2000-06-11 Jason Rumney <jasonr@gnu.org>
2435 * makefile.nt: Add targets for ebrowse.
2437 * ebrowse.c [WINDOWS_NT]: Use stricmp instead of strcasecmp to
2440 2000-06-06 Gerd Moellmann <gerd@gnu.org>
2442 * ebrowse.c (ymalloc): Renamed from xmalloc.
2443 (yrealloc): Renamed from xrealloc.
2445 2000-05-21 Dave Love <fx@gnu.org>
2447 * movemail.c: Include config.h, not ../src/config.h.
2448 (Errmsg): Bump length.
2450 * pop.c (ERROR_MAX): Increase to 160.
2452 2000-05-04 Gerd Moellmann <gerd@gnu.org>
2454 * ebrowse.c (DEFAULT_OUTFILE): Set to `BROWSE'.
2456 2000-05-02 Eli Zaretskii <eliz@is.elta.co.il>
2458 * ebrowse.c (PATH_LIST_SEPARATOR) [__MSDOS__ || WINDOWSNT]:
2459 Define to semi-colon.
2460 (FILENAME_EQ): New macro, for comparing file names.
2461 (add_member_decl, add_global_decl, add_member_defn): Use FILENAME_EQ.
2462 (process_file): Don't assume that fread always reads as many bytes
2463 as it was told to (DOS-style CR-LF text files fail this logic).
2464 (open_file): Allocate enough space for path->path plus the file
2467 2000-04-19 Dave Love <fx@gnu.org>
2469 * etags.c (Texinfo_functions): New function.
2470 (lang_names): Install it.
2471 (Texinfo_suffixes): New variable.
2473 2000-04-19 Gerd Moellmann <gerd@gnu.org>
2475 * ebrowse.c (xmalloc, xrealloc): Rewritten.
2476 (declaration): Remove parameter IS_EXTERN.
2477 (class_definition): Remove unused variable.
2479 2000-04-09 Gerd Moellmann <gerd@gnu.org>
2481 * Makefile.in (INSTALLABLES): Add ebrowse.
2482 (ebrowse): New target.
2484 * ebrowse.c: New file.
2486 2000-03-29 Andreas Schwab <schwab@suse.de>
2488 * make-docfile.c (scan_lisp_file): Also look for `defsubst'.
2490 2000-03-02 Gerd Moellmann <gerd@gnu.org>
2492 * etags.c (lisp_suffixes) Add `LSP'.
2494 2000-02-10 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2496 * etags.c (iswhite): Redefine not to consider '\0' as white
2497 space, and use it throughout in place of isspace, thus preventing a
2498 potential signed char to int conversion problem.
2499 (MSDOS): #undefine befere redefining
2501 2000-02-04 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2503 * etags.c (many functions): Add prototypes.
2505 2000-02-10 Dave Love <fx@gnu.org>
2507 * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
2508 (erlang_func): Add `static' to definitions to keep pcc happy.
2510 2000-01-31 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2512 * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
2513 (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
2514 (etags_strchr, etags_strrchr): Use const char * and int as arguments.
2515 (getenv, getcwd): Only declare them if necessary.
2516 (EMACS_NAME): New constant macro.
2517 (print_version): Use it.
2518 (P_) [__STDC__]: Macro for defining function prototypes.
2520 2000-01-18 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
2522 * etags.c [WINDOWSNT]: #include <direct.h>
2524 2000-01-18 Martin Buchholz <martin@xemacs.org>
2526 * etags.c (all functions): Made them static.
2527 (all functions): Write prototypes.
2529 2000-01-29 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2531 * movemail.c (main): Improve error message if can't create lock file.
2533 2000-01-28 Eric Hanchrow <offby1@blarg.net>
2535 * emacsclient.c (socket_status): New function.
2536 (main): If $LOGNAME or $USER exist and differ from our euid, look
2537 for a socket based on the UID associated with the name.
2539 2000-01-12 Han-Wen Nienhuys <hanwen@cs.uu.nl>
2541 * emacsclient.c: Add option -a EDITOR and environment variable
2542 ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
2544 1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
2546 * movemail.c (popmail): Allow mailbox specifications of the
2547 form `po:username:hostname'.
2549 1999-11-19 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2551 * etags.c (_GNU_SOURCE): Define only if undefined.
2552 (get_scheme): Declaration deleted.
2553 (main): Error was called with an integer as second arg, instead of
2555 (canonicalize_filename): Bug removed.
2557 1999-11-18 Dave Love <d.love@dl.ac.uk>
2559 * etags.c (C_entries): Rename label `intoken', avoiding K&R
2560 lossage from name clash with macro.
2562 1999-11-13 Gerd Moellmann <gerd@gnu.org>
2564 * Makefile.in (b2m): Add dependency on GETOPTDEPS.
2566 1999-11-03 Gerd Moellmann <gerd@gnu.org>
2568 * etags.c (print_help): Change email address to send bugs to.
2570 1999-11-01 Francesco Potort
\e,Al
\e(B <pot@gnu.org>>
2572 * etags.c: Add suffix psw for PSWrap.
2573 (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
2574 (Postscript_functions): Add code for PSWrap.
2575 (Scheme_functions): Use local pointer and new get_tag function.
2576 (get_tag): New name for old get_scheme.
2577 (process_file): Do not free NULL when file does not exist.
2578 (typdef): ttypedefseen renamed to tkeyseen, new label ttypeseen.
2579 (C_entries): Modifications that make --members tag even inside
2580 typedefs and C nested structs (one level only).
2581 (consider_token): Correct a bug which prevented tagging of enum
2583 (C_stab_entry): Add if, for, while, switch, return as
2584 st_C_ignore. This makes it simpler to work when cblev!=0.
2586 * etags.c (C_entries): Tag member function declarations when
2587 --declarations is used.
2589 * etags.c (C_entries, consider_token): C++ `operator' now is
2590 tagged in most cases.
2591 As before, :: is not recognised if surrounded by spaces.
2593 * etags.c (relative_filename): Account for DOS file names such
2594 that is impossible to make one relative to another.
2596 * etags.c (sym_type): New st_C_extern tag.
2597 (gperf input): Use it for spotting external declarations.
2598 (print_help): Document the new behaviour of --declarations.
2599 (fvextern): New global variable.
2600 (consider_token, C_entries): Use it.
2602 * etags.c (HAVE_GETCWD) [WINDOWSNT]: Define if undefined.
2603 (etags_getcwd): Remove test for WINDOWSNT.
2605 * etags.c (process_file) [MSDOS]: If foo.c.gz is not found, try
2606 foo.cgz, foo.cz, etc.
2608 * etags.c (declarations): New global switch.
2609 (longopts): Describe it.
2610 (print_help): Document it.
2611 (C_entries): Use it.
2612 (process_file): Don't process a file twice.
2614 * etags.c (Fortran_functions): No tags for "procedure".
2616 1999-11-01 Eli Zaretskii <eliz@is.elta.co.il>
2618 * etags.c (get_compressor_from_suffix): Second argument EXTPTR, if
2619 non-zero, returns a pointer to where the extension begins; callers
2621 [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
2624 1999-11-01 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2626 * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
2627 (fvdev): New constant foperator.
2628 (consider_token): Use it to get "operator" in C++.
2629 (C_entries): Extend length of operator@ function name.
2630 (C_entries): Use foperator when necessary.
2632 * etags.c (main) [!ETAGS_REGEXPS]: Do not call free_patterns.
2634 * etags.c (compressor): New struct for compressed files.
2635 (get_compressor_from_suffix): New function.
2636 (get_language_from_suffix): Use it. Also, semantics changed.
2637 (process_file): Consider compressed files, close file.
2638 (find_entries): Use different call arg for get_language_from_suffix,
2641 * etags.c (main): Call free_tree.
2642 (find_entries): Do not free curfile.
2643 (pfnote): Cosmetic change: NULL and '\0' where appropriate.
2644 (prolog_pred, erlang_func, substitute): Cast strlen to int when
2646 (canonicalize_filename): Shut up compiler warning.
2647 (Perl_functions): Make tag significant.
2649 1999-11-01 Dave Love <d.love@dl.ac.uk>
2651 * etags.c (longopts, optstring): New option --ignore-case-regex (-c).
2652 (argument_type): New member at_icregexp.
2653 (lc_trans): New global.
2654 (main): Fill lc_trans. Process -c args.
2655 (add_regex): New arg determining whether to use translation table.
2656 (analyse_regex): New arg. Use it for add_regex.
2658 1999-11-01 Francesco Potort
\e,Al
\e(B <pot@gnu.org>
2660 * etags.c (init): Cosmetic change: NULL --> '\0'.
2661 (erlang_attribute): Bug corrected (uninitialized variable).
2662 (filename_is_absolute): New function replaces absolutefn macro and
2663 corrects a bug. All callers changed.
2664 (canonicalize_filename): New function.
2665 (process_file, etags_getcwd, absolute_dirname): Use it.
2666 (relative_filename, absolute_filename): Removed var shadowing.
2667 (C_entries, Pascal_functions): Add fake initializations to keep
2669 (TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
2671 * etags.c (xrnew): New macro. All callers of xrealloc changed.
2672 (language): New typedef (was struct lang_entry).
2673 (curlang): New global variable.
2674 (node): Typedef renamed from NODE.
2675 (linebuffer): New typedef (was struct linebuffer).
2676 (pattern): New typedef (was struct pattern). Some members added.
2677 Now used as element of a linked list.
2678 (patterns, num_patterns): Global variables deleted.
2679 (p_head): New global variable.
2680 (forced_lang): New global variable (replaces lang_func).
2681 (get_language_from_name, get_language_from_interpreter)
2682 (get_language_from_suffix): Semantics changed. All callers changed.
2683 (last_node): New global variable.
2684 (free_tree, add_node, put_entries, total_size_of_entries):
2685 Change name of local vars to avoid clashes with typedef node.
2686 (number_len): Rewritten for elegance.
2687 (token): New typedef replaces TOKEN.
2688 (analyse_regex, add_regex): Rewritten for new functionality.
2689 (free_patterns): New function called from main and add_regex.
2690 (initbuffer, readline_internal, readline, grow_linebuffer):
2691 Change name of local vars to avoid clashes with typedef linebuffer.
2692 (readline): Rewritten for new functionality.
2694 * etags.c (Scheme_suffixes): New suffix ".ss".
2695 (print_help): --globals is now used for more than C-type languages.
2696 (Perl_functions): Tag global variables ("my" and "local").
2698 * etags.c (print_help): Some messages clarified.
2699 (LOOP_ON_INPUT_LINES): New macro.
2700 (just_read_file, Fortran_functions, Asm_labels, Perl_functions)
2701 (Python_functions, Cobol_paragraphs, Pascal_functions)
2702 (Lisp_functions, Postscript_functions, Scheme_functions)
2703 (TeX_functions, Prolog_functions, Erlang_functions): Use it.
2704 (Cobol_paragraphs, Postscript_functions, TeX_functions)
2705 (Prolog_functions, Erlang_functions): Use a local variable instead
2706 of the global variable dbp.
2707 (Pascal_functions, L_isquote, Scheme_functions): Use GNU coding
2708 standard indentation.
2710 * etags.c (Python_suffixes, lang_names, Python_functions):
2712 (skip_spaces, skip_non_spaces): Utility functions.
2713 (find_entries, takeprec, getit, Fortran_functions, Perl_functions)
2714 (Python_functions, L_getit, Lisp_functions, Scheme_functions)
2715 (prolog_pred, erlanf_func, erlang_attribute): Use them.
2716 (eat_white): Deleted.
2718 * etags.c (CHAR, init): Keep into account non US-ASCII
2719 characters and compilers with default signed chars.
2720 (L_getit): Tag "(defstruct (foo", "(defun (operator" and similar
2722 (C_stab_entry): "interface" in Java behaves like "class".
2724 * etags.c (HAVE_NTGUI) [WINDOWSNT]: #undef if HAVE_CONFIG_H.
2725 (main): Put interval syntax here.
2726 (add_regex): And remove it from here.
2728 * etags.c (suggest_asking_for_help): Provide a
2729 meaningful help message with and without LONG_OPTIONS.
2731 * etags.c (<io.h>) [MSDOS]: Include it, don't include string.h.
2732 <stdlib.h, string.h>: Don't test MSDOS when including them.
2733 (white, nonam, endtk): Like elsewhere, use \r instead of \013.
2734 (put_entries): Correctly use %ld instead of %d in printf.
2736 * etags.c (<unistd.h>) [HAVE_UNISTD_H]: Include conditionally, else
2737 declare getcwd if HAVE_GETCWD.
2738 (consider_token): Dead break instruction removed.
2740 1999-10-19 Paul Eggert <eggert@twinsun.com>
2742 Add support for large files. Merge glibc 2.1.2.
2744 * b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c,
2745 * movemail.c, pop.c:
2746 Do not include <stdlib.h>, as <config.h> does this now.
2748 * b2m.c, emacsserver.c, etags.c, profile.c:
2749 Include <config.h> before any system include files.
2751 * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c,
2753 (read, write, open, close): Do not undef.
2755 * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix:
2756 (const): Do not define if HAVE_CONFIG_H; that's config.h's job.
2758 * getopt.h: Adopt glibc 2.1.2.
2760 1999-10-15 Dave Love <fx@gnu.org>
2762 * Makefile.in (pop.o): Depend on config.h.
2764 1999-10-11 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2766 * pop.c: Use "pop3" as the POP service name on all platforms,
2767 instead of using "pop" on Unix and "pop3" on Windows NT. "pop3"
2768 has been the standard service name since RFC 1340 was published in
2769 July 1992, so I think it's safe to start using it by default.
2771 1999-09-27 Dave Love <fx@gnu.org>
2773 * make-docfile.c (scan_lisp_file): Fix typo causing infloop.
2775 1999-09-19 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2777 * make-docfile.c (scan_lisp_file): Fix previous changes;
2778 swallow CRLF like just CR or just LF.
2780 1999-09-03 Richard Stallman <rms@gnu.org>
2782 * make-docfile.c: Include config.h not ../src/config.h.
2783 (main, fopen, chdir): Add #undef.
2784 (read_c_string, scan_c_file, skip_white, read_lisp_symbol)
2785 (scan_lisp_file): Handle \r like \n.
2787 1999-08-30 Andreas Schwab <schwab@gnu.org>
2789 * make-docfile.c, fakemail.c: Include <stdlib.h> if available.
2791 * emacsserver.c: Include <stdlib.h> if available. Don't declare
2792 errno if it's a macro.
2794 * test-distrib.c: Include <unistd.h> if available.
2796 1999-08-29 Richard Stallman <rms@gnu.org>
2798 * emacsclient.c (print_help_and_exit): Mention --version.
2800 1999-08-25 Richard M. Stallman <rms@gnu.org>
2802 * emacsclient.c (decode_options): Update version output.
2803 (print_help_and_exit): Update bug report address.
2805 1999-08-13 Richard M. Stallman <rms@gnu.org>
2807 * emacsclient.c (main): Move the dynamic allocation of
2808 system_name outside of the SERVER_HOME_DIR conditional.
2809 * emacsserver.c (main): Likewise.
2811 1999-08-10 Gerd Moellmann <gerd@gnu.org>
2813 * grep-changelog: New.
2814 * Makefile.in (INSTALLABLE_SCRIPTS): Add it.
2816 1999-07-12 Richard Stallman <rms@gnu.org>
2818 * Version 20.4 released.
2820 1999-06-30 Markus Rost <markus.rost@mathematik.uni-regensburg.de>
2822 * Makefile.in (clean): Remove fns*.el.
2824 1999-06-23 Dave Love <fx@gnu.org>
2826 * etags.c (erlang_attribute): Fix undefined variable usage (after
2829 1999-05-2 Andrew Innes <andrewi@gnu.org>
2831 * movemail.c (main) [WINDOWSNT]: Call ftruncate, which is now
2834 1999-04-29 Richard M. Stallman <rms@gnu.org>
2836 * emacsclient.c (main, both versions): Use quote_file_name on cwd.
2838 1999-03-30 Dave Love <fx@gnu.org>
2840 * sorted-doc.c (main): Split up tables. Modify the preamble
2843 1999-03-05 Geoff Voelker <voelker@cs.washington.edu>
2845 * makefile.nt: Remove common multiple file compilation commands.
2847 1999-02-26 Richard Stallman <rms@gnu.org>
2849 * Version 20.4 released.
2851 * Makefile.in (yow): Depend on epaths.h, not paths.h.
2853 * yow.c: Refer to epaths.h.
2855 1999-02-22 Simon Josefsson <jas@pdc.kth.se>
2857 * emacsserver.c (perror_1, fatal_error): Don't compile unless needed.
2859 1999-01-27 Andrew Innes <andrewi@gnu.org>
2861 * makefile.nt: Do make version comparison as strings.
2863 1999-01-25 Richard Stallman <rms@gnu.org>
2865 * emacsclient.c (xmalloc): Fix previous change.
2867 1999-01-24 Richard M. Stallman <rms@borg.ai.mit.edu>
2869 * emacsclient.c (xmalloc): Declare to return long.
2871 1999-01-22 Geoff Voelker <voelker@cs.washington.edu>
2873 * etags.c (etags_getcwd, absolute_filename) [DOS_NT]: Canonicalize
2874 the case of the drive letter.
2876 1999-01-15 Richard Stallman <rms@psilocin.ai.mit.edu>
2878 * emacsserver.c (main): Eliminate arbitrary limit on
2879 length of system_name.
2881 * emacsclient.c (main): Eliminate arbitrary limit on
2882 length of system_name.
2883 (xmalloc): Define unconditionally.
2885 1999-01-12 Darrin B. Jewell <jewell@mit.edu>
2887 * etags.c (relative_filename): Stop backward search at beginning
2888 of string, since non-Unix systems can have absolute paths with no
2891 1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
2893 * makefile.nt: Do string comparision of _NMAKE_VER.
2895 1998-11-03 Theodore Jump <tjump@cais.com>
2897 * makefile.nt: Compile multiple source files when possible.
2899 1998-10-13 Richard Stallman <rms@psilocin.ai.mit.edu>
2901 * Makefile.in: Replace tabs with spaces
2902 when they might confuse some Make versions.
2904 1998-10-10 Richard Stallman <rms@psilocin.ai.mit.edu>
2906 * emacsclient.c (main): Null-terminate system_name.
2908 * emacsserver.c (main): Null-terminate system_name.
2910 1998-09-21 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2912 * movemail.c (popmail, pop_retr) [MAIL_USE_POP]: When displaying
2913 an error message from POP, mention that it's from POP, to
2914 distinguish it from local error messages.
2916 1998-09-04 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
2918 * movemail.c [MAIL_USE_POP]: Add the "-r" flag to reverse the
2919 order of messages downloaded from a POP server (e.g., if the
2920 server stores messages in mailboxes in reverse order).
2922 1998-08-19 Richard Stallman <rms@psilocin.ai.mit.edu>
2924 * Version 20.3 released.
2926 1998-08-11 Paul Eggert <eggert@twinsun.com>
2928 * rcs2log: Update copyright date and bug report address.
2929 (initialize_fullname): Prefer getent if available.
2931 1998-07-30 Paul Eggert <eggert@twinsun.com>
2933 * Makefile.in (REGEXPDEPS, regex.o):
2934 Prepend $(srcdir)/ to rule dependencies outside this dir.
2936 1998-06-09 Andrew Innes <andrewi@harlequin.co.uk>
2938 * etags.c (etags_getcwd) [WINDOWSNT]: Use getcwd on Windows.
2940 1998-06-06 Richard Stallman <rms@psilocin.ai.mit.edu>
2942 * Makefile.in: Properly terminate a comment.
2944 1998-06-01 Andrew Innes <andrewi@mescaline.gnu.org>
2946 * movemail.c (sys_wait): Rename to wait.
2948 * ntlib.h: Undefine _WINSOCKAPI_.
2950 * makefile.nt (LOCAL_FLAGS): Define HAVE_CONFIG_H.
2952 1998-05-30 Geoff Voelker <voelker@cs.washington.edu>
2954 * ntlib.c (getppid): Look for EM_PARENT_PROCESS_ID.
2956 1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
2958 * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
2959 all file i/o to be in binary mode. Include ntlib.h.
2961 1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
2963 * make-docfile.c: Include <unistd.h> for chdir.
2965 1998-04-25 Richard Stallman <rms@psilocin.gnu.org>
2967 * etags.c (TEX_decode_env): Don't free the value getenv returns.
2969 1998-04-17 Geoff Voelker <voelker@cs.washington.edu>
2971 * makefile.nt (obj): Update with new files in src.
2972 (clean): Delete patch scratch files, optimized compilation dir.
2974 1998-04-08 Dave Love <fx@gnu.org>
2976 * emacsclient.c: Move inclusion of unistd.h to top, else fails on
2979 1998-04-06 Andreas Schwab <schwab@gnu.org>
2982 * movemail.c: Move cancelations up. Include <stdlib.h> if
2984 * fakemail.c (_XOPEN_SOURCE): Define for declaration of cuserid.
2985 (parse_header): Explicitly declare return type.
2986 * emacsserver.c: Include <unistd.h> if available.
2987 (main, handle_signals, perror_1, fatal_error): Explicitly declare
2988 return types. Add forward declarations.
2989 * emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
2990 Don't declare geteuid.
2991 (print_help_and_exit): Change return type to void. Forward
2993 * b2m.c: Include <stdlib.h> if available.
2994 (main): Explicitly declare return type.
2996 1998-04-03 Richard Stallman <rms@delysid.gnu.org>
2998 * etags.c (put_entries): Use %ld.
3000 * b2m.c (fatal): Declare the arg.
3002 1998-04-03 Richard Stallman <rms@psilocin.gnu.org>
3004 * etags.c (put_entries): Use %ld.
3006 * b2m.c (fatal): Declare the arg.
3008 1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
3010 * pop.c (pop_getline): Renamed from getline.
3012 1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
3014 * Makefile.in (install): Use INSTALL_STRIP with INSTALL_PROGRAM
3017 1998-01-23 Dave Love <d.love@dl.ac.uk>
3019 * etags.c (getit, Cobol_paragraphs, Pascal_functions,
3020 Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
3021 Always make named tags.
3022 (Fortran_functions): Grok BLOCK DATA.
3024 1998-01-23 Andreas Schwab <schwab@gnu.org>
3026 * movemail.c (main): Fix interwoven brace and cpp conditional
3029 1997-12-04 Karl Heuer <kwzh@delysid.gnu.org>
3031 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3032 server to contain embedded nulls.
3034 1997-12-03 Paul Eggert <eggert@delysid.gnu.org>
3037 (mbx_write) [MAIL_USE_POP]: Disable the code which quotes with a
3038 '>' any lines starting with "From " read from the POP server, but
3039 leave the code in place, wrapped in #ifdef
3040 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3041 because it turns out that something is depending on it. Change
3042 suggested by Paul Eggert <eggert@twinsun.com>.
3043 Convert the character \037 (^_) at the beginning of a line into
3044 the character '^' followed by the character '_', because otherwise
3045 Emacs can't parse the resulting file as a valid BABYL file.
3046 Change suggested by Paul Eggert <eggert@twinsun.com>.
3048 1997-12-03 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3050 * movemail.c, pop.c, pop.h: Allow messages retrieved from the POP
3051 server to contain embedded nulls.
3053 1997-12-02 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3055 * movemail.c (mbx_write) [MAIL_USE_POP]: Disable the code which
3056 quotes with a '>' any lines starting with "From " read from the
3057 POP server, but leave the code in place, wrapped in #ifdef
3058 MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
3059 because it turns out that something is depending on it. Change
3060 suggested by Paul Eggert <eggert@twinsun.com>.
3062 Convert the character \037 (^_) at the beginning of a line into
3063 the character '^' followed by the character '_', because otherwise
3064 Emacs can't parse the resulting file as a valid BABYL file.
3065 Change suggested by Paul Eggert <eggert@twinsun.com>.
3067 1997-11-22 Richard Stallman <rms@gnu.org>
3069 * b2m.c: Include getopt.h.
3070 (main): Use getopt_long to handle --version and --help.
3072 * Makefile.in (b2m): Define VERSION. Link with $(GETOPTOBJS).
3074 1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3076 * pop.c (fullwrite): Get rid of an extra call to write. Problem
3077 pointed out by Chiaki Ishikawa.
3079 1997-10-16 Dave Love <d.love@dl.ac.uk>
3081 * etags.c (L_getit): Always make named tags so that Emacs
3082 completion on symbols containing `:' etc. works.
3083 (get_scheme): Likewise.
3085 1997-09-24 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3087 * pop.c: Use system header files instead of declaring C-library
3088 functions explicitly.
3090 1997-09-19 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3092 * Version 20.2 released.
3094 1997-09-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3096 * Version 20.1 released.
3098 1997-09-02 Andrew Innes <andrewi@harlequin.co.uk>
3100 * makefile.nt (movemail.exe): Link wsock32.lib before LIBS.
3102 * ntlib.c (getpid): Delete function.
3104 1997-08-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3106 * make-docfile.c (scan_lisp_file): Handle custom-declare-variable.
3108 1997-08-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3110 * emacsclient.c [HAVE_SYSVIPC]: Include errno.h, as in the other case.
3111 (main) [!BSD_SYSTEM]: Fix error message for getcwd failure.
3113 1997-08-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3115 * emacsserver.c (main): Use SOCKLEN_TYPE for fromlen, if it is defined.
3117 1997-08-13 Kazushi (Jam) Marukawa <jam@poboxes.com>
3119 * profile.c (get_time): Cast arg to fprintf.
3121 * hexl.c (main): Use %08lx instead of %08x in printf because the
3122 variable named addresses is long.
3124 1997-08-08 Geoff Voelker <voelker@cs.washington.edu>
3126 * makefile.nt (lisp): Update paths to lisp files that have moved.
3128 1997-08-08 Andrew Innes <andrewi@harlequin.co.uk>
3130 * makefile.nt (ctags.obj): New target.
3131 (etags.obj, getopt.obj, make-docfile.obj): Update dependencies.
3133 * ntlib.h: Add includes.
3134 Undo definitions of crt routines from config.h.
3136 1997-08-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3138 * etags.c (Yacc_suffixes, Asm_suffixes): Add some alternatives.
3140 1997-07-22 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3142 * pop.c: Support auto-configuration of both Kerberos V4 and
3143 Kerberos V5 for movemail, including detection of V4 and V5 header
3144 files and libraries.
3145 Include <string.h> when STDC_HEADERS is defined, to get
3146 declarations of string functions.
3147 [KERBEROS5] (socket_connection): Support the current MIT Kerberos
3148 V5 API rather than the old one.
3149 [KERBEROS] (socket_connection): Change a constant name from
3150 SOCKET_ERROR to POP_SOCKET_ERROR to avoid a namespace conflict
3151 with a constant in a header file.
3153 * Makefile.in: Support auto-configuration of both Kerberos V4 and
3154 Kerberos V5 for movemail, including detection of V4 and V5 header
3155 files and libraries.
3157 1997-07-17 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3159 * fakemail.c [HAVE_UNISTD_H]: Include unistd.h.
3161 * etags.c [HAVE_UNISTD_H]: Include unistd.h.
3163 1997-07-09 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3165 * emacsclient.c [C_ALLOCA] (xmalloc): New function.
3167 1997-07-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3169 * movemail.c (rindex): Add declaration.
3171 1997-07-01 Geoff Voelker <voelker@cs.washington.edu>
3173 * makefile.nt (GETOPTOBJS, GETOPTDEFS, MOVEMAILOBJS): Define.
3174 (movemail.exe): Depend upon and link with getopt files.
3175 (obj): Include new source files.
3176 (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT, WINNT_SUPPORT): Define.
3177 (lisp): Include new and reorganized elisp files.
3179 1997-06-27 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3181 * Makefile.in (blessmail): Find blessmail.el in mail subdirectory.
3183 1997-06-25 Paul Eggert <eggert@twinsun.com>
3185 * rcs2log: Don't assign to $0 in awk; some awks don't allow this.
3187 1997-06-14 Karl Heuer <kwzh@gnu.ai.mit.edu>
3189 * b2m.c (readline): Terminate buffer properly when EOF seen.
3190 Test for valid pointer before dereferencing it.
3192 1997-05-30 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3194 * Makefile.in (etags): Remove -DETAGS_REGEXPS, because now it is
3195 defined inside etags.c if HAVE_CONFIG_H is defined.
3197 1997-05-29 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3199 * etags.c (logical): Type name changed to bool.
3200 (ETAGS_REGEXPS, LONG_OPTIONS) [HAVE_CONFIG_H]: #define them.
3201 (<getopt.h>) [LONG_OPTIONS]: Include conditionally.
3202 (getopt_long) [!LONG_OPTIONS]: Redefine as macro.
3203 (main): Accepted options depend on ETAGS_REGEXPS and LONG_OPTIONS.
3204 (longopts): New long options without short counterpart are
3205 globals, members, no-globals, no-members. Regexp options are now
3206 defined conditionally to ETAGS_REGEXPS.
3207 (print_help): Updated.
3209 1997-05-22 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3211 * etags.c (C_entries): Use "." instead of "::" for Java.
3212 (consider_token): is_func renamed to is_func_or_var.
3213 (C_entries): is_func renamed to funorvar.
3214 (C_entries): Initialise tok.named.
3215 (sym_type, C_stab_entry, consider_token): st_C_ignore is used to
3216 get rid of "import", "package" and "friend".
3217 (fvdef): Renamed from funcdef. Also some constants renamed. All
3219 (C_entries): Make separate tags for variables separated by comma.
3220 (globals, members): New flags.
3221 (main, C_entries): Use them.
3222 (make_C_tag, C_entries): Make tok a global variable.
3224 1997-05-16 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3226 * etags.c (funcdef): New vignore constant.
3227 (consider_token, C_entries): Use it to tag global variables.
3228 (print_help): Update for global variables.
3229 (consider_token, C_entries): Set the len member of token_name.
3230 (prolog_pred): Cleanup according to GNU coding standards.
3231 (Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
3232 (prolog_white, erlang_white): Renamed to eat_white, callers changed.
3234 1997-05-15 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3236 * etags.c (CHARS, CHAR): New constant and macro.
3237 (iswhite, begtoken, intoken, endtoken): Use them.
3238 (notinname, _nin, nonam): New macro, array, string.
3239 (init): Cleanup and init _nin.
3240 (new_pfnote): New function.
3241 (make_C_tag) [traditional_tag_style]: Use it.
3242 (traditional_tag_style): Costant set to TRUE for now.
3244 1997-05-14 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3246 * etags.c (C_entries, Pascal_functions): Cleanup.
3247 (TeX_functions): NULL as a function arg needs a cast.
3248 (Erlang_functions, erlang_func, erlang_attribute): Cleanup.
3250 1997-05-13 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3252 * etags.c (TeX_functions): Cleaned up.
3253 (tex_getit): Removed.
3255 1997-05-13 Paul Eggert <eggert@twinsun.com>
3257 * rcs2log (files): When computing arguments automatically, ignore
3258 non-files within the RCS subdirectory.
3260 1997-05-13 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3262 * etags.c (C_JAVA): New #define.
3263 (Cjava_suffixes): .java is Java.
3264 (Cjava_entries): New function.
3265 (lang_names): Add Java.
3266 (sym_type): Add st_C_javastruct for Java.
3267 (C_stab_entry): Add `extends' and `implements' keywords.
3268 (consider_token, C_entries): Recognise Java structures.
3270 1997-05-12 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3272 * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
3273 (Postscript_suffixes): .ps is Postscript.
3274 (lang_names): Add Postscript.
3275 (Postscript_functions): New function.
3276 (TEX_decode_env): Close minor memory leak.
3277 (just_read_file): Correct the char number of the tag.
3279 1997-05-11 Paul Eggert <eggert@twinsun.com>
3281 * rcs2log (loginFullnameMailaddrs, logins, rlog_options, files):
3282 Don't prepend $nl since this causes some shells to generate the
3283 empty string when IFS is $nl.
3284 (printlogline): Use SOH (octal code 1), not CR, since some
3285 PC-based shells mishandle CR.
3286 (initialize_fullname): Set NIS_PATH to the empty string before invoking
3287 nismatch, in case it's set to some nonstandard value.
3289 1997-05-06 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3291 * pop.c (getline): Don't miss CRLF pairs when the CR and LF are
3292 read in separate blocks.
3294 1997-04-30 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3296 * etags.c [TeX_named_tokens]: Set to FALSE if undefined.
3297 (struct linebuffer): New member `len' is the length of the string.
3298 (find_entries, Pascal_functions, TeX_functions, TEX_getit):
3299 Use it instead of strlen.
3300 (TEX_getit): Declare and define unconditionally as static.
3301 (TeX_functions): Use if instead of #if TeX_named_tokens.
3302 (add_regex): Set RE_INTERVALS flag for regex compilation.
3303 (substitute): Code cleanup.
3304 (readline_internal): Code cleanup, set new member `len'.
3305 (readline): Bug corrected.
3307 1997-04-23 Geoff Voelker <voelker@cs.washington.edu>
3309 * makefile.nt: Change references of windowsnt.h to ms-w32.h.
3310 (obj): Change references of nt*.c files to w32*.c files.
3312 1997-04-15 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3314 * etags.c (xnew): Add support for debugging with chkmalloc.
3315 (error): Use this instead of printf whenever possible.
3316 (main): Only call xnew after having initialised progname.
3317 (substitute): Bad memory corruption error corrected.
3319 1997-04-08 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3321 * etags.c (add_regex): Undo previous change.
3322 (relative_filename): Small memory leak closed.
3323 (absolute_filename): Cleaned up the code, possibly closing a bug.
3324 (absolute_dirname): Always return a newly allocated string.
3326 1997-03-21 Paul Eggert <eggert@twinsun.com>
3328 * rcs2log (files): Ignore files in RCS directory whose names are
3329 of the form ,*, or *_; they are probably RCS lock files.
3330 Also, ignore files named .rcsfreeze.log or .rcsfreeze.ver;
3331 they are used by rcsfreeze.
3333 1997-03-14 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3335 * etags.c (add_regex): Reset *putbuf before using it.
3337 1997-02-23 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3339 * movemail.c (popmail): Remove some unnecessary function
3341 (popmail, pop_retr): Since popmail always passes mbx_write and mbf
3342 into pop_retr, there's no reason to pass in mbx_write, and the
3343 file argument can be declared FILE * explicitly. This fixes a
3344 compilation problem on systems with 64-bit pointers.
3346 1997-02-13 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3348 * movemail.c: Delete duplicate inclusion of fcntl.h
3349 and duplicate #undefs of open, read, write, close.
3351 1997-01-20 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
3353 * movemail.c (main): Do not display "[POP-password]" in the usage
3354 message when movemail is compiled without POP support.
3355 (main, popmail): Add the optional "-p" argument, which causes
3356 movemail to leave mail in the inbox after copying it into the
3359 * Makefile.in (movemail): Link with getopt.
3361 1997-01-20 Paul Eggert <eggert@twinsun.com>
3363 * rcs2log (--help, --version): New options, per GNU coding standards.
3364 (Copyright, Help, Id): New variables, for above.
3365 (rlog): Use -q option with cvs log, to avoid useless chatter.
3367 Treat logs of "Initial revision" (RCS) or "file F was initially added
3368 on branch B." (CVS) as if they said "New file.", for consistency with
3371 1997-01-01 Paul Eggert <eggert@twinsun.com>
3373 * vcdiff (PATH): Add /usr/xpg4/bin,
3374 where XPG4 SCCS hangs out in Solaris 2.5.
3375 (sid1): Don't use bare -r, since XPG4 `get' does not allow it.
3377 1996-12-19 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3379 * etags.c (streq, strneq): Use == NULL rather than !.
3381 1996-12-18 Jonathan I. Kamens <jik@annex-1-slip-jik.cam.ov.com>
3383 * Makefile.in (LIBMAIL): New macro. Conditionally includes -lmail.
3384 (movemail): Use LIBMAIL, to link against -lmail.
3386 * movemail.c: Include maillock.h (conditionally).
3387 Remove a redundant inclusion of <stdio.h>.
3388 (MAIL_USE_MAILLOCK): New macro, conditionally defined.
3389 (main): Add variable spool_name.
3390 Support the usage of maillock and mailunlock to
3391 lock and unlock mailboxes.
3392 (mail_spool_name): New function.
3394 * movemail.c: Fix an uninitialized variable which could cause
3395 movemail to exit with an error status incorrectly on systems which
3396 use lock files rather than a system locking function to lock
3399 1996-12-16 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3401 * pop.c (socket_connection): Free realhost after using it.
3403 1996-12-04 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3405 * etags.c (C_entries): Test tok.valid. This handles some
3406 particular cases involving function declarations that failed.
3408 1996-11-22 Charles Hannum <mycroft@gnu.ai.mit.edu>
3410 * pop.c (socket_connection):
3411 gethostbyname may return a pointer to static data.
3412 krb_realmofhost can clobber it. So copy it.
3414 1996-11-14 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3416 * etags.c (pfnote, fatal, error): Callers using a NULL pointer
3417 must cast it to (char *) because we have no prototypes.
3418 (make_C_tag): Macro deleted, new function.
3419 (C_entries): Calls to make_C_tag macro changed to call function.
3421 1996-11-13 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3423 * etags.c (grow_linebuffer): New function.
3424 (GROW_LINEBUFFER): Macro deleted. All callers changed.
3425 (make_tag): Macro renamed to make_C_tag. All callers changed.
3426 (<stdlib.h>, <string.h>) [STDC_HEADERS]: New #include's.
3427 (Prolog_functions): prolog_skip_comment was called with wrong
3428 number of arguments.
3429 (xrealloc): fatal was called with wrong number of arguments
3431 1996-11-08 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3433 * etags.c (relative_filename): Bug corrected.
3434 (etags_getcwd): Avoid warning of unused variable.
3435 (C_entries, consider_token): Added support for enum labels.
3437 1996-11-03 Paul Eggert <eggert@twinsun.com>
3439 * rcs2log: When processing cvs log output, remove `Attic/' from
3440 repository file names.
3442 1996-10-22 Karl Heuer <kwzh@gnu.ai.mit.edu>
3444 * emacsserver.c: Fix 1996-09-02 change.
3446 1996-10-12 Paul Eggert <eggert@twinsun.com>
3448 * rcs2log (rlog_options): Look for ' option' rather than 'unknown
3449 option', since CVS says 'invalid option'.
3450 (datearg): Use the empty string, not '-d>1970-01-01', to extract all
3451 revisions, since some hosts reject 1970-01-01 when east of UTC.
3454 1996-10-06 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3456 * etags.c (etags_getcwd) [WINDOWSNT]: Convert backslashes to slashes.
3458 1996-10-02 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3460 * etags.c (print_version): Print copyright info.
3462 * etags.c (print_help): Print the bug reporting address.
3463 (main): Use return as the last instruction, instead of exit.
3465 * etags.c (main): Don't open the tags file in cxref mode.
3467 1996-09-29 Dave Love <d.love@dl.ac.uk>
3469 * rcs2log (date): Make default format acceptable to CVS post v1.8
3470 as well as earlier CVSs and RCS.
3472 1996-09-29 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3474 * movemail.c (main): If the lock call fails with EBUSY or
3475 EAGAIN, retry a few times.
3477 1996-09-25 Paul Eggert <eggert@twinsun.com>
3479 * rcs2log (rlog_options): Use $rlog, not rlog, when deciding
3480 whether to append -zLT.
3482 1996-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3484 * fakemail.c: Replaced symbol BSD with BSD_SYSTEM.
3485 * emacsclient.c, movemail.c: Likewise.
3487 1996-09-09 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3489 * emacsclient.c (longopts): Change nowait to no-wait.
3490 (print_help_and_exit): Fix option name; upcase metavars.
3492 1996-09-06 Erik Naggum <erik@naggum.no>
3494 * emacsserver.c (main): Declare `fromlen' as size_t.
3496 1996-09-02 Eli Zaretskii <eliz@is.elta.co.il>
3498 * etags.c (etags_getcwd): Use getcwd if available even if MSDOS.
3500 1996-09-02 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3502 * emacsclient.c (quote_file_name): Quote with &, not \.
3503 Quote `-' only at start of file name. Terminate the value string.
3505 * emacsserver.c: Include signal.h properly;
3506 delete the duplicate includes for it.
3508 * emacsserver.c: On fatal signal, delete socket-file:
3509 * emacsserver.c: Include signal.h.
3510 (xmalloc, fatal, error): New functions.
3511 (delete_socket, handle_signals): New functions.
3512 (progname, socket_name): New variables.
3513 [HAVE_SOCKETS] (main): Call handle_signals; set the new variables.
3515 1996-09-01 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3517 * emacsclient.c (quote_file_name): New function.
3518 (main, both versions): Use quote_file_name.
3519 (decode_options): Don't return a value.
3520 (main, both versions): Use optind.
3521 Don't check for -nowait here.
3523 * emacsclient.c (decode_options): New function.
3524 (main, both versions): Call decode_options.
3525 (print_help_and_exit): New function.
3526 (VERSION): New macro.
3528 * Makefile.in (emacsclient): Link with getopt.
3529 Add -DVERSION so emacsclient knows its version number.
3531 1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
3533 * makefile.nt (lisp): Include dos-nt.elc.
3535 1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3537 * Makefile.in (blessmail): Use $srcdir to find blessmail.el.
3539 1996-08-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3541 * emacsclient.c (both versions): Handle -nowait and --nowait
3542 by sending data to the server.
3544 1996-08-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3546 * Makefile.in (INSTALL_STRIP): New variable.
3547 (${archlibdir}): Use INSTALL_STRIP.
3549 * Makefile.in (MOVE_LIBS): Use conditionals on KERBEROS,
3550 HAVE_LIBKRB, HAVE_LIBDES, HAVE_LIBCOM_ERR to set it up.
3552 * pop.c: Reverse conditional in previous change.
3554 1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
3556 * pop.c: Include des.h krb.h with no dir name if SOLARIS2.
3558 1996-08-24 Paul Eggert <eggert@twinsun.com>
3560 * rcs2log: Use ISO 8601 date format, with time zone appended
3561 if change-log-time-zone-rule is non-nil, instead of
3562 traditional Unix date format.
3564 (datearg): When computing default from ChangeLog, handle ISO format
3565 dates in addition to old-fashioned dates from Emacs 19.31 and earlier.
3566 Don't worry about hh:mm:ss since the resolution is now by day.
3567 Use emtpy datearg, not empty rlog_options, to decide whether to pass
3568 "$datearg" option to $rlog.
3569 (logTZ): New variable, set to TZ specified by change-log-time-zone-rule.
3570 (month_data): Remove `mo'; no longer needed.
3571 (rlog_options): Use -zLT for localltime output, if `rlog' supports it.
3573 Match `revision' line of rlog output more accurately.
3577 1996-08-23 Eli Zaretskii <eliz@is.elta.co.il>
3579 * hexl.c: Include <config.h>, so DOS_NT is defined on MSDOS.
3581 1996-08-11 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3583 * Version 19.33 released.
3585 1996-07-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3587 * Version 19.32 released.
3589 1996-07-23 Andrew Innes <andrewi@harlequin.co.uk>
3591 * etags.c (readline_internal) [DOS_NT]: Don't include CRs when
3592 computing character positions in source files.
3594 1996-07-16 Andrew Innes <andrewi@harlequin.co.uk>
3596 * makefile.nt (clean): Use OBJDIR macro.
3598 1996-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
3600 * cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
3602 1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
3604 * cvtmail.c, sorted-doc.c, yow.c [__GNU_LIBRARY__]: Use <string.h>.
3605 * emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
3606 * etags.c, fakemail.c, profile.c: Declare main as int, not void.
3608 1996-07-15 Andrew Innes <andrewi@harlequin.co.uk>
3610 * ntlib.h: Correct return type of getwd.
3611 * ntlib.c (getwd): Correct return type.
3613 1996-07-02 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3615 * emacsserver.c (main) [HAVE_SOCKETS]: Call rewind before writing
3618 1996-07-01 Andrew Innes <andrewi@harlequin.co.uk>
3620 * makefile.nt: Remove all references to wakeup.
3622 1996-06-28 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3624 * etags.c (C_stab_entry): New keywords for C++ namespace, bool,
3625 explicit, mutable, typename.
3627 1996-06-29 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3629 * emacsclient.c (main) [HAVE_SOCKETS]: Use two separate stdio
3630 streams, one for sending and one for reading the reply.
3632 1996-06-21 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3634 * Makefile.in (timer, timer.o, getdate.o, $(srcdir)/getdate.c)
3635 (wakeup): Target deleted.
3636 (UTILITIES): Delete wakeup and timer.
3638 * wakeup.c, timer.c, getdate.y, getdate.c: Files deleted.
3640 1996-06-11 Geoff Voelker <voelker@cs.washington.edu>
3642 * etags.c (etags_getcwd) [DOS_NT]: Change conditional to MSDOS only.
3643 * makefile.nt (ETAGS_CFLAGS): Define HAVE_GETCWD macro.
3645 1996-06-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
3647 * etags.c (main): Copy cwd when appending slash.
3649 1996-05-25 Karl Heuer <kwzh@gnu.ai.mit.edu>
3651 * Version 19.31 released.
3653 1996-05-17 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3655 * etags.c (CNL_SAVE_DEFINEDEF): Set linecharno for use by readline.
3656 (Pascal_functions): Increase linecharno by the correct number of
3657 chars, inline the GET_NEW_LINE macro and delete its definition.
3659 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3661 * makefile.nt (OBJDIR, BLD): Remove macro definitions.
3663 1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
3665 * makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
3666 (movemail.exe, fakemail.exe): Now built under Win32.o
3668 * ntlib.c: Include ntlib.h.
3669 (nt_sleep): Rename to sleep.
3670 (getwd): Return directory.
3671 (getlogin, cuserid, getuid, setuid, getpwuid, getpass, fchown,
3672 sys_ctime, sys_fopen): New functions.
3674 * ntlib.h: New file.
3676 1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3678 * pop.c (SEND, RECV): Renamed from send, recv.
3679 (pop_open, pop_trash): Make the trash_started code unconditional.
3680 (socket_connection): Delete casts to void.
3682 1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
3684 * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
3687 1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
3689 * fakemail.c [WINDOWSNT]: Include ntlib.h.
3691 * hexl.c [DOSNT]: Include fcntl.h.
3692 [WINDOWSNT]: Include io.h.
3693 (main) [MSDOS]: Change conditional to DOS_NT.
3695 * movemail.c (access, unlink) [WINDOWSNT]: Macros undefined.
3696 (fork, syswait, DISABLE_DIRECT_ACCESS) [WINDOWSNT]: Macros defined.
3697 [WINDOWSNT]: Include locking.h.
3698 (main): Update usage message. Use IS_DIRECTORY_SEP.
3699 (main) [DISABLE_DIRECT_ACCESS]: Don't check access if defined.
3700 (main) [WINDOWSNT]: Invoke locking instead of flock.
3701 (main) [MAIL_USE_SYSTEM_LOCK && WINDOWSNT]: Emulate ftruncate.
3702 (main) [MAIL_USE_POP]: Pass password to popmail if used.
3703 Include winsock.h; don't include unix inet headers.
3704 (popmail): Add password argument and pass it to pop_open.
3705 Open output file in binary mode.
3707 * pop.c [WINDOWSNT]: Include winsock.h and ntlib.h.
3708 Macro SOCKET_ERROR undefined.
3709 Don't declare h_errno.
3710 [!WINDOWSNT]: Define macros recv and send.
3711 [!WINDOWSNT] (POP_SERVICE): Change to pop3.
3712 (pop_open) [WINDOWSNT]: Initialize trash_started.
3713 (have_winsock) [WINDOWSNT]: New variable.
3714 (socket_connection) [WINDOWSNT]: Initialize winsock.
3715 (socket_connection): Use closesocket instead of close.
3716 (getline): Use recv instead of read.
3717 (fullwrite): Use send instead of write.
3718 (pop_trash): Use closesocket instead of close.
3719 (pop_trash) [WINDOWSNT]: Cleanup winsock.
3720 Check if being called recursively by sendline.
3722 * pop.h (struct _popserver): New field trash_started.
3724 * wakeup.c [HAVE_CONFIG_H]: Only include config.h when defined.
3726 1996-04-14 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3728 * hexl.c (main) [DJGPP v2]: Don't change to binary for a tty.
3730 1996-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3732 * etags.c [WINDOWSNT]: Include io.h.
3734 1996-04-10 Geoff Voelker <voelker@cs.washington.edu>
3736 * makefile.nt (CTAGSOBJ): Compile with regexp support.
3738 1996-04-09 Eli Zaretskii <eliz@is.elta.co.il>
3740 * hexl.c [DJGPP v2]: Include io.h.
3741 (main) [DJGPP v2]: Switch standard streams to binary with setmode.
3743 * b2m.c (main) [MSDOS]: Switch standard streams to binary under
3746 1996-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3748 * etags.c (absolute_filename): Use absolutefn.
3750 1996-03-31 Eli Zaretskii <eliz@is.elta.co.il>
3752 * etags.c (absolutefn) [DOS_NT]: Support Novell drives whose drive
3753 letter isn't an alphabetic character.
3754 (main) [DOS_NT]: Use binary mode on redirected `stdout'.
3755 (process_file) [DOS_NT]: Convert all slashes to forward style.
3756 (absolute_filename) [DOS_NT]: Emit error message for relative
3757 paths with a drive letter.
3758 (absolute_filename) [DOS_NT]: Handle absolute pathnames with
3759 DOS/NT drive letters which try to reference the parent of the root.
3760 (absolute_dirname) [DOS_NT]: Convert all slashes to forward style.
3762 1996-03-27 Geoff Voelker <voelker@cs.washington.edu>
3764 * makefile.nt: Change uses of del to $(DEL).
3766 1996-03-22 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3768 * etags.c (just_read_file): Reset lineno and charno on entry.
3770 1996-03-15 Anders Lindgren <andersl@csd.uu.se>
3772 * etags.c: Prolog language totaly rewritten.
3773 (Prolog_functions): Rewritten from scratch.
3774 (skip_comment, prolog_getit): Removed.
3775 (prolog_skip_comment): New function, like old skip_comment.
3776 (prolog_pred, prolog_atom, prolog_white): New functions.
3777 (erlang_func, erlang_attributes): Forward declarations added.
3778 (erlang_atom): Check if backslash ends line inside quoted atom.
3780 1996-03-14 Francesco Potort
\e,Al
\e(B <F.Potorti@cnuce.cnr.it>
3782 * etags.c (absolutefn): DOS_NT version corrected.
3783 (main): Append "/" to the dir name only if not already there.
3784 (print_help): Explain the absolute/relative file name issue.
3786 1996-03-08 Anders Lindgren <andersl@csd.uu.se>
3788 * etags.c: New Languange Erlang added.
3789 (Erlang_functions, erlang_func, erlang_attribute, erlang_atom,
3790 erlang_white): New functions.
3791 (Erlang_suffixes): New suffix list.
3792 (lang_names): Erlang entry added.
3793 (prolog_getit): Accepts headers spanning several lines.
3795 (Prolog_functions): Removed incorrect compensation for
3797 (readline_internal): Zero-terminate last line.
3799 1996-03-20 Mike Long <mike.long@analog.com>
3801 * b2m.c (main): Initialize progname variable before using it.
3802 Quote `username' in From_ header.
3804 1996-03-18 Geoff Voelker <voelker@cs.washington.edu>
3806 * ntlib.c (getpid): New function.
3808 1996-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3810 * emacsclient.c (main, both definitions):
3811 Print a newline for normal termination.
3813 1996-02-21 Noah Friedman <friedman@prep.ai.mit.edu>
3815 * tcp.c (main): Convert port to network byte order.
3817 1996-01-20 Karl Heuer <kwzh@gnu.ai.mit.edu>
3819 * pop.c (pop_retrieve, getline): Avoid type clashes.
3821 1996-01-19 Karl Heuer <kwzh@gnu.ai.mit.edu>
3823 * etags.c (enum sym_type, anonymous enum): Delete final comma.
3825 1996-01-15 Paul Eggert <eggert@twinsun.com>
3827 * rcs2log (initialize_fullname): Add support for NIS+.
3828 (hostname): Fully qualify the default hostname with the domainname
3829 if the hostname lacks a `.'.
3831 1996-01-15 Paul Eggert <eggert@twinsun.com>
3833 * rcs2log (initialize_fullname): Add support for NIS+.
3834 (hostname): Fully qualify the default hostname with the domainname
3835 if the hostname lacks a `.'.
3837 1996-01-10 Karl Heuer <kwzh@gnu.ai.mit.edu>
3839 * etags.c (consider_token): Fix typo in expression.
3841 1996-01-04 Paul Eggert <eggert@twinsun.com>
3843 * etags.c (substitute): Fix spelling in message.
3845 1996-01-03 George V. Reilly <georger@microcrafts.com>
3847 * makefile.nt (etags, ctags): Compile with regexp support.
3848 (make-docfile, wakeup, etags, ctags, hexl): Ensure build
3849 subdirectory exists before compiling.
3851 1996-01-02 Karl Heuer <kwzh@gnu.ai.mit.edu>
3853 * emacsserver.c (main): Do chmod based on existing permission.
3855 1995-12-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3857 * Makefile.in (install): Turn on read/execute permission.
3859 1995-12-03 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3861 * Makefile.in (LIB_STANDARD_LIBSRC): Use this instead of LIB_STANDARD.
3862 (LOADLIBES): Use LIB_STANDARD_LIBSRC.
3864 1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
3866 * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
3868 1995-12-07 Francesco Potort
\e,Al
\e(B <pot@cnuce.cnr.it>
3870 * etags.c (pfnote): Don't make a tag for ctags if there is no name.
3871 (getit, Asm_labels, Perl_functions, Pascal_functions, L_getit,
3872 get_scheme, prolog_getit): Name the tag in ctags mode.
3873 (pfnote): Truncate ctags lines to 50 chars, like it worked once.
3874 (Perl_interpreters): Accept "@PERL@" as an interpreter.
3875 (suggest_asking_for_help): New function.
3876 (main, get_language_from_name): Use suggest_asking_for_help.
3877 (main): Let get_language_from_name make language existence check.
3878 (streq, strneq): Check the arguments #if DEBUG.
3880 1995-12-06 Francesco Potort
\e,Al
\e(B <pot@cnuce.cnr.it>
3882 * etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
3883 (gperf): Added keywords for Objective C and GNU macros.
3884 (sym_type): Added values to account for Objective C and GNU macros.
3885 (begtk): The '@' character can start a token.
3886 (objdef, methodlen, objtag): New variables for Objective C.
3887 (consider_token, C_entries): Added code for Objective C.
3888 (plain_C_suffixes): Add .m and .lm for Objective C.
3889 (Yacc_suffixes): Add .ym for Objective yacc.
3890 (GROW_LINEBUFFER): New macro.
3891 (consider_token, C_entries, Pascal_functions): Use the new macro.
3892 (consider_token): Take one more argument. Caller changed.
3893 (consider_token): Use the hashing function to spot GNU macros.
3894 (C_entries): Consider // as a comment start even in plain C for
3895 the sake of Objective C parsing.
3897 1995-12-04 Francesco Potort
\e,Al
\e(B <pot@cnuce.cnr.it>
3899 * Makefile.in (ctags): Depend on etags only for simplicity;
3900 compile with regexp support enabled.
3902 1995-11-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3904 * Version 19.30 released.
3906 1995-11-22 Geoff Voelker <voelker@cs.washington.edu>
3908 * makefile.nt (DOC, clean): Don't use switches to del not
3909 supported by Windows 95.
3911 1995-11-13 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3913 * Makefile.in (regex.o): Depend on ../src/config.h.
3915 1995-11-12 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3917 * Makefile.in (LIB_STANDARD): Extract this as in src/Makefile.in.
3918 (LOADLIBES): Use LIB_STANDARD.
3920 1995-11-07 Kevin Gallo <kgallo@microsoft.com>
3922 * makefile.nt (DOC): Include strings from w32term.c, w32xfns.c,
3923 w32fns.c, w32faces.c, w32select.c, w32menu.c, w32reg.c; remove
3924 Windows 95 conditional.
3926 1995-11-06 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3928 * etags.c (get_lang_from_name, get_lang_from_interpreter,
3929 get_lang_from_suffix): New functions.
3930 (get_language): Function deleted.
3931 (lang_entry): Two members added to struct.
3932 (lang_names): Reflect the new layout of lang_entry.
3933 (print_language_names, main, find_entries): Use the new functions.
3934 (find_entries): Look at the first line for #! if no language.
3935 (C_entries): Invalidate the token when funcdef is reset.
3936 (Perl_functions): New function.
3937 (lang_suffixes): .pl and .pm are Perl suffixes.
3939 1995-11-02 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3941 * etags.c (lowcase): Use the standard tolower function.
3942 (substitute): Remove some wrong and some useless code related with
3943 escape '\' character in regexp replacement string.
3944 (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
3945 (lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
3946 .bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
3947 .prolog for prolog (.pl removed).
3948 (massage_name, etags_getcwd): Use lowcase instead of tolower.
3949 (C_entries, find_entries): Added comments about memory leakage.
3950 (add_node): Dead code removed.
3952 1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3954 * Makefile.in (getdate.o, movemail.o): Specify -Demacs.
3955 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Delete -Demacs.
3957 1995-08-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3959 * test-distrib.c: Add #undef for open, close, read, write.
3961 1995-08-23 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
3963 * test-distrib.c [HAVE_CONFIG_H]: Include config.h.
3964 [! O_RDONLY]: Define it to zero.
3965 (main): Use O_RDONLY instead of explicit zero.
3967 1995-08-17 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
3969 * etags.c (Pascal_functions): Close comment bug corrected.
3970 (add_node): Correctly compare node file names.
3971 (Pascal_functions): Correctly allocate and free memory for tline.
3972 (pfnote): Put the definition of fp in the innermost block.
3973 (NODE): `named' member removed.
3974 (pfnote, free_tree, put_entries, total_size_of_entries): Do not
3975 use the `named' member, check whether `name' is NULL instead.
3976 (pfnote): `named' argument removed, all callers changed.
3977 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
3978 TeX_functions, TEX_getit, prolog_getit): Useless string allocation
3979 removed from pfnote call, some code cleanup.
3980 (relative_filename): Free temporary space allocated by concat.
3982 1995-08-16 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3984 * Makefile.in (getdate.c): New target.
3985 (getdate.o): Just compile getdate.c.
3987 1995-08-12 Karl Heuer <kwzh@gnu.ai.mit.edu>
3989 * fakemail.c (xrealloc): Change cast to match return type.
3991 1995-08-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3993 * fakemail.c (xmalloc, xrealloc): Use return-type long *.
3995 1995-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
3997 * movemail.c (main): Fix previous change.
3998 Add error check for empty OUTNAME.
4000 1995-08-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4002 * movemail.c (main): Mention lock file name in error message.
4004 1995-07-30 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4006 * profile.c (gettimeofday): New function, defined if necessary.
4008 1995-07-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4010 * Makefile.in: Renamed from Makefile.in.in.
4011 (distclean): Delete Makefile.c, not Makefile.in.
4013 1995-07-17 Michael Shields <shields@tembel.org>
4015 * Makefile.in.in (tags): Synonym for `TAGS'.
4017 1995-07-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4019 * Makefile.in.in (install, maybe-blessmail): Don't cd ..;
4020 configure has already set $(INSTALL) to the proper relative path.
4022 1995-06-27 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4024 * etags.c (plain_C_entries): New function.
4025 (lowcase): New macro.
4026 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4027 (lang_suffixes): New suffix ".pc" for Pro*C files.
4028 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4029 (tail): Look for the end of the token when comparing.
4030 (takeprec): Since now tail behaves differently, use strneq.
4032 1995-07-08 Paul Eggert <eggert@twinsun.com>
4034 * rcs2log (datearg): Separate date from time with comma, not space,
4035 to work around CVS 1.5 bug.
4036 (CVSROOT): Don't abort when unset if repository is absolute.
4038 1995-07-07 Paul Eggert <eggert@twinsun.com>
4040 * rcs-checkin, rcs2log, vcdiff:
4041 Replace `#!/bin/sh' with `#! /bin/sh', for benefit of systems
4042 that interpret `#! /' as a 4-byte magic number.
4044 1995-06-29 Jonathan I. Kamens <jik@cam.ov.com>
4046 * movemail.c (main) [MAIL_USE_POP]: When a user specifies a
4047 mailbox with "po:mailbox", the mailbox is everything after the
4050 1995-06-28 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4052 * emacsserver.c: Make all error messages start with `Error: '.
4053 (fatal_error, perror_1): New functions, use throughout.
4055 1995-06-28 Paul Eggert <eggert@twinsun.com>
4057 * rcs2log (CVSROOT, repository):
4058 Allow remote repositories a la CVS 1.4.
4060 1995-06-27 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4062 * etags.c (plain_C_entries): New function.
4063 (lowcase): New macro.
4064 (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
4065 (lang_suffixes): New suffix ".pc" for Pro*C files.
4066 (consider_token): Don't tag all tokens beginning with DEFUN & Co..
4067 (tail): Look for the end of the token when comparing.
4068 (takeprec): Since now tail behaves differently, use strneq.
4070 1995-06-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4072 * movemail.c (main): Add newline in usage message.
4074 1995-06-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4076 * make-docfile.c (scan_file): Make sure it never looks at filename[-1].
4078 1995-06-21 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4080 * etags.c (find_entries): Rewind before rereading the input file.
4082 1995-06-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4084 * Version 19.29 released.
4086 * make-docfile.c (main) [MSDOS]: Do set _fmode.
4087 This undoes part of the previous change.
4089 1995-06-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4091 * make-docfile.c (main): On MSDOS, don't change stdout
4092 to binary, and insist on an -o option.
4094 1995-06-13 Geoff Voelker <voelker@cs.washington.edu>
4096 * etags.c (process_file,absolute_filename): Handle filenames
4097 starting with a drive letter.
4099 * makefile.nt (install): Copy wakeup.exe properly.
4101 1995-06-08 Karl Heuer <kwzh@gnu.ai.mit.edu>
4103 * make-docfile.c [MSDOS]: #undef chdir.
4105 1995-06-04 Paul Eggert <eggert@twinsun.com>
4107 * rcs2log (output_authors): Allow ':' in time zone,
4108 as per ISO 8601 and RCS 5.6.8 beta.
4110 1995-05-29 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4112 * etags.c (etags_getcwd): Undo the /bin/pwd change. It may raise
4113 compatibility problems.
4115 1995-05-26 Richard Stallman <rms@gnu.ai.mit.edu>
4117 * etags.c (etags_getcwd): Don't use #elif.
4118 Have just one function body.
4120 1995-05-25 Geoff Voelker <voelker@cs.washington.edu>
4122 * makefile.nt (LIBS): Use BASE_LIBS.
4123 (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend
4125 (DOC): Use del instead of rm.
4126 (DOC) [WINDOWS95]: Use DOC.
4127 (clean): Handle MSVC aux files.
4128 (config.h,paths.h): Use $(CP) instead of cp.
4129 (config.h): Use $(CONFIG_H)
4130 (make-docfile.obj): Depend upon config.h.
4133 1995-05-23 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4135 * etags.c (etags_getcwd): Use /bin/pwd instead of pwd because the
4136 former gives the true path even in the presence of simlinks.
4138 1995-05-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4140 * movemail.c (main): Increase lock timeout to five minutes.
4142 1995-05-06 Geoff Voelker <voelker@cs.washington.edu>
4144 * makefile.nt (obj): Use .c files.
4146 1995-05-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4148 * make-docfile.c: Include config.h.
4149 (NO_SHORTNAMES): New definition.
4150 (xmalloc): Return long *.
4152 * etags.c (C_entries): Cast result of xrealloc.
4153 (xmalloc, xrealloc): Declare them to return long *.
4155 * b2m.c (xmalloc, xrealloc): Declare them long *.
4157 * movemail.c (xmalloc): Declare it to return long *.
4159 1995-04-30 Paul Eggert <eggert@twinsun.com>
4161 * rcs2log (datearg): If rlog options are specified explicitly,
4162 omit the implicit '-d>DATE' option.
4163 (repository, rlog): Allow absolute paths to CVS repositories.
4164 Look only at the first line of CVS/Repository.
4166 1995-04-26 Karl Heuer <kwzh@gnu.ai.mit.edu>
4168 * Makefile.in.in (extraclean): Depend on maintainer-clean, not
4171 1995-04-24 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4173 * Makefile.in.in [REGEXP_IN_LIBC] (REGEXPOBJ, REGEXPDEPS):
4174 Alternative (empty) definitions.
4176 1995-04-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4178 * emacsclient.c (main): Add argv[0] to an error message.
4180 1995-04-13 Karl Heuer <kwzh@gnu.ai.mit.edu>
4182 * emacsclient.c (main): Improve error handling.
4183 * cvtmail.c (main, skip_to_lf): Improve error handling.
4184 (sysfail): New function.
4186 * b2m.c (main): Check for trailing ", " before trying to delete it.
4188 1995-04-12 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4190 * Makefile.in.in (all): Build test-distrib and make-docfile.
4192 * make-docfile.c (scan_c_file): At end, restore file name last char
4193 to its original value.
4195 1995-04-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4197 * emacsclient.c, emacsserver.c: Test NO_SOCKETS_IN_FILE_SYSTEM.
4199 1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4201 * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
4202 (alloca.o, regex.o): Use BASE_CFLAGS.
4204 1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4206 * emacsclient.c [Berkeley sockets version] (main): Declare getcwd.
4208 1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
4210 * Makefile.in.in (aixcc, aixcc.c): Targets deleted.
4211 (SOURCES, distclean): Removed obsolete references to aixcc.
4213 1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4215 * aixcc.lex: File deleted--surely obsolete now.
4217 1995-03-23 Paul Eggert <eggert@twinsun.com>
4219 * rcs2log (output_authors): Replace /[/]/ by /[\/]/, for
4220 portability to mawk and nawk.
4222 1995-03-21 Paul Eggert <eggert@twinsun.com>
4224 * rcs2log: Treat -u "login:fullname:mailaddr" as if it were
4225 -u "login<tab>fullname<tab>mailaddr".
4227 1995-03-21 Paul Eggert <eggert@twinsun.com>
4229 * rcs2log: Add -u "login<tab>fullname<tab>mailaddr" option, which
4230 replaces the (now obsolescent) -n login fullname mailaddr option.
4231 Add -R option for recursive rlog.
4232 (AWK): New environment variable (default `awk') for awk program name.
4233 (output_authors, tab, loginFullnameMailaddrs, recursive): New vars.
4234 Quote authors and fullnames correctly.
4235 Don't omit path from repository root when logging CVS files.
4237 1995-03-15 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4239 * emacsclient.c, emacsserver.c: Use BSD sockets whenever available,
4240 even if HAVE_SYSVIPC.
4241 * emacsclient.c (main): Use getcwd if not BSD.
4243 1995-03-13 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4245 * etags.c (process_file): Free (filename) after using it.
4246 (readline_internal): Do not access the char before start of line.
4248 1995-02-22 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4250 * etags.c (C_entries): token_saved removed. Initialise tok.valid and
4251 savetok.valid. Mark token as valid when it is initialised.
4252 (make_tag): Make token only if token is valid and reset validity.
4253 (CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
4254 (TOKEN): Added a new member: valid.
4256 1995-02-15 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4258 * etags.c (C_entries): Bug corrected in xrealloc of token_str.
4259 (main): Do not read twice the last filename in the stdin file list.
4261 1995-02-14 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4263 * etags.c (C_entries): Initialise the new members of TOKEN.
4264 (C_entries): Do not allocate a new space for each token found by
4265 consider_token. Let make_tag do that instead.
4266 (make_tag): Since now TOKEN has memory of where it is taken from,
4267 this new macro substitutes both make_tag_from_new_lb and
4268 make_tag_from_oth_lb. All callers changed.
4269 (TOKEN): Add linepos and buffer members.
4270 (main): Initialise token_str.
4271 (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
4272 (token_str): New global variable used by C_entries.
4274 1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
4276 * Makefile.in.in (maintainer-clean): Renamed from realclean.
4278 1995-02-01 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4280 * etags.c (pfnote): Initialise been_warned in the node.
4281 (C_entries): Removed a speed hack for the sake of clarity.
4283 1995-01-18 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4285 * etags.c (longopts, print_help, main): Use -I as abbreviation
4286 for the --ignore-indentation option.
4287 (main): Do not print an error message for unknown options.
4289 1995-01-12 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4291 * etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
4292 (append_to_tagfile, typedefs, typedefs_and_cplusplus,
4293 constantypedefs, update, vgrind_style, no_warnings,
4294 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
4295 (permit_duplicates): Was a var, now a #define.
4296 (filename_lb): Was global, now local to main.
4297 (main): Open the tag file when in cxref mode.
4298 Use a BUFSIZ size buffer for making the shell commands.
4299 Look at the return value from the system routine.
4300 Exit when cannot open the tag file.
4301 (process_file): Open the file and pass the FILE* to find_entries.
4302 (find_entries): Now void, because does not open the file itself.
4303 (pfnote): Recovering from lack of memory does not work. Removed.
4304 Use savenstr and simplify the code.
4305 (free_tree): Only free the name space if node is named.
4306 (structtag): Now a pointer, not a fixed length array of chars.
4307 (consider_token): Don't take a token as argument. Use savenstr
4308 when saving a tag in structtag. Callers changed.
4309 (TOKEN): Structure changed. Now used only in C_entries.
4310 (TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
4311 (C_entries): nameb and savenameb deleted. Use dinamic allocation.
4312 (pfcnt): Deleted. Users updated.
4313 (getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
4314 TEX_getit, prolog_getit): Use dinamic allocation for storing
4315 the tag instead of a fixed size buffer.
4317 1995-01-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4319 * movemail.c (main): Skip past the colon in inname.
4321 1995-01-10 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4323 * etags.c (pfatal): New function.
4324 (main, etags_getcwd): Use pfatal.
4325 (etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
4327 1995-01-10 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4329 * etags.c (Lang_function): Use void instead to declare the
4330 language functions, because many compilers are buggy.
4331 (etags_getcwd): Fix the previous fix on the #else branch.
4332 (readline_internal): Discard possible \r before \n here.
4333 (C_entries): Do not deal with \r here: undo previous fix.
4335 1995-01-09 Francesco Potort
\e,Al
\e(B (pot@fly)
4337 * b2m.c (concat, xmalloc, xrealloc, readline, xnew): Four new
4338 functions and a macro that allow the program to work on input
4339 lines of whatever length. Copied from etags.c.
4340 (fatal): Print a fatal error message and exit.
4341 (main): Use the new functions. Fixed a bug that made a \037 char
4342 appear at the end of the output.
4344 1995-01-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4346 * etags.c (C_entries): Ignore carriage return at end of line.
4348 1994-12-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4350 * fakemail.c (xmalloc, xrealloc): Add casts.
4351 (add_field): Handle <...> and "..." syntax.
4352 (setup_files, get_keyword): Clean up parens and line breaks.
4353 (args_size): Likewise.
4355 1994-12-21 David J. MacKenzie <djm@geech.gnu.ai.mit.edu>
4357 * yow.c: Include program name in error messages.
4359 1994-12-21 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4361 * make-docfile.c (scan_lisp_file): Handle dynamic doc strings.
4362 (xmalloc, fatal, error): New functions.
4363 (progname): New variable.
4364 (main): Set progname.
4366 1994-12-05 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4368 * emacsclient.c, emacsserver.c [HAVE_SYSVIPC]: Include sys/utsname.h.
4369 (main): If socket/mqueue name is in home dir, add in the host name.
4370 Rename .emacs_server to .emacs-server....
4372 1994-12-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4374 * emacsclient.c [!HAVE_SYSVIPC] (main): Fix error message diction.
4376 1994-11-22 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4378 * etags.c (print_help): Print --regex usage for ctags also.
4379 (main): Use -h in addition to -H as abbreviation for --help.
4381 1994-11-16 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4383 * etags.c [ETAGS_REGEXP]: All the new code that deals with regexps
4384 is compiled if this is defined. The new functions and variables
4385 added #ifdef ETAGS_REGEXP are not listed in this ChangeLog.
4386 [VMS]: All VMS specific code previously contained in
4387 etags-vmslib.c is now included here, modified for dealing with
4388 language and regex options intermixed with filenames.
4389 (header_file): Global variable deleted.
4390 (Lang_Function): New typedef. All language parser functions
4391 changed to this new type.
4392 (string_numeric_p, substr, prestr): Functions deleted.
4393 (readline_internal): Does the job that readline did previously.
4394 (longopts): --language and --regex options added.
4395 (lang_names, lang_extensions, lang_func, print_language_names):
4396 New structures, variables and functions for choosing languages.
4397 (print_help): Help strings updated. Calls print_language_names.
4398 (argument_type, ARGUMENT): Typedefs for dealing with language and
4399 regex options intermixed with filenames.
4400 (main): Changed the way of dealing with arguments on the command
4401 line to deal with language and regex options intermixed with
4403 (get_language, default_C_entries, Cplusplus_entries,
4404 Cstar_entries, Yacc_entries, just_read_file): New functions.
4405 (find_entries): Use the new method for choosing the language.
4406 (Pascal_functions): Allow intermixing of comment styles.
4407 (prolog_getit, skip_comment): Rewritten for speed.
4408 (readline): Rewritten to deal with regexps.
4410 1994-11-16 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4412 * etags.c (<errno.h>): #include added.
4413 (etags_getcwd): Check return value from getcwd.
4415 1994-11-10 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4417 * profile.c (TV1, TV2): Use EMACS_TIME as type.
4418 (get_time): Use EMACS_SUB_TIME.
4420 1994-10-30 Geoff Voelker <voelker@cs.washington.edu>
4422 * ntlib.c: New file.
4423 * makefile.nt: New file.
4425 * make-docfile.c (main) [WINDOWSNT]: Set _fmode and stdout to O_BINARY.
4426 [WINDOWSNT]: Include the NT headers.
4427 (READ_TEXT, READ_BINARY): Test DOS_NT, not MSDOS.
4429 * etags.c (main, etags_getcwd): Test DOS_NT instead of MSDOS.
4430 [WINDOWSNT]: Include some NT headers.
4432 1994-10-24 Jonathan I. Kamens (jik@cam.ov.com)
4434 * pop.c (getline): When a search of already-read input for CRLF
4435 fails, store the fact that we've searched it and don't search it
4436 again after reading more data.
4438 * pop.c (getline): When determining whether or not it's necessary
4439 to grow the input buffer, take into account the null that's stored
4440 at the end of already-read input in the buffer.
4442 1994-10-21 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4444 * etags.c (prestr, substr): Return a logical type.
4445 (consider_token): Comment out "EXFUN". Use "DEFUN" instead of "DEF".
4446 (consider_token): Set funcdef to fignore when a DEFUN is met.
4447 (C_entries): Now we can use Tom Hageman patch for extern "C".
4449 1994-10-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4451 * movemail.c: PopServer renamed to popserver throughout.
4453 1994-10-20 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4455 * etags.c: Don't declare malloc, since we include config.h.
4456 * fakemail.c: Likewise.
4458 1994-10-19 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4460 * movemail.c: Don't declare malloc.
4462 1994-10-19 David J. MacKenzie <djm@duality.gnu.ai.mit.edu>
4464 * rcs-checkin: Use test -r instead of < to check readability, to
4467 1994-10-19 Jonathan I. Kamens (jik@cam.ov.com)
4469 * pop.c: Only include ../src/config.h if HAVE_CONFIG_H is
4470 defined, and if HAVE_CONFIG_H isn't defined, define
4471 MAIL_USE_POP always (so that this file can be included in
4472 other programs besides emacs).
4474 * pop.c: Only declare h_errno if HAVE_H_ERRNO isn't defined or
4475 HAVE_CONFIG_H isn't defined.
4477 * pop.c (find_crlf, getline): Instead of using strstr, use a
4478 custom function for finding CRLF.
4479 (my_strstr): Function deleted.
4481 1994-10-17 Jonathan I. Kamens (jik@cam.ov.com)
4483 * pop.c (getline): Fix a segfault because of passing a
4484 non-null-terminated string into strstr(). Fix from
4485 djm@va.pubnix.com (David J. MacKenzie).
4487 * pop.c: Don't include <string.h> and <strings.h>.
4489 * pop.c: Include <des.h> before <krb.h>, rather than after. They
4490 should be interchangeable, and indeed the inclusion is done in
4491 both orders in various files in the Kerberos 4 library sources,
4492 but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
4493 requires that <des.h> be included first, and I don't see any harm
4494 in changing the order.
4496 * pop.c: Include ../src/config.h, to get HAVE_STRING_H and
4497 STDC_HEADERS, if they're defined. Undef open, read, write and
4498 close after including it.
4500 1994-10-18 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4502 * pop.c: Fix mismatch in conditionals.
4504 * make-docfile.c (main): Don't process one input file twice.
4505 Never use exit code > 1.
4507 * pop.c (open, close, read, write): Add #undefs.
4509 * pop.c: Don't declare malloc, realloc, free.
4510 Include ../src/config.h.
4511 Don't include string.h or strings.h.
4512 Include des.h before krb.h.
4513 Do declare my_strstr.
4514 (getline): Really use my_strstr.
4515 Leave one empty place in server->buffer,
4516 and put a null at the end of the data in it.
4518 1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4520 * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
4521 call kill with pid 0. Handle EINTR when receiving messages.
4523 1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
4525 * Makefile.in.in (regex.o): Use full path to find regex.c.
4527 1994-10-17 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4529 * Makefile.in.in (etags): Add dependency on regex.o, link with it.
4530 (REGEXPOBJ, REGEXPDEPS, regex.o): Target and macros added.
4532 1994-10-12 David J. MacKenzie (djm@duality.gnu.ai.mit.edu)
4534 * Makefile.in.in (DONT_INSTALL): Remove make-path.
4535 (${archlibdir}): Use mkinstalldirs instead.
4537 * movemail.c: Make functions that return nothing void, not
4539 (main): Improve usage message.
4540 (error): Write to stderr, not stdout.
4542 * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
4543 fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
4544 timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
4545 variables and implicitly declared functions.
4547 1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4549 * Makefile.in.in (clean): rm DOC* and *.tab.[ch].
4550 (distclean): Not here.
4552 * Makefile.in.in (libexecdir): Renamed from libdir.
4554 1994-10-11 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4556 * etags.c (C_entries): Name the #define's that are macros.
4558 1994-10-10 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
4560 * emacsserver.c [! SYSVIPC] (main): Fix uses of FD_* macros:
4561 fd_set arg is a pointer, descriptor arg comes first.
4563 1994-09-29 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4565 * etags.c (C_entries): Recognise typedef of ANSI style functions.
4566 (C_entries): Recognise #define inside a struct.
4567 (C_entries): ANSI tells that preprocessor commands do not have to
4568 start on the first column.
4569 (print_help): Documentation corrected for -d and -D.
4570 (white, endtk): ANSI tells the vertical tab is a separator.
4572 1994-09-24 Jonathan I. Kamens (jik@gza-client1.aktis.com)
4574 * Makefile.in.in (MOVE_FLAGS, MOVE_LIBS): New variables.
4575 (pop.o, movemail.o): New targets.
4576 (movemail): Link in pop.o and movemail.o. Use MOVE_LIBS, MOVE_FLAGS.
4578 * pop.c, pop.h: New files.
4580 * movemail.c: Improve POP code, move most of it into a separate file.
4581 (mbx_delimit_end, mbx_delimit_begin): Check for errors.
4582 (mbx_write): Check for errors and for From line.
4583 (pop_retr, popmail): Use subroutines in pop.c to do the real work.
4584 (get_errmsg, multiline, getline, putline, pop_stat, pop_command)
4585 (pop_init): Functions deleted.
4587 1994-09-23 Richard Stallman <rms@churchy.gnu.ai.mit.edu>
4589 * make-path.c (touchy_mkdir): Make dir ugo+rx even if it isn't new.
4590 Rename path to dirname.
4592 1994-09-23 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4594 * Makefile.in.in (UTILITIES):
4595 Remove test-distrib, make-docfile, make-path.
4596 (DONT_INSTALL): New variable--list those files here.
4597 (clean): Delete the files in DONT_INSTALL.
4599 1994-09-20 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4601 * b2m.c (from, labels, data): Use MAX_DATA_LEN as length.
4602 (main): Use fgets, not gets.
4604 1994-09-17 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4606 * timer.c: Don't declare malloc.
4608 1994-09-16 Karl Heuer <kwzh@gnu.ai.mit.edu>
4610 * emacsserver.c (FD_*) [HAVE_SOCKETS & !HAVE_SYSVIPC]: If not already
4611 defined, use simple 32-bit versions of these macros.
4612 (main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
4614 1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4616 * etags.c (etags_getcwd): Use getcwd if available.
4618 1994-09-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4620 * Version 19.27 released.
4622 1994-09-07 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4624 * Version 19.26 released.
4626 1994-08-15 Paul Eggert <eggert@twinsun.com>
4628 * rcs2log: Add support for CVS.
4629 Work with `rlog's that output ISO 8601 dates.
4631 1994-08-09 Lawrence R. Dodd <dodd@roebling.poly.edu>
4633 * rcs2log: Use <> to delimit email address.
4635 1994-08-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4637 * emacsserver.c [SYSV_IPC] (main): Make a separate process
4638 so we can listen for multiple requests.
4640 1994-08-04 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4642 * movemail.c: Include config.h first thing.
4644 1994-08-01 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4646 * emacsserver.c (main): Add casts to avoid warnings.
4648 1994-07-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4650 * Makefile.in.in (${archlibdir}): Compare the proper dir
4651 before installing the scripts.
4653 1994-07-27 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4655 * emacsclient.c (main): New local var progname saves argv[0].
4657 1994-07-26 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4659 * emacsclient.c (main): Don't actually modify argv[0].
4660 Modify a copy instead.
4662 1994-07-25 Richard Stallman <rms@mole.gnu.ai.mit.edu>
4664 * profile.c (reset_watch, get_time): Use EMACS_GET_TIME.
4667 * Makefile.in.in: Add #undef alloca.
4669 1994-07-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4671 * timer.c (xmalloc): New function.
4673 1994-07-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4675 * Makefile.in.in (ALLOCA_CFLAGS): New variable.
4676 (alloca.o): New target.
4678 1994-07-08 Dave Love (d.love@dl.ac.uk)
4680 * etags.c (takeprec): Recognise `character*(*) function'.
4682 1994-07-08 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4684 * etags.c (main): Don't barf on obsolete -t and -T switches.
4685 (main): Print an explicative message when a switch is not known.
4687 1994-06-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4689 * hexl.c: Don't declare exit or perror.
4691 * emacsserver.c (main): Don't declare geteuid.
4692 Don't declare getenv if convex.
4694 1994-06-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4696 * Makefile.in.in (test-distrib): Use ALL_CFLAGS.
4698 1994-06-03 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4700 * etags.c (absolute_filename): Remove infinite loop bug when
4701 accessing files in directories whose name begins with a dot.
4703 1994-06-03 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4705 * etags.c (etags_getcwd): Delete the trailing newline from cwd.
4707 1994-06-01 Morten Welinder (terra@diku.dk)
4709 * yow.c (rootrelativepath) [MSDOS]: Define, expanding to dynamic
4710 location of data directory.
4712 1994-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4714 * Version 19.25 released.
4716 1994-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4718 * Makefile.in.in (distclean): Delete Makefile, Makefile.in, blessmail.
4720 1994-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4722 * Makefile.in.in (blessmail): Don't depend on ../src/emacs.
4724 1994-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4726 * Version 19.24 released.
4728 1994-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4730 * make-docfile.c (write_c_args): Put `default' in upper case.
4732 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4734 * etags.c (etags_getcwd): Cast result of popen.
4735 (popen): Declaration deleted.
4737 1994-05-17 Karl Heuer (kwzh@gnu.ai.mit.edu)
4739 * etags.c [!MSDOS]: Declare popen.
4741 1994-05-17 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4743 * b2m.c (main): Avoid crash if argc is 1.
4745 1994-05-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4747 * Version 19.23 released.
4749 * Makefile.in.in (blessmail): Specify directory for blessmail.el.
4751 1994-05-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4753 * Makefile.in.in (maybe-blessmail): Mention bless-mail is in lib-src.
4755 1994-05-05 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
4757 * Makefile.in.in: Fix out of date comment.
4759 1994-05-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4761 * Makefile.in.in: Put in a separator for where to start cpp procssing.
4762 Move all autoconf substitutions above that point.
4763 Above that point, use Make-style comments.
4764 This goes with changes in ../configure.in.
4766 1994-05-03 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4768 * Makefile.in.in (maybe-blessmail): New target to print the blessmail
4770 (${archlibdir}): Don't do it here. Don't depend on blessmail.
4772 1994-05-02 Karl Heuer (kwzh@gnu.ai.mit.edu)
4774 * Makefile.in.in (${archlibdir}): Be lenient about wc output format.
4776 1994-05-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4778 * Makefile.in.in (${archlibdir}): Don't run blessmail; instead
4779 print advice to run it, if it has anything significant to do.
4780 And only if MOVEMAIL_NEEDS_BLESSING.
4781 (blessmail): Use emacs, not temacs.
4782 (configuration): Renamed from configname.
4784 1994-04-30 Morten Welinder (terra@diku.dk)
4786 * etags.c (find_entries): Treat `*.cpp' as C++ files.
4788 1994-04-30 Morten Welinder (terra@diku.dk)
4790 * etags.c [MSDOS]: #include <sys/param.h> for the following.
4791 [MSDOS] (etags_getcwd): Define simple MSDOS version without spawning
4794 1994-04-29 Morten Welinder (terra@diku.dk)
4796 * hexl.c [MSDOS]: Don't define proto type for exit.
4798 1994-04-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4800 * b2m.c: Don't include string.h or strings.h.
4802 1994-04-27 Karl Heuer (kwzh@gnu.ai.mit.edu)
4804 * Makefile.in.in: C_SWITCH_SYSTEM and C_SWITCH_MACHINE are now cpp
4805 symbols, not make variables.
4807 1994-04-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4809 * Makefile.in.in (etags, ctags): Make VERSION a string constant.
4810 * etags.c (print_version): Print VERSION as a string.
4812 1994-04-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4814 * fakemail.c (readline): Fix updating of p when buffer grows.
4816 1994-04-20 Karl Heuer (kwzh@gnu.ai.mit.edu)
4818 * Makefile.in.in (blessmail): New target.
4819 ${archlibdir}: Use blessmail when installing movemail.
4821 1994-04-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4823 * fakemail.c (readline): When extending the buffer,
4824 calculate end afresh using the new size.
4826 1994-04-18 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4828 * etags.c (main, print_help): Eliminate the -F option.
4830 1994-04-18 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4832 * etags.c (absolute_filename): Compare against '\0' instead of NULL.
4834 1994-04-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4836 * Makefile.in.in: Renamed from Makefile.in.
4837 Makefile.in is now generated from it, and then preprocessed.
4838 Change comments to C syntax.
4840 (LIBS_SYSTEM, LIBS_MACHINE): Define as empty if not defined.
4841 (LOADLIBES): Define from LIBS_SYSTEM and LIBS_MACHINE.
4843 1994-04-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4845 * movemail.c [HAVE_UNISTD_H]: Include unistd.h.
4847 1994-04-12 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4849 * etags.c (etags_getcwd): Initialize bufsize.
4851 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4853 * profile.c (gettimeofday): If system doesn't have this, define it
4854 to give a fatal error.
4856 1994-04-11 Karl Heuer (kwzh@gnu.ai.mit.edu)
4858 * movemail.c (main): Use setuid, not seteuid.
4860 1994-04-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4862 * etags.c: #undef static.
4864 1994-04-08 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4866 * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
4867 (PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
4868 (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
4869 Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
4870 TeX_functions, Prolog_functions.
4871 (inf): No more a global variable.
4872 (C_entries): Take 2nd parameter `inf' instead of using the global one.
4873 (find_entries): Added the cp1 var for optimisation.
4874 (find_entries): Added more suffixes for assembler files.
4875 (Asm_funcs): Now finds labels even without an ending colon.
4877 1994-03-30 Francesco Potort
\e,Al
\e(B (pot@fly.cnuce.cnr.it)
4879 * etags.c (main): Use etags_getcwd for compatibility.
4880 (etags_getcwd): New function.
4882 1994-03-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4884 * Makefile.in (etags, ctags): Pass -D for VERSION.
4886 1994-03-25 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4888 * etags.c (emacs_tags_format, ETAGS): Removed. Use CTAGS instead.
4889 (main): Don't allow the use of -t and -T in etags mode.
4890 (print_help): Don't show options enabled by default.
4891 (print_version): Show the emacs version number if VERSION is #defined.
4892 (find_entries): Add "ss" as suffix for Chez Scheme.
4894 1994-03-23 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4896 * etags.c (cwd, outfiledir): Vars added.
4897 (relative_filename, absolute_filename, absolute_dirname):
4898 functions added to compute filenames in tags files.
4899 (process_file): Filenames in tags file are relative to the
4900 directory where the tags file is (useful with the -o option).
4901 (main): Initialise the outfiledir var.
4902 (TYPEDST): Added the `tignore' value.
4903 (C_entries): Corrected various small bugs.
4905 1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4907 * Makefile.in (UTILITIES): `env' deleted.
4908 (env): Target deleted.
4909 * env.c: File deleted.
4911 1994-03-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4913 * Makefile.in (install, ${archlibdir}): Switch back to ..
4914 before running INSTALL_PROGRAM.
4916 1994-03-14 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4918 * etags.c (TYPEDST): Added the `tignore' value.
4919 (C_entries): Corrected various bugs, now correctly parses the
4920 `extern "C" {' construction (patch by Tom R.Hageman).
4922 1994-03-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4924 * b2m.c: Use <...> to include config.h.
4925 Don't include stdlib.h.
4927 1994-03-03 Heiko Muenkel (muenkel@tnt.uni-hannover.de)
4929 * b2m.c (main): Change delimiter from "^L" to "^_^L".
4930 Allow for text following "BABYL OPTIONS:".
4931 Add --help option. Use argv[0] in error messages.
4933 1994-03-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4935 * emacsclient.c (main) [HAVE_SYSVIPC]:
4936 Make msgp->mtext longer if necessary.
4937 On HPUX, error if it's more than 512 chars.
4939 1994-02-26 David J. MacKenzie (djm@geech.gnu.ai.mit.edu)
4941 * etags-vmslib.c: Use GPL.
4942 * emacstool.c: Use GPL.
4943 * fakemail.c: Update GPL.
4945 * make-path.c (main): Return 1 on error, not -1.
4948 * cvtmail.c: Declare malloc, realloc, xmalloc, xrealloc, getenv.
4949 (xmalloc, xrealloc): Return char *, not int.
4950 (error): Write to stderr, not stdout.
4953 1994-02-23 Karl Heuer (kwzh@gnu.ai.mit.edu)
4955 * profile.c (main, get_time): Don't crash on invalid input.
4957 1994-02-22 Karl Heuer (kwzh@gnu.ai.mit.edu)
4959 * profile.c (get_time): Simplify; avoid calling index.
4960 (main): Exit on EOF.
4962 1994-02-17 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
4964 * etags.c (--absolute-pathnames): Option removed.
4966 1994-02-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4968 * fakemail.c (put_line): Don't break the line if it all fits.
4970 1994-02-14 Francesco Potort
\e,Al
\e(B (pot@fly)
4972 * etags.c (absolute_pathnames, cwd): Added global vars.
4973 (longopts, print_help, main, process_file): Put absolute filenames
4974 in the tag file if the -A --absolute-pathnames option is used.
4975 (print_help): Alfabetically order the options.
4976 (malloc, realloc, strcpy, strncpy, strcmp): Remove extern declar.
4978 1994-02-09 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4980 * Makefile.in (C_SWITCH_MACHINE): Get this from autoconf.
4981 (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use C_SWITCH_MACHINE.
4983 1994-02-07 Christian Lynbech (lynbech@avignon)
4985 * emacsserver.c (main) [HAVE_SYSVIPC]: Reverse test of fork value.
4987 1994-02-04 Richard Stallman (rms@mole.gnu.ai.mit.edu)
4989 * Makefile.in (UTILITIES): Mention profile.
4990 (profile): New target.
4992 * profile.c: New file.
4994 1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
4996 * make-docfile.c: Make the argument list output look more like the
4998 (write_c_args): Take new arg FUNC. Make output
4999 look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
5000 (scan_c_file): Pass BUF to write_c_args for FUNC arg.
5002 1994-01-14 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5004 * etags.c (stab_entry, stab_create, stab_find, stab_search,
5005 stab_type, add_keyword, C_reate_stab, C_create_stabs): Deleted.
5006 Use gperf generated hash table instead of linked list.
5007 (C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
5008 Mostly code generated by gperf.
5009 (consider_token): Removed unused parameter `lp'.
5010 (PF_funcs, getit): Allow subroutine and similar declarations
5011 to span multiple lines.
5012 (C_entries): Check for newline if inchar to avoid bus errors.
5013 (process_file, find_entries): Distinguish among nonexistent
5014 and not regular file.
5016 1994-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5018 * timer.c: Include errno.h; don't include fasync.h.
5019 (schedule): Don't return a value.
5020 (sigcatch): Reestablish the handler first.
5021 (getevent): Always call notify at the end.
5022 (notify): Defer alarms around the whole body of function.
5024 1994-01-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5026 * timer.c (main): Don't request SIGIO, and don't handle it.
5027 Loop calling getevent.
5028 (sigcatch): Delete code to handle SIGIO.
5029 if defer_alarms is set, don't call notify, just set alarm_deferred.
5030 (getevent): Use read, not getchar. Handle EINTR and EAGAIN.
5031 Set defer_alarms around realloc and schedule.
5032 If alarm_deferred gets set, call notify.
5033 Likewise if this event is the only pending event.
5034 Make buf and buf_size global variables.
5035 Don't malloc buf if it is already non-zero.
5036 (schedule): Just exit if run out of memory.
5037 Return the number of events.
5038 (signal) [_CX_UX]: Add #undef.
5040 1994-01-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5042 * timer.c [USG] (SIGIO): Define as SIGPOLL.
5043 (main) [USG]: Do ioctl to enable SIGPOLL.
5045 1994-01-08 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5047 * timer.c: Don't declare sys_errlist; declare strerror instead.
5048 (schedule, main): Call strerror instead of using sys_errlist.
5049 * movemail.c (get_errmsg, pfatal_with_name, pfatal_and_delete):
5050 Call strerror instead of using sys_errlist.
5051 * env.c (main): Call strerror instead of using sys_errlist.
5052 * emacsclient.c: Don't declare sys_errlist; declare strerror instead.
5053 (main): Call strerror instead of using sys_errlist.
5054 * emacsclient.c [! HAVE_STRERROR] (strerror): Define the function.
5055 * env.c [! HAVE_STRERROR] (strerror): Likewise.
5056 * timer.c [! HAVE_STRERROR] (strerror): Likewise.
5057 * movemail.c [! HAVE_STRERROR] (strerror): Likewise.
5059 1994-01-05 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5061 * hexl.c: Fix up whitespace. Get rid of spurious casts to void.
5063 * movemail.c (malloc): Don't declare it.
5064 (xmalloc): Cast result of malloc.
5065 (strcpy): Don't declare it.
5067 1993-11-14 Morten Welinder (terra@diku.dk)
5069 * hexl.c [MSDOS]: Use binary file modes for non-text side of pipe.
5070 (main): Use fclose to close file opened by fopen.
5072 * fakemail.c (main) [MSDOS]: Dummy stub just to make the file compile.
5074 * movemail.c [MSDOS]: #undef `access'.
5076 * b2m.c (main) [MSDOS]: Open all files as binary.
5077 * etags.c (main) [MSDOS]: Open all files as binary.
5079 * make-docfile.c [MSDOS]: Use text/binary mode as appropriate.
5080 (scan_c_file, scan_lisp_file): Extra parameter for the mode to open
5083 1994-01-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5085 * Makefile.in (ALL_CFLAGS): Include LDFLAGS.
5086 Use ALL_CFLAGS in all the rules that compile and link with one cmd.
5087 (LINK_CFLAGS): New variable.
5088 (timer): Use LINK_CFLAGS.
5090 1993-12-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5092 * movemail.c: Include syswait.h.
5093 Fork a subprocess and use it to copy the mail file.
5095 1993-12-07 Richard Stallman (rms@srarc2)
5097 * make-docfile.c (scan_lisp_file): Don't add newline at end of string.
5099 1993-12-04 Richard Stallman (rms@srarc2)
5101 * movemail.c (main): When making tempname, cast result of xmalloc.
5102 Include room for EXXXXXX in the size.
5103 Don't use result of strcpy.
5105 1993-12-03 Paul Eggert (eggert@twinsun.com)
5107 * vcdiff: Add --brief option.
5109 1993-12-02 Richard Stallman (rms@srarc2)
5111 * Makefile.in (${archlibdir}, install): Use $(INSTALL_PROGRAM)
5112 for all executables and scripts.
5114 1993-11-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5116 * Version 19.22 released.
5118 1993-11-26 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5120 * Makefile.in (mostlyclean): Make it distinct from clean.
5122 1993-11-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5124 * Makefile.in (${archlibdir}): Don't do chown or chgrp.
5126 1993-11-16 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5128 * Version 19.21 released.
5130 * Makefile.in (install): Don't change mode or group when installing.
5132 * etags.c (FUNCST, TYPEDST, STRUCTST, DEFINEST): Delete excess commas.
5134 1993-11-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5136 * make-docfile.c (read_c_string): For "", concatenate the two strings.
5138 * movemail.c (main): Fix error message text.
5140 1993-11-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5142 * Version 19.20 released.
5144 1993-11-08 Tom Hageman (tom@basil.icce.rug.nl)
5146 * etags.c (C_entries): Keep track of ()-parenthesis level so that
5147 functions returning a pointer to a function, a la `signal', can be
5148 parsed. This also required new state `fstartlist' to `FUNCST'.
5149 (SAVE_TOKEN, RESTORE_TOKEN, TOKEN_SAVED_P): 1-deep token save stack.
5150 (C_entries, CNL): Use it to isolate preprocessor directive processing
5151 from the other state engines.
5152 (begtk): Add '~', for C++ class destructors.
5154 1993-11-02 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5156 * etags.c (consider_token): Removed unused variable firsttok.
5157 (prolog_getit): Call pfnote with the right number of arguments.
5159 1993-10-19 Paul Eggert (eggert@twinsun.com)
5161 * rcs2log (printlogline): Don't generate lines containing only
5164 1993-10-04 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5166 * Makefile.in (${archlibdir}):
5167 Install ${SCRIPTS} from ${srcdir}, not cwd.
5169 1993-10-03 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5171 * Makefile.in: Fixed typos or brainos of whoever thought `@' was
5172 the comment character.
5174 1993-10-01 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5176 * etags.c (process_file): Dead code removed.
5177 (S_ISREG): #define it using S_IFREG if not defined.
5178 (process_file): Regular files have nothing to do with symlinks.
5180 1993-09-28 Brian Fox (bfox@ai.mit.edu)
5182 * Makefile.in (${archlibdir}): Install ${SCRIPTS} from ${srcdir}, not
5183 from current directory. Only chmod and chgrp files that we
5184 installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
5186 (INSTALLFLAGS): Deleted definition, since it is an unused variable
5189 1993-09-27 Brian Fox (bfox@ai.mit.edu)
5191 * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
5192 configure figure out the correct values for these variables.
5194 1993-09-14 Brian Fox (bfox@ai.mit.edu)
5196 * Makefile.in (archlibdir): Only install execuatables internally
5197 used by emacs; don't install bindir binaries here.
5199 1993-09-24 Paul Eggert (eggert@twinsun.com)
5201 * rcs2log: Add -h, -n, -r options.
5202 By default, look for *,v files as well as RCS/*,v files.
5203 Use $TMPDIR (default /tmp) instead of /tmp.
5205 1993-09-20 Francesco Potort
\e,Al
\e(B (pot@fly)
5207 * etags.c (C_entries): is_func is initialised here instead of in
5208 consider_token for the sake of the yacc rules section.
5209 (C_entries): Now class, struct, enum, union and typedef produce
5212 1993-09-11 Roland McGrath (roland@baalperazim.gnu.ai.mit.edu)
5214 * yow.c: Include <src/paths.h>, instead of "src/paths.h".
5216 1993-09-10 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5218 * Makefile.in: Support configuring in a different directory when
5219 ${srcdir} has already been configured.
5220 (ALL_CFLAGS, CPP_CFLAGS): Put -I. -I../src before -I${srcdir}
5222 (b2m, movemail, fakemail, env, emacsserver, emacsclient,
5223 getdate.o, timer.o, timer): Remove `-I${srcdir}/../src', since it
5224 is already in CPP_FLAGS.
5225 * etags.c, emacsclient.c, wakeup.c, timer.c, b2m.c, fakemail.c,
5226 movemail.c, emacsserver.c: Include <config.h> instead of "config.h".
5228 1993-08-25 Paul Eggert (eggert@twinsun.com)
5230 * rcs2log: Change /{/ to /\{/ for Posix ERE compatibility;
5231 otherwise, HP awk complains.
5233 * vcdiff: Append /usr/ccs/bin and /usr/sccs to PATH, since these
5234 are common hangouts for SCCS commands.
5236 1993-08-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5238 * Version 19.19 released.
5240 1993-08-12 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5242 * Makefile.in (make-path): Dep on config.h.
5244 1993-08-11 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5246 * b2m.c (TRUE, FALSE): Don't define if already defined.
5248 1993-08-09 Paul Eggert (eggert@twinsun.com)
5250 * rcs2log (awkscript):
5251 Some sites put comma-separated junk after the fullname.
5252 Remove it, but leave "Bill Gates, Jr" alone.
5253 Remove the junk from fullnames like "0000-Admin(0000)".
5255 1993-08-08 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5257 * Version 19.18 released.
5259 1993-08-04 Francesco Potort
\e,Al
\e(B (pot@spiff.gnu.ai.mit.edu)
5261 * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
5262 (L_funcs): The (foo::defmumble stuff now should work.
5263 (consider_token): Function returned random value--corrected.
5264 (C_entries): Corrected == versus = typo.
5266 1993-08-01 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5268 * etags.c (put_entries): For NODE->rewritten, put pattern before
5269 \177 and name after, not vice versa.
5271 1993-08-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5273 * timer.c (main): Generate a SIGIO as soon as we've initialized.
5275 1993-07-30 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5277 * etags.c (FINCST): Added the fignore status. Means we are
5278 after the parameter list and before the open curly brace.
5279 Allows correct parsing of C++ constructors.
5280 (C_entries, consider_token): Make use of fignore.
5281 (consider_token): Reset funcdef when next_token_is_func: when in
5282 ctags mode makes DEFVAR and others work better.
5283 (L_isquote): Function that recognises the "(quote" string.
5284 (L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
5286 1993-07-29 Paul Eggert (eggert@twinsun.com)
5288 * rcs-checkin: Don't check whether a file is readable until we have
5289 decided not to ignore it.
5291 1993-07-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5293 * Makefile.in (etags): Depend on ../src/config.h.
5295 * emacsserver.c: Include types.h before file.h.
5297 1993-07-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5299 * Makefile.in (install): Use .n, not .new, for temporary filenames.
5301 1993-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5303 * Version 19.17 released.
5305 1993-07-15 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5307 * etags.c (print_help): Break up the very long strings containing
5308 the help message into shorter strings, to placate chintzy C
5309 compilers which can't handle strings that long.
5311 * wakeup.c: Use CPP tangle from autoconf manual to #include the
5312 correct combination of <time.h> and <sys/time.h>.
5314 1993-07-08 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5316 * etags.c (alloca): Removed all references to it.
5317 (main): Now calls xnew instead of alloca for portability.
5318 (../src/config.h): Included only if HAVE_CONFIG_H.
5319 (const): Void definition removed--config.h takes care of it.
5321 1993-07-08 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5323 * etags.c (consider_token): Was `==', now is `='.
5324 (consider_token): DEFUNs now treated like funcs in ctags mode.
5326 * etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
5327 (C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
5328 (C_entries): Removed a piece of useless code.
5329 (C_entries): Making typedef tags is delayed until a semicolon
5330 is met. This handles "typedef int X, Y, Z;" correctly.
5332 1993-07-06 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5334 * Version 19.16 released.
5336 * b2m.c: #include <sys/types.h>.
5337 (ltoday): Declare this to be time_t.
5339 1993-06-30 Paul Eggert (eggert@twinsun.com)
5341 * vcdiff: Add -q option.
5343 1993-06-29 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5345 * etags.c: #include "config.h" and the alloca CPP tangle before
5346 #including the system headers and getopt.h. AIX requires the
5347 #pragma to come before any actual C code.
5349 1993-06-21 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5351 * Makefile.in (ctags): Depend on etags, so that parallel makes
5352 don't write etags.o files on top of each other.
5354 1993-06-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5356 * version 19.15 released.
5358 1993-06-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5360 * etags.c (add_node): Move var last_node to file scope.
5362 1993-06-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5364 * Version 19.14 released.
5366 1993-06-16 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5368 Bring mumbleclean targets into conformance with GNU coding standards.
5369 * Makefile.in (distclean): Call clean to do most of the work.
5370 Delete aixcc.c and TAGS.
5371 (realclean): Just call distclean.
5373 * Makefile.in: Remember, spaces are not tabs.
5375 1993-06-13 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5377 * Makefile.in (CPP_CFLAGS): New variable.
5378 Use it instead of ALL_CFLAGS when compiling a .c file.
5379 (getopt.o, getopt1.o): Add explicit compilation commands.
5381 1993-06-10 Mark D. Baushke (mdb@cisco.com)
5383 * etags.c: Reinstate old -f option as an alias for -o for
5384 installed base uses.
5386 1993-06-09 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5388 * emacsserver.c (main): When we're passing a `struct sockaddr_un'
5389 to bind or accept, cast the pointer, to avoid warnings on systems
5390 which declare prototypes for this.
5391 * emacsclient.c (main): Same.
5393 * Makefile.in (YACC): New variable, to be set by top-level Makefile.
5395 1993-06-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5397 * Version 19.13 released.
5399 * wakeup.c: Include sys/types.h, too; I think that's where time_t
5400 comes from, not sys/time.h.
5402 1993-06-02 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5404 * wakeup.c: Include sys/time.h.
5406 * etags.c: #undef static.
5408 * Version 19.12 released.
5410 * Makefile.in (all): Exclude INSTALLABLE_SCRIPTS and SCRIPTS from deps.
5412 1993-06-01 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5414 * Version 19.11 released.
5416 * timer.c [LINUX]: #undef signal.
5417 * emacsserver.c: #undef signal.
5419 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5421 * wakeup.c (main): Make when a time_t.
5423 1993-05-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5425 * Makefile.in (${archlibdir}): Use `(cd foo && pwd)' instead of
5426 `(cd foo ; pwd)' to get the canonical name of a directory; cd
5427 might fail, and have pwd print out the current directory.
5429 * movemail.c [MAIL_USE_POP] (main): Don't use non-portable
5430 string-handling functions.
5432 1993-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5434 * Version 19.10 released.
5436 1993-05-29 Paul Eggert (eggert@twinsun.com)
5438 * rcs2log: When given no file arguments, inspect RCS/.* as well
5439 as RCS/*. Don't report an error if RCS is empty or nonexistent.
5441 1993-05-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5443 * Makefile.in (timer): Link with $(LOADLIBES).
5445 1993-05-28 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5447 * fakemail.c (put_line): Don't output \n\t unless more text follows.
5449 1993-05-28 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5451 * etags.c: Replace the CPP tangle for alloca with the one from the
5452 autoconf documentation, since that's working elsewhere.
5454 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5456 * Makefile.in (ALL_CFLAGS): Add "-I.", so the system and machine
5457 description files can find their ancestors.
5459 1993-05-27 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5461 * Makefile.in (install): Get the scripts from ${srcdir},
5462 unlike the executables.
5463 (ALL_CFLAGS): Add -I../src
5465 1993-05-27 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5467 * Version 19.9 released.
5469 1993-05-26 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5471 * Makefile.in (install): Do install the programs listed in
5472 INSTALLABLE_SCRIPTS. Make the renaming loop use INSTALLABLES and
5473 INSTALLABLE_SCRIPTS, instead of writing the programs out.
5475 * Makefile.in (ALL_CFLAGS): Include -I${srcdir}.
5476 (getopt.o, getopt1.c): Use ${srcdir} as appropriate.
5478 1993-05-25 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5480 * etags.c: Include ../src/config.h.
5482 * Makefile.in (install): Don't handle INSTALLABLE_SCRIPTS
5483 in first loop. Delete files from bindir before installing new ones.
5484 (ALL_CFLAGS): Use ${srcdir} to find .../src dir.
5486 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5488 * Version 19.8 released.
5490 * make-docfile.c: Doc fix.
5492 1993-05-24 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5494 * tcp.c: Fix comment syntax at top of file.
5495 (main): Don't call htons with the port number.
5497 1993-05-24 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5499 * Makefile.in (timer.o, sorted-doc.c): Link with alloca.o, if it's
5502 * Makefile.in (install): Refer to the variables INSTALLABLES and
5503 INSTALLABLE_SCRIPTS, instead of writing them out.
5505 1993-05-23 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5507 * make-path.c (main): Return 0.
5509 1993-05-22 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5511 * Version 19.7 released.
5513 1993-05-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5515 * make-docfile.c (scan_lisp_file): Recognize defalias like fset.
5517 1993-05-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5521 1993-05-18 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5523 * Makefile.in (.c.o): Make the rule start with a tab, not spaces.
5525 1993-05-15 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5527 * timer.c (notify): Don't call sighold or sigrelse; they're USG
5528 only. We should really fix this later, but let's just make it
5531 Install patches from David J. Mackenzie to make the srcdir option
5533 * Makefile.in (srcdir, VPATH): Get this value from the top-level
5535 (INSTALLABLES): Split this into two lists - INSTALLABLES and
5536 INSTALLABLE_SCRIPTS.
5537 (INSTALLABLE_SCRIPTS): New list.
5538 (EXECUTABLES): Include INSTALLABLE_SCRIPTS.
5539 (${archlibdir}): The scripts to be installed live in the source
5540 tree, not in the object tree.
5541 (test-distrib): Note that the data file lives in the source tree,
5542 not the object tree.
5543 (GETOPTDEPS): Note that getopt.h lives in the source tree.
5544 (all other targets): Change references to source files to use
5545 ${srcdir}, except for config.h, which lives in the object dir.
5546 (timer.o): Note that this depends on ../src/config.h.
5547 * make-docfile.c (main): Add a -d option, to tell it where to find
5549 * test-distrib.c (main): Take the name of the distribution file to
5550 test from the command line.
5552 * timer.c: Fix mispellings of get_date function's name.
5554 1993-05-12 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5557 Don't require that there be input files if -i switches were given.
5559 1993-05-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5561 The GNU coding standards specify that CFLAGS should be left for
5563 * Makefile.in (CFLAGS): Put this in the "things configure might
5564 edit" section, and have it default to -g.
5565 (ALL_CFLAGS): New variable, set to all the flags which should be
5566 passed to compilations. Replace all other uses of CFLAGS with
5568 (.c.o): New rule, to pass ALL_CFLAGS to compilations.
5570 * Makefile.in (DEFS): Remove this; it's always just going to be
5571 "-DHAVE_CONFIG_H -Demacs".
5573 1993-05-03 Paul Eggert (eggert@twinsun.com)
5575 * rcs2log: mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on
5576 /[/]/, so change it to /[\/]/. This should work on all
5577 Posix-compliant awks. It's slightly wrong with traditional awk,
5578 since it matches \ too, but that's a minor problem compared to awk
5581 1993-05-01 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5583 * Makefile.in (ALLOCA): New variable, whose value we should
5584 inherit from the top-level makefile.
5585 (etags, ctags): Include ALLOCA in the list of object files that
5586 these executables depend on and link.
5588 1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5590 * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
5592 1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
5594 * make-docfile.c (write_c_args): Print an argument named "defalt"
5597 1993-03-24 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
5599 * Makefile.in (C_SWITCH_SYSTEM): New variable.
5600 (CFLAGS): Include C_SWITCH_SYSTEM in the flags to pass to the
5603 1993-03-22 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5605 * etags.c (YACC): Flag added to c_ext.
5606 (c_ext): No more a synonim for c_ext&C_PLPL because of YACC.
5607 (find_entries): Consistently use streq when reasonable.
5608 (find_entries): A .y file is a yacc file.
5609 (get_C_stab): c_ext becomes c_ext&C_PLPL.
5610 (C_entries): Logical cplpl means c_ext&C_PLPL.
5611 (C_entries): Logical yacc_rules means we are after the first %%.
5612 (C_entries): Added logic for yacc files.
5614 1993-03-16 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5616 * etags.c (C_entries): ':' case moved to the second switch.
5617 (C_entries): Do not examine token if structdef==scolonseen.
5618 (consider_token): structtag set to null string for enum.
5620 1993-03-12 Francesco Potort
\e,Al
\e(B (pot@cnuce.cnr.it)
5622 * etags.c (GET_COOKIE): And related macros removed.
5623 (logical): Is now int, no more a char.
5624 (reg): Define deleted.
5625 (isgood, _gd, notgd): Deleted.
5627 (TOKEN): Member linestart removed.
5628 (linepos, prev_linepos, lb1): Deleted.
5629 (main): Call initbuffer on lbs array instead of lb1.
5630 (init): Removed the initialisation of the logical _gd array;
5631 (find_entries): A .sa suffix means assembler file.
5632 (C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
5633 All C state machines rewritten.
5634 (C_entries): Complete rewrite.
5635 (condider_token): Complete rewrite.
5638 1993-03-01 Francesco Potort
\e,Al
\e(B (pot@fly.CNUCE.CNR.IT)
5640 * etags.c (C_entries): Added the quotednl logical variable.
5641 Used for parsing of #define's spanning multiple lines.
5643 1993-02-23 Francesco Potort
\e,Al
\e(B (pot@fly.CNUCE.CNR.IT)
5645 * etags.c (C_entries): Save the definedef status even when a
5646 newline is met inside a string.
5648 1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
5650 * Makefile.in (EXECUTABLES): Added rcs-checkin.
5652 * Makefile.in (unlock, relock): New productions.
5654 1993-03-16 Paul Eggert (eggert@twinsun.com)
5656 * rcs2log: Some awks don't understand "\r". Code around this.
5657 Unfortunately this requires putting a carriage return in the
5658 source code. Don't assume that rlog will tolerate times like
5659 `10:10:60'; RCS 5.7 won't allow this.
5661 1993-03-10 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5663 * timer.c (main): Set the ownership of the stdin file descriptor
5664 to the current process. Print error messages if either of the
5667 * timer.c (sigcatch): Declare this to return SIGTYPE (defined in
5668 ../src/config.h), not void.
5670 1993-03-06 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5672 * b2m.c (main): Don't exit upon reading a blank line.
5674 1993-03-01 Francesco Potort
\e,Al
\e(B (pot@fly.CNUCE.CNR.IT)
5676 * etags.c (C_entries): New local variable quotednl. Used for
5677 parsing of #define's spanning multiple lines.
5679 * etags.c (C_entries): Save the definedef status
5680 even when a newline is met inside a string.
5682 1993-02-26 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5684 * timer.c (notify): Initialize waitfor properly.
5686 1993-02-22 Francesco Potort
\e,Al
\e(B (pot@CNUCE.CNR.IT)
5688 * etags.c (C_entries): Don't reset definedef when a newline inside a
5691 1993-01-14 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5693 * etags.c (find_entries): If filename ends in .f or .for,
5694 don't try anything but Fortran.
5696 1993-01-08 Michael I Bushnell (mib@geech.gnu.ai.mit.edu)
5698 * timer.c (notify): Flush stdout after writing message to avoid lossage
5701 (notify): Also, write a newline after the token.
5703 1992-12-12 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5705 * Makefile.in (exec_prefix): New variable.
5706 (bindir, libdir): Use it instead of `prefix'.
5708 * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
5710 * Makefile.in (libdir): Default to ${prefix}/lib.
5711 (archlibdir): Adjusted to match.
5713 * Makefile.in (distclean): Don't delete backup or autosave files.
5714 (extraclean): Like realclean, but does delete backup and autosave
5717 * Makefile.in (realclean): Ignore errors from rm.
5719 * Makefile.in (distclean): Don't bother to delete ../arch-lib;
5720 that doesn't exist anymore.
5722 1992-12-11 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5724 * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
5725 described in the top-level Makefile.
5726 (UTILITIES): Add make-path to the list of utility programs.
5727 (../arch-lib): Replaced by the ${archlibdir} target, which places
5728 the executables in their permanent home.
5729 (install, install.sysv, install.xenix): Consolidated into one
5730 target which should work under all circumstances, modulo a few
5731 ignored error messages.
5733 * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
5734 a different number of arguments than other DEFVARs, recognize it
5735 specially, and expect the right number of commas.
5737 1992-12-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5739 * make-path.c: New program, to help with the installation process.
5740 * Makefile.in (make-path): New target.
5742 * make-path.c (touchy_mkdir): Remove debugging output.
5744 1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5746 * Makefile.in (getdate.o): Added explicit target for this, so we
5747 can indicate that it depends on ../src/config.h.
5749 1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
5751 * Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
5753 (CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
5755 1992-09-30 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5757 * getdate.y: Correctly recognize Mt. Xinu BSD running on an HP
5758 9000/300 as BSD; don't include both <sys/time.h> and <time.h> on
5761 * Makefile.in (arch-lib): Give rm the `-f' option.
5763 1992-09-28 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5765 * make-docfile.c (write_c_args): Rewritten to correctly print
5766 &optionals before the first identifier, but after the first paren.
5767 This code used to just wait for commas or spaces; now it notices
5768 identifier boundaries.
5770 1992-09-26 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
5772 * rcs2log: When getting date, use %02d instead of %.2d in awk printf.
5774 1992-09-23 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5776 * make-docfile.c (write_c_args): Print the argument lists properly
5777 when the first argument is optional.
5779 1992-09-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5781 * sorted-doc.c (main): Redefine special chars to use fonts tensy, teni.
5782 Redefine @item. Set catcode of +.
5784 1992-08-22 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5786 * emacsclient.c (main): Set IPC_CREAT in msgget call.
5788 1992-08-20 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5790 * etags.c (TEX_funcs): Keep just 1 of two redundant nested loops.
5791 (TEX_decode_env): Make `tab' one element longer.
5793 1992-08-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5795 * etags.c (PF_funcs): Recognize the "entry" keyword.
5797 1992-08-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5799 * Makefile.in: Add rcs2log and vcdiff to the list of utilities.
5801 1992-08-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5803 * timer.c (events): Rather than having slots marked as in use or
5804 out of use by the `token' field, keep all pending events at the
5805 beginning of the array. When we delete an event in the middle of
5806 the array, we move the last event into its place.
5807 (num_events): New variable.
5808 (schedule): It is now cheaper to find a free event slot;
5809 events[num_events] is the first free slot.
5810 (notify): Scan events[0 .. num_events-1], instead of the whole
5811 array. When an event fires, move the last event in the array into
5812 its spot. Use num_events to determine whether or not there are
5813 any pending events, not wait_for.
5814 (getevent): Deleted unused variable `ep'.
5815 (sigcatch): It's now easier to find all the active events.
5816 (main): Initialize num_events.
5818 * etags.c: Rather than fret about which systems have index and
5819 which systems have strchr, and how to tell the difference between
5820 them, we just write out our own versions. Big deal.
5821 (index, rindex): Extern declarations removed.
5822 (NEED_INDEX, NEED_RINDEX): Special hacks for hpux removed.
5823 (etags_index, etags_rindex): New declarations.
5824 (process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
5825 TEX_getit, substr): Use the etags_*index functions, rather than
5826 the native *index functions.
5827 (rindex, index): Renamed to etags_rindex and tags_rindex, and
5828 made them unconditionally defined, rather than having them depend
5831 * etags.c (savenstr): Add declaration for this at top of file.
5832 (TEX_decode_env): Don't declare it local to this function.
5834 * b2m.c: #include "../src/config.h", so we can test for the USG
5835 macro, and decide whether to include <string.h> or <strings.h>.
5836 * Makefile.in: Note that b2m.c depends on ../src/config.h.
5838 1992-08-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5840 * timer.c: Reformatted according to the GNU coding standards.
5841 Removed arbitrary limits on the number of events queued and the
5842 length of the tokens used to identify them.
5843 Removed casts to (void).
5844 Removed debugging printfs; they clutter the code, and the need
5845 can be better filled using a real debugger.
5847 1992-08-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5849 * timer.c: Installed new version from Eric Raymond; this is more
5850 portable, since it doesn't try to use SIGIO.
5852 1992-07-17 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5854 * emacsclient.c (main): If we can't find the socket in this
5855 person's home directory, print a message which asks if they've
5856 started the server, instead of just printing the message from
5857 sys_errmsg; Cygnus finds that people are much less confused by
5860 1992-07-14 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5862 * etags.c: Rather than defining "notdef" when "hpux" is #defined,
5863 so that index and rindex get defined, why don't we actually
5864 control index and rindex using symbols called "NEED_INDEX" and
5865 "NEED_RINDEX", and define them if hpux is defined? Isn't that a
5866 little more readable than defining something whose name implies
5869 1992-07-08 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5871 * movemail.c: Merged changes from Jamie Zawinski's byte compiler
5873 Miscellaneous doc fixes.
5874 (skip_white, read_lisp_symbol): New functions.
5875 (scan_lisp_file): Instead of using long hairy strings of ifs, call
5876 read_lisp_symbol and then see what we got. Call skip_white
5877 instead of writing out a loop to do its job. Correctly extract
5878 docstrings from "defmacro" declarations.
5880 1992-06-25 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5882 * movemail.c (strcpy): Declare this to return char *.
5884 1992-06-18 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5886 * etags.c (C_entries): When we find a C++ comment, do actually
5887 skip to the end of the line; do a 'break' instead of a 'continue'.
5889 1992-06-11 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5891 * etags.c (getit): Add missing parenthesis to expression which
5892 decides if this token is an identifier.
5894 1992-06-04 Roland McGrath (roland@geech.gnu.ai.mit.edu)
5896 * etags.c (consider_token): Recognize `ENTRY' macro used in libc.
5898 1992-05-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5900 * etags.c (put_entries): Always put space between name and line num.
5902 1992-05-28 Ken Raeburn (Raeburn@Cygnus.COM)
5904 * etags.c (getit): Parenthesize &&/|| expression to avoid gcc
5906 (LEVEL_OK_FOR_FUNCDEF): Ditto.
5908 1992-05-19 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
5910 * make-docfile.c (write_c_args): Pass both arguments to putc.
5912 1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
5914 * etags.c (C_entries): Fixed reading of "..." strings.
5915 (consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
5916 the C library source.
5918 * etags.c (C_entries): When we see a backslash inside a quoted
5919 string, skip to the next character. This allows us to correctly
5920 deal with strings containing quotes.
5922 1992-05-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5924 * make-docfile.c (write_c_args): Print the C argument names as
5925 they would be written in Elisp; print '_' as '-'.
5927 1992-05-07 Richard Stallman (rms@mole.gnu.ai.mit.edu)
5929 * movemail.c [POP]: Get user name via getpwuid.
5931 1992-05-04 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5933 * Makefile.in: Flags in CC invocations rearranged for no reason.
5935 1992-04-20 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5937 * etags.c (print_help): Remember not to imbed raw newlines in
5938 strings - end the lines with `\n\'.
5940 1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5942 * timer.c (getevent): Removed declaration of memcpy; since
5943 different systems have different return types, and we're not even
5944 using the return type anyway, it wasn't doing us any good.
5946 1992-04-16 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5948 * emacsserver.c (msgcatch): Use the SIGTYPE macro to declare the
5949 type of this function.
5951 1992-04-14 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5953 * ChangeLog: Since the old etc contents have been split into etc
5954 and lib-src, the old etc's ChangeLog has been duplicated in the
5955 new etc and lib-src. That means that each contains complete and
5956 coherent information, although each contains extraneous
5959 1992-04-08 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5961 * etags.c: "--no-warning" option renamed to "--no-warn",
5962 to be consistent with other GNU programs, like makeinfo.
5964 * Makefile: Renamed to Makefile.in; the configure script
5965 will edit this to produce Makefile.
5967 1992-04-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5969 * etags.c (print_help, print_version): New functions.
5970 (main): Options added to support them.
5972 * etags.c (longopts): New array of long names for the options.
5973 (main): Recognize them.
5975 1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
5977 * etags.c (C_entries): Removed comment saying that \" in a string
5978 isn't recognized as magic, because it is correctly handled.
5980 * getopt.c, getopt.h: New files, from GNU C library.
5981 * etags.c: Rewritten to use getopt.
5982 #include "getopt.h".
5983 (file_num): Variable deleted; its role is now played by getopt's
5985 (main): Argument processing loop rewritten to call getopt to get
5986 next option. Options which take parameters (-o and -i) rewritten
5987 to get parameter from optarg instead of argv[1]. Filename
5988 preprocessing loop and update command changed similarly.
5989 * Makefile (etags, ctags): Depend on and link with getopt.h,
5990 getopt.o, and getopt1.o.
5991 (getopt.o, getopt1.o): New targets for the GNU getopt routines.
5993 * etags.c (outfflag): Variable deleted; it is non-zero iff outfile
5996 (main): In the argument processing loop, the 'goto next_arg'
5997 statements are breaking out of the switch statement in exactly the
5998 same way that a simple 'break' statement would; replace the gotos
5999 with breaks, and remove the label.
6001 1992-04-06 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6003 * etags.c (C_entries): Clear tydef and next_token_is_func at start.
6004 (consider_token): Move next_token_is_func to global.
6006 1992-04-02 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6008 * Makefile: Conform with GNU coding standards:
6009 (mostlyclean): New target, synonymous with clean.
6010 (TAGS, check): New targets.
6011 (INSTALL, INSTALLFLAGS): New variables.
6013 1992-03-31 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6015 * lib-src/Makefile, etc/MACHINES, etc/NEWS: Changed references to
6016 `config.emacs' to `configure'.
6018 * lib-src/Makefile: Adjusted for renaming of share-lib to etc.
6019 * etc/MACHINES: Same.
6021 1992-03-30 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6023 * movemail.c (main): Allow tempname to be as long as necessary,
6024 instead of limiting it to 39 characters.
6026 * movemail.c (main): Move declaration of buf from top of function
6027 to local block surrounding the copy loop. This makes it less
6028 likely to be confused with the buf used by the code which checks the
6029 permissions on outname's directory.
6031 1992-03-20 Jim Kingdon (kingdon@albert.gnu.ai.mit.edu)
6033 * SERVICE: Remove my entry.
6035 1992-03-09 David J. MacKenzie (djm@nutrimat.gnu.ai.mit.edu)
6037 * Makefile (emacstool, nemacstool, xvetool): Use ${CFLAGS}, not
6040 * movemail.c (xmalloc): Return char *, not int.
6041 (main) [!MAIL_USE_FLOCK]: Add a new conditional, MAIL_UNLINK_SPOOL,
6042 that is off by default -- normally don't unlink the mail spool
6043 file, just empty it. Pass creat mode 0600, not 0666.
6045 1992-02-07 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6047 * Makefile (../arch-lib): Depend on ${EXECUTABLES}.
6048 (all): Instead of here.
6049 (install): Don't use the -s option, since people need symbols to
6052 1992-01-19 Eric Youngdale (youngdale@v6550c.nrl.navy.mil)
6054 * etags-vmslib.c (fn_exp): Add type cast.
6056 1992-01-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6058 * movemail.c: Changes in comments.
6060 1992-01-13 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6062 * Makefile: Make the distclean target erase the DOC files from
6063 ../share-lib and the executables from ../arch-lib.
6065 1992-01-09 Jim Blandy (jimb@pogo.cs.oberlin.edu)
6067 * emacsclient.c: #include <sys/stat.h>
6068 (main): Do declare statbfr.
6070 1991-12-21 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6072 * emacsserver.c, emacsclient.c [BSD]: Use either /tmp or ~
6073 for the socket, depending on SERVER_HOME_DIR.
6074 If using /tmp, put host name in the socket name.
6076 * movemail.c (pfatal_and_delete): New function.
6077 (main, popmail): Use it.
6078 (popmail): Close output before deleting messages.
6079 Check for error on close and on fsync.
6080 Use `fatal' where appropriate.
6081 (main): Remove (void).
6083 * aixcc.lex: New file. Not officially part of Emacs.
6084 * Makefile: Rules for that.
6086 1991-12-04 Jim Blandy (jimb@pogo.gnu.ai.mit.edu)
6088 * yow.c (main): Rename all references to PATH_EXEC to PATH_DATA.
6090 * etags.c (main): Properly cast call to alloca that initializes
6093 1991-08-17 Roland McGrath (roland@geech.gnu.ai.mit.edu)
6095 * etags.c (files_are_tag_tables): Remove global var.
6096 (process_file): Don't test it. Also remove hack checking for a
6098 (main): -i now takes an arg which is the name of a file to include.
6099 Collect these names and emit include tags for them after processing
6100 all the argument files.
6102 1991-07-30 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6104 * wakeup.c: Terminate if parent goes away.
6106 1991-07-18 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6108 * etags.c (C_entries): Process token before handling end of line.
6109 When inner loops reach end of line, just back up.
6110 Let the real end of line processing happen in just one place.
6111 (consider_token): Likewise.
6113 1991-04-11 Jim Blandy (jimb@geech.gnu.ai.mit.edu)
6115 * etags.c (TEX_mode): Skip comments while scanning the text to see
6116 which escape character this file uses.
6118 1991-03-29 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6120 * emacsserver.c [USG]: Terminate if msgrcv fails.
6122 1991-03-03 Richard Stallman (rms@mole.ai.mit.edu)
6124 * emacsserver.c [BSD]: Check for errors on stdin after scanf.
6126 1991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
6128 * make-docfile: Find the arguments to a C function correctly,
6129 by not ignoring the character that read_c_string returns. Don't
6130 even try to find argument names for functions that take MANY
6131 or UNEVALLED arguments, since they're a figment of the docstring's
6134 1991-01-14 Jim Blandy (jimb@churchy.ai.mit.edu)
6136 * make-docfile: Read the .elc files generated by the new byte
6139 1990-12-31 Richard Stallman (rms@mole.ai.mit.edu)
6141 * refcard.tex: Use cm fonts, not am, in multi-column mode.
6143 1990-11-29 Richard Stallman (rms@mole.ai.mit.edu)
6145 * movemail.c (mbx_delimit_begin): Put space before `unseen'.
6147 1990-11-27 Richard Stallman (rms@mole.ai.mit.edu)
6149 * Makefile (install*): No need to install wakeup.
6151 1990-11-26 Richard Stallman (rms@mole.ai.mit.edu)
6153 * Makefile (install*): Install emacsclient like etags.
6155 1990-11-13 Richard Stallman (rms@mole.ai.mit.edu)
6157 * movemail.c (error): Handle 3 args.
6158 (main): Don't check input access if using pop.
6160 1990-10-16 Richard Stallman (rms@mole.ai.mit.edu)
6162 * etags.c (find_entries): Check for numbers after Scheme suffix.
6164 1990-10-14 Richard Stallman (rms@mole.ai.mit.edu)
6166 * termcap.dat (vt200-80): Fix ke and ks to frob flag 1.
6168 1990-10-09 Richard Stallman (rms@mole.ai.mit.edu)
6170 * Makefile (nemacstool, xvetool): New targets.
6172 1990-09-26 Richard Stallman (rms@mole.ai.mit.edu)
6174 * emacsclient.c: Include errno.h and define related variables.
6176 1990-09-23 Richard Stallman (rms@mole.ai.mit.edu)
6178 * emacsclient.c: Change usage message.
6180 1990-08-30 David Lawrence (tale@pogo.ai.mit.edu)
6182 * emacs.1: Add break before -nw option.
6184 1990-08-19 David J. MacKenzie (djm@apple-gunkies)
6186 * qsort.c: Replace with GNU version.
6188 1990-08-14 David J. MacKenzie (djm@apple-gunkies)
6190 * wakeup.c: New program replacing loadst.c.
6192 1990-08-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6194 * emacsclient.c [USG]: Pass msgsnd only 4 args.
6196 1990-08-09 David J. MacKenzie (djm@pogo.ai.mit.edu)
6198 * etags.c: Rename `flag' variables for what they do instead of
6199 which option character sets them.
6201 1990-05-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6203 * loadst.c (main): Conditional to get load average on Apollo.
6205 1990-05-22 Joseph Arceneaux (jla@churchy.ai.mit.edu)
6207 * emacsserver.c: Set the permission on the socket to 0600.
6209 1990-03-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6211 * emacsclient.c [BSD]: Print clean message for failing getwd.
6213 1990-03-20 David Lawrence (tale@pogo.ai.mit.edu)
6215 * getdate.y: Use the getdate.y from GNU tar for timer.
6217 1990-03-18 Jim Kingdon (kingdon@pogo.ai.mit.edu)
6219 * emacsclient.c (main): Don't put brackets around "filename" in
6220 usage message. It isn't optional.
6222 1990-03-14 Joseph Arceneaux (jla@churchy.ai.mit.edu)
6224 * etags.c (getit): Recognize '$' as beginning identifiers.
6226 1990-02-22 David Lawrence (tale@pogo.ai.mit.edu)
6228 * emacsserver.c: Renamed from server.c.
6229 * Makefile: Reference emacsserver rather than server.
6230 * MACHINES: Doc fix for new emacsserver name.
6232 1990-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6234 * emacsclient.c: Print program name in error messages.
6236 1990-01-19 David Lawrence (tale@cocoa-puffs)
6238 * timer.c, getdate.y (new files) and Makefile:
6239 Sub-process support for run-at-time in timer.el.
6240 Doesn't yet work correctly for USG.
6242 1990-01-10 Jim Kingdon (kingdon@pogo)
6244 * MACHINES: Add HP 300 running BSD.
6246 1990-01-02 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6248 * yow.c: Dynamically allocate buffer; skip header before random
6249 choice to avoid bias toward first item.
6251 1989-12-24 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6253 * etags.c (readline): Separate out init of `pend'.
6255 1989-12-17 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6257 * etags.c: Undo changes relating to isgoodhdr.
6259 1989-12-16 Mosur Mohan (rms@sugar-bombs.ai.mit.edu)
6261 * etags.c (isgoodhdr): New macro.
6262 (_gdh, notgdh): New variable used by that.
6263 (init): Initialize _gdh.
6264 (find_entries): Set header_file.
6265 (consider_token): Use isgoodhdr if in header file.
6267 * etags.c (total_size_of_entries):
6268 Was miscalculating by 1 in rewritten case.
6270 * etags.c (PAS_funcs): One arg to pfnote was missing.
6272 1989-12-05 Joseph Arceneaux (jla@spiff)
6274 * MACHINES: Change for the ULTRIX entry.
6276 1989-11-21 Joseph Arceneaux (jla@spiff)
6278 * etags.c (process_file): If file is not regular, return.
6280 1989-11-06 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6282 * loadst.c (main): Handle FIXUP_KERNEL_SYMBOL_ADDR.
6284 1989-10-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6286 * loadst.c (load_average): If HAVE_GETLOADAVG, use getloadavg.
6287 (main): If HAVE_GETLOADAVG, don't call `nlist'.
6289 1989-10-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6291 * etags.c (consider_token): Allow any number of typespec keywords
6292 after `typedef', before new type name.
6293 (enum sym_type): Add st_C_typespec.
6294 (C_create_stab): Put typespec kwds in table.
6296 1989-08-27 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
6298 * etags.c (main): Don't depend on name invoked by.
6299 If CTAGS is not defined, assume it is ETAGS.
6301 1989-07-31 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6303 * etags.c (L_funcs): Allow package name in define construct,
6304 as in (foo::defmumble name-defined ...).
6306 1989-07-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6308 * etags.c (find_entries): Stupid bug testing for C filename suffixes.
6310 * Makefile (yow): Depends on ../src/paths.h.
6312 1989-07-04 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
6314 * etags.c: Fix compilation by moving Pascal after Fortran.
6316 1989-06-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6318 * movemail.c [USG]: Define F_OK, etc., if not found in header.
6320 1989-05-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6322 * hexl.c: New file, supports hexl-mode.
6324 1989-05-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6326 * movemail.c: New compilation flag MAIL_USE_MMDF.
6328 1989-05-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6330 * emacsclient.c: Use BSD code whenever HAVE_SOCKETS.
6331 * server.c: Likewise.
6333 * make-docfile.c (scan_c_file): Output argument names at end of string.
6334 (write_c_args): New subroutine.
6336 1989-04-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6338 * movemail.c: Report failure of flock.
6340 1989-04-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6342 * etags.c (find_entries): Allow multi-letter extensions for fortran.
6344 1989-04-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6346 * loadst.c: On bsd4.3, use gettimeofday instead of CPUSTATES.
6348 1989-03-15 Jeff Peck (rms@sugar-bombs.ai.mit.edu)
6350 * emacstool.c: setenv IN_EMACSTOOL=t, TERM=sun, TERMCAP=.
6352 * emacsstool.1: Update to document environment variables.
6354 1989-02-21 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6356 * etags.c (PAS_funcs): New function by Mosur Mohan.
6358 * movemail.c: On sysv, include unistd.h.
6360 1989-02-18 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6364 1989-02-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6366 * etags.c: Prolog support from Sunichirou Sugou
6368 1989-02-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6370 * Makefile (clean): New target.
6372 1989-01-25 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6374 * fakemail.c (put_line): Break header lines at 79 cols.
6376 1989-01-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6378 * etags.c: Greatly rewritten by Sam Kendall for C++ support and for
6379 multiple tags per line.
6381 1989-01-03 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6383 * movemail.c: Check access before doing real work.
6384 Check that outfile is in a writable directory.
6385 On fatal error, delete the lock file.
6387 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu)
6389 * env.c: Add decl for my-index
6390 * etags.c (file-entries): .oak => scheme
6392 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6394 * movemail.c: Use `access' to check input and output files.
6396 1988-12-28 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6398 * emacsclient.c (main): Ignore all of CWD before first slash.
6400 1988-12-27 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6402 * etags.c (readline): Double linebuffer->size outside the xrealloc.
6404 1988-12-22 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6406 * server.c, emacsclient.c: Don't try to use gid_t; it isn't defined.
6407 * server.c: chmod the socket to 0700.
6409 1988-12-09 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6411 * fakemail.c (main): Let env var FAKEMAILER override pgm to run.
6412 (add_field): Delete comments and turn `<', `>' to spaces
6414 (USE_FAKEMAIL): New customization macro says to make fakemail
6415 not be a no-op even on a BSD system.
6417 1988-12-01 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6419 * etags.c (consider_token): Skip comments just like whitespace.
6420 Notice `struct', etc. and set strtag for those tokens.
6421 Return 1 for the token following `struct' if an open-brace follows it.
6422 (C_entries): Special handling of token following `struct'
6423 needed because we have probably advanced to the following line
6425 (main): New option `T' sets tflag and strflag.
6426 Set both of them by default if eflags.
6428 1988-11-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6430 * movemail.c: Do fsync before closing output.
6432 1988-11-29 Richard Mlynarik (mly@pickled-brain.ai.mit.edu)
6434 * movemail.c: Better error message when can't create tempname.
6435 This file needs a great deal of extra error-checking and lucid reporting...
6437 1988-11-16 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6439 * etags.c: Support assembler code for .s and .a files.
6440 (getit): Allow underscore in a tag.
6442 1988-11-15 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6444 * movemail.c: Close output and check errors before deleting input.
6446 1988-10-01 Richard Stallman (rms@apple-gunkies.ai.mit.edu)
6448 * emacsclient.c [SYSVIPC]: Compute cwd only once; decide properly
6449 whether to prefix it. Handle line number args.
6451 1988-09-24 Richard Stallman (rms@gluteus.ai.mit.edu)
6453 * etags.c (main): Default setting of eflag was backwards.
6455 1988-09-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6457 * etags.c: New option -i. -f renamed -o.
6458 `-' as input file means read input file names from stdin.
6459 -i spec'd or input file named TAGS means the input file is another
6460 tag table; output an "include" line for it.
6462 1988-09-19 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6464 * Makefile: New vars DESTDIR, BINDIR, LIBDIR, MANDIR, MANEXT.
6465 New targets install, install.sysv, install.xenix.
6466 This makefile is now responsible for installing executables
6467 and documentation from this directory into system directories.
6469 1988-09-16 Richard Stallman (rms@corn-chex.ai.mit.edu)
6471 * server.c, emacsclient.c (main): Compute socket name from euid.
6473 1988-08-04 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6475 * emacsclient.c: Args like +DIGITS are passed through unchanged.
6477 1988-07-12 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6479 * server.c: If both BSD and HAVE_SYSVIPC, use the latter.
6480 * emacsclient.c: Likewise.
6481 In the HAVE_SYSVIPC alternative, if BSD, use getwd instead of getcwd.
6483 1988-06-23 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6485 * etags.c: Handle `typedef struct foo {' (price@mcc.com).
6486 (istoken): New string-comparison macro.
6487 (consider_token): New arg `level'. New state `tag_ok' in `tydef'.
6489 1988-06-14 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6491 * etags.c: Changes for VMS.
6492 Always define ETAGS on VMS.
6493 Define macros GOOD and BAD for success and failure exit codes.
6494 (begtk, intk): Allow `$' in identifiers
6495 (main): Don't support -B, -F or -u on VMS.
6496 Alternate loop for scanning filename arguments.
6497 (system): Delete definition of this function.
6499 * etags-vmslib.c (system): Undefine this; VMS now provides it.
6501 1988-06-08 Richard Stallman (rms@sugar-bombs.ai.mit.edu)
6503 * loadst.c: Prevent multiple-def errors on BSD and BSD4_3
6504 around include of param.h. (Like fns.c.)
6506 1988-05-16 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6508 * loadst.c (load_average): Move load-average code to this new fn.
6509 Add conditionals to compute load ave on UMAX.
6511 1988-05-14 Richard Stallman (rms@lucky-charms.ai.mit.edu)
6513 * loadst.c: Change DK_HEADER_FILE to DKSTAT_HEADER_FILE
6514 with opposite sense.
6516 1988-05-13 Chris Hanson (cph@kleph)
6518 * emacsclient.c: Delete references to unused variable `out'. This
6519 caused a bus error when used under hp-ux.
6521 1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6523 * loadst.c: Control dk.h conditional with DK_HEADER_FILE.
6525 1988-05-04 Richard Stallman (rms@rice-krispies.ai.mit.edu)
6527 * etags.c (find_entries): `.t' or `.sch' means scheme code.
6529 1988-04-29 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6531 * loadst.c: Add BSD4_3 conditional for file dk.h instead of dkstat.h.
6533 1988-04-28 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
6535 * movemail.c: #undef close, since config can #define it on V.3.
6536 * emacsclient.c, fakemail.c, loadst.c, server.c: Likewise.
6538 1988-04-26 Richard Stallman (rms@lucky-charms.ai.mit.edu)
6540 * etags.c (TEX_mode, etc.): Remove superfluous backslashes from
6541 invalid escape sequences such as `\{'.
6543 * loadst.c: Add `sequent' conditional for file dk.h.
6545 1988-03-20 Richard M. Stallman (rms@wilson)
6547 * server.c [not BSD and not HAVE_SYSVIPC]: Fix error message.
6549 * loadst.c (main) [XENIX]: Use /usr/spool/mail, not /usr/mail.
6552 ;; coding: iso-2022-7bit
6553 ;; add-log-time-zone-rule: t
6556 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
6557 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005,
6558 2006, 2007, 2008 Free Software Foundation, Inc.
6560 This file is part of GNU Emacs.
6562 GNU Emacs is free software; you can redistribute it and/or modify
6563 it under the terms of the GNU General Public License as published by
6564 the Free Software Foundation; either version 3, or (at your option)
6567 GNU Emacs is distributed in the hope that it will be useful,
6568 but WITHOUT ANY WARRANTY; without even the implied warranty of
6569 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6570 GNU General Public License for more details.
6572 You should have received a copy of the GNU General Public License
6573 along with GNU Emacs; see the file COPYING. If not, write to the
6574 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
6575 Boston, MA 02110-1301, USA.
6577 ;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc