David Lamparter c493994e52b Extend .gitignore 08 Mar 2016 David Lamparter 09593a475ed Fix empty-object pointers Pointers are written as offsets to the segment start; leaving p->data
as NULL results in invalid pointers for zero-size objects (particularly,
lists.) 08 Mar 2016 David Lamparter c46dc1972f3 add .a to gitignore 05 Jan 2016 David Lamparter 0cc9d85aaaa fix minor warning in generated code 05 Jan 2016 David Lamparter fe7c0f41d51 link capnpc-c statically 05 Jan 2016 David Lamparter f372dd2c519 beat size_t into code 24 Nov 2015 David Lamparter 14d50b23ce0 Build actual libraries 24 Nov 2015 David Lamparter fb94a4fd669 Build: replace -Werror with -Wextra Werror should never be a default; the set of warnings generated changes
over time and having Werror thus breaks packaging builds randomly
without any change at all in the packaged project. 24 Nov 2015 David Lamparter 7efc906680d Fix build warnings 24 Nov 2015 David Lamparter babe0a191bd add approprate per-file license headers 24 Nov 2015 James McKaskill 36348a23753 M Merge pull request #2 from urbit/capn-write Add TODO and fail on packed writes 21 Feb 2014 Steve Dee 45b95c38d0d Add TODO and fail on packed writes 21 Feb 2014 James McKaskill 9019ca2326d M Merge pull request #1 from urbit/capn-write Implement serialization to buffers 21 Feb 2014 Steve Dee ca03b343185 Implement serialization to buffers 21 Feb 2014 James McKaskill 2c48f47b3de clean up of write_ptr 11 Dec 2013 James McKaskill df3e668f790 Integrate gtest in rather than use gtest-config 11 Dec 2013 James McKaskill ff44e4df268 remove CAPN_COMPOSITE_LIST and add capn_len 16 Sep 2013 James McKaskill 59f827e93d0 change ptrsz to ptrs to free up space in capn_ptr 13 Sep 2013 James McKaskill 7397df12160 misc minor cleanup 13 Sep 2013 James McKaskill 7b0bfece263 add version checks 13 Sep 2013 James McKaskill fc63a080a02 Add special case for capn_setp when handed a far pointer 13 Sep 2013 James McKaskill 081c783bbf0 don't autoresolve pointers 12 Sep 2013 James McKaskill e6c57a665ec Remove interface code 12 Sep 2013 James McKaskill f4f0ccabf89 Add MIT license 12 Sep 2013 James McKaskill bba43e67eaa Add test schema 12 Sep 2013 James McKaskill 9682fb26111 list out constants in declaration order 12 Sep 2013 James McKaskill 448021e7e1e use create_local 12 Sep 2013 James McKaskill ca1d07f6570 Round trip the schema through the compiler 12 Sep 2013 James McKaskill 82e55f6515d declare enums first 12 Sep 2013 James McKaskill cada8df6c22 Decode field slot when we get around to declaring it rather than early as the names aren't resolved yet 12 Sep 2013 James McKaskill 316f470c3b7 Handle reserved words 12 Sep 2013 James McKaskill 225399e0919 Header cleanup 12 Sep 2013 James McKaskill 9f75d0c7a63 Update compiler to support groups/unions 12 Sep 2013 James McKaskill 77315098618 add read/write methods for interfaces 13 May 2013 James McKaskill 21e7c29a962 add interface to base lib and improve handling of empty lists 12 May 2013 James McKaskill 93f695f77c4 add constants 12 May 2013 James McKaskill 2eb6628ae4e add support for default values 12 May 2013 James McKaskill c85722874d1 switch back to capn_root capn_root now returns a ptr that can be used with capn_getp/setp.
This replaces capn_new_root and capn_get_root. 12 May 2013 James McKaskill 69b838a0927 fix capn_setp to copy nulls correctly 12 May 2013 James McKaskill 95b29a249be remove read/write_float, use to/from_f32 instead 12 May 2013 James McKaskill 85b7a994293 include the capn_segment as a header when allocating 12 May 2013 James McKaskill 65c23b92181 get recursive copy to work 12 May 2013 James McKaskill 2ded64d310d Add new and new list funcs 09 May 2013 James McKaskill 3798d34428c rename vars in subcompiler 09 May 2013 James McKaskill e1860e2b4ba bootstrap complete - use generated schema.capnp.(c|h) 09 May 2013 James McKaskill 8db142a9a0f subcompiler now outputs struct defns, get, set, read, write funcs 09 May 2013 James McKaskill 8bb9759e8c1 Move schema.* to schema.capnp.* 09 May 2013 James McKaskill 923393d543f size -> len and add capn_list* back in 09 May 2013 James McKaskill f99af86cb3b Move capn_init_* all into capn-malloc.c with a common create and free function 09 May 2013 James McKaskill c5e771dcd03 Add beginnings of subcompiler 08 May 2013