diff options
| author | jave | 2015-01-05 14:12:26 +0100 |
|---|---|---|
| committer | jave | 2015-01-05 14:12:26 +0100 |
| commit | 5a0d5b71d55c73573c331e1e1a1dde9f206966e1 (patch) | |
| tree | abe791ef1dd1838121b43ab63aea630bd439a842 | |
| parent | 9681f300de4dddb250770d18dc417ec0027beb94 (diff) | |
| parent | c477f2073018ed4deb3810059c1032c1709164fa (diff) | |
| download | emacs-5a0d5b71d55c73573c331e1e1a1dde9f206966e1.tar.gz emacs-5a0d5b71d55c73573c331e1e1a1dde9f206966e1.zip | |
Merge branch 'master' into xwidget
| -rw-r--r-- | ChangeLog | 76 | ||||
| -rw-r--r-- | INSTALL | 4 | ||||
| -rw-r--r-- | admin/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 2 | ||||
| -rw-r--r-- | lib-src/ChangeLog | 20 | ||||
| -rw-r--r-- | lib-src/make-docfile.c | 5 | ||||
| -rw-r--r-- | lisp/ChangeLog | 11 | ||||
| -rw-r--r-- | lisp/progmodes/xref.el | 19 | ||||
| -rw-r--r-- | lwlib/ChangeLog | 6 | ||||
| -rw-r--r-- | src/ChangeLog | 61 | ||||
| -rw-r--r-- | src/frame.c | 17 | ||||
| -rw-r--r-- | src/window.c | 9 |
12 files changed, 147 insertions, 87 deletions
| @@ -1,5 +1,7 @@ | |||
| 1 | 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * INSTALL: Mention 'make WERROR_CFLAGS='. | ||
| 4 | |||
| 3 | Clarify 'make info' | 5 | Clarify 'make info' |
| 4 | * Makefile.in (info): Use GNU make conditional rather than | 6 | * Makefile.in (info): Use GNU make conditional rather than |
| 5 | an '@' rule with a shell conditional, so that the builder can | 7 | an '@' rule with a shell conditional, so that the builder can |
| @@ -11,23 +13,12 @@ | |||
| 11 | 13 | ||
| 12 | 2015-01-01 Paul Eggert <eggert@cs.ucla.edu> | 14 | 2015-01-01 Paul Eggert <eggert@cs.ucla.edu> |
| 13 | 15 | ||
| 14 | Fix copyright years by hand | ||
| 15 | These are dates that admin/update-copyright did not update, or | ||
| 16 | updated incorrectly. Also, back out the copyright-date change to | ||
| 17 | doc/misc/texinfo.tex, as upstream hasn't updated that date yet. | ||
| 18 | |||
| 19 | Update copyright year to 2015 | ||
| 20 | Run admin/update-copyright. | ||
| 21 | |||
| 22 | Merge from gnulib, incorporating: | 16 | Merge from gnulib, incorporating: |
| 23 | 2015-01-01 version-etc: new year | 17 | 2015-01-01 version-etc: new year |
| 24 | 18 | ||
| 25 | * .gitattributes: New file. | 19 | * .gitattributes: New file. |
| 26 | 20 | ||
| 27 | 2015-01-01 Paul Eggert <eggert@cs.ucla.edu> | 21 | * autogen.sh: Port better to non-GNU 'cp'. Reported by Han Boetes. |
| 28 | |||
| 29 | * autogen.sh: Port better to non-GNU 'cp'. | ||
| 30 | Problem reported by Han Boetes. | ||
| 31 | 22 | ||
| 32 | 2014-12-31 Paul Eggert <eggert@cs.ucla.edu> | 23 | 2014-12-31 Paul Eggert <eggert@cs.ucla.edu> |
| 33 | 24 | ||
| @@ -56,32 +47,9 @@ | |||
| 56 | 47 | ||
| 57 | 2014-12-25 Paul Eggert <eggert@cs.ucla.edu> | 48 | 2014-12-25 Paul Eggert <eggert@cs.ucla.edu> |
| 58 | 49 | ||
| 59 | Prefer stpcpy to strcat | 50 | Prefer stpcpy to strcat. |
| 60 | * admin/merge-gnulib (GNULIB_MODULES): Add stpcpy. | ||
| 61 | * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. | 51 | * lib/gnulib.mk, m4/gnulib-comp.m4: Regenerate. |
| 62 | * lib/stpcpy.c, m4/stpcpy.m4: New files, from gnulib. | 52 | * lib/stpcpy.c, m4/stpcpy.m4: New files, from gnulib. |
| 63 | * lib-src/ebrowse.c (sym_scope_1, operator_name, open_file): | ||
| 64 | * lib-src/emacsclient.c (get_server_config, set_local_socket) | ||
| 65 | (start_daemon_and_retry_set_socket): | ||
| 66 | * lib-src/etags.c (main, C_entries, relative_filename): | ||
| 67 | * lib-src/pop.c (sendline): | ||
| 68 | * lib-src/update-game-score.c (main): | ||
| 69 | * lwlib/xlwmenu.c (resource_widget_value): | ||
| 70 | * src/callproc.c (child_setup): | ||
| 71 | * src/dbusbind.c (xd_signature_cat): | ||
| 72 | * src/doc.c (get_doc_string, Fsnarf_documentation): | ||
| 73 | * src/editfns.c (Fuser_full_name): | ||
| 74 | * src/frame.c (xrdb_get_resource): | ||
| 75 | * src/gtkutil.c (xg_get_file_with_chooser): | ||
| 76 | * src/tparam.c (tparam1): | ||
| 77 | * src/xfns.c (xic_create_fontsetname): | ||
| 78 | * src/xrdb.c (gethomedir, get_user_db, get_environ_db): | ||
| 79 | * src/xsmfns.c (smc_save_yourself_CB): | ||
| 80 | Rewrite to avoid the need for strcat, typically by using stpcpy | ||
| 81 | and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms. | ||
| 82 | * src/doc.c (sibling_etc): | ||
| 83 | * src/xrdb.c (xdefaults): | ||
| 84 | Now a top-level static constant. | ||
| 85 | 53 | ||
| 86 | 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org> | 54 | 2014-12-24 Stephen Leake <stephen_leake@stephe-leake.org> |
| 87 | 55 | ||
| @@ -96,17 +64,12 @@ | |||
| 96 | 64 | ||
| 97 | 2014-12-23 Paul Eggert <eggert@cs.ucla.edu> | 65 | 2014-12-23 Paul Eggert <eggert@cs.ucla.edu> |
| 98 | 66 | ||
| 99 | Merge from gnulib | 67 | Merge from gnulib. |
| 100 | 2014-12-20 utimens: remove unnecessary assert | 68 | 2014-12-20 utimens: remove unnecessary assert |
| 101 | 2014-12-16 stdalign: port better to HP compilers | 69 | 2014-12-16 stdalign: port better to HP compilers |
| 102 | 2014-12-16 stdalign: work around Apple GCC 4.0 bug | 70 | 2014-12-16 stdalign: work around Apple GCC 4.0 bug |
| 103 | * lib/stdalign.in.h, lib/utimens.c, m4/stdalign.m4: Update from gnulib. | 71 | * lib/stdalign.in.h, lib/utimens.c, m4/stdalign.m4: Update from gnulib. |
| 104 | 72 | ||
| 105 | 2014-12-14 Paul Eggert <eggert@cs.ucla.edu> | ||
| 106 | |||
| 107 | Spelling fixes. All uses changed. | ||
| 108 | * src/regex.c (analyze_first): Rename from analyze_first. | ||
| 109 | |||
| 110 | 2014-12-14 Glenn Morris <rgm@gnu.org> | 73 | 2014-12-14 Glenn Morris <rgm@gnu.org> |
| 111 | 74 | ||
| 112 | * make-dist: No more lib-src/grep-changelog. | 75 | * make-dist: No more lib-src/grep-changelog. |
| @@ -119,22 +82,20 @@ | |||
| 119 | 82 | ||
| 120 | 2014-12-13 Paul Eggert <eggert@cs.ucla.edu> | 83 | 2014-12-13 Paul Eggert <eggert@cs.ucla.edu> |
| 121 | 84 | ||
| 122 | Git ignore lib/std*.h | ||
| 123 | * .gitignore: Add lib/std*.h, to ignore stdarg.h, stdbool.h, and | 85 | * .gitignore: Add lib/std*.h, to ignore stdarg.h, stdbool.h, and |
| 124 | stddef.h. Remove subsumed entries. | 86 | stddef.h. Remove subsumed entries. |
| 125 | Add !lib/std*.in.h, so as to not ignore the .in.h files. | 87 | Add !lib/std*.in.h, so as to not ignore the .in.h files. |
| 126 | 88 | ||
| 127 | 2014-12-13 Paul Eggert <eggert@cs.ucla.edu> | 89 | 2014-12-13 Paul Eggert <eggert@cs.ucla.edu> |
| 128 | 90 | ||
| 129 | Port commit-msg to mawk | 91 | Port commit-msg to mawk. Reported by Ted Zlatanov in: |
| 130 | Problem reported by Ted Zlatanov in: | ||
| 131 | http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg01093.html | 92 | http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg01093.html |
| 132 | * build-aux/git-hooks/commit-msg (space, non_space, non_print): | 93 | * build-aux/git-hooks/commit-msg (space, non_space, non_print): |
| 133 | New vars. Use them as approximations to POSIX bracket expressions, | 94 | New vars. Use them as approximations to POSIX bracket expressions, |
| 134 | on implementations like mawk that do not support POSIX regexps. | 95 | on implementations like mawk that do not support POSIX regexps. |
| 135 | 96 | ||
| 136 | Improve commit-msg messages and autosquash | 97 | Improve commit-msg messages and autosquash. |
| 137 | Problem reported by Michal Nazarewicz in Bug#19337. | 98 | Reported by Michal Nazarewicz in Bug#19337. |
| 138 | * build-aux/git-hooks/commit-msg: Add "commit message" to | 99 | * build-aux/git-hooks/commit-msg: Add "commit message" to |
| 139 | diagnostics. Distinguish better between tabs and other | 100 | diagnostics. Distinguish better between tabs and other |
| 140 | unprintable chars in diagnostics. Don't complain if a prefix | 101 | unprintable chars in diagnostics. Don't complain if a prefix |
| @@ -143,7 +104,7 @@ | |||
| 143 | 2014-12-13 Paul Eggert <eggert@cs.ucla.edu> | 104 | 2014-12-13 Paul Eggert <eggert@cs.ucla.edu> |
| 144 | 105 | ||
| 145 | Port commit-message checking to FreeBSD 9. | 106 | Port commit-message checking to FreeBSD 9. |
| 146 | This fixes a bug reported by Jan Djärv in: | 107 | Reported by Jan Djärv in: |
| 147 | http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00704.html | 108 | http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg00704.html |
| 148 | along with some other issues I noticed while testing with FreeBSD. | 109 | along with some other issues I noticed while testing with FreeBSD. |
| 149 | * build-aux/git-hooks/commit-msg: Prefer gawk if available. | 110 | * build-aux/git-hooks/commit-msg: Prefer gawk if available. |
| @@ -158,7 +119,7 @@ | |||
| 158 | 119 | ||
| 159 | 2014-12-12 Paul Eggert <eggert@cs.ucla.edu> | 120 | 2014-12-12 Paul Eggert <eggert@cs.ucla.edu> |
| 160 | 121 | ||
| 161 | Merge from gnulib | 122 | Merge from gnulib. |
| 162 | 2014-12-12 stddef: support C11's max_align_t | 123 | 2014-12-12 stddef: support C11's max_align_t |
| 163 | 2014-12-11 unistd: fix iOS check conditional | 124 | 2014-12-11 unistd: fix iOS check conditional |
| 164 | 2014-12-08 apply _GL_ATTRIBUTE_PURE to some inline functions | 125 | 2014-12-08 apply _GL_ATTRIBUTE_PURE to some inline functions |
| @@ -343,7 +304,7 @@ | |||
| 343 | build: port to GCC 4.6.4 + glibc 2.5 | 304 | build: port to GCC 4.6.4 + glibc 2.5 |
| 344 | On platforms this old, building with _FORTIFY_SOURCE equal to 2 | 305 | On platforms this old, building with _FORTIFY_SOURCE equal to 2 |
| 345 | results in duplicate definitions of standard library functions. | 306 | results in duplicate definitions of standard library functions. |
| 346 | Problem reported by Nelson H. F. Beebe. | 307 | Reported by Nelson H. F. Beebe. |
| 347 | * configure.ac (_FORTIFY_SOURCE): Sort after GNULIB_PORTCHECK. | 308 | * configure.ac (_FORTIFY_SOURCE): Sort after GNULIB_PORTCHECK. |
| 348 | By default, do not enable this unless GNULIB_PORTCHECK is defined. | 309 | By default, do not enable this unless GNULIB_PORTCHECK is defined. |
| 349 | This better matches the original intent, which as I recall was to | 310 | This better matches the original intent, which as I recall was to |
| @@ -1359,7 +1320,7 @@ | |||
| 1359 | Fix problem with MAKE and xcrun configuration. | 1320 | Fix problem with MAKE and xcrun configuration. |
| 1360 | * configure.ac: Don't set MAKE unless 'make' doesn't work. | 1321 | * configure.ac: Don't set MAKE unless 'make' doesn't work. |
| 1361 | Set it only in the environment, not in the makefile. | 1322 | Set it only in the environment, not in the makefile. |
| 1362 | Problem reported by Glenn Morris in: | 1323 | Reported by Glenn Morris in: |
| 1363 | http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00969.html | 1324 | http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00969.html |
| 1364 | 1325 | ||
| 1365 | 2013-12-27 Paul Eggert <eggert@cs.ucla.edu> | 1326 | 2013-12-27 Paul Eggert <eggert@cs.ucla.edu> |
| @@ -3053,7 +3014,7 @@ | |||
| 3053 | (bootstrap): Run ./configure, rather than trying to run config.status | 3014 | (bootstrap): Run ./configure, rather than trying to run config.status |
| 3054 | if it exists. That builds src/epaths.h more reliably. | 3015 | if it exists. That builds src/epaths.h more reliably. |
| 3055 | Run autogen/copy_autogen if autogen.sh fails, | 3016 | Run autogen/copy_autogen if autogen.sh fails, |
| 3056 | to create 'configure'; problem reported by Andreas Schwab in | 3017 | to create 'configure'. Reported by Andreas Schwab in |
| 3057 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00438.html>. | 3018 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00438.html>. |
| 3058 | * autogen.sh: Exit with status 1 when failing due to missing tools, | 3019 | * autogen.sh: Exit with status 1 when failing due to missing tools, |
| 3059 | reverting the 2012-09-10 change to this file. | 3020 | reverting the 2012-09-10 change to this file. |
| @@ -4385,8 +4346,7 @@ | |||
| 4385 | 4346 | ||
| 4386 | Check pkg-config exit status when configuring (Bug#10626). | 4347 | Check pkg-config exit status when configuring (Bug#10626). |
| 4387 | * configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config | 4348 | * configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config |
| 4388 | works; check its exit status. Problem reported by Jordi Gutiérrez | 4349 | works; check its exit status. Reported by Jordi Gutiérrez Hermoso in |
| 4389 | Hermoso in | ||
| 4390 | <http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00787.html>. | 4350 | <http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00787.html>. |
| 4391 | 4351 | ||
| 4392 | 2012-04-07 Glenn Morris <rgm@gnu.org> | 4352 | 2012-04-07 Glenn Morris <rgm@gnu.org> |
| @@ -4544,7 +4504,7 @@ | |||
| 4544 | * configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852) | 4504 | * configure.in (LIB_PTHREAD): Prepend -lpthread to LIBS (Bug#9852) |
| 4545 | if the library is found. Otherwise, later configure-time tests, | 4505 | if the library is found. Otherwise, later configure-time tests, |
| 4546 | such as the test for pthread_sigmask, generate the wrong results | 4506 | such as the test for pthread_sigmask, generate the wrong results |
| 4547 | on some platforms. Problem reported for FreeBSD by Nali Toja. | 4507 | on some platforms. Reported by Nali Toja for FreeBSD. |
| 4548 | 4508 | ||
| 4549 | 2011-10-20 Paul Eggert <eggert@cs.ucla.edu> | 4509 | 2011-10-20 Paul Eggert <eggert@cs.ucla.edu> |
| 4550 | 4510 | ||
| @@ -4775,7 +4735,7 @@ | |||
| 4775 | * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB | 4735 | * m4/pthread_sigmask.m4 (gl_FUNC_PTHREAD_SIGMASK): Omit gl_THREADLIB |
| 4776 | test, which runs afoul of Automake installations where, for example, | 4736 | test, which runs afoul of Automake installations where, for example, |
| 4777 | /usr/share/aclocal contains a copy of gl_THREADLIB. | 4737 | /usr/share/aclocal contains a copy of gl_THREADLIB. |
| 4778 | Problem reported by Sven Joachim in | 4738 | Reported by Sven Joachim in |
| 4779 | <http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00529.html>. | 4739 | <http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00529.html>. |
| 4780 | This is just a quick temporary fix, specific to Emacs; I'll work | 4740 | This is just a quick temporary fix, specific to Emacs; I'll work |
| 4781 | with the other gnulib maintainers to get a more-permanent fix. | 4741 | with the other gnulib maintainers to get a more-permanent fix. |
| @@ -5387,7 +5347,7 @@ | |||
| 5387 | 5347 | ||
| 5388 | * arg-nonnull.h, c++defs.h, warn-on-use.h: Fix licenses. | 5348 | * arg-nonnull.h, c++defs.h, warn-on-use.h: Fix licenses. |
| 5389 | Sync from gnulib, which has been patched to fix the problem | 5349 | Sync from gnulib, which has been patched to fix the problem |
| 5390 | with the license notices. Problem reported by Glenn Morris in | 5350 | with the license notices. Reported by Glenn Morris in |
| 5391 | <http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00403.html>. | 5351 | <http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00403.html>. |
| 5392 | 5352 | ||
| 5393 | 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca> | 5353 | 2011-02-09 Stefan Monnier <monnier@iro.umontreal.ca> |
| @@ -5541,7 +5501,7 @@ | |||
| 5541 | used. The code already assumed two's complement, so there's | 5501 | used. The code already assumed two's complement, so there's |
| 5542 | no need to test for alternatives. All uses removed. | 5502 | no need to test for alternatives. All uses removed. |
| 5543 | (TYPE_MAXIMUM): Don't rely here on overflow behavior not defined by | 5503 | (TYPE_MAXIMUM): Don't rely here on overflow behavior not defined by |
| 5544 | the C standard. Problem reported by Rich Felker in | 5504 | the C standard. Reported by Rich Felker in |
| 5545 | <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00488.html>. | 5505 | <http://lists.gnu.org/archive/html/bug-gnulib/2011-01/msg00488.html>. |
| 5546 | (twos_complement_arithmetic): Also check long_int and time_t. | 5506 | (twos_complement_arithmetic): Also check long_int and time_t. |
| 5547 | (time_t_avg, time_t_add_ok, time_t_int_add_ok): New functions. | 5507 | (time_t_avg, time_t_add_ok, time_t_int_add_ok): New functions. |
| @@ -312,7 +312,9 @@ Use --enable-gcc-warnings to enable compile-time checks that warn | |||
| 312 | about possibly-questionable C code. This is intended for developers | 312 | about possibly-questionable C code. This is intended for developers |
| 313 | and is useful with GNU-compatible compilers. On a recent GNU system | 313 | and is useful with GNU-compatible compilers. On a recent GNU system |
| 314 | there should be no warnings; on older and on non-GNU systems the | 314 | there should be no warnings; on older and on non-GNU systems the |
| 315 | generated warnings may still be useful. | 315 | generated warnings may still be useful, though you may prefer building |
| 316 | with 'make WERROR_CFLAGS=' so that the warnings are not treated as | ||
| 317 | errors. | ||
| 316 | 318 | ||
| 317 | Use --enable-silent-rules to cause 'make' to chatter less. This is | 319 | Use --enable-silent-rules to cause 'make' to chatter less. This is |
| 318 | helpful when combined with options like --enable-gcc-warnings that | 320 | helpful when combined with options like --enable-gcc-warnings that |
diff --git a/admin/ChangeLog b/admin/ChangeLog index 83386061180..8c0c9759e87 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -30,6 +30,10 @@ | |||
| 30 | 30 | ||
| 31 | * update-copyright (emacsver): Change to emacsver.tex.in. | 31 | * update-copyright (emacsver): Change to emacsver.tex.in. |
| 32 | 32 | ||
| 33 | 2014-12-25 Paul Eggert <eggert@cs.ucla.edu> | ||
| 34 | |||
| 35 | * merge-gnulib (GNULIB_MODULES): Add stpcpy. | ||
| 36 | |||
| 33 | 2014-12-24 Glenn Morris <rgm@gnu.org> | 37 | 2014-12-24 Glenn Morris <rgm@gnu.org> |
| 34 | 38 | ||
| 35 | * authors.el (authors-obsolete-files-regexps) | 39 | * authors.el (authors-obsolete-files-regexps) |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index c8500d2f412..2739e3e509d 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -655,7 +655,7 @@ and also calls the functions in the list | |||
| 655 | Normally, @code{write-region} displays the message @samp{Wrote | 655 | Normally, @code{write-region} displays the message @samp{Wrote |
| 656 | @var{filename}} in the echo area. This message is inhibited if | 656 | @var{filename}} in the echo area. This message is inhibited if |
| 657 | @var{visit} is neither @code{t} nor @code{nil} nor a string, or if | 657 | @var{visit} is neither @code{t} nor @code{nil} nor a string, or if |
| 658 | Emacs is operating in batch mode (@pxref{Batch mode}). This | 658 | Emacs is operating in batch mode (@pxref{Batch Mode}). This |
| 659 | feature is useful for programs that use files for internal purposes, | 659 | feature is useful for programs that use files for internal purposes, |
| 660 | files that the user does not need to know about. | 660 | files that the user does not need to know about. |
| 661 | @end deffn | 661 | @end deffn |
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 1795f021027..acbbd3a02df 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,5 +1,9 @@ | |||
| 1 | 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | 'temacs -nw' should not call missing functions | ||
| 4 | * make-docfile.c (write_globals): | ||
| 5 | Declare Fframe_windows_min_size with ATTRIBUTE_CONST, too. Sort. | ||
| 6 | |||
| 3 | Less 'make' chatter for lib-src | 7 | Less 'make' chatter for lib-src |
| 4 | * Makefile.in (blessmail): Less 'make' chatter here. | 8 | * Makefile.in (blessmail): Less 'make' chatter here. |
| 5 | 9 | ||
| @@ -11,6 +15,17 @@ | |||
| 11 | since GCC sometimes calls stpcpy when it sees strcpy, under | 15 | since GCC sometimes calls stpcpy when it sees strcpy, under |
| 12 | optimization switches. | 16 | optimization switches. |
| 13 | 17 | ||
| 18 | 2014-12-25 Paul Eggert <eggert@cs.ucla.edu> | ||
| 19 | |||
| 20 | * ebrowse.c (sym_scope_1, operator_name, open_file): | ||
| 21 | * emacsclient.c (get_server_config, set_local_socket) | ||
| 22 | (start_daemon_and_retry_set_socket): | ||
| 23 | * etags.c (main, C_entries, relative_filename): | ||
| 24 | * pop.c (sendline): | ||
| 25 | * update-game-score.c (main): | ||
| 26 | Rewrite to avoid the need for strcat, typically by using stpcpy | ||
| 27 | and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms. | ||
| 28 | |||
| 14 | 2014-12-14 Paul Eggert <eggert@cs.ucla.edu> | 29 | 2014-12-14 Paul Eggert <eggert@cs.ucla.edu> |
| 15 | 30 | ||
| 16 | * etags.c (analyze_regex): Rename from analyse_regex. | 31 | * etags.c (analyze_regex): Rename from analyse_regex. |
| @@ -140,8 +155,7 @@ | |||
| 140 | 155 | ||
| 141 | 2014-05-26 Paul Eggert <eggert@cs.ucla.edu> | 156 | 2014-05-26 Paul Eggert <eggert@cs.ucla.edu> |
| 142 | 157 | ||
| 143 | Fix rcs2log problems with CVS. | 158 | Fix rcs2log problems with CVS. Reported by Glenn Morris in |
| 144 | Problem reported by Glenn Morris in | ||
| 145 | <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00277.html>. | 159 | <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00277.html>. |
| 146 | Plus, fix some security and filename quoting problems. | 160 | Plus, fix some security and filename quoting problems. |
| 147 | * rcs2log (logdir): Prefer mktemp if available. | 161 | * rcs2log (logdir): Prefer mktemp if available. |
| @@ -3496,7 +3510,7 @@ | |||
| 3496 | 2004-04-17 Paul Eggert <eggert@gnu.org> | 3510 | 2004-04-17 Paul Eggert <eggert@gnu.org> |
| 3497 | 3511 | ||
| 3498 | * rcs2log (Help): Clarify wording of the usage message. | 3512 | * rcs2log (Help): Clarify wording of the usage message. |
| 3499 | Problem reported by Alan Mackenzie in | 3513 | Reported by Alan Mackenzie in |
| 3500 | <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>. | 3514 | <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-04/msg00188.html>. |
| 3501 | 3515 | ||
| 3502 | 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca> | 3516 | 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca> |
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c index 78becac6c8a..f74b3d516d1 100644 --- a/lib-src/make-docfile.c +++ b/lib-src/make-docfile.c | |||
| @@ -658,9 +658,10 @@ write_globals (void) | |||
| 658 | /* It would be nice to have a cleaner way to deal with these | 658 | /* It would be nice to have a cleaner way to deal with these |
| 659 | special hacks, too. */ | 659 | special hacks, too. */ |
| 660 | if (strcmp (globals[i].name, "Fbyteorder") == 0 | 660 | if (strcmp (globals[i].name, "Fbyteorder") == 0 |
| 661 | || strcmp (globals[i].name, "Ftool_bar_height") == 0 | 661 | || strcmp (globals[i].name, "Fframe_windows_min_size") == 0 |
| 662 | || strcmp (globals[i].name, "Fidentity") == 0 | ||
| 662 | || strcmp (globals[i].name, "Fmax_char") == 0 | 663 | || strcmp (globals[i].name, "Fmax_char") == 0 |
| 663 | || strcmp (globals[i].name, "Fidentity") == 0) | 664 | || strcmp (globals[i].name, "Ftool_bar_height") == 0) |
| 664 | fputs (" ATTRIBUTE_CONST", stdout); | 665 | fputs (" ATTRIBUTE_CONST", stdout); |
| 665 | 666 | ||
| 666 | puts (";"); | 667 | puts (";"); |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index aa79a8d4b2e..f413526c0b2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2015-01-04 Dmitry Gutov <dgutov@yandex.ru> | ||
| 2 | |||
| 3 | Add mouse interaction to xref. | ||
| 4 | |||
| 5 | * progmodes/xref.el (xref--button-map): New variable. | ||
| 6 | (xref--mouse-2): New command. | ||
| 7 | (xref--insert-xrefs): Add `mouse-face' and `keymap' properties to | ||
| 8 | the inserted references. | ||
| 9 | |||
| 1 | 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> | 10 | 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 11 | ||
| 3 | Less 'make' chatter for lisp dir | 12 | Less 'make' chatter for lisp dir |
| @@ -1903,7 +1912,7 @@ | |||
| 1903 | 2014-11-18 Paul Eggert <eggert@cs.ucla.edu> | 1912 | 2014-11-18 Paul Eggert <eggert@cs.ucla.edu> |
| 1904 | 1913 | ||
| 1905 | Port new time stamp handling to Emacs 23.2. | 1914 | Port new time stamp handling to Emacs 23.2. |
| 1906 | This fix is for Gnus. Problem reported by Katsumi Yamaoka. | 1915 | This fix is for Gnus. Reported by Katsumi Yamaoka. |
| 1907 | * calendar/time-date.el (time-add, time-subtract, time-less-p): | 1916 | * calendar/time-date.el (time-add, time-subtract, time-less-p): |
| 1908 | Use eval-and-compile, not eval-when-compile. | 1917 | Use eval-and-compile, not eval-when-compile. |
| 1909 | 1918 | ||
diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el index 7bc6500a8de..41b70c7eff2 100644 --- a/lisp/progmodes/xref.el +++ b/lisp/progmodes/xref.el | |||
| @@ -405,6 +405,21 @@ WINDOW controls how the buffer is displayed: | |||
| 405 | (defconst xref-buffer-name "*xref*" | 405 | (defconst xref-buffer-name "*xref*" |
| 406 | "The name of the buffer to show xrefs.") | 406 | "The name of the buffer to show xrefs.") |
| 407 | 407 | ||
| 408 | (defvar xref--button-map | ||
| 409 | (let ((map (make-sparse-keymap))) | ||
| 410 | (define-key map [(control ?m)] #'xref-goto-xref) | ||
| 411 | (define-key map [mouse-1] #'xref-goto-xref) | ||
| 412 | (define-key map [mouse-2] #'xref--mouse-2) | ||
| 413 | map)) | ||
| 414 | |||
| 415 | (defun xref--mouse-2 (event) | ||
| 416 | "Move point to the button and show the xref definition." | ||
| 417 | (interactive "e") | ||
| 418 | (mouse-set-point event) | ||
| 419 | (forward-line 0) | ||
| 420 | (xref--search-property 'xref-location) | ||
| 421 | (xref-show-location-at-point)) | ||
| 422 | |||
| 408 | (defun xref--insert-xrefs (xref-alist) | 423 | (defun xref--insert-xrefs (xref-alist) |
| 409 | "Insert XREF-ALIST in the current-buffer. | 424 | "Insert XREF-ALIST in the current-buffer. |
| 410 | XREF-ALIST is of the form ((GROUP . (XREF ...)) ...). Where | 425 | XREF-ALIST is of the form ((GROUP . (XREF ...)) ...). Where |
| @@ -417,7 +432,9 @@ GROUP is a string for decoration purposes and XREF is an | |||
| 417 | (with-slots (description location) xref | 432 | (with-slots (description location) xref |
| 418 | (xref--insert-propertized | 433 | (xref--insert-propertized |
| 419 | (list 'xref-location location | 434 | (list 'xref-location location |
| 420 | 'face 'font-lock-keyword-face) | 435 | 'face 'font-lock-keyword-face |
| 436 | 'mouse-face 'highlight | ||
| 437 | 'keymap xref--button-map) | ||
| 421 | description)) | 438 | description)) |
| 422 | (when (or more1 more2) | 439 | (when (or more1 more2) |
| 423 | (insert "\n"))))) | 440 | (insert "\n"))))) |
diff --git a/lwlib/ChangeLog b/lwlib/ChangeLog index 023804cdfe5..8d536f0b3ad 100644 --- a/lwlib/ChangeLog +++ b/lwlib/ChangeLog | |||
| @@ -5,6 +5,12 @@ | |||
| 5 | (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1): New macros. | 5 | (AM_V_at, am__v_at_, am__v_at_0, am__v_at_1): New macros. |
| 6 | (liblw.a): Use them. | 6 | (liblw.a): Use them. |
| 7 | 7 | ||
| 8 | 2014-12-25 Paul Eggert <eggert@cs.ucla.edu> | ||
| 9 | |||
| 10 | * xlwmenu.c (resource_widget_value): | ||
| 11 | Rewrite to avoid the need for strcat, typically by using stpcpy | ||
| 12 | and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms. | ||
| 13 | |||
| 8 | 2014-10-20 Glenn Morris <rgm@gnu.org> | 14 | 2014-10-20 Glenn Morris <rgm@gnu.org> |
| 9 | 15 | ||
| 10 | * Merge in all changes up to 24.4 release. | 16 | * Merge in all changes up to 24.4 release. |
diff --git a/src/ChangeLog b/src/ChangeLog index b503a40640f..8cf269680de 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,14 @@ | |||
| 1 | 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2015-01-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | 'temacs -nw' should not call missing functions | ||
| 4 | Without this patch, "temacs -nw" fails with the diagnostic | ||
| 5 | "emacs: Symbol's function definition is void: frame-windows-min-size" | ||
| 6 | and messes up the tty's state. | ||
| 7 | * frame.c (Fframe_windows_min_size): New placeholder function. | ||
| 8 | (syms_of_frame): Define it. | ||
| 9 | * window.c (Fwindow__sanitize_window_sizes): New placeholder. | ||
| 10 | (syms_of_window): Define it. | ||
| 11 | |||
| 3 | Less 'make' chatter for lisp dir | 12 | Less 'make' chatter for lisp dir |
| 4 | * Makefile.in (%.elc): Adjust to compile-onefile change in | 13 | * Makefile.in (%.elc): Adjust to compile-onefile change in |
| 5 | ../lisp/Makefile.in. | 14 | ../lisp/Makefile.in. |
| @@ -188,6 +197,24 @@ | |||
| 188 | (x_session_initialize, Fhandle_save_session): | 197 | (x_session_initialize, Fhandle_save_session): |
| 189 | Prefer NILP (x) to EQ (x, Qnil). | 198 | Prefer NILP (x) to EQ (x, Qnil). |
| 190 | 199 | ||
| 200 | 2014-12-25 Paul Eggert <eggert@cs.ucla.edu> | ||
| 201 | |||
| 202 | * callproc.c (child_setup): | ||
| 203 | * dbusbind.c (xd_signature_cat): | ||
| 204 | * doc.c (get_doc_string, Fsnarf_documentation): | ||
| 205 | * editfns.c (Fuser_full_name): | ||
| 206 | * frame.c (xrdb_get_resource): | ||
| 207 | * gtkutil.c (xg_get_file_with_chooser): | ||
| 208 | * tparam.c (tparam1): | ||
| 209 | * xfns.c (xic_create_fontsetname): | ||
| 210 | * xrdb.c (gethomedir, get_user_db, get_environ_db): | ||
| 211 | * xsmfns.c (smc_save_yourself_CB): | ||
| 212 | Rewrite to avoid the need for strcat, typically by using stpcpy | ||
| 213 | and/or lispstpcpy. strcat tends to be part of O(N**2) algorithms. | ||
| 214 | * doc.c (sibling_etc): | ||
| 215 | * xrdb.c (xdefaults): | ||
| 216 | Now a top-level static constant. | ||
| 217 | |||
| 191 | 2014-12-23 Didier Verna <didier@didierverna.net> (tiny change). | 218 | 2014-12-23 Didier Verna <didier@didierverna.net> (tiny change). |
| 192 | 219 | ||
| 193 | * nsselect.m (Fns_selection_owner_p): Return a Lisp boolean, not a | 220 | * nsselect.m (Fns_selection_owner_p): Return a Lisp boolean, not a |
| @@ -595,7 +622,7 @@ | |||
| 595 | 2014-11-29 Paul Eggert <eggert@cs.ucla.edu> | 622 | 2014-11-29 Paul Eggert <eggert@cs.ucla.edu> |
| 596 | 623 | ||
| 597 | Improve clarity of USE_LSB_TAG definition. | 624 | Improve clarity of USE_LSB_TAG definition. |
| 598 | Problem reported by Lee Duhem. Suggestion by Andreas Schwab in: | 625 | Reported by Lee Duhem. Suggested by Andreas Schwab in: |
| 599 | http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02222.html | 626 | http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02222.html |
| 600 | * lisp.h (USE_LSB_TAG): Define in terms of the (simpler) | 627 | * lisp.h (USE_LSB_TAG): Define in terms of the (simpler) |
| 601 | VAL_MAX / 2 rather than in terms of the (more complicated) | 628 | VAL_MAX / 2 rather than in terms of the (more complicated) |
| @@ -621,7 +648,7 @@ | |||
| 621 | 648 | ||
| 622 | 2014-11-27 Oscar Fuentes <ofv@wanadoo.es> | 649 | 2014-11-27 Oscar Fuentes <ofv@wanadoo.es> |
| 623 | 650 | ||
| 624 | * src/w32.c, src/w32heap.c, src/w32term.c: | 651 | * w32.c, w32heap.c, w32term.c: |
| 625 | Use MINGW_W64 instead of _W64. | 652 | Use MINGW_W64 instead of _W64. |
| 626 | 653 | ||
| 627 | 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca> | 654 | 2014-11-27 Stefan Monnier <monnier@iro.umontreal.ca> |
| @@ -1091,7 +1118,7 @@ | |||
| 1091 | 1118 | ||
| 1092 | 2014-10-25 Noam Postavsky <npostavs@users.sourceforget.net> | 1119 | 2014-10-25 Noam Postavsky <npostavs@users.sourceforget.net> |
| 1093 | 1120 | ||
| 1094 | * src/w32proc.c (create_child): If calling a quoted batch file, | 1121 | * w32proc.c (create_child): If calling a quoted batch file, |
| 1095 | pass NULL for exe. (Bug#18745) | 1122 | pass NULL for exe. (Bug#18745) |
| 1096 | 1123 | ||
| 1097 | 2014-10-24 Eli Zaretskii <eliz@gnu.org> | 1124 | 2014-10-24 Eli Zaretskii <eliz@gnu.org> |
| @@ -1510,7 +1537,7 @@ | |||
| 1510 | On x86 platforms this works around GCC bug 63495 | 1537 | On x86 platforms this works around GCC bug 63495 |
| 1511 | <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63495>, | 1538 | <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63495>, |
| 1512 | and more generally should fix a portability problem in Emacs. | 1539 | and more generally should fix a portability problem in Emacs. |
| 1513 | Problem reported by Stefan Monnier in: | 1540 | Reported by Stefan Monnier in: |
| 1514 | http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00261.html | 1541 | http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00261.html |
| 1515 | 1542 | ||
| 1516 | 2014-10-08 Leo Liu <sdl.web@gmail.com> | 1543 | 2014-10-08 Leo Liu <sdl.web@gmail.com> |
| @@ -2026,7 +2053,7 @@ | |||
| 2026 | 2014-09-23 Paul Eggert <eggert@cs.ucla.edu> | 2053 | 2014-09-23 Paul Eggert <eggert@cs.ucla.edu> |
| 2027 | 2054 | ||
| 2028 | Fix SAFE_ALLOCA to not exhaust the stack when in a loop. | 2055 | Fix SAFE_ALLOCA to not exhaust the stack when in a loop. |
| 2029 | Problem reported by Dmitry Antipov in thread leading to: | 2056 | Reported by Dmitry Antipov in thread leading to: |
| 2030 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00713.html | 2057 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00713.html |
| 2031 | This patch fixes only SAFE_ALLOCA, SAFE_NALLOCA, and SAFE_ALLOCA_LISP; | 2058 | This patch fixes only SAFE_ALLOCA, SAFE_NALLOCA, and SAFE_ALLOCA_LISP; |
| 2032 | the experimental local_* macros enabled by USE_LOCAL_ALLOCATORS | 2059 | the experimental local_* macros enabled by USE_LOCAL_ALLOCATORS |
| @@ -2359,7 +2386,7 @@ | |||
| 2359 | 2014-09-10 Paul Eggert <eggert@cs.ucla.edu> | 2386 | 2014-09-10 Paul Eggert <eggert@cs.ucla.edu> |
| 2360 | 2387 | ||
| 2361 | Simplify lisp.h by removing the __COUNTER__ business. | 2388 | Simplify lisp.h by removing the __COUNTER__ business. |
| 2362 | Problem reported by Dmitry Antipov in: | 2389 | Reported by Dmitry Antipov in: |
| 2363 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00220.html | 2390 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00220.html |
| 2364 | * lisp.h (make_local_vector, make_local_string) | 2391 | * lisp.h (make_local_vector, make_local_string) |
| 2365 | (build_local_string): Simplify by not bothering with __COUNTER__. | 2392 | (build_local_string): Simplify by not bothering with __COUNTER__. |
| @@ -2390,7 +2417,7 @@ | |||
| 2390 | * lisp.h (DEFINE_GDB_SYMBOL_ENUM): Remove. | 2417 | * lisp.h (DEFINE_GDB_SYMBOL_ENUM): Remove. |
| 2391 | These can generate a constant with the correct value but the wrong | 2418 | These can generate a constant with the correct value but the wrong |
| 2392 | width, which doesn't work as a printf argument. All uses removed. | 2419 | width, which doesn't work as a printf argument. All uses removed. |
| 2393 | Problem reported by Dmitry Antipov in: | 2420 | Reported by Dmitry Antipov in: |
| 2394 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00213.html | 2421 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00213.html |
| 2395 | (ENUMABLE): Remove; no longer needed. | 2422 | (ENUMABLE): Remove; no longer needed. |
| 2396 | (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): | 2423 | (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): |
| @@ -4881,7 +4908,7 @@ | |||
| 4881 | 2014-06-03 Paul Eggert <eggert@cs.ucla.edu> | 4908 | 2014-06-03 Paul Eggert <eggert@cs.ucla.edu> |
| 4882 | 4909 | ||
| 4883 | * emacs.c: Include "sysselect.h", to define its inline functions. | 4910 | * emacs.c: Include "sysselect.h", to define its inline functions. |
| 4884 | Problem reported by Glenn Morris in: | 4911 | Reported by Glenn Morris in: |
| 4885 | http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00077.html | 4912 | http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00077.html |
| 4886 | 4913 | ||
| 4887 | Do not require libXt-devel when building with gtk. | 4914 | Do not require libXt-devel when building with gtk. |
| @@ -5981,7 +6008,7 @@ | |||
| 5981 | 2014-03-27 Paul Eggert <eggert@cs.ucla.edu> | 6008 | 2014-03-27 Paul Eggert <eggert@cs.ucla.edu> |
| 5982 | 6009 | ||
| 5983 | Port recent signal-related changes to FreeBSD. | 6010 | Port recent signal-related changes to FreeBSD. |
| 5984 | Problem reported by Herbert J. Skuhra. | 6011 | Reported by Herbert J. Skuhra. |
| 5985 | * lisp.h (block_tty_out_signal, unblock_tty_out_signal): | 6012 | * lisp.h (block_tty_out_signal, unblock_tty_out_signal): |
| 5986 | Move decls from here ... | 6013 | Move decls from here ... |
| 5987 | * syssignal.h: ... to here, so that lisp.h doesn't depend on signal.h. | 6014 | * syssignal.h: ... to here, so that lisp.h doesn't depend on signal.h. |
| @@ -6959,7 +6986,7 @@ | |||
| 6959 | 2014-01-20 Paul Eggert <eggert@cs.ucla.edu> | 6986 | 2014-01-20 Paul Eggert <eggert@cs.ucla.edu> |
| 6960 | 6987 | ||
| 6961 | Avoid undefined behavior by initializing buffer redisplay bit. | 6988 | Avoid undefined behavior by initializing buffer redisplay bit. |
| 6962 | Problem reported by Dmitry Antipov in | 6989 | Reported by Dmitry Antipov in |
| 6963 | <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01756.html>. | 6990 | <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01756.html>. |
| 6964 | * buffer.c (Fget_buffer_create): Initialize redisplay bit. | 6991 | * buffer.c (Fget_buffer_create): Initialize redisplay bit. |
| 6965 | 6992 | ||
| @@ -8800,7 +8827,7 @@ | |||
| 8800 | 2013-11-21 Paul Eggert <eggert@cs.ucla.edu> | 8827 | 2013-11-21 Paul Eggert <eggert@cs.ucla.edu> |
| 8801 | 8828 | ||
| 8802 | Fix some dependency problems that cause unnecessary recompiles. | 8829 | Fix some dependency problems that cause unnecessary recompiles. |
| 8803 | Problem reported by RMS in | 8830 | Reported by RMS in |
| 8804 | <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00421.html>. | 8831 | <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00421.html>. |
| 8805 | * Makefile.in (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS) | 8832 | * Makefile.in (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS) |
| 8806 | (really-lwlib, really-oldXMenu, stamp-oldxmenu) | 8833 | (really-lwlib, really-oldXMenu, stamp-oldxmenu) |
| @@ -9545,8 +9572,7 @@ | |||
| 9545 | 9572 | ||
| 9546 | 2013-10-23 Paul Eggert <eggert@cs.ucla.edu> | 9573 | 2013-10-23 Paul Eggert <eggert@cs.ucla.edu> |
| 9547 | 9574 | ||
| 9548 | Port to Solaris 10 and its bundled GCC. | 9575 | Port to Solaris 10 and its bundled GCC. Reported by Timothy C. Burt. |
| 9549 | Problem reported by Timothy C. Burt. | ||
| 9550 | * floatfns.c (isfinite, isnan): Redefine unconditionally. | 9576 | * floatfns.c (isfinite, isnan): Redefine unconditionally. |
| 9551 | 9577 | ||
| 9552 | 2013-10-21 Dmitry Antipov <dmantipov@yandex.ru> | 9578 | 2013-10-21 Dmitry Antipov <dmantipov@yandex.ru> |
| @@ -9950,7 +9976,7 @@ | |||
| 9950 | so it shouldn't be used all the time. Perhaps we need two | 9976 | so it shouldn't be used all the time. Perhaps we need two |
| 9951 | flavors of 'eassert', one for where 'assume' is far more likely | 9977 | flavors of 'eassert', one for where 'assume' is far more likely |
| 9952 | to help or to hurt; but that can be done later. | 9978 | to help or to hurt; but that can be done later. |
| 9953 | Problem reported by Dmitry Antipov in | 9979 | Reported by Dmitry Antipov in |
| 9954 | <http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00276.html>. | 9980 | <http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00276.html>. |
| 9955 | Also, don't include <verify.h>; no longer needed. | 9981 | Also, don't include <verify.h>; no longer needed. |
| 9956 | 9982 | ||
| @@ -13678,8 +13704,7 @@ | |||
| 13678 | 13704 | ||
| 13679 | 2013-07-07 Paul Eggert <eggert@cs.ucla.edu> | 13705 | 2013-07-07 Paul Eggert <eggert@cs.ucla.edu> |
| 13680 | 13706 | ||
| 13681 | Port to Ubuntu 10 (Bug#14803). | 13707 | Port to Ubuntu 10 (Bug#14803). Reported by T.V. Raman. |
| 13682 | Problem reported by T.V. Raman. | ||
| 13683 | * process.c (close_on_exec, accept4, process_socket): | 13708 | * process.c (close_on_exec, accept4, process_socket): |
| 13684 | Define these if !HAVE_ACCEPT4, not if !SOCK_CLOEXEC. | 13709 | Define these if !HAVE_ACCEPT4, not if !SOCK_CLOEXEC. |
| 13685 | 13710 | ||
| @@ -13944,7 +13969,7 @@ | |||
| 13944 | * emacs.c (malloc_enable_thread): Hoist extern decl to top level. | 13969 | * emacs.c (malloc_enable_thread): Hoist extern decl to top level. |
| 13945 | (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: | 13970 | (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: |
| 13946 | Invoke malloc_enable_thread even when not interactive. | 13971 | Invoke malloc_enable_thread even when not interactive. |
| 13947 | Problem reported by Ken Brown in <http://bugs.gnu.org/14569#275>. | 13972 | Reported by Ken Brown in <http://bugs.gnu.org/14569#275>. |
| 13948 | * process.c (init_process_emacs) [CYGWIN]: Tickle glib even | 13973 | * process.c (init_process_emacs) [CYGWIN]: Tickle glib even |
| 13949 | in this case, since the underlying bug has now been fixed. | 13974 | in this case, since the underlying bug has now been fixed. |
| 13950 | 13975 | ||
| @@ -15169,7 +15194,7 @@ | |||
| 15169 | * unexelf.c: Don't assume ElfW (Half) fits in int. | 15194 | * unexelf.c: Don't assume ElfW (Half) fits in int. |
| 15170 | (entry_address, find_section, unexec): Use ptrdiff_t, not int, | 15195 | (entry_address, find_section, unexec): Use ptrdiff_t, not int, |
| 15171 | when dealing with ElfW (Half) values, since they can exceed 2**31 | 15196 | when dealing with ElfW (Half) values, since they can exceed 2**31 |
| 15172 | on 64-bit OpenBSD hosts. Problem reported privately by Han Boetes. | 15197 | on 64-bit OpenBSD hosts. Reported by Han Boetes (privately). |
| 15173 | (entry_address): Omit unused NUM arg. All uses changed. | 15198 | (entry_address): Omit unused NUM arg. All uses changed. |
| 15174 | 15199 | ||
| 15175 | 2013-05-07 Juri Linkov <juri@jurta.org> | 15200 | 2013-05-07 Juri Linkov <juri@jurta.org> |
diff --git a/src/frame.c b/src/frame.c index 5a0d142afbb..9394ae481f5 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -334,10 +334,22 @@ predicates which report frame's specific UI-related capabilities. */) | |||
| 334 | return type; | 334 | return type; |
| 335 | } | 335 | } |
| 336 | 336 | ||
| 337 | /* Placeholder used by temacs -nw before window.el is loaded. */ | ||
| 338 | DEFUN ("frame-windows-min-size", Fframe_windows_min_size, | ||
| 339 | Sframe_windows_min_size, 4, 4, 0, | ||
| 340 | doc: /* */) | ||
| 341 | (Lisp_Object frame, Lisp_Object horizontal, | ||
| 342 | Lisp_Object ignore, Lisp_Object pixelwise) | ||
| 343 | { | ||
| 344 | return make_number (0); | ||
| 345 | } | ||
| 346 | |||
| 337 | static int | 347 | static int |
| 338 | frame_windows_min_size (Lisp_Object frame, Lisp_Object horizontal, Lisp_Object ignore, Lisp_Object pixelwise) | 348 | frame_windows_min_size (Lisp_Object frame, Lisp_Object horizontal, |
| 349 | Lisp_Object ignore, Lisp_Object pixelwise) | ||
| 339 | { | 350 | { |
| 340 | return XINT (call4 (Qframe_windows_min_size, frame, horizontal, ignore, pixelwise)); | 351 | return XINT (call4 (Qframe_windows_min_size, frame, horizontal, |
| 352 | ignore, pixelwise)); | ||
| 341 | } | 353 | } |
| 342 | 354 | ||
| 343 | 355 | ||
| @@ -5081,6 +5093,7 @@ even if this option is non-nil. */); | |||
| 5081 | defsubr (&Sframep); | 5093 | defsubr (&Sframep); |
| 5082 | defsubr (&Sframe_live_p); | 5094 | defsubr (&Sframe_live_p); |
| 5083 | defsubr (&Swindow_system); | 5095 | defsubr (&Swindow_system); |
| 5096 | defsubr (&Sframe_windows_min_size); | ||
| 5084 | defsubr (&Smake_terminal_frame); | 5097 | defsubr (&Smake_terminal_frame); |
| 5085 | defsubr (&Shandle_switch_frame); | 5098 | defsubr (&Shandle_switch_frame); |
| 5086 | defsubr (&Sselect_frame); | 5099 | defsubr (&Sselect_frame); |
diff --git a/src/window.c b/src/window.c index 65a837dbbad..4da33501323 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -3017,6 +3017,14 @@ resize_root_window (Lisp_Object window, Lisp_Object delta, Lisp_Object horizonta | |||
| 3017 | return call5 (Qwindow_resize_root_window, window, delta, horizontal, ignore, pixelwise); | 3017 | return call5 (Qwindow_resize_root_window, window, delta, horizontal, ignore, pixelwise); |
| 3018 | } | 3018 | } |
| 3019 | 3019 | ||
| 3020 | /* Placeholder used by temacs -nw before window.el is loaded. */ | ||
| 3021 | DEFUN ("window--sanitize-window-sizes", Fwindow__sanitize_window_sizes, | ||
| 3022 | Swindow__sanitize_window_sizes, 2, 2, 0, | ||
| 3023 | doc: /* */) | ||
| 3024 | (Lisp_Object frame, Lisp_Object horizontal) | ||
| 3025 | { | ||
| 3026 | return Qnil; | ||
| 3027 | } | ||
| 3020 | 3028 | ||
| 3021 | Lisp_Object | 3029 | Lisp_Object |
| 3022 | sanitize_window_sizes (Lisp_Object frame, Lisp_Object horizontal) | 3030 | sanitize_window_sizes (Lisp_Object frame, Lisp_Object horizontal) |
| @@ -7569,6 +7577,7 @@ displayed after a scrolling operation to be somewhat inaccurate. */); | |||
| 7569 | defsubr (&Sset_window_display_table); | 7577 | defsubr (&Sset_window_display_table); |
| 7570 | defsubr (&Snext_window); | 7578 | defsubr (&Snext_window); |
| 7571 | defsubr (&Sprevious_window); | 7579 | defsubr (&Sprevious_window); |
| 7580 | defsubr (&Swindow__sanitize_window_sizes); | ||
| 7572 | defsubr (&Sget_buffer_window); | 7581 | defsubr (&Sget_buffer_window); |
| 7573 | defsubr (&Sdelete_other_windows_internal); | 7582 | defsubr (&Sdelete_other_windows_internal); |
| 7574 | defsubr (&Sdelete_window_internal); | 7583 | defsubr (&Sdelete_window_internal); |