alphabetic_index.all How many items does it already include?

This commit is contained in:
Jean Sirmai 2024-09-30 18:12:50 +02:00
parent 8d368c1afd
commit a549d5ea13
Signed by: jean
GPG Key ID: FB3115C340E057E3
9 changed files with 141 additions and 121 deletions

97
alphabetic_index.all Normal file
View File

@ -0,0 +1,97 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Gem-graph client *
* Alphabetic Index of functions names *
* *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* *
* 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 <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
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

View File

@ -97,26 +97,26 @@ typedef struct {
} }
fsm_struct_journal; // journal unit access fsm_struct_journal; // journal unit access
void fsm_journal_init (fsm_struct_journal *jj); // init from main void fsm_journal_publish (fsm_struct_journal jj); // def: src/journal call: fsm/dispatch
void fsm_journal_push_front (fsm_struct_journal *jj, // add an évènement at the journal front void fsm_journal_init (fsm_struct_journal *jj); // def: src/journal call: fsm/dispatch
const char *file_source, // def: fsm/dispatch void fsm_journal_push_front (fsm_struct_journal *jj, // def: src/journal call: fsm/dispatch
const char *function_source, // call: any call that does not have const char *file_source,
const char *string_value); // the log address const char *function_source,
void fsm_journal_clear (fsm_struct_journal *jj, const char *string_value);
const char *file_source, void fsm_journal_clear (fsm_struct_journal *jj, // def: src/journal call: none
const char *function_source, const char *file_source,
const char *string_value); // empty the journal const char *function_source,
long fsm_journal_pop_back (fsm_struct_journal *jj, // remove an evenement const char *string_value);
const char *file_source, // at the journal end long fsm_journal_pop_back (fsm_struct_journal *jj, // def: src/journal call: none
const char *function_source, const char *file_source,
const char *string_value); const char *function_source,
int fsm_journal_length (fsm_struct_journal jj); // journal length const char *string_value);
void fsm_journal_seek (fsm_struct_journal jj, // seek for an evenement int fsm_journal_length (fsm_struct_journal jj); // def: src/journal call: none
long usec, // in the journal void fsm_journal_seek (fsm_struct_journal jj, // def: src/journal call: none
long usec,
const char *file_source, const char *file_source,
const char *function_source, const char *function_source,
const char *string_value); 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_init (char *message); // def: fsm/dispatch; call: main;
void fsm_list_init_preferences(); // def: fsm/prefer; call: fsm/dispatch; void fsm_list_init_preferences(); // def: fsm/preferences/manager; call: fsm/dispatch;
void fsm_list_init_measures(); // def: fsm/measure/manage.c; call: fsm/dispatch; void fsm_list_init_measures(); // def: fsm/measure/manager; call: fsm/dispatch;
void fsm_list_init_results(); // def: fsm/results; call: fsm/dispatch; void fsm_list_init_results(); // def: fsm/results/manager; call: fsm/dispatch;
void fsm_list_init_displayables(); // def: fsm/prefer; 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/state/dispatch;
// widget/rules/selected/dispatch; // widget/rules/selected/dispatch;
int fsm_get_state_rules_data(); // def: fsm/dispatch; call: signal; 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; void fsm_set_preferences_modified (bool value); // def: fsm/dispatch;
// call: signal; fsm/prefer; // 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; // call: widget/measure/dispatch;
void fsm_add_result (char *result_name); // def: fsm/result; call: - - - void fsm_add_result (char *result_name); // def: fsm/results/manager; call: - - -
void fsm_add_displayable (char *displayable_name);// def: fsm/prefer; call: fsm/prefer; 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... void fsm_reset_all_situations_values (int value); // def: fsm/preferences/manager; call: signal;
// def: fsm/prefer; call: signal;
// --------------------------------------------------------------- WIP ------ // --------------------------------------------------------------- WIP ------
// def: measure/tool_list call: measure/tool_list (about the following functions...) // 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); int fsm_list_tools_length (fsm_struct_list_tool *tl);
void fsm_list_tools_clear (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_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 // def: fsm/measure/manage/; call: rule exec
void fsm_rule_trig_measure (int rule_id, int object_id, int measure_id); 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 ------ // --------------------------------------------------------------- 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); 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);*/

View File

@ -35,8 +35,8 @@
#define H_TEXT_WINDOW H_MY_SCREEN #define H_TEXT_WINDOW H_MY_SCREEN
// called in signal.c / switch_state_rules_data() / gtk_window_set_child() // called in signal / switch_state_rules_data() / gtk_window_set_child()
// defined in widget / dispatch.c // defined in widget / dispatch
void *widget_get_main_window(); void *widget_get_main_window();
void *widget_get_dialog_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 H_PARTITION_SYNTH 1600
#define W_PARTITION_SYNTH 400 #define W_PARTITION_SYNTH 400
void *widget_get_time_dependent_results_and_time_controls(); void *widget_get_time_dependent();
// *widget_get_space_vs_non_time_dependent_analysis(); WIP void *widget_get_space_vs_non_time_dependent();
// *widget_get_non_time_dependent_analysis_elements(); WIP void *widget_get_non_time_dependent();
/******************************************************************************/ /******************************************************************************/

View File

@ -1,76 +0,0 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Gem-graph client *
* Finite state machine header *
* *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* *
* 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 <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
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

View File

@ -103,10 +103,10 @@ void fsm_set_store_restore_reset (int choice, int value)
static int reset_situations_to_value = -1; 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); 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"); fsm_journal_event (INFO, PREFER, "fsm/preferences/manager", "reset all situations transparencies at value() ", "TODO value > string_value");
reset_situations_to_value = value; reset_situations_to_value = value;
widget_reset_all_situations_transparencies_at_value (value); widget_reset_all_situations_transparencies_at_value (value);

View File

@ -412,7 +412,7 @@ void on_resetting_XYZ_in_state_page ()
void on_situations_box_do_reset (GtkWidget *btt_reset, GtkScrollbar *reset_scrollbar) void on_situations_box_do_reset (GtkWidget *btt_reset, GtkScrollbar *reset_scrollbar)
{ {
GtkAdjustment *adj_situ = gtk_scrollbar_get_adjustment (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...)) 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); fsm_journal_event (DEBUG, BUTTON, "signal", "situations box do reset()", string_value);
} }

View File

@ -29,7 +29,7 @@
#include "../../../include/widget.h" #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)); GtkBox *results_box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_VERTICAL, 2));
gtk_box_append (results_box, GTK_WIDGET (gtk_picture_new_for_filename 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); 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_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_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_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_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_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 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); 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_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_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_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_start_child (GTK_PANED (space_and_analysis_vs_history), FALSE);
gtk_paned_set_shrink_end_child (GTK_PANED (space_and_analysis_vs_history), FALSE); gtk_paned_set_shrink_end_child (GTK_PANED (space_and_analysis_vs_history), FALSE);

View File

@ -28,7 +28,7 @@
#include "../../../include/signal.h" #include "../../../include/signal.h"
#include "../../../include/widget.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)); GtkBox *time_box = GTK_BOX (gtk_box_new (GTK_ORIENTATION_VERTICAL, 2));
gtk_box_append (time_box, GTK_WIDGET(widget_get_sequence_control())); gtk_box_append (time_box, GTK_WIDGET(widget_get_sequence_control()));