Commit graph

210 commits

Author SHA1 Message Date
jan
3119bb5fab Fix generic structs with non-generic interface as type parameter. 2022-03-21 01:27:06 +01:00
Vaci Koblizek
9a32482541 Merge remote-tracking branch 'sandstorm/master' into vaci/merge2 2021-11-10 11:15:53 +00:00
David Renshaw
ab303cbc28 add more robustness to integer wrapping problems 2021-10-08 14:24:22 -04:00
David Renshaw
104fb11104 add bounds checking in readListPointer 2021-10-01 21:59:21 -04:00
David Renshaw
9293ef5bf6 get things compiling again 2021-05-09 14:31:32 -04:00
Vaci Koblizek
837f1b324c add AnyList 2020-11-30 20:22:36 +00:00
Vaci Koblizek
2d072a6b12 implement streaming requests 2020-11-25 15:47:02 +00:00
Vaci Koblizek
e314d26ab3 use sendInternal rather than calling hook directly 2020-11-20 16:35:38 +00:00
Vaci Koblizek
f3bb329e96 generalise AnyPointer setAs AnyPointer 2020-11-10 11:42:23 +00:00
Vaci Koblizek
91a93734e1 generalise AnyPointer setAs AnyPointer 2020-11-10 11:34:26 +00:00
Vaci Koblizek
dcd9eb37c7 add override to set clients from completablefutures 2020-11-09 21:43:32 +00:00
Vaci Koblizek
40aebeecee Move compiler test package to correct directory 2020-11-09 20:30:23 +00:00
Vaci Koblizek
cefd8eaaa2 add AnyStruct 2020-11-09 18:08:56 +00:00
Vaci Koblizek
cee3aa79ae set AnyPointer from AnyPointer 2020-11-09 18:08:00 +00:00
Vaci Koblizek
f8cdfdea09 set AnyPointer from AnyPointer 2020-11-09 18:02:05 +00:00
Vaci Koblizek
0283fc5c2d add lite mode for compiler 2020-11-07 16:56:01 +00:00
Vaci Koblizek
6b8898c27b make noop public 2020-11-07 16:01:07 +00:00
Vaci Koblizek
d2d851d630 stub out generic pipeline accessors, for now 2020-11-06 13:58:36 +00:00
Vaci Koblizek
95787f1e55 skip non-generic nodes when traversing for generic params
Fixes pipeline generation for TestGenericsWrapper2.
2020-11-06 13:58:36 +00:00
Vaci Koblizek
9d023f0449 fix generic pipeline params. add (non-generic, for now) capability list 2020-11-05 21:38:43 +00:00
Vaci Koblizek
407d25c8c2 tidy up interface generation 2020-11-05 17:59:05 +00:00
Vaci Koblizek
dba99ca17a combine javaFullName methods 2020-11-05 17:59:05 +00:00
Vaci Koblizek
069da9b0ad tidy up generated output and remove dead code 2020-11-05 17:59:05 +00:00
Vaci Koblizek
d515500996 get rid of PipelineBase and PipelineImpl again 2020-11-05 17:59:05 +00:00
Vaci Koblizek
8eacc8cada major refactor of RemotePromise and Pipeline 2020-11-05 17:59:05 +00:00
Vaci Koblizek
2d8fe31a59 generic interface generation (WIP 2020-11-05 17:59:05 +00:00
Vaci Koblizek
9268494421 Generate generic pipelines 2020-10-22 18:07:15 +01:00
Vaci Koblizek
730ca1abf5 question cleanup 2020-10-22 15:55:11 +01:00
Vaci Koblizek
dea4d2d3c0 implement bulk of pipelining logic 2020-10-22 15:55:11 +01:00
Vaci Koblizek
606dd26d48 generate pipelines, add AnyPointer.Pipeline 2020-10-22 15:55:11 +01:00
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
David Renshaw
4cc34896b4 add StructList.newFactory method, allowing type parameters to be inferred 2020-05-12 23:29:16 -04:00
David Renshaw
79ffb37b4c sbt -> maven, scalatest -> junit 2020-05-12 20:17:47 -04:00
David Renshaw
c6762ff0f7 implement StructList.Builder.setWithCaveats() 2019-03-23 10:32:01 -04:00
David Renshaw
f4411ba2c7 implement asReader() for list types 2018-02-03 14:17:42 -05:00
David Renshaw
5b0afb58f3 add test case for #59 2017-12-13 21:45:49 -05:00
David Renshaw
755a2d38fb remove debug write 2017-02-27 18:43:08 -05:00
David Renshaw
14237610fb Fix bug in double-far creation and add StructListUpgradeDoubleFar test. 2017-02-27 18:42:38 -05:00
David Renshaw
2c43bd712f add Unions test 2016-12-16 14:50:43 -05: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
4b75ac38a4 Oops, forgot to check in the schema. 2015-12-07 15:35:36 -05:00
David Renshaw
037bebfb9c Fully qualify class names so that cross-package references work. 2015-12-07 15:34:21 -05:00
David Renshaw
2127084a53 Update ByteBuffer.position() one last time before returning from Serialize.read(). 2015-08-17 22:13:06 -04:00
David Renshaw
755844c81a Add test for computSerializedSizeInWords(). 2015-06-13 15:15:59 -07:00
David Renshaw
49a5c6ba64 Implementent MessageBuilder.getRoot() and MessageBuilder.setRoot(). 2015-06-11 22:40:30 -04:00