<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test/data/emacs-module, branch scratch/gnus-docs</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>Prefer HTTPS to FTP and HTTP in documentation</title>
<updated>2017-09-13T22:54:37+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2017-09-13T22:52:52+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=bc511a64f6da9ab51acc7c8865e80c4a4cb655c2'/>
<id>bc511a64f6da9ab51acc7c8865e80c4a4cb655c2</id>
<content type='text'>
Most of this change is to boilerplate commentary such as license URLs.
This change was prompted by ftp://ftp.gnu.org's going-away party,
planned for November.  Change these FTP URLs to https://ftp.gnu.org
instead.  Make similar changes for URLs to other organizations moving
away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
fsf.org when this works, as this will further help defend against
man-in-the-middle attacks (for this part I omitted the MS-DOS and
MS-Windows sources and the test tarballs to keep the workload down).
HTTPS is not fully working to lists.gnu.org so I left those URLs alone
for now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Most of this change is to boilerplate commentary such as license URLs.
This change was prompted by ftp://ftp.gnu.org's going-away party,
planned for November.  Change these FTP URLs to https://ftp.gnu.org
instead.  Make similar changes for URLs to other organizations moving
away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
fsf.org when this works, as this will further help defend against
man-in-the-middle attacks (for this part I omitted the MS-DOS and
MS-Windows sources and the test tarballs to keep the workload down).
HTTPS is not fully working to lists.gnu.org so I left those URLs alone
for now.
</pre>
</div>
</content>
</entry>
<entry>
<title>Module assertions: check for garbage collections</title>
<updated>2017-07-08T13:25:01+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2017-07-04T20:50:46+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=b7dab24b7953f7a31b806f83e15043c94aaa7745'/>
<id>b7dab24b7953f7a31b806f83e15043c94aaa7745</id>
<content type='text'>
It's technically possible to write a user pointer finalizer that calls
into Emacs module functions.  This would be disastrous because it
would allow arbitrary Lisp code to run during garbage collection.
Therefore extend the module assertions to check for this case.

* src/emacs-module.c (module_assert_thread): Also check whether a
garbage collection is in progress.

* test/data/emacs-module/mod-test.c (invalid_finalizer)
(Fmod_test_invalid_finalizer): New test module functions.
(emacs_module_init): Register new test function.

* test/src/emacs-module-tests.el (module--test-assertion)
(module--with-temp-directory): New helper macros.
(module--test-assertions--load-non-live-object): Rename existing
unit test, use helper macros.
(module--test-assertions--call-emacs-from-gc): New unit test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It's technically possible to write a user pointer finalizer that calls
into Emacs module functions.  This would be disastrous because it
would allow arbitrary Lisp code to run during garbage collection.
Therefore extend the module assertions to check for this case.

* src/emacs-module.c (module_assert_thread): Also check whether a
garbage collection is in progress.

* test/data/emacs-module/mod-test.c (invalid_finalizer)
(Fmod_test_invalid_finalizer): New test module functions.
(emacs_module_init): Register new test function.

* test/src/emacs-module-tests.el (module--test-assertion)
(module--with-temp-directory): New helper macros.
(module--test-assertions--load-non-live-object): Rename existing
unit test, use helper macros.
(module--test-assertions--call-emacs-from-gc): New unit test.
</pre>
</div>
</content>
</entry>
<entry>
<title>Inline test module Makefile into main test Makefile</title>
<updated>2017-06-13T18:48:15+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2017-06-13T18:46:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=58b9b098a4cbefbe7ae28079a96625bd450c9316'/>
<id>58b9b098a4cbefbe7ae28079a96625bd450c9316</id>
<content type='text'>
The test/data/emacs-module/Makefile only built a single target, and
inlining it into test/Makefile simplifies dependency tracking and
reduces code duplication.

* configure.ac: Don't build test/data/emacs-module/Makefile.

* Makefile.in ($(test_module)): Inline compilation.
(clean): Also clean test module outputs.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test/data/emacs-module/Makefile only built a single target, and
inlining it into test/Makefile simplifies dependency tracking and
reduces code duplication.

* configure.ac: Don't build test/data/emacs-module/Makefile.

* Makefile.in ($(test_module)): Inline compilation.
(clean): Also clean test module outputs.
</pre>
</div>
</content>
</entry>
<entry>
<title>Print module structure sizes when initializing test module</title>
<updated>2017-06-12T21:46:02+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2017-06-12T21:45:18+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=52c846d45dc52365349fc71e15d305a20788ce00'/>
<id>52c846d45dc52365349fc71e15d305a20788ce00</id>
<content type='text'>
* test/data/emacs-module/mod-test.c (emacs_module_init): Print
compile-time and runtime sizes of module structures to ease debugging
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/data/emacs-module/mod-test.c (emacs_module_init): Print
compile-time and runtime sizes of module structures to ease debugging
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix off-by-one error</title>
<updated>2017-06-12T21:36:10+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2017-06-12T21:35:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=1da7bc7e465a5462d0e20b040ba51bc45fb9f65a'/>
<id>1da7bc7e465a5462d0e20b040ba51bc45fb9f65a</id>
<content type='text'>
* test/data/emacs-module/mod-test.c (emacs_module_init): Fix
off-by-one error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/data/emacs-module/mod-test.c (emacs_module_init): Fix
off-by-one error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve previous test/data/emacs-module/Makefile change</title>
<updated>2017-06-12T20:52:49+00:00</updated>
<author>
<name>Glenn Morris</name>
</author>
<published>2017-06-12T20:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6096f81151280b6db59c0432f86b63ae766b374a'/>
<id>6096f81151280b6db59c0432f86b63ae766b374a</id>
<content type='text'>
* test/data/emacs-module/Makefile.in (clean):
Avoid doing unpleasant things if run in a build without modules.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/data/emacs-module/Makefile.in (clean):
Avoid doing unpleasant things if run in a build without modules.
</pre>
</div>
</content>
</entry>
<entry>
<title>Small improvements for test/data/emacs-module/Makefile</title>
<updated>2017-06-12T20:35:39+00:00</updated>
<author>
<name>Glenn Morris</name>
</author>
<published>2017-06-12T20:35:39+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=5f25857f619f87c59e8e888fde5e66280a185123'/>
<id>5f25857f619f87c59e8e888fde5e66280a185123</id>
<content type='text'>
* test/data/emacs-module/Makefile.in (%.o):
Fix emacs-module dependency.
(SECONDARY): Stop make automatically deleting *.o.
(clean): New rule.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/data/emacs-module/Makefile.in (%.o):
Fix emacs-module dependency.
(SECONDARY): Stop make automatically deleting *.o.
(clean): New rule.
</pre>
</div>
</content>
</entry>
<entry>
<title>Test module: add necessary version checks</title>
<updated>2017-06-12T14:28:16+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2017-06-12T14:28:16+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=272235c1d57c35b6cefa8c721e009a445de69dee'/>
<id>272235c1d57c35b6cefa8c721e009a445de69dee</id>
<content type='text'>
* test/data/emacs-module/mod-test.c (emacs_module_init): Add necessary
version checks.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/data/emacs-module/mod-test.c (emacs_module_init): Add necessary
version checks.
</pre>
</div>
</content>
</entry>
<entry>
<title>Use additional CFLAGS from configure</title>
<updated>2017-06-12T14:18:01+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2017-06-12T14:18:01+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d7f6477c0180324270b6b9cf289e8da3583b45c6'/>
<id>d7f6477c0180324270b6b9cf289e8da3583b45c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Autoconf to generate the test module Makefile</title>
<updated>2017-06-12T14:09:37+00:00</updated>
<author>
<name>Philipp Stephani</name>
</author>
<published>2017-06-12T14:09:37+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=c90a97adc49e844d884a4422e99570526fd92485'/>
<id>c90a97adc49e844d884a4422e99570526fd92485</id>
<content type='text'>
This makes it easier to pass compilation flags around.

* configure.ac: Also build test module Makefile.

* test/data/emacs-module/Makefile.in: New makefile template.

* test/Makefile.in ($(test_module)): No longer necessary to pass
@MODULES_SUFFIX@ around.

* .gitignore: Test module Makefile can now be ignored.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This makes it easier to pass compilation flags around.

* configure.ac: Also build test module Makefile.

* test/data/emacs-module/Makefile.in: New makefile template.

* test/Makefile.in ($(test_module)): No longer necessary to pass
@MODULES_SUFFIX@ around.

* .gitignore: Test module Makefile can now be ignored.
</pre>
</div>
</content>
</entry>
</feed>
