Commit Graph

218 Commits

Author SHA1 Message Date
mpl 74aa3fa163 vendor: go4.org/lock
imported at rev 96a2350179b917865057073eb6dd6e4488913ba2

Change-Id: Icae1af8b0e78779e9b462f71abf779387ab695b9
2016-01-20 17:22:59 +01:00
mpl 6af01f6c71 vendor: move pkg/images dependencies from third_party
This change is in anticipation of moving pkg/images to go4.org, where it
should not depend on packages in third_party.

So:
third_party/github.com/nf/cr2 -> vendor/github.com/nf/cr2
third_party/github.com/rwcarlsen/goexif -> vendor/github.com/rwcarlsen/goexif
third_party/golang.org/x/image/tiff -> vendor/golang.org/x/image/tiff

Note that third_party/go/pkg/image/jpeg was also a dependency of
pkg/images. We had vendored image/jpeg from tip at the time because it
offered advantages over the version from Go1.3
(https://github.com/camlistore/camlistore/issues/463).
Since we now depend on Go1.5, we can go back to depend on the stdlib
version, so we simply remove third_party/go/pkg/image/jpeg and adjust
the imports accordingly.

Change-Id: Ifc8ffae0551102e644a0a0c67f3ff89e04df15c7
2015-12-18 22:15:33 +01:00
mpl a7ccb62bf6 vendor: mv github.com/hjfreyer/taglib-go from third_party
Also bump it at 0ef8bba9c41b66c12f60ce9833786838d2c2d3d8 to fix panic

Fixes #647

Change-Id: Ic348ef6a19446de6a027d93aab748224b5f46a1d
2015-10-27 23:18:07 +01:00
Brad Fitzpatrick 5744b598d4 vendor: update Google Cloud Logging, gocloud, add grpc, move http2, etc
I just wanted to update the Google Cloud Logging code (still in review
at: https://code-review.googlesource.com/#/c/2650/) but that required
updating tons of things. For instance, gocloud now always depends on
grpc, which depends on http2, which we already had in third_party, so
that now moves into vendor.

I was unable to run the tests because of some error. The error message
was useless.

But "go run make.go" compiles everything at least.
2015-09-22 14:48:04 +02:00
mpl 328ec25f9c third_party: no more import path rewriting because Go 1.5
We don't rewrite import paths anymore, because we use the new vendor
mechanism that comes with Go 1.5.

Also remove misc/pre-commit.githook because of the above, and because
the rest is covered by devcam hook.

Change-Id: Iafb32e19b21d1df44b9625a5f58bf898e6b51fa8
2015-09-16 22:22:51 +02:00
Brad Fitzpatrick 6f58fc2426 Fix build, move more stuff from third_party to vendor. 2015-08-18 10:19:49 +02:00
Brad Fitzpatrick 06f7accf31 Require Go 1.5 (due out soon), start move from third_party to vendor.
See https://golang.org/s/go15vendor

This commit moves the google.golang.org/cloud/... packages. The rest
of third_party will move later.

This commit is a dependency for some cloud logging work which we'll
develop in Camlistore's tree.
2015-08-15 22:45:11 +02:00
Will Norris 6c231339dc add blackfriday and deps to third_party
russross/blackfriday (BSD license, version 8cec3a8) parses and converts
markdown to HMTL.

shurcooL/sanitized_anchor_name (MIT license, version 11a20b7) generates
anchor names for HTML headings.

Change-Id: I475ec76a1a252354071abfbe2d9c97b234144b3e
2015-07-23 14:57:04 -07:00
Tamás Gulácsi 39f816d3f2 golang.org/x/net/webdav: update
commit 34ff4cd5e6de00702100a0ab3bb73de8de5ab35d

webdav: make it work for Mini-Redirector, emit namespace-prefixed XML.

by Mathieu Lonjaret.

Change-Id: Id599fc4fe5064631fe01e59117eb98abdb85ad5f
2015-06-23 12:14:34 +02:00
Tamás Gulácsi 6c2e973b61 Upgrade golang.org/x/net/webdav
Commit dfe268fd2bb5c793f4c083803609fce9806c6f80

Upgrade suggested by Robert Stepanek.

Change-Id: Iaf12e4d8a2fe376187bf6fa8dec8ace83384c8d3
2015-06-05 09:35:28 +02:00
Felix Geller 3a2ea94c13 Updates github.com/rwcarlsen/goexif to 709fab3
source: https://github.com/rwcarlsen/goexif/commit/709fab3

Removes some more sample files and test files that fail
without sample files.

Change-Id: I38f91ade479a929805b6d40d98f1643ad45e707d
2015-05-25 07:51:53 +12:00
Tamás Gulácsi 6bc123758e third_party: upgrade golang.org/x/net/webdav
rev a8c61998a557a37435f719980da368469c10bfed
"Add PROPPATCH support to in-memory property system."

Change-Id: I547344bdcc946e138ad15fedb9b8edc0446e26a6
2015-05-12 21:32:33 +02:00
Brad Fitzpatrick 99aebc3037 third_party: update cloud logging API w/ generator updates
Update to rev be882d4ca533 of the google-api-go-client generated code.

Upstream CL is: https://code-review.googlesource.com/#/c/2461/

This lets the logging code log JSON payloads as well.

Change-Id: Iaba12126291aef3665f77dcc8e157d6166f33228
2015-05-11 12:43:29 -07:00
Felix Geller 3b5b5495f9 Adds golang.org/x/image version 76b4869e5a for decoding tiff
source: https://github.com/golang/image/commit/76b4869e5a

Change-Id: I098f1cdc512c1fd15737867acab7630953ec56ea
2015-04-27 21:02:17 +12:00
Brad Fitzpatrick a185f20f49 Merge "Upgrade github.com/syndtr/goleveldb" 2015-04-23 02:50:36 +00:00
Tamás Gulácsi 325dfc60b9 Upgrade golang.org/x/net/webdav
Commit 4977ec316d25d824a5da6df00ef57ae03833166c

For the needed fixes which allows us to reimplement camwebdav based on
this code (see later CL).

Change-Id: I9416ec817988b5975c2793197be52d84891d279e
2015-04-22 22:57:07 +02:00
Tamás Gulácsi a9a7cd73fc Upgrade github.com/syndtr/goleveldb
Commit 4875955338b0a434238a31165cb87255ab6e9e4a

Because camlistored ate my CPU time (constant 170% from 2 cpu, GOMAXPROCS=1):

(pprof) top10
36 of 40 total (90.00%)
Showing top 10 nodes out of 75 (cum >= 3)
      flat  flat%   sum%        cum   cum%
         1  2.50%  2.50%         40   100%  runtime.goexit
        35 87.50% 90.00%         35 87.50%  runtime.gopark
         0     0% 90.00%         21 52.50%  runtime.selectgo
         0     0% 90.00%         21 52.50%  runtime.selectgoImpl
         0     0% 90.00%          9 22.50%  runtime.goparkunlock
         0     0% 90.00%          5 12.50%  runtime.chanrecv
         0     0% 90.00%          3  7.50%  camlistore.org/third_party/github.com/syndtr/goleveldb/leveldb.(*DB).compactionError
         0     0% 90.00%          3  7.50%  camlistore.org/third_party/github.com/syndtr/goleveldb/leveldb.(*DB).jWriter
         0     0% 90.00%          3  7.50%  camlistore.org/third_party/github.com/syndtr/goleveldb/leveldb.(*DB).mCompaction
         0     0% 90.00%          3  7.50%  camlistore.org/third_party/github.com/syndtr/goleveldb/leveldb.(*DB).mpoolDrain

Change-Id: I792840b32bcb04d304621e61fca87aeb30f21b91
2015-04-22 22:48:16 +02:00
mpl 529dca734a third_party: add google cloud logging
upstream rev: b80bb08538855e6efebabd0df2dc2d8cf46cc2db

Also update googleapi to same revision (because UserAgent needed).
And in turn drive and storage updates are needed too so doing them in
the same commit.

Change-Id: I126dfd1cdaaca80a57e3582a90d45b47495ee687
2015-04-20 19:08:38 +02:00
Tamás Gulácsi 892d6abfe0 Import golang.org/x/net/webdav
Commit 84ba27dd5b2d8135e9da1395277f2c9333a2ffda

Change-Id: I7cac1da70d8f4e5a4aa89d49957c2e220dd4c915
2015-04-11 18:25:53 +02:00
Brad Fitzpatrick 774d85733d third_party: update google.golang.org/cloud/storage
To approximately f20d6dcccb4, with tests removed. And didn't update cloud/internal
stuff.

Change-Id: Ia4eb365a3e6d389585a9c9f6ed7cde44471ed26e
2015-04-02 05:15:18 -07:00
Brad Fitzpatrick c9a0beae45 Add new 'env' package to detect the type of environment.
Also, delete my old gce package from third_party and only use the
google metadata package (which my gce package became, and which was
also already vendored into third_party)

Fixes #596

Change-Id: I64fd6f1e9dc6f433466f91f81efd2ecbf039334f
2015-04-01 08:45:36 -07:00
Brad Fitzpatrick e72ebe82f6 third_party: update oauth2 to 3046bc76d, but without tests
Change-Id: I2c23d2ee93a3839690d9a8d86f4fef8953280e31
2015-04-01 08:37:08 -07:00
Brad Fitzpatrick 20b249372c third_party: update github.com/bradfitz/http2 to 13dfd8
From 13dfd8: 'Advertise 'h2' protocol, now that HTTP/2 is final.
We still advertise h2-14 too for a bit.'

Change-Id: Ic784937bf43c132c8a9259c50933839bedaef81a
2015-03-31 22:33:05 +02:00
mpl 6c2c581179 third_party/goexif: update to 07696a806c8bc37bcff4af76fbc3f9e44a6941fc
fixes OOM errors, as reported in  #414

Thanks to @hullerob for the heads up.

Also remove the test files because most of the tests are useless
without the sample data, which we don't ship.

Change-Id: Ia56b0184111d32a3c089785bf42cebb9b47af406
2015-03-30 17:04:44 +02:00
Andrew Gerrand 5c93570a52 oauth2: update to latest version (rev 96e89be)
Also remove all tests and testdata; they add nothing.

Change-Id: I2c09c40dc15c1ba63bdff1e57e8d0c2704024c10
2015-03-06 10:14:58 +11:00
Salmān Aljammāz 24aa482d97 Fix file embedding I broke with previous commit
oops. http://i.imgur.com/lV8VNe0.jpg

Change-Id: I369b786ff307ef4e3127a1a01e373d9ea6089fa7
2015-01-31 11:44:11 +01:00
Salmān Aljammāz 76356b5a59 various trivial doc fixes
mostly package doc comments.

Change-Id: Iaec3215fc2c24862018ac3a47c276eccfed848c4
2015-01-30 07:45:21 +03:00
mpl f23c4b5b02 third_party/google.golang.org/api/storage: update to fix upload breakage
@ rev 3f7dcd0e7a9cbcc8199def5ec2b0be34261ff67c

Change-Id: Ibbcd8913815eb67c15bb2739180322d41e601475
2015-01-23 20:17:35 +01:00
Brad Fitzpatrick aada432c52 third_party: add oauth2/google, google.golang.org/cloud, google.golang.org/api
oauth2 at 267028f9bc2a1177dc5769be38c68c1b4fbe91c4
google cloud at 2e43671e4ad874a7bca65746ff3edb38e6e93762
google api at fc402b0d6f2a46ba7dcf0a4606031f45fb82a728
  (partial commit only, since it's 16+ MB)

And update all callers from the old
code.google.com/p/google-api-go-client over to google.golang.org/api.

Change-Id: Ide190e04bb863928f98369a7c4d2b8c19fda1f66
2015-01-22 15:10:36 -08:00
Brad Fitzpatrick 5f041a3b6a Update github.com/bradfitz/http2 to f0f7876b264 in third_party.
Includes:

commit f0f7876b264515bf0c86c37d78ab558d939b82b0
Author: Brad Fitzpatrick <brad@danga.com>
Date:   Sat Jan 17 12:25:12 2015 -0800

    Don't enforce SNI for now.

    It was causing problems in development.

commit 36f7934bd38f22905a9eba016885fe04856ca4d1
Author: Brad Fitzpatrick <brad@danga.com>
Date:   Sat Jan 17 12:24:34 2015 -0800

    Be more verbose when rejecting connections; including which bogus ciphersuite.

commit 76847809286eae2e2f066cd3f88c8bc960a08dbd
Author: Brad Fitzpatrick <brad@danga.com>
Date:   Sat Jan 17 12:23:24 2015 -0800

    In curl integration test, include output along with non-zero exit status in failure message.

    Change-Id: I5bc392586ba54fc83bc5e54b7b4c27ef25530e4c

commit af958b3ad4d6dd0ffe9599ea2351653ed45c2fe5
Author: Brad Fitzpatrick <brad@danga.com>
Date:   Sat Jan 17 12:21:49 2015 -0800

    Update curl in integration test Dockerfile to 7.40.0

    And pin the nghttp2 version, and to something more modern.

    Change-Id: Ie631b519b9ec9278b521598353730d1cfd4f8976

Change-Id: I2ec8bc049e27e63dce07cabe3529f96123181e40
2015-01-17 13:00:15 -08:00
mpl a27306d74a third_party/github.com/bradfitz/http2: update to 7882a790a7e1a06d865147c791cbf1ac8dc197c5
issue #533

Change-Id: Id3e32e60565502c77c63a13821cd1084198d1617
2015-01-13 15:02:48 +01:00
mpl 1a286f919f pkg/deploy/gce: revert to hardcoded google endpoints for oauth2
google.Endpoint is the only thing we were using from
third_party/golang.org/x/oauth2/google
And pkg google would in turn bring in lots of dependencies (that I had
forgotten in 22f45f14a5).
Replacing Endpoint with the hardcoded values hence allows us to not
vendor in all those dependencies.

Also fix make.go to build camdeploy as well.

Change-Id: I6ba51991187a11705c97c9546848303540f99aa1
2015-01-13 01:28:09 +01:00
mpl 22f45f14a5 Add new oauth2, use it in deploy/gce
third_party/golang.org/x/net/context at 67f25490433376b5f7da086c0b9283fcdeca3a7b
third_party/golang.org/x/oauth2 at 5361962df4497a7fc777f5c3bd1b5c7ac36c604c

I only updated camdeploy, and did not remove code.google.com/p/goauth2
yet, because I do not want to get distracted by potential breakages, so
we can first get the gce deploy wizard in.

Change-Id: Ifa7987a044c741d3f00f49f47b31e3e07bdf973d
2015-01-09 22:02:39 +01:00
Brad Fitzpatrick ad145260c0 Update more links to use the camlistore.org redirector.
Change-Id: I1ef94301d7ac0df69abc4f3f27bcb363fa8e8082
2014-12-13 17:25:16 +11:00
Bill Thiede ba447185d4 third_party: Update bazil.org/fuse and set VolumeName.
import bazil.org/fuse at 1c23ef5845002b8878f67e7959b29d1e0ea41fe3

On Mac OS X, fuse.VolumeName keeps the directory name in Finder from
becoming 'OSXFUSE Volume #0 (mount_osxfusefs)', it is a nop on all
other platforms.

Change-Id: Ic9e248ea1921f6dfb6b04107a5f0ae8c51687c82
2014-11-29 19:06:54 -08:00
Brad Fitzpatrick 82be61629f Update github.com/bradfitz/http2 to 36d9a67b6d4
Exports the NPN constant.

Change-Id: I1f7570cc46579e76b215f10162a742f10ca766cd
2014-11-26 08:44:47 -08:00
Brad Fitzpatrick 1a26ffa382 Import github.com/bradfitz/http2 at 8ec321e3925b
Change-Id: Ia75786f7d8e635e88b4c8821cb32e19d24b463f2
2014-11-26 07:33:24 -08:00
Mario Russo 4c53a1cd27 ui: updates to file upload dialog
-display total/transferred bytes rather than num files
-upload is now context sensitive if currently viewing a set
-updated closure dependencies

https://code.google.com/p/camlistore/issues/detail?id=336
https://code.google.com/p/camlistore/issues/detail?id=504

Change-Id: I8dee1ee2711c06dfdc9d59e8d0fa0e4ebc641092
2014-11-16 15:31:08 +01:00
Mario Russo 4cf29f33d3 ui: added 'No results found' message to blob item container
this patch incorporates visual feedback from aaron

Change-Id: Ib7b8bbc7daa958693dafc9b2108cac3ee91bb870
2014-11-06 10:52:47 +01:00
Mathieu Lonjaret ef405b3ad4 Merge "third_party/fileutil: update to 7dd7cf336e002422bd1467eaaab9d0681ae1a33a Adds support for OpenBSD" 2014-10-29 16:29:18 +00:00
Aaron Bieber ea879e1ca5 third_party/fileutil: update to 7dd7cf336e002422bd1467eaaab9d0681ae1a33a
Adds support for OpenBSD

Change-Id: I6f38d25529fcee1c778aca07a67e2ac33caecf3d
2014-10-29 10:13:19 -06:00
mpl f97cf5b587 third_party/goexif: bump to 9fb3b23c1aaada5775178242884b75d4f4a330d3
Change-Id: I31f509f32ec6a2fe93cd78a9d09146b0bb6b302e
2014-10-29 00:46:56 +01:00
Aaron Boodman b4a03836c0 Show a more obvious drop target when dragging items onto UI.
This also shows a very crude upload progress.

Bugs:
https://code.google.com/p/camlistore/issues/detail?id=336
https://code.google.com/p/camlistore/issues/detail?id=504

Change-Id: I3c232c94d0238290abc295b59871eb7206624960
2014-10-26 01:04:12 -07:00
Bill Thiede 1fee0f1816 third_party: cleanup imports.
I think these snuck in because not everyone has the client side git
hooks registered to check on misc/review.
Removed third_party/github.com/bradfitz/latlong/gen_test.go (per
review feedback)

Change-Id: Ide09d152b28157a043009d7285f1afd4a60ac9de
2014-10-01 22:08:13 -07:00
Tamás Gulácsi 9c0c99ba6f Add github.com/syndtr/goleveldb/leveldb
To be used as a sorted.KeyValue.
Upstrem version is 9bca75c48d6c31becfbb127702b425e7226052e3

I've removed some tests which would require github.com/onsi/gingko &Co.

Change-Id: I0ee50ca7d10a882b1c5ff73a81e52006e3554c4d
2014-09-19 21:03:03 +02:00
Mathieu Lonjaret 312f7a2aa6 Merge "Merge upstream goexif" 2014-09-17 13:49:35 +00:00
Fabian Wickborn 59a451c2dc Merge upstream goexif
This pulls the changes from the current HEAD of
https://github.com/rwcarlsen/goexif
(eb2943811adc24a1a40d6dc0525995d4f8563d08)

Notable changes:
- Removed explicit panics in favor of error returns
- renamed TypeCategory to Format and made format calculated upon
  decoding rather than repeatedly for every format call
- Merged contributions from Camlistore (exif.LatLong(), exif.DateTime()
  etc.)
- Change String method to just return the string value - and don't have
  square brackets if only a single value
- add separate Int and Int64 retrieval methods
- Doc updates

Minor changes in camlistore.org/pkg/* were neccessary to reflect
changes in the API (handling of returned errors) and in names of
exported fields and methods.

Change-Id: I50412b5e68d2c9ca766ff2ad1a4ac26926baccab
2014-09-17 10:40:38 +02:00
Brad Fitzpatrick ceb5dcb504 Update third_party/go/pkg/archive/zip to hg rev afc7e22420ce:
Change-Id: I74b92ed2cbee0c963df2adc8f7e85ac69e3162e1
changeset:   20991:afc7e22420ce
user:        Brad Fitzpatrick <bradfitz@golang.org>
date:        Sun Aug 31 21:32:13 2014 -0700
summary:     archive/zip: add Writer.Flush
2014-09-07 13:22:29 -07:00
Fabian Wickborn 2aed1b8241 Renamed goexif folder to match upstream URL
In the advent of github.com/camlistore/goexif to be closed, this
commit renames the goexif folder in third_party to match the
upstream on GitHub.

The affected import paths have been rewritten accordingly.

Change-Id: I5a8871efd01987944b7f5e93979307857ae16fe7
2014-09-05 17:27:59 +02:00
Fabian Wickborn f0d9c04bc2 Merge goexif with upstream package
This pulls the changes from the current HEAD of
https://github.com/rwcarlsen/goexif
(rev cf045e9d6ba052fd348f82394d364cca4937589a)

Changes to goexif from upstream:
- Add support for reading Nikon and Canon maker notes
- Adds parser registration to exif package
- Renamed cmd to exifstat
- Renamed exported fields and methods in goexif/tiff
- adds support for bare tiff images. bug fix and minor cosmetics
- support pulling the thumbnail
- adds thumbnail support to exif pkg
- tiff defines DataType and constants for the datatype values
- Update covnertVals and TypeCategory to use new constants for DataType
- Renamed test data dir in exif tests
- created type+constants for raw tiff tag data types

Not merged from upstream:
- ~1 MB of test JPGs in goexif/exif/samples

Minor changes in camlistore.org/pkg/* were neccessary to reflect the
name changes in the exported fields and methods.

Change-Id: I0fdcad2d7b5e01e0d4160a5eb52b8ec750d353cf
2014-09-05 08:36:42 +02:00