[tahoe-dev] announcing zfec v1.2.0
zooko
zooko at zooko.com
Fri Nov 9 10:38:42 PST 2007
Folks:
I've uploaded zfec v1.2.0 to the Python Package Index.
http://pypi.python.org/pypi/zfec
The big changes from zfec 1.1 that you have to specially pay
attention to:
* I fixed a bug in the "easyfec" API, in which that API would do
padding incorrectly. The "easyfec" API is not the primary API, it is
an optional wrapper around the basic API which does offers a slightly
more abstract interface (the input data is a string instead of a list
of strings), at a cost in performance. I also changed the easyfec
API to be harder to misuse -- if you were previously using the
easyfec API, then please examine the new docstring and change the way
that you call it.
* I stopped copying in bits of code from other projects and instead
have started depending on those other projects, namely argparse and
pyutil.
Other changes:
* Greg Hazel contributed a patch to make zfec compile with the
Microsoft Visual Studio tool, which apparently will never support
C99. :-( So now zfec is C89-compatible. Thanks, Greg!
* more detailed and human-friendly exception messages if you pass
wrongly shaped inputs (e.g. padding mistakes)
* add benchmarks of easyfec vs. fec -- fec can be several times as
fast (depending on the size of the inputs) on my machine!
* add unit tests, especially unit tests for easyfec
* various improvements of the code which don't change functionality
or performance
Regards,
Zooko
------- begin appended output from "darcs changes -s --from-tag=1.1"
Fri Nov 9 11:17:04 MST 2007 zooko at zooko.com
tagged zfec-1.2.0
Fri Nov 9 11:14:55 MST 2007 zooko at zooko.com
* zfec: add benchmarks for easyfec (untested)
M ./zfec/bench/bench_zfec.py -4 +36
Fri Nov 9 11:09:52 MST 2007 zooko at zooko.com
* zfec: setup: remove MANIFEST.in
Its job is now done by setuptools_darcs.
R ./zfec/MANIFEST.in
Fri Nov 9 10:04:11 MST 2007 zooko at zooko.com
* zfec: update TODO
M ./zfec/TODO -8 +4
Fri Nov 9 10:03:48 MST 2007 zooko at zooko.com
* zfec: fewer randomized tests (for faster unit testing)
M ./zfec/zfec/test/test_zfec.py -4 +4
Fri Nov 9 10:00:29 MST 2007 zooko at zooko.com
* zfec: refactor exception raising to use handy dandy PyErr_Format
() instead of vsprintf()
M ./zfec/zfec/_fecmodule.c -33 +18
Fri Nov 9 09:45:23 MST 2007 zooko at zooko.com
* zfec: a few debugging and in-line comment tweaks
M ./zfec/setup.py -2 +1
M ./zfec/zfec/easyfec.py +11
M ./zfec/zfec/filefec.py -2 +13
Fri Nov 9 09:43:59 MST 2007 zooko at zooko.com
* zfec: add unit tests for easyfec, fix bug in easyfec padding,
add docstrings explaining how to use easyfec padding correctly
M ./zfec/zfec/easyfec.py -11 +16
M ./zfec/zfec/test/test_zfec.py -9 +12
Thu Nov 8 15:26:00 MST 2007 zooko at zooko.com
* zfec: add unit tests for easyfec
M ./zfec/zfec/test/test_zfec.py -19 +76
Thu Nov 8 21:56:43 MST 2007 zooko at zooko.com
* zfec: merge two ways to set the default K and M for cmdline_zfec
to 3 and 8
M ./zfec/zfec/cmdline_zfec.py -2 +2
Thu Nov 8 19:21:50 MST 2007 zooko at zooko.com
* zfec: fix the C89 patch's use of alloca() by multiplying in the
object size
M ./zfec/zfec/_fecmodule.c -9 +9
M ./zfec/zfec/fec.c +1
Thu Nov 8 19:18:27 MST 2007 zooko at zooko.com
* zfec: make precondition violation exception message more
meaningful to the user
M ./zfec/zfec/_fecmodule.c -2 +2
Thu Nov 8 15:35:59 MST 2007 zooko at zooko.com
* zfec: make zfec C89 (ANSI C) compatible, patch thanks to Greg Hazel
M ./zfec/zfec/_fecmodule.c -24 +33
M ./zfec/zfec/fec.c -4 +6
M ./zfec/zfec/fec.h +8
Thu Nov 8 15:41:37 MST 2007 zooko at zooko.com
* zfec: make the default K and M for the cmdline "zfec" tool be 3-
of-8
The unit tests currently expect these defaults.
M! ./zfec/zfec/cmdline_zfec.py -2 +5
Thu Nov 8 21:55:19 MST 2007 zooko at zooko.com
* zfec: clearer precondition failure exception message
M ./zfec/zfec/_fecmodule.c -1 +1
Thu Nov 8 21:54:00 MST 2007 zooko at zooko.com
* zfec: clean up variable names and whitespace
M ./zfec/zfec/_fecmodule.c -6 +6
Thu Nov 8 21:51:35 MST 2007 zooko at zooko.com
* zfec: setup: use argparse and pyutil as separate packages, not
by copying their source code into the zfec package
M ./zfec/setup.py -1 +3
M ./zfec/zfec/__init__.py -2 +2
M ./zfec/zfec/cmdline_zfec.py -3 +3
M ./zfec/zfec/cmdline_zunfec.py -1 +1
M ./zfec/zfec/filefec.py -3 +3
R ./zfec/zfec/test/test_util.py
R ./zfec/zfec/util/
R ./zfec/zfec/util/__init__.py
R ./zfec/zfec/util/argparse.py
R ./zfec/zfec/util/fileutil.py
R ./zfec/zfec/util/mathutil.py
R ./zfec/zfec/util/version_class.py
Thu Nov 8 15:28:06 MST 2007 zooko at zooko.com
* TEMP TFIX EASYFGEC
M ./zfec/zfec/easyfec.py -4 +4
Thu Nov 8 07:41:46 MST 2007 zooko at zooko.com
* zfec: setup: build _fec.so under the zfec subdirectory
M ./zfec/setup.py -1 +1
Thu Nov 8 07:41:16 MST 2007 zooko at zooko.com
* zfec: setup: use my version of ez_setup.py
M ./zfec/ez_setup.py -64 +53
Thu Nov 8 07:41:08 MST 2007 zooko at zooko.com
* zfec: update TODO list
M ./zfec/TODO -6 +9
Thu Oct 4 15:05:24 MDT 2007 zooko at zooko.com
* zfec: import latest variant of ez_setup.py
M ./zfec/ez_setup.py -3 +7
Wed Oct 3 14:28:25 MDT 2007 zooko at zooko.com
* zfec: use ez_setup.py without a "download delay"
M ./zfec/setup.py -1 +1
Wed Oct 3 14:27:56 MDT 2007 zooko at zooko.com
* zfec: copy in a version of ez_setup.py that has our latest patches
M ./zfec/ez_setup.py -75 +77
Mon Oct 1 13:40:57 MDT 2007 zooko at zooko.com
tagged zfec-1.1
More information about the tahoe-dev
mailing list