]> Kevux Git Server - fll/commit
Update: more FLL cleanup and consistency.
authorKevin Day <thekevinday@gmail.com>
Thu, 14 Jan 2021 04:14:45 +0000 (22:14 -0600)
committerKevin Day <thekevinday@gmail.com>
Thu, 14 Jan 2021 04:14:45 +0000 (22:14 -0600)
commit9fabec0577b83e6f54aeee03f808c54f25d392c9
treeb4971c4e4e0436aa3a72936cb3dd50b4b6e93310
parent70291b2d37e5f9a69645778dfdea637d0d0cbe70
Update: more FLL cleanup and consistency.

Finish the previous cleanup and consistency changes.
There is likely more to do, but I believe this is enough for now, at least in regards to this set of changes.
Much of the code is refreshed in terms the memory structure.

I don't like doing this but after some consideration, I have decided to break out the array types from f_type into a new project, f_type_array.
This is an exception cases of the exception cases (unfortunately).
This acts as an extension to f_type, except that it depends on f_memory.
This will provide common functions for array types.
Parts of this remain defined in f_type because f_memory also depends on these arrays.
By handling code this way I can avoid circular dependencies in both f_type and f_memory.

One major change is now that I am implementing more functions in place of the memory-related macros (to save space, overall), I find it easier and simpler to only use resize and adjust in place of delete and destroy.
This significantly reduces the amount of code needed in regards to trying to achieve completeness.
I was also considering removing f_memory_delete() and f_memory_destroy(), but decided to roll that back.
The f_memory_delete() and f_memory_destroy() are low level and should still exist for completeness even if I am re-using adjust and resize for many of the other parts.
For example, there are cases where I may need to call free() on types not defined by this project, these functions will be helpful.
Furthermore, to help hackers implement their own variations of things, providing these may be a boon.

This is such a massive change that I am concerned of regressions.
I have done some quick compile and run tests using the programs so I believe that this is reasonably done without regressions.

I plan on doing a refresh the UTF-8 string processing code (which will be a complete refresh to be just like the recent f_string changes).
There may be other changes needed to prep the state of the code before I do this.
177 files changed:
build/documents/readme.txt
build/level_0/settings
build/level_1/settings
build/monolithic/settings
build/scripts/bootstrap-example.sh
level_0/f_account/c/account-common.h
level_0/f_capability/c/capability.h
level_0/f_capability/data/build/dependencies
level_0/f_capability/data/build/settings
level_0/f_color/c/color-common.h
level_0/f_console/c/console.c
level_0/f_console/c/console.h
level_0/f_console/data/build/dependencies
level_0/f_console/data/build/settings
level_0/f_control_group/c/control_group-common.h
level_0/f_directory/c/directory.c
level_0/f_directory/c/directory_type.h
level_0/f_fss/c/fss-common.h
level_0/f_fss/c/fss.h
level_0/f_fss/c/fss_comment.h
level_0/f_fss/c/fss_delimit.h
level_0/f_fss/c/fss_named.c
level_0/f_fss/c/fss_named.h
level_0/f_fss/c/fss_nest.c
level_0/f_fss/c/fss_nest.h
level_0/f_fss/c/fss_quote.h
level_0/f_fss/c/fss_set.c
level_0/f_fss/c/fss_set.h
level_0/f_fss/c/private-fss.c
level_0/f_fss/c/private-fss.h
level_0/f_fss/data/build/dependencies
level_0/f_fss/data/build/settings
level_0/f_iki/c/iki-common.h
level_0/f_iki/c/iki.c
level_0/f_limit/c/limit-common.h
level_0/f_memory/c/memory-common.h
level_0/f_memory/c/memory.c
level_0/f_memory/c/memory.h
level_0/f_memory/c/memory_structure.c
level_0/f_memory/c/memory_structure.h
level_0/f_memory/c/private-memory.c
level_0/f_memory/c/private-memory.h
level_0/f_path/c/path.c
level_0/f_serialize/c/serialize.c
level_0/f_status/c/status_array.h
level_0/f_string/c/private-string.c
level_0/f_string/c/private-string.h
level_0/f_string/c/string-common.h
level_0/f_string/c/string_dynamic.c
level_0/f_string/c/string_dynamic.h
level_0/f_string/c/string_map.c
level_0/f_string/c/string_map.h
level_0/f_string/c/string_quantity.c
level_0/f_string/c/string_quantity.h
level_0/f_string/c/string_range.c
level_0/f_string/c/string_range.h
level_0/f_string/c/string_triple.c
level_0/f_string/c/string_triple.h
level_0/f_thread/c/thread-common.h
level_0/f_type/c/type.h
level_0/f_type/c/type_array.h [deleted file]
level_0/f_type/data/build/settings
level_0/f_type_array/c/private-type_array.c [new file with mode: 0644]
level_0/f_type_array/c/private-type_array.h [new file with mode: 0644]
level_0/f_type_array/c/type_array-common.h [new file with mode: 0644]
level_0/f_type_array/c/type_array.c [new file with mode: 0644]
level_0/f_type_array/c/type_array.h [new file with mode: 0644]
level_0/f_type_array/data/build/defines [moved from level_1/fl_type/data/build/defines with 100% similarity]
level_0/f_type_array/data/build/dependencies [moved from level_1/fl_type/data/build/dependencies with 100% similarity]
level_0/f_type_array/data/build/settings [moved from level_1/fl_type/data/build/settings with 82% similarity]
level_0/f_utf/c/utf-common.h
level_0/f_utf/c/utf.c
level_1/fl_console/c/console.c
level_1/fl_console/data/build/settings
level_1/fl_control_group/c/control_group.c
level_1/fl_control_group/c/control_group.h
level_1/fl_directory/c/private-directory.c
level_1/fl_environment/c/environment.c
level_1/fl_execute/c/execute.h
level_1/fl_execute/data/build/dependencies
level_1/fl_execute/data/build/settings
level_1/fl_fss/c/fss_basic.c
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_list.c
level_1/fl_fss/data/build/settings
level_1/fl_type/c/private-type.c [deleted file]
level_1/fl_type/c/private-type.h [deleted file]
level_1/fl_type/c/type.c [deleted file]
level_1/fl_type/c/type.h [deleted file]
level_1/fl_utf/c/private-utf.c
level_1/fl_utf/c/utf.c
level_1/fl_utf_file/c/utf_file.c
level_2/fll_error/data/build/settings
level_2/fll_execute/c/execute.c
level_2/fll_execute/c/private-execute.c
level_2/fll_execute/data/build/settings
level_2/fll_fss/c/fss.c
level_2/fll_fss/c/fss_basic.c
level_2/fll_fss/c/fss_basic_list.c
level_2/fll_fss/c/fss_extended.c
level_2/fll_fss/c/fss_extended_list.c
level_2/fll_fss/data/build/settings
level_2/fll_program/c/program.c
level_2/fll_program/data/build/settings
level_3/byte_dump/data/build/settings
level_3/control/data/build/settings
level_3/controller/c/private-common.h
level_3/controller/c/private-controller.c
level_3/controller/c/private-controller.h
level_3/controller/c/private-entry.c
level_3/controller/c/private-rule.c
level_3/controller/data/build/dependencies
level_3/controller/data/build/settings
level_3/fake/c/fake.c
level_3/fake/c/fake.h
level_3/fake/c/private-build.c
level_3/fake/c/private-build.h
level_3/fake/c/private-fake.c
level_3/fake/c/private-make.c
level_3/fake/c/private-make.h
level_3/fake/c/private-skeleton.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/c/private-firewall.h
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/private-fss_basic_list_read.c
level_3/fss_basic_list_read/c/private-fss_basic_list_read.h
level_3/fss_basic_list_read/data/build/settings
level_3/fss_basic_list_write/c/fss_basic_list_write.c
level_3/fss_basic_list_write/c/private-fss_basic_list_write.c
level_3/fss_basic_list_write/data/build/settings
level_3/fss_basic_read/c/fss_basic_read.c
level_3/fss_basic_read/c/private-fss_basic_read.c
level_3/fss_basic_read/c/private-fss_basic_read.h
level_3/fss_basic_read/data/build/settings
level_3/fss_basic_write/c/fss_basic_write.c
level_3/fss_basic_write/c/private-fss_basic_write.c
level_3/fss_basic_write/data/build/settings
level_3/fss_embedded_list_read/c/fss_embedded_list_read.c
level_3/fss_embedded_list_read/c/private-fss_embedded_list_read.c
level_3/fss_embedded_list_read/c/private-fss_embedded_list_read.h
level_3/fss_embedded_list_read/data/build/settings
level_3/fss_embedded_list_write/c/fss_embedded_list_write.c
level_3/fss_embedded_list_write/c/private-fss_embedded_list_write.c
level_3/fss_embedded_list_write/data/build/settings
level_3/fss_extended_list_read/c/fss_extended_list_read.c
level_3/fss_extended_list_read/c/private-fss_extended_list_read.c
level_3/fss_extended_list_read/c/private-fss_extended_list_read.h
level_3/fss_extended_list_read/data/build/settings
level_3/fss_extended_list_write/c/fss_extended_list_write.c
level_3/fss_extended_list_write/c/private-fss_extended_list_write.c
level_3/fss_extended_list_write/data/build/settings
level_3/fss_extended_read/c/fss_extended_read.c
level_3/fss_extended_read/c/private-fss_extended_read.c
level_3/fss_extended_read/c/private-fss_extended_read.h
level_3/fss_extended_read/data/build/settings
level_3/fss_extended_write/c/fss_extended_write.c
level_3/fss_extended_write/c/private-fss_extended_write.c
level_3/fss_extended_write/data/build/settings
level_3/fss_status_code/data/build/settings
level_3/iki_read/c/iki_read.c
level_3/iki_read/c/iki_read.h
level_3/iki_read/c/private-iki_read.c
level_3/iki_read/data/build/settings
level_3/iki_write/c/iki_write.c
level_3/iki_write/c/private-iki_write.c
level_3/iki_write/data/build/settings
level_3/init/c/init.c
level_3/init/c/private-init.c
level_3/init/data/build/settings
level_3/status_code/data/build/settings