Activity for Xfig

  • tkl tkl posted a comment on discussion General Discussion

    These build errors do not occur in the development version. The next release will build, with transfig enabled, on your system.

  • tkl tkl posted a comment on ticket #203

    Should be fixed with commit [4221b5].

  • tkl tkl committed [06a7b5] on fig2dev

    Enable compiling transfig with option -std=c23

  • tkl tkl committed [4221b5] on fig2dev

    ps: Correctly encode text marked as TeX text, #203

  • tkl tkl committed [d1e8ae] on fig2dev

    Provide an updated fig file header for tests

  • tkl tkl committed [8ab43d] on fig2dev

    Silence a compiler warning: -Wdiscarded-qualifiers

  • tkl tkl committed [745b78] on fig2dev

    pict2e, tikz outputs: respect the -O option

  • tkl tkl committed [fcdc5f] on fig2dev

    Interpret octal escapes as latin 1 encoded

  • tkl tkl committed [7c9bdf] on fig2dev

    Revert merging elliptic arcs into mainline

  • Pellegrino Prevete Pellegrino Prevete modified a comment on discussion General Discussion

    I'd like to profit from this thread to also report ive just made undeletable the tarball for transfig 3.2.9a and ive published its uncensorable uncensorable cross-platform package on the Ur as fig2dev. The package is sold for $15. Some of the eventual profits deriving from it will be devolved to fig2dev authors to sponsor its development. If fig2dev authors do want to take over the package or discuss the listing details theyre free to publish it with an address of their own or contact me on the temporary...

  • Pellegrino Prevete Pellegrino Prevete posted a comment on discussion General Discussion

    I'd like to profit from this thread to also report ive just made undeletable the tarball for transfig 3.2.9a and ive published its uncensorable uncensorable cross-platform package on the Ur as figdev. The package is sold for $15. Some of the eventual profits deriving from it will be devolved to fig2dev authors to sponsor its development. If fig2dev authors do want to take over the package or discuss the listing details theyre free to publish it with an address of their own or contact me on the temporary...

  • Pellegrino Prevete Pellegrino Prevete posted a comment on discussion General Discussion

    The same errors appears when building version 3.2.9a. https://github.com/themartiancompany/fig2dev-ur/actions/runs/24006215002/job/70010240819

  • Pellegrino Prevete Pellegrino Prevete posted a comment on discussion General Discussion

    Hello, I'm getting the following errors while building fig2dev with transfig enabled. https://github.com/themartiancompany/fig2dev-ur/actions/runs/24005713419/job/70008978231

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

    The correct link is https://bugs.gentoo.org/953744

  • Mario Haustein Mario Haustein created merge request #2 on fig2dev

    Fix test suite

  • tkl tkl posted a comment on ticket #203

    This is a bug, and unfortunately there is not an easy workaround. In the eps/ps file fig2dev produces, a composite font "AvantGarde-Book-UTF-8" is defined, but later "Helvetica-UTF-8" is searched. The workaround would be to create a eps file with fig2dev, change the "AvantGarde-Book" (two-times) to "Helvetica" in the eps file and then convert to pdf. Fig2dev must be patched. The other workaround, of course, is to change latex-fonts to ps-fonts in the fig file.

  • Roland Rosenfeld Roland Rosenfeld created ticket #203

    encoding problem with latex fonts

  • tkl tkl modified ticket #202

    xfig-3.2.9a compile error

  • tkl tkl modified ticket #202

    xfig-3.2.9a compile error

  • tkl tkl posted a comment on ticket #202

    Thus, I close this ticket, since it is a duplicate of ticket [#194]. My plan is to publish a new release until may 2026.

  • Mark Alford Mark Alford posted a comment on ticket #202

    I now see that this is a duplicate of ticket #194.

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

    You may need to try the recent version from GIT. In Debian I applied the following commits to be able to build with GCC-15: https://sourceforge.net/p/mcj/xfig/ci/0913c4d https://sourceforge.net/p/mcj/xfig/ci/c34a1b3 https://sourceforge.net/p/mcj/xfig/ci/530c92f https://sourceforge.net/p/mcj/xfig/ci/06ee25c https://sourceforge.net/p/mcj/xfig/ci/70f5cd5 https://sourceforge.net/p/mcj/xfig/ci/92a8262 https://sourceforge.net/p/mcj/xfig/ci/d7c3677 https://sourceforge.net/p/mcj/xfig/ci/e0379d7 https://...

  • Mark Alford Mark Alford created ticket #202

    xfig-3.2.9a compile error

  • tkl tkl modified ticket #200

    bound.c: invalid value passed to `strchr`

  • Marián Konček Marián Konček posted a comment on ticket #200

    Thank you Florian. I have no further comments. I think this can be closed. Initially it seemed to me like an easy fix.

  • tkl tkl posted a comment on ticket #200

    Thank you for tuning in. The line above is part of kludge, where the symbol font (in an 8bit encoding) is checked for glyphs with descenders by trying hard-wired positions, strchr(t->cstring,'y') /* psi */ || strchr(t->cstring,'z') /* zeta */ || strchr(t->cstring,'C'+'\200') /* weierstrass */ || strchr(t->cstring,'J'+'\200') /* reflexsuperset */ || Quite a sad story. I conclude that, as long as the entire code is not replaced by, e.g., quering the xft library, the code can stay as is.

  • Florian Weimer Florian Weimer posted a comment on ticket #200

    The code is non-portable, but for ASCII character sets, the construct is fine because '\200' plus a printable character is in the range of char, whether char is signed or not. The cppcheck warning is bogus.

  • tkl tkl modified ticket #201

    htmldoc 1.9.22 breaks on drawing.html (patch)

  • tkl tkl posted a comment on ticket #201

    Thank you for the patch, applied with commit [b66867].

  • tkl tkl committed [b66867] on xfig

    htmldoc 1.9.22 breaks on drawing.html, ticket #201

  • Roland Rosenfeld Roland Rosenfeld created ticket #201

    htmldoc 1.9.22 breaks on drawing.html (patch)

  • tkl tkl posted a comment on ticket #200

    Quite a deluge of warnings! Regarding strchr(), now I am confused. I have here a draft of the C23 standard, and the wording suggests "The strchr function locates the first occurrence of c (converted to a char)..." but in the foreword to this section, "For all functions in this subclause, each character shall be interpreted as if it had the type unsigned char.", see stackoverflow. Perhaps, the best hint is to treat the "int c" as a result from "fgetc", which is a character read as unsigned int. On...

  • Marián Konček Marián Konček posted a comment on ticket #200

    I am not completely certain but I do believe the tools output is correct: https://openscanhub.fedoraproject.org/task/86804/log/transfig-3.2.9a%5E20250619.ee3f4d8-6.fc44/scan-results.html#def2

  • tkl tkl modified ticket #199

    Signed integer overflow in function `compute_ellarc`

  • tkl tkl posted a comment on ticket #199

    Fixed with commit [6919a3].

  • tkl tkl posted a comment on ticket #200

    The second argument to strchr() is an int, which will be cast to a char. With 67 + 128, the value will be larger than can be held by a signed char (most probably stored correctly, but not defined by the standard). With 67 + '/200' the resulting value depends on the signedness of the char, which, as I read it, is the behaviour as intended by the author.

  • tkl tkl committed [6919a3] on fig2dev

    Replace sqrt(x*x + y*y) by hypot(x, y), ticket #199

  • tkl tkl posted a comment on ticket #199

    Good point, also, hypot() is not used anywhere in the code. I changed the sqrt(..) in a number of places to hypot, but need to check a bit before committing.

  • Marián Konček Marián Konček created ticket #200

    bound.c: invalid value passed to `strchr`

  • Marián Konček Marián Konček created ticket #199

    Signed integer overflow in function `compute_ellarc`

  • tkl tkl posted a comment on discussion General Discussion

    Adding the conversion was quite involved. I currently do not see a possibility to optionally disable that code, although such possibility might exist. Both xfig and the fig2dev backend program have options to tune the behaviour with respect to encoding: Xfig has the -nointernational option, fig2dev has an -E (enc) option to force an input encoding. Can the problems be mitigated with these options?

  • Peter Radisson Peter Radisson posted a comment on discussion General Discussion

    Hello, we use xfig for documentation and the change from latin1 to utf-8 causes some problems. Is it possible to add an option fallback to the old latin1 format ?

  • tkl tkl committed [441008] on fig2dev

    Add feature test macros

  • tkl tkl committed [32007d] on fig2dev

    Avoid compilation warnings

  • tkl tkl modified ticket #197

    README refers to nonexistent Fig.ad

  • tkl tkl posted a comment on ticket #197

    Rererences were corrected and the .ad extension removed, see commit [edd2cd].

  • tkl tkl committed [edd2cd] on xfig

    Remove .ad extension from app-defaults files, #197

  • 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

1 >
MongoDB Logo MongoDB