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
We were waiting to show the container aspect until the child search session
returned. This meant that we temporarily showed the permanode aspect then
swapped to the container aspect shortly thereafter (because the container
aspect is higher priority).
The right solution to this is to change the search protocol so that clients
can know how many children a permanode has without getting the entire list
of them. But for now, it just so happens that search returns the entire
list, so we can use that instead.
Change-Id: Iaf93f689e965a1dc9ef73d834d46c57026c100cd
Mostly code moved from pkg/test/fetcher.go
Also got rid of blob.MemoryStorage
http://camlistore.org/issue/416
Change-Id: I8d17b80942e2fde1c869f71738bfb8a67ed8ab31
This switches to using a fork of archive/zip for now, until we can upstream
changes and wait a release cycle.
Plenty of TODOs remain, but making progress.
Change-Id: I3d7439dc405ba7f64b8d791952f1623a3a7e2024
The import is happening at hg 47de34bbcca1 but the last modification
of the package was at:
changeset: 20518:8ab50c14cd95
user: Brad Fitzpatrick <bradfitz@golang.org>
date: Mon Aug 04 16:12:55 2014 -0700
summary: archive/zip: accept bogus trailing zeros in extras
... which will go into Go 1.4.
We don't need that fix in Camlistore, but rather we need additional
data about the state of the *zip.Writer while it's writing. So this
is a pristine import in preparation for future changes so the changes
will be easy to see in the history, in case we want to move the
changes to the Go standard library (likely). But Go goes into 1.4
freeze in two days and it's the weekend.
Change-Id: I07117b7c5a7f58bd1e8abf6227c5fb0fa8047fa3
See package docs in blobpacked.go for background & rationale.
Will minimize disk seeks, regardless of the underlying storage
system. I always knew this day would come, but we've been putting it
off. It's finally time to separate out logical (tons of small chunks)
storage from physical (big contiguous layout for how they'll be
accessed).
First 80% is done. Last 80% remains: mostly lots of tests and more
paranoia, and fsck things, for when we inevitably lose indexes. (but
each zip file is self-describing, so the index is redundant).
Change-Id: I13f9aa79c4d9d87b5fdcece0d99d97eba031d608
When there is a server error, the piggy becomes sad and periodically
shakes his head. When you expand the piggy menu you see one or more
entries explaining why he is sad.
Change-Id: If1e28dbf02c9befaa46b62838cb704220f719bc6
LoadAllChunks is now written in terms of ForeachChunk and is bounded.
GetChunkOffsets was never meant to be exported and was unused elsewhere.
It's now unused entirely.
Change-Id: I0653385fe805fda721e0b45ea0a17d9839c3ba6e
Will be used by the blobpacked storage server.
Also, we can then rewrite much of the legacy crufty methods on
FileReader in terms of this.
Change-Id: Ia371001f1ed502fa1da2dbc4a8e1c29e5f0c9e8c
The biggest obstacle is that syscall lacks Mkfifo on Solaris
(I've opened issue 8609 on Go for this).
Now I provide the same implementation for it as there is on Linux:
call Mknod.
github.com/cznic/fileutil needs IsEOF, so I've copied the plan9
(hole punching is stubbed out) implementation.
github.com/lib/pq: I've added solaris as a posix build tag.
Change-Id: Id667c488606a274849dc9b0af76abf1daeab5ad7
To avoid confusion, the previously named "memoryIndex" configuration
parameter, which actually meant to slurp the index into the memory
corpus, has been renamed to "copyIndexToMemory". "memoryIndex" is now
the parameter to enable a memory-only indexer.
http://camlistore.org/issue/416
Change-Id: I7026e5463fda3a1887a88e0b07d4e3431c60c8b7
Currently unused. Added a Retried option, thinking I'd need it. I might later, or we might
add more options later.
Change-Id: I6b2f63c22685fd964012adbc8dfa06f3f6344313