Commit Graph

102 Commits

Author SHA1 Message Date
a5c78fd8cf Renamed InputStreams from in and is to input, so it doesn't look strange in kotlin 2017-11-24 07:37:04 +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
ece9cd8667 Improved the labeler and bumped the msgpack library to 2.0.0 2017-09-23 08:22:34 +02: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
c8dfc3b459 Added option to save labels
and other improvements and fixes used for exports and imports
2017-08-25 21:11:10 +02:00
cf6b3e2603 Added easy way to disable acknowledges and fixed possible issue with builder-constructor 2017-08-11 17:35:46 +02:00
c81c89197b Very minor code improvements 2017-08-11 12:32:20 +02:00
6e79b0c50f Minor improvements and fixes
I copied the Base64 encoder from Android platform (and converted it to Kotlin) because the Java one exists only since 1.8
(I don't now if I want to curse Java for not supporting Base64 out of the box earlier, or Android for not supporting a recent Java API)
2017-07-29 14:56:03 +02:00
6c04aa683e Added exports for messages, labels and adddresses
and some code improvements
2017-07-21 10:27:20 +02:00
3e286c08b4 Fixed typo 2017-07-15 19:56:14 +02:00
644dcc692f Minor improvements 2017-07-15 19:41:20 +02:00
1a33f744d6 Some improvements for Java interoperability 2017-07-08 19:53:29 +02:00
d3a06e7639 Added version to user agent info, and other minor fixes 2017-07-05 00:37:45 +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
83e50e1ad1 Migrated BitmessageContext and fixed some tests 2017-06-08 16:59:24 +02:00
fa0e53289c Migrated core and extension modules to Kotlin
(Except BitmessageContext and Bytes)
2017-06-06 16:36:07 +02:00
811625c051 Fixed write(ByteBuffer) 2017-05-19 20:12:21 +02:00
869d2e0386 Fixed pubkey retrieval
Broadcast subscriptions shouldn't be disabled every time a pubkey, message or broadcast comes along... (this might also fix other strange behaviour)
2017-05-19 19:49:35 +02:00
239c6ec7f4 Fixed NullPointerException 2017-05-16 17:20:52 +02:00
956ed61b14 Removed unused logger 2017-05-08 07:26:45 +02:00
2ae1e561d8 Minor improvements for logging and debugging 2017-05-04 07:24:26 +02:00
e5c956c6e5 Minor improvements 2017-04-12 17:18:09 +02:00
f50d7445c1 Validate TTL: it must always be more than zero and less than 28 days 2017-04-12 17:12:43 +02:00
c4385b2336 Add some passive support for SHA256 based signatures 2017-04-02 21:03:04 +02:00
841fb7eccd Test fixes and improvements 2017-04-02 21:02:20 +02:00
5849e68d20 Keep order of labels 2017-03-30 16:31:36 +02:00
3ab3d7a0ca ConversationService additions, fixed migration script 2017-03-30 16:30:46 +02:00
d9090eb70c Some code to work with conversations 2017-03-13 22:49:40 +01:00
10a45cc79c Moved to own MsgPack implementation 2017-02-03 07:29:51 +01:00
3f8980e236 Make sure context is set after it is properly initialized 2017-01-11 17:30:04 +01:00
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
7b14081c63 Set 'send time' on outgoing messages 2016-10-28 07:52:05 +02:00
a880a8c10b Fixed NPE 2016-10-22 07:24:49 +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
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