1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
|
2020-11-18 Luigi Scarso <luigi.scarso@gmail.com>
* am/libmplib.am (mpmath{,binary,decimal,double}_c_h): depend
on mp-tangle to try to pacify high parallelism (make -k8), which
Norbert reports can get
../../../texk/web2c/mplibdir/mpmathbinary.w:38:10: fatal error: mplib.h: No such file or directory
38 | #include "mplib.h"
(per https://spot.fedorapeople.org/texlive-base-build.log).
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-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
|