tahoe-lafs/tahoe-lafs.git
14 years agoCLI: add 'tahoe unlink' as an alias to 'tahoe rm', for forward-compatibility.
david-sarah [Sat, 17 Jul 2010 22:04:11 +0000 (15:04 -0700)]
CLI: add 'tahoe unlink' as an alias to 'tahoe rm', for forward-compatibility.

14 years agominor code clean-up in dirnode.py
Zooko O'Whielacronx [Wed, 14 Jul 2010 06:02:55 +0000 (23:02 -0700)]
minor code clean-up in dirnode.py
Impose micro-POLA by passing only the writekey instead of the whole node object to {{{_encrypt_rw_uri()}}}. Remove DummyImmutableFileNode in nodemaker.py, which is obviated by this. Add micro-optimization by precomputing the netstring of the empty string and branching on whether the writekey is present or not outside of {{{_encrypt_rw_uri()}}}. Add doc about writekey to docstring.
fixes #967

14 years agoRename stringutils to encodingutil, and drop listdir_unicode and open_unicode (since...
david-sarah [Mon, 12 Jul 2010 00:30:15 +0000 (17:30 -0700)]
Rename stringutils to encodingutil, and drop listdir_unicode and open_unicode (since the Python stdlib functions work fine with Unicode paths). Also move some utility functions to fileutil.

14 years agoAllow URIs passed in the initial JSON for t=mkdir-with-children, t=mkdir-immutable...
david-sarah [Sun, 11 Jul 2010 19:55:25 +0000 (12:55 -0700)]
Allow URIs passed in the initial JSON for t=mkdir-with-children, t=mkdir-immutable to be Unicode. Also pass the name of each child into nodemaker.create_from_cap for error reporting.

14 years agodocs: CREDITS and NEWS
Zooko O'Whielacronx [Wed, 14 Jul 2010 06:01:50 +0000 (23:01 -0700)]
docs: CREDITS and NEWS

14 years agoCREDITS: more creds for Kevan, plus utf-8 BOM
Zooko O'Whielacronx [Sat, 19 Jun 2010 04:55:03 +0000 (21:55 -0700)]
CREDITS: more creds for Kevan, plus utf-8 BOM

14 years agocli.py: make command descriptions consistently end with a full stop.
david-sarah [Wed, 14 Jul 2010 01:45:38 +0000 (18:45 -0700)]
cli.py: make command descriptions consistently end with a full stop.

14 years agoSFTP: address some of the comments in zooko's review (#1106).
david-sarah [Mon, 12 Jul 2010 02:55:37 +0000 (19:55 -0700)]
SFTP: address some of the comments in zooko's review (#1106).

14 years agodocs/logging.txt: note that setting flogging vars might affect tests with race condit...
david-sarah [Mon, 12 Jul 2010 05:07:21 +0000 (22:07 -0700)]
docs/logging.txt: note that setting flogging vars might affect tests with race conditions.

54 years agotest_storage.py: potential fix for failures when logging is enabled.
david-sarah [Mon, 13 Jul 1970 04:05:46 +0000 (21:05 -0700)]
test_storage.py: potential fix for failures when logging is enabled.

14 years agoupcase_since_on_welcome
terrellrussell [Thu, 8 Jul 2010 19:39:03 +0000 (12:39 -0700)]
upcase_since_on_welcome

14 years agoserver_version_on_welcome_page.dpatch.txt
freestorm77 [Sat, 5 Jun 2010 19:17:21 +0000 (12:17 -0700)]
server_version_on_welcome_page.dpatch.txt

- The storage server version is 0 for all storage nodes in the Welcome Page

14 years agoNEWS: add NEWS snippets about two recent patches
Zooko O'Whielacronx [Thu, 8 Jul 2010 16:20:58 +0000 (09:20 -0700)]
NEWS: add NEWS snippets about two recent patches

14 years agodirectory_html_top_banner.dpatch
freestorm77 [Tue, 22 Jun 2010 20:53:01 +0000 (13:53 -0700)]
directory_html_top_banner.dpatch

The div tag with the link "Return to Welcome page" on the directory.xhtml page is not correct

14 years agotahoe_css_toolbar.dpatch
freestorm77 [Tue, 22 Jun 2010 21:00:46 +0000 (14:00 -0700)]
tahoe_css_toolbar.dpatch

CSS modification to be correctly diplayed with Internet Explorer 8

The links on the top of page directory.xhtml are not diplayed in the same line as display with Firefox.

14 years agorunnin_test_tahoe_css.dpatch
freestorm77 [Tue, 22 Jun 2010 21:47:14 +0000 (14:47 -0700)]
runnin_test_tahoe_css.dpatch

Runnin test for changes in tahoe.css file

14 years agorunnin_test_directory_xhtml.dpatch
freestorm77 [Tue, 22 Jun 2010 20:14:03 +0000 (13:14 -0700)]
runnin_test_directory_xhtml.dpatch

Runnin test for diretory.xhtml top banner

14 years agostringutils.py: tolerate sys.stdout having no 'encoding' attribute.
david-sarah [Sat, 26 Jun 2010 04:08:17 +0000 (21:08 -0700)]
stringutils.py: tolerate sys.stdout having no 'encoding' attribute.

14 years agoquickstart.html: python 2.5 -> 2.6 as recommended version
david-sarah [Mon, 5 Jul 2010 17:58:58 +0000 (10:58 -0700)]
quickstart.html: python 2.5 -> 2.6 as recommended version

14 years agoSFTP: don't call .stopProducing on the producer registered with OverwriteableFileCons...
david-sarah [Mon, 28 Jun 2010 23:19:26 +0000 (16:19 -0700)]
SFTP: don't call .stopProducing on the producer registered with OverwriteableFileConsumer (which breaks with warner's new downloader).

14 years agodocs/how_to_make_a_tahoe-lafs_release.txt: trivial correction, install.html should...
david-sarah [Fri, 25 Jun 2010 22:39:29 +0000 (15:39 -0700)]
docs/how_to_make_a_tahoe-lafs_release.txt: trivial correction, install.html should now be quickstart.html.

14 years agosetup: in the Makefile, refuse to upload tarballs unless someone has passed the envir...
Zooko O'Whielacronx [Sat, 19 Jun 2010 03:49:28 +0000 (20:49 -0700)]
setup: in the Makefile, refuse to upload tarballs unless someone has passed the environment variable "BB_BRANCH" with value "trunk"

14 years agotrivial: tiny update to in-line comment
Zooko O'Whielacronx [Mon, 14 Jun 2010 04:57:15 +0000 (21:57 -0700)]
trivial: tiny update to in-line comment
(I'm actually committing this patch as a test of the new eager-annotation-computation of trac-darcs.)

14 years agodocs: about.html link to home page early on, and be decentralized storage instead...
Zooko O'Whielacronx [Sat, 19 Jun 2010 06:53:18 +0000 (23:53 -0700)]
docs: about.html link to home page early on, and be decentralized storage instead of cloud storage this time around

14 years agodocs: update about.html, especially to have a non-broken link to quickstart.html...
Zooko O'Whielacronx [Sat, 19 Jun 2010 06:51:24 +0000 (23:51 -0700)]
docs: update about.html, especially to have a non-broken link to quickstart.html, and also to comment out the broken links to "for Paranoids" and "for Corporates"

14 years agoTAG allmydata-tahoe-1.7.0 allmydata-tahoe-1.7.0
Zooko O'Whielacronx [Sat, 19 Jun 2010 05:26:31 +0000 (22:26 -0700)]
TAG allmydata-tahoe-1.7.0

14 years agodocs: update relnotes.txt for Tahoe-LAFS v1.7.0!
Zooko O'Whielacronx [Sat, 19 Jun 2010 05:20:48 +0000 (22:20 -0700)]
docs: update relnotes.txt for Tahoe-LAFS v1.7.0!
... and remove relnotes-short.txt (just use the first section of relnotes.txt for that purpose)

14 years agodocs: update known_issues.txt with more detail about web browser "safe-browsing"...
Zooko O'Whielacronx [Sat, 19 Jun 2010 05:17:34 +0000 (22:17 -0700)]
docs: update known_issues.txt with more detail about web browser "safe-browsing" features and slightly tweaked formatting

14 years agodocs: quickstart.html: link to 1.7.0 zip file and add UTF-8 BOM
Zooko O'Whielacronx [Sat, 19 Jun 2010 05:01:24 +0000 (22:01 -0700)]
docs: quickstart.html: link to 1.7.0 zip file and add UTF-8 BOM

14 years agodocs: more CREDITS for Kevan, plus utf-8 BOM
Zooko O'Whielacronx [Sat, 19 Jun 2010 04:58:09 +0000 (21:58 -0700)]
docs: more CREDITS for Kevan, plus utf-8 BOM

14 years agodocs: update NEWS for release 1.7.0
Zooko O'Whielacronx [Sat, 19 Jun 2010 04:57:50 +0000 (21:57 -0700)]
docs: update NEWS for release 1.7.0

14 years agodocs: apply patch from duck for #937 about "tahoe run" not working on introducers
Zooko O'Whielacronx [Sat, 19 Jun 2010 04:07:54 +0000 (21:07 -0700)]
docs: apply patch from duck for #937 about "tahoe run" not working on introducers

14 years agowebapi.txt: fix statement about leap seconds.
david-sarah [Sat, 19 Jun 2010 03:56:03 +0000 (20:56 -0700)]
webapi.txt: fix statement about leap seconds.

14 years agorunning.html: Tahoe->Tahoe-LAFS in what used to be using.html, and #tahoe->#tahoe...
david-sarah [Sat, 19 Jun 2010 03:31:52 +0000 (20:31 -0700)]
running.html: Tahoe->Tahoe-LAFS in what used to be using.html, and #tahoe->#tahoe-lafs (IRC channel).

14 years agotest_backupdb.py: skip test_unicode if we can't represent the test filenames.
david-sarah [Sat, 19 Jun 2010 02:26:20 +0000 (19:26 -0700)]
test_backupdb.py: skip test_unicode if we can't represent the test filenames.

14 years agotest_web.py: correct a test that was missed in the change to not write ctime/mtime.
david-sarah [Sat, 19 Jun 2010 02:17:18 +0000 (19:17 -0700)]
test_web.py: correct a test that was missed in the change to not write ctime/mtime.

14 years agodirnode.py: stop writing 'ctime' and 'mtime' fields. Includes documentation and test...
david-sarah [Fri, 18 Jun 2010 23:01:19 +0000 (16:01 -0700)]
dirnode.py: stop writing 'ctime' and 'mtime' fields. Includes documentation and test changes.

14 years agotest_storage.py: print more information on test failures.
david-sarah [Thu, 17 Jun 2010 03:46:23 +0000 (20:46 -0700)]
test_storage.py: print more information on test failures.

14 years agorunning.html: describe where 'bin/tahoe' is only once.
david-sarah [Thu, 17 Jun 2010 03:36:03 +0000 (20:36 -0700)]
running.html: describe where 'bin/tahoe' is only once.

14 years agoMerge using.html into running.html.
david-sarah [Thu, 17 Jun 2010 01:28:57 +0000 (18:28 -0700)]
Merge using.html into running.html.

14 years agoRemove firewall section from running.html and say to read configuration.txt instead. trac-4500
david-sarah [Thu, 17 Jun 2010 00:45:13 +0000 (17:45 -0700)]
Remove firewall section from running.html and say to read configuration.txt instead.

14 years agoFTP-and-SFTP.txt: add Known Issues section.
david-sarah [Sat, 19 Jun 2010 00:43:11 +0000 (17:43 -0700)]
FTP-and-SFTP.txt: add Known Issues section.

14 years agoFTP-and-SFTP.txt: remove description of public key format that is not actually implem...
david-sarah [Sat, 19 Jun 2010 00:17:38 +0000 (17:17 -0700)]
FTP-and-SFTP.txt: remove description of public key format that is not actually implemented. Document that SFTP does not support server private keys with passphrases, and that FTP cannot list directories containing mutable files.

14 years agoconfiguration.txt and servers-of-happiness.txt: 1 <= happy <= N, not k <= happy ...
david-sarah [Fri, 18 Jun 2010 05:07:10 +0000 (22:07 -0700)]
configuration.txt and servers-of-happiness.txt: 1 <= happy <= N, not k <= happy <= N. Also minor wording changes.

14 years agotest_cli.py: fix test failure in CLI.test_listdir_unicode_good due to filenames retur...
david-sarah [Fri, 18 Jun 2010 04:51:10 +0000 (21:51 -0700)]
test_cli.py: fix test failure in CLI.test_listdir_unicode_good due to filenames returned from listdir_unicode no longer being normalized.

14 years agotahoe backup: unicode tests.
david-sarah [Fri, 18 Jun 2010 03:52:11 +0000 (20:52 -0700)]
tahoe backup: unicode tests.

14 years agoCLI: allow Unicode patterns in exclude option to 'tahoe backup'.
david-sarah [Thu, 17 Jun 2010 03:39:01 +0000 (20:39 -0700)]
CLI: allow Unicode patterns in exclude option to 'tahoe backup'.

14 years agodirnodes: fix normalization hole where childnames in directories created by nodemaker...
david-sarah [Fri, 18 Jun 2010 00:02:49 +0000 (17:02 -0700)]
dirnodes: fix normalization hole where childnames in directories created by nodemaker.create_mutable/immutable_directory would not be normalized. Add a test that we normalize names coming out of a directory.

14 years agodirnode.py: comments about normalization changes.
david-sarah [Thu, 17 Jun 2010 04:14:11 +0000 (21:14 -0700)]
dirnode.py: comments about normalization changes.

14 years agostringutils.py: remove unused import.
david-sarah [Thu, 17 Jun 2010 03:44:40 +0000 (20:44 -0700)]
stringutils.py: remove unused import.

14 years agotest_stringutils.py: take account of the output of listdir_unicode no longer being...
david-sarah [Thu, 17 Jun 2010 03:44:09 +0000 (20:44 -0700)]
test_stringutils.py: take account of the output of listdir_unicode no longer being normalized. Also use Unicode escapes, not UTF-8.

14 years agotest_dirnode.py: partial tests for normalization changes.
david-sarah [Thu, 17 Jun 2010 03:40:25 +0000 (20:40 -0700)]
test_dirnode.py: partial tests for normalization changes.

14 years agoSFTP: get 'ctime' attribute from 'tahoe:linkmotime'.
david-sarah [Thu, 17 Jun 2010 03:37:44 +0000 (20:37 -0700)]
SFTP: get 'ctime' attribute from 'tahoe:linkmotime'.

14 years agostringutils.py: don't NFC-normalize the output of listdir_unicode.
david-sarah [Thu, 17 Jun 2010 01:55:37 +0000 (18:55 -0700)]
stringutils.py: don't NFC-normalize the output of listdir_unicode.

14 years agostringutils.py: Add encoding argument to quote_output. Also work around a bug in...
david-sarah [Wed, 16 Jun 2010 04:20:12 +0000 (21:20 -0700)]
stringutils.py: Add encoding argument to quote_output. Also work around a bug in locale.getpreferredencoding on older Pythons.

14 years agoProvisional patch to NFC-normalize filenames going in and out of Tahoe directories.
david-sarah [Wed, 16 Jun 2010 03:14:50 +0000 (20:14 -0700)]
Provisional patch to NFC-normalize filenames going in and out of Tahoe directories.

14 years agohow_to_make_a_tahoe-lafs_release.txt: reordering, add fuse-sshfs@lists.sourceforge...
david-sarah [Fri, 18 Jun 2010 04:18:54 +0000 (21:18 -0700)]
how_to_make_a_tahoe-lafs_release.txt: reordering, add fuse-sshfs@lists.sourceforge.list as place to send relnotes.

14 years agorunning.html: fix overeager replacement of 'tahoe' with 'Tahoe-LAFS', and some simpli...
david-sarah [Thu, 17 Jun 2010 00:09:52 +0000 (17:09 -0700)]
running.html: fix overeager replacement of 'tahoe' with 'Tahoe-LAFS', and some simplifications.

14 years agoAdd a specification for servers of happiness.
Kevan Carstensen [Mon, 24 May 2010 00:35:08 +0000 (17:35 -0700)]
Add a specification for servers of happiness.

14 years agoNote that servers of happiness only applies to immutable files for the moment
Kevan Carstensen [Mon, 24 May 2010 04:28:36 +0000 (21:28 -0700)]
Note that servers of happiness only applies to immutable files for the moment

14 years agoAdd a note about running Tahoe-LAFS on a small grid to running.html
Zooko O'Whielacronx [Wed, 16 Jun 2010 14:02:27 +0000 (07:02 -0700)]
Add a note about running Tahoe-LAFS on a small grid to running.html
also Change "tahoe" and "Tahoe" to "Tahoe-LAFS" in running.html
author: Kevan Carstensen

14 years agoCLI.txt: introduce 'create-alias' before 'add-alias', document Unicode argument suppo...
david-sarah [Thu, 10 Jun 2010 22:55:47 +0000 (15:55 -0700)]
CLI.txt: introduce 'create-alias' before 'add-alias', document Unicode argument support, and other minor updates.

14 years agotest_system.py: investigate failure in allmydata.test.test_system.SystemTest.test_upl...
david-sarah [Wed, 16 Jun 2010 00:16:48 +0000 (17:16 -0700)]
test_system.py: investigate failure in allmydata.test.test_system.SystemTest.test_upload_and_download_random_key due to bytes_sent not being an int

14 years agoSFTP: remove a dubious use of 'pragma: no cover'.
david-sarah [Sun, 13 Jun 2010 16:43:56 +0000 (09:43 -0700)]
SFTP: remove a dubious use of 'pragma: no cover'.

14 years agoSFTP: test that renaming onto a just-opened file fails.
david-sarah [Sat, 12 Jun 2010 03:37:09 +0000 (20:37 -0700)]
SFTP: test that renaming onto a just-opened file fails.

14 years agoSFTP: further small improvements to test coverage. Also ensure that after a test...
david-sarah [Sat, 12 Jun 2010 03:07:37 +0000 (20:07 -0700)]
SFTP: further small improvements to test coverage. Also ensure that after a test failure, later tests don't fail spuriously due to the checks for heisenfile leaks.

14 years agoSFTP: further improve test coverage (paths containing '.', bad data for posix-rename...
david-sarah [Fri, 11 Jun 2010 21:31:42 +0000 (14:31 -0700)]
SFTP: further improve test coverage (paths containing '.', bad data for posix-rename extension, and error in test of openShell).

14 years agoSFTP: improve test coverage for no-write on mutable files, and check for heisenfile...
david-sarah [Fri, 11 Jun 2010 20:57:52 +0000 (13:57 -0700)]
SFTP: improve test coverage for no-write on mutable files, and check for heisenfile table leaks in all relevant tests. Delete test_memory_leak since it is now redundant.

14 years agoSFTP: add test for extension of file opened with FXF_APPEND.
david-sarah [Thu, 10 Jun 2010 18:26:47 +0000 (11:26 -0700)]
SFTP: add test for extension of file opened with FXF_APPEND.

14 years agoNEWS: add UTF-8 coding declaration.
david-sarah [Wed, 9 Jun 2010 23:48:51 +0000 (16:48 -0700)]
NEWS: add UTF-8 coding declaration.

14 years agotests: bump up the timeout on this iputil test from 2s to 4s
Zooko O'Whielacronx [Wed, 9 Jun 2010 14:30:17 +0000 (07:30 -0700)]
tests: bump up the timeout on this iputil test from 2s to 4s

14 years agodocs: a few tweaks to NEWS and CREDITS and make quickstart.html point to 1.7.0β!
Zooko O'Whielacronx [Wed, 9 Jun 2010 14:29:27 +0000 (07:29 -0700)]
docs: a few tweaks to NEWS and CREDITS and make quickstart.html point to 1.7.0β!

14 years agodocs: Update NEWS file with new features and bugfixes in 1.7.0
francois [Wed, 9 Jun 2010 09:11:20 +0000 (02:11 -0700)]
docs: Update NEWS file with new features and bugfixes in 1.7.0

14 years agodocs: wording fix, thanks to Jeremy Visser, fix #987
francois [Wed, 9 Jun 2010 08:11:03 +0000 (01:11 -0700)]
docs: wording fix, thanks to Jeremy Visser, fix #987

14 years agoSFTP: fix most significant memory leak described in #1045 (due to a file being added...
david-sarah [Wed, 9 Jun 2010 08:00:03 +0000 (01:00 -0700)]
SFTP: fix most significant memory leak described in #1045 (due to a file being added to all_heisenfiles under more than one direntry when renamed).

14 years agotest_stringutils.py: Fix test failure on CentOS builder, possibly Python 2.4.3-related.
david-sarah [Wed, 9 Jun 2010 06:50:56 +0000 (23:50 -0700)]
test_stringutils.py: Fix test failure on CentOS builder, possibly Python 2.4.3-related.

14 years agoFix for Unicode-related test failures on Zooko's OS X 10.6 machine.
david-sarah [Wed, 9 Jun 2010 05:54:48 +0000 (22:54 -0700)]
Fix for Unicode-related test failures on Zooko's OS X 10.6 machine.

14 years agodocs: update relnote.txt for Tahoe-LAFS v1.7.0β
Zooko O'Whielacronx [Wed, 9 Jun 2010 05:46:02 +0000 (22:46 -0700)]
docs: update relnote.txt for Tahoe-LAFS v1.7.0β

14 years agostringutils.py, sftpd.py: Portability fixes for Python <= 2.5.
david-sarah [Wed, 9 Jun 2010 01:33:02 +0000 (18:33 -0700)]
stringutils.py, sftpd.py: Portability fixes for Python <= 2.5.

14 years agosetup: move the mock library from install_requires to tests_require (re: #1016)
Zooko O'Whielacronx [Wed, 9 Jun 2010 05:05:42 +0000 (22:05 -0700)]
setup: move the mock library from install_requires to tests_require (re: #1016)

14 years agoBack out Windows-specific Unicode argument support for v1.7.
david-sarah [Wed, 9 Jun 2010 00:08:03 +0000 (17:08 -0700)]
Back out Windows-specific Unicode argument support for v1.7.

14 years ago_auto_deps.py: allow Python 2.4.3 on Redhat-based distributions.
david-sarah [Wed, 9 Jun 2010 00:36:46 +0000 (17:36 -0700)]
_auto_deps.py: allow Python 2.4.3 on Redhat-based distributions.

14 years agosetup: show-tool-versions.py: print out the output from the unix command "locale...
Zooko O'Whielacronx [Wed, 9 Jun 2010 04:07:14 +0000 (21:07 -0700)]
setup: show-tool-versions.py: print out the output from the unix command "locale" and re-arrange encoding data a little bit

14 years agosetup: add zope.interface to the packages described by show-tool-versions.py
Zooko O'Whielacronx [Wed, 9 Jun 2010 03:49:15 +0000 (20:49 -0700)]
setup: add zope.interface to the packages described by show-tool-versions.py

14 years agoCREDITS: update François's Description
Zooko O'Whielacronx [Tue, 8 Jun 2010 15:55:13 +0000 (08:55 -0700)]
CREDITS: update François's Description

14 years agoCREDITS: jsgf
Zooko O'Whielacronx [Tue, 8 Jun 2010 14:30:52 +0000 (07:30 -0700)]
CREDITS: jsgf

14 years agosetup: rename the setuptools_trial .egg that comes bundled in the base dir to not...
Zooko O'Whielacronx [Tue, 8 Jun 2010 04:16:07 +0000 (21:16 -0700)]
setup: rename the setuptools_trial .egg that comes bundled in the base dir to not have "-py2.6" in its name, since it works with other versions of python as well

14 years agosetup: rename the darcsver .egg that comes bundled in the base dir to not have "...
Zooko O'Whielacronx [Tue, 8 Jun 2010 04:15:34 +0000 (21:15 -0700)]
setup: rename the darcsver .egg that comes bundled in the base dir to not have "-py2.6" in its name, since it works with other versions of python as well

14 years agoSFTP: suppress NoSuchChildError if heisenfile attributes have been updated in setAttr...
david-sarah [Tue, 8 Jun 2010 06:37:53 +0000 (23:37 -0700)]
SFTP: suppress NoSuchChildError if heisenfile attributes have been updated in setAttrs, in the case where the parent is available.

14 years agoSFTP: ignore permissions when opening a file (needed for sshfs interoperability).
david-sarah [Tue, 8 Jun 2010 05:57:00 +0000 (22:57 -0700)]
SFTP: ignore permissions when opening a file (needed for sshfs interoperability).

14 years agotest_web.py: fix pyflakes warnings introduced by byterange patch.
david-sarah [Tue, 8 Jun 2010 04:20:12 +0000 (21:20 -0700)]
test_web.py: fix pyflakes warnings introduced by byterange patch.

14 years agoImprove HTTP/1.1 byterange handling
Jeremy Fitzhardinge [Wed, 10 Mar 2010 03:59:13 +0000 (20:59 -0700)]
Improve HTTP/1.1 byterange handling

Fix parsing of a Range: header to support:
 - multiple ranges (parsed, but not returned)
 - suffix byte ranges ("-2139")
 - correct handling of incorrectly formatted range headers
   (correct behaviour is to ignore the header and return the full
    file)
 - return appropriate error for ranges outside the file

Multiple ranges are parsed, but only the first range is returned.
Returning multiple ranges requires using the multipart/byterange
content type.

14 years agotests: bump up the timeout on these tests; MM's buildslave is sometimes extremely...
Zooko O'Whielacronx [Tue, 8 Jun 2010 03:37:54 +0000 (20:37 -0700)]
tests: bump up the timeout on these tests; MM's buildslave is sometimes extremely slow on tests, but it will complete them if given enough time. MM is working on making that buildslave more predictable in how long it takes to run tests.

14 years agotest_cli.py: remove invalid 'test_listdir_unicode_bad' test.
david-sarah [Mon, 7 Jun 2010 18:37:30 +0000 (11:37 -0700)]
test_cli.py: remove invalid 'test_listdir_unicode_bad' test.

14 years agocheck_memory.py: adapt to servers-of-happiness changes.
david-sarah [Tue, 8 Jun 2010 01:35:28 +0000 (18:35 -0700)]
check_memory.py: adapt to servers-of-happiness changes.

14 years agoshow-tool-versions.py: platform.linux_distribution() is not always available
david-sarah [Tue, 8 Jun 2010 00:45:23 +0000 (17:45 -0700)]
show-tool-versions.py: platform.linux_distribution() is not always available

14 years agoshow-tool-versions.py: show platform.linux_distribution()
david-sarah [Tue, 8 Jun 2010 00:38:29 +0000 (17:38 -0700)]
show-tool-versions.py: show platform.linux_distribution()

14 years agoRemove the 'tahoe debug consolidate' subcommand.
david-sarah [Mon, 7 Jun 2010 18:37:57 +0000 (11:37 -0700)]
Remove the 'tahoe debug consolidate' subcommand.

14 years agocommon_http.py, tahoe_cp.py: Fix an error in calling the superclass constructor in...
david-sarah [Mon, 7 Jun 2010 17:47:14 +0000 (10:47 -0700)]
common_http.py, tahoe_cp.py: Fix an error in calling the superclass constructor in HTTPError and MissingSourceError (introduced by the Unicode fixes).

14 years agotests: drastically increase timeout of this very time-consuming test in honor of...
Zooko O'Whielacronx [Mon, 7 Jun 2010 11:59:29 +0000 (04:59 -0700)]
tests: drastically increase timeout of this very time-consuming test in honor of François's ARM box