src/*, include/*: fix copyright headers

This commit is contained in:
Adrien Bourmault 2024-09-10 12:58:18 +02:00
parent a7d4b0a65c
commit bcdb9cbc7a
57 changed files with 1014 additions and 1473 deletions

View File

@ -1,3 +1,27 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Gem-graph client *
* Actions header *
* *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Adrien Bourmault <neox@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/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
// https://docs.gtk.org/gio/class.MenuItem.html // https://docs.gtk.org/gio/class.MenuItem.html
// https://docs.gtk.org/gio/ctor.MenuItem.new.html // https://docs.gtk.org/gio/ctor.MenuItem.new.html
// //

View File

@ -1,31 +1,26 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* *
* Base header * * Base header *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> * * Copyright © 2021-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> * * Copyright © 2021-2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as published by the Free Software Foundation, * * as publishedby the Free Software Foundation, *
* either version 3 of the License, * * either version 3 of the License, or (at your option) any later version. *
* or (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* without even the implied warranty of MERCHANTABILITY * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */

View File

@ -1,31 +1,25 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* * * Finite state machine header *
* Finite State Machine (fsm) header *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as published by the Free Software Foundation, * * as publishedby the Free Software Foundation, *
* either version 3 of the License, * * either version 3 of the License, or (at your option) any later version. *
* or (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* without even the implied warranty of MERCHANTABILITY * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#pragma once #pragma once

View File

@ -1,32 +1,25 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* *
* Graphics header * * Graphics header *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> * * Copyright © 2023-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Arthur Menges <arthur.menges@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as published by the Free Software Foundation, * * as publishedby the Free Software Foundation, *
* either version 3 of the License, * * either version 3 of the License, or (at your option) any later version. *
* or (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* without even the implied warranty of MERCHANTABILITY * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#pragma once #pragma once

View File

@ -1,31 +1,26 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* *
* Model parsing header * * Model parsing header *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> * * Copyright © 2021-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> * * Copyright © 2021-2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as published by the Free Software Foundation, * * as publishedby the Free Software Foundation, *
* either version 3 of the License, * * either version 3 of the License, or (at your option) any later version. *
* or (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* without even the implied warranty of MERCHANTABILITY * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#pragma once #pragma once

View File

@ -1,31 +1,26 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* * * Events management header *
* Signals header *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> * * Copyright © 2021-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> * * Copyright © 2021-2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as published by the Free Software Foundation, * * as publishedby the Free Software Foundation, *
* either version 3 of the License, * * either version 3 of the License, or (at your option) any later version. *
* or (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* without even the implied warranty of MERCHANTABILITY * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#pragma once #pragma once

View File

@ -1,31 +1,25 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* * * Utilities header *
* Finite State Machine (fsm) header *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as published by the Free Software Foundation, * * as publishedby the Free Software Foundation, *
* either version 3 of the License, * * either version 3 of the License, or (at your option) any later version. *
* or (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* without even the implied warranty of MERCHANTABILITY * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#pragma once #pragma once
@ -37,7 +31,6 @@
char *util_read_file (char *filename); char *util_read_file (char *filename);
typedef struct pile {int value; struct pile *prev;} pile; // structure d'un élément typedef struct pile {int value; struct pile *prev;} pile; // structure d'un élément
void util_pile_clear (pile **); // vide toute la pile void util_pile_clear (pile **); // vide toute la pile

View File

@ -1,31 +1,25 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* * * Widgets management header *
* Widgets header *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as published by the Free Software Foundation, * * as publishedby the Free Software Foundation, *
* either version 3 of the License, * * either version 3 of the License, or (at your option) any later version. *
* or (at your option) any later version. *
* * * *
* This program is distributed in the hope that it will be useful, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; * * but WITHOUT ANY WARRANTY; without even the implied warranty of *
* without even the implied warranty of MERCHANTABILITY * * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#pragma once #pragma once

View File

@ -1,3 +1,28 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Gem-graph client *
* Actions functions *
* *
* Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021-2024 Adrien Bourmault <neox@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 published by 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/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
// //
// //
// //

View File

@ -1,10 +1,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Finite State Machine (src/fsm/measure/dispatch.c) * * Finite State Machine (src/fsm/measure/dispatch.c) *
* * * *
* Copyright © 2024 Libre en Communs <contact@a-lec.org> * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <stdbool.h> #include <stdbool.h>
#include "../../include/fsm.h" #include "../../include/fsm.h"

View File

@ -1,5 +1,4 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Finite State Machine Engine * * Finite State Machine Engine *
* * * *
@ -22,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <stdbool.h> #include <stdbool.h>
#include <time.h> #include <time.h>

View File

@ -1,11 +1,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* * * Finite State Machine - Journal *
* Finite State Machine / Journal *
* * * *
* Copyright © 2024 Libre en Communs <contact@a-lec.org> * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,10 +1,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* State machine / Measures * * State machine / Measures *
* * * *
* Copyright © 2024 Libre en Communs <contact@a-lec.org> * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,10 +1,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* State machine / Measures * * State machine / Measures *
* * * *
* Copyright © 2024 Libre en Communs <contact@a-lec.org> * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,10 +1,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* State machine / Measures * * State machine / Measures *
* * * *
* Copyright © 2024 Libre en Communs <contact@a-lec.org> * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,10 +1,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Finite State Machine (src/fsm/measure/tool_list.c) * * Finite State Machine (src/fsm/measure/tool_list.c) *
* * * *
* Copyright © 2024 Libre en Communs <contact@a-lec.org> * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <stdbool.h> #include <stdbool.h>
#include <stdio.h> #include <stdio.h>

View File

@ -1,11 +1,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* * * Finite State Machine - Preferences management *
* Main *
* * * *
* Copyright © 2024 Libre en Communs <contact@a-lec.org> * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */

View File

@ -1,11 +1,8 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* * * Finite State Machine - Results display *
* State machine *
* * * *
* Copyright © 2024 Libre en Communs <contact@a-lec.org> * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <stdbool.h> #include <stdbool.h>

View File

@ -1,29 +1,28 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Graphics - general drawing functions *
* * * *
* Drawing * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2023-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2023 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as publishedby the Free Software Foundation, * * as published by the Free Software Foundation, *
* either version 3 of the License, or (at your option) any later version. * * 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, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * * but WITHOUT ANY WARRANTY; *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * without even the implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <cglm/cglm.h> #include <cglm/cglm.h>

View File

@ -1,29 +1,28 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Graphics - grid/empty space drawing functions *
* * * *
* Drawing empty space * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2023-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2023 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as publishedby the Free Software Foundation, * * as published by the Free Software Foundation, *
* either version 3 of the License, or (at your option) any later version. * * 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, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * * but WITHOUT ANY WARRANTY; *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * without even the implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../include/graphics.h" #include "../../include/graphics.h"

View File

@ -1,36 +1,34 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Graphics - initialization and graphic stack management *
* * * *
* Graph - stack * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2023-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2023 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as publishedby the Free Software Foundation, * * as published by the Free Software Foundation, *
* either version 3 of the License, or (at your option) any later version. * * 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, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * * but WITHOUT ANY WARRANTY; *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * without even the implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../include/graphics.h" #include "../../include/graphics.h"
#include "../../include/parse.h" #include "../../include/parse.h"
#include "../../include/util.h" #include "../../include/util.h"
#define TEST 0 #define TEST 0
struct graphics_stack_t *graphics_stack = NULL; struct graphics_stack_t *graphics_stack = NULL;

View File

@ -1,29 +1,28 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Graphics - fragment shader *
* * * *
* Shader frag * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2023 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2023 Arthur Menges <arthur.menges@a-lec.org> * * Copyright © 2023 Arthur Menges <arthur.menges@a-lec.org> *
* Copyright © 2023-2024 Adrien Bourmault <neox@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as publishedby the Free Software Foundation, * * as published by the Free Software Foundation, *
* either version 3 of the License, or (at your option) any later version. * * 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, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * * but WITHOUT ANY WARRANTY; *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * without even the implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#version 330 core #version 330 core

View File

@ -1,29 +1,28 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Graphics - vertex shader *
* * * *
* Shader vert * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2023 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2023 Arthur Menges <arthur.menges@a-lec.org> * * Copyright © 2023 Arthur Menges <arthur.menges@a-lec.org> *
* Copyright © 2023-2024 Adrien Bourmault <neox@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as publishedby the Free Software Foundation, * * as published by the Free Software Foundation, *
* either version 3 of the License, or (at your option) any later version. * * 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, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * * but WITHOUT ANY WARRANTY; *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * without even the implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#version 330 core #version 330 core

View File

@ -1,333 +0,0 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client *
* *
* Callbacks *
* *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2023 Adrien Bourmault <neox@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/>. *
* *
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../include/graphics.h"
#include "../../include/signal.h"
#define GL_AREA_1000 1000
struct stack_index_t {
long stack_id;
void *container_widget;
void *gl_area;
};
static struct stack_index_t *stack_index = NULL;
size_t stack_index_size = 0;
int graphics_set_arrow (int stack_id, // 2024-06-27 DEBUG !
int arrows_nb,
int space_X,
int space_Y,
int space_Z,
int requested_weight,
int site,
int arrow_x,
int arrow_y,
int arrow_z) {
printf("graphics_area.c > int graphics_set_arrow (...) 2024-06-27 DEBUG\n");
return 0;
} // 2024-06-27 DEBUG !
/*
* Look for stack entry and returns stack_id
*
* @params container_widget, generally the GtkBox that contains the GLArea
*
* @returns stack_id
*/
long graphics_get_graphics_stack(void *container_widget)
{
// look for stack_index entry
for (int i = 0; i < stack_index_size; i++) {
if (stack_index[i].container_widget == (void *)container_widget) {
return stack_index[i].stack_id;
}
}
return -1;
}
/*
* Look for stack entry and returns stack_id
*
* @params container_widget, generally the GtkBox that contains the GLArea
*
* @returns stack_id
*/
long graphics_is_graphics_stack_ready(void *container_widget)
{
// look for stack_index entry
for (int i = 0; i < stack_index_size; i++) {
if (stack_index[i].container_widget == (void *)container_widget) {
return stack_index[i].stack_id;
}
}
return -1;
}
/*
* Look for stack entry and initializes OpenGL for it
*
* @params container_widget, generally the GtkBox that contains the GLArea
*
* @returns bool, true if success
*/
bool graphics_init_graphics_stack(void *container_widget, GError *error_buffer)
{
g_printerr("[debug] graphics_init_graphics_stack()\n");
g_printerr("[debug] graphics_init_graphics_stack() : target is %p\n", container_widget);
// look for stack_index entry
for (int i = 0; i < stack_index_size; i++) {
g_printerr("[debug] graphics_init_graphics_stack() : i is %d\n", i);
g_printerr("[debug] graphics_init_graphics_stack() : target would be %p\n",
stack_index[i].container_widget);
if (stack_index[i].container_widget == (void *)container_widget) {
stack_index[i].stack_id = graphics_init(&error_buffer);
g_printerr("[debug] graphics_init_graphics_stack() : stack_id is %ld\n",
stack_index[i].stack_id);
if (stack_index[i].stack_id >= 0)
return true;
else
return false;
}
}
return false;
}
/*
* Look for stack entry and shutdowns OpenGL for it
*
* @params container_widget, generally the GtkBox that contains the GLArea
*
* @returns bool, true if success
*/
bool graphics_shutdown_graphics_stack(void *container_widget, GError *error_buffer)
{
// look for stack_index entry
for (int i = 0; i < stack_index_size; i++) {
if (stack_index[i].container_widget == (void *)container_widget) {
if (graphics_shutdown(stack_index[i].stack_id,
&error_buffer) == false) {
return false;
}
stack_index[i].stack_id = 0;
return true;
}
}
return false;
}
void graphics_clean_stack_index(void)
{
// look for stack_index entry
for (int i = 0; i < stack_index_size; i++) {
stack_index[i].stack_id = 0;
}
return;
}
/*
* Look for stack entry and triggers OpenGL for drawing
*
* @params container_widget, generally the GtkBox that contains the GLArea
*
* @returns bool, true if success
*/
bool graphics_render_stack(GtkWidget *container_widget)
{
// look for stack_index entry
for (int i = 0; i < stack_index_size; i++) {
if (stack_index[i].container_widget == (void *)container_widget) {
graphics_draw (stack_index[i].stack_id);
return true;
}
}
return false;
}
//void graphics_draw(const int stack_id) {printf("graphics_area.c > void graphics_draw(const int stack_id) (161)\n");}
/*
* Look for stack entry and triggers OpenGL for drawing
*
* @params container_widget, generally the GtkBox that contains the GLArea
*
* @returns bool, true if success
*/
bool graphics_update_axis_stack(GtkWidget *container_widget, int axis, int value)
{
// look for stack_index entry
for (int i = 0; i < stack_index_size; i++) {
if (stack_index[i].container_widget == (void *)container_widget) {
graphics_stack[stack_index[i].stack_id].rotation_angles[axis] = value;
gtk_widget_queue_draw((GtkWidget*)(stack_index[i].gl_area));
return true;
}
}
return false;
}
/*
* Look for every stack entry and shutdowns OpenGL for it
*
* @params void
*
* @returns bool, true if success
*/
void graphics_shutdown_all_graphics_stacks(void)
{
// look for stack_index entry
for (int i = 0; i < stack_index_size; i++) {
graphics_shutdown(stack_index[i].stack_id, NULL);
}
return;
}
/*
* Creates a slider widget
*
* @params axis, meaning which axis we're building (for label)
*
* @returns GtkWidget*, pointer to the new widget
*/
GtkWidget *create_axis_slider(int axis)
{
GtkWidget *box, *label, *slider;
GtkAdjustment *adj;
const char *text;
box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0);
switch (axis) {
case X_AXIS:
text = "X";
break;
case Y_AXIS:
text = "Y";
break;
case Z_AXIS:
text = "Z";
break;
default:
g_assert_not_reached();
}
label = gtk_label_new(text);
gtk_box_append(GTK_BOX(box), label);
gtk_widget_set_visible (label, TRUE);
adj = gtk_adjustment_new(0.0, 0.0, 360.0, 1.0, 12.0, 0.0);
g_signal_connect (adj, "value-changed", G_CALLBACK(on_axis_value_change), (gpointer) label);
slider = gtk_scale_new(GTK_ORIENTATION_HORIZONTAL, adj);
gtk_box_append(GTK_BOX(box), slider);
gtk_widget_set_hexpand(slider, TRUE);
gtk_widget_set_visible (slider, TRUE);
gtk_widget_set_visible (box, TRUE);
return box;
}
/*
* Creates GLArea and indexes it
*
* @params target_mode, meaning which graphics_stack we're on
* target_widget, meaning the box that will host the GLArea
*
* @returns bool, true if success
*/
bool graphics_setup_glarea(int target_mode, GtkWidget *target_widget)
{
GtkWidget *gl_area;
g_printerr("[debug] graphics_setup_glarea()\n");
assert(target_widget);
g_printerr("[debug] graphics_setup_glarea() : target is %p\n", target_widget);
if (stack_index == NULL) {
stack_index = g_malloc(sizeof(struct stack_index_t));
stack_index_size = 1;
} else {
// look for stack_index entry
for (int i = 0; i < stack_index_size; i++) {
if (stack_index[i].container_widget == (void *)target_widget) {
return false;
}
}
// create entry
stack_index =
g_realloc(stack_index,
++stack_index_size * sizeof(struct stack_index_t));
}
gl_area = GTK_WIDGET(gtk_gl_area_new());
assert(gl_area);
gtk_widget_set_size_request(gl_area, GL_AREA_1000, GL_AREA_1000);
gtk_gl_area_set_auto_render(GTK_GL_AREA(gl_area), true);
gtk_widget_set_hexpand(gl_area, TRUE);
gtk_widget_set_vexpand(gl_area, TRUE);
gtk_widget_set_halign(gl_area, GTK_ALIGN_CENTER);
gtk_widget_set_valign(gl_area, GTK_ALIGN_CENTER);
// The main "draw" call for GtkGLArea
g_signal_connect(GTK_GL_AREA(gl_area), "render", G_CALLBACK(on_glarea_render), NULL);
g_signal_connect(gl_area, "realize", G_CALLBACK(on_glarea_realize), NULL);
g_signal_connect(gl_area, "unrealize", G_CALLBACK(on_glarea_unrealize), NULL);
stack_index[stack_index_size-1].container_widget =
(void*)target_widget;
stack_index[stack_index_size-1].gl_area = (void*)gl_area;
g_printerr("[debug] graphics_setup_glarea() : set target to %p\n", target_widget);
g_printerr("[debug] graphics_setup_glarea() : stack_index (@0x%p) had %ld elements\n",
stack_index,
stack_index_size);
gtk_box_append (GTK_BOX (target_widget), gl_area);
gtk_widget_set_visible (GTK_WIDGET (gl_area), TRUE);
// Create sliders
for(int i = 0; i < N_AXIS; i++)
gtk_box_append(GTK_BOX(target_widget), create_axis_slider(i));
return true;
}

View File

@ -1,13 +1,11 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* * * Main functions *
* Main *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Arthur Menges <arthur.menges@a-lec.org> * * Copyright © 2021 Arthur Menges <arthur.menges@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> * * Copyright © 2021-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021-2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -25,8 +23,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */

View File

@ -1,12 +1,10 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* * * Parsing functions *
* Parsing model XML *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> * * Copyright © 2021-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> * * Copyright © 2021-2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +22,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <libxml/parser.h> #include <libxml/parser.h>

View File

@ -1,12 +1,11 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* * * Events management functions *
* Signals *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> * * Copyright © 2021 Arthur Menges <arthur.menges@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> * * Copyright © 2021-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021-2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +23,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Rules tree misc *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../../include/fsm.h" #include "../../../../include/fsm.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Rules dispatcher *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/fsm.h" #include "../../../include/fsm.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Rules tree dispatcher *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../../include/fsm.h" #include "../../../../include/fsm.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Rules tree misc *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../../include/fsm.h" #include "../../../../include/fsm.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Rules tree misc *
* * * *
* Labo * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../../include/widget.h" #include "../../../../include/widget.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Rules tree misc *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../../include/fsm.h" #include "../../../../include/fsm.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Rules tree misc *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../../include/fsm.h" #include "../../../../include/fsm.h"

View File

@ -1,12 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Widget dispatcher *
* * * *
* Callbacks header * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */

View File

@ -1,12 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Measure widget dispatcher *
* * * *
* Windows && Headers * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/base.h" #include "../../../include/base.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Algebra rules dispatcher *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../../include/fsm.h" #include "../../../../include/fsm.h"

View File

@ -1,6 +1,6 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Gem-graph client * * Gem-graph client *
* Graphics - initialization and graphic stack management * * Algebra rules utilities *
* * * *
* Copyright © 2024 Libre en Communs <contact@a-lec.org> * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2023-2024 Adrien Bourmault <neox@a-lec.org> * * Copyright © 2023-2024 Adrien Bourmault <neox@a-lec.org> *

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Geometry rules dispatcher *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/fsm.h" #include "../../../include/fsm.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Geometry rules widgets *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../../include/fsm.h" #include "../../../../include/fsm.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Geometry rules editor *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../../include/fsm.h" #include "../../../../include/fsm.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Geometry rules enquire *
* * * *
* Rules * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../../include/fsm.h" #include "../../../../include/fsm.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Results widget dispatcher *
* * * *
* Stock * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/base.h" #include "../../../include/base.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Results display functions *
* * * *
* Stock * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/base.h" #include "../../../include/base.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Results organization *
* * * *
* Stock * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,8 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/base.h" #include "../../../include/base.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* State - bottom area *
* * * *
* State * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/fsm.h" #include "../../../include/fsm.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* State dispatcher *
* * * *
* State * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/fsm.h" #include "../../../include/fsm.h"

View File

@ -1,21 +1,22 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* Gem-graph client * * Gem-graph client *
* State * * State - middle area *
* * * *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* Copyright © 2023-2024 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2024 Jean Sirmai <jean@a-lec.org> * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
* This program is free software: you can redistribute it and/or modify it * * This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU Affero General Public License * * under the terms of the GNU Affero General Public License *
* as publishedby the Free Software Foundation, * * as published by the Free Software Foundation, *
* either version 3 of the License, or (at your option) any later version. * * 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, * * This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of * * but WITHOUT ANY WARRANTY; *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * without even the implied warranty of MERCHANTABILITY *
* or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU Affero General Public License for more details. * * See the GNU Affero General Public License for more details. *
* * * *
* You should have received a copy of the GNU Affero General Public License * * You should have received a copy of the GNU Affero General Public License *

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* State - top area *
* * * *
* State * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/fsm.h" #include "../../../include/fsm.h"

View File

@ -1,12 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Synthesis dispatcher *
* * * *
* Windows && Headers * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/base.h" #include "../../../include/base.h"

View File

@ -1,11 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Synthesis time function *
* * * *
* Stock * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -23,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/base.h" #include "../../../include/base.h"

View File

@ -1,12 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Topbar dialog functions *
* * * *
* Windows && Headers * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/base.h" #include "../../../include/base.h"

View File

@ -1,12 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Topbar dispatcher *
* * * *
* Windows && Headers * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/base.h" #include "../../../include/base.h"

View File

@ -1,12 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Topbar left area *
* * * *
* Windows && Headers * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/base.h" #include "../../../include/base.h"

View File

@ -1,12 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Topbar polytext functions *
* * * *
* Windows && Headers * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/util.h" #include "../../../include/util.h"

View File

@ -1,12 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Topbar right area *
* * * *
* Windows && Headers * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../../include/base.h" #include "../../../include/base.h"

View File

@ -1,12 +1,9 @@
/* * * * * * * * * * * * * * * * * * * * * * * * * * * /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* Gem-graph client * * Gem-graph client *
* Widget tree functions *
* * * *
* Tree * * Copyright © 2024 Libre en Communs <contact@a-lec.org> *
* * * Copyright © 2024 Jean Sirmai <jean@a-lec.org> *
* Copyright © 2021 Libre en Communs <contact@a-lec.org> *
* Copyright © 2021 Adrien Bourmault <neox@a-lec.org> *
* Copyright © 2021 Jean Sirmai <jean@a-lec.org> *
* * * *
* This file is part of Gem-graph. * * This file is part of Gem-graph. *
* * * *
@ -24,8 +21,7 @@
* * * *
* You should have received a copy of the GNU Affero General Public License * * 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/>. * * along with this program. If not, see <http://www.gnu.org/licenses/>. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
* * * * * * * * * * * * * * * * * * * * * * * * * * */
#include "../../include/signal.h" #include "../../include/signal.h"