36 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 ae99c943f6 [LZMA] Fix incorrect check for empty out window
This was caused by incorrectly assuming that out window (dictionary) always starts at 0 index. This is not correct in the case of LZMA2 where dictionary may have been reset, but the out window is technically not an empty array.
2023-02-19 16:49:14 +02: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 deab72a831 Merge branch 'hotfix-4.5.7' into develop 2020-10-16 15:57:08 +03:00
Timofey Solomko a07fc290a0 Small fixes to code comments 2020-10-15 23:35:34 +03: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 8737e6e2df [LZMA] Remove LZMADecoder.setProperties 2018-08-28 11:34:04 +03:00
Timofey Solomko 658611e2f1 [LZMA] Initialize properties in decoder with property initialzier 2018-08-28 11:34:04 +03:00
Timofey Solomko 30f46e06db [LZMA] Use LZMAProperties.updateProperties function in LZMA 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 56600d2178 [LZMA] Add LZMAProperties property to LZMADecoder 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 d75ee1e1f2 [LZMA] Change type of lc, lp and pb properties to Int 2018-08-13 12:37:35 +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 e714dc308b Updated copyright year to 2018 2018-01-03 19:44:18 +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 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 fc0a5ad2cc Remove LZMAError.decoderIsNotInitialised 2017-11-10 22:29:30 +03:00
Timofey Solomko bdf9cd930f Make lc, lp and pb properties of LZMADecoder private 2017-11-09 19:25:09 +03:00
Timofey Solomko 6d82cdf946 Remove inout modifier for LZMARangeDecoder arguments
rangeDecoder arguments already have pass-by-reference functionality since LZMARangeDecoder is a class. It works the same way as DataWithPointer, for example.
2017-10-29 13:01:33 +03:00
Timofey Solomko c445e09c92 Rename LZMATempDecoder into LZMADecoder 2017-10-29 12:54:35 +03:00
Timofey Solomko aac304b5b6 Extract LZMA constants into separate file and remove old LZMA decoder 2017-10-29 12:53:17 +03:00
Timofey Solomko 843896edcf Move source code files into subfolders 2017-10-06 23:10:01 +03:00