summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
Commit message (Collapse)AuthorAgeFilesLines
...
| * minor: Cleaning up code, adding comments.dkf2012-05-241-118/+187
| |
| * * generic/tclZlib.c (ZlibTransformInput): [Bug 3525907]: Ensure thatdkf2012-05-231-54/+267
| |\ | | | | | | | | | | | | decompressed input is flushed through the transform correctly when the input stream gets to the end. Thanks to Alexandre Ferrieux and Andreas Kupries for their work on this.
| | * Use zero-delays instead of finite ones when posting fileevents, because (1) ↵bug_3525907ferrieux2012-05-221-8/+1
| | | | | | | | | | | | they should be zero in the first place (see UpdateInterest) and (2) ever-reposting cases will be detected with greater ease.
| | * Fix for bug 3525907. Reworked TransformInput() entirely, tightened use of ↵andreask2012-05-171-50/+256
| |/ | | | | | | timed events, and added code handling special situations like EAGAIN, parent eof, etc.
* | typofixdkf2012-05-181-1/+1
| |
* | updated C API to be more focused on supporting just some operationsdkf2012-05-101-12/+49
| |
* | start writing some documentationdkf2012-05-051-1/+1
| |
* | Add ability to get gzip header out of streaming zlib accessdkf2012-05-041-3/+28
| |
* | first actual test of doing something with a compression dictionarydkf2012-05-011-6/+10
| |
* | Differentiate what options may be set by format type.dkf2012-04-291-5/+21
| |
* | merge trunkdkf2012-04-261-6/+2
|\ \ | |/
| * * generic/tclUtil.c (TclDStringToObj): Added internal function to makedkf2012-04-251-6/+2
| | | | | | | | the fairly-common operation of converting a DString into an Obj a more efficient one.
* | another bit of fconfigure gutsdkf2012-04-201-1/+18
| |
* | Working towards the channel transform config options.dkf2012-04-171-4/+26
| |
* | Refactor some [zlib] subcommands into their own functionsdkf2012-04-151-247/+320
| |
* | merge trunkdkf2012-04-151-10/+12
|\ \ | |/
| * * generic/tclZlib.c (ZlibTransformSetOption): [Bug 3517696]: Makedkf2012-04-151-10/+12
| | | | | | flushing work correctly in a pushed compressing channel transform.
* | towards dictionary setting on transformsdkf2012-04-111-53/+93
| |
* | Argument parsing updatedkf2012-04-101-58/+58
| |
* | Another few bits of zlib stream core hackingdkf2012-04-081-6/+44
| |
* | Another bit moredkf2012-04-071-14/+73
| |
* | Another step on the road to implementation.dkf2012-03-311-2/+67
| |
* | D'oh!dkf2012-03-311-1/+1
| |
* | Start of implementation of TIP 400: zlib improvementsdkf2012-03-311-1/+22
|/
* [Bug 3390073]: Return the correct length of written data for a compressingdkf2011-08-121-1/+1
| | | | transform, ensuring that buffers are written exactly once instead of multiple times or not at all (producing an invalid file).
* Make the -buffersize option to '$zstream add' function correctly instead ofdkf2011-08-081-12/+37
| | | having its value just be discarded unceremoniously.
* [Bug 3386197]: Fix buffer direction botch. Damn you, confusing terminology!dkf2011-08-051-2/+2
|
* [Bug 3386197]: Plug memory leak in unstacking of zlib transforms.dkf2011-08-041-0/+14
|
* Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-6/+5
| | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* MINOR: Formatting fixes, mainly to comments, so code better fits the style indkf2011-03-101-24/+24
| | | the Engineering Manual.
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
| | | cause more harm than good. Purged them (except in zlib files).
* * generic/tclZlib.c (Tcl_ZlibStreamGet): [Bug 3081008]: Ensure thatdkf2010-10-191-4/+13
| | | | | | | | | | | | | | | when a bytearray gets its internals entangled with zlib for more than a passing moment, that bytearray will never be shimmered away. This increases the amount of copying but is simple to get right, which is a reasonable trade-off. * generic/tclStringObj.c (Tcl_AppendObjToObj): Added some special cases so that most of the time when you build up a bytearray by appending, it actually ends up being a bytearray rather than shimmering back and forth to string. * tests/http11.test (check_crc): Use a simpler way to express the functionality of this procedure.
* * generic/tclZlib.c: Purge code that wrote to the object returned bydkf2010-10-191-50/+55
| | | | Tcl_GetObjResult, as we don't want to do that anti-pattern no more.
* Remove hack needed for zlib 1.2.3 on win32nijtmans2010-06-211-103/+28
|
* [Bug 2979399] uninitialized value troublesnijtmans2010-03-301-28/+5
|
* Code Audit results:dkf2010-03-051-32/+33
| | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations
* More tidying up (whitespace, spelling, useless parentheses, useless casts)dkf2010-02-241-8/+11
|
* * generic/tclZlib.c (ZlibTransformInput): [Bug 2742041]: Added aandreas_kupries2010-02-221-3/+22
| | | | | | | | | hack to work around the general problem, early EOF recoginition based on the base-chgannel, instead of the data we have ready for reading in the transform. Long-term we need a proper general fix (likely tracking EOF on each level of the channel stack), with attendant complexity. Further: Z_BUF_ERROR can be ignored, and must be when feeding the zlib code with single characters.
* [Bug 2947783]: Ensure that result is an unshared object before appending to it.dkf2010-02-081-1/+19
|
* Eliminate various gcc warnings (in -Wextra mode)nijtmans2009-11-181-2/+4
|
* Remove accidental C99-ism which reportedly makes the AIX native compiler choke.dkf2009-10-291-19/+31
|
* ZlibTransformClose may be called with a NULL interpreter during finalization andpatthoyts2009-07-101-5/+13
| | | | | Tcl_SetChannelError requires a list. Added some tests to ensure error propagation from the zlib library to the interp.
* [Bug #2818131] Added tests and fixed a typo that broke zlib push for deflate ↵patthoyts2009-07-091-2/+2
| | | | format.
* Silence a signed/unsigned warning that annoys msvcpatthoyts2009-07-061-2/+2
|
* Make [zlib push] work with [fcopy].dkf2009-07-051-90/+145
|
* Related correctionsdkf2009-03-041-4/+4
|
* Fix bug 2662434dkf2009-03-041-3/+5
|
* fix [Feature Request 2605263] use officialnijtmans2009-02-161-30/+82
| | | | zlib build.
* Improve error messages. [Bug 2573172]dkf2009-02-071-181/+198
|
* Fix [Bug 2536400]dkf2009-01-261-5/+9
|