Heraia  0.1.8
Todo List
Class all_window_prop_t
Transform this to a list of properties and add values to distinguish between windows ?
Class date_and_time_t
add an UTC info field
Global date_printf (date_and_time_t *mydate)
Add a way to use a user defined format and/or predefined formats
File decode.c
I see, while putting some functions documentation that there may be things to do to improve speed with date calculations -> should we fill tab_ns_months at every function calls ? This may not be necessary
Global ghex_find_forward (doc_t *doc, guchar *search_buffer, guint buffer_size, guint64 *position)
a uniq function that will unify ghex_find_forward and ghex_find_backward
Global H_DI_DISPLAYED
this is used at initialisation time. We can add a new option to the program in order to say wether we want the data interpretor to be visible or not (regardless of options saved ?)
Global HERAIA_FILE_ERROR
We may use errno to have more accurate file errors
Global heraia_hex_document_new (heraia_struct_t *main_struct, char *filename)
: do something to take errors into account
File libheraia.c
do the functions that may be called by python when initializing the library.
Global load_heraia_ui (heraia_struct_t *main_struct)
add more return values to init functions to detect any error while initializing the ui
Global load_plugins (heraia_struct_t *main_struct)
Register all shared plugins (plugins_dir) (-DPLUGINS_DIR) This may be a config file option later ...
Global log_message (heraia_struct_t *main_struct, GLogLevelFlags log_level, const char *format,...)
may be include the hability to choose a different log domain ?
Global make_absolute_path (gchar *filename)
do something without any system calls !!!
Parameters
filename: relative notation filename from which to extract an absolute path
Returns
returns a string with the absolute path which should be freed when no longer needed
Global new_doc_t (Heraia_Document *hex_doc, GtkWidget *hex_widget)
do a function to access this value
Global on_close_activate (GtkWidget *widget, gpointer data)
test the returned value here before doing anything else
Global on_open_activate (GtkWidget *widget, gpointer data)
try to put some mutexes on main_struct->event to make this thread safe some way
Parameters
widget: the widget that issued the signal
data: user data MUST be heraia_struct_t *main_struct main structure
Global on_save_activate (GtkWidget *widget, gpointer data)
be more accurate on error (error type, message and filename) returns we should return something at least ...
Global refresh_data_interpretor_window (GtkWidget *hexwidget, gpointer data)
if speed is a matter, think about taking off this decode_parameters structure from here.
Global refresh_data_interpretor_window (GtkWidget *hexwidget, gpointer data)
if speed is a matter, think about taking off this decode_parameters structure from here.
Global refresh_event_handler (GtkWidget *widget, gpointer data)
try to put some mutexes on main_struct->event to make this thread safe some way
Parameters
widget: the widget that issued the signal
data: user data MUST be heraia_struct_t *main_struct main structure
Global statw_export_to_gnuplot_clicked (GtkWidget *widget, gpointer data)

we might add here the name of the file being edited

we might add here the name of the file being edited

Global transform_bcd_to_human (gchar *bcd, guint8 part, guint8 part_number)
give choice of coding style (eg for numbers >=10)