Commit Graph

11 Commits

Author SHA1 Message Date
Sun Ning
a6d7105761 fix #360, add check for empty buffer; also add unit test for this scenario 2012-05-24 14:33:19 +08:00
Cruz Julian Bishop
71c1a2575d Added messages to all IndexOutOfBoundsExceptions
I need to implement this to help myself finish more future pull requests which, so far, are plagued by these exceptions with no information available.
2012-05-23 21:25:35 +10:00
norman
52a7d28cb5 Make sure CompositeChanneBuffer does not throw a UnsupportedOperationException if discardReadBytes() discard the whole content of the buffer. See #325 2012-05-15 13:59:33 +02:00
Norman Maurer
6e2e9fb3c5 Use gathering writes if java version is >= 7 . See #269 and #271 2012-04-24 20:32:06 +02:00
norman
05615c4779 Throw IllegalStateException if DynamicChannelBuffer exceed the maximum
ChannelBuffer size of 2gb. See #258
2012-04-16 09:55:03 +02:00
Trustin Lee
fd0b0a4e2b Code cleanup 2012-03-30 12:48:28 +09:00
Trustin Lee
c28137b0b2 Improve ChannelBufferInputStream documentation 2012-03-26 18:10:16 +09:00
Norman Maurer
2b9df060dd Add support to wrap primitives via ChannelBuffers.wrap*(..) easily. See
#167
2012-02-26 20:51:53 +01:00
Trustin Lee
303c1b5f79 Overall cleanup / Add lost old jzlib headers 2012-01-13 17:41:18 +09:00
Trustin Lee
ebfc4513e0 Apply checkstyle to the build
Please note that the build will fail at the moment due to various checkstyle
violations which should be fixed soon
2012-01-11 20:16:14 +09:00
Trustin Lee
8663716d38 Issue #60: Make the project multi-module
Split the project into the following modules:
* common
* buffer
* codec
* codec-http
* transport
* transport-*
* handler
* example
* testsuite (integration tests that involve 2+ modules)
* all (does nothing yet, but will make it generate netty.jar)

This commit also fixes the compilation errors with transport-sctp on
non-Linux systems.  It will at least compile without complaints.
2011-12-28 19:44:04 +09:00