Commit Graph

2532 Commits

Author SHA1 Message Date
Erik Arvidsson c0bd2c90d4 More tweaks to tools/run-all-js-tests.py (#1974)
* Update Splore build.py

* path

* Setup the bin symlinks in preinstall

* Link entire node_modules instead
2016-07-06 13:44:11 -07:00
Aaron Boodman 6243ac01ce Minor fixens to noms command UI (#1978) 2016-07-06 13:14:05 -07:00
Mike Gray a7f29a716d noms as one command line application, with version and help (#1874) 2016-07-06 15:38:25 -04:00
Aaron Boodman e08853070b Update README.md 2016-07-06 10:56:20 -07:00
Aaron Boodman 1d752e3101 Update license: Noms will be copyright Attic Labs. (#1976) 2016-07-05 22:07:42 -07:00
Aaron Boodman 528a4a99bd Update README.md 2016-07-05 16:54:29 -07:00
Erik Arvidsson 983fa59090 Samples js shared 2 (#1973)
* Revert "Revert "Share node_modules for samples/js" (#1967)"

This reverts commit 7bb1623e99.

* Add parent directory to the PATH

* Change run-all-js-tests to run samples/js before samples/js/**

* Fix a temporary comment
2016-07-05 16:25:21 -07:00
Erik Arvidsson 7bb1623e99 Revert "Share node_modules for samples/js" (#1967) 2016-07-05 14:44:21 -07:00
Rafael Weinstein 02be382799 cleanup error output (#1965) 2016-07-05 14:03:56 -07:00
Erik Arvidsson b0ab909e4f Share node_modules between samples/js (#1955)
This is so that we do not need to do npm install 10 times in the
samples directory. Instead we do it once inside samples/js and let
all the sub directories have no dependencies. This works because
nodejs searches the parent directories when looking for a module.

Towards #1888
2016-07-05 13:55:36 -07:00
Aaron Boodman a5b46af232 Update README.md 2016-07-05 12:03:14 -07:00
Aaron Boodman e18d6c7c71 Update README.md 2016-07-05 12:00:54 -07:00
Ben Kalman 305f69f670 Only print status every 100ms (#1954) 2016-07-05 11:27:11 -07:00
Rafael Weinstein 05d0b09779 Add back some error output (#1958) 2016-07-02 06:20:54 -07:00
Aaron Boodman 81660798bf A new take on the homepage after initial round of feedback (#1957) 2016-07-02 00:11:43 -07:00
Mike Gray b2a4aa62b7 removing runtime.GOMAXPROCS calls (#1947) 2016-07-01 17:42:46 -04:00
Aaron Boodman 2921ca343c Part 2: Move things that are not samples out of samples/go (#1944) 2016-07-01 11:58:26 -07:00
Aaron Boodman 2386afc7fb Move stuff that is not samples out of samples directory (#1943)
* Move samples/go/*perf-reg to go/perf/

They aren't really samples.

* Move samples/go/util/check_error.go to go/d

* Remove samples/go/util/client_flags.go - unused

* remove httpcache.go - unused

* Remove samples/go/util/rungen.go - no generated code here anymore

* move NomsValueFromJSON to go/util/jsontonoms
2016-07-01 11:04:17 -07:00
Aaron Boodman fcca02d6b0 Fix crash in hr when dataset spec invalid (#1939)
Also remove test util code from the two simpler Go samples. I think
we will want to distinguish between "samples" and "utilities". The
former should be as easy to understand and lightweight as possible,
while the latter will tend to be more a real part of the project
that is maintained, tuned, relied upon, etc.

The former should only rely on the Noms SDK and the Go stdlib. The
latter should follow normal Noms internal coding conventions.
2016-07-01 10:27:44 -07:00
Ben Kalman 69623deb74 Fix sha1- to #sha1- in doc/cli-tour.md (#1940) 2016-07-01 10:26:32 -07:00
Rafael Weinstein c47cc21d56 Remove more assertions which allocate in non-failure cases (#1942) 2016-07-01 10:09:59 -07:00
Rafael Weinstein 93e0eca51f Type cache (#1865)
Go TypeCache
2016-07-01 09:23:11 -07:00
Rafael Weinstein 6fc16866b4 you get a bufio. you get a bufio... (#1938)
you get a bufio. you get a bufio
2016-07-01 06:22:02 -07:00
Erik Arvidsson 94ce6b2c69 Print out the real port in noms serve (#1937)
If port 0 is used then the os assigns an available port. This
changes so that we print out that port instead.
2016-06-30 17:03:06 -07:00
Ben Kalman 62a15441da Support the @key annotation in paths (#1934) 2016-06-30 10:43:24 -07:00
Erik Arvidsson 0a502c3ee4 Fix some js tests (#1932) 2016-06-29 15:57:53 -07:00
Erik Arvidsson 40a2f661a7 Fix issue with missing size in expected diff output (#1933) 2016-06-29 14:20:10 -07:00
Mike Gray 7a1817d287 channels for orderedSequenceDiff (#1926) 2016-06-29 16:56:46 -04:00
Ben Kalman 038192cfcc Make the spec package support types.Path (#1920) 2016-06-29 13:55:05 -07:00
Erik Arvidsson 0dc12c9e3d HRS: Show the size of containers (#1925)
Fixes #1837
2016-06-28 17:04:08 -07:00
Erik Arvidsson 69f4fde87a HRS: Write blobs as hex (#1924)
Instead of writing blobs using base64 we now write the values as
hex (16 per row)

Blob(00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f\n10)

Towards #1837
2016-06-28 16:17:07 -07:00
Erik Arvidsson ba88abfa9b Remove nomdl parser (#1923)
We are not using this any more...
2016-06-28 13:04:24 -07:00
Ben Kalman 54970c34f0 Add set indexing for paths (#1922) 2016-06-28 10:03:00 -07:00
Rafael Weinstein 55e067802d Reduce size of tmp LDB memtables to 128MB (#1921) 2016-06-27 17:15:57 -07:00
Rafael Weinstein f464a2d94f Map.MX() -> NewStreamingMap (#1918) 2016-06-27 16:06:40 -07:00
Aaron Boodman df51a4aba2 Add LICENSE file (#1919) 2016-06-27 15:53:35 -07:00
Rafael Weinstein aacfe751fa Add (temporary) custom leaf-chunker for blobs (#1911)
Add (temporary) custom leaf-chunker for blobs
2016-06-27 15:16:50 -07:00
cmasone-attic d1f46401d1 Go: Add Mx() for Noms Maps (#1876)
As one step towards #1819, we've created MapMutator, which can take a
bunch of (what would normally be) Map.Set() calls and batch them up to
be applied all at once. The keys and values are held in a LevelDB cache
until everything's done. Usage looks like this:

 m := types.NewMap()
 mx := m.Mx()
 mx = mx.Set(String("foo"), String("bar")).Set(String("baz"), Number(42))
 m = mx.Finish()

We intend to make this the only way to modify collections, but at first
this will only work on an empty NomsMap.
2016-06-27 13:52:52 -07:00
Rafael Weinstein ddb796ee26 parallelize loading of child sequences during list diff (#1910) 2016-06-25 14:02:07 -07:00
Rafael Weinstein 3a27e81a3e Parallelize noms-log (#1896)
Parallelize noms-log
2016-06-25 13:06:28 -07:00
Rafael Weinstein 591093756c Fix goroutine leak in list diff (#1899)
Cleanup goroutines in list diff when closed
2016-06-25 12:13:40 -07:00
Rafael Weinstein 2a04a0abaf Add sizecache to ValueStore (#1909)
Add sizecache to ValueStore.
2016-06-25 07:09:08 -07:00
Mike Gray 9825d9802e fixing bug in max splice matrix size (#1905) 2016-06-24 17:03:31 -07:00
Erik Arvidsson 3a1cf20bec JS: Make fetch response headers a Map again (#1898)
Since we are using browser fetch when available it makes more sense
to use a Map.
2016-06-24 16:46:46 -07:00
Ben Kalman 3d75150b2e Noms version 48.0.0 --> 49.0.0 (#1902) 2016-06-24 12:33:43 -07:00
Erik Arvidsson ead78cb2fb JS: No need for a class for bytes.js (#1897) 2016-06-24 10:51:36 +08:00
Mike Gray 71d4f0eef7 list/indexed diff with go channel for response (#1895) 2016-06-23 17:32:07 -07:00
Ben Kalman 5978c75bfe Support hash indices in paths i.e. .foo[#sha1-abc...] (#1832) 2016-06-23 16:10:53 -07:00
Ben Kalman 0f4ed16641 Meta nodes encode a fake simple ref of non-ordered values (#1893)
Previously when we had an ordered (set/map) prolly tree containing
non-ordered values (blobs/refs/etc), we'd put the ref of the largest
value in each meta node, complete with its full type info and height.

This is wasteful, all we really need is the hash of the largest item for
searching the tree. In lieu of encoding just the hash - which isn't a
value - this patch creates a fake Ref<Boolean> with height 0.
2016-06-23 15:59:26 -07:00
Ben Kalman e7da64ad98 Add tests for sets and maps of 1K and 4K structs (#1866)
In Go: there are already similar tests for numbers, but testing structs
hits the non-scalar value prolly tree code.

In JS: the set and map tests hadn't even been ported from Go, so I
ported most of their functionality.
2016-06-23 14:00:03 -07:00