Commit Graph

1255 Commits

Author SHA1 Message Date
Benjamin Kalman c5a6382d25 Implement compoundList Set/Insert/Remove/RemoveAt. 2015-12-14 13:23:48 -08:00
Ben Kalman 798e7fac7e Merge pull request #759 from kalman/map-ref-order
Make types.Ref implement the OrderedValue interface.
2015-12-14 11:29:48 -08:00
Benjamin Kalman 9a3e73779d Make types.Ref implement the OrderedValue interface.
This fixes the bug where compoundSets/Maps of refs are ordered by their
type.Ref's Ref, rather than their type.Ref's TargetRef.
2015-12-14 11:28:38 -08:00
Dan Willhite 2fd607b2f6 Merge pull request #762 from willhite/crunchbase-fix
Fix cut and paste error in crunchbase importer.
2015-12-14 10:56:51 -08:00
Dan Willhite 113f526785 Fix cut and paste error in crunchbase importer. 2015-12-14 10:30:30 -08:00
Rafael Weinstein 347b9f44df Merge pull request #746 from rafael-atticlabs/setIntersect
NomsSet.intersect
2015-12-14 08:08:41 -08:00
Rafael Weinstein 4d95278ec8 NomsSet.intersect 2015-12-14 08:08:10 -08:00
Rafael Weinstein f81bf306e5 Merge pull request #760 from rafael-atticlabs/sploreFormatKeyString
splore: formatKeyString for CompoundObjects
2015-12-14 07:45:58 -08:00
Rafael Weinstein bf21decb70 splore 2015-12-14 07:42:51 -08:00
Erik Arvidsson 7c43a2b49d Merge pull request #751 from arv/encode-numbers-as-strings
Go: Encode numbers as strings
2015-12-14 09:49:34 -05:00
Erik Arvidsson 5a94b87cbb JS: Encode numbers as strings 2015-12-14 09:21:43 -05:00
Erik Arvidsson 796c11b0f7 Make sure floats are encoded in a more restricted format 2015-12-12 17:34:47 -05:00
cmasone-attic 6b13f57148 Merge pull request #753 from cmasone-attic/issue677
Move build scripts to python
2015-12-11 16:50:37 -08:00
Ben Kalman 142bbe59ed Merge pull request #747 from kalman/cs-slice
Implement compoundList.Slice.
2015-12-11 16:08:48 -08:00
Chris Masone 841ac0f088 Remove crunchbase/ui/build.go 2015-12-11 15:17:32 -08:00
Chris Masone 6e316d9975 Move build scripts to python
Finding and running build scripts remains in Go
(tools/run_all_build.go and supporting libs), but the build scripts
themselves are in python now.  This is because Go doesn't have much
support for copying files and directories around, which is kind of the
primary focus of build and packaging scripts.

Towards issue 677
2015-12-11 14:46:16 -08:00
Erik Arvidsson 40d164fe47 Go: Encode numbers as strings
Because JSON encoders encode numbers differently we cannot just use
numbers in the output.

This still encodes the NomsKind as numbers.

Towards #749
2015-12-11 16:30:07 -05:00
Benjamin Kalman 26848de0e7 Implement compoundList.Slice. 2015-12-10 15:46:24 -08:00
Rafael Weinstein 6467c042c2 Merge pull request #740 from rafael-atticlabs/jsCompoundObjects
JS Support for Compound Objects
2015-12-10 15:04:19 -08:00
Rafael Weinstein fe01f333a1 JS Support for Compound Objects 2015-12-10 15:04:02 -08:00
Aaron Boodman 54c4ef3e45 Merge pull request #745 from aboodman/typo
crunchbase/ui: fix typo
2015-12-10 15:01:04 -08:00
Aaron Boodman a5a9ebbaab crunchbase/ui: fix typo 2015-12-10 15:00:14 -08:00
Dan Willhite 38b55d0e6f Merge pull request #738 from willhite/b-736
Make crunchbase importer more resilient to changes in spreadsheet for…
2015-12-10 10:10:30 -08:00
Dan Willhite e496a31416 Make crunchbase importer more resilient to changes in spreadsheet format.
Fixes #736.
2015-12-10 09:18:08 -08:00
Rafael Weinstein 4db4ec764b Merge pull request #734 from rafael-atticlabs/fixCrunchbase
Fix crunchbase importer
2015-12-09 15:39:02 -08:00
Rafael Weinstein dc58008226 Fix crunchbase importer 2015-12-09 15:16:00 -08:00
Erik Arvidsson f4b339f0ab Merge pull request #735 from arv/fix-deps
Fix missing npm dep
2015-12-09 17:50:08 -05:00
Erik Arvidsson 2c5063013b Fix missing npm dep 2015-12-09 17:34:59 -05:00
Erik Arvidsson 2bd585c1a0 Merge pull request #733 from arv/js-watch
JS: Add watch support to copying flow files
2015-12-09 16:59:46 -05:00
Erik Arvidsson 325eecdc48 JS: Add watch support to copying flow files 2015-12-09 16:34:03 -05:00
cmasone-attic 13bc0f239c Merge pull request #731 from cmasone-attic/issue677
Preserve environment when running subprocesses.
2015-12-09 12:05:13 -08:00
Chris Masone 2a5747bd19 Preserve environment when running subprocesses.
Trying to whitelist needed env vars is just going to be a maintenance
headache, so don't do it.
2015-12-09 10:51:17 -08:00
Ben Kalman 3645fd1465 Merge pull request #726 from kalman/sc-no-nze
Change list/blob chunk values to be their length, not cumulative length.
2015-12-09 10:49:33 -08:00
Benjamin Kalman 5ab90e8ae1 Change list/blob chunk values to be their length, not cumulative length.
This is simpler for chunking, since it no longer needs to "normalize"
the values when re-chunking. It's a bit less efficient because instead
of binary searching we need to linear search through chunk values.
2015-12-09 10:38:06 -08:00
Erik Arvidsson a53bfe6700 Merge pull request #728 from arv/babel-async-gen
JS: Add support for compiling in dev mode
2015-12-09 13:13:42 -05:00
Erik Arvidsson 1aa72eafd1 Also set BABEL_ENV in the build shell scripts 2015-12-09 13:03:43 -05:00
Erik Arvidsson f31ea22051 JS: Add support for compiling in dev mode
When in dev mode we compile async functions to generators.

We also keep features that are available in Node5 and Chrome 47.
2015-12-09 12:34:33 -05:00
Erik Arvidsson f04aa8ebc0 Merge pull request #727 from arv/flow-update
Update flow to 0.19 and fix new errors it found
2015-12-08 19:44:23 -05:00
Erik Arvidsson a16d9569f9 Resolve to empty chunk in cae of failure 2015-12-08 19:40:53 -05:00
Rafael Weinstein 9f9dbe9872 Merge pull request #724 from rafael-atticlabs/compoundMapAndSet
Compound Map & Set
2015-12-08 16:25:47 -08:00
Rafael Weinstein d198036618 Compound Map & Set 2015-12-08 16:25:02 -08:00
Erik Arvidsson bc301ddaf0 Use // for flow pragma 2015-12-08 19:20:20 -05:00
Erik Arvidsson 42eb0752f5 Update flow to 0.19 and fix new errors it found 2015-12-08 19:15:09 -05:00
Dan Willhite 5adef22055 Merge pull request #723 from willhite/b-693
Add hasCache to datastore.
2015-12-08 13:07:50 -08:00
Erik Arvidsson 5fc7965c33 Merge pull request #722 from arv/cb-end-to-end
CrunchBase UI: Hook up the data to the backend
2015-12-08 16:07:09 -05:00
Erik Arvidsson b72d7cb323 CrunchBase UI: Hook up the data to the backend
This changes the indexer to only index what we need since without
chunked maps there is too much data to transfer and decode.

The graph is also changed to a line graph since using a bar chart
for this is not very intuitive.
2015-12-08 15:51:10 -05:00
Dan Willhite 2018863432 Add hasCache to datastore.
Fixes #693.
2015-12-08 11:22:50 -08:00
cmasone-attic 13c7eeeb8c Merge pull request #720 from cmasone-attic/issue677
Correctly add GOROOT to empty subprocess environments
2015-12-05 16:47:40 -08:00
Chris Masone 2fd0d57c16 Correctly add GOROOT to empty subprocess environments
The way I was forcing GOROOT wound up clearing the execution environment
of subprocesses when the caller intended to simply re-use the current
execution environment. This path correctly adds GOROOT in all cases.
2015-12-05 16:38:41 -08:00
Ben Kalman 986a7dd491 Merge pull request #719 from kalman/unify-cursor
Combine metaSequenceCursor/sequenceChunkerCursor as sequenceCursor.
2015-12-04 17:04:01 -08:00