25 Commits

Author SHA1 Message Date
Ladislav Zezula
c3f28814af Fixed typos 2026-01-17 13:26:24 +01:00
Ladislav Zezula
f8adad6e0b Merge pull request #356 from pionere/replength
use MAX_REP_LENGTH
2024-08-18 16:40:09 +02:00
pionere
722f97efee use MAX_REP_LENGTH
use MAX_REP_LENGTH everywhere in implode.c + fix a typo
2024-08-18 09:43:35 +02:00
pionere
0b5d8c0989 use int instead of short in FindRep
use int instead of short to fix a (false positive) vulnerability warning.
Even though is not necessary (because the value is limited to 0x204),  the generated code seems to be better as well, because a zero-extension becomes unnecessary.
2024-08-18 09:37:53 +02:00
Ladislav Zezula
0ad5256800 Reverted all enums 2022-12-21 14:52:36 +01:00
Ladislav Zezula
4145cbdbfb Merge pull request #274 from KOLANICH-libs/sizes_enums
Merged. Thank you for the contribution.
2022-12-19 23:01:45 +01:00
Ladislav Zezula
b951d3a408 Fixed comment 2022-12-19 19:11:59 +01:00
Ladislav Zezula
f5549cdd73 Pragma moved 2022-12-19 19:03:37 +01:00
KOLANICH
9eaa53bce2 pklib: Replace magic nums that I have forgotten to replace. 2022-12-19 20:39:42 +03:00
KOLANICH
6327183f36 Added #pragma once into the top of pklib.h. 2022-12-19 19:58:16 +03:00
KOLANICH
59f4f99e1a Add enums for sizes of different data structures in pklib.h. The enums document the dependencies between sizes of different structures. 2022-12-16 14:07:54 +03:00
Ladislav Zezula
1306240979 Minor fix 2022-04-19 07:26:00 +02:00
pionere
f8a9f6d9af remove incorrect notes 2022-04-18 10:54:41 +02:00
pionere
540d5dada1 make tables constant (in explode.c) 2022-04-18 10:54:00 +02:00
pionere
1032227122 use 'static' table in GenDecodeTabs 2022-04-18 10:52:30 +02:00
pionere
0278ae71de get rid of nChCode 2022-04-18 10:50:04 +02:00
pionere
6bf361db15 use USHRT_MAX, otherwise it wont work properly on platforms where short has a different (not 16) size 2022-04-17 14:37:26 +02:00
Ladislav Zezula
b6102b2600 Removed trailing whitespace 2020-11-23 12:56:00 +01:00
Lajos.Meszaros
aff1f7d644 Removed if statement, which always evaluates to true 2020-08-14 16:52:14 +02:00
Lajos.Meszaros
bb5f7c8d65 Fixed address typo in pklib struct documentation 2020-05-30 23:13:35 +02:00
Ladislav Zezula
6065d16ba9 * ZLIB updated
* Minor fixes
2020-05-10 06:43:37 +02:00
Ladislav Zezula
3c8cc59c40 + Public include directories moved to "include" directory 2016-11-06 14:27:57 +01:00
Lectem
32f7f18642 fix cmake dependency and move headers to include 2016-11-05 03:56:39 +01:00
Ladislav Zezula
1b38ceb0d4 + Fixed defects found by Coverity (well, most of them) 2015-05-28 13:49:23 +02:00
Ladislav Zezula
3a926f0228 Initial creation 2013-01-11 14:55:08 +01:00