+2003-09-28 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
+
+ * emacsclient.c (quote_file_name): Print the result instead of
+ returning it. Fix the return type accordingly.
+ (main): Under --eval, don't fail if left with additional
+ arguments after decoding options. Quote file names.
+
+2003-09-10 Richard M. Stallman <rms@gnu.org>
+
+ * emacsclient.c (main): Use socket_name.
+
+2003-09-10 Andreas B\e,A|\e(Bsching <crunchy@tzi.de> (tiny change)
+
+ * emacsclient.c (socket_name): New variable.
+ (longopts, decode_options, print_help_and_exit):
+ Handle --socket-name argument.
+
+2003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
+
+ * etags.c (consider_token): check C++ `operator' only when the
+ token len is long enough.
+
+2003-08-20 Dave Love <fx@gnu.org>
+
+ * Makefile.in: Remove obsolete references to alloca.
+
+2003-07-29 Ken Brush <ken@wirex.com>
+
+ * emacsclient.c (main)
+ * etags.c (suggest_asking_for_help)
+ * movemail.c (main): Fix having macros in a printf statement.
+
+2003-05-31 Juanma Barranquero <lektu@terra.es>
+
+ * makefile.w32-in (lisp): Fix references to byte-run.el,
+ float-sup.el and map-ynp.el, which are now in emacs-lisp.
+
+2003-05-22 Dave Love <fx@gnu.org>
+
+ * update-game-score.c (difftime) [!HAVE_DIFFTIME]: Define.
+ (strerror) [!HAVE_STRERROR && !WINDOWSNT]: New.
+
+2003-05-20 Dave Love <fx@gnu.org>
+
+ * movemail.c: Check HAVE_LIBLOCKFILE like HAVE_LIBMAIL.
+
+ * Makefile.in [HAVE_LIBLOCKFILE]: Define LIBS_MAIL=-llockfile.
+
+2003-04-27 Oliver Scholz <alkibiades@gmx.de>
+
+ * update-game-score.c (read_scores): Fix corruption of scores on
+ read.
+
+2003-04-12 Stefan Monnier <monnier@cs.yale.edu>
+
+ * emacsclient.c (main): Use new safe location for socket.
+
+2003-03-12 Tom Tromey <tromey@redhat.com>
+
+ * emacsclient.c (print_help_and_exit): Print to stdout.
+ Exit successfully. Added some blank lines for readability.
+ (decode_options): Don't call print_help_and_exit in default case.
+ Print version information to stdout.
+ (main): Don't call print_help_and_exit.
+
+2003-02-15 Richard M. Stallman <rms@gnu.org>
+
+ * cvtmail.c: Cast result of malloc and realloc.
+ Don't include stdlib.h, becuase config.h does.
+ (malloc, realloc): Declarations deleted.
+
+ * yow.c (yow): Cast result of malloc and realloc.
+ (malloc, realloc): Declarations deleted.
+
+2003-02-11 Juanma Barranquero <lektu@terra.es>
+
+ * makefile.w32-in (lisp): Add malayalam.el and tamil.el.
+
+2003-02-08 Andreas Schwab <schwab@suse.de>
+
+ * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable
+ instead of the substitution.
+
+2003-02-04 Richard M. Stallman <rms@gnu.org>
+
+ * update-game-score.c (push_score, read_scores): Cast values
+ of malloc and realloc.
+ (main, lock_file): Avoid assignment inside if.
+
+2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
+
+ * Makefile.in: Use @EXEEXT@ for Cygwin.
+
+2003-01-21 Dave Love <fx@gnu.org>
+
+ * etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
+ column-0 `('.
+
+ * yow.c: Don't include string.h.
+
+2003-01-20 Richard M. Stallman <rms@gnu.org>
+
+ * Makefile.in (rcs2log, rcs-checkin, grep-changelog, vcdiff):
+ New targets.
+
+2003-01-06 Kim F. Storm <storm@cua.dk>
+
+ * pop.c (__P): Renamed from _P to avoid problems on Cygwin.
+ All uses changed.
+
+2002-12-18 Andrew Innes <andrewi@gnu.org>
+
+ * makefile.w32-in ($(DOC)): Use -o and -a options to make-docfile,
+ because GNU make doesn't append when using >> redirection.
+
+2002-12-12 Jonathan Kamens <jik@kamens.brookline.ma.us>
+
+ * b2m.pl: Make sure every message ends with a blank line, because
+ some mbox parsers require a blank line before "From " lines.
+
+2002-12-08 Richard M. Stallman <rms@gnu.org>
+
+ * getopt.c: Do include libintl.h if HAVE_LIBINTL_H.
+ (_): Test only HAVE_LIBINTL_H to decide what to do.
+
+2002-12-05 Richard M. Stallman <rms@gnu.org>
+
+ * getopt.c: Comment out include of libintl.h or gettext.h.
+
+2002-12-04 Richard M. Stallman <rms@gnu.org>
+
+ * Update getopt from gnulib version; changes described below.
+
+ * getopt1.c: Conditionally find getopt.h.
+ [_LIBC] (getopt_long, getopt_long_only): Do libc_hidden_def.
+
+ * getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
+ (libintl.h): Include this if _LIBC. Otherwise include gettext.h.
+ (wchar.h): Include, maybe.
+ (attribute_hidden): Define if not defind.
+ (__getopt_initialized): Use attribute_hidden.
+ (__libc_argc, __libc_argv): Renamed from original_argc, etc.
+ (__getopt_nonoption_flags, nonoption_flags_max_len, nonoption_flags_len):
+ Conditional on USE_NONOPTION_FLAGS.
+ (SWAP_FLAGS): New definitions.
+ (exchange): Test USE_NONOPTION_FLAGS.
+ (_getopt_initialize): Test USE_NONOPTION_FLAGS.
+ (_getopt_internal): Error if argc < 1. New local var print_errors.
+ Improve test for ambiguous long option.
+ Add LIBIO support for error message output.
+ (NONOPTION_P): Test USE_NONOPTION_FLAGS.
+
+ * getopt.h: Maybe include ctype.h.
+ Treat __cplusplus like __STDC__.
+ (decls): Use __ in arg names.
+
+2002-12-02 Stephen Eglen <stephen@gnu.org>
+
+ * emacsclient.c (main): Tell user how to start server within Emacs
+ if socket could not be found.
+
+2002-12-02 Richard M. Stallman <rms@gnu.org>
+
+ * emacsclient.c (main): Test HAVE_GETCWD rather than BSD_SYSTEM.
+
+2002-11-19 Ben Key <bkey1@tampabay.rr.com>
+
+ * makefile.w32-in: Fixed a bug that caused the documentation for
+ the built in function play-sound-internal not to be included in
+ /etc/DOC.
+
+2002-11-18 Dave Love <fx@gnu.org>
+
+ * update-game-score.c: Include unistd.h, string.h, stdlib.h,
+ fcntl.h, stdarg.h conditionally.
+ (_GNU_SOURCE, __attribute__): Don't define.
+ (optarg, optind, opterr): Declare.
+ (lose, lose_syserr): Use NO_RETURN.
+ (get_user_id): Use P_.
+
+2002-11-17 Richard M. Stallman <rms@gnu.org>
+
+ * Makefile.in (${archlibdir}): Ignore errors operating on $(gamedir).
+
+2002-11-14 Dave Love <fx@gnu.org>
+
+ * movemail.c (pop_retr): Declare comment.
+
+ * make-docfile.c (read_c_string_or_comment): Declare msgno.
+
+ * Makefile.in (YACC): Deleted.
+
+2002-10-19 Andreas Schwab <schwab@suse.de>
+
+ * Makefile.in (${archlibdir}): Always create $(gamedir).
+ (update-game-score): Pass $(gamedir) as HAVE_SHARED_GAME_DIR.
+
+2002-10-04 Juanma Barranquero <lektu@terra.es>
+
+ * makefile.w32-in (lisp): Load devanagari.el, not .elc.
+
+2002-09-30 Markus Rost <rost@math.ohio-state.edu>
+
+ * emacsclient.c (main): Remove reference to SERVER_HOME_DIR
+ completely.
+
+2002-09-27 Stefan Monnier <monnier@cs.yale.edu>
+
+ * emacsclient.c: Remove SYSV support.
+ (eval, display): New vars.
+ (longopts): Add --eval and --display.
+ (decode_options): Add -e and -d processing.
+ (print_help_and_exit): Update the usage string.
+ (main): Add support for --eval and --display.
+ (main): Always use /tmp and non-qualified hostname.
+
+2002-09-25 Stefan Monnier <monnier@cs.yale.edu>
+
+ * emacsserver.c: Remove.
+
+2002-09-17 Stefan Monnier <monnier@cs.yale.edu>
+
+ * emacsclient.c (quote_file_name): Quote \n.
+ (main): Print a final \n when needed.
+
+2002-09-03 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (regex_tag_multiline, readline): Never pass pfnote a
+ string that cannot be freed.
+
+2002-08-30 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (consider_token, C_entries): Switch to C++ parsing when
+ auto-detection is enabled and the `::' qualifier is met.
+ (consider_token, C_entries): Several bugs corrected that tagged
+ some declarations even though --declarations was not used.
+ (plainc): New macro.
+ (C_entries): Use it.
+ (C_entries): Several cosmetic changes.
+ (C_entries): Invalidate the token is some cases.
+
+2002-08-29 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (C_entries): Correct a problem with const C++ funcs.
+ (ignoreindent): Renamed from noindentypedefs.
+ (cjava, cplpl): They are now macros instead of local vars.
+
+2002-08-28 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (HTML_labels): Tag ID= also.
+
+2002-08-27 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (Ada_funcs): Do not tag "use type Xxxx;".
+
+ * etags.c: (HTML_labels): New language HTML.
+ (etags_strcasecmp): Like BSD's, for compatibility.
+ (strcaseeq): Make it into a macro.
+
+ * etags.c (make_tag): Never generate null length tag names.
+ (linebuffer_init): Renamed from initbuffer. All callers changed.
+ (pattern): Structure renamed to `regexp', member regex renamed to
+ pattern.
+ (node_st): Member pat renamed to regex.
+ (pattern); New member force_explicit_name, for future use.
+ Now always set to true, cannot be reset.
+ (add_regex, regex_tag_multiline, readline): Use it.
+ (main): Free some global structures.
+ (fdesc): New member `written'.
+ (readline, process_file): Initialise it.
+ (put_entries): Set it.
+ (main): Use it to create entries for files without tags.
+ (total_size_of_entries): Do not count invalid tags.
+
+2002-08-19 Stefan Monnier <monnier@cs.yale.edu>
+
+ * make-docfile.c (scan_keyword_or_put_char, write_c_args): Use `fn'
+ for the function name in the usage info.
+
+2002-07-31 Colin Walters <walters@gnu.org>
+
+ * update-game-score.c (P_): New macro. Use it for all prototypes.
+ (lose): Don't use varargs.
+ (lose_syserr): New function.
+
+ * update-game-score.c: Change all functions to K&R style.
+
+2002-07-30 Andreas Schwab <schwab@suse.de>
+
+ * Makefile.in (localstatedir): New variable.
+
+2002-07-29 Jonathan Kamens <jik@kamens.brookline.ma.us>
+
+ * b2m.pl: Fix regexp for finding return address fields.
+
+2002-07-15 Stefan Monnier <monnier@cs.yale.edu>
+
+ * make-docfile.c (scan_c_file): Warn about missing `usage' info.
+
+2002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
+
+ * b2m.pl: Obey the rmail file and use the unpruned header properly.
+
+2002-06-26 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * b2m.pl: New file.
+
+2002-06-21 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c: (F_getit, Fortran_functions, Ada_getit, Asm_labels)
+ (Python_functions, PHP_functions, PHP_functions, PHP_functions)
+ (PHP_functions, PHP_functions, Cobol_paragraphs)
+ (Makefile_targets, Postscript_functions, Texinfo_nodes)
+ (prolog_pr, erlang_func, erlang_attribute)
+ (Perl_functions, Perl_functions, Pascal_functions)
+ (TeX_commands, get_tag): Use make_tag instead of pfnote.
+ (get_tag): Prototype changed, all callers changed.
+
+2002-06-20 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c: Implement implicit tag names, that is, unnamed tags
+ whose name is automatically deduced by etags.el. The advantage is
+ that there is no explicit tag name in most tags, so the size of
+ the tags file is reduced, yet find-tag is able to do a match as
+ accurate as with named tags. See the comment in make_tag for details.
+ (make_tag): New function (was the disabled function new_pfnote).
+ (make_C_tag): Use it.
+
+2002-06-19 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (add_regex): Invalid regexp modifiers are ignored.
+ (Makefile_targets): Tag variables unless --no-globals.
+ (LOOP_ON_INPUT_LINES): Serious bug corrected.
+
+2002-06-13 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (erlang_atom, erlang_attribute): Bugs corrected.
+ (invalidate_nodes): Bug corrected.
+ (print_help): Better help for regexps.
+
+2002-06-13 Juanma Barranquero <lektu@terra.es>
+
+ * makefile.w32-in (lisp): Add international/ucs-tables.elc and
+ font-core.elc.
+
+2002-06-12 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c: New multi-line regexp and new regexp syntax.
+ (arg_type): at_icregexp label removed (obsolete).
+ (pattern): New member multi_line for multi-line regexps.
+ (filebuf): A global buffer containing the whole file as a string
+ for multi-line regexp matching.
+ (need_filebuf): Global flag raised if multi-line regexps used.
+ (print_help): Document new regexp modifiers, remove references to
+ obsolete option --ignore-case-regexp.
+ (main): Do not set regexp syntax and translation table here.
+ (main): Treat -c option as a backward compatibility hack.
+ (main, find_entries): Init and free filebuf.
+ (find_entries): Call regex_tag_multiline after the regular parser.
+ (scan_separators): Check for untermintaed regexp and return NULL.
+ (analyse_regex, add_regex): Remove the ignore_case argument, which
+ is now a modifier to the regexp. All callers changed.
+ (add_regex): Manage the regexp modifiers.
+ (regex_tag_multiline): New function. Reads from filebuf.
+ (readline_internal): If necessary, copy the whole file into filebuf.
+ (readline): Skip multi-line regexps, leave them to regex_tag_multiline.
+
+2002-06-11 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (add_regex): Better check for null regexps.
+ (readline): Check for regex matching null string.
+ (find_entries): Reorganisation.
+
+2002-06-07 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (scan_separators): Support all character escape
+ sequences supported by Gcc.
+ (find_entries): Rewind unconditionally.
+ (find_entries): Do not call language functions directly, now calls
+ itself.
+ (find_entries): Do general initialisations here.
+ (CNL_SAVE_DEFINEDEF, C_entries, LOOP_ON_INPUT_LINES, F_getit)
+ (Ada_getit, Pascal_functions, Pascal_functions)
+ (prolog_skip_comment): Do not do them here.
+ (readline_internal): Increment lineno here.
+ (readline): Conditionally undo readline_internal increment.
+ (readline): Do not return a value.
+
+2002-06-06 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c: New option --parse-stdin=FILE.
+ (enum arg_type): New label at_stdin.
+ (STDIN): New constant.
+ (parsing_stdin): New flag.
+ (longopts): New option --parse-stdin=NAME.
+ (print_help): Document it.
+ (main): Handle it.
+ (process_file): Split into process_file and process_file_name.
+ (process_file_name): New function.
+
+ * etags.c: Improvements and bug squashing in TeX handling.
+ (TeX_commands): Skip comments.
+ (TEX_defenv): Now contains more contructs.
+ (TEX_cmt): Make it a static char and move it before TeX_commands.
+ (TeX_commands): Shorten the tag to the brace after the name.
+ (TeX_commands): Names now include the initial backslash.
+ (TeX_commands): Names do not include numeric args #n.
+ (TeX_commands): Correct line char number in tags.
+ (TEX_tabent, TEX_token): Deleted.
+ (TeX_commands, TEX_decode_env): Streamlined.
+
+2002-06-05 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (main): Avoid a buffer overrun with sprintf.
+
+2002-05-30 Richard M. Stallman <rms@gnu.org>
+
+ * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
+ (LIBS_MOVE): Renamed from MOVE_LIBS.
+
+2002-05-26 Paul Eggert <eggert@twinsun.com>
+
+ Reinstate the following change from 2002-03-22, which was
+ inadvertently lost on 2002-04-13.
+
+ * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
+ `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
+ the latter usage.
+
+2002-05-17 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * pop.c (socket_connection): Move the code to resolve the POP
+ host right before trying to connect with it.
+
+2002-04-28 Colin Walters <walters@verbum.org>
+
+ * Makefile.in (${archlibdir}): Don't conditionalize on
+ HAVE_SHARED_GAME_DIR. Instead, test at installation time whether
+ or not we have access to the specified game user.
+
+ * update-game-score.c (SCORE_FILE_PREFIX): Delete.
+ (main): New argument -d, for specifying directory.
+ (usage): Document.
+ (get_user_id): Compute.
+ (get_home_dir): Deleted.
+ (get_prefix): New function, taken from main.
+ (main): Check whether or not we are running setuid. Move prefix
+ computation to get_prefix. Don't call getpwent; we don't need to
+ any more. Instead, move it to get_user_id().
+
+2002-04-24 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * ebrowse.c (skip_initializer): Return void.
+
+2002-04-23 Colin Walters <walters@verbum.org>
+
+ * update-game-score.c (read_score) [HAVE_GETDELIM]: Trim trailing
+ space.
+
+2002-04-22 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c: (last_node): Make it a global variable.
+ (process_file): Print the tags from the nodes as soon as
+ possible, and delete the nodes. This brings down the memory
+ occupancy as etags to almost the same level as when the #line
+ directives were not parsed.
+ (free_fdesc): New function.
+ (find_entries): Use it.
+ (invalidate_nodes): In etags mode, do not just mark the nodes as
+ invalid, do delete them.
+
+2002-04-21 Gerd Moellmann <gerd@gnu.org>
+
+ * ebrowse.c (add_declarator): Test *CLS instead of CLS.
+
+2002-04-16 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * update-game-score.c: Move config.h before the other headers, to
+ avoid compiler warnings.
+
+2002-04-16 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (find_entries): Bug fix in list management.
+
+2002-04-15 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (get_language_from_filename): Add one argument.
+ (strcaseeq): New function.
+ (get_language_from_filename): Use it to do a case insenstitive
+ comparison if called with appropriate args.
+ (find_entries): Try with case insensitive match.
+ (process_file): Bug fixed.
+
+2002-04-13 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (find_entries): Delete tags previously obtained from
+ file xxx.c's #line directives when parsing file xxx.y. This is
+ generally done for automatically generated files containing
+ #line directives. This handles the case when xxx.y is tagged
+ before xxx.c, and the entries of xxx.c pointing to xxx.y should
+ be discarded.
+ (language): Add the metasource member. Initializers changed.
+ (invalidate_nodes): New function.
+ (readline): Discard lines after having found a #line
+ directive pointing to an already tagged file. This handles the
+ case when xxx.y is tagged before xxx.c, and the entries of
+ xxx.c pointing to xxx.y should be discarded.
+ (fdesc): New structure for keeping track of input files.
+ (fdesc): Remove `file' member (a string) and use instead a pointer
+ to a file description structure.
+ (curfile, curfiledir, curtagfname, curlang, nocharno)
+ (forced_lang): Global variables removed in favor of fdhead and
+ curfdp, pointers to file description strucures.
+ (longopts, main, print_help): Use the CTAGS conditional to include
+ or exclude options that work on etags or ctags only.
+ (process_file, find_entries, pfnote, add_node, put_entries)
+ (readline): Use fdhead and curfdp.
+ (process_file, find_entries): Do not take an arg string, all
+ callers changed.
+
+ * etags.c (longopts, print_help, main): Test CTAGS to disallow
+ options that are not right for either etags or ctags.
+
+ * etags.c (number_len, total_size_of_entries): Define them also
+ in CTAGS mode, because gcc does not compile all refs away.
+
+2002-04-14 Colin Walters <walters@debian.org>
+
+ * update-game-score.c (lock_file): If the lock file is older than
+ an hour, delete it. Reset attempts to zero if we have to break
+ the lock.
+
+2002-04-14 Andreas Schwab <schwab@suse.de>
+
+ * update-game-score.c (read_score): Fix type of second parameter
+ of getdelim to be of type size_t instead of int. Use 0 instead of
+ ESUCCES.
+
+2002-04-10 Colin Walters <walters@verbum.org>
+
+ * update-game-score.c: (toplevel): Include stdarg.h.
+ (MAX_DATA_LEN, MAX_SCORES): New.
+ (SCORE_FILE_PREFIX): If HAVE_SHARED_GAME_DIR is not defined,
+ default to ~/.emacs.d/games.
+ (get_user_id): Don't zero uid in the case where we can't get the
+ username.
+ (lose): New function.
+ (main): Actually use `max', and default it to MAX_SCORES.
+ Correctly handle new default for SCORE_FILE_PREFIX. Use `lose'
+ function.
+ (read_score): Handle the case of reading unamelen characters, then
+ finishing. Use mktemp if mkstemp isn't available.
+ (lock_file, unlock_file): Delete unused versions.
+ (lock_file): Always sleep, even if we unlinked the lock file.
+
+ * Makefile.in (gamedir, gameuser): New variables.
+ (toplevel, UTILITIES): Add update-game-score.
+ (${archlibdir}): Handle HAVE_SHARED_GAME_DIR.
+
+2002-04-07 Colin Walters <walters@verbum.org>
+
+ * update-game-score.c (SCORE_FILE_PREFIX): Don't hardcode.
+ (get_user_id): Take struct passwd as an argument.
+ (get_home_dir): New function.
+ (main): Read in user information here. Discover home directory if
+ necessary.
+ (read_score): Trim newline only in `getline' case.
+