Dan Willhite
fd7a8973ce
Migrate to use nomsdl codegen.
...
Use shared RemotePhoto object that flick examples uses. Add GeoPos information.
2015-11-02 17:06:13 -08:00
Aaron Boodman
3e5c03887a
Merge pull request #545 from aboodman/toRef
...
Remove compoundObjectToRef from compoundObject
2015-11-02 15:42:50 -08:00
cmasone-attic
6aa2dad19f
Merge pull request #544 from cmasone-attic/fixer
...
Fix botched handling of -in with -out-dir
2015-11-02 15:11:42 -08:00
Rafael Weinstein
1266d778b9
Merge pull request #543 from rafael-atticlabs/sploreJS2
...
splore now uses js2
2015-11-02 14:29:37 -08:00
Rafael Weinstein
8330394fcd
splore now uses js2
2015-11-02 14:23:53 -08:00
Chris Masone
d3162c9081
Fix botched handling of -in with -out-dir
...
The output file should always be emitted relative to -out-dir. I was
incorrectly appending the path to the input file onto that provided in
-out-dir to construct the path to the output file.
2015-11-02 14:14:43 -08:00
Aaron Boodman
c65a776241
Remove compoundObjectToRef from compoundObject
2015-11-02 14:10:03 -08:00
Aaron Boodman
3f4fb1e9f7
Merge pull request #538 from aboodman/blob-future
...
Finish removing Future
2015-11-02 13:52:01 -08:00
Aaron Boodman
0622c8c860
Remove Future
2015-11-02 13:44:47 -08:00
Aaron Boodman
bad6be3037
Remove futureFromValue. Another step toward removing Future.
2015-11-02 13:44:17 -08:00
Aaron Boodman
005a5fe438
Merge pull request #539 from aboodman/list-interface
...
Collapse list.go and list_leaf.go since we only have one impl.
2015-11-02 13:27:48 -08:00
Aaron Boodman
c5b8de8174
Collapse list.go and list_leaf.go since we only have one impl.
2015-11-02 13:20:38 -08:00
cmasone-attic
007ca96c55
Merge pull request #540 from cmasone-attic/issue476
...
Clean up codegen -out-dir flag handling
2015-11-02 12:24:26 -08:00
Chris Masone
a64cee5aab
Clean up codegen -out-dir flag handling
...
Get rid of -out and ensure that Go package names generated from -out-dir
are actually legal Go identifiers.
Fixes #476
2015-11-02 12:17:42 -08:00
Rafael Weinstein
2bbae0907d
Merge pull request #537 from rafael-atticlabs/js2HttpStore
...
(js2) Add HttpStore & more decode/encode support
2015-11-02 11:41:12 -08:00
Rafael Weinstein
9017dced4f
(js2) Add HttpStore & more decode/encode support
2015-11-02 11:24:21 -08:00
Erik Arvidsson
02dda2e161
Merge pull request #530 from arv/compound-type-type-ref-after-mutation
...
Add runtime type assertions for the basic compound types
2015-11-02 12:06:09 -05:00
Erik Arvidsson
89734aae9e
Add runtime type assertions for the basic compound types
...
If we have a List, Map, Set or Ref with a non Value element type we
now check the type of the params to functions that "mutate" these.
2015-11-02 11:57:49 -05:00
Erik Arvidsson
62fad2d615
Merge pull request #536 from arv/equals-by-ref
...
Make Equals compare by Ref (after comparing TypeRef)
2015-10-30 18:35:08 -04:00
Aaron Boodman
894e615696
Merge pull request #535 from aboodman/blob-future
...
Convert NewBlob() away from using resolvedFutures
2015-10-30 15:05:09 -07:00
Erik Arvidsson
3c0ef5bcbb
Make primitives reasonable
2015-10-30 17:33:47 -04:00
Erik Arvidsson
30cc7d518f
Make Equals compare by Ref (after comparing TypeRef)
...
This changes equal to compare by ref. Since computing the ref can be
expensive we first check that the type refs are equal.
Fixes #532
2015-10-30 16:50:49 -04:00
Aaron Boodman
c52bf0bbf5
Convert NewBlob() away from using resolvedFutures
...
Instead, use a backing MemoryStore. This is part of removing Futures.
2015-10-30 12:50:56 -07:00
Dan Willhite
700ad2d789
Merge pull request #507 from willhite/client-updates
...
Move common code into a common dir/pkg and make work with nomsdl.
2015-10-30 10:47:41 -07:00
Dan Willhite
80be862fda
Regroup common code.
2015-10-30 10:36:34 -07:00
Dan Willhite
42bac09422
Make sfcrime/quad_tree apps work with new nomsdl types.
...
Change generated files to <base>.noms.go
2015-10-30 10:23:15 -07:00
Rafael Weinstein
7874665682
Merge pull request #531 from rafael-atticlabs/nomsJS
...
add main(noms.js) and decodeNomsValue
2015-10-30 10:07:28 -07:00
Rafael Weinstein
09b5330d8b
add main(noms.js) and decodeNomsValue
2015-10-30 10:03:49 -07:00
Aaron Boodman
a9bc416a2f
Change Chunks() to return []ref.Ref
2015-10-30 09:24:58 -07:00
Aaron Boodman
c182662178
Merge pull request #533 from aboodman/godebug
...
Silence invalidptr errors in Go
2015-10-30 09:22:17 -07:00
Aaron Boodman
30c52fec67
Silence invalidptr errors in Go
2015-10-30 09:16:01 -07:00
Rafael Weinstein
982d96b4f0
Merge pull request #528 from rafael-atticlabs/jsSerializer
...
(js2) ChunkSerializer
2015-10-30 07:42:35 -07:00
Rafael Weinstein
da11f0e9d7
(js2) ChunkSerializer
2015-10-30 07:41:40 -07:00
Aaron Boodman
79aac9ea2e
Merge pull request #527 from aboodman/nomgen
...
Remove nomgen
2015-10-30 07:07:11 -07:00
Erik Arvidsson
25e145c7fd
Merge pull request #524 from arv/set-type-ref
...
Make Set TypeRef per instance
2015-10-30 09:49:19 -04:00
Erik Arvidsson
448edf2eb7
Merge pull request #523 from arv/map-type-ref
...
Make Map TypeRef per instance
2015-10-30 09:49:09 -04:00
Erik Arvidsson
f0b8ec112e
Merge pull request #522 from arv/ref-type-ref
...
Make types.Ref TypeRef per instance
2015-10-30 09:48:58 -04:00
Erik Arvidsson
ffcb49fc72
Merge pull request #521 from arv/list-type-ref
...
Make List TypeRef per instance
2015-10-30 09:48:42 -04:00
Rafael Weinstein
3c7f7ed156
minor cleanup to js2
2015-10-29 19:28:23 -07:00
Aaron Boodman
624a97694c
Remove nomgen
2015-10-29 17:59:55 -07:00
Rafael Weinstein
d1437b734c
Merge pull request #525 from rafael-atticlabs/textEncodingJS
...
ref & chunk now use Uint8Array and use TextEncoder/Decoder to convert to/from Strings
2015-10-29 17:05:08 -07:00
Rafael Weinstein
268b69deab
ref & chunk now use Uint8Array
2015-10-29 17:02:14 -07:00
Erik Arvidsson
cf8cdbd55a
Make Set TypeRef per instance
...
This is so that we can use type.Set for "unknown" set types when
decoding chunks.
2015-10-29 18:32:36 -04:00
Erik Arvidsson
66fd0881c7
Make Map TypeRef per instance
...
This is so that we can use type.Map for "unknown" map types when
decoding chunks.
2015-10-29 18:13:44 -04:00
Erik Arvidsson
9452b2c9a7
Make types.Ref TypeRef per instance
...
This is so that we can use type.Ref for "unknown" ref types when
decoding chunks.
2015-10-29 17:47:35 -04:00
Erik Arvidsson
c87f18b039
Make List TypeRef per instance
...
This is so that we can use type.List for "unknown" list types when
decoding chunks.
2015-10-29 17:11:36 -04:00
Erik Arvidsson
b8e3e915b1
Merge pull request #520 from arv/list-no-future
...
Get rid of future from List
2015-10-29 17:00:11 -04:00
Erik Arvidsson
67f06a38b5
Get rid of future from List
...
There were a few remnants of Future in list
2015-10-29 16:54:15 -04:00
Rafael Weinstein
ede32c1e58
Merge pull request #519 from rafael-atticlabs/decodeStructs
...
(js2) Minimal support for decoding structs
2015-10-29 11:22:23 -07:00
Rafael Weinstein
dbd8391929
(js2) Minimal support for decoding structs
2015-10-29 11:19:10 -07:00