------------------------------------------------------------------------ r2576 | taco | 2009-06-23 12:55:50 +0200 (Tue, 23 Jun 2009) | 2 lines Changed paths: M /trunk/source/texk/web2c/luatexdir/tex/stringpool.c M /trunk/source/texk/web2c/luatexdir/tex/stringpool.h add a header loading guard + indent ------------------------------------------------------------------------ r2577 | taco | 2009-06-23 12:56:38 +0200 (Tue, 23 Jun 2009) | 2 lines Changed paths: M /trunk/source/texk/web2c/Makefile.in M /trunk/source/texk/web2c/aclocal.m4 M /trunk/source/texk/web2c/configure M /trunk/source/texk/web2c/doc/Makefile.in M /trunk/source/texk/web2c/lib/Makefile.in M /trunk/source/texk/web2c/luatexdir/am/libluatex.am M /trunk/source/texk/web2c/luatexdir/ptexlib.h A /trunk/source/texk/web2c/luatexdir/tex/printing.c A /trunk/source/texk/web2c/luatexdir/tex/printing.h M /trunk/source/texk/web2c/man/Makefile.in M /trunk/source/texk/web2c/web2c/Makefile.in M /trunk/source/texk/web2c/web2c/aclocal.m4 M /trunk/source/texk/web2c/web2c/configure prepare a set of C files for printing ------------------------------------------------------------------------ r2578 | taco | 2009-06-23 16:01:10 +0200 (Tue, 23 Jun 2009) | 2 lines Changed paths: M /trunk/source/texk/web2c/luatexdir/dvi/dvigen.c M /trunk/source/texk/web2c/luatexdir/dvi/dvigen.h dvi_buf_size has to be of type integer, otherwise fetching from configuration fails ------------------------------------------------------------------------ r2579 | taco | 2009-06-23 16:12:23 +0200 (Tue, 23 Jun 2009) | 30 lines Changed paths: M /trunk/source/texk/web2c/luatexdir/font/luatexfont.h M /trunk/source/texk/web2c/luatexdir/font/texfont.h M /trunk/source/texk/web2c/luatexdir/font/tounicode.c M /trunk/source/texk/web2c/luatexdir/font/vfpacket.c M /trunk/source/texk/web2c/luatexdir/font/writeenc.c M /trunk/source/texk/web2c/luatexdir/font/writefont.c M /trunk/source/texk/web2c/luatexdir/font/writet3.c M /trunk/source/texk/web2c/luatexdir/font/writettf.c M /trunk/source/texk/web2c/luatexdir/font/writetype2.c M /trunk/source/texk/web2c/luatexdir/image/epdf.h M /trunk/source/texk/web2c/luatexdir/image/pdftoepdf.cc M /trunk/source/texk/web2c/luatexdir/image/pdftoepdf.h M /trunk/source/texk/web2c/luatexdir/image/writeimg.c M /trunk/source/texk/web2c/luatexdir/image/writeimg.h M /trunk/source/texk/web2c/luatexdir/image/writejbig2.c M /trunk/source/texk/web2c/luatexdir/image/writejbig2.h M /trunk/source/texk/web2c/luatexdir/image/writejpg.c M /trunk/source/texk/web2c/luatexdir/image/writejpg.h M /trunk/source/texk/web2c/luatexdir/image/writepng.c M /trunk/source/texk/web2c/luatexdir/image/writepng.h M /trunk/source/texk/web2c/luatexdir/lua/limglib.c M /trunk/source/texk/web2c/luatexdir/lua/lpdflib.c M /trunk/source/texk/web2c/luatexdir/lua/luanode.c M /trunk/source/texk/web2c/luatexdir/luatex.defines M /trunk/source/texk/web2c/luatexdir/luatex.h M /trunk/source/texk/web2c/luatexdir/luatex.web M /trunk/source/texk/web2c/luatexdir/pdf/pagetree.c M /trunk/source/texk/web2c/luatexdir/pdf/pagetree.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfaction.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfaction.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfcolorstack.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfcolorstack.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfdest.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfdest.h M /trunk/source/texk/web2c/luatexdir/pdf/pdffont.c M /trunk/source/texk/web2c/luatexdir/pdf/pdffont.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfgen.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfgen.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfimage.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfimage.h M /trunk/source/texk/web2c/luatexdir/pdf/pdflistout.c M /trunk/source/texk/web2c/luatexdir/pdf/pdflistout.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfliteral.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfliteral.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfobj.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfobj.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfoutline.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfoutline.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfpage.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfpage.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfsaverestore.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfsaverestore.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfsetmatrix.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfsetmatrix.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfshipout.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfshipout.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfthread.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfthread.h M /trunk/source/texk/web2c/luatexdir/pdf/pdftypes.h M /trunk/source/texk/web2c/luatexdir/pdf/pdfxform.c M /trunk/source/texk/web2c/luatexdir/pdf/pdfxform.h M /trunk/source/texk/web2c/luatexdir/ptexlib.h M /trunk/source/texk/web2c/luatexdir/utils/utils.c M /trunk/source/texk/web2c/luatexdir/utils/utils.h M /trunk/source/texk/web2c/luatexdir/utils/writezip.c Here is a massive patch that does nearly nothing. It adds the type definition for a structure called pdf_output_file. Currently it contains only the FILE * of the output file, but soon this will be filled in with more of the currently still global variables related to pdf writing. The patch also adds a pointer to such a structure to all the functions that write to the PDF output (or so I hope). There is a new global variable 'static_pdf' (in pdfgen.c), which contains the reference to the sole object of the pdf_output_file type. There is still a need for such a static variable because there are hard to reach pdf writing functions (esp. in limglib.c, lpdflib.c, and pdftoepdf.cc's read_pdf_info() function). The suggested entry point is the check_pdfminorversion() function, as that creates the global structure if it does not exist yet. The only other function that explicitly test the variable for existance is remove_pdffile(), everything else just assumes a non-NULL argument. Oh yeah: this patch also shifts a few minor things around, like moving do_late_lua() to pdfshipout.c. ------------------------------------------------------------------------
participants (1)
-
root@www.metatex.org