FogBugz (Case [Issue]10775) Zinc - Update Zn+Zdc May 2013

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]10775) Zinc - Update Zn+Zdc May 2013

Pharo Issue Tracker
A FogBugz case was edited by Sven Van Caekenberghe.

Case ID:      10775
Title:        Update Zn+Zdc May 2013
Status:       Work Needed
Category:     Bug
Project:      Zinc
Area:         Misc
Priority:     3 - Must Fix
Milestone:    Later
Assigned To:  Sven Van Caekenberghe

URL:          https://pharo.fogbugz.com/default.asp?10775

Changes
-------

- Extended ZnClient>>#noteRedirect to take the target URL as argument and log it
- Added ZnClient>>#curl debugging utility which generates a curl command line invocation from the current request
- Changed exception handling in ZnMultiThreadedServer: parse errors while reading an incoming request now result in a bad request response
- Added ZnReadEvalPrintDelegate, a REPL Web Service.
- Added ZnChunkedWriteStream
- Reorganized ZnChunkedStreamTests
- Optimized ZnChunkedReadStream>>#upToEnd
- Added #chunkCount to ZnChunked[Read|Write]Stream
- Added #position to ZnChunkedWriteStream
- Introduction of ZnEntityWriter with support for gzip/chunked encoding
- Refactored ZnEntity subclasses #writeOn: to use the newly introduced ZnUtils class>>#nextPutAll:on:
- ZnEntityWriter now uses a buffered stream when there is chunking without gzip compression for text (otherwise each character would become a chunk)
- Switched ZnNetworkingUtils to use ZdcSocketStream when it is available
- Added ZnServer>>#useGzipCompressionAndChunking[:] option and implementation (disabled by default)
- Fix ZnResponse>>#setTransferEncodingChuked to send a #clearContentLength
- Performance enhancement in ZnMessage/ZnEntity writing (more intelligent buffering, more intelligent encoding)
- Implemented #= and #hash for all Zn Core objects
- Added new tests and benchmarks (ZnMessageBenchmark)
- A new implementation of ZnStringEntity>>#readFrom: based on buffer wise delegation to ZnCharacterEncoder>>#readInto:startingAt:count:fromStream
- Changed ZnMultiThreadedServer>>#readRequestTerminationSet to a more sane value (this was probably forgotten in the last refactoring)
- Implemented ZnTestRunnerDelegate (original idea by Norbert Hartl - Thx)
- Minor optimalization to ZnUtils class>>#nextPutAll:on:
- Optimized ZnHeaders>>#normalizeHeaderKey: using a CommonHeaders set
- Further performance tuning of ZnEntity reading/writing
- Bugfix to ZnUTF8Encoder>>#nextPut:toStream (codepoints > 65535 were wrongly encoded)
- Added ZnBufferedWriteStream>>#finish as alias for #flushBuffer
- Introduction of ZnCharacterEncoder>>#next:putAll:startingAt:toStream with optimized implementations in ZnNullEncoder and ZnUTF8Encoder for ByteString instances
- Added ZnCharacterEncoder>>#readInto:startingAt:count:fromStream with an optimized implementation for ZnNullEncoder
- ZnUTF8Encoder:
- enabled #next:putAll:startingAt:toStream: for real
- added & enabled #optimizedReadInto:startingAt:count:fromStream:
- #nextFromStream now signals specific errors on EOF
- Bugfix: changed ZnMultiValueDictionary initialization from lazy to explicit (unlimted did not work)
- Changed ZnMimeType>>#= and #hash to take parameters into account (#match: can be used to compare without parameters)
- Fix ZdcAbstractSocketStream>>#socketClose to use #closeAndDestroy instead of #close so that sockets are cleaned up faster
- Added ZdcIOBuffer>>#readInto:startingAt:count:
- Removed ZnZodiacNetworkingUtils (it is the default now)


You are subscribed to this case.  If you do not want to receive automatic notifications in the future, unsubscribe (https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=10775) from this case.

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker