Iain Buclaw
7e4fd2e474
std.zip: Remove declarations with expired deprecations
2022-02-15 14:54:28 +01:00
Geod24
04f3979317
Replace 'Issue XXX' with Bugzilla links
...
Make the links clickable, as was done in the DMD repository.
Also avoids any ambiguity w.r.t. where the issue is stored.
2020-04-13 16:28:09 +09:00
Jacob Carlborg
668d8b708b
Disable ZIP unit test using unzip
on iOS derived platforms
...
The `unzip` command is not available on iOS derived platforms because
starting a new process is not allowed.
2020-03-03 12:51:08 +01:00
Walter Bright
0d122a993d
more printf format fixes
2020-02-22 23:25:59 -08:00
Walter Bright
f29f099321
zip.d: fix printf formats
2020-02-22 12:08:59 -08:00
Bernhard Seckinger
7fd7a77beb
Fix Issue 20398 - Wrong number of totalEntries in std.zip
2019-11-20 17:55:08 +01:00
Bernhard Seckinger
6a854e3b5c
Remove local variable endrecOffset.
2019-11-20 17:55:06 +01:00
Bernhard Seckinger
82b8eaf90a
Remove private variables _numEntries and _totalEntries.
...
Since Multidisk isn't supported, they both contain the same number.
Additionally, this number is always equal to the length of the
directory entry and therefore it's not necessary to store it separately.
2019-11-20 17:53:43 +01:00
Bernhard Seckinger
98613655bf
Rework documentation of std.zip.
2019-11-20 16:17:26 +01:00
Bernhard Seckinger
d7eba6f0da
Replace throw exception by enforce and add unittests. Remove never
...
reached throw statements.
2019-11-19 09:46:12 +01:00
The Dlang Bot
bd87883df8
Merge pull request #7242 from berni44/zip_remove_multidisk
...
Remove multidisk support completely from zip.std.
merged-on-behalf-of: Vladimir Panteleev <CyberShadow@users.noreply.github.com>
2019-11-15 15:46:39 +01:00
Bernhard Seckinger
227a67bdeb
Fix forgotten replacement of magic constants during PR merge.
2019-10-24 09:16:29 +02:00
Bernhard Seckinger
c0291739d6
Remove multidisk support completely from zip.std.
2019-10-21 19:16:05 +02:00
Bernhard Seckinger
531951d856
Fix issue #20295 - std.zip: zip64 with 0xff bytes in end of central dir record do not work
2019-10-17 12:36:14 +02:00
Bernhard Seckinger
5f3e85025d
Fix issue 20027 - std.zip susceptible to zip malware attacks
2019-10-10 20:45:23 +02:00
Bernhard Seckinger
d093fe5282
Fix issue 20287 - std.zip: Wrong compressed data
2019-10-10 14:57:06 +02:00
Berni
d750324351
Fix issue 20239 - chameleon zip-file should be rejected by std.zip
2019-10-06 15:17:17 +02:00
The Dlang Bot
bfc34bc5eb
Merge pull request #7201 from crocopaw/zip3
...
std.zip: Replace magic constants by constants named after specs
merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2019-10-05 14:33:02 +02:00
Berni
c14c203e9d
Add data structure for detecting overlapping chunks.
2019-09-28 15:03:38 +02:00
Berni
e82b773fb0
Replace magic constants by constants named after specs
2019-09-27 17:49:16 +02:00
Berni
9f816b7ce6
Update and correct main documentation
2019-09-26 16:37:52 +02:00
Berni
250db069ef
Remove posix only unittest relying on presence of unzip untility.
2019-09-26 11:54:00 +02:00
Iain Buclaw
fd5facfe04
posix.mak: Enforce whitespace before opening parenthesis for version conditions
2018-09-22 16:57:24 +02:00
Walter Bright
33cceac7ac
switch Digital Mars copyright to D Language Foundation
2018-09-05 13:49:46 -07:00
Sebastian Wilzbach
c324714fde
Remove a few cases of underscore escaping
2018-06-04 13:05:01 +02:00
Nathan Sashihara
8ae499e963
zip & zlib: don't zero-fill buffers before writing to them
2018-04-24 21:00:16 -04:00
Andrei-Cristian VASILE (87585)
0dc7ea22b0
Fix Issue 18452 - std.zip has size limit of 2 GB
2018-03-31 14:20:18 +03:00
Jack Stouffer
a67d667d8b
Work On Issue 18184 - std.zip should be usable in @safe
2018-03-27 13:51:03 -04:00
Sebastian Wilzbach
2591b61b4f
Start removing std.{json,zip,zlib,algorithm.mutation}
...
from the assert_without_msg blacklist
2017-12-01 09:28:05 +01:00
RazvanN7
6b15175610
Fix Issue 2137 - Data not compressed on fly when adding to zip archive
2017-08-10 10:23:11 +03:00
Jack Stouffer
20d40a954c
Switched package-wide datetime imports to new sub-packages
2017-06-30 13:51:53 -04:00
Vladimir Panteleev
d0b9555a06
Revert "Sort selective imports"
...
This reverts commit 998ad51fd7
.
2017-06-13 17:51:52 +00:00
Sebastian Wilzbach
2070d867dd
Sort multiple packages within one line
2017-06-12 08:18:25 +02:00
Sebastian Wilzbach
998ad51fd7
Sort selective imports
2017-06-12 08:12:09 +02:00
Sebastian Wilzbach
61717ecc7d
Sort imports
2017-06-12 07:54:38 +02:00
Jack Stouffer
4ce5d44dbb
Use underscores for number literals with five or more digits
2017-02-23 09:45:49 -05:00
Sebastian Wilzbach
425ab667a3
Automatically set the range style from a..b -> a .. b
...
Commands:
sed -E "s/([[:alnum:]])[.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]])[.][.] ([[:alnum:]])/\1 .. \2/g" -i **/*.d
sed -E "s/([[:alnum:]]) [.][.]([[:alnum:]])/\1 .. \2/g" -i **/*.d
2017-02-22 05:37:31 +01:00
Sebastian Wilzbach
805c720595
Unify Phobos by ensuring there's always a space after cast(...)
...
Command:
sed -E 's/([^"])cast\(([^)]*?)\)([[:alnum:]])/\1cast(\2) \3/g' -i **/*.d
2017-02-21 16:40:20 +01:00
Jack Stouffer
67d44e4cdc
Remove package wide std.algorithm imports from Phobos
2016-09-22 08:36:14 +01:00
dhasenan
31f9a9e389
std.zip: tighter imports, more repeatable test
2016-07-27 15:06:20 +00:00
dhasenan
d10f4f2872
add standard method attributes
2016-07-22 19:09:31 +00:00
dhasenan
0984c5064b
fix dscanner warnings
2016-07-22 15:05:26 +00:00
dhasenan
d104bd99d7
Allow specifying zip archive member order.
...
Fixes https://issues.dlang.org/show_bug.cgi?id=16310
2016-07-22 05:52:21 +00:00
Jack Stouffer
f693f91a89
Removed unused variables from std.zip
2016-07-12 10:10:13 -04:00
Atila Neves
5c4b0cbea0
Add @safe and @system to std.zip unit tests
2016-07-01 10:49:27 +02:00
Sebastian Wilzbach
ec47ac4224
Remove the WEB macro in favor of HTTP
...
replacement: sed 's/\$(WEB/\$(HTTP/g' -i **/*.d
2016-06-16 00:14:51 +02:00
Bastiaan Veelo
0fa2048118
With underscore per request (@aG0aep6G).
2016-06-06 01:04:17 +02:00
Bastiaan Veelo
d8d2f3fe75
Fix bad host.
...
LINK2 is OK for external links, right?
2016-06-06 00:34:29 +02:00
Sebastian Wilzbach
2dfbc51f17
Standardize whitespace after imports
...
Unified with:
sed -E "s/import\s*([^ ]+)\s*:\s*(.*(,|;))/import \1 : \2/" -i **/*.d
2016-05-29 22:09:56 +02:00
anonymous
764caefa36
XREF -> REF (sed)
...
Done by:
(find . -type f -name "*.d" -print0; \
find . -type f -name "*.dd" -print0) | \
xargs -0 sed -i -r \
's/\$\(XREF\s+([^(),]*),\s*([^(),]*)\)/$(REF \2, std,\1)/g'
2016-05-27 21:32:46 +02:00