*** empty log message ***
[bpt/emacs.git] / lib-src / ChangeLog
index 361909f..483aafd 100644 (file)
@@ -1,3 +1,239 @@
+2001-04-03  Gerd Moellmann  <gerd@gnu.org>
+
+       * b2m.c (main): Always return a value.
+
+2001-03-02  Gerd Moellmann  <gerd@gnu.org>
+
+       * ebrowse.c (parse_qualified_param_ident_or_type): Return a
+       freshly allocated object in *LAST_ID.
+       (read_line): Accept \r\n line endings.
+
+2001-02-24  Andrew Innes  <andrewi@gnu.org>
+
+       * makefile.w32-in: Fix copyright notice.
+
+2001-02-23  Francesco Potorti`  <pot@gnu.org>
+
+       * etags.c (enum sym_type): New label st_C_template.
+       (gperf input): Use it for switching to C++ from C.
+       (consider_token): Do it.
+       (C_entries): Initialise typdefcblev to quiet compilers.
+       [!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
+
+2001-02-22  Andrew Innes  <andrewi@gnu.org>
+
+       * makefile.nt ($(BLD)\movemail.obj): Remove reference to
+       VMS header files.
+       ($(BLD)\profile.obj): Ditto.
+
+       * makefile.w32-in ($(BLD)/movemail.$(O)): Remove reference to
+       VMS header files.
+       ($(BLD)/profile.$(O)): Ditto.
+
+2001-02-05  Andrew Innes  <andrewi@gnu.org>
+
+       * makefile.w32-in ($(DOC)): Use $(THISDIR) instead of . in
+       invocation of make-docfile, to work with Windows 2000.
+
+2001-01-31  Dave Love  <fx@gnu.org>
+
+       * etags.c (in_word_set): Use `static' in definition (for pcc).
+
+2001-01-31  Francesco Potorti`  <pot@gnu.org>
+
+       * etags.c: [NDEBUG] #undef assert and #define it as ((void)0), for
+       the sake of some buggy assert.h (e.g. in MinGW and sunos4 pcc).
+       (C_entries): Tag token renamed to still_in_token because sunos4
+       pcc wants to expand it as the token() macro even though it has no
+       arguments.
+
+2001-01-30  Andrew Innes  <andrewi@gnu.org>
+
+       * etags.c (assert) [__MINGW32__]: Redefine assert to work around a
+       bug in the Mingw32 assert.h header file.
+
+2001-01-30  Francesco Potorti`  <pot@gnu.org>
+
+       * etags.c: [WIN32-NATIVE]: #undef MSDOS, #undef WINDOWSNT and
+       #define it for the sake of Xemacs.
+       [WINDOWSNT]: #undef HAVE_NTGUI even if built without
+       HAVE_CONFIG_H.  This change only affects a standalone etags.
+       [WINDOWSNT]: #undef DOS_NT and #define it even if built with
+       HAVE_CONFIG_H.  This change does nothing in Emacs, as DOS_NT is
+       always defined when HAVE_CONFIG_H and WINDOWS are both defined.
+       [!HAVE_UNISTD_H]: use defined(WINDOWSNT) instead of the bare
+       WINDOWSNT, as this is the correct way to use it.
+
+2001-01-28  Francesco Potorti`  <pot@gnu.org>
+
+       * etags.c: Be capable to parse nested struct-like structures.
+       (structdef, structtag): Struct state machine revisited.
+       (struct tok): Revisited.
+       (cstack, nestlev, instruct): New struct and macros.
+       (pushclass_above, popclass_above, write_classname): New functions
+       for dealing with nested class names, inspired by Mykola Dzyuba.
+       (consider_token, make_C_tag, C_entries): Many changes for dealing
+       with arbitrarily nested structures.
+       (etags_getcwd): #if MSDOS, not #ifdef MSDOS!
+       (C_entries): Consider templates in C++.
+       (sym_type): New constant st_C_class for detecting "class" also in
+       C mode.
+       (C_AUTO): New macro for automatic detection of C++.
+       (consider_token): Automatic set C++ mode.
+       (C_entries): New security check for yacc.
+       (print_language_names, print_help): Mention the autodetect
+       feature, do not show help for the -C option, now mostly useless.
+       (C_entries): Tag C++ forward declarations if --declarations.
+       (C_entries): Don't be fooled by things like XDEFUN.
+       (consider_token): Discard asm pseudo function.
+
+2001-01-27  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * etags.c: Add a coding: tag.
+
+2001-01-26  Gerd Moellmann  <gerd@gnu.org>
+
+       * ebrowse.c (matching_regexp_buffer, matching_regexp_end_buf):
+       New variables.
+       (matching_regexp): Use them instead of static variables in
+       function scope.
+
+2001-01-25  Francesco Potorti`  <pot@gnu.org>
+
+       * etags.c (struct tok): Renamed from struct token.
+       (token): Renamed from tok.
+       (structtype): Make it a local variable.
+       [DEBUG]: Use assert.
+       (xrnew): Change the synopsis.
+       (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
+       (grow_linebuffer): Don't call xrnew when not needed.
+       (token): buffer renamed to line.
+       (C_entries): Three calls to inibuffer moved here from main.
+       (C_entries): Removed all references to var methodlen, delete it.
+       (linebuffer_setlen): Was grow_buffer, now also sets len.
+       (consider_token, C_entries, Pascal_functions): Use it.
+       (C_entries): Preventing problems relative to extern "C".
+       (C_entries): Can tag more than one variable or func separated by
+       comma when --declarations is used.
+       (C_entries): More accurate tagging of members and declarations.
+       (yacc_rules): Was global, made local to C_entries.
+       (next_token_is_func): Removed.
+       (fvdef): New constants fdefunkey, fdefunname.
+       (consider_token, C_entries): Use them.
+       (C_entries): Build proper lisp names for Emacs DEFUNs.
+
+2001-01-22  Gerd Moellmann  <gerd@gnu.org>
+
+       * ebrowse.c (xfree): New function.
+       (member, declaration, globals): Use xmalloc instead of alloca.
+
+2001-01-15  Francesco Potorti`  <pot@gnu.org>
+
+       * etags.c (print_language_names): Print filenames in addition to
+       suffixes.
+
+2001-01-14  Francesco Potorti`  <pot@gnu.org>
+
+       * etags.c (get_language_from_langname): Renamed from
+       get_language_from_name.
+       (get_language_from_filename): Renamed from
+       get_language_from_suffix.  Now first looks for the complete file
+       name.
+       (language): New member char **filenames.
+       (Makefile_filenames): List of possible filenames for makefiles.
+       (lang_names): Added a NULL member for every entry, added an entry
+       for makefiles.
+       (Makefile_targets): New function, inspired by Assar Westerlund
+       <assar@sics.se>.
+       (Texinfo_nodes): Renamed from Texinfo_fuctions and made
+       it conformant to the style of the rest of the code.
+
+2001-01-13  Gerd Moellmann  <gerd@gnu.org>
+
+       * make-docfile.c (write_c_args): Print newlines as spaces.
+
+2001-01-06  Andrew Innes  <andrewi@gnu.org>
+
+       * makefile.w32-in (clean): Delete $(COMPILER_TEMP_FILES) instead
+       of *.pdb.
+
+2001-01-03  Paul Eggert  <eggert@twinsun.com>
+
+       * lib-src/rcs2log: Avoid security hole allowing attacker to
+       cause user of rcs2log to overwrite arbitrary files, fixing
+       a bug reported by Morten Welinder.
+
+       Don't put "exit 1" at the end of the exit trap; it's
+       ineffective in POSIX shells.
+
+2001-01-02  Gerd Moellmann  <gerd@gnu.org>
+
+       * ebrowse.c (yyerror): Changed to take two arguments.  Prototype
+       added.  Callers changed.
+
+2001-01-02  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * ebrowse.c (enter_namespace, main): Cast variables to shut up
+       compiler warnings.
+       (yyerror): Change parameter declarations to be of type long, so
+       that they can take pointers on 64-bit platforms.
+
+       * emacsclient.c (main): Remove unused local variable statbfr.
+       (main) <homedir>: Make its declaration conditional on
+       SERVER_HOME_DIR, to avoid compiler warnings.
+
+       * emacsserver.c (main) <homedir>: Make its declaration conditional
+       on SERVER_HOME_DIR, to avoid compiler warnings.
+
+       * fakemail.c (readline): Cast buffer to "long *" to pacify
+       over-zealous compilers.
+
+2000-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * etags.c (canonicalize_filename) [DOS_NT]: Fix last change.
+
+2000-12-15  Gerd Moellmann  <gerd@gnu.org>
+
+       * ebrowse.c (operator_name): Cast argument of isalpha to
+       unsigned char.
+
+       * etags.c (ISALNUM, ISALPHA, ISDIGIT, ISLOWER): New macros.
+       Use them throughout instead of ctype functions/macros.
+       (lowcase): Cast to unsigned char.
+       (UPCASE): New macro.
+       (canonicalize_filename): Use UPCASE instead toupper.
+
+       * fakemail.c (get_keyword): Make sure that isspace and
+       similar aren't called with a negative argument.
+
+2000-12-13  Dave Love  <fx@gnu.org>
+
+       * ebrowse.c (ensure_scope_buffer_room): Fix xrealloc call.
+
+2000-12-06  Andrew Innes  <andrewi@gnu.org>
+
+       * makefile.w32-in (LOCAL_FLAGS): Remove -DVERSION flag, since we
+       don't know the real version, and I can't seem to get the quoting
+       right in all circumstances.
+
+       * ebrowse.c (VERSION): Provide default definition, like etags.c
+       does, because Windows build can't snarf this from version.el.
+
+2000-11-30  Andrew Innes  <andrewi@gnu.org>
+
+       * makefile.w32-in ($(BLD)/ebrowse.exe): Use tabs not spaces.
+       (install): Ditto.
+
+2000-11-23  Jason Rumney  <jasonr@gnu.org>
+
+       * makefile.w32-in: Add targets for ebrowse.exe.
+       (LOCAL_FLAGS): Add -DVERSION flag.
+
+2000-09-25  Dave Love  <fx@gnu.org>
+
+       * sorted-doc.c: Include config.h.
+       [!HAVE_STDLIB_H]: Declare malloc.
+
 2000-09-14  Andrew Innes  <andrewi@gnu.org>
 
        * makefile.w32-in: Revert to Unix line endings.
        potential signed char to int conversion problem.
        (MSDOS): #undefine befere redefining
 
-2000-02-04  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
+2000-02-04  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c (many functions): Add prototypes.
 
        * etags.c (pfnote, new_pfnote, C_entries, prolog_pred)
        (erlang_func): Add `static' to definitions to keep pcc happy.
 
-2000-01-31  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
+2000-01-31  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c [MSDOS]: Set MSDOS to 1 if #defined, 0 otherwise.
        (get_compressor_from_suffix, process_file): Use MSDOS in if clause.
        * movemail.c (popmail): Allow mailbox specifications of the
        form `po:username:hostname'.
 
-1999-11-19  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
+1999-11-19  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c (_GNU_SOURCE): Define only if undefined.
        (get_scheme): Declaration deleted.
 
        * etags.c (print_help): Change email address to send bugs to.
 
-1999-11-01  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
+1999-11-01  Francesco Potorti`  <pot@gnu.org>>
 
        * etags.c: Add suffix psw for PSWrap.
        (L_getit): Generalize a "cp!=' '" into "!isspace(*cp)".
        [MSDOS]: Support DOS file names by handling e.g. foo.cgz as if it
        were foo.c.gz.
 
-1999-11-01  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
+1999-11-01  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c (sym_type, C_stab_entry): New constant st_C_operator.
        (fvdev): New constant foperator.
        (add_regex): New arg determining whether to use translation table.
        (analyse_regex): New arg.  Use it for add_regex.
 
-1999-11-01  Francesco Potorti`  <F.Potorti@cnuce.cnr.it>
+1999-11-01  Francesco Potorti`  <pot@gnu.org>
 
        * etags.c (init): Cosmetic change: NULL --> '\0'.
        (erlang_attribute): Bug corrected (uninitialized variable).
@@ -473,15 +709,15 @@ line.  Change logs above this notice are those for the 21.x code line.
 2000-06-13  Gerd Moellmann  <gerd@gnu.org>
 
        * Version 20.7 released.
-       
+
 2000-02-26  Gerd Moellmann  <gerd@gnu.org>
 
        * Version 20.6 released.
-       
+
 1999-12-04  Gerd Moellmann  <gerd@gnu.org>
 
        * Version 20.5 released.
-       
+
 1999-11-13  Gerd Moellmann  <gerd@gnu.org>
 
        * Makefile.in (b2m): Add dependency on GETOPTDEPS.
@@ -4226,5 +4462,5 @@ Tue Jul  1 01:09:07 1997  Geoff Voelker  <voelker@cs.washington.edu>
        * loadst.c (main) [XENIX]: use /usr/spool/mail, not /usr/mail.
 
 ;; Local Variables:
-;; coding: iso-2022-7bit-unix
+;; coding: iso-2022-7bit
 ;; End: