Mike Gray
cbe97a054a
using existing format-file-size; fixing nits with progress output
2016-04-22 16:04:52 -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
Erik Arvidsson
9aef59c62f
JS: Allow defs to contain correct noms value ( #1216 )
...
If a Def for type T is already a noms value of type T we can just
return that
2016-04-14 09:08:43 -07:00
Erik Arvidsson
c91b8146dc
Go: Eagerly fixup types after the Package has been created ( #1241 )
...
This fixes the package refs in NewPackage and makes the serializer
know about these refs when a Package is encoded.
2016-04-13 18:09:22 -07:00
Erik Arvidsson
aefc8fe149
Export emptyRef and update JS SDK ( #1246 )
2016-04-13 17:35:13 -07:00
Erik Arvidsson
a02ca3cd6d
JS: Remove empty Refs in package when the package is created ( #1220 )
...
This means that we do not need to use fixup type in any other
place in the code.
2016-04-13 17:29:49 -07:00
Ben Kalman
d1b8e5f805
Update splore to use @attic/webpack-config/run.py ( #1244 )
2016-04-13 16:54:53 -07:00
Ben Kalman
11c79b2d56
Add run.py script to jsmodules/webpack-config ( #1243 )
...
This is intended to replace simpler uses of .npm_run_helper.py, then
I'll continually migrate views until they can use the simpler form.
Currently it will only be Splore that uses it.
2016-04-13 16:31:08 -07:00
Ben Kalman
8cc93e7591
Pull @attic/webpack-config from npm ( #1239 )
2016-04-13 16:23:38 -07:00
Rafael Weinstein
7344ae199b
Merge pull request #1237 from rafael-atticlabs/treeWalkRef
...
tree walks now operate over types.RefBase
2016-04-13 15:36:43 -07:00
Aaron Boodman
383f767b08
Merge pull request #1192 from aboodman/fs
...
Introduce clients/fs: beginning of a filesystem importer
2016-04-13 15:27:51 -07:00
Rafael Weinstein
45e5dc6260
tree walks now operate over types.RefBase
2016-04-13 15:26:44 -07:00
Aaron Boodman
0decfbdee6
Introduce clients/fs: beginning of a filesystem importer
2016-04-13 15:23:34 -07:00
cmasone-attic
ff4dc2c688
Merge pull request #1233 from cmasone-attic/ds-bug
...
Special-case Package chunks when caching reachables during ReadValue
2016-04-13 15:17:13 -07:00
Erik Arvidsson
9a244c851a
Revert "JS SDK: Export emptyRef ( #1240 )"
...
This reverts commit 13bddf763f .
I hadn't landed the change with emptyRef yet
2016-04-13 15:15:25 -07:00
Erik Arvidsson
13bddf763f
JS SDK: Export emptyRef ( #1240 )
2016-04-13 15:12:47 -07:00