From 3182b429ca32dfcbf56ef13be444c76df8664691 Mon Sep 17 00:00:00 2001 From: Taco Hoekwater Date: Wed, 12 Aug 2009 09:13:20 +0000 Subject: metapost 1.207 source files git-svn-id: svn://tug.org/texlive/trunk@14624 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/web2c/mplibdir/ChangeLog | 5 ++++ Build/source/texk/web2c/mplibdir/mp.w | 35 ++++++++++++++-------------- Build/source/texk/web2c/mplibdir/mptrap.test | 7 +++++- 3 files changed, 28 insertions(+), 19 deletions(-) (limited to 'Build/source') diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog index 85111088747..b4ac5aaf922 100644 --- a/Build/source/texk/web2c/mplibdir/ChangeLog +++ b/Build/source/texk/web2c/mplibdir/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/Build/source/texk/web2c/mplibdir/mp.w b/Build/source/texk/web2c/mplibdir/mp.w index 24e0e1ee4b1..291694a342b 100644 --- a/Build/source/texk/web2c/mplibdir/mp.w +++ b/Build/source/texk/web2c/mplibdir/mp.w @@ -1,4 +1,4 @@ - $Id: mp.w 1111 2009-07-31 08:10:35Z taco $ + $Id: mp.w 1115 2009-08-12 08:39:15Z taco $ % % Copyright 2008-2009 Taco Hoekwater. % @@ -89,13 +89,13 @@ undergoes any modifications, so that it will be clear which version of @^extensions to \MP@> @^system dependencies@> -@d default_banner "This is MetaPost, Version 1.206" /* printed when \MP\ starts */ +@d default_banner "This is MetaPost, Version 1.207" /* printed when \MP\ starts */ @d true 1 @d false 0 @(mpmp.h@>= -#define metapost_version "1.206" -#define metapost_magic (('M'*256) + 'P')*65536 + 1206 +#define metapost_version "1.207" +#define metapost_magic (('M'*256) + 'P')*65536 + 1207 #define metapost_old_magic (('M'*256) + 'P')*65536 + 1080 @ The external library header for \MP\ is |mplib.h|. It contains a @@ -651,21 +651,20 @@ mp->print_found_names = (opt->print_found_names>0 ? true : false); @ The |file_line_error_style| parameter makes \MP\ use a more standard compiler error message format instead of the Knuthian exclamation mark. It needs the actual version of the current input -file name, that will be saved by |a_open_in| in the global -|mp->long_name|. +file name, that will be saved by |a_open_in| in the |long_name|. -@= -char *long_name; +TODO: currently these strings cause memory leaks, because they cannot +be safely freed as they may appear in the |input_stack| multiple times. +In fact, the current implementation is just a quick hack in response +to a bug report for metapost 1.205. -@ @