Commit Graph

114 Commits

Author SHA1 Message Date
00e4461043 Fix issues with Java 7 compatibility 2018-02-16 16:57:08 +01:00
278d5b05e6 Split LabelRepository off the MessageRepository 2017-11-26 20:30:05 +01:00
ddb2073c2f Refactored BitmessageContext creation 2017-11-25 20:34:11 +01:00
8cbdce6eac Refactored to use StreamableWriter
Bumped the msgpack library to 2.0.1 (the 2.0.0 build was fubar)
2017-11-21 10:44:41 +01:00
bf0c946c52 Different improvements
- catch all kinds of errors when selector binding fails
- pimped DefaultLabeler to support listeners
- added pagination capabilities to AbstractMessageRepository
2017-09-13 08:06:06 +02:00
d9e52c85c3 Fixed occasional on the selector - it shouldn't crash the application 2017-07-22 08:01:59 +02:00
6c04aa683e Added exports for messages, labels and adddresses
and some code improvements
2017-07-21 10:27:20 +02:00
fd08fa3883 Fixed build 2017-07-16 21:25:12 +02:00
009346cd30 Some improvements for Android compatibility 2017-07-10 06:08:20 +02:00
d3a06e7639 Added version to user agent info, and other minor fixes 2017-07-05 00:37:45 +02:00
35d7486869 Added dependency management and bumped gradle version 2017-07-02 11:46:27 +02:00
a8addf946b Minor improvements and version bumps 2017-07-02 08:37:43 +02:00
a245288359 Migrated everything except
- the Bytes utilities class - it's easier to do in Java as with Kotlin byte + byte = int
- the demo project, which I'm not sure I'll migrate. Maybe I'll make a new Kotlin Demo application
2017-06-28 00:01:05 +02:00
aee5debdd2 Fixed system test and added some fixes for Java backwards compatibility 2017-06-27 17:22:48 +02:00
322bddcc4f Migrated networking and fixed networking tests 2017-06-25 20:06:17 +02:00
894e0ff724 Fixes and improvements, SystemTest still broken 2017-06-16 07:03:12 +02:00
1d3340a547 Migrated cryptography and some improvements 2017-06-08 21:56:31 +02:00
fa0e53289c Migrated core and extension modules to Kotlin
(Except BitmessageContext and Bytes)
2017-06-06 16:36:07 +02:00
2ae1e561d8 Minor improvements for logging and debugging 2017-05-04 07:24:26 +02:00
dca0330a7c Bumped dependency versions 2017-04-03 18:21:08 +02:00
841fb7eccd Test fixes and improvements 2017-04-02 21:02:20 +02:00
d3205336ed Some tweaks to determine what objects should be requested from other nodes, so they may arrive as quickly as possible. 2016-10-31 06:21:36 +01:00
579d604ac6 getRemoteAddress doesn't work on Android (at least not KitKat), so let's get the address this way. 2016-09-26 17:38:50 +02:00
a18f76f864 Cleaning up requested objects from time to time, to work around a leak that sometimes happens. 2016-09-21 19:37:17 +02:00
83abce0f52 Deprecate DefaultNetworkHandler in favor of NioNetworkHandler 2016-09-13 07:25:23 +02:00
e6d40cde76 Try to fix tests on travis.
Unfortunately they work fine locally, so there may be several of those attempts.
2016-09-12 11:15:07 +02:00
489b8968e0 Refactored use of the DefaultMessageListener so it's retrieved from the InternalContext 2016-09-12 08:18:30 +02:00
a240606909 Minor improvements and fixes 2016-09-05 19:35:36 +02:00
dad05d835b Created an improved JdbcNodeRegistry and removed MemoryNodeRegistry, as it doesn't properly work with the way nodes are handled and disseminated in the new PyBitmessage client. The new one should work a lot more stable. 2016-09-01 07:35:46 +02:00
827973f642 Improved connecting to the network 2016-08-29 12:30:26 +02:00
53aa2c6804 Slightly improved the problem with stale objects in the requested objects list. But I don't know how to properly solve it, there may always be some left. 2016-08-25 12:44:06 +02:00
caa2219a63 It looks like the NIO network handler works now - some testing needed to see how reliably 2016-08-24 22:17:02 +02:00
cd3a801704 Used wrong nonce for version message 2016-08-09 19:50:11 +02:00
505818a712 Added option to connect to local Bitmessage client
(This makes it easier to debug some problem or make some tests)
2016-08-08 18:00:50 +02:00
92229151a5 It seems travis is a bit slow sometimes, so I raised the timeout for the NetworkHandlerTest 2016-07-29 11:47:05 +02:00
334a510743 Fixes, improved tests and other improvements 2016-07-29 07:49:53 +02:00
56ebb7b8fa Better memory management for the out buffer 2016-07-27 07:38:39 +02:00
48ff975ffd Better memory management for the in buffer (the same TODO for the out buffer. 2016-07-25 07:52:27 +02:00
82ee4d05bb Raised test timeout, as the Jacoco run seems to be considerably slower. 2016-07-10 06:55:24 +02:00
50f2c7e080 Fixed synchronisation 2016-07-09 16:37:12 +02:00
d130080df2 Implemented methods offer and request, system test works now but synchronization is still broken. 2016-07-08 18:14:41 +02:00
abc2f63aa6 Some further fixes and improvements, not all tests working yet 2016-06-20 16:33:47 +02:00
ae2120675f Tests with NioNetworkHandler as peer work now 2016-06-18 23:09:23 +02:00
0fadb40c6c Improved tests and fixed some 2016-06-16 19:47:59 +02:00
12fb794203 Minor test improvements 2016-06-09 17:46:21 +02:00
cde4f7b3ce Some refactoring to move some common code into an AbstractConnection 2016-06-01 17:38:49 +02:00
425a9dd6bf Merge branch 'develop' into feature/nio 2016-05-28 11:05:39 +02:00
c1fa642b4e Made tests more stable, albeit slightly slower 2016-05-28 11:04:47 +02:00
08f2d5d6f1 Added write(ByteBuffer) to Streamable interface and a first draft for a NioNetworkHandler 2016-05-28 10:22:47 +02:00
b8f88b02d1 Improved tests 2016-05-26 22:50:37 +02:00