Trustin Lee
7023c0599c
A small rant
2009-03-12 09:21:45 +00:00
Trustin Lee
35b08df70a
* ChannelBuffer.writeBytes(InputStream, ...) must return an integer
...
* Fixed a problem where DynamicChannelBuffer doesn't expand itself for some writeBytes() calls
2009-03-12 06:40:36 +00:00
Trustin Lee
35ac9ef38e
Fixed a bug: NETTY-129 CompositeChannelBuffer.getBytes(offset, GatheringByteChannel, length) doesn't respect offset and length parameter
2009-03-04 13:43:56 +00:00
Trustin Lee
9bbce4a223
Fixed a bug where a dynamic buffer's readerIndex goes out of sync on expansion
2009-02-26 11:28:21 +00:00
Trustin Lee
db18337762
* Fixed most Find Bugs warnings
...
* Added UnreplayableOperationException
2009-02-13 10:21:28 +00:00
Trustin Lee
65048c930f
Made DirectChannelBufferFactory's preallocatedBufferCapacity configurable
2009-02-13 06:25:29 +00:00
Trustin Lee
c79bbd063f
Reduced the amount of the heap allocated for hexdump generation (512KiB -> 2KiB)
2009-02-05 06:34:17 +00:00
Trustin Lee
6e08f03589
endianness -> defaultEndianness
2008-12-08 09:50:00 +00:00
Trustin Lee
1fa791c4a4
Made sure all out-of-the-box encoders and decoders respect the ChannelBufferFactory configuration
2008-12-08 09:02:33 +00:00
Trustin Lee
799a95774c
Added another fixme
2008-12-08 08:21:17 +00:00
Trustin Lee
fe98713cba
* Added ChannelBufferFactory and its implementations
...
* Made sure ChannelBuffer implementations respect the associated ChannelBufferFactory
2008-12-08 08:20:34 +00:00
Trustin Lee
414e02cb3e
Fixed a problem where ReplayingDecoderBuffer.readBytes/readSlice() and AbstractChannelBuffer.readSlice() doesn't work properly.
2008-12-06 14:19:56 +00:00
Trustin Lee
549145687e
Fixed a problem where AbstractChannelBuffer.readBytes(int) does not respect the endianness of the original buffer
2008-12-06 13:54:16 +00:00
Trustin Lee
630473bf84
Fixed issue: NETTY-67 (ChannelBuffer.writeBytes() and setBytes() should not throw ClosedChannelException)
2008-11-16 13:52:47 +00:00
Trustin Lee
09ef8e8964
Comment clean up as advised
2008-11-14 07:45:53 +00:00
Trustin Lee
d8cd49c1b7
Fixed a warning reported by FindBugs in CompositeChannelBuffer
2008-11-07 02:08:36 +00:00
Trustin Lee
33187d0285
Fixed issue: NETTY-62 ChannelBuffers.EMPTY_BUFFER is not final
2008-11-07 02:05:09 +00:00
Trustin Lee
6a759f0c63
Fixed grammar, typo, and brevity in Javadoc comments
2008-09-24 09:48:32 +00:00
Trustin Lee
e34d494496
Fixed a bug where AbstractChannelBuffer.writeBytes() decreases the writerIndex when the specified channel is closed.
2008-09-06 09:11:18 +00:00
Trustin Lee
e1709c8e4b
* Added another test case that checks shutdown time
...
* Optimized the hex dump table generation in ChannelBuffers
2008-09-05 00:57:22 +00:00
Trustin Lee
a056b9af63
* Fixed randomly failing ChannelBuffers.compareTo test
...
* Used shutdownNow instead of shutdown to shorten the test running time
* Added a test case that checks shutdown time
2008-09-05 00:01:33 +00:00
Trustin Lee
79499476c1
* Added ReadOnlyChannelBufferTest
...
* Added ReadOnlyChannelBuffer.toByteBuffers
2008-09-04 12:37:37 +00:00
Trustin Lee
d9a37093e2
More test cases and trivial fixes
2008-09-04 11:53:44 +00:00
Trustin Lee
a145d578cc
common -> recommended
2008-09-03 01:04:33 +00:00
Trustin Lee
b3c76b8cbf
JavaDoc...
2008-09-02 07:13:20 +00:00
Trustin Lee
f203cf4e22
More JavaDoc in the buffer package
2008-09-01 16:06:40 +00:00
Trustin Lee
4144017b75
* Fixed a bug where CompositeChannelBuffer.order() returns a wrong order
...
* Fixed a bug where ChannelBuffer.wrappedBuffer() can generate a non-EMPTY_BUFFER when the buffer is actually empty
2008-08-27 12:21:04 +00:00
Trustin Lee
7741934601
More test cases..
2008-08-27 07:17:41 +00:00
Trustin Lee
a7c181072e
Fixed issue: NETTY-33 (CompositeChannelBuffer.copy() does not respect the byte order.)
...
* More test cases..
2008-08-26 15:37:08 +00:00
Trustin Lee
3b69dd7ddb
Fixed issue: NETTY-32 (ChannelBuffer.duplicate() sometimes doesn't copy all properties)
2008-08-26 11:08:55 +00:00
Trustin Lee
834b373a96
Fixed issue: NETTY-31 (ChannelBuffers.equals() fails to compare the buffers with different endianness)
...
* Same fix to compareTo
2008-08-26 10:52:21 +00:00
Trustin Lee
f4165b10e9
Fixed issue: NETTY-31 (ChannelBuffers.equals() fails to compare the buffers with different endianness)
...
* Made sure to swap the order if the two buffers have different orders
2008-08-26 10:35:36 +00:00
Trustin Lee
57551914af
* More tests
...
* Fixed bulk transfer bugs in the CompositeChannelBuffer
2008-08-26 07:30:41 +00:00
Trustin Lee
8f3799c02e
* More tests
...
* Fixed bugs related with bulk byte transfer
2008-08-26 07:12:04 +00:00
Trustin Lee
88833d9ded
Fixed issue: NETTY-29 (ChannelBufferInputStream.readFully(byte[], int, int) should throw IndexOutOfBoundsException.)
...
* ChannelBufferInputstream.checkAvailable() throws IndexOutOfBoundsException instead of IllegalArgumentException now.
2008-08-25 11:45:13 +00:00
Trustin Lee
9dd9b00851
Fixed issue: NETTY-24 (Move ChannelBuffer.EMPTY_BUFFER to ChannelBuffers.)
2008-08-21 05:54:59 +00:00
Trustin Lee
66f7d5a800
Fixed NETTY-21 and NETTY-22:
...
* ChannelBuffer.setBytes() and writeBytes() doesn't work when a NIO channel is specified.
* ChannelBuffer.setBytes() and writeBytes() should return -1 if the connection is closed.
* Changed NioWorker.read() to use ChannelBuffer.writeBytes()
2008-08-20 03:09:23 +00:00
Trustin Lee
2d6cfe9af6
Fixed an issue: Netty-14 (IllegalArgumentException when creating a dynamic buffer with 0 estimatedLength)
...
* Allowed zero initial capacity
* Made the exception message more specific
2008-08-18 11:17:42 +00:00
Trustin Lee
ad805a1f70
Fixed a JavaDoc error in ChannelBuffer
2008-08-11 04:10:20 +00:00
Trustin Lee
b2cc6c264c
More JavaDoc
2008-08-11 04:08:41 +00:00
Trustin Lee
0a594a27d5
Fixed another two contract violations in AbstractChannelBuffer
2008-08-11 03:36:49 +00:00
Trustin Lee
d882e4f27c
* JavaDoc cleanup
...
* Fixed contract violation in AbstractChannelBuffer.get/setBytes()
2008-08-11 03:33:25 +00:00
Trustin Lee
298c9eda57
Removed a unnecessary period
2008-08-10 15:43:04 +00:00
Trustin Lee
e7e22321d0
Renamed writable space to writable bytes to avoid ambiguity
2008-08-10 15:20:26 +00:00
Trustin Lee
6f30a4a748
Fixed a bug where Channel.getBytes and setBytes don't update the argument's reader/writerIndex when relative indexing is used.
2008-08-10 15:16:02 +00:00
Trustin Lee
a1c07e9122
* Updated ChannelBuffer JavaDoc (fixes and additions)
...
* Changed ReplayingDecoderBuffer to reject more potentially dangerous operations
2008-08-10 15:10:27 +00:00
Trustin Lee
c58e224b7e
Added even more JavaDoc
2008-08-10 14:25:13 +00:00
Trustin Lee
1ad95d7433
* Fixed wrong parameters in AbstractChannelBuffer.getBytes(ChannelBuffer)
...
* Added variants of getBytes and setBytes to AbstractChannelBuffer
2008-08-10 13:29:00 +00:00
Trustin Lee
b3519dec05
Typo
2008-08-10 07:11:06 +00:00
Trustin Lee
2d49a467aa
More JavaDoc
2008-08-10 07:08:29 +00:00