mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-07-08 18:06:30 +00:00
[PR #1710] [MERGED] [FEAT][Rust] Added Encoder Module #2427
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/CCExtractor/ccextractor/pull/1710
Author: @steel-bucket
Created: 7/13/2025
Status: ✅ Merged
Merged: 8/6/2025
Merged by: @prateekmedia
Base:
master← Head:migration-encoder-common-g608📝 Commits (10+)
699626dAdded Encoder Module0ffab50Encoder: Windows Compatibility49c218eEncoder: C formatting4220c99Merge branch 'master' into migration-encoder-common-g6085dfc62dEncoder: recommended changes to the encoding module - logic reductionb2674daEncoder: Minor stylistic change06ccc2bEncoder: Review changes, renamed Line21 to Asciia564ac1Encoder: Slight modification in C version of write_cc_buffer_as_simplexml4f954ecEncoder: Renamed 2 filese1c1c74Encoder: Minor Capitalization Change📊 Changes
16 files changed (+1471 additions, -142 deletions)
View changed files
📝
docs/CHANGES.TXT(+1 -0)📝
src/lib_ccx/ccx_encoders_common.c(+9 -2)📝
src/lib_ccx/ccx_encoders_spupng.c(+0 -12)📝
src/lib_ccx/ccx_encoders_structs.h(+12 -0)📝
src/rust/build.rs(+4 -0)➕
src/rust/lib_ccxr/src/encoder/mod.rs(+4 -0)➕
src/rust/lib_ccxr/src/encoder/txt_helpers.rs(+427 -0)📝
src/rust/lib_ccxr/src/lib.rs(+1 -0)📝
src/rust/lib_ccxr/src/util/encoding.rs(+143 -120)📝
src/rust/src/common.rs(+2 -2)➕
src/rust/src/encoder/common.rs(+420 -0)➕
src/rust/src/encoder/g608.rs(+253 -0)➕
src/rust/src/encoder/mod.rs(+99 -0)➕
src/rust/src/encoder/simplexml.rs(+89 -0)📝
src/rust/src/lib.rs(+1 -0)📝
src/rust/src/parser.rs(+6 -6)📄 Description
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
In this PR, I have migrated a large part of
ccx_encoders_common.cand the libraryccx_encoders_g608.calongside it's helper functions. I have also fixed some issues(wrong functions) in theencodingmodule which were caught during regression testing. After this PR all the writing that is done on txt files is done by Rust.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.