It also suggests: There is another issue I also noticed this function: C  void grace_close_and_pull(FILE *fp) { opened_files_stack = g_list_remove(opened_files_stack, fp); if (fp == stdin || fp == stderr || fp == stdout) fclose(fp); } This condition is backwards. It currently closes only the standard streams, which is almost certainly not what you want. It should probably be: C  if (fp != stdin && fp != stderr && fp != stdout) grace_close(fp); or at least: C  if (fp != stdin && fp != stderr &&...
OK, AI solved it....need an extra } bracket in grace_close (before the fp = NULL;)
Sorry the error is a a bit different, I was moving the semicolon out to see if it fixes it (no c programmer). files.c: In function ‘grace_close’: files.c:1312:12: error: invalid storage class for function ‘project_wipeout’ 1312 | static int project_wipeout (void) { return wipeout(); } files.c: In function ‘grace_close’: files.c:1587:12: error: invalid storage class for function ‘sel_cols_names_parse’ 1587 | static int sel_cols_names_parse (BlockDataStruct ssd ,char s ,int linelen) | ^~~~~~~~~~~~~~~~~~~~...
Compiler error with latest patch
My interest in GraceGTK interface had been lessen by the new subjects has AI and by the evolution of GTK with always more incompatibilities with old versions. I have recently tried the Debian13 (13.5) and found that some GraceGTK tests returns incorrect results (i.e Nonlinear fit/Levenberg (batch)). The Debian 13 shows others deficiencies on my (old) computer, thus I advise against using GraceGTK with this version.
Sorry but I have no knowledge about Apple system and no access to an Apple computer, thus somebody else should help you. Thanks for your interest in GraceGTK
Suppress pclose()/fclose() warning in grace_close()
Add a note about WRITE/-unsafe line option
Correct bug in Locator preferences managment
Core dump GTK3 version
Got SIGSYS message when run on apple computer (compiled with macport or homebrew)
Add "File/Import/.agr file" menu item
Add missing MA_GLUE_ABLE
Correct bug: "graph hidden" not saved
Declare gchar *tmp out of case:
Created a function to wait for the GUI to display completely when data arrives from a file or stdin in the main loop
project_read_template (); Reorganization of memory allocations and freeing
grace_openr (); : Replace the local buffer limited by its size to display error messages with a dynamic allocation in the heap
files.c Changing the use of grace_path ();
gg_gui_set_default (); Changing the use of grace_path ();
driver_cairo_fonts_init (); Changing the use of grace_path ();
gg_help (); Changing the use of grace_path ();
netcdf.c Changing the use of grace_path ();
grace_path (); Wrong syntax of g_strdup_printf ();
init_t1(); Changing the use of grace_path ();
grace_path (); returns now an allocated char*.
SpreadSheet: debug x and y in XYCMAP case
Avoid unwanted asking in non linear fit by hand
Add INSTALL file
Update GraceGTK.tex
Change icon in ./glade and add 2 xfig files in ./examples/Makefile
Add block_instant_update in gg_print
Change ng_fonts.agr page size to 842 ,595 (A4,Landscape)
Correct glade/Makefile and gg_print_version_CB()
CUPS revisited, debug printer use
Cosmetic change
Create GG3 icon file
Add templates/gracegtk3_icon_48x48.png
Add missing po->hidden in nn_cmd_graph()
Debug gset_find_point()
First actualization of GraceGTK.tex
For MSWinsows: add dummy expand_tilde()
Correct buildinfo and cursor templates
Add missing G_MODULE_EXPORT
Cosmetic changes
Add obj_move_command() with undo/redo
Debug obj_move() for graphs
Debug ge_axis.c
Debug pars.yacc: ad gs for selectgraph
Makes collective update of axes work
Cosmetic change
Debug color setting with gg_panels
Debug drawing stacked GRAPH_CHART with various layers
Glade files: suppress GtkAlignment and margin(left/right)
Makes collective update of graphs work
Cosmetic changes
Replace gtkextra-marshal.[c,h] by gg_marshal;[c,h]
Suppress other warnings in T1lib
Replace gdk_beep() by gdk_display_beep()
Suppress not used col_clicked_CB() in gg_gset_data_edit
Suppress some warnings in T1lib and gw
Makes mouse scaling work
Cosmetic changes: suppress commented lines
Add rotation of labels in zc_contours
Minor changes un CEPHES to avoid compilation warnings
Cosmetic changes: suppress commented lines
Suppress warning compiling draw_pixbuf()
Suppress not yet used call to check_layer()
Glade save Arc.glade without errors
Glade no longer display errors saving Axis.glade
Save Arc.glade with glade 3.20.0 (_ => -) and deprecated features
Many many changes to make tests work
Add src/.dir-locals.el for eamcs find-tag
Cosmetic change in toms626
Add templates/*.png cursor files
Add new examples xfig files
Cosmetic: change comment for linew in defines.h
driver_events.c not yet usable
scale_cursor reset to GDK_FLEUR
Cosmetic: suppress rot in compute_handles() args
Adding missing if (block_instant_update) in ge_obj.c
Correct bug: open_arc_tighten_bbox() now works with rot not null
Minor changes in doc/GraceGTK.tex
Remove gwmanspinbutton
Add -Wno-deprecated-declarations in buildinfo/Makefile
VERSION 1.3.0
Hi, the "GraceGTK: read to graph" pane is still a single-line wide (under read ascii data). The other two look good now. Thanks!
Hi, Good remarks, I had pushed into GIT repository amendments. I will soon post a new release including new selection method for objects. Regards, PV
src/Makefile : add -Wno-deprecated-declarations
Increase height of graph lists (ticket 12)
Narrow window panes
Add scale_cursor GDK_CENTER_PTR
Cosmetic change: compute_rotated_handles() => compute_handles()
pars.yacc: restore jo=graph_next(); in WITH selectgraph
Enhance Legend placement in graph_copy()