David Lamparter
b55d847db6
Re-fix signed/unsigned warnings
2016-02-28 12:42:52 +01:00
David Lamparter
0ddba4f2f1
Merge branch 'baruch' into merge
...
Conflicts:
Makefile -- manually resolved
compiler/schema.capnp -- used from liamstask
compiler/test.capnp -- used from liamstask
2016-02-28 12:17:57 +01:00
David Lamparter
d87beb1a09
gtest: use installed package, drop files
...
(also makes the next merge much easier)
2016-02-28 12:08:28 +01:00
David Lamparter
6ebc0682eb
gtest: use installed package, drop files
...
(also makes the next merge much easier)
2016-02-28 12:08:10 +01:00
Liam Staskawicz
28e13e55d7
build: require c++11 for gtest, and link test exe against pthreads (linux build fails without it)
2015-08-04 10:24:57 -07:00
Liam Staskawicz
97dcc053ef
gtest: remove modified gtest-all-test.cpp, and build unmodified, vendored gtest-all.cpp
...
builds cleanly (minus a couple warnings in the test code itself) on OS X 10.10.4 with “Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)”
2015-07-29 22:45:20 -07:00
Baruch Even
54ca88f6ac
Simpler makefile
...
No real need to build a gtest archive, gtest-all.cc includes all the
files so a single .o is fine.
2014-08-03 22:28:41 +03:00
Baruch Even
20bd625dc2
Fix build
...
Renamed gtest/include to gtest/gtest since that's what the include files
expected.
Adjusted the Makefile to work through it all.
2014-08-03 22:18:08 +03:00
Johan De Claville Christiansen
d84a635fb0
Fixed compilation by removing 32-bit padding
2014-03-25 19:12:58 +01:00
Johan De Claville Christiansen
bf5eb7f92c
Added gtest 1.6.0, since the included version lacked the headers
2014-03-25 18:55:18 +01:00
Johan De Claville Christiansen
1eb82b0f4a
Added install target
2014-03-25 18:00:41 +01:00
Steve Dee
f0dc17cede
Static capnpc-c
2014-02-05 15:05:26 -08:00
Steve Dee
859ab61a07
Add capn.a target
2014-02-05 14:02:35 -08:00
James McKaskill
df3e668f79
Integrate gtest in rather than use gtest-config
2013-12-10 20:33:33 -05:00
James McKaskill
7397df1216
misc minor cleanup
2013-09-12 23:57:29 -04:00
James McKaskill
bba43e67ea
Add test schema
2013-09-12 14:55:42 -04:00
James McKaskill
9f75d0c7a6
Update compiler to support groups/unions
2013-09-12 13:49:19 -04:00
James McKaskill
2ded64d310
Add new and new list funcs
2013-05-08 23:17:21 -04:00
James McKaskill
8db142a9a0
subcompiler now outputs struct defns, get, set, read, write funcs
2013-05-08 23:04:06 -04:00
James McKaskill
8bb9759e8c
Move schema.* to schema.capnp.*
2013-05-08 22:57:35 -04:00
James McKaskill
c5e771dcd0
Add beginnings of subcompiler
2013-05-07 22:54:30 -04:00
James McKaskill
3f29732c69
Add capn_init_(fp|mem) to read a stream from file/memory
...
Packed form still to be tested
2013-05-07 22:48:46 -04:00
James McKaskill
b8da11676a
Pass capn_ptr by value, better handling of tags
2013-05-07 22:44:21 -04:00
James McKaskill
3a235fe8c6
Add unit test for memory layout based off the Kenton's layout-test.c++ and whole slew of fixes to get the test to pass
2013-05-07 11:04:49 -04:00
James McKaskill
12d72511b1
Add capn_(inflate|deflate) for converting to/from the packed form
2013-05-06 01:15:24 -04:00
James McKaskill
e0a5769d06
Add capn_init_malloc to provide a malloc based create function
2013-05-06 00:03:17 -04:00
James McKaskill
edfcaf9d34
Update capn_write_ptr to handle recursive structures when copying
2013-05-05 19:30:33 -04:00