ObjFW  History of src/OFTarArchiveEntry.m of c0735ac803fe4651

History of file src/OFTarArchiveEntry.m at check-in c0735ac803fe4651

2024-04-03
02:16
Change license to LGPLv3 only file: [a2ba8f365d] check-in: [7413a728a7] user: js, branch: trunk, size: 9660 [annotate] [blame] [check-ins using] [diff]
2024-03-09
22:06
OFTarArchiveEntry: Add default modification date file: [0fb5ccb31f] check-in: [55149a21bb] user: js, branch: trunk, size: 9452 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [799d611075] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 9407 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [2af76fe94d] check-in: [8939cbdb52] user: js, branch: trunk, size: 9407 [annotate] [blame] [check-ins using] [diff]
2022-10-25
23:10
Fix building with Apple GCC 4.0.1 file: [6add4508d8] check-in: [2b7c5eb0ec] user: js, branch: trunk, size: 9407 [annotate] [blame] [check-ins using] [diff]
2022-10-06
23:33
OFTarArchive: Make returned streams retain archive

In order to not create a retain cycle, this changes the reference to the
last returned stream to an unsafe unretained one that the stream itself
resets to nil in its dealloc. file: [6db7373fe9] check-in: [6c08b57605] user: js, branch: trunk, size: 9261 [annotate] [blame] [check-ins using] [diff]

2022-08-27
23:53
OFArchiveEntry: Add more properties file: [330cc9ede8] check-in: [406134b5e2] user: js, branch: trunk, size: 9186 [annotate] [blame] [check-ins using] [diff]
22:29
OFTarArchiveEntry: Make mode/UID/GID an OFNumber

This is for consistency with OFLHAArchiveEntry. file: [91a459baa0] check-in: [d281c3198b] user: js, branch: trunk, size: 8285 [annotate] [blame] [check-ins using] [diff]

21:24
OFTarArchiveEntry: Rename size to uncompressedSize file: [f5a88ae9e6] check-in: [98c64d0af9] user: js, branch: trunk, size: 8030 [annotate] [blame] [check-ins using] [diff]
2022-08-24
19:54
OF*ArchiveEntry: Move inits to mutable class file: [4c4215de28] check-in: [9f409b2ee0] user: js, branch: trunk, size: 7701 [annotate] [blame] [check-ins using] [diff]
2022-02-12
07:46
Update copyright file: [1a8a203480] check-in: [1a86b8175b] user: js, branch: trunk, size: 7951 [annotate] [blame] [check-ins using] [diff]
2021-04-17
05:28
Rename all types in OFTarArchive(Entry).h file: [4eb33d5a79] check-in: [795618c69f] user: js, branch: new-naming-convention, size: 7951 [annotate] [blame] [check-ins using] [diff]
02:10
of_string_encoding_t -> OFStringEncoding file: [1c99df5ce0] check-in: [255f21fb3d] user: js, branch: new-naming-convention, size: 7967 [annotate] [blame] [check-ins using] [diff]
00:51
of_time_interval_t -> OFTimeInterval file: [d82e96c1dd] check-in: [8c0d76f782] user: js, branch: new-naming-convention, size: 8010 [annotate] [blame] [check-ins using] [diff]
2021-03-07
20:25
*.m: Fold methods into one line where it fits file: [9e0aa08280] check-in: [1b82d3bf4f] user: js, branch: trunk, size: 8014 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [e22a0061ae] check-in: [374e1a1bfa] user: js, branch: trunk, size: 8021 [annotate] [blame] [check-ins using] [diff]
2020-08-25
00:11
OFNumber: Remove (u)int{8,16,32,64} methods

Since C guarantees minimum sizes for char, short, int, long and long
long, these can be used instead. file: [5e09222260] check-in: [25c985fec1] user: js, branch: trunk, size: 8110 [annotate] [blame] [check-ins using] [diff]

2020-08-12
20:56
Avoid using (u)intmax_t in methods

It is not guaranteed that a type encoding for it exists. file: [91482cd774] check-in: [d74f244ab7] user: js, branch: trunk, size: 8043 [annotate] [blame] [check-ins using] [diff]

2020-08-11
19:45
OFString: Rework number parsing API

This solves the old signed vs. unsigned problem and allows for more
bases than just 8, 10 and 16, as well as auto-detection of the base (if
base is 0). file: [66844c18ae] check-in: [b6ee372b98] user: js, branch: trunk, size: 8044 [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
Update copyright file: [aa73e544ea] check-in: [c7f0229795] user: js, branch: trunk, size: 7989 [annotate] [blame] [check-ins using] [diff]
2019-03-08
00:35
Use dot syntax file: [cfb25a345f] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 7986 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [f5aca25b8d] check-in: [0509d7a844] user: js, branch: trunk, size: 8001 [annotate] [blame] [check-ins using] [diff]
2018-07-08
18:00
OF{LHA,Tar}Archive: Fix skipping over entries file: [eeb02938ee] check-in: [8333373867] user: js, branch: trunk, size: 7995 [annotate] [blame] [check-ins using] [diff]
2018-05-26
07:56
OFTarArchive: Allow specifying the encoding file: [df56ebf01c] check-in: [9db1965939] user: js, branch: trunk, size: 7997 [annotate] [blame] [check-ins using] [diff]
2018-04-22
17:48
Make ObjFW compile for AmigaOS 3 file: [426c84e614] check-in: [0b07c8fcfa] user: js, branch: trunk, size: 7415 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [70ac5e54d1] check-in: [7e5c81e186] user: js, branch: trunk, size: 7417 [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: [77919567f7] check-in: [2f4e0df8be] user: js, branch: trunk, size: 7394 [annotate] [blame] [check-ins using] [diff]

2017-10-01
21:06
Fix compilation with GCC file: [7043b6c404] check-in: [f97084d9c3] user: js, branch: trunk, size: 7358 [annotate] [blame] [check-ins using] [diff]
18:09
OFTarArchive: Support for star numbers file: [aa9fa8f2dc] check-in: [6b6856298d] user: js, branch: trunk, size: 7354 [annotate] [blame] [check-ins using] [diff]
2017-08-06
22:09
OFTarArchiveEntry: Add UID and GID file: [23b893292f] check-in: [8c00ffb513] user: js, branch: trunk, size: 7163 [annotate] [blame] [check-ins using] [diff]
21:45
OFTarArchiveEntry: Minor refactoring file: [060412ff27] check-in: [a6b87a1a0c] user: js, branch: trunk, size: 6742 [annotate] [blame] [check-ins using] [diff]
2017-08-05
15:51
OFTarArchiveEntry: Fix prefix handling for ustar file: [1b943dcfae] check-in: [9136eac5e0] user: js, branch: 0.90, size: 5032 [annotate] [blame] [check-ins using] [diff]
15:50
OFTarArchiveEntry: Fix prefix handling for ustar file: [0e7f87b9e6] check-in: [e633b42c0b] user: js, branch: trunk, size: 4978 [annotate] [blame] [check-ins using] [diff]
15:22
OFTarArchive: Add write and append support file: [35204f8874] check-in: [0c5035dd3f] user: js, branch: trunk, size: 4899 [annotate] [blame] [check-ins using] [diff]
12:27
Add OFMutableTarArchiveEntry

This is in preparation for OFTarArchive write support. file: [9618c37951] check-in: [3f34a360bf] user: js, branch: trunk, size: 4841 [annotate] [blame] [check-ins using] [diff]

2017-06-05
15:51
OFStream: Don't throw when at end of stream

Instead, let reads return 0 and let writes append after the end. file: [e3da7730a5] check-in: [f9cd4f9cab] user: js, branch: trunk, size: 4953 [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: [0b52b84545] check-in: [6b77a5dd8b] user: js, branch: trunk, size: 4870 [annotate] [blame] [check-ins using] [diff]

2017-05-08
21:37
Add OF_DESIGNATED_INITIALIZER & OF_METHOD_FAMILY file: [e989f0ffdc] check-in: [469a496cd2] user: js, branch: trunk, size: 4869 [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: [c0d69369d6] check-in: [4af49a13c3] user: js, branch: trunk, size: 4833 [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: [4e294b0368] check-in: [7c2a0dda3d] user: js, branch: trunk, size: 4829 [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: [1425c945d2] check-in: [44f45c2e35] user: js, branch: trunk, size: 4838 [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: [77185e2e13] check-in: [9c108208ef] user: js, branch: trunk, size: 4832 [annotate] [blame] [check-ins using] [diff]

2016-07-04
19:40
OFTarArchiveEntry: Make Apple GCC 4.0.1 happy file: [1aa34ee0ac] check-in: [4e34369cfa] user: js, branch: trunk, size: 4809 [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: [bd41f6ca0a] check-in: [f4a5590b58] user: js, branch: trunk, size: 4801 [annotate] [blame] [check-ins using] [diff]

2016-06-07
22:56
Add support for reusing OFStreams after close

Right now, this is only useful for OFTCPSocket, as this is the only
class so far not establishing the stream in the init method. However,
this adds the general infrastructure to allow reuse to all subclasses of
OFStream. file: [9d5bd4c896] check-in: [1de551cb5f] user: js, branch: trunk, size: 4129 [annotate] [blame] [check-ins using] [diff]

2016-05-29
19:59
Add support for ustar file: [eff1f9c576] check-in: [264126064b] user: js, branch: trunk, size: 4112 [annotate] [blame] [check-ins using] [diff]
2016-05-28
09:48
OFTarArchiveEntry: Fix type, add an explicit cast file: [d10ff12b41] check-in: [07d8cd5590] user: js, branch: trunk, size: 3427 [annotate] [blame] [check-ins using] [diff]
2016-05-22
20:14
OFTarArchiveEntry: Rename name to fileName

This is for consistency with OFZIPArchiveEntry. file: [7c3c0e4a34] check-in: [b10933a514] user: js, branch: trunk, size: 3416 [annotate] [blame] [check-ins using] [diff]

19:53
Added: Add OFTarArchive

This only implements the UNIX v7 format for now. file: [9c5065dcc1] check-in: [7ecdc71677] user: js, branch: trunk, size: 3384 [annotate] [blame] [check-ins using]