Trustin Lee
7eb0f6105d
Fix memory leaks
2013-06-13 13:32:47 +09:00
Trustin Lee
14158070bf
Revamp the core API to reduce memory footprint and consumption
...
The API changes made so far turned out to increase the memory footprint
and consumption while our intention was actually decreasing them.
Memory consumption issue:
When there are many connections which does not exchange data frequently,
the old Netty 4 API spent a lot more memory than 3 because it always
allocates per-handler buffer for each connection unless otherwise
explicitly stated by a user. In a usual real world load, a client
doesn't always send requests without pausing, so the idea of having a
buffer whose life cycle if bound to the life cycle of a connection
didn't work as expected.
Memory footprint issue:
The old Netty 4 API decreased overall memory footprint by a great deal
in many cases. It was mainly because the old Netty 4 API did not
allocate a new buffer and event object for each read. Instead, it
created a new buffer for each handler in a pipeline. This works pretty
well as long as the number of handlers in a pipeline is only a few.
However, for a highly modular application with many handlers which
handles connections which lasts for relatively short period, it actually
makes the memory footprint issue much worse.
Changes:
All in all, this is about retaining all the good changes we made in 4 so
far such as better thread model and going back to the way how we dealt
with message events in 3.
To fix the memory consumption/footprint issue mentioned above, we made a
hard decision to break the backward compatibility again with the
following changes:
- Remove MessageBuf
- Merge Buf into ByteBuf
- Merge ChannelInboundByte/MessageHandler and ChannelStateHandler into ChannelInboundHandler
- Similar changes were made to the adapter classes
- Merge ChannelOutboundByte/MessageHandler and ChannelOperationHandler into ChannelOutboundHandler
- Similar changes were made to the adapter classes
- Introduce MessageList which is similar to `MessageEvent` in Netty 3
- Replace inboundBufferUpdated(ctx) with messageReceived(ctx, MessageList)
- Replace flush(ctx, promise) with write(ctx, MessageList, promise)
- Remove ByteToByteEncoder/Decoder/Codec
- Replaced by MessageToByteEncoder<ByteBuf>, ByteToMessageDecoder<ByteBuf>, and ByteMessageCodec<ByteBuf>
- Merge EmbeddedByteChannel and EmbeddedMessageChannel into EmbeddedChannel
- Add SimpleChannelInboundHandler which is sometimes more useful than
ChannelInboundHandlerAdapter
- Bring back Channel.isWritable() from Netty 3
- Add ChannelInboundHandler.channelWritabilityChanges() event
- Add RecvByteBufAllocator configuration property
- Similar to ReceiveBufferSizePredictor in Netty 3
- Some existing configuration properties such as
DatagramChannelConfig.receivePacketSize is gone now.
- Remove suspend/resumeIntermediaryDeallocation() in ByteBuf
This change would have been impossible without @normanmaurer's help. He
fixed, ported, and improved many parts of the changes.
2013-06-10 16:10:39 +09:00
Norman Maurer
81e3c1719a
[maven-release-plugin] prepare for next development iteration
2013-05-18 09:59:13 +02:00
Norman Maurer
99caefdf39
[maven-release-plugin] prepare release netty-4.0.0.CR3
2013-05-18 09:57:11 +02:00
Trustin Lee
41f5d5650d
Add Javadoc to tarball / Upgrade maven-compiler-plugin
...
- Fixes #1360
2013-05-17 18:32:27 +09:00
Andrei.Pozolotin
feab823bfb
use barchardt-udt 2.3.0 release. This fixes #1290 and 1329
2013-05-14 06:54:46 +02:00
Andrei Pozolotin
57a459d970
updated udt and connection test
2013-05-14 06:46:07 +02:00
Trustin Lee
c3b0a9c6b8
Fix duplicate invocation of same plugins due to needless fork of maven-source-plugin
...
- Fixes #1355
2013-05-13 16:03:00 +09:00
Norman Maurer
c43950a03f
[maven-release-plugin] prepare for next development iteration
2013-05-08 18:19:51 +02:00
Norman Maurer
ae76502040
[maven-release-plugin] prepare release netty-4.0.0.CR2
2013-05-08 18:19:38 +02:00
kerr
4bac0443e8
update to barchart-udt 2.2.6
...
* which fix https://github.com/barchart/barchart-udt/issues/48
2013-04-28 10:52:34 +02:00
Trustin Lee
6bb00cea6f
Fix failures in testsuite-osgi-deps
...
- Make only netty-common depend on javassist at compile scope, and
all others at test scope
2013-04-19 05:57:53 +09:00
Trustin Lee
7ccbcb90af
Upgrade to netty-build-19
2013-04-05 05:38:24 +09:00
Andrei Pozolotin
a3e760a003
fix #1234 - duplicate package-info.java errors in eclipse requires release of netty-build v 19 and netty-parent update.
2013-04-05 05:38:05 +09:00
Prajwal Tuladhar
05850da863
enable checkstyle for test source directory and fix checkstyle errors
2013-03-30 13:18:57 +01:00
Prajwal Tuladhar
c2cd99d90c
upgrade to maven 3.0.5
...
As Netty is using its own CI now
2013-03-28 21:49:36 +01:00
Norman Maurer
59012390f6
Fix version numbering
2013-03-25 08:01:11 +01:00
Norman Maurer
7d7b676eeb
[maven-release-plugin] prepare for next development iteration
2013-03-22 15:20:35 +01:00
Norman Maurer
60fc7dac4d
[maven-release-plugin] prepare release netty-4.0.0.CR1
2013-03-22 15:20:11 +01:00
Trustin Lee
e147615ddd
Upgrade to the latest maven-checkstyle-plugin
2013-03-22 14:49:37 +09:00
Trustin Lee
ffdc2a6b11
Upgrade dependencies
2013-03-22 11:57:15 +09:00
kerr
9175abc451
Update pom.xml
...
update the barchart-udt to 2.2.5
2013-03-21 08:38:48 +01:00
Trustin Lee
f70babcd94
Upgrade to Karaf 3.0.0.RC1
2013-03-19 15:56:20 +09:00
Trustin Lee
2a87950784
[maven-release-plugin] prepare for next development iteration
2013-03-16 18:41:36 +09:00
Trustin Lee
adfb29330b
[maven-release-plugin] prepare release netty-4.0.0.Beta3
2013-03-16 18:40:59 +09:00
Trustin Lee
e69b99fca4
Allow overriding JVM options for tests
2013-03-16 10:15:42 +09:00
Trustin Lee
8372e2ffc9
Skip OSGi testsuite if 'no-osgi' profile is active
2013-03-14 17:21:53 +09:00
Trustin Lee
c25513d5e1
Upgrade to protobuf 2.5 and take advantage of MessageLite.getParserFromType()
...
- also fall back to MessageBuilder if getParserFromType() is not available.
2013-03-12 16:25:35 +09:00
Trustin Lee
27b2f1304b
Why don't CI services upgrade to Maven 3.0.5?
...
Do they just wait for someone to exploit the vulnerability?
2013-03-11 09:11:11 +09:00
Trustin Lee
49aa907bd0
[maven-release-plugin] prepare for next development iteration
2013-02-26 16:55:07 -08:00
Trustin Lee
5026c2f359
[maven-release-plugin] prepare release netty-4.0.0.Beta2
2013-02-26 16:54:53 -08:00
Trustin Lee
671f9d48d4
Use ConcurrentHashMapV8 wherever possible
...
- Fixes #1052
2013-02-26 15:54:51 -08:00
Trustin Lee
e65e17c724
Require Maven 3.0.5 to stop users from using insecure 3.0.4
2013-02-23 21:10:53 -08:00
Norman Maurer
b56f60c7ff
Make jzlib dependency avaible in example for zlib
2013-02-21 06:59:16 +01:00
Atsuhiko Yamanaka
8fdf788cbd
[ #1012 ] Replace forked jzlib with official jzlib and add a test.
2013-02-20 12:49:05 +01:00
Trustin Lee
ee58de0698
Require Maven 3.0.4
...
.. because testsuite-osgi already requires that
2013-02-15 15:58:09 -08:00
Trustin Lee
d68a04a879
[maven-release-plugin] prepare for next development iteration
2013-02-14 12:56:24 -08:00
Trustin Lee
59e638f8f5
[maven-release-plugin] prepare release netty-4.0.0.Beta1
2013-02-14 12:56:15 -08:00
Trustin Lee
27e0ec1586
Indentation fixes
2013-02-14 12:21:30 -08:00
Trustin Lee
ba4c0e6194
Add microbench to the module list
2013-02-14 11:52:28 -08:00
Trustin Lee
e0cdeaaa2a
Revert the bad commit from maven-release-plugin
2013-02-14 11:47:03 -08:00
Trustin Lee
aa64209f9f
[maven-release-plugin] rollback the release of netty-4.0.0.Beta1
2013-02-14 11:45:49 -08:00
Trustin Lee
6fc86d0454
Comment out compiler options to work around MRELEASE-715
2013-02-14 11:37:49 -08:00
Trustin Lee
1e32835fbc
Include testsuite-osgi as part of the build
2013-02-14 11:33:51 -08:00
Trustin Lee
c457c3e6d6
Rename verify -> testsuite-osgi / Ensure testsuite-osgi runs without ~/.m2/settings.xml changes
2013-02-14 11:27:26 -08:00
Trustin Lee
1f3068fc6a
Remove UTF-8 encoding configuration spread over poms
2013-02-14 11:19:05 -08:00
Trustin Lee
54d44c6ac1
Use byte code generation if Javassist is available.
2013-02-08 21:45:14 +09:00
Norman Maurer
d98fbf7a82
Upgrade to new barchart-udt-bundle
2013-02-06 21:31:30 +01:00
Andrei Pozolotin
f24872c566
[ #1010 ] Add verify module to check osgi bundles
2013-02-06 20:13:07 +01:00
Norman Maurer
56b1a18de0
Upgrade barchart udt bundle
2013-02-06 08:04:49 +01:00
Norman Maurer
fd75615d7a
[ #870 ] Convert all modules into osgi bundles
2013-02-06 07:57:11 +01:00
Trustin Lee
598e70fd8f
Upgrade to netty-build-16
2013-02-05 18:48:19 +09:00
Trustin Lee
1f2aca02da
Add more compiler plugin options to make compilerArguments works
2013-01-31 21:02:56 +09:00
Trustin Lee
db37652f2a
Add compiler options to find unchecked/deprecated code
2013-01-31 20:57:58 +09:00
Trustin Lee
b46760f93f
Upgrade to netty-build-15 to fix build issues
2013-01-31 14:11:54 +09:00
Trustin Lee
7c50c1e2e6
Make Bootstrap and ServerBootstrap implement Cloneable and rename duplicate() to clone()
...
- Fixes #997
- Replace duplicate() with clone()
- Add copy constructor for simplicity
- Can now clone invalid/incomplete bootstrap
- Upgrade to netty-build-14 to disable SuperClone checkstyle module
- Finalize class hierarchy so no subclasses are introduced
2013-01-30 21:12:42 +09:00
Trustin Lee
b60e0b6a51
Modernize InternalLogger API and enable logging framework autodetection
...
- Borrow SLF4J API which is the best of the best
- InternalLoggerFactory now automatically detects the logging framework
using static class loading. It tries SLF4J, Log4J, and then falls back
to java.util.logging.
- Remove OsgiLogger because it is very likely that OSGi container
already provides a bridge for existing logging frameworks
- Remove JBossLogger because the latest JBossLogger implementation seems
to implement SLF4J binding
- Upgrade SLF4J to 1.7.2
- Remove tests for the untestable logging frameworks
- Remove TestAny
2013-01-19 20:50:52 +09:00
Trustin Lee
f670a7c923
Enable resource leak detection during test
2013-01-18 12:01:33 +09:00
Trustin Lee
24acfe7008
Remove io.netty.monitor as discussed in #922
2013-01-18 11:08:57 +09:00
Trustin Lee
ad15155f04
Ensure cascaded derivation of a buffer does not result in an infinitely nested buffer.
2013-01-17 13:55:48 +09:00
Trustin Lee
753d0bfbae
Remove the memory option previously added to avoid OOME
...
We don't see OOME anymore
2013-01-10 16:25:41 +09:00
Trustin Lee
eb337ff5a7
Fix various inspection warnings
2013-01-10 15:23:58 +09:00
Luke Wood
c094abad7b
[ #561 ] [ #912 ] Add Rxtx transport
2013-01-09 21:32:51 +01:00
Andrei.Pozolotin
20aa2e1968
[ #844 ] [ #867 ] Add UDT transport
2013-01-07 21:06:22 +01:00
Norman Maurer
ccb5409f58
[ #884 ] Split SCTP transport into extra module
2013-01-03 22:19:06 +01:00
Norman Maurer
37a3f2e3b8
[ #887 ] [ #866 ] [ #883 ] Add unified interface for Message oriented protocols and also use direct buffers for them
2013-01-03 18:15:53 +01:00
Norman Maurer
213c1e3d23
Replace sun.net.util.IPAddressUtil usage with own implementation
2012-12-29 18:13:44 +01:00
Trustin Lee
b4fb6a49ee
Remove codec-snappy from the module list
2012-12-19 18:28:34 +09:00
Luke Wood
43e40d6af6
Add Snappy compression codec
2012-12-18 21:09:31 +01:00
Norman Maurer
42f6a27235
Allow modify the config even before the channel is registered to the eventLoop
2012-12-14 15:10:10 +01:00
Trustin Lee
8945ce17ad
Update license notices and dependencies
2012-12-14 00:38:05 +09:00
Trustin Lee
ad10518fca
Fix the incorrect snapshot version number
2012-12-13 22:49:31 +09:00
Trustin Lee
b47fc77522
Add PooledByteBufAllocator + microbenchmark module
...
This pull request introduces the new default ByteBufAllocator implementation based on jemalloc, with a some differences:
* Minimum possible buffer capacity is 16 (jemalloc: 2)
* Uses binary heap with random branching (jemalloc: red-black tree)
* No thread-local cache yet (jemalloc has thread-local cache)
* Default page size is 8 KiB (jemalloc: 4 KiB)
* Default chunk size is 16 MiB (jemalloc: 2 MiB)
* Cannot allocate a buffer bigger than the chunk size (jemalloc: possible) because we don't have control over memory layout in Java. A user can work around this issue by creating a composite buffer, but it's not always a feasible option. Although 16 MiB is a pretty big default, a user's handler might need to deal with the bounded buffers when the user wants to deal with a large message.
Also, to ensure the new allocator performs good enough, I wrote a microbenchmark for it and made it a dedicated Maven module. It uses Google's Caliper framework to run and publish the test result (example)
Miscellaneous changes:
* Made some ByteBuf implementations public so that those who implements a new allocator can make use of them.
* Added ByteBufAllocator.compositeBuffer() and its variants.
* ByteBufAllocator.ioBuffer() creates a buffer with 0 capacity.
2012-12-13 22:35:06 +09:00
Trustin Lee
9c0b2ad75c
Update netty-build to the latest version
...
From this commit, checkstyle considers an unnecessary empty line as a
violation.
2012-12-04 16:46:46 +09:00
Norman Maurer
85c570505b
[maven-release-plugin] prepare for next development iteration
2012-12-03 20:34:05 +01:00
Norman Maurer
17d77ed160
[maven-release-plugin] prepare release netty-4.0.0.Alpha8
2012-12-03 20:33:49 +01:00
Trustin Lee
9018f8e5ca
Enable assertions only for Netty classes
2012-11-26 15:01:13 +09:00
Trustin Lee
d7f0351a85
Add JVM options for faster test runs
2012-11-26 14:53:15 +09:00
dantran
4107b08f29
Only generate OSGi manifest only at all-in-on sub module to reduce the complexity to the build
2012-11-19 06:27:18 +01:00
Norman Maurer
524fac5184
[ #748 ] Upgrade to yammer metrics 2.1.4
2012-11-18 12:23:44 +01:00
alexey
5d2b41c094
basic support for socks5 codec
2012-11-17 20:03:16 +01:00
Trustin Lee
b5d83a2407
Upgrade netty-build to 12
2012-11-14 16:32:44 +09:00
dantran
e236f5b77d
[ #154 ] [ #727 ] Use maven-plugin-plugin to generate OSGi manifest
2012-11-12 09:15:36 +01:00
Trustin Lee
02a43804d4
Upgrade netty-build to 11
2012-11-10 01:13:38 +09:00
Norman Maurer
313f777491
[maven-release-plugin] prepare for next development iteration
2012-11-05 23:08:39 +01:00
Norman Maurer
57da8222a4
[maven-release-plugin] prepare release netty-4.0.0.Alpha7
2012-11-05 23:08:28 +01:00
Norman Maurer
87cc67306f
[maven-release-plugin] prepare for next development iteration
2012-10-28 18:41:25 +01:00
Norman Maurer
7315490fca
[maven-release-plugin] prepare release netty-4.0.0.Alpha6
2012-10-28 18:41:17 +01:00
Norman Maurer
afc687436a
Revert "[maven-release-plugin] prepare release netty-4.0.0.Alpha6"
...
This reverts commit 95de4db0f1
.
2012-10-28 18:36:15 +01:00
Norman Maurer
16eb4ec713
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit e3e0776c20
.
2012-10-28 18:35:47 +01:00
Norman Maurer
e3e0776c20
[maven-release-plugin] prepare for next development iteration
2012-10-28 13:06:07 +01:00
Norman Maurer
95de4db0f1
[maven-release-plugin] prepare release netty-4.0.0.Alpha6
2012-10-28 13:05:59 +01:00
Olaf Bergner
ddd0734f43
Issue #65 : Provide distribution stats for HashedWheelTimer
...
First cut at implementing a generic abstraction layer for pluggable
metrics providers. This first cut is closely modeled after Yammer
Metrics. It remains to be seen if it is indeed flexibel enough to
support other providers.
Provide a default implementation of this new abstraction layer
based on Yammer Metrics.
Support pluggable Monitoring Providers using Java 6's ServiceLoader.
Use this new abstraction layer to provide stats on (a) number of
Timeouts executed per second and (b) distribution of absolute
deviation between scheduled and actual Timeout execution time in
HashedWheelTimer.
* Interface ValueDistributionMonitor, a monitor for histograms.
* Interface EventRateMonitor, a monitor for measuring the rate per time
unit of specific events.
* Interface ValueMonitor, a monitor for tracking an arbitrary datum's
current value
* Interface CounterMonitor, a monitor for incrementing/decrementing a
long value
* Interface MonitorRegistry, a registry for monitors that serves as the
interface between Netty and concrete metrics providers as e.g. Yammer
Metrics.
* Interface MonitorRegistryFactory, to be implemented by metrics
providers.
* Document how to use Netty's new monitoring support in javadocs for
package io.netty.monitor.
2012-10-25 23:10:15 +02:00
Trustin Lee
820af50b63
[maven-release-plugin] prepare for next development iteration
2012-09-28 17:57:40 +09:00
Trustin Lee
595e1067c7
[maven-release-plugin] prepare release netty-4.0.0.Alpha5
2012-09-28 17:57:04 +09:00
Trustin Lee
b3d568c4d2
de-duplicate plugin versions
2012-09-28 17:45:40 +09:00
Trustin Lee
0f0479547d
Upgrade to netty-build 10
2012-09-23 15:40:37 +09:00
norman
3295145e88
[maven-release-plugin] prepare for next development iteration
2012-09-13 10:40:52 +02:00
norman
42685759de
[maven-release-plugin] prepare release netty-4.0.0.Alpha4
2012-09-13 10:40:44 +02:00
Trustin Lee
f2538a996d
[maven-release-plugin] prepare for next development iteration
2012-08-30 16:47:52 +09:00
Trustin Lee
628c5598b3
[maven-release-plugin] prepare release netty-4.0.0.Alpha3
2012-08-30 16:46:58 +09:00
Trustin Lee
73720c422d
[maven-release-plugin] prepare for next development iteration
2012-08-21 15:41:04 +09:00
Trustin Lee
68bef8cb99
[maven-release-plugin] prepare release netty-4.0.0.Alpha2
2012-08-21 15:40:45 +09:00
Trustin Lee
4b1b0b8c18
Fix a build problem where javadoc is not attached to the all-in-one JAR
2012-08-21 15:37:04 +09:00
Trustin Lee
0a43350c66
[maven-release-plugin] prepare for next development iteration
2012-08-21 14:41:45 +09:00
Trustin Lee
56211fee59
[maven-release-plugin] prepare release netty-4.0.0.Alpha2
2012-08-21 14:39:59 +09:00
Trustin Lee
9028b611ce
Retry deployment if failed
2012-08-21 14:35:48 +09:00
Trustin Lee
0f0fffe488
Fix release quirks
2012-08-21 14:29:04 +09:00
Trustin Lee
a0e34fd93a
[maven-release-plugin] prepare for next development iteration
2012-08-21 14:13:38 +09:00
Trustin Lee
72ccf65093
[maven-release-plugin] prepare release netty-4.0.0.Alpha2
2012-08-21 14:13:17 +09:00
norman
061252e4b4
Allow to config read/write timeout for the AIO transport. See #509
2012-08-14 08:06:54 +02:00
Trustin Lee
b8a60dddd3
Fix m2e errors in Eclipse
2012-08-08 16:30:04 +09:00
Trustin Lee
5a613f379e
Make ByteBuf dynamic / Introduce an interface for composite buffers
...
- Replace ByteBufferBackedByteBuf with DirectByteBuf
- Make DirectByteBuf and HeapByteBuf dynamic
- Remove DynamicByteBuf
- Replace Unpooled.dynamicBuffer() with Unpooled.buffer() and
directBuffer()
- Remove ByteBufFactory (will be replaced with ByteBufPool later)
- Add ByteBuf.Unsafe (might change in the future)
2012-07-19 20:25:47 +09:00
Trustin Lee
2ef8b23ecd
Fix javadoc plugin errors
2012-07-11 00:33:53 +09:00
Trustin Lee
11de993efb
Upgrade maven-javadoc-plugin
2012-07-11 00:23:17 +09:00
Trustin Lee
7c2e09f7b2
Ensure tarball pom is updated during release:prepare
2012-07-11 00:11:10 +09:00
Trustin Lee
fbf54a6027
Add sonatype-oss-release profile
2012-07-11 00:00:36 +09:00
Trustin Lee
c588a8a40b
Fix the build issues found in the previous release process
2012-07-10 23:54:33 +09:00
Trustin Lee
d801459cb8
[maven-release-plugin] prepare for next development iteration
2012-07-10 23:11:33 +09:00
Trustin Lee
527f2f6c6e
[maven-release-plugin] prepare release netty-4.0.0.Alpha1
2012-07-10 23:10:48 +09:00
Trustin Lee
ac364e3bf3
Use the release version rather than the snapshot version when tagging
2012-07-10 23:04:09 +09:00
Trustin Lee
a487da1fcb
Update release options
2012-07-10 23:02:44 +09:00
Cruz Julian Bishop
8b5ab52a5b
Update dependencies to the latest stable versions
2012-07-07 14:30:25 +09:00
Norman Maurer
c165a38e15
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-07-07 14:30:24 +09:00
Trustin Lee
41a9c66f66
fullbuild -> full
2012-07-07 14:28:50 +09:00
Trustin Lee
4c2893e952
Add the tarball module
...
- Activated only when -Pfullbuild option is set or during release
2012-07-07 14:28:50 +09:00
Trustin Lee
aa3be3e1e8
Build all-in-one JAR on non-fullbuild.
2012-07-07 14:28:50 +09:00
norman
a5b6f1d615
Ignore NetworkChannel class. See #396
2012-07-03 13:52:33 +02:00
Norman Maurer
032912d938
Commit first round of classes to support nio2/async channel api. Still work in progress.. See #396
2012-06-13 22:24:16 +02: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
234bd78efa
Generate all-in-one source JAR
2012-06-13 10:43:16 +09:00
Trustin Lee
8e55bfbc9c
Update dependency versions to the latest versions
2012-06-11 21:38:42 +09:00
Trustin Lee
86cf144b8a
Update the checkstyle rules
2012-06-09 05:07:34 +09:00
Trustin Lee
7c20426572
Do not use unreleased checkstyle rules
2012-06-08 19:30:06 +09:00
Trustin Lee
468a3228a4
Fit every line into 120 columns
2012-06-08 19:28:12 +09:00
Trustin Lee
e1a006cac4
Update to the latest checkstyle rules
2012-06-08 16:59:08 +09:00
Trustin Lee
1eced1e9e3
Update license headers
2012-06-04 13:31:44 -07:00
norman
14b2a0db99
Add JBoss Marshalling Encoder/Decoder. See #324
2012-05-30 19:09:54 -07:00
Trustin Lee
528b5c4328
Removed the modules that are not part of 4.0.0.Alpha1
...
- Will add them back before Beta1 is out
2012-05-27 19:28:28 -07:00
norman
805270c5d9
Finish support for UDP Multicast in UDP. See #216
2012-04-03 12:04:33 +02:00
norman
9b90e3191a
Finish support of NIO UDP multicast. This also change the methods to
...
return a ChannelFuture. See #216
2012-04-02 11:57:32 +02:00
norman
4eac8f6b70
Use jUnit Assume to "ignore" SCTP tests on non-unix operation systems
2012-04-02 07:34:15 +02:00
Norman Maurer
43db6d7050
Enable/Disable sctp tests based on the detected OS
2012-03-30 21:35:58 +02:00
Trustin Lee
5311257490
Upgrade to the latest netty-build version
2012-03-02 10:35:23 -08:00
Trustin Lee
b22ebbe430
Make #211 work with Java 5
...
* Use java.util.zip.Deflater only when running under Java 7
2012-03-01 15:52:57 -08:00
Trustin Lee
8ab9451086
Fix #208 - SslHandler does not use ChannelBufferFactory to create a new buffer
...
* Also fixed build failure caused by wrong fork mode
2012-02-29 09:19:18 -08:00
Trustin Lee
2f6d02da60
Run tests in random order
2012-02-28 10:38:45 -08:00
Trustin Lee
97b4876c08
Fix build errors with m2e
2012-02-20 16:01:28 -08:00
Trustin Lee
29cafcf842
Upgrade to netty-build v6
2012-02-07 17:41:12 +09:00
Trustin Lee
3b31daf8a3
Fix missing copyright headers
2012-02-07 17:26:55 +09:00
Trustin Lee
ae3e3e5abe
Fix a problem with M2E plugin
2012-02-07 15:30:41 +09:00
Trustin Lee
59e5f2f262
Upgrade to netty-build-4
2012-01-17 18:37:15 +09:00
Trustin Lee
783a7e5f9a
Fix all remaining checkstyle violations
2012-01-15 02:08:31 +09:00
Trustin Lee
0007e91923
RXTX -> Rxtx for consistent naming convention
2012-01-15 01:09:17 +09:00
Trustin Lee
26bb9576da
Use a separate netty-build release
2012-01-11 21:02:46 +09:00
Trustin Lee
099e689338
Make build success with checkstyle violations temporarilly
2012-01-11 20:22:54 +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
norman
86d39274c6
Exclude scpt from the build for now until it is moved to an extra
...
sub-module. See #120
2011-12-12 14:59:34 +01:00
Trustin Lee
c591707592
Attach Javadoc (it really works this time)
2011-12-09 19:05:14 +09:00
Trustin Lee
37f9d16b89
Attach Javadoc
2011-12-09 18:38:49 +09:00
Trustin Lee
85d94a0c4f
Attach Javadoc to sync with the central repo
2011-12-09 18:24:31 +09:00
Trustin Lee
c07a984671
Add maven-gpg-plugin to sync with the central repo
2011-12-09 15:47:19 +09:00
Trustin Lee
5351bdcdff
Add developers section to pom.xml
2011-12-09 15:22:00 +09:00
Trustin Lee
82aa0969e2
Add organization info
2011-12-09 14:49:10 +09:00
Trustin Lee
91681b5150
Do not expose @author and @version
2011-12-09 14:43:52 +09:00
Trustin Lee
9f41a5a1f8
Update license header / Remove JBoss style
2011-12-09 14:18:34 +09:00
Trustin Lee
6fdb7d9116
org.jboss.netty -> io.netty
2011-12-09 12:38:59 +09:00
Trustin Lee
84902a6e7a
Update compiler options
2011-12-09 12:26:45 +09:00
Trustin Lee
6d307734f1
Update enforcer rules and project URL
2011-12-09 12:24:14 +09:00
Trustin Lee
57b5c20433
Change groupId to io.netty / inherit Sonatype OSS
2011-12-09 11:52:12 +09:00
Trustin Lee
2a764d9d9f
Make build independent from JBoss.org M2 repository
2011-12-09 11:38:29 +09:00
Jestan Nirojan
0a99e8bb57
prepared merge with upstream
2011-12-08 00:27:23 +05:30
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
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
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
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
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
bb5bbdc99e
Upgrade to JUnit 4.10
2011-10-31 15:19:50 -07:00
Trustin Lee
3b7f55dc35
Testing e-mail notification (2)
2011-10-22 20:53:19 -07:00
Trustin Lee
ce3240d3a4
Testing e-mail notification
2011-10-22 20:51:43 -07:00
Jestan Nirojan
92ccd2fbfa
fixed sctp package compilation errors
2011-04-23 14:03:52 +05:30
Trustin Lee
a722f64991
Fixed indentation
2011-04-18 17:50:29 +09:00
iainmcgin
12d2c8ad2e
NETTY-246: adding implementation to netty trunk for the 4.0.0 release. In order to get the tests to pass,
...
I had to change the surefire fork policy from "never" to "once", as it seems the classloader settings used
by the maven process were preventing jmock from mocking package private interfaces.
2011-04-18 17:44:54 +09:00
Trustin Lee
4144b43735
NETTY-386 Support for serial connections using RXTX
...
Contributed by Daniel Bimschas and Dennis Pfisterer
Initial import after fixing compiler warnings and removing log
messages and shut-down hooks
2011-02-24 17:26:18 +09:00
Trustin Lee
93d9461ff5
Fixed broken SCM URL in pom.xml
2011-02-07 21:31:32 +09:00
Trustin Lee
1dd30c8abe
Upgraded the enforcer plugin and updated the rule
2011-02-07 21:18:00 +09:00
Trustin Lee
098eacc135
Updated the dependency and plugin versions
2011-02-07 21:05:49 +09:00
Trustin Lee
b53742e366
Added Main-Class property to the manifest for easier version check
2011-02-02 13:16:49 +09:00
Trustin Lee
23c100190c
Set buildNumber to 'unknown' when built out of git repository
2011-01-12 18:59:49 +09:00
Trustin Lee
a719e88856
Fixed issue: NETTY-371 OSGi Manifest requires Bundle-BuddyPolicy for
...
object deserialization
Added proper BuddyPolicy properties to the manifest
2011-01-12 18:32:58 +09:00
Trustin Lee
1c067a5c21
Changed SCM URLs
2011-01-11 18:42:34 +09:00
Trustin Lee
c5a29f00a4
Fixed build issues
...
* Replaced the buildnumber plugin with antrun exec tag to generate the build number correctly.
* Fixed a problem where MANIFEST.MF is lost
2011-01-11 18:20:08 +09:00
Trustin Lee
e83b5503da
Fixed NETTY-376 Manifest not present in the first entry of the zip
2011-01-04 14:22:35 +09:00
Trustin Lee
d3fb52e11d
4.0 requires Java 6 or above
2010-11-12 09:42:43 +09:00
Trustin Lee
f4e83e0421
Begin 4.0
2010-06-30 05:31:48 +00:00
Trustin Lee
14a82cb6df
[maven-release-plugin] prepare for next development iteration
2010-06-23 05:28:05 +00:00
Trustin Lee
ce2736b4ef
[maven-release-plugin] prepare release netty-3.2.1.Final
2010-06-23 05:27:36 +00:00
Trustin Lee
5f3fe47392
Excluded examples from the JAR
2010-06-21 08:12:08 +00:00
Trustin Lee
62746e3e5e
[maven-release-plugin] prepare for next development iteration
2010-05-28 05:15:50 +00:00
Trustin Lee
e2ac42975c
[maven-release-plugin] prepare release netty-3.2.0.Final
2010-05-28 05:13:51 +00:00
Trustin Lee
688ec9d927
removed google analytics
2010-05-07 11:22:19 +00:00
Trustin Lee
65ee3d5579
Inserted Google Analytics code
2010-05-07 11:14:53 +00:00
Trustin Lee
4fc22e1a26
[maven-release-plugin] prepare for next development iteration
2010-05-07 01:22:44 +00:00
Trustin Lee
7620360e1f
[maven-release-plugin] prepare release netty-3.2.0.CR1
2010-05-07 01:21:57 +00:00
Trustin Lee
34b2ed1a8d
Fixed a build problem where the resulting artifact does not contain the legal stuff.
2010-04-30 12:27:41 +00:00
Trustin Lee
0d4bba0a09
reverting back to the older jdocbook plugin due to weird build problem
2010-04-30 11:55:38 +00:00
Trustin Lee
37fca96a05
Wrong outputDirectory
2010-04-30 11:21:10 +00:00
Trustin Lee
3dd2224da5
copy license info to target/classes
2010-04-30 11:11:59 +00:00
Trustin Lee
2cef582f07
Inherited jboss-parent / Used maven-resources-plugin instead of maven-antrun-plugin
2010-04-30 11:07:17 +00:00
Trustin Lee
66882ae708
* Updated APIviz tags
...
* More help on file transfer
2010-04-16 05:01:55 +00:00
Trustin Lee
88f1332179
Excluded container integration classes from Javadoc
2010-03-31 03:22:11 +00:00
Trustin Lee
1ae76562b7
Simplified container integration by removing unused features
2010-03-31 03:20:47 +00:00
Trustin Lee
1f20d1b981
Resolved issue: NETTY-300 Conform to JBoss project version convention
...
* Red Hat -> Red Hat, Inc.
2010-03-24 05:20:47 +00:00
Trustin Lee
bd1c366afc
* NETTY-240 Upgrade the dependencies to the latest versions
...
* Release plugin should use dav:svn instead of dav.
2010-03-24 04:47:40 +00:00
Trustin Lee
1612dd848f
Removed unnecessary dependencies
2010-03-24 04:06:41 +00:00
Trustin Lee
807291a2db
Removed outdated XNIO transport - it needs to be rewritten in the next major feature release.
2010-03-24 04:00:49 +00:00
Trustin Lee
08090968c5
[maven-release-plugin] prepare for next development iteration
2010-03-04 10:01:06 +00:00
Trustin Lee
7401824942
[maven-release-plugin] prepare release netty-3.2.0.BETA1
2010-03-04 10:00:32 +00:00
Trustin Lee
45a0372179
Upgraded to APIviz 1.3.1
2010-03-04 09:42:27 +00:00
Trustin Lee
f4d7f573a1
Upgraded to Google Protobuf 2.3.0
2010-02-19 00:14:25 +00:00
Trustin Lee
e50192c312
Added developers section
2010-02-17 09:45:45 +00:00
Trustin Lee
c64f83fb47
added scm.url
2010-02-17 09:34:25 +00:00
Trustin Lee
e247a282b1
Fixed wrong plugin order
2010-02-09 03:07:22 +00:00
Trustin Lee
a3f33851de
Copy the Javadoc resources
2010-02-09 03:06:05 +00:00
Trustin Lee
0496368055
New Javadoc/xref stylesheet
2010-02-09 02:54:32 +00:00
Trustin Lee
5269e64598
[maven-release-plugin] prepare for next development iteration
2010-02-02 06:42:57 +00:00
Trustin Lee
51f9ca047a
[maven-release-plugin] prepare release netty-3.2.0.ALPHA4
2010-02-02 06:42:16 +00:00
Trustin Lee
9d2fcd6ff3
Fixed compilation error resulted by the recent dependency upgrade
2010-01-26 13:15:21 +00:00
Trustin Lee
514586b917
Reverting back to Guice 1.0 due to compilation issue with JDK 1.5
2010-01-26 11:13:09 +00:00
Trustin Lee
a8205a9545
Related issue: NETTY-240 Upgrade the dependencies to the latest versions
...
* Applied David Dabbs's patch with some minor modification (version bump)
2010-01-26 10:49:01 +00:00
Trustin Lee
149a6cef71
[maven-release-plugin] prepare for next development iteration
2010-01-11 10:15:11 +00:00
Trustin Lee
a0e3cc6510
[maven-release-plugin] prepare release netty-3.2.0.ALPHA3
2010-01-11 10:14:29 +00:00
Trustin Lee
ad4d99c764
Fixed NETTY-263 (Build fails with unzipped distribution)
...
* Configured buildnumber-maven-plugin not to fail even if svn up fails
2009-12-21 04:20:41 +00:00
Trustin Lee
807e801453
[maven-release-plugin] prepare for next development iteration
2009-12-18 08:30:08 +00:00
Trustin Lee
3c0119c8fb
[maven-release-plugin] prepare release netty-3.2.0.ALPHA2
2009-12-18 08:29:22 +00:00
Trustin Lee
74bbc819b9
Updated the dependencies and build plugins to the latest version except for XNIO, which needs additional work
2009-11-16 14:55:52 +00:00
Trustin Lee
eaa5da5aeb
[maven-release-plugin] prepare for next development iteration
2009-11-16 11:51:07 +00:00
Trustin Lee
32a0bed729
[maven-release-plugin] prepare release netty-3.2.0.ALPHA1
2009-11-16 11:50:17 +00:00
Trustin Lee
eeb98c5f97
* Forked JZlib to support GZIP format
...
* Added CompressionException to hide ZStreamException
* Better javadoc on compression level
* Better compression level validation
2009-10-21 06:07:26 +00:00
Trustin Lee
a7132ee08e
Relates issue: NETTY-80 Compression codec
...
* Initial implementation of jzlib based zlib compression handler
2009-10-16 06:10:25 +00:00
Trustin Lee
e88dd98cf1
[maven-release-plugin] prepare for next development iteration
2009-10-12 10:49:35 +00:00
Trustin Lee
68fdf17d34
[maven-release-plugin] prepare release netty-3.1.5.GA
2009-10-12 10:49:08 +00:00
Trustin Lee
852a89220a
Fixed issue: NETTY-232 NoSuchMethodError when decoding Google Protocol Buffers 2.2.0 messages
...
* Upgraded to protobuf-java 2.2.0
2009-10-07 12:00:24 +00:00
Trustin Lee
21f1779e50
[maven-release-plugin] prepare for next development iteration
2009-09-28 05:05:32 +00:00
Trustin Lee
59eb656112
[maven-release-plugin] prepare release netty-3.1.4.GA
2009-09-28 05:05:03 +00:00
Trustin Lee
85fcfc7f19
[maven-release-plugin] prepare for next development iteration
2009-09-08 02:48:18 +00:00
Trustin Lee
d99b983480
[maven-release-plugin] prepare release netty-3.1.3.GA
2009-09-08 02:47:50 +00:00
Trustin Lee
48a0140c0d
Updated the license information in the POM.xml
2009-08-28 07:39:09 +00:00
Trustin Lee
b11ef6ca9b
Relicensed to Apache License v2
2009-08-28 07:15:49 +00:00
Trustin Lee
be32586d50
Build property cleanup
2009-08-27 04:07:09 +00:00
Trustin Lee
29cf4f83a3
Fixed build error that version.txt is not generated
2009-08-27 04:05:49 +00:00
Trustin Lee
4c42b49ebd
Workaround for Maven build problem in some M2 versions
2009-08-27 04:03:26 +00:00
Trustin Lee
cc386efd62
Added Version.main() for easier version identification
2009-08-27 03:50:19 +00:00
Trustin Lee
aee966287d
Added org.jboss.netty.util.Version for easier runtime version identification
2009-08-27 03:44:57 +00:00
Trustin Lee
5d81dfc495
[maven-release-plugin] prepare for next development iteration
2009-08-24 01:02:50 +00:00
Trustin Lee
f4591f1559
[maven-release-plugin] prepare release netty-3.1.2.GA
2009-08-24 01:02:24 +00:00
Trustin Lee
38dc4e0a96
Will release 3.1.2.GA as a critical issue has been found
2009-08-24 00:58:42 +00:00
Trustin Lee
b0bdef67be
[maven-release-plugin] prepare for next development iteration
2009-08-17 05:29:58 +00:00
Trustin Lee
7a0ff7d1ea
[maven-release-plugin] prepare release netty-3.1.1.GA
2009-08-17 05:29:32 +00:00
Trustin Lee
68b54c9dde
[maven-release-plugin] prepare for next development iteration
2009-07-24 04:10:14 +00:00
Trustin Lee
7ea7d5bfcd
[maven-release-plugin] prepare release netty-3.1.0.GA
2009-07-24 04:09:49 +00:00
Trustin Lee
3185a49a50
Will release GA
2009-07-24 04:06:04 +00:00
Trustin Lee
31bf9fd706
Added SCM revision to MANIFEST.MF, user guide, Javadoc, and Xref
2009-07-23 08:07:34 +00:00
Trustin Lee
ea81870a28
Font embedding
...
Bigger program listing text
2009-07-15 12:04:07 +00:00
Trustin Lee
01dffb1ad8
Updated maven-jdocbook-plugin
2009-07-15 11:04:51 +00:00
Trustin Lee
f4cdf3c3f8
* Upgraded dependencies
...
* Re-generated Protobuf classes
2009-07-15 09:33:11 +00:00
Trustin Lee
1ba36a6cd1
[maven-release-plugin] prepare for next development iteration
2009-06-19 18:11:32 +00:00
Trustin Lee
d6d8cd3ff2
[maven-release-plugin] prepare release netty-3.1.0.CR1
2009-06-19 18:11:18 +00:00
Trustin Lee
9939012684
Preparing to release Netty 3.1.0.CR1
2009-06-19 17:57:46 +00:00
Trustin Lee
1b56a56c2f
Beautified JXR report
2009-06-19 17:31:31 +00:00
Trustin Lee
d784a68478
New organization name
2009-06-18 10:44:17 +00:00
Trustin Lee
8657220bf4
Custom stylesheet for prettier Javadoc
2009-06-18 09:54:59 +00:00
Trustin Lee
c898a55dad
Added Javadoc linkage to XNIO
2009-06-18 09:48:59 +00:00
Trustin Lee
af3cd875f0
[maven-release-plugin] prepare for next development iteration
2009-05-22 08:49:20 +00:00
Trustin Lee
4bdf2ad00e
[maven-release-plugin] prepare release netty-3.1.0.BETA3
2009-05-22 08:49:06 +00:00
Trustin Lee
63c94a4edc
Fixed build failure in Windows
2009-05-22 07:35:26 +00:00
Trustin Lee
4d81a66e26
* Upgraded Maven plugins
...
* Specified the resource encoding explicitly
2009-05-21 09:55:44 +00:00
Trustin Lee
3d568d449b
Fixed OSGi descriptor
2009-04-23 05:26:19 +00:00
Trustin Lee
c5af24045f
[maven-release-plugin] prepare for next development iteration
2009-04-18 14:11:52 +00:00
Trustin Lee
249b88dc1f
[maven-release-plugin] prepare release netty-3.1.0.BETA2
2009-04-18 14:11:38 +00:00
Trustin Lee
10fc8fb398
Will release a couple more BETA before CR
2009-04-18 12:54:59 +00:00
Trustin Lee
29d56ff975
Updated the overview section of the Javadoc
2009-04-10 13:09:30 +00:00
Trustin Lee
6170cf8cc6
Upgraded to APIviz 1.3.0
2009-04-09 07:21:34 +00:00
Trustin Lee
c91b98e254
Fixed build failure
2009-04-03 16:54:50 +00:00
Trustin Lee
ec0b3fe3f2
* Moved internal utility classes to org.jboss.netty.util.internal
...
* Made org.jboss.netty.util public
* Moved ObjectSizeEstimator and its implementation to org.jboss.netty.util
2009-04-03 07:41:54 +00:00
Trustin Lee
f5e42348c7
Updated the eclipse plugin
2009-04-03 05:47:12 +00:00
Trustin Lee
7565be76e7
Now supports UDP :)
2009-03-16 09:18:14 +00:00
Trustin Lee
1afcc06ba0
[maven-release-plugin] prepare for next development iteration
2009-03-16 08:09:42 +00:00
Trustin Lee
7115cf2935
[maven-release-plugin] prepare release netty-3.1.0.BETA1
2009-03-16 08:07:47 +00:00
Trustin Lee
5f676a83af
Added a build option 'attach-distribution'
2009-03-14 16:45:20 +00:00
Trustin Lee
bd184cc665
Renamed TestOptions to TestUtil
2009-03-12 00:42:41 +00:00
Trustin Lee
521f220aaa
* Excluded non-unit test
...
* Changed the forkMode to never
2009-03-10 21:34:05 +00:00
Trustin Lee
fabe3a36c9
[maven-release-plugin] prepare for next development iteration
2009-02-26 11:12:10 +00:00
Trustin Lee
2665c5cea5
[maven-release-plugin] prepare release netty-3.1.0.ALPHA4
2009-02-26 11:11:54 +00:00
Trustin Lee
720b6cdf8f
Added dav: prefix to the distribution url
2009-02-26 11:07:04 +00:00