• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

blake3パッケージ


RSS
Rev. Time Author
cef527c upstream upstream/0.3.4 2020-05-26 22:32:19 dyknon

New upstream version 0.3.4

7f154ce 2020-05-24 03:37:49 Jack O'Connor

version 0.3.4

Changes since 0.3.3:
- `b3sum` now supports the `--check` flag. This is intended to be a
drop-in replacement for e.g. `md5sum --check` from Coreutils. The
behavior is somewhat stricter than Coreutils with respect to invalid
Unicode in filenames. For a complete description of how `--check`
works, see the file `b3sum/what_does_check_do.md`.
- To support the `--check` feature, backslashes and newlines that appear
in filenames are now escaped in the output of `b3sum`. This is done
the same way as in Coreutils.
- To support `--check` interoperability between Unix and Windows,
backslashes in filepaths on Windows are now replaced with forward
slashes in the output of `b3sum`. Note that this is different from
Coreutils.

cd09379 2020-05-24 03:28:10 Jack O'Connor

remove an extra space in some help text

48512ec 2020-05-24 01:46:45 Jack O'Connor

use wild::args_os to support globbing on Windows

c9a1676 2020-05-24 01:27:48 Jack O'Connor

add support for --quiet to `b3sum --check`

Suggested by @llowrey:
https://github.com/BLAKE3-team/BLAKE3/issues/33#issuecomment-629853747

cd43625 2020-05-17 02:29:10 Jack O'Connor

some more clarifications in the --check docs

e1f3043 2020-05-16 05:11:11 Jack O'Connor

clarify the replacement character example

c71d88c 2020-05-16 05:05:18 Jack O'Connor

small typo

e8a868d 2020-05-16 04:58:29 Jack O'Connor

finish the --check documentation

8200545 2020-05-16 02:19:59 Jack O'Connor

link to the test vectors from the README

ae8cf2f 2020-05-15 07:35:31 Jack O'Connor

start documenting the --check flag

5651ce7 2020-05-15 00:32:05 Jack O'Connor

enable clap default features

These are nice to have. I used to think this would increase build times,
but in practice it doesn't.

86d5a13 2020-05-15 00:29:28 Jack O'Connor

clarify that --no-mmap disables threading

1d03c7d 2020-05-15 00:19:31 Jack O'Connor

print per-file errros more gracefuly in --check

11edfb7 2020-05-14 07:45:39 Jack O'Connor

print more compiler version info in CI

c5c07bb 2020-05-14 07:23:59 Jack O'Connor

refactor b3sum to support --check

This is an overall cleanup of everything that b3sum is doing, especially
file opening and memory mapping, which makes it easier for the regular
hashing mode to share code with the checking mode.

5030c0f 2020-05-14 06:47:59 Jack O'Connor

switch from assert_cmd to CARGO_BIN_EXE_*

c6a99db 2020-05-13 06:09:38 Jack O'Connor

add parse_check_line

As part of this, reorganize b3sum tests into src/unit_tests.rs and
tests/cli_tests.rs.

584a665 2020-05-12 22:58:54 Jack O'Connor

stop printing the lossy warning

Rather than breaking the check parse with more output, we'll have a rule
that a Unicode replacement character (�) in a path name automatically
fails the check.

dc2a79d 2020-05-05 13:59:31 Jack O'Connor

add newline and backslash escaping to b3sum output

As proposed in
https://github.com/BLAKE3-team/BLAKE3/issues/33#issuecomment-623153164

This brings b3sum behavior close to md5sum. All occurrences of backslash
are replaced with "\\", and all occurrences of (Unix) newline are
replaced with "\n". In addition, any line containing these escapes has a
single "\" prepended to the front.

Filepaths were already being converted to UTF-8 with to_string_lossy(),
but this commit adds an extra warning when that conversion is in fact
lossy (because the path is not valid Unicode). This new warning is
printed to stdout, with the goal of deliberately breaking --check (which
is not yet implemented) in this case.

4ad79ae 2020-05-04 23:23:03 Jack O'Connor

lower our required version of `cc`

I've tested manually and found that 1.0.4 is the oldest version of `cc`
that builds successfully for us. (Version 1.0.3 is missing the
`is_flag_supported` method.)

This change might help with
https://github.com/BLAKE3-team/BLAKE3/issues/83. That said, the
underlying issue there is related to "minimum supported Rust versions",
and `blake3` does not yet have an MSRV other than latest stable.

0db6fdd 2020-04-29 00:20:39 Jack O'Connor

version 0.3.3

Changes since 0.3.2:
- `b3sum` binaries are built in CI and attached to new GitHub tags.

ba468fb 2020-04-29 00:04:29 Jack O'Connor

build b3sum binaries in CI for new tags

These configs and code are adapted from the CI workflow in
https://github.com/oconnor663/blake3-py, especially the
upload_github_release_asset.py script, which is copied verbatim.

fcb4b83 2020-04-14 14:13:38 Jack O'Connor

version 0.3.2

Changes since 0.3.1:
- Fixed a compiler error on older versions of Clang,
https://github.com/BLAKE3-team/BLAKE3/issues/79.

d5e2653 2020-04-14 09:46:42 Jack O'Connor

refactor build.rs

Two main changes:
- In https://github.com/BLAKE3-team/BLAKE3/issues/79 we learned that
older versions of Clang require AVX-512 flags even to compile AVX-512
assembly.
- If the C compiler doesn't support AVX-512, we'd still prefer to build
the SSE4.1 and AVX2 assembly implementations, on x86_64.

7ef795d 2020-04-12 19:38:11 Samuel Neves

Do not require AVX512DQ

Whereas vinserti64x4 is present on AVX512F, vinserti32x8 requires
AVX512DQ, which we do not test for. At this point there is not
much risk of incompatibility, since Skylake-X chips have all the
requires instruction sets, but let's be precise about this.

370ba36 2020-04-12 12:03:32 Jack O'Connor

print the compiler version in CI, for help with debugging

86c3174 2020-04-11 00:24:39 Jack O'Connor

unbreak neon benchmarks

A helper function was incorrectly restricted to x86-only. CI doesn't
currently cover this, because benchmarks are nightly-only, and it's kind
of inconvenient to set RUSTC_BOOTSTRAP=1 through `cross` (which normally
doesn't propagate env vars). But maybe we should start...

019e870 upstream/0.3.1 2020-04-03 16:24:55 dyknon

New upstream version 0.3.1

e3069da 2020-04-02 23:23:46 Jack O'Connor

only run CI on branches and PRs, not tags