docs/quickstart.rst: swap two paragraphs to make it more likely a user will report import and versioning errors from 'bin/tahoe --version' if there are any, before trying to run tests. Also, change 'python setup.py test' to 'python setup.py trial' to avoid a rebuild that might change the dependencies (if setuptools decides to throw a spanner in the works).
src/allmydata/__init__.py: ensure that if a dependency cannot be imported, we will report that rather than reporting a confusing message about the version and location being None. fixes #1804
Ignore *~, /miscaptures.txt and /violations.txt.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
fixed wrong index in tahoe cp --verbose, as explained in #1805

this bug shows wrong counters for copied files in verbose mode
link from the tahoe-lafs-dep-eggs/README.html to the relevant wiki pages
add alternating grey-background to make it easier to scan across the table left to right
docs/frontends/webapi.rst: remove (ignored) "size" keyword from mkdir POST example
src/allmydata/web/directory.py: fix HTML double-encoding issue for filenames.

Nevow automatically HTML-escapes strings passed in stan without a raw marker.
Written by MK_FG. fixes #1143

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
test_runner: we no longer need to skip tests on Twisted < 9.0.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
Makefile: add 'make tmpfstest', which uses a tmpfs for _trial_temp.

This probably only works on Linux. It uses sudo to mount and unmount the tmpfs,
which may prompt for a password. refs #20

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
docs/about.rst: fix broken link for network-and-reliance-topology image.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
CLI: fix synopsis for 'tahoe ls'. fixes #1839

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
Update docs/network-and-reliance-topology.svg for RAIC, and to be more accurate about frontend protocols.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
Remove ResponseCache in favor of MDMFSlotReadProxy's cache.

Closes #1240.

This contains 8 patches merged together. Individual messages follow,
latest first:

* Fixed a (x,) != (x) sort of error. Removed some stale comments.
* Exercise the cache
* Test infrastructure for counting cache misses on MDMF files
* Removed the ResponseCache. Instead, the MDMFSlotReadProxy initialized
  by ServerMap is kept around so Retrieve can access it. The ReadProxy
  has a cache of the first 1000 bytes initially read from each share by
  the ServerMap. We're able to satisfy a number of requests out of this
  cache, so roundtrips are reduced from 84 to 60 in test_deepcheck_mdmf.
  There is still some mystery about under what conditions the cache has
  fewer than 1000 bytes. Also this breaks some existing unit tests that
  depend on the inner behavior of ResponseCache.
* The servermap.proxies (a cache of SlotReadProxies) is now keyed
  by (verinfo,serverid,shnum) rather than just (serverid,shnum)
* Removed silly Cache test I wrote earlier (was previously marked 'todo'
  since I was proud of it)
* Minor cosmetic changes
* Added a test failure if the number of cache misses is too high.
  1240-tests now fails against trunk, but branch 1240 passes it
Fixups to that #1240 patch:

* test_mutable.py: remove unnecessary test change
* test_mutable.py: remove leftover DelayedCall.debug=True
* test_mutable.py: remove unused test_response_cache_memory_leak()
* remove spurious trailing whitespace from recent patches
Fixed several tests that require files larger than the servermap cache (previously MDMFslotread cache)

Signed-off-by: Andrew Miller <amiller@dappervision.com>

Conflicts:

	src/allmydata/test/test_mutable.py
Removed test_corrupt_all_block_hash_tree_late, since the entire block_hash_tree is cached in the servermap for an SDMF file

Signed-off-by: Andrew Miller <amiller@dappervision.com>