+2002-06-06 Francesco Potorti` <pot@gnu.org>
+
+ * etags.c (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): Added 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.
+
+2002-04-05 Colin Walters <walters@debian.org>
+
+ * update-game-score.c (toplevel): Include pwd.h.
+ (struct score_entry): Add username field.
+ (push_score): Use it.
+ (get_user_id): New function.
+ (main): Don't malloc excessively.
+ (main): Use username field.
+ (read_score): Read it.
+ (push_score): Handle it.
+ (write_scores) Write it.
+ (read_score): Handle arbitrary length data.
+
+2002-03-30 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * ebrowse.c (add_declarator): Fix the first call to add_member_defn.
+
+2002-03-29 Gerd Moellmann <gerd@gnu.org>
+
+ * ebrowse.c (add_declarator, skip_initializer): New functions.
+ (declaration): Use them.
+
+2002-03-28 Jason Rumney <jasonr@gnu.org>
+
+ * makefile.w32-in (lisp): Move backquote.elc into emacs-lisp.
+
+2002-03-27 Colin Walters <walters@debian.org>
+
+ * update-game-score.c: New file.
+
+2002-03-22 Paul Eggert <eggert@twinsun.com>
+
+ * etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
+ `sort TAGFILE -o TAGFILE', as POSIX 1003.1-2001 disallows
+ the latter usage.
+
2002-03-12 Francesco Potorti` <pot@gnu.org>
* etags.c (Python_functions): Skip spaces at beginning of lines.
(readline): Canonicalize the name found in #line directive.
2002-03-06 Jason Rumney <jasonr@gnu.org>
+
* etags.c (put_entries): Use #if !CTAGS, to fix link error on
compilers that don't optimize out dead code.
file on left nodes.
(put_entries): Print here the name of the file.
(put_entries): Print the entries starting from the first file.
- (number_len, total_size_of_entries): Define these only iin etags
+ (number_len, total_size_of_entries): Define these only in etags
mode, make the second work only on the right nodes.
* etags.c: Make all global variables static.