Vaci Koblizek
9e6d495d56
add runtime-rpc module and refactor project
2020-11-08 17:24:42 +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
88a8140d70
use Java 14 to compile all modules
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
dependabot[bot]
44a8c1e859
Bump junit from 4.12 to 4.13.1 in /compiler
...
Bumps [junit](https://github.com/junit-team/junit4 ) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases )
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md )
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1 )
Signed-off-by: dependabot[bot] <support@github.com>
2020-10-13 18:21:11 -04:00
David Renshaw
880adcfe5e
set sourceEncoding to UTF-8
2020-05-13 17:56:01 -04:00
David Renshaw
703449e966
invoke 'make' from maven
2020-05-13 17:45:24 -04: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
f98f187538
bump version numbers
2020-05-12 23:03:41 -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
Ben Challenor
ba0c120c77
Idiomatic scala - var -> val
2015-05-03 15:43:33 +01:00
Ben Challenor
28fac634bc
Idiomatic scala - remove explicit return
2015-05-03 15:43:09 +01:00
Ben Challenor
50f4fe9d51
Idiomatic Scala - remove semicolons
...
Note this means that a few newlines have to be added to eliminate
ambiguity.
2015-05-03 15:35:07 +01:00
Ben Challenor
2ec3b6b125
Rename Scala files to match class names
2015-05-03 15:05:41 +01:00
David Renshaw
717d977233
Fix integer overflow issues.
2015-04-20 21:10:52 -04: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
0e8fe55593
Fix integer overflow bugs.
2015-03-08 20:39:44 -04:00
David Renshaw
2b1d5c201e
Fix integer underflow bug.
2015-03-08 20:09:56 -04:00
David Renshaw
6cd61ff149
Prevent CPU amplification attack.
2015-03-03 10:46:42 -05:00