]> Kevux Git Server - fll/log
fll
21 months agoBugfix: Incorrect documentation in fakefile.txt.
Kevin Day [Sun, 29 Jan 2023 04:12:13 +0000 (22:12 -0600)]
Bugfix: Incorrect documentation in fakefile.txt.

21 months agoCleanup: Add missing line.
Kevin Day [Sun, 29 Jan 2023 03:29:57 +0000 (21:29 -0600)]
Cleanup: Add missing line.

21 months agoCleanup: Simplify lines used in incrementing.
Kevin Day [Fri, 27 Jan 2023 05:35:01 +0000 (23:35 -0600)]
Cleanup: Simplify lines used in incrementing.

21 months agoFeature: Provide program parameter for displaying copyright.
Kevin Day [Fri, 27 Jan 2023 05:34:09 +0000 (23:34 -0600)]
Feature: Provide program parameter for displaying copyright.

Provide copyright printing that can be slighty fine tuned using verbosity.

Provide a define (_di_detailed_copyright_) for reducing some of the string printed.

21 months agoRegression: Serial example rule is not working.
Kevin Day [Thu, 26 Jan 2023 04:27:01 +0000 (22:27 -0600)]
Regression: Serial example rule is not working.

Investigation revealed that the commit 002bf17595459e65173be16f983977ead99593b6 introduced a regression where the cached data is being reset incorrectly.
The data is properly processed but when there is more than a single rule the previous rules are being cleared.

21 months agoCleanup: Remove an unused variable.
Kevin Day [Thu, 26 Jan 2023 01:41:47 +0000 (19:41 -0600)]
Cleanup: Remove an unused variable.

21 months agoUpdate: Add additional sanity checks.
Kevin Day [Thu, 26 Jan 2023 01:23:53 +0000 (19:23 -0600)]
Update: Add additional sanity checks.

The GCC -fanalyzer is reporting a problem that as far as I can tell is a false positive.
This program is older code practices and will eventually be rewritten anyway.

Add a few more safety checks.

21 months agoSecurity: NULL pointer dereference in writer due to pipe function result handling.
Kevin Day [Thu, 26 Jan 2023 00:56:36 +0000 (18:56 -0600)]
Security: NULL pointer dereference in writer due to pipe function result handling.

The GCC -fanalyzer parameter helped me discover this one.

The status_pipe is being read and processed.
There is a case where the status_pipe is being set but it is not being reset after handling.
In a later loop the pipe does not get read but the previously set state is used bringing the code into a bad state.
Then the loop doesn't do the block buffer used check and this results in the eventual NULL dereference.

21 months agoUpdate: Add fanalyzer build mode.
Kevin Day [Thu, 26 Jan 2023 00:55:02 +0000 (18:55 -0600)]
Update: Add fanalyzer build mode.

I keep forgetting to run the GCC fanalyzer sanity checks to help catch problems before making a release.
Add a formal mode in all of the build settings to make this processor easier and therefore easier to remember.

Add missing -Wall to some of the files for the test mode.

21 months agoUpdate: Use pre-existing cache rather than using a new variable.
Kevin Day [Wed, 25 Jan 2023 03:12:12 +0000 (21:12 -0600)]
Update: Use pre-existing cache rather than using a new variable.

This potentially reduces reallocations.

21 months agoBugfix: Further Fakefile processing with iki replacement space problems.
Kevin Day [Wed, 25 Jan 2023 02:25:38 +0000 (20:25 -0600)]
Bugfix: Further Fakefile processing with iki replacement space problems.

This is a follow up to commit 3713a5f0bd90d32f564afaca29f01d9ccf329cfb.

The other IKI variables still need the new lines when the context does not.

Detect when certain IKI variables expand into nothing and in these cases do not append.
When performing last line, only append if it is not by itself.

22 months agoCleanup: Reorder logic in FSS Basic Read function.
Kevin Day [Tue, 24 Jan 2023 05:35:53 +0000 (23:35 -0600)]
Cleanup: Reorder logic in FSS Basic Read function.

22 months agoBugfix: Fakefile processing with color context is producing extra spaces when unquoted.
Kevin Day [Tue, 24 Jan 2023 05:32:01 +0000 (23:32 -0600)]
Bugfix: Fakefile processing with color context is producing extra spaces when unquoted.

Do not generate a new argument when calling fake_make_operate_expand_context().
The color context should combine with existing arguments.
This does not handle the last context argument and more work is likely needed to handle that one.

Remove the not quoted check that always generates a new argument.

22 months agoBugfix: FSS Write programs don't correctly handle multi-Content per Object situations.
Kevin Day [Tue, 24 Jan 2023 02:58:12 +0000 (20:58 -0600)]
Bugfix: FSS Write programs don't correctly handle multi-Content per Object situations.

The FSS Extended should support one or more Content per Object.
All others support the same number of Objects as Content (not referring to nested Content).

The error and error message when this is and is not correctly being handled.

The correct detection needs to count based on sub locations rather than locations.

Remove now pointless and misleading checks.

22 months agoCleanup: Simplify logic in fake_validate_parameter_paths().
Kevin Day [Mon, 23 Jan 2023 04:10:01 +0000 (22:10 -0600)]
Cleanup: Simplify logic in fake_validate_parameter_paths().

22 months agoBugfix: Short console arguments should not match when a single invalid exists.
Kevin Day [Mon, 23 Jan 2023 02:58:07 +0000 (20:58 -0600)]
Bugfix: Short console arguments should not match when a single invalid exists.

While convenient, "fake -help" should not print help.
This is because there is no short command starting with the letters "e" or "l".

This behavior of succeeded is confusing and misleading.

Redesign the logic to better handle this.

Improve the unit tests to catch more cases, including this one.

22 months agoCleanup: Use the initializer define for initializing f_console_id_t.
Kevin Day [Sat, 21 Jan 2023 06:14:24 +0000 (00:14 -0600)]
Cleanup: Use the initializer define for initializing f_console_id_t.

22 months agoCleanup: Add missing enumeration end comment.
Kevin Day [Sat, 21 Jan 2023 04:16:52 +0000 (22:16 -0600)]
Cleanup: Add missing enumeration end comment.

22 months agoCleanup: Simplify logic at wrap up in f_console_parameter_process().
Kevin Day [Sat, 21 Jan 2023 04:14:21 +0000 (22:14 -0600)]
Cleanup: Simplify logic at wrap up in f_console_parameter_process().

22 months agoCleanup: Console style and remove extra integer definition.
Kevin Day [Sat, 21 Jan 2023 03:48:16 +0000 (21:48 -0600)]
Cleanup: Console style and remove extra integer definition.

The declaration of the "f_array_length_t i = 0" is not necessary.

22 months agoCleanup: Remove unused global static constant strings.
Kevin Day [Thu, 19 Jan 2023 05:31:35 +0000 (23:31 -0600)]
Cleanup: Remove unused global static constant strings.

22 months agoUpdate: Add locale environment variable support, install, and help support in fakefiles.
Kevin Day [Wed, 18 Jan 2023 03:29:12 +0000 (21:29 -0600)]
Update: Add locale environment variable support, install, and help support in fakefiles.

Pass along the common locale-specific environment variables along when using a fakefile.

Add an "install" operation that is essentially a wrapper to the "install.sh" script.

Add a "help" operation to provide some documentation.

These are provided as a convenience and as a functional proof of concept.

22 months agoBugfix: Incorrect stream used when printing output in verbose directory recursion.
Kevin Day [Tue, 17 Jan 2023 04:24:43 +0000 (22:24 -0600)]
Bugfix: Incorrect stream used when printing output in verbose directory recursion.

I somehow ended up with the input stream being written to.
This is clearly wrong.

How did I not notice this one?

22 months agoUpdate: Add new standard global type, "_g".
Kevin Day [Tue, 17 Jan 2023 03:57:54 +0000 (21:57 -0600)]
Update: Add new standard global type, "_g".

22 months agoBugfix: The stream is locked again rather than unlocked after being locked.
Kevin Day [Tue, 17 Jan 2023 03:30:28 +0000 (21:30 -0600)]
Bugfix: The stream is locked again rather than unlocked after being locked.

22 months agoCleanup: Use 0 instead of F_false in firewall initialization.
Kevin Day [Mon, 16 Jan 2023 21:19:35 +0000 (15:19 -0600)]
Cleanup: Use 0 instead of F_false in firewall initialization.

Mathematically, the F_false and 0 are synonymous.
Semantically, the F_false represents a boolean and 0 represents a digit.

Using F_false here has incorrect semantic meaning.

22 months agoUpdate: Next micro version (0.6.4).
Kevin Day [Sun, 15 Jan 2023 02:02:19 +0000 (20:02 -0600)]
Update: Next micro version (0.6.4).

22 months agoUpdate: The stand alone programs configuration. 0.6.3
Kevin Day [Sat, 14 Jan 2023 23:34:35 +0000 (17:34 -0600)]
Update: The stand alone programs configuration.

Refresh the disable define configuration.
Fix problems in the settings files.
The stand alone fake program now has threading enabled (It was previously broken).

22 months agoUpdate: The disable header files.
Kevin Day [Sat, 14 Jan 2023 23:32:19 +0000 (17:32 -0600)]
Update: The disable header files.

22 months agoBugfix: Several problems with the wrapping define macros, unused private functions...
Kevin Day [Sat, 14 Jan 2023 23:08:32 +0000 (17:08 -0600)]
Bugfix: Several problems with the wrapping define macros, unused private functions, non-existent functions, and fix dependency.

The stand alone builds revealed several problems with the wrapping define macros.
The ones that I noticed or were blocking me from compiling have been fixed.
It will be no surprise if there are still more such problems hiding in the code somewhere.

Remove stale and unused private functions.

There is are no f_file_clone_at() and f_file_copy_at() functions.
Remove references and related wrapping define macros.

The firewall incorrectly has f_account as a dependency.

22 months agoBugfix: The f_int_128_t is using incorrect size.
Kevin Day [Sat, 14 Jan 2023 06:49:09 +0000 (00:49 -0600)]
Bugfix: The f_int_128_t is using incorrect size.

The wrong wrapping define macros are being used.
- Use __SIZEOF_INT128__ instead of _di_f_int_128_t_.
- Use #ifdef instead of #ifndef.

22 months agoBugfix: Fix wrapping define macros for several functions across different projects.
Kevin Day [Sat, 14 Jan 2023 06:36:22 +0000 (00:36 -0600)]
Bugfix: Fix wrapping define macros for several functions across different projects.

22 months agoCleanup: remove trailing 's' from _di_f_print_format_flag_.
Kevin Day [Sat, 14 Jan 2023 05:07:54 +0000 (23:07 -0600)]
Cleanup: remove trailing 's' from _di_f_print_format_flag_.

22 months agoCleanup: Remove extra underscore in _di_f_color_context_t_.
Kevin Day [Sat, 14 Jan 2023 05:00:05 +0000 (23:00 -0600)]
Cleanup: Remove extra underscore in _di_f_color_context_t_.

22 months agoCleanup: Add new lines to dependencies file in level 3 projects.
Kevin Day [Sat, 14 Jan 2023 03:55:33 +0000 (21:55 -0600)]
Cleanup: Add new lines to dependencies file in level 3 projects.

22 months agoUpdate: Add stand alone fss_status_code build.
Kevin Day [Sat, 14 Jan 2023 02:35:37 +0000 (20:35 -0600)]
Update: Add stand alone fss_status_code build.

22 months agoUpdate: Add stand alone status_code build.
Kevin Day [Sat, 14 Jan 2023 02:35:27 +0000 (20:35 -0600)]
Update: Add stand alone status_code build.

22 months agoCleanup: Remove unnecessary dependencies from fss_status_code.
Kevin Day [Sat, 14 Jan 2023 02:33:32 +0000 (20:33 -0600)]
Cleanup: Remove unnecessary dependencies from fss_status_code.

22 months agoBugfox: The type macros in type.h are missing 'f_' or have spurious '_type' in the...
Kevin Day [Sat, 14 Jan 2023 02:31:35 +0000 (20:31 -0600)]
Bugfox: The type macros in type.h are missing 'f_' or have spurious '_type' in the name.

22 months agoBugfix: Incorrect define macros for private functions in f_file.
Kevin Day [Sat, 14 Jan 2023 02:17:38 +0000 (20:17 -0600)]
Bugfix: Incorrect define macros for private functions in f_file.

22 months agoBugfix: Incorrect macro definition _di_pthread_support_ vs _di_thread_support_.
Kevin Day [Fri, 13 Jan 2023 23:56:06 +0000 (17:56 -0600)]
Bugfix: Incorrect macro definition _di_pthread_support_ vs _di_thread_support_.

The _di_pthread_support_ is used in the project but all of the programs have _di_thread_support_.
The project name is f_thread and not f_pthread so favor _di_thread_support_ over _di_pthread_support_.

22 months agoCleanup: Fix license confusion.
Kevin Day [Fri, 13 Jan 2023 04:13:57 +0000 (22:13 -0600)]
Cleanup: Fix license confusion.

The documentation should be under the cc-by-sa-4.0 license.
However, the specification must be under the open-standard-license-1.0 license.

This file is documentation on the time specification.
If the documentation is under another license, the standard it describes must still be followed according to the open-standard-license-1.0 license.
The documentation would have to communicate that the standard it is describing is still under the open-standard-license-1.0 license even if the documentation itself is under a different license.
This creates a confusing and misleading situation.
Clarify the situation by setting the license to open-standard-license-1.0.

Setting the license explicitly to open-standard-license-1.0 should hopefully address any misunderstandings.

22 months agoCleanup: Add missing 'r' in 'other'.
Kevin Day [Sun, 8 Jan 2023 22:35:21 +0000 (16:35 -0600)]
Cleanup: Add missing 'r' in 'other'.

22 months agoCleanup: Parameters in byte_dump man page should be bold.
Kevin Day [Sun, 8 Jan 2023 20:50:17 +0000 (14:50 -0600)]
Cleanup: Parameters in byte_dump man page should be bold.

22 months agoUpdate: Documentation and build settings, adding remaining man pages for programs.
Kevin Day [Sun, 8 Jan 2023 17:33:47 +0000 (11:33 -0600)]
Update: Documentation and build settings, adding remaining man pages for programs.

This includes any updates to the existing program man pages already added.

22 months agoUpdate: Minor fixes regarding structure and output relating to help.
Kevin Day [Sun, 8 Jan 2023 17:30:22 +0000 (11:30 -0600)]
Update: Minor fixes regarding structure and output relating to help.

22 months agoUpdate: Use more proper copyright communication.
Kevin Day [Sun, 8 Jan 2023 17:18:37 +0000 (11:18 -0600)]
Update: Use more proper copyright communication.

The original copyright file was added to the git repository in 2011.
The svn repository has the actual original initial date, 2007.

22 months agoCleanup: Minor IKI formatting improvements.
Kevin Day [Sun, 8 Jan 2023 16:14:59 +0000 (10:14 -0600)]
Cleanup: Minor IKI formatting improvements.

22 months agoCleanup: Apply IKI formatting to controller specifications and documentation.
Kevin Day [Sun, 8 Jan 2023 15:54:02 +0000 (09:54 -0600)]
Cleanup: Apply IKI formatting to controller specifications and documentation.

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

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

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.

23 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.

23 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.