]> Kevux Git Server - fll/log
fll
22 months agoUpdate: Add man page documentation for fss_status_code.
Kevin Day [Sun, 8 Jan 2023 01:27:02 +0000 (19:27 -0600)]
Update: Add man page documentation for fss_status_code.

22 months agoUpdate: Add man page documentation for status_code.
Kevin Day [Sun, 8 Jan 2023 01:19:07 +0000 (19:19 -0600)]
Update: Add man page documentation for status_code.

22 months agoCleanup: Use correct year and remove extra line.
Kevin Day [Sun, 8 Jan 2023 01:18:13 +0000 (19:18 -0600)]
Cleanup: Use correct year and remove extra line.

22 months agoUpdate: Improve IKI Read help documentation.
Kevin Day [Sun, 8 Jan 2023 01:15:39 +0000 (19:15 -0600)]
Update: Improve IKI Read help documentation.

22 months agoUpdate: Improve IKI Write help documentation.
Kevin Day [Sun, 8 Jan 2023 01:10:17 +0000 (19:10 -0600)]
Update: Improve IKI Write help documentation.

22 months agoUpdate: Add more detailed documentation to fss_status_code and status_code.
Kevin Day [Sun, 8 Jan 2023 00:36:15 +0000 (18:36 -0600)]
Update: Add more detailed documentation to fss_status_code and status_code.

22 months agoBugfix: Incorrectly string length causes inability to match string in fss_status_code.
Kevin Day [Sun, 8 Jan 2023 00:29:04 +0000 (18:29 -0600)]
Bugfix: Incorrectly string length causes inability to match string in fss_status_code.

22 months agoUpdate: Restructure settings now the install.sh is installing them.
Kevin Day [Sat, 7 Jan 2023 17:08:02 +0000 (11:08 -0600)]
Update: Restructure settings now the install.sh is installing them.

These files are moved into a sub-directory.

22 months agoUpdate: Improve logic and design of install.sh script.
Kevin Day [Sat, 7 Jan 2023 15:57:39 +0000 (09:57 -0600)]
Update: Improve logic and design of install.sh script.

The destination directories should be created if they do not already exist.
Fail when the destination exists but is not a directory rather than fail if that directory does not exist.

Fix grammar in 'Failed to create work directories'.

The includes should be created only when work is not an empty string.
The recently added documentation needs to be created as well.
The settings is not created and needs to be created just like with documentation.

Ensure the existence of these directories allows the copy and paste to work correctly.
Ensure the normal directories get created in addition to the work directories.

I originally designed this to not have any opinions for the settings.
I've decided to relax that and apply the default settings of the 'etc/' directory.
This directory is now installed to.
If say the 'etc/' is actually needing to be the 'share/' directory, custom paths can be altered as well.

Make sure the documentation and settings can be disabled or have their destination paths altered.

22 months agoUpdate: Add man pages for utf8 program.
Kevin Day [Sat, 7 Jan 2023 05:22:26 +0000 (23:22 -0600)]
Update: Add man pages for utf8 program.

22 months agoFeature: Add missing documentation handling functionality to Featureless Make.
Kevin Day [Sat, 7 Jan 2023 05:03:34 +0000 (23:03 -0600)]
Feature: Add missing documentation handling functionality to Featureless Make.

This is an oversight and should have been implemented before the first stable release.
This feature should be a core feature.

Documentation is important.
Make sure the handling of documentation is available for use.

This adds "build_sources_documentation" to the build settings to help facilitate documentation installation.
The documentation that is copied is expected to be under 'data/documentation/'.

The 'documentation' and 'documents' terminology overlaps to some degree.
The 'documentation' is a more specific thing and may not always be a 'document'.
The existing behavior around 'documents' is left unchanged.

The skeleton operation now creates the 'data/documentation/' directory.

The bootstrap.sh script now supports enabling and disabling documentation via the more common '--enable-doc' and '--disable-doc' parameters.

22 months agoCleanup: Fake program has incorrectly named variables.
Kevin Day [Sat, 7 Jan 2023 04:53:37 +0000 (22:53 -0600)]
Cleanup: Fake program has incorrectly named variables.

The variables with 'build_sources_settings' should not have an 's' on the end.
The variables with 'build_process_post_s' and 'build_process_pre_s' should not have an '_s' on the end except for when it is a string.

22 months agoUpdate: Add explicit note about copyrights belonging to Kevin Day and the year 2023.
Kevin Day [Sat, 7 Jan 2023 04:39:20 +0000 (22:39 -0600)]
Update: Add explicit note about copyrights belonging to Kevin Day and the year 2023.

22 months agoCleanup: Fix grammar in utf8 program help.
Kevin Day [Sat, 7 Jan 2023 02:10:31 +0000 (20:10 -0600)]
Cleanup: Fix grammar in utf8 program help.

22 months agoBugfix: The mode clang is missing from the UTF8 stand alone build settings.
Kevin Day [Fri, 6 Jan 2023 04:07:32 +0000 (22:07 -0600)]
Bugfix: The mode clang is missing from the UTF8 stand alone build settings.

22 months agoBugfix: Support for passing a fakefile Section incorrectly fails.
Kevin Day [Fri, 6 Jan 2023 03:57:27 +0000 (21:57 -0600)]
Bugfix: Support for passing a fakefile Section incorrectly fails.

The commit 25671e39d0a275b4a14b1db6612ae46d497c38c7 added a loop around the code.
I forget to handle the return status and break out of the loop appropriately.

Move the variable declaration outside of the loop to avoid re-declaring it inside.

An error or a child signal should cause the loop to terminate.

When the string comparison is matched, do not continue processing the inner loop.

22 months agoCleanup: Use correct version in install.sh script.
Kevin Day [Fri, 6 Jan 2023 03:53:01 +0000 (21:53 -0600)]
Cleanup: Use correct version in install.sh script.

I probably got lazy and copied then install.sh script from the 0.7 development branch and then forgot to update the version.

22 months agoFeature: Add support for installing documentation to the install.sh script.
Kevin Day [Fri, 6 Jan 2023 03:52:20 +0000 (21:52 -0600)]
Feature: Add support for installing documentation to the install.sh script.

22 months agoCleanup: Use braces around variable names.
Kevin Day [Fri, 6 Jan 2023 03:40:21 +0000 (21:40 -0600)]
Cleanup: Use braces around variable names.

Do this by practice now to better avoid ZSH and other potential compatibility problems.

22 months agoBugfix: Install script still install static program sources despite being disabled.
Kevin Day [Fri, 6 Jan 2023 03:39:37 +0000 (21:39 -0600)]
Bugfix: Install script still install static program sources despite being disabled.

The if condition nested is only wrapping the print block.
Move the conditional logic to the proper wrapping block.

22 months agoFeature: Support passing a fakefile Section name to the main program.
Kevin Day [Thu, 5 Jan 2023 03:07:56 +0000 (21:07 -0600)]
Feature: Support passing a fakefile Section name to the main program.

This is intuitive and should have already been supported in the project to better transition from GNU Make into Featureless Make.

The unknown parameter error is to no longer be thrown.

Instead, when the make process in being followed, check to see if any Sections exist in the fakefile matching the main program Section parameters.
Fail when this happens.
If the Section exists in the fakefile then that Section is operated on.

This, for example, now allows for doing something like "fake install" in the same way "make install" works.

The "install" Section must exist in the fakefile for this to work.

22 months agoCleanup: Add missing space in fake --help output.
Kevin Day [Thu, 5 Jan 2023 01:59:48 +0000 (19:59 -0600)]
Cleanup: Add missing space in fake --help output.

22 months agoUpdate: De-couple the build settings data file from the install.sh script.
Kevin Day [Thu, 5 Jan 2023 01:57:10 +0000 (19:57 -0600)]
Update: De-couple the build settings data file from the install.sh script.

The design is originally focused around the data/build/settings file.

This file is simple enough and easy enough to use that I decided to use it beyond its intended design.

I noticed that the data/build/settings isn't required anymore.
Removing this allows me to better use in other projects, such as those that have only a fakefile or have a different directory location for the build settings data.

The install.sh script is even simpler now.

22 months agoUpdate: Be more thorough in the f_file unit test.
Kevin Day [Tue, 3 Jan 2023 20:50:49 +0000 (14:50 -0600)]
Update: Be more thorough in the f_file unit test.

The "*_returns_false" test is doing a more complete check but the "*_returns_true" is not.
Redesign the "*_returns_true" test to have the same structure as the "*_returns_false" test.

22 months agoBugfix: The f_signal unit tests after significant change.
Kevin Day [Tue, 3 Jan 2023 20:47:46 +0000 (14:47 -0600)]
Bugfix: The f_signal unit tests after significant change.

The bugfix from commit 4dfc152aad390be408cb9a20578b337b2a13d993 didn't include checking and updating the unit tests.

22 months agoUpdate: Code documentation is missing the function fl_conversion_dynamic_partial_to_u...
Kevin Day [Tue, 27 Dec 2022 15:52:26 +0000 (09:52 -0600)]
Update: Code documentation is missing the function fl_conversion_dynamic_partial_to_unsigned_detect().

22 months agoCleanup: Replace 'decision' with 'choice' for consistency reasons.
Kevin Day [Mon, 26 Dec 2022 14:03:22 +0000 (08:03 -0600)]
Cleanup: Replace 'decision' with 'choice' for consistency reasons.

22 months agoBugfix: The signal is not properly closing.
Kevin Day [Mon, 26 Dec 2022 13:58:48 +0000 (07:58 -0600)]
Bugfix: The signal is not properly closing.

The signal id is a file descriptor.
File descriptors are unset when at -1 rather than 0.

The not zero check is therefore invalid.
Replace that check with a check against negative one.

22 months agoSecurity: Check if 'main' is NULL.
Kevin Day [Sun, 25 Dec 2022 01:34:40 +0000 (19:34 -0600)]
Security: Check if 'main' is NULL.

22 months agoCleanup: Remove stale and no longer valid comment about interrupts and signals.
Kevin Day [Sun, 25 Dec 2022 01:34:29 +0000 (19:34 -0600)]
Cleanup: Remove stale and no longer valid comment about interrupts and signals.

23 months agoUpdate: Fix license in documentation.
Kevin Day [Wed, 21 Dec 2022 19:40:44 +0000 (13:40 -0600)]
Update: Fix license in documentation.

The time.txt specification uses the open-standard-license-1.0.
When I separated the time.txt and formally wrote the specification for the standard, I forgot to set the documentation to a documentation license.
The documentation licese is supposed to be cc-by-sa-4.0.

23 months agoBugfix: Not defaulting to top-level fakefile when data/build/ does not exist.
Kevin Day [Tue, 20 Dec 2022 13:50:50 +0000 (07:50 -0600)]
Bugfix: Not defaulting to top-level fakefile when data/build/ does not exist.

This is happening because the `data/build` directory check is happening independent of the defaulting to the local fakefile step.

Add a check that removes the requirement only when there is no explicit fakefile parameter specified and a fakefile at the top-level exists.

23 months agoUpdate: Clarify wording in specifications.
Kevin Day [Tue, 20 Dec 2022 00:01:51 +0000 (18:01 -0600)]
Update: Clarify wording in specifications.

23 months agoUpdate: FSS Status Code should have a fakefile.
Kevin Day [Mon, 19 Dec 2022 23:40:27 +0000 (17:40 -0600)]
Update: FSS Status Code should have a fakefile.

23 months agoUpdate: Next micro version (0.6.3).
Kevin Day [Mon, 19 Dec 2022 13:31:55 +0000 (07:31 -0600)]
Update: Next micro version (0.6.3).

23 months agoCleanup: Remove improper white space from build fake files. 0.6.2
Kevin Day [Sat, 17 Dec 2022 04:02:30 +0000 (22:02 -0600)]
Cleanup: Remove improper white space from build fake files.

23 months agoFeature: Add support for a prepending a prefix to build directory names.
Kevin Day [Sat, 17 Dec 2022 00:38:43 +0000 (18:38 -0600)]
Feature: Add support for a prepending a prefix to build directory names.

This should make it easier to build packages for releases with the packages named for "monolithic-", "level_0-", "stand_alone-", etc...

23 months agoBugfix: The "-mode" functionality is incomplete and incorrect in the bootstrap.sh...
Kevin Day [Sat, 17 Dec 2022 00:15:47 +0000 (18:15 -0600)]
Bugfix: The "-mode" functionality is incomplete and incorrect in the bootstrap.sh script.

The bootstrap_load_settings_has() method is removed for being incorrect.

Add missing Objects, such as build_indexer, build_indexer_arguments, build_name, search_exclusive, and search_static, to the "has-" detection data array.
Add additional detection data array for the "-mode" variants of the "has-" data array keys.

Stop checking if Content is an empty string when doing an Object existence check.
Just check to see if the Object exist, with or without Content.

Override the parameters when a "-mode" is provided for single-value parameters, even if the Content does not exist.
This should properly fail for when the Object is overridden with a mode that has no Content and is required.

For example, take the following:
  build_compiler gcc
  build_compiler-clang

In that above case clang is a mode that is overriding but has no Content.
The build_compiler is required.
This should fail because clang mode replaces the single-valued build_compiler with no Content.
This is a proper failure.

23 months agoCleanup: Fix comments that have incorrect notes.
Kevin Day [Fri, 16 Dec 2022 23:08:48 +0000 (17:08 -0600)]
Cleanup: Fix comments that have incorrect notes.

23 months agoCleanup: Fix comments that have incorrect notes.
Kevin Day [Fri, 16 Dec 2022 19:00:11 +0000 (13:00 -0600)]
Cleanup: Fix comments that have incorrect notes.

23 months agoUpdate: Documentation and specifications.
Kevin Day [Fri, 16 Dec 2022 02:17:44 +0000 (20:17 -0600)]
Update: Documentation and specifications.

All of the documentation and specifications should now be IKI based.

I have finally decided on how I want abbreviations handled.
This removes the "abbreviation-" and "abbreviation:" from use.
The new behavior has the abbreviation followed by the expansion, such as FLL:"Featureless Linux Library".
have the block IKI structure identical in pattern to the script IKI structure.

Use "italic" instead of "emphasis" for such IKI vocabulary.

23 months agoUpdate: Add formal specification for Time and EpochTime and use IKI in the files.
Kevin Day [Fri, 16 Dec 2022 01:19:20 +0000 (19:19 -0600)]
Update: Add formal specification for Time and EpochTime and use IKI in the files.

23 months agoCleanup: Bring a copy of time.txt from Controller to the core project.
Kevin Day [Fri, 16 Dec 2022 00:33:14 +0000 (18:33 -0600)]
Cleanup: Bring a copy of time.txt from Controller to the core project.

New functionality needs to be added to the package.sh script to conditionally add documentation and specifications to any given package.
Once this is done, then the now redundant time.txt can be removed from the Controller and possibly Control projects.

There also needs to be a formally specification file for time.txt and not just documentation.

23 months agoCleanup: Re-word sentences in time.txt to be less likely to be mis-interpreted.
Kevin Day [Fri, 16 Dec 2022 00:27:40 +0000 (18:27 -0600)]
Cleanup: Re-word sentences in time.txt to be less likely to be mis-interpreted.

23 months agoCleanup: Be more specific about quotes in FSS and add missing unicode value.
Kevin Day [Thu, 15 Dec 2022 03:34:57 +0000 (21:34 -0600)]
Cleanup: Be more specific about quotes in FSS and add missing unicode value.

23 months agoBugfix: The IKI variables that expand reserved words should expand into multiple...
Kevin Day [Thu, 15 Dec 2022 00:14:47 +0000 (18:14 -0600)]
Bugfix: The IKI variables that expand reserved words should expand into multiple parameters.

Reserved words, such as the ones regarding the --mode parameter, have multiple values then these should themselves expand into multiple values.
Wrapping quotes can be added to prevent this behavior.

There may be previous issues that intentionally added this (and then possibly as a bugfix).
The previous behavior of expanding multi-valued reserved words into a single parameter value when not using quotes is now considered a bug.

23 months agoUpdate: Slight changes to design around the build settings arguments.
Kevin Day [Wed, 14 Dec 2022 05:25:46 +0000 (23:25 -0600)]
Update: Slight changes to design around the build settings arguments.

Improve the argument handling when the fakefile contains a build settings with arguments.

This is done in observance of a bug where passed modes are combined into a single parameter when modes are passed via an IKI replacement.
A follow up bugfix that may involve some refactoring or functionality reinterpretation is needed.

This uses an explicit array when needed rather than an inexplicit pointer.

This repeats the parsing when printing the output so that information output is not misleading.

23 months agoUpdate: Improve some of the Featureless Make documentation and specifications.
Kevin Day [Tue, 13 Dec 2022 04:29:50 +0000 (22:29 -0600)]
Update: Improve some of the Featureless Make documentation and specifications.

There will likely be another pass at this.

23 months agoUpdate: Build and other documentation, fixing or adding IKI support.
Kevin Day [Tue, 13 Dec 2022 04:11:45 +0000 (22:11 -0600)]
Update: Build and other documentation, fixing or adding IKI support.

23 months agoUpdate: Add lossy allocation documentation.
Kevin Day [Tue, 13 Dec 2022 04:10:47 +0000 (22:10 -0600)]
Update: Add lossy allocation documentation.

23 months agoBugfix: _GNU_SOURCE should be wrapped in an ifndef.
Kevin Day [Mon, 12 Dec 2022 05:16:24 +0000 (23:16 -0600)]
Bugfix: _GNU_SOURCE should be wrapped in an ifndef.

23 months agoUpdate: Out of date build documentation.
Kevin Day [Mon, 12 Dec 2022 04:17:39 +0000 (22:17 -0600)]
Update: Out of date build documentation.

The "See: ..." files should now end in ".txt".

The directory structure for both the status project and the work directory have changed since this documentation was last modified.

Update documentation regarding running Featureless Make with no arguments.

Remove redundant "Alternatively..." documentation that is already described elsewhere.

23 months agoBugfix: The bootstrap script needs to support settings-specific built files.
Kevin Day [Mon, 12 Dec 2022 03:39:36 +0000 (21:39 -0600)]
Bugfix: The bootstrap script needs to support settings-specific built files.

23 months agoBugfix: The bootsrap script needs to treat -s/--settings as a possible path.
Kevin Day [Mon, 12 Dec 2022 03:27:34 +0000 (21:27 -0600)]
Bugfix: The bootsrap script needs to treat -s/--settings as a possible path.

23 months agoUpdate: Add fakefile for the FLL monolithic and level builds.
Kevin Day [Mon, 12 Dec 2022 03:10:43 +0000 (21:10 -0600)]
Update: Add fakefile for the FLL monolithic and level builds.

23 months agoUpdate: Add not implemented clarifications for 0.6.x versions.
Kevin Day [Mon, 12 Dec 2022 00:50:26 +0000 (18:50 -0600)]
Update: Add not implemented clarifications for 0.6.x versions.

23 months agoFeature: Add 'import' Object to fakefile and settings specifications.
Kevin Day [Mon, 12 Dec 2022 00:40:30 +0000 (18:40 -0600)]
Feature: Add 'import' Object to fakefile and settings specifications.

This is important for building complex project structures and reducing the code redundancy.
To keep the logic and design simple, recursion is not allowed.

One can now create a base settings file that is imported by other settings files.
The same is true for fakefile files.

23 months agoCleanup: Fix styling, spelling, and wording mistakes in the specifications and docume...
Kevin Day [Mon, 12 Dec 2022 00:36:59 +0000 (18:36 -0600)]
Cleanup: Fix styling, spelling, and wording mistakes in the specifications and documentation.

23 months agoBugfix: Imprecise desciption for --partial.
Kevin Day [Sun, 11 Dec 2022 04:27:42 +0000 (22:27 -0600)]
Bugfix: Imprecise desciption for --partial.

The original message  a little confusing and misleading.
When running in --partial mode only the Objects or Contents are printed but not both.

23 months agoBugfix: FSS write functions should use 'quote' when passed rather than f_fss_delimit_...
Kevin Day [Sat, 10 Dec 2022 16:56:50 +0000 (10:56 -0600)]
Bugfix: FSS write functions should use 'quote' when passed rather than f_fss_delimit_quote_single_s.

23 months agoSecurity: Invalid write in FSS functions and ensure a reset used length on error.
Kevin Day [Sat, 10 Dec 2022 16:28:24 +0000 (10:28 -0600)]
Security: Invalid write in FSS functions and ensure a reset used length on error.

The command that triggers this is "fss_basic_write -oc hi there".

An invalid write is happening due to not always performing the array size increase operations.
Update all FSS write functions with more thorough checks.
This problem is being obfuscated by the lossy allocation.

When errors happen the destination->used needs to be consistently reset to the original value on return.

Use the lossy allocation as well for allocation shwere the increase by is a raw digit.
In these specific cases use state.step_small rather than state.step_large.

Rename used_start to destination_used for improved consistency.

23 months agoUpdate: the stand alone fake config.h file.
Kevin Day [Sat, 10 Dec 2022 01:15:18 +0000 (19:15 -0600)]
Update: the stand alone fake config.h file.

23 months agoUpdate: Add more notes to 'disable' about.txt documentation.
Kevin Day [Sat, 10 Dec 2022 01:14:51 +0000 (19:14 -0600)]
Update: Add more notes to 'disable' about.txt documentation.

23 months agoCleanup: Rebuild the config.h file for stand alone byte_dump.
Kevin Day [Fri, 9 Dec 2022 04:57:21 +0000 (22:57 -0600)]
Cleanup: Rebuild the config.h file for stand alone byte_dump.

23 months agoCleanup: Update the build disable process.
Kevin Day [Fri, 9 Dec 2022 04:56:19 +0000 (22:56 -0600)]
Cleanup: Update the build disable process.

Make changes to the documentation and rebuild the files based on recent changes.

23 months agoBugfix: _di_string_ascii_s_ is missing the _f.
Kevin Day [Fri, 9 Dec 2022 04:53:28 +0000 (22:53 -0600)]
Bugfix: _di_string_ascii_s_ is missing the _f.

23 months agoUpdate: Add mising _d in wrapping defines.
Kevin Day [Fri, 9 Dec 2022 04:47:03 +0000 (22:47 -0600)]
Update: Add mising _d in wrapping defines.

23 months agoUpdate: The define _di_f_array_t_ should be _di_f_array_length_t_.
Kevin Day [Fri, 9 Dec 2022 04:37:54 +0000 (22:37 -0600)]
Update: The define _di_f_array_t_ should be _di_f_array_length_t_.

23 months agoUpdate: The status code wrapping global constant string wrapping defines should end...
Kevin Day [Fri, 9 Dec 2022 04:20:01 +0000 (22:20 -0600)]
Update: The status code wrapping global constant string wrapping defines should end in _s.

23 months agoUpdate: The _di_compiler_attributes_ should e _di_compiler_attributes_d_.
Kevin Day [Fri, 9 Dec 2022 04:11:45 +0000 (22:11 -0600)]
Update: The _di_compiler_attributes_ should e _di_compiler_attributes_d_.

23 months agoBugfix: Some of the level checking defines have an "s" that should not be there.
Kevin Day [Fri, 9 Dec 2022 03:51:03 +0000 (21:51 -0600)]
Bugfix: Some of the level checking defines have an "s" that should not be there.

Fix incorrect _di_level_0_parameters_checking_, replacing it with _di_level_0_parameter_checking_.
Fix incorrect _di_level_2_parameters_checking_, replacing it with _di_level_2_parameter_checking_.

23 months agoUpdate: The status code wrapping defines should end in _e.
Kevin Day [Fri, 9 Dec 2022 03:38:09 +0000 (21:38 -0600)]
Update: The status code wrapping defines should end in _e.

23 months agoBugfix: The f_environment_max_length should be f_environment_max_length_d.
Kevin Day [Fri, 9 Dec 2022 02:44:08 +0000 (20:44 -0600)]
Bugfix: The f_environment_max_length should be f_environment_max_length_d.

This is a mistake and should have been f_environment_max_length_d the entire time.

23 months agoUpdate: Style guide documentation.
Kevin Day [Thu, 8 Dec 2022 06:05:17 +0000 (00:05 -0600)]
Update: Style guide documentation.

I discovered the style guide is a bit out of date.
As I started cleaning it up I noticed that there is a lot more work needed.

This is a quick pass and more reviewing and fixes should follow.

23 months agoUpdate: Add stand alone firewall build.
Kevin Day [Thu, 8 Dec 2022 03:15:09 +0000 (21:15 -0600)]
Update: Add stand alone firewall build.

23 months agoBugfix: Add missing dependencies and remove incorrect library from firewall program.
Kevin Day [Thu, 8 Dec 2022 03:14:39 +0000 (21:14 -0600)]
Bugfix: Add missing dependencies and remove incorrect library from firewall program.

23 months agoUpdate: Remove unused "test" mode and add "clang" mode to stand alone builds.
Kevin Day [Thu, 8 Dec 2022 03:13:34 +0000 (21:13 -0600)]
Update: Remove unused "test" mode and add "clang" mode to stand alone builds.

23 months agoUpdate: The disable defines files need to be updated when defines change.
Kevin Day [Thu, 8 Dec 2022 00:38:21 +0000 (18:38 -0600)]
Update: The disable defines files need to be updated when defines change.

23 months agoUpdate: The fake stand alone build defines.
Kevin Day [Thu, 8 Dec 2022 00:35:49 +0000 (18:35 -0600)]
Update: The fake stand alone build defines.

Redesign to match the more recent stand alone config.h structure.

23 months agoCleanup: Add updated type and add commented out status codes.
Kevin Day [Thu, 8 Dec 2022 00:34:44 +0000 (18:34 -0600)]
Cleanup: Add updated type and add commented out status codes.

The status codes should always be present for consistency between programs despite these being stand alone.

23 months agoUpdate: The ifndef wrappers should end in _t_ to represent it wrapping a type.
Kevin Day [Thu, 8 Dec 2022 00:33:45 +0000 (18:33 -0600)]
Update: The ifndef wrappers should end in _t_ to represent it wrapping a type.

23 months agoCleanup: Remove random '_f' in ifndef define.
Kevin Day [Wed, 7 Dec 2022 05:59:30 +0000 (23:59 -0600)]
Cleanup: Remove random '_f' in ifndef define.

23 months agoCleanup: Update the stand alone utf8 to match how the byte_dump stand alone is designed.
Kevin Day [Wed, 7 Dec 2022 05:54:18 +0000 (23:54 -0600)]
Cleanup: Update the stand alone utf8 to match how the byte_dump stand alone is designed.

23 months agoBugfix: The private is_zero_width function is also needed by the is_graph functions.
Kevin Day [Wed, 7 Dec 2022 05:53:37 +0000 (23:53 -0600)]
Bugfix: The private is_zero_width function is also needed by the is_graph functions.

23 months agoCleanup: Remove random '_f' added to ifndef define.
Kevin Day [Wed, 7 Dec 2022 05:52:59 +0000 (23:52 -0600)]
Cleanup: Remove random '_f' added to ifndef define.

23 months agoUpdate: Wrap the conversion digits defines in _di_f_conversion_digits_d_.
Kevin Day [Wed, 7 Dec 2022 05:01:23 +0000 (23:01 -0600)]
Update: Wrap the conversion digits defines in _di_f_conversion_digits_d_.

Also remove the extra _di_f_type_number_64_t_ from the build disable defines.

23 months agoBugfix: Add missing ifdefs for f_file_stat() and f_file_stat_at().
Kevin Day [Wed, 7 Dec 2022 04:40:11 +0000 (22:40 -0600)]
Bugfix: Add missing ifdefs for f_file_stat() and f_file_stat_at().

23 months agoUpdate: Add pre-built define files for stand alone use.
Kevin Day [Wed, 7 Dec 2022 04:09:40 +0000 (22:09 -0600)]
Update: Add pre-built define files for stand alone use.

Use these per-project files for adding a complete list of functions, structures, and macros with each ifdef define block disabled.

23 months agoCleanup: The static inline functions are being included when the function they call...
Kevin Day [Wed, 7 Dec 2022 04:06:50 +0000 (22:06 -0600)]
Cleanup: The static inline functions are being included when the function they call is not.

Wrap the static inline functions with the appropriate wrapping defines.

23 months agoCleanup: Update stand alone config.h files and add an additional comment.
Kevin Day [Wed, 7 Dec 2022 03:25:27 +0000 (21:25 -0600)]
Cleanup: Update stand alone config.h files and add an additional comment.

23 months agoBugfix: The type_array is probably a dependency for most of these.
Kevin Day [Wed, 7 Dec 2022 03:24:07 +0000 (21:24 -0600)]
Bugfix: The type_array is probably a dependency for most of these.

Almost everything is using an array from f_type_array.
Add this dependency to all programs rather than investigating every case.

23 months agoCleanup: The utf8 stand alone program does not need the libcap.so.
Kevin Day [Wed, 7 Dec 2022 03:23:09 +0000 (21:23 -0600)]
Cleanup: The utf8 stand alone program does not need the libcap.so.

23 months agoBugfix: Incorrect ifndef defines for some functions and structures.
Kevin Day [Wed, 7 Dec 2022 03:20:29 +0000 (21:20 -0600)]
Bugfix: Incorrect ifndef defines for some functions and structures.

The _di_string_ascii_s_ is incorrect and should instead be _di_f_string_ascii_s_.

These have been exposed while building the stand alone which is very sensitive to the defines.

23 months agoCleanup: Rename quoted to quote.
Kevin Day [Tue, 6 Dec 2022 04:44:11 +0000 (22:44 -0600)]
Cleanup: Rename quoted to quote.

There are several cases where "quoted" is still used.
This is likely the result of a long lost incomplete refactor.

23 months agoCleanup: Use file parameter is not in alphabetic ordering.
Kevin Day [Tue, 6 Dec 2022 04:15:02 +0000 (22:15 -0600)]
Cleanup: Use file parameter is not in alphabetic ordering.

23 months agoUpdate: FSS and IKI specification now supports backticks for quoting similar to singl...
Kevin Day [Tue, 6 Dec 2022 01:11:09 +0000 (19:11 -0600)]
Update: FSS and IKI specification now supports backticks for quoting similar to single and double quotes.

The 0.6 version is not having this support added to prevent API breakage.
This should be supported in 0.7 and greater.

23 months agoBugfix: Invalid print of character when a placeholder should be printed in byte_dump.
Kevin Day [Tue, 6 Dec 2022 00:33:44 +0000 (18:33 -0600)]
Bugfix: Invalid print of character when a placeholder should be printed in byte_dump.

The following is happening:
  # clear ; echo -n "xa" | byte_dump -wt 2 && echo -n "∩" | byte_dump -wt 2 && echo -n "∩xa" | byte_dump -wt 2

  Piped Byte Dump: (in Hexidecimal)
  0000000000000000  78 61  | x a  |

  Piped Byte Dump: (in Hexidecimal)
  0000000000000000  e2 88  | ∩    |
  0000000000000001  a9     | ∩    |

  Piped Byte Dump: (in Hexidecimal)
  0000000000000000  e2 88  | ∩    |
  0000000000000001  a9 78  |   x  |
  0000000000000002  61     | a    |

In the second case the line 0000000000000001 should not print the string '| ∩    |'.
This is happening because the character is not being properly reset in the situation where the overflow happens at the end of input.

With this change the results should now be:
  # clear ; echo -n "xa" | byte_dump -wt 2 && echo -n "∩" | byte_dump -wt 2 && echo -n "∩xa" | byte_dump -wt 2

  Piped Byte Dump: (in Hexidecimal)
  0000000000000000  78 61  | x a  |

  Piped Byte Dump: (in Hexidecimal)
  0000000000000000  e2 88  | ∩    |
  0000000000000001  a9     |      |

  Piped Byte Dump: (in Hexidecimal)
  0000000000000000  e2 88  | ∩    |
  0000000000000001  a9 78  |   x  |
  0000000000000002  61     | a    |

Perform a trivial cleanup/optimization where inverse of bytes is being checked for.
This is pointless when there is an else block.
Reverse the order and remove the "not" operator.

23 months agoCleanup: Minor improvement to comments and specifications.
Kevin Day [Mon, 5 Dec 2022 01:08:46 +0000 (19:08 -0600)]
Cleanup: Minor improvement to comments and specifications.

23 months agoBugfix: The fss_payload_write should not allow "payload" to be something other than...
Kevin Day [Fri, 2 Dec 2022 04:32:41 +0000 (22:32 -0600)]
Bugfix: The fss_payload_write should not allow "payload" to be something other than last when specified.

23 months agoUpdate: Fix and improve FSS unit test regarding zero-width.
Kevin Day [Fri, 25 Nov 2022 01:11:29 +0000 (19:11 -0600)]
Update: Fix and improve FSS unit test regarding zero-width.

Recent changes to the Unicode functions regarding zero-width improved or changed how what is designated as a zero-width character.
The test is failing due to this change.

Update the test to treat the tested character as zero-width.
Add an additional test condition to test the stop range.