<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test/src, branch feature/context-menu</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Mention `overlays-in' in the `overlays-at' doc string</title>
<updated>2021-07-20T11:32:39+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2021-07-20T11:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=06ee8ac36c9590ed028a3633a21a655104f772c8'/>
<id>06ee8ac36c9590ed028a3633a21a655104f772c8</id>
<content type='text'>
* src/buffer.c (Foverlays_at): Mention `overlays-in' in the doc
string (bug#459).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/buffer.c (Foverlays_at): Mention `overlays-in' in the doc
string (bug#459).
</pre>
</div>
</content>
</entry>
<entry>
<title>Add inhibit-buffer-hooks to `make-indirect-buffer'</title>
<updated>2021-07-19T16:23:11+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2021-07-19T16:23:07+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=514398c66576162c6bf5d8bd1d0ae3d2c6b83b49'/>
<id>514398c66576162c6bf5d8bd1d0ae3d2c6b83b49</id>
<content type='text'>
* doc/lispref/buffers.texi (Indirect Buffers): Document it (bug#49160).

* src/buffer.c (Fmake_indirect_buffer): Allow controlling whether
to inhibit buffer hooks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/lispref/buffers.texi (Indirect Buffers): Document it (bug#49160).

* src/buffer.c (Fmake_indirect_buffer): Allow controlling whether
to inhibit buffer hooks.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make make-indirect-buffer inherit inhibit-buffer-hook from base buffer</title>
<updated>2021-07-19T16:23:11+00:00</updated>
<author>
<name>dickmao</name>
</author>
<published>2021-07-19T16:12:17+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=95e31a1a328a7548efa76befa74d430925ca7f6d'/>
<id>95e31a1a328a7548efa76befa74d430925ca7f6d</id>
<content type='text'>
* src/buffer.c (Fmake_indirect_buffer):
Match base buffer's inhibit-buffer-hooks.
* test/src/buffer-tests.el (buffer-tests-inhibit-buffer-hooks-indirect):
Add a test (bug#49160).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/buffer.c (Fmake_indirect_buffer):
Match base buffer's inhibit-buffer-hooks.
* test/src/buffer-tests.el (buffer-tests-inhibit-buffer-hooks-indirect):
Add a test (bug#49160).
</pre>
</div>
</content>
</entry>
<entry>
<title>Block TLS handshake until TCP connection established</title>
<updated>2021-07-13T17:07:41+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2021-07-12T11:58:28+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=7a803ecd3d455999cfc9266fa219d58109fac786'/>
<id>7a803ecd3d455999cfc9266fa219d58109fac786</id>
<content type='text'>
If a TLS handshake is attempted before the completion of an
asynchronous TCP connection has been ascertained, our local state will
not be set up correctly for further progress and the sentinel "open"
event will never be sent.  This can occur if sufficient time passes
after the initiation of an async TCP connection so that by the time
`wait_reading_process_output` is called, the connection has already
been established on the TCP level.

This somewhat timing-sensitive bug has plagued HTTPS connections on
some platforms, notably macOS, for a long time (bug#49449).

* src/process.c (wait_reading_process_output): Gate the TLS handshake
by the NON_BLOCKING_CONNECT_FD flag.  The flag will be cleared as soon
as the TCP socket is found to be writable.
* test/src/process-tests.el (process-async-https-with-delay):
New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a TLS handshake is attempted before the completion of an
asynchronous TCP connection has been ascertained, our local state will
not be set up correctly for further progress and the sentinel "open"
event will never be sent.  This can occur if sufficient time passes
after the initiation of an async TCP connection so that by the time
`wait_reading_process_output` is called, the connection has already
been established on the TCP level.

This somewhat timing-sensitive bug has plagued HTTPS connections on
some platforms, notably macOS, for a long time (bug#49449).

* src/process.c (wait_reading_process_output): Gate the TLS handshake
by the NON_BLOCKING_CONNECT_FD flag.  The flag will be cleared as soon
as the TCP socket is found to be writable.
* test/src/process-tests.el (process-async-https-with-delay):
New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Pacify gcc 11.1.1 -Wanalyzer-possible-null-dereference</title>
<updated>2021-07-12T07:12:21+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2021-07-12T07:06:34+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=1a0fe2a5184cd4c57972994cf4b688042aecc534'/>
<id>1a0fe2a5184cd4c57972994cf4b688042aecc534</id>
<content type='text'>
* oldXMenu/Create.c (XMenuCreate):
* oldXMenu/Internal.c (_XMRecomputePane, _XMRecomputeSelection):
* oldXMenu/XMakeAssoc.c (XMakeAssoc):
* test/src/emacs-module-resources/mod-test.c (Fmod_test_userptr_make):
Don’t assume that malloc and calloc succeed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* oldXMenu/Create.c (XMenuCreate):
* oldXMenu/Internal.c (_XMRecomputePane, _XMRecomputeSelection):
* oldXMenu/XMakeAssoc.c (XMakeAssoc):
* test/src/emacs-module-resources/mod-test.c (Fmod_test_userptr_make):
Don’t assume that malloc and calloc succeed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Skip a process test on Cygwin to avoid hang</title>
<updated>2021-07-09T20:37:52+00:00</updated>
<author>
<name>Ken Brown</name>
</author>
<published>2021-07-09T20:37:52+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=3fa711c11d1497418fdf8a866b7ba52dd3b00e0e'/>
<id>3fa711c11d1497418fdf8a866b7ba52dd3b00e0e</id>
<content type='text'>
* test/src/process-tests.el
(process-tests/fd-setsize-no-crash/make-network-process): Skip
test on Cygwin to avoid hang due to connect/accept handshake.
(Bug#49496)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/src/process-tests.el
(process-tests/fd-setsize-no-crash/make-network-process): Skip
test on Cygwin to avoid hang due to connect/accept handshake.
(Bug#49496)
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a new function syntax-class-to-char</title>
<updated>2021-06-15T15:01:57+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2021-06-15T14:50:51+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=81fd5603ce701a0acae096314c1f7ab1db69c64f'/>
<id>81fd5603ce701a0acae096314c1f7ab1db69c64f</id>
<content type='text'>
* doc/lispref/syntax.texi (Syntax Table Internals): Document it.
* src/syntax.c (Fsyntax_class_to_char): New function (bug#37452).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/lispref/syntax.texi (Syntax Table Internals): Document it.
* src/syntax.c (Fsyntax_class_to_char): New function (bug#37452).
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename batch-byte-native-compile-for-bootstrap (bug#48743)</title>
<updated>2021-06-01T16:11:37+00:00</updated>
<author>
<name>Andrea Corallo</name>
</author>
<published>2021-06-01T15:10:10+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c4b02dad9bdf233888164067d5942c0d7642cae2'/>
<id>c4b02dad9bdf233888164067d5942c0d7642cae2</id>
<content type='text'>
* lisp/Makefile.in : Rename `batch-byte-native-compile-for-bootstrap'
-&gt; `batch-byte+native-compile.
* lisp/emacs-lisp/bytecomp.el (byte+native-compile)
(byte-compile-file): Rename
`batch-byte-native-compile-for-bootstrap' -&gt;
`batch-byte+native-compile + `byte-native-for-bootstrap' -&gt;
`byte+native-compile'.
* lisp/emacs-lisp/comp.el (comp-spill-lap-function, comp-final)
(batch-native-compile, batch-byte+native-compile): Likewise.
* lisp/emacs-lisp/bytecomp.el (byte+native-compile)
(byte-compile-file): Likewise.
* test/src/comp-tests.el (comp-tests-bootstrap): Rename
`byte-native-for-bootstrap' -&gt; `byte+native-compile'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/Makefile.in : Rename `batch-byte-native-compile-for-bootstrap'
-&gt; `batch-byte+native-compile.
* lisp/emacs-lisp/bytecomp.el (byte+native-compile)
(byte-compile-file): Rename
`batch-byte-native-compile-for-bootstrap' -&gt;
`batch-byte+native-compile + `byte-native-for-bootstrap' -&gt;
`byte+native-compile'.
* lisp/emacs-lisp/comp.el (comp-spill-lap-function, comp-final)
(batch-native-compile, batch-byte+native-compile): Likewise.
* lisp/emacs-lisp/bytecomp.el (byte+native-compile)
(byte-compile-file): Likewise.
* test/src/comp-tests.el (comp-tests-bootstrap): Rename
`byte-native-for-bootstrap' -&gt; `byte+native-compile'.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix lexing of numbers with trailing decimal point and exponent</title>
<updated>2021-05-27T12:16:28+00:00</updated>
<author>
<name>Mattias Engdegård</name>
</author>
<published>2021-05-20T16:26:15+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=de45864cf787ce244b0d97e7cf523a6e03743f10'/>
<id>de45864cf787ce244b0d97e7cf523a6e03743f10</id>
<content type='text'>
Numbers with a trailing dot and an exponent were incorrectly read as
integers (with the exponent ignored) instead of the floats they should
be.  For example, 1.e6 was read as the integer 1, not 1000000.0 as
every sane person would agree was meant. (Bug#48678)

Numbers with a trailing dot but no exponent are still read as
integers.

* src/lread.c (string_to_number): Fix float lexing.
* test/src/lread-tests.el (lread-float): Add test.
* doc/lispref/numbers.texi (Float Basics): Clarify syntax.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Numbers with a trailing dot and an exponent were incorrectly read as
integers (with the exponent ignored) instead of the floats they should
be.  For example, 1.e6 was read as the integer 1, not 1000000.0 as
every sane person would agree was meant. (Bug#48678)

Numbers with a trailing dot but no exponent are still read as
integers.

* src/lread.c (string_to_number): Fix float lexing.
* test/src/lread-tests.el (lread-float): Add test.
* doc/lispref/numbers.texi (Float Basics): Clarify syntax.
</pre>
</div>
</content>
</entry>
<entry>
<title>* test/src/emacs-module-tests.el (mod-test-file): Unbreak out-of-tree.</title>
<updated>2021-05-10T18:37:40+00:00</updated>
<author>
<name>Glenn Morris</name>
</author>
<published>2021-05-10T18:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=dd031f311f279b3179681a6668cff358db1f2370'/>
<id>dd031f311f279b3179681a6668cff358db1f2370</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
