ObjFW  History of src/OFZIPArchiveEntry.m of 6bb25d33ac3e19eb

History of file src/OFZIPArchiveEntry.m at check-in 6bb25d33ac3e19eb

2024-08-17
09:51
Move private functions into private headers file: [8f5ac250db] check-in: [b829f3e798] user: js, branch: trunk, size: 13839 [annotate] [blame] [check-ins using] [diff]
2024-04-29
21:42
Properly hide private symbols file: [d2d793d4fd] check-in: [f16bccc7b3] user: js, branch: trunk, size: 13781 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [ff7db8bf1d] check-in: [7413a728a7] user: js, branch: trunk, size: 13769 [annotate] [blame] [check-ins using] [diff]
2024-02-28
00:24
Add OFZooArchive

Only support for reading so far.

Compression methods 0 (uncompressed) and 2 (LZ77 + Huffman, apparently
identical to lh4/lh5) are supported. file: [d0352dc341] check-in: [9a95da71d5] user: js, branch: trunk, size: 13561 [annotate] [blame] [check-ins using] [diff]

2024-01-02
17:17
Update copyright file: [1e5ec904f3] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 13577 [annotate] [blame] [check-ins using] [diff]
2023-07-23
23:35
OFZIPArchive: Initial support for split archives

This cannot yet extract a file from the archive if the file spans
multiple parts. However, for a multipart archive with multiple files,
all files that only span a single part can be extracted. file: [f349333dfe] check-in: [630ea6bc5a] user: js, branch: trunk, size: 13577 [annotate] [blame] [check-ins using] [diff]

2023-01-06
09:04
Update copyright file: [b03fc597d2] check-in: [8939cbdb52] user: js, branch: trunk, size: 13515 [annotate] [blame] [check-ins using] [diff]
2022-10-25
23:10
Fix building with Apple GCC 4.0.1 file: [87dd5a9fa3] check-in: [2b7c5eb0ec] user: js, branch: trunk, size: 13515 [annotate] [blame] [check-ins using] [diff]
2022-08-30
00:48
OFObject: Small API change file: [7156204ba2] check-in: [4ad0c363f3] user: js, branch: trunk, size: 13276 [annotate] [blame] [check-ins using] [diff]
2022-08-27
20:33
OFZIPArchiveEntry: Make (un)compressedSize ull

This is for consistency with OFTarArchiveEntry and OFLHAArchiveEntry. file: [a4f0074e93] check-in: [94c326ab78] user: js, branch: trunk, size: 13276 [annotate] [blame] [check-ins using] [diff]

2022-08-24
19:54
OF*ArchiveEntry: Move inits to mutable class file: [279399b274] check-in: [9f409b2ee0] user: js, branch: trunk, size: 13256 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [6b838273dc] check-in: [1a86b8175b] user: js, branch: trunk, size: 13690 [annotate] [blame] [check-ins using] [diff]
2021-04-18
22:56
Rename all symbols marked extern file: [a82b90cc04] check-in: [e73c65a849] user: js, branch: new-naming-convention, size: 13690 [annotate] [blame] [check-ins using] [diff]
2021-04-17
18:36
Rename all remaining enums file: [4408bc6ea7] check-in: [aa74e85220] user: js, branch: new-naming-convention, size: 13833 [annotate] [blame] [check-ins using] [diff]
14:13
Always prefix functions with the type file: [4136550749] check-in: [eb0cfa6ff9] user: js, branch: new-naming-convention, size: 13752 [annotate] [blame] [check-ins using] [diff]
02:10
of_string_encoding_t -> OFStringEncoding file: [7b9fab9725] check-in: [255f21fb3d] user: js, branch: new-naming-convention, size: 13752 [annotate] [blame] [check-ins using] [diff]
01:24
OF_NOT_FOUND -> OFNotFound file: [24f6da8e32] check-in: [83dc0fe6e5] user: js, branch: new-naming-convention, size: 13770 [annotate] [blame] [check-ins using] [diff]
00:44
of_range_t -> OFRange file: [ff28020be3] check-in: [d975c53a43] user: js, branch: new-naming-convention, size: 13774 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [1b0f865f32] check-in: [374e1a1bfa] user: js, branch: trunk, size: 13774 [annotate] [blame] [check-ins using] [diff]
2020-01-02
01:51
Update copyright file: [17d05978cb] check-in: [c7f0229795] user: js, branch: trunk, size: 13863 [annotate] [blame] [check-ins using] [diff]
2019-09-01
15:20
Use u suffix on a few constants file: [02e4667fc4] check-in: [b7badc68a0] user: js, branch: trunk, size: 13860 [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
Use dot syntax file: [d12805fb90] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 13859 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [ef9c9a9140] check-in: [0509d7a844] user: js, branch: trunk, size: 13885 [annotate] [blame] [check-ins using] [diff]
2018-10-21
17:33
platform.h: Add Acorn RISC OS file: [7289e272bd] check-in: [de8e81d3b0] user: js, branch: trunk, size: 13879 [annotate] [blame] [check-ins using] [diff]
2018-06-10
14:42
ofzip: Show compression method for ZIP archives file: [75020cd35d] check-in: [fd5dac720d] user: js, branch: trunk, size: 13873 [annotate] [blame] [check-ins using] [diff]
2018-05-26
23:04
Add OFLHAArchive

This is currently limited to reading uncompressed LHA level 2 files. file: [4035dadee9] check-in: [790b5344d6] user: js, branch: trunk, size: 12563 [annotate] [blame] [check-ins using] [diff]

2018-04-22
17:48
Make ObjFW compile for AmigaOS 3 file: [59110171a1] check-in: [0b07c8fcfa] user: js, branch: trunk, size: 12563 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [d69e7fdce5] check-in: [7e5c81e186] user: js, branch: trunk, size: 12586 [annotate] [blame] [check-ins using] [diff]
2017-10-17
00:33
Do not use implicit method return types

Instead, explicitly declare them, as OF_ASSUME_NONNULL_{BEGIN,END} does
not apply to implicit return types. This means that after this commit,
all init methods have a nonnull return type, as they should have. file: [a552090953] check-in: [2f4e0df8be] user: js, branch: trunk, size: 12563 [annotate] [blame] [check-ins using] [diff]

2017-09-28
23:02
Enable -Wnullable-to-nonnull-conversion and adjust file: [f6ad079c58] check-in: [2de9660312] user: js, branch: trunk, size: 12549 [annotate] [blame] [check-ins using] [diff]
2017-08-14
00:45
OFZIPArchive(Entry): A logic and a typo fix file: [c8f541f60e] check-in: [de6e2319ca] user: js, branch: trunk, size: 12527 [annotate] [blame] [check-ins using] [diff]
00:31
OFZIPArchive: Support for writing ZIP64 archives file: [fef61c95a7] check-in: [def4cbbba6] user: js, branch: trunk, size: 12462 [annotate] [blame] [check-ins using] [diff]
2017-08-13
22:34
OFZIPArchive(Entry): Remove ZIP64 from extra field

Treating the ZIP64 extra field as part of the entry itself makes things
a lot easier when (re)writing the central directory. file: [1983c233dd] check-in: [8ebf6ed443] user: js, branch: trunk, size: 12236 [annotate] [blame] [check-ins using] [diff]

2017-08-06
19:40
OFZIPArchive: Add write and append support file: [728d6fb127] check-in: [4594f434e7] user: js, branch: trunk, size: 11982 [annotate] [blame] [check-ins using] [diff]
2017-08-05
11:15
Add OFMutableZIPArchiveEntry

This is in preparation for OFZIPArchive write support. file: [b22fa20c14] check-in: [1aea73d8b1] user: js, branch: trunk, size: 10049 [annotate] [blame] [check-ins using] [diff]

2017-07-22
20:50
Split OFDataArray into OFData and OFMutableData file: [ed0dd8e296] check-in: [c8f7b90082] user: js, branch: trunk, size: 8616 [annotate] [blame] [check-ins using] [diff]
2017-05-21
21:28
Prefix private methods with of_ instead of OF_

This matches Apple's style. file: [bdb8babfcc] check-in: [6b77a5dd8b] user: js, branch: trunk, size: 8608 [annotate] [blame] [check-ins using] [diff]

2017-05-08
21:37
Add OF_DESIGNATED_INITIALIZER & OF_METHOD_FAMILY file: [103543f1f3] check-in: [469a496cd2] user: js, branch: trunk, size: 8608 [annotate] [blame] [check-ins using] [diff]
2017-05-07
20:10
Small code style change

Casts are now written like types in variable declarations. file: [7d2a571c32] check-in: [4af49a13c3] user: js, branch: trunk, size: 8572 [annotate] [blame] [check-ins using] [diff]

15:39
Do not include any addresses in -[description]

This makes it harder to accidentally leak addresses which could be used
to defeat ASLR. file: [75090f7155] check-in: [7c2a0dda3d] user: js, branch: trunk, size: 8563 [annotate] [blame] [check-ins using] [diff]

2017-01-09
17:36
Update copyright

Forgot to add 2017, even though I already did quite some changes in
2017. file: [f98ed34051] check-in: [44f45c2e35] user: js, branch: trunk, size: 8572 [annotate] [blame] [check-ins using] [diff]

2016-10-09
01:06
Remove inttypes.h include from OFString.h

This fixes including a non-module header in a module. file: [7c78e9a9c5] check-in: [9c108208ef] user: js, branch: trunk, size: 8566 [annotate] [blame] [check-ins using] [diff]

2016-10-08
15:57
OFZIPArchive: Fix ZIP64 support file: [f2a2634cf6] check-in: [7fed52573a] user: js, branch: trunk, size: 8543 [annotate] [blame] [check-ins using] [diff]
2016-07-03
13:29
Add -[OFTarArchiveEntry description]

Also includes a small typo fix for -[OFZIPArchiveEntry description] and
adds the mode to OFZIP's Tar archive listing. file: [4e05d700c6] check-in: [f4a5590b58] user: js, branch: trunk, size: 8535 [annotate] [blame] [check-ins using] [diff]

2016-05-22
13:45
Build OFZIPArchive even with --disable-files

OFZIPArchive only needs an OFSeekableStream. file: [666898b117] check-in: [080eb2f31b] user: js, branch: trunk, size: 8573 [annotate] [blame] [check-ins using] [diff]

2016-05-06
20:39
Enable -Wsign-compare file: [cc6687466e] check-in: [2a2e17d8d0] user: js, branch: trunk, size: 8571 [annotate] [blame] [check-ins using] [diff]
14:09
OFZIPArchiveEntry: Add generalPurposeBitFlag

This existed before, but was private.

Additionally, ofzip -lvvv now also shows the general purpose bit flag. file: [c38a694f2c] check-in: [41e83e895c] user: js, branch: trunk, size: 8579 [annotate] [blame] [check-ins using] [diff]

2016-02-21
15:37
Make use of C99-style for loops file: [1b46fcc45c] check-in: [e0b9167693] user: js, branch: trunk, size: 8582 [annotate] [blame] [check-ins using] [diff]
2016-01-05
22:00
(u)int_fast*_t -> (u)int*_t

(U)INT_FAST*_MAX is broken on Android, which makes (u)int_fast*_t
dangerous to use while it does not provide any real speed benefit. file: [66169b3a5c] check-in: [d3158d091f] user: js, branch: trunk, size: 8595 [annotate] [blame] [check-ins using] [diff]

2016-01-03
00:43
Update copyright

While at it, also update the mail address. file: [68d3e76641] check-in: [cec0f072f8] user: js, branch: 0.8, size: 8799 [annotate] [blame] [check-ins using] [diff]

00:41
Update copyright

While at it, also update the mail address. file: [26c1cf1b29] check-in: [2a27cf3000] user: js, branch: trunk, size: 8625 [annotate] [blame] [check-ins using] [diff]

2015-11-29
11:43
Make properties a requirement and clean up code

This increases the required GCC version from 4.0 to 4.6 (exception:
Apple GCC, which already supports this with >= 4.0 starting with OS X
10.5). Since even GCC 4.6 is really old by now, there is no point in
still supporting something even older and making the code ugly because
of that. While some hardware and OS support was dropped from GCC 4.6
compared to GCC 4.0, there is nothing in there that would be an
interesting target with the exception of BeOS maybe - but a port to BeOS
can also be achieved using the Haiku support. The other dropped OSes are
mostly old versions of OSes while newer ones are still being supported
(and those newer versions of those OSes still support the same
hardware). file: [d3ecafe11e] check-in: [48980f2297] user: js, branch: trunk, size: 8621 [annotate] [blame] [check-ins using] [diff]

2015-05-09
21:29
OFZIPArchive: Remove OFFile requirement

Every OFSeekableStream can be used now. file: [f9630635cf] check-in: [aa1bb213e0] user: js, branch: trunk, size: 8795 [annotate] [blame] [check-ins using] [diff]

2015-01-03
20:57
Update copyright file: [768704fed7] check-in: [cfd374b906] user: js, branch: trunk, size: 8752 [annotate] [blame] [check-ins using] [diff]
2014-06-21
21:43
Move all macros from OFObject.h to macros.h

This means that OFObject.h imports macros.h now, making it unnecessary
to manually import macros.h in almost every file. And while at it, also
import autorelease.h in OFObject.h, so that this doesn't need to be
manually imported in almost every file as well. file: [f67f7363c8] check-in: [13ee56edf3] user: js, branch: trunk, size: 8746 [annotate] [blame] [check-ins using] [diff]

2014-05-29
21:13
OFZIP: Better verbose output file: [35f57b5408] check-in: [c095670543] user: js, branch: trunk, size: 8790 [annotate] [blame] [check-ins using] [diff]
2014-05-26
15:41
OFZIPArchiveEntry: Make more properties public file: [96e189c829] check-in: [c1d665c395] user: js, branch: trunk, size: 6696 [annotate] [blame] [check-ins using] [diff]
2014-05-25
22:58
Move of_zip_archive_find_extra_field()

This belongs to OFZIPArchiveEntry. Consequently, it has been renamed to
of_zip_archive_entry_find_extra_field() and made public, so that it can
be used by applications that got the extra field from the
OFZIPArchiveEntry. file: [0a34c90b44] check-in: [adf754d5fc] user: js, branch: trunk, size: 6844 [annotate] [blame] [check-ins using] [diff]

2014-01-04
00:24
Update copyright. file: [fabe910a28] check-in: [3b97fc3cd9] user: js, branch: trunk, size: 6247 [annotate] [blame] [check-ins using] [diff]
2013-11-06
20:58
OFZIPArchive: Do not sort -[entries].

While sorting -[entries] reduces hard disk seeks, it allows a denial of
service by creating an archive with a huge central directory without
actual files. As usually the order in the central directory matches the
order of the actual files, this minor speed increase is not worth the
attack vector. file: [49ac97ac70] check-in: [be628bbb84] user: js, branch: trunk, size: 6241 [annotate] [blame] [check-ins using] [diff]

11:36
OFZIPArchive: Add support for ZIP64. file: [fded94162f] check-in: [7d11e6e4e6] user: js, branch: trunk, size: 6656 [annotate] [blame] [check-ins using] [diff]
2013-10-30
17:06
OFZIPArchive: Return entries in a sorted array. file: [8411857262] check-in: [95f6035588] user: js, branch: trunk, size: 5695 [annotate] [blame] [check-ins using] [diff]
2013-10-29
09:55
OFZIPArchiveEntry: More elaborate -[description]. file: [45871583e7] check-in: [7d10ec24b0] user: js, branch: trunk, size: 5241 [annotate] [blame] [check-ins using] [diff]
2013-08-15
20:23
OFZIPArchiveEntry: Export the extra field. file: [440732d641] check-in: [bf0db50a84] user: js, branch: trunk, size: 5119 [annotate] [blame] [check-ins using] [diff]
19:00
Move private methods into private headers. file: [24e2aa1cb7] check-in: [1d7a1cbca0] user: js, branch: trunk, size: 4997 [annotate] [blame] [check-ins using] [diff]
17:55
OFZIPArchiveEntry: Add -[description]. file: [fabc446b26] check-in: [fb8b5e652d] user: js, branch: trunk, size: 4959 [annotate] [blame] [check-ins using] [diff]
2013-08-14
13:18
Added: OFZIPArchive: Make meta data of files available. file: [cdf0fba920] check-in: [2168071f36] user: js, branch: trunk, size: 4352 [annotate] [blame] [check-ins using]