summaryrefslogtreecommitdiffstats
path: root/tests/zlib.test
Commit message (Collapse)AuthorAgeFilesLines
* Change -encodingprofile to -profileapnadkarni2023-03-161-2/+2
|
* Merge 9.0apnadkarni2023-03-011-0/+32
|\
| * Merge 8.7. And fix Tcl_UtfToExternal()/Tcl_ExternalToUtf() (at least - ↵jan.nijtmans2023-02-281-0/+32
| |\ | | | | | | | | | sufficient for tclZlib.c), such that it now returns an error when src and dst *both* exceed INT_MAX. To be discussed further.
| | * Merge 8.6jan.nijtmans2023-02-281-0/+32
| | |\
| | | * Fix testcasesjan.nijtmans2023-02-271-20/+4
| | | |
| | | * fill in bug ticket-nrjan.nijtmans2023-02-261-4/+4
| | | |
| | | * Proposed fix for [f9eafc3886]: Error handling in zlib comment/filename. With ↵jan.nijtmans2023-02-261-0/+48
| | | | | | | | | | | | | | | | testcases
| | * | TIP #633: configure channel about channel encoding error reporting modejan.nijtmans2022-10-091-4/+4
| | |\ \
| | | * \ Merge tip-346jan.nijtmans2022-10-071-2/+2
| | | |\ \ | | | |/ / | | |/| |
| | | * | TIP633 fconfigure -nocomplainencoding (TCL8.7): replace "-strictencoding 0" ↵oehhar2022-09-191-2/+2
| | | | | | | | | | | | | | | | | | | | by "-nocomplainencoding 1".
| | | * | TIP633 fconfigure -strictencoding: make only "-strictencoding 0" possible on ↵oehhar2022-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | TCL 8.7
| | | * | TIP633 fconfigure -strictencoding: change option name to "-strictencoding".oehhar2022-09-111-2/+2
| | | | |
| | | * | TIP633: fconfigure -tolerantencoding: correct/add command interface testsoehhar2022-09-091-2/+2
| | | | |
* | | | | Tests pass modulo couple of differences in Tcl 8 and 9 default behavior to ↵apnadkarni2023-02-251-2/+2
|/ / / / | | | | | | | | | | | | be discussed (tickets logged)
* | | | Merge 9.0jan.nijtmans2022-10-081-2/+2
|\ \ \ \ | |/ / /
| * | | Add -strictencoding option to channels. Thanks to Harald Oehlman for his ↵jan.nijtmans2022-09-221-2/+2
| |/ / | | | | | | | | | example (largely copied). No testcases yet
* | | TIP633 fconfigure -nocomplainencoding (TCL9): replace "-strictencoding 0" by ↵oehhar2022-09-191-2/+2
| | | | | | | | | | | | "-nocomplainencoding 1".
* | | TIP633 fconfigure -strictencoding: TCL 9 command line implementationoehhar2022-09-111-2/+2
|/ /
* | TIP 590: Recommend lowercase Package Namesjan.nijtmans2020-12-041-1/+1
|\ \
| * | Case-sensitive package namesjan.nijtmans2020-11-031-1/+1
| |/
* | More ©-sign consolidationjan.nijtmans2020-11-231-2/+2
|/
* Add "{}" around many "expr" commands in testcases. Also in doc/expr.njan.nijtmans2020-10-301-4/+4
|
* Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-1/+1
| | | | tcltest 2.5, since we never test with earlier tcltest versions
* zlib.test: replaces tests/assets/zlib.bin with inlined version (creating ↵sebres2020-06-231-10/+34
| | | | test file on demand), use temp files (instead of current directory) for interim files
* Added two tests demonstrating that the tickets [8af92dfb66] (bad stream ↵aku2020-06-231-2/+58
| | | | | | | | | | 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.
* [50750c735a] Fix for uninit memory handling issue in zlib transforms.dkf2017-04-251-1/+1
|
* Fix sporadically errors in zlib-8.x and socket tests, cherry-picked from ↵jan.nijtmans2017-04-121-7/+7
| | | | "fix-1997007" branch. Credit to "sebres"!
* zlib.test: fix sporadic errors:sebres2017-03-061-2/+6
| | | | - zlib-9.2 hangs because of too short update, if processed another event; - zlib-8.8 wrong non-blocking pipe usage - [string length $compressed] may return sporadically values smaller as expected (< 222)
* Might as well number tests more conventionally.dkf2017-02-261-3/+3
|
* Make tests produce more meaningful information when they fail.dkf2017-02-261-5/+11
|
* better tests for finalizationaspect2017-02-111-0/+24
|
* zlib stream finalize calls deflate with no input - this case (and this caseaspect2017-02-111-0/+12
| | | | | only) must be allowed. Fixes 2nd issue in [25842c161f], introduced by [c1aff52ef3]
* Added test for bugdkf2016-10-291-0/+19
|
* Fixed bug in pushed transforms with full internal buffers not writing out.dkf2016-09-061-0/+23
|
* Make a few tests more resilient to differences in the semantics of pipes ↵dkf2016-07-241-4/+8
| | | | between operating systems.
* [dd260aaf72] Allow the -dictionary option to be read from a pushed transform.dkf2016-06-271-0/+20
|
* Was handling the flushing at the end of the stream wrongly.dkf2016-04-041-4/+4
|
* Working on fixing problem with short reads from compressing streams that ↵dkf2016-04-031-0/+18
| | | | breaks PNG creation in Tk.
* [25842c161] Prevent zero-length compress actions in [zlib] streaming API.dkf2016-02-031-0/+6
|
* Bump to zlib 2.0.1.dgp2014-08-221-1/+1
|
* Refactored much management of the BLOCKED and EOF flags into ChanRead() thendgp2014-05-131-1/+1
| | | | | | | began repairing some of the logic about them. Tests iogt-2.* now fail because they've been crafted as experiments recording the fine detail of reflected channel driver calls, and fixing the management of channel flags is changing that. zlib-8.5 also needed adjustment to reflect that an EOF set must come with an empty string read when flags are functioning properly.
* [98c8b3ec12] Use constraint to work around failing test; it's just a bug in thedkf2013-10-101-1/+8
| | | | underlying library, and one that appears fixed in later versions. Not our fault if some OSes don't update. (It's also in a very esoteric spot.)
* [98c8b3ec12] Make test fail in less catastrophic manner.dkf2013-09-041-1/+4
|
* typojan.nijtmans2013-09-021-8/+8
|
* Correction to comment in re key buffer size.dkf2013-02-111-1/+1
|
* [Bug 3603553]: Ensure that data gets written to the underlying stream bydkf2013-02-111-0/+19
| | | | | | | 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.
* TIP 400 suffered from the same segfaulting flaw as 3595576.dgp2012-12-131-0/+14
| | | Segfaulting test and fix committed.
* verify zlib package presence and versiondkf2012-06-111-0/+3
|
* more cross-testing of dictionary-powered compression; describe package ↵dkf2012-06-091-2/+56
| | | | configuration
* tidy up, fix testdkf2012-06-091-4/+4
|