84 Commits

Author SHA1 Message Date
Brian Warner
2d832efa64 fec: add test for mathutil 2007-04-16 12:01:58 -07:00
Brian Warner
8e9d090bdb fec: remove unused mathutil.linear_fit_slope 2007-04-16 11:51:36 -07:00
Brian Warner
8aa2694595 fec.util.mathutil.permute: fix docstring 2007-04-16 11:51:04 -07:00
Zooko O'Whielacronx
0f54468f66 pyfec: bump version number to 1.0.0a1-2-STABLE 2007-04-15 12:08:12 -07:00
Zooko O'Whielacronx
278f9ad5c9 pyfec: add mention of sha256sum to README 2007-04-15 12:07:35 -07:00
Zooko O'Whielacronx
b4e25737ff pyfec: bump the performance measurement bragging up higher in the README 2007-04-14 18:03:54 -07:00
Zooko O'Whielacronx
625f230954 pyfec: bump version number to 1.0.0a1-1-STABLE 2007-04-14 17:50:40 -07:00
Zooko O'Whielacronx
2d9f728e27 pyfec: add -f option to fec, add more user-friendly handling of filesystem errors and user errors 2007-04-14 17:48:32 -07:00
Zooko O'Whielacronx
502c979307 pyfec: add bragging about how fec is way faster than "par2" 2007-04-14 17:47:48 -07:00
Zooko O'Whielacronx
049d8d1576 pyfec: more progress indicators, handling of already-existent outfile 2007-04-14 16:00:59 -07:00
Zooko O'Whielacronx
554be1ba6a pyfec: argparse: add a feature of exclusivecreate to the argparse FileType 2007-04-14 16:00:33 -07:00
Zooko O'Whielacronx
c5c7605d54 pyfec: argparse: simplify 2007-04-14 15:43:41 -07:00
Zooko O'Whielacronx
7bc14c45ee pyfec: fix up docs, version numbers, bump version to 1.0.0a1-0-STABLE 2007-04-14 12:54:51 -07:00
Zooko O'Whielacronx
f9b0ea3416 pyfec: update README and bump version number to 0.9.9-0-STABLE 2007-04-14 12:02:18 -07:00
Zooko O'Whielacronx
ee66b02989 pyfec: add bin/fec and bin/unfec, do better handling and reporting of various errors 2007-04-14 12:00:10 -07:00
Zooko O'Whielacronx
7c3b35d286 pyfec: new filefec with compressed metadata, better error handling, much better unit tests 2007-04-14 11:19:24 -07:00
Zooko O'Whielacronx
2bd0a2c3a1 pyfec: import a copy of the argparse module 2007-04-14 11:05:54 -07:00
Zooko O'Whielacronx
7aba6f1dd7 pyfec: import a copy of mathutil.py from the pyutil library 2007-04-14 10:54:43 -07:00
Zooko O'Whielacronx
2d858d8a6d pyfec: import a copy of fileutil.py from the pyutil library 2007-04-14 10:54:02 -07:00
Zooko O'Whielacronx
89f036c012 pyfec: add easyfec.Decoder(), which is easier to use than fec.Decoder() 2007-04-14 10:52:45 -07:00
Zooko O'Whielacronx
50353b982b pyfec: tighten internal datatype from int to short and undo attempt to make it unsigned (Python doesn't do unsigned short) 2007-04-14 10:51:48 -07:00
Zooko O'Whielacronx
3a2056a16f give it a version number -- v0.9
I intend to bump it to 1.0 after adding the cmdline tools.
2007-04-11 10:49:33 -07:00
Zooko O'Whielacronx
8a86d3edc3 import Version from pyutil 2007-04-11 10:48:44 -07:00
Zooko O'Whielacronx
c8b1eec75a merge changes and fix wrong type -- k and m need more than 8 bits (because they are the count rather than the index, i.e. they are 1-indexed) 2007-04-11 10:34:27 -07:00
Zooko O'Whielacronx
1b23579715 pyfec: make unit test failures print out a few useful bytes instead of kibibytes 2007-01-31 19:02:57 -07:00
Zooko O'Whielacronx
18de69456c pyfec: add variant of randomized test which happens to match the interface to benchutil 2007-01-31 22:55:28 -07:00
Zooko O'Whielacronx
367faeef6a pyfec: make randomized unit tests more comprehensive 2007-01-31 19:02:24 -07:00
Zooko O'Whielacronx
7b9630d59c pyfec: tighten internal C types 2007-01-31 13:55:31 -07:00
Zooko O'Whielacronx
10530a25bc pyfec: fix precondition checks on k and m to actually check the value before coercing it into a smaller type (oops) 2007-01-31 19:01:40 -07:00
Zooko O'Whielacronx
9c50c156dd pyfec: loosen preconditions -- you can have up to 256 total shares, not up to 255 total shares 2007-01-31 16:53:16 -07:00
Zooko O'Whielacronx
bed10d200b pyfec: tidy-up: #include the appropriate header 2007-04-09 16:16:18 -07:00
Brian Warner
5233805637 pyfec: trial-ize the unit tests, making sure to keep working if trial is unavailable 2007-04-06 18:16:50 -07:00
Zooko O'Whielacronx
50e977a7c6 pyfec: rename and clarify -- "blocks" are the units of input/output of the codec, "shares" are sequences of blocks (used to process arbitrary-length files) 2007-03-30 11:52:43 -07:00
Zooko O'Whielacronx
6dbb341d29 pyfec: more thanks to Brian 2007-03-28 15:22:51 -07:00
Brian Warner
96db9afb20 pyfec: fix another error path, combine the type-level docstring with the (hitherto unlinked) init docstring 2007-03-28 13:09:53 -07:00
Brian Warner
bac74e4353 pyfec: fix some error-checking, add more unit tests 2007-03-28 12:53:12 -07:00
Zooko O'Whielacronx
4e86a6df76 pyfec: correctly handle wrongly typed input by raising exception 2007-03-27 23:53:32 -07:00
Zooko O'Whielacronx
af180b00a7 pyfec: fix bug in easyfec 2007-03-27 22:56:45 -07:00
Zooko O'Whielacronx
3c5d50797f pyfec: add easyfec wrapper which takes a single string and splits it into input shares and pads, then passes it on to the inner fec object 2007-03-27 20:14:30 -07:00
Zooko O'Whielacronx
f3831d979c pyfec: add documentation, assertion, licence information 2007-03-27 20:14:06 -07:00
Zooko O'Whielacronx
fd7fa89963 pyfec: add benchmark measurement on my cool new MacBook Pro 2007-03-27 18:18:39 -07:00
Zooko O'Whielacronx
022b5af4ac add verbosity option to bench 2007-03-27 17:42:59 -07:00
Zooko O'Whielacronx
ad52a1bf9a add link to mailing list 2007-03-07 00:30:17 -07:00
Peter Secor
4cb6c7b16b pyfec repository description of how to download the code via darcs 2007-03-06 23:29:08 -07:00
Zooko O'Whielacronx
80fb94da65 pyfec: version number bump to v0.99 2007-02-01 15:52:35 -07:00
Zooko O'Whielacronx
2428c5f8e0 pyfec: add ACK and TODO 2007-02-01 15:49:15 -07:00
Zooko O'Whielacronx
e02febc433 pyfec: add TODO 2007-02-01 10:37:48 -07:00
Zooko O'Whielacronx
ca4fce82e9 pyfec: fix typo in unit test 2007-02-01 10:28:46 -07:00
Zooko O'Whielacronx
8f17174cb8 pyfec: fix preconditions and typing, remove unused error-checking, tidy-up naming and documentation 2007-02-01 00:03:25 -07:00
Zooko O'Whielacronx
1eccff29ff pyfec: licensing tweak 2007-01-31 13:54:20 -07:00