Mike Gray
47794ca754
Removing [U]Int[8|16|32|64] and Float[32|64] in favor of Number
2016-04-27 16:24:13 -04:00
Rafael Weinstein
f93af2ffc2
Merge pull request #1315 from rafael-atticlabs/removeNoop
...
Remove noop cache
2016-04-25 11:54:24 -07:00
Rafael Weinstein
5dca070f17
Remove noop cache
2016-04-25 11:48:01 -07:00
Rafael Weinstein
a0b122755c
Merge pull request #1314 from rafael-atticlabs/removePackageRegistry
...
Remove package registry
2016-04-25 11:31:31 -07:00
Rafael Weinstein
24826ade3d
Remove common noms file & RefBase
2016-04-25 11:20:01 -07:00
Rafael Weinstein
aead78eeb9
Removed package_registry.go
2016-04-25 10:45:37 -07:00
Dan Willhite
431d03b586
Merge pull request #1303 from willhite/datas
...
Replace Commit type with types.Struct().
2016-04-25 10:30:24 -07:00
Dan Willhite
32bb498339
Replace Commit type with types.Struct().
...
Remove last vestiges of codegen in datas. Fixes #1296 .
2016-04-25 10:24:09 -07:00
Erik Arvidsson
423d3a87ec
Make MakeCompoundType package private ( #1304 )
...
And same for MakePrimitiveType. This also makes sure that we return
the same primitive type every single time.
Fixes #1271
2016-04-22 17:49:27 -07:00
Mike Gray
a078504e9b
Merge pull request #1297 from mikegray/fs-with-filesize
...
adding file size progress output
2016-04-22 16:34:50 -07:00
Mike Gray
3a5f727830
using airbnb js style for line length
2016-04-22 16:31:00 -07:00
Erik Arvidsson
a2cf351cf8
Change "Json" to "JSON" in go code ( #1302 )
2016-04-22 16:25:28 -07:00
Mike Gray
cbe97a054a
using existing format-file-size; fixing nits with progress output
2016-04-22 16:04:52 -07:00
Erik Arvidsson
02c47661fd
Make all usages of Type in Go use pointers ( #1295 )
...
This is in preparation of allowing back references which requires
pointers to be able to compare that the structs are the same.
2016-04-22 15:19:42 -07:00
Erik Arvidsson
50308de6b9
Make sure we list babel-runtime in the deps for noms ( #1298 )
...
Also add repository and description fields...
Fixes #1289
2016-04-22 11:44:35 -07:00
Mike Gray
432ab69598
adding file size progress output
2016-04-22 11:13:39 -07:00
Erik Arvidsson
5896559db7
Remove support for enums ( #1291 )
2016-04-22 10:14:05 -07:00
Aaron Boodman
48db5f91b2
Merge pull request #1286 from aboodman/js-tour
...
Introduce beginning of JS Tour doc
2016-04-22 10:11:16 -07:00
Aaron Boodman
e035de2955
Introduce doc/js-tour.md
2016-04-22 10:10:42 -07:00
Erik Arvidsson
bbeb504943
Type describe use human readable serialization ( #1287 )
...
* Make Type Describe use the Human Readable Serialization
This reduces code duplication.
* Remove Choices in favor of []Field
2016-04-21 11:12:37 -07:00
Dan Willhite
6db8f5def1
Merge pull request #1284 from willhite/datas
...
Remove codegen artifacts from types.
2016-04-21 10:03:47 -07:00
Dan Willhite
bb7f039e69
Remove codegen artifacts from types.
2016-04-20 17:41:09 -07:00
Erik Arvidsson
0d5b6c4223
Remove Go codegen ( #1285 )
2016-04-20 16:59:43 -07:00
Dan Willhite
07365a91d8
Merge pull request #1283 from willhite/datas
...
Remove nomsdl info from datas.
2016-04-20 15:46:59 -07:00
Dan Willhite
9300a81df6
Remove nomsdl info from datas.
2016-04-20 15:42:39 -07:00
Ben Kalman
9b667cc6ba
Implement efficient set/map size/length ( #1277 )
...
The Go Len implementation just iterated over all values and incremented
a counter. Now it can just read it off the meta sequence.
The JS implementation never supported size because it would have been
async in order to implement even the Go style implementation.
Mostly addresses #764 (efficient; but could be more efficient).
2016-04-19 17:04:33 -07:00
cmasone-attic
ba0726adf6
Merge pull request #1275 from cmasone-attic/backpressure
...
Report backpressure over the wire
2016-04-19 12:25:43 -07:00
Erik Arvidsson
2d2b509412
Human Readable Serialization - Indent all the things! ( #1274 )
...
Towards #1153
2016-04-19 12:20:22 -07:00
Chris Masone
6ff58aa38b
Report backpressure over the wire
...
Using ChunkStore.PutMany() means that the DataStore server code
can detect when the ChunkStore it's writing to can't handle
the amount of data being pushed. This patch reports that
status back across the wire to the client that's attempting
to write a Value graph. Due to Issue #1259 , the only thing the
client can currently do is retry the entire batch, but we hope
to do better in the future.
2016-04-19 11:27:45 -07:00
Marina Moore
42b468e591
added flags library
2016-04-19 09:42:54 -07:00
Marina Moore
a14740bcc3
added explanatory comments
2016-04-19 09:31:30 -07:00
Marina Moore
4387351246
removed old comments
2016-04-19 08:51:34 -07:00
Erik Arvidsson
d998d0cc02
Human readable serialization ( #1269 )
...
This serializes a Noms Value into a human readable string.
Things remaining:
- Indentation
- Package (but package is going away)
- Parsing
Towards #1153
2016-04-18 16:12:15 -07:00
Aaron Boodman
cae8a01870
Merge pull request #1268 from aboodman/rmrf
...
Remove all the examples that rely on Go codegen
2016-04-18 15:28:55 -07:00
Aaron Boodman
3da90da4f9
Remove all the examples that rely on Go codegen
...
BUG=1265
2016-04-18 15:03:11 -07:00
Marina Moore
071fed26fb
added testing for datastore default and made style changes
2016-04-18 14:54:19 -07:00
cmasone-attic
77506adbe5
Merge pull request #1258 from cmasone-attic/issue1250
...
Refactor new DataStore code
2016-04-15 14:53:37 -07:00
Marina Moore
2ac56f9821
changed read-data for new method of making remote datastore
2016-04-15 14:41:10 -07:00
Erik Arvidsson
34e14af8ea
Update to Flow 0.23 ( #1257 )
...
This required that we updated all clients to Noms SDK 11. The only
thing that needed real changes was Crunchbase IU.
2016-04-15 14:09:36 -07:00
Chris Masone
c1e1fb97bb
Remove now-unneeded PrivateRefFromType
...
Fixes #1209 .
Also, clean up a few comments.
2016-04-15 13:36:46 -07:00
Chris Masone
0fc183d429
Refactor new DataStore code
...
The initial refactor had some pretty confusing struct and method
names, so this patch renames a number of things and migrates a bunch
of code to the types/ from datas/, where it seems to be a better
logical fit.
datas.cachingValueStore -> types.ValueStore
datas.hintedChunkStore interface -> types.BatchStore
datas.naiveHintedChunkSink -> types.BatchStoreAdaptor
datas.httpHintedChunkStore -> datas.httpBatchStore
datas.notAHintedChunkSink -> datas.notABatchStore
Also, types now exports a ValidatingBatchingSink, which is used by
datas.HandleWriteValue to process incoming hints and validate incoming
Chunks before putting them into a ChunkStore.
Towards Issue #1250
2016-04-15 10:57:45 -07:00
Erik Arvidsson
58d37a487d
Export Commit type and inc version
2016-04-15 10:05:59 -07:00
Erik Arvidsson
71ee644d36
Add runtime type checking to structs ( #1253 )
2016-04-15 09:25:25 -07:00
Erik Arvidsson
14f7bdeb11
Remove isNullOrUndefined
...
The usage of isNullOrUndefined prevented flow 0.23 from detecting
that the value cannot be null or undefined.
This function was only used in one place.
2016-04-14 18:35:34 -07:00
Erik Arvidsson
85d7cb57a0
Fix Splore and clients/fs ( #1249 )
...
- Splore had a typo after the last update
- Update clients/fs to latest sdk and change the key name to be
the base file name instead of the full path.
2016-04-14 16:52:02 -07:00
Erik Arvidsson
524c9bea2b
Use @attic/eslintrc ( #1252 )
2016-04-14 15:03:48 -07:00
Erik Arvidsson
c2b114da6f
Make eslintrc a module ( #1251 )
2016-04-14 14:31:21 -07:00
Erik Arvidsson
bda71d9d48
Update Splore to use latest noms sdk ( #1248 )
...
The main change is how Structs are represented and to get to the
underlying shape of a struct a StructMirror is now used.
2016-04-14 10:18:22 -07:00
Erik Arvidsson
3aab928f30
JS SDK: Export StructFieldMirror ( #1247 )
...
And add StructMirror get name
2016-04-14 09:39:45 -07:00
Ben Kalman
d8977ce3a9
Fix misuse of update() in run.py ( #1245 )
2016-04-14 09:19:11 -07:00