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
David Renshaw
3652dba280
release version 0.1.0
2015-12-07 08:23:41 -05:00
David Renshaw
98500483c9
bugfix: packed input reading was broken for runs longer than 128 words.
2015-09-19 16:11:16 -04:00
David Renshaw
252acd2b32
typo
2015-08-17 22:14:50 -04: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
7f13ed114a
Some minor nitpicks.
2015-06-13 15:03:20 -07:00
David Renshaw
87b15caec9
Merge pull request #35 from io7m/master
...
Implement computeSerializedSizeInWords for non-packed messages.
2015-06-13 15:00:30 -07:00
Mark Raynsford
63c56646de
Implement computeSerializedSizeInWords for non-packed messages. Addresses #33 .
2015-06-13 15:01:36 +00:00
David Renshaw
eeb53b43b8
Update capnproto version used by Travis.
2015-06-11 22:45:07 -04:00
David Renshaw
49a5c6ba64
Implementent MessageBuilder.getRoot() and MessageBuilder.setRoot().
2015-06-11 22:40:30 -04:00
David Renshaw
89e3dff2da
Merge pull request #32 from bchallenor/master
...
Support reading all segments from a single ByteBuffer (e.g. memory mapped file)
2015-05-04 11:07:51 -04:00
Ben Challenor
d2634a21d0
Support reading all segments from a single ByteBuffer, with tests
...
Sometimes it is desirable to read all segments from a single ByteBuffer,
e.g. if reading messages from a memory-mapped file.
Here we add such support, and add a test to check that the ByteBuffer
read behaves the same as the ReadableByteChannel read.
2015-05-03 19:04:07 +01: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
c601c6805f
Idiomatic scala - override method with val
2015-05-03 15:42:26 +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
David Renshaw
a127b08191
add missing return statement
2015-03-03 09:44:04 -05:00
David Renshaw
05ee85b375
upgrade travis config to use new release of Cap'n Proto
2015-03-02 19:43:17 -05:00
David Renshaw
df1812c7eb
prevent sbt from autoadding scalalib dependencies
2015-02-25 20:38:38 -05:00
Pedro Larroy
fd3f6447ac
Publishing to OSS sonatype
2015-02-24 14:34:02 +01:00
David Renshaw
60d19ed4cb
Fix up license info and add version number to sbt config.
2015-02-22 13:41:45 -05:00
dvdreddy
3c5dbf1165
Add OSS publishing to runtime
2015-02-19 18:27:37 -08: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
0e33e0908d
copy-pasto
2015-02-16 09:13:29 -05:00
David Renshaw
6fafd065be
change back to the right directory
2015-02-16 09:07:50 -05:00
David Renshaw
87993eb407
openjdk8 doesn't exist. forgot to cd.
2015-02-16 09:04:49 -05:00
David Renshaw
b9bf0a7bd1
typo
2015-02-16 09:02:28 -05:00
David Renshaw
dd36d7252f
set the C compiler in travis config
2015-02-16 09:00:02 -05:00
David Renshaw
e0a0204e3f
update travis: java 8, capnp 0.5.1
2015-02-16 08:55:50 -05:00
David Renshaw
8a06a595f6
stub package documentation
2015-01-29 10:33:45 -05:00
David Renshaw
cdf2f464b7
simplify target directory for example and benchmark
2015-01-28 13:47:52 -05:00
David Renshaw
9269bf1e71
update benchmark script for new location of compiled classes
2015-01-28 09:57:36 -05:00
David Renshaw
059b4c4c6e
Merge pull request #11 from velvia/master
...
Make it easy to publish jars
2015-01-05 18:31:55 -08:00