summaryrefslogtreecommitdiffstats
path: root/generic/tclZlib.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix clang compiler warning in tclZlib.c. Clear execute bit in two encodingsjan.nijtmans2019-04-081-1/+1
|
* Modify testbytestring such that is only produces pure byte-arrays, if not it ↵jan.nijtmans2019-04-011-2/+4
| | | | | errors out. Modify Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewWideIntObj. Less references to "long" datatype.
* If compiled with -DTCL_NO_DEPRECATED, remove ↵jan.nijtmans2018-12-121-9/+9
| | | | | Tcl_NewIntObj/Tcl_NewLongObj/Tcl_DbNewLongObj from stub table, as they will be gone in 9.0 (converted to a macro) Use Tcl_WideInt's directly in more places, diminishing the possibility of inadvent overflow.
* merge 8.6dgp2018-11-161-1/+1
|\
| * Clear up a bunch of small issues found by Coverity analysis.dkf2018-11-161-1/+1
| |
* | Add entry for Tcl_StaticPackage in internal stub table, since the public one ↵jan.nijtmans2018-11-151-18/+18
| | | | | | | | | | is deprecated and will be removed in 9.0 Clean-up a lot of type-casts, which are not necessary any more.
* | Fix test for UNICODE in win/tclAppInit.c. No longer check for "tclsh ↵jan.nijtmans2018-10-121-3/+3
| | | | | | | | install", because tclsh is not compiled with that. Fix minizip.c compilation on systems without open64()
* | protect Tcl_WinUtfToTChar/Tcl_WinTCharToUtf against NULL input values: ↵jan.nijtmans2018-10-061-3/+3
| | | | | | | | | | return empty string in that case. Add TIP #494-compatible definitions of TCL_IO_FAILURE/TCL_AUTO_LENGTH, and use it in some appropriate places.
* | merge core-8-branchdkf2018-09-041-182/+223
|\ \
| * | Rename (internal) TclNewWideObj macro to TclNewIntObj. Change ↵jan.nijtmans2018-01-261-1/+1
| | | | | | | | | | | | Tcl_SetIntObj/Tcl_SetLongObj to macro's referencing Tcl_SetWideIntObj (since all of those do the same now)
| * | Finally, get rid of tclWideIntType completelyjan.nijtmans2017-11-011-1/+1
| | |
| * | [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-271-18/+16
| |\ \ | | |/ | | | | | | zlib channel transform.
| | * [50750c735a] Fix for uninit memory handling issue in zlib transforms.dkf2017-04-251-18/+16
| | |
| * | [25842c161f] Ensure that finalization of a zlib stream works.dkf2017-02-261-2/+2
| |\ \ | | |/
| | * zlib stream finalize calls deflate with no input - this case (and this caseaspect2017-02-111-2/+2
| | | | | | | | | | | | | | | only) must be allowed. Fixes 2nd issue in [25842c161f], introduced by [c1aff52ef3]
| * | Eliminate the internal macro/function TclNewIntObj: In all cases ↵jan.nijtmans2016-12-231-1/+1
| | | | | | | | | | | | TclNewLongObj is just as good.
| * | [1ae12987cb] Ensure that deleting the [history] command deletes its storage.dkf2016-10-301-5/+2
| |\ \ | | |/
| | * One more place where the internal API change can be used easily.dkf2016-10-301-5/+2
| | |
| * | [b26e38a3e4] Ensure that compressing streams manage buffers correctly in all ↵dkf2016-10-301-58/+86
| |\ \ | | |/ | | | | | | cases.
| | * Fix the bug. Make use of zlib API in this area more like a Tcl API with ↵dkf2016-10-301-58/+86
| | | | | | | | | | | | wrapper function.
| * | Fixed bug in pushed transforms with full internal buffers not writing out.dkf2016-09-061-15/+33
| |\ \ | | |/
| | * Fixed bug in pushed transforms with full internal buffers not writing out.dkf2016-09-061-15/+33
| | |
| * | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-3/+3
| |/ | | | | | | in many places where possible.
| * [dd260aaf72] Allow the -dictionary option to be read from a pushed transform.dkf2016-06-271-21/+15
| |
| * Was handling the flushing at the end of the stream wrongly.dkf2016-04-041-4/+5
| |
| * Clean up the handling of buffer limit exceeding when flushing a zlib transform.dkf2016-02-051-26/+59
| |
| * [25842c161] Prevent zero-length compress actions in [zlib] streaming API.dkf2016-02-031-15/+18
| |
| * Eliminate some usages of Tcl_GlobalEval() and Tcl_Eval(), which are ↵jan.nijtmans2016-01-181-2/+2
| | | | | | | | deprecated functions.
| * Align comment. Remove some end-of-line spacing. No functional changes.jan.nijtmans2015-09-281-1/+1
| |
| * Plug memory leaks in the Tcl_ZlibInflate() error handling code. Fix for ↵Joe Mistachkin2015-06-111-1/+2
| | | | | | | | ticket [478c446889].
| * Bump to zlib 2.0.1.dgp2014-08-221-1/+1
| |
| * [726349fab8] Stop leaking compression dictionary on zlib xform channel close.dgp2014-07-151-0/+4
| |
| * Don't use Tcl_GetCommandInfo when Tcl_FindCommand suffices.jan.nijtmans2014-07-091-3/+2
| |
| * Same improvements to the zlib transform operations.dgp2014-05-191-40/+5
| |
* | Support type discovery in coroutines.dkf2013-08-011-0/+6
|/
* Tolerate NULL interpsdgp2013-03-271-6/+12
|
* [Bug 3603553]: Ensure that data gets written to the underlying stream bydkf2013-02-111-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 thatdkf2013-01-161-1/+1
| | | is an encoding we guarantee to support without loading encoding files.
* TIP 400 suffered from the same segfaulting flaw as 3595576.dgp2012-12-131-16/+3
| | | Segfaulting test and fix committed.
* Silence some (unimportant) warnings from the MIPSpro compiler.dkf2012-11-281-5/+6
|
* [3590483]: Some compilers cannot initialize with complex non-constants.dkf2012-11-281-24/+27
|
* clean up some of the code to remove warnings and uselessly-settable thingsdkf2012-10-041-15/+43
|
* documented new C API; corrected type signature of no-zlib fallback functiondkf2012-10-031-6/+3
|
* merge trunkdkf2012-08-111-93/+100
|\
| * more result generation conversiondkf2012-08-041-29/+33
| |
| * converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-12/+13
| |
* | merge trunkdkf2012-07-041-8/+4
|\ \ | |/
| * Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-8/+4
| |
* | add configurability of readahead limitdkf2012-06-241-39/+74
| |
* | Start to split apart the stream command implementation for easier maintenance.dkf2012-06-221-180/+238
| |