Commit Graph

16 Commits

Author SHA1 Message Date
Aaron Boodman
1d752e3101 Update license: Noms will be copyright Attic Labs. (#1976) 2016-07-05 22:07:42 -07:00
Rafael Weinstein
79a446d7b5 MemoryStore doesn't use put-cache (#1798)
MemoryStore doesn't use put-cache
2016-06-13 14:00:23 -07:00
Erik Arvidsson
f20c6465b6 Flow comment first (#1724) 2016-06-03 14:35:21 -07:00
Rafael Weinstein
141b5678a0 Post-binaryEnc cleanup (#1684)
Post-binaryEnc cleanup
2016-05-31 16:58:09 -07:00
Aaron Boodman
e5f288b752 Licensify js/ 2016-05-30 14:32:28 -07:00
Erik Arvidsson
3ae55e01ec JS: Rename RefValue to Ref 2016-05-20 19:18:32 -07:00
Erik Arvidsson
7d8eea4a07 JS: Rename Ref to Hash 2016-05-20 19:18:32 -07:00
Ben Kalman
01a50e9541 Change the async "newList" and friends to sync "new List" constructors (#1554)
Friends: List, Set, Map, Blob, and Commit. This lets us remove a lot of
Promise and async/await bloat.
2016-05-20 15:01:55 -07:00
Chris Masone
917a4d8564 JS: make sure we call close() on Database most of the time
Other than DatasetSpec::value(), this should close all Database
instances that we create. I'm not sure how to deal with that one
case, though.
2016-05-19 16:49:54 -07:00
Erik Arvidsson
d67d1fb924 Make Map use Array<[K, V]> instead of Array<K | V> (#1538) 2016-05-18 15:16:08 -07:00
Erik Arvidsson
643c12172b Noms data structure names (#1525)
* Change to default exports

* Rename NomsX to X in (Blob, List, Map, Set)

* Increment version
2016-05-18 09:26:36 -07:00
Erik Arvidsson
5db7fe8285 JS: Update the collection/struct API to compute the type. (#1502)
When you create or modify a data structure we now compute the type
based on the type of the values in the data structure.

Towards #1491
2016-05-16 10:58:50 -07:00
Erik Arvidsson
58464baef9 Total ordering of values (#1475)
This allows having a set/map of heterogenous elements/keys. To support
this we have to be able to have a total ordering for all noms values.

The ordering is false < true < -999 < 0 < 999 < "" < "a" < "z" < Hash
In other words, Bool < Number < String < * and for comparing non
primitives we compare the hash of the object.

Fixes #1104
Fixes #1312
2016-05-12 10:35:56 -07:00
Erik Arvidsson
014e330315 Rename DataStore to Database (#1448) 2016-05-06 17:37:19 -07:00
Chris Masone
8eba180782 Revert "renaming datastore to database (#1374) - fixes bug #1290"
This reverts commit d77902b323.
2016-05-02 09:01:44 -07:00
Mike Gray
d77902b323 renaming datastore to database (#1374) - fixes bug #1290
* datastore -> database
* fixing bug 1290, renaming datastore to database
2016-05-01 22:02:16 -04:00