4b0019c732
* SAM: Add support for RAW on the bridge socket in v3 (ticket #1334 )
...
log fixes
2014-07-19 15:43:51 +00:00
fef591412e
SAM: Cherrypick from patch in ticket #1318 :
...
- Add SIGNATURE_TYPE support to GENERATE and CREATE
- Don't NPE checking dest+privkeys
- Simplify HELLO checking
- Don't require two params in HELLO message
- Make MIN parameter optional too
- Version checking fixes
- Bump version to 3.1, only visible if requested
- Cleanups, javadocs
2014-06-28 14:14:39 +00:00
3379432e5f
SAM: Cherrypick from patch in ticket #1318 :
...
- Check for extra bytes in private key string
- checkPrivateDestination() returns boolean instead of throws
2014-06-27 21:05:54 +00:00
bb9129b61b
SAM: Cherrypick from patch in ticket #1318 :
...
- Fix empty properties check
- Overrides
- Statics
2014-06-27 20:53:01 +00:00
0fc3029aaa
SAM:
...
Version handling (ticket #1318 )
- MAX param now optional
- 1-digit versions now accepted for MIN and MAX
- Use VersionComparator for version tests
- Don't require a minor version of 0
- Fix empty properties check
- Overrides
- Prep for version 3.1
Throw exception on null option key (ticket #1325 )
2014-06-27 20:36:34 +00:00
d8c8586ccf
SAM: No synch needed for finals;
...
Move fields to top
2014-06-27 16:53:05 +00:00
38a4728283
SAM: Use SAMHandler.writeString() where possible,
...
Use DataHelper.getASCII() for byte conversion
2014-06-27 16:46:57 +00:00
7888705b01
final
2014-06-27 16:31:24 +00:00
31938f49d6
SAM: Fix checkPrivateDestination() for key certs (ticket #1318 )
2014-06-27 16:19:07 +00:00
c95ed2ea96
SAM: Rename exceptions, make serialVersionUID private,
...
add new SAMException constructor
2014-06-27 16:15:22 +00:00
b5ed247a53
SAM: more Log conditionals, javadocs
2014-06-27 15:55:12 +00:00
22aff49747
SAM: Log conditionals, javadocs
2014-06-27 15:53:16 +00:00
e4430f05e4
2 more pkg private
2014-06-27 15:32:56 +00:00
1047691c64
SAM: Make all classes package private except the SAMBridge entry point
2014-06-27 15:26:44 +00:00
f3180b3f6f
SAM client logging cleanup
2014-06-27 15:14:21 +00:00
8480a204ea
* BOB, SAM, i2psnark: Fix datagram NPE (ticket #1275 )
...
This could only happen on an extremely overloaded router.
2014-05-13 18:45:54 +00:00
dg2-new
b84682fdc9
* findbugs: mostly stream closure fixes in router, apps, core
2014-04-21 10:54:52 +00:00
3e639a319d
SAM:
...
- Classes static/private
- Fields private/final
- Remove unused fields
- Remove shadowing fields
- Remove dup method overrides
- Remove static Logs
- Remove unnecessary field initialization
- Atomics
- Findbugs
2014-03-13 12:22:04 +00:00
96b4c6b219
findbugs sam/bob
2014-03-12 12:27:23 +00:00
str4d
efe3bd2c05
Use for each when Iterator not needed
2013-11-28 11:56:54 +00:00
str4d
e77409e57a
Close resources
2013-11-25 23:14:09 +00:00
str4d
f9f0e6d0a2
SAM: for each
2013-11-22 11:36:26 +00:00
str4d
5fa0376f58
SAM: type arguments, unused imports
2013-11-22 04:22:14 +00:00
dg2-new
5bcfe025d5
fix build
2013-11-20 15:40:21 +00:00
dg2-new
eabcc96a99
remove useless string
2013-11-20 14:52:44 +00:00
dg2-new
28b6675979
findbugs BOB/SAM. more to do.
2013-11-20 12:02:44 +00:00
zab2
9d52ef5fbe
Explicit check for empty values
2013-06-11 13:21:49 +00:00
5ea2832ae0
* AppManager: Register jetty, console, and SAM with manager
2013-04-19 11:41:35 +00:00
c61f2af8b3
* SAM: Implement ClientApp interface (ticket #347 )
2013-04-16 21:07:00 +00:00
832c0ff683
* SAM: Force i2cp.messageReliability=None (ticket #819 )
2013-01-12 18:13:59 +00:00
452d1d01b8
* SAM: Synchronize dissector
2013-01-02 13:21:45 +00:00
fb5d0cd760
Boolean.valueOf(x).booleanValue() -> Boolean.parseBoolean(x)
2012-09-28 17:50:41 +00:00
39d9d3f5b6
* SAM: Don't use direct byte buffers for streams (ticket #679 )
...
DatagramServer one stays as it is a singleton.
2012-08-09 15:12:17 +00:00
d8dd76c6e0
* SAM: Volatiles and finals
2012-08-08 17:01:59 +00:00
1ab8200c7f
* Clone System properties before iterating to avoid
...
ConcurrentModificationException (ticket #680 )
2012-08-06 14:45:37 +00:00
764a7f2e13
remove unused private items (eclipse)
2012-03-26 00:52:06 +00:00
1db58dee89
remove unused local variables (eclipse)
2012-03-25 22:16:03 +00:00
f13956d380
remove unused imports (eclipse)
2012-03-25 21:45:18 +00:00
3e889d2747
remove unnecessary casts (eclipse)
2012-03-25 20:42:41 +00:00
c902d4c219
remove SAM client classes from sam.jar
2012-01-27 13:33:41 +00:00
2baee7413c
* Replace size() <= 0 with isEmpty() everywhere, ditto > 0 -> !isEmpty()
2010-05-05 16:51:54 +00:00
BlubMail
5eccc01de6
merge of '1d77e0a89198e422acfb66d9310fad7b0b290e38'
...
and '5271eb82ac21ebc1a96dd31c462a14e2aaa0c89e'
2009-09-13 16:33:32 +00:00
mkvore-commit
1850e893e9
removes a bug in SAM v1 and v2 (introduced when merging with v3)
2009-09-07 17:33:29 +00:00
BlubMail
2341793546
writeString(String str): synchronize using socket write lock to prevent split SAM messages
2009-09-06 00:43:45 +00:00
abc23e9a49
* Move almost all uses of StringBuffer to StringBuilder,
...
for efficiency (thanks Arsene for the suggestion)
2009-07-01 16:00:43 +00:00
mkvore-commit
e86e42818a
SAMv1 and SAMv3 : logging some exception at INFO level
2009-05-24 16:04:57 +00:00
mkvore-commit
965b183d9e
fix: warnings when generating javadoc
2009-05-12 10:46:34 +00:00
mkvore-commit
bc7a963f5c
correct a null pointer exception check before it gets caught and logged as an error
2009-05-10 20:23:08 +00:00
mkvore-commit
ef737415c5
SAMv3: bug corrected: sending datagrams through the datagram session socket works (like in v1 and v2)
2009-05-08 14:33:03 +00:00
mkvore-commit
30b73ffe6d
changed samv3 because of reverted streaming and mstreaming libs
2009-05-05 12:39:14 +00:00