-2012-01-19 Chong Yidong <cyd@gnu.org>
+2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
- * Version 23.4 released.
+ * emacsclient.c (main): Handle -print-nonl command.
-2012-01-10 Glenn Morris <rgm@gnu.org>
+ * emacsclient.c (main): Handle multiple messages in a single
+ datagram.
+
+ * emacsclient.c (socket_name): Add const.
+ (get_server_config): Add parameter config_file, use it instead of
+ global server_file.
+ (set_tcp_socket): Add parameter local_server_file, pass it down to
+ get_server_config.
+ (set_local_socket): Add parameter local_socket_name, use it
+ instead of global socket_name.
+ (set_socket): Adjust calls to set_local_socket and set_tcp_socket.
+ Don't clobber global server_file or socket_name.
+ (main): No longer reset server_file or socket_name.
+
+2012-01-05 Glenn Morris <rgm@gnu.org>
* ebrowse.c (version) <emacs_copyright>:
* etags.c (print_version) <emacs_copyright>:
* rcs2log (Copyright): Update short copyright year to 2012.
+2011-12-25 Andreas Schwab <schwab@linux-m68k.org>
+
+ * etags.c (C_entries): Properly skip over string and character
+ constants and comments inside brackets. (Bug#10357)
+
+2011-12-04 Juanma Barranquero <lekktu@gmail.com>
+
+ * emacsclient.c (decode_options) [WINDOWSNT]: Don't force tty = 0;
+ instead, treat both -c and -t as always requesting a new "tty" frame,
+ and let server.el decide which kind is actually required.
+ Reported by Uwe Siart <usenet@siart.de> in this thread:
+ http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00303.html
+
+2011-11-30 Chong Yidong <cyd@gnu.org>
+
+ * emacsclient.c (main): Condition last change on WINDOWSNT
+ (Bug#10155).
+
+2011-11-27 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS).
+
+ * emacsclient.c (main) <environ>: Remove declaration, already
+ pulled in by unistd.h on Posix hosts and stdlib.h on MS-Windows.
+
+2011-11-24 Glenn Morris <rgm@gnu.org>
+
+ * make-docfile.c (scan_lisp_file): Treat defcustom like defvar.
+
+2011-11-14 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * Makefile.in (all): Make sure "all" is the first target.
+
+2011-10-27 Juanma Barranquero <lekktu@gmail.com>
+
+ * emacsclient.c (w32_getenv): Silence compiler warnings.
+
+2011-09-07 Glenn Morris <rgm@gnu.org>
+
+ * etags.c (Fortran_functions): Handle "elemental" functions.
+
+2011-09-07 Dieter Schuster <didischuster@arcor.de> (tiny change)
+
+ * etags.c (Fortran_functions): Handle "pure" functions. (Bug#9359)
+
+2011-09-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ * Makefile.in ($(DESTDIR)${archlibdir}): install-sh moved
+ to build-aux (Bug#9169).
+
+2011-09-04 Paul Eggert <eggert@cs.ucla.edu>
+
+ Integer and memory overflow issues (Bug#9397).
+
+ * emacsclient.c (xmalloc): Accept size_t, not unsigned int, to
+ avoid potential buffer overflow issues on typical 64-bit hosts.
+ Return void *, not long *.
+ (get_current_dir_name): Report a failure, instead of looping
+ forever, if buffer size calculation overflows. Treat malloc
+ failures like realloc failures, as that has better behavior and is
+ more consistent. Do not check whether xmalloc returns NULL, as
+ that's not possible.
+ (message): Do not arbitrarily truncate message to 2048 bytes when
+ sending it to stderr; use vfprintf instead.
+ (get_server_config, set_local_socket)
+ (start_daemon_and_retry_set_socket): Do not alloca
+ arbitrarily-large buffers; that's not safe.
+ (get_server_config, set_local_socket): Do not use sprintf when its
+ result might not fit in 'int'.
+ (set_local_socket): Do not assume uid fits in 'int'.
+
+ * etags.c (xmalloc, xrealloc): Accept size_t, not unsigned int,
+ to avoid potential buffer overflow issues on typical 64-bit hosts.
+ (whatlen_max): New static var.
+ (main): Avoid buffer overflow if subsidiary command length is
+ greater than BUFSIZ or 2*BUFSIZ + 20. Do not use sprintf when its
+ result might not fit in 'int'.
+
+ * movemail.c (main): Do not use sprintf when its result might not fit
+ in 'int'. Instead, put the possibly-long file name into the
+ output of pfatal_with_name.
+
+ * update-game-score.c: Include <limits.h>
+ (get_user_id): Do not assume uid fits in 'int'. Simplify.
+
+2011-07-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ Assume freestanding C89 headers, string.h, stdlib.h.
+ * ebrowse.c: Include stdlib.h unconditionally.
+ * etags.c, update-game-score.c:
+ Include string.h and stdlib.h unconditionally.
+ * makefile.w32-in (LOCAL_CFLAGS): Don't define STDC_HEADERS.
+ * movemail.c, pop.c: Include string.h unconditionally.
+ * update-game-score.c: No need to include stdarg.h; not used.
+
+ Assume support for memcmp, memcpy, memmove, memset.
+ * etags.c (absolute_filename): Assume memmove exists.
+
+2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
+
+ * update-game-score.c (usage): Update usage line.
+
+2011-07-02 Jason Rumney <jasonr@gnu.org>
+
+ * emacsclient.c (decode_options) [WINDOWSNT]: Avoid tty mode on
+ Windows (Bug#5486).
+
+2011-06-25 Glenn Morris <rgm@gnu.org>
+
+ * emacsclient.c (decode_options) <opt>: Add `F:'.
+ (print_help_and_exit): Mention --frame-parameters.
+
+2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
+
+ * emacsclient.c (longopts, decode_options, main): Add frame-parameters.
+
+2011-06-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ * movemail.c: Fix race condition and related bugs (Bug#8836).
+ (main) [!MAIL_USE_SYSTEM_LOCK]: Prefer mkstemp to mktemp, as this
+ fixes some race conditions. Report mkstemp/mktemp errno rather
+ than a possibly-garbage errno. Reinitialize the template each
+ time through the loop, as earlier mkstemp/mktemp calls could have
+ trashed it. Pass 0600 (not 0666) to mktemp, for consistency
+ with mkstemp; the permissions don't matter anyway.
+
+2011-06-01 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * emacsclient.c (socket_status): Use constant pointer.
+
+2011-05-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ Use 'inline', not 'INLINE'.
+ * etags.c (hash): Now inline unconditionally.
+ * make-docfile.c (put_char): inline, not INLINE.
+
+2011-05-25 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (.c.o): Remove (every .o file has an explicit rule).
+ (insrcdir): New.
+ (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
+ Use $insrcdir to suppress unaesthetic ignored errors.
+ (clean): Simplify list of things to delete.
+ (all, clean): Use $EXE_FILES.
+
+ * Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
+
+ * Makefile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
+ (etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
+
+2011-05-24 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (update-game-score${EXEEXT}): Use a single rule.
+
+2011-05-19 Glenn Morris <rgm@gnu.org>
+
+ * makefile.w32-in (echolisp): Remove rule that is no longer needed.
+ (clean): No more echolisp.tmp.
+
+2011-05-18 Glenn Morris <rgm@gnu.org>
+
+ * fakemail.c: Remove file.
+ * makefile.w32-in ($(BLD)/fakemail.exe, fakemail)
+ ($(BLD)/fakemail.$(O)): Remove.
+ * Makefile.in (UTILITIES): Remove fakemail${EXEEXT}.
+ (fakemail${EXEEXT}): Remove rule.
+
+2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * makefile.w32-in (obj): Add gnutls.o.
+
+2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ Static checks with GCC 4.6.0 and non-default toolkits.
+
+ * movemail.c (mail_spool_name): Protoize.
+ (main): Remove unused var. Mark var as initialized.
+ Move locals to avoid shadowing, and use time_t for times.
+
+ * fakemail.c (xmalloc, xreallc): Use standard C prototypes
+ with void *. This avoids warnings about pointer casts.
+
+ * emacsclient.c (main): Don't use uninitialized var.
+ (IS_ANY_SEP): Remove; unused.
+ (get_current_dir_name): Add an extern decl.
+
+2011-04-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ Fix more problems found by GCC 4.6.0's static checks.
+
+ * emacsclient.c (message): Mark it as a printf-like function.
+
+ * make-docfile.c (IF_LINT): New macro, copied from emacsclient.c.
+ (write_c_args): Use it to suppress GCC warning.
+
+2011-03-30 Paul Eggert <eggert@cs.ucla.edu>
+
+ Fix a problem found by GCC 4.6.0's static checks.
+ * etags.c (just_read_file): Remove dummy variable and simplify.
+
+2011-03-27 Glenn Morris <rgm@gnu.org>
+
+ * emacsclient.c: Replace SIGTYPE with void.
+
+2011-03-23 Juanma Barranquero <lekktu@gmail.com>
+
+ * ntlib.c: Include <ctype.h>.
+
+2011-03-23 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in ($(DESTDIR)${archlibdir}):
+ Use `install-sh -d' rather than mkinstalldirs.
+
+2011-03-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ * ebrowse.c: Use size_t, not int, for sizes.
+ This avoids a warning with gcc -Wstrict-overflow, and works
+ better for very large objects.
+ (inbuffer_size): Now size_t. All uses changed.
+ (xmalloc, xrealloc, operator_name, process_file): Use size_t for
+ sizes. Don't bother testing whether a size_t value can be negative.
+
+ * etags.c (Ada_funcs): Redo slightly to avoid overflow warning.
+
+ etags: In Prolog functions, don't assume int fits in size_t.
+ This avoids a warning with gcc -Wstrict-overflow.
+ * etags.c (Prolog_functions, prolog_pr, prolog_atom): Use size_t,
+ not int, to store sizes.
+ (prolog_atom): Return 0, not -1, on error. All callers changed.
+
+ update-game-score: fix bug with -r
+ * update-game-score.c (main): Don't set 'scores' to garbage when
+ -r is specified and scorecount != MAX_SCORES (Bug#8310). This bug
+ was introduced in the 2002-04-10 change, and was found with gcc
+ -Wstrict-overflow (GCC 4.5.2, x86-64).
+
+ fakemail: Remove dependency on ignore-value.
+ This undoes some of the recent fakemail-related changes.
+ It is made possible due to recent changes to gnulib's stdio module.
+ * Makefile.in (fakemail${EXEEXT}): Do not depend on ignore-value.h.
+ * fakemail.c: Do not include ignore-value.h.
+ (put_line): Do not use ignore_value.
+
2011-03-07 Chong Yidong <cyd@stupidchicken.com>
* Version 23.3 released.
+2011-03-03 Drake Wilson <drake@begriffli.ch> (tiny change)
+
+ * emacsclient.c (longopts): Add quiet.
+ (decode_options): Handle q/quiet.
+ (print_help_and_exit): Add q/quiet.
+ (main): Suppress some messages if quiet option is used.
+
+2011-02-26 Eli Zaretskii <eliz@gnu.org>
+
+ * Makefile.in (fakemail${EXEEXT}): Depend on lib/ignore-value.h.
+
+ * emacsclient.c (xstrdup) [WINDOWSNT]: Function added back.
+ (w32_getenv): Use xstrdup to return all values in malloc'ed
+ storage.
+
+2011-02-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ * ebrowse.c (parse_qualified_param_ident_or_type): Make it clear
+ to reader (and to the compiler) that the loop always executes at
+ least once. This prevents a warning with recent GCC.
+ (BROWSE_STRUCT): Remove unused macro.
+
+ * fakemail.c: Include <ignore-value.h>.
+ (put_line): Explicitly ignore fwrite return value, for benefit of
+ recent glibc + gcc.
+ (close_the_streams): Diagnose output errors instead of merely
+ exiting with nonzero status.
+ (my_fclose, main): Diagnose input errors, and exit with nonzero status.
+ Formerly, input errors were silently ignored.
+
+ * ebrowse.c (putstr): Rename from PUTSTR and turn into a function.
+ All callers changed. This is cleaner, and avoids GCC warnings about
+ passing NULL to fputs.
+ (insert_keyword): Rename parameter to avoid shadowing diagnostic.
+
+2011-02-25 Paul Eggert <eggert@cs.ucla.edu>
+
+ * emacsclient.c (main): Avoid dangling 'if'.
+ (xstrdup): Remove; no longer needed.
+ (get_current_dir_name, w32_getenv, get_server_config, find_tty):
+ (set_local_socket, main):
+ Use const char *, not char *, for pointers that are not assigned
+ through.
+ (IF_LINT): New macro.
+ (set_local_socket, main): Use it to suppress warnings with
+ GCC -Wuninitialized.
+
+ * emacsclient.c: Redo local variables to avoid shadowing problems.
+ (message, socket_status, start_daemon_and_retry_set_socket):
+ Rename locals.
+ (main): Move decl of "i".
+
+ * etags.c (ISUPPER): Move to inside the only #ifdef where it's used.
+ This avoids an unused-macro warning with some GCC settings.
+
+ * make-docfile.c (write_globals): Change char * to char const *
+ to avoid a GCC "assignment discards qualifiers" diagnostic
+ in some configurations.
+ (scan_c_file): Refactor local variable decls to make their scope
+ more accurate and to avoid a GCC -Wuninitialized diagnostic.
+
+2011-02-22 Eli Zaretskii <eliz@gnu.org>
+
+ * etags.c (canonicalize_filename, ISUPPER): Fix last change.
+
+ * makefile.w32-in ($(BLD)/ebrowse.$(O), $(BLD)/pop.$(O)): Depend
+ on ../lib/min-max.h.
+
+2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
+
+ etags: Downcase drive letters, for consistency with Emacs proper.
+ * etags.c (upcase): Remove; no longer used.
+ (canonicalize_filename): Downcase drive letters.
+
+ Assume S_ISLNK etc. work, since gnulib supports this.
+ * etags.c (S_ISREG): Remove.
+
+2011-02-22 Paul Eggert <eggert@cs.ucla.edu>
+
+ Assume S_ISLNK etc. work, since gnulib supports this.
+ * etags.c (S_ISREG): Remove.
+
+2011-02-22 Juanma Barranquero <lekktu@gmail.com>
+
+ * makefile.w32-in (obj): Remove filemode.o.
+
+2011-02-21 Paul Eggert <eggert@cs.ucla.edu>
+
+ New file "lib/min-max.h".
+ * ebrowse.c (min, max): Define them by including <min-max.h>
+ instead of defining it ourselves.
+ * pop.c (min): Likewise.
+ * Makefile.in (ebrowse${EXEEXT}, pop.o): Depend on min-max.h.
+
+ * movemail.c (popmail): Report fchown failure instead of ignoring it.
+ But if the file already has the right ownership, don't worry about it.
+
+ * make-docfile.c (input_buffer): Rename variables to avoid shadowing.
+ * test-distrib.c (buf): Make this local, to avoid shadowing.
+
+ * movemail.c (main, pop_retr): Rename locals to avoid shadowing.
+ (progname, sfi, sfo, ibuffer, obuffer): Remove unused vars.
+ (DONE): Remove unused macro.
+ (DIRECTORY_SEP, IS_DIRECTORY_SEP, IS_FROM_LINE):
+ Define these macros only in the contexts that need them.
+ * pop.c (index): Remove unused macro.
+ (KPOP_PORT): Define only if KERBEROS is defined.
+
+ Declare file-scope functions and variables static if not exported.
+ This is more consistent, and is nicer with gcc -Wstrict-prototypes.
+ * ebrowse.c, emacsclient.c, fakemail.c, make-docfile.c, movemail.c:
+ * profile.c, test-distrib.c, update-game-score.c:
+ Declare non-'main' functions and variables to be static.
+ * ebrowse.c: Omit redundant function prototypes.
+
+2011-02-21 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in ($(BLD)/ctags.$(O), $(BLD)/emacsclient.$(O))
+ ($(BLD)/etags.$(O), $(BLD)/movemail.$(O), $(BLD)/ntlib.$(O)):
+ Depend on $(EMACS_ROOT)/nt/inc/sys/stat.h.
+
+2011-02-21 Ben Key <bkey76@gmail.com>
+
+ * make-docfile.c (scan_c_file): Adapt DEFVAR_PER_BUFFER case to
+ the new BVAR macro.
+
+2011-02-20 Juanma Barranquero <lekktu@gmail.com>
+
+ * makefile.w32-in (obj): Remove md5.o.
+
+2011-02-18 Karl Chen <Karl.Chen@quarl.org>
+
+ * emacsclient.c (main): Loop while `recv' return EINTR.
+
+2011-02-09 Paul Eggert <eggert@cs.ucla.edu>
+
+ * make-docfile.c (EMACS_INTEGER): Rename from EMACS_INT.
+ This avoids collision with config.h's EMACS_INT on some
+ configurations. All uses changed.
+
+2011-02-08 Tom Tromey <tromey@redhat.com>
+
+ * make-docfile.c: Unconditionally include stdlib.h.
+ (generate_globals): New global.
+ (xrealloc): New function.
+ (main): Handle '-g'. Call start_globals, write_globals.
+ (scan_file): Conditionally call put_filename.
+ (start_globals): New function.
+ (struct global): New.
+ (num_globals, globals): New globals.
+ (add_global, compare_globals, write_globals): New functions.
+ (scan_c_file): Update for "-g".
+ (scan_lisp_file): Fail if "-g".
+
+2011-02-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ * emacsclient.c: Conform to C89 pointer rules.
+ (file_name_absolute_p): Accept const char *, not const unsigned
+ char *, to satisfy C89 rules.
+
2011-02-02 Eli Zaretskii <eliz@gnu.org>
- * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS): Add
- ``-DVERSION="\"$(VERSION)\"" -DEMACS_NAME="\"GNU Emacs\""''.
+ * makefile.w32-in (ETAGS_CFLAGS, CTAGS_CFLAGS):
+ Add ``-DEMACS_NAME="\"GNU Emacs\""''.
+ (obj): Remove strftime.o.
+
+2011-01-31 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in (VERSION): Don't define, defined on nt/config.nt.
+ (ECLIENT_CFLAGS): Remove -DVERSION.
+ ($(BLD)/emacsclient.$(O)): Don't depend on makefile.w32-in.
+
+2011-01-31 Paul Eggert <eggert@cs.ucla.edu>
+
+ src/emacs.c now gets version number from configure.in
+ * ebrowse.c: Adjust comment to say that.
+
+2011-01-30 Jim Meyering <meyering@redhat.com>
+
+ make-docfile: don't corrupt heap for an invalid .elc file
+ "printf '#@1a' > in.elc; ./make-docfile in.elc" would store 0
+ one byte before just-malloc'd saved_string buffer.
+ * make-docfile.c (scan_lisp_file): Diagnose an invalid dynamic
+ doc string length. Also fix an always-false while-loop test.
+
+2011-01-29 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in (LOCAL_FLAGS): Add -I../lib.
+ (GETOPTOBJS, GETOPTDEPS): Remove targets.
+ (MOVEMAILOBJS): Replace $(GETOPTOBJS) with ../lib/$(BLD)/libgnu.$(A).
+ ($(BLD)/movemail.exe): Depend on ../lib/getopt.h.
+ (ECLIENTOBJS, ETAGSOBJ, CTAGSOBJ, EBROWSEOBJ): Replace getopt.o
+ and getopt1.o with ../lib/$(BLD)/libgnu.$(A).
+ (clean): Don't remove getopt.h.
+ (getopt.h, $(BLD)/getopt.$(O), $(BLD)/getopt1.$(O)): Remove targets.
+ ($(BLD)/ctags.$(O), $(BLD)/etags.$(O)): Replace getopt.h with
+ $(EMACS_ROOT)/lib/getopt.h.
2011-01-28 Chong Yidong <cyd@stupidchicken.com>
* ntlib.h: Update prototype.
-2011-01-23 Chong Yidong <cyd@stupidchicken.com>
+2011-01-25 Chong Yidong <cyd@stupidchicken.com>
* movemail.c (main): Use setregid instead of setegid, which is
missing on older systems. Suggested by Peter O'Gorman (Bug#6811).
+2011-01-23 Paul Eggert <eggert@cs.ucla.edu>
+
+ Check return values of some library calls.
+ * hexl.c (main): Check fread result.
+ * make-docfile.c (main): Check chdir result.
+ (scan_c_file): Check fscanf result.
+ * movemail.c (main): Check ftruncate result.
+
+2011-01-17 Paul Eggert <eggert@cs.ucla.edu>
+
+ Include <unistd.h> unilaterally.
+ * emacsclient.c, etags.c, fakemail.c, make-docfile.c, movemail.c:
+ * pop.c, test-distrib.c, update-game-score.c:
+ Include <unistd.h> without worrying about HAVE_UNISTD_H, since
+ unistd.h is always present now, possibly supplied by gnulib.
+
+ Include <getopt.h> not "getopt.h".
+ * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
+ Since getopt.h is no longer in this directory, there's no point
+ using the form with double-quotes.
+
+ Remove unused files.
+ * getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
+ These files are now in ../lib, copied from gnulib.
+
+ Use gnulib's getopt-gnu module.
+ * Makefile.in (mostlyclean): Do not clean getopt.h or getopt.h-t,
+ as these are now done by gnulib.
+ (GETOPT_H, getopt.h, GETOPTOBJS, GETOPTDEPS, getopt.o, getopt1.o):
+ Remove; now done by gnulib. All uses removed.
+
+ Automate syncing from gnulib.
+ * Makefile.in (EXE_FILES): New macro.
+ (BASE_CFLAGS): Add -I../lib and -I${srcdir}/../lib,
+ for gnulib's .h files.
+ (LOADLIBES): Add ../lib/libgnu.a.
+ ($(EXE_FILES)): Depend on ../lib/libgnu.a.
+ (../lib/libgnu.a): New rule.
+
+2011-01-08 Paul Eggert <eggert@cs.ucla.edu>
+
+ * Makefile.in (EXECUTABLES): Remove; macro unused since 1993.
+
+2011-01-08 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (EMACSOPT): Add --no-site-lisp.
+
+ * Makefile.in (EMACSOPT): Remove --multibyte, it does nothing any more.
+
2011-01-02 Glenn Morris <rgm@gnu.org>
* ebrowse.c (version) <emacs_copyright>:
* ebrowse.c (yylex): If end of input buffer encountered while
searching for a newline after "//", return YYEOF. (Bug#7446)
-2010-11-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
+2010-11-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
* emacsclient.c (set_local_socket) [DARWIN_OS]: Add fall-back
definition of _CS_DARWIN_USER_TEMP_DIR for Mac OS X 10.4 and older.
-2010-10-01 Glenn Morris <rgm@gnu.org>
+2010-11-15 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * test-distrib.c: Remove include guards for config.h and fcntl.h.
+ (O_RDONLY): Do not define.
+ (cool_read): Fix type for variable "sofar".
+
+2010-10-25 Glenn Morris <rgm@gnu.org>
+
+ * makefile.w32-in (OTHER_PLATFORM_SUPPORT): Remove easymenu.elc.
+
+2010-10-23 Glenn Morris <rgm@gnu.org>
+
+ * digest-doc.c, sorted-doc.c: Remove files.
+ * Makefile.in (UTILITIES): Remove digest-doc and sorted-doc.
+ (digest-doc${EXEEXT}, sorted-doc${EXEEXT}): Remove rules.
+ * makefile.w32-in (ALL): Remove digest-doc and sorted-doc.
+ ($(BLD)/sorted-doc.exe, $(BLD)/digest-doc.exe, sorted-doc, digest-doc)
+ ($(BLD)/digest-doc.$(O), $(BLD)/sorted-doc.$(O)): Remove rules.
+ (install): Don't install digest-doc.exe or sorted-doc.exe.
+
+2010-10-10 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * Makefile.in (PROFILING_LDFLAGS): Remove, not needed.
+
+2010-10-09 Glenn Morris <rgm@gnu.org>
+
+ * b2m.c, b2m.pl: Remove files.
+ * Makefile.in (INSTALLABLES): Remove b2m.
+ * makefile.w32-in ($(BLD)/b2m.$(O)): Remove.
+
+2010-10-08 Glenn Morris <rgm@gnu.org>
* emacsclient.c (set_local_socket) [DARWIN_OS]: Try as a fall-back
DARWIN_USER_TEMP_DIR. (Bug#3992)
+2010-10-03 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * test-distrib.c (cool_read):
+ * movemail.c (main, concat):
+ * make-docfile.c (scan_file, write_c_args):
+ * emacsclient.c (get_server_config): Fix -Wconversion warning.
+ (egetenv): Move conditional definition earlier.
+ (progname): Use const.
+ * sorted-doc.c (xstrdup): Use const.
+
+ * Makefile.in: Remove ^L, old makes choke on it.
+
+2010-10-02 Wolfgang Schnerring <wosc@wosc.de> (tiny change)
+
+ * emacsclient.c (main): Return EXIT_FAILURE if Emacs sends us an
+ error string (Bug#6963).
+
+2010-10-02 Juanma Barranquero <lekktu@gmail.com>
+
+ * makefile.w32-in (tags): Remove target.
+
+2010-10-01 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in (tags, TAGS): New targets.
+
+2010-09-30 Juanma Barranquero <lekktu@gmail.com>
+
+ * emacsclient.c (get_server_config): Don't read Emacs pid from
+ the authentication file.
+
+2010-09-29 Juanma Barranquero <lekktu@gmail.com>
+
+ * makefile.w32-in (../src/config.h): Remove target, it is stale.
+
+ * emacsclient.c (main): Remove unused variables.
+ (start_daemon_and_retry_set_socket): Use EXIT_FAILURE.
+
+2010-09-25 Ulrich Mueller <ulm@gentoo.org>
+
+ * etags.c (compressors, print_language_names): Support xz compression.
+
+2010-08-11 Jan Djärv <jan.h.d@swipnet.se>
+
+ * fakemail.c: Include stdlib.h for getenv. Remove declaration of
+ popen, fclose and pclose.
+ (my_name, fatal, error, put_line): Use const char*.
+ (main): Remove extern getenv, mail_program_name is const char*.
+
+ * update-game-score.c (get_prefix, write_scores, main): Use const char*.
+
+ * sorted-doc.c (error, fatal, states): Use const char *.
+
+ * pop.h (pop_multi_first): Use const char *.
+ (_ARGS): Remove.
+
+ * pop.c (pop_multi_first, socket_connection, sendline): Use const char*.
+
+ * movemail.c (fatal, error, concat): Use const char *.
+
+ * make-docfile.c (error, fatal, scan_c_file, scan_lisp_file):
+ Use const char *.
+
+ * etags.c (compressor, language, Ada_suffix, Ada_help, Asm_suffixes)
+ (Asm_help, default_C_suffixes, default_C_help, Cplusplus_suffixes)
+ (Cplusplus_help, Cjava_suffixes, Cobol_suffixes, Cstar_suffixes)
+ (Erlang_suffixes, Erlang_help, Forth_suffixes, Forth_help)
+ (Fortran_suffixes, Fortran_help, HTML_suffixes, HTML_help)
+ (Lisp_suffixes, Lisp_help, Lua_suffixes, Lua_help)
+ (Makefile_filenames, Makefile_help, Objc_suffixes, Objc_help)
+ (Pascal_suffixes, Pascal_help, Perl_suffixes, Perl_interpreters)
+ (Perl_help, PHP_suffixes, PHP_help, plain_C_suffixses, PS_suffixes)
+ (PS_help, Prolog_suffixes, Prolog_help, Python_suffixes, Python_help)
+ (Scheme_suffixes, Scheme_help, TeX_suffixes, TeX_help, Texinfo_suffixes)
+ (Texinfo_help, Yacc_suffixes, Yacc_help, auto_help, none_help)
+ (no_lang_help, print_language_names)
+ (get_language_from_interpreter, get_language_from_filename)
+ (init, make_tag, struct C_stab_entry, write_classname, TEX_defenv)
+ (TEX_decode_env, nocase_tail, savestr, savenstr, fatal, pfatal)
+ (concat): Use const char*.
+
+ * emacsclient.c (message, sock_err_message, send_to_emacs)
+ (quote_argument, set_local_socket)
+ (start_daemon_and_retry_set_socket): Use const char*.
+
+ * ebrowse.c (struct member): filename, def_filename is const.
+ (struct sym): filename, sfilename is const.
+ (struct kw): name is const.
+ (add_sym, yyerror, token_string, insert_keyword, main): Use const char*.
+
+ * b2m.c (concat, fatal): Use const char*.
+ (main): Don't assign labels a string literal.
+
+2010-08-07 Juanma Barranquero <lekktu@gmail.com>
+
+ * ebrowse.c (usage, version, mark_virtual):
+ Remove duplicate declarations.
+
+2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * emacsclient.c: Move socket related #includes together with the
+ rest of the #includes. Move WINDOWSNT includes closer together.
+ (HAVE_CONFIG_H): Remove.
+ (NO_RETURN): Remove, defined in config.h.
+ (main): Convert definition to standard C.
+
+2010-07-29 Juanma Barranquero <lekktu@gmail.com>
+
+ * make-docfile.c (write_c_args): Warn for old-style empty arglist ().
+
+2010-07-25 Juanma Barranquero <lekktu@gmail.com>
+
+ * emacsclient.c (getcwd): Fix previous change: make getcwd
+ conditional on HAVE_GETCWD and declare with the correct POSIX
+ profile (for some reason MinGW headers define its 2nd arg as int,
+ not size_t; but getcwd is not used on Windows nonetheless).
+
+2010-07-25 Juanma Barranquero <lekktu@gmail.com>
+
+ * emacsclient.c (getcwd, w32_getenv):
+ * ntlib.h (getlogin, getuid, getegid, getgid): Fix prototypes.
+
+2010-07-24 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * update-game-score.c (usage): Add NO_RETURN specifier.
+ * movemail.c (fatal, pfatal_with_name, pfatal_and_delete):
+ * make-docfile.c (fatal):
+ * hexl.c (usage):
+ * fakemail.c (fatal):
+ * etags.c (fatal, suggest_asking_for_help, pfatal):
+ * emacsclient.c (fatal):
+ * b2m.c (fatal): Likewise.
+
+2010-07-23 Juanma Barranquero <lekktu@gmail.com>
+
+ * make-docfile.c (write_c_args): Correctly handle prefixes of "defalt".
+
+2010-07-20 Juanma Barranquero <lekktu@gmail.com>
+
+ * emacsclient.c (get_current_dir_name, w32_get_resource)
+ (w32_getenv, w32_set_user_model_id, w32_window_app, w32_execvp)
+ (close_winsock, initialize_sockets, w32_find_emacs_process)
+ (w32_give_focus):
+ * ntlib.c (getlogin, getuid, getgid, getegid):
+ Convert definitions to standard C.
+
+2010-07-12 Andreas Schwab <schwab@linux-m68k.org>
+
+ * Makefile.in (C_WARNINGS_SWITCH, PROFILING_CFLAGS)
+ (PROFILING_LDFLAGS): Set from substitution.
+ (BASE_CFLAGS): Add ${C_WARNINGS_SWITCH}.
+ (ALL_CFLAGS, CPP_CFLAGS): Add ${PROFILING_CFLAGS}.
+ (LINK_CFLAGS): Add ${PROFILING_LDFLAGS}.
+
+2010-07-12 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in (lisp2): Change hebrew.el to hebrew.elc (see
+ 2010-07-12T05:25:46Z!handa@etlken).
+
+2010-07-11 Andreas Schwab <schwab@linux-m68k.org>
+
+ * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
+ index, rindex.
+ * movemail.c (mail_spool_name, popmail): Likewise.
+ * pop.c (pop_list): Likewise.
+
+2010-07-11 Eli Zaretskii <eliz@gnu.org>
+
+ * makefile.w32-in (obj): Add menu.o, bidi.o, w32uniscribe.o,
+ and unexw32.o. (Bug#6603)
+
+2010-07-10 Eli Zaretskii <eliz@gnu.org>
+
+ * Makefile.in ($(DESTDIR)${archlibdir}): Convert spaces to TABs.
+
+2010-07-09 Andreas Schwab <schwab@linux-m68k.org>
+
+ * make-docfile.c (write_c_args): Restructure scanning loop.
+
+2010-07-09 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * make-docfile.c (write_c_args): Deal with type names in DEFUN
+ arguments.
+
+2010-07-08 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * update-game-score.c (P_): Remove macro.
+ * ebrowse.c: Remove include guards.
+ (P_): Remove macro.
+
+2010-07-07 Andreas Schwab <schwab@linux-m68k.org>
+
+ * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
+ memcpy, memmove, memset.
+ * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
+
+2010-07-06 Andreas Schwab <schwab@linux-m68k.org>
+
+ * movemail.c: Add MAIL_USE_POP around prototypes.
+ Include <string.h> if HAVE_STRING_H.
+ (strerror): Only declare if !HAVE_STRERROR.
+ (fatal): Make static.
+ (error): Likewise.
+ (pfatal_with_name): Likewise.
+ (pfatal_and_delete): Likewise.
+ (concat): Likewise.
+ (xmalloc): Likewise.
+ (popmail): Likewise.
+ (pop_retr): Likewise.
+ (mbx_write): Likewise.
+ (mbx_delimit_begin): Likewise.
+ (mbx_delimit_end): Likewise.
+
+2010-07-04 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * fakemail.c (action): Convert function definitions to standard C.
+ (add_a_stream):
+ * test-distrib.c (cool_read):
+ (main): Likewise.
+
+2010-07-03 Andreas Schwab <schwab@linux-m68k.org>
+
+ * sorted-doc.c (cmpdoc): Fix signature.
+ (qsort_compare): Delete.
+ (main): Remove cast.
+
+2010-07-03 Juanma Barranquero <lekktu@gmail.com>
+
+ * ebrowse.c (match_qualified_namespace_alias): Check for null pointer.
+
+2010-07-03 Juanma Barranquero <lekktu@gmail.com>
+
+ Fix prototype warnings.
+
+ * ebrowse.c (match_qualified_namespace_alias):
+ Pass sym* to find_namespace, not link*.
+
+ * emacsclient.c (send_to_emacs, quote_argument): Arg s is HSOCKET.
+
+ * sorted-doc.c (qsort_compare): New typedef.
+ (main): Use it to cast cmpdoc.
+
+2010-07-03 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * update-game-score.c: Convert function definitions to standard C.
+ * sorted-doc.c:
+ * profile.c:
+ * pop.c:
+ * movemail.c:
+ * make-docfile.c:
+ * hexl.c:
+ * fakemail.c:
+ * etags.c:
+ * ebrowse.c:
+ * digest-doc.c:
+ * b2m.c: Likewise.
+
+2010-07-02 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * make-docfile.c (xmalloc, xrealloc, concat, readline, fatal):
+ * b2m.c (scan_file, scan_lisp_file, scan_c_file): Convert to
+ standard C prototypes.
+
+2010-07-02 Jan Djärv <jan.h.d@swipnet.se>
+
+ * ebrowse.c: Remove P_ and __P.
+ * etags.c:
+ * movemail.c:
+ * pop.c:
+ * update-game-score.c: Likewise.
+
+2010-06-24 Juanma Barranquero <lekktu@gmail.com>
+
+ * movemail.c (error): Avoid warning when there are no args.
+
+2010-06-11 Juanma Barranquero <lekktu@gmail.com>
+
+ * makefile.w32-in (lisp2): Fix references to vc/vc-hooks.elc
+ and vc/ediff-hook.elc.
+
+2010-06-06 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * ntlib.h: Remove code dealing with BSTRING.
+
+2010-05-29 Chong Yidong <cyd@stupidchicken.com>
+
+ * emacsclient.c (longopts, decode_options, print_help_and_exit):
+ New arg `-parent-id'.
+ (main): Send parent-id to Emacs.
+
+2010-05-27 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (distclean): No more Makefile.c.
+
+2010-05-22 Jan Djärv <jan.h.d@swipnet.se>
+
+ * Makefile.in (STAMP_INST_SCRIPTS, STAMP_SCRIPS): New (Bug #6246).
+ (all): Depend onSTAMP_INST_SCRIPTS, STAMP_SCRIPS (Bug #6246).
+ (stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
+ New rules (Bug #6246).
+ (clean): Remove stamp-* (Bug #6246).
+
+2010-05-12 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (INSTALLABLES): Remove @LIB_SRC_EXTRA_INSTALLABLES@.
+
+2010-05-11 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (.m.o): Remove, there are no .m files.
+ (BASE_CFLAGS): New variable.
+ (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Use $BASE_CFLAGS.
+ (check): Update the message.
+ (update-game-score${EXEEXT}): Do not use $MOVE_FLAGS.
+
+ * Makefile.in: Convert comments to makefile format.
+
+ * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset.
+ (config.h) [MSDOS]: Do not include.
+
+2010-05-10 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (LIBS_SYSTEM): Set with configure, not cpp.
+ (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM.
+ (NOT_C_CODE): Remove, no longer used.
+ (config.h) [!MSDOS]: No longer include.
+ (LOADLIBES): Use LIBS_SYSTEM as a variable.
+
+ * Makefile.in (BLESSMAIL_TARGET): Set with configure, not cpp.
+
+2010-05-08 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (THIS_IS_MAKEFILE): Remove, unused.
+
2010-05-07 Chong Yidong <cyd@stupidchicken.com>
* Version 23.2 released.
-2010-05-05 Christoph <cschol2112@googlemail.com> (tiny change)
+2010-05-06 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in: Minimize blessmail-related cpp usage.
+ (BLESSMAIL_TARGET): New variable.
+ (MOVEMAIL_NEEDS_BLESSING): Remove, replace by above variable.
+ (blessmail): Always define this rule.
+ (need-blessmail): New rule, split out from maybe-blessmail.
+ (maybe-blessmail): Use BLESSMAIL_TARGET.
+
+2010-05-04 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in: Use @C_SWITCH_SYSTEM@, @C_SWITCH_MACHINE@ rather than
+ @c_switch_system@, @c_switch_machine@.
+
+2010-04-26 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * Makefile.in (LIBS_MACHINE): Remove all uses, unused.
+
+2010-04-12 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * Makefile.in (ALL_CFLAGS, LINK_CFLAGS, CPP_CFLAGS): Move to the
+ non-cpp section.
+
+2010-04-11 Dan Nicolaescu <dann@ics.uci.edu>
+
+ * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE): Define using
+ autoconf, not cpp.
+ (ALL_CFLAGS): Use them as make variables.
+
+2010-04-07 Christoph Scholtes <cschol2112@googlemail.com>
* makefile.w32-in (OTHER_PLATFORM_SUPPORT): Use parenthesis
for macros for nmake compatibility.
2010-04-02 Dan Rosenberg <dan.j.rosenberg@gmail.com> (tiny change)
- * movemail.c (main): Check return values of setuid. Avoid
- possibility of symlink attack when movemail is setgid mail
+ * movemail.c (main): Check return values of setuid.
+ Avoid possibility of symlink attack when movemail is setgid mail
(CVE-2010-0825).
-2010-03-19 Tetsurou Okazaki <okazaki@be.to> (tiny change)
+2010-04-02 Dan Nicolaescu <dann@ics.uci.edu>
+
+ Remove extern errno declarations.
+ * movemail.c:
+ * etags.c:
+ * emacsclient.c: Remove extern errno declarations.
+
+2010-03-20 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
+ (LIBHESIOD, LIBRESOLV): Make previous change a bit more friendly by
+ defining these as Makefile variables.
+ (LIBS_MOVE): Add LIBS_MAIL into this.
+ (movemail${EXEEXT}): Just use LIBS_MOVE, not LIBS_MAIL as well.
- * Makefile.in (uninstall): Handle the case where archlibdir does
- not exist. (Bug#5720)
+2010-03-18 Glenn Morris <rgm@gnu.org>
+
+ * Makefile.in (KRB4LIB, DESLIB, KRB5LIB, CRYPTOLIB, COM_ERRLIB)
+ (HESIODLIB, LIBS_MAIL): Set using autoconf rather than cpp.
+ (BASE_CFLAGS): Remove (identical to CPP_CFLAGS).
+
+2010-03-18 Tetsurou Okazaki <okazaki@be.to> (tiny change)
+
+ * Makefile.in (uninstall): Handle the case where archlibdir does not
+ exist. (Bug#5720)
+
+2010-03-10 Chong Yidong <cyd@stupidchicken.com>
+
+ * Branch for 23.2.
2010-02-20 Kevin Ryde <user42@zip.com.au>
2010-01-29 Kester Habermann <kester@linuxtag.org> (tiny change)
- * etags.c (Fortran_functions): Handle recursive keyword
- (Bug#5484).
+ * etags.c (Fortran_functions): Handle recursive keyword (Bug#5484).
2010-01-11 Glenn Morris <rgm@gnu.org>
2008-02-01 Jason Rumney <jasonr@gnu.org>
- * makefile.w32-in (obj): Sync with src/Makefile.in
+ * makefile.w32-in (obj): Sync with src/Makefile.in.
(TOOLTIP_SUPPORT, WINDOW_SUPPORT): New definitions.
(WINNT_SUPPORT): Add term/w32-win.elc.
(lisp1, lisp2): Sync with lisp in src/Makefile.in.
* etags.c [ETAGS_REGEXPS]: Now is unconditionally defined.
[LONG_OPTIONS]: Changed to NO_LONG_OPTIONS, which is undefined.
(Objc_suffixes): Suggest using --lang=c for full help.
- (C_entries): Initialise savetoken to 0 to shut up the compiler.
+ (C_entries): Initialize savetoken to 0 to shut up the compiler.
2006-07-20 Andreas Schwab <schwab@suse.de>
(wchar.h): Include, maybe.
(attribute_hidden): Define if not defined.
(__getopt_initialized): Use attribute_hidden.
- (__libc_argc, __libc_argv): Renamed from original_argc, etc.
+ (__libc_argc, __libc_argv): Rename from original_argc, etc.
(__getopt_nonoption_flags, nonoption_flags_max_len)
(nonoption_flags_len): Conditional on USE_NONOPTION_FLAGS.
(SWAP_FLAGS): New definitions.
2002-08-29 Francesco Potortì <pot@gnu.org>
* etags.c (C_entries): Correct a problem with const C++ funcs.
- (ignoreindent): Renamed from noindentypedefs.
+ (ignoreindent): Rename from noindentypedefs.
(cjava, cplpl): They are now macros instead of local vars.
2002-08-28 Francesco Potortì <pot@gnu.org>
(strcaseeq): Make it into a macro.
* etags.c (make_tag): Never generate null length tag names.
- (linebuffer_init): Renamed from initbuffer. All callers changed.
+ (linebuffer_init): Rename from initbuffer. All callers changed.
(pattern): Structure renamed to `regexp', member regex renamed to
pattern.
(node_st): Member pat renamed to regex.
(add_regex, regex_tag_multiline, readline): Use it.
(main): Free some global structures.
(fdesc): New member `written'.
- (readline, process_file): Initialise it.
+ (readline, process_file): Initialize it.
(put_entries): Set it.
(main): Use it to create entries for files without tags.
(total_size_of_entries): Do not count invalid tags.
(find_entries): Rewind unconditionally.
(find_entries): Do not call language functions directly, now calls
itself.
- (find_entries): Do general initialisations here.
+ (find_entries): Do general initializations 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.
2002-05-30 Richard M. Stallman <rms@gnu.org>
- * Makefile.in (LIBS_MAIL): Renamed from LIB_MAIL.
- (LIBS_MOVE): Renamed from MOVE_LIBS.
+ * Makefile.in (LIBS_MAIL): Rename from LIB_MAIL.
+ (LIBS_MOVE): Rename from MOVE_LIBS.
2002-05-26 Paul Eggert <eggert@twinsun.com>
(TeX_commands): Name tags. Correction of old disabled code.
* etags.c (curfiledir, curtagfname): New global variables.
- (process_file): Initialise them.
+ (process_file): Initialize them.
(readline): Canonicalize the name found in #line directive.
2002-03-06 Jason Rumney <jasonr@gnu.org>
(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): Canonicalize 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
* makefile.w32-in (WINNT_SUPPORT, MOUSE_SUPPORT, lisp): Revert to
using .elc files.
- (lisp): Sync with list in src/Makefile.in
+ (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>
(get_tag): Return a pointer to the tag that is found.
* etags.c (LOOKING_AT): Use !intoken instead of iswhite.
- (F_takeprec): Renamed from takeprec. All callers changed.
- (F_getit): Renamed from getit. All callers changed.
- (nocase_tail): Renamed from tail. All callers changed.
- (Ada_getit): Renamed from adagetit. All callers changed.
+ (F_takeprec): Rename from takeprec. All callers changed.
+ (F_getit): Rename from getit. All callers changed.
+ (nocase_tail): Rename from tail. All callers changed.
+ (Ada_getit): Rename from adagetit. All callers changed.
(L_getit): Simplify by using get_tag.
(Perl_functions, Postscript_functions, erlang_attribute): Use the
modified LOOKING_AT.
- (notinname): Removed '[' and added ')' to the recognised chars.
+ (notinname): Remove '[' and added ')' to the recognized chars.
(LOOKING_AT, get_tag, PHP_functions): Use notinname.
(Ada_getit, Ada_funcs, Python_functions, Scheme_functions):
Clarified, using strneq or notinname.
(L_isdef, L_isquote): Removed.
(Lisp_functions, L_getit): Clarified.
- * etags.c (P_): Renamed to __P for consistency with config.h.
+ * etags.c (P_): Rename to __P for consistency with config.h.
[HAVE_CONFIG_H]: Let config.h deal with __P.
[__STDC__] [!HAVE_CONFIG_H]: Define PTR as in config.h.
[!__STDC__] [!HAVE_CONFIG_H]: Do not undefine static, because
(Perl_functions, Python_functions, PHP_functions)
(Scheme_functions, Texinfo_nodes): Use it.
(Perl_functions): Use strneq.
- (prolog_pred): Renamed to prolog_pr.
- (prolog_pr): Recognise Prolog rules in addition to predicates.
+ (prolog_pred): Rename to prolog_pr.
+ (prolog_pr): Recognize Prolog rules in addition to predicates.
[ETAGS_REGEXPS] [!HAVE_CONFIG_H] [__CYGWIN__]: Prevent
unmodified compile, as Cygwin's regex.h is incompatible with us.
[!HAVE_CONFIG_H] [!__STDC__]: #define const as the empty string.
2001-10-13 Gerd Moellmann <gerd@gnu.org>
- * make-docfile.c (read_c_string_or_comment): Renamed from
+ * make-docfile.c (read_c_string_or_comment): Rename from
read_c_string. Add parameter COMMENT. Read C-style comments.
(scan_c_file): Handle doc strings in C comments.
* 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.
+ (C_entries): Initialize typdefcblev to quiet compilers.
[!HAVE_CONFIG_H] [!__STDC__]: #define static as nothing.
2001-02-22 Andrew Innes <andrewi@gnu.org>
2001-01-25 Francesco Potortì <pot@gnu.org>
- * etags.c (struct tok): Renamed from struct token.
- (token): Renamed from tok.
+ * etags.c (struct tok): Rename from struct token.
+ (token): Rename from tok.
(structtype): Make it a local variable.
[DEBUG]: Use assert.
(xrnew): Change the synopsis.
- (typedefs_or_cplusplus): Renamed from typedefs_and_cplusplus.
+ (typedefs_or_cplusplus): Rename 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.
2001-01-14 Francesco Potortì <pot@gnu.org>
- * etags.c (get_language_from_langname): Renamed from
+ * etags.c (get_language_from_langname): Rename from
get_language_from_name.
- (get_language_from_filename): Renamed from get_language_from_suffix.
+ (get_language_from_filename): Rename 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): Add a NULL member for every entry, added an entry
for makefiles.
(Makefile_targets): New function.
- (Texinfo_nodes): Renamed from Texinfo_fuctions and made
+ (Texinfo_nodes): Rename from Texinfo_functions and made
it conformant to the style of the rest of the code.
2001-01-13 Gerd Moellmann <gerd@gnu.org>
2000-07-14 Gerd Moellmann <gerd@gnu.org>
- * ebrowse.c (xrealloc, xmalloc): Renamed from yrealloc and ymalloc.
+ * ebrowse.c (xrealloc, xmalloc): Rename from yrealloc and ymalloc.
* etags.c (xmalloc, xrealloc): Make externally visible, for use
by alloca.o.
2000-06-06 Gerd Moellmann <gerd@gnu.org>
- * ebrowse.c (ymalloc): Renamed from xmalloc.
- (yrealloc): Renamed from xrealloc.
+ * ebrowse.c (ymalloc): Rename from xmalloc.
+ (yrealloc): Rename from xrealloc.
2000-05-21 Dave Love <fx@gnu.org>
2000-03-02 Gerd Moellmann <gerd@gnu.org>
- * etags.c (lisp_suffixes) Add `LSP'.
+ * etags.c (lisp_suffixes): Add `LSP'.
2000-02-10 Francesco Potortì <pot@gnu.org>
* etags.c (C_entries, consider_token): C++ `operator' now is
tagged in most cases.
- As before, :: is not recognised if surrounded by spaces.
+ As before, :: is not recognized if surrounded by spaces.
* etags.c (relative_filename): Account for DOS file names such
that is impossible to make one relative to another.
corrects a bug. All callers changed.
(canonicalize_filename): New function.
(process_file, etags_getcwd, absolute_dirname): Use it.
- (relative_filename, absolute_filename): Removed var shadowing.
+ (relative_filename, absolute_filename): Remove var shadowing.
(C_entries, Pascal_functions): Add fake initializations to keep
compilers quiet.
(TeX_functions, Prolog_functions, Erlang_functions): Cleanup.
1998-12-08 Geoff Voelker <voelker@cs.washington.edu>
- * makefile.nt: Do string comparision of _NMAKE_VER.
+ * makefile.nt: Do string comparison of _NMAKE_VER.
1998-11-03 Theodore Jump <tjump@cais.com>
1998-05-01 Andrew Innes <andrewi@harlequin.co.uk>
- * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS. Force
- all file i/o to be in binary mode. Include ntlib.h.
+ * movemail.c [WINDOWSNT]: Undefine DISABLE_DIRECT_ACCESS.
+ Force all file i/o to be in binary mode. Include ntlib.h.
1998-04-27 Andreas Schwab <schwab@delysid.gnu.org>
return types. Add forward declarations.
* emacsclient.c: Include <stdlib.h> and <unistd.h> if available.
Don't declare geteuid.
- (print_help_and_exit): Change return type to void. Forward
- declare it.
+ (print_help_and_exit): Change return type to void.
+ Forward declare it.
* b2m.c: Include <stdlib.h> if available.
(main): Explicitly declare return type.
1998-03-26 Richard Stallman <rms@psilocin.gnu.org>
- * pop.c (pop_getline): Renamed from getline.
+ * pop.c (pop_getline): Rename from getline.
1998-03-05 Richard Stallman <rms@psilocin.gnu.org>
with a '>' any lines starting with "From " read from the POP server,
but leave the code in place, wrapped in #ifdef
MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
- because it turns out that something is depending on it. Change
- suggested by Paul Eggert <eggert@twinsun.com>.
+ because it turns out that something is depending on it.
+ Change suggested by Paul Eggert <eggert@twinsun.com>.
Convert the character \037 (^_) at the beginning of a line into
the character '^' followed by the character '_', because otherwise
Emacs can't parse the resulting file as a valid BABYL file.
quotes with a '>' any lines starting with "From " read from the
POP server, but leave the code in place, wrapped in #ifdef
MOVEMAIL_QUOTE_POP_FROM_LINES, in case we have to restore it later
- because it turns out that something is depending on it. Change
- suggested by Paul Eggert <eggert@twinsun.com>.
+ because it turns out that something is depending on it.
+ Change suggested by Paul Eggert <eggert@twinsun.com>.
Convert the character \037 (^_) at the beginning of a line into
the character '^' followed by the character '_', because otherwise
1997-10-31 Jonathan I. Kamens <jik@kamens.brookline.ma.us>
- * pop.c (fullwrite): Get rid of an extra call to write. Problem
- pointed out by Chiaki Ishikawa.
+ * pop.c (fullwrite): Get rid of an extra call to write.
+ Problem pointed out by Chiaki Ishikawa.
1997-10-16 Dave Love <d.love@dl.ac.uk>
* etags.c (C_entries): Use "." instead of "::" for Java.
(consider_token): is_func renamed to is_func_or_var.
(C_entries): is_func renamed to funorvar.
- (C_entries): Initialise tok.named.
+ (C_entries): Initialize tok.named.
(sym_type, C_stab_entry, consider_token): st_C_ignore is used to
get rid of "import", "package" and "friend".
- (fvdef): Renamed from funcdef. Also some constants renamed. All
- users changed.
+ (fvdef): Rename from funcdef. Also some constants renamed.
+ All users changed.
(C_entries): Make separate tags for variables separated by comma.
(globals, members): New flags.
(main, C_entries): Use them.
(consider_token, C_entries): Set the len member of token_name.
(prolog_pred): Cleanup according to GNU coding standards.
(Cobol_suffixes, lang_names, Cobol_paragraphs): Cobol support.
- (prolog_white, erlang_white): Renamed to eat_white, callers changed.
+ (prolog_white, erlang_white): Rename to eat_white, callers changed.
1997-05-15 Francesco Potortì <F.Potorti@cnuce.cnr.it>
(lang_names): Add Java.
(sym_type): Add st_C_javastruct for Java.
(C_stab_entry): Add `extends' and `implements' keywords.
- (consider_token, C_entries): Recognise Java structures.
+ (consider_token, C_entries): Recognize Java structures.
1997-05-12 Francesco Potortì <F.Potorti@cnuce.cnr.it>
- * etags.c (Cplusplus_suffixes): .pdb is Postscript with C syntax.
- (Postscript_suffixes): .ps is Postscript.
- (lang_names): Add Postscript.
+ * etags.c (Cplusplus_suffixes): .pdb is PostScript with C syntax.
+ (Postscript_suffixes): .ps is PostScript.
+ (lang_names): Add postscript.
(Postscript_functions): New function.
(TEX_decode_env): Close minor memory leak.
(just_read_file): Correct the char number of the tag.
* etags.c (xnew): Add support for debugging with chkmalloc.
(error): Use this instead of printf whenever possible.
- (main): Only call xnew after having initialised progname.
+ (main): Only call xnew after having initialized progname.
(substitute): Bad memory corruption error corrected.
1997-04-08 Francesco Potortì <F.Potorti@cnuce.cnr.it>
* etags.c (relative_filename): Bug corrected.
(etags_getcwd): Avoid warning of unused variable.
- (C_entries, consider_token): Added support for enum labels.
+ (C_entries, consider_token): Add support for enum labels.
1996-11-03 Paul Eggert <eggert@twinsun.com>
1996-04-29 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
- * pop.c (SEND, RECV): Renamed from send, recv.
+ * pop.c (SEND, RECV): Rename from send, recv.
(pop_open, pop_trash): Make the trash_started code unconditional.
(socket_connection): Delete casts to void.
1996-04-28 Richard Stallman <rms@delasyd.gnu.ai.mit.edu>
- * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP): Definitions
- copied from lisp.h.
+ * movemail.c (DIRECTORY_SEP, IS_DIRECTORY_SEP):
+ Definitions copied from lisp.h.
1996-04-22 Andrew Innes <andrewi@harlequin.co.uk>
1996-03-15 Anders Lindgren <andersl@csd.uu.se>
- * etags.c: Prolog language totaly rewritten.
+ * etags.c: Prolog language totally rewritten.
(Prolog_functions): Rewritten from scratch.
(skip_comment, prolog_getit): Removed.
(prolog_skip_comment): New function, like old skip_comment.
(lang_names): Erlang entry added.
(prolog_getit): Accepts headers spanning several lines.
Always name tags.
- (Prolog_functions): Removed incorrect compensation for
+ (Prolog_functions): Remove incorrect compensation for
newline characters.
(readline_internal): Zero-terminate last line.
1995-12-01 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
- * Makefile.in (THIS_IS_MAKEFILE): Renamed from THIS_IS_YMAKEFILE.
+ * Makefile.in (THIS_IS_MAKEFILE): Rename from THIS_IS_YMAKEFILE.
1995-12-07 Francesco Potortì <pot@cnuce.cnr.it>
1995-12-06 Francesco Potortì <pot@cnuce.cnr.it>
* etags.c (Cplusplus_suffixes): Add .M suffix for Objective C++.
- (gperf): Added keywords for Objective C and GNU macros.
- (sym_type): Added values to account for Objective C and GNU macros.
+ (gperf): Add keywords for Objective C and GNU macros.
+ (sym_type): Add values to account for Objective C and GNU macros.
(begtk): The '@' character can start a token.
(objdef, methodlen, objtag): New variables for Objective C.
- (consider_token, C_entries): Added code for Objective C.
+ (consider_token, C_entries): Add code for Objective C.
(plain_C_suffixes): Add .m and .lm for Objective C.
(Yacc_suffixes): Add .ym for Objective yacc.
(GROW_LINEBUFFER): New macro.
1995-11-06 Francesco Potortì (pot@cnuce.cnr.it)
- * etags.c (get_lang_from_name, get_lang_from_interpreter,
- get_lang_from_suffix): New functions.
+ * etags.c (get_lang_from_name, get_lang_from_interpreter)
+ (get_lang_from_suffix): New functions.
(get_language): Function deleted.
(lang_entry): Two members added to struct.
(lang_names): Reflect the new layout of lang_entry.
* etags.c (lowcase): Use the standard tolower function.
(substitute): Remove some wrong and some useless code related with
escape '\' character in regexp replacement string.
- (TEX_defenv): Added part, appendix, entry, index. Removed typeout.
+ (TEX_defenv): Add part, appendix, entry, index. Remove typeout.
(lang_suffixes): New suffixes: .hpp for C++; .f90 for Fortran;
.bib, .ltx, .TeX for TeX (.bbl, .dtx removed); .ml for Lisp;
.prolog for prolog (.pl removed).
(massage_name, etags_getcwd): Use lowcase instead of tolower.
- (C_entries, find_entries): Added comments about memory leakage.
+ (C_entries, find_entries): Add comments about memory leakage.
(add_node): Dead code removed.
1995-10-29 Richard Stallman <rms@mole.gnu.ai.mit.edu>
* Makefile.in.in (install, maybe-blessmail): Don't cd ..;
configure has already set $(INSTALL) to the proper relative path.
-1995-06-27 Francesco Potortì (pot@cnuce.cnr.it)
-
- * etags.c (plain_C_entries): New function.
- (lowcase): New macro.
- (tail, Fortran_functions, Pascal_functions): Use new macro lowcase.
- (lang_suffixes): New suffix ".pc" for Pro*C files.
- (consider_token): Don't tag all tokens beginning with DEFUN & Co..
- (tail): Look for the end of the token when comparing.
- (takeprec): Since now tail behaves differently, use strneq.
-
1995-07-08 Paul Eggert <eggert@twinsun.com>
* rcs2log (datearg): Separate date from time with comma, not space,
1995-04-08 Richard Stallman <rms@mole.gnu.ai.mit.edu>
- * Makefile.in.in (BASE_CFLAGS): Renamed from ALLOCA_CFLAGS.
+ * Makefile.in.in (BASE_CFLAGS): Rename from ALLOCA_CFLAGS.
(alloca.o, regex.o): Use BASE_CFLAGS.
1995-04-06 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1995-04-04 Karl Heuer <kwzh@gnu.ai.mit.edu>
* Makefile.in.in (aixcc, aixcc.c): Targets deleted.
- (SOURCES, distclean): Removed obsolete references to aixcc.
+ (SOURCES, distclean): Remove obsolete references to aixcc.
1995-04-02 Richard Stallman <rms@mole.gnu.ai.mit.edu>
1995-02-22 Francesco Potortì (pot@cnuce.cnr.it)
- * etags.c (C_entries): token_saved removed. Initialise tok.valid and
- savetok.valid. Mark token as valid when it is initialised.
+ * etags.c (C_entries): token_saved removed. Initialize tok.valid and
+ savetok.valid. Mark token as valid when it is initialized.
(make_tag): Make token only if token is valid and reset validity.
(CNL_SAVE_DEFINEDEF): Test for savetok.valid instead of token_saved.
- (TOKEN): Added a new member: valid.
+ (TOKEN): Add a new member: valid.
1995-02-15 Francesco Potortì (pot@cnuce.cnr.it)
1995-02-14 Francesco Potortì (pot@cnuce.cnr.it)
- * etags.c (C_entries): Initialise the new members of TOKEN.
+ * etags.c (C_entries): Initialize the new members of TOKEN.
(C_entries): Do not allocate a new space for each token found by
consider_token. Let make_tag do that instead.
(make_tag): Since now TOKEN has memory of where it is taken from,
this new macro substitutes both make_tag_from_new_lb and
make_tag_from_oth_lb. All callers changed.
(TOKEN): Add linepos and buffer members.
- (main): Initialise token_str.
- (lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
+ (main): Initialize token_str.
+ (lang_extensions): Recognize .c++ and .h++ as C++ file suffixes.
(token_str): New global variable used by C_entries.
1995-02-07 Richard Stallman <rms@pogo.gnu.ai.mit.edu>
- * Makefile.in.in (maintainer-clean): Renamed from realclean.
+ * Makefile.in.in (maintainer-clean): Rename from realclean.
1995-02-01 Francesco Potortì (pot@cnuce.cnr.it)
- * etags.c (pfnote): Initialise been_warned in the node.
- (C_entries): Removed a speed hack for the sake of clarity.
+ * etags.c (pfnote): Initialize been_warned in the node.
+ (C_entries): Remove a speed hack for the sake of clarity.
1995-01-18 Francesco Potortì (pot@cnuce.cnr.it)
(print_help): Help strings updated. Calls print_language_names.
(argument_type, ARGUMENT): Typedefs for dealing with language and
regex options intermixed with filenames.
- (main): Changed the way of dealing with arguments on the command
+ (main): Change the way of dealing with arguments on the command
line to deal with language and regex options intermixed with
filenames.
(get_language, default_C_entries, Cplusplus_entries,
* pop.c: Don't include <string.h> and <strings.h>.
- * pop.c: Include <des.h> before <krb.h>, rather than after. They
- should be interchangeable, and indeed the inclusion is done in
+ * pop.c: Include <des.h> before <krb.h>, rather than after.
+ They should be interchangeable, and indeed the inclusion is done in
both orders in various files in the Kerberos 4 library sources,
but djm@va.pubnix.com (David J. MacKenzie) reports that BSDI
requires that <des.h> be included first, and I don't see any harm
1994-10-17 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well. Don't
- call kill with pid 0. Handle EINTR when receiving messages.
+ * emacsserver.c [SYSV_IPC] (main): Catch SIGHUP as well.
+ Don't call kill with pid 0. Handle EINTR when receiving messages.
1994-10-17 Karl Heuer <kwzh@gnu.ai.mit.edu>
(main): Improve usage message.
(error): Write to stderr, not stdout.
- * b2m.c cvtmail.c digest-doc.c emacsclient.c emacsserver.c etags.c
- fakemail.c hexl.c make-docfile.c profile.c sorted-doc.c test-distrib.c
- timer.c wakeup.c yow.c: Eliminate some -Wall warnings from unused
- variables and implicitly declared functions.
+ * b2m.c, cvtmail.c, digest-doc.c, emacsclient.c, emacsserver.c:
+ * etags.c, fakemail.c, hexl.c, make-docfile.c, profile.c, sorted-doc.c:
+ * test-distrib.c, timer.c, wakeup.c, yow.c: Eliminate some -Wall
+ warnings from unused variables and implicitly declared functions.
1994-10-11 Richard Stallman <rms@mole.gnu.ai.mit.edu>
* Makefile.in.in (clean): rm DOC* and *.tab.[ch].
(distclean): Not here.
- * Makefile.in.in (libexecdir): Renamed from libdir.
+ * Makefile.in.in (libexecdir): Rename from libdir.
1994-10-11 Francesco Potortì (pot@cnuce.cnr.it)
1994-09-29 Francesco Potortì (pot@cnuce.cnr.it)
- * etags.c (C_entries): Recognise typedef of ANSI style functions.
- (C_entries): Recognise #define inside a struct.
+ * etags.c (C_entries): Recognize typedef of ANSI style functions.
+ (C_entries): Recognize #define inside a struct.
(C_entries): ANSI tells that preprocessor commands do not have to
start on the first column.
(print_help): Documentation corrected for -d and -D.
1994-07-08 Dave Love (d.love@dl.ac.uk)
- * etags.c (takeprec): Recognise `character*(*) function'.
+ * etags.c (takeprec): Recognize `character*(*) function'.
1994-07-08 Francesco Potortì (pot@cnuce.cnr.it)
print advice to run it, if it has anything significant to do.
And only if MOVEMAIL_NEEDS_BLESSING.
(blessmail): Use emacs, not temacs.
- (configuration): Renamed from configname.
+ (configuration): Rename from configname.
1994-04-30 Morten Welinder (terra@diku.dk)
1994-04-08 Francesco Potortì (pot@fly.cnuce.cnr.it)
- * etags.c (outf, outfiledir): Renamed to tagf, tagfiledir.
+ * etags.c (outf, outfiledir): Rename to tagf, tagfiledir.
(PF_funcs, Asm_funcs, L_funcs, PAS_funcs, TEX_funcs)
- (Scheme_funcs, prolog_funcs): Renamed to Fortran_functions,
+ (Scheme_funcs, prolog_funcs): Rename to Fortran_functions,
Asm_labels, Lisp_functions, Pascal_functions, Scheme_functions,
TeX_functions, Prolog_functions.
(inf): No more a global variable.
(C_entries): Take 2nd parameter `inf' instead of using the global one.
- (find_entries): Added the cp1 var for optimisation.
- (find_entries): Added more suffixes for assembler files.
+ (find_entries): Add the cp1 var for optimization.
+ (find_entries): Add more suffixes for assembler files.
(Asm_funcs): Now finds labels even without an ending colon.
1994-03-30 Francesco Potortì (pot@fly.cnuce.cnr.it)
functions added to compute filenames in tags files.
(process_file): Filenames in tags file are relative to the
directory where the tags file is (useful with the -o option).
- (main): Initialise the outfiledir var.
- (TYPEDST): Added the `tignore' value.
+ (main): Initialize the outfiledir var.
+ (TYPEDST): Add the `tignore' value.
(C_entries): Corrected various small bugs.
1994-03-19 Richard Stallman (rms@mole.gnu.ai.mit.edu)
1994-03-14 Francesco Potortì (pot@cnuce.cnr.it)
- * etags.c (TYPEDST): Added the `tignore' value.
+ * etags.c (TYPEDST): Add the `tignore' value.
(C_entries): Corrected various bugs, now correctly parses the
`extern "C" {' construction (patch by Tom R.Hageman).
1994-02-14 Francesco Potortì (pot@fly)
- * etags.c (absolute_pathnames, cwd): Added global vars.
+ * etags.c (absolute_pathnames, cwd): Add global vars.
(longopts, print_help, main, process_file): Put absolute filenames
in the tag file if the -A --absolute-pathnames option is used.
(print_help): Alphabetically order the options.
Use gperf generated hash table instead of linked list.
(C_stab_entry, hash, in_word_set, get_C_stab, C_symtype): Added.
Mostly code generated by gperf.
- (consider_token): Removed unused parameter `lp'.
+ (consider_token): Remove unused parameter `lp'.
(PF_funcs, getit): Allow subroutine and similar declarations
to span multiple lines.
(C_entries): Check for newline if inchar to avoid bus errors.
1993-11-02 Francesco Potortì (pot@cnuce.cnr.it)
- * etags.c (consider_token): Removed unused variable firsttok.
+ * etags.c (consider_token): Remove unused variable firsttok.
(prolog_getit): Call pfnote with the right number of arguments.
1993-10-19 Paul Eggert (eggert@twinsun.com)
from current directory. Only chmod and chgrp files that we
installed, which excludes ${INSTALLABLE_SCRIPTS}. They go in
${bindir}.
- (INSTALLFLAGS): Deleted definition, since it is an unused variable
+ (INSTALLFLAGS): Delete definition, since it is an unused variable
now.
1993-09-27 Brian J. Fox (bfox@ai.mit.edu)
- * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Let
- configure figure out the correct values for these variables.
+ * Makefile.in (INSTALL, INSTALL_PROGRAM, INSTALL_DATA):
+ Let configure figure out the correct values for these variables.
1993-09-14 Brian J. Fox (bfox@ai.mit.edu)
1993-09-20 Francesco Potortì (pot@fly)
- * etags.c (C_entries): is_func is initialised here instead of in
+ * etags.c (C_entries): is_func is initialized here instead of in
consider_token for the sake of the yacc rules section.
(C_entries): Now class, struct, enum, union and typedef produce
named tags.
1993-08-04 Francesco Potortì (pot@spiff.gnu.ai.mit.edu)
- * etags.c (L_isdef, L_isquote, L_getit): Small optimisations.
+ * etags.c (L_isdef, L_isquote, L_getit): Small optimizations.
(L_funcs): The (foo::defmumble stuff now should work.
(consider_token): Function returned random value--corrected.
(C_entries): Corrected == versus = typo.
1993-07-30 Francesco Potortì (pot@cnuce.cnr.it)
- * etags.c (FINCST): Added the fignore status. Means we are
+ * etags.c (FINCST): Add the fignore status. Means we are
after the parameter list and before the open curly brace.
Allows correct parsing of C++ constructors.
(C_entries, consider_token): Make use of fignore.
(consider_token): Reset funcdef when next_token_is_func: when in
ctags mode makes DEFVAR and others work better.
- (L_isquote): Function that recognises the "(quote" string.
+ (L_isquote): Function that recognizes the "(quote" string.
(L_getit): Ignore quoting via "'" or "(quote". Useful for defalias.
1993-07-29 Paul Eggert (eggert@twinsun.com)
1993-07-08 Francesco Potortì (pot@cnuce.cnr.it)
- * etags.c (alloca): Removed all references to it.
+ * etags.c (alloca): Remove all references to it.
(main): Now calls xnew instead of alloca for portability.
(../src/config.h): Included only if HAVE_CONFIG_H.
(const): Void definition removed--config.h takes care of it.
* etags.c (LEVEL_OK_FOR_FUNCDEF): Removed.
(C_entries): Optimized the test that used LEVEL_OK_FOR_FUNCDEF.
- (C_entries): Removed a piece of useless code.
+ (C_entries): Remove a piece of useless code.
(C_entries): Making typedef tags is delayed until a semicolon
is met. This handles "typedef int X, Y, Z;" correctly.
1993-04-09 Jim Blandy (jimb@totoro.cs.oberlin.edu)
- * Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
+ * Makefile.in (DEFS): Rename from CONFIG_CFLAGS.
1993-04-07 Jim Blandy (jimb@churchy.gnu.ai.mit.edu)
(get_C_stab): c_ext becomes c_ext&C_PLPL.
(C_entries): Logical cplpl means c_ext&C_PLPL.
(C_entries): Logical yacc_rules means we are after the first %%.
- (C_entries): Added logic for yacc files.
+ (C_entries): Add logic for yacc files.
1993-03-16 Francesco Potortì (pot@cnuce.cnr.it)
(TOKEN): Member linestart removed.
(linepos, prev_linepos, lb1): Deleted.
(main): Call initbuffer on lbs array instead of lb1.
- (init): Removed the initialisation of the logical _gd array;
+ (init): Remove the initialization of the logical _gd array.
(find_entries): A .sa suffix means assembler file.
(C_create_stab): "auto", "void", "extern", "static" are st_C_typespec.
All C state machines rewritten.
1993-03-01 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
- * etags.c (C_entries): Added the quotednl logical variable.
+ * etags.c (C_entries): Add the quotednl logical variable.
Used for parsing of #define's spanning multiple lines.
1993-02-23 Francesco Potortì (pot@fly.CNUCE.CNR.IT)
1993-03-19 Eric S. Raymond (eric@geech.gnu.ai.mit.edu)
- * Makefile.in (EXECUTABLES): Added rcs-checkin.
+ * Makefile.in (EXECUTABLES): Add rcs-checkin.
* Makefile.in (unlock, relock): New productions.
* Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.
* Makefile.in (libdir): Default to ${prefix}/lib.
- (archlibdir): Adjusted to match.
+ (archlibdir): Adjust to match.
* Makefile.in (distclean): Don't delete backup or autosave files.
(extraclean): Like realclean, but does delete backup and autosave
1992-11-05 Jim Blandy (jimb@totoro.cs.oberlin.edu)
- * Makefile.in (getdate.o): Added explicit target for this, so we
+ * Makefile.in (getdate.o): Add explicit target for this, so we
can indicate that it depends on ../src/config.h.
1992-11-04 Jim Blandy (jimb@totoro.cs.oberlin.edu)
array. When an event fires, move the last event in the array into
its spot. Use num_events to determine whether or not there are
any pending events, not wait_for.
- (getevent): Deleted unused variable `ep'.
+ (getevent): Delete unused variable `ep'.
(sigcatch): It's now easier to find all the active events.
(main): Initialize num_events.
(process_file, find_entries, pfnote, TEX_funcs, TEX_decode_env,
TEX_getit, substr): Use the etags_*index functions, rather than
the native *index functions.
- (rindex, index): Renamed to etags_rindex and tags_rindex, and
+ (rindex, index): Rename to etags_rindex and tags_rindex, and
made them unconditionally defined, rather than having them depend
on NEED_*INDEX.
1992-05-10 Roland McGrath (roland@albert.gnu.ai.mit.edu)
- * etags.c (C_entries): Fixed reading of "..." strings.
+ * etags.c (C_entries): Fix reading of "..." strings.
(consider_token): Recognize `SYSCALL' and `PSEUDO' macros, used in
the C library source.
1992-04-17 Jim Blandy (jimb@pogo.cs.oberlin.edu)
- * timer.c (getevent): Removed declaration of memcpy; since
+ * timer.c (getevent): Remove declaration of memcpy; since
different systems have different return types, and we're not even
using the return type anyway, it wasn't doing us any good.
1992-04-06 Jim Blandy (jimb@pogo.cs.oberlin.edu)
- * etags.c (C_entries): Removed comment saying that \" in a string
+ * etags.c (C_entries): Remove comment saying that \" in a string
isn't recognized as magic, because it is correctly handled.
* getopt.c, getopt.h: New files, from GNU C library.
optind.
(main): Argument processing loop rewritten to call getopt to get
next option. Options which take parameters (-o and -i) rewritten
- to get parameter from optarg instead of argv[1]. Filename
- preprocessing loop and update command changed similarly.
+ to get parameter from optarg instead of argv[1].
+ Filename preprocessing loop and update command changed similarly.
* Makefile (etags, ctags): Depend on and link with getopt.h,
getopt.o, and getopt1.o.
(getopt.o, getopt1.o): New targets for the GNU getopt routines.
1991-01-25 Jim Blandy (jimb@churchy.ai.mit.edu)
* make-docfile: Find the arguments to a C function correctly,
- by not ignoring the character that read_c_string returns. Don't
- even try to find argument names for functions that take MANY
+ by not ignoring the character that read_c_string returns.
+ Don't even try to find argument names for functions that take MANY
or UNEVALLED arguments, since they're a figment of the docstring's
imagination.
* etags.c: Changes for VMS.
Always define ETAGS on VMS.
Define macros GOOD and BAD for success and failure exit codes.
- (begtk, intk): Allow `$' in identifiers
+ (begtk, intk): Allow `$' in identifiers.
(main): Don't support -B, -F or -u on VMS.
Alternate loop for scanning filename arguments.
(system): Delete definition of this function.
1988-05-13 Chris Hanson (cph@kleph)
- * emacsclient.c: Delete references to unused variable `out'. This
- caused a bus error when used under hp-ux.
+ * emacsclient.c: Delete references to unused variable `out'.
+ This caused a bus error when used under hp-ux.
1988-05-06 Richard Stallman (rms@frosted-flakes.ai.mit.edu)
;; Local Variables:
;; coding: utf-8
-;; add-log-time-zone-rule: t
;; End:
- Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
- 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006,
- 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 1988-1999, 2001-2012 Free Software Foundation, Inc.
This file is part of GNU Emacs.
You should have received a copy of the GNU General Public License
along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
-
-;;; arch-tag: 2d979296-954c-448e-95c1-b46d134513dc