From: Glenn Morris Date: Sun, 4 Jan 2015 08:22:29 +0000 (-0800) Subject: # ChangeLog fixes X-Git-Tag: emacs-25.0.90~2608^2~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e82fc62bd46270c50f491c69ca24315c87940004;p=emacs.git # ChangeLog fixes --- diff --git a/ChangeLog b/ChangeLog index 68d1391b96a..8051263fdee 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,23 +11,12 @@ 2015-01-01 Paul Eggert - Fix copyright years by hand - These are dates that admin/update-copyright did not update, or - updated incorrectly. Also, back out the copyright-date change to - doc/misc/texinfo.tex, as upstream hasn't updated that date yet. - - Update copyright year to 2015 - Run admin/update-copyright. - Merge from gnulib, incorporating: 2015-01-01 version-etc: new year * .gitattributes: New file. -2015-01-01 Paul Eggert - - * autogen.sh: Port better to non-GNU 'cp'. - Problem reported by Han Boetes. + * autogen.sh: Port better to non-GNU 'cp'. Reported by Han Boetes. 2014-12-31 Paul Eggert @@ -56,32 +45,9 @@ 2014-12-25 Paul Eggert - Prefer stpcpy to strcat - * admin/merge-gnulib (GNULIB_MODULES): Add stpcpy. + Prefer stpcpy to strcat. * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. * lib/stpcpy.c, m4/stpcpy.m4: New files, from gnulib. - * lib-src/ebrowse.c (sym_scope_1, operator_name, open_file): - * lib-src/emacsclient.c (get_server_config, set_local_socket) - (start_daemon_and_retry_set_socket): - * lib-src/etags.c (main, C_entries, relative_filename): - * lib-src/pop.c (sendline): - * lib-src/update-game-score.c (main): - * lwlib/xlwmenu.c (resource_widget_value): - * src/callproc.c (child_setup): - * src/dbusbind.c (xd_signature_cat): - * src/doc.c (get_doc_string, Fsnarf_documentation): - * src/editfns.c (Fuser_full_name): - * src/frame.c (xrdb_get_resource): - * src/gtkutil.c (xg_get_file_with_chooser): - * src/tparam.c (tparam1): - * src/xfns.c (xic_create_fontsetname): - * src/xrdb.c (gethomedir, get_user_db, get_environ_db): - * src/xsmfns.c (smc_save_yourself_CB): - Rewrite to avoid the need for strcat, typically by using stpcpy - and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms. - * src/doc.c (sibling_etc): - * src/xrdb.c (xdefaults): - Now a top-level static constant. 2014-12-24 Stephen Leake @@ -96,17 +62,12 @@ 2014-12-23 Paul Eggert - Merge from gnulib + Merge from gnulib. 2014-12-20 utimens: remove unnecessary assert 2014-12-16 stdalign: port better to HP compilers 2014-12-16 stdalign: work around Apple GCC 4.0 bug * lib/stdalign.in.h, lib/utimens.c, m4/stdalign.m4: Update from gnulib. -2014-12-14 Paul Eggert - - Spelling fixes. All uses changed. - * src/regex.c (analyze_first): Rename from analyze_first. - 2014-12-14 Glenn Morris * make-dist: No more lib-src/grep-changelog. @@ -119,22 +80,20 @@ 2014-12-13 Paul Eggert - Git ignore lib/std*.h * .gitignore: Add lib/std*.h, to ignore stdarg.h, stdbool.h, and stddef.h. Remove subsumed entries. Add !lib/std*.in.h, so as to not ignore the .in.h files. 2014-12-13 Paul Eggert - Port commit-msg to mawk - Problem reported by Ted Zlatanov in: + Port commit-msg to mawk. Reported by Ted Zlatanov in: http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg01093.html * build-aux/git-hooks/commit-msg (space, non_space, non_print): New vars. Use them as approximations to POSIX bracket expressions, on implementations like mawk that do not support POSIX regexps. - Improve commit-msg messages and autosquash - Problem reported by Michal Nazarewicz in Bug#19337. + Improve commit-msg messages and autosquash. + Reported by Michal Nazarewicz in Bug#19337. * build-aux/git-hooks/commit-msg: Add "commit message" to diagnostics. Distinguish better between tabs and other unprintable chars in diagnostics. Don't complain if a prefix @@ -143,7 +102,7 @@ 2014-12-13 Paul Eggert Port commit-message checking to FreeBSD 9. - This fixes a bug reported by Jan Djärv in: + Reported by Jan Djärv in: http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00704.html along with some other issues I noticed while testing with FreeBSD. * build-aux/git-hooks/commit-msg: Prefer gawk if available. @@ -158,7 +117,7 @@ 2014-12-12 Paul Eggert - Merge from gnulib + Merge from gnulib. 2014-12-12 stddef: support C11's max_align_t 2014-12-11 unistd: fix iOS check conditional 2014-12-08 apply _GL_ATTRIBUTE_PURE to some inline functions @@ -343,7 +302,7 @@ build: port to GCC 4.6.4 + glibc 2.5 On platforms this old, building with _FORTIFY_SOURCE equal to 2 results in duplicate definitions of standard library functions. - Problem reported by Nelson H. F. Beebe. + Reported by Nelson H. F. Beebe. * configure.ac (_FORTIFY_SOURCE): Sort after GNULIB_PORTCHECK. By default, do not enable this unless GNULIB_PORTCHECK is defined. This better matches the original intent, which as I recall was to @@ -1359,7 +1318,7 @@ Fix problem with MAKE and xcrun configuration. * configure.ac: Don't set MAKE unless 'make' doesn't work. Set it only in the environment, not in the makefile. - Problem reported by Glenn Morris in: + Reported by Glenn Morris in: http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00969.html 2013-12-27 Paul Eggert @@ -3053,7 +3012,7 @@ (bootstrap): Run ./configure, rather than trying to run config.status if it exists. That builds src/epaths.h more reliably. Run autogen/copy_autogen if autogen.sh fails, - to create 'configure'; problem reported by Andreas Schwab in + to create 'configure'. Reported by Andreas Schwab in . * autogen.sh: Exit with status 1 when failing due to missing tools, reverting the 2012-09-10 change to this file. @@ -4385,8 +4344,7 @@ Check pkg-config exit status when configuring (Bug#10626). * configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config - works; check its exit status. Problem reported by Jordi Gutiérrez - Hermoso in + works; check its exit status. Reported by Jordi Gutiérrez Hermoso in . 2012-04-07 Glenn Morris @@ -4544,7 +4502,7 @@ * configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852) if the library is found. Otherwise, later configure-time tests, such as the test for pthread_sigmask, generate the wrong results - on some platforms. Problem reported for FreeBSD by Nali Toja. + on some platforms. Reported by Nali Toja for FreeBSD. 2011-10-20 Paul Eggert @@ -4775,7 +4733,7 @@ * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB test, which runs afoul of Automake installations where, for example, /usr/share/aclocal contains a copy of gl_THREADLIB. - Problem reported by Sven Joachim in + Reported by Sven Joachim in . This is just a quick temporary fix, specific to Emacs; I'll work with the other gnulib maintainers to get a more-permanent fix. @@ -5387,7 +5345,7 @@ * arg-nonnull.h, c++defs.h, warn-on-use.h: Fix licenses. Sync from gnulib, which has been patched to fix the problem - with the license notices. Problem reported by Glenn Morris in + with the license notices. Reported by Glenn Morris in . 2011-02-09 Stefan Monnier @@ -5541,7 +5499,7 @@ used. The code already assumed two's complement, so there's no need to test for alternatives. All uses removed. (TYPE_MAXIMUM): Don't rely here on overflow behavior not defined by - the C standard. Problem reported by Rich Felker in + the C standard. Reported by Rich Felker in . (twos_complement_arithmetic): Also check long_int and time_t. (time_t_avg, time_t_add_ok, time_t_int_add_ok): New functions. diff --git a/admin/ChangeLog b/admin/ChangeLog index 83386061180..8c0c9759e87 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog @@ -30,6 +30,10 @@ * update-copyright (emacsver): Change to emacsver.tex.in. +2014-12-25 Paul Eggert + + * merge-gnulib (GNULIB_MODULES): Add stpcpy. + 2014-12-24 Glenn Morris * authors.el (authors-obsolete-files-regexps) diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 1795f021027..5d17324fdce 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -11,6 +11,17 @@ since GCC sometimes calls stpcpy when it sees strcpy, under optimization switches. +2014-12-25 Paul Eggert + + * ebrowse.c (sym_scope_1, operator_name, open_file): + * emacsclient.c (get_server_config, set_local_socket) + (start_daemon_and_retry_set_socket): + * etags.c (main, C_entries, relative_filename): + * pop.c (sendline): + * update-game-score.c (main): + Rewrite to avoid the need for strcat, typically by using stpcpy + and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms. + 2014-12-14 Paul Eggert * etags.c (analyze_regex): Rename from analyse_regex. @@ -140,8 +151,7 @@ 2014-05-26 Paul Eggert - Fix rcs2log problems with CVS. - Problem reported by Glenn Morris in + Fix rcs2log problems with CVS. Reported by Glenn Morris in . Plus, fix some security and filename quoting problems. * rcs2log (logdir): Prefer mktemp if available. @@ -3496,7 +3506,7 @@ 2004-04-17 Paul Eggert * rcs2log (Help): Clarify wording of the usage message. - Problem reported by Alan Mackenzie in + Reported by Alan Mackenzie in . 2004-04-07 Stefan Monnier diff --git a/lisp/ChangeLog b/lisp/ChangeLog index aa79a8d4b2e..f62dc0773b7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1903,7 +1903,7 @@ 2014-11-18 Paul Eggert Port new time stamp handling to Emacs 23.2. - This fix is for Gnus. Problem reported by Katsumi Yamaoka. + This fix is for Gnus. Reported by Katsumi Yamaoka. * calendar/time-date.el (time-add, time-subtract, time-less-p): Use eval-and-compile, not eval-when-compile. diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 023804cdfe5..8d536f0b3ad 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog @@ -5,6 +5,12 @@ (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1): New macros. (liblw.a): Use them. +2014-12-25 Paul Eggert + + * xlwmenu.c (resource_widget_value): + Rewrite to avoid the need for strcat, typically by using stpcpy + and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms. + 2014-10-20 Glenn Morris * Merge in all changes up to 24.4 release. diff --git a/src/ChangeLog b/src/ChangeLog index b503a40640f..592a7f1e3bf 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -188,6 +188,24 @@ (x_session_initialize, Fhandle_save_session): Prefer NILP (x) to EQ (x, Qnil). +2014-12-25 Paul Eggert + + * callproc.c (child_setup): + * dbusbind.c (xd_signature_cat): + * doc.c (get_doc_string, Fsnarf_documentation): + * editfns.c (Fuser_full_name): + * frame.c (xrdb_get_resource): + * gtkutil.c (xg_get_file_with_chooser): + * tparam.c (tparam1): + * xfns.c (xic_create_fontsetname): + * xrdb.c (gethomedir, get_user_db, get_environ_db): + * xsmfns.c (smc_save_yourself_CB): + Rewrite to avoid the need for strcat, typically by using stpcpy + and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms. + * doc.c (sibling_etc): + * xrdb.c (xdefaults): + Now a top-level static constant. + 2014-12-23 Didier Verna (tiny change). * nsselect.m (Fns_selection_owner_p): Return a Lisp boolean, not a @@ -595,7 +613,7 @@ 2014-11-29 Paul Eggert Improve clarity of USE_LSB_TAG definition. - Problem reported by Lee Duhem. Suggestion by Andreas Schwab in: + Reported by Lee Duhem. Suggested by Andreas Schwab in: http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02222.html * lisp.h (USE_LSB_TAG): Define in terms of the (simpler) VAL_MAX / 2 rather than in terms of the (more complicated) @@ -621,7 +639,7 @@ 2014-11-27 Oscar Fuentes - * src/w32.c, src/w32heap.c, src/w32term.c: + * w32.c, w32heap.c, w32term.c: Use MINGW_W64 instead of _W64. 2014-11-27 Stefan Monnier @@ -1091,7 +1109,7 @@ 2014-10-25 Noam Postavsky - * src/w32proc.c (create_child): If calling a quoted batch file, + * w32proc.c (create_child): If calling a quoted batch file, pass NULL for exe. (Bug#18745) 2014-10-24 Eli Zaretskii @@ -1510,7 +1528,7 @@ On x86 platforms this works around GCC bug 63495 , and more generally should fix a portability problem in Emacs. - Problem reported by Stefan Monnier in: + Reported by Stefan Monnier in: http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00261.html 2014-10-08 Leo Liu @@ -2026,7 +2044,7 @@ 2014-09-23 Paul Eggert Fix SAFE_ALLOCA to not exhaust the stack when in a loop. - Problem reported by Dmitry Antipov in thread leading to: + Reported by Dmitry Antipov in thread leading to: http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00713.html This patch fixes only SAFE_ALLOCA, SAFE_NALLOCA, and SAFE_ALLOCA_LISP; the experimental local_* macros enabled by USE_LOCAL_ALLOCATORS @@ -2359,7 +2377,7 @@ 2014-09-10 Paul Eggert Simplify lisp.h by removing the __COUNTER__ business. - Problem reported by Dmitry Antipov in: + Reported by Dmitry Antipov in: http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00220.html * lisp.h (make_local_vector, make_local_string) (build_local_string): Simplify by not bothering with __COUNTER__. @@ -2390,7 +2408,7 @@ * lisp.h (DEFINE_GDB_SYMBOL_ENUM): Remove. These can generate a constant with the correct value but the wrong width, which doesn't work as a printf argument. All uses removed. - Problem reported by Dmitry Antipov in: + Reported by Dmitry Antipov in: http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00213.html (ENUMABLE): Remove; no longer needed. (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): @@ -4881,7 +4899,7 @@ 2014-06-03 Paul Eggert * emacs.c: Include "sysselect.h", to define its inline functions. - Problem reported by Glenn Morris in: + Reported by Glenn Morris in: http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00077.html Do not require libXt-devel when building with gtk. @@ -5981,7 +5999,7 @@ 2014-03-27 Paul Eggert Port recent signal-related changes to FreeBSD. - Problem reported by Herbert J. Skuhra. + Reported by Herbert J. Skuhra. * lisp.h (block_tty_out_signal, unblock_tty_out_signal): Move decls from here ... * syssignal.h: ... to here, so that lisp.h doesn't depend on signal.h. @@ -6959,7 +6977,7 @@ 2014-01-20 Paul Eggert Avoid undefined behavior by initializing buffer redisplay bit. - Problem reported by Dmitry Antipov in + Reported by Dmitry Antipov in . * buffer.c (Fget_buffer_create): Initialize redisplay bit. @@ -8800,7 +8818,7 @@ 2013-11-21 Paul Eggert Fix some dependency problems that cause unnecessary recompiles. - Problem reported by RMS in + Reported by RMS in . * Makefile.in (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS) (really-lwlib, really-oldXMenu, stamp-oldxmenu) @@ -9545,8 +9563,7 @@ 2013-10-23 Paul Eggert - Port to Solaris 10 and its bundled GCC. - Problem reported by Timothy C. Burt. + Port to Solaris 10 and its bundled GCC. Reported by Timothy C. Burt. * floatfns.c (isfinite, isnan): Redefine unconditionally. 2013-10-21 Dmitry Antipov @@ -9950,7 +9967,7 @@ so it shouldn't be used all the time. Perhaps we need two flavors of 'eassert', one for where 'assume' is far more likely to help or to hurt; but that can be done later. - Problem reported by Dmitry Antipov in + Reported by Dmitry Antipov in . Also, don't include ; no longer needed. @@ -13678,8 +13695,7 @@ 2013-07-07 Paul Eggert - Port to Ubuntu 10 (Bug#14803). - Problem reported by T.V. Raman. + Port to Ubuntu 10 (Bug#14803). Reported by T.V. Raman. * process.c (close_on_exec, accept4, process_socket): Define these if !HAVE_ACCEPT4, not if !SOCK_CLOEXEC. @@ -13944,7 +13960,7 @@ * emacs.c (malloc_enable_thread): Hoist extern decl to top level. (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: Invoke malloc_enable_thread even when not interactive. - Problem reported by Ken Brown in . + Reported by Ken Brown in . * process.c (init_process_emacs) [CYGWIN]: Tickle glib even in this case, since the underlying bug has now been fixed. @@ -15169,7 +15185,7 @@ * unexelf.c: Don't assume ElfW (Half) fits in int. (entry_address, find_section, unexec): Use ptrdiff_t, not int, when dealing with ElfW (Half) values, since they can exceed 2**31 - on 64-bit OpenBSD hosts. Problem reported privately by Han Boetes. + on 64-bit OpenBSD hosts. Reported by Han Boetes (privately). (entry_address): Omit unused NUM arg. All uses changed. 2013-05-07 Juri Linkov