david-sarah [Mon, 2 Aug 2010 01:05:52 +0000 (18:05 -0700)]
Additional Unicode basedir changes for ticket798 branch.
david-sarah [Sun, 1 Aug 2010 23:53:10 +0000 (16:53 -0700)]
Unicode basedir changes for ticket798 branch.
david-sarah [Sun, 25 Jul 2010 22:26:03 +0000 (15:26 -0700)]
fileutil: change WindowsError to OSError in abspath_expanduser_unicode, because WindowsError might not exist.
david-sarah [Sat, 24 Jul 2010 03:21:23 +0000 (20:21 -0700)]
test_system: correct a failure in _test_runner caused by Unicode basedir patch on non-Unicode platforms.
david-sarah [Sun, 25 Jul 2010 01:03:18 +0000 (18:03 -0700)]
Fix test failures due to Unicode basedir patches.
david-sarah [Fri, 23 Jul 2010 07:53:14 +0000 (00:53 -0700)]
util.encodingutil: change quote_output to do less unnecessary escaping, and to use double-quotes more consistently when needed. This version avoids u-escaping for characters that are representable in the output encoding, when double quotes are used, and includes tests. fixes #1135
david-sarah [Thu, 22 Jul 2010 00:14:18 +0000 (17:14 -0700)]
Replace uses of os.path.abspath with abspath_expanduser_unicode where necessary. This makes basedir paths consistently represented as Unicode.
david-sarah [Wed, 21 Jul 2010 23:15:07 +0000 (16:15 -0700)]
util.fileutil, test.test_util: add abspath_expanduser_unicode function, to work around <http://bugs.python.org/issue3426>. util.encodingutil: add a convenience function argv_to_abspath.
Zooko O'Whielacronx [Mon, 2 Aug 2010 07:17:48 +0000 (00:17 -0700)]
setup: increase requirement on foolscap from >= 0.4.1 to >= 0.5.1 to avoid the foolscap performance bug with transferring large mutable files
Zooko O'Whielacronx [Mon, 2 Aug 2010 07:02:12 +0000 (00:02 -0700)]
upload: tidy up logging messages
reformat code to be less than 100 chars wide, refactor formatting of logging messages, add log levels to some logging messages, M-x whitespace-cleanup
jacob.lyles [Thu, 29 Jul 2010 21:06:38 +0000 (14:06 -0700)]
abbreviate time edge case python2.5 unit test
david-sarah [Thu, 29 Jul 2010 15:29:27 +0000 (08:29 -0700)]
test_upload.py: rename test_problem_layout_ticket1124 to test_problem_layout_ticket_1124 -- fix .todo reference.
david-sarah [Thu, 29 Jul 2010 14:22:50 +0000 (07:22 -0700)]
test_upload.py: rename test_problem_layout_ticket1124 to test_problem_layout_ticket_1124 for consistency.
Zooko O'Whielacronx [Mon, 2 Aug 2010 06:33:39 +0000 (23:33 -0700)]
tests: remove debug print
Zooko O'Whielacronx [Mon, 2 Aug 2010 06:33:14 +0000 (23:33 -0700)]
docs: update the list of forums to announce Tahoe-LAFS too, add empty checkboxes
Zooko O'Whielacronx [Mon, 2 Aug 2010 06:20:04 +0000 (23:20 -0700)]
immutable: tidy-up some code by using a set instead of list to hold homeless_shares
Zooko O'Whielacronx [Sun, 1 Aug 2010 16:42:07 +0000 (09:42 -0700)]
setup: fix a couple instances of hard-coded 'allmydata-tahoe' in the scripts, tighten the tests (as suggested by David-Sarah)
Zooko O'Whielacronx [Sun, 1 Aug 2010 16:05:17 +0000 (09:05 -0700)]
setup: replace hardcoded 'allmydata-tahoe' with allmydata.__appname__
Zooko O'Whielacronx [Sun, 1 Aug 2010 03:43:38 +0000 (20:43 -0700)]
NEWS: describe #1055
Zooko O'Whielacronx [Mon, 19 Jul 2010 08:20:00 +0000 (01:20 -0700)]
immutable: use PrefixingLogMixin to organize logging in Tahoe2PeerSelector and add more detailed messages about peer
Zooko O'Whielacronx [Mon, 19 Jul 2010 04:49:48 +0000 (21:49 -0700)]
benchmarking: update bench_dirnode to be correct and use the shiniest new pyutil.benchutil features concerning what units you measure in
Zooko O'Whielacronx [Mon, 19 Jul 2010 04:47:44 +0000 (21:47 -0700)]
trivial: rename and add in-line doc to clarify "used_peers" => "upload_servers"
Zooko O'Whielacronx [Fri, 30 Jul 2010 23:05:00 +0000 (16:05 -0700)]
docs: add Jacob Lyles to CREDITS
jacob.lyles [Fri, 30 Jul 2010 22:05:50 +0000 (15:05 -0700)]
web: don't use %d formatting on a potentially large negative float -- there is a bug in Python 2.5 in that case
fixes #1055
Zooko O'Whielacronx [Thu, 29 Jul 2010 05:29:23 +0000 (22:29 -0700)]
docs: fix licensing typo that was earlier fixed in [
20090921164651-92b7f-
7f97b58101d93dc588445c52a9aaa56a2c7ae336]
I wish we didn't copies of this licensing text in several different files so that changes can be accidentally omitted from some of them.
david-sarah [Mon, 26 Jul 2010 22:57:29 +0000 (15:57 -0700)]
misc/build_helpers/run-with-pythonpath.py: fix stale comment, and remove 'trial' example that is not the right way to run trial.
david-sarah [Fri, 23 Jul 2010 06:16:16 +0000 (23:16 -0700)]
docs/specifications/dirnodes.txt: 'mesh'->'grid'.
david-sarah [Fri, 23 Jul 2010 05:47:03 +0000 (22:47 -0700)]
docs/specifications/dirnodes.txt: bring layer terminology up-to-date with architecture.txt, and a few other updates (e.g. note that the MAC is no longer verified, and that URIs can be unknown). Also 'Tahoe'->'Tahoe-LAFS'.
Zooko O'Whielacronx [Wed, 21 Jul 2010 01:05:43 +0000 (18:05 -0700)]
docs: use current cap to Zooko's wiki page in example text
fixes #1134
david-sarah [Tue, 20 Jul 2010 01:19:39 +0000 (18:19 -0700)]
__init__.py: silence DeprecationWarning about BaseException.message globally. fixes #1129
david-sarah [Tue, 20 Jul 2010 01:13:45 +0000 (18:13 -0700)]
test_runner: test that 'tahoe --version' outputs no noise (e.g. DeprecationWarnings).
Zooko O'Whielacronx [Mon, 19 Jul 2010 13:13:52 +0000 (06:13 -0700)]
TAG allmydata-tahoe-1.7.1
Zooko O'Whielacronx [Mon, 19 Jul 2010 08:30:59 +0000 (01:30 -0700)]
relnotes.txt: updated for v1.7.1 release!
Zooko O'Whielacronx [Mon, 19 Jul 2010 08:16:12 +0000 (01:16 -0700)]
immutable: add test case of #1128, fix test case of #1118
Zooko O'Whielacronx [Mon, 19 Jul 2010 08:12:48 +0000 (01:12 -0700)]
NEWS: add #1118 and reflow
Zooko O'Whielacronx [Mon, 19 Jul 2010 07:54:26 +0000 (00:54 -0700)]
immutable: fix bug in which preexisting_shares and merged were shallowly referencing the same sets
This bug had the effect of making uploads sometimes (rarely) appear to succeed when they had actually not distributed the shares well enough to achieve the desired servers-of-happiness level.
david-sarah [Mon, 19 Jul 2010 04:46:55 +0000 (21:46 -0700)]
upload.py: fix #1118 by aborting newly-homeless buckets when reassignment runs. This makes a previously failing assert correct. This version refactors 'abort' into two methods, rather than using a default argument.
david-sarah [Sun, 18 Jul 2010 23:59:40 +0000 (16:59 -0700)]
docs/known_issues.txt: update release version and date.
david-sarah [Sun, 18 Jul 2010 23:54:37 +0000 (16:54 -0700)]
relnotes.txt, docs/quickstart.html: prepare for 1.7.1 release. Don't claim to work on Cygwin (this might work but is untested).
Zooko O'Whielacronx [Mon, 19 Jul 2010 04:50:47 +0000 (21:50 -0700)]
immutable: extend the tests to check that the shares that got uploaded really do make a sufficiently Happy distribution
This patch also renames some instances of "find_shares()" to "find_all_shares()" and other instances to "find_uri_shares()" as appropriate -- the conflation between those names confused me at first when writing these tests.
Zooko O'Whielacronx [Sun, 18 Jul 2010 22:15:37 +0000 (15:15 -0700)]
immutable: test for #1118
Zooko O'Whielacronx [Sun, 18 Jul 2010 22:29:07 +0000 (15:29 -0700)]
immutable: test for #1124
david-sarah [Sun, 18 Jul 2010 23:04:20 +0000 (16:04 -0700)]
docs/logging.txt: document that _trial_temp/test.log does not receive messages below level=OPERATIONAL, due to <http://foolscap.lothar.com/trac/ticket/154>.
Zooko O'Whielacronx [Sun, 18 Jul 2010 21:51:33 +0000 (14:51 -0700)]
trivial: fix unused import (sorry about that, pyflakes)
Zooko O'Whielacronx [Sun, 18 Jul 2010 20:32:25 +0000 (13:32 -0700)]
tests, NEWS, CREDITS re: #1117
Give Brian and Kevan promotions, move release date in NEWS to the 18th, commit Brian's test for #1117.
fixes #1117
Kevan Carstensen [Fri, 16 Jul 2010 00:10:46 +0000 (17:10 -0700)]
test/test_upload.py: test to see that aborted buckets are ignored by the storage server
Kevan Carstensen [Thu, 15 Jul 2010 23:21:48 +0000 (16:21 -0700)]
test/test_storage.py: test for the new remote_abort semantics.
Kevan Carstensen [Thu, 15 Jul 2010 23:21:05 +0000 (16:21 -0700)]
storage/immutable.py: make remote_abort btell the storage server about aborted buckets.
Kevan Carstensen [Thu, 15 Jul 2010 23:18:20 +0000 (16:18 -0700)]
test/test_upload.py: changes to test plumbing for #1117 tests
- Add a callRemoteOnly method to FakeBucketWriter.
- Change the abort method in FakeBucketWriter to not return a
RuntimeError.
Kevan Carstensen [Thu, 15 Jul 2010 23:17:14 +0000 (16:17 -0700)]
immutable/upload.py: abort buckets if peer selection fails
david-sarah [Sun, 18 Jul 2010 15:14:20 +0000 (08:14 -0700)]
test_encodingutil: correct an error in the previous patch to StdlibUnicode.test_open_representable.
david-sarah [Sun, 18 Jul 2010 14:36:22 +0000 (07:36 -0700)]
NEWS: Forward-compatibility improvements for non-ASCII caps (#1051).
david-sarah [Sun, 18 Jul 2010 14:29:15 +0000 (07:29 -0700)]
test_dirnode and test_web: don't use failUnlessReallyEqual in cases where the return type from simplejson.loads can vary between unicode and str. Use to_str when comparing URIs parsed from JSON.
david-sarah [Sun, 18 Jul 2010 12:54:12 +0000 (05:54 -0700)]
test_encodingutil: StdlibUnicode.test_open_representable no longer uses a mock.
Zooko O'Whielacronx [Sun, 18 Jul 2010 05:32:50 +0000 (22:32 -0700)]
docs: add comment clarifying #1051
Zooko O'Whielacronx [Sun, 18 Jul 2010 05:32:25 +0000 (22:32 -0700)]
docs: update NEWS
david-sarah [Sun, 11 Jul 2010 20:02:52 +0000 (13:02 -0700)]
Add tests of caps from the future that have non-ASCII characters in them (encoded as UTF-8). The changes to test_uri.py, test_client.py, and test_dirnode.py add tests of non-ASCII future caps in addition to the current tests. The changes to test_web.py just replace the tests of all-ASCII future caps with tests of non-ASCII future caps. We also change uses of failUnlessEqual to failUnlessReallyEqual, in order to catch cases where the type of a string is not as expected.
jacob [Fri, 5 Mar 2010 01:30:04 +0000 (18:30 -0700)]
Debian documentation update
jacob [Thu, 4 Mar 2010 09:59:55 +0000 (02:59 -0700)]
debian-docs-patch-final
Zooko O'Whielacronx [Sun, 18 Jul 2010 03:27:39 +0000 (20:27 -0700)]
M-x whitespace-cleanup
Zooko O'Whielacronx [Sun, 18 Jul 2010 03:24:34 +0000 (20:24 -0700)]
docs: tidy up NEWS a little
Zooko O'Whielacronx [Sun, 18 Jul 2010 03:17:10 +0000 (20:17 -0700)]
benchmarking: update bench_dirnode.py to reflect the new directory interfaces
david-sarah [Sun, 18 Jul 2010 03:03:33 +0000 (20:03 -0700)]
test_encodingutil: fix test_open_representable, which is only valid when run on a platform for which we know an unrepresentable filename.
francois [Sun, 18 Jul 2010 02:28:32 +0000 (19:28 -0700)]
iputil.py: Add support for FreeBSD 7,8 and 9
committed by: zooko@zooko.com
date: 2010-07-17
and I also patched: NEWS and CREDITS
Zooko O'Whielacronx [Sun, 18 Jul 2010 02:06:53 +0000 (19:06 -0700)]
NEWS: add snippet about #1083
david-sarah [Sat, 17 Jul 2010 05:46:47 +0000 (22:46 -0700)]
fileutil: docstrings for non-obvious usage restrictions on methods of EncryptedTemporaryFile.
david-sarah [Sun, 11 Jul 2010 21:37:21 +0000 (14:37 -0700)]
Move EncryptedTemporaryFile from SFTP frontend to allmydata.util.fileutil, and make the FTP frontend also use it (fixing #1083).
Zooko O'Whielacronx [Sun, 18 Jul 2010 01:59:29 +0000 (18:59 -0700)]
NEWS: reorder NEWS snippets to be in descending order of interestingness
david-sarah [Sun, 18 Jul 2010 01:34:35 +0000 (18:34 -0700)]
Correct stringutils->encodingutil patch to be the newer version, rather than the old version that was committed in error.
david-sarah [Sun, 18 Jul 2010 00:01:23 +0000 (17:01 -0700)]
test_cli.py: fix error that crept in when rebasing the patch for #1072.
david-sarah [Sat, 17 Jul 2010 04:58:16 +0000 (21:58 -0700)]
stringutils: add test for when sys.stdout has no encoding attribute (fixes #1099).
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.
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
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.
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.
Zooko O'Whielacronx [Wed, 14 Jul 2010 06:01:50 +0000 (23:01 -0700)]
docs: CREDITS and NEWS
Zooko O'Whielacronx [Sat, 19 Jun 2010 04:55:03 +0000 (21:55 -0700)]
CREDITS: more creds for Kevan, plus utf-8 BOM
david-sarah [Wed, 14 Jul 2010 01:45:38 +0000 (18:45 -0700)]
cli.py: make command descriptions consistently end with a full stop.
david-sarah [Mon, 12 Jul 2010 02:55:37 +0000 (19:55 -0700)]
SFTP: address some of the comments in zooko's review (#1106).
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.
david-sarah [Mon, 13 Jul 1970 04:05:46 +0000 (21:05 -0700)]
test_storage.py: potential fix for failures when logging is enabled.
terrellrussell [Thu, 8 Jul 2010 19:39:03 +0000 (12:39 -0700)]
upcase_since_on_welcome
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
Zooko O'Whielacronx [Thu, 8 Jul 2010 16:20:58 +0000 (09:20 -0700)]
NEWS: add NEWS snippets about two recent patches
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
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.
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
freestorm77 [Tue, 22 Jun 2010 20:14:03 +0000 (13:14 -0700)]
runnin_test_directory_xhtml.dpatch
Runnin test for diretory.xhtml top banner
david-sarah [Sat, 26 Jun 2010 04:08:17 +0000 (21:08 -0700)]
stringutils.py: tolerate sys.stdout having no 'encoding' attribute.
david-sarah [Mon, 5 Jul 2010 17:58:58 +0000 (10:58 -0700)]
quickstart.html: python 2.5 -> 2.6 as recommended version
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).
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.
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"
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.)
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
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"
Zooko O'Whielacronx [Sat, 19 Jun 2010 05:26:31 +0000 (22:26 -0700)]
TAG allmydata-tahoe-1.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)
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
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