Trustin Lee
f0127ec991
Do not warn about Unsafe in Android
2014-02-14 12:06:24 -08:00
Trustin Lee
bb145c0057
Fix wiki link
2014-02-14 12:04:12 -08:00
Trustin Lee
0e4c80b953
Fix IllegalStateException caused by ChannelHandlerAppender
2014-02-13 19:44:40 -08:00
Trustin Lee
abcb39b638
Do not use String.format() for log message generation
...
- It's slow.
2014-02-13 19:31:17 -08:00
Trustin Lee
c671103289
Deprecate CombinedChannelDuplexHandler in favor of ChannelHandlerAppender
...
- Fixes #2233
- Add ChannelHandlerAppender
2014-02-13 19:20:56 -08:00
Trustin Lee
7e1db4feb7
Deprecate CombinedChannelDuplexHandler in favor of ChannelHandlerAppender
...
- Fixes #2233
2014-02-13 19:20:25 -08:00
Trustin Lee
dea5c688fd
Fix checkstyle
2014-02-13 18:51:32 -08:00
Trustin Lee
ac70dc4546
Update the version to 4.1.0.Alpha1-SNAPSHOT
2014-02-13 18:32:26 -08:00
Trustin Lee
5226f75cfa
Clean up HttpObjectAggregator
2014-02-13 18:25:15 -08:00
Trustin Lee
51349352e2
Fix a bug that CompositeByteBuf.touch() does nothing
2014-02-13 18:24:36 -08:00
Trustin Lee
8837afddf8
Enable a user specify an arbitrary information with ReferenceCounted.touch()
...
- Related: #2163
- Add ResourceLeakHint to allow a user to provide a meaningful information about the leak when touching it
- DefaultChannelHandlerContext now implements ResourceLeakHint to tell where the message is going.
- Cleaner resource leak report by excluding noisy stack trace elements
2014-02-13 18:16:25 -08:00
Trustin Lee
0235244e55
Touch a ReferenceCounted while it traverses across a pipeline
2014-02-13 18:11:54 -08:00
Trustin Lee
45e70d9935
Add ReferenceCounted.touch() / Add missing retain() overrides
...
- Fixes #2163
- Inspector warnings
2014-02-13 18:10:11 -08:00
Trustin Lee
7e60877bc5
Merge the attribute map of ChannelHandlerContext into Channel
...
- Fixes #2136
- Also fixes some generics warnings
2014-02-13 18:02:44 -08:00
Trustin Lee
77d1f97b57
Add an HTML5 encoder mode for HttpPostRequestEncoder
...
- backported from 709be30442
by @igstan
2014-02-13 17:55:07 -08:00
Trustin Lee
4b0634b06a
Revive the deleted methods in HttpDataFactory and deprecate them
2014-02-13 17:48:13 -08:00
Michael Nitschinger
574480e332
Rename HttpDataFactory.*datas to *data. Fixes #2094
2014-02-13 17:45:36 -08:00
Trustin Lee
1d577a8d95
Get the PID properly on Android
...
- Related: #2109
2014-02-13 17:37:22 -08:00
Trustin Lee
d97f72d2c9
Fix a problem where DefaultChannelId prevents Netty 5 from running on Android
...
- Fixes #2109
- Use reflection to find the current PID
2014-02-13 17:35:44 -08:00
Trustin Lee
2b84314fdd
Add Recycler.Handle.recycle() so that it's possible to recycle an object without an explicit reference to Recycler
2014-02-13 17:24:37 -08:00
Trustin Lee
df346a023b
Change the return type of EmbeddedChannel.read*() from Object to an ad-hoc type parameter
...
.. so that there's no need to explicitly down-cast.
Fixes #2067
2014-02-13 17:19:26 -08:00
Trustin Lee
5e69955d23
Fix another buffer leak in XmlFrameDecoderTest
2014-02-13 17:15:06 -08:00
Trustin Lee
457cd2f6fa
Fix buffer leaks in XmlFrameDecoderTest
2014-02-13 17:14:59 -08:00
Trustin Lee
502ccabab3
Fix inspector warnings
2014-02-13 17:13:55 -08:00
Mirko Caserta
ee8571824b
CDATA support
2014-02-13 17:13:49 -08:00
Mirko Caserta
086dbd1ba1
Fixed the XML decoder
2014-02-13 17:13:39 -08:00
Trustin Lee
2d5a3b5898
Add XML decoder
...
- based on @mcaserta's work at https://github.com/netty/netty/pull/1121
- not ready for a merge yet
2014-02-13 17:13:29 -08:00
Frederic Bregier
9bd44a1d7c
Add support for 'charset' property for multipart boundaries
...
- Fixes #2004
2014-02-13 17:12:59 -08:00
Michael Nitschinger
b17a765615
codec-memcache: prefix abstract classes with Abstract.
2014-02-13 17:09:21 -08:00
Michael Nitschinger
fcb32a77b9
codec-memcache: No need to allocate a buffer if no extra is used.
2014-02-13 17:09:13 -08:00
Trustin Lee
6e23cf8c92
Fix checkstyle
2014-02-13 17:08:22 -08:00
Trustin Lee
516795fcfb
Add convenient logging methods for logging exceptions quickly
...
.. Mainly useful for writing tests or ad-hoc debugging
2014-02-13 17:08:14 -08:00
Trustin Lee
9840de82f0
Fix another buffer leak in BinaryMemcacheDecoderTest
2014-02-13 17:05:25 -08:00
Trustin Lee
b592a18cd1
Fix buffer leaks in BinaryMemcacheDecoderTest
2014-02-13 17:05:19 -08:00
Trustin Lee
ccd231b8f4
Fix a buffer leak in BinaryMemcacheDecoder
2014-02-13 17:05:05 -08:00
Trustin Lee
acf7dbf811
Fix buffer leaks in BinaryMemcacheEncoderTest
2014-02-13 17:04:58 -08:00
Trustin Lee
a8bc720977
Fixed buffer leaks in LoggingHandlerTest
2014-02-13 17:03:21 -08:00
Trustin Lee
86c4166c24
Fixed various buffer leaks in FixedCompositeByteBufTest
2014-02-13 17:03:13 -08:00
Trustin Lee
fab56bae94
Fix a buffer leak in BinaryMemcacheObjectAggregatorTest
2014-02-13 17:03:05 -08:00
Trustin Lee
d417e3dbd0
Fix a buffer leak in BinaryMemcacheObjectAggregatorTest
2014-02-13 17:02:58 -08:00
Trustin Lee
26fc84529f
Also record retain() and release()
2014-02-13 16:58:45 -08:00
Trustin Lee
0ff98c98e2
readableBytes() ==0 -> !isReadable()
2014-02-13 16:56:35 -08:00
Trustin Lee
d31a3e4120
Hide protocol detail from users
2014-02-13 16:56:22 -08:00
Michael Nitschinger
215e75c7d9
codec-memcache: increase default buffer size and only encode extras if set.
2014-02-13 16:55:46 -08:00
Trustin Lee
bea2acdf12
Allow specifying a custom charset for a multipart Attribute
...
- Fixed #2025
- Adapted from @BabyDuncan's pull request: #2031
- Overall ugliness clean-up
2014-02-13 16:55:22 -08:00
Norman Maurer
2351b8ddd9
Add FixedCompositeByteBuf which can be used to write an array of ByteBuf in an efficient way.
...
This implementation does not produce as much GC pressure as CompositeByteBuf and so is prefered,
for writing an array of ByteBufs. Be aware that FixedCompositeByteBuf is readonly.
When using this in a project that make heavy use of CompositeByteBuf for writes we was able to cut
down allocation to a half.
2014-02-13 16:52:31 -08:00
Michael Nitschinger
f03c32e137
[codec-memcache] encode key directly, no need to use unpooled.
2014-02-13 16:51:51 -08:00
Michael Nitschinger
a1526bedd3
codec-memcache: removed println in test case.
2014-02-13 16:51:45 -08:00
Michael Nitschinger
183bfe8f9f
codec-memcache: fix decoding issue for value parts.
...
This changeset fixes an issue when decoding would stop if the value
comes separated in two or more packets, leading to invalid bytes read.
2014-02-13 16:51:37 -08:00
Trustin Lee
3d874f0bd7
Improve documentation for the two-args formatter in LoggingHandler
2014-02-13 16:51:26 -08:00