Alexander Iljin
27d38225f4
checksums: inherit checksum-state from disposable
...
This allows the inherited tuples, including block-checksum-state, to be
treated like the normal disposable tuples, instead of imitating only part
of the interface.
2020-07-29 17:42:02 +00:00
Doug Coleman
32410ebca7
Windows: Handle three places where Windows line endings break the tests.
...
Usually we check out with Unix line endings, but if you don't set this
option, then get adds extra newlines to text files. Since there are
only three places, let's just fix them.
Fixes #2276
2020-04-12 00:05:44 -05:00
Doug Coleman
357d504719
tests: Don't depend on license.txt not changing.
...
It's probably bad to have the year in the license file, but it's worse to depend on
the license never changing.
Add a dummy file to crc32, and for multi checksums, the file we were checksumming is
not really integral to the test since it's read into a buffer first.
2019-03-23 13:00:52 -05:00
John Benediktsson
1e0ae925f0
checksums: fix doctest for checksum-file.
2018-01-18 22:24:24 -08:00
Doug Coleman
77492bb4b3
factor: fix tests that depended on LICENSE.txt never changing.
2017-12-17 21:45:10 -06:00
Doug Coleman
e189954ecc
core: Rename iota to <iota> so we can have TUPLE: iota ... ; instead of TUPLE: iota-tuple ... ;
2017-06-02 11:57:05 -05:00
Doug Coleman
7c7bb93c55
factor: Rename GENERIC# to GENERIC#:.
...
Fixes #1670 .
2017-06-01 13:58:58 -05:00
Alexander Iljin
3cfc4c69ff
checksums-docs: add link to checksums.process-docs
2016-09-19 20:18:06 -07:00
John Benediktsson
851398898b
checksums.crc32: verify checksum-state is working.
2016-08-02 13:16:30 -07:00
John Benediktsson
55df8437df
checksums: fix stack effect of with-checksum-state.
2016-08-02 10:58:48 -07:00
John Benediktsson
1b54f0a434
checksums: make checksum-state implement dispose.
2016-08-01 15:46:30 -07:00
John Benediktsson
83a7592a86
checksums: making "checksum-state" a universal concept.
...
I'm not super happy with the design yet, partly because OpenSSL doesn't
subclass ``checksum-state`` so all ``initialize-checksum-state`` will not
return a ``checksum-state`` instance. That could maybe be changed by making
``checksum-state`` a mixin, or perhaps some other way.
2016-07-30 09:31:10 -07:00
John Benediktsson
180bb32e86
checksums: remove doc for stream-checksum.
2016-06-30 12:34:36 -07:00
John Benediktsson
2255d6d876
checksums: some cleanup.
...
- define checksum-bytes and checksum-stream in terms of each other
- delete stream-checksum now that it's no longer needed
- move checksum-state stuff into checksums.common
- add a block-checksum that uses the checksum-state stuff
- change checksums.openssl to not use the checksum-state
2016-06-30 12:30:58 -07:00
Alexander Iljin
66b9770f77
checksums: make add-checksum-bytes a generic word
2016-06-29 14:17:57 -07:00
Alexander Iljin
c054cb7a78
checksums-docs: add note on using checksums.stream
2016-06-29 14:17:57 -07:00
Alexander Iljin
0c56a7cec1
checksums-docs: fix heading in checksum-file
2016-06-29 14:17:57 -07:00
Doug Coleman
c133c16377
core: Trim using lists from -tests and clean up a few irregularities.
2016-03-30 18:43:41 -07:00
John Benediktsson
0d2859124e
checksums: remove hex-string in favor of math.parser:bytes>hex-string.
2016-03-21 21:06:22 -07:00
Doug Coleman
d4b8e44399
license rename: fix the rest of it.
2016-03-17 02:36:34 -07:00
John Benediktsson
90ac4ab9f6
checksums: speedup add-checksum-bytes by using the slice.
2015-12-30 09:40:58 -08:00
John Benediktsson
e477f6996f
Fix comments to be ! not #!.
2015-09-08 16:15:10 -07:00
Doug Coleman
1fcf96cada
factor: remove """ string syntax for now. there are HEREDOC:, STRING:, escaping \", and something else soon.
2015-07-25 22:59:56 -07:00
Doug Coleman
43d6f1d3e2
factor: Retrying on the unit tests. Also normalize some syntax with FUNCTION:.
2015-07-02 17:28:17 -07:00
Doug Coleman
59f3b1ea57
Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
...
Needs a bit more work.
This reverts commit 7e54cc2824
.
2015-07-02 13:47:06 -07:00
Doug Coleman
7e54cc2824
factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!
2015-07-02 11:36:08 -07:00
Doug Coleman
999aa7c897
factor: clean up spaces in -tests files
2015-07-02 10:34:01 -07:00
Doug Coleman
e3cb325040
factor: clean up whitespace in -docs files
2015-07-02 10:31:22 -07:00
Doug Coleman
964cbf894b
core/basis: Trim or reorganize a few using lists. Playing around with auto-use restarts and private words.
2014-10-27 13:39:30 -07:00
John Benediktsson
73d65aacb3
core: update some help $value types.
2014-05-23 14:24:04 -07:00
John Benediktsson
59677102b6
checksums: simplify add-checksum-bytes.
2014-02-17 18:25:51 -08:00
John Benediktsson
5487480126
core: cleanup USING lists.
2013-03-05 10:34:47 -08:00
Doug Coleman
3ba787b277
core/basis: trim down using lists
2011-11-30 23:15:42 -08:00
Joe Groff
943596575a
use radix literals
2011-11-23 19:03:40 -08:00
otoburb
8c680aa06f
Checksums help article update: Added internet checksums brief description
2011-03-23 03:51:55 +00:00
Doug Coleman
9fea67f3ff
triyng to rice crc32 a bit
2009-12-13 02:03:06 -06:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Doug Coleman
bc5807b20a
add examples to checksums docs
2009-09-30 02:26:32 -05:00
Doug Coleman
98546d6c8f
fix checksum protocol -- was hardcoded to a block size of 64
2009-09-28 18:58:20 -05:00
Doug Coleman
3f3d57032b
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
Doug Coleman
eb61ffc56d
use itoa in more places
2009-08-02 18:18:31 -05:00
Doug Coleman
4eab045deb
add nth-unsafe to sequences.private, making md5 faster
2009-05-18 00:24:24 -05:00
Doug Coleman
bd8673f766
fix multiple using warning in stage1, core can't use io.encodings.binary
2009-05-17 18:05:46 -05:00
Doug Coleman
b352bbdc12
move sha1 and sha2 to checksums.sha, update usages
2009-05-17 17:58:36 -05:00
Doug Coleman
f1f1a26b60
working on hmac
2009-05-17 12:45:20 -05:00
Doug Coleman
0bdccdb7ac
checksums work now
2009-05-16 18:00:56 -05:00
Doug Coleman
d1468a33d1
dont use fry in core
2009-05-16 15:17:20 -05:00
Doug Coleman
e870214016
working on checksums
2009-05-16 13:03:09 -05:00
Doug Coleman
249601618b
remove >bignum in crc32 -- 2x faster on both 32 and 64bit
2009-05-04 21:27:14 -05:00
Doug Coleman
0ad6d1fb7b
add a few usages of iota, remove most 1+ and 1- from core
2009-05-01 19:58:24 -05:00