zchunk.git
3 years agoPrepare to upload zchunk/1.2.2+ds1-1 to unstable.
Peter Pentchev [Fri, 12 Aug 2022 13:57:48 +0000 (16:57 +0300)]
Prepare to upload zchunk/1.2.2+ds1-1 to unstable.

3 years agoUpdate the Debian packaging for zchunk-1.2.2.
Peter Pentchev [Fri, 12 Aug 2022 13:47:59 +0000 (16:47 +0300)]
Update the Debian packaging for zchunk-1.2.2.

3 years agoMerge zchunk-1.2.2 into the Debian branch.
Peter Pentchev [Fri, 12 Aug 2022 13:45:13 +0000 (16:45 +0300)]
Merge zchunk-1.2.2 into the Debian branch.

3 years agoMerge zchunk-1.2.2 into the repacked Debian source.
Peter Pentchev [Fri, 12 Aug 2022 13:43:49 +0000 (16:43 +0300)]
Merge zchunk-1.2.2 into the repacked Debian source.

3 years agoUpdate the changelog file.
Peter Pentchev [Fri, 12 Aug 2022 10:16:17 +0000 (13:16 +0300)]
Update the changelog file.

3 years agoAdd an EditorConfig definitions file for debian/*.
Peter Pentchev [Fri, 12 Aug 2022 10:12:19 +0000 (13:12 +0300)]
Add an EditorConfig definitions file for debian/*.

3 years agodebian/tests: py37: deferred annotations.
Peter Pentchev [Fri, 12 Aug 2022 10:04:56 +0000 (13:04 +0300)]
debian/tests: py37: deferred annotations.

3 years agodebian/tests: py37: dataclasses in stdlib.
Peter Pentchev [Fri, 12 Aug 2022 09:59:22 +0000 (12:59 +0300)]
debian/tests: py37: dataclasses in stdlib.

3 years agodebian/tests: push pychunk into python/.
Peter Pentchev [Fri, 12 Aug 2022 09:56:31 +0000 (12:56 +0300)]
debian/tests: push pychunk into python/.

3 years agodebian/tests/pychunk: reformat, 100 chars per line.
Peter Pentchev [Fri, 12 Aug 2022 08:51:42 +0000 (11:51 +0300)]
debian/tests/pychunk: reformat, 100 chars per line.

3 years agodebian/tests: move options to pyproject.toml and setup.cfg.
Peter Pentchev [Fri, 12 Aug 2022 08:47:29 +0000 (11:47 +0300)]
debian/tests: move options to pyproject.toml and setup.cfg.

Move the configuration options for the various static source checkers that
we run through tox.ini to the standard Python project configuration files,
so that they are also available when the tools are run in other ways.

3 years agodebian/tests/tox.ini: mypy: types-dataclasses for Python 3.6.
Peter Pentchev [Fri, 12 Aug 2022 08:42:58 +0000 (11:42 +0300)]
debian/tests/tox.ini: mypy: types-dataclasses for Python 3.6.

3 years agodebian/tests/tox.ini: use black 22.
Peter Pentchev [Fri, 12 Aug 2022 08:41:00 +0000 (11:41 +0300)]
debian/tests/tox.ini: use black 22.

3 years agoAdd the cppcheck patch to fix some minor issues.
Peter Pentchev [Fri, 12 Aug 2022 08:29:20 +0000 (11:29 +0300)]
Add the cppcheck patch to fix some minor issues.

3 years agoDeclare compliance with Policy 4.6.1 with no changes.
Peter Pentchev [Fri, 12 Aug 2022 06:23:47 +0000 (09:23 +0300)]
Declare compliance with Policy 4.6.1 with no changes.

3 years agoBump to 1.2.2
Jonathan Dieter [Mon, 18 Apr 2022 16:38:54 +0000 (17:38 +0100)]
Bump to 1.2.2

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge branch 'coverity'
Jonathan Dieter [Mon, 18 Apr 2022 16:37:33 +0000 (17:37 +0100)]
Merge branch 'coverity'

3 years agoVarious fixes to make Coverity happy
Jonathan Dieter [Mon, 18 Apr 2022 16:37:19 +0000 (17:37 +0100)]
Various fixes to make Coverity happy

The single high severity issue was only triggerable if we were unable to
allocate memory and involved a memory leak.  The other issues all revolve
around issues like making sure we check return values of functions we call.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #74 from ppentchev/pp-zck-eol
Jonathan Dieter [Sat, 16 Apr 2022 19:45:46 +0000 (20:45 +0100)]
Merge pull request #74 from ppentchev/pp-zck-eol

Turn off EOL handling for the *.zck test files.

3 years agoMerge pull request #73 from ppentchev/pp-zstd-1.4.10
Jonathan Dieter [Sat, 16 Apr 2022 19:44:47 +0000 (20:44 +0100)]
Merge pull request #73 from ppentchev/pp-zstd-1.4.10

Let the tests also pass with libzstd-1.4.10.

3 years agoPrepare to upload zchunk/1.2.1+ds1-1 to unstable.
Peter Pentchev [Fri, 15 Apr 2022 08:48:31 +0000 (11:48 +0300)]
Prepare to upload zchunk/1.2.1+ds1-1 to unstable.

3 years agoNote the update to 1.5.x closes a Debian bug.
Peter Pentchev [Fri, 15 Apr 2022 07:59:28 +0000 (10:59 +0300)]
Note the update to 1.5.x closes a Debian bug.

3 years agoForwarded test-checksums.patch, add the bug number.
Peter Pentchev [Fri, 15 Apr 2022 07:53:40 +0000 (10:53 +0300)]
Forwarded test-checksums.patch, add the bug number.

3 years agoTurn off EOL handling for the *.zck test files.
Peter Pentchev [Fri, 15 Apr 2022 07:48:37 +0000 (10:48 +0300)]
Turn off EOL handling for the *.zck test files.

3 years agoLet the tests also pass with libzstd-1.4.10.
Peter Pentchev [Fri, 15 Apr 2022 07:44:41 +0000 (10:44 +0300)]
Let the tests also pass with libzstd-1.4.10.

3 years agoUpdate the Debian packaging for zchunk-1.2.1.
Peter Pentchev [Fri, 15 Apr 2022 07:42:12 +0000 (10:42 +0300)]
Update the Debian packaging for zchunk-1.2.1.

3 years agoMerge zchunk-1.2.1 into the Debian branch.
Peter Pentchev [Fri, 15 Apr 2022 06:12:51 +0000 (09:12 +0300)]
Merge zchunk-1.2.1 into the Debian branch.

3 years agoMerge zchunk-1.2.1 into the repacked Debian source.
Peter Pentchev [Fri, 15 Apr 2022 06:10:59 +0000 (09:10 +0300)]
Merge zchunk-1.2.1 into the repacked Debian source.

3 years agoUpdate the Debian packaging for zchunk-1.2.0.
Peter Pentchev [Fri, 15 Apr 2022 06:08:30 +0000 (09:08 +0300)]
Update the Debian packaging for zchunk-1.2.0.

3 years agoMerge zchunk-1.2.0 into the Debian packaging branch.
Peter Pentchev [Thu, 14 Apr 2022 09:11:59 +0000 (12:11 +0300)]
Merge zchunk-1.2.0 into the Debian packaging branch.

3 years agoMerge zchunk-1.2.0 into the repacked Debian source.
Peter Pentchev [Thu, 14 Apr 2022 07:06:07 +0000 (10:06 +0300)]
Merge zchunk-1.2.0 into the repacked Debian source.

3 years agoUpdate the changelog file.
Peter Pentchev [Wed, 13 Apr 2022 08:38:01 +0000 (11:38 +0300)]
Update the changelog file.

3 years agoAdd the year 2022 to my debian/* copyright notice.
Peter Pentchev [Mon, 11 Apr 2022 14:33:19 +0000 (17:33 +0300)]
Add the year 2022 to my debian/* copyright notice.

3 years agoFix the build with libzstd 1.4.10 and 1.5.0.
Peter Pentchev [Mon, 11 Apr 2022 14:32:42 +0000 (17:32 +0300)]
Fix the build with libzstd 1.4.10 and 1.5.0.

3 years agoBump to 1.2.1
Jonathan Dieter [Sat, 12 Mar 2022 16:51:28 +0000 (16:51 +0000)]
Bump to 1.2.1

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge branch 'fix_size_limit'
Jonathan Dieter [Sat, 12 Mar 2022 16:49:48 +0000 (16:49 +0000)]
Merge branch 'fix_size_limit'

3 years agoFix memory leak
Jonathan Dieter [Sat, 12 Mar 2022 16:48:28 +0000 (16:48 +0000)]
Fix memory leak

In the index, we were leaking the uncompressed digest, so this commit fixes
that.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoFix size limit in zck.c
Jonathan Dieter [Sat, 12 Mar 2022 14:27:19 +0000 (14:27 +0000)]
Fix size limit in zck.c

Up to now zck.c reads the whole file into memory and then sends it to
zck_write to actually compress.  This is highly inefficient, but was done
to simplify dealing with a string separator.  This commit fixes this by
reading the file in chunks, and, if using a string separator, keeps track
of the matching bytes from chunk to chunk.

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #70 from zchunk/1.2.0
Jonathan Dieter [Sun, 20 Feb 2022 17:07:24 +0000 (17:07 +0000)]
Merge pull request #70 from zchunk/1.2.0

Release zchunk 1.2.0 with the following changes:
 * Now builds for Windows
 * Can set `--uncompressed` flag when creating zchunk files to also store uncompressed digests
 * `zck_read_header` now indicates whether there's a dictionary and what flags are enabled in the zchunk file
 * Minimum meson version required to build zchunk is now 0.53
 * Switched to use GitHub actions for automated testing
 * Added the following automated test environments:
   * `centos-8-stream`
   * `centos-9-stream`
   * `ubuntu-lts`
   * `windows`, both using Mamba and meson-wrap
   * `macos`

3 years agoRelease 1.2.0
Jonathan Dieter [Sun, 20 Feb 2022 16:54:46 +0000 (16:54 +0000)]
Release 1.2.0

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoRemove unnecessary Jenkinsfiles
Jonathan Dieter [Sun, 20 Feb 2022 16:48:05 +0000 (16:48 +0000)]
Remove unnecessary Jenkinsfiles

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoAdd support for detached headers
Jonathan Dieter [Sat, 5 Feb 2022 17:02:13 +0000 (17:02 +0000)]
Add support for detached headers

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoAdd extra data to zck_read_header
Jonathan Dieter [Sat, 5 Feb 2022 16:09:31 +0000 (16:09 +0000)]
Add extra data to zck_read_header

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMake clear that compressed chunk checksum can be 0s
Jonathan Dieter [Sat, 5 Feb 2022 16:08:45 +0000 (16:08 +0000)]
Make clear that compressed chunk checksum can be 0s

Also, fix a small bug

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoDon't set full-file checksums when using uncompressed sources
Jonathan Dieter [Thu, 27 Jan 2022 21:05:18 +0000 (21:05 +0000)]
Don't set full-file checksums when using uncompressed sources

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoFix types when printing
Jonathan Dieter [Sat, 5 Feb 2022 16:26:08 +0000 (16:26 +0000)]
Fix types when printing

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #65 from wolfv/print_only_length_chars
Jonathan Dieter [Mon, 17 Jan 2022 21:41:44 +0000 (21:41 +0000)]
Merge pull request #65 from wolfv/print_only_length_chars

Print only length characters

3 years agoMerge pull request #68 from zchunk/fix-meson-0.53
Jonathan Dieter [Mon, 17 Jan 2022 20:39:23 +0000 (20:39 +0000)]
Merge pull request #68 from zchunk/fix-meson-0.53

Fix meson build problems in Ubuntu

3 years agoAdd CentOS 8 and CentOS 9 tests
Jonathan Dieter [Mon, 17 Jan 2022 20:35:22 +0000 (20:35 +0000)]
Add CentOS 8 and CentOS 9 tests

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoFix build for meson 0.53
Jonathan Dieter [Mon, 17 Jan 2022 20:11:55 +0000 (20:11 +0000)]
Fix build for meson 0.53

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoAdd tests for Ubuntu LTS
Jonathan Dieter [Mon, 17 Jan 2022 20:06:27 +0000 (20:06 +0000)]
Add tests for Ubuntu LTS

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoprint only length characters
Wolf Vollprecht [Wed, 12 Jan 2022 14:18:12 +0000 (15:18 +0100)]
print only length characters

3 years agoMerge pull request #63 from wolfv/pre-commit
Jonathan Dieter [Mon, 10 Jan 2022 21:28:05 +0000 (21:28 +0000)]
Merge pull request #63 from wolfv/pre-commit

pre-commit config & github linter CI

3 years agoMerge pull request #64 from zchunk/fix-wrap
Jonathan Dieter [Mon, 10 Jan 2022 21:26:59 +0000 (21:26 +0000)]
Merge pull request #64 from zchunk/fix-wrap

Add test for meson-wrap

3 years agoinstall pre-commit from pip
Wolf Vollprecht [Mon, 10 Jan 2022 07:02:47 +0000 (08:02 +0100)]
install pre-commit from pip

3 years agoAdd `libzck_dep` so other projects can use this as a subproject
Jonathan Dieter [Sun, 9 Jan 2022 22:05:34 +0000 (22:05 +0000)]
Add `libzck_dep` so other projects can use this as a subproject

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoPass zcklib into `pkg_mod` as first argument to simplify things
Jonathan Dieter [Sun, 9 Jan 2022 21:06:00 +0000 (21:06 +0000)]
Pass zcklib into `pkg_mod` as first argument to simplify things

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoSimplify use of disabler
Jonathan Dieter [Sun, 9 Jan 2022 20:55:21 +0000 (20:55 +0000)]
Simplify use of disabler

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoAttempt to fix zstd wrap dependency detection
Jonathan Dieter [Sun, 9 Jan 2022 20:25:09 +0000 (20:25 +0000)]
Attempt to fix zstd wrap dependency detection

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agozstd doesn't build in msvc, so use gcc when building with wrapped zstd
Jonathan Dieter [Sun, 9 Jan 2022 20:15:54 +0000 (20:15 +0000)]
zstd doesn't build in msvc, so use gcc when building with wrapped zstd

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMake libcurl optional
Jonathan Dieter [Sun, 9 Jan 2022 20:12:14 +0000 (20:12 +0000)]
Make libcurl optional

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoUse meson features to simplify dependency checking
Jonathan Dieter [Sun, 9 Jan 2022 19:49:28 +0000 (19:49 +0000)]
Use meson features to simplify dependency checking

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoAdd test for meson-wrap
Jonathan Dieter [Sun, 9 Jan 2022 12:57:00 +0000 (12:57 +0000)]
Add test for meson-wrap

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoadd pre-commit lint environment
Wolf Vollprecht [Sun, 9 Jan 2022 12:19:26 +0000 (13:19 +0100)]
add pre-commit lint environment

3 years agoChange workflow name
Jonathan Dieter [Sat, 8 Jan 2022 23:28:09 +0000 (23:28 +0000)]
Change workflow name

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #62 from zchunk/github-actions-autotest
Jonathan Dieter [Sat, 8 Jan 2022 23:21:14 +0000 (23:21 +0000)]
Merge pull request #62 from zchunk/github-actions-autotest

Update README.md to point to new CI location

3 years agoUpdate README.md to point to new CI location
Jonathan Dieter [Sat, 8 Jan 2022 23:19:42 +0000 (23:19 +0000)]
Update README.md to point to new CI location

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #61 from zchunk/github-actions-autotest
Jonathan Dieter [Sat, 8 Jan 2022 23:15:13 +0000 (23:15 +0000)]
Merge pull request #61 from zchunk/github-actions-autotest

Switch to GitHub actions for container CI

3 years agoSplit different os's into different jobs and add missing containers
Jonathan Dieter [Sat, 8 Jan 2022 23:04:28 +0000 (23:04 +0000)]
Split different os's into different jobs and add missing containers

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoSwitch to using GitHub actions for container CI
Jonathan Dieter [Sat, 8 Jan 2022 22:33:08 +0000 (22:33 +0000)]
Switch to using GitHub actions for container CI

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #60 from zchunk/fix-argp-alpine
Jonathan Dieter [Sat, 8 Jan 2022 22:03:58 +0000 (22:03 +0000)]
Merge pull request #60 from zchunk/fix-argp-alpine

Verify that include directory exists before trying to include it

3 years agoVerify that include directory exists before trying to include it
Jonathan Dieter [Sat, 8 Jan 2022 21:57:24 +0000 (21:57 +0000)]
Verify that include directory exists before trying to include it

Note that this also bumps the minimum meson version to 0.53.0

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
3 years agoMerge pull request #54 from wolfv/win
Jonathan Dieter [Sat, 8 Jan 2022 21:32:34 +0000 (21:32 +0000)]
Merge pull request #54 from wolfv/win

Support for Windows

3 years agocheck that malloc succeeds and use safe strcpy/strcat
Wolf Vollprecht [Sat, 8 Jan 2022 16:10:52 +0000 (17:10 +0100)]
check that malloc succeeds and use safe strcpy/strcat

3 years agofix file end newlines with pre-commit
Wolf Vollprecht [Sat, 8 Jan 2022 15:39:30 +0000 (16:39 +0100)]
fix file end newlines with pre-commit

3 years agounify order of ZCK_PUBLIC_API
Wolf Vollprecht [Sat, 8 Jan 2022 14:25:40 +0000 (15:25 +0100)]
unify order of ZCK_PUBLIC_API

3 years agofix another newline
Wolf Vollprecht [Sat, 8 Jan 2022 14:04:47 +0000 (15:04 +0100)]
fix another newline

3 years agono libgen on win
Wolf Vollprecht [Sat, 8 Jan 2022 11:35:07 +0000 (12:35 +0100)]
no libgen on win

3 years agoadd newlines, fix up zck_dl, other review changes
Wolf Vollprecht [Sat, 8 Jan 2022 11:25:00 +0000 (12:25 +0100)]
add newlines, fix up zck_dl, other review changes

3 years agouse LOG_ERROR as logging shorthand in utils and tests
Wolf Vollprecht [Fri, 7 Jan 2022 09:06:19 +0000 (10:06 +0100)]
use LOG_ERROR as logging shorthand in utils and tests

3 years agofix win
Wolf Vollprecht [Thu, 6 Jan 2022 19:32:48 +0000 (20:32 +0100)]
fix win

3 years agosupport older meson, fix macos
Wolf Vollprecht [Thu, 6 Jan 2022 17:32:22 +0000 (18:32 +0100)]
support older meson, fix macos

3 years agoescape angle brackets on Windows
Wolf Vollprecht [Thu, 6 Jan 2022 16:43:42 +0000 (17:43 +0100)]
escape angle brackets on Windows

3 years agoadd .gitattributes to force LF line endings on Windows for test files
Wolf Vollprecht [Thu, 6 Jan 2022 15:35:01 +0000 (16:35 +0100)]
add .gitattributes to force LF line endings on Windows for test files

3 years agofix copy_chunks
Wolf Vollprecht [Thu, 6 Jan 2022 13:58:50 +0000 (14:58 +0100)]
fix copy_chunks

3 years agofix shacheck for windows
Wolf Vollprecht [Thu, 6 Jan 2022 09:24:39 +0000 (10:24 +0100)]
fix shacheck for windows

3 years agostart running tests on win
Wolf Vollprecht [Thu, 6 Jan 2022 08:06:31 +0000 (09:06 +0100)]
start running tests on win

3 years agoadd fcntl.h header for win
Wolf Vollprecht [Thu, 6 Jan 2022 08:04:49 +0000 (09:04 +0100)]
add fcntl.h header for win

3 years agofix up get_tmp_fd for windows
Wolf Vollprecht [Thu, 6 Jan 2022 08:03:03 +0000 (09:03 +0100)]
fix up get_tmp_fd for windows

3 years agofix tests
Wolf Vollprecht [Wed, 5 Jan 2022 20:50:40 +0000 (21:50 +0100)]
fix tests

3 years agomake tests build on Windows
Wolf Vollprecht [Wed, 5 Jan 2022 17:09:24 +0000 (18:09 +0100)]
make tests build on Windows

3 years agoRun CI on Windows
Wolf Vollprecht [Tue, 4 Jan 2022 17:59:17 +0000 (18:59 +0100)]
Run CI on Windows

3 years agobuild dll on Windows
Wolf Vollprecht [Wed, 15 Dec 2021 15:12:19 +0000 (16:12 +0100)]
build dll on Windows

3 years agoMerge pull request #59 from eli-schwartz/wraps
Jonathan Dieter [Thu, 6 Jan 2022 22:03:14 +0000 (22:03 +0000)]
Merge pull request #59 from eli-schwartz/wraps

Support meson wraps

3 years agomeson: add subproject fallback for zstd
Eli Schwartz [Wed, 5 Jan 2022 04:45:20 +0000 (23:45 -0500)]
meson: add subproject fallback for zstd

installed via the command:

```
meson wrap install zstd
```

This file does nothing, unless a dependency cannot be found; in that
case, instead of failing, meson will download a private copy of the
dependency and build + link to that instead.

(This is especially common on Windows, where managing dependencies
without a package manager can be difficult.)

Alternatively, users interested in specifically building a statically
linked / portable executable can configure meson with
`--wrap-mode=forcefallback` to prefer the private copy.

3 years agomeson: fix incorrect use of global arguments to set symbol visibility
Eli Schwartz [Wed, 5 Jan 2022 04:42:03 +0000 (23:42 -0500)]
meson: fix incorrect use of global arguments to set symbol visibility

add_global_arguments applies to all subprojects, or more usually, fails.
The meson docs suggest that add_project_arguments is probably preferable
for this reason.

However, in this case it should only be applied to a single library as a
workaround for supporting older versions of meson. Move it to a
per-target c_args instead, for the same effect.

3 years agoMerge pull request #56 from wolfv/add_gh_action
Jonathan Dieter [Tue, 4 Jan 2022 17:30:58 +0000 (17:30 +0000)]
Merge pull request #56 from wolfv/add_gh_action

Add github action

3 years agoadd openssl explicitly
Wolf Vollprecht [Tue, 4 Jan 2022 17:03:01 +0000 (18:03 +0100)]
add openssl explicitly

3 years agoadd github action
Wolf Vollprecht [Wed, 22 Dec 2021 18:04:04 +0000 (19:04 +0100)]
add github action

3 years agoMerge pull request #58 from dirkmueller/main
Jonathan Dieter [Mon, 3 Jan 2022 20:52:19 +0000 (20:52 +0000)]
Merge pull request #58 from dirkmueller/main

Add expected sha256sums for zstd 1.5.1+ release (Fixes #57)