1
I Use This!
Activity Not Available

Commits : Listings

Analyzed about 1 year ago. based on code collected about 1 year ago.
Jan 16, 2023 — Jan 16, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Removed the restriction that transport updates have to be written in delimited form. More... over 13 years ago
Each request packet should contain the unique ID of the offer to which it responds. More... over 13 years ago
Integration test for the protocol component. More... over 13 years ago
Made the lock fairness test more precise. More... over 13 years ago
Lock fairness test: check that fair ReentrantReadWriteLocks don't allow writers to starve. If this test passes on Java 5 and 6, we can get rid of SynchronizedDatabaseComponent and merge ReadWriteLockDatabaseComponent with DatabaseComponentImpl. More... over 13 years ago
Decoupled ProtocolReader (which belongs in the protocol component) from PacketReader (which belongs in the transport component). More... over 13 years ago
Updated FileReadWriteTest to use the transport component for encrypting and decrypting packets. Moved the test to the main package since it's an integration test for several components. More... over 13 years ago
Don't forget to check the MAC. More... over 13 years ago
Implemented PacketReader, renamed Packet{Reader,Writer}Factory in the protocol component to Protocol{Reader,Writer}Factory. More... over 13 years ago
Encrypt without allocating new buffers. More... over 13 years ago
Packet decrypter with unit tests. Decryption is complicated by the fact that the cipher wants to operate a block at a time even though it's in CTR mode. More... over 13 years ago
Use a constant for the tag size. More... over 13 years ago
Javadoc and unit test for SharedSecret. More... over 13 years ago
Unit tests for ConnectionRecogniserImpl. More... over 13 years ago
Separated tag encoding from PacketWriterImpl, since it's also needed by the code that recognises tags. Implemented ConnectionRecogniser (untested). More... over 13 years ago
Moved Bytes to the main package. Added a SharedSecret class to parse encrypted secrets retrieved from the database. More... over 13 years ago
Support for decrypting shared secrets and deriving authentication and encryption keys from them (untested). More... over 13 years ago
Call the listeners when contacts are added and removed. More... over 13 years ago
Store shared secrets in the database (the crypto component will be responsible for wrapping/unwrapping them). More... over 13 years ago
Added a lock for the connectionWindows table and exposed getConnectionWindow() and setConnectionWindow() through the DatabaseComponent interface. More... over 13 years ago
Retrieve the set of unseen connection numbers from a connection window. More... over 13 years ago
Unit tests for ConnectionWindowImpl. More... over 13 years ago
Moved ConnectionWindow into the transport module and implemented window sliding (untested). More... over 13 years ago
Basic connection window persistence. More... over 13 years ago
PacketWriterFactory. More... over 13 years ago
PacketWriter is implemented by two classes: PacketWriterImpl and PacketEncrypter. The separation allows authentication and encryption to be tested separately. More... over 13 years ago
Added interfaces for reading and writing packets and recognising which contact originated an incoming connection, and an implementation of the PacketWriter interface. More... over 13 years ago
It's not necessary to acquire all locks before closing the database, since Database.close() prevents new transactions from starting anyway. More... over 13 years ago
Associate a timestamp with every subscription, indicating the earliest acceptable timestamp of subscribed messages. For a new subscription, the timestamp is initialised to the current time, so a new subscriber to a group will not immediately receive any messages. (Subscribing to a group is therefore more like joining a mailing list than joining a Usenet group - you only receive messages written after you joined.) More... over 13 years ago
Promote integer types to the expected type to allow, for example, a list of mixed integer types to be read as a list of longs. More... over 13 years ago