Commit Graph

143 Commits (dadff2f062dbb72e66eab24cc6e155b6f56fdff2)

Author SHA1 Message Date
John Benediktsson bbc1406a88 checksums.crc16: fix help-lint error. 2016-08-16 16:30:15 -07:00
John Benediktsson c0dce12ada checksum.internet: add links to both relevant RFC's. 2016-08-16 16:29:37 -07:00
John Benediktsson ad989bf48b checksums.crc16: moving to basis from extra. 2016-08-16 16:21:08 -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
Alexander Iljin 2fd5654473 Add EOL at EOF for all authors.txt files for consistency
In some instances replaced CR/LF with LF.
2016-07-30 09:25:30 -07:00
John Benediktsson 9667ae962e checksums.sha: speedup, still more to do. 2016-07-11 19:51:28 -07:00
John Benediktsson de4495875f checksums.md5: minor thing. 2016-07-11 14:02:33 -07:00
Doug Coleman f7e2f3af79 checksums.common: don't need next-level anymore thanks to cleanup. 2016-07-10 11:40:16 -05:00
John Benediktsson 6b9d6c00c0 checksums.common: simplify add-checksum-bytes. 2016-07-09 20:58:14 -07:00
Doug Coleman 217b7f2b0c checksums: Ugly fix for incremental checksums. Add randomized unit tests to ensure that varying length payloads are the same incrementally or all at once. 2016-07-09 16:59:15 -05:00
Doug Coleman d6d4e0e903 checksums: Really fix... only add the number of extra bytes in the last unchecksummed block. 2016-07-09 14:17:59 -05:00
Doug Coleman 2c5a2e9600 checksums.common: Checksums was calculating the new length based on the entire array, not on the number of recently added bytes.
Reported by Александр Ilin.
2016-07-09 13:53:30 -05:00
John Benediktsson 8d61ace2b4 checksums: fix test using. 2016-06-30 14:47:18 -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
John Benediktsson b6367aba06 checksums.common: some cleanup, remove unused stuff. 2016-06-30 12:30:58 -07:00
John Benediktsson d9f17317e3 checksums.openssl: make evp-md-context private. 2016-06-29 14:31:32 -07:00
John Benediktsson 0feed3c35d checksums.stream: article title must begin with a capital letter. 2016-06-29 14:30:24 -07:00
Alexander Iljin 14f6f920ea checksums.openssl: refactor checksum-stream and checksum-bytes 2016-06-29 14:17:57 -07:00
Alexander Iljin 54b80a4223 checksums.openssl: implement common checksum interface 2016-06-29 14:17:57 -07:00
Alexander Iljin 87e4015976 checksums.stream-docs: initial commit 2016-06-29 14:17:57 -07:00
Doug Coleman 391f8e433f basis: Cleaning up tests using lists and IN: forms. 2016-03-30 20:04:14 -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
John Benediktsson e477f6996f Fix comments to be ! not #!. 2015-09-08 16:15:10 -07:00
John Benediktsson ceb75057da change ERROR: words from throw-foo back to foo. 2015-08-13 16:13:05 -07:00
Doug Coleman b6be8685c3 basis: ERROR: changes. 2015-08-13 03:20:39 -07:00
Doug Coleman 330c7ba156 factor: Removing SLOT: nth/at/global in favor of using change: at for tuple slots named ``at`` and change-at for hashtables.
Redo many FROM: and QUALIFIED: and using lists.
2015-08-12 08:49:02 -05:00
Doug Coleman 2f6548d6d2 factor: fix breakage with word renamings. 2015-07-20 05:51:16 -07:00
Doug Coleman 2c257f399c factor: Rename MACRO: and MACRO: to have quot as the output in stack effects. 2015-07-18 22:16:11 -07:00
John Benediktsson 4cf54117ee checksums.sha: benchmark.sha1 is 15% faster. 2015-07-15 16:54:59 -07:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -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 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson 2bac4a9695 checksums.sha: remove trailing whitespace. 2015-06-06 09:28:01 -07:00
Björn Lindqvist 61ba941740 math.vectors: changes so that some vocabs that can use math.vector words does it 2014-11-17 19:02:12 -08:00
John Benediktsson d3a1ba25a4 Revert "checksums.interleave: Dumb fix for zip change."
This reverts commit 4b8de3ca1e.
2014-11-11 17:56:25 -08:00
Doug Coleman 4b8de3ca1e checksums.interleave: Dumb fix for zip change. 2014-11-08 22:32:36 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
John Benediktsson 8c58b99b1d Revert "openssl: define a startup-hook so that openssl initializes automatically"
This reverts commit 981ea313a0.

Conflicts:
	basis/openssl/openssl.factor
2014-08-05 12:14:53 -07:00
Björn Lindqvist 981ea313a0 openssl: define a startup-hook so that openssl initializes automatically 2014-06-06 14:12:09 -07:00
John Benediktsson 484ae0bca0 checksums.md5: don't inline, use type declarations. 2014-04-22 09:13:02 -07:00
John Benediktsson 04a4e0ed5c checksums.sha: minor speedup. 2014-03-04 10:05:03 -08:00
John Benediktsson dae32f2d9d checksums.internet: simplify. 2014-02-27 14:03:00 -08:00
John Benediktsson 5e4ac4b698 checksums.xxhash: cleanup, faster. 2014-02-27 13:59:34 -08:00
John Benediktsson a05c735731 checksums.md5: remove extra "32 bits". 2014-02-25 15:59:43 -08:00
John Benediktsson 212af2d05d checksums.murmur: remove code duplication. 2014-02-25 15:56:16 -08:00
John Benediktsson 5e210e36b9 checksums.xxhash: adding xxHash checksum implementation. 2014-02-25 15:55:32 -08:00
John Benediktsson 6fd68ecb64 checksums.md5: more types and inline, lots faster. 2014-02-17 18:26:57 -08:00