diff options
| author | Paul Eggert | 2017-10-01 21:58:52 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-10-01 21:58:52 -0700 |
| commit | 4829a3b033b119b088947d14b73efc197b2547fa (patch) | |
| tree | ef9a96d2fa02c559ce69ff3ac9a272af84e5f6e9 /src | |
| parent | ee3024c70d2974b59ecdd04b75d18d7258262e70 (diff) | |
| parent | 5172fa02cccaab2500ecf85aaf65b8deed54d42e (diff) | |
| download | emacs-4829a3b033b119b088947d14b73efc197b2547fa.tar.gz emacs-4829a3b033b119b088947d14b73efc197b2547fa.zip | |
Merge from origin/emacs-26
5172fa02cc Prefer HTTPS to HTTP for gnu.org
8cdd8b920a Merge from Gnulib
60b7668b89 Keep eww buffer current when looking up CSS on MDN
bd49b6f1b3 Workaround for faulty localtime() under macOS 10.6
913808e224 Doc amendment for syntax-ppss.
98dc91fda8 Remove incorrect NEWS entry about 'find-library'
539d8626cd Remove inadvertent changes to syntax.texi in last commit.
8c18dcbc78 Amend documentation for text-quoting-style becoming a user...
5f76ac150a Make the value nil in text-quoting-style mean what it does...
d5e4e004fa Make text-quoting-style customizable. Introduce t and new...
1ba3471b9b eshell.texi improvements
7abb5c3960 Fix ns-win.el on GNUstep
07ea5ef99a Fix reference style in org.texi
b03b4f6d79 Improve handling of iconification of child frames (Bug#28611)
ba9139c501 Revert "Don't lose arguments to eshell aliases (Bug#27954)"
43fac3beae Make "unsafe directory" error message more informative (Bu...
c59ddb2120 Fix slot typecheck in eieio-persistent
8b2ab5014b Fix semantic-ia-fast-jump
5b45e7e1c3 Bind vc-region-history
f172894595 Exit macro definition on undefined keys
289fe6c0d1 Reset bidi-paragraph-direction on article rendering
a4f7518817 Fix url-http use of url-current-object
4a755ed421 Avoid assertions in vc-hg.el on MS-Windows
cb93a6ce72 Improve documentation of 'copy-sequence'
200ef6f721 Minor update of ack.texi
cb407d3e87 * doc/emacs/emacs.texi (Acknowledgments): Add more contrib...
82b6c765ff Improve indexing of multi-file/buffer Isearch commands
645ff6c702 Add CAM02 JCh and CAM02-UCS J'a'b' conversions
157007b58e Fix uses of @kindex in the Emacs manual
63a45e8837 Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/e...
3ab2f9bbb9 Merge from gnulib
cbc8324488 Prefer HTTPS to HTTP for gnu.org
bbda601d1d ; Spelling fixes
695cf5300b Wait for frame visibility with timeout in w32term too
e1f6e3127a Bring back the busy wait after x_make_frame_visible (Bug#2...
bccf635217 ; * src/gtkutil.c (xg_check_special_colors): Add another G...
f428757cdb Merge branch 'emacs-26' of git.savannah.gnu.org:/srv/git/e...
26d58f0c58 ; Standardize license notices
73dba0f466 Fix last doc string change in simple.el
Diffstat (limited to 'src')
| -rw-r--r-- | src/COPYING | 8 | ||||
| -rw-r--r-- | src/ChangeLog.11 | 22 | ||||
| -rw-r--r-- | src/ChangeLog.12 | 170 | ||||
| -rw-r--r-- | src/ChangeLog.13 | 132 | ||||
| -rw-r--r-- | src/alloc.c | 2 | ||||
| -rw-r--r-- | src/atimer.c | 2 | ||||
| -rw-r--r-- | src/callproc.c | 2 | ||||
| -rw-r--r-- | src/dispnew.c | 4 | ||||
| -rw-r--r-- | src/eval.c | 2 | ||||
| -rw-r--r-- | src/fns.c | 4 | ||||
| -rw-r--r-- | src/frame.c | 44 | ||||
| -rw-r--r-- | src/gtkutil.c | 2 | ||||
| -rw-r--r-- | src/lcms.c | 303 | ||||
| -rw-r--r-- | src/lisp.h | 2 | ||||
| -rw-r--r-- | src/sysdep.c | 4 | ||||
| -rw-r--r-- | src/term.c | 2 | ||||
| -rw-r--r-- | src/w32term.c | 2 | ||||
| -rw-r--r-- | src/xfns.c | 2 | ||||
| -rw-r--r-- | src/xsettings.c | 4 | ||||
| -rw-r--r-- | src/xterm.c | 4 |
20 files changed, 497 insertions, 220 deletions
diff --git a/src/COPYING b/src/COPYING index 94a9ed024d3..f288702d2fa 100644 --- a/src/COPYING +++ b/src/COPYING | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | GNU GENERAL PUBLIC LICENSE | 1 | GNU GENERAL PUBLIC LICENSE |
| 2 | Version 3, 29 June 2007 | 2 | Version 3, 29 June 2007 |
| 3 | 3 | ||
| 4 | Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> | 4 | Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> |
| 5 | Everyone is permitted to copy and distribute verbatim copies | 5 | Everyone is permitted to copy and distribute verbatim copies |
| 6 | of this license document, but changing it is not allowed. | 6 | of this license document, but changing it is not allowed. |
| 7 | 7 | ||
| @@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found. | |||
| 645 | GNU General Public License for more details. | 645 | GNU General Public License for more details. |
| 646 | 646 | ||
| 647 | You should have received a copy of the GNU General Public License | 647 | You should have received a copy of the GNU General Public License |
| 648 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 648 | along with this program. If not, see <https://www.gnu.org/licenses/>. |
| 649 | 649 | ||
| 650 | Also add information on how to contact you by electronic and paper mail. | 650 | Also add information on how to contact you by electronic and paper mail. |
| 651 | 651 | ||
| @@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box". | |||
| 664 | You should also get your employer (if you work as a programmer) or school, | 664 | You should also get your employer (if you work as a programmer) or school, |
| 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. | 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. |
| 666 | For more information on this, and how to apply and follow the GNU GPL, see | 666 | For more information on this, and how to apply and follow the GNU GPL, see |
| 667 | <http://www.gnu.org/licenses/>. | 667 | <https://www.gnu.org/licenses/>. |
| 668 | 668 | ||
| 669 | The GNU General Public License does not permit incorporating your program | 669 | The GNU General Public License does not permit incorporating your program |
| 670 | into proprietary programs. If your program is a subroutine library, you | 670 | into proprietary programs. If your program is a subroutine library, you |
| 671 | may consider it more useful to permit linking proprietary applications with | 671 | may consider it more useful to permit linking proprietary applications with |
| 672 | the library. If this is what you want to do, use the GNU Lesser General | 672 | the library. If this is what you want to do, use the GNU Lesser General |
| 673 | Public License instead of this License. But first, please read | 673 | Public License instead of this License. But first, please read |
| 674 | <http://www.gnu.org/philosophy/why-not-lgpl.html>. | 674 | <https://www.gnu.org/licenses/why-not-lgpl.html>. |
diff --git a/src/ChangeLog.11 b/src/ChangeLog.11 index eb1aeb1eeaf..b26e54cd53f 100644 --- a/src/ChangeLog.11 +++ b/src/ChangeLog.11 | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | 26 | ||
| 27 | current_column: Now returns EMACS_INT, fixing some iftc | 27 | current_column: Now returns EMACS_INT, fixing some iftc |
| 28 | that was introduced in the 2002-06-02 change "temporarily"; see | 28 | that was introduced in the 2002-06-02 change "temporarily"; see |
| 29 | <http://lists.gnu.org/archive/html/emacs-devel/2002-06/msg00039.html>. | 29 | <https://lists.gnu.org/archive/html/emacs-devel/2002-06/msg00039.html>. |
| 30 | * bytecode.c (Fbyte_code): Don't cast current_column () to int. | 30 | * bytecode.c (Fbyte_code): Don't cast current_column () to int. |
| 31 | * cmds.c (internal_self_insert): Likewise. | 31 | * cmds.c (internal_self_insert): Likewise. |
| 32 | * indent.c (Fcurrent_column): Likewise. | 32 | * indent.c (Fcurrent_column): Likewise. |
| @@ -91,7 +91,7 @@ | |||
| 91 | 91 | ||
| 92 | * fileio.c (Fmake_symbolic_link): Treat ENOSYS specially, and | 92 | * fileio.c (Fmake_symbolic_link): Treat ENOSYS specially, and |
| 93 | generate a special message for it. Suggested by Eli Zaretskii in | 93 | generate a special message for it. Suggested by Eli Zaretskii in |
| 94 | <http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00995.html>. | 94 | <https://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00995.html>. |
| 95 | (Frename_file, Fmake_symbolic_link, Ffile_symlink_p): | 95 | (Frename_file, Fmake_symbolic_link, Ffile_symlink_p): |
| 96 | Simplify the code by assuming that the readlink and symlink calls | 96 | Simplify the code by assuming that the readlink and symlink calls |
| 97 | exist, even if they always fail on this host. | 97 | exist, even if they always fail on this host. |
| @@ -154,7 +154,7 @@ | |||
| 154 | 154 | ||
| 155 | * dired.c (Ffile_attributes): Increase size of modes from 10 to 12 | 155 | * dired.c (Ffile_attributes): Increase size of modes from 10 to 12 |
| 156 | as per recent filemodestring API change. Reported by Jonas Öster in | 156 | as per recent filemodestring API change. Reported by Jonas Öster in |
| 157 | <http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg01069.html>. | 157 | <https://lists.gnu.org/archive/html/emacs-devel/2011-02/msg01069.html>. |
| 158 | 158 | ||
| 159 | 2011-02-23 Ben Key <bkey76@gmail.com> | 159 | 2011-02-23 Ben Key <bkey76@gmail.com> |
| 160 | 160 | ||
| @@ -7244,9 +7244,9 @@ | |||
| 7244 | * xdisp.c (try_scrolling): Compute the limit for searching point | 7244 | * xdisp.c (try_scrolling): Compute the limit for searching point |
| 7245 | in forward scroll from scroll_max, instead of an arbitrary limit | 7245 | in forward scroll from scroll_max, instead of an arbitrary limit |
| 7246 | of 10 screen lines. | 7246 | of 10 screen lines. |
| 7247 | See http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00766.html | 7247 | See https://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00766.html |
| 7248 | and | 7248 | and |
| 7249 | http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00773.html | 7249 | https://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00773.html |
| 7250 | for details. | 7250 | for details. |
| 7251 | 7251 | ||
| 7252 | 2010-06-16 Glenn Morris <rgm@gnu.org> | 7252 | 2010-06-16 Glenn Morris <rgm@gnu.org> |
| @@ -7346,7 +7346,7 @@ | |||
| 7346 | * window.c (Fselect_window): Move `record_buffer' up to the | 7346 | * window.c (Fselect_window): Move `record_buffer' up to the |
| 7347 | beginning of this function, so the buffer gets recorded | 7347 | beginning of this function, so the buffer gets recorded |
| 7348 | even if the selected window does not change. | 7348 | even if the selected window does not change. |
| 7349 | http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00137.html | 7349 | https://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00137.html |
| 7350 | 7350 | ||
| 7351 | 2010-06-07 Juanma Barranquero <lekktu@gmail.com> | 7351 | 2010-06-07 Juanma Barranquero <lekktu@gmail.com> |
| 7352 | 7352 | ||
| @@ -7688,7 +7688,7 @@ | |||
| 7688 | * fileio.c (Fdelete_file): Change interactive spec to use | 7688 | * fileio.c (Fdelete_file): Change interactive spec to use |
| 7689 | `read-file-name' like in `find-file-read-args' where the default | 7689 | `read-file-name' like in `find-file-read-args' where the default |
| 7690 | value is `default-directory' instead of `buffer-file-name'. | 7690 | value is `default-directory' instead of `buffer-file-name'. |
| 7691 | http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00533.html | 7691 | https://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00533.html |
| 7692 | 7692 | ||
| 7693 | 2010-05-20 Kevin Ryde <user42@zip.com.au> | 7693 | 2010-05-20 Kevin Ryde <user42@zip.com.au> |
| 7694 | 7694 | ||
| @@ -7962,7 +7962,7 @@ | |||
| 7962 | 7962 | ||
| 7963 | * xdisp.c (init_iterator): Don't turn on bidi reordering in | 7963 | * xdisp.c (init_iterator): Don't turn on bidi reordering in |
| 7964 | unibyte buffers. See | 7964 | unibyte buffers. See |
| 7965 | http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00263.html. | 7965 | https://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00263.html. |
| 7966 | 7966 | ||
| 7967 | 2010-05-10 Glenn Morris <rgm@gnu.org> | 7967 | 2010-05-10 Glenn Morris <rgm@gnu.org> |
| 7968 | 7968 | ||
| @@ -8910,9 +8910,9 @@ | |||
| 8910 | 8910 | ||
| 8911 | * xdisp.c (display_line): Don't write beyond the last glyph row in | 8911 | * xdisp.c (display_line): Don't write beyond the last glyph row in |
| 8912 | the desired matrix. Fixes a crash in "emacs -nw" (bug#5972), see | 8912 | the desired matrix. Fixes a crash in "emacs -nw" (bug#5972), see |
| 8913 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00075.html | 8913 | https://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00075.html |
| 8914 | and | 8914 | and |
| 8915 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00213.html | 8915 | https://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00213.html |
| 8916 | 8916 | ||
| 8917 | 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca> | 8917 | 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| 8918 | 8918 | ||
| @@ -11510,7 +11510,7 @@ | |||
| 11510 | 11510 | ||
| 11511 | * frame.c (xrdb_get_resource): Return nil for empty string resources; | 11511 | * frame.c (xrdb_get_resource): Return nil for empty string resources; |
| 11512 | some parts of Emacs code (like font selection) don't grok them. | 11512 | some parts of Emacs code (like font selection) don't grok them. |
| 11513 | See http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00528.html | 11513 | See https://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00528.html |
| 11514 | 11514 | ||
| 11515 | 2009-09-24 Andreas Schwab <schwab@redhat.com> | 11515 | 2009-09-24 Andreas Schwab <schwab@redhat.com> |
| 11516 | 11516 | ||
diff --git a/src/ChangeLog.12 b/src/ChangeLog.12 index 35993adb667..61251bfbb47 100644 --- a/src/ChangeLog.12 +++ b/src/ChangeLog.12 | |||
| @@ -231,9 +231,9 @@ | |||
| 231 | Make it a stub in this case; otherwise the build might fail, | 231 | Make it a stub in this case; otherwise the build might fail, |
| 232 | and this code hasn't been tested on such hosts anyway. | 232 | and this code hasn't been tested on such hosts anyway. |
| 233 | Problem reported by Nelson H. F. Beebe in | 233 | Problem reported by Nelson H. F. Beebe in |
| 234 | <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html> | 234 | <https://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00021.html> |
| 235 | and analyzed by Jérémie Courrèges-Anglas in | 235 | and analyzed by Jérémie Courrèges-Anglas in |
| 236 | <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00062.html>. | 236 | <https://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00062.html>. |
| 237 | 237 | ||
| 238 | 2013-03-06 Dmitry Antipov <dmantipov@yandex.ru> | 238 | 2013-03-06 Dmitry Antipov <dmantipov@yandex.ru> |
| 239 | 239 | ||
| @@ -332,7 +332,7 @@ | |||
| 332 | because the locking mechanism was never reliable in that case). | 332 | because the locking mechanism was never reliable in that case). |
| 333 | This patch fixes this and other bugs discovered by a code | 333 | This patch fixes this and other bugs discovered by a code |
| 334 | inspection that was prompted by | 334 | inspection that was prompted by |
| 335 | <http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00531.html>. | 335 | <https://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00531.html>. |
| 336 | Also, this patch switches to .#-FILE (not .#FILE) on MS-Windows, | 336 | Also, this patch switches to .#-FILE (not .#FILE) on MS-Windows, |
| 337 | to avoid interoperability problems between the MS-Windows and | 337 | to avoid interoperability problems between the MS-Windows and |
| 338 | non-MS-Windows implementations. MS-Windows and non-MS-Windows | 338 | non-MS-Windows implementations. MS-Windows and non-MS-Windows |
| @@ -494,9 +494,9 @@ | |||
| 494 | Fix regression introduced by July 10 filelock.c patch. | 494 | Fix regression introduced by July 10 filelock.c patch. |
| 495 | * filelock.c (fill_in_lock_file_name): Fix crash caused by the | 495 | * filelock.c (fill_in_lock_file_name): Fix crash caused by the |
| 496 | 2012-07-10 patch to this file. Reported by Eli Zaretskii in | 496 | 2012-07-10 patch to this file. Reported by Eli Zaretskii in |
| 497 | <http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00533.html> | 497 | <https://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00533.html> |
| 498 | and diagnosed by Andreas Schwab in | 498 | and diagnosed by Andreas Schwab in |
| 499 | <http://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00534.html>. | 499 | <https://lists.gnu.org/archive/html/emacs-devel/2013-02/msg00534.html>. |
| 500 | 500 | ||
| 501 | 2013-02-22 Paul Eggert <eggert@cs.ucla.edu> | 501 | 2013-02-22 Paul Eggert <eggert@cs.ucla.edu> |
| 502 | 502 | ||
| @@ -678,7 +678,7 @@ | |||
| 678 | Improve AIX port some more (Bug#13650). | 678 | Improve AIX port some more (Bug#13650). |
| 679 | With this, it should be as good as it was in 23.3, though it's | 679 | With this, it should be as good as it was in 23.3, though it's |
| 680 | still pretty bad: the dumped emacs does not run. See Mark Fleishman in | 680 | still pretty bad: the dumped emacs does not run. See Mark Fleishman in |
| 681 | http://lists.gnu.org/archive/html/help-gnu-emacs/2011-04/msg00287.html | 681 | https://lists.gnu.org/archive/html/help-gnu-emacs/2011-04/msg00287.html |
| 682 | * unexaix.c (start_of_text): Remove. | 682 | * unexaix.c (start_of_text): Remove. |
| 683 | (_data, _text): Declare as char[], not int, as AIX manual suggests. | 683 | (_data, _text): Declare as char[], not int, as AIX manual suggests. |
| 684 | (bias, lnnoptr, text_scnptr, data_scnptr, load_scnptr) | 684 | (bias, lnnoptr, text_scnptr, data_scnptr, load_scnptr) |
| @@ -1087,7 +1087,7 @@ | |||
| 1087 | 2013-01-28 Dmitry Antipov <dmantipov@yandex.ru> | 1087 | 2013-01-28 Dmitry Antipov <dmantipov@yandex.ru> |
| 1088 | 1088 | ||
| 1089 | Remove obsolete redisplay code. See the discussion at | 1089 | Remove obsolete redisplay code. See the discussion at |
| 1090 | http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00576.html. | 1090 | https://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00576.html. |
| 1091 | * dispnew.c (preemption_period, preemption_next_check): Remove. | 1091 | * dispnew.c (preemption_period, preemption_next_check): Remove. |
| 1092 | (Vredisplay_preemption_period): Likewise. | 1092 | (Vredisplay_preemption_period): Likewise. |
| 1093 | (update_frame, update_single_window, update_window, update_frame_1): | 1093 | (update_frame, update_single_window, update_window, update_frame_1): |
| @@ -1132,7 +1132,7 @@ | |||
| 1132 | 1132 | ||
| 1133 | Drop async_visible and async_iconified fields of struct frame. | 1133 | Drop async_visible and async_iconified fields of struct frame. |
| 1134 | This is possible because async input is gone; for details, see | 1134 | This is possible because async input is gone; for details, see |
| 1135 | http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00734.html. | 1135 | https://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00734.html. |
| 1136 | * frame.h (struct frame): Remove async_visible and async_iconified | 1136 | * frame.h (struct frame): Remove async_visible and async_iconified |
| 1137 | members, convert garbaged to unsigned bitfield. Adjust comments. | 1137 | members, convert garbaged to unsigned bitfield. Adjust comments. |
| 1138 | (FRAME_SAMPLE_VISIBILITY): Remove. Adjust all users. | 1138 | (FRAME_SAMPLE_VISIBILITY): Remove. Adjust all users. |
| @@ -1152,7 +1152,7 @@ | |||
| 1152 | 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru> | 1152 | 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru> |
| 1153 | 1153 | ||
| 1154 | * insdel.c (prepare_to_modify_buffer): Revert last change as suggested | 1154 | * insdel.c (prepare_to_modify_buffer): Revert last change as suggested |
| 1155 | in http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00555.html. | 1155 | in https://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00555.html. |
| 1156 | 1156 | ||
| 1157 | 2013-01-23 Stefan Monnier <monnier@iro.umontreal.ca> | 1157 | 2013-01-23 Stefan Monnier <monnier@iro.umontreal.ca> |
| 1158 | 1158 | ||
| @@ -1255,7 +1255,7 @@ | |||
| 1255 | 1255 | ||
| 1256 | * buffer.c (sort_overlays): Use SAFE_NALLOCA, to avoid segfault | 1256 | * buffer.c (sort_overlays): Use SAFE_NALLOCA, to avoid segfault |
| 1257 | when there are lots of overlays. | 1257 | when there are lots of overlays. |
| 1258 | See http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00421.html | 1258 | See https://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00421.html |
| 1259 | for the details and a way to reproduce. | 1259 | for the details and a way to reproduce. |
| 1260 | 1260 | ||
| 1261 | 2013-01-19 Paul Eggert <eggert@cs.ucla.edu> | 1261 | 2013-01-19 Paul Eggert <eggert@cs.ucla.edu> |
| @@ -1276,7 +1276,7 @@ | |||
| 1276 | 1276 | ||
| 1277 | Allow floating-point file offsets. | 1277 | Allow floating-point file offsets. |
| 1278 | Problem reported by Vitalie Spinu in | 1278 | Problem reported by Vitalie Spinu in |
| 1279 | <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00411.html>. | 1279 | <https://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00411.html>. |
| 1280 | * fileio.c (emacs_lseek): Remove. | 1280 | * fileio.c (emacs_lseek): Remove. |
| 1281 | (file_offset): New function. | 1281 | (file_offset): New function. |
| 1282 | (Finsert_file_contents, Fwrite_region): Use it. | 1282 | (Finsert_file_contents, Fwrite_region): Use it. |
| @@ -1314,7 +1314,7 @@ | |||
| 1314 | 2013-01-18 Dmitry Antipov <dmantipov@yandex.ru> | 1314 | 2013-01-18 Dmitry Antipov <dmantipov@yandex.ru> |
| 1315 | 1315 | ||
| 1316 | Fix crash when inserting data from non-regular files. | 1316 | Fix crash when inserting data from non-regular files. |
| 1317 | See http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00406.html | 1317 | See https://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00406.html |
| 1318 | for the error description produced by valgrind. | 1318 | for the error description produced by valgrind. |
| 1319 | * fileio.c (read_non_regular): Rename to read_contents. | 1319 | * fileio.c (read_non_regular): Rename to read_contents. |
| 1320 | Free Lisp_Save_Value object used to pass parameters. | 1320 | Free Lisp_Save_Value object used to pass parameters. |
| @@ -1331,7 +1331,7 @@ | |||
| 1331 | * fileio.c (Finsert_file_contents): Use open+fstat, not stat+open. | 1331 | * fileio.c (Finsert_file_contents): Use open+fstat, not stat+open. |
| 1332 | This avoids a race if the file is renamed between stat and open. | 1332 | This avoids a race if the file is renamed between stat and open. |
| 1333 | This race is not the problem originally noted in Bug#13149; | 1333 | This race is not the problem originally noted in Bug#13149; |
| 1334 | see <http://bugs.gnu.org/13149#73> and later messages in the thread. | 1334 | see <https://bugs.gnu.org/13149#73> and later messages in the thread. |
| 1335 | 1335 | ||
| 1336 | 2013-01-17 Dmitry Antipov <dmantipov@yandex.ru> | 1336 | 2013-01-17 Dmitry Antipov <dmantipov@yandex.ru> |
| 1337 | 1337 | ||
| @@ -1642,7 +1642,7 @@ | |||
| 1642 | 1642 | ||
| 1643 | * w32.c (unsetenv): Set up the string passed to _putenv | 1643 | * w32.c (unsetenv): Set up the string passed to _putenv |
| 1644 | correctly. | 1644 | correctly. |
| 1645 | See http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html | 1645 | See https://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00863.html |
| 1646 | for the bug this caused. | 1646 | for the bug this caused. |
| 1647 | 1647 | ||
| 1648 | 2012-12-30 Paul Eggert <eggert@cs.ucla.edu> | 1648 | 2012-12-30 Paul Eggert <eggert@cs.ucla.edu> |
| @@ -1757,7 +1757,7 @@ | |||
| 1757 | 1757 | ||
| 1758 | * window.c (window_body_cols): Subtract display margins from the | 1758 | * window.c (window_body_cols): Subtract display margins from the |
| 1759 | window body width on TTYs as well. See | 1759 | window body width on TTYs as well. See |
| 1760 | http://lists.gnu.org/archive/html/help-gnu-emacs/2012-12/msg00317.html | 1760 | https://lists.gnu.org/archive/html/help-gnu-emacs/2012-12/msg00317.html |
| 1761 | for the original report. | 1761 | for the original report. |
| 1762 | 1762 | ||
| 1763 | 2012-12-25 Dmitry Antipov <dmantipov@yandex.ru> | 1763 | 2012-12-25 Dmitry Antipov <dmantipov@yandex.ru> |
| @@ -1954,7 +1954,7 @@ | |||
| 1954 | 1954 | ||
| 1955 | * sysdep.c (emacs_abort): Bump backtrace size to 40. | 1955 | * sysdep.c (emacs_abort): Bump backtrace size to 40. |
| 1956 | Companion to the 2012-09-30 patch. Suggested by Eli Zaretskii in | 1956 | Companion to the 2012-09-30 patch. Suggested by Eli Zaretskii in |
| 1957 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00796.html>. | 1957 | <https://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00796.html>. |
| 1958 | 1958 | ||
| 1959 | 2012-12-16 Romain Francoise <romain@orebokech.com> | 1959 | 2012-12-16 Romain Francoise <romain@orebokech.com> |
| 1960 | 1960 | ||
| @@ -2802,7 +2802,7 @@ | |||
| 2802 | dostounix_filename. Prevents crashes down the road, because | 2802 | dostounix_filename. Prevents crashes down the road, because |
| 2803 | dostounix_filename assumes it gets a unibyte string. | 2803 | dostounix_filename assumes it gets a unibyte string. |
| 2804 | Reported by Michel de Ruiter <michel@sentient.nl>, see | 2804 | Reported by Michel de Ruiter <michel@sentient.nl>, see |
| 2805 | http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00017.html | 2805 | https://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00017.html |
| 2806 | 2806 | ||
| 2807 | 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca> | 2807 | 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2808 | 2808 | ||
| @@ -2983,7 +2983,7 @@ | |||
| 2983 | * eval.c (mark_backtrace) [BYTE_MARK_STACK]: Remove stray '*'. | 2983 | * eval.c (mark_backtrace) [BYTE_MARK_STACK]: Remove stray '*'. |
| 2984 | This follows up on the 2012-09-29 patch that removed indirection | 2984 | This follows up on the 2012-09-29 patch that removed indirection |
| 2985 | for the 'function' field. Reported by Sergey Vinokurov in | 2985 | for the 'function' field. Reported by Sergey Vinokurov in |
| 2986 | <http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00263.html>. | 2986 | <https://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00263.html>. |
| 2987 | 2987 | ||
| 2988 | 2012-11-14 Eli Zaretskii <eliz@gnu.org> | 2988 | 2012-11-14 Eli Zaretskii <eliz@gnu.org> |
| 2989 | 2989 | ||
| @@ -3192,7 +3192,7 @@ | |||
| 3192 | * alloc.c (struct Lisp_Vectorlike_Free): Special type to represent | 3192 | * alloc.c (struct Lisp_Vectorlike_Free): Special type to represent |
| 3193 | vectorlike object on the free list. This is introduced to avoid | 3193 | vectorlike object on the free list. This is introduced to avoid |
| 3194 | some (but not all) pointer casting and aliasing problems, see | 3194 | some (but not all) pointer casting and aliasing problems, see |
| 3195 | http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00105.html. | 3195 | https://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00105.html. |
| 3196 | * .gdbinit (pvectype, pvecsize): New commands to examine vectorlike | 3196 | * .gdbinit (pvectype, pvecsize): New commands to examine vectorlike |
| 3197 | objects. | 3197 | objects. |
| 3198 | (xvectype, xvecsize): Use them to examine Lisp_Object values. | 3198 | (xvectype, xvecsize): Use them to examine Lisp_Object values. |
| @@ -3346,7 +3346,7 @@ | |||
| 3346 | Restore some duplicate definitions (Bug#12814). | 3346 | Restore some duplicate definitions (Bug#12814). |
| 3347 | This undoes part of the 2012-11-03 changes. Some people build | 3347 | This undoes part of the 2012-11-03 changes. Some people build |
| 3348 | with plain -g rather than with -g3, and they need the duplicate | 3348 | with plain -g rather than with -g3, and they need the duplicate |
| 3349 | definitions for .gdbinit to work; see <http://bugs.gnu.org/12814#26>. | 3349 | definitions for .gdbinit to work; see <https://bugs.gnu.org/12814#26>. |
| 3350 | * lisp.h (GCTYPEBITS, ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): | 3350 | * lisp.h (GCTYPEBITS, ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): |
| 3351 | Define as macros, as well as as enums or as constants. | 3351 | Define as macros, as well as as enums or as constants. |
| 3352 | 3352 | ||
| @@ -3368,7 +3368,7 @@ | |||
| 3368 | 3368 | ||
| 3369 | * window.c (Fwindow_combination_limit): Revert to the only | 3369 | * window.c (Fwindow_combination_limit): Revert to the only |
| 3370 | required argument and adjust docstring as suggested in | 3370 | required argument and adjust docstring as suggested in |
| 3371 | http://lists.gnu.org/archive/html/emacs-diffs/2012-11/msg01082.html | 3371 | https://lists.gnu.org/archive/html/emacs-diffs/2012-11/msg01082.html |
| 3372 | by Martin Rudalics <rudalics@gmx.at>. | 3372 | by Martin Rudalics <rudalics@gmx.at>. |
| 3373 | 3373 | ||
| 3374 | 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru> | 3374 | 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru> |
| @@ -3568,7 +3568,7 @@ | |||
| 3568 | 3568 | ||
| 3569 | * window.c (decode_next_window_args): Update window arg after | 3569 | * window.c (decode_next_window_args): Update window arg after |
| 3570 | calling decode_live_window and so fix crash reported at | 3570 | calling decode_live_window and so fix crash reported at |
| 3571 | http://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00035.html | 3571 | https://lists.gnu.org/archive/html/emacs-devel/2012-11/msg00035.html |
| 3572 | by Juanma Barranquero <lekktu@gmail.com>. | 3572 | by Juanma Barranquero <lekktu@gmail.com>. |
| 3573 | (Fwindow_body_width, Fwindow_body_height): Simplify a bit. | 3573 | (Fwindow_body_width, Fwindow_body_height): Simplify a bit. |
| 3574 | * font.c (Ffont_at): Likewise. | 3574 | * font.c (Ffont_at): Likewise. |
| @@ -3789,7 +3789,7 @@ | |||
| 3789 | 2012-10-19 Eli Zaretskii <eliz@gnu.org> | 3789 | 2012-10-19 Eli Zaretskii <eliz@gnu.org> |
| 3790 | 3790 | ||
| 3791 | * puresize.h (BASE_PURESIZE): Bump the base value to 1700000. | 3791 | * puresize.h (BASE_PURESIZE): Bump the base value to 1700000. |
| 3792 | See http://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00593.html | 3792 | See https://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00593.html |
| 3793 | for the reasons. | 3793 | for the reasons. |
| 3794 | 3794 | ||
| 3795 | * alloc.c (NSTATICS): Decrease to 0x800. | 3795 | * alloc.c (NSTATICS): Decrease to 0x800. |
| @@ -4603,7 +4603,7 @@ | |||
| 4603 | 4603 | ||
| 4604 | * xdisp.c (syms_of_xdisp): Default message-log-max to 1000, not 100. | 4604 | * xdisp.c (syms_of_xdisp): Default message-log-max to 1000, not 100. |
| 4605 | Suggested by Juri Linkov in | 4605 | Suggested by Juri Linkov in |
| 4606 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00821.html>. | 4606 | <https://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00821.html>. |
| 4607 | 4607 | ||
| 4608 | Prefer plain 'static' to 'static inline' (Bug#12541). | 4608 | Prefer plain 'static' to 'static inline' (Bug#12541). |
| 4609 | With static functions, modern compilers inline pretty well by | 4609 | With static functions, modern compilers inline pretty well by |
| @@ -4884,7 +4884,7 @@ | |||
| 4884 | 4884 | ||
| 4885 | * syssignal.h (PROFILER_CPU_SUPPORT): Don't define if PROFILING. | 4885 | * syssignal.h (PROFILER_CPU_SUPPORT): Don't define if PROFILING. |
| 4886 | Suggested by Eli Zaretskii in | 4886 | Suggested by Eli Zaretskii in |
| 4887 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00811.html>. | 4887 | <https://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00811.html>. |
| 4888 | 4888 | ||
| 4889 | 2012-09-30 Eli Zaretskii <eliz@gnu.org> | 4889 | 2012-09-30 Eli Zaretskii <eliz@gnu.org> |
| 4890 | 4890 | ||
| @@ -4929,7 +4929,7 @@ | |||
| 4929 | 4929 | ||
| 4930 | * sysdep.c (handle_fatal_signal): Bump backtrace size to 40. | 4930 | * sysdep.c (handle_fatal_signal): Bump backtrace size to 40. |
| 4931 | Suggested by Eli Zaretskii in | 4931 | Suggested by Eli Zaretskii in |
| 4932 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00796.html>. | 4932 | <https://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00796.html>. |
| 4933 | 4933 | ||
| 4934 | 2012-09-29 Juanma Barranquero <lekktu@gmail.com> | 4934 | 2012-09-29 Juanma Barranquero <lekktu@gmail.com> |
| 4935 | 4935 | ||
| @@ -5079,7 +5079,7 @@ | |||
| 5079 | 5079 | ||
| 5080 | * character.c (char_string, string_char): Remove calls to | 5080 | * character.c (char_string, string_char): Remove calls to |
| 5081 | MAYBE_UNIFY_CHAR. See the discussion starting at | 5081 | MAYBE_UNIFY_CHAR. See the discussion starting at |
| 5082 | http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00433.html | 5082 | https://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00433.html |
| 5083 | for the details. | 5083 | for the details. |
| 5084 | 5084 | ||
| 5085 | 2012-09-25 Chong Yidong <cyd@gnu.org> | 5085 | 2012-09-25 Chong Yidong <cyd@gnu.org> |
| @@ -5140,7 +5140,7 @@ | |||
| 5140 | (interruptible_wait_for_termination): | 5140 | (interruptible_wait_for_termination): |
| 5141 | Move these decls from lisp.h to syswait.h, since they use pid_t. | 5141 | Move these decls from lisp.h to syswait.h, since they use pid_t. |
| 5142 | Needed on FreeBSD; see Herbert J. Skuhra in | 5142 | Needed on FreeBSD; see Herbert J. Skuhra in |
| 5143 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00571.html>. | 5143 | <https://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00571.html>. |
| 5144 | * callproc.c: Include syswait.h. | 5144 | * callproc.c: Include syswait.h. |
| 5145 | 5145 | ||
| 5146 | gnutls.c, gtkutil.c: Use bool for boolean. | 5146 | gnutls.c, gtkutil.c: Use bool for boolean. |
| @@ -5205,7 +5205,7 @@ | |||
| 5205 | 5205 | ||
| 5206 | Do not use SA_NODEFER. | 5206 | Do not use SA_NODEFER. |
| 5207 | Problem reported by Dani Moncayo in | 5207 | Problem reported by Dani Moncayo in |
| 5208 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00557.html>. | 5208 | <https://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00557.html>. |
| 5209 | * alloc.c (die): | 5209 | * alloc.c (die): |
| 5210 | * sysdep.c (emacs_abort): Do not reset signal handler. | 5210 | * sysdep.c (emacs_abort): Do not reset signal handler. |
| 5211 | * emacs.c (terminate_due_to_signal): Reset signal handler here. | 5211 | * emacs.c (terminate_due_to_signal): Reset signal handler here. |
| @@ -5385,7 +5385,7 @@ | |||
| 5385 | 5385 | ||
| 5386 | * .gdbinit: Just stop at fatal_error_backtrace. | 5386 | * .gdbinit: Just stop at fatal_error_backtrace. |
| 5387 | See Stefan Monnier's request in | 5387 | See Stefan Monnier's request in |
| 5388 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00549.html>. | 5388 | <https://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00549.html>. |
| 5389 | Remove no-longer-used query of system type. | 5389 | Remove no-longer-used query of system type. |
| 5390 | 5390 | ||
| 5391 | 2012-09-22 Chong Yidong <cyd@gnu.org> | 5391 | 2012-09-22 Chong Yidong <cyd@gnu.org> |
| @@ -5517,7 +5517,7 @@ | |||
| 5517 | 5517 | ||
| 5518 | * w32inevt.c (w32_console_read_socket): Return -1 on failure, not 0. | 5518 | * w32inevt.c (w32_console_read_socket): Return -1 on failure, not 0. |
| 5519 | Ignore 'expected'. See Eli Zaretskii in | 5519 | Ignore 'expected'. See Eli Zaretskii in |
| 5520 | <http://bugs.gnu.org/12471#8> (last line). | 5520 | <https://bugs.gnu.org/12471#8> (last line). |
| 5521 | 5521 | ||
| 5522 | * frame.c (read_integer): Remove. All uses replaced by strtol/strtoul. | 5522 | * frame.c (read_integer): Remove. All uses replaced by strtol/strtoul. |
| 5523 | (XParseGeometry): Now static. Substitute extremal values for | 5523 | (XParseGeometry): Now static. Substitute extremal values for |
| @@ -5571,7 +5571,7 @@ | |||
| 5571 | I found that SYNC_INPUT has race conditions and would be a real | 5571 | I found that SYNC_INPUT has race conditions and would be a real |
| 5572 | pain to fix. Since it's an undocumented and deprecated | 5572 | pain to fix. Since it's an undocumented and deprecated |
| 5573 | configure-time option, now seems like a good time to remove it. | 5573 | configure-time option, now seems like a good time to remove it. |
| 5574 | Also see <http://bugs.gnu.org/11080#16>. | 5574 | Also see <https://bugs.gnu.org/11080#16>. |
| 5575 | * alloc.c (_bytes_used, __malloc_extra_blocks, _malloc_internal) | 5575 | * alloc.c (_bytes_used, __malloc_extra_blocks, _malloc_internal) |
| 5576 | (_free_internal) [!DOUG_LEA_MALLOC]: Remove decls. | 5576 | (_free_internal) [!DOUG_LEA_MALLOC]: Remove decls. |
| 5577 | (alloc_mutex) [!SYSTEM_MALLOC && !SYNC_INPUT && HAVE_PTHREAD]: | 5577 | (alloc_mutex) [!SYSTEM_MALLOC && !SYNC_INPUT && HAVE_PTHREAD]: |
| @@ -5743,7 +5743,7 @@ | |||
| 5743 | Better workaround for GNOME bug when --enable-gcc-warnings. | 5743 | Better workaround for GNOME bug when --enable-gcc-warnings. |
| 5744 | * emacsgtkfixed.c (G_STATIC_ASSERT): Remove, undoing last change. | 5744 | * emacsgtkfixed.c (G_STATIC_ASSERT): Remove, undoing last change. |
| 5745 | Instead, disable -Wunused-local-typedefs. See Dmitry Antipov in | 5745 | Instead, disable -Wunused-local-typedefs. See Dmitry Antipov in |
| 5746 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00335.html>. | 5746 | <https://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00335.html>. |
| 5747 | 5747 | ||
| 5748 | Simplify SIGIO usage (Bug#12408). | 5748 | Simplify SIGIO usage (Bug#12408). |
| 5749 | The code that dealt with SIGIO was crufty and confusing, e.g., it | 5749 | The code that dealt with SIGIO was crufty and confusing, e.g., it |
| @@ -6040,7 +6040,7 @@ | |||
| 6040 | More signal-handler cleanup (Bug#12327). | 6040 | More signal-handler cleanup (Bug#12327). |
| 6041 | * emacs.c (main): Convert three 'signal' calls to 'sigaction' calls. | 6041 | * emacs.c (main): Convert three 'signal' calls to 'sigaction' calls. |
| 6042 | Problem introduced when merging patches. Noted by Eli Zaretskii in | 6042 | Problem introduced when merging patches. Noted by Eli Zaretskii in |
| 6043 | <http://bugs.gnu.org/12327#67>. | 6043 | <https://bugs.gnu.org/12327#67>. |
| 6044 | * floatfns.c: Comment fix. | 6044 | * floatfns.c: Comment fix. |
| 6045 | * lisp.h (force_auto_save_soon): Declare regardless of SIGDANGER. | 6045 | * lisp.h (force_auto_save_soon): Declare regardless of SIGDANGER. |
| 6046 | SIGDANGER might not be in scope so "#ifdef SIGDANGER" is not right, | 6046 | SIGDANGER might not be in scope so "#ifdef SIGDANGER" is not right, |
| @@ -6860,7 +6860,7 @@ | |||
| 6860 | It was meant to be temporary and it often doesn't work, | 6860 | It was meant to be temporary and it often doesn't work, |
| 6861 | because when IDX has side effects the behavior of IDX==IDX | 6861 | because when IDX has side effects the behavior of IDX==IDX |
| 6862 | is undefined. See Stefan Monnier in | 6862 | is undefined. See Stefan Monnier in |
| 6863 | <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00762.html>. | 6863 | <https://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00762.html>. |
| 6864 | 6864 | ||
| 6865 | 2012-08-26 Barry O'Reilly <gundaetiapo@gmail.com> | 6865 | 2012-08-26 Barry O'Reilly <gundaetiapo@gmail.com> |
| 6866 | 6866 | ||
| @@ -7314,7 +7314,7 @@ | |||
| 7314 | (set_char_table_contents): Rename from char_table_set_contents. | 7314 | (set_char_table_contents): Rename from char_table_set_contents. |
| 7315 | (set_sub_char_table_contents): Rename from sub_char_table_set_contents. | 7315 | (set_sub_char_table_contents): Rename from sub_char_table_set_contents. |
| 7316 | All uses changed. See the end of | 7316 | All uses changed. See the end of |
| 7317 | <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00549.html>. | 7317 | <https://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00549.html>. |
| 7318 | 7318 | ||
| 7319 | * lisp.h (CSET): Remove (Bug#12215). | 7319 | * lisp.h (CSET): Remove (Bug#12215). |
| 7320 | (set_char_table_ascii, set_char_table_defalt, set_char_table_parent) | 7320 | (set_char_table_ascii, set_char_table_defalt, set_char_table_parent) |
| @@ -8062,7 +8062,7 @@ | |||
| 8062 | * lisp.h (ASET) [ENABLE_CHECKING]: Pay attention to | 8062 | * lisp.h (ASET) [ENABLE_CHECKING]: Pay attention to |
| 8063 | ARRAY_MARK_FLAG when checking subscripts, because ASET is | 8063 | ARRAY_MARK_FLAG when checking subscripts, because ASET is |
| 8064 | not supposed to be invoked from the garbage collector. | 8064 | not supposed to be invoked from the garbage collector. |
| 8065 | See Andreas Schwab in <http://bugs.gnu.org/12118#25>. | 8065 | See Andreas Schwab in <https://bugs.gnu.org/12118#25>. |
| 8066 | (gc_aset): New function, which is like ASET but can be | 8066 | (gc_aset): New function, which is like ASET but can be |
| 8067 | used in the garbage collector. | 8067 | used in the garbage collector. |
| 8068 | (set_hash_key, set_hash_value, set_hash_next, set_hash_hash) | 8068 | (set_hash_key, set_hash_value, set_hash_next, set_hash_hash) |
| @@ -8170,7 +8170,7 @@ | |||
| 8170 | Use "ASET (a, i, v)" rather than "AREF (a, i) = v". | 8170 | Use "ASET (a, i, v)" rather than "AREF (a, i) = v". |
| 8171 | This how ASET and AREF are supposed to work, and makes | 8171 | This how ASET and AREF are supposed to work, and makes |
| 8172 | it easier to think about future improvements. See | 8172 | it easier to think about future improvements. See |
| 8173 | <http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00026.html>. | 8173 | <https://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00026.html>. |
| 8174 | * charset.h (set_charset_attr): New function. | 8174 | * charset.h (set_charset_attr): New function. |
| 8175 | All lvalue-style uses of CHARSET_DECODER etc. changed to use it. | 8175 | All lvalue-style uses of CHARSET_DECODER etc. changed to use it. |
| 8176 | * lisp.h (ASET): Rewrite so as not to use AREF in an lvalue style. | 8176 | * lisp.h (ASET): Rewrite so as not to use AREF in an lvalue style. |
| @@ -8573,7 +8573,7 @@ | |||
| 8573 | Adjust GDB to reflect pvec_type changes (Bug#12036). | 8573 | Adjust GDB to reflect pvec_type changes (Bug#12036). |
| 8574 | * .gdbinit (xvectype, xpr, xbacktrace): Adjust to reflect the | 8574 | * .gdbinit (xvectype, xpr, xbacktrace): Adjust to reflect the |
| 8575 | 2012-07-04 changes to pseudovector representation. | 8575 | 2012-07-04 changes to pseudovector representation. |
| 8576 | Problem reported by Eli Zaretskii in <http://bugs.gnu.org/12036#30>. | 8576 | Problem reported by Eli Zaretskii in <https://bugs.gnu.org/12036#30>. |
| 8577 | 8577 | ||
| 8578 | 2012-07-27 Michael Albinus <michael.albinus@gmx.de> | 8578 | 2012-07-27 Michael Albinus <michael.albinus@gmx.de> |
| 8579 | 8579 | ||
| @@ -8614,7 +8614,7 @@ | |||
| 8614 | (xgetint): Simplify expression. | 8614 | (xgetint): Simplify expression. |
| 8615 | * alloc.c (gdb_make_enums_visible): New constant. This ports to | 8615 | * alloc.c (gdb_make_enums_visible): New constant. This ports to |
| 8616 | GCC 3.4.2 the export of symbols to GDB. Problem reported by Eli | 8616 | GCC 3.4.2 the export of symbols to GDB. Problem reported by Eli |
| 8617 | Zaretskii in <http://bugs.gnu.org/12036#13>. | 8617 | Zaretskii in <https://bugs.gnu.org/12036#13>. |
| 8618 | * lisp.h (PUBLISH_TO_GDB): Remove. All uses removed. No longer | 8618 | * lisp.h (PUBLISH_TO_GDB): Remove. All uses removed. No longer |
| 8619 | needed now that we have gdb_make_enums_visible. | 8619 | needed now that we have gdb_make_enums_visible. |
| 8620 | (enum CHECK_LISP_OBJECT_TYPE, enum Lisp_Bits, enum More_Lisp_Bits) | 8620 | (enum CHECK_LISP_OBJECT_TYPE, enum Lisp_Bits, enum More_Lisp_Bits) |
| @@ -8664,7 +8664,7 @@ | |||
| 8664 | (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Move these here from | 8664 | (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG, VALMASK): Move these here from |
| 8665 | emacs.c, as this is a more-suitable home. Had this been done earlier | 8665 | emacs.c, as this is a more-suitable home. Had this been done earlier |
| 8666 | the fix for 12036 would have avoided some of the problems noted in | 8666 | the fix for 12036 would have avoided some of the problems noted in |
| 8667 | <http://bugs.gnu.org/12036#13> by Eli Zaretskii, as the scope problems | 8667 | <https://bugs.gnu.org/12036#13> by Eli Zaretskii, as the scope problems |
| 8668 | would have been more obvious. | 8668 | would have been more obvious. |
| 8669 | * emacs.c: Do not include <verify.h>; no longer needed. | 8669 | * emacs.c: Do not include <verify.h>; no longer needed. |
| 8670 | (gdb_CHECK_LISP_OBJECT_TYPE, gdb_DATA_SEG_BITS) | 8670 | (gdb_CHECK_LISP_OBJECT_TYPE, gdb_DATA_SEG_BITS) |
| @@ -8794,7 +8794,7 @@ | |||
| 8794 | Swap buffer text indirection counters in Fbuffer_swap_text. | 8794 | Swap buffer text indirection counters in Fbuffer_swap_text. |
| 8795 | * buffer.c (Fbuffer_swap_text): Swap indirections too. | 8795 | * buffer.c (Fbuffer_swap_text): Swap indirections too. |
| 8796 | This avoids crash reported by Christoph Scholtes at | 8796 | This avoids crash reported by Christoph Scholtes at |
| 8797 | http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00785.html. | 8797 | https://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00785.html. |
| 8798 | 8798 | ||
| 8799 | 2012-07-22 Jan Djärv <jan.h.d@swipnet.se> | 8799 | 2012-07-22 Jan Djärv <jan.h.d@swipnet.se> |
| 8800 | 8800 | ||
| @@ -8830,7 +8830,7 @@ | |||
| 8830 | 8830 | ||
| 8831 | * keyboard.c (keys_of_keyboard): Bind language-change to 'ignore' | 8831 | * keyboard.c (keys_of_keyboard): Bind language-change to 'ignore' |
| 8832 | in special-event-map. See the discussion at | 8832 | in special-event-map. See the discussion at |
| 8833 | http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00417.html | 8833 | https://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00417.html |
| 8834 | for the reasons. | 8834 | for the reasons. |
| 8835 | 8835 | ||
| 8836 | * w32menu.c (add_menu_item): Cast to ULONG_PTR when assigning | 8836 | * w32menu.c (add_menu_item): Cast to ULONG_PTR when assigning |
| @@ -8924,7 +8924,7 @@ | |||
| 8924 | 8924 | ||
| 8925 | Tweak the value returned from Fgarbage_collect again. | 8925 | Tweak the value returned from Fgarbage_collect again. |
| 8926 | * alloc.c (Fgarbage_collect): New return value, as confirmed in | 8926 | * alloc.c (Fgarbage_collect): New return value, as confirmed in |
| 8927 | http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00418.html. | 8927 | https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00418.html. |
| 8928 | Adjust documentation. | 8928 | Adjust documentation. |
| 8929 | (total_vector_bytes): Rename to total_vector_slots, adjust | 8929 | (total_vector_bytes): Rename to total_vector_slots, adjust |
| 8930 | accounting. | 8930 | accounting. |
| @@ -8962,7 +8962,7 @@ | |||
| 8962 | * intervals.c (merge_interval_right, merge_interval_left): | 8962 | * intervals.c (merge_interval_right, merge_interval_left): |
| 8963 | Do not zero out this interval if it is absorbed by its children, | 8963 | Do not zero out this interval if it is absorbed by its children, |
| 8964 | as this interval's total length doesn't change in that case. See | 8964 | as this interval's total length doesn't change in that case. See |
| 8965 | <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00403.html>. | 8965 | <https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00403.html>. |
| 8966 | 8966 | ||
| 8967 | 2012-07-18 Paul Eggert <eggert@cs.ucla.edu> | 8967 | 2012-07-18 Paul Eggert <eggert@cs.ucla.edu> |
| 8968 | 8968 | ||
| @@ -9009,7 +9009,7 @@ | |||
| 9009 | 9009 | ||
| 9010 | Return more descriptive data from Fgarbage_collect. | 9010 | Return more descriptive data from Fgarbage_collect. |
| 9011 | Suggested by Stefan Monnier in | 9011 | Suggested by Stefan Monnier in |
| 9012 | http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00369.html. | 9012 | https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00369.html. |
| 9013 | * alloc.c (bounded_number): New function. | 9013 | * alloc.c (bounded_number): New function. |
| 9014 | (total_buffers, total_vectors): New variable. | 9014 | (total_buffers, total_vectors): New variable. |
| 9015 | (total_string_size): Rename to total_string_bytes, adjust users. | 9015 | (total_string_size): Rename to total_string_bytes, adjust users. |
| @@ -9034,7 +9034,7 @@ | |||
| 9034 | 9034 | ||
| 9035 | Restore old code in allocate_string_data to avoid Faset breakage. | 9035 | Restore old code in allocate_string_data to avoid Faset breakage. |
| 9036 | Reported by Julien Danjou <julien@danjou.info> in | 9036 | Reported by Julien Danjou <julien@danjou.info> in |
| 9037 | http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00371.html. | 9037 | https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00371.html. |
| 9038 | * alloc.c (allocate_string_data): Restore old code with minor | 9038 | * alloc.c (allocate_string_data): Restore old code with minor |
| 9039 | adjustments, fix comment to explain this subtle issue. | 9039 | adjustments, fix comment to explain this subtle issue. |
| 9040 | 9040 | ||
| @@ -9392,7 +9392,7 @@ | |||
| 9392 | 9392 | ||
| 9393 | Fix typos that broke OS X build. | 9393 | Fix typos that broke OS X build. |
| 9394 | Reported by Randal L. Schwartz in | 9394 | Reported by Randal L. Schwartz in |
| 9395 | <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00225.html>. | 9395 | <https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00225.html>. |
| 9396 | * nsterm.m (ns_timeout): Add missing local decl. | 9396 | * nsterm.m (ns_timeout): Add missing local decl. |
| 9397 | (ns_get_color): snprintf -> sprintf, to fix typo. | 9397 | (ns_get_color): snprintf -> sprintf, to fix typo. |
| 9398 | 9398 | ||
| @@ -9768,7 +9768,7 @@ | |||
| 9768 | 2012-07-08 Paul Eggert <eggert@cs.ucla.edu> | 9768 | 2012-07-08 Paul Eggert <eggert@cs.ucla.edu> |
| 9769 | 9769 | ||
| 9770 | * systime.h (EMACS_SUB_TIME): Clarify behavior with unsigned time_t. | 9770 | * systime.h (EMACS_SUB_TIME): Clarify behavior with unsigned time_t. |
| 9771 | See <http://bugs.gnu.org/11825#29>. | 9771 | See <https://bugs.gnu.org/11825#29>. |
| 9772 | 9772 | ||
| 9773 | 2012-07-08 Eli Zaretskii <eliz@gnu.org> | 9773 | 2012-07-08 Eli Zaretskii <eliz@gnu.org> |
| 9774 | 9774 | ||
| @@ -10115,18 +10115,18 @@ | |||
| 10115 | 10115 | ||
| 10116 | * fileio.c (time_error_value): Check the right error number. | 10116 | * fileio.c (time_error_value): Check the right error number. |
| 10117 | Problem reported by Troels Nielsen in | 10117 | Problem reported by Troels Nielsen in |
| 10118 | <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00095.html>. | 10118 | <https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00095.html>. |
| 10119 | 10119 | ||
| 10120 | 2012-07-04 Paul Eggert <eggert@cs.ucla.edu> | 10120 | 2012-07-04 Paul Eggert <eggert@cs.ucla.edu> |
| 10121 | 10121 | ||
| 10122 | * window.c (set_window_hscroll): Revert the 100000 hscroll limit. | 10122 | * window.c (set_window_hscroll): Revert the 100000 hscroll limit. |
| 10123 | This should be fixed in a better way; see Eli Zaretskii in | 10123 | This should be fixed in a better way; see Eli Zaretskii in |
| 10124 | <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00088.html>. | 10124 | <https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00088.html>. |
| 10125 | (HSCROLL_MAX): Remove; this is now internal to set_window_hscroll. | 10125 | (HSCROLL_MAX): Remove; this is now internal to set_window_hscroll. |
| 10126 | 10126 | ||
| 10127 | * fileio.c (time_error_value): Rename from special_mtime. | 10127 | * fileio.c (time_error_value): Rename from special_mtime. |
| 10128 | The old name's problems were noted by Eli Zaretskii in | 10128 | The old name's problems were noted by Eli Zaretskii in |
| 10129 | <http://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00087.html>. | 10129 | <https://lists.gnu.org/archive/html/emacs-devel/2012-07/msg00087.html>. |
| 10130 | 10130 | ||
| 10131 | * emacs.c (gdb_pvec_type): Change it back to enum pvec_type. | 10131 | * emacs.c (gdb_pvec_type): Change it back to enum pvec_type. |
| 10132 | This variable's comment says Emacs needs at least one GDB-visible | 10132 | This variable's comment says Emacs needs at least one GDB-visible |
| @@ -10710,7 +10710,7 @@ | |||
| 10710 | Use it to avoid bogus compiler warnings with obsolescent GCC versions. | 10710 | Use it to avoid bogus compiler warnings with obsolescent GCC versions. |
| 10711 | This improves on the previous patch, which introduced a bug | 10711 | This improves on the previous patch, which introduced a bug |
| 10712 | when time_t is unsigned and as wide as intmax_t. | 10712 | when time_t is unsigned and as wide as intmax_t. |
| 10713 | See <http://bugs.gnu.org/9000#51>. | 10713 | See <https://bugs.gnu.org/9000#51>. |
| 10714 | 10714 | ||
| 10715 | 2012-06-23 Eli Zaretskii <eliz@gnu.org> | 10715 | 2012-06-23 Eli Zaretskii <eliz@gnu.org> |
| 10716 | 10716 | ||
| @@ -10995,7 +10995,7 @@ | |||
| 10995 | * bytecode.c (METER_CODE) [BYTE_CODE_METER]: Don't assume | 10995 | * bytecode.c (METER_CODE) [BYTE_CODE_METER]: Don't assume |
| 10996 | !CHECK_LISP_OBJECT_TYPE && !USE_LSB_TAG. Problem with | 10996 | !CHECK_LISP_OBJECT_TYPE && !USE_LSB_TAG. Problem with |
| 10997 | CHECK_LISP_OBJECT_TYPE reported by Dmitry Antipov in | 10997 | CHECK_LISP_OBJECT_TYPE reported by Dmitry Antipov in |
| 10998 | <http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00282.html>. | 10998 | <https://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00282.html>. |
| 10999 | (METER_1, METER_2): Simplify. | 10999 | (METER_1, METER_2): Simplify. |
| 11000 | 11000 | ||
| 11001 | 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca> | 11001 | 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca> |
| @@ -11595,7 +11595,7 @@ | |||
| 11595 | * bidi.c (bidi_mirror_char): Don't possibly truncate the integer | 11595 | * bidi.c (bidi_mirror_char): Don't possibly truncate the integer |
| 11596 | before checking whether it's out of range. Put the check inside | 11596 | before checking whether it's out of range. Put the check inside |
| 11597 | eassert. See | 11597 | eassert. See |
| 11598 | <http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00485.html>. | 11598 | <https://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00485.html>. |
| 11599 | 11599 | ||
| 11600 | 2012-05-27 Ken Brown <kbrown@cornell.edu> | 11600 | 2012-05-27 Ken Brown <kbrown@cornell.edu> |
| 11601 | 11601 | ||
| @@ -12700,7 +12700,7 @@ | |||
| 12700 | 12700 | ||
| 12701 | Untag more efficiently if USE_LSB_TAG. | 12701 | Untag more efficiently if USE_LSB_TAG. |
| 12702 | This is based on a proposal by YAMAMOTO Mitsuharu in | 12702 | This is based on a proposal by YAMAMOTO Mitsuharu in |
| 12703 | <http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01876.html>. | 12703 | <https://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01876.html>. |
| 12704 | For an admittedly artificial (nth 8000 longlist) benchmark on | 12704 | For an admittedly artificial (nth 8000 longlist) benchmark on |
| 12705 | Fedora 15 x86-64, this yields a 25% CPU speedup. Also, it shrinks | 12705 | Fedora 15 x86-64, this yields a 25% CPU speedup. Also, it shrinks |
| 12706 | Emacs's overall text size by 1%. | 12706 | Emacs's overall text size by 1%. |
| @@ -12726,7 +12726,7 @@ | |||
| 12726 | stack for each reader_thread, instead of defaulting to 8MB | 12726 | stack for each reader_thread, instead of defaulting to 8MB |
| 12727 | determined by the linker. This avoids failures in creating | 12727 | determined by the linker. This avoids failures in creating |
| 12728 | subprocesses on Windows 7, see the discussion in this thread: | 12728 | subprocesses on Windows 7, see the discussion in this thread: |
| 12729 | http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00119.html. | 12729 | https://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00119.html. |
| 12730 | 12730 | ||
| 12731 | 2012-05-07 Jérémy Compostella <jeremy.compostella@gmail.com> | 12731 | 2012-05-07 Jérémy Compostella <jeremy.compostella@gmail.com> |
| 12732 | 12732 | ||
| @@ -13118,13 +13118,13 @@ | |||
| 13118 | Remove one incorrect comment and fix another. | 13118 | Remove one incorrect comment and fix another. |
| 13119 | 13119 | ||
| 13120 | Fix minor ralloc.c problems found by static checking. | 13120 | Fix minor ralloc.c problems found by static checking. |
| 13121 | See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html | 13121 | See https://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html |
| 13122 | * ralloc.c (ALIGNED, ROUND_TO_PAGE, HEAP_PTR_SIZE) | 13122 | * ralloc.c (ALIGNED, ROUND_TO_PAGE, HEAP_PTR_SIZE) |
| 13123 | (r_alloc_size_in_use, r_alloc_freeze, r_alloc_thaw): Remove; unused. | 13123 | (r_alloc_size_in_use, r_alloc_freeze, r_alloc_thaw): Remove; unused. |
| 13124 | (r_alloc_sbrk): Now static. | 13124 | (r_alloc_sbrk): Now static. |
| 13125 | 13125 | ||
| 13126 | Improve ralloc.c interface checking. | 13126 | Improve ralloc.c interface checking. |
| 13127 | See http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html | 13127 | See https://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00720.html |
| 13128 | * buffer.c (ralloc_reset_variable, r_alloc, r_re_alloc) | 13128 | * buffer.c (ralloc_reset_variable, r_alloc, r_re_alloc) |
| 13129 | (r_alloc_free) [REL_ALLOC]: Move decls from here ... | 13129 | (r_alloc_free) [REL_ALLOC]: Move decls from here ... |
| 13130 | * lisp.h (r_alloc, r_alloc_free, r_re_alloc, r_alloc_reset_variable) | 13130 | * lisp.h (r_alloc, r_alloc_free, r_re_alloc, r_alloc_reset_variable) |
| @@ -13335,7 +13335,7 @@ | |||
| 13335 | about subtle differences between FETCH_CHAR* and STRING_CHAR* | 13335 | about subtle differences between FETCH_CHAR* and STRING_CHAR* |
| 13336 | macros related to unification of CJK characters. For the details, | 13336 | macros related to unification of CJK characters. For the details, |
| 13337 | see the discussion following the message here: | 13337 | see the discussion following the message here: |
| 13338 | http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11073#14. | 13338 | https://debbugs.gnu.org/cgi/bugreport.cgi?bug=11073#14. |
| 13339 | 13339 | ||
| 13340 | 2012-04-04 Chong Yidong <cyd@gnu.org> | 13340 | 2012-04-04 Chong Yidong <cyd@gnu.org> |
| 13341 | 13341 | ||
| @@ -13539,7 +13539,7 @@ | |||
| 13539 | 13539 | ||
| 13540 | Generalize fix for crash due to non-contiguous EMACS_INT (Bug#10780). | 13540 | Generalize fix for crash due to non-contiguous EMACS_INT (Bug#10780). |
| 13541 | Suggested by Stefan Monnier in | 13541 | Suggested by Stefan Monnier in |
| 13542 | <http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00692.html>. | 13542 | <https://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00692.html>. |
| 13543 | * alloc.c (widen_to_Lisp_Object): New static function. | 13543 | * alloc.c (widen_to_Lisp_Object): New static function. |
| 13544 | (mark_memory): Also mark Lisp_Objects by fetching pointer words | 13544 | (mark_memory): Also mark Lisp_Objects by fetching pointer words |
| 13545 | and widening them to Lisp_Objects. This would work even if | 13545 | and widening them to Lisp_Objects. This would work even if |
| @@ -13593,7 +13593,7 @@ | |||
| 13593 | It's useless in that case, and it can cause problems on hosts | 13593 | It's useless in that case, and it can cause problems on hosts |
| 13594 | that allocate halves of EMACS_INT values separately. | 13594 | that allocate halves of EMACS_INT values separately. |
| 13595 | Reported by Dan Horák. Diagnosed by Andreas Schwab in | 13595 | Reported by Dan Horák. Diagnosed by Andreas Schwab in |
| 13596 | <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10780#30>. | 13596 | <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=10780#30>. |
| 13597 | * mem-limits.h (EXCEEDS_LISP_PTR): Define to 0 on hosts where | 13597 | * mem-limits.h (EXCEEDS_LISP_PTR): Define to 0 on hosts where |
| 13598 | UINTPTR_MAX >> VALBITS == 0. This is required by the above change; | 13598 | UINTPTR_MAX >> VALBITS == 0. This is required by the above change; |
| 13599 | it avoids undefined behavior on hosts where shifting right by more | 13599 | it avoids undefined behavior on hosts where shifting right by more |
| @@ -13619,7 +13619,7 @@ | |||
| 13619 | 2012-02-15 Paul Eggert <eggert@cs.ucla.edu> | 13619 | 2012-02-15 Paul Eggert <eggert@cs.ucla.edu> |
| 13620 | 13620 | ||
| 13621 | * image.c (MAX_IMAGE_SIZE): Increase from 6.0 to 10.0; see | 13621 | * image.c (MAX_IMAGE_SIZE): Increase from 6.0 to 10.0; see |
| 13622 | <http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00540.html>. | 13622 | <https://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00540.html>. |
| 13623 | 13623 | ||
| 13624 | 2012-02-15 Chong Yidong <cyd@gnu.org> | 13624 | 2012-02-15 Chong Yidong <cyd@gnu.org> |
| 13625 | 13625 | ||
| @@ -14242,7 +14242,7 @@ | |||
| 14242 | Remove GCPRO-related macros that exist only to avoid shadowing locals. | 14242 | Remove GCPRO-related macros that exist only to avoid shadowing locals. |
| 14243 | * lisp.h (GCPRO1_VAR, GCPRO2_VAR, GCPRO3_VAR, GCPRO4_VAR, GCPRO5_VAR) | 14243 | * lisp.h (GCPRO1_VAR, GCPRO2_VAR, GCPRO3_VAR, GCPRO4_VAR, GCPRO5_VAR) |
| 14244 | (GCPRO6_VAR, UNGCPRO_VAR): Remove. See | 14244 | (GCPRO6_VAR, UNGCPRO_VAR): Remove. See |
| 14245 | <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. | 14245 | <https://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. |
| 14246 | All uses changed to use GCPRO1 etc. | 14246 | All uses changed to use GCPRO1 etc. |
| 14247 | (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6, UNGCPRO): | 14247 | (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6, UNGCPRO): |
| 14248 | Revert to old implementation (i.e., before 2011-03-11). | 14248 | Revert to old implementation (i.e., before 2011-03-11). |
| @@ -14278,7 +14278,7 @@ | |||
| 14278 | 2011-11-26 Paul Eggert <eggert@cs.ucla.edu> | 14278 | 2011-11-26 Paul Eggert <eggert@cs.ucla.edu> |
| 14279 | 14279 | ||
| 14280 | * fileio.c (Finsert_file_contents): Undo previous change; see | 14280 | * fileio.c (Finsert_file_contents): Undo previous change; see |
| 14281 | <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. | 14281 | <https://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. |
| 14282 | 14282 | ||
| 14283 | 2011-11-26 Paul Eggert <eggert@cs.ucla.edu> | 14283 | 2011-11-26 Paul Eggert <eggert@cs.ucla.edu> |
| 14284 | 14284 | ||
| @@ -14379,7 +14379,7 @@ | |||
| 14379 | Standardize on VIRT_ADDR_VARIES behavior (Bug#10042). | 14379 | Standardize on VIRT_ADDR_VARIES behavior (Bug#10042). |
| 14380 | Otherwise, valgrind does not work on some platforms. | 14380 | Otherwise, valgrind does not work on some platforms. |
| 14381 | Problem reported by Andreas Schwab in | 14381 | Problem reported by Andreas Schwab in |
| 14382 | <http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00081.html>. | 14382 | <https://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00081.html>. |
| 14383 | * puresize.h (pure, PURE_P): Always behave as if VIRT_ADDR_VARIES | 14383 | * puresize.h (pure, PURE_P): Always behave as if VIRT_ADDR_VARIES |
| 14384 | is set, removing the need for VIRT_ADDRESS_VARIES. | 14384 | is set, removing the need for VIRT_ADDRESS_VARIES. |
| 14385 | (PURE_P): Use a more-efficient implementation that needs just one | 14385 | (PURE_P): Use a more-efficient implementation that needs just one |
| @@ -14545,7 +14545,7 @@ | |||
| 14545 | 14545 | ||
| 14546 | Avoid some portability problems by eschewing 'extern inline' functions. | 14546 | Avoid some portability problems by eschewing 'extern inline' functions. |
| 14547 | The trivial performance wins aren't worth the portability hassles; see | 14547 | The trivial performance wins aren't worth the portability hassles; see |
| 14548 | <http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00084.html> | 14548 | <https://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00084.html> |
| 14549 | et seq. | 14549 | et seq. |
| 14550 | * dispextern.h (window_box, window_box_height, window_text_bottom_y) | 14550 | * dispextern.h (window_box, window_box_height, window_text_bottom_y) |
| 14551 | (window_box_width, window_box_left, window_box_left_offset) | 14551 | (window_box_width, window_box_left, window_box_left_offset) |
| @@ -14625,7 +14625,7 @@ | |||
| 14625 | (window_box_right, window_box_right_offset): Declare extern. | 14625 | (window_box_right, window_box_right_offset): Declare extern. |
| 14626 | Otherwise, these inline functions do not conform to C99 and | 14626 | Otherwise, these inline functions do not conform to C99 and |
| 14627 | are miscompiled by Microsoft compilers. Reported by Eli Zaretskii in | 14627 | are miscompiled by Microsoft compilers. Reported by Eli Zaretskii in |
| 14628 | <http://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00084.html>. | 14628 | <https://lists.gnu.org/archive/html/emacs-devel/2011-11/msg00084.html>. |
| 14629 | * intervals.c (adjust_intervals_for_insertion) | 14629 | * intervals.c (adjust_intervals_for_insertion) |
| 14630 | (adjust_intervals_for_deletion): Now extern, because otherwise the | 14630 | (adjust_intervals_for_deletion): Now extern, because otherwise the |
| 14631 | extern inline functions 'offset_intervals' couldn't refer to it. | 14631 | extern inline functions 'offset_intervals' couldn't refer to it. |
| @@ -14959,7 +14959,7 @@ | |||
| 14959 | This doesn't change this function's behavior. | 14959 | This doesn't change this function's behavior. |
| 14960 | (current-time-zone): Rewrite to use format_time_string. | 14960 | (current-time-zone): Rewrite to use format_time_string. |
| 14961 | This fixes the bug reported by Michael Schierl in | 14961 | This fixes the bug reported by Michael Schierl in |
| 14962 | <http://lists.gnu.org/archive/html/emacs-devel/2007-06/msg00334.html>. | 14962 | <https://lists.gnu.org/archive/html/emacs-devel/2007-06/msg00334.html>. |
| 14963 | Jason Rumney's 2007-06-07 change worked around this bug, but | 14963 | Jason Rumney's 2007-06-07 change worked around this bug, but |
| 14964 | didn't fix it. | 14964 | didn't fix it. |
| 14965 | * systime.h (tzname, timezone): Remove no-longer-used declarations. | 14965 | * systime.h (tzname, timezone): Remove no-longer-used declarations. |
| @@ -15144,7 +15144,7 @@ | |||
| 15144 | * charset.c (charset_table_init): New static var. | 15144 | * charset.c (charset_table_init): New static var. |
| 15145 | (syms_of_charset): Use it instead of xmalloc. This removes a | 15145 | (syms_of_charset): Use it instead of xmalloc. This removes a |
| 15146 | dependency on glibc malloc internals. See Eli Zaretskii's comment in | 15146 | dependency on glibc malloc internals. See Eli Zaretskii's comment in |
| 15147 | <http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00815.html>. | 15147 | <https://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00815.html>. |
| 15148 | * lisp.h (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE): | 15148 | * lisp.h (XMALLOC_OVERRUN_CHECK_OVERHEAD, XMALLOC_OVERRUN_CHECK_SIZE): |
| 15149 | Move back to alloc.c. | 15149 | Move back to alloc.c. |
| 15150 | (XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT) | 15150 | (XMALLOC_BASE_ALIGNMENT, COMMON_MULTIPLE, XMALLOC_HEADER_ALIGNMENT) |
| @@ -15433,7 +15433,7 @@ | |||
| 15433 | signed integers, not unsigned. This is to be consistent with | 15433 | signed integers, not unsigned. This is to be consistent with |
| 15434 | outgoing selection data, which was modified to use signed integers | 15434 | outgoing selection data, which was modified to use signed integers |
| 15435 | in as part of the fix to Bug#9196 in response to Jan D.'s comment | 15435 | in as part of the fix to Bug#9196 in response to Jan D.'s comment |
| 15436 | in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9196#32> that X11 | 15436 | in <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9196#32> that X11 |
| 15437 | expects long, not unsigned long. | 15437 | expects long, not unsigned long. |
| 15438 | 15438 | ||
| 15439 | 2011-09-14 Eli Zaretskii <eliz@gnu.org> | 15439 | 2011-09-14 Eli Zaretskii <eliz@gnu.org> |
| @@ -15763,7 +15763,7 @@ | |||
| 15763 | (ccl_driver): Do not generate an out-of-range pointer. | 15763 | (ccl_driver): Do not generate an out-of-range pointer. |
| 15764 | (Fccl_execute_on_string): Remove unnecessary check for | 15764 | (Fccl_execute_on_string): Remove unnecessary check for |
| 15765 | integer overflow, noted by Stefan Monnier in | 15765 | integer overflow, noted by Stefan Monnier in |
| 15766 | <http://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00979.html>. | 15766 | <https://lists.gnu.org/archive/html/emacs-devel/2011-08/msg00979.html>. |
| 15767 | Remove a FIXME that didn't need fixing. | 15767 | Remove a FIXME that didn't need fixing. |
| 15768 | Simplify the newly-introduced buffer reallocation code. | 15768 | Simplify the newly-introduced buffer reallocation code. |
| 15769 | 15769 | ||
| @@ -16712,11 +16712,11 @@ | |||
| 16712 | (bidi_dump_cached_states): Use ptrdiff_t, not int, to avoid overflow. | 16712 | (bidi_dump_cached_states): Use ptrdiff_t, not int, to avoid overflow. |
| 16713 | (bidi_cache_ensure_space): Also check that the bidi cache size | 16713 | (bidi_cache_ensure_space): Also check that the bidi cache size |
| 16714 | does not exceed that of the largest Lisp string or buffer. See Eli | 16714 | does not exceed that of the largest Lisp string or buffer. See Eli |
| 16715 | Zaretskii in <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9079#29>. | 16715 | Zaretskii in <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9079#29>. |
| 16716 | 16716 | ||
| 16717 | * alloc.c (__malloc_size_t): Remove. | 16717 | * alloc.c (__malloc_size_t): Remove. |
| 16718 | All uses replaced by size_t. See Andreas Schwab's note | 16718 | All uses replaced by size_t. See Andreas Schwab's note |
| 16719 | <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9079#8>. | 16719 | <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=9079#8>. |
| 16720 | 16720 | ||
| 16721 | * image.c: Improve checking for integer overflow. | 16721 | * image.c: Improve checking for integer overflow. |
| 16722 | (check_image_size): Assume that f is nonnull, since | 16722 | (check_image_size): Assume that f is nonnull, since |
| @@ -16749,7 +16749,7 @@ | |||
| 16749 | 16749 | ||
| 16750 | * dispnew.c (init_display): Use *_RANGE_OVERFLOW macros. | 16750 | * dispnew.c (init_display): Use *_RANGE_OVERFLOW macros. |
| 16751 | The plain *_OVERFLOW macros run afoul of GCC bug 49705 | 16751 | The plain *_OVERFLOW macros run afoul of GCC bug 49705 |
| 16752 | <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49705> | 16752 | <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49705> |
| 16753 | and therefore cause GCC to emit a bogus diagnostic in some cases. | 16753 | and therefore cause GCC to emit a bogus diagnostic in some cases. |
| 16754 | 16754 | ||
| 16755 | * image.c: Integer signedness and overflow and related fixes. | 16755 | * image.c: Integer signedness and overflow and related fixes. |
| @@ -16990,7 +16990,7 @@ | |||
| 16990 | 2011-07-19 Paul Eggert <eggert@cs.ucla.edu> | 16990 | 2011-07-19 Paul Eggert <eggert@cs.ucla.edu> |
| 16991 | 16991 | ||
| 16992 | Port to OpenBSD. | 16992 | Port to OpenBSD. |
| 16993 | See http://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00688.html | 16993 | See https://lists.gnu.org/archive/html/emacs-devel/2011-07/msg00688.html |
| 16994 | and the surrounding thread. | 16994 | and the surrounding thread. |
| 16995 | * minibuf.c (read_minibuf_noninteractive): Rewrite to use getchar | 16995 | * minibuf.c (read_minibuf_noninteractive): Rewrite to use getchar |
| 16996 | rather than fgets, and retry after EINTR. Otherwise, 'emacs | 16996 | rather than fgets, and retry after EINTR. Otherwise, 'emacs |
| @@ -19316,7 +19316,7 @@ | |||
| 19316 | 2011-05-31 Paul Eggert <eggert@cs.ucla.edu> | 19316 | 2011-05-31 Paul Eggert <eggert@cs.ucla.edu> |
| 19317 | 19317 | ||
| 19318 | Use 'inline', not 'INLINE'. | 19318 | Use 'inline', not 'INLINE'. |
| 19319 | <http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00914.html> | 19319 | <https://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00914.html> |
| 19320 | * alloc.c, fontset.c (INLINE): Remove. | 19320 | * alloc.c, fontset.c (INLINE): Remove. |
| 19321 | * alloc.c, bidi.c, charset.c, coding.c, dispnew.c, fns.c, image.c: | 19321 | * alloc.c, bidi.c, charset.c, coding.c, dispnew.c, fns.c, image.c: |
| 19322 | * intervals.c, keyboard.c, process.c, syntax.c, textprop.c, w32term.c: | 19322 | * intervals.c, keyboard.c, process.c, syntax.c, textprop.c, w32term.c: |
| @@ -19620,7 +19620,7 @@ | |||
| 19620 | * systime.h (Time): Define only if emacs is defined. | 19620 | * systime.h (Time): Define only if emacs is defined. |
| 19621 | This is to allow ../lib-src/profile.c to be compiled on FreeBSD, | 19621 | This is to allow ../lib-src/profile.c to be compiled on FreeBSD, |
| 19622 | where the include path doesn't have X11/X.h by default. See | 19622 | where the include path doesn't have X11/X.h by default. See |
| 19623 | <http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00561.html>. | 19623 | <https://lists.gnu.org/archive/html/emacs-devel/2011-05/msg00561.html>. |
| 19624 | 19624 | ||
| 19625 | 2011-05-20 Kenichi Handa <handa@m17n.org> | 19625 | 2011-05-20 Kenichi Handa <handa@m17n.org> |
| 19626 | 19626 | ||
| @@ -19885,7 +19885,7 @@ | |||
| 19885 | 19885 | ||
| 19886 | * dbusbind.c: Do not use XPNTR on a value that may be an integer. | 19886 | * dbusbind.c: Do not use XPNTR on a value that may be an integer. |
| 19887 | Reported by Stefan Monnier in | 19887 | Reported by Stefan Monnier in |
| 19888 | <http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00919.html>. | 19888 | <https://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00919.html>. |
| 19889 | (xd_remove_watch, Fdbus_init_bus, xd_read_queued_messages): | 19889 | (xd_remove_watch, Fdbus_init_bus, xd_read_queued_messages): |
| 19890 | Use SYMBOLP-guarded XSYMBOL, not XPNTR. | 19890 | Use SYMBOLP-guarded XSYMBOL, not XPNTR. |
| 19891 | 19891 | ||
| @@ -20276,7 +20276,7 @@ | |||
| 20276 | 20276 | ||
| 20277 | * intervals.h (struct interval): Use EMACS_INT for members | 20277 | * intervals.h (struct interval): Use EMACS_INT for members |
| 20278 | where EMACS_UINT might cause problems. See | 20278 | where EMACS_UINT might cause problems. See |
| 20279 | <http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00514.html>. | 20279 | <https://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00514.html>. |
| 20280 | (CHECK_TOTAL_LENGTH): Remove cast to EMACS_INT; no longer needed. | 20280 | (CHECK_TOTAL_LENGTH): Remove cast to EMACS_INT; no longer needed. |
| 20281 | * intervals.c (interval_deletion_adjustment): Now returns EMACS_INT. | 20281 | * intervals.c (interval_deletion_adjustment): Now returns EMACS_INT. |
| 20282 | All uses changed. | 20282 | All uses changed. |
| @@ -20741,7 +20741,7 @@ | |||
| 20741 | * sysdep.c (emacs_read): Remove unnecessary check vs MAX_RW_COUNT. | 20741 | * sysdep.c (emacs_read): Remove unnecessary check vs MAX_RW_COUNT. |
| 20742 | 20742 | ||
| 20743 | emacs_write: Accept and return EMACS_INT for sizes. | 20743 | emacs_write: Accept and return EMACS_INT for sizes. |
| 20744 | See http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00514.html | 20744 | See https://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00514.html |
| 20745 | et seq. | 20745 | et seq. |
| 20746 | * gnutls.c, gnutls.h (emacs_gnutls_read, emacs_gnutls_write): | 20746 | * gnutls.c, gnutls.h (emacs_gnutls_read, emacs_gnutls_write): |
| 20747 | Accept and return EMACS_INT. | 20747 | Accept and return EMACS_INT. |
| @@ -20755,7 +20755,7 @@ | |||
| 20755 | * process.c (send_process): Adjust to the new signatures of | 20755 | * process.c (send_process): Adjust to the new signatures of |
| 20756 | emacs_write and emacs_gnutls_write. Do not attempt to store | 20756 | emacs_write and emacs_gnutls_write. Do not attempt to store |
| 20757 | a byte offset into an 'int'; it might overflow. | 20757 | a byte offset into an 'int'; it might overflow. |
| 20758 | See http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00483.html | 20758 | See https://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00483.html |
| 20759 | 20759 | ||
| 20760 | * sound.c: Don't assume sizes fit in 'int'. | 20760 | * sound.c: Don't assume sizes fit in 'int'. |
| 20761 | (struct sound_device.period_size, alsa_period_size): | 20761 | (struct sound_device.period_size, alsa_period_size): |
| @@ -21225,7 +21225,7 @@ | |||
| 21225 | * sysdep.c (emacs_read, emacs_write): Check for negative sizes | 21225 | * sysdep.c (emacs_read, emacs_write): Check for negative sizes |
| 21226 | since callers should never pass a negative size. | 21226 | since callers should never pass a negative size. |
| 21227 | Change the signature to match that of plain 'read' and 'write'; see | 21227 | Change the signature to match that of plain 'read' and 'write'; see |
| 21228 | <http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00397.html>. | 21228 | <https://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00397.html>. |
| 21229 | * lisp.h: Update prototypes of emacs_write and emacs_read. | 21229 | * lisp.h: Update prototypes of emacs_write and emacs_read. |
| 21230 | 21230 | ||
| 21231 | 2011-04-11 Eli Zaretskii <eliz@gnu.org> | 21231 | 2011-04-11 Eli Zaretskii <eliz@gnu.org> |
| @@ -22049,7 +22049,7 @@ | |||
| 22049 | This also avoids a (bogus) GCC warning with gcc -Wstrict-overflow. | 22049 | This also avoids a (bogus) GCC warning with gcc -Wstrict-overflow. |
| 22050 | 22050 | ||
| 22051 | * scroll.c (do_scrolling): Work around GCC bug 48228. | 22051 | * scroll.c (do_scrolling): Work around GCC bug 48228. |
| 22052 | See <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>. | 22052 | See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48228>. |
| 22053 | 22053 | ||
| 22054 | * frame.c (Fmodify_frame_parameters): Simplify loop counter. | 22054 | * frame.c (Fmodify_frame_parameters): Simplify loop counter. |
| 22055 | This also avoids a warning with gcc -Wstrict-overflow. | 22055 | This also avoids a warning with gcc -Wstrict-overflow. |
| @@ -22615,7 +22615,7 @@ | |||
| 22615 | 1152921504606846976) returns the obviously-bogus value (-948597 | 22615 | 1152921504606846976) returns the obviously-bogus value (-948597 |
| 22616 | 62170) on my RHEL 5.5 x86-64 host. With the patch, it correctly | 22616 | 62170) on my RHEL 5.5 x86-64 host. With the patch, it correctly |
| 22617 | reports time overflow. See | 22617 | reports time overflow. See |
| 22618 | <http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00470.html>. | 22618 | <https://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00470.html>. |
| 22619 | * deps.mk (editfns.o): Depend on ../lib/intprops.h. | 22619 | * deps.mk (editfns.o): Depend on ../lib/intprops.h. |
| 22620 | * editfns.c: Include limits.h and intprops.h. | 22620 | * editfns.c: Include limits.h and intprops.h. |
| 22621 | (TIME_T_MIN, TIME_T_MAX): New macros. | 22621 | (TIME_T_MIN, TIME_T_MAX): New macros. |
diff --git a/src/ChangeLog.13 b/src/ChangeLog.13 index 6f5ea036263..e252acfbdb1 100644 --- a/src/ChangeLog.13 +++ b/src/ChangeLog.13 | |||
| @@ -48,7 +48,7 @@ | |||
| 48 | 48 | ||
| 49 | Avoid some core dumps in X session management | 49 | Avoid some core dumps in X session management |
| 50 | Derived from a bug report by Nicolas Richard in: | 50 | Derived from a bug report by Nicolas Richard in: |
| 51 | http://bugs.gnu.org/20191#20 | 51 | https://bugs.gnu.org/20191#20 |
| 52 | * xsmfns.c (smc_save_yourself_CB): Don't dump core if | 52 | * xsmfns.c (smc_save_yourself_CB): Don't dump core if |
| 53 | invocation-name is not a string. Initialize user-login-name if it | 53 | invocation-name is not a string. Initialize user-login-name if it |
| 54 | is not already initialized, and don't dump core if it is not a | 54 | is not already initialized, and don't dump core if it is not a |
| @@ -60,14 +60,14 @@ | |||
| 60 | 60 | ||
| 61 | Port user-login-name initialization to Qnil == 0 | 61 | Port user-login-name initialization to Qnil == 0 |
| 62 | Derived from a bug report by Nicolas Richard in: | 62 | Derived from a bug report by Nicolas Richard in: |
| 63 | http://bugs.gnu.org/20191#20 | 63 | https://bugs.gnu.org/20191#20 |
| 64 | * editfns.c (Fuser_login_name, Fuser_real_login_name) | 64 | * editfns.c (Fuser_login_name, Fuser_real_login_name) |
| 65 | (syms_of_editfns): Don't rely on all-bits-zero being an Elisp integer, | 65 | (syms_of_editfns): Don't rely on all-bits-zero being an Elisp integer, |
| 66 | as this is no longer true now that Qnil == 0. | 66 | as this is no longer true now that Qnil == 0. |
| 67 | 67 | ||
| 68 | Assume !BROKEN_NON_BLOCKING_CONNECT | 68 | Assume !BROKEN_NON_BLOCKING_CONNECT |
| 69 | From a suggestion by Eli Zaretskii in: | 69 | From a suggestion by Eli Zaretskii in: |
| 70 | http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00824.html | 70 | https://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00824.html |
| 71 | * process.c (NON_BLOCKING_CONNECT): Simplify by assuming that | 71 | * process.c (NON_BLOCKING_CONNECT): Simplify by assuming that |
| 72 | BROKEN_NON_BLOCKING_CONNECT is not defined. | 72 | BROKEN_NON_BLOCKING_CONNECT is not defined. |
| 73 | (SELECT_CAN_DO_WRITE_MASK): Remove, and assume it's now true. | 73 | (SELECT_CAN_DO_WRITE_MASK): Remove, and assume it's now true. |
| @@ -77,12 +77,12 @@ | |||
| 77 | * lread.c (substitute_object_recurse): For sub-char-tables, start | 77 | * lread.c (substitute_object_recurse): For sub-char-tables, start |
| 78 | the recursive SUBSTITUTE loop from index of 2, to skip the | 78 | the recursive SUBSTITUTE loop from index of 2, to skip the |
| 79 | non-Lisp members of the sub-char-table. See the discussion at | 79 | non-Lisp members of the sub-char-table. See the discussion at |
| 80 | http://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00520.html | 80 | https://lists.gnu.org/archive/html/emacs-devel/2015-03/msg00520.html |
| 81 | for the details. | 81 | for the details. |
| 82 | 82 | ||
| 83 | Support non-blocking connect on MS-Windows. | 83 | Support non-blocking connect on MS-Windows. |
| 84 | Based on ideas from Kim F. Storm <storm@cua.dk>, see | 84 | Based on ideas from Kim F. Storm <storm@cua.dk>, see |
| 85 | http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg00873.html. | 85 | https://lists.gnu.org/archive/html/emacs-devel/2006-12/msg00873.html. |
| 86 | 86 | ||
| 87 | * w32proc.c (reader_thread): If the FILE_CONNECT flag is set, call | 87 | * w32proc.c (reader_thread): If the FILE_CONNECT flag is set, call |
| 88 | '_sys_wait_connect'. If it returns STATUS_CONNECT_FAILED, exit | 88 | '_sys_wait_connect'. If it returns STATUS_CONNECT_FAILED, exit |
| @@ -1107,7 +1107,7 @@ | |||
| 1107 | 1107 | ||
| 1108 | Isolate NIL_IS_ZERO-assuming code better | 1108 | Isolate NIL_IS_ZERO-assuming code better |
| 1109 | Suggested by Stefan Monnier in: | 1109 | Suggested by Stefan Monnier in: |
| 1110 | http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00588.html | 1110 | https://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00588.html |
| 1111 | * alloc.c (allocate_pseudovector): | 1111 | * alloc.c (allocate_pseudovector): |
| 1112 | Use memclear, not memsetnil, to remove a 'verify'. | 1112 | Use memclear, not memsetnil, to remove a 'verify'. |
| 1113 | * callint.c (Fcall_interactively): | 1113 | * callint.c (Fcall_interactively): |
| @@ -1121,7 +1121,7 @@ | |||
| 1121 | 1121 | ||
| 1122 | Undo port to hypothetical nonzero Qnil case | 1122 | Undo port to hypothetical nonzero Qnil case |
| 1123 | This mostly undoes the previous change in this area. See: | 1123 | This mostly undoes the previous change in this area. See: |
| 1124 | http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00570.html | 1124 | https://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00570.html |
| 1125 | * alloc.c (allocate_pseudovector): | 1125 | * alloc.c (allocate_pseudovector): |
| 1126 | * callint.c (Fcall_interactively): | 1126 | * callint.c (Fcall_interactively): |
| 1127 | * dispnew.c (realloc_glyph_pool): | 1127 | * dispnew.c (realloc_glyph_pool): |
| @@ -1326,7 +1326,7 @@ | |||
| 1326 | Don't say Fnext_read_file_uses_dialog_p is const | 1326 | Don't say Fnext_read_file_uses_dialog_p is const |
| 1327 | It's const only if a windowing system is not used; don't say it's | 1327 | It's const only if a windowing system is not used; don't say it's |
| 1328 | const otherwise. See: | 1328 | const otherwise. See: |
| 1329 | http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00310.html | 1329 | https://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00310.html |
| 1330 | * fileio.c (next_read_file_uses_dialog_p): Remove. | 1330 | * fileio.c (next_read_file_uses_dialog_p): Remove. |
| 1331 | Move guts back to ... | 1331 | Move guts back to ... |
| 1332 | (Fnext_read_file_uses_dialog_p): ... here. | 1332 | (Fnext_read_file_uses_dialog_p): ... here. |
| @@ -1415,13 +1415,13 @@ | |||
| 1415 | * fileio.c (next_read_file_uses_dialog_p): New workaround ... | 1415 | * fileio.c (next_read_file_uses_dialog_p): New workaround ... |
| 1416 | (Fnext_read_file_uses_dialog_p): ... called from here to avoid | 1416 | (Fnext_read_file_uses_dialog_p): ... called from here to avoid |
| 1417 | ATTRIBUTE_CONST dependency from #ifdefs. For details, see | 1417 | ATTRIBUTE_CONST dependency from #ifdefs. For details, see |
| 1418 | http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00289.html. | 1418 | https://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00289.html. |
| 1419 | 1419 | ||
| 1420 | 2015-01-12 Paul Eggert <eggert@cs.ucla.edu> | 1420 | 2015-01-12 Paul Eggert <eggert@cs.ucla.edu> |
| 1421 | 1421 | ||
| 1422 | Port to 32-bit MingGW --with-wide-int | 1422 | Port to 32-bit MingGW --with-wide-int |
| 1423 | Problem reported by Eli Zaretskii in: | 1423 | Problem reported by Eli Zaretskii in: |
| 1424 | http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00265.html | 1424 | https://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00265.html |
| 1425 | * lisp.h (struct Lisp_Sub_Char_Table): Check that offset matches | 1425 | * lisp.h (struct Lisp_Sub_Char_Table): Check that offset matches |
| 1426 | what we think it is, rather than checking only its alignment (and | 1426 | what we think it is, rather than checking only its alignment (and |
| 1427 | doing so incorrectly on MinGW). | 1427 | doing so incorrectly on MinGW). |
| @@ -1623,12 +1623,12 @@ | |||
| 1623 | Port Qnil==0 XUNTAG to clang | 1623 | Port Qnil==0 XUNTAG to clang |
| 1624 | clang has undefined behavior if the program subtracts an integer | 1624 | clang has undefined behavior if the program subtracts an integer |
| 1625 | from (char *) 0. Problem reported by YAMAMOTO Mitsuharu in: | 1625 | from (char *) 0. Problem reported by YAMAMOTO Mitsuharu in: |
| 1626 | http://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00132.html | 1626 | https://lists.gnu.org/archive/html/emacs-devel/2015-01/msg00132.html |
| 1627 | * lisp.h (lisp_h_XUNTAG) [USE_LSB_TAG]: | 1627 | * lisp.h (lisp_h_XUNTAG) [USE_LSB_TAG]: |
| 1628 | (XUNTAG) [!USE_LSB_TAG]: Port to clang 3.5.0. | 1628 | (XUNTAG) [!USE_LSB_TAG]: Port to clang 3.5.0. |
| 1629 | 1629 | ||
| 1630 | Port GFileMonitor * hack to Qnil==0 platforms | 1630 | Port GFileMonitor * hack to Qnil==0 platforms |
| 1631 | Reported by Glenn Morris in: http://bugs.gnu.org/15880#112 | 1631 | Reported by Glenn Morris in: https://bugs.gnu.org/15880#112 |
| 1632 | * gfilenotify.c (monitor_to_lisp, lisp_to_monitor): New functions. | 1632 | * gfilenotify.c (monitor_to_lisp, lisp_to_monitor): New functions. |
| 1633 | (dir_monitor_callback, Fgfile_add_watch, Fgfile_rm_watch): Use them. | 1633 | (dir_monitor_callback, Fgfile_add_watch, Fgfile_rm_watch): Use them. |
| 1634 | 1634 | ||
| @@ -1842,7 +1842,7 @@ | |||
| 1842 | Instead of using gnutls_global_set_mem_functions, check every call | 1842 | Instead of using gnutls_global_set_mem_functions, check every call |
| 1843 | to a GnuTLS function that might return an indication of memory | 1843 | to a GnuTLS function that might return an indication of memory |
| 1844 | exhaustion. Suggested by Dmitry Antipov in: | 1844 | exhaustion. Suggested by Dmitry Antipov in: |
| 1845 | http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg02056.html | 1845 | https://lists.gnu.org/archive/html/emacs-devel/2014-12/msg02056.html |
| 1846 | * gnutls.c (gnutls_global_set_mem_functions) [WINDOWSNT]: Remove. | 1846 | * gnutls.c (gnutls_global_set_mem_functions) [WINDOWSNT]: Remove. |
| 1847 | (init_gnutls_functions): Do not load gnutls_global_set_mem_functions. | 1847 | (init_gnutls_functions): Do not load gnutls_global_set_mem_functions. |
| 1848 | (fn_gnutls_global_set_mem_functions) [!WINDOWSNT]: Remove. | 1848 | (fn_gnutls_global_set_mem_functions) [!WINDOWSNT]: Remove. |
| @@ -2369,7 +2369,7 @@ | |||
| 2369 | 2369 | ||
| 2370 | Improve clarity of USE_LSB_TAG definition. | 2370 | Improve clarity of USE_LSB_TAG definition. |
| 2371 | Reported by Lee Duhem. Suggested by Andreas Schwab in: | 2371 | Reported by Lee Duhem. Suggested by Andreas Schwab in: |
| 2372 | http://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02222.html | 2372 | https://lists.gnu.org/archive/html/emacs-devel/2014-11/msg02222.html |
| 2373 | * lisp.h (USE_LSB_TAG): Define in terms of the (simpler) | 2373 | * lisp.h (USE_LSB_TAG): Define in terms of the (simpler) |
| 2374 | VAL_MAX / 2 rather than in terms of the (more complicated) | 2374 | VAL_MAX / 2 rather than in terms of the (more complicated) |
| 2375 | EMACS_INT_MAX >> GCTYPEBITS, and adjust commentary to match. | 2375 | EMACS_INT_MAX >> GCTYPEBITS, and adjust commentary to match. |
| @@ -3043,7 +3043,7 @@ | |||
| 3043 | * xterm.c (x_draw_hollow_cursor): Fix display of hollow cursor on | 3043 | * xterm.c (x_draw_hollow_cursor): Fix display of hollow cursor on |
| 3044 | 1-pixel R2L characters. | 3044 | 1-pixel R2L characters. |
| 3045 | Reported by Dmitry Antipov <dmantipov@yandex.ru>, see | 3045 | Reported by Dmitry Antipov <dmantipov@yandex.ru>, see |
| 3046 | http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00518.html. | 3046 | https://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00518.html. |
| 3047 | 3047 | ||
| 3048 | 2014-10-16 Eli Zaretskii <eliz@gnu.org> | 3048 | 2014-10-16 Eli Zaretskii <eliz@gnu.org> |
| 3049 | 3049 | ||
| @@ -3284,7 +3284,7 @@ | |||
| 3284 | <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63495>, | 3284 | <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63495>, |
| 3285 | and more generally should fix a portability problem in Emacs. | 3285 | and more generally should fix a portability problem in Emacs. |
| 3286 | Reported by Stefan Monnier in: | 3286 | Reported by Stefan Monnier in: |
| 3287 | http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00261.html | 3287 | https://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00261.html |
| 3288 | 3288 | ||
| 3289 | 2014-10-08 Leo Liu <sdl.web@gmail.com> | 3289 | 2014-10-08 Leo Liu <sdl.web@gmail.com> |
| 3290 | 3290 | ||
| @@ -3334,7 +3334,7 @@ | |||
| 3334 | * keyboard.c (Qleft, Qright): Remove duplicate definitions (Bug#9927). | 3334 | * keyboard.c (Qleft, Qright): Remove duplicate definitions (Bug#9927). |
| 3335 | These were already defined in buffer.c, and the duplicate | 3335 | These were already defined in buffer.c, and the duplicate |
| 3336 | definitions cause problems on platforms like 'gcc -fno-common'. | 3336 | definitions cause problems on platforms like 'gcc -fno-common'. |
| 3337 | Reported by Peter Dyballa in: http://bugs.gnu.org/9927#137 | 3337 | Reported by Peter Dyballa in: https://bugs.gnu.org/9927#137 |
| 3338 | 3338 | ||
| 3339 | 2014-10-05 Jan Djärv <jan.h.d@swipnet.se> | 3339 | 2014-10-05 Jan Djärv <jan.h.d@swipnet.se> |
| 3340 | 3340 | ||
| @@ -3475,7 +3475,7 @@ | |||
| 3475 | (my_create_window): Move the calculation of the coordinates of the | 3475 | (my_create_window): Move the calculation of the coordinates of the |
| 3476 | frame's top-left edge here. Pass them to the input thread via the | 3476 | frame's top-left edge here. Pass them to the input thread via the |
| 3477 | second parameter of the WM_EMACS_CREATEWINDOW message. | 3477 | second parameter of the WM_EMACS_CREATEWINDOW message. |
| 3478 | See http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00892.html | 3478 | See https://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00892.html |
| 3479 | for the details. | 3479 | for the details. |
| 3480 | 3480 | ||
| 3481 | 2014-09-30 Eli Zaretskii <eliz@gnu.org> | 3481 | 2014-09-30 Eli Zaretskii <eliz@gnu.org> |
| @@ -3508,7 +3508,7 @@ | |||
| 3508 | 3508 | ||
| 3509 | * alloc.c: Remove now-unnecessary check. | 3509 | * alloc.c: Remove now-unnecessary check. |
| 3510 | Suggested by Dmitry Antipov in: | 3510 | Suggested by Dmitry Antipov in: |
| 3511 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00891.html | 3511 | https://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00891.html |
| 3512 | 3512 | ||
| 3513 | * xterm.c (x_term_init): Allocate temps on stack, not on heap. | 3513 | * xterm.c (x_term_init): Allocate temps on stack, not on heap. |
| 3514 | 3514 | ||
| @@ -3650,7 +3650,7 @@ | |||
| 3650 | 3650 | ||
| 3651 | Fix local_cons etc. to not exhaust the stack when in a loop. | 3651 | Fix local_cons etc. to not exhaust the stack when in a loop. |
| 3652 | Problem reported in: | 3652 | Problem reported in: |
| 3653 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00696.html | 3653 | https://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00696.html |
| 3654 | * buffer.c (Fother_buffer, other_buffer_safely, init_buffer): | 3654 | * buffer.c (Fother_buffer, other_buffer_safely, init_buffer): |
| 3655 | * charset.c (load_charset_map_from_file, Ffind_charset_region) | 3655 | * charset.c (load_charset_map_from_file, Ffind_charset_region) |
| 3656 | (Ffind_charset_string): | 3656 | (Ffind_charset_string): |
| @@ -3800,7 +3800,7 @@ | |||
| 3800 | 3800 | ||
| 3801 | Fix SAFE_ALLOCA to not exhaust the stack when in a loop. | 3801 | Fix SAFE_ALLOCA to not exhaust the stack when in a loop. |
| 3802 | Reported by Dmitry Antipov in thread leading to: | 3802 | Reported by Dmitry Antipov in thread leading to: |
| 3803 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00713.html | 3803 | https://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00713.html |
| 3804 | This patch fixes only SAFE_ALLOCA, SAFE_NALLOCA, and SAFE_ALLOCA_LISP; | 3804 | This patch fixes only SAFE_ALLOCA, SAFE_NALLOCA, and SAFE_ALLOCA_LISP; |
| 3805 | the experimental local_* macros enabled by USE_LOCAL_ALLOCATORS | 3805 | the experimental local_* macros enabled by USE_LOCAL_ALLOCATORS |
| 3806 | remain unfixed. | 3806 | remain unfixed. |
| @@ -4133,7 +4133,7 @@ | |||
| 4133 | 4133 | ||
| 4134 | Simplify lisp.h by removing the __COUNTER__ business. | 4134 | Simplify lisp.h by removing the __COUNTER__ business. |
| 4135 | Reported by Dmitry Antipov in: | 4135 | Reported by Dmitry Antipov in: |
| 4136 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00220.html | 4136 | https://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00220.html |
| 4137 | * lisp.h (make_local_vector, make_local_string) | 4137 | * lisp.h (make_local_vector, make_local_string) |
| 4138 | (build_local_string): Simplify by not bothering with __COUNTER__. | 4138 | (build_local_string): Simplify by not bothering with __COUNTER__. |
| 4139 | The __COUNTER__ business wasn't working properly, and was needed | 4139 | The __COUNTER__ business wasn't working properly, and was needed |
| @@ -4164,7 +4164,7 @@ | |||
| 4164 | These can generate a constant with the correct value but the wrong | 4164 | These can generate a constant with the correct value but the wrong |
| 4165 | width, which doesn't work as a printf argument. All uses removed. | 4165 | width, which doesn't work as a printf argument. All uses removed. |
| 4166 | Reported by Dmitry Antipov in: | 4166 | Reported by Dmitry Antipov in: |
| 4167 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00213.html | 4167 | https://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00213.html |
| 4168 | (ENUMABLE): Remove; no longer needed. | 4168 | (ENUMABLE): Remove; no longer needed. |
| 4169 | (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): | 4169 | (ARRAY_MARK_FLAG_val, PSEUDOVECTOR_FLAG_val, VALMASK_val): |
| 4170 | Remove; no longer needed because of the above change. | 4170 | Remove; no longer needed because of the above change. |
| @@ -4275,7 +4275,7 @@ | |||
| 4275 | 4275 | ||
| 4276 | Use SAFE_ALLOCA etc. to avoid unbounded stack allocation (Bug#18410). | 4276 | Use SAFE_ALLOCA etc. to avoid unbounded stack allocation (Bug#18410). |
| 4277 | This follows up on the recent thread in emacs-devel on alloca; see: | 4277 | This follows up on the recent thread in emacs-devel on alloca; see: |
| 4278 | http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00042.html | 4278 | https://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00042.html |
| 4279 | This patch also cleans up alloca-related glitches noted while | 4279 | This patch also cleans up alloca-related glitches noted while |
| 4280 | examining the code looking for unbounded alloca. | 4280 | examining the code looking for unbounded alloca. |
| 4281 | * alloc.c (listn): | 4281 | * alloc.c (listn): |
| @@ -4492,7 +4492,7 @@ | |||
| 4492 | it's an unsigned data type). This can happen in R2L hscrolled | 4492 | it's an unsigned data type). This can happen in R2L hscrolled |
| 4493 | glyph rows, and caused us to draw the cursor glyph on the fringe. | 4493 | glyph rows, and caused us to draw the cursor glyph on the fringe. |
| 4494 | For the details, see | 4494 | For the details, see |
| 4495 | http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00543.html. | 4495 | https://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00543.html. |
| 4496 | 4496 | ||
| 4497 | 2014-08-31 Ken Brown <kbrown@cornell.edu> | 4497 | 2014-08-31 Ken Brown <kbrown@cornell.edu> |
| 4498 | 4498 | ||
| @@ -4654,7 +4654,7 @@ | |||
| 4654 | immediately following the newline on the previous line. | 4654 | immediately following the newline on the previous line. |
| 4655 | Avoids setting the ends_at_zv_p flag on screen lines that are not at or | 4655 | Avoids setting the ends_at_zv_p flag on screen lines that are not at or |
| 4656 | beyond ZV, which causes infloop in redisplay. For the details, see | 4656 | beyond ZV, which causes infloop in redisplay. For the details, see |
| 4657 | http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00368.html. | 4657 | https://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00368.html. |
| 4658 | 4658 | ||
| 4659 | * dispnew.c (buffer_posn_from_coords): Fix mirroring of X | 4659 | * dispnew.c (buffer_posn_from_coords): Fix mirroring of X |
| 4660 | coordinate for hscrolled R2L screen lines. (Bug#18277) | 4660 | coordinate for hscrolled R2L screen lines. (Bug#18277) |
| @@ -4697,7 +4697,7 @@ | |||
| 4697 | (init_sigsegv): Adjust accordingly. | 4697 | (init_sigsegv): Adjust accordingly. |
| 4698 | * keyboard.c (Vtop_level_message): Rename to | 4698 | * keyboard.c (Vtop_level_message): Rename to |
| 4699 | Vinternal__top_level_message, as suggested by Stefan Monnier in | 4699 | Vinternal__top_level_message, as suggested by Stefan Monnier in |
| 4700 | http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00493.html | 4700 | https://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00493.html |
| 4701 | All related users changed. | 4701 | All related users changed. |
| 4702 | 4702 | ||
| 4703 | 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru> | 4703 | 2014-08-26 Dmitry Antipov <dmantipov@yandex.ru> |
| @@ -4854,7 +4854,7 @@ | |||
| 4854 | (Fset_window_new_total, Fset_window_new_normal) | 4854 | (Fset_window_new_total, Fset_window_new_normal) |
| 4855 | (Fwindow_resize_apply): Fix doc-strings (see Bug#18112). | 4855 | (Fwindow_resize_apply): Fix doc-strings (see Bug#18112). |
| 4856 | See also: | 4856 | See also: |
| 4857 | http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-08/msg00287.html | 4857 | https://lists.gnu.org/archive/html/bug-gnu-emacs/2014-08/msg00287.html |
| 4858 | 4858 | ||
| 4859 | 2014-08-11 Eli Zaretskii <eliz@gnu.org> | 4859 | 2014-08-11 Eli Zaretskii <eliz@gnu.org> |
| 4860 | 4860 | ||
| @@ -4943,7 +4943,7 @@ | |||
| 4943 | 4943 | ||
| 4944 | * keyboard.c (safe_run_hooks): Follow the convenient style to bind | 4944 | * keyboard.c (safe_run_hooks): Follow the convenient style to bind |
| 4945 | inhibit-quit to t and pass 2 args to safe_run_hook_funcall. See | 4945 | inhibit-quit to t and pass 2 args to safe_run_hook_funcall. See |
| 4946 | <http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00077.html>. | 4946 | <https://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00077.html>. |
| 4947 | (safe_run_hook_funcall): Adjust accordingly. | 4947 | (safe_run_hook_funcall): Adjust accordingly. |
| 4948 | 4948 | ||
| 4949 | 2014-08-04 Martin Rudalics <rudalics@gmx.at> | 4949 | 2014-08-04 Martin Rudalics <rudalics@gmx.at> |
| @@ -5027,7 +5027,7 @@ | |||
| 5027 | 2014-08-01 Eli Zaretskii <eliz@gnu.org> | 5027 | 2014-08-01 Eli Zaretskii <eliz@gnu.org> |
| 5028 | 5028 | ||
| 5029 | Fix display of R2L lines when the last character fits only partially. | 5029 | Fix display of R2L lines when the last character fits only partially. |
| 5030 | See http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00476.html | 5030 | See https://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00476.html |
| 5031 | for the details. | 5031 | for the details. |
| 5032 | * xdisp.c (extend_face_to_end_of_line): If the last glyph of an | 5032 | * xdisp.c (extend_face_to_end_of_line): If the last glyph of an |
| 5033 | R2L row is visible only partially, give the row a negative x | 5033 | R2L row is visible only partially, give the row a negative x |
| @@ -5090,7 +5090,7 @@ | |||
| 5090 | 5090 | ||
| 5091 | * xrdb.c (x_load_resources) [USE_MOTIF]: Although not strictly | 5091 | * xrdb.c (x_load_resources) [USE_MOTIF]: Although not strictly |
| 5092 | necessary, put horizontal scroll bar resources as well. See | 5092 | necessary, put horizontal scroll bar resources as well. See |
| 5093 | <http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00430.html>. | 5093 | <https://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00430.html>. |
| 5094 | * xterm.c (x_sync_with_move): Really wait 0.5s, not 0.0005s. | 5094 | * xterm.c (x_sync_with_move): Really wait 0.5s, not 0.0005s. |
| 5095 | 5095 | ||
| 5096 | 2014-07-29 Dmitry Antipov <dmantipov@yandex.ru> | 5096 | 2014-07-29 Dmitry Antipov <dmantipov@yandex.ru> |
| @@ -5148,7 +5148,7 @@ | |||
| 5148 | (adjust_frame_size): Always declare prototype. | 5148 | (adjust_frame_size): Always declare prototype. |
| 5149 | 5149 | ||
| 5150 | Fix Gnus-related issues reported by David Kastrup <dak@gnu.org> in | 5150 | Fix Gnus-related issues reported by David Kastrup <dak@gnu.org> in |
| 5151 | <http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00370.html>. | 5151 | <https://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00370.html>. |
| 5152 | * atimer.c (timerfd_callback): Always read expiration data. | 5152 | * atimer.c (timerfd_callback): Always read expiration data. |
| 5153 | Add comment. | 5153 | Add comment. |
| 5154 | (turn_on_atimers) [HAVE_TIMERFD]: Disarm timerfd timer. | 5154 | (turn_on_atimers) [HAVE_TIMERFD]: Disarm timerfd timer. |
| @@ -5597,7 +5597,7 @@ | |||
| 5597 | 2014-07-24 Dmitry Antipov <dmantipov@yandex.ru> | 5597 | 2014-07-24 Dmitry Antipov <dmantipov@yandex.ru> |
| 5598 | 5598 | ||
| 5599 | Fix error reported by Angelo Graziosi <angelo.graziosi@alice.it> in | 5599 | Fix error reported by Angelo Graziosi <angelo.graziosi@alice.it> in |
| 5600 | <http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00274.html> | 5600 | <https://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00274.html> |
| 5601 | and complete previous change. | 5601 | and complete previous change. |
| 5602 | * frame.c (adjust_frame_height): New function. | 5602 | * frame.c (adjust_frame_height): New function. |
| 5603 | (Fset_frame_height, Fset_frame_size): Use it. | 5603 | (Fset_frame_height, Fset_frame_size): Use it. |
| @@ -5607,7 +5607,7 @@ | |||
| 5607 | 5607 | ||
| 5608 | * frame.c (Fset_frame_height): Take frame top margin into account. | 5608 | * frame.c (Fset_frame_height): Take frame top margin into account. |
| 5609 | Incorrect behavior was reported by Martin Rudalics <rudalics@gmx.at> in | 5609 | Incorrect behavior was reported by Martin Rudalics <rudalics@gmx.at> in |
| 5610 | <http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00258.html> | 5610 | <https://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00258.html> |
| 5611 | 5611 | ||
| 5612 | 2014-07-22 Dmitry Antipov <dmantipov@yandex.ru> | 5612 | 2014-07-22 Dmitry Antipov <dmantipov@yandex.ru> |
| 5613 | 5613 | ||
| @@ -6223,7 +6223,7 @@ | |||
| 6223 | * fns.c (validate_subarray): Add prototype. | 6223 | * fns.c (validate_subarray): Add prototype. |
| 6224 | (Fcompare_substring): Use validate_subarray to check ranges. | 6224 | (Fcompare_substring): Use validate_subarray to check ranges. |
| 6225 | Adjust comment to mention that the semantics was changed. Also see | 6225 | Adjust comment to mention that the semantics was changed. Also see |
| 6226 | http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00447.html. | 6226 | https://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00447.html. |
| 6227 | 6227 | ||
| 6228 | 2014-06-24 Paul Eggert <eggert@cs.ucla.edu> | 6228 | 2014-06-24 Paul Eggert <eggert@cs.ucla.edu> |
| 6229 | 6229 | ||
| @@ -6320,7 +6320,7 @@ | |||
| 6320 | 6320 | ||
| 6321 | Omit redundant extern decls. | 6321 | Omit redundant extern decls. |
| 6322 | Most of this patch is from Dmitry Antipov, in: | 6322 | Most of this patch is from Dmitry Antipov, in: |
| 6323 | http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00263.html | 6323 | https://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00263.html |
| 6324 | * commands.h (update_mode_lines): | 6324 | * commands.h (update_mode_lines): |
| 6325 | * frame.h (Qbackground_color, Qforeground_color) | 6325 | * frame.h (Qbackground_color, Qforeground_color) |
| 6326 | (x_set_menu_bar_lines): | 6326 | (x_set_menu_bar_lines): |
| @@ -6372,7 +6372,7 @@ | |||
| 6372 | 6372 | ||
| 6373 | * Makefile.in (ns-app): Fix typo that broke build on OS X. | 6373 | * Makefile.in (ns-app): Fix typo that broke build on OS X. |
| 6374 | Reported by David Caldwell in: | 6374 | Reported by David Caldwell in: |
| 6375 | http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00251.html | 6375 | https://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00251.html |
| 6376 | 6376 | ||
| 6377 | 2014-06-16 Dmitry Antipov <dmantipov@yandex.ru> | 6377 | 2014-06-16 Dmitry Antipov <dmantipov@yandex.ru> |
| 6378 | 6378 | ||
| @@ -6654,7 +6654,7 @@ | |||
| 6654 | 6654 | ||
| 6655 | * emacs.c: Include "sysselect.h", to define its inline functions. | 6655 | * emacs.c: Include "sysselect.h", to define its inline functions. |
| 6656 | Reported by Glenn Morris in: | 6656 | Reported by Glenn Morris in: |
| 6657 | http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00077.html | 6657 | https://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00077.html |
| 6658 | 6658 | ||
| 6659 | Do not require libXt-devel when building with gtk. | 6659 | Do not require libXt-devel when building with gtk. |
| 6660 | * gtkutil.h, menu.h: Include lwlib-widget.h, not lwlib-h, to avoid | 6660 | * gtkutil.h, menu.h: Include lwlib-widget.h, not lwlib-h, to avoid |
| @@ -7080,7 +7080,7 @@ | |||
| 7080 | (Fgarbage_collect): Calculate the end address of the stack portion | 7080 | (Fgarbage_collect): Calculate the end address of the stack portion |
| 7081 | that needs to be examined by mark_stack, and pass that address to | 7081 | that needs to be examined by mark_stack, and pass that address to |
| 7082 | garbage_collect_1, which will pass it to mark_stack. | 7082 | garbage_collect_1, which will pass it to mark_stack. |
| 7083 | See http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html | 7083 | See https://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html |
| 7084 | for more details about the underlying problems. In particular, | 7084 | for more details about the underlying problems. In particular, |
| 7085 | this avoids dumping Emacs with the large hash-table whose value is | 7085 | this avoids dumping Emacs with the large hash-table whose value is |
| 7086 | held in purify-flag for most of the time loadup.el runs. | 7086 | held in purify-flag for most of the time loadup.el runs. |
| @@ -7298,7 +7298,7 @@ | |||
| 7298 | * term.c (tty_menu_display): Move the cursor to the active menu item. | 7298 | * term.c (tty_menu_display): Move the cursor to the active menu item. |
| 7299 | (tty_menu_activate): Return the cursor to the active menu item | 7299 | (tty_menu_activate): Return the cursor to the active menu item |
| 7300 | after displaying the menu and after displaying help-echo. | 7300 | after displaying the menu and after displaying help-echo. |
| 7301 | See http://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00402.html | 7301 | See https://lists.gnu.org/archive/html/emacs-devel/2014-04/msg00402.html |
| 7302 | for the details of why this is needed by screen readers and | 7302 | for the details of why this is needed by screen readers and |
| 7303 | Braille displays. | 7303 | Braille displays. |
| 7304 | 7304 | ||
| @@ -8628,7 +8628,7 @@ | |||
| 8628 | * terminal.c (initial_free_frame_resources): New function. | 8628 | * terminal.c (initial_free_frame_resources): New function. |
| 8629 | (init_initial_terminal): Install new hook to free face cache | 8629 | (init_initial_terminal): Install new hook to free face cache |
| 8630 | on initial frame and avoid memory leak. For details, see | 8630 | on initial frame and avoid memory leak. For details, see |
| 8631 | <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01974.html>. | 8631 | <https://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01974.html>. |
| 8632 | * xfaces.c (free_frame_faces): Adjust comment. | 8632 | * xfaces.c (free_frame_faces): Adjust comment. |
| 8633 | 8633 | ||
| 8634 | 2014-01-26 Paul Eggert <eggert@cs.ucla.edu> | 8634 | 2014-01-26 Paul Eggert <eggert@cs.ucla.edu> |
| @@ -8689,7 +8689,7 @@ | |||
| 8689 | * xdisp.c (reseat_1, Fcurrent_bidi_paragraph_direction): | 8689 | * xdisp.c (reseat_1, Fcurrent_bidi_paragraph_direction): |
| 8690 | Avoid undefined behavior by initializing display property bit of a | 8690 | Avoid undefined behavior by initializing display property bit of a |
| 8691 | string processed by the bidirectional iterator. For details, see | 8691 | string processed by the bidirectional iterator. For details, see |
| 8692 | <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01920.html>. | 8692 | <https://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01920.html>. |
| 8693 | 8693 | ||
| 8694 | 2014-01-23 Paul Eggert <eggert@cs.ucla.edu> | 8694 | 2014-01-23 Paul Eggert <eggert@cs.ucla.edu> |
| 8695 | 8695 | ||
| @@ -8732,7 +8732,7 @@ | |||
| 8732 | 8732 | ||
| 8733 | Avoid undefined behavior by initializing buffer redisplay bit. | 8733 | Avoid undefined behavior by initializing buffer redisplay bit. |
| 8734 | Reported by Dmitry Antipov in | 8734 | Reported by Dmitry Antipov in |
| 8735 | <http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01756.html>. | 8735 | <https://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01756.html>. |
| 8736 | * buffer.c (Fget_buffer_create): Initialize redisplay bit. | 8736 | * buffer.c (Fget_buffer_create): Initialize redisplay bit. |
| 8737 | 8737 | ||
| 8738 | Revert some of the CANNOT_DUMP fix (Bug#16494). | 8738 | Revert some of the CANNOT_DUMP fix (Bug#16494). |
| @@ -8780,7 +8780,7 @@ | |||
| 8780 | 8780 | ||
| 8781 | Fix MinGW64 porting problem with _setjmp. | 8781 | Fix MinGW64 porting problem with _setjmp. |
| 8782 | Reported by Eli Zaretskii in: | 8782 | Reported by Eli Zaretskii in: |
| 8783 | http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01297.html | 8783 | https://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01297.html |
| 8784 | * image.c (FAST_SETJMP, FAST_LONGJMP): New macros, replacing | 8784 | * image.c (FAST_SETJMP, FAST_LONGJMP): New macros, replacing |
| 8785 | the old _setjmp and _longjmp. All uses changed. | 8785 | the old _setjmp and _longjmp. All uses changed. |
| 8786 | 8786 | ||
| @@ -9756,7 +9756,7 @@ | |||
| 9756 | 9756 | ||
| 9757 | * xterm.c (x_make_frame_visible): Restore hack which is needed when | 9757 | * xterm.c (x_make_frame_visible): Restore hack which is needed when |
| 9758 | input polling is used. This is still meaningful for Cygwin, see | 9758 | input polling is used. This is still meaningful for Cygwin, see |
| 9759 | http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00351.html. | 9759 | https://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00351.html. |
| 9760 | * keyboard.c (poll_for_input_1, input_polling_used): | 9760 | * keyboard.c (poll_for_input_1, input_polling_used): |
| 9761 | Define unconditionally. | 9761 | Define unconditionally. |
| 9762 | * dispextern.h (FACE_SUITABLE_FOR_CHAR_P): Remove unused macro. | 9762 | * dispextern.h (FACE_SUITABLE_FOR_CHAR_P): Remove unused macro. |
| @@ -10573,7 +10573,7 @@ | |||
| 10573 | 10573 | ||
| 10574 | Fix some dependency problems that cause unnecessary recompiles. | 10574 | Fix some dependency problems that cause unnecessary recompiles. |
| 10575 | Reported by RMS in | 10575 | Reported by RMS in |
| 10576 | <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00421.html>. | 10576 | <https://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00421.html>. |
| 10577 | * Makefile.in (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS) | 10577 | * Makefile.in (OLDXMENU_TARGET, OLDXMENU, OLDXMENU_DEPS) |
| 10578 | (really-lwlib, really-oldXMenu, stamp-oldxmenu) | 10578 | (really-lwlib, really-oldXMenu, stamp-oldxmenu) |
| 10579 | (../src/$(OLDXMENU), $(OLDXMENU)): Remove. | 10579 | (../src/$(OLDXMENU), $(OLDXMENU)): Remove. |
| @@ -10584,7 +10584,7 @@ | |||
| 10584 | Fix recently introduced bool vector overrun. | 10584 | Fix recently introduced bool vector overrun. |
| 10585 | This was due to an optimization that went awry. | 10585 | This was due to an optimization that went awry. |
| 10586 | Reported by Glenn Morris in | 10586 | Reported by Glenn Morris in |
| 10587 | <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00622.html>. | 10587 | <https://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00622.html>. |
| 10588 | * alloc.c (make_uninit_bool_vector): Don't allocate a dummy word | 10588 | * alloc.c (make_uninit_bool_vector): Don't allocate a dummy word |
| 10589 | for empty vectors, undoing the 2013-11-18 change. | 10589 | for empty vectors, undoing the 2013-11-18 change. |
| 10590 | * data.c (bool_vector_binop_driver): Rely on this. | 10590 | * data.c (bool_vector_binop_driver): Rely on this. |
| @@ -10635,7 +10635,7 @@ | |||
| 10635 | 10635 | ||
| 10636 | Always allocate at least one bits_word per bool vector. | 10636 | Always allocate at least one bits_word per bool vector. |
| 10637 | See Daniel Colascione in: | 10637 | See Daniel Colascione in: |
| 10638 | http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00518.html | 10638 | https://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00518.html |
| 10639 | * alloc.c (make_uninit_bool_vector): Always allocate at least one word. | 10639 | * alloc.c (make_uninit_bool_vector): Always allocate at least one word. |
| 10640 | * data.c (bool_vector_binop_driver): Rely on this. Tune. | 10640 | * data.c (bool_vector_binop_driver): Rely on this. Tune. |
| 10641 | * lisp.h (struct Lisp_Bool_vector): Document this. | 10641 | * lisp.h (struct Lisp_Bool_vector): Document this. |
| @@ -10672,7 +10672,7 @@ | |||
| 10672 | 10672 | ||
| 10673 | * data.c: Work around bogus GCC diagnostic about shift count. | 10673 | * data.c: Work around bogus GCC diagnostic about shift count. |
| 10674 | Reported by Eli Zaretskii in | 10674 | Reported by Eli Zaretskii in |
| 10675 | <http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00489.html>. | 10675 | <https://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00489.html>. |
| 10676 | (pre_value): New function. | 10676 | (pre_value): New function. |
| 10677 | (count_trailing_zero_bits): Use it. | 10677 | (count_trailing_zero_bits): Use it. |
| 10678 | 10678 | ||
| @@ -11049,7 +11049,7 @@ | |||
| 11049 | * buffer.c (init_buffer): Don't store default-directory of | 11049 | * buffer.c (init_buffer): Don't store default-directory of |
| 11050 | *scratch* in multibyte form. The original problem which led to | 11050 | *scratch* in multibyte form. The original problem which led to |
| 11051 | that is described in | 11051 | that is described in |
| 11052 | http://lists.gnu.org/archive/html/emacs-pretest-bug/2004-11/msg00532.html, | 11052 | https://lists.gnu.org/archive/html/emacs-pretest-bug/2004-11/msg00532.html, |
| 11053 | but it was solved long ago. (Bug#15260) | 11053 | but it was solved long ago. (Bug#15260) |
| 11054 | 11054 | ||
| 11055 | 2013-11-04 Paul Eggert <eggert@cs.ucla.edu> | 11055 | 2013-11-04 Paul Eggert <eggert@cs.ucla.edu> |
| @@ -11293,7 +11293,7 @@ | |||
| 11293 | the same font object. | 11293 | the same font object. |
| 11294 | 11294 | ||
| 11295 | Perform font-specific cleanup when font object is swept by GC. See | 11295 | Perform font-specific cleanup when font object is swept by GC. See |
| 11296 | http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html. | 11296 | https://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00740.html. |
| 11297 | * alloc.c (cleanup_vector): New function. | 11297 | * alloc.c (cleanup_vector): New function. |
| 11298 | (sweep_vector): Call it for each reclaimed vector object. | 11298 | (sweep_vector): Call it for each reclaimed vector object. |
| 11299 | * font.h (struct font): Adjust comment. | 11299 | * font.h (struct font): Adjust comment. |
| @@ -11347,7 +11347,7 @@ | |||
| 11347 | * keyboard.c (make_lispy_event): Remove GPM-specific code that | 11347 | * keyboard.c (make_lispy_event): Remove GPM-specific code that |
| 11348 | handles mouse clicks. Instead, let GPM use the same code as all | 11348 | handles mouse clicks. Instead, let GPM use the same code as all |
| 11349 | the other mice use. See the discussion starting at | 11349 | the other mice use. See the discussion starting at |
| 11350 | http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00521.html | 11350 | https://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00521.html |
| 11351 | for the details of the problem with the menu bar this fixes. | 11351 | for the details of the problem with the menu bar this fixes. |
| 11352 | 11352 | ||
| 11353 | 2013-10-18 Dmitry Antipov <dmantipov@yandex.ru> | 11353 | 2013-10-18 Dmitry Antipov <dmantipov@yandex.ru> |
| @@ -11722,7 +11722,7 @@ | |||
| 11722 | flavors of 'eassert', one for where 'assume' is far more likely | 11722 | flavors of 'eassert', one for where 'assume' is far more likely |
| 11723 | to help or to hurt; but that can be done later. | 11723 | to help or to hurt; but that can be done later. |
| 11724 | Reported by Dmitry Antipov in | 11724 | Reported by Dmitry Antipov in |
| 11725 | <http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00276.html>. | 11725 | <https://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00276.html>. |
| 11726 | Also, don't include <verify.h>; no longer needed. | 11726 | Also, don't include <verify.h>; no longer needed. |
| 11727 | 11727 | ||
| 11728 | 2013-10-09 Glenn Morris <rgm@gnu.org> | 11728 | 2013-10-09 Glenn Morris <rgm@gnu.org> |
| @@ -11891,7 +11891,7 @@ | |||
| 11891 | 11891 | ||
| 11892 | Do not allocate huge temporary memory areas and objects while encoding | 11892 | Do not allocate huge temporary memory areas and objects while encoding |
| 11893 | for file I/O, thus reducing an enormous memory usage for large buffers. | 11893 | for file I/O, thus reducing an enormous memory usage for large buffers. |
| 11894 | See http://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00180.html. | 11894 | See https://lists.gnu.org/archive/html/emacs-devel/2013-10/msg00180.html. |
| 11895 | * coding.h (struct coding_system): New member raw_destination. | 11895 | * coding.h (struct coding_system): New member raw_destination. |
| 11896 | * coding.c (setup_coding_system): Initialize it to zero. | 11896 | * coding.c (setup_coding_system): Initialize it to zero. |
| 11897 | (encode_coding_object): If raw_destination is set, do not create | 11897 | (encode_coding_object): If raw_destination is set, do not create |
| @@ -12132,14 +12132,14 @@ | |||
| 12132 | 12132 | ||
| 12133 | * dispnew.c (clear_glyph_row, copy_row_except_pointers): Use enums | 12133 | * dispnew.c (clear_glyph_row, copy_row_except_pointers): Use enums |
| 12134 | instead of ints, as it's the usual style for offsetof constants. See: | 12134 | instead of ints, as it's the usual style for offsetof constants. See: |
| 12135 | http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00478.html | 12135 | https://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00478.html |
| 12136 | 12136 | ||
| 12137 | * data.c (POPCOUNT_STATIC_INLINE): New macro, as a hack for popcount. | 12137 | * data.c (POPCOUNT_STATIC_INLINE): New macro, as a hack for popcount. |
| 12138 | This is ugly, but it should fix the performance problem for older | 12138 | This is ugly, but it should fix the performance problem for older |
| 12139 | GCC versions in the short run. I'll look into integrating the | 12139 | GCC versions in the short run. I'll look into integrating the |
| 12140 | Gnulib module for popcount, as a better fix. | 12140 | Gnulib module for popcount, as a better fix. |
| 12141 | See the thread starting in: | 12141 | See the thread starting in: |
| 12142 | http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00474.html | 12142 | https://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00474.html |
| 12143 | (popcount_size_t_generic) [NEED_GENERIC_POPCOUNT]: | 12143 | (popcount_size_t_generic) [NEED_GENERIC_POPCOUNT]: |
| 12144 | (popcount_size_t_msc) [USE_MSC_POPCOUNT]: | 12144 | (popcount_size_t_msc) [USE_MSC_POPCOUNT]: |
| 12145 | (popcount_size_t_gcc) [USE_GCC_POPCOUNT]: | 12145 | (popcount_size_t_gcc) [USE_GCC_POPCOUNT]: |
| @@ -12331,7 +12331,7 @@ | |||
| 12331 | which must have the same definition in all modules, because the | 12331 | which must have the same definition in all modules, because the |
| 12332 | defining code might be shared across modules, depending on the | 12332 | defining code might be shared across modules, depending on the |
| 12333 | implementation. Symptoms reported by Martin Rudalics in: | 12333 | implementation. Symptoms reported by Martin Rudalics in: |
| 12334 | http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00414.html | 12334 | https://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00414.html |
| 12335 | * regex.c, syntax.c (SYNTAX_ENTRY_VIA_PROPERTY): Remove. | 12335 | * regex.c, syntax.c (SYNTAX_ENTRY_VIA_PROPERTY): Remove. |
| 12336 | (SYNTAX, SYNTAX_ENTRY, SYNTAX_WITH_FLAGS): New macros, | 12336 | (SYNTAX, SYNTAX_ENTRY, SYNTAX_WITH_FLAGS): New macros, |
| 12337 | overriding the corresponding functions in syntax.h. | 12337 | overriding the corresponding functions in syntax.h. |
| @@ -14498,7 +14498,7 @@ | |||
| 14498 | * w32uniscribe.c (uniscribe_list, uniscribe_match) | 14498 | * w32uniscribe.c (uniscribe_list, uniscribe_match) |
| 14499 | (uniscribe_list_family): Adjust to match font API change. | 14499 | (uniscribe_list_family): Adjust to match font API change. |
| 14500 | MS-Windows breakage reported by Juanma Barranquero <lekktu@gmail.com> | 14500 | MS-Windows breakage reported by Juanma Barranquero <lekktu@gmail.com> |
| 14501 | at http://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00006.html. | 14501 | at https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00006.html. |
| 14502 | 14502 | ||
| 14503 | 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> | 14503 | 2013-08-01 Dmitry Antipov <dmantipov@yandex.ru> |
| 14504 | 14504 | ||
| @@ -14691,7 +14691,7 @@ | |||
| 14691 | * eval.c (Fprogn): Do not check that BODY is a proper list. | 14691 | * eval.c (Fprogn): Do not check that BODY is a proper list. |
| 14692 | This undoes the previous change. The check slows down the | 14692 | This undoes the previous change. The check slows down the |
| 14693 | interpreter, and is not needed to prevent a crash. See | 14693 | interpreter, and is not needed to prevent a crash. See |
| 14694 | <http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00693.html>. | 14694 | <https://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00693.html>. |
| 14695 | 14695 | ||
| 14696 | 2013-07-23 Glenn Morris <rgm@gnu.org> | 14696 | 2013-07-23 Glenn Morris <rgm@gnu.org> |
| 14697 | 14697 | ||
| @@ -15206,7 +15206,7 @@ | |||
| 15206 | 15206 | ||
| 15207 | * deps.mk (sysdep.o): Remove dependency on ../lib/ignore-value.h. | 15207 | * deps.mk (sysdep.o): Remove dependency on ../lib/ignore-value.h. |
| 15208 | Reported by Herbert J. Skuhra in | 15208 | Reported by Herbert J. Skuhra in |
| 15209 | <http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00455.html>. | 15209 | <https://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00455.html>. |
| 15210 | 15210 | ||
| 15211 | Don't lose top specpdl entry when memory is exhausted. | 15211 | Don't lose top specpdl entry when memory is exhausted. |
| 15212 | * eval.c (grow_specpdl): Increment specpdl top by 1 and check for | 15212 | * eval.c (grow_specpdl): Increment specpdl top by 1 and check for |
| @@ -15642,7 +15642,7 @@ | |||
| 15642 | Try again to fix FreeBSD bug re multithreaded memory alloc (Bug#14569). | 15642 | Try again to fix FreeBSD bug re multithreaded memory alloc (Bug#14569). |
| 15643 | * emacs.c (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: | 15643 | * emacs.c (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: |
| 15644 | Do not clear _malloc_thread_enabled_p, undoing the previous change, | 15644 | Do not clear _malloc_thread_enabled_p, undoing the previous change, |
| 15645 | which did not work (see <http://bugs.gnu.org/14569#307>). | 15645 | which did not work (see <https://bugs.gnu.org/14569#307>). |
| 15646 | (main): Do not invoke malloc_enable_thread if (! CANNOT_DUMP | 15646 | (main): Do not invoke malloc_enable_thread if (! CANNOT_DUMP |
| 15647 | && (!noninteractive || initialized)). This attempts to thread | 15647 | && (!noninteractive || initialized)). This attempts to thread |
| 15648 | the needle between the Scylla of FreeBSD and the Charybdis of Cygwin. | 15648 | the needle between the Scylla of FreeBSD and the Charybdis of Cygwin. |
| @@ -15657,7 +15657,7 @@ | |||
| 15657 | Try to fix FreeBSD bug re multithreaded memory allocation (Bug#14569). | 15657 | Try to fix FreeBSD bug re multithreaded memory allocation (Bug#14569). |
| 15658 | * emacs.c (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: | 15658 | * emacs.c (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: |
| 15659 | Clear _malloc_thread_enabled_p at startup. Reported by Ashish SHUKLA in | 15659 | Clear _malloc_thread_enabled_p at startup. Reported by Ashish SHUKLA in |
| 15660 | <http://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00088.html>. | 15660 | <https://lists.gnu.org/archive/html/emacs-devel/2013-07/msg00088.html>. |
| 15661 | 15661 | ||
| 15662 | 2013-07-02 Paul Eggert <eggert@cs.ucla.edu> | 15662 | 2013-07-02 Paul Eggert <eggert@cs.ucla.edu> |
| 15663 | 15663 | ||
| @@ -15714,7 +15714,7 @@ | |||
| 15714 | * emacs.c (malloc_enable_thread): Hoist extern decl to top level. | 15714 | * emacs.c (malloc_enable_thread): Hoist extern decl to top level. |
| 15715 | (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: | 15715 | (main) [HAVE_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: |
| 15716 | Invoke malloc_enable_thread even when not interactive. | 15716 | Invoke malloc_enable_thread even when not interactive. |
| 15717 | Reported by Ken Brown in <http://bugs.gnu.org/14569#275>. | 15717 | Reported by Ken Brown in <https://bugs.gnu.org/14569#275>. |
| 15718 | * process.c (init_process_emacs) [CYGWIN]: Tickle glib even | 15718 | * process.c (init_process_emacs) [CYGWIN]: Tickle glib even |
| 15719 | in this case, since the underlying bug has now been fixed. | 15719 | in this case, since the underlying bug has now been fixed. |
| 15720 | 15720 | ||
| @@ -16084,7 +16084,7 @@ | |||
| 16084 | 2013-06-17 Paul Eggert <eggert@cs.ucla.edu> | 16084 | 2013-06-17 Paul Eggert <eggert@cs.ucla.edu> |
| 16085 | 16085 | ||
| 16086 | Move functions from lisp.h to individual modules when possible. | 16086 | Move functions from lisp.h to individual modules when possible. |
| 16087 | From a suggestion by Andreas Schwab in <http://bugs.gnu.org/11935#68>. | 16087 | From a suggestion by Andreas Schwab in <https://bugs.gnu.org/11935#68>. |
| 16088 | * alloc.c (XFLOAT_INIT, set_symbol_name): | 16088 | * alloc.c (XFLOAT_INIT, set_symbol_name): |
| 16089 | * buffer.c (CHECK_OVERLAY): | 16089 | * buffer.c (CHECK_OVERLAY): |
| 16090 | * chartab.c (CHECK_CHAR_TABLE, set_char_table_ascii) | 16090 | * chartab.c (CHECK_CHAR_TABLE, set_char_table_ascii) |
| @@ -16344,7 +16344,7 @@ | |||
| 16344 | 16344 | ||
| 16345 | A few porting etc. fixes for the new file monitor code. | 16345 | A few porting etc. fixes for the new file monitor code. |
| 16346 | See the thread containing | 16346 | See the thread containing |
| 16347 | <http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00109.html>. | 16347 | <https://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00109.html>. |
| 16348 | * gfilenotify.c (dir_monitor_callback, Fgfile_add_watch) | 16348 | * gfilenotify.c (dir_monitor_callback, Fgfile_add_watch) |
| 16349 | (Fgfile_rm_watch): Don't assume EMACS_INT is the same width as a pointer. | 16349 | (Fgfile_rm_watch): Don't assume EMACS_INT is the same width as a pointer. |
| 16350 | (dir_monitor_callback, Fgfile_rm_watch): | 16350 | (dir_monitor_callback, Fgfile_rm_watch): |
| @@ -17194,7 +17194,7 @@ | |||
| 17194 | more than one line when there's an overlay string with a display | 17194 | more than one line when there's an overlay string with a display |
| 17195 | property at end of line. | 17195 | property at end of line. |
| 17196 | Reported by Karl Chen <Karl.Chen@quarl.org> in | 17196 | Reported by Karl Chen <Karl.Chen@quarl.org> in |
| 17197 | http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00362.html. | 17197 | https://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00362.html. |
| 17198 | 17198 | ||
| 17199 | 2013-04-12 Stefan Monnier <monnier@iro.umontreal.ca> | 17199 | 2013-04-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 17200 | 17200 | ||
diff --git a/src/alloc.c b/src/alloc.c index 87e9ef0059b..2e6399e7f8d 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -5902,7 +5902,7 @@ mark_pinned_symbols (void) | |||
| 5902 | where mark_stack finds values that look like live Lisp objects on | 5902 | where mark_stack finds values that look like live Lisp objects on |
| 5903 | portions of stack that couldn't possibly contain such live objects. | 5903 | portions of stack that couldn't possibly contain such live objects. |
| 5904 | For more details of this, see the discussion at | 5904 | For more details of this, see the discussion at |
| 5905 | http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html. */ | 5905 | https://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00270.html. */ |
| 5906 | static Lisp_Object | 5906 | static Lisp_Object |
| 5907 | garbage_collect_1 (void *end) | 5907 | garbage_collect_1 (void *end) |
| 5908 | { | 5908 | { |
diff --git a/src/atimer.c b/src/atimer.c index 0abd6c19c3a..0a43797756c 100644 --- a/src/atimer.c +++ b/src/atimer.c | |||
| @@ -419,7 +419,7 @@ timerfd_callback (int fd, void *arg) | |||
| 419 | else if (nbytes < 0) | 419 | else if (nbytes < 0) |
| 420 | /* For some not yet known reason, we may get weird event and no | 420 | /* For some not yet known reason, we may get weird event and no |
| 421 | data on timer descriptor. This can break Gnus at least, see: | 421 | data on timer descriptor. This can break Gnus at least, see: |
| 422 | http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00503.html. */ | 422 | https://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00503.html. */ |
| 423 | eassert (errno == EAGAIN); | 423 | eassert (errno == EAGAIN); |
| 424 | else | 424 | else |
| 425 | /* I don't know what else can happen with this descriptor. */ | 425 | /* I don't know what else can happen with this descriptor. */ |
diff --git a/src/callproc.c b/src/callproc.c index 9375ce5312c..8f13e98fd11 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -634,7 +634,7 @@ call_process (ptrdiff_t nargs, Lisp_Object *args, int filefd, | |||
| 634 | #ifdef DARWIN_OS | 634 | #ifdef DARWIN_OS |
| 635 | /* Work around a macOS bug, where SIGCHLD is apparently | 635 | /* Work around a macOS bug, where SIGCHLD is apparently |
| 636 | delivered to a vforked child instead of to its parent. See: | 636 | delivered to a vforked child instead of to its parent. See: |
| 637 | http://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00342.html | 637 | https://lists.gnu.org/archive/html/emacs-devel/2017-05/msg00342.html |
| 638 | */ | 638 | */ |
| 639 | signal (SIGCHLD, SIG_DFL); | 639 | signal (SIGCHLD, SIG_DFL); |
| 640 | #endif | 640 | #endif |
diff --git a/src/dispnew.c b/src/dispnew.c index 4a319ccc11b..ad59704a168 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -1699,7 +1699,7 @@ required_matrix_height (struct window *w) | |||
| 1699 | 1699 | ||
| 1700 | if (FRAME_WINDOW_P (f)) | 1700 | if (FRAME_WINDOW_P (f)) |
| 1701 | { | 1701 | { |
| 1702 | /* http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html */ | 1702 | /* https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html */ |
| 1703 | int ch_height = max (FRAME_SMALLEST_FONT_HEIGHT (f), 1); | 1703 | int ch_height = max (FRAME_SMALLEST_FONT_HEIGHT (f), 1); |
| 1704 | int window_pixel_height = window_box_height (w) + eabs (w->vscroll); | 1704 | int window_pixel_height = window_box_height (w) + eabs (w->vscroll); |
| 1705 | 1705 | ||
| @@ -1726,7 +1726,7 @@ required_matrix_width (struct window *w) | |||
| 1726 | struct frame *f = XFRAME (w->frame); | 1726 | struct frame *f = XFRAME (w->frame); |
| 1727 | if (FRAME_WINDOW_P (f)) | 1727 | if (FRAME_WINDOW_P (f)) |
| 1728 | { | 1728 | { |
| 1729 | /* http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html */ | 1729 | /* https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html */ |
| 1730 | int ch_width = max (FRAME_SMALLEST_CHAR_WIDTH (f), 1); | 1730 | int ch_width = max (FRAME_SMALLEST_CHAR_WIDTH (f), 1); |
| 1731 | 1731 | ||
| 1732 | /* Compute number of glyphs needed in a glyph row. */ | 1732 | /* Compute number of glyphs needed in a glyph row. */ |
diff --git a/src/eval.c b/src/eval.c index 39d78364d5f..acda64e7f04 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -616,7 +616,7 @@ The return value is BASE-VARIABLE. */) | |||
| 616 | emacs_abort (); | 616 | emacs_abort (); |
| 617 | } | 617 | } |
| 618 | 618 | ||
| 619 | /* http://lists.gnu.org/archive/html/emacs-devel/2008-04/msg00834.html | 619 | /* https://lists.gnu.org/archive/html/emacs-devel/2008-04/msg00834.html |
| 620 | If n_a is bound, but b_v is not, set the value of b_v to n_a, | 620 | If n_a is bound, but b_v is not, set the value of b_v to n_a, |
| 621 | so that old-code that affects n_a before the aliasing is setup | 621 | so that old-code that affects n_a before the aliasing is setup |
| 622 | still works. */ | 622 | still works. */ |
| @@ -482,7 +482,9 @@ usage: (vconcat &rest SEQUENCES) */) | |||
| 482 | DEFUN ("copy-sequence", Fcopy_sequence, Scopy_sequence, 1, 1, 0, | 482 | DEFUN ("copy-sequence", Fcopy_sequence, Scopy_sequence, 1, 1, 0, |
| 483 | doc: /* Return a copy of a list, vector, string, char-table or record. | 483 | doc: /* Return a copy of a list, vector, string, char-table or record. |
| 484 | The elements of a list, vector or record are not copied; they are | 484 | The elements of a list, vector or record are not copied; they are |
| 485 | shared with the original. */) | 485 | shared with the original. |
| 486 | If the original sequence is empty, this function may return | ||
| 487 | the same empty object instead of its copy. */) | ||
| 486 | (Lisp_Object arg) | 488 | (Lisp_Object arg) |
| 487 | { | 489 | { |
| 488 | if (NILP (arg)) return arg; | 490 | if (NILP (arg)) return arg; |
diff --git a/src/frame.c b/src/frame.c index 39e5cc9c854..1aff3a007ac 100644 --- a/src/frame.c +++ b/src/frame.c | |||
| @@ -2029,7 +2029,7 @@ delete_frame (Lisp_Object frame, Lisp_Object force) | |||
| 2029 | #if defined (USE_X_TOOLKIT) || defined (USE_GTK) | 2029 | #if defined (USE_X_TOOLKIT) || defined (USE_GTK) |
| 2030 | /* FIXME: Deleting the terminal crashes emacs because of a GTK | 2030 | /* FIXME: Deleting the terminal crashes emacs because of a GTK |
| 2031 | bug. | 2031 | bug. |
| 2032 | http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00363.html */ | 2032 | https://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00363.html */ |
| 2033 | 2033 | ||
| 2034 | /* Since a similar behavior was observed on the Lucid and Motif | 2034 | /* Since a similar behavior was observed on the Lucid and Motif |
| 2035 | builds (see Bug#5802, Bug#21509, Bug#23499, Bug#27816), we now | 2035 | builds (see Bug#5802, Bug#21509, Bug#23499, Bug#27816), we now |
| @@ -2535,10 +2535,33 @@ displayed in the terminal. */) | |||
| 2535 | DEFUN ("iconify-frame", Ficonify_frame, Siconify_frame, | 2535 | DEFUN ("iconify-frame", Ficonify_frame, Siconify_frame, |
| 2536 | 0, 1, "", | 2536 | 0, 1, "", |
| 2537 | doc: /* Make the frame FRAME into an icon. | 2537 | doc: /* Make the frame FRAME into an icon. |
| 2538 | If omitted, FRAME defaults to the currently selected frame. */) | 2538 | If omitted, FRAME defaults to the currently selected frame. |
| 2539 | |||
| 2540 | If FRAME is a child frame, consult the variable `iconify-child-frame' | ||
| 2541 | for how to proceed. */) | ||
| 2539 | (Lisp_Object frame) | 2542 | (Lisp_Object frame) |
| 2540 | { | 2543 | { |
| 2541 | struct frame *f = decode_live_frame (frame); | 2544 | struct frame *f = decode_live_frame (frame); |
| 2545 | Lisp_Object parent = f->parent_frame; | ||
| 2546 | |||
| 2547 | if (!NILP (parent)) | ||
| 2548 | { | ||
| 2549 | if (NILP (iconify_child_frame)) | ||
| 2550 | /* Do nothing. */ | ||
| 2551 | return Qnil; | ||
| 2552 | else if (EQ (iconify_child_frame, Qiconify_top_level)) | ||
| 2553 | { | ||
| 2554 | /* Iconify top level frame instead (the default). */ | ||
| 2555 | Ficonify_frame (parent); | ||
| 2556 | return Qnil; | ||
| 2557 | } | ||
| 2558 | else if (EQ (iconify_child_frame, Qmake_invisible)) | ||
| 2559 | { | ||
| 2560 | /* Make frame invisible instead. */ | ||
| 2561 | Fmake_frame_invisible (frame, Qnil); | ||
| 2562 | return Qnil; | ||
| 2563 | } | ||
| 2564 | } | ||
| 2542 | 2565 | ||
| 2543 | /* Don't allow minibuf_window to remain on an iconified frame. */ | 2566 | /* Don't allow minibuf_window to remain on an iconified frame. */ |
| 2544 | check_minibuf_window (frame, EQ (minibuf_window, selected_window)); | 2567 | check_minibuf_window (frame, EQ (minibuf_window, selected_window)); |
| @@ -5713,6 +5736,8 @@ syms_of_frame (void) | |||
| 5713 | DEFSYM (Qheight_only, "height-only"); | 5736 | DEFSYM (Qheight_only, "height-only"); |
| 5714 | DEFSYM (Qleft_only, "left-only"); | 5737 | DEFSYM (Qleft_only, "left-only"); |
| 5715 | DEFSYM (Qtop_only, "top-only"); | 5738 | DEFSYM (Qtop_only, "top-only"); |
| 5739 | DEFSYM (Qiconify_top_level, "iconify-top-level"); | ||
| 5740 | DEFSYM (Qmake_invisible, "make-invisible"); | ||
| 5716 | 5741 | ||
| 5717 | { | 5742 | { |
| 5718 | int i; | 5743 | int i; |
| @@ -6016,6 +6041,21 @@ This variable is effective only with the X toolkit (and there only when | |||
| 6016 | Gtk+ tooltips are not used) and on Windows. */); | 6041 | Gtk+ tooltips are not used) and on Windows. */); |
| 6017 | tooltip_reuse_hidden_frame = false; | 6042 | tooltip_reuse_hidden_frame = false; |
| 6018 | 6043 | ||
| 6044 | DEFVAR_LISP ("iconify-child-frame", iconify_child_frame, | ||
| 6045 | doc: /* How to handle iconification of child frames. | ||
| 6046 | This variable tells Emacs how to proceed when it is asked to iconify a | ||
| 6047 | child frame. If it is nil, `iconify-frame' will do nothing when invoked | ||
| 6048 | on a child frame. If it is `iconify-top-level', Emacs will try to | ||
| 6049 | iconify the top level frame associated with this child frame instead. | ||
| 6050 | If it is `make-invisible', Emacs will try to make this child frame | ||
| 6051 | invisible instead. | ||
| 6052 | |||
| 6053 | Any other value means to try iconifying the child frame. Since such an | ||
| 6054 | attempt is not honored by all window managers and may even lead to | ||
| 6055 | making the child frame unresponsive to user actions, the default is to | ||
| 6056 | iconify the top level frame instead. */); | ||
| 6057 | iconify_child_frame = Qiconify_top_level; | ||
| 6058 | |||
| 6019 | staticpro (&Vframe_list); | 6059 | staticpro (&Vframe_list); |
| 6020 | 6060 | ||
| 6021 | defsubr (&Sframep); | 6061 | defsubr (&Sframep); |
diff --git a/src/gtkutil.c b/src/gtkutil.c index 3f22a4c93f8..8d565c19c9c 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -1376,7 +1376,7 @@ x_wm_set_size_hint (struct frame *f, long int flags, bool user_position) | |||
| 1376 | 1376 | ||
| 1377 | /* Don't set size hints during initialization; that apparently leads | 1377 | /* Don't set size hints during initialization; that apparently leads |
| 1378 | to a race condition. See the thread at | 1378 | to a race condition. See the thread at |
| 1379 | http://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00033.html */ | 1379 | https://lists.gnu.org/archive/html/emacs-devel/2008-10/msg00033.html */ |
| 1380 | if (NILP (Vafter_init_time) | 1380 | if (NILP (Vafter_init_time) |
| 1381 | || !FRAME_GTK_OUTER_WIDGET (f) | 1381 | || !FRAME_GTK_OUTER_WIDGET (f) |
| 1382 | || FRAME_PARENT_FRAME (f)) | 1382 | || FRAME_PARENT_FRAME (f)) |
diff --git a/src/lcms.c b/src/lcms.c index a5e527911ef..c7da57658a9 100644 --- a/src/lcms.c +++ b/src/lcms.c | |||
| @@ -25,6 +25,13 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 25 | 25 | ||
| 26 | #include "lisp.h" | 26 | #include "lisp.h" |
| 27 | 27 | ||
| 28 | typedef struct | ||
| 29 | { | ||
| 30 | double J; | ||
| 31 | double a; | ||
| 32 | double b; | ||
| 33 | } lcmsJab_t; | ||
| 34 | |||
| 28 | #ifdef WINDOWSNT | 35 | #ifdef WINDOWSNT |
| 29 | # include <windows.h> | 36 | # include <windows.h> |
| 30 | # include "w32.h" | 37 | # include "w32.h" |
| @@ -36,6 +43,8 @@ DEF_DLL_FN (cmsHANDLE, cmsCIECAM02Init, | |||
| 36 | (cmsContext ContextID, const cmsViewingConditions* pVC)); | 43 | (cmsContext ContextID, const cmsViewingConditions* pVC)); |
| 37 | DEF_DLL_FN (void, cmsCIECAM02Forward, | 44 | DEF_DLL_FN (void, cmsCIECAM02Forward, |
| 38 | (cmsHANDLE hModel, const cmsCIEXYZ* pIn, cmsJCh* pOut)); | 45 | (cmsHANDLE hModel, const cmsCIEXYZ* pIn, cmsJCh* pOut)); |
| 46 | DEF_DLL_FN (void, cmsCIECAM02Reverse, | ||
| 47 | (cmsHANDLE hModel, const cmsJCh* pIn, cmsCIEXYZ* pOut)); | ||
| 39 | DEF_DLL_FN (void, cmsCIECAM02Done, (cmsHANDLE hModel)); | 48 | DEF_DLL_FN (void, cmsCIECAM02Done, (cmsHANDLE hModel)); |
| 40 | DEF_DLL_FN (cmsBool, cmsWhitePointFromTemp, | 49 | DEF_DLL_FN (cmsBool, cmsWhitePointFromTemp, |
| 41 | (cmsCIExyY* WhitePoint, cmsFloat64Number TempK)); | 50 | (cmsCIExyY* WhitePoint, cmsFloat64Number TempK)); |
| @@ -54,6 +63,7 @@ init_lcms_functions (void) | |||
| 54 | LOAD_DLL_FN (library, cmsCIE2000DeltaE); | 63 | LOAD_DLL_FN (library, cmsCIE2000DeltaE); |
| 55 | LOAD_DLL_FN (library, cmsCIECAM02Init); | 64 | LOAD_DLL_FN (library, cmsCIECAM02Init); |
| 56 | LOAD_DLL_FN (library, cmsCIECAM02Forward); | 65 | LOAD_DLL_FN (library, cmsCIECAM02Forward); |
| 66 | LOAD_DLL_FN (library, cmsCIECAM02Reverse); | ||
| 57 | LOAD_DLL_FN (library, cmsCIECAM02Done); | 67 | LOAD_DLL_FN (library, cmsCIECAM02Done); |
| 58 | LOAD_DLL_FN (library, cmsWhitePointFromTemp); | 68 | LOAD_DLL_FN (library, cmsWhitePointFromTemp); |
| 59 | LOAD_DLL_FN (library, cmsxyY2XYZ); | 69 | LOAD_DLL_FN (library, cmsxyY2XYZ); |
| @@ -63,6 +73,7 @@ init_lcms_functions (void) | |||
| 63 | # undef cmsCIE2000DeltaE | 73 | # undef cmsCIE2000DeltaE |
| 64 | # undef cmsCIECAM02Init | 74 | # undef cmsCIECAM02Init |
| 65 | # undef cmsCIECAM02Forward | 75 | # undef cmsCIECAM02Forward |
| 76 | # undef cmsCIECAM02Reverse | ||
| 66 | # undef cmsCIECAM02Done | 77 | # undef cmsCIECAM02Done |
| 67 | # undef cmsWhitePointFromTemp | 78 | # undef cmsWhitePointFromTemp |
| 68 | # undef cmsxyY2XYZ | 79 | # undef cmsxyY2XYZ |
| @@ -70,6 +81,7 @@ init_lcms_functions (void) | |||
| 70 | # define cmsCIE2000DeltaE fn_cmsCIE2000DeltaE | 81 | # define cmsCIE2000DeltaE fn_cmsCIE2000DeltaE |
| 71 | # define cmsCIECAM02Init fn_cmsCIECAM02Init | 82 | # define cmsCIECAM02Init fn_cmsCIECAM02Init |
| 72 | # define cmsCIECAM02Forward fn_cmsCIECAM02Forward | 83 | # define cmsCIECAM02Forward fn_cmsCIECAM02Forward |
| 84 | # define cmsCIECAM02Reverse fn_cmsCIECAM02Reverse | ||
| 73 | # define cmsCIECAM02Done fn_cmsCIECAM02Done | 85 | # define cmsCIECAM02Done fn_cmsCIECAM02Done |
| 74 | # define cmsWhitePointFromTemp fn_cmsWhitePointFromTemp | 86 | # define cmsWhitePointFromTemp fn_cmsWhitePointFromTemp |
| 75 | # define cmsxyY2XYZ fn_cmsxyY2XYZ | 87 | # define cmsxyY2XYZ fn_cmsxyY2XYZ |
| @@ -145,6 +157,12 @@ deg2rad (double degrees) | |||
| 145 | return M_PI * degrees / 180.0; | 157 | return M_PI * degrees / 180.0; |
| 146 | } | 158 | } |
| 147 | 159 | ||
| 160 | static double | ||
| 161 | rad2deg (double radians) | ||
| 162 | { | ||
| 163 | return 180.0 * radians / M_PI; | ||
| 164 | } | ||
| 165 | |||
| 148 | static cmsCIEXYZ illuminant_d65 = { .X = 95.0455, .Y = 100.0, .Z = 108.8753 }; | 166 | static cmsCIEXYZ illuminant_d65 = { .X = 95.0455, .Y = 100.0, .Z = 108.8753 }; |
| 149 | 167 | ||
| 150 | static void | 168 | static void |
| @@ -181,6 +199,46 @@ parse_xyz_list (Lisp_Object xyz_list, cmsCIEXYZ *color) | |||
| 181 | } | 199 | } |
| 182 | 200 | ||
| 183 | static bool | 201 | static bool |
| 202 | parse_jch_list (Lisp_Object jch_list, cmsJCh *color) | ||
| 203 | { | ||
| 204 | #define PARSE_JCH_LIST_FIELD(field) \ | ||
| 205 | if (CONSP (jch_list) && NUMBERP (XCAR (jch_list))) \ | ||
| 206 | { \ | ||
| 207 | color->field = XFLOATINT (XCAR (jch_list)); \ | ||
| 208 | jch_list = XCDR (jch_list); \ | ||
| 209 | } \ | ||
| 210 | else \ | ||
| 211 | return false; | ||
| 212 | |||
| 213 | PARSE_JCH_LIST_FIELD (J); | ||
| 214 | PARSE_JCH_LIST_FIELD (C); | ||
| 215 | PARSE_JCH_LIST_FIELD (h); | ||
| 216 | |||
| 217 | if (! NILP (jch_list)) | ||
| 218 | return false; | ||
| 219 | return true; | ||
| 220 | } | ||
| 221 | |||
| 222 | static bool | ||
| 223 | parse_jab_list (Lisp_Object jab_list, lcmsJab_t *color) | ||
| 224 | { | ||
| 225 | #define PARSE_JAB_LIST_FIELD(field) \ | ||
| 226 | if (CONSP (jab_list) && NUMBERP (XCAR (jab_list))) \ | ||
| 227 | { \ | ||
| 228 | color->field = XFLOATINT (XCAR (jab_list)); \ | ||
| 229 | jab_list = XCDR (jab_list); \ | ||
| 230 | } \ | ||
| 231 | else \ | ||
| 232 | return false; | ||
| 233 | |||
| 234 | PARSE_JAB_LIST_FIELD (J); | ||
| 235 | PARSE_JAB_LIST_FIELD (a); | ||
| 236 | PARSE_JAB_LIST_FIELD (b); | ||
| 237 | |||
| 238 | return true; | ||
| 239 | } | ||
| 240 | |||
| 241 | static bool | ||
| 184 | parse_viewing_conditions (Lisp_Object view, const cmsCIEXYZ *wp, | 242 | parse_viewing_conditions (Lisp_Object view, const cmsCIEXYZ *wp, |
| 185 | cmsViewingConditions *vc) | 243 | cmsViewingConditions *vc) |
| 186 | { | 244 | { |
| @@ -216,6 +274,204 @@ parse_viewing_conditions (Lisp_Object view, const cmsCIEXYZ *wp, | |||
| 216 | return true; | 274 | return true; |
| 217 | } | 275 | } |
| 218 | 276 | ||
| 277 | static void | ||
| 278 | xyz_to_jch (const cmsCIEXYZ *xyz, cmsJCh *jch, const cmsViewingConditions *vc) | ||
| 279 | { | ||
| 280 | cmsHANDLE h; | ||
| 281 | |||
| 282 | h = cmsCIECAM02Init (0, vc); | ||
| 283 | cmsCIECAM02Forward (h, xyz, jch); | ||
| 284 | cmsCIECAM02Done (h); | ||
| 285 | } | ||
| 286 | |||
| 287 | static void | ||
| 288 | jch_to_xyz (const cmsJCh *jch, cmsCIEXYZ *xyz, const cmsViewingConditions *vc) | ||
| 289 | { | ||
| 290 | cmsHANDLE h; | ||
| 291 | |||
| 292 | h = cmsCIECAM02Init (0, vc); | ||
| 293 | cmsCIECAM02Reverse (h, jch, xyz); | ||
| 294 | cmsCIECAM02Done (h); | ||
| 295 | } | ||
| 296 | |||
| 297 | static void | ||
| 298 | jch_to_jab (const cmsJCh *jch, lcmsJab_t *jab, double FL, double c1, double c2) | ||
| 299 | { | ||
| 300 | double Mp = 43.86 * log (1.0 + c2 * (jch->C * sqrt (sqrt (FL)))); | ||
| 301 | jab->J = 1.7 * jch->J / (1.0 + (c1 * jch->J)); | ||
| 302 | jab->a = Mp * cos (deg2rad (jch->h)); | ||
| 303 | jab->b = Mp * sin (deg2rad (jch->h)); | ||
| 304 | } | ||
| 305 | |||
| 306 | static void | ||
| 307 | jab_to_jch (const lcmsJab_t *jab, cmsJCh *jch, double FL, double c1, double c2) | ||
| 308 | { | ||
| 309 | jch->J = jab->J / (1.0 + c1 * (100.0 - jab->J)); | ||
| 310 | jch->h = atan2 (jab->b, jab->a); | ||
| 311 | double Mp = hypot (jab->a, jab->b); | ||
| 312 | jch->h = rad2deg (jch->h); | ||
| 313 | if (jch->h < 0.0) | ||
| 314 | jch->h += 360.0; | ||
| 315 | jch->C = (exp (c2 * Mp) - 1.0) / (c2 * sqrt (sqrt (FL))); | ||
| 316 | } | ||
| 317 | |||
| 318 | DEFUN ("lcms-xyz->jch", Flcms_xyz_to_jch, Slcms_xyz_to_jch, 1, 3, 0, | ||
| 319 | doc: /* Convert CIE CAM02 JCh to CIE XYZ. | ||
| 320 | COLOR is a list (X Y Z), with Y scaled about unity. | ||
| 321 | Optional arguments WHITEPOINT and VIEW are the same as in `lcms-cam02-ucs', | ||
| 322 | which see. */) | ||
| 323 | (Lisp_Object color, Lisp_Object whitepoint, Lisp_Object view) | ||
| 324 | { | ||
| 325 | cmsViewingConditions vc; | ||
| 326 | cmsJCh jch; | ||
| 327 | cmsCIEXYZ xyz, xyzw; | ||
| 328 | |||
| 329 | #ifdef WINDOWSNT | ||
| 330 | if (!lcms_initialized) | ||
| 331 | lcms_initialized = init_lcms_functions (); | ||
| 332 | if (!lcms_initialized) | ||
| 333 | { | ||
| 334 | message1 ("lcms2 library not found"); | ||
| 335 | return Qnil; | ||
| 336 | } | ||
| 337 | #endif | ||
| 338 | |||
| 339 | if (!(CONSP (color) && parse_xyz_list (color, &xyz))) | ||
| 340 | signal_error ("Invalid color", color); | ||
| 341 | if (NILP (whitepoint)) | ||
| 342 | xyzw = illuminant_d65; | ||
| 343 | else if (!(CONSP (whitepoint) && parse_xyz_list (whitepoint, &xyzw))) | ||
| 344 | signal_error ("Invalid white point", whitepoint); | ||
| 345 | if (NILP (view)) | ||
| 346 | default_viewing_conditions (&xyzw, &vc); | ||
| 347 | else if (!(CONSP (view) && parse_viewing_conditions (view, &xyzw, &vc))) | ||
| 348 | signal_error ("Invalid viewing conditions", view); | ||
| 349 | |||
| 350 | xyz_to_jch(&xyz, &jch, &vc); | ||
| 351 | return list3 (make_float (jch.J), make_float (jch.C), make_float (jch.h)); | ||
| 352 | } | ||
| 353 | |||
| 354 | DEFUN ("lcms-jch->xyz", Flcms_jch_to_xyz, Slcms_jch_to_xyz, 1, 3, 0, | ||
| 355 | doc: /* Convert CIE XYZ to CIE CAM02 JCh. | ||
| 356 | COLOR is a list (J C h), where lightness of white is equal to 100, and hue | ||
| 357 | is given in degrees. | ||
| 358 | Optional arguments WHITEPOINT and VIEW are the same as in `lcms-cam02-ucs', | ||
| 359 | which see. */) | ||
| 360 | (Lisp_Object color, Lisp_Object whitepoint, Lisp_Object view) | ||
| 361 | { | ||
| 362 | cmsViewingConditions vc; | ||
| 363 | cmsJCh jch; | ||
| 364 | cmsCIEXYZ xyz, xyzw; | ||
| 365 | |||
| 366 | #ifdef WINDOWSNT | ||
| 367 | if (!lcms_initialized) | ||
| 368 | lcms_initialized = init_lcms_functions (); | ||
| 369 | if (!lcms_initialized) | ||
| 370 | { | ||
| 371 | message1 ("lcms2 library not found"); | ||
| 372 | return Qnil; | ||
| 373 | } | ||
| 374 | #endif | ||
| 375 | |||
| 376 | if (!(CONSP (color) && parse_jch_list (color, &jch))) | ||
| 377 | signal_error ("Invalid color", color); | ||
| 378 | if (NILP (whitepoint)) | ||
| 379 | xyzw = illuminant_d65; | ||
| 380 | else if (!(CONSP (whitepoint) && parse_xyz_list (whitepoint, &xyzw))) | ||
| 381 | signal_error ("Invalid white point", whitepoint); | ||
| 382 | if (NILP (view)) | ||
| 383 | default_viewing_conditions (&xyzw, &vc); | ||
| 384 | else if (!(CONSP (view) && parse_viewing_conditions (view, &xyzw, &vc))) | ||
| 385 | signal_error ("Invalid viewing conditions", view); | ||
| 386 | |||
| 387 | jch_to_xyz(&jch, &xyz, &vc); | ||
| 388 | return list3 (make_float (xyz.X / 100.0), | ||
| 389 | make_float (xyz.Y / 100.0), | ||
| 390 | make_float (xyz.Z / 100.0)); | ||
| 391 | } | ||
| 392 | |||
| 393 | DEFUN ("lcms-jch->jab", Flcms_jch_to_jab, Slcms_jch_to_jab, 1, 3, 0, | ||
| 394 | doc: /* Convert CIE CAM02 JCh to CAM02-UCS J'a'b'. | ||
| 395 | COLOR is a list (J C h) as described in `lcms-jch->xyz', which see. | ||
| 396 | Optional arguments WHITEPOINT and VIEW are the same as in `lcms-cam02-ucs', | ||
| 397 | which see. */) | ||
| 398 | (Lisp_Object color, Lisp_Object whitepoint, Lisp_Object view) | ||
| 399 | { | ||
| 400 | cmsViewingConditions vc; | ||
| 401 | lcmsJab_t jab; | ||
| 402 | cmsJCh jch; | ||
| 403 | cmsCIEXYZ xyzw; | ||
| 404 | double FL, k, k4; | ||
| 405 | |||
| 406 | #ifdef WINDOWSNT | ||
| 407 | if (!lcms_initialized) | ||
| 408 | lcms_initialized = init_lcms_functions (); | ||
| 409 | if (!lcms_initialized) | ||
| 410 | { | ||
| 411 | message1 ("lcms2 library not found"); | ||
| 412 | return Qnil; | ||
| 413 | } | ||
| 414 | #endif | ||
| 415 | |||
| 416 | if (!(CONSP (color) && parse_jch_list (color, &jch))) | ||
| 417 | signal_error ("Invalid color", color); | ||
| 418 | if (NILP (whitepoint)) | ||
| 419 | xyzw = illuminant_d65; | ||
| 420 | else if (!(CONSP (whitepoint) && parse_xyz_list (whitepoint, &xyzw))) | ||
| 421 | signal_error ("Invalid white point", whitepoint); | ||
| 422 | if (NILP (view)) | ||
| 423 | default_viewing_conditions (&xyzw, &vc); | ||
| 424 | else if (!(CONSP (view) && parse_viewing_conditions (view, &xyzw, &vc))) | ||
| 425 | signal_error ("Invalid viewing conditions", view); | ||
| 426 | |||
| 427 | k = 1.0 / (1.0 + (5.0 * vc.La)); | ||
| 428 | k4 = k * k * k * k; | ||
| 429 | FL = vc.La * k4 + 0.1 * (1 - k4) * (1 - k4) * cbrt (5.0 * vc.La); | ||
| 430 | jch_to_jab (&jch, &jab, FL, 0.007, 0.0228); | ||
| 431 | return list3 (make_float (jab.J), make_float (jab.a), make_float (jab.b)); | ||
| 432 | } | ||
| 433 | |||
| 434 | DEFUN ("lcms-jab->jch", Flcms_jab_to_jch, Slcms_jab_to_jch, 1, 3, 0, | ||
| 435 | doc: /* Convert CAM02-UCS J'a'b' to CIE CAM02 JCh. | ||
| 436 | COLOR is a list (J' a' b'), where white corresponds to lightness J equal to 100. | ||
| 437 | Optional arguments WHITEPOINT and VIEW are the same as in `lcms-cam02-ucs', | ||
| 438 | which see. */) | ||
| 439 | (Lisp_Object color, Lisp_Object whitepoint, Lisp_Object view) | ||
| 440 | { | ||
| 441 | cmsViewingConditions vc; | ||
| 442 | cmsJCh jch; | ||
| 443 | lcmsJab_t jab; | ||
| 444 | cmsCIEXYZ xyzw; | ||
| 445 | double FL, k, k4; | ||
| 446 | |||
| 447 | #ifdef WINDOWSNT | ||
| 448 | if (!lcms_initialized) | ||
| 449 | lcms_initialized = init_lcms_functions (); | ||
| 450 | if (!lcms_initialized) | ||
| 451 | { | ||
| 452 | message1 ("lcms2 library not found"); | ||
| 453 | return Qnil; | ||
| 454 | } | ||
| 455 | #endif | ||
| 456 | |||
| 457 | if (!(CONSP (color) && parse_jab_list (color, &jab))) | ||
| 458 | signal_error ("Invalid color", color); | ||
| 459 | if (NILP (whitepoint)) | ||
| 460 | xyzw = illuminant_d65; | ||
| 461 | else if (!(CONSP (whitepoint) && parse_xyz_list (whitepoint, &xyzw))) | ||
| 462 | signal_error ("Invalid white point", whitepoint); | ||
| 463 | if (NILP (view)) | ||
| 464 | default_viewing_conditions (&xyzw, &vc); | ||
| 465 | else if (!(CONSP (view) && parse_viewing_conditions (view, &xyzw, &vc))) | ||
| 466 | signal_error ("Invalid viewing conditions", view); | ||
| 467 | |||
| 468 | k = 1.0 / (1.0 + (5.0 * vc.La)); | ||
| 469 | k4 = k * k * k * k; | ||
| 470 | FL = vc.La * k4 + 0.1 * (1 - k4) * (1 - k4) * cbrt (5.0 * vc.La); | ||
| 471 | jab_to_jch (&jab, &jch, FL, 0.007, 0.0228); | ||
| 472 | return list3 (make_float (jch.J), make_float (jch.C), make_float (jch.h)); | ||
| 473 | } | ||
| 474 | |||
| 219 | /* References: | 475 | /* References: |
| 220 | Li, Luo et al. "The CRI-CAM02UCS colour rendering index." COLOR research | 476 | Li, Luo et al. "The CRI-CAM02UCS colour rendering index." COLOR research |
| 221 | and application, 37 No.3, 2012. | 477 | and application, 37 No.3, 2012. |
| @@ -239,10 +495,9 @@ The default viewing conditions are (20 100 1 1). */) | |||
| 239 | { | 495 | { |
| 240 | cmsViewingConditions vc; | 496 | cmsViewingConditions vc; |
| 241 | cmsJCh jch1, jch2; | 497 | cmsJCh jch1, jch2; |
| 242 | cmsHANDLE h1, h2; | ||
| 243 | cmsCIEXYZ xyz1, xyz2, xyzw; | 498 | cmsCIEXYZ xyz1, xyz2, xyzw; |
| 244 | double Jp1, ap1, bp1, Jp2, ap2, bp2; | 499 | lcmsJab_t jab1, jab2; |
| 245 | double Mp1, Mp2, FL, k, k4; | 500 | double FL, k, k4; |
| 246 | 501 | ||
| 247 | #ifdef WINDOWSNT | 502 | #ifdef WINDOWSNT |
| 248 | if (!lcms_initialized) | 503 | if (!lcms_initialized) |
| @@ -267,41 +522,17 @@ The default viewing conditions are (20 100 1 1). */) | |||
| 267 | else if (!(CONSP (view) && parse_viewing_conditions (view, &xyzw, &vc))) | 522 | else if (!(CONSP (view) && parse_viewing_conditions (view, &xyzw, &vc))) |
| 268 | signal_error ("Invalid view conditions", view); | 523 | signal_error ("Invalid view conditions", view); |
| 269 | 524 | ||
| 270 | h1 = cmsCIECAM02Init (0, &vc); | 525 | xyz_to_jch (&xyz1, &jch1, &vc); |
| 271 | h2 = cmsCIECAM02Init (0, &vc); | 526 | xyz_to_jch (&xyz2, &jch2, &vc); |
| 272 | cmsCIECAM02Forward (h1, &xyz1, &jch1); | ||
| 273 | cmsCIECAM02Forward (h2, &xyz2, &jch2); | ||
| 274 | cmsCIECAM02Done (h1); | ||
| 275 | cmsCIECAM02Done (h2); | ||
| 276 | 527 | ||
| 277 | /* Now have colors in JCh, need to calculate J'a'b' | ||
| 278 | |||
| 279 | M = C * F_L^0.25 | ||
| 280 | J' = 1.7 J / (1 + 0.007 J) | ||
| 281 | M' = 43.86 ln(1 + 0.0228 M) | ||
| 282 | a' = M' cos(h) | ||
| 283 | b' = M' sin(h) | ||
| 284 | |||
| 285 | where | ||
| 286 | |||
| 287 | F_L = 0.2 k^4 (5 L_A) + 0.1 (1 - k^4)^2 (5 L_A)^(1/3), | ||
| 288 | k = 1/(5 L_A + 1) | ||
| 289 | */ | ||
| 290 | k = 1.0 / (1.0 + (5.0 * vc.La)); | 528 | k = 1.0 / (1.0 + (5.0 * vc.La)); |
| 291 | k4 = k * k * k * k; | 529 | k4 = k * k * k * k; |
| 292 | FL = vc.La * k4 + 0.1 * (1 - k4) * (1 - k4) * cbrt (5.0 * vc.La); | 530 | FL = vc.La * k4 + 0.1 * (1 - k4) * (1 - k4) * cbrt (5.0 * vc.La); |
| 293 | Mp1 = 43.86 * log (1.0 + 0.0228 * (jch1.C * sqrt (sqrt (FL)))); | 531 | jch_to_jab (&jch1, &jab1, FL, 0.007, 0.0228); |
| 294 | Mp2 = 43.86 * log (1.0 + 0.0228 * (jch2.C * sqrt (sqrt (FL)))); | 532 | jch_to_jab (&jch2, &jab2, FL, 0.007, 0.0228); |
| 295 | Jp1 = 1.7 * jch1.J / (1.0 + (0.007 * jch1.J)); | 533 | |
| 296 | Jp2 = 1.7 * jch2.J / (1.0 + (0.007 * jch2.J)); | 534 | return make_float (hypot (jab2.J - jab1.J, |
| 297 | ap1 = Mp1 * cos (deg2rad (jch1.h)); | 535 | hypot (jab2.a - jab1.a, jab2.b - jab1.b))); |
| 298 | ap2 = Mp2 * cos (deg2rad (jch2.h)); | ||
| 299 | bp1 = Mp1 * sin (deg2rad (jch1.h)); | ||
| 300 | bp2 = Mp2 * sin (deg2rad (jch2.h)); | ||
| 301 | |||
| 302 | return make_float (sqrt ((Jp2 - Jp1) * (Jp2 - Jp1) + | ||
| 303 | (ap2 - ap1) * (ap2 - ap1) + | ||
| 304 | (bp2 - bp1) * (bp2 - bp1))); | ||
| 305 | } | 536 | } |
| 306 | 537 | ||
| 307 | DEFUN ("lcms-temp->white-point", Flcms_temp_to_white_point, Slcms_temp_to_white_point, 1, 1, 0, | 538 | DEFUN ("lcms-temp->white-point", Flcms_temp_to_white_point, Slcms_temp_to_white_point, 1, 1, 0, |
| @@ -359,6 +590,10 @@ void | |||
| 359 | syms_of_lcms2 (void) | 590 | syms_of_lcms2 (void) |
| 360 | { | 591 | { |
| 361 | defsubr (&Slcms_cie_de2000); | 592 | defsubr (&Slcms_cie_de2000); |
| 593 | defsubr (&Slcms_xyz_to_jch); | ||
| 594 | defsubr (&Slcms_jch_to_xyz); | ||
| 595 | defsubr (&Slcms_jch_to_jab); | ||
| 596 | defsubr (&Slcms_jab_to_jch); | ||
| 362 | defsubr (&Slcms_cam02_ucs); | 597 | defsubr (&Slcms_cam02_ucs); |
| 363 | defsubr (&Slcms2_available_p); | 598 | defsubr (&Slcms2_available_p); |
| 364 | defsubr (&Slcms_temp_to_white_point); | 599 | defsubr (&Slcms_temp_to_white_point); |
diff --git a/src/lisp.h b/src/lisp.h index 0c3ca3ae06b..680c25d4c49 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -492,7 +492,7 @@ enum Lisp_Fwd_Type | |||
| 492 | 492 | ||
| 493 | /* If you want to define a new Lisp data type, here are some | 493 | /* If you want to define a new Lisp data type, here are some |
| 494 | instructions. See the thread at | 494 | instructions. See the thread at |
| 495 | http://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00561.html | 495 | https://lists.gnu.org/archive/html/emacs-devel/2012-10/msg00561.html |
| 496 | for more info. | 496 | for more info. |
| 497 | 497 | ||
| 498 | First, there are already a couple of Lisp types that can be used if | 498 | First, there are already a couple of Lisp types that can be used if |
diff --git a/src/sysdep.c b/src/sysdep.c index 1e6e0d011ba..26d381f5796 100644 --- a/src/sysdep.c +++ b/src/sysdep.c | |||
| @@ -463,7 +463,7 @@ child_setup_tty (int out) | |||
| 463 | s.main.c_oflag |= OPOST; /* Enable output postprocessing */ | 463 | s.main.c_oflag |= OPOST; /* Enable output postprocessing */ |
| 464 | s.main.c_oflag &= ~ONLCR; /* Disable map of NL to CR-NL on output */ | 464 | s.main.c_oflag &= ~ONLCR; /* Disable map of NL to CR-NL on output */ |
| 465 | #ifdef NLDLY | 465 | #ifdef NLDLY |
| 466 | /* http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00406.html | 466 | /* https://lists.gnu.org/archive/html/emacs-devel/2008-05/msg00406.html |
| 467 | Some versions of GNU Hurd do not have FFDLY? */ | 467 | Some versions of GNU Hurd do not have FFDLY? */ |
| 468 | #ifdef FFDLY | 468 | #ifdef FFDLY |
| 469 | s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); | 469 | s.main.c_oflag &= ~(NLDLY|CRDLY|TABDLY|BSDLY|VTDLY|FFDLY); |
| @@ -2056,7 +2056,7 @@ init_signals (bool dumping) | |||
| 2056 | thread_fatal_action.sa_flags = process_fatal_action.sa_flags; | 2056 | thread_fatal_action.sa_flags = process_fatal_action.sa_flags; |
| 2057 | 2057 | ||
| 2058 | /* SIGINT may need special treatment on MS-Windows. See | 2058 | /* SIGINT may need special treatment on MS-Windows. See |
| 2059 | http://lists.gnu.org/archive/html/emacs-devel/2010-09/msg01062.html | 2059 | https://lists.gnu.org/archive/html/emacs-devel/2010-09/msg01062.html |
| 2060 | Please update the doc of kill-emacs, kill-emacs-hook, and | 2060 | Please update the doc of kill-emacs, kill-emacs-hook, and |
| 2061 | NEWS if you change this. */ | 2061 | NEWS if you change this. */ |
| 2062 | 2062 | ||
diff --git a/src/term.c b/src/term.c index 065bce45d3c..06695d1ec61 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -2057,7 +2057,7 @@ TERMINAL does not refer to a text terminal. */) | |||
| 2057 | 2057 | ||
| 2058 | /* Declare here rather than in the function, as in the rest of Emacs, | 2058 | /* Declare here rather than in the function, as in the rest of Emacs, |
| 2059 | to work around an HPUX compiler bug (?). See | 2059 | to work around an HPUX compiler bug (?). See |
| 2060 | http://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00410.html */ | 2060 | https://lists.gnu.org/archive/html/emacs-devel/2007-08/msg00410.html */ |
| 2061 | static int default_max_colors; | 2061 | static int default_max_colors; |
| 2062 | static int default_no_color_video; | 2062 | static int default_no_color_video; |
| 2063 | static char *default_orig_pair; | 2063 | static char *default_orig_pair; |
diff --git a/src/w32term.c b/src/w32term.c index c15cbbfa847..e62d49dd947 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -417,7 +417,7 @@ w32_draw_rectangle (HDC hdc, XGCValues *gc, int x, int y, | |||
| 417 | is 1 pixel wider and higher than its arguments WIDTH and HEIGHT. | 417 | is 1 pixel wider and higher than its arguments WIDTH and HEIGHT. |
| 418 | This allows us to keep the code that calls this function similar | 418 | This allows us to keep the code that calls this function similar |
| 419 | to the corresponding code in xterm.c. For the details, see | 419 | to the corresponding code in xterm.c. For the details, see |
| 420 | http://lists.gnu.org/archives/html/emacs-devel/2014-10/msg00546.html. */ | 420 | https://lists.gnu.org/archives/html/emacs-devel/2014-10/msg00546.html. */ |
| 421 | Rectangle (hdc, x, y, x + width + 1, y + height + 1); | 421 | Rectangle (hdc, x, y, x + width + 1, y + height + 1); |
| 422 | 422 | ||
| 423 | SelectObject (hdc, oldhb); | 423 | SelectObject (hdc, oldhb); |
diff --git a/src/xfns.c b/src/xfns.c index 69955fe9a8f..9022e4a9674 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -6328,7 +6328,7 @@ x_create_tip_frame (struct x_display_info *dpyinfo, Lisp_Object parms) | |||
| 6328 | } | 6328 | } |
| 6329 | 6329 | ||
| 6330 | /* FIXME - can this be done in a similar way to normal frames? | 6330 | /* FIXME - can this be done in a similar way to normal frames? |
| 6331 | http://lists.gnu.org/archive/html/emacs-devel/2007-10/msg00641.html */ | 6331 | https://lists.gnu.org/archive/html/emacs-devel/2007-10/msg00641.html */ |
| 6332 | 6332 | ||
| 6333 | /* Set the `display-type' frame parameter before setting up faces. */ | 6333 | /* Set the `display-type' frame parameter before setting up faces. */ |
| 6334 | { | 6334 | { |
diff --git a/src/xsettings.c b/src/xsettings.c index f73b791d519..e35c61651cb 100644 --- a/src/xsettings.c +++ b/src/xsettings.c | |||
| @@ -675,8 +675,8 @@ apply_xft_settings (struct x_display_info *dpyinfo, | |||
| 675 | of unrelated settings that override users' font customizations, | 675 | of unrelated settings that override users' font customizations, |
| 676 | among others. Compare: | 676 | among others. Compare: |
| 677 | 677 | ||
| 678 | http://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00557.html | 678 | https://lists.gnu.org/archive/html/emacs-devel/2016-05/msg00557.html |
| 679 | http://lists.gnu.org/archive/html/bug-gnu-emacs/2016-12/msg00820.html | 679 | https://lists.gnu.org/archive/html/bug-gnu-emacs/2016-12/msg00820.html |
| 680 | 680 | ||
| 681 | As soon as the dynamic-settings code has been tested and | 681 | As soon as the dynamic-settings code has been tested and |
| 682 | verified, this Emacs 25.2 workaround should be removed. */ | 682 | verified, this Emacs 25.2 workaround should be removed. */ |
diff --git a/src/xterm.c b/src/xterm.c index 90275763cbe..d90654b101d 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -3870,7 +3870,7 @@ static void | |||
| 3870 | x_shift_glyphs_for_insert (struct frame *f, int x, int y, int width, int height, int shift_by) | 3870 | x_shift_glyphs_for_insert (struct frame *f, int x, int y, int width, int height, int shift_by) |
| 3871 | { | 3871 | { |
| 3872 | /* Never called on a GUI frame, see | 3872 | /* Never called on a GUI frame, see |
| 3873 | http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00456.html | 3873 | https://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00456.html |
| 3874 | */ | 3874 | */ |
| 3875 | XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), | 3875 | XCopyArea (FRAME_X_DISPLAY (f), FRAME_X_DRAWABLE (f), FRAME_X_DRAWABLE (f), |
| 3876 | f->output_data.x->normal_gc, | 3876 | f->output_data.x->normal_gc, |
| @@ -12524,7 +12524,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) | |||
| 12524 | dpyinfo->xcb_connection = xcb_conn; | 12524 | dpyinfo->xcb_connection = xcb_conn; |
| 12525 | #endif | 12525 | #endif |
| 12526 | 12526 | ||
| 12527 | /* http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html */ | 12527 | /* https://lists.gnu.org/archive/html/emacs-devel/2015-11/msg00194.html */ |
| 12528 | dpyinfo->smallest_font_height = 1; | 12528 | dpyinfo->smallest_font_height = 1; |
| 12529 | dpyinfo->smallest_char_width = 1; | 12529 | dpyinfo->smallest_char_width = 1; |
| 12530 | 12530 | ||