/ File History
Login

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

History of ext/misc/zipfile.c

2019-10-11
18:55
Update the zipfile extension to use deflateBound(), instead of compressBound(), to learn the maximum possible size of a deflate()d buffer. file: [7ad29133] check-in: [f5ee3042] user: dan branch: trunk, size: 64305
2019-01-08
20:02
Use 64-bit math to compute the sizes of memory allocations in extensions. file: [c1ca8f52] check-in: [ca67f2ec] user: drh branch: trunk, size: 64234
2018-11-16
20:18
Add SQLITE_CONSTRAINT support to the xBestIndex methods on dbstat, sqlite_dbpage, and zipfile. file: [1d731db3] check-in: [5cd24e55] user: drh branch: trunk, size: 64162
2018-03-23
16:31
Fix minor problems with passing NULL pointers to memcmp() and memcpy() found by -fsanitize=undefined. file: [c4de8f0a] check-in: [0b06ce6d] user: dan branch: trunk, size: 64170
2018-03-20
13:26
Fix handling of "UPDATE OR REPLACE" statements run on zipfile virtual tables. file: [316c7711] check-in: [9a5ef341] user: dan branch: testFixes, size: 64143
12:12
Add a test case for the fix on this branch. file: [e8c31e8b] check-in: [7834cf6c] user: dan branch: testFixes, size: 63716
2018-03-17
02:13
For 'zipfile', detect attempts to cause a duplicate entry via UPDATE. file: [7d0dd1cd] check-in: [cf78a882] user: mistachkin branch: testFixes, size: 63655
2018-03-10
14:17
Add support for INSERT OR REPLACE and INSERT OR IGNORE on the zipfile extension. file: [e4e4f828] check-in: [8ad35d48] user: drh branch: trunk, size: 63347
13:21
Improved error messages from the zipfile extension. file: [1e5a27b6] check-in: [f634a7e3] user: drh branch: trunk, size: 62931
12:53
Avoid harmless left-shifts of negative numbers in the zipfile extension when building ZIP archives of files with pre-DOS dates. file: [1a234c4e] check-in: [16bba865] user: drh branch: trunk, size: 62333
12:34
Fix the zipfile extension so that it is able to create symbolic link entries in the ZIP file even on systems like Win32 that do not support symbolic links on the native filesystem. file: [ac84e5d6] check-in: [2a4493f4] user: drh branch: trunk, size: 62263
2018-03-09
12:46
Attempt to fix a harmless compiler warning from Clang. file: [b326d0e7] check-in: [bba1bfbd] user: drh branch: trunk, size: 62310
2018-02-23
13:38
Fix harmless compiler warnings in the zipfile extension seen with MSVC. file: [bc88dbf9] check-in: [15c587cf] user: mistachkin branch: trunk, size: 62314
2018-02-04
01:29
Move variable declaration in zipfile extension to fix MSVC compiler error. file: [3c3e21d0] check-in: [ac6a3248] user: mistachkin branch: trunk, size: 62277
2018-02-02
16:28
Remove the "include <io.h>" win32 dependency from the zipfile extension. file: [8aa0d3da] check-in: [cb3feb3b] user: dan branch: trunk, size: 62271
16:20
Remove the time() dependency from the zipfile extension. Use SQLite VFS methods instead. file: [8043b5ef] check-in: [0702fb56] user: dan branch: trunk, size: 62335
2018-02-01
19:41
Fix a problem triggered when a zipfile virtual table is created and written to within the same transaction. And add other zipfile tests. file: [2856e99c] check-in: [48f1c556] user: dan branch: trunk, size: 61342
15:19
Fix a memory leak that could follow an IO error in the zipfile extension. And add other tests. file: [28f06977] check-in: [e6bb7506] user: dan branch: trunk, size: 61450
2018-01-31
19:13
When creating a new archive entry, have zipfile store UTC instead of local time in the legacy MS-DOS format timestamp field. file: [56028f7e] check-in: [e2114df1] user: dan branch: zipfile-timestamp-fix, size: 61412
2018-01-30
17:43
Add tests cases for the zipfile extension. file: [aa10ec6a] check-in: [13b786da] user: dan branch: trunk, size: 60503
14:07
Prevent users from creating zipfile() virtual tables without an argument. file: [ead25f06] check-in: [81fdbe0c] user: dan branch: trunk, size: 60227
2018-01-29
18:41
Add aggregate function zipfile() to the zipfile extension. For composing new zip archives in memory. file: [73d932ca] check-in: [e364eeac] user: dan branch: trunk, size: 61592
2018-01-27
18:55
Fix missing header comments and other code issues in zipfile.c. file: [398f5346] check-in: [6ea8ba31] user: dan branch: trunk, size: 54085
16:29
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. file: [df57128d] check-in: [e63185ed] user: dan branch: trunk, size: 50481
03:26
Fix compiler warnings in zipfile.c. file: [40195c1c] check-in: [bed610d9] user: drh branch: trunk, size: 48787
2018-01-26
18:59
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. file: [071fb5af] check-in: [029ebcd3] user: dan branch: trunk, size: 48880
2018-01-25
20:50
Reorganize zipfile.c code to make it easier to add support for in-memory zip archive processing. file: [45cc4216] check-in: [30b92582] user: dan branch: trunk, size: 47623
2018-01-16
21:09
Fix a problem causing zipfile to store 0 in place of the CRC32 value for uncompressed files. file: [d99efb67] check-in: [ba44724b] user: dan branch: trunk, size: 47635
17:33
Change a cat in zipfile.c from (z_const Bytef*) to just (Bytef*). This allows the module to build with older versions of zlib. file: [cc12e900] check-in: [ac9af91d] user: dan branch: trunk, size: 47598
2018-01-15
19:00
Fix a problem in the zipfile module causing it to generate incorrect checksums. Remove the ability to insert compressed data into a zip archive. file: [7e48d294] check-in: [b0b7d036] user: dan branch: trunk, size: 47606
15:49
Fix a zipfile problem with extracting zero length files compressed using deflate. file: [46171a19] check-in: [cf640872] user: dan branch: trunk, size: 49180
2018-01-13
23:28
Fix harmless compiler warnings in zipfile.c. file: [7001d7ca] check-in: [8f7a592f] user: drh branch: trunk, size: 46107
19:08
Support UPDATE statements against zipfile virtual tables. file: [fd05292a] check-in: [f2d2a5df] user: dan branch: trunk, size: 46122
2018-01-11
17:33
Change zipfile to be a WITHOUT ROWID virtual table and table-valued function. file: [e42d3ae7] check-in: [931201f6] user: dan branch: trunk, size: 44233
14:50
Minor formatting changes in zipfile.c. No logical code differences. file: [cbf9dfaf] check-in: [4f68bed3] user: drh branch: trunk, size: 44399
2018-01-10
19:50
Fix a harmless compiler warning in zipfile.c file: [0d12ad85] check-in: [60c694c1] user: drh branch: trunk, size: 44106
17:37
Return an SQLITE_CONSTRAINT error if an attempt is made to insert duplicate entries into a zip archive. file: [00d78e61] check-in: [1f099b2b] user: dan branch: trunk, size: 44102
16:30
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. file: [08ec2ee0] check-in: [94bc3c60] user: dan branch: trunk, size: 43392
2018-01-09
20:49
Fix harmless compiler warnings. file: [92b840dc] check-in: [0fb42090] user: mistachkin branch: trunk, size: 42870
20:44
Return SQLITE_CONSTRAINT if a user attempts to update a zipfile table. file: [be93d2bf] check-in: [64c9ccf6] user: dan branch: trunk, size: 42870
10:29
Fix a zipfile problem with adding new directories to an archive. file: [eaab322d] check-in: [5fed6703] user: dan branch: trunk, size: 42799
07:16
Fix a problem in zipfile.c found by -fsanitize. file: [b694574b] check-in: [4fe697fa] user: dan branch: trunk, size: 42115
00:26
Fix harmless compiler warnings. file: [9c3f5d7e] check-in: [1adf4e60] user: mistachkin branch: trunk, size: 42092
2018-01-08
19:59
Update the zipfile module so that it matches the documentation. file: [d576a5b4] check-in: [7e7e472f] user: dan branch: trunk, size: 42080
2018-01-05
17:10
Fix compiler warnings. file: [8075df92] check-in: [19aabccf] user: mistachkin branch: sqlar-shell-support, size: 40805
2018-01-04
22:46
Get the shell enhancements compiling with MSVC. file: [d88033b4] check-in: [335387f9] user: mistachkin branch: sqlar-shell-support, size: 40781
2017-12-30
18:32
Have zipfile support DELETE commands. file: [2df8f940] check-in: [01d4e866] user: dan branch: sqlar-shell-support, size: 40465
14:26
Rearrange things a bit so that writing to a zipfile does not invert the order of objects it contains. file: [cf093f79] check-in: [f69e8194] user: dan branch: sqlar-shell-support, size: 38880
2017-12-29
20:19
Update ext/misc/zipfile.c to support creating and adding entries to existing zip archives. file: [d9e0b0a4] check-in: [2dec2dec] user: dan branch: sqlar-shell-support, size: 38176
2017-12-27
21:13
Improve the shell tool ".ar --list --verbose" command. file: [ced1aa76] check-in: [b64681a6] user: dan branch: sqlar-shell-support, size: 21314
18:54
Have the shell tool ".ar --list" and ".ar --extract" commands support zip files. Currently the "-zip" switch is required. file: [96148b78] check-in: [a532a0f6] user: dan branch: sqlar-shell-support, size: 21147
2017-12-26
20:39
Add new file ext/misc/zipfile.c, containing a virtual table for read-only access to simple zip archives. file: [9736694a] check-in: [8e366b99] user: dan branch: sqlar-shell-support, size: 19770 Added