]> Kevux Git Server - fll/commit
Update: The FSS Lists (FSS-0002, FSS-0003, FSS-0008, etc..) to match recent specifica...
authorKevin Day <Kevin@kevux.org>
Sat, 31 Aug 2024 23:47:07 +0000 (18:47 -0500)
committerKevin Day <Kevin@kevux.org>
Sun, 1 Sep 2024 01:19:02 +0000 (20:19 -0500)
commitdda9adc9b39217cb88a1f75949fcffc7095e6eea
tree963ed56eeb6a935fd3dc2d2ec6b3af4d12411a6f
parent3d82d06bdcb96ef4226a78111b7f6e5e359febab
Update: The FSS Lists (FSS-0002, FSS-0003, FSS-0008, etc..) to match recent specification changes and reduce redundancy.

Update the Object read functions to be in compliance with the latest specification changes.
Review and update the code, fixing any observed problems and perform some clean ups.

I noticed that several of the list functions for Object read are almost identical.
Move this logic into into a shared private function to reduce repeated code.

The runtime tests are also updated.

I still need to review the Content read functions.
I probably may be able to also find similar, if not identical, code for the list write functions as well.
I will review the code and create a private function similar to what is done here if deemed possible and reasonable.
158 files changed:
level_1/fl_fss/c/fss/basic_list.c
level_1/fl_fss/c/fss/embedded_list.c
level_1/fl_fss/c/fss/extended.c
level_1/fl_fss/c/fss/extended_list.c
level_1/fl_fss/c/fss/macro.h
level_1/fl_fss/c/private-fss.c
level_1/fl_fss/c/private-fss.h
level_3/fss_embedded_list_read/c/private-read.c
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-content-name-hi-select-0-empty-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-content-name-hi-select-0-empty.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-content-name-hi-select-0-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-content-name-hi-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-content-name-hi-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-content-name-hi.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-content-name-привет_has_space-select-0-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-content-name-привет_has_space-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-content-name-привет_has_space-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-content-name-привет_has_space.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-columns.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-line-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-line-1-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-line-5-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-line-6-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-a-columns-empty.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-a-columns.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-hi-select-0-empty-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-hi-select-0-empty.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-hi-select-0-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-hi-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-hi-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-hi.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-привет_has_space-select-0-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-привет_has_space-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-name-привет_has_space.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-select-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-line-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-line-1-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-line-5-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-line-6-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-name-hi-select-0-empty-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-name-hi-select-0-empty.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-name-hi-select-0-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-name-hi-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-name-hi-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-name-hi.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-name-привет_has_space-select-0-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-name-привет_has_space-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-name-привет_has_space-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-select-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0000-basic-object_and_content.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-content-name-a-columns.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-columns.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-line-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-line-1-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-line-5-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-line-6-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-name-a-columns-empty.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-name-a-columns.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-name-a-original-empty.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-name-a-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-name-a-select-0-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-name-a-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-name-a-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-name-a.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-select-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-line-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-line-1-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-line-5-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-line-6-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-line-6.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-name-a-columns.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-name-a-original-empty.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-name-a-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-name-a-select-0-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-name-a-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-name-a-total.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-name-a.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-select-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0001-empty_name_list-object_and_content.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-at-6.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-columns.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-line-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-line-1-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-line-5-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-line-6-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-line-6.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-name-a-columns-empty.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-name-a-columns.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-select-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object_and_content-at-6.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object_and_content-line-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object_and_content-line-1-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object_and_content-line-5-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object_and_content-line-5.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object_and_content-line-6-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object_and_content-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object_and_content-select-0-original.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object_and_content-select-0.expect
level_3/fss_embedded_list_read/tests/runtime/fss_0008/expect/test-0002-mixed-object_and_content.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object-name-hi-select-0-empty.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object-name-hi-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object-name-hi.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object-name-привет_has_space.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object-select-0-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object_and_content-name-hi-select-0-empty.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object_and_content-name-hi-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object_and_content-name-hi.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object_and_content-name-привет_has_space-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object_and_content-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object_and_content-select-0-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object_and_content-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0000-basic-object_and_content.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object-name-a-original-empty.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object-name-a-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object-name-a-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object-name-a.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object-select-0-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object_and_content-line-6-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object_and_content-line-6.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object_and_content-name-a-original-empty.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object_and_content-name-a-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object_and_content-name-a-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object_and_content-name-a.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object_and_content-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object_and_content-select-0-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object_and_content-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0001-empty_name_list-object_and_content.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object-at-6.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object-line-6-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object-line-6.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object-select-0-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object_and_content-at-6.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object_and_content-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object_and_content-select-0-original.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object_and_content-select-0.expect
level_3/fss_extended_list_read/tests/runtime/fss_0003/expect/test-0002-mixed-object_and_content.expect