ObjFW  History of src/OFInflateStream.m of 6bac6e95cbd456df

History of file src/OFInflateStream.m at check-in 6bac6e95cbd456df

2024-04-29
21:42
Properly hide private symbols file: [ee0deaa4d9] check-in: [f16bccc7b3] user: js, branch: trunk, size: 17343 [annotate] [blame] [check-ins using] [diff]
2024-04-03
02:16
Change license to LGPLv3 only file: [5f2d55b677] check-in: [7413a728a7] user: js, branch: trunk, size: 17329 [annotate] [blame] [check-ins using] [diff]
2024-03-10
23:00
OFInflateStream: Return if we can't read

Otherwise we spin forever if the underlying stream keeps returning 0 on
read.

This can happen if the end of a ZIP part has been reached. Returning
allows to switch the underlying stream to the next part. file: [533f2c6519] check-in: [f7faf2bfa6] user: js, branch: 1.0, size: 17142 [annotate] [blame] [check-ins using] [diff]

23:00
OFInflateStream: Return if we can't read

Otherwise we spin forever if the underlying stream keeps returning 0 on
read.

This can happen if the end of a ZIP part has been reached. Returning
allows to switch the underlying stream to the next part. file: [9d9894c2fe] check-in: [a72f602c2a] user: js, branch: trunk, size: 17121 [annotate] [blame] [check-ins using] [diff]

2024-02-03
11:41
Update copyright file: [7726e7ab7e] check-in: [7324ec8590] user: js, branch: 1.0, size: 17089 [annotate] [blame] [check-ins using] [diff]
2024-01-02
17:17
Update copyright file: [6ae6dfa239] check-in: [26ddd2e4e4] user: js, branch: trunk, size: 17068 [annotate] [blame] [check-ins using] [diff]
2023-10-15
12:32
Add -[OFStream lowlevelIsAtEndOfStream]

This allows for a much cleaner solution to avoid the internal read
buffer of e.g. a TLS connection never being processed while waiting for
a delimiter. file: [fd902a590d] check-in: [a61e0594b4] user: js, branch: trunk, size: 17068 [annotate] [blame] [check-ins using] [diff]

2023-07-25
21:21
OFZIPArchive: Handle files spanning multiple parts file: [7aafb9081b] check-in: [d6f5e2abc5] user: js, branch: trunk, size: 17089 [annotate] [blame] [check-ins using] [diff]
2023-01-06
09:04
Update copyright file: [2767dcbcf2] check-in: [8939cbdb52] user: js, branch: trunk, size: 17048 [annotate] [blame] [check-ins using] [diff]
2022-11-16
01:27
Add OFAssert()

This uses the same format as OFEnsure(). file: [a61e69ad62] check-in: [c86b8f10f0] user: js, branch: trunk, size: 17048 [annotate] [blame] [check-ins using] [diff]

2022-02-12
07:46
Update copyright file: [28d4702177] check-in: [1a86b8175b] user: js, branch: trunk, size: 17067 [annotate] [blame] [check-ins using] [diff]
2021-04-29
23:24
Clean up struct and enum typedefs

With TYPEDEF_HIDES_STRUCT set, Doxygen properly handles anonymous
structs and enums that are typedef'd. file: [ddc6f9f77f] check-in: [2fcf5a3052] user: js, branch: trunk, size: 17067 [annotate] [blame] [check-ins using] [diff]

2021-04-25
19:58
Last round of renames (hopefully) file: [94ff1319c4] check-in: [6ae98c1dcf] user: js, branch: trunk, size: 17069 [annotate] [blame] [check-ins using] [diff]
2021-04-18
21:09
Fix missed renaming in last commit file: [f7f7b24442] check-in: [17e4392ac9] user: js, branch: new-naming-convention, size: 17069 [annotate] [blame] [check-ins using] [diff]
20:51
Rename everything in several smaller files file: [38c7319da8] check-in: [35de667566] user: js, branch: new-naming-convention, size: 16791 [annotate] [blame] [check-ins using] [diff]
2021-04-17
22:45
Rename of_(re)alloc and add OFFreeMemory file: [d85ba662c7] check-in: [498074dab9] user: js, branch: new-naming-convention, size: 16840 [annotate] [blame] [check-ins using] [diff]
2021-01-02
22:04
Update copyright file: [8a296ae0d3] check-in: [374e1a1bfa] user: js, branch: trunk, size: 16795 [annotate] [blame] [check-ins using] [diff]
2020-11-14
12:23
Rename of_malloc and of_calloc

The new names should be more accurate. file: [95c86a8053] check-in: [627511b032] user: js, branch: trunk, size: 16884 [annotate] [blame] [check-ins using] [diff]

2020-11-05
02:27
Further reduce usage of -[allocMemoryWithSize:] file: [b112db9229] check-in: [da1fb6b21c] user: js, branch: trunk, size: 16873 [annotate] [blame] [check-ins using] [diff]
2020-09-27
03:08
Work around bugs in Apple GCC 4.0.1

Still miscompiles things. file: [c1d8d6e047] check-in: [9e9ce6aa1c] user: js, branch: trunk, size: 16898 [annotate] [blame] [check-ins using] [diff]

2020-01-14
00:16
More consistent -[close] behavior

This means refusing to close twice, calling -[close] from -[dealloc] and
not calling -[cancelAsyncRequests].

Calling -[cancelAsyncRequests] in -[close] is too dangerous, as -[close]
gets called by -[dealloc]: If the queue is the last reference to the
object, at the point where -[cancelAsyncRequests] removes it from the
queue, the object will start to deallocate and call into
-[cancelAsyncRequests] again, which is still in the middle of removing
it and now finds itself with an inconsistent state. file: [3cf4fd3893] check-in: [3b43d51006] user: js, branch: trunk, size: 16890 [annotate] [blame] [check-ins using] [diff]

2020-01-02
01:51
Update copyright file: [89d633e369] check-in: [c7f0229795] user: js, branch: trunk, size: 16789 [annotate] [blame] [check-ins using] [diff]
2019-09-29
20:53
Reduce ivar scopes file: [2d02df5db2] check-in: [e0a330b377] user: js, branch: trunk, size: 16786 [annotate] [blame] [check-ins using] [diff]
2019-03-20
21:04
Force inline tryReadBits and of_huffman_tree_walk

This gives a significant performance improvement, cutting decompression
time almost in half. file: [5b9953e18a] check-in: [6a0bf8be32] user: js, branch: trunk, size: 16815 [annotate] [blame] [check-ins using] [diff]

2019-03-08
00:35
Use dot syntax file: [98e2dc75e9] check-in: [bceb7ed4c9] user: js, branch: trunk, size: 16788 [annotate] [blame] [check-ins using] [diff]
2019-01-03
19:13
Update copyright file: [b3630eb5b7] check-in: [0509d7a844] user: js, branch: trunk, size: 16775 [annotate] [blame] [check-ins using] [diff]
2018-06-10
20:29
OF{LHA,ZIP}Archive: Improve truncation detection file: [929b5d3847] check-in: [6b42e44f99] user: js, branch: trunk, size: 16769 [annotate] [blame] [check-ins using] [diff]
12:29
OFLHAArchive: Skip compressed entries much faster file: [673c1237d7] check-in: [2e354552ad] user: js, branch: trunk, size: 16728 [annotate] [blame] [check-ins using] [diff]
2018-06-09
14:36
OFInflate64Stream: Don't subclass OFInflateStream file: [84940553dd] check-in: [1b5d3ac8af] user: js, branch: trunk, size: 16706 [annotate] [blame] [check-ins using] [diff]
2018-06-06
21:55
Deflate & LHA: Return buffer to stream on close file: [e6df60b73e] check-in: [fd9801229f] user: js, branch: trunk, size: 16626 [annotate] [blame] [check-ins using] [diff]
2018-06-03
23:31
Add -[OFObject allocZeroedMemoryWithSize:(count:)] file: [2f25e4e657] check-in: [aacb5897a0] user: js, branch: trunk, size: 16394 [annotate] [blame] [check-ins using] [diff]
20:11
Work around GCC being extremely buggy

This includes GCC thinking uint16_t and uint_fast16_t have a different
signedness and pointers to subclasses of OFStream and pointers to
OFStream being incompatible pointer types. file: [cd213df087] check-in: [44413ada84] user: js, branch: trunk, size: 16493 [annotate] [blame] [check-ins using] [diff]

18:15
OFLHAArchive: Support for -lh[4567]- compression file: [6dcb1199a3] check-in: [6cbc2253b8] user: js, branch: trunk, size: 16503 [annotate] [blame] [check-ins using] [diff]
2018-01-03
19:49
Update copyright notice file: [f1b2a7dc7f] check-in: [7e5c81e186] user: js, branch: trunk, size: 18815 [annotate] [blame] [check-ins using] [diff]
2017-10-22
15:05
Make Apple GCC with -Wshadow happy file: [4049e67acd] check-in: [a06354b42a] user: js, branch: trunk, size: 18792 [annotate] [blame] [check-ins using] [diff]
14:09
Make Apple GCC with -Wshadow happy file: [93ad641546] check-in: [31c0f5b89e] user: js, branch: 0.90, size: 18764 [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: [360414f679] check-in: [2f4e0df8be] user: js, branch: trunk, size: 18798 [annotate] [blame] [check-ins using] [diff]

2017-07-22
20:50
Split OFDataArray into OFData and OFMutableData file: [fc22c7448d] check-in: [c8f7b90082] user: js, branch: trunk, size: 18770 [annotate] [blame] [check-ins using] [diff]
2017-06-10
10:00
Added: Rename OFDeflateStream back to OFInflateStream

There is not much point in having a bi-directional stream for Deflate
compression / decompression. file: [f2182fa6d3] check-in: [f56a50ee50] user: js, branch: trunk, size: 18794 [annotate] [blame] [check-ins using]