Commit Graph

236 Commits

Author SHA1 Message Date
Jean Sirmai 7f7c390b61
fonction fsm_journal_seek() implémentée (easy) 2024-09-11 08:13:00 +02:00
Jean Sirmai c46c0c0699
une double liste chainée est prête à héberger le fsm journal 2024-09-10 22:37:31 +02:00
Adrien Bourmault f7f8c5be98 src/util/draw/gl.c: draw a red GL area 2024-09-10 15:20:25 +02:00
Adrien Bourmault 0862038597 src/*: fix broken images links 2024-09-10 14:53:25 +02:00
Adrien Bourmault 17a337b2b8 src/*: fix missing functions to generate GLArea
The new UI prototype did not bring functions to generate a GLArea at the
correct location in the code tree. This commit fixes this.

Signed-off-by: Adrien 'neox' Bourmault <neox@a-lec.org>
2024-09-10 14:28:56 +02:00
Adrien Bourmault 708780554b src/util/draw/gl.c: add utils to generate drawing areas 2024-09-10 14:28:56 +02:00
Adrien Bourmault bcdb9cbc7a src/*, include/*: fix copyright headers 2024-09-10 14:28:53 +02:00
Adrien Bourmault a7d4b0a65c src/widget/state/middle.c: call ui_setup_glarea + fix copyright header 2024-09-10 14:25:34 +02:00
Jean Sirmai 96305bb4b7
one rule reorganization 2024-09-10 13:40:57 +02:00
Jean Sirmai c6ed3c5c0f
WIP: réorganisation widget/rules/ 2024-09-09 23:22:31 +02:00
Jean Sirmai a26478ff8d
mumm... let's make a little commit before changing everything... 2024-09-09 22:21:35 +02:00
Jean Sirmai 3d5e5d2d69
rule geometry and algebra (at end) to enquire and edit 2024-09-09 14:36:50 +02:00
Jean Sirmai 15470ea0a1
widget/rules/selected/wip_menu.c widget_get_btt_conditions_list() & assignations_list() 2024-09-09 14:11:32 +02:00
Jean Sirmai df71c999f9
widget/rules/selected/wip_menu.c widget_set_one_item_text_in_list (list_box, text) 2024-09-09 08:14:04 +02:00
Jean Sirmai 147cefce6d
WIP: préparation chantier menu dans widget/rules/selected/wip_menu.c *widget_get_btt_conditions_list() 2024-09-08 22:34:50 +02:00
Jean Sirmai 17d2306bd7
micro-commit buttons instead of labels in the right topbar popover 2024-09-08 22:09:34 +02:00
Jean Sirmai f4e023a236
WIP: https://github.com/ToshioCP/Gtk4-tutorial/blob/main/gfm/sec17.md what is 'startup' for ? 2024-09-06 11:02:03 +02:00
Jean Sirmai eddcb68911
Bon. GTK4 et la console sont deux threads distincts qui n'interagissent pas. Fin de l'essai et nettoyage. 2024-09-05 13:14:46 +02:00
Jean Sirmai 5ed02a396e
WIP: un [mode_console] pour tester la logique des commandes DO UNDO REDO ? 2024-09-03 17:32:42 +02:00
Jean Sirmai 0bf0a4fd19
WIP: cleaning 2024-09-02 18:50:47 +02:00
Jean Sirmai cbb8495783
un petit détour par la console... (taper 'entrée' pour ouvrir le fenêtre et... patientez un peu) 2024-09-02 17:34:28 +02:00
Jean Sirmai 16bfcdd4df
un point sur la répartition client/serveur (à lire dans 'main') 2024-08-31 16:07:19 +02:00
Jean Sirmai 754230cd71
Oui. Me voici vraiment revenu en 1994. 😇 2024-08-31 09:34:56 +02:00
Jean Sirmai 924968ca26
fsm/engine.c > using the console to test a thread (or worker) prototype (back 30 years ago) 2024-08-31 09:12:59 +02:00
Jean Sirmai 270b408d28
https://fr.wikibooks.org/wiki/Mathc_gnuplot/Fichiers_pour_gnuplot (@fsm/measure/data_list.c) 2024-08-30 15:14:01 +02:00
Jean Sirmai 07cbfe9fcb
introduction of the fsm journal 2024-08-29 08:21:22 +02:00
Jean Sirmai 6877d4fea2
in fsm/measure creation of : manage.c, tool_list.c, flow_list.c et disp_list.c 2024-08-28 16:52:16 +02:00
Jean Sirmai 571e247fd8
measures list pourrait être une liste simple triée 2024-08-28 06:19:06 +02:00
Jean Sirmai 9e0ef7d28f
création de measure/list.c et de measure/manage.c (+ struct m_pile in fsm.h) 2024-08-27 15:07:16 +02:00
Jean Sirmai d2af43dcc9
struct pile // 1er essai : measures (2024-08-26) < générique == compliqué Comment faire ? 2024-08-26 22:11:51 +02:00
Jean Sirmai 432a0202a2
sorted list added <> OK 2024-08-26 16:03:07 +02:00
Jean Sirmai eb3bb2dc24
cleaning pile & list 2024-08-26 07:26:53 +02:00
Jean Sirmai e5d1c124e6
Copyright © 2016 CGi. Aucune reproduction, même partielle,... > Je vais demander l'autorisation. 2024-08-25 22:03:16 +02:00
Jean Sirmai b64df19b3b
double chained list ^c^v success from https://chgi.developpez.com/liste/ 2024-08-25 11:35:43 +02:00
Jean Sirmai 6545c587d2
WIP: cleaning names in util.h ! WARNING ! GRAPHICS #include ../../util.h modified 2024-08-24 15:26:56 +02:00
Jean Sirmai 961e470c2c
Introduction de src/util/io.c où est déplacée: 'char *read_file(char *filename)' < OK 2024-08-24 15:01:32 +02:00
Jean Sirmai 07bafc912a
introduction de src/util/... (util ? use ?...) 2024-08-24 10:52:28 +02:00
Jean Sirmai 085b165a6a
https://chgi.developpez.com/liste/ < ^c^v > OK 2024-08-23 23:30:39 +02:00
Jean Sirmai 85754fc91c
cleaning + a widget intended to modulate the intensities of the various represented flows 2024-08-22 22:01:33 +02:00
Jean Sirmai 61fb16da52
cleaning / adding a scroll bar allowing to detail the data along the time elapsed during the simulation in results 2024-08-22 00:53:23 +02:00
Jean Sirmai 2da17cc549
comments (fsm.f) & https://learntutorials.net/fr/c/topic/560/listes-liees < ^c^v > fsm/measure.c 2024-08-21 23:19:27 +02:00
Jean Sirmai 3d71b6e9c1
cleaning & simplifying 2024-08-20 09:50:20 +02:00
Jean Sirmai 0d7f90cf18
prefer.c devient un fichier de src/fsm/ et include/prefer.h disparait 2024-08-20 09:32:20 +02:00
Jean Sirmai 635ff8f076
Il y a des préférences qui sont des états de la fsm... How to ? 2024-08-19 22:53:47 +02:00
Jean Sirmai 2d269755f1
WIP: linking fsm/measure.c fsm_add() to the debug function in fsm/dispatch 2024-08-19 20:00:06 +02:00
Jean Sirmai 4297242f16
WIP: cleaning (micro-commit) 2024-08-19 16:46:25 +02:00
Jean Sirmai 3d2f7db7a6
creation of dir : src/fsm that contains : dispatch.c measure.c result.c 2024-08-19 16:23:10 +02:00
Jean Sirmai 0d95832c96
WIP: cleaning (micro-commit) 2024-08-19 16:09:31 +02:00
Jean Sirmai 06b57458c6
displayed results list should be defined and maintained in prefer.c 2024-08-18 22:16:46 +02:00
Jean Sirmai 154e2ad57b
measurements and results lists should be defined and maintained in fsm.c 2024-08-18 12:32:21 +02:00
Jean Sirmai 4c4df5f3ec
WIP: results II bis 2024-08-17 20:32:20 +02:00
Jean Sirmai d2f7ab8f44
WIP: results I 2024-08-09 15:28:52 +02:00
Jean Sirmai 055c510142
Starting reorganization of the results page. 2024-08-09 14:47:59 +02:00
Jean Sirmai d1621fb4be
cleaning results measures synth view 2024-08-09 11:33:44 +02:00
Jean Sirmai 20deb6a9eb
WIP: measures process XI 2024-08-09 09:21:04 +02:00
Jean Sirmai dfc623a151
WIP: measures process X 2024-08-08 20:00:48 +02:00
Jean Sirmai df536fe512
Six types of measurements can be accessed through a logical tree. 2024-08-08 16:13:59 +02:00
Jean Sirmai e3831394a5
WIP: measures process IX 2024-08-08 13:37:25 +02:00
Jean Sirmai b66572f1cb
WIP: measures process VIII 2024-08-08 13:09:47 +02:00
Jean Sirmai a2830fdca8
WIP: measures process VII 2024-08-08 07:21:34 +02:00
Jean Sirmai 1508ffc620
WIP: measures process VI 2024-08-08 00:10:12 +02:00
Jean Sirmai 71e2e84d27
WIP: measures process V 2024-08-07 19:45:24 +02:00
Jean Sirmai a332f3c3fb
WIP: measures process IV 2024-08-07 13:18:58 +02:00
Jean Sirmai 513fcaa17c
WIP: measures process III 2024-08-07 10:40:24 +02:00
Jean Sirmai 29bd8069ed
WIP: measures process II 2024-08-06 23:19:45 +02:00
Jean Sirmai 442740bf61
WIP: measures process I 2024-08-06 18:43:15 +02:00
Jean Sirmai 9a2cb4ec8b
Introducing the measuring process (click on the new icon in the top right-hand bar) 2024-08-06 16:29:41 +02:00
Jean Sirmai a844995c08
reset XYZ adjustment values to zero 2024-08-06 05:25:41 +02:00
Jean Sirmai 1181af3457
widget.h < commented 2024-08-06 04:49:28 +02:00
Jean Sirmai f959a8012b
preparing measures edition (see text 'pratique.txt') + cleaning 2024-08-05 16:22:43 +02:00
Jean Sirmai a7f6288db0
WIP: cleaning the 'gtk_widget_set_size_request()' 2024-08-04 23:23:12 +02:00
Jean Sirmai 415b89fa99
WIP: introducing : time_dependent_results_and_time_controls 2024-08-04 19:02:00 +02:00
Jean Sirmai 785cb54dfb
populating SYNTH view. Cette structure,... mais tellement souple et robuste... whaaaouh 2024-08-04 12:45:06 +02:00
Jean Sirmai f2c7d17e7e
Introducing page : SYNTH 2024-08-04 12:21:24 +02:00
Jean Sirmai 29dd9a4529
WIP: Qu'y avait-il sur mon écran lorsque je travaillais ? 2024-08-03 22:37:45 +02:00
Jean Sirmai 6132ea34f2
WIP: introducing some data charts images... Rules, first 2024-08-03 15:50:23 +02:00
Jean Sirmai 6c04038f85
WIP: data page < a very, very first taste... 2024-08-02 23:19:58 +02:00
Jean Sirmai 78bd3a0d23
WIP: beginning work on the DATA page 2024-08-02 22:47:38 +02:00
Jean Sirmai 37fdaa7dfa
WIP: cleaning a little bit more (it's easy, now) 2024-08-02 13:25:23 +02:00
Jean Sirmai f58358b551
WIP: cleaning dispatching topbar & data page (is OK +) 2024-08-02 13:10:12 +02:00
Jean Sirmai 62aa327e3a
WIP: camp de base https://docs.gtk.org/gio/method.Icon.serialize.html GtkImage > GIcon > serialize 2024-08-02 11:58:35 +02:00
Jean Sirmai dbe087167d
WIP: https://docs.gtk.org/gdk4/iface.Paintable.html GdkPaintable is a simple interface used by GTK to represent content that can be painted. 2024-08-02 06:18:48 +02:00
Jean Sirmai e01982e71d
WIP: comparateur <> https://docs.gtk.org/gio/iface.ListModel.html?q=icon < une piste ? 2024-08-02 00:09:14 +02:00
Jean Sirmai 3d47418a1a
WIP: images stack Dois-je gérer les images ? Ou seulement les pointeurs vers les images ? 2024-08-01 15:16:45 +02:00
Jean Sirmai 16d0ea162d
Stack stack (cleaned) (but not yet understood) 2024-08-01 07:21:57 +02:00
Jean Sirmai 1adf316921
WIP: about stack ... --- ... --- ... 2024-08-01 00:17:40 +02:00
Jean Sirmai d0c0525bd4
WIP: use a stack to get images quickly. ^c^v and learn... something works... 2024-07-31 05:32:25 +02:00
Jean Sirmai c20715b3d4
Organizing widget directories and files (a dispatcher in each dir) 2024-07-30 15:26:01 +02:00
Jean Sirmai 7998a8426d
WIP: cleaning (des pb de liens : reference indefinie vers...) 2024-07-30 13:17:16 +02:00
Jean Sirmai 1ad7ba36ef
Rules with a right pane 'camera' and three lists (conditions, actions, identity) 2024-07-30 03:21:39 +02:00
Jean Sirmai b4100e31c6
Rules : premiere liste de conditions (premier bouton sous l'image 'before') 2024-07-29 22:27:36 +02:00
Jean Sirmai f22ecd890e
Introducing [CONDITIONS] [ACTIONS] lists and [NAME] of the selected rule 2024-07-29 18:08:59 +02:00
Jean Sirmai f0c8d91933
A pilot box to control the user rules tree, the rules use and the comparator (TODO) 2024-07-29 15:15:08 +02:00
Jean Sirmai f11ab2e05e
Introducing the 'View Rules Use' pane. This pane and the comparator can be masked 2024-07-29 05:46:10 +02:00
Jean Sirmai bcb4cfc9ed
WIP: adding a 'pilot box' in the rules pane 2024-07-28 16:50:39 +02:00
Jean Sirmai 6f84e6ca10
Finite State Machine OK (transitions EXEC / EDIT in State and Rules pages) 2024-07-28 05:44:48 +02:00
Jean Sirmai ddf96045bd
rules explore controls (first approach) 2024-07-27 20:55:50 +02:00
Jean Sirmai 1173689ae2
some widgets under the 'before' | 'after' images of the selected rule 2024-07-27 18:19:22 +02:00
Jean Sirmai ba87f7212d
WIP: using size_requests about images and labels... 2024-07-27 15:25:14 +02:00
Jean Sirmai 8a94b02013
WIP: cleaning (images) 2024-07-27 15:10:43 +02:00