Vaci Koblizek
59977b53fe
generate client methods and add streaming
2020-10-22 15:55:11 +01:00
Vaci Koblizek
218529deae
add client factory for AnyPointer accessor
2020-10-22 15:55:11 +01:00
Vaci Koblizek
3b0e3f37a0
generate (non-generic) interfaces and capability accessors
2020-10-22 15:55:11 +01:00
David Renshaw
7da9686191
fix comparisons of different enum types
2020-05-13 17:19:55 -04:00
Amer Banet
cb0fdba7b8
Fixed code generator. Added missing union type initialization when using lists in unions.
2016-12-16 20:13:34 +01:00
David Renshaw
99107e64a5
cover some more cases
2016-09-19 15:52:30 -04:00
David Renshaw
7da1dc8159
get codegen working on GenericMap example
2016-09-19 14:59:20 -04:00
David Renshaw
037bebfb9c
Fully qualify class names so that cross-package references work.
2015-12-07 15:34:21 -05:00
dvdreddy
b56b91531c
Fix setting default vals for Enums
...
Currently since we are xoring the default value in
the enums, if a enum field is set and then queries
you will encouter wrong values being returned. Adding
the xor offset in the generated code fixes this. Also
added a small test for this check
2015-03-11 17:40:54 -04:00
David Renshaw
86deb83f82
error messages that point to java.capnp
2015-02-16 12:46:35 -05:00
David Renshaw
2472fad686
add Make recipe for cross compiling capnpc-java to win32
2015-02-16 10:54:47 -05:00
David Renshaw
aa25559900
add version check
2014-11-29 08:50:43 -05:00
David Renshaw
18b03eae8a
list of generic structs
2014-10-29 10:28:25 -04:00
David Renshaw
46e5e77cc8
setters for fields of generic structs
2014-10-29 10:03:17 -04:00
David Renshaw
5f98572b7c
setter method for constrained anypointer fields
2014-10-29 09:26:50 -04:00
David Renshaw
bf3384c926
simplification
2014-10-28 20:17:33 -04:00
David Renshaw
dabb9a6ee6
use wildcards
2014-10-28 19:43:25 -04:00
David Renshaw
a578dd1332
drat, this doesn't quite work
2014-10-28 18:23:51 -04:00
David Renshaw
3d8537521c
adjust where the dot gets put in
2014-10-28 17:59:02 -04:00
David Renshaw
2557bd30c9
more
2014-10-28 17:34:54 -04:00
David Renshaw
71c77a97f8
a bit more cleanup
2014-10-28 17:28:28 -04:00
David Renshaw
5f4a5f79ed
some cleanup
2014-10-28 17:27:02 -04:00
David Renshaw
20c20702e1
plugging things in
2014-10-28 15:54:40 -04:00
David Renshaw
252703ddfa
progress
2014-10-28 14:28:49 -04:00
David Renshaw
6403f605aa
update typeName and javaFullName to take capnp::Type
2014-10-28 13:17:02 -04:00
David Renshaw
4870faf255
init methods for generic fields
2014-10-28 12:51:01 -04:00
David Renshaw
77242cd15d
getters
2014-10-28 11:47:29 -04:00
David Renshaw
2da0d65423
fewer type parameters
2014-10-28 09:21:45 -04:00
David Renshaw
b771c3baa4
reader factories
2014-10-27 21:36:57 -04:00
David Renshaw
4c2b7668f0
working with factories
2014-10-27 21:14:16 -04:00
David Renshaw
28b68ffcd2
parameterize the struct factory
2014-10-27 14:46:16 -04:00
David Renshaw
d1a2ce4049
a start on generics
2014-10-27 13:29:16 -04:00
David Renshaw
39eb2ed557
remove unused code
2014-10-27 10:57:44 -04:00
David Renshaw
3276d59dbd
more cleanup
2014-10-27 09:57:13 -04:00
David Renshaw
8cd317c2b1
remove privateDecls
2014-10-27 09:53:41 -04:00
David Renshaw
29a51b067a
get rid of bit0Offset
2014-10-26 10:13:12 -04:00
David Renshaw
9c5b64b98b
get rid of struct list packing optimization
2014-10-26 09:31:09 -04:00
David Renshaw
8599ffc7a7
stop using getDependency()
2014-10-25 22:01:33 -04:00
David Renshaw
7c4d715421
extends -> superclasses
2014-10-25 16:30:21 -04:00
David Renshaw
26f1474fc0
_UNKNOWN -> _NOT_IN_SCHEMA
2014-10-12 09:41:36 -04:00
David Renshaw
610520d8e2
explicit IDs for java annotations
2014-10-12 09:20:42 -04:00
David Renshaw
c941f5960f
FieldSize -> ElementSize
2014-10-11 09:25:31 -04:00
David Renshaw
f262701b4e
java_support -> capnp
2014-10-10 10:21:46 -04:00
David Renshaw
f4e7c33e93
update capnpc-java license
2014-10-08 16:02:44 -04:00
David Renshaw
7aead0ce75
preallocate StructList factories. remove makeListListFactoryArg
2014-10-08 13:05:48 -04:00
David Renshaw
6e9a325ca5
eradicate PointerBuilder
2014-10-08 12:22:58 -04:00
David Renshaw
b876c52ecd
get rid of PointerReader
2014-10-08 11:12:52 -04:00
David Renshaw
1cef64e2da
Text.factory, Data.factory
2014-10-08 11:00:22 -04:00
David Renshaw
dce3c46cf1
avoiding allocations of PointerReader and PointerBuilder
2014-10-08 09:24:48 -04:00
David Renshaw
4d842f0ef7
abstracting
2014-10-07 22:35:08 -04:00