Commit Graph

5077 Commits

Author SHA1 Message Date
david-sarah
fd02946074 setup.py, misc/build_helpers/run_trial.py: use undocumented __requires__ variable to cause setuptools/zetuptoolz to put the correct versions of dependencies on sys.path. Also ensure that run_trial adds the bundled zetuptoolz egg at the start of sys.path if present. Make the source directory comparison work correctly for the test-with-fake-pkg build step. refs #1190 2010-10-29 15:28:25 -07:00
david-sarah
10a5f23df9 test_runner.py: fix error in BinTahoe.test_version_no_noise introduced by last patch. refs #1235 2010-10-29 15:11:23 -07:00
david-sarah
d249589667 test_runner.py: also allow 'from pkg_resources import load_entry_point' as noise. refs #1235. 2010-10-29 13:42:46 -07:00
david-sarah
8c95f88b4f test_runner.py: if the only noise is 'UserWarning: Unbuilt egg for setuptools', skip instead of failing the no_noise tests. This version avoids 'any' to be compatible with Python < 2.5. refs #1235. 2010-10-29 12:18:04 -07:00
david-sarah
2610f8e0aa NEWS: clarify (strengthen) description of what backdoors.rst declares, and add bugfix entries for 'tahoe cp' and Windows console bugs. refs #1216, #1224, #1232 2010-10-28 11:00:46 -07:00
david-sarah
4061258c85 make ResponseCache smarter to avoid memory leaks: don't record timestamps, use DataSpans to merge entries, and clear the cache when we see a new seqnum. refs #1045, #1229 2010-10-26 21:33:02 -07:00
david-sarah
25d8103dde windows/fixups.py: limit length of string passed in a single call to WriteConsoleW. fixes #1232. 2010-10-26 19:16:36 -07:00
Brian Warner
c88eb097d9 scripts/tahoe_backup.py: oops, fix missing import, thanks pyflakes
test_cli.py: hush minor pyflakes complaint
2010-10-29 02:42:23 -07:00
Brian Warner
d61d41147c mutable/servermap.py: update comment. Closes #1231. 2010-10-29 02:14:24 -07:00
Francois Deppierraz
14ee763c54 tahoe_cp.py: Don't call urllib.quote with an Unicode argument, fix #1224
tahoe_backup.py: Fix another (potential) occurrence of calling urllib.quote()
with an Unicode parameter
2010-10-29 01:45:20 -07:00
Brian Warner
c18953c169 fix #1223, crash+inefficiency during repair due to read overrun
* repairer (really the uploader) reads beyond end of input file (Uploadable)
* new-downloader does not tolerate overreads
* uploader does lots of tiny reads (inefficient)

This fixes the last two. The uploader still does a single overread at the end
of the input file, but now that's ok so we can leave it in place. The
uploader now expects the Uploadable to behave like a normal disk
file (reading beyond EOF will return less data than was asked for), and now
the new-downloadable behaves that way.
2010-10-29 01:20:36 -07:00
david-sarah
390c40cd8c add misc/build_helpers/test-with-fake-pkg.py. refs #1190 2010-10-28 19:51:50 -07:00
david-sarah
270322ad47 startstop_node.py: pyflakes import fix. refs #1190 2010-10-27 18:48:05 -07:00
Brian Warner
ac3b26ecf2 'tahoe start': use import+call rather than find+spawn
This removes the need to use a locally-built (dependency) bin/twistd, and
removes a big chunk of behavior differences between unix and windows. It
also happens to resolve the "client node probably started" uncertainty.
Might help with #1190, #602, and #71.
2010-10-26 23:13:42 -07:00
david-sarah
5528af0524 docs/known_issues.rst: Add section on traffic analysis. Fix URL for current version of file. 2010-10-24 16:42:59 -07:00
david-sarah
59e80b2ec9 test_mutable.py: add test for ResponseCache memory leak. refs #1045, #1129 2010-10-24 12:34:09 -07:00
david-sarah
daf2b8314a test_encodingutil.py: test_argv_to_unicode modified the wrong encoding variable. fixes #1214 2010-10-22 20:58:10 -07:00
david-sarah
679983bac6 docs/running.html: fix missing end-quote, and change frontends/ doc references to .rst. 2010-10-24 10:15:00 -07:00
david-sarah
1380fa9bb2 docs/running.html: 'tahoe create-client' now creates a node with storage disabled. Also change configuration.txt references to configuration.rst. 2010-10-24 10:04:31 -07:00
Zooko O'Whielacronx
0c2397523b doc: add explanation of the motivation for the surprising and awkward API to erasure coding 2010-10-14 23:02:02 -07:00
Zooko O'Whielacronx
5c31a7079b setup: catch and log ValueError from locale.getdefaultlocale() in show-tool-versions.py
I got a bug report from Mathias Baert showing that locale.getdefaultlocale() raises an exception on his Mac OS X system. Heh.
2010-10-14 22:44:40 -07:00
Zooko O'Whielacronx
9c01fdeb37 docs: update how-to-make-a-release doc with a few tweaks from the 1.8.0 process 2010-10-14 22:44:13 -07:00
Zooko O'Whielacronx
7ad2d713b1 docs: update NEWS ref: #1216 2010-10-14 22:37:19 -07:00
Brian Warner
c4f8376a20 docs: fix tab-vs-spaces, make some CLI examples <tt>/"literal", wrap some to
80-cols, remove spurious whitespace. Add rst2html.py rule to Makefile.
2010-10-14 23:06:06 -07:00
Zooko O'Whielacronx
1e76d8ac39 docs: add Peter Secor, Shawn Willden, and Terrell Russell as signatories to docs/backdoors.rst 2010-10-14 22:32:42 -07:00
Zooko O'Whielacronx
8143183e39 docs: convert all .txt docs to .rst thanks to Ravi Pinjala
fixes #1225
2010-10-14 22:29:13 -07:00
Zooko O'Whielacronx
7c37292a09 docs: add statement on our refusal to insert backdoors 2010-10-05 22:11:47 -07:00
Zooko O'Whielacronx
98ffbfb31f setup: add --multi-version to the "setup.py develop" command-line
fixes #530. I earlier tried this twice (see #530 for history) and then twice rolled it back due to some problems that arose. However, I didn't write down what the problems were in enough detail on the ticket that I can tell today whether those problems are still issues, so here goes the third attempt. (I did write down on the ticket that it would not create site.py or .pth files in the target directory with --multi-version mode, but I didn't explain why *that* was a problem.)
2010-10-05 11:23:50 -07:00
Zooko O'Whielacronx
0c6bb0178b setup: use execfile to access _auto_deps.py in its proper location of src/allmydata/ instead of copying it into place when setup.py is executed 2010-09-05 22:57:14 -07:00
Zooko O'Whielacronx
e6a380241a trivial: M-x whitespace-cleanup 2010-09-03 07:47:12 -07:00
Zooko O'Whielacronx
cb83f2e41c minor: remove unused interface declaration, change allmydata.org to tahoe-lafs.org in email address, fix wording in relnotes.txt 2010-09-30 08:37:08 -07:00
Kevan Carstensen
ec4f87a98c immutable/repairer.py: don't use the default happiness setting when repairing 2010-09-27 13:01:02 -07:00
david-sarah
83f807b40f NEWS: note dependency updates to pycryptopp and pycrypto. 2010-09-24 12:12:07 -07:00
Zooko O'Whielacronx
7eebeca15e TAG allmydata-tahoe-1.8.0 2010-09-23 19:16:31 -07:00
Zooko O'Whielacronx
6bf594ae13 docs: timestamp the 1.8.0 release 2010-09-23 19:15:52 -07:00
Zooko O'Whielacronx
2a5140b3b0 docs: update quickstart.html to include "In Case Of Trouble" and to mention Python 2.7 2010-09-23 19:08:51 -07:00
Zooko O'Whielacronx
79cfff8961 docs: mention default values of K, H, and M 2010-09-23 19:02:45 -07:00
Zooko O'Whielacronx
4c30b80061 setup: add flappclient to the set of tools reported on by show-tool-versions 2010-09-23 00:23:25 -07:00
Zooko O'Whielacronx
b0bfa5c37b setup: raise minimum required version of pycryptopp, even on non-x86/amd64 platforms, to v0.5.14 of pycryptopp 2010-09-22 00:08:08 -07:00
Zooko O'Whielacronx
cb8ab03ede setup: allow an older version of pycryptopp if we are not on x86 or amd64 architecture (which are the architectures on which older versions of Crypto++ had bugs in asm implementations of AES and SHA-256) 2010-09-21 07:03:44 -07:00
Zooko O'Whielacronx
aa19424c9f setup: force the bundled version of darcsver to take precedence over any other version of darcsver 2010-09-21 00:32:58 -07:00
Zooko O'Whielacronx
548e587d86 setup: upgrade bundled copy of darcsver to v1.6.3 2010-09-21 00:30:46 -07:00
Zooko O'Whielacronx
76594cb955 setup: format the output of show-tool-versions for better human-readability 2010-09-20 15:54:15 -07:00
david-sarah
41cee8a868 relnotes.txt and docs/quickstart.html for 1.8.0 release 2010-09-18 22:03:35 -07:00
david-sarah
d9c7bcc44e _auto_deps.py: require pycrypto >= 0.5.20 (fixes bugs in SHA-256 and AES) 2010-09-18 21:57:43 -07:00
david-sarah
3882692368 NEWS, docs/known_issues.txt for 1.8.0 release 2010-09-18 21:44:12 -07:00
Zooko O'Whielacronx
6eba4a2f8c docs: a few simple updates to links and naming, and also recommend torsocks instead of the old, unmaintained tsocks, for use with Tor 2010-09-18 18:16:36 -07:00
Zooko O'Whielacronx
0cc0d19f57 setup: make show-tool-versions report entire verbose exception stack traces when it fails to find a Python package 2010-09-18 18:15:54 -07:00
Zooko O'Whielacronx
a5ebcfa4df setup: add information about setuptools_darcs and darcsver to the show-tool-versions output 2010-09-18 15:04:10 -07:00
david-sarah
b86404e796 docs/quickstart.html: note dependency on python development files, e.g. on Ubuntu 2010-09-13 21:04:56 -07:00