]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/log
tahoe-lafs/zfec.git
14 years agosetup: build-requirement on setuptools from 0.6c10 (zetuptoolz) to 0.6c9 (current...
zooko [Wed, 17 Jun 2009 15:28:22 +0000 (20:58 +0530)]
setup: build-requirement on setuptools from 0.6c10 (zetuptoolz) to 0.6c9 (current release of setuptools)

Ignore-this: 88554f3dcfa2654d96104e13d068360
Hopefully this will let stdeb run to completion.

darcs-hash:9480446f961e45a6b36b71d6d40909c2670a0448

14 years agosetup: undo the recent change to make argparse and pyutil required only for building...
zooko [Wed, 17 Jun 2009 15:27:30 +0000 (20:57 +0530)]
setup: undo the recent change to make argparse and pyutil required only for building command-line tools

Ignore-this: 47a4604cde20c159be18f7c906c81b8f
It breaks the current release of stdeb, and also it looks like we might be able to get argparse and pyutil into Debian, and a version of zfec without its command-line tools wouldn't be nearly as generally useful.

darcs-hash:04ac3c650749cdb3a636d49e07ee1e7633280e07

14 years agosetup: tiny change to conform to my standard setup.py boilerplate
zooko [Mon, 8 Jun 2009 19:15:02 +0000 (00:45 +0530)]
setup: tiny change to conform to my standard setup.py boilerplate

Ignore-this: 2fd97d77f5fae15144775cd7222663d4

darcs-hash:0421a4f0ad706145efcd3f4d75cbd74399128792

14 years agosetup: loosen the requirements -- you need argparse and pyutil only if you want the...
zooko [Mon, 15 Jun 2009 23:17:11 +0000 (04:47 +0530)]
setup: loosen the requirements -- you need argparse and pyutil only if you want the "zfec" and "zunfec" commandline tools

Ignore-this: 5e502a60e8d63ebf98b8bb87b21b9f63
This way Tahoe-LAFS can require zfec without requiring zfec's commandline tools, and therefore without requiring argparse or pyutil.  This might make it easier to package Tahoe-LAFS for Debian.

darcs-hash:56fdb34c44a5e59568f261c1df352a60ab7f27a1

14 years agonarrow types of k and m from unsigned to unsigned short
zooko [Mon, 15 Jun 2009 22:20:12 +0000 (03:50 +0530)]
narrow types of k and m from unsigned to unsigned short

Ignore-this: 4c26811e89232bb7917c961900670a87

darcs-hash:9bc59ddbad635e5bde000497cc81a50d75d0368c

14 years agotests: cleaner tests by writing "self.fail(why)" instead of "raise why"
zooko [Mon, 15 Jun 2009 22:19:45 +0000 (03:49 +0530)]
tests: cleaner tests by writing "self.fail(why)" instead of "raise why"

Ignore-this: 2e798985cb73984938e24b403e78c73c

darcs-hash:90cfc7d1ae8f1684a4f2b635006574ee9ebda76e

14 years agosilence deprecation warning by using hashlib if it is present (which it is on Python...
zooko [Mon, 15 Jun 2009 22:19:23 +0000 (03:49 +0530)]
silence deprecation warning by using hashlib if it is present (which it is on Python >= 2.5.0)

Ignore-this: 8c1c031028640cf022e4efb2ff9b6e12

darcs-hash:c65550b3ff75901d39e274e7001417aa29790649

14 years ago#include <stddef.h> -- it is required for size_t (on some platforms)
zooko [Mon, 15 Jun 2009 22:18:28 +0000 (03:48 +0530)]
#include <stddef.h> -- it is required for size_t (on some platforms)

Ignore-this: 81865f845b989d65bfe64c44b3b05455

darcs-hash:47e32308c6f27de8a900808d0e7aeb52a88f84d0

14 years agofix segfault when invalid arguments are passed to constructor
zooko [Mon, 15 Jun 2009 22:17:51 +0000 (03:47 +0530)]
fix segfault when invalid arguments are passed to constructor

Ignore-this: 3e7a6bfe32af144af39c4f8edd7e170e

darcs-hash:fc87292445de462e9b296cbc1e6eda584f5748b1

14 years agosetup: increase requirement on setuptools version to >= 0.6c10 (which means our own...
zooko [Mon, 15 Jun 2009 20:52:20 +0000 (02:22 +0530)]
setup: increase requirement on setuptools version to >= 0.6c10 (which means our own toothpick of setuptools a.k.a. zetuptoolz) because the setuptools-0.6c7 on our Windows buildslave has a problem with multiple overlapping dependencies on pyutil, but 0.6c10dev (which is already bundled with zfec) doesn't

Ignore-this: e0aa17a5c769cdd427279ff60a4549e0

darcs-hash:b2b4c229f9335617d1cbaba3364bb734c0e431f3

14 years agosetup: don't use BaseException (introduced in Python 2.5); instead Exception (for...
zooko [Mon, 15 Jun 2009 19:09:04 +0000 (00:39 +0530)]
setup: don't use BaseException (introduced in Python 2.5); instead Exception (for compatibility with Python 2.4)

Ignore-this: 76033016d61c5a69a06ba9cb37ea148

darcs-hash:944fb235a08050d7d5413c0433ced804ddf26d3e

14 years agofinally figured out what the C compiler was trying to tell me about prototypes and...
zooko [Sun, 14 Jun 2009 17:34:15 +0000 (23:04 +0530)]
finally figured out what the C compiler was trying to tell me about prototypes and types

Ignore-this: 9c4440c6370bf188715b860b79652881

darcs-hash:e46cb5c9390823e0057c420c3206a05ca4a6a17d

14 years agotrivial: try to silence a gcc warning about prototypes
zooko [Sun, 14 Jun 2009 16:08:37 +0000 (21:38 +0530)]
trivial: try to silence a gcc warning about prototypes

Ignore-this: d67d4e67a8e598043c94b383e9335caf

darcs-hash:4e96879d99ee5b378feb2616bdd0540e9f45a5f4

14 years agotrivial: really hush pyflakes this time
zooko [Sun, 14 Jun 2009 15:13:15 +0000 (20:43 +0530)]
trivial: really hush pyflakes this time

Ignore-this: e2c0329bdc031d5f46da34e453d27aca

darcs-hash:af9498df1510e2c2cb0ce2e964dbc3adf466728d

14 years agoremove unused imports noticed by pyflakes
zooko [Sun, 14 Jun 2009 01:07:13 +0000 (06:37 +0530)]
remove unused imports noticed by pyflakes

Ignore-this: 57d7c47a3ed80f337432634fbdb5cd02

darcs-hash:0214f052276e94b36104935a80b57598dfd32def

14 years agosee if this silences the "not a prototype" warning
zooko [Sun, 14 Jun 2009 01:06:57 +0000 (06:36 +0530)]
see if this silences the "not a prototype" warning

Ignore-this: 2935c5fea2eee592d418f539c4080891

darcs-hash:fbbca4eeaa80fda92062f67aec5ad669666892ba

14 years agosetup: require darcsver
zooko [Sun, 14 Jun 2009 01:06:13 +0000 (06:36 +0530)]
setup: require darcsver

Ignore-this: a05fba754a011950a68b049c1e737e00

darcs-hash:69e77119656cff6aa76d29489da6981ea0206154

14 years agoquiet pyflakes
zooko [Sun, 14 Jun 2009 01:04:27 +0000 (06:34 +0530)]
quiet pyflakes

Ignore-this: b432a1a119ef612b3b7b064716f6a32b

darcs-hash:50bcb056a8894596d0f0bc02250dff05487f0908

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