David Renshaw
e89dfd9f74
Merge pull request #84 from capnproto/maven
...
sbt -> maven, scalatest -> junit
2020-05-12 20:31:20 -04:00
David Renshaw
79ffb37b4c
sbt -> maven, scalatest -> junit
2020-05-12 20:17:47 -04:00
David Renshaw
0e99996372
Throw exception on 0-byte read.
2020-05-08 09:09:18 -04:00
Yann Massard
a16a8b517c
#78 improve exception handling
2020-04-29 07:42:51 -04:00
Alexander Böhn
37d067797a
Bump the C++ standard flag up to -c++14
...
… the current version of `kj` requires C++14 at a minimum; this change keeps the build of `capnpc-java` from erroring out.
2020-03-03 22:06:06 -05:00
David Renshaw
4f514ad1a0
drop openjdk7 (after seeing it segfault on travis)
2019-08-18 12:23:52 -04:00
David Renshaw
1ff258d090
Build with c++14. Upgrade capnproto-c++ to 0.7.0 in travis config.
2019-08-18 12:06:33 -04:00
David Renshaw
debd250ddc
prepare for v0.1.4 release
2019-05-27 09:05:23 -04:00
David Renshaw
09eec64941
make Allocator public
2019-05-20 18:12:19 -04:00
David Renshaw
1d51317074
update benchmark to use scratch space if requested
2019-05-04 11:09:07 -04:00
David Renshaw
f00f02de77
make DefaultAllocator public and add a default constructor
2019-05-04 10:43:51 -04:00
David Renshaw
755114c1a3
implement scratch space reuse
2019-05-04 10:33:55 -04:00
David Renshaw
3c60400dae
make SUGGESTED_FIRST_SEGMENT_WORDS the default
2019-05-04 09:33:09 -04:00
David Renshaw
0ff0cfa338
support custom allocators for builder segments
2019-05-04 09:33:09 -04:00
David Renshaw
c6762ff0f7
implement StructList.Builder.setWithCaveats()
2019-03-23 10:32:01 -04:00
David Renshaw
45fd638c7c
add some @Override annotations
2019-03-16 08:49:10 -04:00
David Renshaw
d60177b5a9
don't test on oraclejdk8 anymore, as it is not longer supported
2019-03-12 20:29:30 -04:00
David Renshaw
6dcfa30e10
ArrayInputStream: return -1 on end-of-stream
2018-06-10 13:25:40 -04:00
David Renshaw
edcbf1f61c
fix bug in ArrayInputStream.read()
2018-06-10 09:32:38 -04:00
David Renshaw
0228c5a064
Merge pull request #64 from gnyiri/add-cmake-build
...
Add CMakeLists.txt and README.md
2018-05-24 22:57:37 -04:00
Gergely Nyiri
089ced7a80
Add CMakeLists.txt and README.md
2018-05-22 20:30:23 +02:00
David Renshaw
f6c033f068
remove 'work-in-progress' from README
2018-02-03 14:47:41 -05:00
David Renshaw
f4411ba2c7
implement asReader() for list types
2018-02-03 14:17:42 -05:00
David Renshaw
d2cf14b6d7
prepare for 0.1.3 release
2018-01-29 19:53:04 -05:00
David Renshaw
5b0afb58f3
add test case for #59
2017-12-13 21:45:49 -05:00
Amer Banet
906bab78f9
Added pointer index check to StructReader._pointerFieldIsNull and StructBuilder._pointerFieldIsNull
...
This fixes an IndexOutOfBoundsException when checking for existence of later added fields which are only known on the receiver side (working with different schema versions)
2017-12-13 21:43:46 +01:00
David Renshaw
633b1f6199
try to fix website syntax highlighting
2017-06-30 22:08:20 -04:00
David Renshaw
1dba9efee1
point back to dwrensha.github.io
2017-06-30 22:00:29 -04:00
David Renshaw
8a98554013
update some urls
2017-06-25 16:01:45 -04:00
David Renshaw
bce7b726a3
Set Travis build to 'sudo: false'.
...
Our travis builds have recently been failing with 'sbt: command not found'.
This fixes that problem by moving over to travis's container-based
infrastructure, where we get a more recent distro and the default java setup
apparently still includes sbt.
2017-06-21 17:49:44 +09:00
David Renshaw
527965d92f
update readme links
2017-06-10 23:00:53 -04:00
David Renshaw
349d2bfde7
update method name is error string
2017-04-24 19:35:12 -04:00
David Renshaw
be364f41c6
0.1.2 release
2017-02-28 14:19:21 -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
1fa0e7a806
DecodeException for unexpected FAR pointer in copyPointer()
2017-02-27 12:10:36 -05:00
David Renshaw
a344568fe8
Adjust error message for the case when copyPointer() hits a far pointer.
...
Malformed input can trigger this case and it does not indicate a bug
in the library.
2017-02-26 16:26: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
1c8e132b9b
some more notes about releasing
2016-02-10 20:43:47 -05:00
David Renshaw
367109c69a
Add sbt doc
to the travis test.
2016-02-10 18:53:51 -05:00
David Renshaw
b39a2f6f5f
Release version 0.1.1, compiled to be compatible with Java 7.
2016-02-10 18:52:01 -05:00
Pino Silvaggio
62f4cbb813
+ javac options source/target -> 1.7
2016-02-10 18:01:13 -05:00
David Renshaw
b27c5d685d
Fix problem in transferPointer() that would have become a bug once orphans are implemented. See 4d4f831a3d
2016-01-12 22:25:35 -05:00
David Renshaw
0fecc0e9b4
Handle zero-sized struct in transferPointer().
2015-12-16 21:55:03 -05: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
d3fdf4d17d
Bump capnproto version in travis config.
2015-12-07 12:00:12 -05:00