tamp 2.2.1__tar.gz → 2.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {tamp-2.2.1 → tamp-2.2.2}/PKG-INFO +1 -1
- {tamp-2.2.1 → tamp-2.2.2}/pyproject.toml +2 -2
- {tamp-2.2.1 → tamp-2.2.2}/tamp/__init__.py +1 -1
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_src/tamp/compressor.c +4 -2
- {tamp-2.2.1 → tamp-2.2.2}/LICENSE +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/README.md +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/build.py +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/__init__.pyi +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/__main__.py +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_build_dictionary.pyx +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_common.pxd +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_common.pyx +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_compressor.pyx +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_decompressor.pyx +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_src/tamp/common.c +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_src/tamp/common.h +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_src/tamp/compressor.h +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_src/tamp/compressor_find_match_desktop.c +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_src/tamp/decompressor.c +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/_c_src/tamp/decompressor.h +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/cli/__init__.py +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/cli/build_dictionary.py +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/cli/main.py +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/compressor.py +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/compressor_viper.py +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/ctamp.pxd +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/decompressor.py +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/decompressor_viper.py +0 -0
- {tamp-2.2.1 → tamp-2.2.2}/tamp/py.typed +0 -0
|
@@ -9,7 +9,7 @@ style = "semver"
|
|
|
9
9
|
|
|
10
10
|
[tool.poetry]
|
|
11
11
|
name = "tamp"
|
|
12
|
-
version = "2.2.
|
|
12
|
+
version = "2.2.2" # Do not change, let poetry-dynamic-versioning handle it.
|
|
13
13
|
homepage = "https://github.com/BrianPugh/tamp"
|
|
14
14
|
repository = "https://github.com/BrianPugh/tamp"
|
|
15
15
|
license = "Apache-2.0"
|
|
@@ -44,7 +44,7 @@ cli = ["cyclopts", "rich"]
|
|
|
44
44
|
[tool.poetry.group.docs.dependencies]
|
|
45
45
|
sphinx = ">=4.5.0"
|
|
46
46
|
sphinx_rtd_theme = ">=3.0.0"
|
|
47
|
-
gitpython = ">=3.1.
|
|
47
|
+
gitpython = ">=3.1.49"
|
|
48
48
|
sphinx-copybutton = ">=0.5.2"
|
|
49
49
|
myst-parser = {extras = ["linkify"], version = "^3.0.1"}
|
|
50
50
|
|
|
@@ -181,8 +181,10 @@ TAMP_OPTIMIZE_SIZE tamp_res tamp_compressor_init(TampCompressor* compressor, con
|
|
|
181
181
|
#endif
|
|
182
182
|
};
|
|
183
183
|
if (!conf) conf = &conf_default;
|
|
184
|
-
|
|
185
|
-
|
|
184
|
+
uint8_t window_bits = conf->window;
|
|
185
|
+
uint8_t literal_bits = conf->literal;
|
|
186
|
+
if (window_bits < 8 || window_bits > 15) return TAMP_INVALID_CONF;
|
|
187
|
+
if (literal_bits < 5 || literal_bits > 8) return TAMP_INVALID_CONF;
|
|
186
188
|
if (conf->append && (!conf->dictionary_reset || conf->use_custom_dictionary)) return TAMP_INVALID_CONF;
|
|
187
189
|
#if !TAMP_EXTENDED_COMPRESS
|
|
188
190
|
if (conf->extended) return TAMP_INVALID_CONF; // Extended requested but not compiled in
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|