Ramakrishnan Muthukrishnan [Tue, 26 Jan 2016 11:52:37 +0000 (17:22 +0530)]
setuptools: remove the dependency on a custom copy of setuptools
Ramakrishnan Muthukrishnan [Tue, 26 Jan 2016 11:47:23 +0000 (17:17 +0530)]
setup.py: compile C modules with -Wextra warning flag
Ramakrishnan Muthukrishnan [Mon, 25 Jan 2016 12:55:49 +0000 (18:25 +0530)]
filefec: Bug fix for the files with certain lengths (see the longer explanation)
Bodecs Bela (bodecsb@vivanet.hu) reported cases where files with
certain sizes, when encoded and then decoded produces slightly longer
files with some extra padded bytes. To reproduce the bug, the input file
sizes needs to be any length in the range:
(n * 4096 - (k - 1)) < length <= (n * 4096)
Thanks to Bodecs and jg71 for bringing it to my attention.
(https://tahoe-lafs.org/pipermail/tahoe-dev/2013-September/008699.html)
Ramakrishnan Muthukrishnan [Sun, 24 Jan 2016 05:11:44 +0000 (10:41 +0530)]
fec.c: add asserts for the preconditions that the inputs need to meet
Ramakrishnan Muthukrishnan [Fri, 22 Jan 2016 07:15:26 +0000 (12:45 +0530)]
_fecmodule.c: scope loop variables to the absolutely necessary scope
Ramakrishnan Muthukrishnan [Fri, 22 Jan 2016 06:56:31 +0000 (12:26 +0530)]
zfec/_fecmodule.c: %Zu is an invalid format specifier for size_t
Ramakrishnan Muthukrishnan [Fri, 22 Jan 2016 05:20:38 +0000 (10:50 +0530)]
zfec/fec.c: limit the scope of loop variables, use size_t
Ramakrishnan Muthukrishnan [Thu, 21 Jan 2016 15:54:29 +0000 (21:24 +0530)]
zfec: rearrange files
Ramakrishnan Muthukrishnan [Fri, 18 Dec 2015 06:04:37 +0000 (11:34 +0530)]
stick a .gitignore file
zooko [Thu, 16 May 2013 05:54:17 +0000 (11:24 +0530)]
add exceptions to GPL and TGPPL to allow derivative works containing parts under other open source licenses (like Tahoe-LAFS does)
Ignore-this:
cc87094ec34ba208ef21ab01be2d7f15
darcs-hash:
41eb3a53a406420a846b6a53b58612dc776973b7
zooko [Tue, 21 Aug 2012 21:10:34 +0000 (02:40 +0530)]
zooko [Wed, 11 Apr 2012 03:16:40 +0000 (08:46 +0530)]
setup: workaround bug in distutils that ships with Python 2.4 re: non-ASCII chars in long_description
Ignore-this:
aadda8557e01b6a6860fc9ed89b3239d
darcs-hash:
b5849431feb6d6c977a376a17a2d132f38547830
zooko [Wed, 11 Apr 2012 03:07:20 +0000 (08:37 +0530)]
setup: require the argparse distribution only if the argparse module can't be imported
Ignore-this:
82585d4def974c5bddfaf396b102897a
darcs-hash:
43bb318dee3ff378a947e68aa4539877297e361e
zooko [Sat, 31 Mar 2012 16:08:41 +0000 (21:38 +0530)]
zooko [Sat, 31 Mar 2012 16:08:22 +0000 (21:38 +0530)]
docs: README.rst: add an extra newline to separate the utf-8 BOM from the first rst syntax
Ignore-this:
d57759b9ead446a48d99f121024a55c4
darcs-hash:
c13e9f7dafc606b8560fb776b2e21ab882ce19c4
zooko [Sat, 31 Mar 2012 14:01:44 +0000 (19:31 +0530)]
docs: README.rst: update URLs, recommend tahoe-dev instead of zfec-dev, minor edit
Ignore-this:
95b8ab04cedbede2ba011f46b48432f8
darcs-hash:
6b46f4018b96d1fa5eb7b46585343f39a6f04caa
zooko [Sat, 31 Mar 2012 13:51:02 +0000 (19:21 +0530)]
docs: README.rst: reflow to fill-column 77, prepend utf-8 BOM, update timestamp
Ignore-this:
9c45a1e9f785b0fbf8fef4e2d4dcb19b
darcs-hash:
204e20094bd3284503e929509d5cc8de22c6cd97
zooko [Mon, 13 Feb 2012 13:33:02 +0000 (19:03 +0530)]
setup: copy in the latest version of show-tool-versions from the pycryptopp project (plus tweaks to query tools relevant to zfec instead of relevant to pycryptopp)
Ignore-this:
a4044529b66fb204dcbdf8d0c826fb21
darcs-hash:
f6c5ad5649aa3f33ba7934051e127209428c544f
zooko [Sun, 17 Jul 2011 02:58:56 +0000 (08:28 +0530)]
copy in the latest version of zetuptoolz from the tahoe-lafs project
Ignore-this:
7bbb139eb0632cb155d53700cf4239be
darcs-hash:
3b547744d3acb475b2d1c9e7991196ec88030d14
zooko [Thu, 10 Mar 2011 00:44:05 +0000 (06:14 +0530)]
setup: install_requires argparse only if Python version is < 2.7
Ignore-this:
457da4f3e4c598ec3386527a4620bdeb
Also edit some licensing metadata and Python compatibility metadata.
darcs-hash:
061e2de3095bca92e03b8b1b371aa66229cdd1b4
zooko [Sun, 6 Mar 2011 06:12:48 +0000 (11:42 +0530)]
bench: add note to README.rst about how to run the benchmarks, update the "not really encoding" dummy function in the benchmarks
Ignore-this:
3517ed007d89f3f90d817274d520e9a3
darcs-hash:
7be6784eb847aa3defdf0ef9d62befc43ff014e3
zooko [Sun, 6 Mar 2011 05:27:08 +0000 (10:57 +0530)]
bench: print out results in MB/sec instead of nanoseconds/byte and add more detail to legend
Ignore-this:
d12d509010f0beb0e94b5fd5c532d77a
darcs-hash:
b629d668137adb17a6b29a65dbd97f3be920bdf7
zooko [Sat, 5 Mar 2011 22:28:23 +0000 (03:58 +0530)]
bench: take --k= and --m= options on the cmdline and print out more explanation of the output
Ignore-this:
52610214e79646140d2d0bef1259808
darcs-hash:
c34e32d6a1d82a069562d730f11f3225c5a72c21
zooko [Wed, 2 Feb 2011 04:46:21 +0000 (10:16 +0530)]
setup: setup_require setuptools_trial only if one of the argv is 'trial'
Ignore-this:
a154346b06a8305ef942ac664c6d85d5
This is to workaround the bugs in distribute's handling of plugins needed at setup time or test time. :-(
darcs-hash:
f8fb6ccae5393d318e77f1927b97da7e2353a900
zooko [Sun, 30 Jan 2011 08:08:51 +0000 (13:38 +0530)]
setup: ascii-ify the README.rst because distutils in Python < 2.6 assumes ascii in the pkg metadata
Ignore-this:
e0b4c659f866bb4b7778fdc871bc1193
This was detected by the Tahoe-LAFS buildbot attempting to build zfec 1.4.15.
darcs-hash:
aa0f9a3af1130bcb6c6ecd25ad5ac2681ef89bbd
zooko [Sun, 16 Jan 2011 17:57:41 +0000 (23:27 +0530)]
setup: oh, and if there is a utf-8 "BOM" then decode the file contents as utf-8 before passing them to setup()
Ignore-this:
1c9843b51010f397b451221e2774d26
darcs-hash:
eb197f870a35e036599d685de816d4df9af44522
zooko [Sun, 16 Jan 2011 17:54:44 +0000 (23:24 +0530)]
setup: oh, and actually pass that string to setup() instead of re-reading the file...
Ignore-this:
1f06b8595fe07c4c0fd53b9cc02d7bfc
darcs-hash:
0734bf35ade833bff743cfe20cdc12bb819ac7fd
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
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
zooko [Sun, 5 Dec 2010 03:29:26 +0000 (08:59 +0530)]
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
zooko [Sat, 4 Dec 2010 19:00:54 +0000 (00:30 +0530)]
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
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
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
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
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
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
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
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
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
zooko [Sun, 1 Aug 2010 06:24:36 +0000 (11:54 +0530)]
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
zooko [Sun, 1 Aug 2010 06:20:46 +0000 (11:50 +0530)]
zooko [Sun, 1 Aug 2010 06:20:16 +0000 (11:50 +0530)]
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
zooko [Tue, 8 Jun 2010 05:19:17 +0000 (10:49 +0530)]
zooko [Mon, 7 Jun 2010 06:40:18 +0000 (12:10 +0530)]
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
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
zooko [Mon, 24 May 2010 06:43:25 +0000 (12:13 +0530)]
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
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
zooko [Sun, 16 May 2010 03:01:22 +0000 (08:31 +0530)]
zooko [Fri, 25 Jul 2008 17:27:36 +0000 (22:57 +0530)]
add test for instantiating Decoder with no args
darcs-hash:
45f89755404533455388318289b3a714f74ac638
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
zooko [Fri, 25 Jul 2008 17:26:00 +0000 (22:56 +0530)]
add a test for instantiating Encoder with absent arguments
darcs-hash:
dfec6b0ed248ec65732c9bfdfeff84ff14dd0bed
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
zooko [Tue, 4 May 2010 09:57:58 +0000 (15:27 +0530)]
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
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
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
zooko [Mon, 17 Aug 2009 02:07:22 +0000 (07:37 +0530)]
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
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
zooko [Mon, 17 Aug 2009 01:15:17 +0000 (06:45 +0530)]
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
zooko [Tue, 23 Jun 2009 04:57:52 +0000 (10:27 +0530)]
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
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
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
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
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
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
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
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
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
zooko [Wed, 11 Feb 2009 22:45:26 +0000 (04:15 +0530)]
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
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
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
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
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
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
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
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
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
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
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
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
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
zooko [Sun, 14 Jun 2009 15:13:15 +0000 (20:43 +0530)]
zooko [Sun, 14 Jun 2009 01:07:13 +0000 (06:37 +0530)]
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
zooko [Sun, 14 Jun 2009 01:06:13 +0000 (06:36 +0530)]
zooko [Sun, 14 Jun 2009 01:04:27 +0000 (06:34 +0530)]
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
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
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
zooko [Sat, 31 Jan 2009 04:38:27 +0000 (10:08 +0530)]