declare smobs in alloc.c
[bpt/emacs.git] / lib-src / ChangeLog
index 88c3098..64a7302 100644 (file)
@@ -1,3 +1,138 @@
+2014-06-26  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (blessmail): Depend on lisp/mail/blessmail.el.
+       Use $<, $@.
+       (regex.o, etags${EXEEXT}, ctags${EXEEXT}, ebrowse${EXEEXT})
+       (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
+       (pop.o, emacsclient${EXEEXT}, emacsclientw${EXEEXT}, ntlib.o)
+       (hexl${EXEEXT}, update-game-score${EXEEXT}, emacsclient.res): Use $<.
+       (ctags${EXEEXT}): Add $srcdir to dependency rather than using VPATH.
+
+2014-06-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Omit redundant extern decls.
+       * emacsclient.c (getenv): Remove decl.
+       * make-docfile.c (write_globals): Add ATTRIBUTE_CONST for
+       Fbyteorder, Ftool_bar_height, Fmax_char, Fidentity.
+
+2014-06-15  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (LDFLAGS): Explicitly set via configure.
+
+2014-06-15  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (CPPFLAGS): Define.
+
+2014-06-15  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (../lib/libgnu.a):
+       Use `make -C' rather than `cd && make'.
+
+       * Makefile.in (bootstrap-clean): New.
+
+2014-06-13  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (../lib/libgnu.a):
+       GNU make automatically passes command-line arguments to sub-makes.
+
+2014-05-26  Eli Zaretskii  <eliz@gnu.org>
+
+       * ntlib.h (lseek): Don't redirect to _lseek.
+
+2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix rcs2log problems with CVS.
+       Problem reported by Glenn Morris in
+       <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00277.html>.
+       Plus, fix some security and filename quoting problems.
+       * rcs2log (logdir): Prefer mktemp if available.
+       (logdir, llogdir): Work even if TMPDIR begins with '-' or has spaces.
+       (output_authors, main awk script): Parse more-recent CVS output format.
+
+2014-05-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Remove dependencies on getline and getdelim.
+       Also, remove update-game-scores's limits on game scores and
+       simplify its file-locking code.
+       * update-game-score.c (struct score_entry): Unify the username and
+       data members to a single user_data member, since they don't need to be
+       changed independently and getdelim and getline aren't helpful.
+       Make the score member char *, not intmax_t, so that scores are not
+       limited to intmax_t.  All uses changed.
+       (lose_syserr): A zero errno stands for invalid data in score file.
+       (normalize_integer): New function.
+       (main): Use it.  Check for invalid scores.  Omit redundant stat check.
+       (read_score): First arg is now a string, not a FILE *.  All uses
+       changed.  Do not use getdelim or getline; that's way simpler.
+       (read_scores): Read the whole file, and let read_score handle each
+       line.
+       (score_compare): Compare strings representing integers, not integers.
+       (write_scores) [DOS_NT]: Eliminate unnecessary chmod.
+       (lock_file): Simplify locking code, eliminating goto.
+       Check for unlink failure.
+
+2014-05-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port ctags+etags build to Sun C 5.12.
+       * Makefile.in (etags_args): Remove, replacing with ...
+       (etags_cflags, etags_libs): New macros.  All uses changed.
+       (ctags${EXEEXT}): Don't compile etags.c, as compiling etags.c in
+       parallel (once for ctags, once for etags) breaks parallel makes
+       with compilers that use the source file name to name temporaries,
+       such as Sun C 5.12.  Instead, compile ctags.c.
+       * ctags.c: New file.
+
+2014-05-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Handle systems without WCONTINUED consistently.  (Bug#15110, 17339)
+       * emacsclient.c (WCONTINUED): Move to ../src/syswait.h.
+
+2014-04-30  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in ($(DESTDIR)${archlibdir}):
+       Avoid non-portable "`\" nesting.  (Bug#17339)
+
+2014-04-16  Eli Zaretskii  <eliz@gnu.org>
+
+       * update-game-score.c (write_scores): Condition fchmod call on
+       DOS_NT, not WINDOWSNT.
+
+2014-03-22  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (etags_deps, etags_args): New, to reduce duplication.
+       (etags${EXEEXT}, ctags${EXEEXT}): Use etags_deps, etags_args.
+
+       * Makefile.in (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT})
+       (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT})
+       (emacsclient${EXEEXT}, emacsclientw${EXEEXT}, hexl${EXEEXT})
+       (update-game-score${EXEEXT}, emacsclient.res): Use $@.
+
+       * Makefile.in (../lib/libgnu.a): Explicitly pass MFLAGS.
+
+       * Makefile.in (DONT_INSTALL): Remove test-distrib.
+       (test-distrib${EXEEXT}): Remove rule.
+
+       * test-distrib.c, testfile: Remove.
+
+2014-03-10  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacsclient.c (main): #ifdef out previous change on Windows.
+
+2014-03-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix emacsclient terminal corruption when in background (Bug#16892).
+       * emacsclient.c (handle_sigcont): Check for tcgetpgrp failure.
+       Cancel the continue only if tty.  Send SIGTTIN to the process
+       group, not SIGSTOP to self, as this is what the glibc manual
+       recommends.
+       (main): If tty, and if started in the background, send SIGTTIN
+       to the process group.
+
+2014-02-25  Andreas Amann  <a.amann@ucc.ie>  (tiny change)
+
+       Fix emacsclient's handling of SIGCONT (Bug#16883).
+       * emacsclient.c (handle_sigcont): Cancel the continue only if tty.
+
 2014-01-22  Eli Zaretskii  <eliz@gnu.org>
 
        * update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
        * make-docfile.c (IF_LINT):
        * emacsclient.c (IF_LINT): Remove (in config.h now).
 
-       * make-docfile.c (main):
+       * make-docfile.c (main)
        (fopen) [!WINDOWSNT]:
        (chdir) [!DOS_NT]: No more need to undef.
 
        Use _Noreturn rather than NO_RETURN.
        No need for separate decl merely because of _Noreturn.
 
-2012-06-24  Samuel Bronson  <naesten@gmail.com>  (tiny change)
+2012-06-24  Samuel Bronson  <naesten@gmail.com>
 
        * emacsclient.c (set_local_socket): Fix compiler warning (Bug#7838).
 
 
 2012-06-05  Glenn Morris  <rgm@gnu.org>
 
-       * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O)):
-       ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O)):
+       * makefile.w32-in ($(BLD)/getdate.$(O), $(BLD)/leditcfns.$(O))
+       ($(BLD)/make-path.$(O), $(BLD)/qsort.$(O))
        ($(BLD)/timer.$(O)): Remove cruft.
 
 2012-06-03  Glenn Morris  <rgm@gnu.org>
 
        * emacsclient.c (main): Avoid dangling 'if'.
        (xstrdup): Remove; no longer needed.
-       (get_current_dir_name, w32_getenv, get_server_config, find_tty):
+       (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.
 
 2011-01-30  Jim Meyering  <meyering@redhat.com>
 
-       * make-docfile.c: don't corrupt heap for an invalid .elc file
+       * make-docfile.c: 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
 
        * fakemail.c (action): Convert function definitions to standard C.
        (add_a_stream):
-       * test-distrib.c (cool_read):
-       (main): Likewise.
+       * test-distrib.c (cool_read, main): Likewise.
 
 2010-07-03  Andreas Schwab  <schwab@linux-m68k.org>
 
 2007-08-29  Jason Rumney  <jasonr@gnu.org>
 
        * emacsclient.c (SEND_STRING, SEND_QUOTED): Remove obfuscation macros.
-       (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp):
+       (quote_argument, set_tcp_socket, handle_sigcont, handle_sigtstp)
        (main): Expand removed macros inline.
        (main) [WINDOWSNT]: Don't call ttyname.  Don't recognize -suspend
        option.
 
 2001-11-30  Andrew Innes  <andrewi@gnu.org>
 
-       * makefile.w32-in (FACE_SUPPORT):
-       (MOUSE_SUPPORT):
-       (FLOAT_SUPPORT):
-       (WINNT_SUPPORT):
-       (lisp): Reference .el files instead of .elc files, to simplify
-       bootstrapping.
+       * makefile.w32-in (FACE_SUPPORT, MOUSE_SUPPORT, FLOAT_SUPPORT)
+       (WINNT_SUPPORT, lisp): Reference .el files instead of .elc files,
+       to simplify bootstrapping.
        ($(DOC)): Change dependency to just `make-docfile'.
 
 2001-11-29  Pavel Janík  <Pavel@Janik.cz>