X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/3f82a88a05e227145b0470991050698085d19fbe..d350e350eaf4872d123e0ab873c4a095099013c9:/lib-src/ChangeLog diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 2bdbebeb11..53d66ba1e3 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,162 @@ +2013-08-10 Eli Zaretskii + + * update-game-score.exe.manifest: New file. + + * Makefile.in (UPDATE_MANIFEST): New variable. + (SCRIPTS): Add $(UPDATE_MANIFEST). + +2013-08-05 Stefan Monnier + + * makefile.w32-in (lisp2): Add nadvice.elc. + +2013-08-05 Eli Zaretskii + + * update-game-score.c (read_score): Try reading a character before + probing the stream for EOF. Initialize score->score to zero, + before reading and accumulating the score. + (read_scores): Fix logic that determines which value to return. + Close the input stream when finished reading the scores (avoids + failures in overwriting the file with a new one on MS-Windows, + since a file that is open cannot be deleted). + + * ntlib.h (rename): Don't undefine. + + * ntlib.c (sys_rename): New function, needed for + update-game-score. + +2013-08-04 Eli Zaretskii + + * ntlib.h: Include fcntl.h. + (mkostemp): Declare prototype. + (mktemp): Don't redefine. + + * ntlib.c (mkostemp): New function. (Bug#15015) + +2013-08-04 Paul Eggert + + Fix some minor races in hosts lacking mkostemp (Bug#15015). + * movemail.c (main): + * update-game-score.c (write_scores): + Use mkostemp (which now works on all platforms, due to changes + in the portability layer) rather than mktemp (which has a race) + or mkstemp (which we no longer bother with). + +2013-07-10 Paul Eggert + + Port to C89. + * ebrowse.c (USAGE): Remove macro with too-long string literal ... + (usage_message): ... and replace it with this new static constant + containing multiple literals. All uses changed. + * emacsclient.c (print_help_and_exit): + Rewrite to avoid string literals longer than the C89 limits. + (start_daemon_and_retry_set_socket): + Rewrite to avoid non-constant array initializer. + * make-docfile.c (enum global_type): Omit trailing comma. + +2013-07-02 Paul Eggert + + Prefer plain 'static' to 'static inline' (Bug#12541). + I missed these instances of 'static inline' in an earlier sweep. + * ebrowse.c (putstr): + * etags.c (hash): + * make-docfile.c (put_char): No longer inline. + * etags.c (hash): Prefer int to unsigned when either will do. + +2013-06-21 Paul Eggert + + Use C99-style flexible array members if available. + * ebrowse.c: Include , for offsetof. + (struct member, struct alias, struct sym): + Use FLEXIBLE_ARRAY_MEMBER. + (add_sym, add_member, make_namespace, register_namespace_alias): + Use offsetof (struct, flex_array_member), not sizeof (struct), as + that ports better to pre-C99 non-GCC. + +2013-05-29 Eli Zaretskii + + * Makefile.in (mostlyclean): Remove *.res files. + +2013-05-18 Paul Eggert + + Port --enable-gcc-warnings to clang. + * etags.c: Omit unnecessary forward decls. + (print_version, print_help): Declare _Noreturn. + * pop.c (socket_connection) [HAVE_GETADDRINFO]: Simplify. + +2013-05-16 Eli Zaretskii + + * update-game-score.c [WINDOWSNT]: Include "ntlib.h". + + * ntlib.h (sleep): Update prototype. + (geteuid): Add prototype. + + * ntlib.c (sleep): Now returns an unsigned value. + (getgid): New function. + + * Makefile.in (CLIENTW, LIB_WSOCK32, LIBS_ECLIENT, NTLIB) + (CLIENTRES, WINDRES, NTINC, NTDEPS): New variables. + (INSTALLABLES): Add $(CLIENTW). + (LIBS_MOVE): Use $(LIB_WSOCK32). + ($(DESTDIR)${archlibdir}): Use $(EXEEXT) on update-game-score. + (test-distrib${EXEEXT}): Use $(EXEEXT) on test-distrib. + (etags${EXEEXT}, ebrowse${EXEEXT}, ctags${EXEEXT}) + (profile${EXEEXT}, make-docfile${EXEEXT}, movemail${EXEEXT}) + (emacsclient${EXEEXT}, hexl${EXEEXT}, update-game-score${EXEEXT}): + Add $(NTLIB) to prerequisites. Use $(EXEEXT). + (pop.o): Add pop.h to prerequisites. + (emacsclientw${EXEEXT}, ntlib.o): New targets. + (emacsclient.res): New target. + +2013-05-15 Stefan Monnier + + * makefile.w32-in ($(DOC)): Use DOC rather than DOC-X. + +2013-05-06 Paul Eggert + + * make-docfile.c (search_lisp_doc_at_eol) [DEBUG]: Fix typo, + by removing references to no-longer-existing locals. + +2013-03-26 Eli Zaretskii + + Fix incompatibilities between MinGW.org and MinGW64 headers. + * ntlib.c (struct timespec) [!_TIMEZONE_DEFINED]: Define the + struct only if _TIMEZONE_DEFINED is not defined. + +2013-03-23 cg (tiny change) + + * makefile.w32-in (LIB_SRC): Move before first use. + +2013-03-16 Paul Eggert + + * pop.c: Fix ERRMAX typo (Bug#13925). + (socket_connection) [!HAVE_KRB5_ERROR_TEXT && HAVE_KRB5_ERROR_E_TEXT]: + Use ERROR_MAX, not ERRMAX. + +2013-03-13 Paul Eggert + + File synchronization fixes (Bug#13944). + * Makefile.in (LIB_FDATASYNC): New macro. + (emacsclient${EXEEXT}): Use it. + * emacsclient.c (main): Use fdatasync, not fsync, since we don't + care about metadata. Keep trying if interrupted. + * movemail.c (main, popmail): Don't worry about BSD_SYSTEM, since + fsync is available everywhere (or there is a substitute). + Don't report an error if fsync returns EINVAL. + + Static checking by Sun C 5.12. + * etags.c (analyse_regex): Omit unreachable code. + + * movemail.c (main): Call umask on all systems. + This is OK since Emacs already assumes umask elsewhere. + Don't grant more read permissions than necessary. + The old 0333 dates back to before we called setuid, + so it was needed back then to ensure user-readability, + but 0377 should suffice now. + +2013-02-08 Paul Eggert + + * movemail.c (getenv): Remove decl (unused since 1994). + 2013-01-15 Paul Eggert * make-docfile.c (write_globals): Make it a bit clearer (Bug#13448). @@ -632,7 +791,7 @@ 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 + 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 @@ -3683,7 +3842,7 @@ 2002-03-05 Francesco Potortì - * etags.c: Honour #line directives. + * etags.c: Honor #line directives. (no_line_directive): New global var; set it for old behavior. (main): Remove some #ifdef in the getopt switch. (add_node, put_entries): Code added to merge different chunks of @@ -5157,7 +5316,7 @@ (longopts): New long options without short counterpart are globals, members, no-globals, no-members. Regexp options are now defined conditionally to ETAGS_REGEXPS. - (print_help): Updated. + (print_help): Update. 1997-05-22 Francesco Potortì @@ -6030,7 +6189,7 @@ 1995-06-13 Geoff Voelker - * etags.c (process_file,absolute_filename): Handle filenames + * etags.c (process_file, absolute_filename): Handle filenames starting with a drive letter. * makefile.nt (install): Copy wakeup.exe properly. @@ -6057,12 +6216,12 @@ 1995-05-25 Geoff Voelker * makefile.nt (LIBS): Use BASE_LIBS. - (make-docfile.exe,hexl.exe,wakeup.exe,etags.exe): Don't depend + (make-docfile.exe, hexl.exe, wakeup.exe, etags.exe): Don't depend upon LIBS. (DOC): Use del instead of rm. (DOC) [WINDOWS95]: Use DOC. (clean): Handle MSVC aux files. - (config.h,paths.h): Use $(CP) instead of cp. + (config.h, paths.h): Use $(CP) instead of cp. (config.h): Use $(CONFIG_H) (make-docfile.obj): Depend upon config.h. Clean up comments. @@ -8323,7 +8482,7 @@ 1988-12-31 Richard Mlynarik (mly@rice-chex.ai.mit.edu) - * env.c: Add decl for my-index + * env.c: Add decl for my-index. * etags.c (file-entries): .oak => scheme. 1988-12-30 Richard Stallman (rms@sugar-bombs.ai.mit.edu)