diff --git a/callback.d b/callback.d new file mode 100644 index 0000000..72ca2c2 --- /dev/null +++ b/callback.d @@ -0,0 +1,5 @@ +callback.o: callback.c tree.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib.h \ + display.h contain.h texts.h in_depth.h parsing.h base.h graph_area.h \ + /gnu/store/0gxl8awg16qysdmxsflwnz0gyynrgs99-mesa-24.0.4/include/GL/glext.h \ + /gnu/store/0gxl8awg16qysdmxsflwnz0gyynrgs99-mesa-24.0.4/include/KHR/khrplatform.h diff --git a/callback.o b/callback.o new file mode 100644 index 0000000..0dc33b8 Binary files /dev/null and b/callback.o differ diff --git a/contain.d b/contain.d new file mode 100644 index 0000000..dbb58bb --- /dev/null +++ b/contain.d @@ -0,0 +1,3 @@ +contain.o: contain.c callback.h display.h tree.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib.h \ + contain.h texts.h diff --git a/contain.o b/contain.o new file mode 100644 index 0000000..af30f0c Binary files /dev/null and b/contain.o differ diff --git a/display.d b/display.d new file mode 100644 index 0000000..fb49706 --- /dev/null +++ b/display.d @@ -0,0 +1,3 @@ +display.o: display.c contain.h tree.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib.h \ + display.h texts.h diff --git a/display.o b/display.o new file mode 100644 index 0000000..2bd4e21 Binary files /dev/null and b/display.o differ diff --git a/draw.c.todo b/draw.c.todo new file mode 100644 index 0000000..53f0079 --- /dev/null +++ b/draw.c.todo @@ -0,0 +1,207 @@ +/* + * Gem-graph OpenGL experiments + * + * Desc: GL functions + * + * Copyright (C) 2023 Adrien Bourmault + * Copyright (C) 2023 Jean Sirmai + * + * 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 . + */ + +/* + * Writes values to describe a vertex at (x,y,z) intoq the vertex buffer + * + * @param coords GLfloat(x,y,z) + * + * @return void + */ + +#include +#include +#include +#include "base.h" +//#include "ui.h" +#include "graph_area.h" + +void graphics_draw_vertex (const int stack_id, + GLfloat x, + GLfloat y, + GLfloat z) +{ + //g_printerr("stack_id is %d\n", stack_id); + //g_printerr("stack_id is %d\n", stack_id); + //g_printerr("graphic_stack is at %p\n", graphic_stack); + //g_printerr("graphic_stack[stack_id] is at %p\n", graphic_stack + stack_id); + volatile struct graphic_stack_t *stack = &graphic_stack[stack_id]; + + //g_printerr("Currently stack->buffer_vertex_origin @ %p\n", stack->buffer_vertex_origin); + + //assert (stack->buffer_vertex_origin); + + stack->buffer_vertex_origin = + g_realloc (stack->buffer_vertex_origin, + (stack->buffer_vertex_size + 3) * sizeof(GLfloat)); + //print_stack(stack_id); + + stack->buffer_vertex_origin[stack->buffer_vertex_size + 0] = x; + stack->buffer_vertex_origin[stack->buffer_vertex_size + 1] = y; + stack->buffer_vertex_origin[stack->buffer_vertex_size + 2] = z; + + stack->buffer_vertex_size += 3; +} + +/* + * Writes values to describe a color (r,g,b) into the color buffer + * + * @param color GLfloat(r,g,b) + * + * @return void + */ +void graphics_draw_color (const int stack_id, + GLfloat r, + GLfloat g, + GLfloat b) +{ + struct graphic_stack_t *stack = &graphic_stack[stack_id]; + + stack->buffer_colors_origin = g_realloc (stack->buffer_colors_origin, + (stack->buffer_colors_size + 3) * sizeof(GLfloat)); + + assert (stack->buffer_colors_origin); + + stack->buffer_colors_origin[stack->buffer_colors_size + 0] = r; + stack->buffer_colors_origin[stack->buffer_colors_size + 1] = g; + stack->buffer_colors_origin[stack->buffer_colors_size + 2] = b; + + stack->buffer_colors_size += 3; +} + +/* + * Writes values to describe a line from a to b into the line buffer + * + * @param coords GLuint (a,b) + * + * @return void + */ +void graphics_draw_line (const int stack_id, + GLuint a, + GLuint b) +{ + struct graphic_stack_t *stack = &graphic_stack[stack_id]; + + stack->buffer_lines_origin = g_realloc (stack->buffer_lines_origin, + (stack->buffer_lines_size + 2) * sizeof(GLuint)); + + assert (stack->buffer_lines_origin); + + stack->buffer_lines_origin[stack->buffer_lines_size + 0] = a; + stack->buffer_lines_origin[stack->buffer_lines_size + 1] = b; + + stack->buffer_lines_size += 2; +} + +/* + * Writes values to describe an (a,b,c) plan (triangle) into the plan buffer + * + * @param coords GLuint (a,b,c) + * + * @return void + */ +void graphics_draw_plan (const int stack_id, + GLuint a, + GLuint b, + GLuint c) +{ + struct graphic_stack_t *stack = &graphic_stack[stack_id]; + + stack->buffer_plans_origin = g_realloc (stack->buffer_plans_origin, + (stack->buffer_plans_size + 3) * sizeof(GLuint)); + + assert (stack->buffer_plans_origin); + + stack->buffer_plans_origin[stack->buffer_plans_size + 0] = a; + stack->buffer_plans_origin[stack->buffer_plans_size + 1] = b; + stack->buffer_plans_origin[stack->buffer_plans_size + 2] = c; + + stack->buffer_plans_size += 3; +} + +/* + * Draws the current buffer to a gl_area + * + * @param gl_area, ptr to the gl_area widget + * + * @return void + */ +void graphics_draw(const int stack_id) +{ + struct graphic_stack_t *stack = &graphic_stack[stack_id]; + + //g_printerr("[debug] graphics_draw() started\n"); + + //print_stack(stack_id); + + GLint cur_viewport[4]; + glGetIntegerv(GL_VIEWPORT, cur_viewport); + + mat4 m = GLM_MAT4_IDENTITY_INIT; + glm_rotate_x(m, glm_rad(stack->rotation_angles[X_AXIS]), m); + glm_rotate_y(m, glm_rad(stack->rotation_angles[Y_AXIS]), m); + glm_rotate_z(m, glm_rad(stack->rotation_angles[Z_AXIS]), m); + + mat4 v = GLM_MAT4_IDENTITY_INIT; // XXX define zoom and translations here ? + + mat4 p = GLM_MAT4_IDENTITY_INIT; + //glm_ortho(-1.0f, +1.0f, -1.0f, +1.0f, -1.0f, +1.0f, p); + glm_ortho_default((float)cur_viewport[2] / (float)cur_viewport[3], p); + //glm_perspective_default((float)cur_viewport[2] / (float)cur_viewport[3], p); + + /* Use our shaders */ + glUseProgram(stack->program); + + glClearColor(0, 0, 0, 1); + glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); + + /* Update the "mvp" matrix we use in the shader */ + glUniformMatrix4fv(stack->m, 1, GL_FALSE, (float *)m); + glUniformMatrix4fv(stack->v, 1, GL_FALSE, (float *)v); + glUniformMatrix4fv(stack->p, 1, GL_FALSE, (float *)p); + + /* Use the vertices in our buffer */ + glEnableVertexAttribArray(0); + glBindBuffer(GL_ARRAY_BUFFER, stack->position_buffer); + glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, 0,(void*)0); + + // couleurs + glEnableVertexAttribArray(1); + glBindBuffer(GL_ARRAY_BUFFER, stack->color_buffer); + glVertexAttribPointer(1, 3, GL_FLOAT, GL_FALSE, 0,(void*)0); + + //glEnable(GL_DEPTH_TEST); + + glDrawElements(GL_LINES, stack->buffer_lines_size, GL_UNSIGNED_INT, stack->buffer_lines_origin); + glDrawElements(GL_TRIANGLES, stack->buffer_plans_size, GL_UNSIGNED_INT, stack->buffer_plans_origin); + + /* We finished using the buffers and program */ + glDisableVertexAttribArray(0); + glDisableVertexAttribArray(1); + glBindBuffer(GL_ARRAY_BUFFER, 0); + glUseProgram(0); + + glFlush(); + //g_printerr("[debug] graphics_draw() ended\n"); +} diff --git a/graph_area.d b/graph_area.d new file mode 100644 index 0000000..19fb827 --- /dev/null +++ b/graph_area.d @@ -0,0 +1,6 @@ +graph_area.o: graph_area.c \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib.h \ + contain.h graph_area.h \ + /gnu/store/0gxl8awg16qysdmxsflwnz0gyynrgs99-mesa-24.0.4/include/GL/glext.h \ + /gnu/store/0gxl8awg16qysdmxsflwnz0gyynrgs99-mesa-24.0.4/include/KHR/khrplatform.h \ + base.h callback.h diff --git a/graph_area.h b/graph_area.h index 7365f96..3a5b64a 100644 --- a/graph_area.h +++ b/graph_area.h @@ -32,6 +32,7 @@ #include #include "base.h" +//#include "draw.c" #define VERTEX_SHADER_FILE "src/graphics/shaders/shader.vert" #define FRAG_SHADER_FILE "src/graphics/shaders/shader.frag" diff --git a/graph_area.o b/graph_area.o new file mode 100644 index 0000000..e9bdb33 Binary files /dev/null and b/graph_area.o differ diff --git a/graph_stack.d b/graph_stack.d new file mode 100644 index 0000000..252928c --- /dev/null +++ b/graph_stack.d @@ -0,0 +1,6 @@ +graph_stack.o: graph_stack.c contain.h graph_area.h \ + /gnu/store/0gxl8awg16qysdmxsflwnz0gyynrgs99-mesa-24.0.4/include/GL/glext.h \ + /gnu/store/0gxl8awg16qysdmxsflwnz0gyynrgs99-mesa-24.0.4/include/KHR/khrplatform.h \ + base.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib.h \ + parsing.h diff --git a/graph_stack.o b/graph_stack.o new file mode 100644 index 0000000..68f6ce7 Binary files /dev/null and b/graph_stack.o differ diff --git a/in_depth.d b/in_depth.d new file mode 100644 index 0000000..cced342 --- /dev/null +++ b/in_depth.d @@ -0,0 +1 @@ +in_depth.o: in_depth.c callback.h diff --git a/in_depth.o b/in_depth.o new file mode 100644 index 0000000..d78f4ff Binary files /dev/null and b/in_depth.o differ diff --git a/init.d b/init.d new file mode 100644 index 0000000..23f08cd --- /dev/null +++ b/init.d @@ -0,0 +1,91 @@ +init.o: init.c base.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/galloca.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtypes.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/lib/glib-2.0/include/glibconfig.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmacros.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gversionmacros.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/glib-visibility.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/garray.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gasyncqueue.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gthread.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gatomic.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/glib-typeof.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gerror.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gquark.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gutils.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gbacktrace.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gbase64.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gbitlock.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gbookmarkfile.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gdatetime.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtimezone.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gbytes.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gcharset.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gchecksum.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gconvert.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gdataset.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gdate.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gdir.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/genviron.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gfileutils.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/ggettext.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/ghash.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/glist.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmem.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gnode.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/ghmac.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gchecksum.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/ghook.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/ghostutils.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/giochannel.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmain.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gpoll.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gslist.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gstring.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gunicode.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gstrfuncs.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gkeyfile.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmappedfile.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmarkup.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmessages.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gvariant.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gvarianttype.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/goption.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gpathbuf.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gpattern.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gprimes.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gqsort.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gqueue.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/grand.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/grcbox.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/grefcount.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/grefstring.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmem.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmacros.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gregex.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gscanner.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gsequence.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gshell.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gslice.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gspawn.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gstringchunk.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gstrvbuilder.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtestutils.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gthreadpool.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtimer.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtrashstack.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtree.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/guri.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/guuid.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gversion.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/gallocator.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/gcache.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/gcompletion.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/gmain.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/grel.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/gthread.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/glib-autocleanups.h \ + contain.h graph_area.h \ + /gnu/store/0gxl8awg16qysdmxsflwnz0gyynrgs99-mesa-24.0.4/include/GL/glext.h \ + /gnu/store/0gxl8awg16qysdmxsflwnz0gyynrgs99-mesa-24.0.4/include/KHR/khrplatform.h diff --git a/init.o b/init.o new file mode 100644 index 0000000..c8ab428 Binary files /dev/null and b/init.o differ diff --git a/main.d b/main.d new file mode 100644 index 0000000..6c89c45 --- /dev/null +++ b/main.d @@ -0,0 +1 @@ +main.o: main.c callback.h diff --git a/main.o b/main.o new file mode 100644 index 0000000..396a812 Binary files /dev/null and b/main.o differ diff --git a/myprogram b/myprogram new file mode 100755 index 0000000..ce3e784 Binary files /dev/null and b/myprogram differ diff --git a/parsing.d b/parsing.d new file mode 100644 index 0000000..329b8de --- /dev/null +++ b/parsing.d @@ -0,0 +1,112 @@ +parsing.o: parsing.c \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/tree.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xmlversion.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xmlexports.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xmlstring.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xmlregexp.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/dict.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xmlmemory.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/threads.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/globals.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/parser.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/hash.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/valid.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xmlerror.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/list.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xmlautomata.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/entities.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/encoding.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xmlIO.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/SAX2.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xlink.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xmlreader.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/relaxng.h \ + /gnu/store/dla8vj5s4gbndcikqsgdq2ydaisngf5b-libxml2-2.9.14/include/libxml2/libxml/xmlschemas.h \ + base.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/galloca.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtypes.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/lib/glib-2.0/include/glibconfig.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmacros.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gversionmacros.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/glib-visibility.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/garray.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gasyncqueue.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gthread.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gatomic.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/glib-typeof.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gerror.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gquark.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gutils.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gbacktrace.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gbase64.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gbitlock.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gbookmarkfile.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gdatetime.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtimezone.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gbytes.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gcharset.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gchecksum.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gconvert.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gdataset.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gdate.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gdir.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/genviron.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gfileutils.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/ggettext.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/ghash.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/glist.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmem.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gnode.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/ghmac.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gchecksum.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/ghook.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/ghostutils.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/giochannel.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmain.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gpoll.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gslist.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gstring.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gunicode.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gstrfuncs.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gkeyfile.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmappedfile.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmarkup.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmessages.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gvariant.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gvarianttype.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/goption.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gpathbuf.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gpattern.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gprimes.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gqsort.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gqueue.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/grand.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/grcbox.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/grefcount.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/grefstring.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmem.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gmacros.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gregex.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gscanner.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gsequence.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gshell.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gslice.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gspawn.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gstringchunk.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gstrvbuilder.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtestutils.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gthreadpool.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtimer.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtrashstack.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gtree.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/guri.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/guuid.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/gversion.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/gallocator.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/gcache.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/gcompletion.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/gmain.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/grel.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/deprecated/gthread.h \ + /gnu/store/hsby4biv4wjywr7slvjf0ykk1xzf31xb-glib-2.78.0/include/glib-2.0/glib/glib-autocleanups.h diff --git a/parsing.o b/parsing.o new file mode 100644 index 0000000..5821f88 Binary files /dev/null and b/parsing.o differ diff --git a/texts.d b/texts.d new file mode 100644 index 0000000..18de62c --- /dev/null +++ b/texts.d @@ -0,0 +1 @@ +texts.o: texts.c diff --git a/texts.o b/texts.o new file mode 100644 index 0000000..bc9f402 Binary files /dev/null and b/texts.o differ diff --git a/tree.d b/tree.d new file mode 100644 index 0000000..dccd5fb --- /dev/null +++ b/tree.d @@ -0,0 +1 @@ +tree.o: tree.c contain.h texts.h callback.h diff --git a/tree.o b/tree.o new file mode 100644 index 0000000..e01a976 Binary files /dev/null and b/tree.o differ