Commit Graph

3282 Commits

Author SHA1 Message Date
Cruz Julian Bishop
557f1c85df Little bit more testing 2012-06-29 13:35:14 +10:00
Cruz Julian Bishop
3d9be81377 Provide a basic test for getBufferFor() 2012-06-29 13:31:02 +10:00
Cruz Julian Bishop
00ae0e8ad9 Merge remote-tracking branch 'Netty/master' into fix-414 2012-06-29 13:02:32 +10:00
Norman Maurer
33c42bee6d Merge pull request #409 from Massive-Dynamics/network-constants-doc
Adds javadoc to NetworkConstants
2012-06-28 05:08:01 -07:00
Norman Maurer
a12a99a3dc Merge pull request #416 from Massive-Dynamics/non-reentrant-lock-doc
Add documentation to NonReentrantLock
2012-06-28 05:07:17 -07:00
Norman Maurer
2610a94de9 Fix SpdyHttpHeaders.setScheme setting the wrong header. See #417 2012-06-28 13:36:21 +02:00
Cruz Julian Bishop
e2989719e1 Comply with line width a bit more 2012-06-28 19:34:52 +10:00
Cruz Julian Bishop
a504aa1159 Documentation and checkstyle fixes from @fredericBregier
This is part of #414
2012-06-28 19:33:54 +10:00
Cruz Julian Bishop
42f3a6750a Add documentation and changes to ComposityByteBuf.getBufferFor(index)
Thanks to @kimchy and @fredericBregier
This is part of #414
2012-06-28 19:01:16 +10:00
Norman Maurer
8f4aa5b9e2 Merge pull request #411 from Massive-Dynamics/update-dependencies
Update dependencies to the latest stable versions
2012-06-28 00:21:59 -07:00
Cruz Julian Bishop
1d1d7b2a95 Add documentation to NonReentrantLock 2012-06-28 16:37:41 +10:00
Cruz Julian Bishop
49f0e32428 Actually throw the correct Exception type. Whoops!
This should be done, now.
2012-06-28 10:31:49 +10:00
Cruz Julian Bishop
332a35f9ed Simplify the process of getting the component 2012-06-28 10:29:11 +10:00
Cruz Julian Bishop
cb8c9767f6 Adds a method to get the buffer for a specific index in CompositeByteBuf
This fixes #414
2012-06-28 10:24:18 +10:00
Cruz Julian Bishop
63f4b44b50 Update dependencies to the latest stable versions 2012-06-28 08:55:29 +10:00
Cruz Julian Bishop
90e22644c3 Adds javadoc to NetworkConstants
Also renames some internal variables to be more understandable
No API changes! :)
2012-06-27 17:41:49 +10:00
Trustin Lee
90d9febbc0 Add more cookie decoding test case 2012-06-27 12:41:37 +09:00
Trustin Lee
a5d35f89d2 Add missing license headers 2012-06-26 17:33:05 +09:00
Trustin Lee
3b945bca78 Remove a method of no use 2012-06-26 05:30:07 +09:00
Trustin Lee
6d2f6d697d Make CookieEncoder and CookieDecoder stateless
- Also: CookieEncoder is split into ServerCookieEncoder and
  ClientCookieEncoder
2012-06-26 05:26:54 +09:00
Trustin Lee
1be9bbf62c Add CompositeByteBuf.numComponents() 2012-06-24 22:14:17 +09:00
Trustin Lee
7b2992a95a Fix #218: CookieDecoder.decode() throws StackOverflowError
- Rewrote key-value decoder not using a regular expression
2012-06-24 18:07:47 +09:00
Trustin Lee
ee8091f6fb Fix #397: Allow all cookie names that conform to the RFC
- Lenient flag is not needed anymore
2012-06-24 14:17:13 +09:00
Trustin Lee
0eb7a42c69 Fix test failures 2012-06-24 13:42:05 +09:00
Trustin Lee
a6e3d7d0ca Fix #405: CookieEncoder should refuse to encode more than one cookie
.. if on server mode
2012-06-24 12:59:44 +09:00
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