ObjFW  Check-in [6527c97d03]

Overview
Comment:OFZIPArchive: 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
needs to reset to nil in its dealloc.

Since when closing a stream for writing the archive needs to be updated,
the code for that was moved out of OFZIPArchive and into the stream
writer, since it now has a reference to the archive anyway.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6527c97d03ed80fc1cffc2e6a98422292874db830c757023cee3963aa789797e
User & Date: js on 2022-10-09 16:19:17
Other Links: manifest | tags
Context
2022-10-09
16:33
Drop of- prefix from URI schemes check-in: 9b3cae6cba user: js tags: trunk
16:19
OFZIPArchive: Make returned streams retain archive check-in: 6527c97d03 user: js tags: trunk
2022-10-08
23:47
Move all archive URI handling to a single file check-in: 55858a10bb user: js tags: trunk
Changes