Commit Graph

65 Commits (b6dfdcb9095e3087e7aa657377f82d0a5a2b5218)

Author SHA1 Message Date
Slava Pestov df4fb4a3ee Removing integers-as-sequences 2010-01-15 07:15:33 +13:00
Slava Pestov 0612bc6177 Factor source files should not be executable 2009-11-21 17:50:43 -06:00
Joe Groff 6e1bffb1c5 update existing code to use :> ( ) when possible 2009-10-28 16:11:33 -05:00
Doug Coleman 67167cf9ea Merge branch 'docs' of git://github.com/klazuka/factor into klazuka
Conflicts:
	basis/math/vectors/vectors-docs.factor
2009-10-02 15:58:45 -05:00
Keith Lazuka 405e5d015b docs: change $subsection to $subsections 2009-10-02 12:15:48 -04:00
Doug Coleman 34c4bd6d8f add a using 2009-10-01 17:07:57 -05:00
Doug Coleman 5c972d9679 check that the length of checksum-lines is correct for md 2009-10-01 13:48:28 -05:00
Slava Pestov 74a72ce17c checksums.openssl: use correct API for creating EVP_MD_CTX, fixes crash on NetBSD 2009-09-22 23:54:42 -05:00
Joe Groff e6bc708882 update openssl.libcrypto structs 2009-09-18 17:50:20 -05:00
Joe Groff 076ab42dc3 move some allocation words that don't really have much to do with c types out of alien.c-types into a new alien.data vocab 2009-09-17 22:36:05 -05:00
Slava Pestov 7f2e2b1777 Specialized array overhaul
- Replace hand-written specialized-arrays.* subvocabularies with new system; instead of USE:ing specialized-arrays.T, do SPECIALIZED-ARRAY: T
- Ditto for specialized-vectors; use SPECIALIZED-VECTOR:
- io.mmap.functor: removed entirely, use <mapped-array> instead
- struct-arrays and struct-vectors have been removed because specialized arrays and vectors subsume them entirely
2009-09-09 22:33:34 -05:00
Slava Pestov b2a1858f8f Move a few more things over to new disposable protocol 2009-08-24 20:33:27 -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
Alaric Snell-Pym 8dacd82707 FNV1 and FNV1a hashes implemented for 32, 64, 128, 256, 512, and 1024 bit widths. 2009-08-02 18:16:55 +01:00
Doug Coleman 785c341c9b 50% speedup using unsafe nth/set-nth/exchange in checksums.sha 2009-06-21 00:58:36 -05:00
Doug Coleman 38a8e80ba9 unbackwardsify hmac keys 2009-05-26 17:46:41 -05:00
Slava Pestov 6061b68b0d checksums.md5: make the new optimized code work with big endian CPUs 2009-05-23 00:31:52 -05:00
Doug Coleman 4489346f69 speed up md5 compilation time by not inlining everything 2009-05-19 18:05:04 -05:00
Doug Coleman 4eab045deb add nth-unsafe to sequences.private, making md5 faster 2009-05-18 00:24:24 -05:00
Doug Coleman 349adff19e fix checksum test -- short circuit so correct error is reported 2009-05-17 20:32:43 -05:00
Doug Coleman 70020d59bd add some unit tests testing get-checksum 2009-05-17 18:41:15 -05:00
Doug Coleman b352bbdc12 move sha1 and sha2 to checksums.sha, update usages 2009-05-17 17:58:36 -05:00
Doug Coleman e342082722 fix sha1 2009-05-17 17:50:31 -05:00
Doug Coleman ee6a8e78e7 generalize sha1-interleave and move it to its own vocabulary 2009-05-17 13:49:56 -05:00
Doug Coleman f1f1a26b60 working on hmac 2009-05-17 12:45:20 -05:00
Doug Coleman b2ac4396c1 sha2 now uses the incremental checksum protocol 2009-05-17 11:03:04 -05:00
Doug Coleman 0bdccdb7ac checksums work now 2009-05-16 18:00:56 -05:00
Doug Coleman b819f9d11c Merge branch 'master' into checksums 2009-05-16 14:06:39 -05:00
Doug Coleman e870214016 working on checksums 2009-05-16 13:03:09 -05:00
Slava Pestov 66a9416473 Update documentation for stricter vocabulary search path semantics 2009-05-16 00:29:21 -05:00
Slava Pestov b62630b5ac Updating code in basis and extra for stricter vocab search path semantics 2009-05-14 23:23:06 -05:00
Doug Coleman bee3c05fe9 working on checksums 2009-05-11 11:37:21 -05:00
Doug Coleman 6dabec9ed8 md5 stores state in a tuple now 2009-05-10 23:06:33 -05:00
U-C4\Administrator 052a0931d3 moving md5 state to a tuple, redoing hmac 2009-05-10 20:42:20 -05:00
Doug Coleman b4108c21f0 working on sha2 2009-05-10 12:18:59 -05:00
Doug Coleman c0a3ef631a implementing sha2 512 2009-05-08 19:00:06 -05:00
Doug Coleman 5451d8f976 support sha-224, add constants for all sha2 2009-05-08 18:11:13 -05:00
Doug Coleman 884fdc8ceb remove dynamic variables from sha2 2009-05-08 17:39:11 -05:00
Doug Coleman 3292ceaf46 move sha2 state to a tuple 2009-05-08 17:18:43 -05:00
Doug Coleman 0fe5aaf5f8 more refactoring on sha2 2009-05-08 10:52:25 -05:00
Doug Coleman 3f5e93d29a more refactoring on sha2 2009-05-08 10:04:31 -05:00
Doug Coleman 660bb079ae cleaning up sha2 2009-05-08 09:51:57 -05:00
Doug Coleman 90d40a7650 calculate a magic number in md5 2009-04-25 19:22:46 -05:00
Slava Pestov 4426526252 Fixing some things I broke 2009-02-25 23:30:30 -06:00
Slava Pestov 1951d739a0 Stack effect declarations are mandatory on all words now
define-temp now takes an effect parameter
Fix compiler bug that Dan found
Stricter enforcement of * effects
Move compile-call from compiler.units to compiler
2009-02-23 20:27:05 -06:00
Doug Coleman 990513db60 use CONSTANT: in basis 2009-02-22 19:13:08 -06:00
Slava Pestov 6b25e99470 Add summary for heaps more vocabs 2009-02-16 21:05:13 -06:00
Doug Coleman 3c408342ef renaming: contain? -> any?, deep-contains? -> deep-any?, pad-left -> pad-head, pad-right -> pad-tail, trim-left -> trim-head, trim-right -> trim-tail 2009-01-29 22:19:07 -06:00
Slava Pestov f169e62655 Clean up checksums.md5 a little 2009-01-16 12:51:44 -06:00
Doug Coleman 4dd615fa9e Merge branch 'master' of git://factorcode.org/git/factor
Conflicts:
	basis/db/types/types.factor
2008-12-17 21:07:42 -06:00