[go: up one dir, main page]

Activity for Xfig

  • tkl tkl modified ticket #198

    [Patch] Fix typo in export menu

  • tkl tkl posted a comment on ticket #198

    Thank you, applied with commit [396dff].

  • tkl tkl committed [396dff] on xfig

    Fix typo for GERBER export menu

  • tkl tkl posted a comment on ticket #197

    I think a superior solution is to remove the .ad extension from all files and from the references to those files. I did not find an .ad extension elsewhere.

  • Luc Hondareyte Luc Hondareyte created ticket #198

    [Patch] Fix typo in export menu

  • Ryan Carsten Schmidt Ryan Carsten Schmidt created ticket #197

    README refers to nonexistent Fig.ad

  • tkl tkl modified ticket #196

    Small radius circles not rasterised

  • Hubert M.J. Cantalloube Hubert M.J. Cantalloube posted a comment on ticket #196

    thanks,

  • tkl tkl modified ticket #196

    Small radius circles not rasterised

  • tkl tkl posted a comment on ticket #196

    The behaviour as reported was introduced with commit [c4465e] and affects the development version of fig2dev. In my tests with fig2dev 3.2.9a, all three circles described above rendered correctly. Commit [d8e1ce] now partially reverts the commit mentioned above. This issue reveals a faulty design decision made previously with commit [c4465e]. Luckily, it was discovered quickly. Originally, one of the output backends of fig2dev would have problems with too small circles. Initially it was thought that...

  • tkl tkl committed [4641f0] on fig2dev

    Correct line counting in fig files

  • tkl tkl committed [d8e1ce] on fig2dev

    Allow circles with small radius, ticket #196

  • Hubert M.J. Cantalloube Hubert M.J. Cantalloube created ticket #196

    Small radius circles not rasterised

  • tkl tkl modified ticket #10

    Crash while editing text element

  • tkl tkl posted a comment on ticket #10

    The issue can be avoided with commit [35899d] by applying Athena Translations only to the text widget, not to the scrollbar, Text.translations instead of Text*translations. The issue is also fixed upstreams in libxaw3d.

  • tkl tkl committed [ee3f4d] on fig2dev

    Avoid some compilation warnings

  • tkl tkl modified ticket #187

    SEGV on read_arcobject()

  • tkl tkl posted a comment on ticket #187

    The issue was suppressed with commit [1e5515], and really resolved with [c4465e].

  • tkl tkl modified ticket #192

    stack-overflow on bezier_spline()

  • tkl tkl posted a comment on ticket #192

    Commit [dfa8b6] fixes this issue.

  • tkl tkl modified ticket #190

    SEGV on genge_itp_spline()

  • tkl tkl posted a comment on ticket #190

    Fixed with commit [2bd6c0].

  • tkl tkl modified ticket #191

    stack-buffer-overflow on read_objects()

  • tkl tkl posted a comment on ticket #191

    Fixed with commit [5f2200].

  • tkl tkl modified ticket #195

    heap-buffer-overflow on StrstrCheck()

  • tkl tkl posted a comment on ticket #195

    Fixed with commit [818cc1].

  • tkl tkl committed [dfa8b6] on fig2dev

    Detect nan in spline control values, ticket #192

  • tkl tkl committed [2bd6c0] on fig2dev

    ge output: correct spline computation, ticket #190

  • tkl tkl committed [5f2200] on fig2dev

    Permit \0 in the second line in the fig file, #191

  • tkl tkl committed [818cc1] on fig2dev

    Recognize a text object with an empty string, #195

  • tkl tkl committed [fc52a1] on fig2dev

    Wrap more fprintf() and fputc() into error-reporting functions

  • tkl tkl committed [34c530] on fig2dev

    Replace putc() and fputc() by putc_out()

  • tkl tkl committed [e0a4c5] on fig2dev

    Replace many print_out(fmt) by puts_out(fmt)

  • tkl tkl committed [0edc23] on fig2dev

    Replace fputs(.., tfp) by puts_out(..)

  • tkl tkl committed [b0b3e8] on fig2dev

    Add error handling to fprintf(tfp,..): print_out(..)

  • tkl tkl committed [73c9d3] on fig2dev

    Simplify err_msg()

  • tkl tkl committed [56ca08] on fig2dev

    Rename from and to to fromname and toname

  • GritLilan GritLilan created ticket #195

    heap-buffer-overflow on StrstrCheck()

  • tkl tkl posted a comment on merge request #1

    Yes, I pulled the changes for xfig from the repository given in https://sourceforge.net/p/mcj/fig2dev/merge-requests/1/. I set the status of this merge request to "merged", since it's content is now contained in xfig.

  • tkl tkl updated merge request #1

    Fix prototypes for modern C

  • Mario Haustein Mario Haustein posted a comment on merge request #1

    After rebasing I learnt you already had cherry-picked my commits during February after the discussion in https://sourceforge.net/p/mcj/fig2dev/merge-requests/1/. So this merge request if effectively empty. Sorry for the noise.

  • tkl tkl posted a comment on merge request #1

    Please, first pull the actual state of master on xfig and rebase the branch prototypes on it On the xfig repository, if tried to merge into a temporary branch based on master. This gave plenty of "Auto-merging ..." messages, indicating that the commits do not introduce new changes, and some merge conflicts. git switch master git branch prototypes git pull git://git.code.sf.net/u/hamarituc/xfig prototypes

  • Mario Haustein Mario Haustein created merge request #1 on xfig

    Fix prototypes for modern C

  • Roland Rosenfeld Roland Rosenfeld posted a comment on ticket #184

    CVE-2025-31164

  • Roland Rosenfeld Roland Rosenfeld posted a comment on ticket #186

    CVE-2025-31163

  • Roland Rosenfeld Roland Rosenfeld posted a comment on ticket #185

    CVE-2025-31162

  • tkl tkl committed [ce9782] on xfig

    Use feature test macros

  • tkl tkl committed [17841d] on xfig

    Replace usleep() by nanosleep()

  • tkl tkl committed [9e9352] on xfig

    Wrap random() and srandom() into xf_(s)random()

  • tkl tkl committed [a58dc8] on xfig

    Include a missing header, for M_PI

  • tkl tkl committed [f68687] on xfig

    Remove isascii(), anyhow it was called unnecessarily

  • tkl tkl committed [955949] on xfig

    Avoid intptr_t, it is optional in C

  • tkl tkl committed [470f5c] on xfig

    Reverse thumb movement direction in the color editor

  • tkl tkl committed [04b10e] on xfig

    Remove intptr_t from w_color.c

  • tkl tkl committed [1262c4] on xfig

    Use S_ISDIR() and S_IWUSR instead of S_IFDIR and S_IWRITE

  • tkl tkl committed [b61b55] on xfig

    Refactor make_pulldown_menu_separator()

  • tkl tkl committed [08473d] on xfig

    Split make_pulldown_menu() into two functions

  • tkl tkl committed [20c5fd] on xfig

    Avoid caddr_t - it might become obsolete

  • tkl tkl committed [6b21d5] on xfig

    Avoid gcc -Wcast-function-type warnings

  • tkl tkl committed [0a3289] on xfig

    Let locate_menu() return a valid error-code

  • tkl tkl posted a comment on ticket #194

    Above patch is applied with commit [d9f210]. However, if I compile with gcc -std=c23, compilation still fails with errors, e.g., error: unknown type name 'caddr_t'. Hence, I will keep this ticket open and see, whether all issues regarding c23 can be resolved.

  • tkl tkl committed [d9f210] on xfig

    Change variable names true/false, which conflict in GCC-15 (C23 standard) with predefined keywords.

  • Roland Rosenfeld Roland Rosenfeld posted a comment on ticket #194

    The attached patch should fix the above mentioned problem with true/false variable names. Using this with in combination with current GIT tree allows to compile xfig with GCC 15.

  • Roland Rosenfeld Roland Rosenfeld posted a comment on ticket #194

    I just noticed, that Mario Haustein already fixed the prototypes in GIT. But when I try to build the GIT version with GCC-15, I still run into the following error: main.c:123:17: error: expected identifier or '(' before 'true' 123 | static Boolean true = True; | ^~~~ main.c:124:17: error: expected identifier or '(' before 'false' 124 | static Boolean false = False; | ^~~~~ main.c:198:66: error: lvalue required as unary '&' operand 198 | XtOffset(appresPtr, allownegcoords), XtRBoolean, (caddr_t) &...

  • Roland Rosenfeld Roland Rosenfeld modified ticket #193

    fig2dev: incompatible with GCC 15 C23 standard

  • Roland Rosenfeld Roland Rosenfeld posted a comment on ticket #193

    I just noted, that https://sourceforge.net/p/mcj/fig2dev/ci/ab4eee3cf0d0c1d861d64b9569a5d1497800cae2/ already fixes this issue.

  • tkl tkl committed [1719e6] on xfig

    Remove checks for strndup() as it is not needed

  • tkl tkl committed [e0379d] on xfig

    Fix miscellaneous prototypes

  • tkl tkl committed [d7c367] on xfig

    Fix X callback prototypes

  • tkl tkl committed [92a826] on xfig

    Fix prototypes for manipulation callbacks

  • tkl tkl committed [70f5cd] on xfig

    Fix prototypes for moving callbacks

  • tkl tkl committed [06ee25] on xfig

    Remove obsolete declarations

  • tkl tkl committed [530c92] on xfig

    Fix old style definitions

  • tkl tkl committed [c34a1b] on xfig

    Fix prototypes for keyboard callbacks

  • tkl tkl committed [0913c4] on xfig

    Fix prototypes for mouse button callbacks

  • tkl tkl committed [53c2a0] on xfig

    Report errors when writing .xfigrc file

  • tkl tkl committed [65a61a] on xfig

    Report errors when writing file for spell check

  • tkl tkl committed [a35e83] on xfig

    Declare local functions as static in w_style.c

  • tkl tkl committed [737535] on xfig

    Report failure to write style file

  • tkl tkl committed [240f3a] on xfig

    Detect failure when saving fig-file

  • tkl tkl committed [d65a31] on xfig

    Remove version 4.0 code

  • Roland Rosenfeld Roland Rosenfeld created ticket #194

    xfig: incompatible with GCC 15 C23 standard

  • Roland Rosenfeld Roland Rosenfeld created ticket #193

    fig2dev: incompatible with GCC 15 C23 standard

  • liuchenyifan liuchenyifan created ticket #192

    stack-overflow on bezier_spline()

  • Andrew Paplinski Andrew Paplinski posted a comment on ticket #189

    thanks again :-) Andrew On 11/02/2025 8:57 pm, tkl wrote: Keeping this ticket open, to remember - to add gswin64c to the executables searched for during ./configure - add an environment variable, e.g, FIG2DEV_GS, to give the user the possibility to override the path to ghostscript, - probably contact cygwin to patch their current xfig distribution. [tickets:#189] https://sourceforge.net/p/mcj/tickets/189/ pdf export does not work Status: open Created: Sat Feb 08, 2025 06:41 AM UTC by Andrew Paplinski...

  • tkl tkl posted a comment on ticket #189

    Keeping this ticket open, to remember - to add gswin64c to the executables searched for during ./configure - add an environment variable, e.g, FIG2DEV_GS, to give the user the possibility to override the path to ghostscript, - probably contact cygwin to patch their current xfig distribution.

  • tkl tkl posted a comment on ticket #189

    Good to hear. Strange errore message, "Unrecoverable error", so gs might write the output file, here aa.pdf, then look for some lib (findlibfile), and fails. Thus findlibfile seems to be unnecessary. Yours, Thomas

  • tkl tkl modified a comment on ticket #189

    On 10/02/2025 10:38 pm, tkl wrote: To be precise, "$@" enclosed by the quotation marks. Hence, the script should exactly contain |#!/bin/sh gswin64c"$@"| The double quote has made the difference. Now fig2dev aa.fig aa.pdf works nicely producing the correct pdf with the bounding box. In addition :-( , it generates error messages as below that makes no difference; |Error: /undefinedfilename in --findlibfile--| |Operand stack:| | ()| |Execution stack:| | %interp_exit .runexec2 --nostringval-- findlibfile...

  • liuchenyifan liuchenyifan created ticket #191

    stack-buffer-overflow on read_objects()

  • Andrew Paplinski Andrew Paplinski posted a comment on ticket #189

    On 10/02/2025 10:38 pm, tkl wrote: To be precise, "$@" enclosed by the quotation marks. Hence, the script should exactly contain |#!/bin/sh gswin64c"$@"| |The double quote has made the difference. Now fig2dev aa.fig aa.pdf works nicely producing the correct pdf with the bounding box. In addition :-( , it generates error messages as below that makes no difference; | |Error: /undefinedfilename in --findlibfile--| |Operand stack:| | ()| |Execution stack:| | %interp_exit .runexec2 --nostringval-- findlibfile...

  • tkl tkl posted a comment on ticket #189

    To be precise, "$@" enclosed by the quotation marks. Hence, the script should exactly contain #!/bin/sh gswin64c "$@" and have the executable bit set, chmod +x C:\gs\gs10.04.0\bin\gs. Sorry for the adventures; I have looked now at the cygwin package, and it reports a build failure. For the time being, it seems for now there is only the workaround to export from xfig to .eps (or .ps, for a letter- or A4-sized document) and converting manually with ps2pdf to pdf. Improvements to the build-process will...

  • tkl tkl modified a comment on ticket #189

    Thanks, Thomas On 10/02/2025 9:00 pm, tkl wrote: Thank you for investigating further. The gs file contains the one line "gswinc", not "gswin64c"? Does Windows expand "gswinc" to find the correct executable? That I do not know. In the gs file you mentioned, try to put |gswinc "$@"| . $* expands to all arguments, but splits at each whitespace. The latter form preserves whitespace, if there are, in arguments. have just tried gswin64c $@ Does not make any difference. Same error as in the original email....

  • Andrew Paplinski Andrew Paplinski posted a comment on ticket #189

    Thanks, Thomas On 10/02/2025 9:00 pm, tkl wrote: Thank you for investigating further. The gs file contains the one line "gswinc", not "gswin64c"? Does Windows expand "gswinc" to find the correct executable? That I do not know. In the gs file you mentioned, try to put |gswinc "$@"| . $* expands to all arguments, but splits at each whitespace. The latter form preserves whitespace, if there are, in arguments. have just tried gswin64c $@ Does not make any difference. Same error as in the original email....

  • tkl tkl posted a comment on ticket #189

    Thank you for investigating further. The gs file contains the one line "gswinc", not "gswin64c"? Does Windows expand "gswinc" to find the correct executable? In the gs file you mentioned, try to put gswinc "$@" . $* expands to all arguments, but splits at each whitespace. The latter form preserves whitespace, if there are, in arguments. Do you compile fig2dev from sources? If so, you could set the name or the entire path to gs at configuration time, ./configure GSEXE=gswin64c # or perhaps gswinc?...

  • tkl tkl modified a comment on ticket #189

    Dear tkl, I might be on something: I have gs installed in C:\gs\gs10.04.0\bin However, in the bin directory there is no gs command only gswin64 and gswin64c However , xfig needs to find gs . I tried to put a file called gs in C:\gs\gs10.04.0\bin with a one line contents gswinc $* It makes the difference, but not completely: if I call gs -h from the Cygwin64 Terminal, I can se the correct path: Search path: C:\gs\gs10.04.0\bin ; C:\gs\gs10.04.0\lib ; C:\gs\gs10.04.0\fonts ; %rom%Resource/Init/ ; %rom%lib/...

  • liuchenyifan liuchenyifan created ticket #190

    SEGV on genge_itp_spline()

  • Andrew Paplinski Andrew Paplinski posted a comment on ticket #189

    Dear tkl, I might be on something: I have gs installed in C:\gs\gs10.04.0\bin However, in the bin directory there is no gs command only gswin64 and gswin64c However , xfig needs to find gs . I tried to put a file called gs in C:\gs\gs10.04.0\bin with a one line contents gswinc $* It makes the difference, but not completely: if I call gs -h from the Cygwin64 Terminal, I can se the correct path: Search path: C:\gs\gs10.04.0\bin ; C:\gs\gs10.04.0\lib ; C:\gs\gs10.04.0\fonts ; %rom%Resource/Init/ ; %rom%lib/...

  • tkl tkl posted a comment on ticket #189

    It creates an empty *.pdf . where an error message would go? The error message should go to stderr, nothing special when calling fig2dev from the commandline. This is strange.

  • tkl tkl modified a comment on ticket #189

    However, the sequence fig2def ab.fig ab.ps ps2pdf ab.ps produces the perfect pdf file. Andrew

1 >