]> Kevux Git Server - fll/commit
Refactor: Redesign fl_string and fl_utf_string, relocating into f_compare, f_parse...
authorKevin Day <kevin@kevux.org>
Mon, 27 Mar 2023 02:11:20 +0000 (21:11 -0500)
committerKevin Day <kevin@kevux.org>
Mon, 27 Mar 2023 03:52:01 +0000 (22:52 -0500)
commit8f5854676725879488eaa1b378dc5d02e8169ae5
tree3fd94d9e188028e89a70bf6f9fa86b15c96de0d4
parentabaed1570edab133e91d5731d6afb324d4fc12a8
Refactor: Redesign fl_string and fl_utf_string, relocating into f_compare, f_parse, and f_rip.

The fl_string and fl_utf_string projects only depend on the core projects.
They could easily be moved into the level_0 project directory.
The problem is that they cannot be part of the f_string project due to depending on f_utf.
The f_string project is before the f_utf.

The solution is to break the fl_string into three projects:
- f_compare
- f_parse
- f_rip

It just so happens that the fl_utf_string is in the same situation as fl_string.
Move fl_utf_string into these three projects as appropriate.

This adds some initial unit tests to f_compare.
I didn't have enough to to finish f_compare, let alone get to f_parse and f_rip.
198 files changed:
build/level_0/settings
build/level_1/settings
build/monolithic/settings
build/scripts/bootstrap-example.sh
build/scripts/test.sh
build/stand_alone/fake.config.h
build/stand_alone/fake.settings
level_0/f_compare/c/compare.c [new file with mode: 0644]
level_0/f_compare/c/compare.h [new file with mode: 0644]
level_0/f_compare/c/compare/private-utf.c [new file with mode: 0644]
level_0/f_compare/c/compare/private-utf.h [new file with mode: 0644]
level_0/f_compare/c/compare/utf.c [new file with mode: 0644]
level_0/f_compare/c/compare/utf.h [new file with mode: 0644]
level_0/f_compare/c/private-compare.c [moved from level_1/fl_string/c/private-string.c with 72% similarity]
level_0/f_compare/c/private-compare.h [new file with mode: 0644]
level_0/f_compare/data/build/defines [moved from level_1/fl_string/data/build/defines with 91% similarity]
level_0/f_compare/data/build/dependencies [moved from level_1/fl_string/data/build/dependencies with 100% similarity]
level_0/f_compare/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_compare/data/build/fakefile [moved from level_1/fl_string/data/build/fakefile with 100% similarity]
level_0/f_compare/data/build/settings [new file with mode: 0644]
level_0/f_compare/data/build/settings-tests [new file with mode: 0644]
level_0/f_compare/data/build/testfile [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-dynamic.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-dynamic.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-dynamic_string.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare-dynamic_string.h [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare.c [new file with mode: 0644]
level_0/f_compare/tests/unit/c/test-compare.h [new file with mode: 0644]
level_0/f_parse/c/parse.c [new file with mode: 0644]
level_0/f_parse/c/parse.h [new file with mode: 0644]
level_0/f_parse/c/parse/utf.c [new file with mode: 0644]
level_0/f_parse/c/parse/utf.h [new file with mode: 0644]
level_0/f_parse/data/build/defines [new file with mode: 0644]
level_0/f_parse/data/build/dependencies [new file with mode: 0644]
level_0/f_parse/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_parse/data/build/fakefile [new file with mode: 0644]
level_0/f_parse/data/build/settings [moved from level_1/fl_string/data/build/settings with 89% similarity]
level_0/f_rip/c/private-rip.c [new file with mode: 0644]
level_0/f_rip/c/private-rip.h [new file with mode: 0644]
level_0/f_rip/c/rip.c [new file with mode: 0644]
level_0/f_rip/c/rip.h [new file with mode: 0644]
level_0/f_rip/c/rip/private-utf.c [new file with mode: 0644]
level_0/f_rip/c/rip/private-utf.h [new file with mode: 0644]
level_0/f_rip/c/rip/utf.c [new file with mode: 0644]
level_0/f_rip/c/rip/utf.h [new file with mode: 0644]
level_0/f_rip/data/build/defines [new file with mode: 0644]
level_0/f_rip/data/build/dependencies [new file with mode: 0644]
level_0/f_rip/data/build/dependencies-tests [new file with mode: 0644]
level_0/f_rip/data/build/fakefile [new file with mode: 0644]
level_0/f_rip/data/build/settings [new file with mode: 0644]
level_0/f_string/c/private-string.h
level_0/f_string/data/build/settings
level_1/fl_string/c/private-string.h [deleted file]
level_1/fl_string/c/string.c [deleted file]
level_1/fl_string/c/string.h [deleted file]
level_1/fl_utf/c/private-utf.c
level_1/fl_utf/c/private-utf.h
level_1/fl_utf/c/utf.c
level_1/fl_utf/c/utf.h
level_2/fll_execute/c/execute.h
level_2/fll_fss/c/fss.c
level_2/fll_fss/c/fss.h
level_2/fll_fss/c/fss/basic.h
level_2/fll_fss/c/fss/basic_list.h
level_2/fll_fss/c/fss/payload.c
level_2/fll_fss/c/fss/payload.h
level_2/fll_fss/data/build/dependencies
level_2/fll_fss/data/build/settings
level_2/fll_fss_status_string/c/fss_status_string.c
level_2/fll_fss_status_string/c/fss_status_string.h
level_2/fll_fss_status_string/data/build/dependencies
level_2/fll_fss_status_string/data/build/settings
level_2/fll_iki/c/iki.h
level_2/fll_program/c/program.c
level_2/fll_program/c/program.h
level_2/fll_program/data/build/dependencies
level_2/fll_program/data/build/settings
level_2/fll_status_string/c/status_string.c
level_2/fll_status_string/c/status_string.h
level_2/fll_status_string/data/build/dependencies
level_2/fll_status_string/data/build/settings
level_2/fll_status_string/data/build/settings-tests
level_3/byte_dump/c/byte_dump.h
level_3/byte_dump/data/build/dependencies
level_3/byte_dump/data/build/settings
level_3/control/c/common.c
level_3/control/c/control.h
level_3/control/c/private-control.c
level_3/control/data/build/dependencies
level_3/control/data/build/settings
level_3/controller/c/common.c
level_3/controller/c/controller.h
level_3/controller/c/controller/private-controller.c
level_3/controller/c/controller/private-controller.h
level_3/controller/c/entry/private-entry.c
level_3/controller/c/entry/private-entry.h
level_3/controller/c/process/private-process.c
level_3/controller/c/rule/private-rule.c
level_3/controller/c/rule/private-rule.h
level_3/controller/data/build/dependencies
level_3/controller/data/build/settings
level_3/fake/c/main/build/load.c
level_3/fake/c/main/common/print.c
level_3/fake/c/main/common/print.h
level_3/fake/c/main/fake.h
level_3/fake/c/main/make.c
level_3/fake/c/main/make.h
level_3/fake/c/main/make/load_fakefile.c
level_3/fake/c/main/make/operate.c
level_3/fake/c/main/make/operate.h
level_3/fake/c/main/make/operate_process_type.c
level_3/fake/c/main/make/operate_validate_type.c
level_3/fake/data/build/dependencies
level_3/fake/data/build/settings
level_3/firewall/c/firewall.c
level_3/firewall/c/firewall.h
level_3/firewall/c/private-firewall.c
level_3/firewall/data/build/dependencies
level_3/firewall/data/build/settings
level_3/fss_basic_list_read/c/fss_basic_list_read.c
level_3/fss_basic_list_read/c/fss_basic_list_read.h
level_3/fss_basic_list_read/c/private-read.c
level_3/fss_basic_list_read/c/private-read.h
level_3/fss_basic_list_read/data/build/dependencies
level_3/fss_basic_list_read/data/build/settings
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_read/c/fss_basic_read.h
level_3/fss_basic_read/c/private-read.c
level_3/fss_basic_read/c/private-read.h
level_3/fss_basic_read/data/build/dependencies
level_3/fss_basic_read/data/build/settings
level_3/fss_embedded_list_read/c/fss_embedded_list_read.c
level_3/fss_embedded_list_read/c/fss_embedded_list_read.h
level_3/fss_embedded_list_read/c/private-read.c
level_3/fss_embedded_list_read/data/build/dependencies
level_3/fss_embedded_list_read/data/build/settings
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_list_read/c/fss_extended_list_read.h
level_3/fss_extended_list_read/c/private-read.c
level_3/fss_extended_list_read/c/private-read.h
level_3/fss_extended_list_read/data/build/dependencies
level_3/fss_extended_list_read/data/build/settings
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_read/c/fss_extended_read.h
level_3/fss_extended_read/c/private-read.c
level_3/fss_extended_read/c/private-read.h
level_3/fss_extended_read/data/build/dependencies
level_3/fss_extended_read/data/build/settings
level_3/fss_identify/c/fss_identify.h
level_3/fss_identify/c/private-identify.c
level_3/fss_identify/c/private-identify.h
level_3/fss_identify/data/build/dependencies
level_3/fss_identify/data/build/settings
level_3/fss_payload_read/c/fss_payload_read.c
level_3/fss_payload_read/c/fss_payload_read.h
level_3/fss_payload_read/c/private-read.c
level_3/fss_payload_read/c/private-read.h
level_3/fss_payload_read/data/build/dependencies
level_3/fss_payload_read/data/build/settings
level_3/fss_write/c/basic/fss_write.h
level_3/fss_write/c/basic_list/fss_write.h
level_3/fss_write/c/embedded_list/fss_write.h
level_3/fss_write/c/extended/fss_write.h
level_3/fss_write/c/extended_list/fss_write.h
level_3/fss_write/c/main/fss_write.h
level_3/fss_write/c/main/main.c
level_3/fss_write/c/payload/fss_write.c
level_3/fss_write/c/payload/fss_write.h
level_3/fss_write/data/build/dependencies
level_3/fss_write/data/build/settings
level_3/fss_write/data/build/settings.basic
level_3/fss_write/data/build/settings.basic_list
level_3/fss_write/data/build/settings.embedded_list
level_3/fss_write/data/build/settings.extended
level_3/fss_write/data/build/settings.extended_list
level_3/fss_write/data/build/settings.main
level_3/fss_write/data/build/settings.payload
level_3/iki_read/c/main/common.c
level_3/iki_read/c/main/identify.c
level_3/iki_read/c/main/iki_read.h
level_3/iki_read/c/main/process.c
level_3/iki_read/data/build/dependencies
level_3/iki_read/data/build/settings
level_3/iki_write/c/main/iki_write.h
level_3/iki_write/data/build/dependencies
level_3/iki_write/data/build/settings
level_3/status_code/c/fss/status_code.h
level_3/status_code/c/main/status_code.h
level_3/status_code/data/build/dependencies
level_3/status_code/data/build/dependencies.fss
level_3/status_code/data/build/settings
level_3/status_code/data/build/settings.fss
level_3/status_code/data/build/settings.main
level_3/utf8/c/main/utf8.h
level_3/utf8/data/build/dependencies
level_3/utf8/data/build/settings