Commit Graph

4237 Commits

Author SHA1 Message Date
Brad Fitzpatrick 18daf0b601 buildinfo: add func TestingLinked
Change-Id: I664f72ec04748079929d0ad96e24b33bc14c6c77
2014-02-23 09:21:11 -08:00
Brad Fitzpatrick 70b886dd5a react: Add a better package comment
Change-Id: I427bcc0e8554323def325bf2d15707963299e45e
2014-02-23 09:08:33 -08:00
mpl 831a81f2d9 Merge "buildbot: send sigterm instead of sigkill to child" 2014-02-22 18:06:44 +00:00
Bill Thiede 58b6497b14 ui: Add QR code for configuring mobile clients.
Creates new page @ /ui/mobile.html for generating a QR code that
embeds configuration data for setting up mobile clients.

Imports code.google.com/p/rsc/{gf256,qr} version:

parent: 149:a3cbaf2339c4 tip

This addresses the server and web components of
https://camlistore.org/issue/372

Change-Id: If9239dd138707080afd7dedb5770d04893cbf0ba
2014-02-21 19:58:54 -08:00
Brad Fitzpatrick 593682dc2d New Android app uploaded to Play. Version 2 aka '0.6.1'.
Change-Id: I0f655de272e15f854a909b629b68a2dd012e36c2
2014-02-21 18:17:59 -08:00
Brad Fitzpatrick 84fa82e0d0 Add the website to the top-level Dockerfile too
Change-Id: I5c6116c629dc31db215c0ec4ffba67a45d9b8516
2014-02-21 18:17:16 -08:00
Brad Fitzpatrick ccacf76451 camput: re-enable deadlock test, now that it's fixed
And tweak limits a bit lower.

Change-Id: I7a38ffce37a997aa6ce9943e13605e76476f5646
2014-02-21 15:38:21 -08:00
Brad Fitzpatrick 735aca5825 Merge "camput: limit upload concurrency (number of goroutines)" 2014-02-21 23:35:19 +00:00
Brad Fitzpatrick 2760426f93 Merge "Getting started with 0.7 release notes." 2014-02-21 23:34:34 +00:00
Nick O'Neill 2157c76b1b Getting started with 0.7 release notes.
Change-Id: I23dae7c1219c2632d2e0a505699631058a7b4163
2014-02-21 15:16:25 -08:00
Bill Thiede b28dcbe9be make: add cammount to default targets.
Fixes default build on Linux (and probably Darwin).

Change-Id: Ice9e4cfbcde2b565c7f084c5cac57468bea08165
2014-02-21 14:30:23 -08:00
Tamás Gulácsi 89fc2bb83e camput: limit upload concurrency (number of goroutines)
Use separate workers for directory uploads.
Limit upload concurrency to 3+2+3 (normal+directories+stat)
goroutines on Android, and 10+5+10 otherwise.

Thanks to the predictably failing test (1333551)
which we can test against, we can eliminate the need for
unbounded number of upload goroutines (see ee4550b).

Change-Id: Idac4c94b7d7ec4fc6c6a77fed111e0ece0843545
2014-02-21 21:31:13 +01:00
mpl 8f2c67241f buildbot: send sigterm instead of sigkill to child
Because if e.g. 'devcam test' is the current child process, we want it to be
able to catch the signal and kill its own child too.

Change-Id: I3e3c9c10c8d7f5d793c98b604baf8df56608003e
2014-02-21 20:52:30 +01:00
Brad Fitzpatrick 14ef41c0ad Merge "make: only build binaries and their dependencies." 2014-02-21 19:32:12 +00:00
Brad Fitzpatrick 85e2e5e301 Fix crash with "go test -v -cpu=1,1 ./cmd/camput/"
Don't double-register the help flag. Only affects tests run twice, like above.

Change-Id: Ia235f2e2aa4a70e3b5a5c6fe21d8add90069664f
2014-02-21 10:59:34 -08:00
Brad Fitzpatrick 1333551de1 camput: predictably-failing disabled deadlock test
Change-Id: Ibf0877ac1b4e32ad32fe9592c487915130f9f488
2014-02-20 12:08:03 -08:00
Bill Thiede a68ee60ec0 make: only build binaries and their dependencies.
New behavior for -targets:
- Empty only builds default binaries for this requested platform.
- * builds binaries and recursively builds pkg/..., server/..., and
    third_party/... (old empty behavior).
- Or specify the packages you want to build separated by commas.

This should fix the failing build on FreeBSD.

Change-Id: I3e19fd26b7fa5526bb2139487f25a07fa01952c4
2014-02-19 21:00:21 -08:00
Brad Fitzpatrick 0f046b8a45 client: actually submit code that compiles
Change-Id: I4e3b2f786d46a524a52ce1a86d7bd5b625818527
2014-02-19 19:57:22 -08:00
Brad Fitzpatrick 76322ec428 client: don't do discovery in non-HTTP mode
Change-Id: Idcef3b58827fffe1f3df091c3e675b91d0ed8960
2014-02-19 19:50:19 -08:00
mpl 513a45eb06 Merge "buildbot: add timeout for task run" 2014-02-19 17:52:07 +00:00
mpl e004ef414b buildbot: add timeout for task run
Change-Id: I49594d7d9aaa20d94213033d41e055c64e3da30c
2014-02-19 16:30:04 +01:00
Brad Fitzpatrick 74e1e5c4cf Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-02-19 00:07:39 -08:00
Brad Fitzpatrick dfd94e505d 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
2014-02-19 00:07:28 -08:00
Brad Fitzpatrick 77a34e060c camput: add a var for uploadWorkers
Change-Id: I529336ece16a35e25c33960589f706ebf8b2c5ec
2014-02-18 23:59:44 -08:00
Brad Fitzpatrick b023265043 camput: configurable timeout on env
Change-Id: Iffd0b404e48e4fd5235c22bdd00ad22c564fb0a0
2014-02-18 23:58:09 -08:00
Brad Fitzpatrick 685b44cd43 camput: don't show HTTP req stats when not using HTTP
Change-Id: I4d0c0dc44de84fe62f3ee2385bcd3875eb27be97
2014-02-18 23:56:22 -08:00
Brian Gitonga Marete ccc81242a1 pkg/tests: Warn about deprecation of asserts.* functions in pkg description.
Change-Id: I39e158a92a6f4fa6f3f93551985d9d20ad40c98f
2014-02-19 10:42:29 +03:00
Brad Fitzpatrick 53ec1b496c 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
2014-02-18 21:24:52 -08:00
Brad Fitzpatrick 1509f266be 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
2014-02-18 18:47:11 -08:00
Brad Fitzpatrick 16219f24b0 cmdmain: set flagset output to cmdmain.Stderr
Default flag output only goes to cmdmain.Stderr when >= Go 1.2

Change-Id: Id2358b4c22b76901ceb834695d54e32f7c2d7013
2014-02-18 18:41:51 -08:00
Brad Fitzpatrick f99eaf5e36 cmdmain: guard ExtraFlagRegistration with a Once
Change-Id: Id54111dc21eeb61b02721117123b956fcc3b47fd
2014-02-18 00:31:10 -08:00
Aaron Boodman a41cc2bab1 Merge "Fix choppy scrolling when flinging on OS X." 2014-02-18 07:12:08 +00:00
Aaron Boodman 930e3bee64 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
2014-02-17 23:08:22 -08:00
Brad Fitzpatrick 4a59155890 Merge "fs: clean up mountpoints after tests" 2014-02-18 04:41:46 +00:00
mpl 2194134b70 fs: clean up mountpoints after tests
Otherwise they tend to annoyingly accumulate on long-lived hosts (such
as the  buildbot).

Change-Id: I41eb90423c1f98d8481fb3308c2cdcb74fc86ddd
2014-02-17 23:31:19 +01:00
Aaron Boodman 5b811fa1b1 Actually turn Closure's DEBUG flag off. This was backwards in 17e3799cda.
Change-Id: I6228ef77bdbe82ad77fa5d60c853df02820d23c1
2014-02-17 10:58:44 -08:00
Aaron Boodman e19a3d150c Merge "Turn Closure's DEBUG flag off." 2014-02-15 03:20:59 +00:00
Aaron Boodman 17e3799cda 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
2014-02-14 19:18:54 -08:00
Dustin Sallings 5d9931cb15 osx: Describe how to make a .dmg from BUILDING
Change-Id: I4c2bcc3709d2121ab092b438991cc995fd7192f8
2014-02-13 14:21:52 -08:00
Nick O'Neill 15b0307864 Merge "Improvements in storage and caching for ios" 2014-02-12 21:07:31 +00:00
Brad Fitzpatrick 53d4f856a9 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-02-11 19:25:01 -08:00
Brad Fitzpatrick a199802898 camtool: document reindex-diskpacked better
Change-Id: Ib2f669ddf4fa493572a811b0564f104fbaeea05a
2014-02-11 19:24:08 -08:00
Aaron Boodman cd7aedf8c4 Merge "Fix regression in navigation to non-image file." 2014-02-11 14:41:50 +00:00
Aaron Boodman 64f1d810b8 Fix regression in navigation to non-image file.
Before the initial click would yield an empty page, and you'd have
to refresh to see anything.

Change-Id: Ic26915aa26e4d9285e72ae7fa856283ee6790922
2014-02-11 06:39:30 -08:00
Brad Fitzpatrick ef121a2b62 Merge "remove redundant return statement" 2014-02-11 01:25:52 +00:00
Brad Fitzpatrick a0567381ca Merge "add devcam server -fullindex flag" 2014-02-11 01:25:33 +00:00
Brad Fitzpatrick 95e0f172e0 Rename serverconfig*.go to serverinit*.go
Change-Id: I198d8d17ed32202f8a014af645a006613246db85
2014-02-10 17:00:11 -08:00
Brad Fitzpatrick 3cc79570e8 serverinit: TODO stub for websocket support
Change-Id: Id195830adcdebb009ac2ed8e94c1a5287798f8fa
2014-02-10 16:59:28 -08:00
Brad Fitzpatrick 79cb116dbb Merge "pkg/types/serverconfig: json-tagged struct" 2014-02-11 00:56:11 +00:00
Andrew Gerrand 0a1fe281ca remove redundant return statement
Change-Id: I09f61e61c0aa2c0ecaec04eb7541374a3265879e
2014-02-11 10:50:30 +11:00