35 Commits

Author SHA1 Message Date
Timofey Solomko 273b6ed9e9 Remove redundant imports 2026-02-18 12:21:57 +08:00
Timofey Solomko ea9aaccfb9 Update copyright year to 2026 2026-01-31 15:30:24 +08:00
Timofey Solomko ed66991cbd Update copyright year to 2024 2024-01-11 16:57:04 +03:00
Timofey Solomko 43132fc39d Update copyright year to 2023 2023-02-07 15:31:45 +02:00
Timofey Solomko 79295db930 Update copyright year to 2022 2022-01-08 15:02:59 +03:00
Timofey Solomko 03d47628a1 Merge branch 'hotfix-4.5.9' into develop 2021-05-01 16:14:33 +03:00
Timofey Solomko 2d1ff23436 Convert LZMA/LZMA2 internal types to structs
This change results in a performance boost due to reduction in retain/release calls.
2021-04-21 22:59:17 +03:00
Timofey Solomko 1fca632c2d Update copyright year to 2021 2021-03-26 13:50:20 +02:00
Timofey Solomko e83f23effa Update copyright year to 2021 2021-01-11 11:20:57 +02:00
Timofey Solomko a844b34436 Update copyright year to 2020 2020-03-20 09:43:42 +03:00
Timofey Solomko 31ec1f1553 Update copyright year to 2020 2020-01-01 19:06:33 +03:00
Timofey Solomko 75b21ae107 Replace usage of ByteReader with LittleEndianByteReader 2019-05-01 19:34:30 +03:00
Timofey Solomko ce47019097 Update copyright year to 2019 2019-01-02 23:15:43 +03:00
Timofey Solomko 110d90532c [LZMA2] Simplify dictSize initialization in decoder 2018-09-05 19:39:15 +03:00
Timofey Solomko 4e6d3beea9 [LZMA] Replace LZMAProperties.updateProperties with init from lzma byte and dict size 2018-08-28 11:34:04 +03:00
Timofey Solomko dab30e9279 [LZMA2] Add private function which updates properties of LZMA decoder 2018-08-28 11:34:04 +03:00
Timofey Solomko bcc703d1f6 [LZMA2] Move LZMAProperties.updateDictionarySize function into LZMA2Decoder initializer 2018-08-22 10:40:16 +03:00
Timofey Solomko e11f4d4896 [LZMA2] Merge LZMA2Decoder initializer and its setDictionarySize function 2018-08-22 10:40:16 +03:00
Timofey Solomko bceb10db9f [LZMA2] Use LZMAProperties.updateDictionarySize function in LZMA2 decoder 2018-08-22 10:40:16 +03:00
Timofey Solomko b52a55d54d [LZMA] Replace references to properties of LZMADecoder with references to LZMAProperties property of decoder 2018-08-22 10:38:53 +03:00
Timofey Solomko 062109d947 [LZMA] Reset decoder state inside LZMADecoder.setProperties
This removes additional requirement to call resetStateAndDecoders after calling setProperties.
2018-08-13 20:30:24 +03:00
Timofey Solomko 6cfdc0ab29 [LZMA] Rename LZMADecoder.dictionarySize to dictSize 2018-05-20 12:55:46 +03:00
Timofey Solomko eaa100bc12 [LZMA] Make several internal classes final 2018-05-20 11:41:47 +03:00
Timofey Solomko d5c8600137 Use more new BBD functions 2018-04-10 22:37:20 +03:00
Timofey Solomko e714dc308b Updated copyright year to 2018 2018-01-03 19:44:18 +03:00
Timofey Solomko e986561487 Replace Int() conversions with toInt() functions 2018-01-03 19:22:15 +03:00
Timofey Solomko c8d92e56d3 Replace BitReader and ByteReader with BitByteData's implementations 2018-01-03 19:22:15 +03:00
Timofey Solomko 20ab480737 Complete renaming of DataWithPointer to ByteReader
This includes renaming pointerData variables to byteReader as well as renaming of files with extensions to ByteReader.
2018-01-03 19:22:14 +03:00
Timofey Solomko b9eeb1bc7c Rename ByteReader.index to offset 2018-01-03 19:22:13 +03:00
Timofey Solomko 3751e25c4f Rename DataWithPointer to ByteReader
This and following commits should ease switch to BitByteData usage.
2018-01-03 19:22:13 +03:00
Timofey Solomko f181bd6e3d Remove throws keyword from LZMA decoders inits 2017-11-11 13:10:35 +03:00
Timofey Solomko d18a295d39 Remove LZMA2Error.wrongProperties in favor of wrongDictionarySize 2017-11-10 22:26:52 +03:00
Timofey Solomko 5a7b8dc812 Swiftlint autocorrect 2017-11-04 23:30:54 +03:00
Timofey Solomko 7b99272bea Slightly improve code in LZMA2Decoder 2017-10-29 22:25:30 +03:00
Timofey Solomko 534ede1c00 Move LZMA2 related files into a separate group and folder 2017-10-29 12:55:34 +03:00