2011-01-11 Peter Breitenlohner * pdftex.mak, pdftex.mk (removed): Obsolete. 2011-01-08 Peter Breitenlohner * am/pdftex.am (pdftex_ch_srcs): Added enctex.ch. 2011-01-01 Peter Breitenlohner * pdftexextra.in: Renamed ... * pdftexextra.h: into this; #include {e,pdf}tex_version.h for {E,PDF}TEX_VERSION. * pdftexextra.c (new): #include and . * am/pdftex.am: pdftexextra.[ch] are now distributed; create {e,pdf}tex_version.h instead of {e,pdf}tex.version. 2010-12-01 Peter Breitenlohner * writet1.c: Drop unreachable code (after pdftex_fail). Drop unused free_glyph_names() function. 2010-11-29 Peter Breitenlohner * writet1.c (t1_check_unusual_charstring): Drop unused variable. 2010-11-26 Peter Breitenlohner * writet1.c: Still more minor tweaks. 2010-11-26 Thanh Han The * writet1.c (t1_check_unusual_charstring): switch EOL to space before appending. 2010-11-26 Heiko Oberdiek * pdftex.web (Display the whatsit...): avoid erroneous return. http://sarovar.org/tracker/?func=detail&group_id=106&aid=4317&atid=493 2010-11-16 Peter Breitenlohner * pdftex.web (pdf_out_colorstack): There are no 'othercases'. Fix from Heiko Oberdiek . 2010-11-14 Karl Berry * writet1.c: endless formatting tweaks. 2010-11-12 Peter Breitenlohner * writet1.c (load_enc_file): Bug fix (using glyph_names[256]). * writet1.c: Formatting and other trivial changes, to reduce diffs against dvipsk's writet1.c. 2010-11-11 Thanh Han The * writet1.c (t1_check_unusual_charstring): new fn. (t1_subset_charstrings): call it. This resolves a bug reported by Knuth when there is a newline between the /CharStrings and the following number (dict size). 2010-09-29 Peter Breitenlohner * writeimg.c: Use png_get_*() instead of directly accessing fields of the png_info and png_ptr structs. 2010-09-28 Peter Breitenlohner * pdftex.test (new): Just testing 'pdftex -version'. * pdftexdir/am/pdftex.am: Adjusted. 2010-06-22 Peter Breitenlohner Prepare for libpng-1.4.x. * writepng.c: Define and use macros to access bit_depth and the other fields of the png_info and png_ptr structs. 2010-06-10 Peter Breitenlohner * am/pdftex.am (pdftex_cppflags): Add $(AM_CPPFLAGS). * am/ttf2afm.am (ttf2afm_CPPFLAGS): Add $(AM_CPPFLAGS). 2010-06-10 Peter Breitenlohner Reorganize web2c headers. * pdftoepdf.cc: #include instead of and instead of "../config.h". 2010-06-07 Karl Berry * pdftex.web: (pdftex_version_string): let's be optimistic and drop the -beta. 2010-05-20 Peter Breitenlohner * pdftoepdf.cc: #include "../config.h" instead of , required for Mac OS X Leopard. 2010-05-18 Peter Breitenlohner * pdftex.web: Adapt to ../etexdir/etex.ch: More error message with \protected, from Heiko. 2010-04-30 Peter Breitenlohner * pdftex-common.h (xstrdup): Remove decl (in ). (pdfosmode): Declare as boolean as generated by Web2C. * pdftoepdf.h (deleted): Moved contents ... * pdftoepdf.cc: ... to here. #include "openbsd-compat.h" as early as possible. Add #include and drop decl of const_string. Avoid MINGW32's typedef of boolean, conflicting with the definition in . * am/libpdftex.am: Adjusted. * pdftex-common.h, writeimg.c (epdf_selected_page, epdf_num_pages, epdf_page_box): Change from integer to int. * pdftoepdf.cc: Remove '(int)' casts. 2010-04-29 Peter Breitenlohner * epdf.c, pdftoepdf.cc, writeenc.c: Change various function params, return values, and struct members from integer to int. Avoid duplicate function prototypes in different headers. * epdf.c: Drop #include "inc-epdf.h". * inc-extra.h (deleted): Move prototypes ... * ptexlib.h: #include "pdftex-common.h", move some prototypes ... * epdf.h: #include "pdftex-common.h" instead of "inc-epdf.h" and "inc-extra.h", move some prototypes ... * image.h: Move some prototypes ... * pdftex-common.h (new): ... to here. * epdf.h (deleted): Renamed ... * pdftoepdf.h (new): ... into this. * pdftex.web (pdf_last_byte): Changed type to eight_bits. * pdftoepdf.cc (notdef): Added (char *) cast. * pdftoepdf.h, ptexlib.h: Moved declarations from here ... * pdftex-common.h: ... to here, dropped a few unused ones. * am/libpdftex.am: Adjusted. * pdftex-common.h: #define pdfosgetosbuf and pdfbeginobj as in pdftexcoerce.h (generated by Web2C). * pdftoepdf.cc: Use pdfbeginobj instead of zpdfbeginobj. * ptexmac.h: Use pdfosgetosbuf instead of zpdfosgetosbuf. 2010-04-28 Peter Breitenlohner * pdftex.web: Adapt to ../etexdir/etex.ch: Fixed the error message for improper use of \protected, reported by Heiko Oberdiek . 2010-04-23 Peter Breitenlohner * epdf.h: #include instead of etc. 2010-04-22 Peter Breitenlohner * am/pdftex.am (EXTRA_DIST): Add etexdir/etex.ch. Use pdftexdir/etex.version instead of etexdir/etex.version. 2010-04-20 Peter Breitenlohner * ptexlib.h: Move extern declaration of ptexbanner to here from ../lib/lib.h (instatiated in ../lib/texmfmp.c). 2010-03-09 Peter Breitenlohner * ttf2afm.c: Use kpse_set_program_name(argv[0], NULL) instead of kpse_set_progname(argv[0]). 2010-02-14 Peter Breitenlohner * writet1.c (append_cs_return): Cast to byte * to avoid warning. 2010-02-01 Peter Breitenlohner * am/libpdftex.am (libpdftex_a_OBJECTS): Add dependency on $(ZLIB_DEPEND) and $(LIBPNG_DEPEND). * am/pdftex.am (pdftex_OBJECTS): Remove explicit dependency on $(ZLIB_DEPEND) alread implied by libpdftex.a. 2010-01-27 Peter Breitenlohner * avl.c (avl_copy): Proper handling of const. 2010-01-25 Peter Breitenlohner * am/libpdftex.am (libpdftex_a_CFLAGS): Enable compiler warnings. Avoid most compiler warnings: * ptexlib.h, writejbig2.h: ANSI C function prototypes. * avlstuff.c, mapfile.c, utils.c, vfpacket.c, writeenc.c, writefont.c, writeimg.c, writejbig2.c, writet1.c, writettf.c: ANSI C function definitions. * avlstuff.c, mapfile.c, utils.c, writeenc.c, writefont.c, writejbig2.c, writepng.c, writet1.c, writettf.c: Declare functions as static. * ptexlib.h: Add prototype for imagecolor(). * inc-epdf.h: New file with prototypes for is_subsetable(), epdf_check_mem(), epdf_create_fontdescriptor(), epdf_mark_glyphs(), get_fd_objnum(), get_fn_objnum(), and embed_whole_font() ... * epdf.[ch]: ... removed from here. * epdf.[ch]: #include "inc-epdf.h". * inc-extra.h: New file with prototypes for stripzeros() and epdf_write_enc() ... * epdf.h: ... removed from here. * epdf.c, utils.c, writeenc.c: #include "inc-extra.h". * am/libpdftex.am (libpdftex_a_SOURCES): Add the new files. * writejbig2.c: Avoid use of possibly uninitialized variables. * utils.c, writefont.c, writet1.c, writettf.c: Declare various function params and args, local vars, and struct members as const. * writet1.c (append_cs_return): Drop unused local variable 'k'. * avlstuff.c (destroy_oentry, PdfObjTree_free), writet1.c (free_glyph_names): Skip unused static functions (via #if 0 ... #endif). * utils.c (newcolorstack): Don't use value of xretalloc(), xretalloc(addr, n, t) already assigns the new pointer to addr. * avl.c (avl_delete): Don't reuse const input param for non-const return value. 2010-01-19 Peter Breitenlohner * am/libpdftex.am: Add dependency on $(XPDF_DEPEND). * am/pdftosrc.am: Remove dependency on libpdftex.a. 2010-01-18 Peter Breitenlohner * epdf.c: Remove extern delaration of register_fd_entry(). * pkin.c: Remove extern delaration of t3_file. * writet1.c: Remove extern delaration of fb_array. * writettf.c: Remove extern delarations of fb_array and charsetstr. * ptexlib.h: Add extern delarations of fb_array, t3_file, and register_fd_entry(). 2009-12-12 Peter Breitenlohner * am/pdftex.am: Replace the obsolete $(mkdir_p) by $(MKDIR_P). 2009-12-06 Peter Breitenlohner * utils.c: Drop #ifdef HAVE_ASPRINTF and #include . 2009-12-01 Peter Breitenlohner * NEWS, README: Update to version 3.1415926-1.40.10. 2009-10-07 Peter Breitenlohner * pdftoepdf.cc: Adapt to poppler-0.12. * FIXME: epdf.h, ptexlib.h: Multiple prototypes for pdftex_fail, pdftex_warn, and probably others. 2009-10-07 Peter Breitenlohner * am/pdftex.am, am/ttf2afm.am: Enable compiler warnings. * mapfile.c, ptexlib.h: Declare pdfinitmapfile() param string as const. * pdftex.ch (get_strings_started): Drop unused variables. * ttf2afm.c: All functions: ANSI C definition, declare as static. (ttf_fail): Declare as noreturn. (ttf_fail, ttf_warn, name_lookup, ttf_seek_tab, ttf_seek_off): Declare param strings as const. (get_kern_value): Comment out unused function. 2009-10-04 Peter Breitenlohner * pdftex.ch (do_extension): Recover variables unused by TeX. 2009-09-16 Han The Thanh * writettf.c: patch for TTC from Liu Yubao 2009-09-06 Peter Breitenlohner * am/pdftex.am: Adapt to new makecpool with one argument. 2009-09-02 Peter Breitenlohner * am/libpdftex.am, am/pdftosrc.am: Prepare compiler warnings. 2009-08-20 Peter Breitenlohner * utils.c: #include and drop extern decls. 2009-08-19 Peter Breitenlohner * am/ttf2afm.am (ttf2afm_DEPENDENCIES): Use default_dependencies. 2009-08-18 Peter Breitenlohner * am/pdftex.am: SyncTeX now integrated into ../texmfmp.h. 2009-08-16 Peter Breitenlohner * am/pdftex.am (pdf_tangle): Use tangle-sh. Adapt to tangle-sh and web2c-sh. 2009-08-13 Peter Breitenlohner * am/pdftex.am (pdftex_c_h): avoid to split the C code. 2009-08-12 Karl Berry * pdftex.web (sup_dest_names_size): increase to 500000; test document from Peter Abbott to Karl, 12 Aug 2009 12:24:43. 2009-07-13 Han The Thanh * mapfile.c: treat TTC fonts as TTF * writejpg.c: fix bitmap resolution * writettf.c: fix segfault for certain TTF fonts * pdftex.web: enable pk generation by default 2009-06-26 Han The Thanh * pdftex.web: bugfix from Hartmut: fix \pdfobj file {foo} for files foo that don't end with '\n' 2009-06-25 Peter Breitenlohner * epdf.h, ttf2afm.c, writet1.c: removed #include . * avlstuff.c, epdf.c: removed #include and #include . 2009-06-23 Peter Breitenlohner * avlstuff.c, epdf.c, ttf2afm.c, writet1.c: #include , not . 2009-06-04 Karl Berry * am/pdftex.am (pdftex_LDADD): add libpdftex.a here. (pdftex_ldadd): remove it from here, so we do not try to link pdftosrc with it. Report from vvv, tlbuild mail 03 Jun 2009 21:45:00. 2009-05-07 Norbert Preining * pdftosrc.cc: add warning that poppler version doesn't support object streams. 2009-05-05 Peter Breitenlohner * pdftoepdf.cc, pdftosrc.cc, utils.c: adapt for poppler. patches from Norbert Preining 2009-02-18 Peter Breitenlohner * pdftoepdf.cc: Uninclude , included later by "epdf.h". 2004-08-21 Peter Breitenlohner * pdfetex.ch2: Adapted to e-TeX version 2.2. 2004-08-26 Olaf Weber * pdfetexextra.in: File was renamed from pdftexextra.h; the current pdfTeX and e-TeX versions are substituted from ../pdftexdir/pdftex.version and ../etexdir/etex.version. Variant of code supplied by Peter Breitenlohner . * pdfetex.mk: Added rule to insert pdfTeX and e-TeX versions into pdfetexextra.h. Variant of code supplied by Peter Breitenlohner . 2004-08-25 Olaf Weber * pdfetex.mk: vadjust.ch moved from pdfxtexdir to pdftexdir. 2004-08-17 Olaf Weber * pdfetex.mk: Resurrected etex.fix, there is again a need to include late-breaking changes. 2004-07-29 Peter Breitenlohner * pdfetex.ch[12]: Somewhat rearrange handling of kern and math nodes in order to reduce interference between eTeX and pdfTeX change files. * pdfetex.ch1 (hlist_out): Keep full mixed direction typesetting code. 2004-07-25 Peter Breitenlohner * pdfetex.ch[12]: Reorganize additional command codes for convert and last_item in order to reduce interference between eTeX and pdfTeX change files. 2004-07-23 Peter Breitenlohner * pdfetex.ch[12], tex.ch[01]: Reorganize handling of banner string in order to reduce interference between eTeX, pdfTeX, and web2c change files. 2004-07-22 Peter Breitenlohner * pdfetex.ch[12]: Removed unused token types for pdfTeX's additional token list parameters. 2004-07-19 Peter Breitenlohner * pdfetex.ch[12], tex.ch0: Reorganize handling of additional token list and integer parameters and e-TeX's additional penalties in order to reduce interference between eTeX, pdfTeX, and web2c change files. * pdfetex.mk (pdfetex.ch): Remove tex.ch2 from build rules. * tex.ch2: Removed. 2004-07-17 Peter Breitenlohner * pdfetex.mk: Rewrite build rules for pdfetex.{web,ch}, remove etex.{ch0,ch1,fix}, tex.ch2, and several non-dependencies. * pdfetex.ch2: Adapt to eTeX changes. * ChangeLog: New file.