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
Trustin Lee
df5b82beb4
* Added ChannelBuffers.copiedBuffer(ByteOrder, String, String)
...
* More JavaDoc
2008-08-10 07:00:51 +00:00
Trustin Lee
0c8361e21f
Renamed ChannelBuffers.wrappedBuffer(String, String) to ChannelBuffers.copiedBuffer which is correct
2008-08-10 06:45:47 +00:00
Trustin Lee
ee62e8bbc0
More JavaDoc
2008-08-10 06:38:54 +00:00
Trustin Lee
80ab091c6e
More JavaDoc
2008-08-10 06:17:47 +00:00
Trustin Lee
cb88eb0aef
More JavaDoc
2008-08-10 05:52:36 +00:00
Trustin Lee
5590fe913d
More JavaDoc in ChannelBuffer
2008-08-10 05:09:55 +00:00
Trustin Lee
4710fb93de
Indentation
2008-08-10 01:24:44 +00:00
Trustin Lee
58599fe343
Added more toString() variants to ChannelBuffer - makes ChannelBuffer more convenient to decode a NUL-terminated string.
2008-08-10 01:20:30 +00:00
Trustin Lee
19fcbac575
Added unsigned integer access methods
2008-08-10 00:52:59 +00:00
Trustin Lee
289e84d69c
Added ChannelBuffer.readSlice() methods in case a user doesn't want to copy at the risk of modified content
2008-08-09 23:47:40 +00:00
Trustin Lee
b33bbf7da7
Removed ChannelBuffer.readBytes() which is useless
2008-08-09 23:33:52 +00:00
Trustin Lee
7acc333dd9
* Added string conversion methods to ChannelBuffer
...
* Added string wrapper methods to ChannelBuffers
2008-08-08 10:17:26 +00:00
Trustin Lee
1eab02881e
* Renamed ChannelBuffer.writeNul() to writeZero();
...
* Added ChannelBuffer.setZero()
2008-08-08 08:14:32 +00:00
Trustin Lee
44c5860d25
Renamed ChannelBuffer.writePlaceholder to writeNul
2008-08-08 02:07:57 +00:00
Trustin Lee
0202a01cf1
* Changed all package names to org.jboss.netty.*
...
* Added .classpath, .project and target to svn:ignore
2008-08-08 01:40:10 +00:00