Commit Graph

2385 Commits

Author SHA1 Message Date
Jestan Nirojan
724ca7a913 merged with master 2011-12-07 23:17:11 +05:30
Jestan Nirojan
40e6a73e94 Merge branch 'master' of github.com:jestan/netty 2011-12-07 22:53:33 +05:30
norman
5cb865c4ce Use AtomicInteger.class ClassLoader for Unsafe dection. See #102 2011-12-07 13:14:42 +01:00
norman
766525431d Rename the old LinkedTransferQueue to LegacyLinkedTransferQueue and fork
the "current" implementation of LinkedTransferQueue (from Doug Lea).
Introduce a QueueFactory which will load the right implementation
depending on the JVM version. This will make sure that the one with the
best performance is choosen and the code also works with java 5. See
#102
2011-12-07 12:08:39 +01:00
norman
51f69877a6 Fix compile errors 2011-12-07 07:57:56 +01:00
norman
cc761ae786 Allow to set/get an attachment on a Channel without the need of
ChannelLocal. See #101
2011-12-07 07:54:15 +01:00
Jestan Nirojan
3379a4c25d 1)replaced all netty link transfer queue by java 7 link transfer queue to avoid high cpu usage 2)optimized selector loop 2011-12-06 19:40:22 +05:30
Trustin Lee
a9a713ddcf Remove DocBook from build 2011-12-03 20:02:25 +09:00
Trustin Lee
4a4e46b83b Separate the user guide out of the project. 2011-12-03 19:54:54 +09:00
Vibul Imtarnasan
e3fdab81ed Merge pull request #98 from veebs/MasterPOM
Added fix for m2eclipse error "Plugin execution not covered by lifecycle configuration"  in pom.xml.
2011-12-02 12:08:27 -08:00
vibul
55940f500e Added fix for m2eclipse error "Plugin execution not covered by lifecycle configuration" in pom.xml. See issue #87. 2011-12-02 15:29:14 +11:00
Jestan Nirojan
78c949f282 Merge remote branch 'upstream/master' 2011-12-02 03:39:09 +05:30
Jestan Nirojan
460237d3f3 changed the visibility of ctx, event in channel event runnable, so execution handler implementers can have a down stream execution handler for SEDA 2011-12-02 00:15:09 +05:30
norman
0d5c7d3d2e Make sure the cumulation Buffer is only created if really needed. See
#88
2011-12-01 14:12:24 +01:00
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