<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/python-systemd.git/systemd/_reader.c, branch v234</title>
<subtitle>github.com: systemd/python-systemd.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/'/>
<entry>
<title>_daemon,_reader: return ENOSYS instead of NotImplemented</title>
<updated>2016-12-16T01:57:44+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-12-15T04:43:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/commit/?id=5d3be8ccba5fe48b09e2a4e816f21c39038adfd0'/>
<id>5d3be8ccba5fe48b09e2a4e816f21c39038adfd0</id>
<content type='text'>
In _reader we were raising OSError(errno=ENOSYS), but in _dameon
we were raising NotImplementedError. Let's always use ENOSYS.

Also, make the messages in _reader more specific.

Fixes #33.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In _reader we were raising OSError(errno=ENOSYS), but in _dameon
we were raising NotImplementedError. Let's always use ENOSYS.

Also, make the messages in _reader more specific.

Fixes #33.
</pre>
</div>
</content>
</entry>
<entry>
<title>_reader: use proper ifdef guard for sd_j_open_files_fd</title>
<updated>2016-09-23T00:57:12+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-23T00:41:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/commit/?id=8024fc61719d15b47ace1973b6b901881e17ff2f'/>
<id>8024fc61719d15b47ace1973b6b901881e17ff2f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>reader: add SD_JOURNAL_OS_ROOT and rework flag passing</title>
<updated>2016-09-21T19:32:58+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-20T13:03:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/commit/?id=02b9432e736f3951078f3ad232baa445ca5d30b1'/>
<id>02b9432e736f3951078f3ad232baa445ca5d30b1</id>
<content type='text'>
Let's pass any flags through to the journal functions without checking
validity. Those functions do their own checking, so there's no need to
second-guess.

The semantics for _Reader(flags=0) are a bit changed:
before, this would be transformed into sd_journal_open(SD_J_LOCAL_ONLY).
Now, this results in sd_journal_open(0). Previous behaviour should be
achieved by not specifying the flags at all.
This change is necessary, because previously it was not possible to
pass flags=0 to sd_journal_open(0), i.e. it was not possible to "merge"
journals through the Python interface.

Similarly, Reader(flags=0) now means to open all journals, and
Reader(flags=None) is the same as Reader(flags=LOCAL_ONLY).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Let's pass any flags through to the journal functions without checking
validity. Those functions do their own checking, so there's no need to
second-guess.

The semantics for _Reader(flags=0) are a bit changed:
before, this would be transformed into sd_journal_open(SD_J_LOCAL_ONLY).
Now, this results in sd_journal_open(0). Previous behaviour should be
achieved by not specifying the flags at all.
This change is necessary, because previously it was not possible to
pass flags=0 to sd_journal_open(0), i.e. it was not possible to "merge"
journals through the Python interface.

Similarly, Reader(flags=0) now means to open all journals, and
Reader(flags=None) is the same as Reader(flags=LOCAL_ONLY).
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: add support for sd_journal_open_files_fd</title>
<updated>2016-09-21T19:32:58+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-20T03:13:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/commit/?id=89badf50b797d7b76e37e71c27cba47264c560bf'/>
<id>89badf50b797d7b76e37e71c27cba47264c560bf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: make sd_journal_enumerate return text strings</title>
<updated>2016-09-21T19:32:58+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-19T01:59:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/commit/?id=ee9ab0bd6585787655b8add639b5bf7f9a322082'/>
<id>ee9ab0bd6585787655b8add639b5bf7f9a322082</id>
<content type='text'>
Those are field names and they should always be ASCII, and converting
them to str automatically makes the answer more useful.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Those are field names and they should always be ASCII, and converting
them to str automatically makes the answer more useful.
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: allow sd_journal_open_directory_fd to be used</title>
<updated>2016-09-21T19:32:58+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-09-19T01:58:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/commit/?id=dadcd3d723c7781ee9a3ab54341030cad10904bd'/>
<id>dadcd3d723c7781ee9a3ab54341030cad10904bd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: add wrappers for sd_has_*_files</title>
<updated>2016-09-20T13:38:14+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-02-07T00:44:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/commit/?id=36a384a683174471d5158b1848a37612b39ca2ee'/>
<id>36a384a683174471d5158b1848a37612b39ca2ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: add wrapper for sd_journal_enumerate</title>
<updated>2016-09-20T13:38:10+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-02-07T00:27:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/commit/?id=819ea77d1be4f3b36c6874a5cb2a000be77f7493'/>
<id>819ea77d1be4f3b36c6874a5cb2a000be77f7493</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>journal: check errors properly in query_unique</title>
<updated>2016-09-20T13:38:03+00:00</updated>
<author>
<name>Zbigniew Jędrzejewski-Szmek</name>
<email>zbyszek@in.waw.pl</email>
</author>
<published>2016-02-07T00:17:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/commit/?id=ffba3a2ff86527103d5fcc09022fe9f35d6ca338'/>
<id>ffba3a2ff86527103d5fcc09022fe9f35d6ca338</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo (#26)</title>
<updated>2016-07-16T15:20:52+00:00</updated>
<author>
<name>Michael Biebl</name>
<email>mbiebl@gmail.com</email>
</author>
<published>2016-07-16T15:20:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/python-systemd.git/commit/?id=4c6072f61b9e696afe50e74bf2766cd1418cb228'/>
<id>4c6072f61b9e696afe50e74bf2766cd1418cb228</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
