]> Kevux Git Server - fll/log
fll
20 months agoBugfix: Return result lost in Featureless Make for f_string_dynamic_append_nulless...
Kevin Day [Sun, 5 Mar 2023 01:29:45 +0000 (19:29 -0600)]
Bugfix: Return result lost in Featureless Make for f_string_dynamic_append_nulless() call.

There is a second call to f_string_dynamic_append_nulless() without checking the return status.
This effectively hides any potential error.

20 months agoFeature: The IKI standard now supports bracket wrapping.
Kevin Day [Thu, 2 Mar 2023 04:03:23 +0000 (22:03 -0600)]
Feature: The IKI standard now supports bracket wrapping.

I wanted to avoid this and keep IKI as simple as possible.
My recent uses have shown that I must have some sort of word-separator support.

This is the simplest implementation that I can think of at this time.
The brackets do not get escaped, instead the IKI gets escaped.
If there is no closing brracket in the correct spot, then the first bracket is not part of the variable.
The brackets other than the opening at the front and the closing bracket at the end are allowed.

The vocabulary name never includes the open and close bracket.

The following shows the heart of the problem this feature solves:

Consider:
  - helloworld:"earth".

What if "world" is the variable name and hello is not supposed to be space separated?
With this featre, now the following is possible:
  - hello[world]:"earth"

Note that the following are not valid (that is to say these are not IKI variables):
  - hello[world:"earth"
  - heloworld]:"earth"
  - hello[[world]]:"earth"

20 months agoUpdate: Style guide documentation.
Kevin Day [Thu, 2 Mar 2023 04:02:14 +0000 (22:02 -0600)]
Update: Style guide documentation.

20 months agoBugfix: Miscellaneous problems in file functons and Featureless Make related code.
Kevin Day [Wed, 1 Mar 2023 06:05:31 +0000 (00:05 -0600)]
Bugfix: Miscellaneous problems in file functons and Featureless Make related code.

Fix documentation inaccuracies such as "Set to 0 to not use." when 0 is not a "not use" value and is instead a valid value with discrete meaning.
Remove documentation about non-existent parameter "file".
Clarify the wording in some of the documentation.

Add missing return on error check after several memory allocation function calls.

Add missing range parameter checks.

Error checking is being performed on wrong status variable and wrong status variable is being returned.

Perform some general code clean up as encountered.

20 months agoCleanup: Improve wording in some of the print messages.
Kevin Day [Fri, 24 Feb 2023 05:31:49 +0000 (23:31 -0600)]
Cleanup: Improve wording in some of the print messages.

20 months agoCleanup: Make the error messages with fallback warning messages.
Kevin Day [Fri, 24 Feb 2023 02:23:47 +0000 (20:23 -0600)]
Cleanup: Make the error messages with fallback warning messages.

Follow up the previous commit (4d7d66565a555baf9d7df72255c1063bc8858072) with an even better improvement.
Use warning rather than error and then only display on verbose or greater.

20 months agoCleanup: Consistently apply verbosity to error message with fallback.
Kevin Day [Fri, 24 Feb 2023 02:14:39 +0000 (20:14 -0600)]
Cleanup: Consistently apply verbosity to error message with fallback.

The fallback error message is an automatically recovered error.
Only print the error message in verbose mode or greater.
This behavior is followed elsewhere and so this change makes the design more consistent.

20 months agoBugfix: Control group function is partially outdated and uses incorrect integer.
Kevin Day [Wed, 22 Feb 2023 23:57:58 +0000 (17:57 -0600)]
Bugfix: Control group function is partially outdated and uses incorrect integer.

The F_control_group_path_system_default_s_length should not be used here when progressing the path string.
Use control_group.groups.array[i].used instead.

20 months agoBugfix: Incorrect and messy file error messages.
Kevin Day [Wed, 22 Feb 2023 04:45:09 +0000 (22:45 -0600)]
Bugfix: Incorrect and messy file error messages.

The code is unlikely to get to the error cases that print these messages due to other safety checks.
This makes testing this more difficult.
I do not currently have the testing environment for this.

I found the error messages is messed up and incorrect.
Clean up the messages.
This has not been tested due to the above mentioned problems.

21 months agoBugfix: Set error status when link target is an empty string.
Kevin Day [Tue, 21 Feb 2023 04:29:38 +0000 (22:29 -0600)]
Bugfix: Set error status when link target is an empty string.

Also update the printed message.

21 months agoCleanup: Printed messages, use of words.
Kevin Day [Mon, 20 Feb 2023 06:12:30 +0000 (00:12 -0600)]
Cleanup: Printed messages, use of words.

Shoten 'define setting name' into 'define name'.

Use 'File name' rather than 'Filename'.

21 months agoBugfix: Printed error message is not utilize verbosity quite mode.
Kevin Day [Mon, 20 Feb 2023 06:11:26 +0000 (00:11 -0600)]
Bugfix: Printed error message is not utilize verbosity quite mode.

Also add appropriate color context.

21 months agoCleanup: Add color context to change mode operation.
Kevin Day [Sun, 19 Feb 2023 16:40:27 +0000 (10:40 -0600)]
Cleanup: Add color context to change mode operation.

21 months agoBugfix: Print message is missing the percent before the 'Q' causing invalid printing.
Kevin Day [Sun, 19 Feb 2023 16:38:08 +0000 (10:38 -0600)]
Bugfix: Print message is missing the percent before the 'Q' causing invalid printing.

21 months agoBugfix: Argument variable passed is a pointer, print the value not the pointer.
Kevin Day [Sun, 19 Feb 2023 04:20:28 +0000 (22:20 -0600)]
Bugfix: Argument variable passed is a pointer, print the value not the pointer.

21 months agoCleanup: Reword project path changed to message.
Kevin Day [Sun, 19 Feb 2023 04:20:01 +0000 (22:20 -0600)]
Cleanup: Reword project path changed to message.

21 months agoUpdate: Print message rather than an error when termination signal is received.
Kevin Day [Sat, 18 Feb 2023 03:02:31 +0000 (21:02 -0600)]
Update: Print message rather than an error when termination signal is received.

21 months agoUpdate: Allocate extra space for the terminating NULL.
Kevin Day [Sat, 18 Feb 2023 01:14:22 +0000 (19:14 -0600)]
Update: Allocate extra space for the terminating NULL.

21 months agoUpdate: Use f_string_dynamic_append_nulless() instead of f_string_dynamic_append().
Kevin Day [Fri, 17 Feb 2023 06:25:14 +0000 (00:25 -0600)]
Update: Use f_string_dynamic_append_nulless() instead of f_string_dynamic_append().

Switch to the nulless version to favor sanity over performance.

21 months agoCleanup: Enumerations comment and ordering in Featureless Make.
Kevin Day [Thu, 16 Feb 2023 05:59:56 +0000 (23:59 -0600)]
Cleanup: Enumerations comment and ordering in Featureless Make.

21 months agoBugfix: Fix typo in 'original' word.
Kevin Day [Thu, 16 Feb 2023 02:17:51 +0000 (20:17 -0600)]
Bugfix: Fix typo in 'original' word.

21 months agoSecurity: Invalid read or write while expanding operations.
Kevin Day [Wed, 15 Feb 2023 05:05:12 +0000 (23:05 -0600)]
Security: Invalid read or write while expanding operations.

The logic here is non-standard.
The normal logic operates on a pre-allocated basis.
That is, right before accessing the data perform the pre-allocation.

This code operates on the expectation that new variables are only added when conditionally required.
This results in a post-allocation basis where once a variable is known to expand then increment the used variable for the next pass.
The allocation checks need to happen after the increment on used.

There are some cases where this post-allocation is not happening.
This is probably a regression in the very recent bug fixes regarding expanding operations.

Be sure to ensure a clean state after the post-allocation process.

21 months agoBugfix: Multiple single-valued Objects should used last instead of first Object.
Kevin Day [Wed, 15 Feb 2023 04:15:23 +0000 (22:15 -0600)]
Bugfix: Multiple single-valued Objects should used last instead of first Object.

Early on I was uncertain on what the proper behavior should be.

Over time I established that the last Object specified should be used.
This makes sense with most things.
Consider normal math:
  x = 1
  x = 2

Is x equal to 1 or 2?
I strongly believe the most common interpretation would be "2" because the assignment to "2" comes after the assignment to "1" when reading top-down.

Following this logic, the single-valued settings Objects must use the last occurrence rather than the first.

This is being considered a bug.

21 months agoBugfix: Incorrect and confusing warning message in Featureless Make.
Kevin Day [Wed, 15 Feb 2023 03:02:11 +0000 (21:02 -0600)]
Bugfix: Incorrect and confusing warning message in Featureless Make.

The object name is being printed as if it were the fakefile.
The message itself is now re-worded to make more sense.

Use "fakefile" rather than 'file'.

21 months agoFeature: Add Turtle Kevux path support.
Kevin Day [Sun, 12 Feb 2023 16:22:20 +0000 (10:22 -0600)]
Feature: Add Turtle Kevux path support.

This does not break API or ABI because it requires macros to be defined that would break it.
These macros, when in use, should not break API (but does extend it) but may break ABI.
The return value may have additional results and might be considered an API but not ABI breaking change.

There is already Kevux-specific code in FLL.
Temporarily continue that process as a short term solution.
In the long term, separate functions or files may be used (or an entirely separate project).

21 months agoBugfix: The bootstrap script "-d/--define" command does not match the Fake command.
Kevin Day [Sun, 12 Feb 2023 16:02:55 +0000 (10:02 -0600)]
Bugfix: The bootstrap script "-d/--define" command does not match the Fake command.

This is the old way the -d/--define command was designed.
The bootstrap script simply has never been updated.

The command is now "--define" and not "--defines".

Remove the sanity check in the parameter.
This behavior is not as precise and the commands are passed to the program in whatever form they expect.

21 months agoBugfix: The content action cache, comments, and delimits are not being properly cleared.
Kevin Day [Fri, 10 Feb 2023 01:16:06 +0000 (19:16 -0600)]
Bugfix: The content action cache, comments, and delimits are not being properly cleared.

This is a follow up to 241ef476dbba9200cf9422501a3c323136b45dd0.

There are more cases where the cache is not being cleared upon use.
This is resulting in invalid error messages.

21 months agoBugfix: Consistently use the same color context for the entry name.
Kevin Day [Fri, 10 Feb 2023 01:13:01 +0000 (19:13 -0600)]
Bugfix: Consistently use the same color context for the entry name.

21 months agoUpdate: Add stand alone controller build.
Kevin Day [Mon, 6 Feb 2023 03:02:13 +0000 (21:02 -0600)]
Update: Add stand alone controller build.

21 months agoBugfix: Invalid defines, incorrect comments, missing flags, and missing dependencies.
Kevin Day [Mon, 6 Feb 2023 02:51:04 +0000 (20:51 -0600)]
Bugfix: Invalid defines, incorrect comments, missing flags, and missing dependencies.

There is an inconsistency where _di_f_color_string_s_ and _di_f_color_strings_s_ are used.
Settle on _di_f_color_string_s_ because it is defined in the header file.

Incorrect defines, such as _di_f_utf_is_contro_codel_ are removed.

The *.config.h comment example doesn't work.

Consistently add fanalyzer mode and make sure it is available in both settings and fakefile files.

Some of the define macros are missing in regards to private functions.

The controller program is missing f_limit and fl_directory dependencies.

21 months agoUpdate: Program man pages, adding copyright, fixing help, and adding missing period.
Kevin Day [Wed, 1 Feb 2023 06:20:48 +0000 (00:20 -0600)]
Update: Program man pages, adding copyright, fixing help, and adding missing period.

Document the copyright parameter.
The help uses dashes rather than pluses for compatibility with common GNU behavior.

21 months agoUpdate: Controller and Control man page documentation.
Kevin Day [Tue, 31 Jan 2023 03:09:32 +0000 (21:09 -0600)]
Update: Controller and Control man page documentation.

Move the specification details into man (5) pages.
This further allows for more explicit declaration of the license of the specifications.

The following are the commands used to help generated these man pages:
  fss_basic_list_read entry.txt +Q -cn "Entry Specification" | iki_read +Q -w -W code '\fB' '\fR'

  fss_basic_list_read exit.txt +Q -cn "Exit Specification" | iki_read +Q -w -W code '\fB' '\fR'

  fss_basic_list_read packet.txt +Q -cn "Packet Specification" | iki_read +Q -w -W code '\fB' '\fR'

  fss_basic_list_read rule.txt +Q -cn "Rule Specification" | iki_read +Q -w -W code '\fB' '\fR'

  fss_basic_list_read actions.txt +Q -cn "Actions Documentation" | iki_read +Q -w -W code '\fB' '\fR'

  fss_basic_list_read entry.txt +Q -cn "Entry Documentation" | iki_read +Q -r PID PID -w -W code '\fB' '\fR'

  fss_basic_list_read exit.txt +Q -cn "Exit Documentation" | iki_read +Q -r PID PID -w -W code '\fB' '\fR'

  fss_basic_list_read packet.txt +Q -cn "Packet Documentation" | iki_read +Q -w -W code '\fB' '\fR'

  fss_basic_list_read rule.txt +Q -cn "Rule Documentation" | iki_read +Q -r PID PID -w -W code '\fB' '\fR'

21 months agoUpdate: Featureless Make man page documentation.
Kevin Day [Tue, 31 Jan 2023 02:31:32 +0000 (20:31 -0600)]
Update: Featureless Make man page documentation.

Move the specification details into man (5) pages.
This further allows for more explicit declaration of the license of the specifications.

The following are the commands used to help generated these man pages.
  fss_basic_list_read dependencies.txt +Q -cn "Dependencies Specification" | iki_read +Q -w -WWW code '\fB' '\fR' bold '\fB' '\fR' FLL '\fB' '\fR'

  fss_basic_list_read defines.txt +Q -cn "Defines Specification" | iki_read +Q -w -WW code '\fB' '\fR' bold '\fB' '\fR'

  fss_basic_list_read fakefile.txt +Q -cn "Fakefile Specification" | iki_read +Q -w -WW character '\fB' '\fR' code '\fB' '\fR'

  fss_basic_list_read settings.txt +Q -cn "Settings Specification" | iki_read +Q -w -WW character '\fB' '\fR' code '\fB' '\fR'

  fss_basic_list_read fakefile.txt +Q -cn "Fakefile Documentation" | iki_read +Q -w -rrr ASCII ASCII GCC GCC HTML HTML -WW character '\fB' '\fR' code '\fB' '\fR'

  fss_basic_list_read settings.txt +Q -cn "Settings Documentation" | iki_read +Q -w -rr ASCII ASCII FLL FLL -WW character '\fB' '\fR' code '\fB' '\fR'

21 months agoFeature: Enable support for stand_alone packaging with 'all'.
Kevin Day [Mon, 30 Jan 2023 03:54:10 +0000 (21:54 -0600)]
Feature: Enable support for stand_alone packaging with 'all'.

This helps make the stand alone process easier by performing packaging on all stand alone packages.

21 months agoBugfix: The build settings 'path_sources' is incorrectly added.
Kevin Day [Sun, 29 Jan 2023 23:27:21 +0000 (17:27 -0600)]
Bugfix: The build settings 'path_sources' is incorrectly added.

The commit 79858cf386916fd25ccd3578797de53b16f5c446 fixed a problem with the sources path passed to the program.
This revealed a bug where the build setting 'path_sources' is being added twice.
This is probably why the previous bug was not noticed for so long.

Make sure to apply the passed path sources parameter when the build settings does not have 'path_sources'.

21 months agoUpdate: Featureless Make stand alone build now needs f_file_stream_read instead of...
Kevin Day [Sun, 29 Jan 2023 22:46:39 +0000 (16:46 -0600)]
Update: Featureless Make stand alone build now needs f_file_stream_read instead of f_file_read.

21 months agoSecurity: Add extra check range checks in Featureless Make build skeleton.
Kevin Day [Sun, 29 Jan 2023 22:43:14 +0000 (16:43 -0600)]
Security: Add extra check range checks in Featureless Make build skeleton.

The used - 1 could be a problem if used is 0.

21 months agoUpdate: Use f_file_stream_read() instead of f_file_read() after opening as a stream.
Kevin Day [Sun, 29 Jan 2023 22:23:47 +0000 (16:23 -0600)]
Update: Use f_file_stream_read() instead of f_file_read() after opening as a stream.

21 months agoBugfix: The -S/--sources parameter is not being correctly used.
Kevin Day [Sun, 29 Jan 2023 21:44:53 +0000 (15:44 -0600)]
Bugfix: The -S/--sources parameter is not being correctly used.

The parameter is not being properly validated.
The parameter is then not being appended to the appropriate strings.
The default value is being appended to the appropriate strings.

21 months agoCleanup: Fix styling in the Open Standard License file.
Kevin Day [Sun, 29 Jan 2023 20:32:49 +0000 (14:32 -0600)]
Cleanup: Fix styling in the Open Standard License file.

This is a non-functional change.
Only the styling is altered.

21 months agoUpdate: Open Standard License to be 1.0 or later rather than just 1.0.
Kevin Day [Sun, 29 Jan 2023 20:32:10 +0000 (14:32 -0600)]
Update: Open Standard License to be 1.0 or later rather than just 1.0.

21 months agoUpdate: Fakefile specification.
Kevin Day [Sun, 29 Jan 2023 20:25:14 +0000 (14:25 -0600)]
Update: Fakefile specification.

21 months agoCleanup: Remove comments from source file.
Kevin Day [Sun, 29 Jan 2023 04:24:37 +0000 (22:24 -0600)]
Cleanup: Remove comments from source file.

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.

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

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

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

21 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().

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