Commit Graph

4205 Commits

Author SHA1 Message Date
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
Andrew Gerrand d136d91000 add devcam server -fullindex flag
Change-Id: I5ef7968d122c9a64665ab70a5f9571f6e3147836
2014-02-11 10:37:41 +11:00
mpl 6707837806 pkg/types/serverconfig: json-tagged struct
Also changed the TLS/HTTPS config keys for consistency.

http://camlistore.org/issue/339

Change-Id: I704ec129f91b93ebb20bc1191816166a2f10692d
2014-02-10 21:49:11 +01:00
mpl aa96868be9 contributors: fixed my website routing after some shaming...
Change-Id: I63fe239e57b218902c05c889bb2cb9d2d4bb4ecb
2014-02-10 17:38:35 +01:00
Brad Fitzpatrick 3c00ed347c mongo: test using Docker
Under a second to start and test against a real MongoDB instace in Docker:

$ go test -v camlistore.org/pkg/sorted/mongo
=== RUN TestMongoKV
--- PASS: TestMongoKV (0.79 seconds)
PASS
ok      camlistore.org/pkg/sorted/mongo 0.791s

Test is skipped in short mode, or if docker isn't available.

Change-Id: I6f3acc96357cf9c50054b3df6727661c9329e6bf
2014-02-09 20:02:56 -08:00
Brad Fitzpatrick dd03756f07 netutil: add little AwaitReachable func
Change-Id: I52af3add776cd57ca91c073e0ec563c50923d40f
2014-02-09 19:55:36 -08:00
Brad Fitzpatrick b708fd1d87 Dockerfile: set bradfitz and /home/bradfitz
Change-Id: I3803af066cfdbae6d8ddc5790c1a6d37cf12be85
2014-02-09 18:01:25 -08:00
Brad Fitzpatrick abcea5421c Merge "third_party,jsonsign: bump openpgp to 188:61c59dda830a" 2014-02-09 23:49:46 +00:00
Brad Fitzpatrick 9a3a3795bb camtool: remove TODO
Change-Id: I3d9ac173335bd68b66bd8dfb5e0e40894aef3f79
2014-02-09 15:49:24 -08:00
Brad Fitzpatrick ca58231336 camtool: remove duplicated code
Change-Id: I2009b132a1c10e60132333b9942aa4b5943b3932
2014-02-09 15:48:07 -08:00
Brad Fitzpatrick f4bbeb3549 cmdmain: remove spurious newlines from commands with no examples
Change-Id: I0cae9dd4a822fb94e3ecdff7dc257bd3804fdd04
2014-02-09 15:41:52 -08:00
Brad Fitzpatrick 16b4d5c7e3 camtool: add discovery subcommand
Change-Id: Ic4cbc2777719301d3e4f3cdb0b14c10be6f64b3e
2014-02-09 15:16:47 -08:00
Brad Fitzpatrick 96194e451b Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-02-09 14:28:18 -08:00
Brad Fitzpatrick 991a576ce3 Basic Dockerfile for building everything.
Change-Id: I4e00c9fefc472c10e1103c25884dcef4ff7b4664
2014-02-09 14:28:05 -08:00
mpl dc6b0d73e1 Merge "jsonsign: clean up remnants of old secret ring default" 2014-02-09 21:17:45 +00:00
Brad Fitzpatrick 1894d4ef47 doc: minor json-signing fixes
From c6afc5ebe6 and related

Change-Id: I8c9308563c03bde19db4567ebe9c5f1b381c788a
2014-02-09 10:02:30 -08:00
Brad Fitzpatrick fa672061e0 Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-02-09 08:07:09 -08:00
Brad Fitzpatrick d92010ae9c blobserver/s3: add manual test
Change-Id: I5854aecdb3e4d9e03a7cf56dc7901dc859821a46
2014-02-09 08:06:56 -08:00
Brad Fitzpatrick 5198699e26 Merge "Bump is:pano threshold to 2.0." 2014-02-09 04:25:44 +00:00
Brad Fitzpatrick f1a6c8a857 Comment clarification
Change-Id: I3f00050822bf0f05bdce2ca58a2ee22113dfdc09
2014-02-08 17:15:09 -08:00
Brad Fitzpatrick e364a6da4b Remove unneeded stuff from camlistore/android
Change-Id: I397ba4bbd6567b1ce54fcab54162b6b1a1508008
2014-02-08 17:14:02 -08:00
Brad Fitzpatrick 1e56abec90 Android: build in Docker, part 2. Build the Go binary child process too.
Now uploaded to the Google Play App Store Market.

Change-Id: I05f94eaf3ba70d694c593a892c15280364acf4ee
2014-02-08 17:10:02 -08:00
Brad Fitzpatrick 16ca0c78ad Merge branch 'master' of https://camlistore.googlesource.com/camlistore 2014-02-08 16:43:26 -08:00
Brad Fitzpatrick 283aa2a03a Fix build on 32-bit platforms (e.g. Android)
Change-Id: Id5feff31ed103aeaaebf9b3e09a5e8a03b572a2d
2014-02-08 16:43:21 -08:00
mpl c4f3a5b215 third_party,jsonsign: bump openpgp to 188:61c59dda830a
http://camlistore.org/issue/370

Change-Id: I0066b1ad1455ff7960bda1f64ee953daa1195e1c
2014-02-09 01:04:36 +01:00
Aaron Boodman 5a1e831a7b Bump is:pano threshold to 2.0.
Previous value of 1.6 was too small because iPhone 5's aspect ratio
is 1.78, meaning all landscape iPhone 5 photos were included in
is:pano. Same with Moto-X and probably other newer phones.

I tried 1.8, but it still "felt" too small. I think the correct
value is atleast 2.0, but perhaps larger. I don't have enough test
data in that range right now to get a good feel for it.

Change-Id: I6a3e054290d6f434afac8142a9abc68e53008229
2014-02-08 15:48:29 -08:00
Aaron Boodman 4229b286dc Merge "Improve layout on mobile." 2014-02-08 23:48:17 +00:00
Aaron Boodman f36bbe54aa Improve layout on mobile.
There is still a lot of work to do on mobile, but this makes it
slightly better. Increases the default scale to something sane.
Fix the bug where we don't layout using entire width.

window.outerWidth is somehow completely busted on mobile.

Change-Id: Id574d6ee14ba59f6e835725d378f228796ff7ccf
2014-02-08 15:47:19 -08:00
mpl 5a29733d3c jsonsign: clean up remnants of old secret ring default
http://camlistore.org/issue/368

Change-Id: I2708a97fdffd218f15ed9a1d482712ed7ed07197
2014-02-09 00:15:37 +01:00
Brad Fitzpatrick c5c6fe1adc android: support for building with Docker
Change-Id: I0da100b62354ca1bda325f47397e4446deb1acec
2014-02-08 13:58:20 -08:00
Brad Fitzpatrick 1b53c6d851 appengine: remove unused dummyCloser
Change-Id: I0ac0dafe5d3a2639810f2951daeb5c6176cc5863
2014-02-08 09:25:59 -08:00
Brad Fitzpatrick 60d8bb3a2d appengine: fix build. Use uint32 instead of int64 for blob sizes.
Change-Id: I1952e291b8d86dfaed8310bd5812688849225435
2014-02-08 09:25:21 -08:00
Tamás Gulácsi 97520583b8 Use 'uint32' instead of 'int64' for blob sizes everywhere.
Not just in blob.SizedRef, but in blobserver.Fetch and
blobserver.FetchStreaming, too.
Blobs have a max size of 10-32 MB anyway, and the index.Corpus is now using
uint32 to save memory.

Change-Id: I1172445c2f9463fdaee55bfe0f1218d44be4aa53
2014-02-08 17:58:12 +01:00