Activity for tkl

  • 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

  • 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.

  • 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.

  • tkl tkl modified ticket #200

    bound.c: invalid value passed to `strchr`

  • 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.

  • 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

  • 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...

  • 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.

  • 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?

  • 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.

  • tkl tkl modified ticket #196

    Small radius circles not rasterised

  • 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

  • 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

  • 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

  • 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

  • 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 [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.

  • 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

  • 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

1 >
MongoDB Logo MongoDB