]> Kevux Git Server - controller/commitdiff
Update: The global static sentence end strings based on related changes in the FLL...
authorKevin Day <Kevin@kevux.org>
Sun, 28 Jul 2024 22:20:47 +0000 (17:20 -0500)
committerKevin Day <Kevin@kevux.org>
Mon, 29 Jul 2024 00:26:10 +0000 (19:26 -0500)
19 files changed:
data/build/stand_alone/config.h
sources/c/program/controller/main/print/debug/perform/control.c
sources/c/program/controller/main/print/debug/perform/pid.c
sources/c/program/controller/main/print/debug/rule/execute.c
sources/c/program/controller/main/print/error.c
sources/c/program/controller/main/print/error/entry/action.c
sources/c/program/controller/main/print/error/entry/item.c
sources/c/program/controller/main/print/error/lock.c
sources/c/program/controller/main/print/error/rule/action.c
sources/c/program/controller/main/print/error/rule/item.c
sources/c/program/controller/main/print/error/rule/setting.c
sources/c/program/controller/main/print/message/entry/action.c
sources/c/program/controller/main/print/message/entry/item.c
sources/c/program/controller/main/print/warning/entry/action.c
sources/c/program/controller/main/print/warning/entry/item.c
sources/c/program/controller/main/print/warning/entry/setting.c
sources/c/program/controller/main/print/warning/rule/action.c
sources/c/program/controller/main/print/warning/rule/item.c
sources/c/program/controller/main/print/warning/rule/setting.c

index f77eb57a7f9825d74574e1b20a695e2cae26da11..073085393c4aa3f7b7c67c6d1f2f8093575cb592 100644 (file)
 //#define _di_f_string_format_s_
 #define _di_f_string_format_s_double_s_
 #define _di_f_string_format_S_double_s_
-//#define _di_f_string_format_sentence_end_quote_s_
-//#define _di_f_string_format_sentence_end_s_
+#define _di_f_string_format_sentence_end_quote_s_
+#define _di_f_string_format_sentence_end_s_
+#define _di_f_string_format_sentence_end_double_quote_s_
+#define _di_f_string_format_sentence_end_double_s_
+//#define _di_f_string_format_sentence_end_single_single_quote_s_
+//#define _di_f_string_format_sentence_end_single_s_
 #define _di_f_string_format_s_s_
 #define _di_f_string_format_S_s_
 #define _di_f_string_format_ss_double_s_
index 8c0b9fd974a305db45e84d07864f17af2d17e678..15901b34d69a4e0a27042e8683add41d7d421e53 100644 (file)
@@ -18,7 +18,7 @@ extern "C" {
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, main->process.path_control, print->notable);
     fl_print_format("%[' %S, code %]", print->to, print->context, message, print->context);
     fl_print_format(f_string_format_ui_single_s.string, print->to, print->notable, status, print->notable);
-    fl_print_format(f_string_format_sentence_end_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, &main->thread);
   }
index 70ddf47c2978fb68cae756baa7a65e8b9bbd3917..77769ea72bf08a37316de59ce1b3a7c54a0de26b 100644 (file)
@@ -20,7 +20,7 @@ extern "C" {
     if (main->process.path_control.used) {
       fl_print_format("%rControl socket '", print->to, f_string_eol_s);
       fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, main->process.path_control, print->notable);
-      fl_print_format("'.%r", print->to, f_string_eol_s);
+      fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, f_string_eol_s);
     }
 
     controller_unlock_print_flush(print->to, &main->thread);
index 0489f212447c6c9d6acee527f72abf8ac72613ff..0a74c1412039e9ae9bbfd76003d6f14c4715c561 100644 (file)
@@ -24,7 +24,7 @@ extern "C" {
       fl_print_format(" for %[%ul%]", print->to, print->set->notable, rerun->count, print->set->notable);
       fl_print_format(" of %[%r%] ", print->to, print->set->notable, controller_max_s, print->set->notable);
       fl_print_format(f_string_format_un_single_s.string, print->to, print->set->notable, rerun->max, print->set->notable);
-      fl_print_format(".%r", print->to, f_string_eol_s);
+      fl_print_format(f_string_format_sentence_end_s.string, print->to, f_string_eol_s);
     }
     else {
       fl_print_format(" with no %[%r%].%r", print->to, print->set->notable, controller_max_s, print->set->notable, f_string_eol_s);
index d5d4eef543d0956622b495a52c1f6d21f2a2b658..588d6e876785bfb8d884f9f2ba7d7312fc3ca222 100644 (file)
@@ -32,7 +32,7 @@ extern "C" {
 
     fl_print_format("%r%[%QFailed while processing requested failsafe item '%]", print->to, f_string_eol_s, print->context, print->prefix, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->set->notable, name, print->set->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, thread);
 
index e6f65ac949211a24a24cd2364cbaa5d4d8363fae..0e8ff55fee7ddc60c236d46334608c7cafef2d39 100644 (file)
@@ -16,7 +16,7 @@ extern "C" {
 
     fl_print_format("%r%[%QExecution failed with return value of '%]", print->to, f_string_eol_s, print->context, print->prefix, print->context);
     fl_print_format(f_string_format_i_single_s.string, print->to, print->notable, code, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_entry_cache(print, action, is_entry);
 
@@ -38,7 +38,7 @@ extern "C" {
 
     fl_print_format("%r%[%QExecution failed, unable to find program or script '%]", print->to, f_string_eol_s, print->context, print->prefix, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_entry_cache(print, action, is_entry);
 
@@ -69,7 +69,7 @@ extern "C" {
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, allow, print->notable);
     fl_print_format("%[' but instead has '%]", print->to, print->context, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, has, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_entry_cache(print, action, is_entry);
 
@@ -103,7 +103,7 @@ extern "C" {
     fl_print_format(f_string_format_r_single_s.string, print->to, print->notable, allow_3, print->notable);
     fl_print_format("%[' but instead has '%]", print->to, print->context, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, has, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_entry_cache(print, action, is_entry);
 
@@ -147,7 +147,7 @@ extern "C" {
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, has, print->notable);
     fl_print_format("%[' must be a base path name, such as '%]", print->to, print->context, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, example, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_entry_cache(print, action, is_entry);
 
@@ -234,7 +234,7 @@ extern "C" {
 
     fl_print_format("%r%[%QThe %r Item Action may not specify the reserved item '%]", print->to, f_string_eol_s, print->context, print->prefix, is_entry ? controller_entry_s : controller_exit_s, print->context);
     fl_print_format(f_string_format_r_single_s.string, print->to, print->notable, item, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_entry_cache(print, action, is_entry);
 
index ac9b6a53e4b2140a8aed2aa8b9b3d68ee43804d5..915f30479e027dc95d2d8f4ba5448c3c057fa749 100644 (file)
@@ -63,7 +63,7 @@ extern "C" {
     fl_print_format("%[' does not support the option '%]", print->to, print->context, print->context, f_string_eol_s);
 
     fl_print_format(f_string_format_Q_range_single_s.string, print->to, print->notable, buffer, range, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_entry_cache(print, &cache->action, is_entry);
 
index 3face961650c02e6e519b714fb2217032bcd7926..80c4587b7d419fdd238144e4529852631b45ca33 100644 (file)
@@ -35,7 +35,7 @@ extern "C" {
       }
     }
 
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, &main->thread);
 
index ae59fb7e6334b7ca5b0dab924a80cc72f1722f6e..0e38d70921244ab7ef2e1660adbb2a8900708ac4 100644 (file)
@@ -28,7 +28,7 @@ extern "C" {
     fl_print_format("%[%r%]%[', '%]", print->to, print->notable, controller_start_s, print->notable, print->context, print->context);
     fl_print_format("%[%r%]%[', or '%]", print->to, print->notable, controller_stop_s, print->notable, print->context, print->context);
     fl_print_format(f_string_format_r_single_s.string, print->to, print->notable, controller_thaw_s, print->notable, print->context);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_rule_cache(print, action, F_true);
 
@@ -50,7 +50,7 @@ extern "C" {
 
     fl_print_format("%r%[%QFSS Extended List (FSS-0003) is not allowed for the Rule Item Action '%]", print->to, f_string_eol_s, print->context, print->prefix, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_rule_cache(print, action, F_true);
 
@@ -140,7 +140,7 @@ extern "C" {
     fl_print_format("%[' as the second value, only the following are allowed: '%]", print->to, print->context, print->context);
     fl_print_format("%[%r%]%[' or '%]", print->to, print->notable, controller_stop_s, print->notable, print->context, print->context);
     fl_print_format(f_string_format_r_single_s.string, print->to, print->notable, controller_thaw_s, print->notable, print->context);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_rule_cache(print, action, F_true);
 
@@ -186,7 +186,7 @@ extern "C" {
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
     fl_print_format("%[' has an unknown value '%]", print->to, print->context, print->context);
     fl_print_format(f_string_format_Q_range_single_s.string, print->to, print->notable, buffer, range, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_rule_cache(print, action, F_true);
 
index ccfba0103bb948b8cfed1b07a9425215bbd1e247..acb5a8fe2e4b82cd48391fe22de3b0c528b84d14 100644 (file)
@@ -263,7 +263,7 @@ extern "C" {
       else {
         fl_print_format("%[' failed with the execute error code %]", print->to, print->context, print->context);
         fl_print_format("%[%i%]", print->to, print->notable, code, print->notable);
-        fl_print_format(f_string_format_sentence_end_s.string, print->to, print->context, print->context, f_string_eol_s);
+        fl_print_format(f_string_format_sentence_end_single_s.string, print->to, print->context, print->context, f_string_eol_s);
       }
     }
     else {
index 63cf5a982b93bb07d181d5ee7d85e1b567fcb77d..4f50a1febe64f838d72d725edb768e749d0f3fce 100644 (file)
@@ -36,7 +36,7 @@ extern "C" {
 
     fl_print_format("%r%[%Q%S '%]", print->to, f_string_eol_s, print->context, print->prefix, reason, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_rule_cache(print, action, F_false);
 
@@ -313,7 +313,7 @@ extern "C" {
       }
     } // for
 
-    fl_print_format(".%r", print->to, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_s.string, print->to, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, &main->thread);
 
index 09432ad6ffd002691ca4134f8439e136d5cc03bb..551c4bcde289b5e08f72bb200d04f213c6ef9e5d 100644 (file)
@@ -133,7 +133,7 @@ extern "C" {
 
     fl_print_format("%rWaiting before processing %r Item Action '", print->to, f_string_eol_s, is_entry ? controller_entry_s : controller_exit_s);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->set->title, name, print->set->title);
-    fl_print_format("'.%r", print->to, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, &main->thread);
 
index 60a2a215b25e537d1c7d7648955eff07bb2547e3..89c60ddd59e4402f77b994f14041d54d6e70d871 100644 (file)
@@ -45,7 +45,7 @@ extern "C" {
       }
     } // for
 
-    fl_print_format("'.%r", print->to, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, &main->thread);
 
@@ -124,7 +124,7 @@ extern "C" {
       }
     }
 
-    fl_print_format(".%r", print->to, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_s.string, print->to, f_string_eol_s);
 
     controller_unlock_print_flush(print->to, &main->thread);
 
index ee2cadb1826f3899b6bbcf3f3176a4676016d6ab..b48ebc71969915c9424b6432316a9639034cd65c 100644 (file)
@@ -58,7 +58,7 @@ extern "C" {
 
     fl_print_format("%r%[%QUnknown %r Item Action '%]", print->to, f_string_eol_s, print->context, print->prefix, is_entry ? controller_entry_s : controller_exit_s, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_rule_cache(print, action, F_true);
 
index 76475107c73ef0ba344fb46eb28d5d14c74cdced..7e0b8b402b7c6b08a0d55c6b8718fcc294a61827 100644 (file)
@@ -16,7 +16,7 @@ extern "C" {
 
     fl_print_format("%r%[%QIgnoring duplicate %r '%]", print->to, f_string_eol_s, print->context, print->prefix, is_entry ? controller_entry_s : controller_exit_s, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_entry_cache(print, &cache->action, is_entry);
 
index b81d8c7585440a1a246abd71b3fc7a8b47384eee..06cead492a0d9a7f83f52d184dcf1cb5515bbfc7 100644 (file)
@@ -16,7 +16,7 @@ extern "C" {
 
     fl_print_format("%r%[%QUnknown %r item setting '%]", print->to, f_string_eol_s, print->context, print->prefix, is_entry ? controller_entry_s : controller_exit_s, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_entry_cache(print, &cache->action, is_entry);
 
@@ -40,7 +40,7 @@ extern "C" {
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
     fl_print_format("%[' has an unknown value '%]", print->to, print->context, print->context);
     fl_print_format(f_string_format_Q_range_single_s.string, print->to, print->notable, buffer, range, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_entry_cache(print, &cache->action, is_entry);
 
index 66a954ed536199b4afd296d20faca67e86ec32e0..f4124ac9daf94f38ab14aa9fbb0d6fcad13349c5 100644 (file)
@@ -16,7 +16,7 @@ extern "C" {
 
     fl_print_format("%r%[%QUnknown Rule Item Action '%]", print->to, f_string_eol_s, print->context, print->prefix, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_rule_cache(print, action, F_true);
 
index ef72d33456a6ca1b25714e20bb49f402df5e6bdf..a038ee8538e65450ea5ad09bf9d89c8df43d77e0 100644 (file)
@@ -16,7 +16,7 @@ extern "C" {
 
     fl_print_format("%r%[%QUnknown Rule Item '%]", print->to, f_string_eol_s, print->context, print->prefix, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_rule_cache(print, action, F_true);
 
index 6007e424e47424b67dba4996236d95fc27076e46..d6604fbcef3c9480625c3746a0a118a27ec20b3b 100644 (file)
@@ -16,7 +16,7 @@ extern "C" {
 
     fl_print_format("%r%[%Q%S Rule setting '%]", print->to, f_string_eol_s, print->context, print->prefix, what, print->context);
     fl_print_format(f_string_format_Q_single_s.string, print->to, print->notable, name, print->notable);
-    fl_print_format(f_string_format_sentence_end_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
+    fl_print_format(f_string_format_sentence_end_single_quote_s.string, print->to, print->context, print->context, f_string_eol_s);
 
     controller_print_error_rule_cache(print, action, F_true);