<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix.git/guix/lzlib.scm, branch master</title>
<subtitle>Personal branch of https://git.savannah.gnu.org/cgit/guix.git/ for implementing 'guix deploy'.
</subtitle>
<id>https://www.git.jakob.space/guix.git/atom?h=master</id>
<link rel='self' href='https://www.git.jakob.space/guix.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/'/>
<updated>2019-06-01T13:26:30Z</updated>
<entry>
<title>lzlib: 'make-lzip-input-port' better handles end of decompression.</title>
<updated>2019-06-01T13:26:30Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-06-01T09:38:33Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=87399dfc209fdec523947e7b45a1ad348afa4d46'/>
<id>urn:sha1:87399dfc209fdec523947e7b45a1ad348afa4d46</id>
<content type='text'>
Suggested by Pierre Neidhardt &lt;mail@ambrevar.xyz&gt;.

* guix/lzlib.scm (lzread!): Call 'lz-decompress-finish' when
'feed-decoder!' returns EOF.  Call 'lz-decompress-finished?' to
determine end of compression.
</content>
</entry>
<entry>
<title>lzlib: 'lzread!' never returns more than it was asked for.</title>
<updated>2019-05-27T20:47:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-24T13:20:46Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=c131bea2762ea0dd9e75e9340525dc54cd938647'/>
<id>urn:sha1:c131bea2762ea0dd9e75e9340525dc54cd938647</id>
<content type='text'>
Fixes a bug whereby 'lzread!' could return more than COUNT.

* guix/lzlib.scm (lzread!): Rewrite in a semi-functional style.
</content>
</entry>
<entry>
<title>lzlib: Add 'make-lzip-input-port/compressed'.</title>
<updated>2019-05-27T20:47:24Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-23T19:35:47Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=2a991f3ae4823730395c7970d83159e93d5f5fe2'/>
<id>urn:sha1:2a991f3ae4823730395c7970d83159e93d5f5fe2</id>
<content type='text'>
* guix/lzlib.scm (lzwrite!, make-lzip-input-port/compressed): New
procedures.
* tests/lzlib.scm ("make-lzip-input-port/compressed"): New test.
* guix/tests.scm (%seed): Export.
</content>
</entry>
<entry>
<title>lzlib: Adjust 'lz-compress-read' docstring.</title>
<updated>2019-05-27T20:47:23Z</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2019-05-27T20:27:02Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=e13354a7ca5a0d5e28e02c4cfce6fecb1ab770e4'/>
<id>urn:sha1:e13354a7ca5a0d5e28e02c4cfce6fecb1ab770e4</id>
<content type='text'>
* guix/lzlib.scm (lz-compress-read): The integer return can be zero;
adjust docstring accordingly.
</content>
</entry>
<entry>
<title>guix: Simplify and robustify lzread!.</title>
<updated>2019-05-07T16:40:40Z</updated>
<author>
<name>Pierre Neidhardt</name>
<email>mail@ambrevar.xyz</email>
</author>
<published>2019-05-07T16:40:40Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=ecfc54403e2a1934b4f6e84ddad429b7970091fa'/>
<id>urn:sha1:ecfc54403e2a1934b4f6e84ddad429b7970091fa</id>
<content type='text'>
* guix/lzlib.scm (lzread!): Do it.

Previously lzread! would fail if COUNT was bigger
than (lz-decompress-write-size).  This is possible if a previous call to
lzread! didn't empty the LZ_decompress input buffer (e.g. BV was too small to
fit all the data).
</content>
</entry>
<entry>
<title>Add (guix lzlib).</title>
<updated>2019-05-06T21:21:33Z</updated>
<author>
<name>Pierre Neidhardt</name>
<email>mail@ambrevar.xyz</email>
</author>
<published>2019-03-08T18:02:59Z</published>
<link rel='alternate' type='text/html' href='https://www.git.jakob.space/guix.git/commit/?id=fea338c6ca1922097fa233be85f424c152a4f507'/>
<id>urn:sha1:fea338c6ca1922097fa233be85f424c152a4f507</id>
<content type='text'>
* guix/lzlib.scm, tests/lzlib.scm: New files.
* Makefile.am (MODULES): Add guix/lzlib.scm.
(SCM_TESTS): Add tests/lzlib.scm.
* m4/guix.m4 (GUIX_LIBLZ_LIBDIR): New macro.
* configure.ac (LIBLZ_LIBDIR): Use it.  Define and substitute
'LIBLZ'.
* guix/config.scm.in (%liblz): New variable.
* guix/self.scm (make-config.scm): Add TODO comment.

Co-authored-by: Ludovic Courtès &lt;ludo@gnu.org&gt;
</content>
</entry>
</feed>
