]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/log
tahoe-lafs/zfec.git
17 years agozfec: clarify licensing requirements (transitive grace period)
zooko [Fri, 20 Jul 2007 20:55:46 +0000 (02:25 +0530)]
zfec: clarify licensing requirements (transitive grace period)

darcs-hash:040bbdce524148b6eaffce10eb6d5beed825b69a

17 years agozfec: autogenerate version numbers from darcs history
Zooko O'Whielacronx zooko@zooko.com [Mon, 4 Jun 2007 11:46:52 +0000 (17:16 +0530)]
zfec: autogenerate version numbers from darcs history

darcs-hash:ad97ae58fdd48086d85300ee61d15c81ff2ededf

17 years agozfec: update doc strings in fileutil
Zooko O'Whielacronx zooko@zooko.com [Mon, 4 Jun 2007 11:44:44 +0000 (17:14 +0530)]
zfec: update doc strings in fileutil

darcs-hash:458b9a2206a8f02106db5d6bdd2b9ab62b225e7b

17 years agozfec: import latest version.py module from pyutil library
Zooko O'Whielacronx zooko@zooko.com [Wed, 9 May 2007 22:58:40 +0000 (04:28 +0530)]
zfec: import latest version.py module from pyutil library

darcs-hash:edce6d5037574a96f67fe35c631add9a141878b9

17 years agozfec: fix bug in in-line doc
Zooko O'Whielacronx zooko@zooko.com [Wed, 9 May 2007 22:58:24 +0000 (04:28 +0530)]
zfec: fix bug in in-line doc

darcs-hash:1b284af737449f6a2503991d9a15e8c32831ebb4

17 years agozfec: tweak licence text
Zooko O'Whielacronx zooko@zooko.com [Wed, 9 May 2007 22:57:53 +0000 (04:27 +0530)]
zfec: tweak licence text

darcs-hash:ae83abe261644cd24ba2bc3ef1a4c1216b8f03e7

17 years agochange the 'ez_setup.py' script to have distinct desired & minimum required versions...
robk-org [Wed, 6 Jun 2007 19:49:03 +0000 (01:19 +0530)]
change the 'ez_setup.py' script to have distinct desired & minimum required versions of setuptools

and change zfec/setup.py's invocation of ez_setup to require 0.6a9 (which happens to be the default
version installed by apt-get on dapper machines) while leaving the default (desired) version at 0.6c5

darcs-hash:90f9f375e316df0fb43d3cb656ffbdae1a7b3ae2

17 years agozfec: disable the feature of leaving unit test tmp dirs lying around for post-mortem...
Zooko O'Whielacronx zooko@zooko.com [Wed, 9 May 2007 17:50:48 +0000 (23:20 +0530)]
zfec: disable the feature of leaving unit test tmp dirs lying around for post-mortem analysis

fixes #41 in the allmydata.org trac

http://allmydata.org/trac/tahoe/ticket/41

darcs-hash:a523b79db6fff6a9949b95e60e59826b2afdd6f6

17 years agozfec: v1.0.0
Zooko O'Whielacronx zooko@zooko.com [Wed, 2 May 2007 22:25:41 +0000 (03:55 +0530)]
zfec: v1.0.0

darcs-hash:f565e07c20554f1a8c09323e0dc5c18be5307cae

17 years agozfec: complete the removal of the 15-second delay when downloading setuptools
Zooko O'Whielacronx zooko@zooko.com [Tue, 1 May 2007 00:56:43 +0000 (06:26 +0530)]
zfec: complete the removal of the 15-second delay when downloading setuptools

darcs-hash:387c63aee7effec760723155a7c74329a48e3348

17 years agozfec: add note to README about conflict with older versions of setuptools
Zooko O'Whielacronx zooko@zooko.com [Mon, 30 Apr 2007 20:26:56 +0000 (01:56 +0530)]
zfec: add note to README about conflict with older versions of setuptools

darcs-hash:f5e18af1eb071963ea4c2f0c506659406d753276

17 years agozfec: switch back to minimum setuptools of 0.6c3
Zooko O'Whielacronx zooko@zooko.com [Mon, 30 Apr 2007 20:18:38 +0000 (01:48 +0530)]
zfec: switch back to minimum setuptools of 0.6c3

This is newer than the one that comes with Dapper Ubuntu 6.06, *but* if there is no setuptools at all installed, then the bootstrap script will download one itself.  So with this patch, this will install cleanly on a Dapper system as long as the Dapper version of python-setuptools is *not* installed.

darcs-hash:e9d102891d16eff4a510f8edd286fbc3b09c056a

17 years agozfec: see if we can get by with the version of setuptools that comes with Ubuntu...
Zooko O'Whielacronx zooko@zooko.com [Mon, 30 Apr 2007 18:16:47 +0000 (23:46 +0530)]
zfec: see if we can get by with the version of setuptools that comes with Ubuntu 6.06 Dapper

darcs-hash:9eee3b35ff5a90b65499a190bdee2c788237b2a7

17 years agozfec: see if we can get by with the version of setuptools that is already in Ubuntu...
Zooko O'Whielacronx zooko@zooko.com [Mon, 30 Apr 2007 18:08:30 +0000 (23:38 +0530)]
zfec: see if we can get by with the version of setuptools that is already in Ubuntu 6.10

darcs-hash:b3595d8d1d9bc194cbb54e2970f92a3e596be2fd

17 years agozfec: add mention of lrzip and edit text
Zooko O'Whielacronx zooko@zooko.com [Mon, 30 Apr 2007 18:08:19 +0000 (23:38 +0530)]
zfec: add mention of lrzip and edit text

darcs-hash:b7a13b3ad62cd3c53f8eb82c13c0e58e3f28abe9

17 years agozfec: v1.0.0b3-0-STABLE
Zooko O'Whielacronx zooko@zooko.com [Mon, 30 Apr 2007 16:10:12 +0000 (21:40 +0530)]
zfec: v1.0.0b3-0-STABLE

darcs-hash:3bb87979296a17b0aed7013cdbe247c2ad7bd8f7

17 years agozfec: update licence and install docs
Zooko O'Whielacronx zooko@zooko.com [Mon, 30 Apr 2007 16:09:35 +0000 (21:39 +0530)]
zfec: update licence and install docs

darcs-hash:158a647b435352a26823c13e37dc257dad96f97b

17 years agozfec: hack setuptools bootstrap script not to time.sleep(15) before downloading
Zooko O'Whielacronx zooko@zooko.com [Mon, 30 Apr 2007 06:30:23 +0000 (12:00 +0530)]
zfec: hack setuptools bootstrap script not to time.sleep(15) before downloading

darcs-hash:31ce756909fdefb91b285444399449cdaf8c9454

17 years agozfec: add the setuptools bootstrap script to download setuptools automatically
Zooko O'Whielacronx zooko@zooko.com [Mon, 30 Apr 2007 06:26:13 +0000 (11:56 +0530)]
zfec: add the setuptools bootstrap script to download setuptools automatically

darcs-hash:e13521251266ed2c32c60d62c805e3b1807bbf1f

17 years agozfec: explain in README how to use setuptools in Ye Olde Stowable Style
Zooko O'Whielacronx zooko@zooko.com [Fri, 27 Apr 2007 23:24:38 +0000 (04:54 +0530)]
zfec: explain in README how to use setuptools in Ye Olde Stowable Style

darcs-hash:64eefe9037e436818ee52f359981592b5f768417

17 years agozfec: organize the trove classifiers in the metadata
Zooko O'Whielacronx zooko@zooko.com [Fri, 27 Apr 2007 23:24:55 +0000 (04:54 +0530)]
zfec: organize the trove classifiers in the metadata

darcs-hash:ce1e43d082947108ca5c561dcf06de995e1d3ddf

17 years agozfec: fix up the package metadata for e.g. the Python Package Index and bump to zfec...
Zooko O'Whielacronx zooko@zooko.com [Fri, 27 Apr 2007 20:29:53 +0000 (01:59 +0530)]
zfec: fix up the package metadata for e.g. the Python Package Index and bump to zfec v1.0.0b2-0-STABLE

darcs-hash:45a19c7487a4f5caf33ccf586f3f25cab885d3d9

17 years agozfec: yet another tweak to the licence
Zooko O'Whielacronx zooko@zooko.com [Fri, 27 Apr 2007 19:56:37 +0000 (01:26 +0530)]
zfec: yet another tweak to the licence

darcs-hash:80e0c5af5632f7523c06ecf8dfe1ffde596ff6a8

17 years agozfec v1.0.0b1-0-STABLE
Zooko O'Whielacronx zooko@zooko.com [Fri, 27 Apr 2007 18:14:38 +0000 (23:44 +0530)]
zfec v1.0.0b1-0-STABLE

darcs-hash:d23c17a7259888dd0ce66b17ea840a633ce746ef

17 years agozfec: update licence, contact info, description
Zooko O'Whielacronx zooko@zooko.com [Fri, 27 Apr 2007 18:14:34 +0000 (23:44 +0530)]
zfec: update licence, contact info, description

darcs-hash:29090416ae5b474a0c839396cd94ba995a250130

17 years agozfec: invoke test_util as well as test_zfec when you execute "./setup.py test"
Zooko O'Whielacronx zooko@zooko.com [Fri, 27 Apr 2007 18:11:54 +0000 (23:41 +0530)]
zfec: invoke test_util as well as test_zfec when you execute "./setup.py test"

darcs-hash:957a39aa21d1e6bdc3b042c84baaff424aa17d2b

17 years agozfec: remove printout that was used only for debugging
zooko [Thu, 26 Apr 2007 23:20:27 +0000 (04:50 +0530)]
zfec: remove printout that was used only for debugging

darcs-hash:e6540877a9ef796700c2652651b9b237642ce016

17 years agopyutil: fileutil: make temp dir cleanup more robust against failure during initializa...
zooko [Thu, 26 Apr 2007 22:58:03 +0000 (04:28 +0530)]
pyutil: fileutil: make temp dir cleanup more robust against failure during initializationor other internal inconsistency

darcs-hash:5b289467c2fddddb2bd35acaadb34fb1c27c685c

17 years agozfec: in zunfec, sort the input share file names for reproducibility and faster perfo...
zooko [Thu, 26 Apr 2007 22:54:41 +0000 (04:24 +0530)]
zfec: in zunfec, sort the input share file names for reproducibility and faster performance

darcs-hash:0ef4e4a08221035605f45dbd42a46e0ae1bf81f9

17 years agozfec: update unit tests
zooko [Thu, 26 Apr 2007 22:52:38 +0000 (04:22 +0530)]
zfec: update unit tests

darcs-hash:8ecf2745b3c2acca78c444a553f8486301d1bc0d

17 years agozfec: tweak licence text for clarity
zooko [Thu, 26 Apr 2007 22:52:16 +0000 (04:22 +0530)]
zfec: tweak licence text for clarity

darcs-hash:8b7cacb77533d44552877a3424fcbcaef17e4d4f

17 years agozfec: update TODO
zooko [Thu, 26 Apr 2007 22:51:58 +0000 (04:21 +0530)]
zfec: update TODO

darcs-hash:2dbe725a5350e5d951d42aa12336b71673f29320

17 years agozfec: make it Python 2.4-compatible (but also it requires setuptools again)
zooko [Thu, 26 Apr 2007 21:47:54 +0000 (03:17 +0530)]
zfec: make it Python 2.4-compatible (but also it requires setuptools again)

darcs-hash:681b220de82d7a9d78809bfe157c588e311d52ea

17 years agozfec: setup.py: switch back to distutils, since setuptools support isn't complete yet
warner [Thu, 26 Apr 2007 01:09:03 +0000 (06:39 +0530)]
zfec: setup.py: switch back to distutils, since setuptools support isn't complete yet

darcs-hash:74164738c4c77c4a2926c3ad3b0c9bd9a6f2a962

17 years agozfec.test.test_util: fix one last fec-to-zfec renaming
warner [Thu, 19 Apr 2007 01:06:27 +0000 (06:36 +0530)]
zfec.test.test_util: fix one last fec-to-zfec renaming

darcs-hash:dbe5a63ee1f4d08f87cef6d98967c5ed117a5c82

17 years agofec: add test for mathutil
warner [Mon, 16 Apr 2007 19:01:58 +0000 (00:31 +0530)]
fec: add test for mathutil

darcs-hash:36141fa5542a2dd6f4b08e572f4a2d8570e1d9e8

17 years agofec: remove unused mathutil.linear_fit_slope
warner [Mon, 16 Apr 2007 18:51:36 +0000 (00:21 +0530)]
fec: remove unused mathutil.linear_fit_slope

darcs-hash:c66276a71abd205c6f93173f659fcb9523c2513b

17 years agofec.util.mathutil.permute: fix docstring
warner [Mon, 16 Apr 2007 18:51:04 +0000 (00:21 +0530)]
fec.util.mathutil.permute: fix docstring

darcs-hash:46c300f64e70da2c04cf1e15a4a6d8dd2c732f22

17 years agozfec: make unit tests work on Windows with setuptools test and with trial
zooko [Sun, 22 Apr 2007 15:31:41 +0000 (21:01 +0530)]
zfec: make unit tests work on Windows with setuptools test and with trial

darcs-hash:4291b8b64a245a076f3f6933e17fbf6460623ea0

17 years agozfec: pyutil: make temp directories more convenient to use and more likely to clean...
zooko [Sun, 22 Apr 2007 15:25:00 +0000 (20:55 +0530)]
zfec: pyutil: make temp directories more convenient to use and more likely to clean up properly on Windows

darcs-hash:0c72fd06b62a9d65b5b53324d2cf1b380150591e

17 years agozfec: update TODOs
Zooko O'Whielacronx zooko@zooko.com [Wed, 25 Apr 2007 19:56:04 +0000 (01:26 +0530)]
zfec: update TODOs

darcs-hash:f225a13b0db8d183c1add2be46d99850c6925554

17 years agozfec: turn off the feature of leaving the tmp data around for post-mortem analysis
zooko [Sat, 21 Apr 2007 18:11:06 +0000 (23:41 +0530)]
zfec: turn off the feature of leaving the tmp data around for post-mortem analysis

darcs-hash:a54ab2a5e0cddd9b5f88b0182b5e350a4cf09845

17 years agozfec: make "./setup.py test" do the right thing
Zooko O'Whielacronx zooko@zooko.com [Sat, 21 Apr 2007 14:49:08 +0000 (20:19 +0530)]
zfec: make "./setup.py test" do the right thing

darcs-hash:54e91a1c7d16ccfe3b921fd6899f1e9c95b5c762

17 years agozfec: fix another problem with the O_BINARY flag
Zooko O'Whielacronx zooko@zooko.com [Sat, 21 Apr 2007 14:48:47 +0000 (20:18 +0530)]
zfec: fix another problem with the O_BINARY flag

darcs-hash:dfda0b71c2692316248fd38e97355c872f7badcb

17 years agozfec: version 1.0.0a5-1-STABLE
Zooko O'Whielacronx zooko@zooko.com [Sat, 21 Apr 2007 02:10:21 +0000 (07:40 +0530)]
zfec: version 1.0.0a5-1-STABLE

darcs-hash:321ab557bc9548df18bf050080c4379383bb1dae

17 years agozfec: change URLs from allmydata.com to allmydata.org
Zooko O'Whielacronx zooko@zooko.com [Sat, 21 Apr 2007 02:09:40 +0000 (07:39 +0530)]
zfec: change URLs from allmydata.com to allmydata.org

darcs-hash:cf82f3d73267dd6aca3cf9420918bcdb4d0994b7

17 years agozfec: version zfec 1.0.0a4-1-STABLE
zooko [Sat, 21 Apr 2007 02:07:20 +0000 (07:37 +0530)]
zfec: version zfec 1.0.0a4-1-STABLE

darcs-hash:9a6b0efc7f6f70992f490b2eb4abb9a317039451

17 years agozfec: use setuptools to construct executables, fix bug on Windows -- forgot "BINARY...
zooko [Sat, 21 Apr 2007 02:06:12 +0000 (07:36 +0530)]
zfec: use setuptools to construct executables, fix bug on Windows -- forgot "BINARY" flag to output files

darcs-hash:ba871189300929b269a024d512327a4b0702d548

17 years agozfec: shorter short description
Zooko O'Whielacronx zooko@zooko.com [Fri, 20 Apr 2007 19:37:16 +0000 (01:07 +0530)]
zfec: shorter short description

darcs-hash:dbead7f110e12ff9c353d51fdd924fe74583a9e1

17 years agozfec: mv the cmdline tools from "bin/" to "cmdline/", because setuptools overwrites...
Zooko O'Whielacronx zooko@zooko.com [Fri, 20 Apr 2007 19:09:14 +0000 (00:39 +0530)]
zfec: mv the cmdline tools from "bin/" to "cmdline/", because setuptools overwrites the contents of "bin/" when creating executables

darcs-hash:e1259aa7befc458db99ae009908315f8765355ea

17 years agozfec: switch from distutils to setuptools (a.k.a. ez_setup.py a.k.a. EasyInstall)
Zooko O'Whielacronx zooko@zooko.com [Fri, 20 Apr 2007 18:48:40 +0000 (00:18 +0530)]
zfec: switch from distutils to setuptools (a.k.a. ez_setup.py a.k.a. EasyInstall)

darcs-hash:df0e4062e649378f59ab21ccf1998296bf5747e2

17 years agozfec: update docs
Zooko O'Whielacronx zooko@zooko.com [Fri, 20 Apr 2007 18:45:16 +0000 (00:15 +0530)]
zfec: update docs

darcs-hash:964434669d2b18adfe562a6db03c86bb97819b65

17 years agozfec: bump version number to zfec 1.0.0a3-1-STABLE
Zooko O'Whielacronx zooko@zooko.com [Fri, 20 Apr 2007 17:53:23 +0000 (23:23 +0530)]
zfec: bump version number to zfec 1.0.0a3-1-STABLE

darcs-hash:c14db444ad35c1700934f8f228b45688f4f22910

17 years agozfec: change formatting of copyright timestamps, licence etc.
Zooko O'Whielacronx zooko@zooko.com [Fri, 20 Apr 2007 17:52:54 +0000 (23:22 +0530)]
zfec: change formatting of copyright timestamps, licence etc.

darcs-hash:c1a739cce068ceb4c6e368aa295cb8cd489ad1ad

17 years agozfec: update TODO by adding an item and removing an item
Zooko O'Whielacronx zooko@zooko.com [Fri, 20 Apr 2007 17:45:21 +0000 (23:15 +0530)]
zfec: update TODO by adding an item and removing an item

darcs-hash:89d1614a8030f95b4e4cf82a920aa263e1c92ecc

17 years agozfec: bump version number to 1.0.0a2-1-STABLE
zooko [Thu, 19 Apr 2007 00:18:11 +0000 (05:48 +0530)]
zfec: bump version number to 1.0.0a2-1-STABLE

darcs-hash:8fad39e5339881182262633659c7db6ab16839f6

17 years agozfec: finish up some renaming of pyfec to zfec
zooko [Thu, 19 Apr 2007 00:11:13 +0000 (05:41 +0530)]
zfec: finish up some renaming of pyfec to zfec

darcs-hash:7f21826c8576fba7d680dfbcfd6e0a3625368734

17 years agozfec: update docs, metadata, version number to 1.0.0a2-0-STABLE
zooko [Wed, 18 Apr 2007 23:01:03 +0000 (04:31 +0530)]
zfec: update docs, metadata, version number to 1.0.0a2-0-STABLE

darcs-hash:2ae10cbb029cde5f3c6546f6ace54ca439397233

17 years agorename bin/fec and bin/unfec to zfec and zunfec
warner [Wed, 18 Apr 2007 19:23:33 +0000 (00:53 +0530)]
rename bin/fec and bin/unfec to zfec and zunfec

darcs-hash:346fab6300cc5c080a2202a3fb996117bac4e804

17 years agorename top-level package from 'fec' to 'zfec'
warner [Wed, 18 Apr 2007 19:18:12 +0000 (00:48 +0530)]
rename top-level package from 'fec' to 'zfec'

darcs-hash:972d01d4a06da3354d3802b9a27c2948f0e36073

17 years agopyfec: rename pyfec to zfec
zooko [Wed, 18 Apr 2007 16:19:00 +0000 (21:49 +0530)]
pyfec: rename pyfec to zfec

It turns out that "pyfec" turns off people who aren't Python hackers.
"allmyfec" is too long for a low-level core utility library.
"fec" is too generic (it is already used by Luigi Rizzo's library which this
library is based on, for one thing).

I'm open to other naming suggestions, especially before we widely announce this
library, which I expect will happen within a few days.

darcs-hash:2c05ab5eaee961453b5ff41587cc72d4fd7bb51d

17 years agopyfec: bump version number to 1.0.0a1-2-STABLE
Zooko O'Whielacronx zooko@zooko.com [Sun, 15 Apr 2007 19:08:12 +0000 (00:38 +0530)]
pyfec: bump version number to  1.0.0a1-2-STABLE

darcs-hash:edb79b1c23fa0493892506e7ade504d01f17ef0b

17 years agopyfec: add mention of sha256sum to README
Zooko O'Whielacronx zooko@zooko.com [Sun, 15 Apr 2007 19:07:35 +0000 (00:37 +0530)]
pyfec: add mention of sha256sum to README

darcs-hash:1e9c2546d83ccf5ea130d7623b2ba0fec6f0457b

17 years agopyfec: bump the performance measurement bragging up higher in the README
Zooko O'Whielacronx zooko@zooko.com [Sun, 15 Apr 2007 01:03:54 +0000 (06:33 +0530)]
pyfec: bump the performance measurement bragging up higher in the README

darcs-hash:6c2b18506fc5332a31970bb0cad96505b198fc17

17 years agopyfec: bump version number to 1.0.0a1-1-STABLE
Zooko O'Whielacronx zooko@zooko.com [Sun, 15 Apr 2007 00:50:40 +0000 (06:20 +0530)]
pyfec: bump version number to 1.0.0a1-1-STABLE

darcs-hash:0eb0f33d15402b0031b8d6a5ff6c7f05236930c2

17 years agopyfec: add -f option to fec, add more user-friendly handling of filesystem errors...
Zooko O'Whielacronx zooko@zooko.com [Sun, 15 Apr 2007 00:48:32 +0000 (06:18 +0530)]
pyfec: add -f option to fec, add more user-friendly handling of filesystem errors and user errors

darcs-hash:baa3cb1915a81bead4b83a888ebb255fc5e9a026

17 years agopyfec: add bragging about how fec is way faster than "par2"
Zooko O'Whielacronx zooko@zooko.com [Sun, 15 Apr 2007 00:47:48 +0000 (06:17 +0530)]
pyfec: add bragging about how fec is way faster than "par2"

darcs-hash:af38e6dbbb2813aefbe027e6c4fbe3b4fd092606

17 years agopyfec: more progress indicators, handling of already-existent outfile
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 23:00:59 +0000 (04:30 +0530)]
pyfec: more progress indicators, handling of already-existent outfile

darcs-hash:40abdd9f4629d7ffe462a000e7aebd990e8b04a2

17 years agopyfec: argparse: add a feature of exclusivecreate to the argparse FileType
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 23:00:33 +0000 (04:30 +0530)]
pyfec: argparse: add a feature of exclusivecreate to the argparse FileType

darcs-hash:8e8be96f844f6b283b87c6c522bc2cd73cbf3a34

17 years agopyfec: argparse: simplify
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 22:43:41 +0000 (04:13 +0530)]
pyfec: argparse: simplify

darcs-hash:96a4b8dc58951e4a02c6c0bef878c1f22b21f718

17 years agopyfec: fix up docs, version numbers, bump version to 1.0.0a1-0-STABLE
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 19:54:51 +0000 (01:24 +0530)]
pyfec: fix up docs, version numbers, bump version to 1.0.0a1-0-STABLE

darcs-hash:4f671c38a25c57509dc225a77fd97e6a4b39c941

17 years agopyfec: update README and bump version number to 0.9.9-0-STABLE
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 19:02:18 +0000 (00:32 +0530)]
pyfec: update README and bump version number to 0.9.9-0-STABLE

darcs-hash:d70baa296919d0e51f046c83ac9698acfcd86c8c

17 years agopyfec: add bin/fec and bin/unfec, do better handling and reporting of various errors
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 19:00:10 +0000 (00:30 +0530)]
pyfec: add bin/fec and bin/unfec, do better handling and reporting of various errors

darcs-hash:41c8ab3594866cae6ea3a80a2211b2e36cc02c0e

17 years agopyfec: new filefec with compressed metadata, better error handling, much better unit...
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 18:19:24 +0000 (23:49 +0530)]
pyfec: new filefec with compressed metadata, better error handling, much better unit tests

darcs-hash:981818a7904dfb786d05af5503ff59ea2a7d5de2

17 years agopyfec: import a copy of the argparse module
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 18:05:54 +0000 (23:35 +0530)]
pyfec: import a copy of the argparse module

darcs-hash:778998cca426513dc19c55aa98f68f4f7fadca72

17 years agopyfec: import a copy of mathutil.py from the pyutil library
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 17:54:43 +0000 (23:24 +0530)]
pyfec: import a copy of mathutil.py from the pyutil library

darcs-hash:cee8657901117d8dd821c69a274715655ee062fd

17 years agopyfec: import a copy of fileutil.py from the pyutil library
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 17:54:02 +0000 (23:24 +0530)]
pyfec: import a copy of fileutil.py from the pyutil library

darcs-hash:7cd00a70c4cc7417f1d40dae42f3f464364b236c

17 years agopyfec: add easyfec.Decoder(), which is easier to use than fec.Decoder()
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 17:52:45 +0000 (23:22 +0530)]
pyfec: add easyfec.Decoder(), which is easier to use than fec.Decoder()

darcs-hash:95bf3656157b44e5c7eddfae3430d4db0204ef30

17 years agopyfec: tighten internal datatype from int to short and undo attempt to make it unsign...
Zooko O'Whielacronx zooko@zooko.com [Sat, 14 Apr 2007 17:51:48 +0000 (23:21 +0530)]
pyfec: tighten internal datatype from int to short and undo attempt to make it unsigned (Python doesn't do unsigned short)

darcs-hash:07e5b74c6c77e672407f3a302105b5d5a202b219

17 years agogive it a version number -- v0.9
Zooko O'Whielacronx zooko@zooko.com [Wed, 11 Apr 2007 17:49:33 +0000 (23:19 +0530)]
give it a version number -- v0.9

I intend to bump it to 1.0 after adding the cmdline tools.

darcs-hash:5949d3f20df3ed3bbfa9cb7de49d82ae0924b611

17 years agoimport Version from pyutil
Zooko O'Whielacronx zooko@zooko.com [Wed, 11 Apr 2007 17:48:44 +0000 (23:18 +0530)]
import Version from pyutil

darcs-hash:1caa260e0da400149e774e4126a67a0ebd0f5b22

17 years agomerge changes and fix wrong type -- k and m need more than 8 bits (because they are...
Zooko O'Whielacronx zooko@zooko.com [Wed, 11 Apr 2007 17:34:27 +0000 (23:04 +0530)]
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)

darcs-hash:1bfd6670f2d2b7c8882bde603614daa3dc90a5fa

17 years agopyfec: make unit test failures print out a few useful bytes instead of kibibytes
Zooko O'Whielacronx zooko@zooko.com [Thu, 1 Feb 2007 01:02:57 +0000 (06:32 +0530)]
pyfec: make unit test failures print out a few useful bytes instead of kibibytes

darcs-hash:d3186518018a7db37e0fc2e73e59ebe66fb52a27

17 years agopyfec: add variant of randomized test which happens to match the interface to benchutil
Zooko O'Whielacronx zooko@zooko.com [Thu, 1 Feb 2007 04:55:28 +0000 (10:25 +0530)]
pyfec: add variant of randomized test which happens to match the interface to benchutil

darcs-hash:e5d2cdc31a52bf4de918a01ef872ff63e974e975

17 years agopyfec: make randomized unit tests more comprehensive
Zooko O'Whielacronx zooko@zooko.com [Thu, 1 Feb 2007 01:02:24 +0000 (06:32 +0530)]
pyfec: make randomized unit tests more comprehensive

darcs-hash:3443d15b6a3c1e99cc4d98addb731f56ce4eebe0

17 years agopyfec: tighten internal C types
Zooko O'Whielacronx zooko@zooko.com [Wed, 31 Jan 2007 19:55:31 +0000 (01:25 +0530)]
pyfec: tighten internal C types

darcs-hash:48eb7f1dabf1a039b98037d687f086abf52710b2

17 years agopyfec: fix precondition checks on k and m to actually check the value before coercing...
Zooko O'Whielacronx zooko@zooko.com [Thu, 1 Feb 2007 01:01:40 +0000 (06:31 +0530)]
pyfec: fix precondition checks on k and m to actually check the value before coercing it into a smaller type (oops)

darcs-hash:21df35e9c35aabba96d79ce0a08ed44061320811

17 years agopyfec: loosen preconditions -- you can have up to 256 total shares, not up to 255...
Zooko O'Whielacronx zooko@zooko.com [Wed, 31 Jan 2007 22:53:16 +0000 (04:23 +0530)]
pyfec: loosen preconditions -- you can have up to 256 total shares, not up to 255 total shares

darcs-hash:e3fd6ce669c3b6b821c44151162ef37a6f713a5b

17 years agopyfec: tidy-up: #include the appropriate header
zooko [Mon, 9 Apr 2007 23:16:18 +0000 (04:46 +0530)]
pyfec: tidy-up: #include the appropriate header

darcs-hash:dd91577b09d0a29c48cca332d34b4583a9374571

17 years agopyfec: trial-ize the unit tests, making sure to keep working if trial is unavailable
warner [Sat, 7 Apr 2007 01:16:50 +0000 (06:46 +0530)]
pyfec: trial-ize the unit tests, making sure to keep working if trial is unavailable

darcs-hash:1ecc98aff234407f323d691b557608df9105673b

17 years agopyfec: rename and clarify -- "blocks" are the units of input/output of the codec...
zooko [Fri, 30 Mar 2007 18:52:43 +0000 (00:22 +0530)]
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)

darcs-hash:8125140adbe753ca182fb227049b264c344f1719

17 years agopyfec: more thanks to Brian
zooko [Wed, 28 Mar 2007 22:22:51 +0000 (03:52 +0530)]
pyfec: more thanks to Brian

darcs-hash:22dd099850c3f60888ace9a3b7c0a825add2de25

17 years agopyfec: fix another error path, combine the type-level docstring with the (hitherto...
warner [Wed, 28 Mar 2007 20:09:53 +0000 (01:39 +0530)]
pyfec: fix another error path, combine the type-level docstring with the (hitherto unlinked) init docstring

darcs-hash:83f33f0355dc95847462ff9fbf9151ebfaca96ea

17 years agopyfec: fix some error-checking, add more unit tests
warner [Wed, 28 Mar 2007 19:53:12 +0000 (01:23 +0530)]
pyfec: fix some error-checking, add more unit tests

darcs-hash:6cb92d225fd5ebd7d1e00d5942ae03dc39b2672f

17 years agopyfec: correctly handle wrongly typed input by raising exception
zooko [Wed, 28 Mar 2007 06:53:32 +0000 (12:23 +0530)]
pyfec: correctly handle wrongly typed input by raising exception

darcs-hash:a264294247306af6ca2577668fcda8df5e34551f

17 years agopyfec: fix bug in easyfec
zooko [Wed, 28 Mar 2007 05:56:45 +0000 (11:26 +0530)]
pyfec: fix bug in easyfec

darcs-hash:879246ab55ce272c6df2c433d970a888f4b2fc53

17 years agopyfec: add easyfec wrapper which takes a single string and splits it into input share...
zooko [Wed, 28 Mar 2007 03:14:30 +0000 (08:44 +0530)]
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

darcs-hash:ff2a8043e87d06451b910f760316aa8967062f69

17 years agopyfec: add documentation, assertion, licence information
zooko [Wed, 28 Mar 2007 03:14:06 +0000 (08:44 +0530)]
pyfec: add documentation, assertion, licence information

darcs-hash:3f117bc64875732e7cc80b5788147a6c23bb161f

17 years agopyfec: add benchmark measurement on my cool new MacBook Pro
zooko [Wed, 28 Mar 2007 01:18:39 +0000 (06:48 +0530)]
pyfec: add benchmark measurement on my cool new MacBook Pro

darcs-hash:c0ac0c193c88584f7363f09e236d28a70dd4e9de

17 years agoadd verbosity option to bench
Zooko O'Whielacronx zooko@zooko.com [Wed, 28 Mar 2007 00:42:59 +0000 (06:12 +0530)]
add verbosity option to bench

darcs-hash:0f67e7c0336dd9a7d32ead1dfb997529bb41f3e5