Martin Nowak
ce2ac192c9
fix incorrect imports/fqn usages
...
- mostly of the form `import a.b : sym; a.b.sym();`, which is wrong b/c
selective imports do not add the module to the current scope
2016-02-20 14:41:44 +01:00
Walter Bright
8e6faa560f
fix problems that prevent implementing import shadowing protection
2016-02-11 22:38:53 -08:00
Benjamin L. Merritt
5f08c058ab
Changed "Examples:" in Ddoc to "Example:"
2015-12-17 18:32:41 -08:00
Daniel Murphy
d9ae5f4871
Merge pull request #3605 from jmdavis/zip
...
Port std.zip tests from the dmd test suite to std.zip.
2015-08-31 17:49:10 +10:00
Jonathan M Davis
eaf7f3075d
Port std.zip tests from the dmd test suite to std.zip.
...
For whatever reason, the dmd test suite has tests for std.zip, though
for the most part, they seem to just run it without actually checking
the results, making them of questionable value. But this commit ports
them to std.zip (to remove a Phobos dependency in the dmd test suite)
and attempts to make it so that they actually check the results. So, the
tests are not identical by any means, but they're similar. Perhaps the
most significant test is the one that tests a file that's written with
std.zip against the unzip utility, since that's testing against
something that we didn't write.
2015-08-30 16:42:53 -07:00
Jonathan M Davis
7b4abd0aa7
Move deprecations along.
2015-08-29 17:01:23 -07:00
David Eagen
da33d8b0ab
Document how to use std.zip to create a zip file.
2015-04-07 23:54:03 -05:00
Martin Nowak
f6a1ca8932
add introductory example to std.zip
2015-04-01 00:12:46 +02:00
rsw0x
71f430790e
Update zip.d
...
These bugs are marked as FIXED.
2015-02-13 20:11:05 -05:00
k-hara
611a9a1b9b
fix property enforcement
2015-02-10 01:00:36 +09:00
k-hara
e7b3d834d7
detab and remove trailing whitespaces
2015-02-10 00:56:40 +09:00
fgda
8ef18e640c
Expanded the unittest to test if packing and unpacking produces the original, quite random data
2015-01-27 10:27:12 +01:00
fgda
8cc228c4e9
Fix Issue 2138 - Allow more than 65535 files in Zip archives
...
Fixed by adding support for reading and writing Zip64 archives
2015-01-26 20:34:45 +01:00
Ilya Yaroshenko
f807525143
std.zip: clean imports
2014-11-14 17:21:31 +03:00
Geod24
0fb95b8c27
Usage of WEB macro for License everywhere
2014-10-15 11:30:42 +02:00
Andrej Mitrovic
4bdd5f2c6a
Merge pull request #1870 from MartinNowak/fix1832
...
fix Issue 1832 - rebuilding ZipArchive looses data
2014-02-16 21:01:54 +01:00
SHOO
c42bb8f593
Fix Issue 12003 - std\zip.d(421): Deprecation
2014-01-26 23:13:49 +09:00
Martin Nowak
1a3f9ab273
fix Issue 1832 - rebuilding ZipArchive looses data
...
- Already need to set compressedData slice when reading
the directory index not only during expand.
2014-01-18 23:29:18 +01:00
David Nadlinger
9965173d33
Remove duplicate ArchiveMember.madeVersion() property.
...
This fixes a build-breaking issue introduced by
9bcb99fee1
.
2014-01-15 22:49:49 +01:00
AndrewEdwards
9bcb99fee1
Merge branch '2.065'
...
Conflicts:
posix.mak
2014-01-15 13:06:42 -05:00
Johannes Pfau
0fe597019b
Don't do unaligned accesses
2014-01-14 21:00:28 +01:00
Martin Nowak
a087fcb2c3
fix Issue 11831 - std.zip no longer allows setting madeVersion field
...
- add deprecated ref accessor
2014-01-02 18:34:30 +01:00
Martin Nowak
eac5ec14d2
fix Issue 11831 - std.zip no longer allows setting madeVersion field
...
- add deprecated ref accessor
2013-12-28 02:55:28 +01:00
Martin Nowak
c445f1c288
Merge pull request #1766 from jmdavis/deprecations
...
Move various deprecations along.
Conflicts:
std/algorithm.d
std/zip.d
2013-12-19 23:33:47 +01:00
Martin Nowak
6ceef71172
Revert "Merge pull request #1751 from dawgfoto/std_zip"
...
This reverts commit 67933fda95
.
2013-12-19 19:05:53 +01:00
monarch dodra
67933fda95
Merge pull request #1751 from dawgfoto/std_zip
...
[install,regression] fix Issue 11692 - can't set file attributes for std.zip.ArchiveMember
2013-12-19 09:56:16 -05:00
monarch dodra
11f3b0f721
Merge pull request #1775 from MartinNowak/std_zip3
...
fix adding an ArchiveMember to another ZipArchive
2013-12-16 05:22:29 -08:00
monarch dodra
afc6b1a5ee
Merge pull request #1774 from MartinNowak/std_zip2
...
fixup deprecation of externalAttributes
2013-12-15 00:52:35 -08:00
monarch dodra
42c151df49
Merge pull request #1771 from MartinNowak/std_zip
...
mark std.zip classes as final
2013-12-14 13:59:03 -08:00
Martin Nowak
5abd7d2d40
add @safe pure nothrow
2013-12-14 22:39:13 +01:00
Martin Nowak
b981c18bfc
fix adding an ArchiveMember to another ZipArchive
2013-12-14 20:14:07 +01:00
Martin Nowak
f1261a21fb
fixup deprecation of externalAttributes
...
- directly access private member internally
- only deprecate the property
2013-12-14 19:59:56 +01:00
Martin Nowak
baf7334518
mark std.zip classes as final
2013-12-13 15:04:57 +01:00
Martin Nowak
dc25d2d14a
fix fileAttributes for Posix
2013-12-13 02:08:31 +01:00
jmdavis
efd6ea0cbf
Move various deprecations along.
2013-12-11 23:44:12 -08:00
Martin Nowak
30433e4e27
add deprecation message
2013-12-06 01:11:50 +01:00
Martin Nowak
136cf72de1
add a set time overload which takes a SysTime
...
- This makes setting the time compatible
with DirEntry time types.
2013-12-06 01:04:38 +01:00
Martin Nowak
463e5d803b
fix Issue 11692 - can't set file attributes for std.zip.ArchiveMember
...
- Document fileAttributes and set the internal _madeVersion
according to the encode attribute type.
- deprecate direct access to the externalAttributes field
2013-12-06 00:56:37 +01:00
Martin Nowak
a700a2a572
remove trailing whitespace
2013-12-05 23:52:07 +01:00
Martin Nowak
ab5cdb26f8
reorganize members
...
- avoid padding holes (class size 144 byte -> 132 byte)
- move less important attribute members to the bottom
2013-12-05 23:51:45 +01:00
k-hara
794e0f73ac
fix property enforcement
2013-11-25 15:40:01 +09:00
Andrea Fontana
83f318526f
Fixed comments after guidelines
2013-11-20 22:56:11 +01:00
Andrea Fontana
afe4570e71
Fixing spaces/tabs
2013-11-20 00:02:24 +01:00
Andrea Fontana
e7a681991b
Fixed as suggested by Martin
2013-11-19 23:54:00 +01:00
Andrea Fontana
1fc7a86f16
Exception -> ZipException
2013-11-19 19:13:01 +01:00
Andrea Fontana
15d62a12b0
Add some properties and enum
2013-11-19 19:03:08 +01:00
Andrea Fontana
95af4e3c8c
Fixed phobos bug 1832
2013-11-17 09:40:33 +01:00
k-hara
28dedee456
Issue 7444 - Require [] for array copies too
2012-11-20 17:55:21 +09:00
David
9f67ad2096
fixed wrong headers for decompression
...
In some archives the headers for each indivdual `ArchivMember` are incomplete.
And these incomplete headers would overwrite the actual headers with `0` which
results in a `ZlibException` (since `compressedSize` and `expandedSize` are `0`)
2012-08-25 17:06:37 +03:00
Andrei Alexandrescu
d061f13d34
https://github.com/D-Programming-Language/phobos/pull/23
2011-05-01 12:11:46 -05:00