Commit Graph

98 Commits

Author SHA1 Message Date
mpl 96f0e39700 third_party/mgo: updated to rev 253
Change-Id: I995db6e123b1ef3d6061774aa333c7dbe645a744
2013-12-13 00:51:30 +01:00
Brad Fitzpatrick 1641307a6b Import github.com/gorilla/websocket into third_party at its 2119675aadf
Change-Id: Id3d62b16d3c0186295559205b86c40b95881d0d0
2013-12-07 19:18:15 -08:00
Brad Fitzpatrick 5709ab501f Import lldb panic fix from upstream
Cherry-pick of fix from bb1bc282aa

Fixes https://code.google.com/p/camlistore/issues/detail?id=233

Change-Id: I2779fc719e3ed23e334e084a18b8320610ec2ec3
2013-12-05 16:33:25 +04:00
Brad Fitzpatrick 09dddbc63a go-sqlite3: temporary manual fix until we update from upstream
Change-Id: Icacb6f467b6c4058bcfc65e71d5ff8265cdc6c9f
2013-12-04 14:14:22 +01:00
Bill Thiede 80234700b2 Import github.com/golang/glog into third_party.
Revision imported:

    commit 20cea4dfef0c0151bba0422a6244cc1d3e8292b1
    Author: David Symonds <dsymonds@golang.org>
    Date:   Wed Oct 9 08:22:02 2013 +1100

        Create a relative symlink for log files.

        This matches what C++ does in practice, and permits this code to work
        if -log_dir is a relative path.

Change-Id: Ifb81ae766ed5ab58fd45d3c7f485a065b01ec162
2013-11-25 13:15:15 -08:00
Aaron Boodman 9ae23e52b0 Rearrange the Flickr importer to use OAuth instead of Flickr's custom importer.
Change-Id: I8284431fa6572a08d3c7ff0d0e655297627a4eda
2013-11-16 22:30:21 -08:00
mpl fcb2d001bd third_party/goexif: fix shadowed err bug
Change-Id: Idf3c6669f7784958e24f82839cbe315492fbf24a
2013-11-08 01:21:15 +01:00
Bill Thiede ce2376d176 github.com/nf/cr2: import tests from upstream.
commit f06bdf9a8450aebe6dcf08ac52a647bcfffb8b6f
Author: Bill Thiede <git@xinu.tv>
Date:   Sat Oct 12 19:16:59 2013 -0700

    Add license header.

commit 565eba79fa95609ee512af90aa503ce6c87d101a
Author: Bill Thiede <git@xinu.tv>
Date:   Sat Oct 12 18:59:58 2013 -0700

    Add testing for CR2 files from other cameras.

Change-Id: I7decaf56e8c3fef882f303f1d8623f816ec3853a
2013-11-01 20:31:56 -07:00
Mathieu Lonjaret c16ada0121 Merge "goexif: merge upstream and document process." 2013-10-22 21:05:27 +00:00
Brad Fitzpatrick 3f9887011f third_party/lldb: cherry-pick fix from 44f1cc3f1e
Update camlistore.org/issue/233

Change-Id: I4bd342a295aa6b8943ad7ff664007dad9ab6b904
2013-10-20 10:41:27 -07:00
Bill Thiede 346ac03cd1 goexif: merge upstream and document process.
This commit contains changes following the process documented in the new file
README.camlistore.  Because we've used such and ad-hoc process managing this
directory in the past, we will need a followup commit that manually merges
changes that failed during 'git am'.

This change passes 'make presubmit' and a quick examination by running 'devcam
server' 'devcam put'ing some CR2 files and visiting /ui/.

camlistored logs some messages like:
	2013/10/13 13:55:11 filename "RAW_CANON_50D.CR2" exif = 2008-09-17 15:13:40 +0000 UTC, <nil>
	2013/10/13 13:55:11 filename "RAW_CANON_5DMARK2_PREPROD.CR2" exif = 2008-10-29 20:05:00 +0000 UTC, <nil>

And thumbnails are properly rotated in the web ui.

commit 6034d9ed8d1fd31a8b7e80ffe4acc2c47b3ffd25
Author: Bill Thiede <git@xinu.tv>
Date:   Sun Sep 15 15:10:39 2013 -0700

    Add support for TIFF based images, like CR2.

    This adds detection for TIFF images and skips the steps of removing JPEG and
    EXIF headers from the data before calling tiff.Decode.

commit 2cc61b08a74f782b8665442ee5977649d3109971
Author: mewmew <random0x00@gmail.com>
Date:   Sat Jan 26 22:38:20 2013 +0100

    tiff: Fix bug in convertVals, where floatVals was allocated more than once.

commit 8206b5bee50e1d6d7e3b6b385e4ef0ef6e029137
Author: Robert Carlsen <rwcarlsen@gmail.com>
Date:   Wed Jan 23 15:08:48 2013 -0600

    vetted fix from Fatal to Fatalf

commit 4347b209f9f0396dd2cca9dbf25cb7f519148ec4
Author: Robert Carlsen <rwcarlsen@gmail.com>
Date:   Thu Jan 10 20:07:05 2013 -0600

    analytics

Change-Id: If13a7dbacd35ee2a49315bacf2d7cfc7795c0cc2
2013-10-13 13:48:30 -07:00
mpl 5ce37244f5 zappy: make it pure Go so it builds on windows
Change-Id: I46c3c74db668b988c295ec3342d1b876f2b63e79
2013-09-20 19:21:55 +02:00
Brad Fitzpatrick 00115d2bcc Merge "support thumbnailing or CR2 files" 2013-09-10 18:24:16 +00:00
Brad Fitzpatrick 08fea5ab9b Update cznic/exp/lldb to 9825efece0 (Fixes Camlistore Issue 216) 2013-09-09 15:42:12 -07:00
Andrew Gerrand 7b60af2ac4 support thumbnailing or CR2 files
Change-Id: I76f102a8cd4283f6fcb54985c52a16ddb8f6a44f
2013-09-09 23:49:07 +10:00
Brad Fitzpatrick 3030e55db3 Merge "Basic code to index id3 (and other audio) tags." 2013-09-02 19:26:34 +00:00
Hunter Freyer 6940b3991f Basic code to index id3 (and other audio) tags.
Does a few things:

1) Adds gotaglib to third_party. If you'd like to review that, feel
free, though there's a bit of organization I'd like to do first.

2) Adds an "audioTag" key type.

3) Indexes wholerefs by various audio tags. Doesn't yet add a map from
wholeref to tags, but I can add that next.

Change-Id: I8e2a5bc27260086bad3351ac57973d1ac23cff44
2013-09-02 14:39:51 -04:00
mpl 2c54e30441 kv and deps: update to fix read problem on windows
github.com/cznic/kv rev: c966980e3e8456175d4407fcbb0287057d9d0862

http://camlistore.org/issue/214

Change-Id: I15d658710059c823b775db6cc6fa14c1a32b98fb
2013-08-29 20:25:42 +02:00
Brad Fitzpatrick 3c3009a270 lock: fix Windows build
Change-Id: I1bf2552ca138e57217f81bf452ffdb8071596e99
2013-08-28 12:22:01 -07:00
Brad Fitzpatrick 8b98a03709 Delete fcntl lock file on Unlock; merge common code.
(upstream: 1f0f047)

Change-Id: I731a3c4af2d9fed7795ec52c42fb6ada00a04c60
2013-08-26 21:03:00 -05:00
Brad Fitzpatrick ec5e56a578 Handle stale locks. (0b2efbb556 from github.com/camlistore/lock)
Change-Id: I31879f4f98c8a8dcc55734d35842009c2158a8e6
2013-08-26 09:06:55 -05:00
Brad Fitzpatrick c55bf01f84 Move osutil.Lock to its own package
Now in a small repo at github.com/camlistore/lock and brought into our third_party.

Change-Id: I966ca6126dde8b7c2e03f0d9fab1e36abd66c2ef
2013-08-25 19:53:01 -05:00
Brad Fitzpatrick 496b3d091f kv: import c721b822b5
Change-Id: Iff228f076abd5deacab1f8771edc9d87221a4dcc
2013-08-25 14:11:10 -05:00
Brad Fitzpatrick e9d5346eb2 Update github.com/cznic/kv to github.com/camlistore/kv fork at c7613936816
(Let lock function be pluggable.)

Change-Id: I3bd33527ab52a020d152262aeb19c8c87ac45409
2013-08-25 12:30:09 -05:00
Brad Fitzpatrick db18ff8a60 Fix Windows build.
Change-Id: I7c42165ac632a63e18d1cf6eea844b0025a4060d
2013-08-23 18:05:33 -05:00
Bill Thiede 80dfa10a62 github.com/cznic/fileutil: fix FreeBSD build.
Fixes build broken in
https://camlistore.org/gw/01ce3859291e9e012b497af13a4c2dd82d2d1d4f

Change-Id: Ieede30ab41c6896f0b9964895ca7237fa6c34b5a
2013-08-23 09:47:08 -07:00
Brad Fitzpatrick 01ce385929 Import github.com/cznic/kv to third_party at commit 65538fcfac3fcb64c15964827dfb7eb8634b3997
Change-Id: I89c53724978695cfe5457ee20aca482d8830fa00
2013-08-22 15:38:24 -05:00
mpl 071525e06c google drive: fix import example to shut rewrite-imports.sh up
Change-Id: Id699b35e9beb99f2ba84a1e427a04c892a5e7b73
2013-08-19 17:33:59 +02:00
Burcu Dogan 6e6e910af1 Adding Google Drive as a storage backend experimentally. No cheap-enough way
of enumerating Drive files, needs to be fixed once Drive supports
range queries. Allows you to sync to /sto-googledrive/, but not from.

Change-Id: I6ac5ef02c5f51a6abdab5c207a3a5693c6bb8581
2013-08-17 15:30:02 +02:00
Brad Fitzpatrick 02a95a503d goexif: fix crash observed in the wild.
Reported by ajft@ajft.org

Change-Id: I4d4ddc998bb07f75d484341b8e423151d6c1aaa0
2013-08-05 07:51:53 -07:00
Brad Fitzpatrick 40b70311d2 fuse: maybe handle opFsyncdir.
Change-Id: I899a2bd07aa60be38e10f062f3607fa9c07ac3c9
2013-07-20 22:40:19 -07:00
mpl 6c4dc821fa update closure library: automatically generate the list of required files
Also updated parseProvidesRequires to use a bufio.Scanner

http://camlistore.org/issue/149

Change-Id: I13df7f03e3482b77e71687adc2b71b8dd9eeb0db
2013-07-19 19:22:41 +02:00
Andrew Gerrand 16047a787f fuse: add Truncate method to Handle
Change-Id: I8aff0473356d1e0a95489ba9d3d0c4a0435b16eb
2013-07-11 16:51:14 +10:00
Brad Fitzpatrick dde968e763 Mark FUSE & pkg/fs files as Linux & Mac only, to fix FreeBSD build.
Also start of cross-compiling support in make.go.

Change-Id: Ic11ca2d433f135b07b3f6d7738eec9fe98590905
2013-07-05 10:41:07 -07:00
Josh Huckabee 65f3079498 Replace github.com/bmizerany/pq with github.com/lib/pq postgres driver.
Change-Id: If62fd5b489696171c8be6b42a988e1c7d0a634d0
2013-06-25 16:13:22 -07:00
Josh Huckabee 4c3b49b2cf Add github.com/lib/pq third party dependency.
Change-Id: I0c2240c1615b463adb57b618ca39a626e858dcc7
2013-06-25 14:58:04 -07:00
mpl b0118f15b1 closure: adding resources picked by updatelibrary
source: git rev 1389e13 on https://code.google.com/p/closure-library/

Change-Id: I7d5975c2801f24cbd368a8f048e9b073dee6d20d
2013-06-18 16:21:28 +02:00
mpl 0fc12f5eb3 Merge "updatelibrary: new command that will replace misc/get_closure.pl" 2013-06-18 12:45:31 +00:00
mpl 9fe8a4af10 updatelibrary: new command that will replace misc/get_closure.pl
This command allows to selectively download from the closure library
repository the resources (.js, .css files) that are required by
the ui.

Change-Id: Ie506fe5bf0e74215d91ffbfc30ae72321b91c6c9
2013-06-18 15:03:22 +02:00
Brad Fitzpatrick a82d394066 On Linux, don't assume fusermount is in /bin. Use PATH.
Change-Id: If6c59a3776dcc679e9fabaa989e35c8be38baa00
2013-06-17 07:43:44 -07:00
Brad Fitzpatrick 612a421df3 Add xsrftoken to third_party
Change-Id: Ic2b8baf625d6afc70fb7eb42e9434b483024c936
2013-06-11 16:04:03 +02:00
mpl 61f0d3c691 third_party: update mymysql to d9480a7740
Fixes broken build on gotip, since
https://code.google.com/p/go/source/detail?r=ea7a6c956f6a86b68d07d31b9fb923843d661aaa

Change-Id: I93d2e7eb8ec3a1502a3fb588dbcb48b43cc48daf
2013-03-19 18:56:37 +01:00
Brad Fitzpatrick ae113632d9 Update mattn go-sqlite3 to 919cf4144a09abfd877330bbe735f3a243a84537
Change-Id: I5bbb32331fe7cb33acde1d7b78f603e25256fe2b
2013-02-17 22:09:44 -08:00
Brad Fitzpatrick 2752bfa80c fuse: minimal handling of opInterrupt
Change-Id: Idd00f531fdc63d894a41103f2c25e418c397bad5
2013-02-10 19:20:58 -08:00
mpl 932c13acb7 exif: use DateTimeOriginal if present. Added test for it.
Change-Id: Idfd75b15d7302b5c3a6fbe3464917b16bce56558
2013-01-31 22:06:45 +01:00
mpl 3d128a5191 goexif: sync with upsteam
Change-Id: Idbb4a38760132b3a782d9cf3898875472411d2f0
2013-01-24 15:25:59 +01:00
Brad Fitzpatrick 81af37988e Exclude mattn/go-sqlite3 unless sqlite3 mode is wanted
Change-Id: Ib552a68cbb558457c7290b1c008403e72fbc8a36
2013-01-20 11:59:09 -08:00
mpl 77d044f4b7 schema: add FileTime to guess the file
creation time from potential file metadata.
camput: add the -exiftime option that allows
the use of the above for -filenodes and -vivify.

Fixes: http://code.google.com/p/camlistore/issues/detail?id=77

Change-Id: I05d1af3d875bb984e47e06775fd149e5ed0ed7b1
2013-01-10 17:43:05 +01:00
mpl dbc6bc6b0d goexif fixes
Change-Id: Ia7a2cca52db464d3e25aa2b8b36e86a9dc5c9d1c
2012-12-06 18:24:55 +01:00
Brad Fitzpatrick 43e240f0f6 Fix mymysql for Go 1.1; see https://code.google.com/p/go/issues/detail?id=4476
Change-Id: I6b5d66b68715f7d71ce665dbf90dfc0d4eefab5a
2012-11-30 22:09:51 -08:00