Compare commits

...

7 Commits

Author SHA1 Message Date
Jean Sirmai 864e06618f
src/*: add proper LICENSE notices 2024-10-28 14:21:22 +01:00
Jean Sirmai 73c474b765
docs/doxyfile,html,rtfm/man3/*, Makefile: integrate doxygen for documentation
We wanted to have an automated documentation for our project. We choose doxygen
since this is a well-established project, with common standards.

To generate the documentation, simply type `make docs` and open `docs/html/index.html`.

TODO: properly document the whole project.
2024-10-28 14:15:48 +01:00
Jean Sirmai 43ddfad3af
docs/*notes*: add personal notes (TODO refactor) 2024-10-28 14:03:42 +01:00
Jean Sirmai 60f5b7a00d
docs/*: create a documentation zone, with different ressources that help development
It actually contains:
	- archives: several files from past of the projects, historical purpose
	- GTK-docs: ressources on GTK internals and API
	- rtfm: first draft of a user manual
	- showcase: some pictures of the UI example, that were communicated on the Gem-graph discussion room (XMPP)
2024-10-28 13:58:28 +01:00
Jean Sirmai 549431196b
scripts/*: add a script that can list every function name 2024-10-28 13:50:56 +01:00
Jean Sirmai 93e19a618c
data/*: add various images, pictures and so on
This commit adds various data in order to use them in the UI for example purpose.
2024-10-28 13:48:43 +01:00
Adrien Bourmault 74a79e0cf5
Makefile: fixed OpenGL lib configurations (gl->epoxy)
This commit fixes a build error with gl not being the correct
library for GLArea use.
2024-10-28 13:46:13 +01:00
659 changed files with 97316 additions and 124 deletions

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
bin/*
build/*
docs/html/*
docs/rtfm/man3/*
scripts/junk

View File

@ -1,4 +1,4 @@
.PHONY: run clean install all
.PHONY: run clean install all docs
.DELETE_ON_ERROR: $(BINDIR)/Getting_Started_with_GTK
.DEFAULT_GOAL: all
@ -6,8 +6,9 @@ CPUS ?= $(shell (nproc --all || sysctl -n hw.ncpu) 2>/dev/null || echo 1)
MAKEFLAGS += --jobs=$(CPUS)
CC=gcc
CFLAGS=`pkg-config --cflags gtk4 gl glib-2.0 libxml-2.0`
LDFLAGS=`pkg-config --libs gtk4 gl glib-2.0 libxml-2.0` -lGL -lGLU -lm -lepoxy -lX11 -lGLEW
DOXYGEN=doxygen
CFLAGS=`pkg-config --cflags gtk4 epoxy glib-2.0 libxml-2.0`
LDFLAGS=`pkg-config --libs gtk4 epoxy glib-2.0 libxml-2.0` -lGL -lGLU -lm -lepoxy -lX11 -lGLEW
WARNINGS = -Wall
DEBUG = -ggdb -fno-omit-frame-pointer #-fdiagnostics-color=always -fsanitize=bounds -fstack-check
OPTIMIZE = -O3
@ -15,6 +16,7 @@ OPTIMIZE = -O3
BINDIR=bin
BUILDDIR=build
SRCDIR=src
DOCSDIR=docs
SOURCES = $(shell find $(SRCDIR) -type f -name "*.c")
OBJECTS = $(patsubst %.c,$(BUILDDIR)/%.o,$(SOURCES))
@ -69,6 +71,10 @@ install:
run: $(BINDIR)/gem-graph-client
$(BINDIR)/gem-graph-client
docs: $(SOURCES) $(DEPENDENCIES)
@$(DOXYGEN) $(DOCSDIR)/doxyfile
@echo " DOXYGEN $(DOCSDIR)/doxyfile"
clean:
@rm -rf $(BINDIR)
@echo " RM $(BINDIR)"

8
data/gnuplot/a_cmd.plt Normal file
View File

@ -0,0 +1,8 @@
# Fichier de commande pour gnuplot
# En ligne de commande : load "data/gnuplot/a_cmd.plt"
#
set zeroaxis
plot cos(x),\
sin(x)
reset

15
data/gnuplot/sin Normal file
View File

@ -0,0 +1,15 @@
-7.000 -0.657
-6.000 0.279
-5.000 0.959
-4.000 0.757
-3.000 -0.141
-2.000 -0.909
-1.000 -0.841
0.000 0.000
1.000 0.841
2.000 0.909
3.000 0.141
4.000 -0.757
5.000 -0.959
6.000 -0.279
7.000 0.657

View File

@ -0,0 +1 @@
Jean Sirmai,jean,n-guix-port,03.08.2024 17:28,file:///home/jean/.config/libreoffice/4;

View File

@ -0,0 +1 @@
Jean Sirmai,jean,n-guix-port,03.08.2024 17:28,file:///home/jean/.config/libreoffice/4;

BIN
data/image/ADP.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

BIN
data/image/AMP.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

BIN
data/image/ATP.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

BIN
data/image/aXoris.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
data/image/acetic acid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

BIN
data/image/biotin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
data/image/data charts.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 75 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 119 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 137 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 132 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

BIN
data/image/dopamine.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

BIN
data/image/folic acid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

BIN
data/image/glutamate.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

BIN
data/image/glutamine.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 167 KiB

BIN
data/image/glutathione.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 140 KiB

BIN
data/image/glycerol.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

BIN
data/image/hb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 707 KiB

BIN
data/image/insuline Zn.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 702 KiB

BIN
data/image/insuline.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 256 KiB

BIN
data/image/lactic acid.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 KiB

BIN
data/image/legumin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

BIN
data/image/pyridoxin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 KiB

BIN
data/image/riboflavin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

BIN
data/image/ribonuclease.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 491 KiB

BIN
data/image/xyz icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

BIN
data/stamp/ADP.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
data/stamp/ADP.pdf Normal file

Binary file not shown.

BIN
data/stamp/AMP.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
data/stamp/AMP.xcf Normal file

Binary file not shown.

BIN
data/stamp/DNA.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
data/stamp/balance icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
data/stamp/bug.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
data/stamp/buoy.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
data/stamp/calibrate.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
data/stamp/camera icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
data/stamp/camera.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
data/stamp/choice.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 955 B

BIN
data/stamp/clean.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
data/stamp/crop.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

BIN
data/stamp/crossroads.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
data/stamp/factory.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
data/stamp/gem graph.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
data/stamp/harbor.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
data/stamp/linux.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
data/stamp/microscope.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
data/stamp/presentation.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1016 B

BIN
data/stamp/radar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

BIN
data/stamp/radioactive.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
data/stamp/rider.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
data/stamp/running.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
data/stamp/répare.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
data/stamp/slack.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
data/stamp/stamp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
data/stamp/this way.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 884 B

BIN
data/stamp/transmission.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Some files were not shown because too many files have changed in this diff Show More