Commit Graph

2521 Commits

Author SHA1 Message Date
Norman Maurer
55e7a85160 Merge pull request #95 from CruzBishop/task-61
.gitignore update, some task documentation, removal of @version tags
2011-12-01 04:15:38 -08:00
Cruz Bishop
18344fbc90 Merge branch 'master' of https://github.com/netty/netty into task-61 2011-12-01 21:36:44 +10:00
Cruz Bishop
ec9bcbd553 Removed @version tags and did some documentation
Some test classes are now documented
2011-12-01 21:34:25 +10:00
norman
2a0a63e1bb Remove the usage of AtomicLong as this only confuse users. The Handler
is not suited for re-use anyway. See #93
2011-12-01 09:39:48 +01:00
norman
47af6bc9e8 Encode FileRegion to ChannelBuffer's everytime the handler is called.
The user should add/remove it on the fly for better performance. See #89
2011-12-01 08:43:44 +01:00
Trustin Lee
73b89a2b1f Merge pull request #80 from netty/OMATPE-refactoring
Replace synchronization with an lock free approach
2011-11-30 23:26:51 -08:00
Cruz Bishop
62f2876694 Ignore "geany" files
These files are generated by the IDE that I use now
2011-12-01 17:17:19 +10:00
Trustin Lee
040b74f764 Merge pull request #92 from motlin/master
Fixes from static-analysis tools
2011-11-30 22:50:20 -08:00
Vibul Imtarnasan
7b71d43688 Merge pull request #85 from veebs/WebSocketV17
Support for WebSocket Hybi V17 and Autobahn test V.0.4.3
2011-11-30 20:57:30 -08:00
Craig P. Motlin
461837e14b Remove unnecessary concatenation with empty strings. 2011-11-30 21:17:05 -05:00
Craig P. Motlin
7ddf1b1ae1 Remove unnecessary 'return' statement. 2011-11-30 21:17:03 -05:00
Norman Maurer
9d3828bbe9 Use LinkedTransferQueue for OMATPE 2011-11-30 20:14:57 +01:00
norman
d2278a7d53 Make sure ChannelFutureAggregator is thread-safe and only hold the lock
as short as possible. This also change it to lazy init the HashSet that
holds the ChannelFuture's. See #90
2011-11-30 13:45:51 +01:00
norman
da3a52778b Add FileRegionEncoder which will take care of encode the FileRegion to
ChannelBuffer if necessary. See #89
2011-11-30 13:38:07 +01:00
norman
2ab42e5bde Replace tab by spaces 2011-11-30 10:47:41 +01:00
norman
ce1e48dc74 Remove reflection code which is not needed anymore because the next
major version of netty will require java6
2011-11-30 10:46:32 +01:00
norman
f6baf157df Remove "isEmpty()" check as this may be really expensive (need to
traverse all elements in the queue)
2011-11-30 10:27:09 +01:00
Veebs
6fbc168cbf Update example websocket client to use V17 2011-11-29 10:19:47 +11:00
Veebs
181355665b Fixed formatting. 2011-11-29 10:12:42 +11:00
Veebs
48addae927 Added support for Hybi V17 and run against Autobahn V0.4.3 2011-11-29 09:45:13 +11:00
Veebs
8efe131eb0 Fix closing handshake and run against Autobahn V0.4.3 2011-11-28 22:27:58 +11:00
Jestan Nirojan
ccbe3dd2f8 1)tested sctp with IBM JDK 7 2)fixed NPE on sctp notification event constructor 3)added maven exec plugin 2011-11-26 02:52:01 +05:30
norman
1bb3322268 Catch InterruptedException and interrupt the current Thread so we
at least give someone the chance todo something about it.
2011-11-25 14:03:17 +01:00
norman
e68aa06dfa Revert committed change which I added by mistake 2011-11-25 14:00:56 +01:00
norman
6b7b822f72 Revert "Make OrderedMemoryAwareThreadPoolExecutor lock free"
This reverts commit caa925198e.
2011-11-25 14:00:17 +01:00
norman
24f5379ee4 Merge branch 'master' of ssh://git@github.com/netty/netty.git 2011-11-25 09:37:58 +01:00
norman
263f2fe98b Make it easier to issue the handshake when SslHandler is used in a
client. See #84
2011-11-25 09:13:37 +01:00
Norman Maurer
a382149bba Catch InterruptedException and interrupt the current Thread so we at least give someone the chance todo something about it. 2011-11-24 11:32:05 +01:00
norman
2686dc99b4 Add some TODO 2011-11-24 11:13:54 +01:00
norman
9f712e3291 Replace synchronization with an lock free approach 2011-11-24 11:07:16 +01:00
norman
caa925198e Make OrderedMemoryAwareThreadPoolExecutor lock free 2011-11-24 09:51:49 +01:00
Trustin Lee
bbd251baed Fix build errors 2011-11-24 12:17:09 +09:00
Trustin Lee
5abd23d3ba Upgrade depepdencies to the latest versions
* Regenerate LocalTimeProtocol.java with the latest protoc
* Add an instruction on how to generate LocalTimeProtocol.java
* Not upgrading maven-bundle-plugin, which has a regression in 2.3.5:
  * https://issues.apache.org/jira/browse/FELIX-3058

Conflicts:

	src/main/java/org/jboss/netty/example/localtime/LocalTimeProtocol.java
2011-11-24 11:10:53 +09:00
Trustin Lee
e015456ae1 Add missing license headers 2011-11-24 10:22:21 +09:00
Trustin Lee
8debdb59e4 Fix weird repo mess 2011-11-24 10:18:31 +09:00
Trustin Lee
b6f8b5871c Rename ClassloaderClassResolver to ClassLoaderClassResolver 2011-11-24 10:15:51 +09:00
norman
946d4be69e Add constructors to make it possible to backport it to 3.2 without
breaking the api
2011-11-23 13:47:59 +01:00
Norman Maurer
971a7364f6 Merge pull request #75 from alepar/master
ObjectDecoder performance optimization
2011-11-23 03:55:35 -08:00
alepar
cee5ee5679 now able to resolve array types to classes 2011-11-23 15:18:43 +04:00
alepar
800a9fc20d making interface public, so that others can implement it jic 2011-11-23 14:48:42 +04:00
Norman Maurer
b5f8ff3003 Merge pull request #73 from ngocdaothanh/master
QueryStringDecoder should also support ; Fix for #72
2011-11-22 22:08:31 -08:00
Trustin Lee
2dafb3d91b Add a missing colon 2011-11-23 14:07:26 +09:00
Trustin Lee
1daf3c80c6 Merge branch 'master' of github.com:netty/netty 2011-11-23 14:02:57 +09:00
Trustin Lee
01c45650aa Add a missing close(SelectionKey) call
* Without calling close(SelectionKey), the client boss loop can fall
into an infinite loop.
2011-11-23 14:01:30 +09:00
alepar
cdbaeb86b0 adding class resolver with disabled cache, fixing unit tests 2011-11-23 02:57:32 +04:00
Ngoc Dao
c9a24729bd Fix #72 2011-11-23 04:14:10 +09:00
Norman Maurer
3ecb93eade Include the name which was the cause of the IllegalArgumentException while try to add a handler to the pipeline 2011-11-22 17:29:54 +01:00
alepar
7e6d07afaf use weak cache as default cache - it doesn't break class unloading
providing multiple implementations for caching, each good for its own specific use-case
2011-11-22 18:16:30 +04:00
alepar
99e9da1e75 sharing classResolver cache across all CompactObjectInputStream's in the same way, as we did in ObjectDecoder 2011-11-22 18:09:37 +04:00
alepar
deb61aa021 extracting class resolving role to separate interface 2011-11-22 17:33:54 +04:00