Improvements in storage and caching for ios

Fixed duplicates in upload list with proper synchronization
Added a filename when vivifying
Reset cache on storageGeneration change

Change-Id: Ibb3551d565c4acdbdfd17055118263144ee4a135
Merge "Improvements in storage and caching for ios"
osx: Describe how to make a .dmg from BUILDING

Change-Id: I4c2bcc3709d2121ab092b438991cc995fd7192f8
Turn Closure's DEBUG flag off.

This improves the performance of Promise construction, which
improves the performance of dropping large numbers of files onto
the UI at once.

There is still more we could do to improve dropping large numbers
of files (probably we should implement a work queue and not try
to start uploading them all in parallel), but this is a quick
solution and probably helps other parts of the code as well.

Change-Id: I398ba8d6776b38b1a61a22598099c52dc2130469
Merge "Turn Closure's DEBUG flag off."
Actually turn Closure's DEBUG flag off. This was backwards in 17e3799cdaf08fc00236ba6d4e29f0db9d8d9430.

Change-Id: I6228ef77bdbe82ad77fa5d60c853df02820d23c1
fs: clean up mountpoints after tests

Otherwise they tend to annoyingly accumulate on long-lived hosts (such
as the  buildbot).

Change-Id: I41eb90423c1f98d8481fb3308c2cdcb74fc86ddd
Merge "fs: clean up mountpoints after tests"
Fix choppy scrolling when flinging on OS X.

This was caused by a bug in Chrome: wheel events stop firing when source
element is removed from DOM. Workaround: leave element in DOM for awhile.

On the upside, React makes this clean to implement. No need to keep state
to remember to remove the dangling element. It automatically gets removed
when it is no longer the last element to receive the wheel event!

Change-Id: I1b9372bfd1edcfb532f6825d99044a314048c3b4
Merge "Fix choppy scrolling when flinging on OS X."
cmdmain: guard ExtraFlagRegistration with a Once

Change-Id: Id54111dc21eeb61b02721117123b956fcc3b47fd
cmdmain: set flagset output to cmdmain.Stderr

Default flag output only goes to cmdmain.Stderr when >= Go 1.2

Change-Id: Id2358b4c22b76901ceb834695d54e32f7c2d7013
camput: set os.Args from env.Run.args before test's cmdmain.Main runs

Not required now, but will be for future tests.

Change-Id: I50c469d4f4fa589494036f306c25fe60914fb902
camput: move debug flag registration to its own func, for use by tests later.

Also, don't call TransportForConfig on client when we're in blobdir mode.
Avoids a warning.

Change-Id: I5d618b7ab7d701b4c9d9086c8adedef7b447f62b
pkg/tests: Warn about deprecation of asserts.* functions in pkg description.

Change-Id: I39e158a92a6f4fa6f3f93551985d9d20ad40c98f
camput: don't show HTTP req stats when not using HTTP

Change-Id: I4d0c0dc44de84fe62f3ee2385bcd3875eb27be97
camput: configurable timeout on env

Change-Id: Iffd0b404e48e4fd5235c22bdd00ad22c564fb0a0
camput: add a var for uploadWorkers

Change-Id: I529336ece16a35e25c33960589f706ebf8b2c5ec
camput: start of a deadlock test

Currently disabled until it's working reliably. See comments in code.

Much of this is from Tamás Gulácsi in https://camlistore-review.googlesource.com/#/c/2128/

Change-Id: I2fe2abfdee98584c698a2ac52202f13dda9beef2
Merge branch 'master' of https://camlistore.googlesource.com/camlistore