<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test/data, branch scratch/flymake-augment-api</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>Avoid looking at localized strings</title>
<updated>2017-09-10T03:14:07+00:00</updated>
<author>
<name>Mark Oteiza</name>
</author>
<published>2017-09-10T03:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e716538911227e1bedb48978b8025106abce3734'/>
<id>e716538911227e1bedb48978b8025106abce3734</id>
<content type='text'>
* lisp/xdg.el (xdg-desktop-read-group): Add condition to catch
localized strings.
* test/lisp/xdg-tests.el (xdg-desktop-parsing): Add test to ensure
parsing l10n strings doesn't error but is essentially a no-op.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/xdg.el (xdg-desktop-read-group): Add condition to catch
localized strings.
* test/lisp/xdg-tests.el (xdg-desktop-parsing): Add test to ensure
parsing l10n strings doesn't error but is essentially a no-op.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add function to read all entries in a group</title>
<updated>2017-09-09T16:26:50+00:00</updated>
<author>
<name>Mark Oteiza</name>
</author>
<published>2017-09-09T15:55:09+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=4131f9785e30f2a31745125c714e922892113c62'/>
<id>4131f9785e30f2a31745125c714e922892113c62</id>
<content type='text'>
Use that to extend xdg-desktop-read-file.  Also fix a bug where all
entries in all groups were read and returned by xdg-desktop-read-file.
* lisp/xdg.el (xdg-desktop-read-group): New function.
(xdg-desktop-read-file): Use it.
* test/data/xdg/malformed.desktop: New file.
* test/data/xdg/test.desktop: Add another section.
* test/lisp/xdg-tests.el (xdg-desktop-parsing): Test presence of a key
in another group.  Test reading a prescribed group.  Test detecting a
malformed key=value.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use that to extend xdg-desktop-read-file.  Also fix a bug where all
entries in all groups were read and returned by xdg-desktop-read-file.
* lisp/xdg.el (xdg-desktop-read-group): New function.
(xdg-desktop-read-file): Use it.
* test/data/xdg/malformed.desktop: New file.
* test/data/xdg/test.desktop: Add another section.
* test/lisp/xdg-tests.el (xdg-desktop-parsing): Test presence of a key
in another group.  Test reading a prescribed group.  Test detecting a
malformed key=value.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add XDG desktop file parsing and tests</title>
<updated>2017-09-06T17:17:05+00:00</updated>
<author>
<name>Mark Oteiza</name>
</author>
<published>2017-09-06T17:17:05+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9604f9cd33bcbc921fd18e894fdd8a98012fd09d'/>
<id>9604f9cd33bcbc921fd18e894fdd8a98012fd09d</id>
<content type='text'>
* lisp/xdg.el: Add support for Desktop Entry Specification.
(xdg--user-dirs-parse-line): Check if file is readable.
(xdg-desktop-group-regexp, xdg-desktop-entry-regexp): New variables.
(xdg--desktop-parse-line, xdg-desktop-read-file, xdg-desktop-strings):
New functions.
* test/lisp/xdg-tests.el:
* test/data/xdg/test.desktop:
* test/data/xdg/wrong.desktop: New files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/xdg.el: Add support for Desktop Entry Specification.
(xdg--user-dirs-parse-line): Check if file is readable.
(xdg-desktop-group-regexp, xdg-desktop-entry-regexp): New variables.
(xdg--desktop-parse-line, xdg-desktop-read-file, xdg-desktop-strings):
New functions.
* test/lisp/xdg-tests.el:
* test/data/xdg/test.desktop:
* test/data/xdg/wrong.desktop: New files.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add tests for mailcap.el</title>
<updated>2017-09-05T15:55:01+00:00</updated>
<author>
<name>Mark Oteiza</name>
</author>
<published>2017-09-05T15:53:37+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=9f64d59ae6d87f38276fe05254094113a171fb0e'/>
<id>9f64d59ae6d87f38276fe05254094113a171fb0e</id>
<content type='text'>
* test/data/mailcap/mime.types: New file.
* test/lisp/net/mailcap-tests.el: New file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* test/data/mailcap/mime.types: New file.
* test/lisp/net/mailcap-tests.el: New file.
</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>
</feed>
