Page 5 sur 5

Re: [New] Nouvelle version d'Asymptote

Posté : jeu. 30 juil. 2020, 18:13
par GM
=======================================
Mise à jour de la version git d'Asymptote utilisée sur le forum :

Figure asymptote 26b5903215211d26e6e599f665d07a2e
*** Pour masquer/découvrir le code Asymptote qui a permis de créer la figure, il faut cliquer dessus. ;-) ***

CODE ASYMPTOTE de la figure ci-dessus : Tout sélectionner
  1. label("Asymptote "+version.VERSION); // 2.67-66
  2. shipout(bbox(3mm,2bp+red));


Je rappelle que le forum n'est pas adapté pour y compiler des exemples 3D.
Pour évoquer de tels exemples, il faut se contenter de fournir le code entre des balises codes et non des balises asy.

Re: [New] Nouvelle version d'Asymptote

Posté : sam. 29 août 2020, 08:55
par GM
Bonjour,

Je viens de réaliser que le numéro de version d'Asymptote n'apparait plus correctement lors de la création d'une figure Asymptote sur le forum.

Cela tient au fait que la commande "asy -version" ne renvoie plus simplement une ligne telle que celle-ci

Code : Tout sélectionner

Asymptote version 2.67-66 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]
mais qu'elle est complétée par plusieurs lignes d'informations (les options activées et désactivées) :

Code : Tout sélectionner

Asymptote version 2.67-66 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]

ENABLED OPTIONS:
GSL      GNU Scientific Library (special functions)
FFTW3    Fast Fourier transforms
XDR      external data representation (portable binary file format)
Readline interactive history and editing
GC       Boehm garbage collector

DISABLED OPTIONS:
WebGL    3D HTML rendering
OpenGL   3D OpenGL rendering
Sigsegv  distinguish stack overflows from segmentation faults
Au lieu de prendre les 19ème à 22ème caractères de la première ligne "Asymptote version 2.67-66 ...",
cela récupère les 19ème à 22ème caractères de la dernière ligne "Sigsegv distinguish stack ..."
donc au lieu de lire "Asymptote 2.67" au dessus de l'image, on lit actuellement "Asymptote sh s"

Re: [New] Nouvelle version d'Asymptote

Posté : sam. 29 août 2020, 09:57
par GM
Vérification que l'ajout d'un grep 'version' au bon endroit rectifie correctement le problème soulevé ci-dessus.

Figure asymptote 5a5e9bd04cf4cf4de7113425211503e7
*** Pour masquer/découvrir le code Asymptote qui a permis de créer la figure, il faut cliquer dessus. ;-) ***

CODE ASYMPTOTE de la figure ci-dessus : Tout sélectionner
  1. label("Asymptote "+version.VERSION); // 2.67-66
  2. shipout(bbox(3mm,2bp+red));

Re: [New] Nouvelle version d'Asymptote

Posté : sam. 29 août 2020, 10:22
par GM
Version 2.67 du 06/08 : https://sourceforge.net/projects/asymptote/files/2.67/
  • Support was added for importing and inputting URLs.
  • Compilation and 2D SVG to HTML conversion no longer requires the GLM library; 2D html output is fit to the canvas unless settings.absolute=true.
  • Diagnostics for dvisvgm were enabled; SVG clipping was fixed.
  • A -globalread setting (default true) was implemented.
  • Files are opened using the search path, which now includes the examples directory.
  • An invalid array dimensions error was fixed.
  • A WebGL resize event listener was added; the + and - keys now zoom in and out, rather than expanding and shrinking the viewport.
  • Remeshing on export is forced; unnecessary remeshing on zoom in AsyGL is avoided.
  • The triple dir(path3, path3) function was normalized.
  • The repositioning of OpenGL windows was fixed.
  • The copy constructors for path and path3 were fixed.
  • Asymptote errors no longer cause Xasy to hang.
  • A numerical precision issue was fixed.
  • A portable way of skipping whitespace was implemented; casts from empty strings now yield uninitialized values.
  • Interrupt handling under MacOS X was fixed.
  • A devicepixelratio setting was implemented.
  • The error location is displayed in the console.
  • Segmentation faults were fixed.
  • The documentation was updated and the code was reformatted.
  • A hang on exit under MSWindows was fixed.
  • Obsolete encoding modules were removed.


=======================================
Mise à jour de la version git d'Asymptote utilisée sur le forum :

Figure asymptote 006ea39f5d94fc6cdbe6f7582cc35f62
*** Pour masquer/découvrir le code Asymptote qui a permis de créer la figure, il faut cliquer dessus. ;-) ***

CODE ASYMPTOTE de la figure ci-dessus : Tout sélectionner
  1. label("Asymptote "+version.VERSION); // 2.68-16
  2. shipout(bbox(3mm,2bp+red));

Re: [New] Nouvelle version d'Asymptote

Posté : mer. 24 févr. 2021, 00:24
par GM
Version 2.68 du 23/11/2020 : https://sourceforge.net/projects/asymptote/files/2.68/
  • Floating point exceptions in OpenGL libraries are now masked.
  • A normalization used to render tubes was fixed.
  • A Label align(Label,dir) function was added for aligning label normals.
  • A new settings.compress=true option controls PDF image compression.
  • A bool isometry(transform) function was added.
  • Various bugs in the geometry module were fixed.
  • The transpose function ignores uninitialized elements.
  • Null fields are treated as undefined values in cvs mode and in line mode.
  • Uninitialized rendering variables were fixed.
  • A RELEASE variable was added.
  • Logarithmic graphs of surfaces are supported.
  • Files are opened without assuming an asy suffix.
  • Support for Ghostscript 9.53 was implemented.
  • The end argument of Margin functions is now optional.
  • A function cputime().change.clock that returns the high-resolution elapsed wall clock time was added.
  • A --disable-curl option was added.
  • The centering of slides was fixed.
  • Null characters and null strings are supported in the replace function.
  • Configuration without readline support was fixed.
  • In binary mode, an entire file can be read into a string.
  • The getc function now works properly when reading the NUL character.
  • Reproducible builds are supported.
Version 2.69 du 20/02/2021 : https://sourceforge.net/projects/asymptote/files/2.69/
  • A segmentation fault in subpath3 was fixed.
  • The fuzz parameter in bezulate was increased to handle font precision issues.
  • A missing above argument was added in plain_boxes.asy.
  • Scaling bugs in the palette module were fixed.
  • The contour module now respects picture scaling.
  • Bugs in reading null fields were fixed.
  • Orthographic scaling is now consistent with perspective scaling when keepAspect=false.
  • The obsolete everypage package was removed.
  • A compilation issue with LIBCURL and compilation warnings were fixed.