SQLite

All files named ”test/zipfile.test”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for test/zipfile.test

2025-03-27
14:32
[c8a7736312] part of check-in [f96a5346e3] In Tcl, always use eq/ne for comparing strings, not ==/!= (check-in: [f96a5346e3] user: jan.nijtmans branch: cygwin-fixes, size: 23956)
2024-07-30
20:39
[a36327c569] part of check-in [8e27f5326c] All tests in "make test" now pass with Tcl9, except for about 198 cases where the error involves small differences in the rendering to floating point values. (check-in: [8e27f5326c] user: drh branch: tcl9, size: 23948)
17:09
[b51e19c3bf] part of check-in [e0d9670dd9] Get rid of "-encoding binary" across all test cases, as that is no longer supported in Tcl9. Use "-translation binary" instead. (check-in: [e0d9670dd9] user: drh branch: tcl9, size: 23902)
2023-05-03
07:30
[416adb0ca9] part of check-in [1b489d008b] In the zipfile extension, leave the catalog list in a consistent state when the last entry is removed from the list. forum post f03f1e4c5a5c9959. (check-in: [1b489d008b] user: drh branch: trunk, size: 23919)
2023-01-05
01:26
[4178a2de98] part of check-in [d32757ddf5] In the zipfile extension (which is not part of the SQLite amalgamation, but which is included in the CLI by default) ensure that fopen() is not invoked using a NULL filename. Fix for the issue reported by forum post d1c96a9032e564f8. (check-in: [d32757ddf5] user: drh branch: trunk, size: 23391)
2021-04-22
14:43
[0d8758d8c0] part of check-in [c8de5f0613] Fix the date/time translation logic in the zipfile extension so that it works with boundary cases. See forum post d82289d69f for the trouble report. (check-in: [c8de5f0613] user: drh branch: trunk, size: 23201)
2020-01-03
16:38
[429cb81c51] part of check-in [523e09bd22] Improvement to check-in [7405e98225761180] so that missing or null filenames given to the zipfile extension throw an immediate error. (check-in: [523e09bd22] user: drh branch: trunk, size: 22883)
2020-01-02
21:30
[42603fac7f] part of check-in [7405e98225] Do not allow the zipfile virtual table to start a transaction if no filename has been specified. (check-in: [7405e98225] user: drh branch: trunk, size: 22773)
2019-12-27
00:19
[aab99dc488] part of check-in [465a15c5c2] Fix buffer underflows in the zipfile extension associated with zero-length or NULL filename in the ZIP archive. But report on the mailing list by Yongheng and Rui. (check-in: [465a15c5c2] user: drh branch: trunk, size: 22636)
2019-12-23
21:11
[330bec11ce] part of check-in [bc8bfc7fcd] Test case for the zipfile-extension bug fix of the previous check-in. (check-in: [bc8bfc7fcd] user: drh branch: trunk, size: 22235)
2019-12-19
15:15
[daab4c9be1] part of check-in [a80f84b511] Fix the zipfile extension so that INSERT works even if the pathname of the file being inserted is a NULL. Bug discovered by the Yongheng and Rui fuzzer. (check-in: [a80f84b511] user: drh branch: trunk, size: 21884)
2018-11-16
08:36
[b3b558639f] part of check-in [7fffcee0fc] Fix a problem with virtual table "fsdir" and some join queries. (check-in: [7fffcee0fc] user: dan branch: trunk, size: 21453)
2018-03-29
16:54
[a61f6ba6db] part of check-in [b6252feb12] Another change to test file zipfile.test to help it run on systems without "unzip". (check-in: [b6252feb12] user: dan branch: trunk, size: 20627)
16:39
[1eb76362ed] part of check-in [d99022a5a8] Fix a test script bug causing zipfile.test to fail on systems that do not have the "unzip" program installed. (check-in: [d99022a5a8] user: dan branch: trunk, size: 20562)
2018-03-17
02:13
[2a923f6ead] part of check-in [cf78a88279] For 'zipfile', detect attempts to cause a duplicate entry via UPDATE. (check-in: [cf78a88279] user: mistachkin branch: testFixes, size: 20525)
2018-03-16
23:54
[dbad090b50] part of check-in [49d2566c8e] Enable more 'zipfile' tests on Win32. (check-in: [49d2566c8e] user: mistachkin branch: testFixes, size: 19434)
2018-03-15
15:09
[fd86504872] part of check-in [7ce4e71c1b] Fix an issue with the fsdir() table-valued function not resetting correctly after each pass of a join. (check-in: [7ce4e71c1b] user: drh branch: trunk, size: 18185)
2018-03-10
14:17
[a9806a86e5] part of check-in [8ad35d483e] Add support for INSERT OR REPLACE and INSERT OR IGNORE on the zipfile extension. (check-in: [8ad35d483e] user: drh branch: trunk, size: 17964)
13:21
[d4efc5547c] part of check-in [f634a7e386] Improved error messages from the zipfile extension. (check-in: [f634a7e386] user: drh branch: trunk, size: 17172)
2018-02-01
20:42
[44aa8af115] part of check-in [3f62154587] Add a few more zipfile tests. No changes to code. (check-in: [3f62154587] user: dan branch: trunk, size: 17097)
19:41
[1f066994bd] part of check-in [48f1c55699] Fix a problem triggered when a zipfile virtual table is created and written to within the same transaction. And add other zipfile tests. (check-in: [48f1c55699] user: dan branch: trunk, size: 15790)
15:19
[37cc584afe] part of check-in [e6bb750697] Fix a memory leak that could follow an IO error in the zipfile extension. And add other tests. (check-in: [e6bb750697] user: dan branch: trunk, size: 12780)
2018-01-31
19:45
[a16528022b] part of check-in [4eb5b24c64] Fix a test case in zipfile.test. (check-in: [4eb5b24c64] user: dan branch: zipfile-timestamp-fix, size: 11908)
19:13
[3695ab6d73] part of check-in [e2114df183] When creating a new archive entry, have zipfile store UTC instead of local time in the legacy MS-DOS format timestamp field. (check-in: [e2114df183] user: dan branch: zipfile-timestamp-fix, size: 11414)
2018-01-30
14:07
[368a5a0c97] part of check-in [81fdbe0cc5] Prevent users from creating zipfile() virtual tables without an argument. (check-in: [81fdbe0cc5] user: dan branch: trunk, size: 10025)
2018-01-29
19:47
[c40ae3a5d3] part of check-in [438c5c5237] Add unix-only tests to check that the "unzip" program can unpack archives generated by the zipfile extension. (check-in: [438c5c5237] user: dan branch: trunk, size: 10271)
18:41
[1219963175] part of check-in [e364eeac76] Add aggregate function zipfile() to the zipfile extension. For composing new zip archives in memory. (check-in: [e364eeac76] user: dan branch: trunk, size: 8610)
2018-01-27
16:29
[1b213bdc31] part of check-in [e63185edfe] If a zipfile virtual table is created with no argument - "CREATE VIRTUAL TABLE zzz USING zipfile()" - accumulate data in memory. Support "SELECT zipfile_blob(z) FROM zzz LIMIT 1" to retrieve a zip archive image. (check-in: [e63185edfe] user: dan branch: trunk, size: 8214)
2018-01-26
18:59
[0834b33e00] part of check-in [029ebcd30c] If the argument to table function zipfile() is a blob (not text), assume that it contains a zip file image to interpret, not the name of a file on disk. (check-in: [029ebcd30c] user: dan branch: trunk, size: 7300)
2018-01-17
12:58
[cb42e8fa6b] part of check-in [6bb2a10fad] Omit the single test from zipfile.test that uses json functionality in non-SQLITE_ENABLE_JSON1 builds. (check-in: [6bb2a10fad] user: dan branch: trunk, size: 6691)
2018-01-16
21:09
[17e3ed850c] part of check-in [ba44724bcc] Fix a problem causing zipfile to store 0 in place of the CRC32 value for uncompressed files. (check-in: [ba44724bcc] user: dan branch: trunk, size: 6655)
2018-01-15
19:00
[71a9d37bb9] part of check-in [b0b7d0363a] Fix a problem in the zipfile module causing it to generate incorrect checksums. Remove the ability to insert compressed data into a zip archive. (check-in: [b0b7d0363a] user: dan branch: trunk, size: 6506)
2018-01-13
19:08
[61c6daf74f] part of check-in [f2d2a5df4f] Support UPDATE statements against zipfile virtual tables. (check-in: [f2d2a5df4f] user: dan branch: trunk, size: 6191)
2018-01-11
17:33
[a5cd98e91a] part of check-in [931201f64e] Change zipfile to be a WITHOUT ROWID virtual table and table-valued function. (check-in: [931201f64e] user: dan branch: trunk, size: 4334)
2018-01-10
17:37
[e7132ca600] part of check-in [1f099b2b45] Return an SQLITE_CONSTRAINT error if an attempt is made to insert duplicate entries into a zip archive. (check-in: [1f099b2b45] user: dan branch: trunk, size: 4257)
16:30
[355e499ed4] part of check-in [94bc3c60e7] Have the zipfile module automatically append "/" to directory names that do not already end with such a character. This is required for info-zip compatibility. (check-in: [94bc3c60e7] user: dan branch: trunk, size: 3463)
2018-01-09
20:44
[9fb98a24f8] part of check-in [64c9ccf6c5] Return SQLITE_CONSTRAINT if a user attempts to update a zipfile table. (check-in: [64c9ccf6c5] user: dan branch: trunk, size: 2917)
18:31
[2f71a254a9] part of check-in [f6355970f0] Fix a potential crash in sqlite3expert.c caused by a missing sqlite3_reset() call. (check-in: [f6355970f0] user: dan branch: trunk, size: 2662)
10:29
[de2ee37770] part of check-in [5fed67033c] Fix a zipfile problem with adding new directories to an archive. (check-in: [5fed67033c] user: dan branch: trunk, size: 2620)
2018-01-08
19:59
[ad4278e1eb] part of check-in [7e7e472fa9] Update the zipfile module so that it matches the documentation. (check-in: [7e7e472fa9] user: dan branch: trunk, size: 1991)
2018-01-05
20:13
[a1dd042929] part of check-in [5bc816ec40] Skip running the 'zipfile' test if the necessary static package cannot be loaded. (check-in: [5bc816ec40] user: mistachkin branch: trunk, size: 1888)
2017-12-30
18:32
[d4f342ca91] part of check-in [01d4e866fb] Have zipfile support DELETE commands. (check-in: [01d4e866fb] user: dan branch: sqlar-shell-support, size: 1785)
14:26
[63059e5902] part of check-in [f69e8194bf] Rearrange things a bit so that writing to a zipfile does not invert the order of objects it contains. (check-in: [f69e8194bf] user: dan branch: sqlar-shell-support, size: 1402)
2017-12-29
20:19
Added: [c5167d0d13] part of check-in [2dec2dec59] Update ext/misc/zipfile.c to support creating and adding entries to existing zip archives. (check-in: [2dec2dec59] user: dan branch: sqlar-shell-support, size: 1402)