write the composite header
ReadFromStream fast path (less allocations) for single segment. gofmt.
Add a simple method for marshaling to json.

This adds a simple json dumper to the generated files.
Add MarshalJSON forwarder
Don't import JSON imports when file has no JSON writing types.
Handle TEXT_DATA and lists.

This changes the codegen so that every field get its own block with a redeclaration. Keeps the code handling names and values separate.
Don't declare encoder if not used.

If the encoder wasn't used in a function, the Go compiler would not compile the file.
Add annotation to add doc comments to structs, fields and enums.
Add error checking on JSON formatting
Add missing error check.
Use json.Marshal instead of encoder

Gets rid of some of the nastier pieces of logic in the compiler and doesn't put a newline on the end of each primitive value.
Overhaul packing algorithm

This fixes 2 bugs. One where indexes were mishandled and one where
raw blocks would always be empty.

Also, gofmt
Add documentation about documentation feature.
Make go-capnproto 32-bit compatible

math.MaxUint32 is too big for an int context:
"constant 4294967295 overflows int"

With this change the code compiles and runs on 32-bit machines.
Expand test suite. Still have bugs to fix.
multiBuffer -> MultiBuffer, make MultiBuffer public because otherwise gob could not register/encode a client of go-capnproto
refer to github.com/glycerine/go-capnproto in the generated bindings
make MultiBuffer public because otherwise gob could not register/encode a client of go-capnproto. i.e. multiBuffer -> MultiBuffer
PointerList.Set() method was pretty broken, especially on structs with pointers. Fixed obvious bugs but there may be others.
put a fragement of an aircraft schema into the test.capnp file, to provide for tested struct and union testing