diff --git a/alphabetic_index.all b/alphabetic_index.all new file mode 100644 index 0000000..5aacf07 --- /dev/null +++ b/alphabetic_index.all @@ -0,0 +1,97 @@ +/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * +* Gem-graph client * +* Alphabetic Index of functions names * +* * +* Copyright © 2021 Libre en Communs * +* Copyright © 2024 Jean Sirmai * +* * +* This file is part of Gem-graph. * +* * +* This program is free software: you can redistribute it and/or modify it * +* under the terms of the GNU Affero General Public License * +* as publishedby the Free Software Foundation, * +* either version 3 of the License, or (at your option) any later version. * +* * +* This program is distributed in the hope that it will be useful, * +* but WITHOUT ANY WARRANTY; without even the implied warranty of * +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * +* See the GNU Affero General Public License for more details. * +* * +* You should have received a copy of the GNU Affero General Public License * +* along with this program. If not, see . * +* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ + +fsm_add_data fsm/measures/data_list +fsm_add_displayable fsm/preferences/manager +fsm_add_measure fsm/measures/manager +fsm_add_result fsm/results/manager +fsm_disp_add_chart TODO +fsm_disp_get_chart TODO +fsm_disp_remove_chart TODO +fsm_enum_exec_edit fsm.h +fsm_enum_journal_severity fsm.h +fsm_enum_journal_source fsm.h +fsm_enum_measure_type fsm.h +fsm_enum_state_rules_data fsm.h +fsm_enum_store_restore_reset fsm.h +fsm_get_data fsm/measures/data_list +fsm_get_exec_edit fsm/dispatch +fsm_get_preferences_state fsm/dispatch +fsm_get_state_rules_data fsm/dispatch +fsm_init fsm/dispatch +fsm_journal_clear src/journal +fsm_journal_event fsm/dispatch +fsm_journal_init src/journal +fsm_journal_length src/journal +fsm_journal_pop_back src/journal +fsm_journal_publication_request fsm/dispatch +fsm_journal_publish src/journal +fsm_journal_push_front src/journal +fsm_journal_seek src/journal +fsm_list_init_displayables fsm/prefer +fsm_list_init_measures fsm/measures/manager +fsm_list_init_preferences fsm/preferences/manager +fsm_list_init_results fsm/results/manager +fsm_list_tools_clear fsm/measures/tools_list +fsm_list_tools_insert fsm/measures/tools_list +fsm_list_tools_length fsm/measures/tools_list +fsm_list_tools_pop fsm/measures/tools_list +fsm_list_tools_test fsm/measures/tools_list +fsm_list_tools_view fsm/measures/tools_list +fsm_remove_data fsm/measures/data_list +fsm_reset_all_situations_values fsm/preferences/manager +fsm_rule_trig_measure fsm/measures/manager +fsm_set_exec_edit fsm/dispatch +fsm_set_preferences_modified fsm/dispatch +fsm_set_state_rules_data fsm/dispatch +fsm_set_store_restore_reset fsm/dispatch +fsm_struct_journal fsm.h +fsm_struct_journal_unit fsm.h +fsm_struct_list_data fsm.h +fsm_struct_list_disp fsm.h +fsm_struct_list_tool fsm.h +widget_design_dialog_window widget/dispatch +widget_design_main_window widget/dispatch +widget_design_text_window widget/dispatch +window_design_topbar_left widget/dispatch +window_design_topbar_right widget/dispatch +widget_get_btt_label_data widget/dispatch +widget_get_btt_label_rules widget/dispatch +widget_get_btt_label_state widget/dispatch +widget_get_btt_label_synth widget/dispatch +widget_get_dialog_window widget/dispatch +widget_get_main_window widget/dispatch +widget_get_non_time_dependent widget/synth/dispatch +widget_get_page_data widget/dispatch +widget_get_page_engine widget/dispatch +widget_get_page_measure widget/dispatch +widget_get_page_state widget/dispatch +widget_get_page_synth widget/synth/dispatch +widget_get_space_vs_non_time_dependent widget/synth/dispatch +widget_get_text_window widget/dispatch +widget_get_time_dependent widget/synth/time + + + + + diff --git a/include/fsm.h b/include/fsm.h index d80afe4..9033c66 100644 --- a/include/fsm.h +++ b/include/fsm.h @@ -97,26 +97,26 @@ typedef struct { } fsm_struct_journal; // journal unit access -void fsm_journal_init (fsm_struct_journal *jj); // init from main -void fsm_journal_push_front (fsm_struct_journal *jj, // add an évènement at the journal front - const char *file_source, // def: fsm/dispatch - const char *function_source, // call: any call that does not have - const char *string_value); // the log address -void fsm_journal_clear (fsm_struct_journal *jj, - const char *file_source, - const char *function_source, - const char *string_value); // empty the journal -long fsm_journal_pop_back (fsm_struct_journal *jj, // remove an evenement - const char *file_source, // at the journal end - const char *function_source, - const char *string_value); -int fsm_journal_length (fsm_struct_journal jj); // journal length -void fsm_journal_seek (fsm_struct_journal jj, // seek for an evenement - long usec, // in the journal +void fsm_journal_publish (fsm_struct_journal jj); // def: src/journal call: fsm/dispatch +void fsm_journal_init (fsm_struct_journal *jj); // def: src/journal call: fsm/dispatch +void fsm_journal_push_front (fsm_struct_journal *jj, // def: src/journal call: fsm/dispatch + const char *file_source, + const char *function_source, + const char *string_value); +void fsm_journal_clear (fsm_struct_journal *jj, // def: src/journal call: none + const char *file_source, + const char *function_source, + const char *string_value); +long fsm_journal_pop_back (fsm_struct_journal *jj, // def: src/journal call: none + const char *file_source, + const char *function_source, + const char *string_value); +int fsm_journal_length (fsm_struct_journal jj); // def: src/journal call: none +void fsm_journal_seek (fsm_struct_journal jj, // def: src/journal call: none + long usec, const char *file_source, const char *function_source, const char *string_value); -void fsm_journal_publish (fsm_struct_journal jj); // display the journal // ----------------------------------------------------------------------------- @@ -153,13 +153,13 @@ typedef struct fsm_struct_list_disp {int value; struct fsm_struct_list_disp *sui -void fsm_init (char *message); // def: fsm/dispatch; call: main; -void fsm_list_init_preferences(); // def: fsm/prefer; call: fsm/dispatch; -void fsm_list_init_measures(); // def: fsm/measure/manage.c; call: fsm/dispatch; -void fsm_list_init_results(); // def: fsm/results; call: fsm/dispatch; -void fsm_list_init_displayables(); // def: fsm/prefer; call: fsm/dispatch; +void fsm_init (char *message); // def: fsm/dispatch; call: main; +void fsm_list_init_preferences(); // def: fsm/preferences/manager; call: fsm/dispatch; +void fsm_list_init_measures(); // def: fsm/measure/manager; call: fsm/dispatch; +void fsm_list_init_results(); // def: fsm/results/manager; call: fsm/dispatch; +void fsm_list_init_displayables(); // def: fsm/preferences/manager; call: fsm/dispatch; -int fsm_get_exec_edit(); // def: fsm/dispatch; call: signal; +int fsm_get_exec_edit(); // def: fsm/disfpatch; call: signal; // widget/state/dispatch; // widget/rules/selected/dispatch; int fsm_get_state_rules_data(); // def: fsm/dispatch; call: signal; @@ -173,13 +173,12 @@ bool fsm_get_preferences_state(); // def: fsm/dispatch; call: - - - void fsm_set_preferences_modified (bool value); // def: fsm/dispatch; // call: signal; fsm/prefer; -void fsm_add_measure (char *measure_name); // def: fsm/measure/manage.c; +void fsm_add_measure (char *measure_name); // def: fsm/measure/manager; // call: widget/measure/dispatch; -void fsm_add_result (char *result_name); // def: fsm/result; call: - - - -void fsm_add_displayable (char *displayable_name);// def: fsm/prefer; call: fsm/prefer; +void fsm_add_result (char *result_name); // def: fsm/results/manager; call: - - - +void fsm_add_displayable (char *displayable_name);// def: fsm/preferences/manager; call: fsm/preferences/manager; -void fsm_reset_all_situations_transparencies_at_value (int value); // provisoire... - // def: fsm/prefer; call: signal; +void fsm_reset_all_situations_values (int value); // def: fsm/preferences/manager; call: signal; // --------------------------------------------------------------- WIP ------ // def: measure/tool_list call: measure/tool_list (about the following functions...) @@ -188,7 +187,7 @@ int fsm_list_tools_pop (fsm_struct_list_tool **tl); int fsm_list_tools_length (fsm_struct_list_tool *tl); void fsm_list_tools_clear (fsm_struct_list_tool **tl); void fsm_list_tools_view (fsm_struct_list_tool *tl); -void fsm_list_tools_test(); // def: measure/manage; call: measure/manage; +void fsm_list_tools_test(); // def: measures/manager; call: measures/manager; // def: fsm/measure/manage/; call: rule exec void fsm_rule_trig_measure (int rule_id, int object_id, int measure_id); @@ -201,7 +200,7 @@ void fsm_remove_data (fsm_struct_list_data d, int *p_data); // --------------------------------------------------------------- WIP ------ -void fsm_disp_add_chart (fsm_struct_list_disp d, int *p_chart); +/*void fsm_disp_add_chart (fsm_struct_list_disp d, int *p_chart); int fsm_disp_get_chart (fsm_struct_list_disp d, int from, int to); -void fsm_disp_remove_chart (fsm_struct_list_disp d, int *p_chart); +void fsm_disp_remove_chart (fsm_struct_list_disp d, int *p_chart);*/ diff --git a/include/widget.h b/include/widget.h index bc5996c..473b879 100644 --- a/include/widget.h +++ b/include/widget.h @@ -35,8 +35,8 @@ #define H_TEXT_WINDOW H_MY_SCREEN -// called in signal.c / switch_state_rules_data() / gtk_window_set_child() -// defined in widget / dispatch.c +// called in signal / switch_state_rules_data() / gtk_window_set_child() +// defined in widget / dispatch void *widget_get_main_window(); void *widget_get_dialog_window(); @@ -125,9 +125,9 @@ void *widget_get_page_engine(); // in : fsm / engine / engine.c #define H_PARTITION_SYNTH 1600 #define W_PARTITION_SYNTH 400 -void *widget_get_time_dependent_results_and_time_controls(); -// *widget_get_space_vs_non_time_dependent_analysis(); WIP -// *widget_get_non_time_dependent_analysis_elements(); WIP +void *widget_get_time_dependent(); +void *widget_get_space_vs_non_time_dependent(); +void *widget_get_non_time_dependent(); /******************************************************************************/ diff --git a/names_index.all b/names_index.all deleted file mode 100644 index b0c5590..0000000 --- a/names_index.all +++ /dev/null @@ -1,76 +0,0 @@ -/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * -* Gem-graph client * -* Finite state machine header * -* * -* Copyright © 2021 Libre en Communs * -* Copyright © 2024 Jean Sirmai * -* * -* This file is part of Gem-graph. * -* * -* This program is free software: you can redistribute it and/or modify it * -* under the terms of the GNU Affero General Public License * -* as publishedby the Free Software Foundation, * -* either version 3 of the License, or (at your option) any later version. * -* * -* This program is distributed in the hope that it will be useful, * -* but WITHOUT ANY WARRANTY; without even the implied warranty of * -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * -* See the GNU Affero General Public License for more details. * -* * -* You should have received a copy of the GNU Affero General Public License * -* along with this program. If not, see . * -* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ - -fsm_enum_exec_edit -fsm_enum_state_rules_data -fsm_enum_store_restore_reset -fsm_enum_measure_type -fsm_enum_journal_severity -fsm_enum_journal_source - -fsm_struct_list_tool -fsm_struct_list_data -fsm_struct_list_disp -fsm_struct_journal_unit -fsm_struct_journal - -fsm_journal_init -fsm_journal_push_front -fsm_journal_clear -fsm_journal_pop_back -fsm_journal_length -fsm_journal_seek -fsm_journal_publish -fsm_journal_publication_request -fsm_journal_event - -fsm_init -fsm_list_init_preferences -fsm_list_init_measures -fsm_list_init_results -fsm_list_init_displayables -fsm_get_exec_edit -fsm_get_state_rules_data -fsm_get_preferences_state -fsm_set_exec_edit -fsm_set_state_rules_data -fsm_set_store_restore_reset -fsm_set_preferences_modified -fsm_add_measure -fsm_add_result -fsm_add_displayable -fsm_reset_all_situations_transparencies_at_value -fsm_list_tools_insert -fsm_list_tools_pop -fsm_list_tools_length -fsm_list_tools_clear -fsm_list_tools_view -fsm_list_tools_test -fsm_rule_trig_measure -fsm_add_data -fsm_get_data -fsm_remove_data -fsm_disp_add_chart -fsm_disp_get_chart -fsm_disp_remove_chart - diff --git a/src/fsm/measures/tool_list.c b/src/fsm/measures/tools_list.c similarity index 100% rename from src/fsm/measures/tool_list.c rename to src/fsm/measures/tools_list.c diff --git a/src/fsm/preferences/manager.c b/src/fsm/preferences/manager.c index 5ce31ef..2bb19ed 100644 --- a/src/fsm/preferences/manager.c +++ b/src/fsm/preferences/manager.c @@ -103,10 +103,10 @@ void fsm_set_store_restore_reset (int choice, int value) static int reset_situations_to_value = -1; -void fsm_reset_all_situations_transparencies_at_value (int value) +void fsm_reset_all_situations_values (int value) { char string_value [12]; sprintf(string_value, "(%d)", value); - printf("fsm/preferences/manager fsm_reset_all_situations_transparencies_at_value() %d\n", value); + printf("fsm/preferences/manager fsm_reset_all_situations_values() %d\n", value); fsm_journal_event (INFO, PREFER, "fsm/preferences/manager", "reset all situations transparencies at value() ", "TODO value > string_value"); reset_situations_to_value = value; widget_reset_all_situations_transparencies_at_value (value); diff --git a/src/signal.c b/src/signal.c index 303dd08..ca48ff0 100644 --- a/src/signal.c +++ b/src/signal.c @@ -412,7 +412,7 @@ void on_resetting_XYZ_in_state_page () void on_situations_box_do_reset (GtkWidget *btt_reset, GtkScrollbar *reset_scrollbar) { GtkAdjustment *adj_situ = gtk_scrollbar_get_adjustment (reset_scrollbar); - fsm_reset_all_situations_transparencies_at_value (gtk_adjustment_get_value (adj_situ)); + fsm_reset_all_situations_values (gtk_adjustment_get_value (adj_situ)); char string_value [319]; sprintf(string_value, "(%f)", gtk_adjustment_get_value (adj_situ)); // TODO (marche pas...)) fsm_journal_event (DEBUG, BUTTON, "signal", "situations box do reset()", string_value); } diff --git a/src/widget/synth/dispatch.c b/src/widget/synth/dispatch.c index f520afd..b1788de 100644 --- a/src/widget/synth/dispatch.c +++ b/src/widget/synth/dispatch.c @@ -29,7 +29,7 @@ #include "../../../include/widget.h" -static void *widget_get_non_time_dependent_analysis_elements() // for fun ! +void *widget_get_non_time_dependent() // for fun ! { GtkBox *results_box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_VERTICAL, 2)); gtk_box_append (results_box, GTK_WIDGET (gtk_picture_new_for_filename @@ -44,13 +44,13 @@ static void *widget_get_non_time_dependent_analysis_elements() // for fun ! } -static void *widget_get_space_vs_non_time_dependent_analysis() +void *widget_get_space_vs_non_time_dependent() { GtkWidget *space_vs_non_time_dependent_analysis = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL); gtk_paned_set_start_child (GTK_PANED (space_vs_non_time_dependent_analysis), GTK_WIDGET (widget_get_space_view(PARTITION_SPACE_VS_CAMERA_IN_SYNTH))); gtk_paned_set_end_child (GTK_PANED (space_vs_non_time_dependent_analysis), - GTK_WIDGET (widget_get_non_time_dependent_analysis_elements())); + GTK_WIDGET (widget_get_non_time_dependent())); gtk_paned_set_position (GTK_PANED (space_vs_non_time_dependent_analysis), H_PARTITION_SYNTH); gtk_paned_set_shrink_start_child (GTK_PANED (space_vs_non_time_dependent_analysis), FALSE); gtk_paned_set_shrink_end_child (GTK_PANED (space_vs_non_time_dependent_analysis), FALSE); // TRUE @@ -62,9 +62,9 @@ void *widget_get_page_synth() { GtkWidget *space_and_analysis_vs_history = gtk_paned_new (GTK_ORIENTATION_VERTICAL); gtk_paned_set_start_child (GTK_PANED (space_and_analysis_vs_history), - GTK_WIDGET (widget_get_space_vs_non_time_dependent_analysis())); + GTK_WIDGET (widget_get_space_vs_non_time_dependent())); gtk_paned_set_end_child (GTK_PANED (space_and_analysis_vs_history), - GTK_WIDGET (widget_get_time_dependent_results_and_time_controls())); + GTK_WIDGET (widget_get_time_dependent())); gtk_paned_set_position (GTK_PANED (space_and_analysis_vs_history), W_PARTITION_SYNTH); gtk_paned_set_shrink_start_child (GTK_PANED (space_and_analysis_vs_history), FALSE); gtk_paned_set_shrink_end_child (GTK_PANED (space_and_analysis_vs_history), FALSE); diff --git a/src/widget/synth/time.c b/src/widget/synth/time.c index a663df8..0dae2fc 100644 --- a/src/widget/synth/time.c +++ b/src/widget/synth/time.c @@ -28,7 +28,7 @@ #include "../../../include/signal.h" #include "../../../include/widget.h" -void *widget_get_time_dependent_results_and_time_controls() +void *widget_get_time_dependent() { GtkBox *time_box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_VERTICAL, 2)); gtk_box_append (time_box, GTK_WIDGET(widget_get_sequence_control()));