tahoe-lafs/zfec.git
13 years agosetup: if there is a utf-8 "BOM" at the beginning on README.rst, strip it before...
zooko [Sun, 16 Jan 2011 17:52:49 +0000 (23:22 +0530)]
setup: if there is a utf-8 "BOM" at the beginning on README.rst, strip it before passing the contents of the file to setup()

Ignore-this: f06876029ceb9f60801017b98045343

darcs-hash:7024c4a6059b59767fd03609e33c4b35bfb4fbf6

13 years agosetup: don't build-dep on darcsver unless 'darcsver' appears on sys.argv (thus neatly...
zooko [Sun, 16 Jan 2011 17:47:25 +0000 (23:17 +0530)]
setup: don't build-dep on darcsver unless 'darcsver' appears on sys.argv (thus neatly avoiding a bug in distribute)

Ignore-this: 4315aad71297613be76823aca5260f1a

darcs-hash:deacf6ad9fb7b06c9894a01ab2b4ca31045f0224

14 years agodocs: update README.rst
zooko [Sun, 5 Dec 2010 03:29:26 +0000 (08:59 +0530)]
docs: update README.rst

Ignore-this: 1d2bf311b4add513fe964db81c308d34

darcs-hash:2e942fdecb1268142353bfd7e70f19331d2076cc

14 years agosetup: comment-out the setup_requires on setuptools_darcs to work-around a distribute...
zooko [Sat, 4 Dec 2010 19:06:08 +0000 (00:36 +0530)]
setup: comment-out the setup_requires on setuptools_darcs to work-around a distribute/ubuntu bug

Ignore-this: 8ea3b82c5d604cd3779680768de615be

darcs-hash:df4b4f172309384ee31f58c76889eb8c67f0828a

14 years agodocs: update docs and metadata
zooko [Sat, 4 Dec 2010 19:00:54 +0000 (00:30 +0530)]
docs: update docs and metadata

Ignore-this: 2d00ae4418ae817ccc0e5838818683a7

darcs-hash:4df3a64cd36607211b8d4d612e49fca62d36c409

14 years agosetup: add valgrind version to show-tool-versions
zooko [Thu, 25 Nov 2010 21:05:36 +0000 (02:35 +0530)]
setup: add valgrind version to show-tool-versions

Ignore-this: c39bf6df5760ae2b3360ceb5f17cdcdc

darcs-hash:1e66d89601bc930c2742dabfa31e10a82a81deaa

14 years agosetup: show-tool-versions: emit module and __version__ information even when module...
zooko [Sat, 30 Oct 2010 06:59:13 +0000 (12:29 +0530)]
setup: show-tool-versions: emit module and __version__ information even when module name != distribution (package) name, and add TwistedCore

Ignore-this: 93c1d7e5062a85a27d5b3df91d13d86f

darcs-hash:22685813d4d1ca719250b2842ba6a72a26ae479e

14 years agosetup: show-tool-versions: emit more information about Python packages, and add Twist...
zooko [Sat, 30 Oct 2010 06:44:59 +0000 (12:14 +0530)]
setup: show-tool-versions: emit more information about Python packages, and add Twisted to the set of packages to describe

Ignore-this: 354f6311643ded0eb2eeba763485d43

darcs-hash:b9fd1c2cb20fb674bb4dcd9d3aac7dbdaf3e9b69

14 years agosetup: add flappclient to the set of tools reported on by show-tool-versions
zooko [Thu, 23 Sep 2010 05:50:45 +0000 (11:20 +0530)]
setup: add flappclient to the set of tools reported on by show-tool-versions

Ignore-this: a5e9433575e6196493278b6118f4c2b2

darcs-hash:db9f024076f80a442602e3910f01765576a87c3f

14 years agosetup: make show-tool-versions format its output in a more human-readable way
zooko [Mon, 20 Sep 2010 22:52:13 +0000 (04:22 +0530)]
setup: make show-tool-versions format its output in a more human-readable way

Ignore-this: b83372b8535998534e0e641e98bd7836

darcs-hash:a4b89b3434af1f917850ea26888d9a1e741c079d

14 years agosetup: fix missing import in show-tool-versions
zooko [Sun, 19 Sep 2010 00:51:13 +0000 (06:21 +0530)]
setup: fix missing import in show-tool-versions

Ignore-this: f06ad992ccda554ed3775bd11253ace5

darcs-hash:3e050bfc7172ba2e6477e77fdfc9ca6b53d0da20

14 years agosetup: make show-tool-versions report entire verbose exception stack traces when...
zooko [Sun, 19 Sep 2010 00:43:35 +0000 (06:13 +0530)]
setup: make show-tool-versions report entire verbose exception stack traces when it fails to find a Python package

Ignore-this: 98f469a357e45fda5ad6c0519369ee3c

darcs-hash:d3f7c4902d1d8d678e73a415a69c8355d47d8690

14 years agosetup: copy misc/build_helpers/run_trial.py from tahoe-lafs (ref: #52)
zooko [Sun, 19 Sep 2010 00:43:23 +0000 (06:13 +0530)]
setup: copy misc/build_helpers/run_trial.py from tahoe-lafs (ref: #52)

Ignore-this: 5e3ee2511f54fb857bb87dd5d9ad7c94

darcs-hash:c744372840befe040838072c53fc52521cb1f53d

14 years agosetup: add information about setuptools_darcs and darcsver to the show-tool-versions...
zooko [Sat, 18 Sep 2010 22:04:01 +0000 (03:34 +0530)]
setup: add information about setuptools_darcs and darcsver to the show-tool-versions output

Ignore-this: 999e02a5ceb6f789d8a95e4b4cd893f9

darcs-hash:497b01394be8ada8d7a9aca6514935f36ab193a1

14 years agosetup: setup always requires setuptools_trial
zooko [Sun, 1 Aug 2010 06:24:36 +0000 (11:54 +0530)]
setup: setup always requires setuptools_trial

Ignore-this: f770bf2ec90a162a3f6501dbcda89cc2

darcs-hash:67c24545dde4680ab183a1a8fb34c23788fe4781

14 years agosetup: setup requires setuptools_trial if it is to be run as the alias for "python...
zooko [Sun, 1 Aug 2010 06:23:01 +0000 (11:53 +0530)]
setup: setup requires setuptools_trial if it is to be run as the alias for "python setup.py test"

Ignore-this: ebd855cdffc76de8bc7b89a866ffea67

darcs-hash:4f2ee7744414acd3410fd21d7c0234aa3885d0db

14 years agoM-x whitespace-cleanup
zooko [Sun, 1 Aug 2010 06:20:46 +0000 (11:50 +0530)]
M-x whitespace-cleanup

Ignore-this: 3b7fcb62a2aad6fbf18c2294fed1283d

darcs-hash:af93a6ed31d0392b1b9d3a854b52cf1f633c2ea9

14 years agosetup: tests require setuptools_trial
zooko [Sun, 1 Aug 2010 06:20:16 +0000 (11:50 +0530)]
setup: tests require setuptools_trial

Ignore-this: 687c705dd270907d6d7bc7d4c15270af

darcs-hash:054dbb1f5248d871fba79d7e7939a15c008082a3

14 years agosetup: tests require twisted and trialcoverage if the "--reporter=bwverbose-coverage...
zooko [Sun, 1 Aug 2010 06:17:23 +0000 (11:47 +0530)]
setup: tests require twisted and trialcoverage if the "--reporter=bwverbose-coverage" argument is present

Ignore-this: 383b0c85a9b89f043acbe7dffa45674b

darcs-hash:8cf8f81977e6cfc54b272eaa94ea7cb4068a29ac

14 years agosetup: remove redundant copy of run_trial.py
zooko [Tue, 8 Jun 2010 05:19:17 +0000 (10:49 +0530)]
setup: remove redundant copy of run_trial.py

Ignore-this: 80a9dda9e7cbe34aa6e4b580de08f013

darcs-hash:16b157e07715924d5765dd61c97752858e827a12

14 years agosetup: add run_trial for buildmaster to use
zooko [Mon, 7 Jun 2010 06:40:18 +0000 (12:10 +0530)]
setup: add run_trial for buildmaster to use

Ignore-this: d9a92fdb71f02960dffc69eb4f63272b

darcs-hash:b51486d40cca0bdb48b5cca3fde857d0638aea0c

14 years agosetup: reorganize misc/ to match Tahoe-LAFS's misc/ so that the same buildmaster...
zooko [Mon, 7 Jun 2010 06:32:05 +0000 (12:02 +0530)]
setup: reorganize misc/ to match Tahoe-LAFS's misc/ so that the same buildmaster config can use zfec's and Tahoe-LAFS's

Ignore-this: c844927aead8b6dcbb8d567c8d900a33

darcs-hash:75c95ca691b42ae32e8d8b514258a8a091b68f06

14 years agoapply patch from Samuel Neves to stop relying on C99 features, fixes #7
zooko [Mon, 24 May 2010 07:00:36 +0000 (12:30 +0530)]
apply patch from Samuel Neves to stop relying on C99 features, fixes #7

Ignore-this: f1fd9d25d7d19e02618cb26b5bc77b4e

darcs-hash:201482cfa344b7a57abc07220d62a442017e38d1

14 years agosetup: add misc/run_trial.py
zooko [Mon, 24 May 2010 06:43:25 +0000 (12:13 +0530)]
setup: add misc/run_trial.py

Ignore-this: 291cf7229c15ff5fef50574b88e5a2f7

darcs-hash:b4fcdbed9deda78136cd6664375ce4db495318cf

14 years agosetup: bundle the latest zetuptoolz as unpacked source egg and change setup.py to...
zooko [Mon, 24 May 2010 06:35:27 +0000 (12:05 +0530)]
setup: bundle the latest zetuptoolz as unpacked source egg and change setup.py to load it directly instead of with ez_setup.py

Ignore-this: 9b3eb1c882e41cb9015e5a2259c982f5

darcs-hash:209fcedeb9ef9077f3fde8ed1e6ed32ef60aaa3b

14 years agosetup: remove bundled zipped egg of zetuptoolz-0.6c12dev (we're going to upgrade...
zooko [Mon, 24 May 2010 06:15:47 +0000 (11:45 +0530)]
setup: remove bundled zipped egg of zetuptoolz-0.6c12dev (we're going to upgrade it in the subsequent patches)

Ignore-this: ad7cbda6a3168097f63604108e2ce587

darcs-hash:e898e5daf61e030e689b5829ea5a1958b5a3aae2

14 years agosetup: new improved show-tool-versions.sh
zooko [Sun, 16 May 2010 03:01:22 +0000 (08:31 +0530)]
setup: new improved show-tool-versions.sh

Ignore-this: 1f0f7f0979a64dc0998a300a04a2f0

darcs-hash:0ad2363cddb1df20fac07795320c2b88f45ea5c3

16 years agoadd test for instantiating Decoder with no args
zooko [Fri, 25 Jul 2008 17:27:36 +0000 (22:57 +0530)]
add test for instantiating Decoder with no args

darcs-hash:45f89755404533455388318289b3a714f74ac638

14 years agosetup: don't exit with an error code from show-tool-versions.py when coverage or...
zooko [Mon, 10 May 2010 05:03:29 +0000 (10:33 +0530)]
setup: don't exit with an error code from show-tool-versions.py when coverage or trialcoverage are not found

Ignore-this: a54fe128520ff837a9bb70362dd55d8f

darcs-hash:a079846759ce65c484e8d8b92a853d90f798e4eb

16 years agoadd a test for instantiating Encoder with absent arguments
zooko [Fri, 25 Jul 2008 17:26:00 +0000 (22:56 +0530)]
add a test for instantiating Encoder with absent arguments

darcs-hash:dfec6b0ed248ec65732c9bfdfeff84ff14dd0bed

14 years agosetup: report on coverage.py and trialcoverage versions
zooko [Mon, 10 May 2010 04:43:13 +0000 (10:13 +0530)]
setup: report on coverage.py and trialcoverage versions

Ignore-this: a1b181bccb2bf8c130adfa8f1c4cf13e

darcs-hash:e7eca9eb66bb070717fe64f1618b215125256757

14 years agowhitespace, docstrings, copyright statements
zooko [Tue, 4 May 2010 09:57:58 +0000 (15:27 +0530)]
whitespace, docstrings, copyright statements

Ignore-this: afed20b517f8d3f8a229a52dfa185085

darcs-hash:85f4eed17c792be5d90b60778381a2ec229503b1

14 years agosetup: reorder and extend show-tool-version.py, the better to glean information about...
zooko [Tue, 4 May 2010 05:06:05 +0000 (10:36 +0530)]
setup: reorder and extend show-tool-version.py, the better to glean information about our new buildslaves

Ignore-this: a3bbb6431a78ee2ac6e74d7f8b827932

darcs-hash:8e4f09dfcf8812608a42dfd0d185e8cbd8995104

15 years agodocs: add thorough licensing information to the "copyright" file for the sake of...
zooko [Fri, 4 Sep 2009 03:52:36 +0000 (09:22 +0530)]
docs: add thorough licensing information to the "copyright" file for the sake of the super picky Ubuntu Archive Managers

Ignore-this: 473981100b8c89bf34c096f41241347f

darcs-hash:c7dfe16e894bc9846d03ed2e5370e36e7490742c

15 years agodocs: remove old licensing text that was accidentally included -- AGL gave me permiss...
zooko [Fri, 4 Sep 2009 03:23:41 +0000 (08:53 +0530)]
docs: remove old licensing text that was accidentally included -- AGL gave me permission to relicense under GPLv2+|TGGPLv1+ as a condition of my accepting his patch

Ignore-this: 1a6dcbacd547f86c27fccd3f7055ae0d

darcs-hash:943edf16a07f0baa93f09273f713f278e75e9fd6

15 years agosetup: okay, actually try 0.6c12dev this time
zooko [Mon, 17 Aug 2009 02:07:22 +0000 (07:37 +0530)]
setup: okay, actually try 0.6c12dev this time

Ignore-this: c71e76a1209caf3a049285825b4e26f6

darcs-hash:c385cf345221c8c8f739d6288369fc341d605585

15 years agosetup: try to install our toothpick of setuptools (0.6c12dev) but if that fails then...
zooko [Mon, 17 Aug 2009 02:01:51 +0000 (07:31 +0530)]
setup: try to install our toothpick of setuptools (0.6c12dev) but if that fails then go ahead with whatever setuptools we've got

Ignore-this: b84642cefe2ada09ec1fd064614882f3
Hopefully this will fix the problems that setuptools-0.6c9 can't automatically include pyutil more than once if two different requirements require pyutil, but also let the "dpkg-buildpackage" build work with setuptools-0.6c9.  I guess this will work only if that latter build doesn't require pyutil multiple times.

darcs-hash:6980b1a7ec79c85036d9b8b97f72544660df7ef1

15 years agosetup: relax requirement on setuptools from >= 0.6c12dev to >= 0.6c8
zooko [Mon, 17 Aug 2009 01:15:44 +0000 (06:45 +0530)]
setup: relax requirement on setuptools from >= 0.6c12dev to >= 0.6c8

Ignore-this: a4ae434ee99f36a307f2a3da4f126042
v0.6c12dev is our toothpick; v0.6c8 is the official setuptools that comes with Lenny and Hardy.
There were some problems that were fixed by patches to our toothpick, but I'm hoping that those problems don't crop up on build machines which setuptools v0.6c8, and/or that those situations or machines where the problems do crop up already have our toothpick installed.  I don't like making this sort of change without knowing exactly what problems we observed with what other versions of setuptools on what other systems, but on the other hand almost everything that we care about is now automatically tested by the buildbots, so if they go green after this patch I'll be fairly satisfied.
(Note: the longer-term plan is to switch to Distribute, which has most of the same patches that our toothpick has, and which is official and supported to boot.)

darcs-hash:8235f285acbe7db2239c837feccfc425c11fc591

15 years agodoc: TGPPLv1+, not TGGPLv1
zooko [Mon, 17 Aug 2009 01:15:17 +0000 (06:45 +0530)]
doc: TGPPLv1+, not TGGPLv1

Ignore-this: 669dfa8bfdff6cf30b482ab6f65fd3e7

darcs-hash:0732509b9c46ce38413d14eafe6c69c5d5a5e5c6

15 years agosetup: print out the internal unicode representation of python in the "show-tool...
zooko [Mon, 17 Aug 2009 01:14:19 +0000 (06:44 +0530)]
setup: print out the internal unicode representation of python in the "show-tool-versions" tool

Ignore-this: c2e89ce65bd82c38d6abd97e76425ce9
To investigate http://bugs.python.org/setuptools/issue78 .

darcs-hash:a6bda22e3a0ba1cb608146e04dd85538a6b2b0f5

15 years agotrivial: hush pyflakes
zooko [Tue, 23 Jun 2009 04:57:52 +0000 (10:27 +0530)]
trivial: hush pyflakes

Ignore-this: d86bbb9aa83ecab4f44f0f4fd4da1d72

darcs-hash:5dff5696b0cc3578205456c86d3df0e96437e986

15 years agosetup: upgrade the bundled copy of zetuptoolz from 0.6c10dev to 0.6c12dev and increas...
zooko [Tue, 23 Jun 2009 04:55:10 +0000 (10:25 +0530)]
setup: upgrade the bundled copy of zetuptoolz from 0.6c10dev to 0.6c12dev and increase the minimum required version of setuptools from 0.6c9 to 0.6c12dev to see if it fixes the problem with overlapping dependencies on pyutil on Black Dew's windows buildbot.

Ignore-this: cfc87deaed56e340e9c93bc357e2b1e1

darcs-hash:7ce2e86292da564a8de9f506be98a8393293058f

15 years agosetup: change location of doc files, add copyright file
zooko [Tue, 23 Jun 2009 02:57:14 +0000 (08:27 +0530)]
setup: change location of doc files, add copyright file

Ignore-this: 5d611bbb489012bf22d164290c5222a3

darcs-hash:e3029361b5f8af9468e8814ce16949b1bfd8d893

15 years agomisc/show-tool-versions.py: ignore unimportable setuptools
zooko [Wed, 17 Jun 2009 18:23:38 +0000 (23:53 +0530)]
misc/show-tool-versions.py: ignore unimportable setuptools

Ignore-this: 3d19494c7ac52dea1b49702e7af1dcc7

darcs-hash:1ff58823746f263c08235d5b9685a2128741f634

15 years agomisc/show-tool-versions.py: show setuptools version
zooko [Wed, 17 Jun 2009 18:20:39 +0000 (23:50 +0530)]
misc/show-tool-versions.py: show setuptools version

Ignore-this: b0ae5935f2642954f013d7087c16e1f6

darcs-hash:f222f4adc0e4b9589a937cffe054ff55c62423ce

15 years agosetup: raise setuptools version requirement to 0.6c9 on all platforms (0.6c6 had...
zooko [Wed, 17 Jun 2009 18:05:21 +0000 (23:35 +0530)]
setup: raise setuptools version requirement to 0.6c9 on all platforms (0.6c6 had that problem with multiple overlapping dependencies on pyutil, on Ubuntu)

Ignore-this: 44f27ecb2c593fb1589c43ed5de77bca

darcs-hash:612efe9e3db38629223324c28537bc24a262ff4e

15 years agosetup: require setuptools >= 0.6c9 on Windows, but >= 0.6c6 on other platforms
zooko [Wed, 17 Jun 2009 18:02:01 +0000 (23:32 +0530)]
setup: require setuptools >= 0.6c9 on Windows, but >= 0.6c6 on other platforms

Ignore-this: d7b4ee5dd9aa45b7381224e5904d7266
Hopefully this will allow stdeb to work on all Debian derived platforms while also working around that problem that showed itself on Windows with setuptools 0.6c7.

darcs-hash:1b7c0693b82f9c192dc591f35fa6a26c3ae1ea43

15 years agosetup: add setup_requires += stdeb if "sdist_dsc" appears in sys.argv
zooko [Wed, 17 Jun 2009 17:40:28 +0000 (23:10 +0530)]
setup: add setup_requires += stdeb if "sdist_dsc" appears in sys.argv

Ignore-this: 897843b0bd1f899f416aef1bdd1caa0c

darcs-hash:6998c04be1a7fb934f5b51363109f4601a2b5b73

15 years agodocs: add NEWS.txt to describe changes in the new release
zooko [Wed, 17 Jun 2009 16:18:29 +0000 (21:48 +0530)]
docs: add NEWS.txt to describe changes in the new release

Ignore-this: c0558a61b1cdf32185c7e6c54774d6e8

darcs-hash:f54a289258ed41665b389b766d3b3ca7ebfeba3e

15 years agosetup: merge two patches which both change VERSIONFILE name computation to the typica...
zooko [Wed, 17 Jun 2009 16:06:09 +0000 (21:36 +0530)]
setup: merge two patches which both change VERSIONFILE name computation to the typical way it is done in my setup boilerplate

Ignore-this: 68b65973cf5953567b95a17c1ef1635d

darcs-hash:1d0ba49a479c745dbb5bb780f30b8bcc41631f51

15 years agodoc: README.txt: fix URL
zooko [Wed, 11 Feb 2009 22:45:26 +0000 (04:15 +0530)]
doc: README.txt: fix URL

Ignore-this: c41641abd5ff4909d4c0e619821d4176

darcs-hash:dd42e048204b73c2e2f360a0196c6da74a7cb02c

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

Ignore-this: b432a1a119ef612b3b7b064716f6a32b

darcs-hash:50bcb056a8894596d0f0bc02250dff05487f0908

15 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

15 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

15 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

16 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

16 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

16 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

16 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

16 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

16 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

16 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

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

darcs-hash:7859cafe560f16fb21f0e01d3fa50bd8397a98a1

16 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

16 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

16 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

16 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

16 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