Commit Graph

327 Commits

Author SHA1 Message Date
732032b1b5 Fixed some bugs and some tests 2016-12-21 08:09:53 +01:00
702ac6cb82 Added some null checks so the users of this library don't have to 2016-12-16 07:30:02 +01:00
0d67701735 Changed default CustomCommandHandler
While throwing an IllegalStateException is great to signal developers they need to register a default handler, it's a dangerous default for all those who don't need one. A log entry on 'debug' level should suffice.
2016-12-12 07:59:38 +01:00
c11a1b78c4 Some code style improvements 2016-12-11 14:27:21 +01:00
6d67598a40 First implementation of extended message encoding. Works as far as the PyBitmessage implementation, with some additional code. 2016-12-11 14:02:32 +01:00
e1dcbbf19c Don't block when adding a new contact / searching for its public key 2016-12-07 20:01:19 +01:00
31eca20cca Fixed NPE when 'from' doesn't have a public key. From will get lost in those cases unless it's saved separately. 2016-12-05 07:41:55 +01:00
0bb455d433 Extended encoding basics
works for basic subject/body messages, no attachments and no other features supported yet
2016-11-30 17:26:22 +01:00
831e4bcbcc Added clarifying comment 2016-11-14 23:27:29 +01:00
df7f03d81a Merge tag '2.0.4' into develop
Version 2.0.4
2016-11-01 06:29:00 +01:00
64ee41aee8 Merge branch 'release/2.0.4' 2016-11-01 06:28:44 +01: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
7b14081c63 Set 'send time' on outgoing messages 2016-10-28 07:52:05 +02:00
e1173d0619 Merge tag '2.0.3' into develop
Version 2.0.3
2016-10-24 08:13:18 +02:00
f0a5a40edd Merge branch 'release/2.0.3' 2016-10-24 08:12:48 +02:00
1bc82cdd7d Merge branch 'master' into release/2.0.3 2016-10-22 09:37:56 +02:00
a880a8c10b Fixed NPE 2016-10-22 07:24:49 +02:00
6a5fe01860 Merge tag '2.0.2' into develop
Version 2.0.2
2016-10-15 18:02:18 +02:00
5cf6d308f2 Merge branch 'release/2.0.2' 2016-10-15 18:02:06 +02:00
ad97cd0633 Fixed SecurityException for some Android versions.
At the same time removed necessity to register a cryptography provider which means SpongyCryptography can be used on the Oracle JVM as well - but this is something vor Jabit 3.0.
2016-10-15 18:01:08 +02:00
5043e9ed03 Merge tag '2.0.1' into develop
Version 2.0.1
2016-10-07 22:10:16 +02:00
15c6540e16 Merge branch 'release/2.0.1' 2016-10-07 22:10:00 +02:00
784ed9ed4e Fixed importer exception on Android 2016-10-07 22:08:55 +02:00
3a0555e6e9 Merge tag '2.0.0' into develop
Version 2.0.0
2016-10-02 23:26:20 +02:00
e71f30736d Merge branch 'release/2.0.0' 2016-10-02 23:22:34 +02:00
503e665c5b Updated README.md 2016-10-02 23:16:18 +02: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
1003e7a582 Merge branch 'feature/nio' into develop 2016-09-21 19:38:48 +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
7e201dd2cf Change version of 'develop' branch to 'development-SNAPSHOT' 2016-09-13 07:36:28 +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
71124d7b01 Fixed tests 2016-09-12 10:02:52 +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
102d63e2c6 Fixed message count per label 2016-08-25 08:50: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
3a92bab9ba Merge remote-tracking branch 'origin/develop' into feature/nio 2016-08-17 07:46:52 +02:00
1eac644813 Fixed error in AbstractMessageRepository (archived messages couldn't be found) 2016-08-15 11:52:43 +02:00
41c4447514 Automatically set version from git
- Uses last tag on master branch (this is set on 'git flow release finish')
- branch name snapshot otherwise, e.g. 'feature-nio-SNAPSHOT', 'develop-SNAPSHOT'

(cherry picked from commit 86cfc66a40)
2016-08-12 22:02:06 +02:00
631e71bc74 Updated gradle
(cherry picked from commit 52422d3)
2016-08-12 21:58:36 +02:00
86cfc66a40 Automatically set version from git
- Uses last tag on master branch (this is set on 'git flow release finish')
- branch name snapshot otherwise, e.g. 'feature-nio-SNAPSHOT', 'develop-SNAPSHOT'
2016-08-12 16:27:57 +02:00
52422d3398 Updated gradle 2016-08-12 11:04:04 +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