diff --git a/src/fsm/dispatch.c b/src/fsm/dispatch.c index d2fba21..d5553bc 100644 --- a/src/fsm/dispatch.c +++ b/src/fsm/dispatch.c @@ -68,15 +68,16 @@ void fsm_journal_event (int severity, const char *function_source, const char *string_value) { - if ( TRUE // just to find easily the line beginning the filter conditions 😄️ + if ( // TRUE // just to find easily the line beginning the filter conditions 😄️ - && severity != REPETITIVE + severity != REPETITIVE // source != TREE // source == FSM // strcmp (value, "") - && TRUE) // just to find easily the line ending the filter conditions 😄️ + // && TRUE) // just to find easily the line ending the filter conditions 😄️ // in case there are many ... + ) fsm_journal_push_front (&gg_logs, file_source, function_source, string_value); } @@ -92,16 +93,16 @@ void fsm_init (char *initial_message_from_main) fsm_journal_event (MESSAGE, FSM, "fsm/dispatch", "fsm initialisation", "has began"); - fsm_journal_event (MESSAGE, FSM, "fsm/dispatch", "measures list init()", ""); + fsm_journal_event (MESSAGE, FSM, "fsm/dispatch", "measures list init() ...", ""); fsm_measures_list_init(); - fsm_journal_event (MESSAGE, FSM, "fsm/dispatch", "results list init()", ""); + fsm_journal_event (MESSAGE, FSM, "fsm/dispatch", "results list init() ...", ""); fsm_results_list_init(); - fsm_journal_event (MESSAGE, FSM, "fsm/dispatch", "displayables list init()", ""); + fsm_journal_event (MESSAGE, FSM, "fsm/dispatch", "displayables list init() ...", ""); fsm_displayable_list_init(); - fsm_journal_event (MESSAGE, FSM, "fsm/dispatch", "preferences list init()", ""); + fsm_journal_event (MESSAGE, FSM, "fsm/dispatch", "preferences list init() ...", ""); fsm_preferences_list_init(); fsm_journal_event (MESSAGE, FSM, "fsm/dispatch", "fsm initialisation", "has ended"); @@ -156,7 +157,7 @@ void fsm_set_exec_edit (int choice) if (choice_EXEC_EDIT != choice) { fsm_journal_event (INFO, FSM, "fsm/dispatch", "set_exec_edit()", - concat (tab_0 [choice_EXEC_EDIT], " > ", tab_0 [choice], NULL)); + concat (tab_0 [choice_EXEC_EDIT], " > ", tab_0 [choice], NULL)); choice_EXEC_EDIT = choice; } } @@ -166,7 +167,7 @@ void fsm_set_state_rules_data (int choice) if (choice_STATE_RULES_DATA != choice) { fsm_journal_event (INFO, FSM, "fsm/dispatch", "set_state_rules_data()", - concat (tab_1 [choice_STATE_RULES_DATA], " > ", tab_1 [choice], NULL)); + concat (tab_1 [choice_STATE_RULES_DATA], " > ", tab_1 [choice], NULL)); choice_STATE_RULES_DATA = choice; } } diff --git a/src/fsm/preferences/manager.c b/src/fsm/preferences/manager.c index 8faea5d..0726c7a 100644 --- a/src/fsm/preferences/manager.c +++ b/src/fsm/preferences/manager.c @@ -130,11 +130,11 @@ void fsm_add_displayable (char *displayable_name) /******************************************************************************/ void fsm_preferences_list_init () { - fsm_journal_event (MESSAGE, PREFER, "fsm/preferences/manager", "preferences list < ready to use", ""); + fsm_journal_event (MESSAGE, PREFER, "fsm/preferences/manager", "fsm preferences list < ready to use", ""); } void fsm_displayable_list_init () { - fsm_journal_event (MESSAGE, PREFER, "fsm/preferences/manager", "displayables list < ready to use", ""); + fsm_journal_event (MESSAGE, PREFER, "fsm/preferences/manager", "fsm displayables list < ready to use", ""); } diff --git a/src/signal.c b/src/signal.c index bff584f..7470d5d 100644 --- a/src/signal.c +++ b/src/signal.c @@ -346,7 +346,7 @@ void on_toggle_state_rules_data (GtkWidget *toggled_button, gpointer user_data) const char *toggled_button_name = gtk_check_button_get_label (GTK_CHECK_BUTTON (toggled_button)); fsm_journal_event (DEBUG, BUTTON, - "signal", "(toggle)", concat ("[ ", toggled_button_name, " ]", NULL)); + "signal", "toggled button:", concat ("[", toggled_button_name, "]", NULL)); int is_active = gtk_check_button_get_active (GTK_CHECK_BUTTON (toggled_button)); if ( ! strcmp (toggled_button_name, "synth")) fsm_set_state_rules_data (SYNTH); diff --git a/src/widget/topbar/left.c b/src/widget/topbar/left.c index da65570..1a3a896 100644 --- a/src/widget/topbar/left.c +++ b/src/widget/topbar/left.c @@ -43,7 +43,7 @@ void *widget_get_btt_data () {return btt_DATA;} void window_design_topbar_left (GtkWidget *header_bar) { - fsm_journal_event (INFO, TOPBAR_LEFT, "widget/topbar/left", "design", + fsm_journal_event (INFO, TOPBAR_LEFT, "widget/topbar/left", "design (topbar left)", "(EXEC / EDIT) and (SYNTH / STATE / RULES / DATA)"); gpointer no_local_data = NULL; diff --git a/src/widget/topbar/right.c b/src/widget/topbar/right.c index 4f56cee..54c1b10 100644 --- a/src/widget/topbar/right.c +++ b/src/widget/topbar/right.c @@ -93,7 +93,7 @@ static void connect(GApplication *app, gpointer *data) { puts("Connect menu item void window_design_topbar_right (GtkWidget *header_bar, GtkApplication *app) { - fsm_journal_event (INFO, TOPBAR_RIGHT, "widget/topbar/right", "design (buttons, menus)", ""); + fsm_journal_event (INFO, TOPBAR_RIGHT, "widget/topbar/right", "design (topbar right)", ""); display_widgets_at_the_right_side (header_bar); GSimpleActionGroup *ga = g_simple_action_group_new ();