]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/log
tahoe-lafs/zfec.git
14 years agosetup: add setup.cfg to trigger darcsver before other operations
zooko [Sun, 14 Jun 2009 01:02:19 +0000 (06:32 +0530)]
setup: add setup.cfg to trigger darcsver before other operations

Ignore-this: ecf052e0abd3d3bea05e42968337330e

darcs-hash:2c667b2c6db44fe3d557ba734878d155b030382a

14 years agosetup: misc/show-tool-versions.py can just import platform instead of launching a...
zooko [Sat, 13 Jun 2009 22:23:27 +0000 (03:53 +0530)]
setup: misc/show-tool-versions.py can just import platform instead of launching a subprocess to run python and import platform

Ignore-this: 90cae052b63547a01bd325aa6b63040d

darcs-hash:5d29a7c58ac6bf4bbaa259f651b39f039b938488

14 years agosetup: copy in misc/show-tool-versions.py from pycryptopp
zooko [Sat, 13 Jun 2009 21:51:25 +0000 (03:21 +0530)]
setup: copy in misc/show-tool-versions.py from pycryptopp

Ignore-this: 2831692cc7ec2583ea69e3b6a017b4ae

darcs-hash:646447fe0c15d10f6bc649e0e51d8cc9a463730a

15 years agodocs: recommend 7z
zooko [Sat, 31 Jan 2009 04:38:27 +0000 (10:08 +0530)]
docs: recommend 7z

Ignore-this: db6eb40fd019f183cfb4ea9643300482

darcs-hash:b6479ebd924e8001195c0ed233b0c5ec39c5d5a8

16 years agozfec: README: recommend 7zip instead of rzip and simplify encryption recommendation
zooko [Sat, 29 Dec 2007 04:39:20 +0000 (10:09 +0530)]
zfec: README: recommend 7zip instead of rzip and simplify encryption recommendation

darcs-hash:2f93e110806ac272a8ac6fb592178c71b4b801c1

15 years agosetup: upgrade to my hacked version of ez_setup.py
zooko [Mon, 5 Jan 2009 20:17:19 +0000 (01:47 +0530)]
setup: upgrade to my hacked version of ez_setup.py

Ignore-this: e6d70e416a8b32e487d664fceb8d417e

darcs-hash:7c9dc94cfc43702d7e2a2b616a789c54af71c2a8

15 years agosetup: bundle my version of setuptools
zooko [Mon, 5 Jan 2009 20:16:59 +0000 (01:46 +0530)]
setup: bundle my version of setuptools

Ignore-this: d65e6a0eb8975ea1dec8f3b80f1ff016

darcs-hash:5876308688124d9c12cad6644b5572571b27a977

15 years agodocs: update docs a little
zooko [Mon, 5 Jan 2009 17:20:57 +0000 (22:50 +0530)]
docs: update docs a little

Ignore-this: fd7bd93bcb6a38204a5415174c0a8331

darcs-hash:035d050585b9a4be720208b8f4f1f3ea7bd49126

15 years agosetup: VERSIONFILE boilerplate tidy-up
zooko [Mon, 5 Jan 2009 17:20:06 +0000 (22:50 +0530)]
setup: VERSIONFILE boilerplate tidy-up

Ignore-this: 1e1557de97acf1675af92b286b8c05fb

darcs-hash:2b2479486d1c779d1f6178dfa3425c976a8ab6b4

15 years agosetup: remove bundled dependencies
zooko [Mon, 5 Jan 2009 17:19:44 +0000 (22:49 +0530)]
setup: remove bundled dependencies

Ignore-this: c2351a0f82e80c72bb91071cf14177d

darcs-hash:9b84a2860e69dbab3a0094aba755da98688cd37e

15 years agosetup: add classifiers indicating what versions of Python this is known to work with
zooko [Tue, 21 Oct 2008 15:48:17 +0000 (21:18 +0530)]
setup: add classifiers indicating what versions of Python this is known to work with

It probably works with Python 2.3 and 2.6, but I don't want to spend the effort to find out and I want to discourage people from using those versions of Python (for now).
It probably doesn't work with Python 3.0, but I even less want to spend effort and even more want to discourage usage.

darcs-hash:a0fac75bbed39c53de986775d4515533267ebbb3

15 years agosetup: fix harmless silliness in --debug parsing, add work-around for elisa 0.3.5...
zooko [Mon, 13 Oct 2008 23:09:19 +0000 (04:39 +0530)]
setup: fix harmless silliness in --debug parsing, add work-around for elisa 0.3.5 breaking unit tests in other packages

darcs-hash:363b7427c5e6b3c915d3243475db8309bd94d02b

15 years agosetup: remove bundled pyutil-1.3.12
zooko [Tue, 30 Sep 2008 19:18:26 +0000 (00:48 +0530)]
setup: remove bundled pyutil-1.3.12

darcs-hash:f902c558c0791ae149557ae73ea698f982a3be33

15 years agosetup: add some scripts to benchmark zfec with different stride lengths
zooko [Sat, 13 Sep 2008 11:50:21 +0000 (17:20 +0530)]
setup: add some scripts to benchmark zfec with different stride lengths

darcs-hash:8b791eeeff1174f795a2da32eac5e4189c1aeb47

15 years agosetup: fix another bug in the "build with a specific stride size" feature
zooko [Thu, 11 Sep 2008 20:06:42 +0000 (01:36 +0530)]
setup: fix another bug in the "build with a specific stride size" feature

darcs-hash:648b2922fc8593e4ab6efb0c0e57796be0ea6a9d

15 years agosetup: fix bug in detection of --stride option to build
zooko [Thu, 11 Sep 2008 19:26:16 +0000 (00:56 +0530)]
setup: fix bug in detection of --stride option to build

darcs-hash:9bbfac1b25536baf5d7d4098ae1bad551cea5381

15 years agodoc: a few more edits to README.txt
zooko [Sun, 14 Sep 2008 15:21:34 +0000 (20:51 +0530)]
doc: a few more edits to README.txt

darcs-hash:b355c4b244d669681a8038e6f59e1780b6ec483b

15 years agodoc: update README.txt
zooko [Sun, 14 Sep 2008 14:57:38 +0000 (20:27 +0530)]
doc: update README.txt

darcs-hash:7859cafe560f16fb21f0e01d3fa50bd8397a98a1

15 years agosetup: url=http://allmydata.org/trac/zfec
zooko [Fri, 25 Jul 2008 17:15:21 +0000 (22:45 +0530)]
setup: url=http://allmydata.org/trac/zfec

darcs-hash:70c168f849dbae3bf4980d00d827a6f49d15bb44

15 years agomake the STRIDE settable at build-time with the "--stride=" option to "./setup.py...
zooko [Mon, 8 Sep 2008 18:11:51 +0000 (23:41 +0530)]
make the STRIDE settable at build-time with the "--stride=" option to "./setup.py build"

darcs-hash:ea947aeba28a1e301c3c52b79e7bfefcab907971

15 years agogive names to C functions for use in reporting exceptions about which function receiv...
zooko [Tue, 20 May 2008 22:51:29 +0000 (04:21 +0530)]
give names to C functions for use in reporting exceptions about which function received incorrect arguments

darcs-hash:c45702607f53072ae9cff92e1f2b58d57617aaea

15 years agosetup: update docs in setup code
zooko [Tue, 20 May 2008 22:51:12 +0000 (04:21 +0530)]
setup: update docs in setup code

darcs-hash:03c4b79f4fd45ca3dce4fe85be139a9dce3ebd30

16 years agoAdd COPYING.GPL, COPYING.TGPPL.html to Haskell distribution. Bump to 0.1.1
agl [Mon, 21 Jan 2008 18:43:02 +0000 (00:13 +0530)]
Add COPYING.GPL, COPYING.TGPPL.html to Haskell distribution. Bump to 0.1.1

darcs-hash:0250a8bb8a05656424df28a81eb1bb83bde8a041

15 years agosetup: specify data_files in such a way that stdeb-produced .deb's of zfec will have...
zooko [Mon, 19 May 2008 23:13:57 +0000 (04:43 +0530)]
setup: specify data_files in such a way that stdeb-produced .deb's of zfec will have the docs in the right subdirectory

darcs-hash:80ba6bff12642561fe55eb035b58a76b6c5027fe

16 years agoUpdate README.txt with details on Haskell testing/documentation etc
agl [Sun, 20 Jan 2008 19:33:57 +0000 (01:03 +0530)]
Update README.txt with details on Haskell testing/documentation etc

darcs-hash:6e1ebc9c4af1cdb252325b9353a35d20d2e02185

16 years agodoc: add mention of Haskell to the docs -- incomplete parts for Adam to fill in are...
zooko [Sun, 20 Jan 2008 18:44:18 +0000 (00:14 +0530)]
doc: add mention of Haskell to the docs -- incomplete parts for Adam to fill in are marked "XYZ"

darcs-hash:efbe7d6f34f2cc3cdc450b6f7e70073e95b0dffd

16 years agodocs: README.txt: reflow to 80 cols and strip trailing whitespace
zooko [Sun, 20 Jan 2008 18:39:38 +0000 (00:09 +0530)]
docs: README.txt: reflow to 80 cols and strip trailing whitespace

darcs-hash:a19d7ac2afbef62f914f36ff5c199a0892c0bd16

16 years agoAdd Haskell bindings to zfec
agl [Sun, 20 Jan 2008 02:19:14 +0000 (07:49 +0530)]
Add Haskell bindings to zfec

darcs-hash:81f1aa5ca90679271b145c9d261e894bc8528e79

16 years agoMake one of the comments more clear
agl [Sat, 19 Jan 2008 22:04:25 +0000 (03:34 +0530)]
Make one of the comments more clear

darcs-hash:6cfbb4108198f145ff6098122a3332674b5d00de

16 years agosetup: new way to require darcsver and setuptools_darcs
zooko [Sat, 19 Jan 2008 03:24:10 +0000 (08:54 +0530)]
setup: new way to require darcsver and setuptools_darcs

darcs-hash:f155c5df71e4c0f94da68e55869643ac11b74c5c

16 years agosetup: use my own hacked version of ez_setup, which installs setuptools (if necessary...
zooko [Sat, 19 Jan 2008 03:23:36 +0000 (08:53 +0530)]
setup: use my own hacked version of ez_setup, which installs setuptools (if necessary) from misc/dependencies/setuptools-0.6c7.egg

darcs-hash:8c72a215f3cd768525f24ac74e91a56fb68c5629

16 years agosetup: bundle setuptools_darcs-1.1.7
zooko [Sat, 19 Jan 2008 03:23:17 +0000 (08:53 +0530)]
setup: bundle setuptools_darcs-1.1.7

darcs-hash:295524c66050ae55332d88f2ae7ad89fa4401f3a

16 years agosetup: remove bundled setuptools_darcs-1.1.5
zooko [Sat, 19 Jan 2008 03:23:04 +0000 (08:53 +0530)]
setup: remove bundled setuptools_darcs-1.1.5

darcs-hash:02896e2dd60d5b423587cb07d31f495e3598545b

16 years agosetup: remove bundled setuptools-0.6c7-py2.5.egg
zooko [Sat, 19 Jan 2008 03:22:51 +0000 (08:52 +0530)]
setup: remove bundled setuptools-0.6c7-py2.5.egg

darcs-hash:61829fdad55458907c88b9cc44889145c37c98d3

16 years agosetup: bundle setuptools-0.6c7.egg
zooko [Sat, 19 Jan 2008 03:21:15 +0000 (08:51 +0530)]
setup: bundle setuptools-0.6c7.egg

darcs-hash:9f9c312fdebd21242b679542a7e11cab858a259a

16 years agosetup: bundle darcsver-1.0.1
zooko [Sat, 19 Jan 2008 03:20:45 +0000 (08:50 +0530)]
setup: bundle darcsver-1.0.1

darcs-hash:565bc015a9416f4f3bf0b9931506ba4fd476df80

16 years agodoc: trivial fixups and touch a yearstamp
zooko [Sat, 19 Jan 2008 03:20:24 +0000 (08:50 +0530)]
doc: trivial fixups and touch a yearstamp

darcs-hash:d7f447bd58147b8004d36ad8dff93f7f89f213d2

16 years agodoc: include TGPPL in html format instead of text format
zooko [Sat, 19 Jan 2008 03:19:23 +0000 (08:49 +0530)]
doc: include TGPPL in html format instead of text format

darcs-hash:a32ad36038f213a312a34cbe1a60c8bbc4de5c5e

16 years agotouch copyright yearstamp
zooko [Sat, 19 Jan 2008 03:09:08 +0000 (08:39 +0530)]
touch copyright yearstamp

darcs-hash:655fca3dfe5f54854c249c3b0583605a5a667829

16 years agoadd unit tests of the bug agl had, add assertion and doc explaining the C API better
zooko [Sat, 19 Jan 2008 03:08:57 +0000 (08:38 +0530)]
add unit tests of the bug agl had, add assertion and doc explaining the C API better

darcs-hash:61f313f9913bbf28d02082d278fdd0b39adc04f2

16 years agoadd in-line doc
zooko [Sat, 19 Jan 2008 03:06:18 +0000 (08:36 +0530)]
add in-line doc

Brian Warner had the idea of "forgetfulness oriented programming".  Anything that you can't remember six months later needs to be simplified or documented.  This weird little stanza that I inherited from Luigi Rizzo's library is in that class.

darcs-hash:a84e7a80dd6fa2541254120e377cf2a87b0e235b

16 years agofix warnings regarding printing size_t types
zooko [Sat, 19 Jan 2008 03:04:25 +0000 (08:34 +0530)]
fix warnings regarding printing size_t types

darcs-hash:3f0238cf91140f11d36d006095c497fe809788fc

16 years agosetup: remove "--debug" from sys.argv if it is present, after detecting it, so that...
zooko [Sat, 19 Jan 2008 03:03:22 +0000 (08:33 +0530)]
setup: remove "--debug" from sys.argv if it is present, after detecting it, so that debug mode will work with commands such as "./setup.py test"

darcs-hash:9afbeab84300f6dccd3d0449b6afcf11595d0210

16 years agodoc: TODO, copyright, version number regex, etc.
zooko [Fri, 18 Jan 2008 14:51:45 +0000 (20:21 +0530)]
doc: TODO, copyright, version number regex, etc.

darcs-hash:55926cf15daba95484943746445f28e25cad9910

16 years agotests: add test suggested by agl's bug report
zooko [Fri, 18 Jan 2008 14:48:44 +0000 (20:18 +0530)]
tests: add test suggested by agl's bug report

darcs-hash:d0f2e6069fe17e2c115c76511d9f8de0989c3685

16 years agodoc: fix incorrect API doc which tripped up AGL -- sorry about that!
zooko [Thu, 17 Jan 2008 20:46:16 +0000 (02:16 +0530)]
doc: fix incorrect API doc which tripped up AGL -- sorry about that!

darcs-hash:bf4416bc3289e20ce56ca9952d47244d87665f7b

16 years agosetup: prepend os.getcwd() to misc/dependencies
zooko [Sun, 30 Dec 2007 03:08:02 +0000 (08:38 +0530)]
setup: prepend os.getcwd() to misc/dependencies

This is actually useful because if for example you invoke "easy_install
~/some/path/setup.py", then the CWD will be ~/some/path when the first part of
setup.py is evaluated, but will change to something else later, so the
misc/dependencies will not be found unless the CWD is prepended.  ***END OF

darcs-hash:68fcb948a6ec9414283868861cfeaa080c6525a8

16 years agozfec: setup: tests_require pyutil
zooko [Sat, 22 Dec 2007 16:08:46 +0000 (21:38 +0530)]
zfec: setup: tests_require pyutil

darcs-hash:b6455e31efdb71dd8a0d1aa7d83a51b278361602

16 years agozfec: setup: improve documentation in __init__.py
zooko [Sat, 22 Dec 2007 04:43:57 +0000 (10:13 +0530)]
zfec: setup: improve documentation in __init__.py

darcs-hash:b686acf87ce884cd98c75119e5902352735d88f7

16 years agozfec: setup: bundle setuptools_darcs-1.1.5.tar into misc/dependencies
zooko [Sat, 22 Dec 2007 04:43:29 +0000 (10:13 +0530)]
zfec: setup: bundle setuptools_darcs-1.1.5.tar into misc/dependencies

darcs-hash:690c3ed1a6d6599c11ad19d93f4598c5d9fdaa99

16 years agozfec: setup: bundle pyutil-1.3.12.tar into misc/dependencies
zooko [Sat, 22 Dec 2007 04:41:23 +0000 (10:11 +0530)]
zfec: setup: bundle pyutil-1.3.12.tar into misc/dependencies

darcs-hash:710390086219520167774c202dcacb2d7545af4c

16 years agozfec: setup: move bundled argparse into misc/dependencies
zooko [Sat, 22 Dec 2007 04:41:00 +0000 (10:11 +0530)]
zfec: setup: move bundled argparse into misc/dependencies

darcs-hash:bda2d4ad6ff316405d31c074b627302cfaf47915

16 years agozfec: setup: use setuptools egg in-place in misc/dependencies, and automatically...
zooko [Sat, 22 Dec 2007 04:40:51 +0000 (10:10 +0530)]
zfec: setup: use setuptools egg in-place in misc/dependencies, and automatically discover dependencies bundled into misc/dependencies

darcs-hash:1614ef177b5ed2fb6a1c95e314c76b825b77789a

16 years agozfec: setup: copy in latest version of ez_setup.py, which works even if setuptools...
zooko [Sat, 22 Dec 2007 04:38:42 +0000 (10:08 +0530)]
zfec: setup: copy in latest version of ez_setup.py, which works even if setuptools has been imported into the current Python interpreter but cannot be imported into another one in a subprocess

darcs-hash:e840d057bcf9a3e24b36f63d4642ce5de735317b

16 years agozfec: setup: bundle argparse-0.8.0.tar
zooko [Sat, 22 Dec 2007 00:24:31 +0000 (05:54 +0530)]
zfec: setup: bundle argparse-0.8.0.tar

darcs-hash:1af74690f1312a1c5ca7e79fb05cabb93d8976c8

16 years agozfec: setup: bundle setuptools-0.6c7-py2.5.egg
zooko [Sat, 22 Dec 2007 00:13:19 +0000 (05:43 +0530)]
zfec: setup: bundle setuptools-0.6c7-py2.5.egg

darcs-hash:d878dda477f3c8787ef8334fc879f7ab2c65c835

16 years agozfec: setup: copy in my latest version of ez_setup.py -- this one correctly detects...
zooko [Sat, 22 Dec 2007 00:12:45 +0000 (05:42 +0530)]
zfec: setup: copy in my latest version of ez_setup.py -- this one correctly detects $PWD/setuptools*.egg, avoiding a redundant download (it also emits a nicer warning message about the minimum required version)

darcs-hash:8fe32edcee4310eda1d651d217683a7893559bfb

16 years agozfec: fix breakage on VS 2003 due to recent re-arrangement of #define block, and...
zooko [Sat, 22 Dec 2007 00:11:03 +0000 (05:41 +0530)]
zfec: fix breakage on VS 2003 due to recent re-arrangement of #define block, and refactor it a bit, and remove a use of 'inline'

darcs-hash:d4a0433fdd5ee2ec899c176a5ee6a67fb360cabc

16 years agozfec: changelog: document recent patches
zooko [Thu, 20 Dec 2007 20:58:15 +0000 (02:28 +0530)]
zfec: changelog: document recent patches

darcs-hash:b897854dce965ff70308469769e1a6f4888beebd

16 years agozfec: silence a warning when compiling on Mac OS X with gcc, and refactor a complicat...
zooko [Thu, 20 Dec 2007 20:55:55 +0000 (02:25 +0530)]
zfec: silence a warning when compiling on Mac OS X with gcc, and refactor a complicated #define stanza into the shared header file

darcs-hash:89e84b89db0085a83eb17f4e0c104846db996354

16 years agozfec: setup: include _version.py so that the zfec package has a version number again
zooko [Thu, 20 Dec 2007 20:55:32 +0000 (02:25 +0530)]
zfec: setup: include _version.py so that the zfec package has a version number again

darcs-hash:4b5f71639c32726ddb19fbd464eb5d541f6b3212

16 years agozfec: update in-line comments/docs
zooko [Thu, 20 Dec 2007 20:55:18 +0000 (02:25 +0530)]
zfec: update in-line comments/docs

darcs-hash:8ed8783b257bbbc7f65efa4f9fd7ff0b2700a03a

16 years agozfec: update licensing and attribution docs
zooko [Thu, 20 Dec 2007 20:54:44 +0000 (02:24 +0530)]
zfec: update licensing and attribution docs

darcs-hash:f0082d6e279471d4288caa66a2950a8f8d5539bc

16 years agozfec: changelog: document the latest interesting patches in the changelog
zooko [Thu, 20 Dec 2007 16:33:38 +0000 (22:03 +0530)]
zfec: changelog: document the latest interesting patches in the changelog

darcs-hash:4c8d705e968db7c15cd5e9be5f7676f7495aad06

16 years agozfec: dual-license under GPL and TGPPL
zooko [Thu, 20 Dec 2007 16:31:13 +0000 (22:01 +0530)]
zfec: dual-license under GPL and TGPPL

darcs-hash:79ecc42724721956dc6a3a42262a6d4e839f1751

16 years agozfec: add "changelog" file, which contains descriptions of the darcs patches since...
zooko [Thu, 20 Dec 2007 16:25:31 +0000 (21:55 +0530)]
zfec: add "changelog" file, which contains descriptions of the darcs patches since the last release that I think are interesting to users

darcs-hash:1cd4b780cb708ff84992058f99f95bff8454bca6

16 years agozfec: setup: require setuptools_darcs >= 1.1.0 (fixes problem with building incomplet...
zooko [Thu, 20 Dec 2007 16:23:41 +0000 (21:53 +0530)]
zfec: setup: require setuptools_darcs >= 1.1.0 (fixes problem with building incomplete packages)

darcs-hash:3c7ebc7fe78d5a72a8ab577a56f8daf723ac2e36

16 years agozfec: fix import of sys in the case that ez_setup couldn't be imported
zooko [Thu, 20 Dec 2007 02:28:57 +0000 (07:58 +0530)]
zfec: fix import of sys in the case that ez_setup couldn't be imported

darcs-hash:057eed993a3ee9b8d376db7a747888c589fb73db

16 years agozfec: setup: pass --quiet to darcsver invocation in setup.py
zooko [Thu, 13 Dec 2007 01:09:27 +0000 (06:39 +0530)]
zfec: setup: pass --quiet to darcsver invocation in setup.py

darcs-hash:32cdb68af63299505000c0574f998864c30d4ae2

16 years agozfec: set STRIDE to 8192 after extensive experimentation on my PowerPC G4 867 MHz...
zooko [Wed, 14 Nov 2007 16:44:26 +0000 (22:14 +0530)]
zfec: set STRIDE to 8192 after extensive experimentation on my PowerPC G4 867 MHz (256 KB L2 cache)

darcs-hash:c361c87dc18b6938cd0756a084c022484a4220f8

16 years agozfec: reorder the inner loop to be more cache-friendly
zooko [Mon, 12 Nov 2007 14:58:19 +0000 (20:28 +0530)]
zfec: reorder the inner loop to be more cache-friendly

Loop over this stride of each input block before looping over all strides of
this input block.  In theory, this should allow the strides of the input blocks
to remain in cache while we produce all of the output blocks.

darcs-hash:8f0ac74d2150507519463d2d711607f467f18ea6

16 years agozfec: do encoding within a fixed window of memory in order to be cache friendly
zooko [Sun, 11 Nov 2007 17:04:44 +0000 (22:34 +0530)]
zfec: do encoding within a fixed window of memory in order to be cache friendly

darcs-hash:ecd8bb2a485674ce3178b9d9bdb9df107fa3411f

16 years agozfec: bench: turn down data sizes since my Windows laptop can't handle 32 MiB python...
zooko [Wed, 14 Nov 2007 16:39:09 +0000 (22:09 +0530)]
zfec: bench: turn down data sizes since my Windows laptop can't handle 32 MiB python strings

darcs-hash:ea41efbcfedfd566b294dc050349b81721725c8e

16 years agozfec: set benchmark to K=3, M=10, because that is the setting that I'm most intereste...
zooko [Wed, 14 Nov 2007 17:12:10 +0000 (22:42 +0530)]
zfec: set benchmark to K=3, M=10, because that is the setting that I'm most interested in nowadays

darcs-hash:56e350c6ca4296609f2673e041f0b0c87e84a26d

16 years agozfec: clarification of in-line comment
zooko [Wed, 14 Nov 2007 15:51:16 +0000 (21:21 +0530)]
zfec: clarification of in-line comment

darcs-hash:9759e7e327e5ae24126fe80ddefd00d734532b01

16 years agozfec: conditionally-compile the right magic to use alloca() with gcc -mno-cygwin
zooko [Tue, 13 Nov 2007 20:13:52 +0000 (01:43 +0530)]
zfec: conditionally-compile the right magic to use alloca() with gcc -mno-cygwin

darcs-hash:d1c2597ea94772afcbb81c50ab7ff8efd0eacd6e

16 years agozfec: setup: fix the spelling of "zfec.fec" package name
zooko [Tue, 13 Nov 2007 20:11:33 +0000 (01:41 +0530)]
zfec: setup: fix the spelling of "zfec.fec" package name

darcs-hash:5b95d55a2a030217eec838876d733294cc044ea3

16 years agozfec: setup: bump the required version number of setuptools_darcs to >= 1.0.4
zooko [Fri, 9 Nov 2007 19:06:02 +0000 (00:36 +0530)]
zfec: setup: bump the required version number of setuptools_darcs to >= 1.0.4

darcs-hash:76fbf88647fa6ad5778ae9e8cf72f7153aef1d1e

16 years agozfec: setup: keep trying to setup even if ez_setup.py isn't importable
zooko [Fri, 9 Nov 2007 19:05:41 +0000 (00:35 +0530)]
zfec: setup: keep trying to setup even if ez_setup.py isn't importable

darcs-hash:2e0d50a2352a0aaa6788e9720063613ad30688bf

16 years agozfec: set benchmark to sizes that don't fit in the Intel Core Duo 2's caches
zooko [Sun, 11 Nov 2007 15:51:03 +0000 (21:21 +0530)]
zfec: set benchmark to sizes that don't fit in the Intel Core Duo 2's caches

darcs-hash:6cf12e10da93609df1a9908db81ab2eb6c5a895a

16 years agozfec: add a TODO note
zooko [Sun, 11 Nov 2007 15:50:54 +0000 (21:20 +0530)]
zfec: add a TODO note

darcs-hash:ee5afb2709f6a6546a308f6429f5e65db3edf421

16 years agozfec: setup: don't spew a traceback if darcsver isn't installed
zooko [Fri, 9 Nov 2007 19:00:47 +0000 (00:30 +0530)]
zfec: setup: don't spew a traceback if darcsver isn't installed

darcs-hash:e40112248796b61fcd0b2463b3ada88ca22885c2

16 years agozfec: add benchmarks for easyfec (untested)
zooko [Fri, 9 Nov 2007 18:14:55 +0000 (23:44 +0530)]
zfec: add benchmarks for easyfec (untested)

darcs-hash:5fbe3fc4ef8a98da3633cccdb940740ccc2efb1e

16 years agozfec: setup: remove MANIFEST.in
zooko [Fri, 9 Nov 2007 18:09:52 +0000 (23:39 +0530)]
zfec: setup: remove MANIFEST.in

Its job is now done by setuptools_darcs.

darcs-hash:d16494c89e28f471ab02685c4551bd1f64de3dd9

16 years agozfec: update TODO
zooko [Fri, 9 Nov 2007 17:04:11 +0000 (22:34 +0530)]
zfec: update TODO

darcs-hash:4a953d902a66fb006b76d6b4991bc7dbfdbffe00

16 years agozfec: fewer randomized tests (for faster unit testing)
zooko [Fri, 9 Nov 2007 17:03:48 +0000 (22:33 +0530)]
zfec: fewer randomized tests (for faster unit testing)

darcs-hash:4385193efc7415d8c3a6d7adf899ba130158e711

16 years agozfec: refactor exception raising to use handy dandy PyErr_Format() instead of vsprintf()
zooko [Fri, 9 Nov 2007 17:00:29 +0000 (22:30 +0530)]
zfec: refactor exception raising to use handy dandy PyErr_Format() instead of vsprintf()

darcs-hash:40abebbd86d0f57ba443778bdf0d6db309c0657b

16 years agozfec: a few debugging and in-line comment tweaks
zooko [Fri, 9 Nov 2007 16:45:23 +0000 (22:15 +0530)]
zfec: a few debugging and in-line comment tweaks

darcs-hash:3a3ee6328a6ad7de8d8011aa935f4b70d763850e

16 years agozfec: add unit tests for easyfec, fix bug in easyfec padding, add docstrings explaini...
zooko [Fri, 9 Nov 2007 16:43:59 +0000 (22:13 +0530)]
zfec: add unit tests for easyfec, fix bug in easyfec padding, add docstrings explaining how to use easyfec padding correctly

darcs-hash:f7eb0510f00bd2003292fb324854e72b9b7cc683

16 years agozfec: add unit tests for easyfec
zooko [Thu, 8 Nov 2007 22:26:00 +0000 (03:56 +0530)]
zfec: add unit tests for easyfec

darcs-hash:a55ddf8d4f0fd974bd80f5744377a5217bf94b1f

16 years agozfec: merge two ways to set the default K and M for cmdline_zfec to 3 and 8
zooko [Fri, 9 Nov 2007 04:56:43 +0000 (10:26 +0530)]
zfec: merge two ways to set the default K and M for cmdline_zfec to 3 and 8

darcs-hash:8c2b921926d682b682fe2673a2d291597b0abfc5

16 years agozfec: fix the C89 patch's use of alloca() by multiplying in the object size
zooko [Fri, 9 Nov 2007 02:21:50 +0000 (07:51 +0530)]
zfec: fix the C89 patch's use of alloca() by multiplying in the object size

darcs-hash:590b82569a36b9260c5b8b7d7bf86aabb491769e

16 years agozfec: make precondition violation exception message more meaningful to the user
zooko [Fri, 9 Nov 2007 02:18:27 +0000 (07:48 +0530)]
zfec: make precondition violation exception message more meaningful to the user

darcs-hash:447d20434d0f0669b27e807da6a1b21f6f22e1cb

16 years agozfec: make zfec C89 (ANSI C) compatible, patch thanks to Greg Hazel
zooko [Thu, 8 Nov 2007 22:35:59 +0000 (04:05 +0530)]
zfec: make zfec C89 (ANSI C) compatible, patch thanks to Greg Hazel

darcs-hash:ed97b58272cd371a187fb2d16efda4e2119daf17

16 years agozfec: make the default K and M for the cmdline "zfec" tool be 3-of-8
zooko [Thu, 8 Nov 2007 22:41:37 +0000 (04:11 +0530)]
zfec: make the default K and M for the cmdline "zfec" tool be 3-of-8

The unit tests currently expect these defaults.

darcs-hash:58dc1f683e135b0107e055f9651254c7965be1f5

16 years agozfec: clearer precondition failure exception message
zooko [Fri, 9 Nov 2007 04:55:19 +0000 (10:25 +0530)]
zfec: clearer precondition failure exception message

darcs-hash:1aaa9d162836f85f2413e6008bc0d924d4d4d089

16 years agozfec: clean up variable names and whitespace
zooko [Fri, 9 Nov 2007 04:54:00 +0000 (10:24 +0530)]
zfec: clean up variable names and whitespace

darcs-hash:c8415bf64b2a3504c5278eef452c7c79596907b7

16 years agozfec: setup: use argparse and pyutil as separate packages, not by copying their sourc...
zooko [Fri, 9 Nov 2007 04:51:35 +0000 (10:21 +0530)]
zfec: setup: use argparse and pyutil as separate packages, not by copying their source code into the zfec package

darcs-hash:8b55031053efa39c1379a0fbcd036636772cd7f1

16 years agoTEMP TFIX EASYFGEC
zooko [Thu, 8 Nov 2007 22:28:06 +0000 (03:58 +0530)]
TEMP TFIX EASYFGEC

darcs-hash:51a43555f1cf5d12bd8602254a17b0596d590e7d

16 years agozfec: setup: build _fec.so under the zfec subdirectory
zooko [Thu, 8 Nov 2007 14:41:46 +0000 (20:11 +0530)]
zfec: setup: build _fec.so under the zfec subdirectory

darcs-hash:1668af829fd96565715709f6a588d6b3ac811450