- Jul 14, 2011
-
-
akwizgran authored
-
akwizgran authored
platform.
-
akwizgran authored
-
akwizgran authored
-
akwizgran authored
-
akwizgran authored
-
akwizgran authored
-
akwizgran authored
-
akwizgran authored
Java 1.5 compatibility changes (for OSX 10.4). We depend on commons-io for a single method... might be worth copying the source into FileUtils if the license permits.
-
akwizgran authored
Don't store subscription or transport updates that are older than those already received. Also some small changes to DatabaseComponent impls for readability.
-
akwizgran authored
Retrieve messages from the database in raw form to avoid creating unnecessary short-lived objects. Added timestamps to headers.
-
akwizgran authored
-
akwizgran authored
New retransmission mechanism, which does away with the need for bundle IDs and should cope better with high bandwidth-delay product links.
-
- Jul 13, 2011
-
-
akwizgran authored
-
akwizgran authored
-
akwizgran authored
Rewrote the bundle reading and writing code to eliminate copying. Signatures and digests are now calculated on the fly as the data is read or written. This is a little bit tricky in the case of reading because ReaderImpl uses a lookahead byte, so the signature and message digest need to lag one byte behind.
-
- Jul 12, 2011
-
-
akwizgran authored
-
akwizgran authored
Added accessors for the amount of raw data read and written by readers and writers - this fixes a fixme in MessageParserImpl.
-
akwizgran authored
-
akwizgran authored
-
akwizgran authored
Builders for incoming and outgoing headers and batches. The protocol and serial components can now be used to serialise, sign, deserialise and verify real bundles (except for message parsing).
-
akwizgran authored
Protocol refactoring. Each bundle now consists of a signed header and zero or more signed batches. There is no overall signature on the bundle, since the bundle's contents may need to be processed before the entire bundle has been read. The protocol does not prevent an adversary from removing batches from a bundle, reordering batches, moving them from one bundle to another, etc. However, since each batch is signed and acknowledged independently, no such guarantees are required. Bundle IDs will go away when the retransmission mechanism is changed.
-
akwizgran authored
-
- Jul 11, 2011
- Jul 10, 2011
-
-
akwizgran authored
Iterators throw FormatRuntimeException if a FormatException occurs, or RuntimeException if an IO error occurs. Reduced visibility of impl classes.
-
akwizgran authored
-
akwizgran authored
Modifying Protocol Buffers (or Thrift, or MessagePack, or any of the free ASN.1 implementations I could find) to support length constraints was more work than writing a custom serialisation format, so I wrote a custom format.
-
- Jul 07, 2011
-
-
akwizgran authored
Protocol Buffers will be used for the wire protocol. As a quick test it's now used to serialize transport details when creating an invitation.
-
- Jul 06, 2011
-
-
akwizgran authored
Added support for local transport details. Each bundle contains the sender's latest transport details.
-
akwizgran authored
Transport details for contacts can be stored in the database (these are arbitrary key/value pairs that describe how to reach the contact using a particular transport). Moved the generic ContactId and Rating classes out of the database package of the API.
-
akwizgran authored
-
- Jul 05, 2011
-
-
akwizgran authored
-
akwizgran authored
DatabaseComponent throws an exception instead of returning silently if a contact is removed during an operation involving that contact. More unit tests.
-
akwizgran authored
Unit tests and bugfixes for DatabaseComponent. Merged code from various unique ID classes into a common superclass.
-
akwizgran authored
other groups no longer affect sendability, which makes it safe to delete all messages from a group when unsubscribing.
-
- Jul 04, 2011
- Jul 01, 2011