Commit Graph

35 Commits

Author SHA1 Message Date
Ben Kalman 1116a05792 Fix Splore node labels in Firefox (#2264) 2016-08-03 22:54:03 -07:00
Erik Arvidsson 619a07298f Splore: Use demo.noms.io as the default database (#2219)
Changes the default database to `https://demo.noms.io/cli-tour`

Fixes #2217
2016-08-01 09:16:06 -07:00
Erik Arvidsson 7a4436e9b5 Remove Type name property (#2161)
Only struct types have a name property and this was left over from
an earlier refactoring.
2016-07-26 15:31:43 -07:00
Rafael Weinstein 717745f2fc Refactor sequence_chunker.Done() (#2076)
Go SequenceChunker Refactor
2016-07-21 14:51:32 -07:00
Erik Arvidsson 984fef226f Change dataset CommitWithParents to Commit with options (#2095)
The new API is `ds.Commit(value, CommitOptions{Parents: p})`

Related to #2012
2016-07-19 14:30:59 -07:00
Rafael Weinstein 890433e864 Reland js type cache (#2032)
Reland js type cache (#2032)
2016-07-13 15:23:23 -07:00
Erik Arvidsson b830762f49 Fix some copyright headers (#2026) 2016-07-12 16:02:32 -07:00
Rafael Weinstein 94a27139c7 bump noms npm version & update codec-perf-rig numbers (#2016) 2016-07-11 16:54:12 -07:00
Erik Arvidsson abff0f247f Make go test ./... and go build ./... work with integration tests (#2005)
For go build we need a dummy go file or go build fails

For go test we now make sure we run npm install so that the test
passes
2016-07-11 11:01:51 -07:00
Erik Arvidsson 410a1664ba Create symlinks from npm i (#1996) 2016-07-08 13:47:00 -07:00
Erik Arvidsson 899ed35e55 Symlinks needed by other heaps of peeps (#1995) 2016-07-08 13:40:19 -07:00
Erik Arvidsson 96ed40bbb5 Setup symlinks again (#1994) 2016-07-08 13:33:01 -07:00
Erik Arvidsson 88fd487f00 Splore deployment (#1992)
Make sure we run npm install in js first
2016-07-08 11:46:10 -07:00
Ben Kalman 68e16f338e Fix noms browser fetch and splore layout (#1989) 2016-07-07 18:19:18 -07:00
Rafael Weinstein ee5c0f3a72 MakeStructType and NewStructWithType now takes slices rather than maps (#1945)
NewStructType and NewStructWithType now takes slices rather than maps
2016-07-07 16:36:48 -07:00
Rafael Weinstein c38c884810 Checking last codec perf numbers (#1986) 2016-07-07 15:18:28 -07:00
Erik Arvidsson fb4c8624a0 JS integration tests for samples/js/{counter,fs} (#1951)
This adds some a basic integration tests for sample/js/{counter,fs}.

It work pretty much like this:

- Run `npm install`
- Do setup (good place to initialize the database) (optional).
- Start a http store from go.
- Run `node . <args...>`. The IntegrationTestSuite has convenience
  methods to get the spec.
- Do teardown, which is a good time to check the output and the current state of the db (optional).

Towards #1888
2016-07-07 14:00:32 -07:00
Erik Arvidsson 4e4cbd323c Update samples/js/**/README (#1979) 2016-07-06 14:20:05 -07:00
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 1d752e3101 Update license: Noms will be copyright Attic Labs. (#1976) 2016-07-05 22:07:42 -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
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
Erik Arvidsson 0a502c3ee4 Fix some js tests (#1932) 2016-06-29 15:57:53 -07:00
Aaron Boodman 870183f22b samples/js/fs: remove extraneous ref links (#1886) 2016-06-23 05:26:01 -07:00
Erik Arvidsson ebd9a88d23 JS: Fix http batch store (#1885)
There were a few issues here:

1. The version header was not always passed to fetch
2. HTTP headers are case insensitive and Node an Fetch uses lower case.
3. The old code used a Map instead of an object as map. Node and Fetch
   uses an object as map. Now we just pass along the response headers.

Fixes #1881
Closes #1880 (which this is partially based in)
2016-06-23 17:41:56 +08:00
Erik Arvidsson 123544c4f7 Fix samples/js/fs (#1884)
The values did not match the type declaration
2016-06-23 16:34:47 +08:00
Dan Willhite 7c6048cc67 Set noms version of splore to latest version. 2016-06-16 16:58:00 -07:00
Dan Willhite a3a78d695d Add HeadValue() and MaybeHeadValue() to dataset.go and js equivalents
Fixes #1801.
2016-06-15 11:16:25 -07:00
Rafael Weinstein 3633a8433d jsCodecPerfRig (#1796) 2016-06-11 09:11:11 -07:00
Erik Arvidsson ee21e6b9de Fix samples/js (#1755) 2016-06-08 13:35:57 -07:00
Erik Arvidsson 4af0ca1efb Fix issue with in browser Hash (#1738)
Also, make Hash not copy the bytes.
2016-06-06 17:11:34 -07:00
Erik Arvidsson e4b7d13416 Add license field to all the package.json file (#1742)
Issue #1307
2016-06-06 16:56:10 -07:00
Mike Gray 7b914891a5 adding initial encoding test harness (#1653) 2016-06-06 15:38:09 -04:00
Aaron Boodman 8aab8924d1 Rename clients to samples 2016-06-05 02:37:28 -07:00