Fix the MS-Windows build broken by 2011-01-17T19:01:01Z!eggert@cs.ucla.edu and emacs...
[bpt/emacs.git] / lib-src / ChangeLog
index d0ab108..bc76c25 100644 (file)
@@ -1,3 +1,236 @@
+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.c (setregid): New stub, renamed from setegid.
+
+       * ntlib.h: Update prototype.
+
+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>:
+       * etags.c (print_version) <emacs_copyright>:
+       * rcs2log (Copyright): Set short copyright year to 2011.
+
+2010-11-27  Joe Matarazzo  <joe.matarazzo@gmail.com>  (tiny change)
+
+       * ebrowse.c (yylex): If end of input buffer encountered while
+       searching for a newline after "//", return YYEOF.  (Bug#7446)
+
+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-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
 
 2010-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
 
-       * update-game-score.c (usage):  Add NO_RETURN specifier.
+       * 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):
        (fatal): Make static.
        (error): Likewise.
        (pfatal_with_name): Likewise.
-       (pfatal_and_delete). Likewise.
+       (pfatal_and_delete): Likewise.
        (concat): Likewise.
        (xmalloc): Likewise.
        (popmail): Likewise.
        (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>
 
 
 ;; 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 Free Software Foundation, Inc.
+  Copyright (C) 1988-1999, 2001-2011 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