* etags.c (main): Use `sort -o TAGFILE TAGFILE' instead of
[bpt/emacs.git] / lib-src / ChangeLog
index ef5491a..f2ac9d9 100644 (file)
@@ -1,3 +1,68 @@
+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.
+       (Python_functions, PHP_functions): Name tags, for ctags' sake.
+       (TeX_commands): Name tags.  Correction of old disabled code.
+
+       * etags.c (curfiledir, curtagfname): New global variables.
+       (process_file): Initialise them.
+       (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.
+
+2002-03-05  Francesco Potorti`  <pot@gnu.org>
+
+       * etags.c: Honour #line directives.
+       (no_line_directive): New global var; set it for old behaviour.
+       (main): Remove some #ifdef in the getopt switch.
+       (add_node, put_entries): Code added to merge different chunks of
+       nodes referring to the same file.  Currently the tags are just
+       appended, without any check for duplicates.
+       (Perl_functions): Do not special case ctags.
+       (readline): Identify #line directives and do the right thing.
+       (nocharno, invalidcharno): New global vars.
+       (process_file): Reset nocharno.
+       (readline): Set nocharno.
+       (pfnote): Read nocharno and maybe put invalidcharno in node.
+       (total_size_of_entries, put_entries): Use invalidcharno.
+
+       * etags.c: Keep the whole tag table in memory, even in etags mode.
+       (main): Call put_entries here even in CTAGS mode.
+       (main, process_file): Check the return values of fclose and pclose.
+       (process_file): Do not call put_entries after parsing each file.
+       (process_file): Canonicalise file names even for ctags.
+       (process_file): Set curfile here...
+       (find_entries): ... not here any more.
+       (add_node): In etags mode, build a linked list of entries (on
+       right pointer) for each file, and link the first entry of each
+       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
+       mode, make the second work only on the right nodes.
+
+       * etags.c: Make all global variables static.
+
+2002-02-25  Juanma Barranquero  <lektu@terra.es>
+
+       * makefile.w32-in (lisp): Add missing backslash.
+
+2002-02-24  Jason Rumney  <jasonr@gnu.org>
+
+       * makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
+       using .elc files.
+       (lisp): Sync with list in src/Makefile.in
+       (VMS_SUPPORT, MSDOS_SUPPORT): Define, so DOC files can be shared.
+
 2002-02-10  Paul Eggert  <eggert@twinsun.com>
 
        * rcs-checkin: Use `sort -k 2', not `sort +1', as POSIX 1003.1-2001
 2001-10-09  Gerd Moellmann  <gerd@gnu.org>
 
        * emacsserver.c (main): Cast geteuid in sprintf to int.
-       From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
 
-       * emacsclient.c (main): Cast isdigit() argument to unsigned char.
-       From Hallvard B Furuseth <h.b.furuseth@usit.uio.no>.
+       * emacsclient.c (main): Cast isdigit argument to unsigned char.
 
 2001-10-07  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>