Commit Graph

34 Commits

Author SHA1 Message Date
Erik Arvidsson 698c21bc67 NomDL: Change type syntax to use <> instead of ()
Fixes #678
2015-12-02 12:30:00 -05:00
Rafael Weinstein 7caa08bc5c Complex Types embed a ChunkStore 2015-12-01 10:40:47 -08:00
Rafael Weinstein e75f5097c7 Allow Map & Set to order by natural ordering of element type if available. 2015-11-16 14:30:30 -08:00
Erik Arvidsson a72ce41a1d Go: TypeRef -> Type
Remaining identifiers
2015-11-13 17:54:53 -05:00
Chris Masone f0f49c6010 Generated Code 2015-11-09 08:35:06 -08:00
Aaron Boodman 69a86f3036 Rewrite walk() to walk value tree instead of chunks
Also fix quad_tree to take advantage of that to be generic again.

Fixes #445, #497
2015-11-05 16:12:02 -08:00
Chris Masone c40b57fc41 Generated code 2015-11-05 15:15:07 -08:00
Chris Masone 5bda67180d Run go generate ./... at top level to pick up codegen changes from rebase 2015-11-05 12:15:23 -08:00
Chris Masone 2e68c39b14 Fix xml_importer and pitchmap/index to correctly use typed containers.
Fixes #554
2015-11-05 12:08:22 -08:00
Aaron Boodman 12c63649f2 shove: Add a unit test 2015-10-28 18:03:59 -07:00
Aaron Boodman e55558bfa3 Revert "Revert "csv_importer: add unit tests""
This reverts commit 6245bbcde0.
2015-10-28 14:09:35 -07:00
Aaron Boodman 6245bbcde0 Revert "csv_importer: add unit tests" 2015-10-28 11:41:15 -07:00
Aaron Boodman aec21e3a49 csv_importer: add unit test 2015-10-28 09:52:32 -07:00
Aaron Boodman f4819debf0 counter: factor the client test util better 2015-10-27 22:31:32 -07:00
Aaron Boodman 9cf0f8b2c5 counter: add a unit test 2015-10-27 17:42:23 -07:00
Chris Masone 2cd6831598 Changes codegen.go to emit all code in a single Go package
Fixes #467
2015-10-23 16:42:54 -07:00
Erik Arvidsson afeef44020 Updated generated code 2015-10-21 19:04:22 -04:00
Rafael Weinstein 2b67f64aac Update Flickr to use nomdl 2015-10-20 15:40:25 -07:00
Erik Arvidsson d6869cef35 NomDL: Make Package a primitive type
This solves the bootstrapping problems we are encountering.

Previously Package was a Struct but structs depend on Package.
2015-10-20 10:26:00 -04:00
Chris Masone 039c667689 fixup rungen.go 2015-10-19 15:43:32 -07:00
Chris Masone 4169f2af3a Create shared 'geo' Noms types package
First cut at creating a shared Noms types package, by creating
'geotypes.noms' to define Geoposition and Georectangle. These are
shared by quad_tree and sfcrime_importer initially, but will also
by used by sfcrime_search and the stuff that works with photos.

quad_tree used to add methods to the generated Geoposition and
Georectangle types. This doesn't work anymore, since these types
are now generated as part of a separate Go package. Fortunately,
these methods are easily re-cast as pure functions.

Towards #409
2015-10-19 15:19:01 -07:00
Aaron Boodman c6078979a2 flickr: slurp geotags 2015-09-16 17:50:36 -07:00
Aaron Boodman 9036ae5b32 Add RemotePhoto concept and change Flickr to use 2015-09-14 11:04:11 -07:00
Rafael Weinstein 3deeae09df Remove AWSStore, FileStore, StdoutWriter and deps 2015-08-27 13:44:22 -07:00
Aaron Boodman 2eb0ad33aa Merge pull request #225 from aboodman/width
flickr: import width and height too
2015-08-26 23:02:19 -07:00
Dan Willhite ab34143ba5 Pin dependencies using godep tool. Rewrite dep urls. 2015-08-26 14:05:40 -07:00
Aaron Boodman ac068d5f04 flickr: import width and height too 2015-08-26 12:47:25 -07:00
Rafael Weinstein 0e7d61efc6 Remove errors from ChunkStore and Ref 2015-08-18 16:24:26 -07:00
Chris Masone 17fd75f01d Create d.Exp and d.Try
Introduces the notion of debug 'expectations', analogous to the
'checks' that we already have. d.Exp provides the same API as d.Chk,
but expectation violations can be caught using d.Try().

Toward issue #176
2015-08-10 12:40:43 -07:00
Aaron Boodman 214b37eccf Remove global imports of dbg package
Fixes #179
2015-08-08 23:57:37 -07:00
Aaron Boodman f407029526 Merge pull request #181 from aboodman/tagdex
Tagdex
2015-08-07 09:52:15 -07:00
Aaron Boodman f98ee32460 Introduce tagdex: a program for indexing photo tags. 2015-08-07 08:04:47 -07:00
Chris Masone 4e32281c28 Encapsulate profiling flags and set up in the clients/util package
Reduces code duplication. Yay!
2015-08-06 11:22:11 -07:00
Aaron Boodman f59a360a69 Rename clients/go to clients/util 2015-08-05 17:11:40 -07:00