2022-03-21  Karl Berry  <karl@tug.org>
	* TL'22 release.

2022-01-19  Luigi Scarso  <luigi.scarso@gmail.com>
	* mp.w: MetaPost 2.02 (twice).

2022-01-10  Karl Berry  <karl@freefriends.org>

	* am/libmplib.am,
	* am/mplib.am: do not silence tangle-sh.

2021-05-09  Luigi Scarso  <luigi.scarso@gmail.com>
	* 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  <luigi.scarso@gmail.com>
	* Metapost version 2.01 (needed to mark the patch mpx_copy_mpto).

2021-04-02  Luigi Scarso  <luigi.scarso@gmail.com>
	* 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 <karl@tug.org>
	* TL'21.

2020-12-28  Luigi Scarso  <luigi.scarso@gmail.com>
	* Temp, fix in mpx_copy_mpto, changed || with && to avoid a wrong final %

2020-12-27  Luigi Scarso  <luigi.scarso@gmail.com>
	* 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  <luigi.scarso@gmail.com>
	* Added mp-tangle dependency to libmplib.am
	  to fix parallel compilation

2020-08-21  Luigi Scarso  <luigi.scarso@gmail.com>
	* 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 @<Set the height and depth to zero if the bounding box is empty@>
          in mp_set_text_box when height and depth are both -inf.

2020-06-30 Luigi Scarso  <luigi.scarso@gmail.com> 
	* SOURCE_DATE_EPOCH support (A. Kakuto)

2020-02-18  Luigi Scarso  <luigi.scarso@gmail.com>
	* better mp_snprintf macro


2019-03-06  Luigi Scarso  <luigi.scarso@gmail.com>
	* Code clean-up.

2019-02-06: Taco Hoekwater <taco@elvenkind.com>
	* New primitive void: convert a suffix to a boolean. Work in progress.


2019-01-28  Andreas Scherer  <https://ascherer.github.io>
	* mpost.w: TeXnical nitpicking.

2019-01-26  Luigi Scarso  <luigi.scarso@gmail.com>
	* 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  <luigi.scarso@gmail.com>
	* Added r-mpost as an alias for mpost --restricted 


2018-10-22  Luigi Scarso  <luigi.scarso@gmail.com>
	* 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  <luigi.scarso@gmail.com>
	* separation of mpmathbinary from the the core


2018-02-19  Luigi Scarso  <luigi.scarso@gmail.com>
	* 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  <luigi.scarso@gmail.com>
	* 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  <luigi.scarso@gmail.com>
	new primitive boundingpath


2016-03-06  Luigi Scarso  <luigi.scarso@gmail.com>
	Bump to version 1.9991.



2015-12-16  Luigi Scarso  <luigi.scarso@gmail.com>
	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  <kakuto@fuk.kindai.ac.jp>

	* mp.w: Sync with the upstream.

2015-10-16  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mpmathbinary.w: Sync with the upstream.

2015-10-15  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mpmathbinary.w: Sync with the upstream.

2015-10-07  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mpmath.w, mpmathbinary.w, mpmathdecimal.w, mp.w, mpmathdouble.w:
	Sync with the upstream trunk.

2015-09-21  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mpmathdecimal.w: Sync with the upstream trunk.

2015-07-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mptraptest (removed): Renamed ...
	* mptraptest.test (new):  ... into this.
	* am/mplib.am: Better dependencies for 'make check'.


2015-03-21  Luigi Scarso  <luigi.scarso@gmail.com>
	make_text for mplib only.


2015-03-19  Luigi Scarso  <luigi.scarso@gmail.com>
	Fixed normal rand. generator for double/decimal/binary
	systems.

2015-01-20  Luigi Scarso  <luigi.scarso@gmail.com>
	Added cur_sym_mod() == mp_normal_sym 
	to the cur_sym==0 condition mp_cur_tok 


2015-01-19  Luigi Scarso  <luigi.scarso@gmail.com>
	fixed a bug in mp_recycle_value with NULL node


2015-01-15  Luigi Scarso  <luigi.scarso@gmail.com>
	 mpmathdecimal.w: better management for static data in mpmathdecimal.w 
	(thanks to Philipp Gesang <phg@phi-gamma.net>)

2014-12-04  Luigi Scarso  <luigi.scarso@gmail.com>

	* mpost.w: fixed exit values to match metafont/old metapost behavior.
	(thanks to Wojciech A. Koszek <wkoszek@freebsd.org>).

2014-11-05  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* psout.w: Sync with the trunk. Luigi fixes to avoid enormous number
	of warnings.

2014-10-30  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mpost.w [W32TeX]: Handle building of mpost.dll as for tex & Co.

2014-09-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mp.w: Fixed an error message typo.

2014-09-19  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* pngout.w: Sync with the trunk. Luigi fixes a bug in png text output.

2014-09-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* 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  <peb@mppmu.mpg.de>

	* mpxout.w (bad_dvi_two): Correctly use mpx_abort().

2014-09-03  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* 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  <peb@mppmu.mpg.de>

	* mpxout.w: Replace the deprecated spawnvp() by _spawnvp(),
	they differ for 64-bit MinGW.

2014-06-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mpxout.w: Avoid undefined behaviour when char is signed.

2014-06-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Import metapost 1.999

2014-04-23 Taco Hoekwater  <taco@luatex.org>

	Import metapost 1.902

2014-04-09 Taco Hoekwater  <taco@luatex.org>

	Import metapost 1.901

2014-03-16  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mp.w: An unimportant typo (1.890 --> 1.900).

2014-03-14 Taco Hoekwater  <taco@luatex.org>

	Import metapost 1.900

2014-02-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* psout.w: Avoid to redefine Byte and Bytef from <zlib.h>.

2014-01-31  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mp.w: Do not declare zlibVersion, #include <zlib.h>, etc.
	Display header (compiled with) and library (using) versions.

2014-01-30  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mp.w, mpost.w, pngout.w: Import from MetaPost trunk.

2014-01-29  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mpost.w, mp.w: Import from MetaPost trunk.

2014-01-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mptrap.test (removed): Renamed ...
	* mptraptest (new): ... into this.
	* am/mplib.am: Adapted.

2014-01-06  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mp.w, mpmathdouble.w: Bug fixes by Taco, imported from MetaPost trunk.

2013-09-23  Akira Kakuto  <kakuto@fuk.kindai.ac.jp>

	* mp.w: A bug is fixed by Taco.

2013-09-20  Karl Berry  <karl@tug.org>

	* mpost.w (Set up the banner line) [NATIVE_TEXLIVE_BUILD]:
	use WEB2CVERSION instead of kpathsea_version_string for TL.

2013-07-05  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mpost.w (main): Use kpse_program_basename().

2013-06-28  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* pngout.w: Replace index() => strchr().

	* mp.w: Include <stdio.h> after <w2c/config.h>.

2013-06-19  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* lmplib.c: Replace '<../lua52/lua.h>' => '<lua.h>'.

2013-06-16 Taco Hoekwater  <taco@luatex.org>

	Import metapost 1.803 (released version)

2013-05-22 Taco Hoekwater  <taco@luatex.org>

	* 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  <taco@luatex.org>

	* svgout.w: fix a problem with colors in SVG output mode.
	* mp.w: bump version to 1.802

2013-04-05 Taco Hoekwater  <taco@luatex.org>

	Import metapost 1.801 (released version)

2013-03-26  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* 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  <peb@mppmu.mpg.de>

	Update MetaPost 1.800 from LuaTeX repository (r4612).

2013-03-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	Import MetaPost 1.800 from LuaTeX repository (r4604).

2013-01-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/mplib.am: Allow subdir-objects.

2013-01-15  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/mplib.am, mptrap.test: Enable parallel-tests.

2012-12-18  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/mplib.am: Enable silent rules.

2012-12-07  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mpxout.w: Cast arg3 of spawnvp() to `const char* const*'.

2012-08-03  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mpost.w: Reduce diffs between TeX Live and W32TeX.
	* mpxout.w: Replace P_WAIT by _P_WAIT.

2012-08-01  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mp.w: Drop replacement function for snprintf().

2012-07-28  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/mplib.am (nodist_libmplib_a_SOURCES): Omit $(tfmin_c_h).

2012-05-22  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* dvitomp.test: Cope with spaces in paths returned by kpsewhich.

2012-05-20  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/mplib.am (mpost_LDADD): Drop explicit '-lm'.

2012-05-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mpost.w: Use WEB2CVERSION.

2011-10-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/libmplib.am (EXTRA_DIST): Drop lmplib.c, used by luaTeX.

2011-06-06 Taco Hoekwater  <taco@luatex.org>

	* mpost.w (mpost_run_editor): Do not attempt to use EDITOR.

2011-06-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/mplib.am (bin_links): Remove no longer existing 'metafun'.

2011-05-31  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* 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  <taco@luatex.org>

	* all files: clarify that base MetaPost is public domain,
	but uses LGPL'd libraries.

2011-05-13  Taco Hoekwater  <taco@luatex.org>

	* mpost.w (main): change setting of kpse program name
	(on a hint by PEB).

2011-05-09  Taco Hoekwater  <taco@luatex.org>

	* mpxout.w (mpx_in_TFM): close tfm files.

2011-04-29  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* 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  <peb@mppmu.mpg.de>

	* am/libmplib.am: Only one rule for tfmin.w => tfmin.c.

2011-04-05  Taco Hoekwater  <taco@luatex.org>

	* mp.w, mpost.w: import metapost 1.504

2011-04-05  Taco Hoekwater  <taco@luatex.org>

	* 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  <peb@mppmu.mpg.de>

	* 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  <peb@mppmu.mpg.de>

	* am/mplib.am [WIN32]: Add dvitomp.exe wrapper for MinGW.

2011-01-17  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/mplib.am (mptrap.diffs): Use $(triptrap_diffs).

2011-01-14  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/mplib.am (mptrap-clean): Use TRIPTRAP_CLEAN.

2010-12-23  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* 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  <taco@luatex.org>

	* *.w, lmplib.h: change include of "config.h" to <w2c/config.h>.

2010-06-10  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/libmplib.am (libmplib_a_CPPFLAGS): Add $(AM_CPPFLAGS).
	* am/mplib.am (mpost_CPPFLAGS): Add $(AM_CPPFLAGS).

2010-05-31  Taco Hoekwater  <taco@luatex.org>

	* mp.w (mp_set_output_file_name): prevent reallocation of 
	string pool during output file name generation.
	
2010-05-19  Taco Hoekwater  <taco@luatex.org>

	* mpost.w: add WEB2CVERSION to the banner.

2010-04-13  Taco Hoekwater  <taco@luatex.org>

	* new import from luatex repository (HEAD of 0.60.x branch)

2010-04-05  Karl Berry  <karl@tug.org>

	* mptrap.test: use --mem, not --memname (which does not exist).

2010-04-01  Taco Hoekwater <taco@elvenkind.com>
	    
	* lmplib.c: revert #include "../luatex-api.h".

2010-04-01  Taco Hoekwater <taco@elvenkind.com>
	    
	* Released version of MPLib 1.211
	
2010-03-04  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/mplib.am (TRIPTRAP): Add mptrap.diffs.

2010-01-26  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* psout.w: Remove charsetstr[].

2010-01-24  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* 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  <peb@mppmu.mpg.de>

	* 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  <peb@mppmu.mpg.de>

	* 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 <taco@elvenkind.com>
	    
	    * Released version of MPLib 1.208
	
2009-08-21  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* mpost.w (kpathsea_version_string): Drop extern decl.

2009-08-16  Peter Breitenlohner  <peb@mppmu.mpg.de>

	* am/mplib.am (mplib_ctangle): Use tangle-sh.
	* am/libmplib.am, am/mplib.am: Adapt to tangle-sh.

2009-08-12  Taco Hoekwater <taco@elvenkind.com>
	    
	    * Released version of MPLib 1.207, including 
   	    a new mptrap.test
	
2009-07-31  Taco Hoekwater <taco@elvenkind.com>
	    
	    * Released version of MPLib 1.206
	
2009-07-20  Taco Hoekwater <taco@elvenkind.com>
	    
	* mp.w: hotfix for a possible crash in lib mode 
	
2009-07-13  Taco Hoekwater <taco@elvenkind.com>
	    
	    * Released version of MPLib 1.205
	
2009-06-25  Peter Breitenlohner <peb@mppmu.mpg.de>

	* mpost.w: add KPSEDLL to declaration of
	kpathsea_version_string.

2009-06-25  Taco Hoekwater <taco@elvenkind.com>
	    
	    * Released version of MPLib 1.204
	
2009-06-09  Taco Hoekwater <taco@elvenkind.com>
	    
	    * Released version of MPLib 1.203
	
2009-06-03  Taco Hoekwater <taco@elvenkind.com>
	    
	    * Released version of MPLib 1.202
	
2009-05-30  Peter Breitenlohner <peb@mppmu.mpg.de>

	* am/mplib.am (install-exec-hook, uninstall-hook):
	avoid dangling symlinks.

2009-05-25  Peter Breitenlohner <peb@mppmu.mpg.de>

	* dvitomp.test (new): Shell script to test dvitomp.
	* am/mplib.am: Added dvitomp.test.

2009-05-25  Peter Breitenlohner <peb@mppmu.mpg.de>

	* am/mplib.am (install-exec-hook, uninstall-hook): new targets
	to (un)install dvitomp symlink.

2009-05-13  Peter Breitenlohner  <peb@mppmu.mpg.de>

	    * mptrap.test (new): Shell script for MPTRAP test.
	    * am/mplib.am: Added MPTRAP test.

2009-05-11  Taco Hoekwater <taco@elvenkind.com>
	    
	    * Released version of MPLib 1.200

2009-05-08  Taco Hoekwater <taco@elvenkind.com>
	    
	    * Recent MPlib updates

2009-04-22  Taco Hoekwater <taco@elvenkind.com>

	    * Import of MPlib version 1.200 
