zooko [Sat, 19 Jan 2008 03:20:24 +0000 (08:50 +0530)]
doc: trivial fixups and touch a yearstamp
darcs-hash:
d7f447bd58147b8004d36ad8dff93f7f89f213d2
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
zooko [Sat, 19 Jan 2008 03:09:08 +0000 (08:39 +0530)]
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
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
zooko [Sat, 19 Jan 2008 03:04:25 +0000 (08:34 +0530)]
fix warnings regarding printing size_t types
darcs-hash:
3f0238cf91140f11d36d006095c497fe809788fc
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
zooko [Fri, 18 Jan 2008 14:51:45 +0000 (20:21 +0530)]
doc: TODO, copyright, version number regex, etc.
darcs-hash:
55926cf15daba95484943746445f28e25cad9910
zooko [Fri, 18 Jan 2008 14:48:44 +0000 (20:18 +0530)]
tests: add test suggested by agl's bug report
darcs-hash:
d0f2e6069fe17e2c115c76511d9f8de0989c3685
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
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
zooko [Sat, 22 Dec 2007 16:08:46 +0000 (21:38 +0530)]
zfec: setup: tests_require pyutil
darcs-hash:
b6455e31efdb71dd8a0d1aa7d83a51b278361602
zooko [Sat, 22 Dec 2007 04:43:57 +0000 (10:13 +0530)]
zfec: setup: improve documentation in __init__.py
darcs-hash:
b686acf87ce884cd98c75119e5902352735d88f7
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
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
zooko [Sat, 22 Dec 2007 04:41:00 +0000 (10:11 +0530)]
zfec: setup: move bundled argparse into misc/dependencies
darcs-hash:
bda2d4ad6ff316405d31c074b627302cfaf47915
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
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
zooko [Sat, 22 Dec 2007 00:24:31 +0000 (05:54 +0530)]
zfec: setup: bundle argparse-0.8.0.tar
darcs-hash:
1af74690f1312a1c5ca7e79fb05cabb93d8976c8
zooko [Sat, 22 Dec 2007 00:13:19 +0000 (05:43 +0530)]
zfec: setup: bundle setuptools-0.6c7-py2.5.egg
darcs-hash:
d878dda477f3c8787ef8334fc879f7ab2c65c835
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
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
zooko [Thu, 20 Dec 2007 20:58:15 +0000 (02:28 +0530)]
zfec: changelog: document recent patches
darcs-hash:
b897854dce965ff70308469769e1a6f4888beebd
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
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
zooko [Thu, 20 Dec 2007 20:55:18 +0000 (02:25 +0530)]
zfec: update in-line comments/docs
darcs-hash:
8ed8783b257bbbc7f65efa4f9fd7ff0b2700a03a
zooko [Thu, 20 Dec 2007 20:54:44 +0000 (02:24 +0530)]
zfec: update licensing and attribution docs
darcs-hash:
f0082d6e279471d4288caa66a2950a8f8d5539bc
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
zooko [Thu, 20 Dec 2007 16:31:13 +0000 (22:01 +0530)]
zfec: dual-license under GPL and TGPPL
darcs-hash:
79ecc42724721956dc6a3a42262a6d4e839f1751
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
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
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
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
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
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
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
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
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
zooko [Wed, 14 Nov 2007 15:51:16 +0000 (21:21 +0530)]
zfec: clarification of in-line comment
darcs-hash:
9759e7e327e5ae24126fe80ddefd00d734532b01
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
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
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
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
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
zooko [Sun, 11 Nov 2007 15:50:54 +0000 (21:20 +0530)]
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
zooko [Fri, 9 Nov 2007 18:14:55 +0000 (23:44 +0530)]
zfec: add benchmarks for easyfec (untested)
darcs-hash:
5fbe3fc4ef8a98da3633cccdb940740ccc2efb1e
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
zooko [Fri, 9 Nov 2007 17:04:11 +0000 (22:34 +0530)]
zooko [Fri, 9 Nov 2007 17:03:48 +0000 (22:33 +0530)]
zfec: fewer randomized tests (for faster unit testing)
darcs-hash:
4385193efc7415d8c3a6d7adf899ba130158e711
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
zooko [Fri, 9 Nov 2007 16:45:23 +0000 (22:15 +0530)]
zfec: a few debugging and in-line comment tweaks
darcs-hash:
3a3ee6328a6ad7de8d8011aa935f4b70d763850e
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
zooko [Thu, 8 Nov 2007 22:26:00 +0000 (03:56 +0530)]
zfec: add unit tests for easyfec
darcs-hash:
a55ddf8d4f0fd974bd80f5744377a5217bf94b1f
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
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
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
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
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
zooko [Fri, 9 Nov 2007 04:55:19 +0000 (10:25 +0530)]
zfec: clearer precondition failure exception message
darcs-hash:
1aaa9d162836f85f2413e6008bc0d924d4d4d089
zooko [Fri, 9 Nov 2007 04:54:00 +0000 (10:24 +0530)]
zfec: clean up variable names and whitespace
darcs-hash:
c8415bf64b2a3504c5278eef452c7c79596907b7
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
zooko [Thu, 8 Nov 2007 22:28:06 +0000 (03:58 +0530)]
zooko [Thu, 8 Nov 2007 14:41:46 +0000 (20:11 +0530)]
zfec: setup: build _fec.so under the zfec subdirectory
darcs-hash:
1668af829fd96565715709f6a588d6b3ac811450
zooko [Thu, 8 Nov 2007 14:41:16 +0000 (20:11 +0530)]
zfec: setup: use my version of ez_setup.py
darcs-hash:
244257f0cf10f16a6c22b23816bde215d2fc8dcb
zooko [Thu, 8 Nov 2007 14:41:08 +0000 (20:11 +0530)]
zooko [Thu, 4 Oct 2007 21:05:24 +0000 (02:35 +0530)]
zfec: import latest variant of ez_setup.py
darcs-hash:
6a84806a63dc64da55d82ec3626b2d65061ef059
zooko [Wed, 3 Oct 2007 20:28:25 +0000 (01:58 +0530)]
zfec: use ez_setup.py without a "download delay"
darcs-hash:
38dcb86c9e96c9ee84813865e08c3f30c369e5d2
zooko [Wed, 3 Oct 2007 20:27:56 +0000 (01:57 +0530)]
zfec: copy in a version of ez_setup.py that has our latest patches
darcs-hash:
6ac20dbf25fcbcfbf62ff1a71b4a9139038c5c9b
zooko [Mon, 1 Oct 2007 19:40:32 +0000 (01:10 +0530)]
zfec: add warning about changed share header in zfec v1.1
darcs-hash:
93fac0833f5926037ab3bf56b7776d160e346246
zooko [Mon, 1 Oct 2007 03:09:45 +0000 (08:39 +0530)]
zfec: loosen the interface of the cmdline tool to allow m < 3, and to allow k == 1 and to allow k == m ; WARNING: this breaks data-compatibility with shares produced by earlier versions of zfec!
darcs-hash:
27c79434d568611d832c31a345377bf97d143105
zooko [Mon, 1 Oct 2007 02:08:24 +0000 (07:38 +0530)]
zfec: make benchmark script do 3-of-10 instead of 25-of-100
darcs-hash:
84457ef3d731586591350a17856f5f04ebd44aba
zooko [Sun, 30 Sep 2007 22:31:01 +0000 (04:01 +0530)]
zfec: trivial reformatting of unit test names
darcs-hash:
f3e646c46fcbf21afe15bd0d97b43831794ae07c
zooko [Thu, 27 Sep 2007 22:55:34 +0000 (04:25 +0530)]
zfec: don't use vsnprintf (because it is named _vsnprintf and has slightly different semantics in the Microsoft C library) -- vsprintf is good enough for this purpose
darcs-hash:
5119f21d54da904a47f1a664c7d67eeeca0823b6
zooko [Thu, 27 Sep 2007 22:55:19 +0000 (04:25 +0530)]
zfec: remove some unused error-handling code from fec.c
darcs-hash:
7c10df4835790fd41f870f589f752fd57c82bb59
zooko [Thu, 27 Sep 2007 22:38:59 +0000 (04:08 +0530)]
zfec: formatting of error messages
darcs-hash:
e53d637d7de42d05f59a40d093e4e9f8dc77113b
zooko [Thu, 27 Sep 2007 22:26:39 +0000 (03:56 +0530)]
zfec: make invocation of darcsver in setup.py more portable
darcs-hash:
edbe56d523b3812d589e0482af648f73b702fb7e
zooko [Tue, 18 Sep 2007 19:07:47 +0000 (00:37 +0530)]
zfec: silence warning about darcsver not being present at setup.py time
darcs-hash:
dc60fa38e69f52617be7bf09f9335a54ab4a5b68
zooko [Wed, 12 Sep 2007 23:46:43 +0000 (05:16 +0530)]
zfec: install unzipped by default (can be overridden by easy_install's --zip-ok option)
darcs-hash:
e1ae764768a909b1774637c4d13b07b3bca1dcb6
zooko [Wed, 12 Sep 2007 23:45:24 +0000 (05:15 +0530)]
zfec: quiet warning message if darcsver fails
darcs-hash:
cde749a51022a274d85d7c02f0ab1301956117b7
zooko [Wed, 12 Sep 2007 18:39:13 +0000 (00:09 +0530)]
zooko [Wed, 12 Sep 2007 18:19:02 +0000 (23:49 +0530)]
zfec: attempt to invoke "darcsver" when setup.py is invoked
darcs-hash:
8067a1578cc0650b37f1d1cca64deb091f6d858a
zooko [Wed, 12 Sep 2007 18:18:03 +0000 (23:48 +0530)]
zfec: make zfec.h and ez_setup.py be included in source distributions
darcs-hash:
c4c9d95a4ca46ce99e6091e919e588fb8e211daa
zooko [Wed, 12 Sep 2007 18:17:39 +0000 (23:47 +0530)]
zfec: make ez_setup.py download setuptools v0.6c7 by default
darcs-hash:
04d6939bf063df6d29c122bc0ba576c64cd36924
zooko [Sat, 25 Aug 2007 22:52:28 +0000 (04:22 +0530)]
zfec: attempt to configure setuptools to include *.h and ez_setup.py in the resulting package
But, as far as I can tell this doesn't work. I suppose I've misunderstood the docs.
darcs-hash:
407959454b1e01dd6fd0f7e23252cac348bc9099
zooko [Tue, 21 Aug 2007 19:34:42 +0000 (01:04 +0530)]
zfec: add md5sums for setuptools-0.6c6 and remove other versions
darcs-hash:
f5c8d12789d2645b44a9bc082222e470f07b9715
zooko [Tue, 21 Aug 2007 19:34:37 +0000 (01:04 +0530)]
zfec: copy the new version of pyutil's version_class.py into zfec/util/ and remove the dependency on the separate pyutil library
darcs-hash:
9c09937490f98b3f36a22ad6da9cf5bf2b870fd9
zooko [Tue, 21 Aug 2007 19:09:44 +0000 (00:39 +0530)]
zfec: edit text of error message
darcs-hash:
6ba6918ddfe2a6ebd60d68a6194e665174ce9e4d
zooko [Thu, 9 Aug 2007 18:33:25 +0000 (00:03 +0530)]
merge duplicate patches to shebang /usr/bin/python
one patch from the tahoe darcs repo and one patch from the zfec darcs repo
darcs-hash:
e734a2a759ed3d20b7ddbd813082cda79edaee9c
zooko [Wed, 8 Aug 2007 21:37:40 +0000 (03:07 +0530)]
shebang /usr/bin/env python in ez_setup.py
This makes it so that "./ez_setup.py" works on more platforms.
darcs-hash:
009f66d9c8314c7c475785627b9c17048f990b49
Zooko O'Whielacronx zooko@zooko.com [Mon, 4 Jun 2007 11:45:17 +0000 (17:15 +0530)]
zfec: shebang usr bin env python in ez_setup.py
darcs-hash:
b54fccedd89161b7851940802d614c80f58c2eb3
zooko [Thu, 9 Aug 2007 18:10:58 +0000 (23:40 +0530)]
zooko [Thu, 9 Aug 2007 17:29:03 +0000 (22:59 +0530)]
zfec: required version of setuptools is 0.6c6 on cygwin, 0.6a9 on other platforms
darcs-hash:
63f407d975f03deb20d636ac6a8b76bbc491d097
zooko [Thu, 9 Aug 2007 17:28:38 +0000 (22:58 +0530)]
zfec: default setuptools version is now 0.6c6
darcs-hash:
55f699809b458537ae8fda5a4204bfa2a23b0df8
zooko [Thu, 9 Aug 2007 17:19:13 +0000 (22:49 +0530)]
zooko [Fri, 20 Jul 2007 22:51:24 +0000 (04:21 +0530)]
zfec: add to README.txt how to run the unit tests
darcs-hash:
7ebe225252c8c2b47112b0299b1e9de5c0facf8b
zooko [Fri, 20 Jul 2007 20:57:47 +0000 (02:27 +0530)]
zfec: fix link to zfec-dev mailing list
darcs-hash:
53c8fbff3f990349b230eee0f4bc3a221e5a5088
zooko [Fri, 20 Jul 2007 20:57:01 +0000 (02:27 +0530)]
zfec: fix README.txt to explain how to use setuptools with GNU stow better
Also remove requirement of setuptools >= v0.6c3. I *think* that using setuptools in the modern way relieves this requirement, but I haven't tested it on dapper yet.
darcs-hash:
e54f3e39d32688133bb30a2e9f771f88b6f959d4
zooko [Fri, 20 Jul 2007 20:55:46 +0000 (02:25 +0530)]
zfec: clarify licensing requirements (transitive grace period)
darcs-hash:
040bbdce524148b6eaffce10eb6d5beed825b69a
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