Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in ↵ | jan.nijtmans | 2020-10-13 | 1 | -2/+3 |
| | | | | stead of Tcl_NewIntObj() | ||||
* | Update internal zlib channel type from TCL_CHANNEL_VERSION_3 to ↵ | jan.nijtmans | 2020-09-28 | 1 | -8/+8 |
| | | | | TCL_CHANNEL_VERSION_5. Not actually a change, since supported procs are the same. So all internal channels have the same type | ||||
* | Merge 8.5 | jan.nijtmans | 2020-06-25 | 1 | -2/+2 |
| | |||||
* | merge zlib-chan-f70ce1fead, [f70ce1fead] - rewritten and optimized inflate: | sebres | 2020-06-24 | 1 | -149/+133 |
|\ | | | | | | | | | default read ahead limit set to 4K (instead of 1); better SF/BO prevention; code simplification, no interim copy/move buffers, no decompression d-string, the inflate occurring in single step (ResultDecompress combines ResultGenerate and ResultCopy); better handling in non-blocking mode (also recognizes or distinguish no data/EAGAIN cases). | ||||
| * | Added two tests demonstrating that the tickets [8af92dfb66] (bad stream ↵ | aku | 2020-06-23 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | expansion) and [f70ce1fead] (multi-stream decoding without readahead limit shenanigans) are fixed. Verified that the tests fail with commit [4eb66645d6], just before the zlib fixes. Tweaked the zlib manpage paragraphs about -limit. Tweaked some code comments. Fixed typos in description of two unrelated zlib tests. | ||||
| * | code simplification, no interim copy/move buffers, no decompression ↵ | sebres | 2020-04-16 | 1 | -127/+103 |
| | | | | | | | | d-string, the inflate occurring in single step (ResultDecompress combines ResultGenerate and ResultCopy); better handling in non-blocking mode (also recognizes or distinguish no data/EAGAIN cases) | ||||
| * | small amend combining similar parts | sebres | 2020-04-16 | 1 | -20/+10 |
| | | |||||
| * | zlib: optimize ZlibTransformInput, if inflate is done no read and no ↵ | sebres | 2020-04-16 | 1 | -25/+25 |
| | | | | | | | | generate needed anymore | ||||
| * | zlib: performance - set default read ahead limit to DEFAULT_BUFFER_SIZE ↵ | sebres | 2020-04-16 | 1 | -1/+4 |
| | | | | | | | | (4K); better fix avoiding BO (replacement for [54605d16b9]) | ||||
| * | added (reworked) patch suggested by aku in [f70ce1fead]: recognize stream is ↵ | sebres | 2020-04-16 | 1 | -5/+21 |
| | | | | | | | | done (and unget the unprocessed data back to input channel) | ||||
* | | Code cleanup (more typecasts), making it more compatible with -Wc++-compat. ↵ | jan.nijtmans | 2020-04-20 | 1 | -32/+32 |
| | | | | | | | | Less use of /* ARGUSED */. | ||||
* | | zlib, *BO*: fixes possible segfault (or buffer overrun), for instance if ↵ | sebres | 2020-04-16 | 1 | -1/+3 |
|/ | | | | limit (max 65K) is set larger as allocated buffer for inflate-input (default 4K) | ||||
* | fixes bug [8af92dfb66]: resolve too earlier stop of inflate's cycle (if ↵ | sebres | 2020-04-15 | 1 | -1/+1 |
| | | | | generating decompressed data on flush case of full buffer) | ||||
* | Clear up a bunch of small issues found by Coverity analysis. | dkf | 2018-11-16 | 1 | -1/+1 |
| | |||||
* | [50750c735a] Fix for uninit memory handling issue in zlib transforms. | dkf | 2017-04-25 | 1 | -18/+16 |
| | |||||
* | zlib stream finalize calls deflate with no input - this case (and this case | aspect | 2017-02-11 | 1 | -2/+2 |
| | | | | | only) must be allowed. Fixes 2nd issue in [25842c161f], introduced by [c1aff52ef3] | ||||
* | One more place where the internal API change can be used easily. | dkf | 2016-10-30 | 1 | -5/+2 |
| | |||||
* | Fix the bug. Make use of zlib API in this area more like a Tcl API with ↵ | dkf | 2016-10-30 | 1 | -58/+86 |
| | | | | wrapper function. | ||||
* | Fixed bug in pushed transforms with full internal buffers not writing out. | dkf | 2016-09-06 | 1 | -15/+33 |
| | |||||
* | [dd260aaf72] Allow the -dictionary option to be read from a pushed transform. | dkf | 2016-06-27 | 1 | -21/+15 |
| | |||||
* | Was handling the flushing at the end of the stream wrongly. | dkf | 2016-04-04 | 1 | -4/+5 |
| | |||||
* | Clean up the handling of buffer limit exceeding when flushing a zlib transform. | dkf | 2016-02-05 | 1 | -26/+59 |
| | |||||
* | [25842c161] Prevent zero-length compress actions in [zlib] streaming API. | dkf | 2016-02-03 | 1 | -15/+18 |
| | |||||
* | Eliminate some usages of Tcl_GlobalEval() and Tcl_Eval(), which are ↵ | jan.nijtmans | 2016-01-18 | 1 | -2/+2 |
| | | | | deprecated functions. | ||||
* | Align comment. Remove some end-of-line spacing. No functional changes. | jan.nijtmans | 2015-09-28 | 1 | -1/+1 |
| | |||||
* | Plug memory leaks in the Tcl_ZlibInflate() error handling code. Fix for ↵ | Joe Mistachkin | 2015-06-11 | 1 | -1/+2 |
| | | | | ticket [478c446889]. | ||||
* | Bump to zlib 2.0.1. | dgp | 2014-08-22 | 1 | -1/+1 |
| | |||||
* | [726349fab8] Stop leaking compression dictionary on zlib xform channel close. | dgp | 2014-07-15 | 1 | -0/+4 |
| | |||||
* | Don't use Tcl_GetCommandInfo when Tcl_FindCommand suffices. | jan.nijtmans | 2014-07-09 | 1 | -3/+2 |
| | |||||
* | Same improvements to the zlib transform operations. | dgp | 2014-05-19 | 1 | -40/+5 |
| | |||||
* | Tolerate NULL interps | dgp | 2013-03-27 | 1 | -6/+12 |
| | |||||
* | [Bug 3603553]: Ensure that data gets written to the underlying stream by | dkf | 2013-02-11 | 1 | -1/+1 |
| | | | | | | | compressing transforms when the amount of data to be written is one buffer's-worth; problem was particularly likely to occur when compressing large quantities of not-very-compressible data. Many thanks to Piera Poggio (vampiera) for reporting. | ||||
* | [Bug 3601086]: Register zlib config as iso8859-1 (a superset of ascii) as that | dkf | 2013-01-16 | 1 | -1/+1 |
| | | | is an encoding we guarantee to support without loading encoding files. | ||||
* | TIP 400 suffered from the same segfaulting flaw as 3595576. | dgp | 2012-12-13 | 1 | -16/+3 |
| | | | Segfaulting test and fix committed. | ||||
* | Silence some (unimportant) warnings from the MIPSpro compiler. | dkf | 2012-11-28 | 1 | -5/+6 |
| | |||||
* | [3590483]: Some compilers cannot initialize with complex non-constants. | dkf | 2012-11-28 | 1 | -24/+27 |
| | |||||
* | clean up some of the code to remove warnings and uselessly-settable things | dkf | 2012-10-04 | 1 | -15/+43 |
| | |||||
* | documented new C API; corrected type signature of no-zlib fallback function | dkf | 2012-10-03 | 1 | -6/+3 |
| | |||||
* | merge trunk | dkf | 2012-08-11 | 1 | -93/+100 |
|\ | |||||
| * | more result generation conversion | dkf | 2012-08-04 | 1 | -29/+33 |
| | | |||||
| * | converting to using Tcl_Obj API for error message generation; part done | dkf | 2012-08-03 | 1 | -12/+13 |
| | | |||||
* | | merge trunk | dkf | 2012-07-04 | 1 | -8/+4 |
|\ \ | |/ | |||||
| * | Factor out a number of common patterns of use of Tcl_DStringAppend. | dkf | 2012-07-03 | 1 | -8/+4 |
| | | |||||
* | | add configurability of readahead limit | dkf | 2012-06-24 | 1 | -39/+74 |
| | | |||||
* | | Start to split apart the stream command implementation for easier maintenance. | dkf | 2012-06-22 | 1 | -180/+238 |
| | | |||||
* | | more cross-testing of dictionary-powered compression; describe package ↵ | dkf | 2012-06-09 | 1 | -43/+179 |
| | | | | | | | | configuration | ||||
* | | tidy up, fix test | dkf | 2012-06-09 | 1 | -27/+38 |
| | | |||||
* | | compressing transforms now work with dictionaries, even if raw | dkf | 2012-06-07 | 1 | -0/+16 |
| | | |||||
* | | merge trunk | dkf | 2012-06-06 | 1 | -1/+10 |
|\ \ | |/ | |||||
| * | Declare that Tcl provides the zlib 2.0 package. | dkf | 2012-06-06 | 1 | -1/+10 |
| | |