Trustin Lee
4c072694be
Fix documentation errors
2012-06-19 11:35:43 +09:00
Trustin Lee
f60a6e861c
Add DatagramChannel.isConnected()
...
.. because there is no way for a user with isActive to know if
DatagramChannel is connected or not
2012-06-19 10:43:38 +09:00
Trustin Lee
9ec51d01d6
Add ChannelMetadata and remove unnecessary disconnect() impls
...
- Add Channel.metadata() and remove Channel.bufferType()
- DefaultPipeline automatically redirects disconnect() request to
close() if the channel has no disconnect operation
- Remove unnecessary disconnect() implementations
2012-06-19 10:39:30 +09:00
Trustin Lee
1f69e664fb
Forward-port JDK ZlibEncoder patch ( #404 )
...
- Rename ZlibEncoder/Decoder to JZlibEncoder/Decoder
- Define a new ZlibEncoder/Decoder class
- Add JdkZlibEncoder
- All JZlib* and JdkZlib* extends ZlibEncoder/Decoder
- Add ZlibCodecFactory and use it everywhere
2012-06-19 09:54:25 +09:00
Trustin Lee
7e75a9a1a9
Fix a bug where timeout handlers sometimes generate events too early
2012-06-18 13:38:59 +09:00
Trustin Lee
dc058d9cd9
Increase the timeout of LocalTransportThreadModelTest to 1 minute
2012-06-17 11:17:16 +09:00
Norman Maurer
5d01062da4
Revert as it should be in nio2 branch "Commit first round of classes to support nio2/async channel api. Still work in progress.. See #396 "
...
This reverts commit 18aaae3c2e
.
2012-06-13 22:24:32 +02:00
Norman Maurer
18aaae3c2e
Commit first round of classes to support nio2/async channel api. Still work in progress.. See #396
2012-06-13 22:23:21 +02:00
Trustin Lee
fa63b89fc3
fullbuild -> full
2012-06-13 18:51:44 +09:00
Trustin Lee
b9c8793755
Fix a problem where source jar is not attached
2012-06-13 18:47:57 +09:00
Trustin Lee
ccd5f7ff8c
Add the tarball module
...
- Activated only when -Pfullbuild option is set or during release
2012-06-13 18:30:31 +09:00
Trustin Lee
8bca27a88e
Use build-helper-maven-plugin instead of messy hack
2012-06-13 17:12:51 +09:00
Trustin Lee
64857050e3
Build all-in-one JAR on non-fullbuild.
2012-06-13 14:03:57 +09:00
Trustin Lee
ea5b294ce0
Build all-in-one JAR, xref, javadoc only on full build & release
2012-06-13 13:42:51 +09:00
Trustin Lee
b04e806bd9
Ensure 'mvn clean' removes the src directory
2012-06-13 13:28:18 +09:00
Trustin Lee
686756fa54
Clean src and target directory before making netty-all package
2012-06-13 13:21:48 +09:00
Trustin Lee
21288f86e8
Generate Xref
2012-06-13 12:49:54 +09:00
Trustin Lee
8b7af2ca3b
Generate Javadoc with APIviz
2012-06-13 12:11:11 +09:00
Trustin Lee
6b996722aa
Generate all-in-one javadoc
2012-06-13 11:05:42 +09:00
Trustin Lee
234bd78efa
Generate all-in-one source JAR
2012-06-13 10:43:16 +09:00
Trustin Lee
d66a0db6ca
Use maven-dependency-plugin instead of assemblies
...
- Adopted from @jamestyrrell's contribution
2012-06-13 10:01:21 +09:00
Trustin Lee
91fe9f4b38
serverID -> serverId ( #393 Ensure all fields follow naming convention)
2012-06-12 21:20:27 +09:00
Trustin Lee
90b12ba5d2
Fix a ClassCastException in EmbeddedMessageChannel
2012-06-12 21:09:33 +09:00
Trustin Lee
a35aeb8cd9
StreamID -> StreamId ( #393 Ensure all fields follow naming convention)
2012-06-12 21:06:45 +09:00
Trustin Lee
9bf0ad8329
ID -> Id ( #393 Ensure all fields follow our naming convention)
2012-06-12 20:29:06 +09:00
Trustin Lee
60de50d89e
ID -> Id ( #393 Ensure all fields follow our naming convention)
2012-06-12 20:25:21 +09:00
Trustin Lee
154198a385
ID -> Id ( #393 Ensure all fields follow our naming convention)
2012-06-12 20:20:24 +09:00
Trustin Lee
676b81a4cd
getPersist(ed) -> isPersist(ed) ( #393 )
2012-06-12 20:05:12 +09:00
Trustin Lee
dfce95dd5a
Remove unused type
2012-06-12 18:09:05 +09:00
Trustin Lee
fdb66b6294
Add 'is' prefix to boolean getters if their meaning is ambiguous
...
- plus minor code cleanup
- ID -> Id or id
2012-06-12 17:58:22 +09:00
Trustin Lee
61e357049e
Remove BlockingReadHandler from master
...
- As mentioned in the developer group:
- https://groups.google.com/d/topic/netty/ZT0zaZ56eoU/discussion
2012-06-12 17:42:36 +09:00
Trustin Lee
660e4548a6
Fix an unexpected RejectedExecutionException
...
- Ensure to run all remaining tasks before marking the executor as
'shut down'.
2012-06-12 17:41:06 +09:00
Trustin Lee
3393629eed
Log the cause of exceptionCaught event when failed to notify
2012-06-12 17:25:27 +09:00
Trustin Lee
3b562c917d
Move ChannelBufferType to netty-buffers and rename it to ChannelBufType
...
- Also add ChannelBuf.type()
2012-06-12 17:05:28 +09:00
Trustin Lee
ecd0ae5406
Prefer MessageBuf over Queue where possible
...
- Also replaced thread safe queues with non-thread-safe ones where
possible
- Unpooled.wrappedBuffer(Queue<T>) does not wrap MessageBuf anymore
2012-06-12 17:02:00 +09:00
Trustin Lee
e1faea035e
Automatic clean-up with Eclipse
...
- Mostly import organization & whitespace removal
2012-06-11 23:04:04 +09:00
Trustin Lee
6211e53e86
Code clean-up based on IntelliJ code analysis
2012-06-11 22:54:28 +09:00
Trustin Lee
8e55bfbc9c
Update dependency versions to the latest versions
2012-06-11 21:38:42 +09:00
Trustin Lee
40a7659784
Move utility methods in Unpooled to ByteBufUtil
2012-06-11 20:41:19 +09:00
Trustin Lee
754392aaa9
Add ByteBuf.order(ByteOrder) method to simplify little endian access
...
- Removed all methods that requires ByteOrder as a parameter
from Unpooled (formerly ByteBufs/ChannelBuffers)
- Instead, a user calls order(ByteOrder) to get a little endian
version of the user's buffer
- This gives less overwhelming number of methods in Unpooled.
2012-06-11 20:24:44 +09:00
Trustin Lee
876847fd20
Merge MessageBufs and ByteBufs into Unpooled
...
- e.g. Unpooled.messageBuffer()
- It will make much more sense once we introduce pooling:
- i.e. Pooled.buffer()
2012-06-11 17:02:29 +09:00
norman
71ad0125d6
No need for volatile
2012-06-11 09:58:53 +02:00
Trustin Lee
d27a27c980
Fix a bug where channelInactive() is not triggered for local transport
2012-06-11 11:59:00 +09:00
Trustin Lee
cf0259661e
Fix a race condition where local channel's closeFuture is notified early
...
- Added AbstractChannel.doPreClose() to allow a transport to perform
a task before closeFuture is notified
2012-06-11 11:53:43 +09:00
Trustin Lee
632542e0cd
Make a CPU-intensive test pass on a slow machine
2012-06-11 11:42:11 +09:00
Trustin Lee
f3bbb7291e
Remove a bad assertion
2012-06-11 11:39:44 +09:00
Trustin Lee
7d36f936c8
Fix failing tests
2012-06-11 11:35:07 +09:00
Trustin Lee
89444ef4ec
Fix a bug where ChunkedWriteHandler stalls
...
- Other encoders in the pipeline were swallowing the flush request.
- Do not allocate a new buffer unnecessarily in ChunkedNioFile
2012-06-11 11:23:09 +09:00
Trustin Lee
9dce123938
Use MessageBuf instead of Queue wherever possible in channel API
2012-06-11 10:43:47 +09:00
Norman Maurer
ed47feeed8
Fix checkstyle
2012-06-10 20:45:38 +02:00