David Lamparter
|
02268ff818
|
Merge branch 'kylemanna' into merge
Conflicts: (manually resolved)
capn-malloc.c
capn-stream.c
capn-test.cpp
capn.c
capn.h
compiler/capnpc-c.c
|
2016-02-28 12:32:59 +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 |
|
Kyle Manna
|
376b63fb81
|
signedness: Fix less obvious issues
* My compilers mark these as errors
* Attempt to be more correct
* Tested on gcc-5.2.0 and clang-3.6.2
|
2015-08-17 18:52:36 -07:00 |
|
Liam Staskawicz
|
0b6f95294e
|
all: use unsigned types for more variables that represent length
resolve build warnings on multiple platforms/toolchains
|
2015-08-04 10:44:22 -07:00 |
|
Baruch Even
|
2bdc5c476a
|
Implement capn_write_fd
|
2014-08-07 17:56:51 +03:00 |
|
Johan De Claville Christiansen
|
d84a635fb0
|
Fixed compilation by removing 32-bit padding
|
2014-03-25 19:12:58 +01:00 |
|
Steven Dee
|
cb26aeac8d
|
Add padding to preserve alignment on 32-bit systems
|
2014-02-26 02:03:17 +00:00 |
|
Steve Dee
|
ca03b34318
|
Implement serialization to buffers
|
2014-02-20 17:13:57 -08:00 |
|
James McKaskill
|
ff44e4df26
|
remove CAPN_COMPOSITE_LIST and add capn_len
|
2013-09-16 16:53:33 -04:00 |
|
James McKaskill
|
59f827e93d
|
change ptrsz to ptrs to free up space in capn_ptr
|
2013-09-13 10:02:03 -04:00 |
|
James McKaskill
|
7397df1216
|
misc minor cleanup
|
2013-09-12 23:57:29 -04:00 |
|
James McKaskill
|
7b0bfece26
|
add version checks
|
2013-09-12 23:28:36 -04:00 |
|
James McKaskill
|
081c783bbf
|
don't autoresolve pointers
|
2013-09-12 17:26:51 -04:00 |
|
James McKaskill
|
e6c57a665e
|
Remove interface code
|
2013-09-12 16:44:20 -04:00 |
|
James McKaskill
|
448021e7e1
|
use create_local
|
2013-09-12 14:42:30 -04:00 |
|
James McKaskill
|
225399e091
|
Header cleanup
|
2013-09-12 13:51:32 -04:00 |
|
James McKaskill
|
7731509861
|
add read/write methods for interfaces
|
2013-05-12 23:10:54 -04:00 |
|
James McKaskill
|
21e7c29a96
|
add interface to base lib and improve handling of empty lists
|
2013-05-12 22:58:48 -04:00 |
|
James McKaskill
|
93f695f77c
|
add constants
|
2013-05-12 17:21:56 -04:00 |
|
James McKaskill
|
c85722874d
|
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.
|
2013-05-12 00:59:47 -04:00 |
|
James McKaskill
|
69b838a092
|
fix capn_setp to copy nulls correctly
|
2013-05-12 00:59:47 -04:00 |
|
James McKaskill
|
95b29a249b
|
remove read/write_float, use to/from_f32 instead
|
2013-05-12 00:59:47 -04:00 |
|
James McKaskill
|
85b7a99429
|
include the capn_segment as a header when allocating
|
2013-05-12 00:59:47 -04:00 |
|
James McKaskill
|
65c23b9218
|
get recursive copy to work
|
2013-05-12 00:59:47 -04:00 |
|
James McKaskill
|
923393d543
|
size -> len and add capn_list* back in
|
2013-05-08 22:38:07 -04:00 |
|
James McKaskill
|
f99af86cb3
|
Move capn_init_* all into capn-malloc.c with a common create and free function
|
2013-05-08 22:35:52 -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 |
|
James McKaskill
|
14ac488681
|
Update C generator to write out read/write functions
|
2013-05-02 00:55:33 -04:00 |
|
James McKaskill
|
3176da4556
|
Cleanup C library and allow it to handle List(U8)->List(U16)
|
2013-05-01 13:37:43 -04:00 |
|
James McKaskill
|
a0f30f5604
|
Add C runtime
|
2013-04-23 01:06:10 -04:00 |
|