zchunk.git
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)

3 years agoAdd expected sha256sums for zstd 1.5.1+ release (Fixes #57)
Dirk Müller [Mon, 3 Jan 2022 20:33:02 +0000 (21:33 +0100)]
Add expected sha256sums for zstd 1.5.1+ release (Fixes #57)

4 years agoMerge pull request #52 from martinetd/strict-prototypes
Jonathan Dieter [Thu, 25 Nov 2021 19:30:01 +0000 (19:30 +0000)]
Merge pull request #52 from martinetd/strict-prototypes

fix -Wstrict-prototypes warning

4 years agofix -Wstrict-prototypes warning
Dominique Martinet [Wed, 24 Nov 2021 00:27:04 +0000 (09:27 +0900)]
fix -Wstrict-prototypes warning

function declarations should always explicitly say no argument is expected,
as in C 'foo bar()' means bar can take any parameter.

This was noticed when building another project with -Wall -Wextra and getting
the following warning on installed header:
/usr/include/zck.h:66:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
   66 |     __attribute__ ((warn_unused_result));
      |     ^~~~~~~~~~~~~
/usr/include/zck.h:325:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  325 |     __attribute__ ((warn_unused_result));
      |     ^~~~~~~~~~~~~

4 years agoFix argplib dependency for new test executable (required for Alpine)
Jonathan Dieter [Fri, 12 Nov 2021 22:21:13 +0000 (22:21 +0000)]
Fix argplib dependency for new test executable (required for Alpine)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoDictionary creation should be after compression format is set
Jonathan Dieter [Fri, 12 Nov 2021 22:12:53 +0000 (22:12 +0000)]
Dictionary creation should be after compression format is set

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoMerge branch 'devel'
Jonathan Dieter [Fri, 12 Nov 2021 21:30:55 +0000 (21:30 +0000)]
Merge branch 'devel'

4 years agoMerge branch 'dllogs'
Jonathan Dieter [Fri, 12 Nov 2021 21:28:51 +0000 (21:28 +0000)]
Merge branch 'dllogs'

4 years agoAdd test utility to compare a zck with uncompressed file
Stefano Babic [Fri, 10 Sep 2021 20:48:10 +0000 (22:48 +0200)]
Add test utility to compare a zck with uncompressed file

This utility reads a zck and generates an index from a file, then
compares and output the delta with the chunks that are required.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agoAdd function to generate uthash after write
Stefano Babic [Fri, 10 Sep 2021 20:42:33 +0000 (22:42 +0200)]
Add function to generate uthash after write

uthash are generated only when a zck is read when index is parsed. In
case a comparison is done between a zck and a generated zck, to search
for hash both need to have a uthash database, so add function to create
the database when zck is created.

Add a function to assembly a zck with chunks from another zck (source).
The resulkting zck will contain all chunks from source when the hash
(compressed or not compressed in case the compressors are different)
matches.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agoDo not duplicate index structure for uncompressed
Stefano Babic [Fri, 10 Sep 2021 20:39:01 +0000 (22:39 +0200)]
Do not duplicate index structure for uncompressed

Index is just one, there is no need to duplicate the structure to
support uthash for digest related to the uncompressed data. Drop
index_uncomp and add uthash for uncompressed data.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agoAdd accessor to return associated SRC chunk
Stefano Babic [Fri, 17 Sep 2021 11:15:45 +0000 (13:15 +0200)]
Add accessor to return associated SRC chunk

If a chunk with the same hash is already present on device, it is
recorded in the src pointer. Add accessor to return this chunk.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agoDrop too verbose log in comp.c
Stefano Babic [Sun, 19 Sep 2021 14:10:35 +0000 (16:10 +0200)]
Drop too verbose log in comp.c

If zck_write is called in a loop, a "starting" output is unuseful and
too verbose, removed.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agozck: add option to select chunk hash
Stefano Babic [Fri, 10 Sep 2021 10:08:47 +0000 (12:08 +0200)]
zck: add option to select chunk hash

Hash is set to sha512_128, add an option to choose one of the supported
hashes for chunks.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agozck_log: allow a callback for logging
Stefano Babic [Thu, 16 Sep 2021 10:24:45 +0000 (12:24 +0200)]
zck_log: allow a callback for logging

When zck is used as library, the caller has already its own LOG system.
It is nice to redirect zck's log into the main logger. ZCK can already
write into a fd specified by the user, but this add complexity in case
it cannot be mapped, for example if LOG should be sent to network or is
managed in a different way. iNot only, information like loglevel are
lost.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agocurl-dev requires openssl1.1-compat-dev for the moment
Jonathan Dieter [Wed, 22 Sep 2021 20:03:56 +0000 (21:03 +0100)]
curl-dev requires openssl1.1-compat-dev for the moment

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoMerge pull request #50 from zchunk/cleanup
Jonathan Dieter [Wed, 22 Sep 2021 18:03:57 +0000 (19:03 +0100)]
Merge pull request #50 from zchunk/cleanup

Allow specification of `--compressed-format` in `zck`

4 years agoFix indentation
Jonathan Dieter [Sat, 18 Sep 2021 17:23:31 +0000 (18:23 +0100)]
Fix indentation

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoAdd support for specifying compression-format in zck
Jonathan Dieter [Sat, 18 Sep 2021 16:53:50 +0000 (17:53 +0100)]
Add support for specifying compression-format in zck

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoWhen unknown flags are set, show values of unrecognized flags
Jonathan Dieter [Sat, 18 Sep 2021 16:53:29 +0000 (17:53 +0100)]
When unknown flags are set, show values of unrecognized flags

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoSimplify public function
Jonathan Dieter [Sat, 18 Sep 2021 16:04:47 +0000 (17:04 +0100)]
Simplify public function

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoRemove unneeded digest_size_uncompressed attribute
Jonathan Dieter [Sat, 18 Sep 2021 15:41:47 +0000 (16:41 +0100)]
Remove unneeded digest_size_uncompressed attribute

The uncompressed digest size is the same as the compressed, so no reason
to need an extra attribute

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoRevert "Add a way to disable check of chunk min size"
Jonathan Dieter [Sat, 18 Sep 2021 15:28:18 +0000 (16:28 +0100)]
Revert "Add a way to disable check of chunk min size"

This reverts commit e3fdd8210610ebe21a44a226888b519672e18986.

4 years agoMerge pull request #45 from sbabic/devel
Jonathan Dieter [Thu, 2 Sep 2021 19:49:49 +0000 (20:49 +0100)]
Merge pull request #45 from sbabic/devel

Introduce checksum for uncompressed data in the zchunk header

4 years agoMerge pull request #22 from zchunk/uncompressed_source
Jonathan Dieter [Thu, 2 Sep 2021 19:48:53 +0000 (20:48 +0100)]
Merge pull request #22 from zchunk/uncompressed_source

Add uncompressed source flag to zchunk_format.txt

4 years agobuzhash: change fingerprint to track OOM
Stefano Babic [Tue, 31 Aug 2021 15:02:14 +0000 (17:02 +0200)]
buzhash: change fingerprint to track OOM

Function returns false if an error (OOM from calloc) occurs, and the
output is stored via pointer passed by caller.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agoDrop assert in zrealloc and raise runtime error
Stefano Babic [Tue, 31 Aug 2021 12:43:12 +0000 (14:43 +0200)]
Drop assert in zrealloc and raise runtime error

Most assert in code are useful because they signal a real bug. However,
if allocation on the heap fails, it is a runtime error because system
gets rid of memory. This is more important on embedded systems,
and the caller process cannot exit but it should be informed with return
code and it will decide how to work on.

This drop the assert clause and add error code handling when zrealloc is
called. Because realloc does not touch the original pointer if fails, it
frees memory to avoid leaks.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agoAdd a way to disable check of chunk min size
Stefano Babic [Sat, 28 Aug 2021 14:18:54 +0000 (16:18 +0200)]
Add a way to disable check of chunk min size

The check for chunk size is done on the compressed data.
This forbids to create the same chunk set in case data is not compressed
and comparison is done using the hashes of original data and not of
compressed chunk.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agoAdd a uthash to uncompressed digest
Stefano Babic [Thu, 19 Aug 2021 16:11:02 +0000 (18:11 +0200)]
Add a uthash to uncompressed digest

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agoDrop assert in zmalloc and raise runtime error
Stefano Babic [Tue, 17 Aug 2021 11:21:43 +0000 (13:21 +0200)]
Drop assert in zmalloc and raise runtime error

Most assert in code are useful because they signal a real bug. However,
if allocation on the heap fails, it is a runtime error because system
gets rid of memory. This is more important on embedded systems,
and the caller process cannot exit but it should be informed with return
code and it will decide how to work on.

This drop the assert clause and add error code handling when zmalloc is
called.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agozck_read_header: fix header with uncompressed
Stefano Babic [Mon, 16 Aug 2021 10:38:59 +0000 (12:38 +0200)]
zck_read_header: fix header with uncompressed

If checksum for uncompressed chunk is added to index, resize the header
to take into account that two sha will be printed.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agoAdd size of uncompressed chunk to index
Stefano Babic [Fri, 16 Jul 2021 07:40:35 +0000 (09:40 +0200)]
Add size of uncompressed chunk to index

Size of uncompressed chunk can be used to compare original and detect if
a chunk is required without having to convert it first to a zck file.

Signed-off-by: Stefano Babic <sbabic@denx.de>
4 years agoAdd some clarification as to which sections are flag-dependent
Jonathan Dieter [Mon, 25 Nov 2019 17:45:31 +0000 (17:45 +0000)]
Add some clarification as to which sections are flag-dependent

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoAdd uncompressed source flag to zchunk_format.txt
Jonathan Dieter [Sat, 23 Nov 2019 17:15:53 +0000 (17:15 +0000)]
Add uncompressed source flag to zchunk_format.txt

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoMerge pull request #46 from ppentchev/pp-cppcheck
Jonathan Dieter [Wed, 25 Aug 2021 19:22:04 +0000 (20:22 +0100)]
Merge pull request #46 from ppentchev/pp-cppcheck

Fix three problems reported by the cppcheck tool.

4 years agoOnly declare a variable if it will be used.
Peter Pentchev [Sun, 22 Aug 2021 11:51:49 +0000 (14:51 +0300)]
Only declare a variable if it will be used.

Spotted by: cppcheck

4 years agoCheck the correct value in a test.
Peter Pentchev [Sun, 22 Aug 2021 11:52:18 +0000 (14:52 +0300)]
Check the correct value in a test.

Spotted by: cppcheck

4 years agoProperly detect a read error.
Peter Pentchev [Sun, 22 Aug 2021 11:51:11 +0000 (14:51 +0300)]
Properly detect a read error.

Spotted by: cppcheck

4 years agoBump to 1.1.16
Jonathan Dieter [Mon, 14 Jun 2021 17:50:03 +0000 (18:50 +0100)]
Bump to 1.1.16

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoMerge pull request #44 from fd00/cygwin
Jonathan Dieter [Mon, 14 Jun 2021 17:46:59 +0000 (18:46 +0100)]
Merge pull request #44 from fd00/cygwin

Fix build on cygwin

4 years agoFix build on cygwin
Daisuke Fujimura (fd0) [Sun, 13 Jun 2021 06:10:09 +0000 (15:10 +0900)]
Fix build on cygwin

4 years agoBump to 1.1.15
Jonathan Dieter [Tue, 1 Jun 2021 19:36:49 +0000 (20:36 +0100)]
Bump to 1.1.15

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoFix major bug when compressing with dictionary (and add more tests)
Jonathan Dieter [Tue, 1 Jun 2021 19:35:20 +0000 (20:35 +0100)]
Fix major bug when compressing with dictionary (and add more tests)

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>
4 years agoBump to 1.1.14
Jonathan Dieter [Thu, 20 May 2021 20:18:16 +0000 (21:18 +0100)]
Bump to 1.1.14

Signed-off-by: Jonathan Dieter <jdieter@gmail.com>