]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/log
tahoe-lafs/zfec.git
17 years agopyfec: make README.txt much more detailed and rename some internal variables and...
zooko [Sat, 27 Jan 2007 02:08:50 +0000 (07:38 +0530)]
pyfec: make README.txt much more detailed and rename some internal variables and add some docstrings

darcs-hash:3d1704d156adf24e7afa392159b9c7205c86928b

17 years agorename the C extension from "fec" to "_fec"
zooko [Sat, 27 Jan 2007 01:58:04 +0000 (07:28 +0530)]
rename the C extension from "fec" to "_fec"

darcs-hash:c4669107d095d39a93642a95190449457f1a11a8

17 years agopyfec: add precondition checks on the values of k and m to constructors
zooko [Fri, 26 Jan 2007 00:47:04 +0000 (06:17 +0530)]
pyfec: add precondition checks on the values of k and m to constructors

darcs-hash:2c24684ca751b8b43c46c10e20c7cd0d41195aa5

17 years agopyfec: trivial formatting
zooko [Fri, 26 Jan 2007 00:46:57 +0000 (06:16 +0530)]
pyfec: trivial formatting

darcs-hash:fb30b190ef369714cf97012e5da7f739fa106e5f

17 years agoadd README.txt
zooko [Fri, 26 Jan 2007 00:46:37 +0000 (06:16 +0530)]
add README.txt

darcs-hash:688027fdbf8d8e4e3c2e691814f6052de81a64f4

17 years agopyfec: improve package metadata
zooko [Fri, 26 Jan 2007 00:08:29 +0000 (05:38 +0530)]
pyfec: improve package metadata

darcs-hash:e99970040aa74c394a448a4ef55b1cd3539490a6

17 years agoadd copyright notices, license, attributions
zooko [Fri, 26 Jan 2007 00:02:16 +0000 (05:32 +0530)]
add copyright notices, license, attributions

darcs-hash:3aa238163248c02a29c6752e993c5946012e2d1f

17 years agoadd dummy function to see how fast we can read in a file and invoke a Python function...
zooko [Thu, 25 Jan 2007 23:50:26 +0000 (05:20 +0530)]
add dummy function to see how fast we can read in a file and invoke a Python function on each segment

darcs-hash:7d138467e7df11a8e237fc37627c8320ed50da27

17 years agoadd benchmark
zooko [Thu, 25 Jan 2007 23:33:48 +0000 (05:03 +0530)]
add benchmark

darcs-hash:17fbf0713dd2b6615dd817daba3113c5eacb0a53

17 years agofix tests to not require pyutil and other tweaks
zooko [Thu, 25 Jan 2007 21:25:34 +0000 (02:55 +0530)]
fix tests to not require pyutil and other tweaks

darcs-hash:da99d29d02fde0288d21018d09fef8edaa98dfca

17 years agoadd utility method file_fec
zooko [Thu, 25 Jan 2007 21:25:19 +0000 (02:55 +0530)]
add utility method file_fec

darcs-hash:96fa282d9bf90f4817029dc6d3f4de3f4ee5a6fb

17 years agouse buffers as generic "read" buffers instead of char buffers
zooko [Thu, 25 Jan 2007 21:24:01 +0000 (02:54 +0530)]
use buffers as generic "read" buffers instead of char buffers

This is a typing kludge -- if your buffers have elements of size > 1 then we will be processing only a subset of the elements and treating each byte of the element as a separate entry.
Oh well.

darcs-hash:27942744df0e8649a69e23bf0d42e18725391b19

17 years agoallow any sequence as input, not just List
zooko [Thu, 25 Jan 2007 21:23:19 +0000 (02:53 +0530)]
allow any sequence as input, not just List

darcs-hash:ee8c812d4db5e0ffbd4434f96b2a0a28dbd5d127

17 years agoadd warning of subtle gotcha that can happen with mutable data buffers
zooko [Thu, 25 Jan 2007 21:22:43 +0000 (02:52 +0530)]
add warning of subtle gotcha that can happen with mutable data buffers

darcs-hash:38f6cc8860a66686cffaa2f4ac3fe56ec1da7c41

17 years agoadd comment
Zooko O'Whielacronx zooko@zooko.com [Wed, 24 Jan 2007 21:21:45 +0000 (02:51 +0530)]
add comment

darcs-hash:b6c7c9dac323a39cd72c5b0ef86cc6100d2c8786

17 years agonicer API -- you don't have to shuffle the shares into place before calling decode_all()
Zooko O'Whielacronx zooko@zooko.com [Wed, 24 Jan 2007 21:20:53 +0000 (02:50 +0530)]
nicer API -- you don't have to shuffle the shares into place before calling decode_all()

Instead it does that shuffling in C inside fecmodule.

darcs-hash:ea6a582d227615043c682aac3647560ac0da2125

17 years agostricter typing -- using unsigned char for indexes into shares
Zooko O'Whielacronx zooko@zooko.com [Wed, 24 Jan 2007 21:17:51 +0000 (02:47 +0530)]
stricter typing -- using unsigned char for indexes into shares

darcs-hash:37229957b23f14b86e659f3f359c2c3d20c5469e

17 years agopyfec v0.9
Zooko O'Whielacronx zooko@zooko.com [Mon, 22 Jan 2007 23:17:31 +0000 (04:47 +0530)]
pyfec v0.9

Here is the change history from the first darcs era, in reverse chronological
order:

Mon Jan 22 16:12:56 MST 2007  "Zooko O'Whielacronx <zooko@zooko.com>"
  * move everything into a subdirectory so that I can merge this darcs repo with the tahoe darcs repo

     ./fec -> ./pyfec/fec
     ./setup.py -> ./pyfec/setup.py
    A ./pyfec/

Mon Jan 22 16:10:17 MST 2007  "Zooko O'Whielacronx <zooko@zooko.com>"
  * clean up and minimize fec.c
   * strip out unused code
   * hard-code GF_BITS to 8
   * reindent and reformat curly bracket placement

    M ./fec/fec.c -655 +324
    M ./fec/fec.h -25

Mon Jan 22 14:24:32 MST 2007  "Zooko O'Whielacronx <zooko@zooko.com>"
  * change API to allow a subset of the shares to be produced, and to just pass back pointers to primary shares instead of copying them

    M ./fec/fec.c -24 +40
    M ./fec/fec.h -5 +17
    M ./fec/fecmodule.c -63 +144
    M ./fec/test/test_pyfec.py -16 +25
    M ./setup.py -2 +27

Tue Jan 16 23:01:44 MST 2007  "Zooko O'Whielacronx <zooko@zooko.com>"
  * split encoder from decoder

    M ./fec/fecmodule.c -48 +161
    M ./fec/test/test_pyfec.py -3 +4

Tue Jan 16 14:35:25 MST 2007  "Zooko O'Whielacronx <zooko@zooko.com>"
  * it compiles now!

     ./fec.c -> ./pyfec/fec.c
     ./fec.h -> ./pyfec/fec.h
     ./fecmodule.c -> ./pyfec/fecmodule.c
     ./pyfec -> ./fec
    M ./fec/fec.c -109 +85 r13
    M ./fec/fec.h -3 +2 r13
    M ./fec/fecmodule.c -23 +241 r13
    A ./fec/test/
    A ./fec/test/test_pyfec.py
    A ./pyfec/
    A ./setup.py

Tue Jan  9 10:47:58 MST 2007  zooko@zooko.com
  * start of new fecmodule.c

    A ./fecmodule.c

Mon Jan  1 15:00:04 MST 2007  zooko@zooko.com
  * tidy up error handling

    M ./fec.c -26 +16

Mon Jan  1 14:06:30 MST 2007  zooko@zooko.com
  * remove the on-the-fly encoding option
  We don't currently need it.

    M ./fec.c -68
    M ./fec.h -22

Mon Jan  1 13:53:28 MST 2007  zooko@zooko.com
  * original import from Mnet project

    A ./fec.c
    A ./fec.h

darcs-hash:c67d3cc8ce1c8a3d3f81692c4b3b117350b5c9eb