Commit Graph

44 Commits

Author SHA1 Message Date
Aaron Boodman 96f21c4a60 Remove the Foo/flatFoo abstraction in the types package.
Fixes #24.
2015-07-10 11:29:03 -07:00
Aaron Boodman 82a87d548c Use go generate instead of custom thing for generating primitives 2015-07-10 10:39:31 -07:00
Aaron Boodman fd75f33c8c comment cleanup 2015-07-09 18:58:44 -07:00
Aaron Boodman c4537d82d6 futureEquals fast path 2015-07-09 18:38:32 -07:00
Aaron Boodman dffcf94c7d Fix typo in TODO 2015-07-09 18:13:18 -07:00
Aaron Boodman 6201833b38 Remove rest of types tests back into types package 2015-07-09 18:12:28 -07:00
Aaron Boodman 90d7042a3a fast path when comparing futures for primitives 2015-07-09 18:07:23 -07:00
Aaron Boodman 8b6c67cad2 Remove the Reffer/RefferImpl abstraction 2015-07-09 17:51:32 -07:00
Aaron Boodman 1640657030 Rename Future->future 2015-07-09 17:51:25 -07:00
Aaron Boodman ca43c9cfec Decode Lists lazily 2015-07-09 17:30:43 -07:00
Aaron Boodman d5b90dd43c Teach flatList about Futures. 2015-07-09 17:30:43 -07:00
Aaron Boodman 8662a36344 Add types.Future, which will be the basis for lazy loading. 2015-07-09 17:30:43 -07:00
Aaron Boodman 2aa809e167 Move enc/* into types/*. 2015-07-09 17:30:43 -07:00
Chris Masone cd9656cdb9 Add friendly message to Chk for Reffer != nil
Now you get told you're holding it wrong when you fail
to import the enc package and get the global definition for
Reffer.
2015-07-08 15:53:10 -07:00
Aaron Boodman b07889e24a rename flat_set_test.go to set_test.go for consistency with other files in this directory 2015-07-01 22:56:52 -07:00
Aaron Boodman e6f1f0147d Add test for Set::Any() 2015-07-01 22:56:29 -07:00
Aaron Boodman 8590bd4249 Finish first crack at generating strong Go types for noms data 2015-06-26 16:35:08 -07:00
Aaron Boodman 56c4d6d637 Add support for multiple apps. App IDs are present just arbitrary strings 2015-06-19 16:51:56 -07:00
Aaron Boodman 7412338434 Add user package an function to create an empty user set 2015-06-17 17:21:34 -07:00
Aaron Boodman 7cda3c280f Add Set::Union() and Set::Subtract() 2015-06-16 11:07:55 -07:00
Aaron Boodman 129798c006 Support any type of Value for keys of maps 2015-06-15 15:57:33 -07:00
Aaron Boodman 08a53bb48f add types.Set 2015-06-13 23:25:48 -07:00
Aaron Boodman ed62644cda Revert "Revert "Change Value::Equals() to compare by ref for big types""
This reverts commit 13efacc95d.

I had to move all the types test into their own package to avoid a circular dependency.
2015-06-12 17:35:44 -07:00
Aaron Boodman 13efacc95d Revert "Change Value::Equals() to compare by ref for big types"
This reverts commit e4924ea28d.
2015-06-12 16:54:32 -07:00
Aaron Boodman 81aac64ab4 Revert "Make new tests directory more self-explanatory"
This reverts commit 0d0965bf83.
2015-06-12 16:54:06 -07:00
Aaron Boodman 0d0965bf83 Make new tests directory more self-explanatory 2015-06-12 16:52:27 -07:00
Aaron Boodman e4924ea28d Change Value::Equals() to compare by ref for big types 2015-06-12 16:45:58 -07:00
Aaron Boodman 53003f23f2 Add Value::Ref() 2015-06-12 15:22:27 -07:00
Aaron Boodman 22eb927c4e Blob::Read()->Blob::Reader() 2015-06-12 08:45:29 -07:00
Aaron Boodman b6291f88e0 Add jsonDecode and top-level enc.ReadValue function 2015-06-10 13:35:06 -07:00
Aaron Boodman 4f8d555bf8 ByteLen()->Len() ... since String is now aggregated in Blob, don't need this weird naming. 2015-06-09 22:58:10 -07:00
Aaron Boodman 266a96a084 Factor Blob back out into a method of String, rather than embedded. Embedding makes branching on nom type hard. 2015-06-09 22:56:17 -07:00
Aaron Boodman cdfbcb4e69 Add initial Map implementation 2015-06-04 22:10:27 -07:00
Aaron Boodman 5f8e151b07 Add test for StringFromBytes 2015-06-04 15:51:28 -07:00
Aaron Boodman 7d00f1bf12 Add initial String implementation 2015-06-04 14:42:28 -07:00
Aaron Boodman eb7db31b90 Add initial Blob implementation 2015-06-04 12:24:36 -07:00
Aaron Boodman 8598afe802 Add TODO to list.go 2015-06-04 12:22:51 -07:00
Aaron Boodman 888677c9e1 Add test for flatList::RemoveAt 2015-06-03 23:16:05 -07:00
Aaron Boodman 011f75bfd5 Add test for flatList::Remove 2015-06-03 23:12:14 -07:00
Aaron Boodman e5da44cdd3 Add test for flatList::Insert 2015-06-03 23:05:51 -07:00
Aaron Boodman e461022742 Add test for flatList::Set 2015-06-03 21:25:59 -07:00
Aaron Boodman 3a0dc592fc Add flatList and some tests. Not everything tested yet. 2015-06-03 18:44:39 -07:00
Aaron Boodman f973bb6536 Add documentation about codegen 2015-06-02 23:41:26 -07:00
Aaron Boodman 228186dfee Add noms/primitives.go and relatedness 2015-06-02 23:34:51 -07:00