- Jan 22, 2025
-
-
Dominik Loidolt authored
Ensured error handling is now consistent with the --binary See merge request !36
-
Dominik Loidolt authored
-
Dominik Loidolt authored
- Added null checks to case_insensitive_compare in cmp_io.c
-
Dominik Loidolt authored
- Ensured error handling is now consistent with the --binary option when model file size does not match original data size see 3321f1d8 (Add model file size mismatch check and update version to 0.14, 2025-01-16) - Enhanced cmp_tool integration tests to cover model size mismatch cases
-
Dominik Loidolt authored
-
- Jan 16, 2025
-
-
Dominik Loidolt authored
Add pre-commit configuration file See merge request !35
-
Dominik Loidolt authored
-
Dominik Loidolt authored
- Added a check to verify model file size matches original data size and report errors - Fix buffer overflow in `read_file_data` when file size exceeds `buf_size` - Updated version to 0.14
-
Dominik Loidolt authored
- cmp_io.c: Added missing header includes and adjusted brace usage for better readability. - cmp_tool.c: Improved comment formatting and removed redundant else blocks. - cmp_tool_integration_test.py: Removed unnecessary print statements.
-
Dominik Loidolt authored
-
- Nov 28, 2024
-
-
Dominik Loidolt authored
This commit introduces a pre-commit configuration file (.pre-commit-config.yaml) to ensure code quality and consistency by automatically running various checks and fixes before commits are finalized. Quick start =========== 1. Install pre-commit Before you can run hooks, you need to have the pre-commit package manager installed. Using pip: pip install pre-commit 2. Install the git hook scripts run: pre-commit install to set up the git hook scripts Now pre-commit will run automatically on git commit! 3. (optional) Run against all the files It's usually a good idea to run the hooks against all of the files when adding new hooks (usually pre-commit will only run on the changed files during git hooks): pre-commit run --all-files For more information see https://pre-commit.com
-
- Nov 12, 2024
-
-
Dominik Loidolt authored
Update cmp_tool to version v0.13 See merge request !34
-
Dominik Loidolt authored
-
- Nov 11, 2024
-
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
- Nov 07, 2024
-
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
Dominik Loidolt authored
Replace typedef'd function pointer type with direct declaration in struct.
-
Dominik Loidolt authored
Make header validation more lenient by not failing decompression when reserved field is non-zero. Print warning instead of error since this may indicate corruption but shouldn't prevent decompression attempt.
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
Dominik Loidolt authored
Replace generic spill threshold estimation with mode-specific calculations: - Add new cmp_best_zero_spill() function to optimize zero escape mechanism
-
Dominik Loidolt authored
Ensured consistency with Linux kernel style guidelines
-
Dominik Loidolt authored
-
Dominik Loidolt authored
- Add chunk-specific compression guessing functionality - Support both RDCU and chunk data in guess operation - Add compression parameter file I/O functionality This change expands the compression parameter guessing system to handle chunk data in addition to RDCU data. The new functionality helps users find optimal compression parameters for different types of chunk data.
-
- Oct 24, 2024
-
-
Dominik Loidolt authored
Move chunk type determination logic from cmp_icu.c into its own file
-
Dominik Loidolt authored
Consolidate l_fx_variance and l_cob_variance fields into a single l_fx_cob_variance field in cmp_max_used_bits structure
-
- Oct 17, 2024
-
-
Dominik Loidolt authored
- Improve code structure and readability in cmp_icu.c and decmp.c: - Mark constants as const where appropriate - Fix indentation alignment - Reorganize function order for better flow - Add space around operators - Split long lines for better readability - Fix comment formatting and alignment
-
- Sep 25, 2024
-
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
- Sep 23, 2024
-
-
Dominik Loidolt authored
-
- Sep 19, 2024
-
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-
Dominik Loidolt authored
-