Commit Graph

2846 Commits

Author SHA1 Message Date
Brad Fitzpatrick 0dea7eae9b Update HACKING a bit.
Change-Id: I5802bc30a5d48d361bf57268f8f3892a3d3ce5eb
2013-08-04 14:28:14 -07:00
Brad Fitzpatrick aa2ccf9732 osutil: implement CacheDir on Windows.
Change-Id: I3b41b2a68f0c4222cbfac2945b614964f362e29f
2013-08-04 14:21:36 -07:00
Brad Fitzpatrick d3bca08889 make.go: create zip files with forward slashes, per zip spec
Might fix issue 188 (Windows not getting any UI)

Change-Id: Ic4243102d9bc78ba4a9959c575afc6313949da1f
2013-08-03 22:48:09 -07:00
Brad Fitzpatrick e3d3238989 closure: remove weird line breaks from buggy goimports, fmt
Change-Id: I65c8952d7fb3fbcdbaf61f004addf4514a8eee9a
2013-08-03 22:42:49 -07:00
Brad Fitzpatrick ffb10f6ce6 sigserver: fix build
Change-Id: I0e4b02a420ef2cfcae46d2d57ec99db1687df401
2013-08-03 22:29:57 -07:00
Brad Fitzpatrick 41fe3660c2 blob: add == test
Change-Id: If3a8096e885d51316e3841d9a6bde625ee76f51e
2013-08-03 22:25:39 -07:00
Brad Fitzpatrick 0bdf20884b all: delete pkg/blobref; convert all from *blobref.BlobRef to new blob.Ref
Change-Id: Id2dfb7f19452bedf4f3c9310b36227fd8117b225
2013-08-03 19:54:30 -07:00
Brad Fitzpatrick c44d89e22f blob: more porting blobref to new pkg blob
Change-Id: Id7f0dd80dd6ce5fa55a2c04e2e2a882a5ef8add6
2013-08-03 19:08:17 -07:00
Brad Fitzpatrick e56a944843 blob: replacement for *blobref.BlobRef type.
Shorter name (blob.Ref instead of *blobref.BlobRef) and value
semantics instead of pointer.

Also, equality (==) works on it, so it can be used as a map key.

It's also more memory efficient, for the upcoming search server that
needs to store tons (or all) of your blobrefs in memory.

Change-Id: I494a2d72d31865211fa388fedf938ed25f99ca13
2013-08-03 13:48:17 -07:00
Brad Fitzpatrick 7bbc2828fd demo.sh script to source during demos
Change-Id: If7415d16f21fdc4ae16778b3bf2ce5c908067193
2013-08-03 13:04:33 -07:00
Brad Fitzpatrick 7e49fddfcb blobref: add TODO
Change-Id: Ia4255b33eaafa45bab56c8a1d16f08dad354a1d9
2013-08-03 12:47:54 -07:00
Brad Fitzpatrick ebcbde957b Merge "Fixes to appease make presubmit and make forcefull on FreeBSD." 2013-08-03 19:07:20 +00:00
Bill Thiede e6b86ddb9d Fixes to appease make presubmit and make forcefull on FreeBSD.
This change adds a dependency on lsof(1) when running on FreeBSD.
lsof(1) is not part of the base system, and lsof(1) would need to be
installed (usually from ports).  If lsof(1) is not installed an error
will be returned in the form of:

ident_test.go:88: exec: "lsof": executable file not found in $PATH

Change-Id: I3cb15af369dc10a8a39aeaf82cceff3c788104b8
2013-08-03 11:48:57 -07:00
Brad Fitzpatrick 5c958f30d4 Merge "Send auth header with GET requests too." 2013-08-03 18:19:55 +00:00
mpl 66bc4f35d6 Merge "dev-server: remove. replaced by devcam server." 2013-08-03 16:34:35 +00:00
Bill Thiede b899b80ca9 Send auth header with GET requests too.
Change-Id: I14d5e5655f5b3137a0ad0d121504993df7f0ed9f
2013-08-02 21:13:53 -07:00
Brad Fitzpatrick 38bb307085 camtool: typo from Adrian (ajft.org) and run gofmt
Change-Id: Ibbebea7bcf9a583c0ea1e86f09eff69acd2b174e
2013-08-02 16:32:50 -07:00
mpl f4ef8c0375 dev-server: remove. replaced by devcam server.
Fix related docs, config files, buildbot...

Change-Id: I638d3856f42953603b13204fb56782974d0db9ee
2013-08-03 01:12:38 +02:00
mpl e4e976e8a1 fs: typo in copyright date
Change-Id: I59cbf752971d7f1b9a8e6b291aec814d3b833378
2013-08-02 21:57:16 +02:00
mpl 0a073f17e8 osutil: fix typo in build tag
Change-Id: I60536a17bb847d459818f6377a06111beb7c3548
2013-08-02 21:23:55 +02:00
Brad Fitzpatrick e8d0200a11 Merge "integration tests: kill camlistored when all tests are done" 2013-08-02 19:04:41 +00:00
Brad Fitzpatrick 9b2fdcf8eb Merge "Tile images nicely within BlobItemContainer." 2013-08-02 19:03:26 +00:00
mpl 5fa82a3abb integration tests: kill camlistored when all tests are done
-osutil: PollParent to monitor parent process.
-camlistored: option to kill itself if it has been orphaned.

Change-Id: I87193254d55847e46134439ecd1b04f71718d083
2013-08-02 15:42:49 +02:00
Aaron Boodman 24458fca93 Tile images nicely within BlobItemContainer.
Screenshots here: http://imgur.com/XN9qFLP,PeEDPnW,CS35Pw6,VS0nHaG,SNT1ZXZ,2nMWVYz,8RmuLuw,NE8b26n,EFErMdg

Change-Id: I6a66b5b782363882261b80e7ac9930ff1046efa6
2013-08-01 22:25:52 -07:00
mpl 5b584500ba osutil: use MkdirAll to create cache dir
http://camlistore.org/issue/186

Change-Id: I3078261ed57d9e7cbf090c7e1fdb41a1c38b7741
2013-08-01 00:19:38 +02:00
Brad Fitzpatrick 4b1b879de9 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-07-29 14:19:45 -07:00
Brad Fitzpatrick b6a688ba8a netutil: return ErrUnsupportedOS and skip tests if not darwin or linux
Change-Id: I50235b0112668a50776043708e9bb8eb13131900
2013-07-29 14:19:28 -07:00
Brad Fitzpatrick 82bb3b71ca fs: add build tags to fs_test.go too
Change-Id: I5ccf451ce42f64578cd43405774fc9d7fdee1705
2013-07-29 14:14:32 -07:00
Mathieu Lonjaret 48710f8f47 Merge "website: Fix path to server config file" 2013-07-29 20:44:10 +00:00
mpl a0de0ce5ff A+C: Kamil Kisiel (Individual CLA)
Change-Id: I7d92635660d0b60d27264430aeb9ceb8139bdd04
2013-07-29 22:39:30 +02:00
Kamil Kisiel ceda829e43 website: Fix path to server config file
Change-Id: I4eb7e0ed7745adb1ea56d7864dd834a7beb86eb3
2013-07-29 13:15:11 -07:00
Brad Fitzpatrick 979444de66 dev-camput, dev-camget: options to make demos better
Change-Id: Ie109cc156a081b72b83b9851630addf515c1ceec
2013-07-29 10:15:59 -07:00
Brad Fitzpatrick 5bd9d4bf64 Merge branch 'master' of ssh://camlistore.org:29418/camlistore 2013-07-29 08:53:24 -07:00
Brad Fitzpatrick 7560bddf6e fs: add build tags to debug.go. Fixes FreeBSD build, again.
Change-Id: I07dbe98d3860658c8fc4adbf8386eb0dc84147e1
2013-07-29 08:53:19 -07:00
mpl 954f5b2ad3 website: typo in release number.
Reported by Mark Steve Samson.

Change-Id: Ifa35580ea21b0a6c0407a6d6ee7735dc63289722
2013-07-29 16:32:22 +02:00
Brad Fitzpatrick b0bff61d30 types: move ReadSeekCloser types from pkg/blobref to pkg/types
Change-Id: I24e2b2a068d9b09479b145409a3b7e5693dd8ac5
2013-07-28 20:08:55 -07:00
Brad Fitzpatrick 8d378493c6 fix html
Change-Id: I78fcc4f73124507a4b78611709f91b9d98edcd53
2013-07-28 19:10:10 -07:00
Brad Fitzpatrick 6c639c7c3f website: document the 0.3 release
Change-Id: I1055f8606fe542fc6b994cdbb1f590e0024d6339
2013-07-28 18:58:51 -07:00
Brad Fitzpatrick 30682116cf Add 0.3 release.
Change-Id: Iabd93c3f92f18c737edb818b66a449804527bfa3
2013-07-28 18:47:01 -07:00
Brad Fitzpatrick 737f033cd6 make-release: remove misc/sqlite from delete list. it's gone.
Change-Id: I4fef7dc948d143e0faff63ee176c84ed61cb51d8
2013-07-28 18:46:26 -07:00
Brad Fitzpatrick 06c401c3c9 Merge "dev-server: go replacement: devcam server" 2013-07-29 01:37:20 +00:00
Brad Fitzpatrick eb1208a12e sqlite: updated ErrNotCompiled installation hint
Change-Id: I96a5fde5bf3d34cc29f38180272a624c353a6c4f
2013-07-28 18:23:04 -07:00
Brad Fitzpatrick 831f5c3a06 make.go: don't depend on a shell script to get the git version.
Fixes building on Windows; https://code.google.com/p/camlistore/issues/detail?id=181

Change-Id: I6f25589567e610aa63d5bcd91e7efe9aaab7c050
2013-07-28 18:15:04 -07:00
Brad Fitzpatrick 4c04df0c9a C: add Aaron Boodman (Google CLA)
Change-Id: I83bf605e5194d120c442b26ae015de1839fb7aa9
2013-07-28 17:43:02 -07:00
Brad Fitzpatrick 629527d56b Merge "Prevent BlobItemContainer from receiving focus." 2013-07-29 00:43:15 +00:00
Aaron Boodman 02e0d5fc33 Prevent BlobItemContainer from receiving focus.
This seems to fix https://code.google.com/p/camlistore/issues/detail?id=183.
I could not find the code that is actually causing scrolling to occur ... I am
guessing something in Closure somewhere.

However, I also couldn't think of any reason for this component to be
focusable, and this doesn't seem to break anything that I can see.

Change-Id: Iaf64555ee175c774a218bb32d9bb4f97f46cc636
2013-07-28 17:17:33 -07:00
Brad Fitzpatrick dbfbc0c1e5 fs: implement symlinks
Change-Id: Ia2ae00c6e4a5b84239ae4807d31141fdb4f6c220
2013-07-28 12:59:56 -07:00
Brad Fitzpatrick f709fc930c fs: implement Rename. all tests pass now.
Change-Id: I3876aeb6dafd7e4cc5254a741e6938a579373a64
2013-07-27 22:54:55 -07:00
Brad Fitzpatrick a277eb99e0 fs: add a Rename stub. Need to implement for other tests to pass.
Change-Id: I1b41512d3c85eaac5e8977b3a3c590da01af2e98
2013-07-27 18:29:50 -07:00
Brad Fitzpatrick 13bac69618 fs: simplify tests
Change-Id: I85f8b41414fe326e40ba791fdcb65bd5937e4128
2013-07-27 18:29:35 -07:00