Commit Graph

108 Commits

Author SHA1 Message Date
Trustin Lee
125ae30d04 Documentation TODO 2010-01-25 12:22:53 +00:00
Trustin Lee
5a897af28d Resolved issue: NETTY-278 ChannelBuffer.bytesBefore() as an alternative to indexOf()
* Added various bytesBefore() methods to ChannelBuffer
* Deprecated the methods that could be replaced by bytesBefore()
2010-01-20 05:55:16 +00:00
Trustin Lee
ebc2459bc7 Removed code duplication 2010-01-15 05:39:30 +00:00
Trustin Lee
8a8d1d1da6 Fixed failing test 2010-01-15 05:33:06 +00:00
Trustin Lee
57bdb3a4a5 Related issue: NETTY-257 Add the getters and setters for a String and a char[] to ChannelBuffer
* Reverted the previous addition of get/readString(...)
2010-01-15 05:28:17 +00:00
Trustin Lee
55b0bc2c2c Related issue: NETTY-257 Add the getters and setters for a String and a char[] to ChannelBuffer
* Added getString() and readString()
* Renamed toString(int, int, Charset) to getString(...)
* Removed some toString() methods which were added in the previous alpha releases - I will add an alternative method later
2010-01-14 11:44:11 +00:00
Trustin Lee
8a574a7eb6 Removed the two unnecessary methods - CharBuffer implements CharSequence already 2010-01-14 09:49:02 +00:00
Trustin Lee
6dcc714704 Indentation 2009-12-30 03:20:22 +00:00
Trustin Lee
aae6dce046 Indentation 2009-12-30 03:14:50 +00:00
Trustin Lee
7036654647 * Resolved issue: NETTY-269 (Add ChannelBuffers.copiedBuffer() that accepts char[], CharBuffer, and CharSequence)
* Rewrote toString() and copiedBuffer() implementation
* Removed unnecessary methods in CharsetUtil
2009-12-29 07:24:24 +00:00
Trustin Lee
24b59bbfa9 Resolved issue: NETTY-268 (Use Charset instead of String to represent a character set.)
* Replaced String charsetName with Charset
* Added o.j.n.util.CharsetUtil
2009-12-29 05:52:00 +00:00
Trustin Lee
38c60ef807 More straightforward description 2009-12-16 05:05:56 +00:00
Trustin Lee
47498eb159 Resolved issue: NETTY-258 (Make DynamicChannelBuffer.ensureWritableBytes() public)
* Added ChannelBuffer.ensureWritableBytes(int)
2009-12-16 05:02:23 +00:00
Trustin Lee
1688569758 Related issue: NETTY-253 (Add several useful getters and setters to ChannelBuffer class)
* Added ChannelBuffer.hasArray/array/arrayOffset()
2009-11-25 07:08:52 +00:00
Trustin Lee
2c3ab480a2 Related issue: NETTY-253 (Add several useful getters and setters to ChannelBuffer class)
* Added getters and setters for char, float, and double
2009-11-25 06:51:43 +00:00
Trustin Lee
9e44dbada5 Resolved issue: NETTY-254 Do not do lazy-initialization in dynamic buffer
* No lazy initialization anymore for DynamicChannelBuffer - it just causes confusion to users!
2009-11-19 08:38:46 +00:00
Trustin Lee
5eb56831e8 Optimized CompositeChannelBuffer creation 2009-11-03 02:34:54 +00:00
Trustin Lee
abfae49a7c DirectChannelBufferFactory.getBuffer(ByteBuffer) must not return a read only buffer 2009-10-16 04:33:04 +00:00
Trustin Lee
127851df31 Typo 2009-10-16 04:32:07 +00:00
Trustin Lee
972620d431 Resolved issue: NETTY-241 Add more ChannelBufferFactory.getBuffer() methods for less memory bandwidth consumption 2009-10-16 04:31:33 +00:00
Trustin Lee
eca6033456 Updated author information. I want to get messages about Netty in my gmail account. 2009-10-14 05:46:40 +00:00
Trustin Lee
c3b06d4a67 Updated author 2009-10-14 05:35:03 +00:00
Trustin Lee
d3488a1852 Fixed a bug where the newly added padding has wrong writeIndex 2009-10-13 08:51:25 +00:00
Trustin Lee
ed27ca19ea Renamed setFromList to setComponents 2009-10-13 08:46:41 +00:00
Trustin Lee
85712a72b8 Code cleanup 2009-10-13 08:35:22 +00:00
Trustin Lee
3b9d1a9dab Code cleanup 2009-10-13 08:03:05 +00:00
Trustin Lee
ca4c32df68 * Merged Frederic's 'aggregate' branch
* Refactored Frederic's test cases
* Code clean up
2009-10-13 07:54:18 +00:00
Trustin Lee
1ed1d63dd6 Better Javadoc based on Frederic's modification at the 'aggregate' branch 2009-10-13 03:41:35 +00:00
Trustin Lee
6b53303bd7 * Fixed incorrect Javadoc of ChannelBuffers.wrappedBuffer(ByteBuffer) 2009-10-12 07:40:18 +00:00
Trustin Lee
588cfa8518 Fixed issue: NETTY-228 Method "ChannelBuffers.wrappedBuffer(ByteBuffer buffer)" does not always honor ByteOrder 2009-09-21 01:24:19 +00:00
Trustin Lee
b11ef6ca9b Relicensed to Apache License v2 2009-08-28 07:15:49 +00:00
Trustin Lee
7851e84a2c More explanation on ChannelBuffer.discardReadBytes() 2009-08-28 05:56:47 +00:00
Trustin Lee
90329ef978 Updated APIviz tags (work in progress) 2009-07-17 12:49:32 +00:00
Trustin Lee
48a5d95dac Javadoc 2009-06-17 08:28:03 +00:00
Trustin Lee
ca11f90270 * Added ChannelBufferOutputStream.writtenBytes()
* Javadoc
2009-06-17 08:24:52 +00:00
Trustin Lee
c838c2aea3 Javadoc 2009-06-17 08:10:45 +00:00
Trustin Lee
70e90fc85e Fixed issue: NETTY-176 toByteBuffer() and slice() sometimes do not respect byte order
* Added tests to make sure all ChannelBuffer implementations are fixed
* Fixed the byte order problem in HeapChannelBuffer
2009-06-17 08:08:11 +00:00
Trustin Lee
b9cd9de5ed Fixed issue: NETTY-176 ByteBufferBackedBuffer.toByteBuffer() and slice() do not respect byte order 2009-06-17 07:57:14 +00:00
Trustin Lee
f22f0b2035 CompositeChannelBuffer.toByteBuffer() should return the ByteBuffer with the same order 2009-06-15 06:13:50 +00:00
Trustin Lee
ffe2831502 Fixed issue: NETTY-162 directBuffer cannot create buffer with LITTLE_ENDIAN endianness
* Added test case for little endian direct buffer
* Fixed a problem where the sliced buffer's endianness is not set
2009-05-30 06:50:09 +00:00
Trustin Lee
24ec8eeff6 Fixed the documentation error reported by Stefan 2009-05-08 08:21:13 +00:00
Trustin Lee
e8b186eb4a Moved the chapter 3 to the package description of org.jboss.netty.buffer. User guide will focus on bigger pictures 2009-04-28 11:28:04 +00:00
Trustin Lee
120db66aca More documentation on ChannelBuffer 2009-04-24 13:56:35 +00:00
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