Commit graph

763 commits

Author SHA1 Message Date
Vaci Koblizek
f37f934c6b wqbump runtime-rpc dependencies to 0.1.10 2021-08-19 10:55:36 +01:00
Vaci Koblizek
6e3fa81ada add some colour to the README 2021-08-19 10:36:46 +01:00
Vaci Koblizek
4fc6ffdce5 try fixing jdk version to 11 2021-08-19 10:05:52 +01:00
Vaci Koblizek
b24a362d58 Merge from upstream 2021-08-19 09:50:28 +01:00
paxel
9e114cf26d
made runtime build for JDK8 under all JDKs (8++) (#109)
* Update pom.xml

made runtime build for JDK8 under all JDKs (8++)

* Update runtime/pom.xml

use more-standard syntax

Co-authored-by: David Renshaw <dwrenshaw@gmail.com>
2021-08-18 10:02:33 -04:00
Adam Jeliński
a36bf2e6bd
Makefile: Enable overriding pkg-config (#107)
Sometimes there's a need to precise which `pkg-config` is to be used.
Now `pkg-config`'s name or path can be overridden with `PKG_CONFIG`.

Fixes #106.
2021-08-18 08:12:21 -04:00
David Renshaw
cd3ef72166 add changelog 2021-07-16 14:20:29 -04:00
David Renshaw
1966572eca update version numbers to 0.1.10-SNAPSHOT 2021-07-16 11:38:03 -04:00
David Renshaw
80f5b0447a prepare for 0.1.9 release 2021-07-16 11:10:45 -04:00
David Renshaw
b8a5a99ef6
try adding maven.compiler.release flag (#104) 2021-07-14 15:41:56 -04:00
David Renshaw
f98e0fc6ef bump version to 0.1.9-SNAPSHOT 2021-05-31 08:45:24 -04:00
David Renshaw
01cf6c0ebf release v0.1.8 2021-05-31 08:33:52 -04:00
David Renshaw
a55b869305 implement MessageBuilder.unsafeConstructFromMessageReader() 2021-05-24 13:06:42 -04:00
David Renshaw
a078df7e4d add support for directly serializing a MessageReader
Previously, you would need to copy the message into a MessageBuilder first.
2021-05-24 11:49:20 -04:00
David Renshaw
d310db1e88 Prevent potential integer overflow in BuilderArena.allocate(). 2021-05-13 17:49:01 -04:00
David Renshaw
754184fd74 bump version numbers to 0.1.8-SNAPSHOT 2021-05-12 21:00:16 -04:00
David Renshaw
5bf2c368e3 0.1.7 release 2021-05-12 20:57:00 -04:00
David Renshaw
4ec14e39f9 be more careful about integer overflow in Serialize.read()
Previously, we were attempting to read the entire message
in one call to fillBuffer(). This was doomed to fail
if the message had more than Integer.MAX_VALUE bytes.

After this diff, we will call fillBuffer() separately for each
segment. This approach turns out to be simpler, too.
It might imply a small performance hit for messages with
many small segments, but such messages are discouraged anyway.

This diff also adds more overflow checking in the surrounding
logic.
2021-05-12 20:13:52 -04:00
David Renshaw
a6c5240790 bump version numbers to 0.1.7-SNAPSHOT 2021-05-11 21:49:54 -04:00
David Renshaw
ee7e9a0d07 publish 0.1.6 2021-05-11 21:46:25 -04:00
David Renshaw
8dbd5cf25f make new unit test less memory intensive 2021-05-11 21:12:10 -04:00
David Renshaw
eb73990798 fix potential overflow in DefaultAllocator
Fixes a bug where the allocator's `nextSize` variable could overflow
and become negative, causing more segments to be allocated than expected.

Also removes a duplicate `this.nextSize += size` statement that
likely made the problem worse.
2021-05-11 21:07:37 -04:00
David Renshaw
07e47d4104 add some documentation about the new 'no limit' option 2021-05-09 14:53:54 -04:00
David Renshaw
854997703d
Merge pull request #96 from wdu/master
Offer option to disable traversalLimitInWords
2021-05-09 14:47:02 -04:00
David Renshaw
9293ef5bf6 get things compiling again 2021-05-09 14:31:32 -04:00
Wim Dumon
cc4fa2bbc8 Offer option to disable traversalLimitInWords
Use case: large trusted input data file, mapped in memory by
MappedByteBuffer, which is often re-queried so a sensible
limit cannot be set.
2021-04-28 17:47:58 +02:00
Vaci
612252313e
Merge pull request #15 from vaci/vaci/java11-backport
Build with Java 11
2021-04-05 11:19:41 +01:00
Vaci Koblizek
950ba824b9 use java11 switches and completablefutures 2021-04-05 11:05:52 +01:00
Vaci Koblizek
1bf1228756 revert to java version 11 2021-04-05 11:05:52 +01:00
Vaci Koblizek
3d81962832 add gitlab CI to master 2021-03-19 13:39:39 +00:00
Vaci Koblizek
21b8aa6acd add gitlab CI 2021-02-24 16:36:11 +00:00
Vaci Koblizek
4f55af417f remove excess client construction from EzRpcClient 2020-12-08 16:30:07 +00:00
Vaci
2dcaebb8f3 github CI workflow 2020-12-08 16:30:07 +00:00
Vaci Koblizek
22e5ab34a9 Merge remote-tracking branch 'sandstorm/master' 2020-12-07 19:35:51 +00:00
Vaci Koblizek
59c6913d0d EzRpcServer expects internet sockets 2020-12-07 19:07:56 +00:00
Vaci Koblizek
c9dcefb153 EzRpcClient must connect synchronously 2020-12-07 19:00:49 +00:00
Vaci Koblizek
23c3c789f7 combine cleanup methods 2020-12-07 18:57:22 +00:00
Vaci Koblizek
c7621d1de3 whenMoreResolved should return null when resolved 2020-12-07 18:55:54 +00:00
David Renshaw
cf62cd4a58 Fix build on Fedora 33 2020-12-06 20:47:53 -05:00
Vaci Koblizek
21d3eba0e5 remove CompletableFutureWrapper 2020-12-05 14:55:28 +00:00
Vaci Koblizek
635bfa0d62 imports 2020-12-05 14:04:19 +00:00
David Renshaw
a081a37140 remove travis config
TravisCI is no longer free starting January 2021.
We will use Github Actions instead.
2020-12-04 17:15:16 -05:00
David Renshaw
ca355af0c4 add github actions config 2020-12-04 17:08:31 -05:00
Vaci Koblizek
ecd034e78e add calculator example 2020-12-03 15:52:00 +00:00
Vaci Koblizek
25c50b105d moar capTable context maintenance 2020-12-03 15:06:35 +00:00
Vaci Koblizek
196b82515c ensure StructBuilders and StructLists maintain capTable context 2020-12-03 14:25:15 +00:00
Vaci Koblizek
f74ad80dea remove cancellation completion for now 2020-12-03 14:25:15 +00:00
Vaci Koblizek
998b569d4c add ez-rpc 2020-12-03 12:30:00 +00:00
Vaci Koblizek
e3eabe6476 copy params in direct tail call
and remove invalid override in PipelineClient
2020-12-03 12:11:57 +00:00
Vaci Koblizek
53eeed97e2 make direct call if QueuedClient has resolved 2020-12-01 17:12:49 +00:00