2022-01-19 Luigi Scarso * mp.w: MetaPost 2.02 (twice). 2022-01-10 Karl Berry * am/libmplib.am, * am/mplib.am: do not silence tangle-sh. 2021-05-09 Luigi Scarso * Impose mp->stack_size < 1001 in @d push_input to avoid stack overflow due infinite recursion of macro expansion (thanks to A. Kakuto). 2021-04-10 Luigi Scarso * Metapost version 2.01 (needed to mark the patch mpx_copy_mpto). 2021-04-02 Luigi Scarso * Revert the patch in mpx_copy_mpto, it was wrong in tex mode. Added a check if in troff mode. 2021-03-23 Karl Berry * TL'21. 2020-12-28 Luigi Scarso * Temp, fix in mpx_copy_mpto, changed || with && to avoid a wrong final % 2020-12-27 Luigi Scarso * Fixed some typos in manual (thank to 胡亚捷 (Hu Yajie) ) * Added the undocumented -T option * Added some autotools files to make reautoconf working again 2020-11-26 Luigi Scarso * Added mp-tangle dependency to libmplib.am to fix parallel compilation 2020-08-21 Luigi Scarso * Changed epsilon in binary and decimal mode from 1E-52 to 2^-173 =~0.835E-52, so that mp_solve_rising_cubic now works as expected. * Fix @ in mp_set_text_box when height and depth are both -inf. 2020-06-30 Luigi Scarso * SOURCE_DATE_EPOCH support (A. Kakuto) 2020-02-18 Luigi Scarso * better mp_snprintf macro 2019-03-06 Luigi Scarso * Code clean-up. 2019-02-06: Taco Hoekwater * New primitive void: convert a suffix to a boolean. Work in progress. 2019-01-28 Andreas Scherer * mpost.w: TeXnical nitpicking. 2019-01-26 Luigi Scarso * Fixed bisection algorithm (overflow of number of bisections in decimal mode with low precision) * Added 2 levels to the bisection algorithm for cubic intersection. Need testing. * Fixed a buffer overflow on command line; for consistency with mp_reallocate_buffer, now accepting input from command line of at most 0xFFFFFFF bytes. 2019-01-06 Luigi Scarso * Added r-mpost as an alias for mpost --restricted 2018-10-22 Luigi Scarso * Fixed a bug in cubic intersection in arbitrary precision math with low precision. * Raised minimal precision to 2 for decimal and binary mode. * Added 3 levels to the bisection algorithm for for cubic intersection. 2018-08-27 Luigi Scarso * separation of mpmathbinary from the the core 2018-02-19 Luigi Scarso * Small cleanup of the code * Bump to version 2.0rc2: the current version is 2.00 * Added the envelope primitives to mpman 2017-03-31 Luigi Scarso * fixed the value header_last to be sure to store always the latest position. * Bump to version 2.0rc1. It's a release candidate for testing latest patches and eventually new primitives (to be discussed at 2017 BachoTeX/TUG meeting). As the version is always a number, the current version is 2.000 (a way to say 2.0rc1). 2017-02-13 Luigi Scarso new primitive boundingpath 2016-03-06 Luigi Scarso Bump to version 1.9991. 2015-12-16 Luigi Scarso Updated to cairo-1.14.6, gmp-6.1.0 and libpng-1.6.20. Fixed some issues with tfm files. 2015-11-11 Akira Kakuto * mp.w: Sync with the upstream. 2015-10-16 Akira Kakuto * mpmathbinary.w: Sync with the upstream. 2015-10-15 Akira Kakuto * mpmathbinary.w: Sync with the upstream. 2015-10-07 Akira Kakuto * mpmath.w, mpmathbinary.w, mpmathdecimal.w, mp.w, mpmathdouble.w: Sync with the upstream trunk. 2015-09-21 Akira Kakuto * mpmathdecimal.w: Sync with the upstream trunk. 2015-07-10 Peter Breitenlohner * mptraptest (removed): Renamed ... * mptraptest.test (new): ... into this. * am/mplib.am: Better dependencies for 'make check'. 2015-03-21 Luigi Scarso make_text for mplib only. 2015-03-19 Luigi Scarso Fixed normal rand. generator for double/decimal/binary systems. 2015-01-20 Luigi Scarso Added cur_sym_mod() == mp_normal_sym to the cur_sym==0 condition mp_cur_tok 2015-01-19 Luigi Scarso fixed a bug in mp_recycle_value with NULL node 2015-01-15 Luigi Scarso mpmathdecimal.w: better management for static data in mpmathdecimal.w (thanks to Philipp Gesang ) 2014-12-04 Luigi Scarso * mpost.w: fixed exit values to match metafont/old metapost behavior. (thanks to Wojciech A. Koszek ). 2014-11-05 Akira Kakuto * psout.w: Sync with the trunk. Luigi fixes to avoid enormous number of warnings. 2014-10-30 Peter Breitenlohner * mpost.w [W32TeX]: Handle building of mpost.dll as for tex & Co. 2014-09-22 Peter Breitenlohner * mp.w: Fixed an error message typo. 2014-09-19 Akira Kakuto * pngout.w: Sync with the trunk. Luigi fixes a bug in png text output. 2014-09-16 Peter Breitenlohner * am/libmplib.am: Build a separate library libmputil.a from distributed *.[ch] files. Move respective rules from here ... * am/libmputil.am (new): ... to here. * am/mplib.am (mpost_LDADD): Add libmputil.a. 2014-09-06 Peter Breitenlohner * mpxout.w (bad_dvi_two): Correctly use mpx_abort(). 2014-09-03 Akira Kakuto * lmplib.c, mp.w, mpmath.w, mpmathbinary.w, mpmathdecimal.w, mpmathdouble.w, mpost.w, mpxout.w, psout.w: Sync with the trunk. 2014-07-15 Peter Breitenlohner * mpxout.w: Replace the deprecated spawnvp() by _spawnvp(), they differ for 64-bit MinGW. 2014-06-21 Peter Breitenlohner * mpxout.w: Avoid undefined behaviour when char is signed. 2014-06-20 Peter Breitenlohner Import metapost 1.999 2014-04-23 Taco Hoekwater Import metapost 1.902 2014-04-09 Taco Hoekwater Import metapost 1.901 2014-03-16 Akira Kakuto * mp.w: An unimportant typo (1.890 --> 1.900). 2014-03-14 Taco Hoekwater Import metapost 1.900 2014-02-03 Peter Breitenlohner * psout.w: Avoid to redefine Byte and Bytef from . 2014-01-31 Peter Breitenlohner * mp.w: Do not declare zlibVersion, #include , etc. Display header (compiled with) and library (using) versions. 2014-01-30 Akira Kakuto * mp.w, mpost.w, pngout.w: Import from MetaPost trunk. 2014-01-29 Akira Kakuto * mpost.w, mp.w: Import from MetaPost trunk. 2014-01-17 Peter Breitenlohner * mptrap.test (removed): Renamed ... * mptraptest (new): ... into this. * am/mplib.am: Adapted. 2014-01-06 Akira Kakuto * mp.w, mpmathdouble.w: Bug fixes by Taco, imported from MetaPost trunk. 2013-09-23 Akira Kakuto * mp.w: A bug is fixed by Taco. 2013-09-20 Karl Berry * mpost.w (Set up the banner line) [NATIVE_TEXLIVE_BUILD]: use WEB2CVERSION instead of kpathsea_version_string for TL. 2013-07-05 Peter Breitenlohner * mpost.w (main): Use kpse_program_basename(). 2013-06-28 Peter Breitenlohner * pngout.w: Replace index() => strchr(). * mp.w: Include after . 2013-06-19 Peter Breitenlohner * lmplib.c: Replace '<../lua52/lua.h>' => ''. 2013-06-16 Taco Hoekwater Import metapost 1.803 (released version) 2013-05-22 Taco Hoekwater * svgout.w: fix a problem with overly large characters in SVG output mode when prologues != 3. * mp.w: quick fix for a fatal crash during free-ing of TFM metric data at the end of the run. 2013-04-23 Taco Hoekwater * svgout.w: fix a problem with colors in SVG output mode. * mp.w: bump version to 1.802 2013-04-05 Taco Hoekwater Import metapost 1.801 (released version) 2013-03-26 Peter Breitenlohner * mpost.w: First arg of kpse_set_program_name() must be argv[0], otherwise the assertion in kpathsea/progname.c:316 may fail. 2013-03-25 Peter Breitenlohner Update MetaPost 1.800 from LuaTeX repository (r4612). 2013-03-21 Peter Breitenlohner Import MetaPost 1.800 from LuaTeX repository (r4604). 2013-01-29 Peter Breitenlohner * am/mplib.am: Allow subdir-objects. 2013-01-15 Peter Breitenlohner * am/mplib.am, mptrap.test: Enable parallel-tests. 2012-12-18 Peter Breitenlohner * am/mplib.am: Enable silent rules. 2012-12-07 Peter Breitenlohner * mpxout.w: Cast arg3 of spawnvp() to `const char* const*'. 2012-08-03 Peter Breitenlohner * mpost.w: Reduce diffs between TeX Live and W32TeX. * mpxout.w: Replace P_WAIT by _P_WAIT. 2012-08-01 Peter Breitenlohner * mp.w: Drop replacement function for snprintf(). 2012-07-28 Peter Breitenlohner * am/mplib.am (nodist_libmplib_a_SOURCES): Omit $(tfmin_c_h). 2012-05-22 Peter Breitenlohner * dvitomp.test: Cope with spaces in paths returned by kpsewhich. 2012-05-20 Peter Breitenlohner * am/mplib.am (mpost_LDADD): Drop explicit '-lm'. 2012-05-10 Peter Breitenlohner * mpost.w: Use WEB2CVERSION. 2011-10-04 Peter Breitenlohner * am/libmplib.am (EXTRA_DIST): Drop lmplib.c, used by luaTeX. 2011-06-06 Taco Hoekwater * mpost.w (mpost_run_editor): Do not attempt to use EDITOR. 2011-06-04 Peter Breitenlohner * am/mplib.am (bin_links): Remove no longer existing 'metafun'. 2011-05-31 Peter Breitenlohner * am/mplib.am (bin_links): Move mpost:metafun and mpost:mfplain from ../../texlive/linked_scripts/Makefile.am to here. [MinGW]: Build call_mpost.exe wrapper binary and install as dvitomp.exe, metafun.exe, amd mfplain.exe. 2011-05-30 Taco Hoekwater * all files: clarify that base MetaPost is public domain, but uses LGPL'd libraries. 2011-05-13 Taco Hoekwater * mpost.w (main): change setting of kpse program name (on a hint by PEB). 2011-05-09 Taco Hoekwater * mpxout.w (mpx_in_TFM): close tfm files. 2011-04-29 Peter Breitenlohner * mp.w (mp_do_snprintf): Removed, instead declare and define static internal version of mp_snprintf(). Compare change from 2009-12-05: FIXME: Should unconditionally assume snprintf() exists. 2011-04-06 Peter Breitenlohner * am/libmplib.am: Only one rule for tfmin.w => tfmin.c. 2011-04-05 Taco Hoekwater * mp.w, mpost.w: import metapost 1.504 2011-04-05 Taco Hoekwater * Import of MetaPost 1.503, updating the .w files as well as lmplib.c and avl.c, and adding mpmath.w and removing memio.w * am/libmplib.am: add support for mpmath.w, remove memio.w * mptrap.test: remove the second part as metapost no longer uses .mem files at all 2011-03-28 Peter Breitenlohner * am/libmplib.am: Use AM_CFLAGS instead of libmplib_a_CFLAGS. * am/mplib.am: Use AM_CFLAGS instead of mpost_CFLAGS. 2011-02-15 Peter Breitenlohner * am/mplib.am [WIN32]: Add dvitomp.exe wrapper for MinGW. 2011-01-17 Peter Breitenlohner * am/mplib.am (mptrap.diffs): Use $(triptrap_diffs). 2011-01-14 Peter Breitenlohner * am/mplib.am (mptrap-clean): Use TRIPTRAP_CLEAN. 2010-12-23 Peter Breitenlohner * am/mplib.am: install-exec-hook and uninstall-hook rules now in ../Makefile.am; append required symlink to bin_links. 2010-06-11 Taco Hoekwater * *.w, lmplib.h: change include of "config.h" to . 2010-06-10 Peter Breitenlohner * am/libmplib.am (libmplib_a_CPPFLAGS): Add $(AM_CPPFLAGS). * am/mplib.am (mpost_CPPFLAGS): Add $(AM_CPPFLAGS). 2010-05-31 Taco Hoekwater * mp.w (mp_set_output_file_name): prevent reallocation of string pool during output file name generation. 2010-05-19 Taco Hoekwater * mpost.w: add WEB2CVERSION to the banner. 2010-04-13 Taco Hoekwater * new import from luatex repository (HEAD of 0.60.x branch) 2010-04-05 Karl Berry * mptrap.test: use --mem, not --memname (which does not exist). 2010-04-01 Taco Hoekwater * lmplib.c: revert #include "../luatex-api.h". 2010-04-01 Taco Hoekwater * Released version of MPLib 1.211 2010-03-04 Peter Breitenlohner * am/mplib.am (TRIPTRAP): Add mptrap.diffs. 2010-01-26 Peter Breitenlohner * psout.w: Remove charsetstr[]. 2010-01-24 Peter Breitenlohner * mp.w (mp_execute, mp_get_char_dimension): Declare string params as const. * lmplib.c: #include "../luatex-api.h". Remove 'char *' casts of Lua strings. Declare various string variables as const. 2009-12-05 Peter Breitenlohner * mpxout.w: Convert CRLF to native line endings. * mpost.w, mpxout.w: Use HAVE_STRUCT_STAT_ST_MTIM as define by configure instead of (the undefined) HAVE_ST_MTIM. * mp.w (mp_do_snprintf): Declare and define only when used. FIXME: Should unconditionally assume snprintf() exists. 2009-10-06 Peter Breitenlohner * am/libmplib.am, am/mplib.am: Enable compiler warnings. * memio.w: Create and #include mpmemio.h (new internal header). * tfmin.w: Create and #include mptfmin.h (new internal header). * mp.w: #include mpmemio.h and mptfmin.h; drop extern decls for functions from memio.w and tfmin.w. Avoid many (--enable-...=max) compiler warnings. * mp.w (mp_set_internal): Declare local string errid as const. (mp_check_mem): Declare as static. (mp_w_open_in, mp_print_word, mp_search_mem, mp_divide_scaled): Comment out unused functions. * psout.w (cs_do_debug, mp_gr_htap_ypoc): Comment out unused functions. * svgout.w: #include mplibsvg.h. (mp_svg_font_pair_out, mp_svg_trans_pair_out, mp_svg_print_glyph_defs): Declare as static. (mp_svg_open_starttag, mp_svg_endtag, mp_svg_attribute): Declare param strings as const. (append_string): Declare local string ss as const. (mp_svg_print): Drop useless (const *) cast. * mpost.w (recorder_start, internal_set_option, run_set_list): Declare as static. (mpost_run_make_mpx, mpost_run_dvitomp): Declare local string banner as const. * mpxout.w (mpx_printf, mpx_report, mpx_warn, mpx_error, mpx_abort, mpx_xfopen, mpx_match_str, mpx_def_named_color, mpx_fsearch, mpx_read_fmap, mpx_read_char_adj, mpx_rename): Declare param strings as const. (progname): Declare global string as const. (named_color_record): Declare member strings as const. 2009-10-02 Taco Hoekwater * Released version of MPLib 1.208 2009-08-21 Peter Breitenlohner * mpost.w (kpathsea_version_string): Drop extern decl. 2009-08-16 Peter Breitenlohner * am/mplib.am (mplib_ctangle): Use tangle-sh. * am/libmplib.am, am/mplib.am: Adapt to tangle-sh. 2009-08-12 Taco Hoekwater * Released version of MPLib 1.207, including a new mptrap.test 2009-07-31 Taco Hoekwater * Released version of MPLib 1.206 2009-07-20 Taco Hoekwater * mp.w: hotfix for a possible crash in lib mode 2009-07-13 Taco Hoekwater * Released version of MPLib 1.205 2009-06-25 Peter Breitenlohner * mpost.w: add KPSEDLL to declaration of kpathsea_version_string. 2009-06-25 Taco Hoekwater * Released version of MPLib 1.204 2009-06-09 Taco Hoekwater * Released version of MPLib 1.203 2009-06-03 Taco Hoekwater * Released version of MPLib 1.202 2009-05-30 Peter Breitenlohner * am/mplib.am (install-exec-hook, uninstall-hook): avoid dangling symlinks. 2009-05-25 Peter Breitenlohner * dvitomp.test (new): Shell script to test dvitomp. * am/mplib.am: Added dvitomp.test. 2009-05-25 Peter Breitenlohner * am/mplib.am (install-exec-hook, uninstall-hook): new targets to (un)install dvitomp symlink. 2009-05-13 Peter Breitenlohner * mptrap.test (new): Shell script for MPTRAP test. * am/mplib.am: Added MPTRAP test. 2009-05-11 Taco Hoekwater * Released version of MPLib 1.200 2009-05-08 Taco Hoekwater * Recent MPlib updates 2009-04-22 Taco Hoekwater * Import of MPlib version 1.200