commit 3eee5274abb24d5b5be05262aafe794652cdac35 Author: Albert Astals Cid Date: Thu Dec 17 00:09:37 2015 +0100 New gtk-doc stuff gtk-doc.make | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit fb1f7b0fb037837f37be65aa23ecac711a1b4981 Author: Albert Astals Cid Date: Thu Dec 17 00:08:24 2015 +0100 Prepare for 0.39 CMakeLists.txt | 4 ++-- NEWS | 21 +++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 2 +- poppler/GfxState.cc | 1 + poppler/GfxState.h | 1 + poppler/JPEG2000Stream.cc | 1 + poppler/Makefile.am | 2 +- poppler/PSOutputDev.cc | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- utils/pdftocairo.cc | 2 +- 14 files changed, 35 insertions(+), 11 deletions(-) commit 7ed7fb6d2be009c5d433338a6b3da816dd38f5ca Author: Pino Toscano Date: Sun Oct 12 22:43:22 2014 +0200 Fix typos in error messages Reported by Jakub Wilk, thanks! poppler/JPEG2000Stream.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 47ffce08e75002aa0707107c76984e7e471d8afb Author: Adrian Johnson Date: Thu Jan 15 21:20:05 2015 +1030 cairo: Implement function shading using mesh gradients Gfx draws function shadings by subdividing the shading until the colors are the same or the maximum subdivision is reached then fills each cell with the color of the mid point of the cell. The solid colors can result in a pixelated appearance. This patch implements a cairo specific version of the function shading that uses mesh gradients to draw each cell. By setting the corner of each patch to the shading color at that point, the mesh gradient will interpolate the colors resulting in a smooth appearance. Bug 88394 poppler/CairoOutputDev.cc | 101 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 5 ++- 2 files changed, 105 insertions(+), 1 deletion(-) commit d7717cf18d0db5663687690ccf66102e9a124025 Author: Jason Crain Date: Fri Aug 22 00:51:36 2014 -0500 cairo: Scale radial pattern Scale the radial pattern because cairo/pixman do not work well with a very large or small scaled matrix. See cairo bug #81657. bug #22098 poppler/CairoOutputDev.cc | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) commit 9ef565d0302ad4a36c53d7cd3251bff6a53070ea Author: Carlos Garcia Campos Date: Fri Dec 4 11:08:45 2015 +0100 regtest: Pass always both the owner and user passwords to the tools regtest/backends/cairo.py | 2 +- regtest/backends/postscript.py | 2 +- regtest/backends/splash.py | 2 +- regtest/backends/text.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 3686005cde6f0c0992498a1773b02331fce79b1c Author: Carlos Garcia Campos Date: Fri Dec 4 11:03:27 2015 +0100 pdftocairo: Fix double free when both user and owner passwords are given utils/pdftocairo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 38796894f8ab19c2cd0b996e6b1aa0be98326eac Author: Hib Eris Date: Mon Jun 9 22:54:54 2014 +0200 Remove enum PopplerOrientation from API This should have been removed long time ago with 1aad886c6c19a964a3fc9e18f31acc8e115478e0 https://bugs.freedesktop.org/show_bug.cgi?id=93229 glib/poppler.h | 8 -------- glib/reference/poppler-docs.sgml | 1 - glib/reference/poppler-sections.txt | 11 ----------- 3 files changed, 20 deletions(-) commit 921fe21d56be27c8164111577b9a848525b35508 Author: Carlos Garcia Campos Date: Thu Dec 3 16:23:30 2015 +0100 regtest: Fix testing text backend Fix a typo in previous commit. regtest/backends/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e22c678e749eda4402a7440b91b33d627705fdb Author: Carlos Garcia Campos Date: Thu Dec 3 15:46:58 2015 +0100 regtest: Add support for testing password protected documents Similar to how skipped file works, you can pass a passwords file from the command line or add a Passwords file to your docs directory. This file should be a python file containing a "passwords" dictionary where the key is the test document and the value is the password required to open that document. regtest/TestReferences.py | 7 +++++-- regtest/TestRun.py | 11 +++++++---- regtest/Utils.py | 13 +++++++++++++ regtest/backends/__init__.py | 2 +- regtest/backends/cairo.py | 7 +++++-- regtest/backends/postscript.py | 7 +++++-- regtest/backends/splash.py | 7 +++++-- regtest/backends/text.py | 7 +++++-- regtest/main.py | 3 +++ 9 files changed, 49 insertions(+), 15 deletions(-) commit 50ba37c7b1aff14c73f158ff7f33d31953af512b Author: Hib Eris Date: Sun Jun 8 14:03:17 2014 +0200 doc: Move PopplerError to it's own section https://bugs.freedesktop.org/show_bug.cgi?id=79837 glib/poppler.cc | 15 +++++++++++++++ glib/reference/poppler-docs.sgml | 1 + glib/reference/poppler-sections.txt | 18 +++++++++++++----- 3 files changed, 29 insertions(+), 5 deletions(-) commit ef518d601836fcedb8b558447f10c846e4038318 Author: Hib Eris Date: Mon Jun 9 15:53:57 2014 +0200 doc: Add poppler_orientation_get_type to poppler-sections.txt https://bugs.freedesktop.org/show_bug.cgi?id=79837 glib/reference/poppler-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 7f1de12da6d1128535c2e3e7dc89e29ca61b858f Author: Hib Eris Date: Sun Jun 8 22:27:47 2014 +0200 doc: Fix PopplerStructureElement documentation https://bugs.freedesktop.org/show_bug.cgi?id=79837 glib/poppler-structure-element.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit d4a9da24d2c479d53ff1094e6e1d7c1d79561da4 Author: Hib Eris Date: Mon Jun 9 08:34:13 2014 +0200 doc: Do not include private headers https://bugs.freedesktop.org/show_bug.cgi?id=79837 glib/reference/Makefile.am | 6 +++++- glib/reference/poppler-sections.txt | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) commit 7980727d76b29db12b468e5da19d174d42bc3b00 Author: Adrian Johnson Date: Tue Oct 27 22:27:22 2015 +1030 pdftops: fix %%PageBoundingBox The %%PageBoundingBox calculation did not take into account the page transformation (eg rotate, fit-to-page). Bug 87161 poppler/GfxState.cc | 16 +++++++++++ poppler/GfxState.h | 5 ++++ poppler/PSOutputDev.cc | 72 +++++++++++++++++++++++++++++++++++++------------- 3 files changed, 74 insertions(+), 19 deletions(-) commit 37840827c4073dedfd37915a74eb8fe0c44843c3 Author: Thomas Freitag Date: Wed Dec 2 22:15:33 2015 +0100 Ignore the alternateSpace and tintTransform As a reasonable compromise in my eyes this new patch now also checks the alternate colorspace, and if this is DeviceGray in case of a separation colorspace with name black this patch treats is as if it is really a DeviceGray and so ignore tintTransform and alternate colorspace just in this case when using getGray() and getRGB(). Bug #92381 poppler/GfxState.cc | 64 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 48 insertions(+), 16 deletions(-) commit 72f0ea4f883417a920be65cb778989bf81e8f57d Author: Carlos Garcia Campos Date: Wed Dec 2 16:59:16 2015 +0100 glib-demo: Use duration_real in transitions demo glib/demo/transitions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b5c7b93cabc0d95fb3a7dc1b8104363cd04873c1 Author: Arseniy Lartsev Date: Wed Dec 2 16:48:05 2015 +0100 glib: Add duration_real to PopplerPageTransition https://bugs.freedesktop.org/show_bug.cgi?id=92040 glib/poppler-page.cc | 1 + glib/poppler-page.h | 1 + 2 files changed, 2 insertions(+) commit 38ff3736576b81be51eb11454862f83d1c3f3d0e Author: Adrian Johnson Date: Sun Nov 29 08:06:14 2015 +1030 Visual Studio 2015 now supports snprintf Bug 93116 config.h.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c63aa0c153fc114e6457fc89a40a9aa2a5508b9a Author: Albert Astals Cid Date: Mon Nov 16 21:44:17 2015 +0100 Poppler 0.38 CMakeLists.txt | 4 ++-- NEWS | 12 ++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 19 insertions(+), 7 deletions(-) commit 6ca4afcea790d9118af3cda4961a647485fb14e8 Author: Albert Astals Cid Date: Mon Nov 16 21:40:20 2015 +0100 Update copyright years utils/pdftocairo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0e14049bc5b85f8ae2e1a56bc09480a499343e49 Author: Adrian Johnson Date: Sat Oct 31 18:32:49 2015 +1030 pdftocairo: fix fit to page transformation Testing with the test case in bug 87161 revealed some bugs. utils/pdftocairo.cc | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) commit 3167964d70647d7b04e3ef8f415d5935990ecc9a Author: Thomas Freitag Date: Wed Oct 28 23:13:44 2015 +0100 Multiply opacity in case of pattern colorspace Bug #92592 poppler/Gfx.cc | 4 +++- poppler/OutputDev.h | 4 +++- poppler/SplashOutputDev.cc | 8 ++++++++ poppler/SplashOutputDev.h | 2 ++ splash/Splash.cc | 16 ++++++++++++++-- splash/Splash.h | 2 ++ splash/SplashState.cc | 11 ++++++++++- splash/SplashState.h | 5 ++++- 8 files changed, 46 insertions(+), 6 deletions(-) commit c20f68ce434366bbec4077824da97ce843ecdff3 Author: Marek Kasik Date: Thu Oct 22 16:15:23 2015 +0200 forms: Fix showing of some non-ASCII characters The &uChar is an array with just 1 member not 2. This fixes mapping of some Unicode characters to character codes. poppler/Annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 64735113b203bb5adaaadc65641ef6c971f82bc6 Author: Marek Kasik Date: Fri Oct 23 10:15:47 2015 +0200 forms: Find correct glyph or return 0 Function CharCodeToUnicode::mapToCharCode() could return wrong character code for given unicode character because of wrongly placed continue statement. poppler/CharCodeToUnicode.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fb906dca8b84d03267099cc3174c50e932a55236 Author: Adrian Johnson Date: Thu Oct 15 07:19:16 2015 +1030 cmake: synchronize warnings with configure CMakeLists.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 6329e3999d0a45b4c0cd0a8b675362e694bf1243 Author: Adrian Johnson Date: Thu Oct 15 07:11:13 2015 +1030 configure: warn that the internal DCT/JPX decoders are unmaintained configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 67e1463dc65f85aec1f85b5bace9e810bf477e15 Author: Albert Astals Cid Date: Mon Oct 12 16:49:34 2015 +0200 Clarify getting a xpdf license does not allow you to use poppler in closed source projects README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 44e1a2f715d0da8bb2941da296faab7ee144cfc2 Author: Albert Astals Cid Date: Fri Oct 9 23:28:03 2015 +0200 Poppler 0.37 CMakeLists.txt | 4 ++-- NEWS | 13 +++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- gtk-doc.make | 20 ++++++++++++-------- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/Makefile.am | 2 +- 12 files changed, 36 insertions(+), 19 deletions(-) commit e8cb16bff48dbe2d9efd988ddb09608406d2633b Author: Adrian Johnson Date: Sun Sep 27 15:34:12 2015 +0930 configure: fix openjpeg detection - configure was failing when enable_libopenjpeg="auto" and openjpeg not found - fix header check for pre 1.4 versions Bug 92135 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a82e338b4f9639aced3201bf7639bbdf1a7974e2 Author: Albert Astals Cid Date: Sun Sep 27 15:41:27 2015 +0200 Fix memory leak on font reload poppler/SplashOutputDev.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 8639b20da3d9be62f47462ad1cdaa5c65d117dfb Author: Thomas Freitag Date: Sun Sep 27 15:37:51 2015 +0200 Try to use an external font if the internal one is invalid poppler/GfxFont.h | 11 +++++++++++ poppler/SplashOutputDev.cc | 8 ++++++++ 2 files changed, 19 insertions(+) commit e3225a0543d1e6fbc269094ca192879816296993 Author: Albert Astals Cid Date: Fri Sep 25 01:14:41 2015 +0200 Fix crash in GfxGouraudTriangleShading for malformed files poppler/GfxState.cc | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) commit 0a33e3a740a1dbe57023d0a51077689d29d79def Author: Albert Astals Cid Date: Fri Sep 25 01:00:32 2015 +0200 Fix the fix of the fix for SplashOutputDev::beginTransparencyGroup and malformed files poppler/SplashOutputDev.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit b723e4f90c78ac972bf30d7006283042930374d7 Author: Albert Astals Cid Date: Fri Sep 25 00:53:10 2015 +0200 Fix crash in malformed document in SplashOutputDev::drawMaskedImage And improved the one i just did for SplashOutputDev::beginTransparencyGroup poppler/SplashOutputDev.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit fd49b3d4ecdbe04c4f51e6ab77687dc25bbc3f49 Author: Albert Astals Cid Date: Fri Sep 25 00:45:55 2015 +0200 Fix crash on Annot::layoutText for malformed documents poppler/Annot.cc | 3 +++ 1 file changed, 3 insertions(+) commit a88be71fee8a4fd8e9a5a1d9d955addc0f3076ea Author: Albert Astals Cid Date: Fri Sep 25 00:42:14 2015 +0200 Fix crash in SplashOutputDev::beginTransparencyGroup in malformed file poppler/SplashOutputDev.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 0fa5c17ea409c3fdfe1e3a97ff5e4bae96da1cae Author: Albert Astals Cid Date: Fri Sep 25 00:36:33 2015 +0200 Fix crash on JBIG2Stream::readHalftoneRegionSeg for malformed documents poppler/JBIG2Stream.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 942adfc25e7a00ac3cf032ced2d8949e99099f70 Author: Albert Astals Cid Date: Fri Sep 25 00:30:58 2015 +0200 Fix crash on AnnotInk::draw for malformed documents poppler/Annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9aa19159bff4db02889cba48b9b31e40247e5314 Author: Even Rouault Date: Fri Sep 11 13:56:05 2015 +0200 Catalog::cachePageTree(): recover from out of memory condition poppler/Catalog.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 8dc9187690de10f1538764972799a39660272d1f Author: Even Rouault Date: Fri Sep 11 13:30:32 2015 +0200 Catalog::getNumPages(): validate page count poppler/Catalog.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 7028f835a603e12dd73452a39f56ac0b633207b2 Author: Arseniy Lartsev Date: Sun Sep 20 18:32:36 2015 +0200 PageTransition D is a number not an int See bug #92040 poppler/PageTransition.cc | 5 +++-- poppler/PageTransition.h | 5 +++-- qt4/src/poppler-page-transition.cc | 6 ++++++ qt4/src/poppler-page-transition.h | 14 ++++++++++++-- qt5/src/poppler-page-transition.cc | 6 ++++++ qt5/src/poppler-page-transition.h | 14 ++++++++++++-- 6 files changed, 42 insertions(+), 8 deletions(-) commit a98f99e90aac703e648697da5c897c49645eda10 Author: Kenji Uno Date: Wed Sep 16 22:08:59 2015 +0200 SplashOuputDev: Protect calls to set/getAA with the proper #if guards Bug #92006 poppler/SplashOutputDev.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 2a48cab5e66a69ed1bf3e792efc109ddcad8d5ee Author: Jason Crain Date: Tue Sep 15 14:43:21 2015 -0500 cairo: Use mask for even-odd fill Bug #84527 poppler/CairoOutputDev.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit b14d4b0968f7b0ad783c3fa56ad863d7fda235fe Author: Albert Astals Cid Date: Thu Sep 10 00:33:15 2015 +0200 Post release fixlets for the NEWS file NEWS | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit de1ece5c929c3f46c04be76b4b72f6371911fd1a Author: Albert Astals Cid Date: Thu Sep 10 00:26:02 2015 +0200 Poppler 0.36 CMakeLists.txt | 4 ++-- NEWS | 36 ++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/Makefile.am | 2 +- 11 files changed, 47 insertions(+), 11 deletions(-) commit d490c21fe4a60cff26f34c619d3078dcb575bf44 Author: Albert Astals Cid Date: Wed Sep 9 23:55:57 2015 +0200 Update (C) poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fc69a5e7dab48636946282e5d4b7be77e650023c Author: Albert Astals Cid Date: Tue Sep 8 17:48:49 2015 +0200 Qt5: Minor optimizations Call reserve on containers Use QStringLiteral/QLatin1String qt5/src/poppler-annotation.cc | 612 +++++++++++++++++++++--------------------- qt5/src/poppler-document.cc | 3 +- qt5/src/poppler-fontinfo.cc | 3 +- qt5/src/poppler-form.cc | 3 +- qt5/src/poppler-optcontent.cc | 2 + qt5/src/poppler-page.cc | 1 + qt5/src/poppler-private.cc | 18 +- 7 files changed, 325 insertions(+), 317 deletions(-) commit 9b4e908d86e78535cced9fb7ccac1f3f0e1fc5c1 Author: Albert Astals Cid Date: Tue Sep 8 17:48:16 2015 +0200 Qt4: Minor optimization Call reserve on containers upfront qt4/src/poppler-annotation.cc | 4 +++- qt4/src/poppler-document.cc | 3 ++- qt4/src/poppler-fontinfo.cc | 3 ++- qt4/src/poppler-form.cc | 3 ++- qt4/src/poppler-optcontent.cc | 2 ++ qt4/src/poppler-page.cc | 1 + 6 files changed, 12 insertions(+), 4 deletions(-) commit f8182694909c989bd65b7317f9df439c5bfabe95 Author: Albert Astals Cid Date: Tue Sep 8 17:13:07 2015 +0200 renderingIntent is always non null poppler/GfxState.cc | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 6f69e2e35b8fe7a347367074ce36959d47fd8635 Author: Albert Astals Cid Date: Tue Sep 8 09:44:30 2015 +0200 Matrix is 48 bytes, pass it by ref instead of by value poppler/TextOutputDev.cc | 4 ++-- poppler/TextOutputDev.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit c871ae2cd6fbc8a827dfe2c4d5595d7439a4b54e Author: Heiko Becker Date: Sun May 3 16:06:30 2015 +0200 cmake: Allow configuring SHARE_INSTALL_DIR This is helpful on a multiarch layout where the prefix is /usr/${host} but arch-independent files should still be installed to /usr/share. Bug 90293 CMakeLists.txt | 1 + cmake/modules/GObjectIntrospectionMacros.cmake | 2 +- utils/CMakeLists.txt | 22 +++++++++++----------- 3 files changed, 13 insertions(+), 12 deletions(-) commit 1e1a2d0600153c98d44f65e83a0555ab5288450b Author: Jason Crain Date: Sun Sep 6 22:33:02 2015 +0200 Fix JBIG2Decode infinite loop and stack overflow Creating a JBIG2Decode filter can create a stack overflow or infinite loop. Fix stack overflow by adding 'recursion' argument to fetch call. Fix infinite loop by removing the reference lookup loop. Chains of references aren't allowed by the spec anyway. Bug #91186 poppler/Stream.cc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit 3c91ded21c828d3529f9cd00c417601c67c8a741 Author: Albert Astals Cid Date: Tue Sep 1 23:46:55 2015 +0200 Revert a42614284c94c6742b2343abd797657fffa80e0e poppler/PDFDoc.cc | 33 ++++++++++++++------------------- poppler/PDFDoc.h | 11 +++++------ qt4/src/poppler-pdf-converter.cc | 14 +------------- qt4/src/poppler-qt4.h | 4 +--- qt5/src/poppler-pdf-converter.cc | 14 +------------- qt5/src/poppler-qt5.h | 4 +--- utils/pdfunite.cc | 3 +-- 7 files changed, 24 insertions(+), 59 deletions(-) commit 911d9fc8d85b776418039b4eebb37200a0987554 Author: Jeremy Echols Date: Tue Sep 1 00:22:28 2015 +0200 pdftotext: Add -bbox-layout option Adds layout information for blocks and lines in addition to words Bug #89941 utils/pdftotext.1 | 4 ++ utils/pdftotext.cc | 115 +++++++++++++++++++++++++++++++++++++++++++---------- 2 files changed, 99 insertions(+), 20 deletions(-) commit a42614284c94c6742b2343abd797657fffa80e0e Author: Adam Reichold Date: Tue Sep 1 00:15:46 2015 +0200 Add option to strip encryption Adds a PDF write mode that forces a complete rewrite that ignores the original encryption parameters of the document and also removes the encryption entry from the trailer dictionary. poppler/PDFDoc.cc | 33 +++++++++++++++++++-------------- poppler/PDFDoc.h | 11 ++++++----- qt4/src/poppler-pdf-converter.cc | 14 +++++++++++++- qt4/src/poppler-qt4.h | 4 +++- qt5/src/poppler-pdf-converter.cc | 14 +++++++++++++- qt5/src/poppler-qt5.h | 4 +++- utils/pdfunite.cc | 3 ++- 7 files changed, 59 insertions(+), 24 deletions(-) commit 72c0162258f2630a3bb11b9c1078ec1ec2812788 Author: Jason Crain Date: Tue Aug 18 01:34:10 2015 -0500 cairo: fix size of transparency group surface Under rotation cairo_surface_create_similar_clip will create a surface with incorect width/height. Rely on cairo to do the correct calculation. Bug #66229 poppler/CairoOutputDev.cc | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) commit 06f942657ee0798d7bdc5bd180150ea0464833a5 Author: Arthur Stavisky Date: Sat Aug 29 15:50:45 2015 +0200 Fix for xref table creation Bug #90790 utils/pdfunite.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6ccdd381b483f50f37005fd9b13f79d2f38273ff Author: Pino Toscano Date: Sat Aug 29 12:18:44 2015 +0200 typo fix, "existant" -> "existent" NEWS | 2 +- poppler/Form.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9d79f06192d176298b4c911a6702ad1cfe099112 Author: Hib Eris Date: Thu Aug 27 23:10:05 2015 +0200 Do not hardcode -fPIC in Makefile.am The flag -fPIC is already set on CXXFLAGS by configure. For the mingw compiler, you should not use fPIC, see d44e7e35. https://bugs.freedesktop.org/show_bug.cgi?id=91466 qt5/src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e19bec738889ee9140379ac3f871552dbb9bf41 Author: Thomas Freitag Date: Thu Aug 27 23:01:21 2015 +0200 pdfunite: Insert embedded files in result pdf Bug #90066 poppler/PDFDoc.cc | 1 - utils/pdfunite.cc | 156 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 154 insertions(+), 3 deletions(-) commit 6e469dbe239714b478488af5ff73046e6a46a908 Author: Adam Reichold Date: Sun Aug 16 21:05:38 2015 +0200 Change default Qt frontend image format Change the default image format used by the Qt frontends to XBGR/RGB32 which allows efficient blending and pixmap conversion via Qt. Also use the premultiplied conversion for IgnorePaperColor to elide a further copy for pixmap conversion. qt4/src/poppler-page.cc | 46 +++++++++++++++------------------------------- qt5/src/poppler-page.cc | 46 +++++++++++++++------------------------------- 2 files changed, 30 insertions(+), 62 deletions(-) commit 56fc0bb2f20adfd89835f3132bfef3033fdcd80d Author: Adam Reichold Date: Sun Aug 16 21:01:52 2015 +0200 Add premultiplied alpha channel to SplashBitmap This extends the convertToXBGR method so that it can either * leave the alpha channel of the bitmap data opaque, * copy the alpha channel into the bitmap data, * transfer the alpha channel into the bitmap data and perform premultiplication on the bitmap data. qt4/src/poppler-page.cc | 6 +++++- qt5/src/poppler-page.cc | 6 +++++- splash/SplashBitmap.cc | 49 ++++++++++++++++++++++++++++++++++++++----------- splash/SplashBitmap.h | 11 +++++++++-- 4 files changed, 57 insertions(+), 15 deletions(-) commit e5511b58e732f921c65e366fb4d221371b95d905 Author: Hans-Peter Deifel Date: Thu Aug 27 22:38:08 2015 +0200 cpp: Fix utf8/utf16 conversion The old code assumed that ustring::size() would return the number of bytes in ustring, but it really returns the number of characters. Since ustring is a basic_string, these two values differ (by a factor of two). This needs to be considered when using iconv, since it operates on byte counts, not character counts. Bug #91644 cpp/poppler-global.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit d06c27584ecf4b7ff2fe492f0133722ac461dfd6 Author: Thomas Freitag Date: Thu Aug 27 22:16:03 2015 +0200 File Saving improvements Refinement of the /P annotation test Fixes file from comment #8 in bug #87637 poppler/PDFDoc.cc | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) commit 545a8f7cb0a473706858d2851f968ffadcc78ed0 Author: Jason Crain Date: Mon Aug 24 01:12:01 2015 +0200 Fix bounds check in Linearization::getPageFirst Make sure Linearization::pageFirst is in the interval [0, getNumPages), otherwise Hints::getPageObjectNum() can have an out of bounds read. Bug #91200 poppler/Linearization.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3e61c7523416157acadec7fe59429f880a9d0310 Author: William Bader Date: Wed Aug 19 23:01:41 2015 +0200 Splash: Fix wrong memory access Bug #91686 splash/Splash.cc | 2 ++ 1 file changed, 2 insertions(+) commit 431cd5afe7dc931f21f7eadd3e69406612d09a0c Author: Jakub Wilk Date: Mon Aug 17 19:49:51 2015 +0200 Update Jakub Wilk's email fofi/FoFiType1.cc | 2 +- poppler/CharCodeToUnicode.cc | 2 +- poppler/GlobalParams.cc | 2 +- poppler/Object.h | 2 +- poppler/PDFDoc.cc | 2 +- poppler/UnicodeMap.cc | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit 1745d2166dd7680d72fe4a71c1fc7a0a5379dcca Author: Tobias Koenig Date: Fri Aug 14 00:10:53 2015 +0200 Add basic support for RichMedia annotations to Qt frontends Bug #91548 qt4/src/poppler-annotation.cc | 615 ++++++++++++++++++++++++++++++++++++++++- qt4/src/poppler-annotation.h | 330 +++++++++++++++++++++- qt5/src/poppler-annotation.cc | 616 +++++++++++++++++++++++++++++++++++++++++- qt5/src/poppler-annotation.h | 331 ++++++++++++++++++++++- 4 files changed, 1888 insertions(+), 4 deletions(-) commit da5760675d75acf1883ac6f757f755222248762f Author: Albert Astals Cid Date: Fri Aug 14 00:04:15 2015 +0200 add (C) poppler/Annot.cc | 2 +- poppler/Annot.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit bc01007d714a58fd0023594b055e0cd5fbad1f7e Author: Tobias Koenig Date: Thu Aug 13 23:57:44 2015 +0200 Patch to support RichMedia annotations in poppler core poppler/Annot.cc | 404 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 172 ++++++++++++++++++++++- 2 files changed, 575 insertions(+), 1 deletion(-) commit 1213501882cf2ec6e3dcb3c078391040c8cb0a57 Author: Albert Astals Cid Date: Sun Aug 9 18:27:06 2015 +0200 0.35.0 CMakeLists.txt | 4 ++-- NEWS | 29 +++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/Makefile.am | 2 +- 11 files changed, 40 insertions(+), 11 deletions(-) commit a7b1151ce7a14d359d85bacfe02352cdeb8d9a8f Author: Hib Eris Date: Sun Jul 26 10:38:37 2015 +0200 glib-demo: Prefer gtk_label_set_{x,y}align() over deprecated gtk_misc_set_alignment() https://bugs.freedesktop.org/show_bug.cgi?id=88788 glib/demo/main.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit e6e7d1492b518d57136031a94069a994182693cc Author: Hib Eris Date: Sun May 31 12:32:36 2015 +0200 pdftocairo: Fix cast to pointer from integer of different size on win64 Fixes warning: [ 322s] CXX pdftocairo-pdftocairo-win32.o [ 324s] In file included from /usr/x86_64-w64-mingw32/sys-root/mingw/include/windows.h:72:0, [ 324s] from /usr/x86_64-w64-mingw32/sys-root/mingw/include/cairo/cairo-win32.h:44, [ 324s] from pdftocairo-win32.cc:16: [ 324s] pdftocairo-win32.cc: In function 'HWND__* createGroupBox(HWND, HINSTANCE, int, const char*, RECT*)': [ 324s] pdftocairo-win32.cc:170:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [ 324s] parent, (HMENU)id, [ 324s] ^ [ 324s] pdftocairo-win32.cc: In function 'HWND__* createCheckBox(HWND, HINSTANCE, int, const char*, RECT*)': [ 324s] pdftocairo-win32.cc:186:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [ 324s] parent, (HMENU)id, [ 324s] ^ [ 324s] pdftocairo-win32.cc: In function 'HWND__* createStaticText(HWND, HINSTANCE, int, const char*, RECT*)': [ 324s] pdftocairo-win32.cc:202:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [ 324s] parent, (HMENU)id, [ 324s] ^ [ 324s] pdftocairo-win32.cc: In function 'HWND__* createPageScaleComboBox(HWND, HINSTANCE, int, RECT*)': [ 324s] pdftocairo-win32.cc:219:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] [ 324s] parent, (HMENU)id, [ 324s] ^ https://bugs.freedesktop.org/show_bug.cgi?id=91465 utils/pdftocairo-win32.cc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit f3a0191abbf67c8b0f83739e1844a2fabe4138a4 Author: Hib Eris Date: Thu Jul 23 21:44:57 2015 +0200 Explicitly link poppler-glib against pthread Debian complains about missing symbols: dpkg-shlibdeps: warning: symbol pthread_mutexattr_destroy used by debian/libpoppler-glib8/usr/lib/i386-linux-gnu/libpoppler-glib.so.8.6.0 found in none of the libraries dpkg-shlibdeps: warning: symbol pthread_mutexattr_init used by debian/libpoppler-glib8/usr/lib/i386-linux-gnu/libpoppler-glib.so.8.6.0 found in none of the libraries dpkg-shlibdeps: warning: symbol pthread_mutexattr_settype used by debian/libpoppler-glib8/usr/lib/i386-linux-gnu/libpoppler-glib.so.8.6.0 found in none of the libraries https://bugs.freedesktop.org/show_bug.cgi?id=91450 glib/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit fb264bfa8bf7142cabc8d94a86594cf0e7c9f134 Author: Hib Eris Date: Fri Jul 24 22:18:26 2015 +0200 glib-demo: Remove code for no longer supported gtk versions https://bugs.freedesktop.org/show_bug.cgi?id=88788 glib/demo/annots.c | 8 -------- glib/demo/selections.c | 16 ---------------- 2 files changed, 24 deletions(-) commit dd0883649ac296c6033474fe5991c534ac2ce594 Author: Hib Eris Date: Fri Jul 24 22:09:57 2015 +0200 glib-demo: Remove use of deprecated gtk_dialog_set_alternative_button_order() https://bugs.freedesktop.org/show_bug.cgi?id=88788 glib/demo/main.c | 4 ---- 1 file changed, 4 deletions(-) commit ffc798a7fcf95d2aaf123772072ef956ceb2dff7 Author: Hib Eris Date: Sun Jan 25 18:16:04 2015 +0100 glib-demo: Remove deprecated use of gtk_misc_set_alignment() https://bugs.freedesktop.org/show_bug.cgi?id=88788 glib/demo/main.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 56915b2989fc244b58a454fe40412eb731e706bd Author: Hib Eris Date: Sun Jan 25 13:10:31 2015 +0100 glib-demo: Remove use of deprecated GtkAlignment https://bugs.freedesktop.org/show_bug.cgi?id=88788 glib/demo/annots.c | 23 +++++++++++--------- glib/demo/forms.c | 23 +++++++++++--------- glib/demo/info.cc | 18 +++++++++------ glib/demo/main.c | 12 +--------- glib/demo/page.c | 34 ++++++++++++++++++----------- glib/demo/text.c | 18 +++++++++------ glib/demo/utils.c | 64 +++++++++++++++++++++++++++++++----------------------- 7 files changed, 107 insertions(+), 85 deletions(-) commit 49e33e1213a7957d4814656960bf269abcabc7c3 Author: Hib Eris Date: Sun Jan 25 12:21:41 2015 +0100 glib-demo: Remove deprecated use of gtk_tree_view_set_rules_hint() The use of rules-hint is deprecated in gtk because it is considered bad application API and is not really usefull. See https://git.gnome.org/browse/gtk+/commit/?id=0ed766ec866a2da7e3db05b1db2fc2519d6b1cdc https://bugs.freedesktop.org/show_bug.cgi?id=88788 glib/demo/attachments.c | 1 - glib/demo/find.c | 1 - glib/demo/fonts.c | 1 - glib/demo/transitions.c | 1 - 4 files changed, 4 deletions(-) commit 70f3c5ff0010775e5fcd590db1b8d475694fe3a4 Author: William Bader Date: Sat Jul 18 16:36:30 2015 +0200 Updated patch to add configure --enable-build-type Bug #90796 configure.ac | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) commit 1aa2f6e8a41a6a86dc02bf7c5cbc62355e780961 Author: Albert Astals Cid Date: Fri Jul 17 00:40:56 2015 +0200 Silly micro optimization: Move vars inside case {} poppler/SplashOutputDev.cc | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit 705615f7569bbadb555bbf45c15c7c01f1690db5 Author: Albert Astals Cid Date: Fri Jul 17 00:38:58 2015 +0200 More typo fix poppler/Catalog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3b6b3fefe97b885e42966fece84a123fc4671b20 Author: William Bader Date: Fri Jul 17 00:37:46 2015 +0200 [Splash] Fix wrong writes on non rgb outputs Bug #90570 poppler/SplashOutputDev.cc | 52 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 51 insertions(+), 1 deletion(-) commit 885b23bfd16a3e4970a52956493e92a160b2d0a8 Author: Dmytro Morgun Date: Fri Jul 17 00:30:08 2015 +0200 GlobalParamsWin bug/fixes Bug #91053 poppler/GlobalParamsWin.cc | 57 ++++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 25 deletions(-) commit 0ce4da8ab16b4a5497688a6cf86175aaec0f585f Author: Albert Astals Cid Date: Wed Jul 15 23:59:11 2015 +0200 Make sure pageRootRef is a ref before using it Bug #91344 poppler/Catalog.cc | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) commit b71431513b45f8a1aa4154332dae56af241258f8 Author: Albert Astals Cid Date: Wed Jul 15 13:10:27 2015 +0200 Typo fix in warning poppler/Catalog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ccd780f9504f5b077ea12370fd5380ff7da5cd23 Author: Dmytro Morgun Date: Wed Jul 15 00:26:55 2015 +0200 [Windows] remove ifndef splash/SplashFontEngine.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 2ed8465074c4fc2c88f745b29bdae92410751327 Author: William Bader Date: Wed Jul 15 00:07:48 2015 +0200 Allow configuring SPLASH_CMYK support from cmake/configure Bug #90795 CMakeLists.txt | 4 ++++ config.h.cmake | 3 +++ configure.ac | 7 +++++++ poppler/SplashOutputDev.cc | 4 ++-- qt4/src/poppler-document.cc | 3 ++- qt4/src/poppler-page.cc | 4 ++-- qt5/src/poppler-document.cc | 3 ++- qt5/src/poppler-page.cc | 4 ++-- splash/Splash.cc | 2 +- splash/SplashBitmap.cc | 4 ++-- 10 files changed, 27 insertions(+), 11 deletions(-) commit 334dc56f2f9adf4daa33c20ce034a5b1f8259baf Author: Albert Astals Cid Date: Sun Jul 12 23:29:30 2015 +0200 [qt] KeepAlphaChannel -> IgnorePaperColor qt4/src/poppler-page.cc | 13 ++++++------- qt4/src/poppler-qt4.h | 4 ++-- qt5/src/poppler-page.cc | 13 ++++++------- qt5/src/poppler-qt5.h | 4 ++-- 4 files changed, 16 insertions(+), 18 deletions(-) commit 2a1363a4a3129fe4b5e4fae1018dc8919a2d796a Author: Albert Astals Cid Date: Sun Jul 12 23:22:32 2015 +0200 Update (C) splash/SplashBitmap.cc | 1 + splash/SplashBitmap.h | 1 + 2 files changed, 2 insertions(+) commit e903b2364f55c4f6417d826ab85dcb60cd240563 Author: Albert Astals Cid Date: Sun Jul 12 23:20:20 2015 +0200 [qt] fix spacing in header qt4/src/poppler-qt4.h | 4 ++-- qt5/src/poppler-qt5.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 810c659faea542c3bd6e9c48c9a7c60b886a9269 Author: Adam Reichold Date: Fri Jul 3 00:31:56 2015 +0200 Switch default image format of Qt frontends This changes the Poppler::Page::renderToImage method w.r.t. to the image formats used to render using Splash, i.e. the default will be RGB8. If overprint preview is requested, DeviceN8 will be used and converted to XBGR8 for display. If the internal alpha channel is requested, XBGR8 will be used and augmented by Splash's separate alpha channel. This yields some improvements w.r.t. to rendering including alpha blending with the paper colour, i.e. synthetic benchmarks using structurally simple documents yield more than two percent improvement. qt4/src/poppler-page.cc | 115 +++++++++++++++++++++++++++++------------------- qt5/src/poppler-page.cc | 114 ++++++++++++++++++++++++++++------------------- 2 files changed, 138 insertions(+), 91 deletions(-) commit 8fea54e48ec9ba35122c565f761e7e7f016a34f9 Author: Adam Reichold Date: Thu Jul 2 21:08:38 2015 +0200 Improve efficiency of Poppler::Page::renderToImage Improves the efficiency of rendering into a QImage using the Splash output device by removing a copy of the raw bitmap data since Qt5 will properly free this data using a function supplied during construction, i.e. in this case gfree. This improves performance in synthentic rendering benchmarks by approximately four percent and reduces the maximum working set size. qt5/src/poppler-page.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 09db5a71fff4b7a0ed1d5d7e76c8270e2f6e9a8d Author: Adam Reichold Date: Thu Jul 2 21:02:59 2015 +0200 Add KeepAlphaChannel render flag to Qt frontends Adds a new render flag which will indicate that the image return by Poppler::Page::renderToImage will not be opaque and alpha blended with the paper colour, but retain its actually background transparency. This improves performance in synthentic rendering benchmarks by almost five percent and the additional alpha blending that is then done by the consuming application is often a hardware-accellerated operation. qt4/src/poppler-page.cc | 6 ++++-- qt4/src/poppler-qt4.h | 3 ++- qt5/src/poppler-page.cc | 6 ++++-- qt5/src/poppler-qt5.h | 3 ++- 4 files changed, 12 insertions(+), 6 deletions(-) commit d604a075c6b171d5c3fe26c146d3469c4bc0af3f Author: Adam Reichold Date: Thu Jul 2 21:00:16 2015 +0200 Make SplashBitmap XBGR transfer alpha channel Adds an option to SplashBitmap::convertToXBGR and SplashBitmap::getXBGRLine so that both optionally transfer Splash's internal alpha channel into the fourth component of the resulting bitmap data. splash/SplashBitmap.cc | 27 ++++++++++++++++++++++----- splash/SplashBitmap.h | 4 ++-- 2 files changed, 24 insertions(+), 7 deletions(-) commit 17adfc848f99a5c5bfad35c94289ccf03fba1a16 Author: Adam Reichold Date: Sun Jul 12 17:05:24 2015 +0200 Adjust memory layout computation of GooString GooString uses the small string optimization but the static buffer size is hard-coded and hence the final object size becomes dependent on architecture. This adds a helper class to compute the memory layout at compile time so that the target object size of e.g. 32 or another multiple of 16 is achieved. This also adds an overload so that the C string returned by GooString's getCString method respect the constness of this and fixes a constness issue in the lexer tests. goo/GooString.h | 24 ++++++++++++++++-------- qt4/tests/check_lexer.cpp | 2 +- qt5/tests/check_lexer.cpp | 2 +- 3 files changed, 18 insertions(+), 10 deletions(-) commit d1720740f3381f489f1ee83ce1ce53e73aafd537 Author: Albert Astals Cid Date: Wed Jul 8 23:22:13 2015 +0200 Poppler 0.34 CMakeLists.txt | 4 ++-- NEWS | 13 +++++++++++++ configure.ac | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 19 insertions(+), 6 deletions(-) commit 2fc1f540754391ffa87d7fe9f3438e134d821207 Author: Thomas Freitag Date: Tue Jul 7 18:48:51 2015 +0200 [Splash] Fix crash in PDF with nested softmasks Bug #91240 poppler/SplashOutputDev.cc | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit 0b8919f19dd501c9962bca05c9b0559464e923c3 Author: Dmytro Morgun Date: Mon Jul 6 00:28:27 2015 +0200 Fix pedantic memory leak poppler/StructElement.cc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 2ef22af960d3d800087209fea047009a8419134c Author: Albert Astals Cid Date: Sun Jul 5 16:03:57 2015 +0200 [cmake] Make sure ENABLE_LIBOPENJPEG is either 0 or 1 Otherwise if it was auto it gets translated to 1 for the cmakedefine boolean which is wrong when the auto ends up meaning "i din't find it" CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) commit 50455bcf4f1644060b2187d4e60c3798793041cc Author: Tamas Szekeres Date: Fri Jul 3 20:24:01 2015 +0200 std::max/min need Bug #88511 cpp/poppler-font.cpp | 3 +++ cpp/poppler-global.cpp | 3 +++ poppler/Annot.cc | 2 ++ poppler/SplashOutputDev.cc | 2 ++ 4 files changed, 10 insertions(+) commit 346fc70dbf2803e23e70b093401aa2cda216492b Author: Albert Astals Cid Date: Fri Jul 3 20:19:01 2015 +0200 Forgot the (C) poppler/PSOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit df09c1a84dfe80d2e6cfde3308c79da5b2ea7428 Author: Marek Kasik Date: Fri Jul 3 20:14:23 2015 +0200 Embed Type1 fonts to PostScript files correctly Remove PFB headers from embedded Type1 fonts before embedding them into a PostScript file. Bug #19747 poppler/PSOutputDev.cc | 57 +++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 50 insertions(+), 7 deletions(-) commit 11f117cc71641b89783b207232171f850a2b64ff Author: Carlos Garcia Campos Date: Thu Jun 4 10:51:36 2015 +0200 regtest: Disable pretty diffs for text files in HTML reports difflib is entering in an infinite loop with some files, so disable it for now. We need to either fix that somehow or find a different way to generate pretty diffs of text files. regtest/HTMLReport.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 3db4cb6f07229e26405bfb512c626a272f6351f5 Author: Thomas Freitag Date: Sun May 24 18:41:30 2015 +0200 Splash: Speed up of rendering icc based images Bug #90171 poppler/SplashOutputDev.cc | 142 +++++++++++++++++++++++++++++++++++++++++++-- poppler/SplashOutputDev.h | 8 ++- splash/Splash.cc | 17 ++++-- splash/Splash.h | 9 ++- 4 files changed, 163 insertions(+), 13 deletions(-) commit c50720dcc9e15516e0e19072c0df03fbdee63dec Author: Adrian Johnson Date: Fri May 22 21:44:55 2015 +0930 glib: update new symbols section glib/reference/poppler-docs.sgml | 8 ++++++++ 1 file changed, 8 insertions(+) commit b271a19ec30b20bc11f2240ae6b96672e3cafafb Author: Albert Astals Cid Date: Thu May 14 21:56:47 2015 +0200 Poppler 0.33 CMakeLists.txt | 4 ++-- NEWS | 25 +++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 9 files changed, 34 insertions(+), 9 deletions(-) commit 2b2fb719aa5ffe32fbc3fb500444b1643b1c6099 Author: Albert Astals Cid Date: Thu May 14 20:17:12 2015 +0200 Add missing (C) poppler/Annot.cc | 1 + poppler/Annot.h | 2 +- poppler/CairoFontEngine.cc | 1 + poppler/Page.cc | 3 ++- 4 files changed, 5 insertions(+), 2 deletions(-) commit ae76b75c6a5383eb52f58fba0faba69ae8698ef9 Author: William Bader Date: Thu May 14 20:06:22 2015 +0200 Fix regression in pdftops parameter passing Recent changes to the command line processing moved some options from GlobalParams to PSOutputDev. The options used to be set by calling setters in GlobalParams before creating the PSOutputDev. Now the options are set by calling setters in PSOutputDev after it is created. The problem is that PSOutputDev() calls init() which uses options that now can not be set until later after PSOutputDev() returns. These patches split some of the code of init() into a new postInit() that is automatically called later after the pdftops main program has had a chance to set the command line options. When I was looking through the code, I also fixed a misspelling of sanitizedTitle as sanitizedTile. Bug #89827 poppler/PSOutputDev.cc | 138 +++++++++++++++++++++++++++++++------------------ poppler/PSOutputDev.h | 11 ++-- 2 files changed, 96 insertions(+), 53 deletions(-) commit c516b341a9c2e0c9a985bc14ad3cae73bf10fb02 Author: Thomas Petazzoni Date: Sun May 3 15:27:19 2015 +0200 Fix invalid shell comparaison in libtiff test Bug #115523 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 040b316f0cb1ac933dce616fabe24c93f96fe1cd Author: Jason Crain Date: Sat Apr 18 12:44:47 2015 -0500 glib: Fix segfault when creating PopplerAction Screen annotations and form fields currently pass a NULL pointer to _poppler_action_new. Pass the PopplerDocument instead. Bug #90093 glib/poppler-annot.cc | 4 ++-- glib/poppler-form-field.cc | 2 +- glib/poppler-page.cc | 2 +- glib/poppler-private.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) commit 056ee89122385bc2df7cb2c05e1cb1770af8ecce Author: Carlos Garcia Campos Date: Sat Apr 18 12:16:56 2015 +0200 glib: Add poppler_annot_markup_set_popup_rectangle() It updates the popup rectangle of a markup annotation that already has a popup associated. glib/poppler-annot.cc | 31 +++++++++++++++++++++++++++++++ glib/poppler-annot.h | 2 ++ glib/reference/poppler-sections.txt | 1 + 3 files changed, 34 insertions(+) commit 1aae63ebc6fffe9fa1a2898e4ed733c22e312015 Author: Carlos Garcia Campos Date: Sat Apr 18 11:46:41 2015 +0200 annots: Add popup annots without a markup annot associated to the list of annots For consistency with Annots::createAnnot(). poppler/Annot.h | 2 +- poppler/Page.cc | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) commit 05ef3f9feee760544108c68e0d45d1de25fd8901 Author: Philipp Reinkemeier Date: Mon Feb 16 09:11:58 2015 +0100 annots: Fixed adding annotation of Subtype Popup to pdf page https://bugs.freedesktop.org/show_bug.cgi?id=89136 poppler/Annot.cc | 19 +++++++++++++++++++ poppler/Page.cc | 11 ++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) commit 8ca43bebf36f8da085917f28230e25524de4f4f4 Author: Jason Crain Date: Tue Mar 24 02:51:47 2015 -0500 cairo: Fix memory leak in CairoFreeTypeFont::create - Free embedded font data in _ft_done_face when the cairo font is destroyed. - Free embedded font data if _ft_new_face finds it's a duplicate of an already open font. - Free embedded font data and codeToGID array if font creation fails. Bug #89952 poppler/CairoFontEngine.cc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit edc7bb4fe7b5e718431de12bee1d95036d06efa0 Author: Jason Crain Date: Sat Apr 4 18:40:48 2015 +0200 Combine base characters and diacritical marks LaTeX adds base characters and diacritical marks as separate characters. When a base character and diacritical mark are drawn over each other, this patch converts them into a combining character sequence. Bug #87215 C# poppler-0.31.0.tar.xz poppler/TextOutputDev.cc | 419 ++++++++++++++++++++++++++++++++++------------- poppler/TextOutputDev.h | 31 +++- 2 files changed, 336 insertions(+), 114 deletions(-) commit 96c35dfde6722ff8c5ef7ff59e37be90d273acab Author: Albert Astals Cid Date: Fri Mar 27 22:42:34 2015 +0100 pdftohtml: Set exit status adecuately Based on a patch by Matt Atkinson Bug #83609 utils/pdftohtml.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 0969801c12a6ec0fbc079c8203cece9c70466955 Author: Albert Astals Cid Date: Thu Mar 26 16:08:20 2015 +0100 Fix previous commit about initializing on failure It's the nComps of the destination not of the origin we need poppler/SplashOutputDev.cc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit ede6d00688fcf0e3c843b0a507304f5a98395d41 Author: Albert Astals Cid Date: Thu Mar 26 15:44:40 2015 +0100 memset on error to have reproducible outputs poppler/SplashOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4bb2c9b98299f429752b4c60820cea31ef05f7e0 Author: Jason Crain Date: Wed Mar 25 21:04:19 2015 +0100 Use width from W array for WMode positioning Bug #89621 poppler/GfxFont.cc | 36 ++++++++++++------------------------ poppler/GfxFont.h | 2 ++ 2 files changed, 14 insertions(+), 24 deletions(-) commit 033dbbd7fef8c04c7f4961455cc1cd8d6d1bd93b Author: Albert Astals Cid Date: Sun Mar 15 14:06:15 2015 +0100 Fix the previous pdfDocEncoding fix Since actually the previous fix didn't account for non ascii characters as output of pdfDocEncoding qt4/src/poppler-private.cc | 36 +++++++++++++++--------------------- qt5/src/poppler-private.cc | 36 +++++++++++++++--------------------- 2 files changed, 30 insertions(+), 42 deletions(-) commit bc8076d8f638ccb44f8e3b94aaae96850b025deb Author: Albert Astals Cid Date: Sun Mar 15 13:32:41 2015 +0100 Fix PDF Text String -> QString conversion If they are not UTF16-BE they are in PDFDocEncoding (not ascii) Fixes KDE bug #344849 qt4/src/poppler-private.cc | 5 +++-- qt5/src/poppler-private.cc | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) commit d7cc90a8b60d7e353db6e0acdd0b789485e32972 Author: Albert Astals Cid Date: Sat Mar 7 15:04:52 2015 +0100 0.32.0 CMakeLists.txt | 4 ++-- NEWS | 16 ++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 23 insertions(+), 7 deletions(-) commit c13297d154ded11721fe7d3abdba459ca628cef8 Author: Albert Astals Cid Date: Sat Mar 7 14:58:10 2015 +0100 Update (C) poppler/SecurityHandler.cc | 2 +- poppler/SplashOutputDev.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c909964bff671d5ff0d8eee5f613ded4562f8afd Author: Albert Astals Cid Date: Sat Mar 7 14:54:43 2015 +0100 Do not assert on broken document Bug #89422 poppler/SecurityHandler.cc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 3705fcee0309c50b5fecd563e8e466cbe2c5972b Author: Thomas Freitag Date: Fri Mar 6 15:19:58 2015 +0100 Fix Wrong colour shown when GouraudTriangleShFill uses a DeviceN colorspace Bug #89182 poppler/SplashOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b7fde1ec83a5fff9bec73becc22e581583a30d43 Author: Albert Astals Cid Date: Wed Feb 25 21:51:34 2015 +0100 Fix last commit regression It seems it actually needs to be pipe->shape and not pipe->usesShape (i.e. it seems at some point we use pipe->shape with useShape being false) Otherwise we had a regression on eci_altona-test-suite-v2_technical2_x4.pdf splash/Splash.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7980fe868a8ef2ee3315f0bcb606c448d6604039 Author: William Bader Date: Wed Feb 25 15:00:33 2015 +0100 Fix uninitialized variable in Splash::pipeRun Use useShape is actually the guard for shape, so use it in the if splash/Splash.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 57b6b78a0831fb31c06fd1bc6e9803de524f9d2d Author: Thomas Freitag Date: Tue Feb 24 23:34:57 2015 +0100 pdfseparate: use always an unique instance for PDFDoc for savePageAs utils/pdfseparate.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 8a30d219df71ead323649ff0dfd4a724b5e7bd18 Author: William Bader Date: Sat Feb 21 23:55:10 2015 +0100 Fix memcpy introduced in ec956ab8552dbe10fac4e649951042bddc424b7d goo/GooString.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ec956ab8552dbe10fac4e649951042bddc424b7d Author: William Bader Date: Tue Feb 17 22:55:14 2015 +0100 Reduce use of gmalloc() in GooString::appendfv() Bug #89096 goo/GooString.cc | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) commit 132ef18324f62c1f2a08dcd794b379fadaa4daf5 Author: Petr Gajdos Date: Wed Feb 11 19:37:21 2015 +0100 Annot BG/BC: Empty Array means no color poppler/Annot.cc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit bf4aae25a244b1033a2479b9a8f633224f7d5de5 Author: William Bader Date: Wed Feb 11 17:35:40 2015 +0100 Off by one fix to the previous crash fix fofi/FoFiTrueType.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 97dd46bae5424818ca808c20506d7d96f7b85fb5 Author: William Bader Date: Mon Feb 9 22:30:51 2015 +0100 pdftops: Add aaRaster and overprint to man file utils/pdftops.1 | 9 +++++++++ 1 file changed, 9 insertions(+) commit c114a90063d755639d2b0dbf816690a66b54bee0 Author: Albert Astals Cid Date: Sun Feb 8 00:24:11 2015 +0100 Fix crash in fuzzed file from Bug #84988 poppler/TextOutputDev.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 22895623e6cd2a5923f552421d44cc80cab77dd8 Author: Albert Astals Cid Date: Sat Feb 7 22:28:21 2015 +0100 Fix malformed file crash from bug #86854 poppler/PSOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cdb7ad95f7c8fbf63ade040d8a07ec96467042fc Author: Albert Astals Cid Date: Sat Feb 7 22:21:16 2015 +0100 Fix malformed file crash in bug #85243 fofi/FoFiTrueType.cc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 6641b935e1fc0c4151a723b6b476d987b8324ed2 Author: Albert Astals Cid Date: Sat Feb 7 21:58:23 2015 +0100 If ECM is around include the sanitizers module This way you can run cmake -DECM_ENABLE_SANITIZERS='address' and get an ASAN built poppler CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) commit 92e41685dcef538a7fc669ca357ce9f448a8078e Author: Albert Astals Cid Date: Sat Feb 7 21:54:39 2015 +0100 Fix crash in malformed file from bug #85275 poppler/SplashOutputDev.cc | 4 ++-- splash/Splash.cc | 10 +++++++++- splash/SplashBitmap.cc | 4 ++-- 3 files changed, 13 insertions(+), 5 deletions(-) commit 9842b3b00492eda21297d5d65f769f77a565f6ac Author: Aleksei Volkov Date: Sat Feb 7 20:46:26 2015 +0100 No need to check for hmtx, freetype does for us Bug #88939 fofi/FoFiTrueType.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4849eb43892640062c485e48ba7a29b5a0cc9587 Author: William Bader Date: Sat Feb 7 16:41:53 2015 +0100 Make the colorpsace optimization and option and not the default Bug #88971 poppler/PSOutputDev.cc | 25 ++++++++++++++++--------- poppler/PSOutputDev.h | 4 ++++ utils/pdftops.1 | 10 +++++++++- utils/pdftops.cc | 4 ++++ 4 files changed, 33 insertions(+), 10 deletions(-) commit 8e16e423a718b92514885e771e31048f1ae2a766 Author: Albert Astals Cid Date: Thu Feb 5 20:18:13 2015 +0100 0.31.0 And copyright updating CMakeLists.txt | 4 ++-- NEWS | 17 +++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/CairoOutputDev.cc | 1 + poppler/CairoOutputDev.h | 1 + poppler/JBIG2Stream.cc | 1 + poppler/JBIG2Stream.h | 1 + poppler/Makefile.am | 2 +- poppler/Stream.cc | 1 + qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/Makefile.am | 2 +- 16 files changed, 33 insertions(+), 11 deletions(-) commit f932315e559a7857d9c5642eb04efc0d2b717789 Author: suzuki toshiya Date: Tue Jan 20 22:05:29 2015 +1030 cairo: support embedding JBIG2 image data http://lists.freedesktop.org/archives/poppler/2014-December/011183.html poppler/CairoOutputDev.cc | 117 ++++++++++++++++++++++++++++++++++++++-------- poppler/CairoOutputDev.h | 3 ++ poppler/JBIG2Stream.cc | 9 +++- poppler/JBIG2Stream.h | 4 +- poppler/Stream.cc | 13 +++++- 5 files changed, 121 insertions(+), 25 deletions(-) commit 78abf540057181b708c546aee421f81a1dd58331 Author: Adam Reichold Date: Wed Jan 21 22:30:45 2015 +0100 Worlds -> Words qt4/src/poppler-page.cc | 4 ++-- qt4/src/poppler-qt4.h | 2 +- qt4/tests/check_search.cpp | 4 ++-- qt5/src/poppler-page.cc | 4 ++-- qt5/src/poppler-qt5.h | 2 +- qt5/tests/check_search.cpp | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) commit 027eac4e565576ca2e7042e21426e28abd775d98 Author: Adam Reichold Date: Tue Jan 20 00:09:09 2015 +0100 Expose whole-words search option in Qt frontends qt4/src/poppler-page-private.h | 5 +- qt4/src/poppler-page.cc | 114 +++++++++++++++++++++++++------------ qt4/src/poppler-qt4.h | 44 +++++++++++++- qt4/tests/check_search.cpp | 112 +++++++++++++++++++++++++++++++----- qt5/src/poppler-page-private.h | 5 +- qt5/src/poppler-page.cc | 116 +++++++++++++++++++++++++------------ qt5/src/poppler-qt5.h | 46 +++++++++++++-- qt5/tests/check_search.cpp | 126 +++++++++++++++++++++++++++++++++-------- 8 files changed, 447 insertions(+), 121 deletions(-) commit 30a0baa353c374165e5f411efc4203746f14a74d Author: Albert Astals Cid Date: Sun Jan 18 15:39:53 2015 +0100 Move more variables from GlobalParams to PSOutputDev poppler/CairoFontEngine.cc | 4 +- poppler/GfxFont.cc | 15 ++--- poppler/GfxFont.h | 7 ++- poppler/GlobalParams.cc | 144 --------------------------------------------- poppler/GlobalParams.h | 28 --------- poppler/PSOutputDev.cc | 121 +++++++++++++++++++------------------ poppler/PSOutputDev.h | 30 +++++++++- poppler/SplashOutputDev.cc | 2 +- qt4/src/ArthurOutputDev.cc | 4 +- qt5/src/ArthurOutputDev.cc | 4 +- utils/pdftops.cc | 36 ++++-------- 11 files changed, 116 insertions(+), 279 deletions(-) commit 8fed995c3457d64669ae12901450b7c811599dba Author: Albert Astals Cid Date: Sun Jan 18 14:52:53 2015 +0100 Forgot to delete this in the previous commit poppler/GlobalParams.h | 1 - 1 file changed, 1 deletion(-) commit 4992ff7fa062462507733494827fdad7eaaa95b3 Author: Albert Astals Cid Date: Sun Jan 18 13:57:36 2015 +0100 Move raster mono and resolution from GlobalParams to PSOutputDev poppler/GlobalParams.cc | 32 -------------------------------- poppler/GlobalParams.h | 7 ------- poppler/PSOutputDev.cc | 18 +++++++----------- poppler/PSOutputDev.h | 6 ++++++ utils/pdftops.cc | 7 ++++--- 5 files changed, 17 insertions(+), 53 deletions(-) commit 54908f675eda96c363528198e8c530921df2f45a Author: Albert Astals Cid Date: Sun Jan 18 13:34:45 2015 +0100 Move psUncompressPreloadedImages from GlobalParams to PSOutputDev It belongs there and PSOutputDev is always created by the external user so in case someone wants to set it, it is the same amount of work to set it in GlobalParams than in PSOutputDev poppler/GlobalParams.cc | 16 ---------------- poppler/GlobalParams.h | 3 --- poppler/PSOutputDev.cc | 9 +++++---- poppler/PSOutputDev.h | 2 ++ 4 files changed, 7 insertions(+), 23 deletions(-) commit 136d7aa5e79f153dfcb216c58598e33a8ff16630 Author: Albert Astals Cid Date: Sun Jan 18 13:28:26 2015 +0100 Remove declared but not defined function poppler/GlobalParams.h | 1 - 1 file changed, 1 deletion(-) commit fdba9154d9a176759c765180805e608d4959c34e Author: Adam Reichold Date: Fri Jan 16 19:57:59 2015 +0100 pdftoppm: parse the flags earlier and only once utils/pdftoppm.cc | 42 +++++++++++++++--------------------------- 1 file changed, 15 insertions(+), 27 deletions(-) commit 6b072500b5ac936631be6b29b7d5a591848a18f3 Author: William Bader Date: Wed Jan 14 23:28:03 2015 +0100 Add rasterization option to pdftops Also removes GlobalParams stuff \o/ Coded in conjuntion with Albert Bug #85934 cpp/poppler-page-renderer.cpp | 5 ++-- poppler/GlobalParams.cc | 58 ++----------------------------------------- poppler/GlobalParams.h | 16 +++--------- poppler/PSOutputDev.cc | 14 +++++------ poppler/PSOutputDev.h | 5 +++- poppler/SplashOutputDev.cc | 19 ++++++-------- poppler/SplashOutputDev.h | 11 +++++--- qt4/src/poppler-page.cc | 7 +++--- qt5/src/poppler-page.cc | 7 +++--- utils/pdftohtml.cc | 9 +++---- utils/pdftoppm.cc | 49 ++++++++++++++++++++++++++---------- utils/pdftops.cc | 14 ++++++++++- 12 files changed, 96 insertions(+), 118 deletions(-) commit dc9751e6ac47a708ba6e7a68560bdce6a2e4a010 Author: Albert Astals Cid Date: Fri Jan 9 15:50:02 2015 +0100 Compile++ poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d91876a0c7a936b1f6f461d80131d7586a6c1a5e Author: Albert Astals Cid Date: Thu Jan 8 20:13:06 2015 +0100 Accept malformed documents whose root is a Page instead of a Pages gs and Adobe Reader do it so it's "common" enough Bug #88172 poppler/Catalog.cc | 37 ++++++++++++++++++++++++++++++++----- 1 file changed, 32 insertions(+), 5 deletions(-) commit 7ce86b9be058408eb567d8d0b9747853a66c116f Author: Albert Astals Cid Date: Thu Jan 8 17:35:28 2015 +0100 Remove assert in gouraudFillTriangle We don't *need* the assert, an error() is fine and the malformed document will just get rendered wrongly instead of "crashing" Bugs #85274 poppler/Gfx.cc | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) commit 9e9df4b20d17478996780008bc9802a857d173fc Author: Albert Astals Cid Date: Thu Jan 8 17:01:52 2015 +0100 Fix crash on broken document Bug #85281 poppler/GfxState.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 636faafcb84b856580398f7883b6406d645c85d1 Author: Adam Reichold Date: Tue Jan 6 22:57:20 2015 +0100 JPEG2000Stream: Inline doGetChar and doLookChar poppler/JPEG2000Stream.cc | 49 +++++++++++++++++++++++++---------------------- poppler/JPEG2000Stream.h | 7 ++----- 2 files changed, 28 insertions(+), 28 deletions(-) commit c13bffe92963c4969037695992f4c2776bbe973f Author: Albert Astals Cid Date: Sun Jan 4 23:17:42 2015 +0100 0.30 CMakeLists.txt | 4 ++-- NEWS | 18 ++++++++++++++++++ configure.ac | 2 +- cpp/CMakeLists.txt | 2 +- cpp/Doxyfile | 2 +- cpp/Makefile.am | 2 +- poppler/Makefile.am | 2 +- poppler/PDFDoc.cc | 1 + poppler/TextOutputDev.cc | 2 +- poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 13 files changed, 31 insertions(+), 12 deletions(-) commit e499fdab2e96cb3069db7ac8ffa0df20ccccddc9 Author: Thomas Freitag Date: Sun Jan 4 20:23:39 2015 +0100 extended openjpeg2 support poppler/JPEG2000Stream.cc | 101 +++++++++++++++++++++++++++++++++++----------- 1 file changed, 78 insertions(+), 23 deletions(-) commit 2841f3c34dd6366a70e4d6d307a08b3fbc3e9897 Author: Adrian Johnson Date: Sun Jan 4 20:22:47 2015 +0100 Cmake support for openjpeg2 With some tweaks from Albert CMakeLists.txt | 56 +++++++++++++++++++++++++++++------- cmake/modules/FindLIBOPENJPEG2.cmake | 30 +++++++++++++++++++ 2 files changed, 76 insertions(+), 10 deletions(-) commit 117af9c6bbd923954ef7de63adec8c22d51da1e4 Author: Adrian Johnson Date: Sun Jan 4 19:42:34 2015 +0100 Initial attempt at libopenjpeg2 support OpenJPEG 2 has a new pkg-config name and API. - Update configure.ac to find openjpeg 2 and provide V1/v2 macros - Update JPEG2000Stream to use new API depending on openjpeg v1/v2 macros - OpenJPEG 2.1 changed the API so provide a version macro to make it easier to handle the the 2.1 change and any future changes. - Move openjpeg.h into the .cc file configure.ac | 80 ++++++++---- poppler/JPEG2000Stream.cc | 313 +++++++++++++++++++++++++++++++++++++--------- poppler/JPEG2000Stream.h | 41 ++---- 3 files changed, 323 insertions(+), 111 deletions(-) commit 9caf7525409d699c16896653528486451123b485 Author: Albert Astals Cid Date: Sun Jan 4 18:48:02 2015 +0100 Make PSOutputDev accept a list of pages indeces Instead of first, last Bug #84833 Reviewed in the mailing list, see "Can anyone have a look at my patch?" glib/poppler-page.cc | 10 ++++++--- poppler/PSOutputDev.cc | 50 ++++++++++++++++++++++++----------------- poppler/PSOutputDev.h | 14 +++++++----- qt4/src/poppler-ps-converter.cc | 11 ++++++--- qt5/src/poppler-ps-converter.cc | 11 ++++++--- utils/pdftops.cc | 15 +++++++++---- 6 files changed, 71 insertions(+), 40 deletions(-) commit 173f182fb568843f97e7d45d1b16bebbd2aa7413 Author: Li Junling Date: Fri Jan 2 17:23:24 2015 +0100 Find last 'startxref' in the last 24K instead of the last 1K Bug #85919 poppler/PDFDoc.cc | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) commit 0b1cd9403b8a240e58ec4f1832588d25f8295278 Author: Jason Crain Date: Sat Dec 20 03:22:23 2014 -0600 Free BBox object on error poppler/Gfx.cc | 1 + 1 file changed, 1 insertion(+) commit acc33a6950031ac4a5c759d043d24df0cfa7e8b6 Author: Jason Crain Date: Sat Dec 20 02:24:49 2014 -0600 Check for invalid matrix in annotation Bug #84990 poppler/Gfx.cc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 56aff7d78658f586e3c4cd41685f189dafb3098a Author: Thomas Freitag Date: Tue Dec 23 15:49:15 2014 +0100 pdfunite: Support output intents, optional content and acroform utils/pdfunite.cc | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) commit 9e734063e6a6a4b9743c9aa27d3d3127b5a960d7 Author: Jason Crain Date: Fri Dec 19 01:56:45 2014 -0600 Move array reallocation from visitLine to startLine Fixes potential memory corruption from writing after end of lines array. https://bugs.freedesktop.org/show_bug.cgi?id=84555 poppler/TextOutputDev.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 0c47b769a77795bd866b6686b79fd20ad6f554bf Author: Daniel Macks Date: Sun Dec 14 18:52:48 2014 +0100 Only consider adding -fno-check-new if compiler supports it Helps compiling on old clang's Bug #76963 configure.ac | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit c9c90d50e3708f6fac313aa8b458aef6dba5dcfb Author: Hans-Peter Deifel Date: Fri Dec 12 13:09:51 2014 +0100 cpp: New API to set debug output function Adds the global function set_debug_error_function, that allows users to install their own function to print internal poppler errors. cpp/poppler-global.cpp | 29 +++++++++++++++++++++++++++++ cpp/poppler-global.h | 5 +++++ cpp/poppler-private.cpp | 15 ++++++++++++--- cpp/poppler-private.h | 3 +++ 4 files changed, 49 insertions(+), 3 deletions(-) commit fa8f276a10911c97d2777fff3270771802bc3892 Author: Albert Astals Cid Date: Thu Dec 4 23:11:12 2014 +0100 0.29.0 CMakeLists.txt | 4 ++-- NEWS | 15 +++++++++++++++ configure.ac | 4 ++-- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 23 insertions(+), 8 deletions(-) commit fee700cfecb9d7d5fa938704a5f457f15aaa4676 Author: Albert Astals Cid Date: Mon Dec 1 20:52:42 2014 +0100 Run dos2unix as suggested by Volker Grabsch splash/SplashState.h | 278 ++++++++++---------- test/perf-test-preview-dummy.cc | 44 ++-- test/perf-test-preview-win.cc | 544 ++++++++++++++++++++-------------------- 3 files changed, 433 insertions(+), 433 deletions(-) commit d3fe0661c6dc6050e14cd5cb4afa089b7d7d66b0 Author: Richard PALO Date: Sun Nov 30 22:46:22 2014 +0100 warning: "_FILE_OFFSET_BITS" redefined Bug #86870 test/perf-test.cc | 2559 +++++++++++++++++++++++++++-------------------------- 1 file changed, 1280 insertions(+), 1279 deletions(-) commit 18884065e11fee82506915095619107a43172ecb Author: Richard PALO Date: Sun Nov 30 22:36:29 2014 +0100 The isfinite macro is defined on SunOS under c99 Bug #86869 poppler/SplashOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit bcb470064dd9f75ab0b0a0d9b7319fe8f1e558ae Author: Adrian Johnson Date: Tue Nov 25 05:53:38 2014 +1030 cofigure: print "no" instead of "auto" if lcms not found configure.ac | 2 ++ 1 file changed, 2 insertions(+) commit 832046c57ab2909d329340f1c941b29e8246ff73 Author: Thomas Freitag Date: Fri Nov 28 11:08:34 2014 +0100 Use correct LAB byte array for lcms input Bug #86388 poppler/GfxState.cc | 51 ++++++++++++++++++++++++++++++++++++++------------- poppler/GfxState.h | 4 +++- 2 files changed, 41 insertions(+), 14 deletions(-) commit a604bc3a2ed9f9181aa3b12d795608fcf5e08220 Author: Thomas Freitag Date: Fri Nov 14 11:56:50 2014 +0100 Solve blend mode problem in CYMK and DeviceN for separable blend modes Fixes part of #68986 poppler/SplashOutputDev.cc | 277 +++++++++++++++++++++++++-------------------- 1 file changed, 155 insertions(+), 122 deletions(-) commit b7802ff39db270dda2aa20f005fb87c22ed34137 Author: Thomas Freitag Date: Fri Nov 14 11:47:38 2014 +0100 Use Default colorspaces if present instead of Device colorspaces Fixes part of #68986 poppler/CairoOutputDev.cc | 4 +- poppler/Gfx.cc | 40 +++++----- poppler/GfxState.cc | 197 ++++++++++++++++++++++++++++++++++------------ poppler/GfxState.h | 31 ++++---- poppler/Page.cc | 4 +- 5 files changed, 188 insertions(+), 88 deletions(-) commit 07aa6f4030418883d8d45a8dfa3d80d2dadca4e7 Author: Thomas Freitag Date: Thu Nov 13 12:26:25 2014 +0100 write correct size in trailer dict Bug #86063 poppler/PDFDoc.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 51e7c29cabedc72e097023e6d8d6d68ed43fa20c Author: Carlos Garcia Campos Date: Fri Nov 7 18:30:36 2014 +0100 regtest: Update references also for tests that no longer crash We are currently updating the refs only when we have checksums to compare, but if a test used to crash there's no md5 file in refs. regtest/TestRun.py | 2 ++ regtest/backends/__init__.py | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+) commit d205908930d5dc4ec3a1a1a2c2b93fbb92c2c867 Author: William Bader Date: Wed Nov 5 20:23:49 2014 +0100 Make it proper C glib/demo/annots.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fa1d636b00210b9c52787ab3c833fe9aa2e293fa Author: Albert Astals Cid Date: Tue Nov 4 20:00:08 2014 +0100 0.28.1 configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 7debbb05df18afc86df8a4fd37980728ec2e5788 Author: Albert Astals Cid Date: Tue Nov 4 19:29:58 2014 +0100 Fix typo configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d5489ef37742227176e800390a990f2b882d9710 Author: Albert Astals Cid Date: Tue Nov 4 01:27:05 2014 +0100 0.28.0 CMakeLists.txt | 6 +++--- NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/Makefile.am | 2 +- 11 files changed, 56 insertions(+), 13 deletions(-) commit f87115a1129e4e03802769181a3392c8dce3192a Author: Hib Eris Date: Tue Nov 4 01:25:18 2014 +0100 Don't ship the moc files qt4/demos/Makefile.am | 1 - qt5/demos/Makefile.am | 1 - 2 files changed, 2 deletions(-) commit 0a9c38076f1555196029372b7e08714b43c7a58d Author: Albert Astals Cid Date: Mon Nov 3 21:43:28 2014 +0100 Update (C) fofi/FoFiType1.cc | 1 + poppler/PDFDoc.cc | 4 ++-- poppler/PDFDoc.h | 2 +- poppler/XRef.cc | 2 +- qt4/src/poppler-annotation-private.h | 2 +- qt4/src/poppler-annotation.cc | 2 +- qt4/src/poppler-page.cc | 2 +- qt4/src/poppler-qt4.h | 2 +- qt5/src/poppler-annotation-private.h | 2 +- qt5/src/poppler-annotation.cc | 2 +- qt5/src/poppler-page.cc | 2 +- qt5/src/poppler-qt5.h | 2 +- utils/pdfdetach.cc | 1 + utils/pdftocairo-win32.cc | 12 ++++++++++++ utils/pdftocairo-win32.h | 12 ++++++++++++ utils/pdftocairo.cc | 3 ++- 16 files changed, 40 insertions(+), 13 deletions(-) commit 73cf1e87c9803bbe4271be297b486d9932677d46 Author: Albert Astals Cid Date: Mon Nov 3 21:37:13 2014 +0100 Need to dist this file utils/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2fd0cd652cfc03c9af35a59192729e4ed26e8146 Author: Albert Astals Cid Date: Mon Nov 3 19:20:23 2014 +0100 Fix memory leaks when running pdfseparate Bug #84768 poppler/PDFDoc.cc | 102 +++++++++++++++++++++------------------------------ poppler/PDFDoc.h | 2 +- utils/pdfseparate.cc | 8 +++- utils/pdfunite.cc | 4 +- 4 files changed, 50 insertions(+), 66 deletions(-) commit d6ea8acbb348fdb43601a963ba5407e933565003 Author: Adrian Johnson Date: Mon Nov 3 19:11:25 2014 +0100 fix crash in Xref::getEntry Bug 85234 poppler/XRef.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bd142810b9f66b017a58b3e1840d4d72794f1ef4 Author: Jason Crain Date: Thu May 15 02:22:44 2014 -0500 cairo: Use matrix to determine pattern size https://bugs.freedesktop.org/show_bug.cgi?id=33364 poppler/CairoOutputDev.cc | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 06dd7dc337c7db6122329e98783a126d59035aff Author: Hib Eris Date: Thu May 29 12:45:33 2014 +0200 Include windows.h, not Windows.h Fixes building on file systems that are case sensitive, e.g. when cross compiling on Linux for win32. https://bugs.freedesktop.org/show_bug.cgi?id=79407 qt4/tests/stress-threads-qt4.cpp | 2 +- qt5/tests/stress-threads-qt5.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 76a350b11160ac203a41b27fbc85a3264bfe4735 Author: Carlos Garcia Campos Date: Thu Oct 30 18:25:06 2014 +0100 regtest: Try to fix again the paths of the resources in the generated HTML report Use always relatives paths for the resources under the out directory, and absolute paths for all other resources when no-absolute-path command line option is used. regtest/HTMLReport.py | 47 +++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 24 deletions(-) commit c93d6b264dc77c46c72281d966bf826274a43d15 Author: Carlos Garcia Campos Date: Wed Oct 29 17:37:06 2014 +0100 regtest: respect --no-absolute-paths when creating the pretty diff links regtest/HTMLReport.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 9f953e47a6ea92d806aeea61e227af54c889c6be Author: Carlos Garcia Campos Date: Mon Oct 27 19:53:28 2014 +0100 regtest: Add an option to create the HTML report without absolute paths It uses the paths as received from the command line attributes. regtest/HTMLReport.py | 15 +++++++++++---- regtest/commands/create-report.py | 4 ++++ 2 files changed, 15 insertions(+), 4 deletions(-) commit 3d840231bc6f0714da361493ef32913af2eb78d7 Author: Carlos Garcia Campos Date: Sun Oct 26 12:09:28 2014 +0100 regtest: Fix png diff generation with python-pil pillow fork Use from PIL import Image instead of just import Image, since pillow only doesn't support import Image without using PIL.Image. regtest/backends/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 68e58ec5465efc289d85ae104941db92450a3168 Author: Carlos Garcia Campos Date: Sun Oct 26 11:21:23 2014 +0100 regtest: Limit the number of worker threads to the number of documents to test We are always spawning all the threads even if the documents to test is less than the worker threads. Also optimize the case of running only one test to not spwn any thread. regtest/TestRun.py | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit 7c21b95852e891060cd2e276949acf0945306ab7 Author: Carlos Garcia Campos Date: Sun Oct 26 11:08:45 2014 +0100 regtest: Allow to run groups of tests individually Now it's possible to pass more than one argument to run-tests command and optionally the docs directory. When more than one test is passed and the docs directory is not provided, the common base path of all passed tests is used as docs directory. The tests passed can be documents or directories, using absolute paths or paths relative to the docs directory. This also allows us to update the refs for a group of tests. regtest/TestRun.py | 26 ++++++++++++++++++++++++-- regtest/Utils.py | 7 +++++-- regtest/commands/run-tests.py | 29 ++++++++++++++++++++--------- 3 files changed, 49 insertions(+), 13 deletions(-) commit 53be607edc18a861aeb0b6663bac3c05de46c84c Author: Hib Eris Date: Fri Oct 24 11:35:17 2014 +0200 Fix warning on unused variable in pdftocairo.cc Fixes warning: CXX pdftocairo-pdftocairo.o pdftocairo.cc:130:14: warning: ‘setupdlg’ defined but not used [-Wunused-variable] static GBool setupdlg = gFalse; ^ https://bugs.freedesktop.org/show_bug.cgi?id=85400 utils/pdftocairo.cc | 2 ++ 1 file changed, 2 insertions(+) commit f966b8766d40b2c912e69a1e17ef8cc4bd52be95 Author: Carlos Garcia Campos Date: Tue Oct 21 16:42:27 2014 +0200 fofi: Fix a crash when parsing an invalid font due to a integer overflow This fixes a crash rendering trust_metrics.f2495.f0.pdf. fofi/FoFiType1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4963332ca4db13d8a9186b06d2aa0d59abbc10ee Author: Adrian Johnson Date: Sun Oct 5 21:58:37 2014 +1030 pdftocairo: add -printdlg output option for win32 when set the win32 print dialog is displayed before printing configure.ac | 2 +- utils/pdftocairo-win32.cc | 303 ++++++++++++++++++++++++++++++++++++++++++++-- utils/pdftocairo-win32.h | 14 +-- utils/pdftocairo.1 | 14 ++- utils/pdftocairo.cc | 31 ++++- 5 files changed, 337 insertions(+), 27 deletions(-) commit d8fe025c36f555a5438677e20df803eee216bb13 Author: Adrian Johnson Date: Sun Oct 5 18:11:09 2014 +1030 pdftocairo: add a -setupdlg option that will the show printer properties dialog when printing to a win32 printer. utils/pdftocairo-win32.cc | 22 +++++++++++++++++++--- utils/pdftocairo-win32.h | 3 ++- utils/pdftocairo.1 | 5 +++++ utils/pdftocairo.cc | 24 ++++++++++++++++-------- 4 files changed, 42 insertions(+), 12 deletions(-) commit c091aa14513859ab76223f5e4e6055d92082433c Author: Adrian Johnson Date: Sun Sep 14 20:43:47 2014 +0930 pdftocairo: fix a number of bugs in win32 printing - make origPageSizes work - make landscape pages work - make -noshrink option work - return actual page size in use back to main() so fit page transform works - hdc should be destroyed after cairo surface - improve option parsing and rename duplex values - Add third call to DocumentProperties as discussed in bug 79936 - fix error messages utils/pdftocairo-win32.cc | 181 ++++++++++++++++++++++++++-------------------- utils/pdftocairo-win32.h | 2 +- utils/pdftocairo.1 | 5 +- utils/pdftocairo.cc | 49 ++++++------- 4 files changed, 132 insertions(+), 105 deletions(-) commit cc3b39d49c656e912a7461212f3bb4e58c6444e7 Author: Adrian Johnson Date: Fri Sep 12 18:17:49 2014 +0930 make pdftocairo-win32.cc a standalone .cc file instead of #including it in pdftocairo.cc utils/CMakeLists.txt | 1 + utils/Makefile.am | 3 +- utils/pdftocairo-win32.cc | 74 +++++++++++++++++++++++------------------------ utils/pdftocairo-win32.h | 22 ++++++++++++++ utils/pdftocairo.cc | 24 +++++++++------ 5 files changed, 77 insertions(+), 47 deletions(-) commit 700205af19ef1ae5f2c713d118ebd5dd4a0afba3 Author: Adrian Johnson Date: Sun Sep 7 20:18:36 2014 +0930 pdftocairo: Allow an output file for win32 printing to be specified Can be used for testing win32 print output without wasting paper. utils/pdftocairo-win32.cc | 12 ++++++++---- utils/pdftocairo.1 | 4 ++++ utils/pdftocairo.cc | 13 +++++++------ 3 files changed, 19 insertions(+), 10 deletions(-) commit 40d3ae87befad489fd8c0b38ff2561a0782cae0b Author: Rodrigo Rivas Costa Date: Sat Sep 6 21:04:10 2014 +0930 Add support for printing to a Windows printer from pdftocairo Bug 79936 configure.ac | 2 +- utils/pdftocairo-win32.cc | 219 ++++++++++++++++++++++++++++++++++++++++++++++ utils/pdftocairo.1 | 23 ++++- utils/pdftocairo.cc | 61 ++++++++++--- 4 files changed, 292 insertions(+), 13 deletions(-) commit ee4a389872d86b619c677888da8f13f1f6c54472 Author: Adrian Johnson Date: Mon Oct 20 22:32:30 2014 +1030 PDFDoc: fix crash when getPage() returns NULL Bug 85235 poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0c3f53e34ec287dab2784e1f3411ad06b62dffc7 Author: Adrian Johnson Date: Mon Oct 20 22:17:20 2014 +1030 PDFDOC: Check for EOF when reading raw stream Bug 85233 poppler/PDFDoc.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 88dbd4df0998233939b4a51cedbfc65c58a315f9 Author: Adrian Johnson Date: Sun Oct 19 22:47:15 2014 +1030 pdfdetach: fix crash when getPage() returns null Bug 85145 utils/pdfdetach.cc | 2 ++ 1 file changed, 2 insertions(+) commit e0179304cdef615fcf639046410d214fd5b5f276 Author: Adrian Johnson Date: Sun Oct 19 21:36:39 2014 +1030 cairo: fix crash when no group color space Bug 85137 poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 745f1241bf903969e50f0e1139641e389a9c331f Author: Scott West Date: Tue Oct 7 23:54:52 2014 +0200 Fix memory leak in Dict.remove. The entry was previously just overwritten now it is freed Small fixes by Albert oo Bug #84607 poppler/Dict.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit b8810703ca76f0bbc8185ab87679cf18eb006d52 Author: Luigi Scarso Date: Tue Oct 7 22:45:05 2014 +0200 Make Attribute::getName() work when UTF-16BE is used Contains some ideas by me Bug #84722 goo/GooString.h | 9 +++++---- poppler/StructElement.cc | 17 +++++++++++------ poppler/StructElement.h | 7 +++++-- 3 files changed, 21 insertions(+), 12 deletions(-) commit 96a04336c7a6331727724125686a0d6f42f19f46 Author: Adrian Johnson Date: Mon Oct 6 10:21:51 2014 +1030 cairo: only embed mime data if image decode map is identity https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1317517 poppler/CairoOutputDev.cc | 19 ++++++++++++++++--- poppler/CairoOutputDev.h | 3 ++- 2 files changed, 18 insertions(+), 4 deletions(-) commit 18541054bebce3f9d4729629785bf140d67d2da0 Author: Adrian Johnson Date: Wed Sep 24 21:20:42 2014 +0930 cairo: Only embed mime data for gray/rgb/cmyk colorspaces Bug 80719 poppler/CairoOutputDev.cc | 39 +++++++++++++++++++++++++++++++-------- poppler/CairoOutputDev.h | 2 +- 2 files changed, 32 insertions(+), 9 deletions(-) commit cbf2652c483d7010fc36191c8b209a57eeec93d8 Author: Adrian Johnson Date: Thu Jan 26 00:37:17 2012 +1030 cairo: don't render text when text matrix is not invertable Emulates acroread behavior. Bug 78042 poppler/CairoOutputDev.cc | 14 +++++++++----- poppler/CairoOutputDev.h | 1 + 2 files changed, 10 insertions(+), 5 deletions(-) commit 4fe17e97a4bd7873caad771c446199b282039697 Author: Carlos Garcia Campos Date: Sun Oct 5 11:30:43 2014 +0200 glib: Build introspection linking to the uninstalled libraries https://bugs.freedesktop.org/show_bug.cgi?id=84526 glib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a2477da56a4d1c534175940d7c01a9d3db6c72d4 Author: Albert Astals Cid Date: Wed Oct 1 22:33:11 2014 +0200 Fix 303287ebdad0de9fb2655c4d7eab627c0045ea04 It may happen that j is bigger than macGlyphNames size, so don't try to access it fofi/FoFiTrueType.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit ce95ecda450361496aedd5d5cd0bf47fd2c66703 Author: Albert Astals Cid Date: Tue Sep 30 19:50:20 2014 +0200 Fix assert in 5068.asan.0.6052.pdf poppler/Gfx.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 01723aa17e836e818158dbdc56df642a290be300 Author: Adrian Johnson Date: Tue Sep 30 18:48:47 2014 +0200 Map Standard/Expert encoding ligatures to AGLFN names for use with substitute fonts that are not compatible with the Standard 14 fonts. Bug 80093 poppler/CairoFontEngine.cc | 12 +++++++++--- poppler/GfxFont.cc | 29 ++++++++++++++++++++++++++++- poppler/GfxFont.h | 7 ++++++- splash/SplashFTFontFile.cc | 8 ++++++++ 4 files changed, 51 insertions(+), 5 deletions(-) commit 529db4a94607c1ad909764d26f740c601bbe896f Author: Hib Eris Date: Mon Sep 29 22:59:15 2014 +0200 Fix build with --disable-utils Since 21b5fd655ce45b90668d1416d21c526ab7eb3ad6, building Poppler fails when configured with '--disable-utils'. Bug #84448 Makefile.am | 6 +----- utils/Makefile.am | 4 ++++ 2 files changed, 5 insertions(+), 5 deletions(-) commit c54f6aceed983a221d88ce5c21becbf8aab2931b Author: Thomas Freitag Date: Mon Sep 29 21:42:46 2014 +0200 use alt colorspace to get CMYK values for an ICC based CMYK colorspace The reason for the pale image is that GfxICCBasedColorSpace::getCMYK() uses the cms transformation to get RGB values and the convert it back to CMYK even for a ICC based CMYK colorspace instead of just returning the CMYK values itself. Bug #79019 poppler/GfxState.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 21b5fd655ce45b90668d1416d21c526ab7eb3ad6 Author: Hib Eris Date: Sun Sep 14 11:20:23 2014 +0200 Refactor Makefiles to build a noinst library for parsing args Prevents this automake warning about possible forward-incompatibility: $ ./autogen.sh ... cpp/tests/Makefile.am:16: warning: source file '$(top_srcdir)/utils/parseargs.cc' is in a subdirectory, cpp/tests/Makefile.am:16: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least a source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, automake: this behaviour will change in future Automake versions: they will automake: unconditionally cause object files to be placed in the same subdirectory automake: of the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. cpp/tests/Makefile.am:20: warning: source file '$(top_srcdir)/utils/parseargs.cc' is in a subdirectory, cpp/tests/Makefile.am:20: but option 'subdir-objects' is disabled parallel-tests: installing './test-driver' test/Makefile.am:58: warning: source file '../utils/parseargs.cc' is in a subdirectory, test/Makefile.am:58: but option 'subdir-objects' is disabled $ automake --version automake (GNU automake) 1.14.1 ... https://bugs.freedesktop.org/show_bug.cgi?id=83839 cpp/tests/Makefile.am | 3 +-- test/Makefile.am | 8 ++++---- utils/.gitignore | 2 ++ utils/Makefile.am | 42 ++++++++++++++++++------------------------ 4 files changed, 25 insertions(+), 30 deletions(-) commit 70a851b0cc58241d1f2f6bc48af2614595326c8f Author: Adrian Johnson Date: Sat Sep 6 21:16:04 2014 +0930 Update .gitignore .gitignore | 2 ++ 1 file changed, 2 insertions(+) commit d44e7e3560bdc79253df98db05385dce3e8ccbb4 Author: Adrian Johnson Date: Sat Sep 6 21:53:21 2014 +0930 Don't use -fPIC on mingw it emits a warning for every file stating that -fPIC is ignored configure.ac | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 2723371b2e2f7684301ea1c5272ab49851f28c03 Author: Adrian Johnson Date: Sat Sep 6 21:19:46 2014 +0930 make autogen.sh work with variables with spaces eg ./autogen.sh CXXFLAGS="-O0 -g3" autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ebc814a7e31511308bbcd8856d0356f4d7cc74be Author: Hib Eris Date: Sun Sep 14 11:45:12 2014 +0200 Add compile to .gitignore Automake automatically creates a wrapper script called 'compile' for compilers which do not understand '-c -o'. $ automake --version automake (GNU automake) 1.14.1 https://bugs.freedesktop.org/show_bug.cgi?id=83840 .gitignore | 1 + 1 file changed, 1 insertion(+) commit 8ce31485faa26994c52f4d032cc5a8355aba23d1 Merge: 4589ce1 303287e Author: Albert Astals Cid Date: Fri Sep 26 00:40:43 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit 303287ebdad0de9fb2655c4d7eab627c0045ea04 Author: Thomas Freitag Date: Fri Sep 26 00:25:38 2014 +0200 Fix rendering of file with a wrong embedded font Bug #84270 fofi/FoFiTrueType.cc | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) commit f94ba85a736b4c90c05e7782939f32506472658e Author: Carlos Garcia Campos Date: Fri Sep 12 19:22:20 2014 +0200 glib: Fix use of uninitialized members in PopplerInputStream https://bugs.freedesktop.org/show_bug.cgi?id=82630 glib/poppler-input-stream.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4589ce17caf94e7c5fa856906d3a8cc08e999d73 Author: Carlos Garcia Campos Date: Fri Sep 12 19:22:20 2014 +0200 glib: Fix use of uninitialized members in PopplerInputStream https://bugs.freedesktop.org/show_bug.cgi?id=82630 glib/poppler-input-stream.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit fe67324d450c356b7c876cf50da705156112513a Merge: e62e18e f74a596 Author: Albert Astals Cid Date: Thu Aug 21 21:39:52 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit f74a5964078224c01bd5642aabc928d185bb0b69 Author: Albert Astals Cid Date: Thu Aug 21 20:07:54 2014 +0200 0.26.4 CMakeLists.txt | 2 +- NEWS | 12 ++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 17 insertions(+), 5 deletions(-) commit ce92e4ccefc7dad79db7f0af7a792ffa47824849 Author: Albert Astals Cid Date: Thu Aug 21 20:03:42 2014 +0200 Update (C) years poppler/Annot.cc | 1 + poppler/CairoOutputDev.cc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 42315c28809e62da7872add917e82853cf8c7e33 Author: Albert Astals Cid Date: Thu Aug 21 19:58:35 2014 +0200 Make sure e is always initialized goo/gfile.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit e62e18e1b318d6fa664d236723de3c06ae43e86b Author: Jehan Pagès Date: Tue Aug 12 21:05:03 2014 +0200 poppler: use poppler-data pkg-config for both cmake and autotools builds CMakeLists.txt | 16 ++++++++++++++++ config.h.cmake | 2 +- configure.ac | 7 ++++++- 3 files changed, 23 insertions(+), 2 deletions(-) commit 572c60764bbbd2080bfd7a926c646ad20b467aea Author: Hib Eris Date: Tue Aug 12 18:12:45 2014 +0200 Makefile.am cleanups Bug #79411 configure.ac | 13 +++-- cpp/Makefile.am | 66 +++++++++++++------------ cpp/tests/Makefile.am | 13 ++--- fofi/Makefile.am | 6 +-- glib/Makefile.am | 29 ++++++----- glib/demo/Makefile.am | 18 +++---- glib/reference/Makefile.am | 3 +- goo/Makefile.am | 38 +++++++-------- poppler/Makefile.am | 118 ++++++++++++++++++++++----------------------- qt4/demos/Makefile.am | 59 +++++++++++------------ qt4/src/Makefile.am | 31 ++++++------ qt4/tests/Makefile.am | 97 +++++++++++++------------------------ qt5/demos/Makefile.am | 59 +++++++++++------------ qt5/src/Makefile.am | 27 ++++++----- qt5/tests/Makefile.am | 98 ++++++++++++++----------------------- splash/Makefile.am | 42 ++++++++-------- test/Makefile.am | 68 +++++++++----------------- utils/Makefile.am | 97 ++++++++++++++++++------------------- 18 files changed, 405 insertions(+), 477 deletions(-) commit 4a4fe80d85a31b10822c7cd8eb5a0698bf306a52 Author: Hib Eris Date: Fri Aug 1 07:16:36 2014 +0200 glib-demo: Replace use of deprecated gtk stock items https://bugs.freedesktop.org/show_bug.cgi?id=82384 glib/demo/annots.c | 8 ++++---- glib/demo/attachments.c | 4 ++-- glib/demo/main.c | 6 +++--- glib/demo/page.c | 6 +++--- glib/demo/utils.c | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) commit ec6bad36cf5e9521f35285a3295976c05a69f76a Author: Hib Eris Date: Fri Aug 1 07:51:10 2014 +0200 glib-demo: Remove use of deprecated gtk_dialog_get_action_area() https://bugs.freedesktop.org/show_bug.cgi?id=82385 glib/demo/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit b72a534d6c7d8bc026812b68f9d9ac6bf9a2200a Merge: f2e4154 ef3f758 Author: Albert Astals Cid Date: Sun Aug 3 01:06:57 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit ef3f7585fac086de0919aa0bb0ef91a5070ac23e Author: Jiri Slaby Date: Sun Aug 3 01:05:00 2014 +0200 Improve non-latin characters in inline notes Preview commit had by mistake changes in these two files that belong here Bug #65956 poppler/Annot.cc | 1 + poppler/CharCodeToUnicode.cc | 1 + 2 files changed, 2 insertions(+) commit 1b9c54286a4cdfaa284795933c20acf3c7e13bfc Author: Ed Porras Date: Sun Aug 3 01:01:35 2014 +0200 Don't check for inlineImg twice Bug #82059 poppler/Annot.cc | 2 +- poppler/CharCodeToUnicode.cc | 2 +- poppler/SplashOutputDev.cc | 9 ++++----- 3 files changed, 6 insertions(+), 7 deletions(-) commit f2e4154eff52b86e62490a3ccba470824c9cf436 Author: Thomas Freitag Date: Sat Jul 26 00:12:37 2014 +0200 pdfseparate: additonal handling for annotations Bug #77549 poppler/PDFDoc.cc | 46 ++++++++++++++++++++++++++++------------------ poppler/PDFDoc.h | 6 +++--- utils/pdfunite.cc | 2 +- 3 files changed, 32 insertions(+), 22 deletions(-) commit e7825f7cbbe7cc9c324fcb34c2e0dcae75f4172a Author: Carlos Garcia Campos Date: Fri Jul 25 15:45:55 2014 +0200 glib: Fix a memory leak when getting text layout and attributes glib/poppler-page.cc | 4 ++++ 1 file changed, 4 insertions(+) commit b729bf92ea1522a1eed9579e53e7580215cb9555 Author: Carlos Garcia Campos Date: Fri Jul 25 15:45:55 2014 +0200 glib: Fix a memory leak when getting text layout and attributes glib/poppler-page.cc | 4 ++++ 1 file changed, 4 insertions(+) commit a1ecff0f0ab81fe76f63244250d96e7ef275f402 Author: Carlos Garcia Campos Date: Fri Jul 25 11:25:42 2014 +0200 glib: Return NULL in poppler_annot_get_contents also for empty strings glib/poppler-annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ab1113d10ef712c7c44cd4b4bb6bc79f9ca3702c Author: Anuj Khare Date: Thu Jul 24 19:47:22 2014 +0200 annots: Fix a crash when adding annot without contents Having no content in an annotation results in a crash when generating its appearance, since the contents pointer is dereferenced. For consistency, the same has been done in Annot::initialize. poppler/Annot.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f302864ed354b313ec39433f65ca3b107b55789d Author: Carlos Garcia Campos Date: Fri Jul 25 11:25:42 2014 +0200 glib: Return NULL in poppler_annot_get_contents also for empty strings glib/poppler-annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 13a5c5f4b61d05f2d18f94ad15e210a47021a576 Author: Anuj Khare Date: Thu Jul 24 19:47:22 2014 +0200 annots: Fix a crash when adding annot without contents Having no content in an annotation results in a crash when generating its appearance, since the contents pointer is dereferenced. For consistency, the same has been done in Annot::initialize. poppler/Annot.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 94ea9d8e1631abfbb8cc078100942d46b1356970 Author: Carlos Garcia Campos Date: Thu Jul 24 10:46:17 2014 +0200 cairo: Make sure we always push a transparency group in setSoftMaskFromImageMask() Because that's what unsetSoftMaskFromImageMask() assumes. https://bugs.freedesktop.org/show_bug.cgi?id=81624 poppler/CairoOutputDev.cc | 64 +++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 33 deletions(-) commit 02c127b355bb8a98684a5d0af063c60b8bfd09dd Author: Carlos Garcia Campos Date: Thu Jul 24 10:46:17 2014 +0200 cairo: Make sure we always push a transparency group in setSoftMaskFromImageMask() Because that's what unsetSoftMaskFromImageMask() assumes. https://bugs.freedesktop.org/show_bug.cgi?id=81624 poppler/CairoOutputDev.cc | 64 +++++++++++++++++++++++------------------------ 1 file changed, 31 insertions(+), 33 deletions(-) commit c841a703c4c1750fd7ac0d04c6c3e7d4af80b8fa Author: Albert Astals Cid Date: Mon Jul 21 00:29:28 2014 +0200 Improve Overprintmode and shadings Bug #80998 poppler/SplashOutputDev.cc | 6 ++++-- poppler/SplashOutputDev.h | 8 +++++++- splash/Splash.cc | 24 ++++++++++++++++++++++-- splash/SplashPattern.h | 6 +++++- 4 files changed, 38 insertions(+), 6 deletions(-) commit ce782112746f629a8e7be6f2daf6ece6ab19917d Merge: 2c0cb68 26372cf Author: Albert Astals Cid Date: Sun Jul 20 20:35:13 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit 26372cfae029a1124e042855c58bf5b70f281c76 Author: Ed Porras Date: Sun Jul 20 20:33:48 2014 +0200 printf -> error Bug #81513 poppler/Catalog.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 87d12c09281e3d12cda0fadcd65ab78928dff283 Author: Albert Astals Cid Date: Sun Jul 20 18:20:57 2014 +0200 0.26.3 CMakeLists.txt | 2 +- configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit 69e5b81640c9bb31f0876fa8eb7ba28dbf38923f Author: Albert Astals Cid Date: Sun Jul 20 18:18:29 2014 +0200 News for 0.26.3 NEWS | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit c368c0714d57c089057d974908295d850a1b5108 Author: Albert Astals Cid Date: Sun Jul 20 18:15:22 2014 +0200 Update Thomas' (C) splash/SplashXPathScanner.cc | 2 +- splash/SplashXPathScanner.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 639179318c43a907a27e86778b720d33d481a9f9 Author: Pino Toscano Date: Thu Jul 17 07:33:10 2014 +0200 glib: use C90-style comments in public headers glib/poppler-media.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c0cb689910e8579bf428b3999bcac0cb27b0e51 Merge: 0b639cd 1161e72 Author: Albert Astals Cid Date: Sat Jul 12 17:21:07 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit 1161e728de9ca7c9a5fb0e24c4a5e4a79c65a849 Author: Thomas Freitag Date: Sat Jul 12 17:04:42 2014 +0200 Error out instead of exiting if allInter grows too much Bug #78714 splash/SplashXPathScanner.cc | 25 +++++++++++++++++-------- splash/SplashXPathScanner.h | 2 +- 2 files changed, 18 insertions(+), 9 deletions(-) commit e82a24a585d251f767725f61700dc1f8fe169a52 Author: Pino Toscano Date: Sat Jul 12 08:35:45 2014 +0200 cmake: sync poppler-config.h.cmake with poppler-config.h.in poppler/poppler-config.h.cmake | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 0b639cd2ac1071f5b741031a78d8e2bc18d2b7d7 Merge: bb16c71 a5ad55b Author: Albert Astals Cid Date: Fri Jul 11 00:32:46 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit a5ad55b7cb9dc4e62754954291e4ecb8e05b5d67 Author: Albert Astals Cid Date: Fri Jul 11 00:32:07 2014 +0200 Add Hib's (C) poppler/poppler-config.h.in | 1 + 1 file changed, 1 insertion(+) commit 4f4ee736075d5b1d1bf4911a26c2f80a7122fe04 Author: Aki Koskinen Date: Fri Jul 11 00:30:52 2014 +0200 Fix compilation of Qt5 frontend with MinGW qt5/src/poppler-private.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit ddd91675792d9d496b06223867e05d2a190b878b Author: Hib Eris Date: Thu May 29 16:58:55 2014 +0200 Include stdio.h from poppler-config.h In poppler-config.h there is a check for __MINGW_PRINTF_FORMAT, which is set by stdio.h. This fixes this warning when compling with the mingw-w64-compiler: XRef.cc: In member function 'virtual void XRef::XRefTableWriter::writeEntry(Goffset, int, XRefEntryType)': XRef.cc:1460:94: warning: unknown conversion type character 'l' in format [-Wformat=] outStr->printf("%010lli %05i %c\r\n", (long long)offset, gen, (type==xrefEntryFree)?'f':'n'); ^ XRef.cc:1460:94: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Goffset {aka long long int}' [-Wformat=] XRef.cc:1460:94: warning: too many arguments for format [-Wformat-extra-args] https://bugs.freedesktop.org/show_bug.cgi?id=79762 poppler/poppler-config.h.in | 2 ++ 1 file changed, 2 insertions(+) commit bb16c7162c73b871e26f508823c0ee259b7e5420 Author: Hib Eris Date: Sat Jun 7 12:00:52 2014 +0200 Move automake version check from autogen.sh to configure.ac https://bugs.freedesktop.org/show_bug.cgi?id=79797 autogen.sh | 18 ------------------ configure.ac | 2 +- 2 files changed, 1 insertion(+), 19 deletions(-) commit 74c72223cf609e7c24594f95cab6f9865ad562ac Merge: f8f7b3a 47a947f Author: Albert Astals Cid Date: Fri Jul 11 00:23:04 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit 47a947f1dc664793a7037888a46a297a46c79d6c Author: Hib Eris Date: Thu Jun 19 10:11:21 2014 +0200 Fix moc-qt5 detection https://bugs.freedesktop.org/show_bug.cgi?id=80250 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8f7b3a61bc7eb1e569c25a630b5e127b5dcae62 Merge: 805ff76 aa6205d Author: Albert Astals Cid Date: Wed Jul 9 00:23:22 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit aa6205d195c56a77e897bad125bf213aba138422 Author: Jason Crain Date: Mon Jul 7 23:52:39 2014 -0500 Increase required Qt4 version to 4.7.0 We use Qt::LayoutDirectionAuto, introduced in 4.7.0. bug #81005 CMakeLists.txt | 2 +- configure.ac | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit 805ff76112ebfd57276ea78f1f0891abc61a6c03 Author: Yaakov Selkowitz Date: Mon Apr 11 16:26:11 2011 -0500 Do not dist gir_DATA See https://bugzilla.gnome.org/show_bug.cgi?id=621611 for rationale. glib/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e5862155b1c549b6774bb4f25c09c45857ff1734 Author: Hib Eris Date: Wed Jun 4 20:58:56 2014 +0200 Add Changelog to .gitignore https://bugs.freedesktop.org/show_bug.cgi?id=79744 .gitignore | 1 + 1 file changed, 1 insertion(+) commit 5f22649694d64c4170db82847b599576d5377176 Author: Hib Eris Date: Wed Jun 4 20:56:23 2014 +0200 Add *.gir, *.typelib to glib/.gitignore https://bugs.freedesktop.org/show_bug.cgi?id=79744 glib/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit b63f57985719c7884b67f46fc4afd4954c44c5ab Author: Hib Eris Date: Wed Jun 4 20:54:30 2014 +0200 Add poppler-undeclared.txt to .gitignore https://bugs.freedesktop.org/show_bug.cgi?id=79744 glib/reference/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 5e0f4e2516d5a3997ea9c9a9927e24d4f3abe136 Author: Hib Eris Date: Wed Jun 4 20:52:15 2014 +0200 Add poppler-forms, stress-threads-qt, test-render-to-file to .gitignore https://bugs.freedesktop.org/show_bug.cgi?id=79744 qt4/tests/.gitignore | 3 +++ qt5/tests/.gitignore | 3 +++ 2 files changed, 6 insertions(+) commit 4d2400e7bb8ae9208030b9615dda7c53e571be8b Author: Hib Eris Date: Wed Jun 4 10:09:16 2014 +0200 Add test-driver to .gitignore https://bugs.freedesktop.org/show_bug.cgi?id=79744 .gitignore | 1 + 1 file changed, 1 insertion(+) commit 4c35e0213be26f21b628ff8d9f170252bb0106c9 Author: Hib Eris Date: Wed Jun 4 10:06:20 2014 +0200 Add poppler-qt5.pc to .gitignore https://bugs.freedesktop.org/show_bug.cgi?id=79744 .gitignore | 2 ++ 1 file changed, 2 insertions(+) commit 2b455b85168d5c9d8641d9a91bfde81ccab18e54 Author: Pino Toscano Date: Sun Jul 6 11:13:54 2014 +0200 glib: fix typo in apidox glib/poppler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 266a61ab1c9f536a4fb7d68c8f285c854eb2d6e9 Author: Albert Astals Cid Date: Thu Jun 19 20:16:19 2014 +0200 0.26.2 CMakeLists.txt | 2 +- NEWS | 10 ++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 15 insertions(+), 5 deletions(-) commit 3381ee20efca2ce27733182d0d6720c1e6936a7f Author: Albert Astals Cid Date: Thu Jun 19 19:57:31 2014 +0200 Update (C) poppler/Lexer.cc | 2 +- utils/pdftohtml.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 8a5e59c6ea7ccd0ecbdb4b37bf3fe4e74e1c0e8e Merge: 1b70533 310fbee Author: Albert Astals Cid Date: Wed Jun 18 00:37:03 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit 310fbeec692b02d555e3e8dd6c851be11b25e26a Author: Albert Astals Cid Date: Wed Jun 18 00:31:48 2014 +0200 Make sure we have an xref before using KDE bug #335413 had this backtrace XRef::getNumEntry (this=0x0, offset=-1) at XRef.cc:1300 0x00007f29aec1681e in Lexer::getObj (this=0x1648760, obj=obj@entry=0x1bdf978, cmdA=cmdA@entry=0x7f29aeca66c8 "endstream", objNum=objNum@entry=0) at Lexer.cc:594 0x00007f29aec20dfd in Parser::shift (this=this@entry=0x1bdf950, cmdA=cmdA@entry=0x7f29aeca66c8 "endstream", objNum=objNum@entry=0) at Parser.cc:323 0x00007f29aec20fde in Parser::makeStream (this=this@entry=0x1bdf950, dict=dict@entry=0x7fff2541cad0, fileKey=fileKey@entry=0x0, encAlgorithm=encAlgorithm@entry=cryptRC4, keyLength=keyLength@entry=0, objNum=objNum@entry=0, objGen=objGen@entry=0, recursion=recursion@entry=1, strict=strict@entry=false) at Parser.cc:245 0x00007f29aec216b8 in Parser::getObj (this=this@entry=0x1bdf950, obj=obj@entry=0x7fff2541cad0, simpleOnly=simpleOnly@entry=false, fileKey=fileKey@entry=0x0, encAlgorithm=encAlgorithm@entry=cryptRC4, keyLength=keyLength@entry=0, objNum=objNum@entry=0, objGen=objGen@entry=0, recursion=recursion@entry=0, strict=strict@entry=false) at Parser.cc:131 0x00007f29aec350fc in XRef::readXRef (this=this@entry=0xfe43a0, pos=pos@entry=0xfe4438, followedXRefStm=followedXRefStm@entry=0x7fff2541cb30, xrefStreamObjsNum=xrefStreamObjsNum@entry=0x0) at XRef.cc:551 0x00007f29aec35319 in XRef::XRef (this=0xfe43a0, strA=0x1c54ff0, pos=, mainXRefEntriesOffsetA=0, wasReconstructed=0x7fff2541cbaf, reconstruct=) at XRef.cc:342 0x00007f29aec2534f in PDFDoc::setup (this=this@entry=0x311e1b0, ownerPassword=ownerPassword@entry=0x1165830, userPassword=userPassword@entry=0x447f550) at PDFDoc.cc:262 poppler/Lexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b705331019b155f2138d4b9f5a5bd03ec59193d Author: Hib Eris Date: Sun Jun 8 17:07:15 2014 +0200 [glib] doc: Move poppler_date_parse to utility functions section https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/reference/poppler-docs.sgml | 1 + glib/reference/poppler-sections.txt | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit d661553b0a13855aa5a1240e9c04a0e49dafd910 Author: Hib Eris Date: Sun Jun 8 16:11:26 2014 +0200 [glib] doc: Document PopplerFindFlags:POPPLER_FIND_DEFAULT Fixes warning: DOC Building XML ../../glib/poppler.h:157: warning: Value description for PopplerFindFlags::POPPLER_FIND_DEFAULT is missing in source code comment block. https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/poppler.h | 1 + 1 file changed, 1 insertion(+) commit 237a1402ab836d10eb5fdc1aa6ceccabea10a316 Author: Hib Eris Date: Sun Jun 8 16:07:14 2014 +0200 [glib] doc: Use instead of Fixes: DOC Building HTML Element em in namespace '' encountered in para, but no template matches. https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/poppler-structure-element.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 66abf3992228be2559542e9d2753f45f06ae7728 Author: Hib Eris Date: Sun Jun 8 16:02:01 2014 +0200 [glib] doc: Add PopplerBackend documentation https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/poppler.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit a30ec8e4abe3875aad068c83265b47f9beea33d1 Author: Hib Eris Date: Sun Jun 8 15:05:52 2014 +0200 [glib] doc: Add missing POPPLER_TYPE_POINT And while we are here, also move poppler_point_get_type() and poppler_quadrilateral_get_type() to private subsection. https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/reference/poppler-sections.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 6eb0537ac5163356c8e8f689d2408fa695e99423 Author: Hib Eris Date: Sun Jun 8 14:59:15 2014 +0200 [glib] doc: Fix typo https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/reference/poppler-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 96adcad85d76409cb8ed4266a08ae776b42661e4 Author: Hib Eris Date: Sun Jun 8 14:53:42 2014 +0200 [glib] doc: Add poppler_annot_set_flags() to documentation https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/reference/poppler-sections.txt | 1 + 1 file changed, 1 insertion(+) commit f3519352c70537009cc6bd660c0bd3e727db8b8a Author: Hib Eris Date: Sun Jun 8 14:38:13 2014 +0200 [glib] doc: Move PopplerFindFlags to PopplerPage section And also add the missing POPPLER_TYPE_FIND_FLAGS and poppler_find_flags_get_type. https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/reference/poppler-sections.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 45b0d49330d9d089b2480b91e418924a490c82ce Author: Hib Eris Date: Sun Jun 8 14:22:28 2014 +0200 [glib] doc: Move PopplerPrintFlags to PopplerPage section https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/reference/poppler-sections.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ce357147d17004a2772ca3b32d106da511bba360 Author: Hib Eris Date: Sun Jun 8 13:22:51 2014 +0200 [glib] doc: Move poppler_get_{version, backend} documentation to features section https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/reference/poppler-sections.txt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 1bfd6b69e7e98d4b3e6e891a46b58c9109b8c14c Author: Hib Eris Date: Sun Jun 8 12:57:25 2014 +0200 [glib] doc: Move PopplerColor documentation to it's own section https://bugs.freedesktop.org/show_bug.cgi?id=79798 glib/poppler-page.cc | 6 ++++++ glib/reference/poppler-docs.sgml | 1 + glib/reference/poppler-sections.txt | 21 +++++++++++++++------ 3 files changed, 22 insertions(+), 6 deletions(-) commit 2dd9b95fd910023a7d9d23f2c2e41dcab91d3c31 Merge: fed71eb b36d27b Author: Albert Astals Cid Date: Fri Jun 6 21:43:49 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit b36d27b42417d15866a5729409e39d6f7c2b0289 Author: Hib Eris Date: Fri Jun 6 21:42:10 2014 +0200 Fix typo in configure.ac Bug #79742 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fed71ebd8e43e24eace9dcebe24bd318ff3d04a6 Author: Hib Eris Date: Thu May 29 13:22:05 2014 +0200 Change pagenum arguments in PDFDoc::markAnnotations from Guint to int Bug #79410 Fixes compile warning: CXX PDFDoc.lo PDFDoc.cc: In member function 'GBool PDFDoc::markAnnotations(Object*, XRef*, XRef*, Guint, Guint, Guint)': PDFDoc.cc:1607:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (obj2.getRef().num == oldPageNum) { ^ PDFDoc.cc:1617:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] } else if (obj2.getRef().num == newPageNum) { https://bugs.freedesktop.org/show_bug.cgi?id=79410 poppler/PDFDoc.cc | 4 ++-- poppler/PDFDoc.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit f5e702060a84362bfdf75260531920d4ba8b7333 Author: Pino Toscano Date: Sat May 24 15:59:42 2014 +0200 pdftohtml: exit with 0 with -v and -h utils/pdftohtml.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 700bf398ef7b20306f5035e423becfaa3d28fb10 Author: Albert Astals Cid Date: Fri May 23 20:05:41 2014 +0200 0.26.1 CMakeLists.txt | 2 +- NEWS | 12 ++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 17 insertions(+), 5 deletions(-) commit 93373cd113d046b65538fe983b46842d689a2112 Author: Albert Astals Cid Date: Sun May 11 18:31:10 2014 +0200 Qt: Add a new page->annotations() call that let's you specify subtypes This way we don't return annotations you may not be interested in qt4/src/poppler-annotation-private.h | 4 +-- qt4/src/poppler-annotation.cc | 48 ++++++++++++++++++++++++++++++++++-- qt4/src/poppler-page.cc | 7 +++++- qt4/src/poppler-qt4.h | 14 +++++++++++ qt5/src/poppler-annotation-private.h | 4 +-- qt5/src/poppler-annotation.cc | 48 ++++++++++++++++++++++++++++++++++-- qt5/src/poppler-page.cc | 7 +++++- qt5/src/poppler-qt5.h | 15 +++++++++++ 8 files changed, 137 insertions(+), 10 deletions(-) commit d2892cd893e4379914a08e66682ed5c423743a41 Merge: 0844220 7e9fc61 Author: Albert Astals Cid Date: Wed May 7 22:27:41 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit 7e9fc61e287889eefd6b08ef5991d31fed79cafd Author: Albert Astals Cid Date: Wed May 7 22:25:59 2014 +0200 Fix libopenjpeg 1.5 detection on some systems Someone somewhere decided the pc file will be called libopenjpeg1 instead of libopenjpeg Bug #78389 configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 0844220347f984c3d9b04fe53e690ee0e8c74afe Merge: 84278d8 0a6c1ff Author: Albert Astals Cid Date: Wed May 7 21:56:07 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit 0a6c1ff777aa23c7a5654b313b639e66600883b9 Author: Thomas Freitag Date: Wed May 7 21:54:46 2014 +0200 Only add annotations of the current page when splitting Bug #77549 poppler/PDFDoc.cc | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++- poppler/PDFDoc.h | 4 +- utils/pdfunite.cc | 9 +++- 3 files changed, 162 insertions(+), 4 deletions(-) commit 84278d8adbb1f6e9a28588fcb4db30c9ef70adde Merge: 7b94b11 5b2cdef Author: Albert Astals Cid Date: Sun May 4 22:21:25 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit 5b2cdef49a8a0a92fd323fbe45841a5098a42ece Author: Olly Betts Date: Sun May 4 22:20:30 2014 +0200 Fix extraction of text in some files Bug #78145 poppler/GfxFont.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7b94b119f07713af7b8b9f1ac3ea3f1d35c1e240 Merge: c859d2b bae836c Author: Albert Astals Cid Date: Sun May 4 16:21:24 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.26' commit bae836cd3dd3511ca9cf4745626142334bafd1a6 Author: Marek Kasik Date: Sun May 4 16:20:33 2014 +0200 Use field value V for radio buttons Turn on radio button only if its appearance state is equal to the value of name object "V" of the field. Bug #75979 poppler/Annot.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit a748b3a059938e6ae98b51eb82bab7c33a5e23c7 Author: Carlos Garcia Campos Date: Wed Apr 30 09:25:31 2014 +0200 glib: Fix multiple definition of PopplerTextSpan https://bugs.freedesktop.org/show_bug.cgi?id=78103 glib/poppler-structure-element.h | 3 --- 1 file changed, 3 deletions(-) commit c859d2b891a115c79d04db14463791dfb1c46a20 Author: Carlos Garcia Campos Date: Wed Apr 30 09:25:31 2014 +0200 glib: Fix multiple definition of PopplerTextSpan https://bugs.freedesktop.org/show_bug.cgi?id=78103 glib/poppler-structure-element.h | 3 --- 1 file changed, 3 deletions(-) commit 9a68daee2b3c7f8a992ee47c0e9ac78b346d4348 Author: Albert Astals Cid Date: Fri Apr 25 01:01:08 2014 +0200 0.26.0 CMakeLists.txt | 4 ++-- NEWS | 13 +++++++++++++ configure.ac | 4 ++-- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 20 insertions(+), 7 deletions(-) commit 8073852c84b71257d487aa8a46e441aa82f4b42c Author: Fabio D'Urso Date: Mon Apr 14 23:35:50 2014 +0200 qt: Fix missing ! in TextAnnotation::setInplaceIntent CID #16814 qt4/src/poppler-annotation.cc | 2 +- qt5/src/poppler-annotation.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1fbf98664c0879ac035a63602242a910c0c1d316 Author: Albert Astals Cid Date: Mon Apr 14 11:53:59 2014 +0200 Initialize tmpBufLen CID #16957 It isn't really needed since locateFont always returns a fontLoc with a non null path if fontLoc itself is not null, but it doesn't hurt either qt4/src/ArthurOutputDev.cc | 4 ++-- qt5/src/ArthurOutputDev.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit b3e5c582a279b1b8d8309322ac3f4d0e51831f77 Author: Albert Astals Cid Date: Thu Apr 10 23:38:09 2014 +0200 Remove unused member cpp/poppler-font.cpp | 2 -- 1 file changed, 2 deletions(-) commit b86f471c43e387cf873358cf3cbcd27470646713 Author: Albert Astals Cid Date: Thu Apr 10 22:50:56 2014 +0200 0.25.3 CMakeLists.txt | 2 +- NEWS | 19 +++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/CairoOutputDev.cc | 2 +- poppler/GfxFont.cc | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/poppler-optcontent.cc | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/poppler-optcontent.cc | 2 +- qt5/src/poppler-private.cc | 2 +- qt5/src/poppler-private.h | 2 +- 12 files changed, 30 insertions(+), 11 deletions(-) commit 80107c72ac03bf4d00b2d71d6f947c139ea84ab5 Author: Pino Toscano Date: Sun Apr 6 20:17:31 2014 +0200 qt5: remove m_fontInfoIterator from Document it was used by the deprecated scanForFonts API, which was not provided in poppler-qt5 qt5/src/poppler-private.cc | 2 -- qt5/src/poppler-private.h | 2 -- 2 files changed, 4 deletions(-) commit b8325316e41fb03eb5fac5c80d6a550fe9ce9695 Author: Albert Astals Cid Date: Sun Apr 6 16:05:51 2014 +0200 Fix memory leak CID #16943 utils/pdfseparate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ca9713118d6ce3fdd245f9ca4f595229a5be19c3 Author: Albert Astals Cid Date: Sun Apr 6 15:59:43 2014 +0200 Don't check twice for the same variable ^_^ CID #16804 splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ef290a7c5a8fa54d3fe0f646abdf098443a7a67 Author: Albert Astals Cid Date: Sun Apr 6 15:57:38 2014 +0200 Fix memory leak CID #16852 splash/Splash.cc | 2 ++ 1 file changed, 2 insertions(+) commit 8810b8917fded340b784873a91ca025b0bb49f3d Author: Albert Astals Cid Date: Sun Apr 6 15:49:18 2014 +0200 Fix Out-of-bounds read CID #16844 poppler/PageLabelInfo_p.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 9309907673e8557a25021dce79d9b4354640e2d0 Author: Albert Astals Cid Date: Sun Apr 6 15:35:00 2014 +0200 Fix memory leak Don't pass new'ed GooStrings as parameters to error() CID #16915 poppler/GfxFont.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a511005584a38217fed582ced6ce2c937526cf96 Author: Albert Astals Cid Date: Sun Apr 6 15:28:50 2014 +0200 Fix Uninitialized pointer read when nFucnsA is 0 CID #16965 poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26b961a64030d91c5db2769dcd0ab8dff7b9b6a6 Author: Albert Astals Cid Date: Sun Apr 6 15:23:35 2014 +0200 gfree -> delete since it was new'ed CID #16786 poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 814ac2230b594cce3b871588804dd92f4a187e7e Author: Albert Astals Cid Date: Sun Apr 6 15:22:13 2014 +0200 delete -> gfree since it was gmaloced CID #16785 poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b496b6665803247b10b018ae939a2a452fa4a48f Author: Albert Astals Cid Date: Sun Apr 6 15:17:50 2014 +0200 Fix memory leak CID #16864 poppler/SplashOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1b612f355e9f29fa93c15a9de1188049a8e086b6 Author: Albert Astals Cid Date: Sun Apr 6 15:14:50 2014 +0200 Fix memory leak CID #16853 poppler/XRef.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 07621ebbda8ab85cf4cd76a6092efc67aa14454d Merge: 8d3a2c9 9fcd46a Author: Pino Toscano Date: Sat Apr 5 15:49:31 2014 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit 9fcd46ac4a94f138981ec5afaab3875918c6a175 Author: Pino Toscano Date: Sat Apr 5 15:48:27 2014 +0200 qt4/qt5: remove extra qDebug qt4/src/poppler-optcontent.cc | 1 - qt5/src/poppler-optcontent.cc | 1 - 2 files changed, 2 deletions(-) commit 37286ee2923de060ae463ac6b178ffd0e6096b90 Author: Pino Toscano Date: Sat Apr 5 15:46:44 2014 +0200 qt4/qt5: fix some kinds of OCG models properly pass parent and child when building the tree qt4/src/poppler-optcontent.cc | 2 +- qt5/src/poppler-optcontent.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 8d3a2c9d007052bcb8719200760a1abb6314f804 Author: Peter Breitenlohner Date: Sun Mar 30 23:34:23 2014 +0200 Avoid MinGW/Cygwin warnings due to redefinition of NOMINMAX goo/GooMutex.h | 3 +++ goo/GooTimer.h | 5 ++++- goo/gfile.h | 5 ++++- poppler/XpdfPluginAPI.h | 3 +++ 4 files changed, 14 insertions(+), 2 deletions(-) commit 38dcaf96f308265ff6958e4683bcec2be0c254b9 Author: Adrian Johnson Date: Fri Mar 28 20:49:17 2014 +1030 cairo: fix segv cause by bad image stream bug 76445 poppler/CairoOutputDev.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 07b0a038b194eb0392a1e9a4236064d37247d687 Author: Jakub Wilk Date: Sun Mar 30 16:12:28 2014 +0200 pdftohtml: Fix typo in manpage utils/pdftohtml.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac3c8303396a0b8de5e4ad32f480b8da5f3b396e Author: Thomas Liebetraut Date: Sun Mar 30 12:25:26 2014 +0200 glib: Fix the first coord of the qudrilateral in create_poppler_quads_from_annot_quads() https://bugs.freedesktop.org/show_bug.cgi?id=76504 glib/poppler-annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82d69da7c2f67e774c51fb7b146fdf639a6b9616 Author: Albert Astals Cid Date: Fri Mar 28 15:53:22 2014 +0100 Fix error reported by ASAN in 3628.asan.0.3910.pdf ==20743== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60040005c6ef at pc 0x7f8912ca0c90 bp 0x7fff8509ee20 sp 0x7fff8509ee18 READ of size 1 at 0x60040005c6ef thread T0 #0 0x7f8912ca0c8f in expandRow(unsigned char*, unsigned char*, int, int, int) /home/tsdgeos/devel/poppler/splash/Splash.cc:4855 #1 0x7f8912ca1097 in Splash::scaleImageYuXuBilinear(bool (*)(void*, unsigned char*, unsigned char*), void*, SplashColorMode, int, bool, int, int, int, int, SplashBitmap*) /home/tsdgeos/devel/poppler/splash/Splash.cc:4897 #2 0x7f8912c9d2b7 in Splash::scaleImage(bool (*)(void*, unsigned char*, unsigned char*), void*, SplashColorMode, int, bool, int, int, int, int, bool, bool) /home/tsdgeos/devel/poppler/splash/Splash.cc:4127 #3 0x7f8912c98101 in Splash::drawImage(bool (*)(void*, unsigned char*, unsigned char*), void*, SplashColorMode, bool, int, int, double*, bool, bool) /home/tsdgeos/devel/poppler/splash/Splash.cc:3726 #4 0x7f8912c7056a in SplashOutputDev::drawSoftMaskedImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, Stream*, int, int, GfxImageColorMap*, bool) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:3630 #5 0x7f8912ac7aa7 in Gfx::doImage(Object*, Stream*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4646 #6 0x7f8912ac4de0 in Gfx::opXObject(Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4179 #7 0x7f8912a9f33a in Gfx::execOp(Object*, Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:903 #8 0x7f8912a9e50f in Gfx::go(bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:762 #9 0x7f8912a9e163 in Gfx::display(Object*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:728 #10 0x7f8912b80e13 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/Page.cc:585 #11 0x7f8912b8833f in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:503 #12 0x40311e in savePageSlice(PDFDoc*, SplashOutputDev*, int, int, int, int, int, double, double, char*) /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:222 #13 0x404416 in main /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:521 #14 0x7f89121a8ec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4) #15 0x401d58 in _start (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) splash/Splash.cc | 3 +++ 1 file changed, 3 insertions(+) commit 38ec8cbeeaf69d96b9d7bcd662187c8916cf7903 Author: Albert Astals Cid Date: Fri Mar 28 11:18:02 2014 +0100 Fix error reported by ASAN in 5782.asan.0.7113.pdf ==32161== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x6008000e3bcf at pc 0x7f66bae0e117 bp 0x7fffcb54ea70 sp 0x7fffcb54ea68 READ of size 1 at 0x6008000e3bcf thread T0 #0 0x7f66bae0e116 in GooString::getChar(int) /home/tsdgeos/devel/poppler/goo/GooString.h:119 #1 0x7f66bafb5dca in LinkURI::LinkURI(Object*, GooString*) /home/tsdgeos/devel/poppler/poppler/Link.cc:562 #2 0x7f66bafb2a05 in LinkAction::parseAction(Object*, GooString*) /home/tsdgeos/devel/poppler/poppler/Link.cc:98 #3 0x7f66bae69c0e in AnnotLink::initialize(PDFDoc*, Dict*) /home/tsdgeos/devel/poppler/poppler/Annot.cc:2621 #4 0x7f66bae698d9 in AnnotLink::AnnotLink(PDFDoc*, Dict*, Object*) /home/tsdgeos/devel/poppler/poppler/Annot.cc:2596 #5 0x7f66bae8d998 in Annots::createAnnot(Dict*, Object*) /home/tsdgeos/devel/poppler/poppler/Annot.cc:6737 #6 0x7f66bae8d269 in Annots::Annots(PDFDoc*, int, Object*) /home/tsdgeos/devel/poppler/poppler/Annot.cc:6683 #7 0x7f66bafc750d in Page::getAnnots(XRef*) /home/tsdgeos/devel/poppler/poppler/Page.cc:402 #8 0x7f66bafc8e66 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/Page.cc:595 #9 0x7f66bafd02fd in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:503 #10 0x40311e in savePageSlice(PDFDoc*, SplashOutputDev*, int, int, int, int, int, double, double, char*) /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:222 #11 0x404416 in main /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:521 #12 0x7f66ba5f0ec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4) #13 0x401d58 in _start (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) poppler/Link.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 49b4eb68ee646aefe49b70f9e2831ebf93576053 Author: Albert Astals Cid Date: Fri Mar 28 11:08:18 2014 +0100 Fix error reported by ASAN in 590.asan.0.7288.pdf ==31898== ERROR: AddressSanitizer: heap-use-after-free on address 0x60ae0007432c at pc 0x7f03483026aa bp 0x7fff6ec0c820 sp 0x7fff6ec0c818 READ of size 4 at 0x60ae0007432c thread T0 #0 0x7f03483026a9 in SplashFTFont::getGlyphPath(int) /home/tsdgeos/devel/poppler/splash/SplashFTFont.cc:414 #1 0x7f034829f681 in SplashOutputDev::drawChar(GfxState*, double, double, double, double, double, double, unsigned int, int, unsigned int*, int) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:2239 #2 0x7f0348100599 in Gfx::doShowText(GooString*) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4054 #3 0x7f03480fddb0 in Gfx::opShowSpaceText(Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:3886 #4 0x7f03480dc33a in Gfx::execOp(Object*, Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:903 #5 0x7f03480db50f in Gfx::go(bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:762 #6 0x7f03480db163 in Gfx::display(Object*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:728 #7 0x7f03481bddd1 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/Page.cc:585 #8 0x7f03481c52fd in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:503 #9 0x40311e in savePageSlice(PDFDoc*, SplashOutputDev*, int, int, int, int, int, double, double, char*) /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:222 #10 0x404416 in main /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:521 #11 0x7f03477e5ec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4) #12 0x401d58 in _start (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) splash/SplashFTFont.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 89a64b508e5f8445798c95fcec6c87180f6c9b73 Author: Albert Astals Cid Date: Fri Mar 28 00:35:17 2014 +0100 Fix error reported by ASAN in 2279.asan.0.1904.pdf ==20507== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60420000ff04 at pc 0x7fa1492e8012 bp 0x7fff8406d900 sp 0x7fff8406d8f8 READ of size 4 at 0x60420000ff04 thread T0 #0 0x7fa1492e8011 in SplashFTFont::makeGlyph(int, int, int, SplashGlyphBitmap*, int, int, SplashClip*, SplashClipResult*) /home/tsdgeos/devel/poppler/splash/SplashFTFont.cc:284 #1 0x7fa1492eda32 in SplashFont::getGlyph(int, int, int, SplashGlyphBitmap*, int, int, SplashClip*, SplashClipResult*) /home/tsdgeos/devel/poppler/splash/SplashFont.cc:168 #2 0x7fa1492e7c69 in SplashFTFont::getGlyph(int, int, int, SplashGlyphBitmap*, int, int, SplashClip*, SplashClipResult*) /home/tsdgeos/devel/poppler/splash/SplashFTFont.cc:233 #3 0x7fa1492b3368 in Splash::fillChar(double, double, int, SplashFont*) /home/tsdgeos/devel/poppler/splash/Splash.cc:2714 #4 0x7fa149286a20 in SplashOutputDev::drawChar(GfxState*, double, double, double, double, double, double, unsigned int, int, unsigned int*, int) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:2270 #5 0x7fa1490e7599 in Gfx::doShowText(GooString*) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4054 #6 0x7fa1490e4db0 in Gfx::opShowSpaceText(Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:3886 #7 0x7fa1490c333a in Gfx::execOp(Object*, Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:903 #8 0x7fa1490c250f in Gfx::go(bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:762 #9 0x7fa1490c2163 in Gfx::display(Object*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:728 #10 0x7fa1491a4dd1 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/Page.cc:585 #11 0x7fa1491ac2fd in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:503 #12 0x40311e in savePageSlice(PDFDoc*, SplashOutputDev*, int, int, int, int, int, double, double, char*) /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:222 #13 0x404416 in main /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:521 #14 0x7fa1487ccec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4) #15 0x401d58 in _start (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) splash/SplashFTFont.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5055479634dc8d0cd5afb3373de600fb121357fe Author: Albert Astals Cid Date: Thu Mar 27 23:54:20 2014 +0100 Fix error reported by ASAN in 2010.asan.0.1506.pdf ==18859== ERROR: AddressSanitizer: unknown-crash on address 0x7f1e4a6beb50 at pc 0x7f1e5557444d bp 0x7fff6af3c340 sp 0x7fff6af3bb00 WRITE of size 442216446 at 0x7f1e4a6beb50 thread T0 #0 0x7f1e5557444c (/usr/lib/x86_64-linux-gnu/libasan.so.0+0xe44c) #1 0x7f1e550e04ff in SplashFont::getGlyph(int, int, int, SplashGlyphBitmap*, int, int, SplashClip*, SplashClipResult*) /home/tsdgeos/devel/poppler/splash/SplashFont.cc:206 #2 0x7f1e550d9c69 in SplashFTFont::getGlyph(int, int, int, SplashGlyphBitmap*, int, int, SplashClip*, SplashClipResult*) /home/tsdgeos/devel/poppler/splash/SplashFTFont.cc:233 #3 0x7f1e550a5368 in Splash::fillChar(double, double, int, SplashFont*) /home/tsdgeos/devel/poppler/splash/Splash.cc:2714 #4 0x7f1e55078a20 in SplashOutputDev::drawChar(GfxState*, double, double, double, double, double, double, unsigned int, int, unsigned int*, int) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:2270 #5 0x7f1e54ed9599 in Gfx::doShowText(GooString*) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4054 #6 0x7f1e54ed6db0 in Gfx::opShowSpaceText(Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:3886 #7 0x7f1e54eb533a in Gfx::execOp(Object*, Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:903 #8 0x7f1e54eb450f in Gfx::go(bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:762 #9 0x7f1e54eb4163 in Gfx::display(Object*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:728 #10 0x7f1e54f96dd1 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/Page.cc:585 #11 0x7f1e54f9e2fd in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:503 #12 0x40311e in savePageSlice(PDFDoc*, SplashOutputDev*, int, int, int, int, int, double, double, char*) /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:222 #13 0x404416 in main /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:521 #14 0x7f1e545beec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4) #15 0x401d58 in _start (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) splash/SplashFont.cc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 3e7779935ec2610410bc4a42e9b0174e41ca9672 Author: Albert Astals Cid Date: Thu Mar 27 16:49:57 2014 +0100 Fix error reported by ASAN in 139.asan.0.581.pdf ==15244== ERROR: AddressSanitizer: SEGV on unknown address 0x605df000f3ee (pc 0x7f1087b3a22e sp 0x7fffec30ff20 bp 0x7fffec30ff80 T0) AddressSanitizer can not provide additional info. #0 0x7f1087b3a22d (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x48f22d) #1 0x7f1087b19d92 (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x46ed92) #2 0x7f1087ae570b (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x43a70b) #3 0x7f1087ae4061 (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x439061) #4 0x7f1087ab9b38 (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x40eb38) #5 0x7f1087900989 (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x255989) #6 0x7f10878f733a (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x24c33a) #7 0x7f10878f650f (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x24b50f) #8 0x7f10878f6163 (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x24b163) #9 0x7f10879d8dd1 (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x32ddd1) #10 0x7f10879e02fd (/home/tsdgeos/devel/poppler/build-debug/libpoppler.so.46.0.0+0x3352fd) #11 0x40311e (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x40311e) #12 0x404416 (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x404416) #13 0x7f1087000ec4 (/lib/x86_64-linux-gnu/libc-2.19.so+0x21ec4) #14 0x401d58 (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) splash/SplashXPathScanner.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 23ad7fa5253a4fec6543d1435827aa1b59b62ced Author: Albert Astals Cid Date: Thu Mar 27 01:14:05 2014 +0100 0.25.2 CMakeLists.txt | 4 ++-- NEWS | 48 +++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- gtk-doc.make | 33 +++++++++++++++++++--------- m4/gtk-doc.m4 | 47 +++++++++++++++++++++++++++------------- poppler/CairoOutputDev.h | 2 +- poppler/Hints.cc | 2 +- poppler/Makefile.am | 2 +- poppler/PSOutputDev.cc | 3 ++- poppler/PSOutputDev.h | 2 +- poppler/StructElement.cc | 2 +- poppler/StructElement.h | 2 +- poppler/StructTreeRoot.cc | 2 +- poppler/StructTreeRoot.h | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- qt4/src/poppler-ps-converter.cc | 1 + qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/Makefile.am | 2 +- qt5/src/poppler-ps-converter.cc | 1 + utils/pdftocairo.cc | 2 +- utils/pdftops.cc | 1 + 25 files changed, 127 insertions(+), 45 deletions(-) commit ec2f8bca9f48935d3180dab65ef2ca455a893afd Author: Albert Astals Cid Date: Wed Mar 26 18:38:13 2014 +0100 Fix overflow malloc poppler/Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 322e416451b7b33cba8fb3d4702207693c3c7921 Author: Albert Astals Cid Date: Wed Mar 26 17:58:48 2014 +0100 Fix error reported by ASAN in 1195.asan.0.293.pdf ==31060== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60040002a215 at pc 0x7f5614cd96c4 bp 0x7fff54a44050 sp 0x7fff54a44048 READ of size 1 at 0x60040002a215 thread T0 #0 0x7f5614cd96c3 in JBIG2Stream::readGenericBitmap(bool, int, int, int, bool, bool, JBIG2Bitmap*, int*, int*, int) /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:3389 #1 0x7f5614cce0e7 in JBIG2Stream::readSymbolDictSeg(unsigned int, unsigned int, unsigned int*, unsigned int) /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:1867 #2 0x7f5614ccb8fe in JBIG2Stream::readSegments() /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:1408 #3 0x7f5614cca72e in JBIG2Stream::reset() /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:1248 #4 0x7f5614d1648b in ImageStream::reset() /home/tsdgeos/devel/poppler/poppler/Stream.cc:484 #5 0x7f5614de6578 in SplashOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:3158 #6 0x7f5614c41d64 in Gfx::doImage(Object*, Stream*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4653 #7 0x7f5614c3ede0 in Gfx::opXObject(Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4179 #8 0x7f5614c1933a in Gfx::execOp(Object*, Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:903 #9 0x7f5614c1850f in Gfx::go(bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:762 #10 0x7f5614c18163 in Gfx::display(Object*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:728 #11 0x7f5614cfae27 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/Page.cc:585 #12 0x7f5614d02353 in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:503 #13 0x40311e in savePageSlice(PDFDoc*, SplashOutputDev*, int, int, int, int, int, double, double, char*) /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:222 #14 0x404416 in main /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:521 #15 0x7f5614322ec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4) #16 0x401d58 in _start (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) poppler/JBIG2Stream.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 225232f6f070d17d8570108ffe39ffd4350fc6e8 Author: Albert Astals Cid Date: Wed Mar 26 15:00:09 2014 +0100 Fix error reported by ASAN in 6609.asan.0.8343.pdf ==8470== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x7f3b12f7b5e1 at pc 0x7f3b0f915f5e bp 0x7fff47842de0 sp 0x7fff47842dd8 READ of size 1 at 0x7f3b12f7b5e1 thread T0 #0 0x7f3b0f915f5d in JBIG2Stream::readGenericBitmap(bool, int, int, int, bool, bool, JBIG2Bitmap*, int*, int*, int) /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:3628 #1 0x7f3b0f910558 in JBIG2Stream::readGenericRegionSeg(unsigned int, bool, bool, unsigned int) /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:2849 #2 0x7f3b0f906b33 in JBIG2Stream::readSegments() /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:1443 #3 0x7f3b0f90572e in JBIG2Stream::reset() /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:1248 #4 0x7f3b0f951459 in ImageStream::reset() /home/tsdgeos/devel/poppler/poppler/Stream.cc:484 #5 0x7f3b0fa21546 in SplashOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:3158 #6 0x7f3b0f87cd64 in Gfx::doImage(Object*, Stream*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4653 #7 0x7f3b0f879de0 in Gfx::opXObject(Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4179 #8 0x7f3b0f85433a in Gfx::execOp(Object*, Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:903 #9 0x7f3b0f85350f in Gfx::go(bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:762 #10 0x7f3b0f853163 in Gfx::display(Object*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:728 #11 0x7f3b0f935df5 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/Page.cc:585 #12 0x7f3b0f93d321 in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:503 #13 0x40311e in savePageSlice(PDFDoc*, SplashOutputDev*, int, int, int, int, int, double, double, char*) /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:222 #14 0x404416 in main /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:521 #15 0x7f3b0ef5dec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4) #16 0x401d58 in _start (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) poppler/JBIG2Stream.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 216890f1f147b25643e0d6e18e361d4d34b6c332 Author: Albert Astals Cid Date: Wed Mar 26 12:19:42 2014 +0100 Fix error reported by ASAN in 6760.asan.0.8568.pdf ==26566== ERROR: AddressSanitizer: SEGV on unknown address 0x7fffbc3e5ea8 (pc 0x7fe1fa858db1 sp 0x7fffc788eb30 bp 0x7fffc788eb40 T0) AddressSanitizer can not provide additional info. #0 0x7fe1fa858db0 in PSStack::index(int) /home/tsdgeos/devel/poppler/poppler/Function.cc:1067 #1 0x7fe1fa856fd6 in PostScriptFunction::exec(PSStack*, int) /home/tsdgeos/devel/poppler/poppler/Function.cc:1621 #2 0x7fe1fa854c10 in PostScriptFunction::transform(double*, double*) /home/tsdgeos/devel/poppler/poppler/Function.cc:1266 #3 0x7fe1fa854097 in PostScriptFunction::PostScriptFunction(Object*, Dict*) /home/tsdgeos/devel/poppler/poppler/Function.cc:1216 #4 0x7fe1fa84a0c2 in Function::parse(Object*, std::set, std::allocator >*) /home/tsdgeos/devel/poppler/poppler/Function.cc:98 #5 0x7fe1fa849e3c in Function::parse(Object*) /home/tsdgeos/devel/poppler/poppler/Function.cc:63 #6 0x7fe1fa8c1d8c in GfxDeviceNColorSpace::parse(Array*, OutputDev*, GfxState*, int) /home/tsdgeos/devel/poppler/poppler/GfxState.cc:2978 #7 0x7fe1fa8a6fb7 in GfxColorSpace::parse(Object*, OutputDev*, GfxState*, int) /home/tsdgeos/devel/poppler/poppler/GfxState.cc:328 #8 0x7fe1fa88440f in Gfx::doImage(Object*, Stream*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4403 #9 0x7fe1fa882d6c in Gfx::opXObject(Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4179 #10 0x7fe1fa85d2c6 in Gfx::execOp(Object*, Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:903 #11 0x7fe1fa85c49b in Gfx::go(bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:762 #12 0x7fe1fa85c0ef in Gfx::display(Object*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:728 #13 0x7fe1fa93ed81 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/Page.cc:585 #14 0x7fe1fa9462ad in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:503 #15 0x40311e in savePageSlice(PDFDoc*, SplashOutputDev*, int, int, int, int, int, double, double, char*) /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:222 #16 0x404416 in main /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:521 #17 0x7fe1f9f66ec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4) #18 0x401d58 in _start (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) poppler/Function.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit fb7d91435c71603697b652c70cfa76dd595ee200 Author: Albert Astals Cid Date: Wed Mar 26 12:08:52 2014 +0100 Fix ASAN in 750.asan.0.9621.pdf ==25876== ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60040002a10f at pc 0x7fc396c3c23e bp 0x7ffff1123d20 sp 0x7ffff1123d18 READ of size 1 at 0x60040002a10f thread T0 #0 0x7fc396c3c23d in JBIG2Stream::readGenericBitmap(bool, int, int, int, bool, bool, JBIG2Bitmap*, int*, int*, int) /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:3504 #1 0x7fc396c30073 in JBIG2Stream::readSymbolDictSeg(unsigned int, unsigned int, unsigned int*, unsigned int) /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:1867 #2 0x7fc396c2d88a in JBIG2Stream::readSegments() /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:1408 #3 0x7fc396c2c6ba in JBIG2Stream::reset() /home/tsdgeos/devel/poppler/poppler/JBIG2Stream.cc:1248 #4 0x7fc396c783f7 in ImageStream::reset() /home/tsdgeos/devel/poppler/poppler/Stream.cc:484 #5 0x7fc396d484e4 in SplashOutputDev::drawImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool, int*, bool) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:3158 #6 0x7fc396ba3cf0 in Gfx::doImage(Object*, Stream*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4653 #7 0x7fc396ba0d6c in Gfx::opXObject(Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:4179 #8 0x7fc396b7b2c6 in Gfx::execOp(Object*, Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:903 #9 0x7fc396b7a49b in Gfx::go(bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:762 #10 0x7fc396b7a0ef in Gfx::display(Object*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:728 #11 0x7fc396c5cd93 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/Page.cc:585 #12 0x7fc396c642bf in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:503 #13 0x40311e in savePageSlice(PDFDoc*, SplashOutputDev*, int, int, int, int, int, double, double, char*) /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:222 #14 0x404416 in main /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:521 #15 0x7fc396284ec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4) #16 0x401d58 in _start (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) poppler/JBIG2Stream.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 9002b3b7cbbbc5802abfa8383ded2093a29d1746 Author: Albert Astals Cid Date: Wed Mar 26 00:48:15 2014 +0100 Fix ASAN in 784.asan.0.9671.pdf ================================================================= ==24856== ERROR: AddressSanitizer: SEGV on unknown address 0x603bfffe5804 (pc 0x7f7aa3310c6b sp 0x7fff0e656bd0 bp 0x7fff0e656e90 T0) AddressSanitizer can not provide additional info. #0 0x7f7aa3310c6a in GfxIndexedColorSpace::mapColorToBase(GfxColor*, GfxColor*) /home/tsdgeos/devel/poppler/poppler/GfxState.cc:2509 #1 0x7f7aa33110d2 in GfxIndexedColorSpace::getRGB(GfxColor*, GfxRGB*) /home/tsdgeos/devel/poppler/poppler/GfxState.cc:2529 #2 0x7f7aa3466712 in convertGfxColor(unsigned char*, SplashColorMode, GfxColorSpace*, GfxColor*) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:117 #3 0x7f7aa34675a9 in SplashUnivariatePattern::getColor(int, int, unsigned char*) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:215 #4 0x7f7aa348d2a2 in Splash::pipeRun(SplashPipe*) /home/tsdgeos/devel/poppler/splash/Splash.cc:363 #5 0x7f7aa34c9c29 in Splash::drawAALine(SplashPipe*, int, int, int, bool, unsigned char) /home/tsdgeos/devel/poppler/splash/Splash.cc:1537 #6 0x7f7aa34c4787 in Splash::shadedFill(SplashPath*, bool, SplashPattern*) /home/tsdgeos/devel/poppler/splash/Splash.cc:6388 #7 0x7f7aa348b65c in SplashOutputDev::univariateShadedFill(GfxState*, SplashUnivariatePattern*, double, double) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:4408 #8 0x7f7aa348b93d in SplashOutputDev::radialShadedFill(GfxState*, GfxRadialShading*, double, double) /home/tsdgeos/devel/poppler/poppler/SplashOutputDev.cc:4427 #9 0x7f7aa32c7574 in Gfx::doRadialShFill(GfxRadialShading*) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:3058 #10 0x7f7aa32c188f in Gfx::opShFill(Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:2476 #11 0x7f7aa32b12c6 in Gfx::execOp(Object*, Object*, int) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:903 #12 0x7f7aa32b049b in Gfx::go(bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:762 #13 0x7f7aa32b00ef in Gfx::display(Object*, bool) /home/tsdgeos/devel/poppler/poppler/Gfx.cc:728 #14 0x7f7aa3392dc9 in Page::displaySlice(OutputDev*, double, double, int, bool, bool, int, int, int, int, bool, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/Page.cc:585 #15 0x7f7aa339a2f5 in PDFDoc::displayPageSlice(OutputDev*, int, double, double, int, bool, bool, bool, int, int, int, int, bool (*)(void*), void*, bool (*)(Annot*, void*), void*, bool) /home/tsdgeos/devel/poppler/poppler/PDFDoc.cc:503 #16 0x40311e in savePageSlice(PDFDoc*, SplashOutputDev*, int, int, int, int, int, double, double, char*) /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:222 #17 0x404416 in main /home/tsdgeos/devel/poppler/utils/pdftoppm.cc:521 #18 0x7f7aa29baec4 (/lib/x86_64-linux-gnu/libc.so.6+0x21ec4) #19 0x401d58 in _start (/home/tsdgeos/devel/poppler/build-debug/utils/pdftoppm+0x401d58) SUMMARY: AddressSanitizer: SEGV /home/tsdgeos/devel/poppler/poppler/GfxState.cc:2509 GfxIndexedColorSpace::mapColorToBase(GfxColor*, GfxColor*) poppler/GfxState.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8947c6bc1dcb768b9d9c03a7a5db1573abdc2e87 Author: Albert Astals Cid Date: Wed Mar 26 00:47:59 2014 +0100 Forgot my (C) in the last commit poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1d7095ab7bdf0f14c3bfe99d6d5985bce98abe16 Author: Albert Astals Cid Date: Tue Mar 25 22:29:07 2014 +0100 Fix Heap-buffer-overflow in TextPage::updateFont Bug #76442 poppler/TextOutputDev.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 37ad83d69bd1d10da6ea1eb559c4bd320917ae25 Author: Albert Astals Cid Date: Sat Mar 22 17:33:55 2014 +0100 Reorder the if check condition I think the previous condition was correct anyway because of the extra -1 in the i check but it really makes more sense to have the i check first Bug #76478 goo/gfile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3535d658095ffa49ef8615d69843afa9c5ada061 Author: Albert Astals Cid Date: Sat Mar 22 17:29:46 2014 +0100 Make the test rect go to xMax, yMax not xMax-1,yMax-1 I don't understand why the -1 is there and removing it actually fixes bug #76387 splash/Splash.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1e93c3f2d1c86edd40ca283ed422089f64886d04 Author: William Bader Date: Sat Mar 15 17:14:21 2014 +0100 Fix regression when creating level1 PS Bug #75241 poppler/PreScanOutputDev.cc | 16 ++++++++++++++-- poppler/PreScanOutputDev.h | 3 ++- 2 files changed, 16 insertions(+), 3 deletions(-) commit 1ea2eb412d12d97eaf49d1e51d7fda7abd8fbf9d Author: Jason Crain Date: Wed Mar 12 00:34:13 2014 +0100 Limit numeric parsing of character names Bug #38456 poppler/GfxFont.cc | 139 ++++++++++++++++++++++++++++++++++-------------- poppler/GlobalParams.cc | 4 +- 2 files changed, 102 insertions(+), 41 deletions(-) commit e24cbeae22d6c8630e292897bd982a87e6290ca6 Author: Steven Lee Date: Tue Mar 11 21:24:59 2014 +0100 Fix TIFF writting in Windows Bug #75969 goo/TiffWriter.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) commit b984a3b5946ebcd736e0583a10eb614cede3388a Author: Adrian Perez de Castro Date: Wed Mar 5 11:19:48 2014 +0200 glib: Use flags argument in poppler_structure_element_get_text() Instead of accepting a boolean argument to enable recursive text extraction, use a flags value. Text extraction may add features in the future (for example, allowing using alternate text as replacement for inline figures), and this will allow to extend the method without introducing ABI or API breakage. https://bugs.freedesktop.org/show_bug.cgi?id=75796 glib/poppler-structure-element.cc | 12 +++++++----- glib/poppler-structure-element.h | 14 +++++++++++++- glib/reference/poppler-sections.txt | 3 +++ 3 files changed, 23 insertions(+), 6 deletions(-) commit 94df09de1e07d442895ec1fb5cc23cacd9826552 Author: Adrian Perez de Castro Date: Thu Mar 6 10:44:51 2014 +0200 glib: Add missing underscore in method name The correct name is poppler_structure_element_get_form_state(). https://bugs.freedesktop.org/show_bug.cgi?id=75827 glib/poppler-structure-element.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ddd03f9a00dcf505921821c55bebe6817aa3605 Author: Carlos Garcia Campos Date: Wed Mar 5 17:48:39 2014 +0100 Rename getNumElements, getElement and appendElement as getNumChildren, getChild and appendChild It's more consistent with other internal API and less confusing. glib/poppler-structure-element.cc | 16 ++++++++-------- poppler/StructElement.cc | 6 +++--- poppler/StructElement.h | 8 ++++---- poppler/StructTreeRoot.cc | 4 ++-- poppler/StructTreeRoot.h | 8 ++++---- 5 files changed, 21 insertions(+), 21 deletions(-) commit 7d6a5b65f8497537248d405177ae141f3765a419 Author: Carlos Garcia Campos Date: Wed Mar 5 17:40:14 2014 +0100 glib: Update the documentation symbols after the PopplerStructureScope rename glib/reference/poppler-sections.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9282b5a26e9ce81d81d42c0cbe449543c8366b7c Author: Carlos Garcia Campos Date: Wed Mar 5 17:37:38 2014 +0100 glib: Rename PopplerStructureScope as PopplerStructureTableScope It's a table specific attribute glib/poppler-structure-element.cc | 14 +++++++------- glib/poppler-structure-element.h | 12 ++++++------ 2 files changed, 13 insertions(+), 13 deletions(-) commit 9888eb65c6fad0eabcf525a7e88941dec2a27e92 Author: Adrian Perez de Castro Date: Thu Sep 26 19:36:12 2013 +0300 glib: Implement accessors for element attributes Implement inspecting the standard attributes of PopplerStructureElement objects. https://bugs.freedesktop.org/show_bug.cgi?id=64821 glib/poppler-structure-element.cc | 1279 ++++++++++++++++++++++++++++++++++- glib/poppler-structure-element.h | 252 ++++++- glib/reference/poppler-sections.txt | 84 +++ 3 files changed, 1597 insertions(+), 18 deletions(-) commit b346df59ef0775f5bd74a9f7379b5f430ccd7b79 Author: Adam Reichold Date: Tue Mar 4 23:40:59 2014 +0100 Qt: Expose document-supplied text direction qt4/src/poppler-document.cc | 17 +++++++++++++++++ qt4/src/poppler-qt4.h | 10 +++++++++- qt5/src/poppler-document.cc | 17 +++++++++++++++++ qt5/src/poppler-qt5.h | 10 +++++++++- 4 files changed, 52 insertions(+), 2 deletions(-) commit 2fc38c1866243598e22be07f0177e7d9385542d5 Author: Adrian Perez de Castro Date: Fri Feb 28 19:14:36 2014 +0200 glib: Fixes in the API reference documentation - Remove the references to non-existent methods for PopplerStructureElement, and point to PopplerStructureElementIter instead to point out how to obtain the structure tree. - Remove a non-existent include in poppler-docs.sgml - Add POPPLER_TYPE_TEXT_SPAN to the list of private symbols. https://bugs.freedesktop.org/show_bug.cgi?id=75615 glib/poppler-structure-element.cc | 6 +++--- glib/reference/poppler-docs.sgml | 1 - glib/reference/poppler-sections.txt | 1 + 3 files changed, 4 insertions(+), 4 deletions(-) commit cfe47a655ec5e280168e000da85bbf13f5f5f8b8 Author: Adrian Perez de Castro Date: Fri Feb 28 19:17:45 2014 +0200 glib: Remove poppler_text_span_is_link() in header The method poppler_text_span_is_link() does not exist, and must be removed from the API header. https://bugs.freedesktop.org/show_bug.cgi?id=75613 glib/poppler-structure-element.h | 1 - 1 file changed, 1 deletion(-) commit 7a2db63b5f7cae4bc215baa0859c4d4f8a660951 Author: Adrian Perez de Castro Date: Wed Feb 26 20:16:29 2014 +0200 glib: Remove unneeded POPPLER_STRUCTURE_ELEMENT_UNKNOWN The enum value POPPLER_STRUCTURE_ELEMENT_UNKNOWN because Poppler does not add invalid StructElements ("invalid" being nodes of type StructElement::Unknown) to the Tagged-PDF structure tree. That means that poppler-glib does not need to expose it in the API. An assertion is left to aid in finding issues when using debug builds. https://bugs.freedesktop.org/show_bug.cgi?id=75541 glib/poppler-structure-element.cc | 12 +++++++----- glib/poppler-structure-element.h | 1 - 2 files changed, 7 insertions(+), 6 deletions(-) commit db909c2a14f962234a813ba9853535b9692cfd5a Author: Albert Astals Cid Date: Wed Feb 26 22:09:44 2014 +0100 Try harder to open broken files Bug #75232 poppler/PDFDoc.cc | 33 ++++++++++++++++++++++----------- poppler/PDFDoc.h | 8 ++++---- 2 files changed, 26 insertions(+), 15 deletions(-) commit b2394eee5384edf4128d598030989e66d64714ef Author: Adrian Perez de Castro Date: Mon Feb 10 20:29:35 2014 +0200 Tagged-PDF: Fix parsing of attached element attributes The wrong object was used as attribute dictionary, which caused a segmentation fault when parsing PDF files in which the structure elements included attributes attached to them. This patch fixes the issue. Thanks to Joanmarie Diggs for helping in debugging the problem. https://bugs.freedesktop.org/show_bug.cgi?id=74805 poppler/StructElement.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c549b5e9ce2dcc8beb2511ee315bfff2fdfdf6e8 Author: Adrian Perez de Castro Date: Sun Feb 9 18:31:22 2014 +0200 glib: Add poppler_structure_element_is_grouping() Implement a method to check whether a structure element is a grouping element, wrapping the StructElement::isGrouping() method. https://bugs.freedesktop.org/show_bug.cgi?id=74753 glib/poppler-structure-element.cc | 20 ++++++++++++++++++++ glib/poppler-structure-element.h | 1 + glib/reference/poppler-sections.txt | 1 + 3 files changed, 22 insertions(+) commit 6fbd6cb85bdd32dc5a3d4c3c719556269a4488ac Author: Adrian Perez de Castro Date: Fri Feb 21 15:02:44 2014 +0200 glib: Handle missing structure element types Element Art (article); RB, RP, RB (Ruby text inner elements); and WT, WP (Warichu inner elements) were not being handled. This adds the corresponding handling in poppler-glib. Also, the "default" case in the switch in poppler_structure_element_get_type() is removed, so the compiler can emit warnings when enum values are not handled. https://bugs.freedesktop.org/show_bug.cgi?id=75323 glib/poppler-structure-element.cc | 25 +++++++++++++++++++------ glib/poppler-structure-element.h | 9 +++++++-- 2 files changed, 26 insertions(+), 8 deletions(-) commit 63e9c0b67fa2e64ca20258d873a849386c7eb295 Author: Fabio D'Urso Date: Mon Feb 17 23:58:09 2014 +0100 Some error() usage fixes poppler/Hints.cc | 3 ++- poppler/JBIG2Stream.cc | 4 ++-- poppler/PSOutputDev.cc | 4 ++-- poppler/SecurityHandler.cc | 3 ++- poppler/StructTreeRoot.cc | 3 ++- qt4/src/poppler-annotation.cc | 6 +++--- qt5/src/poppler-annotation.cc | 6 +++--- utils/HtmlOutputDev.cc | 11 ++++++----- 8 files changed, 22 insertions(+), 18 deletions(-) commit 8f2d847f1d0224a297e642944f8da9c1409732b6 Author: Fabio D'Urso Date: Mon Feb 17 23:56:49 2014 +0100 Clang++ plugin that checks for usage errors in GooString::format-style calls goo/GooString.h | 12 +- poppler/Error.h | 4 +- test/goostring-format-checker/README | 16 + .../goostring-format-checker.cc | 369 +++++++++++++++++++++ 4 files changed, 397 insertions(+), 4 deletions(-) commit d7d61dcda91910f7eb2548b19e8380d7c3232dd3 Author: Thomas Freitag Date: Wed Feb 12 21:50:38 2014 +0100 blend usage in PDF with spot colors casue random output The reason for the random colors is the uninitialized local variable cBlend. The blend functions only fills offset 0 to 3, so offset 4 up to 4 + SPOT_NCOMPS are left uninitialized, but all offsets are stored in the bitmap. So we need to initialize these offsets with 0! Bug #74883 splash/Splash.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit b2905a0d299cc09fcd219afe49cb370f6db61c5a Author: Albert Astals Cid Date: Mon Feb 10 20:19:07 2014 +0100 increase gtk3 dependency gtk_tree_view_set_activate_on_single_click was introduced in 3.8 cmake/modules/FindGTK.cmake | 2 +- configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 71d4041b061c109a965e72230640cf8ee616dac3 Author: Albert Astals Cid Date: Mon Feb 10 20:16:46 2014 +0100 Make sure number of least objects in hints table is valid Bug #74741 poppler/Hints.cc | 5 +++++ 1 file changed, 5 insertions(+) commit a865f13def88153fdbe8a0a054d2005e3e2bb737 Author: Albert Astals Cid Date: Sun Feb 9 23:22:07 2014 +0100 Fix cmake build glib/CMakeLists.txt | 2 ++ glib/demo/CMakeLists.txt | 1 + 2 files changed, 3 insertions(+) commit d6fde0fac0120b1622942d8344d5153d9abf3e1e Author: Adrian Perez de Castro Date: Wed May 29 23:44:03 2013 +0300 glib-demo: Pane showing the document structure Adds a new pane in poppler-glib-demo showing the structure for Tagged-PDF documents. It also serves as an example on how to to use the API for PopplerStructure and PopplerStructureElement. glib/demo/Makefile.am | 2 + glib/demo/main.c | 2 + glib/demo/taggedstruct.c | 232 +++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/taggedstruct.h | 31 +++++++ 4 files changed, 267 insertions(+) commit 0f9fa775c469c03d1613b955ee7b06b823e6e080 Author: Adrian Perez de Castro Date: Thu Sep 26 17:50:51 2013 +0300 glib: Expose inline attributes of structure elements Allows obtaining inline text attributes from structure elements. The text is divived into "spans", which are groups of consecutive glyphs that share their attributes. Each one of those is represented by a PopplerTextSpan, which gives information about the text font and color, and the link target for links. The list of PopplerTextSpans is created lazily when first used. https://bugs.freedesktop.org/show_bug.cgi?id=64821 glib/poppler-structure-element.cc | 269 ++++++++++++++++++++++++++++++++++++ glib/poppler-structure-element.h | 16 ++- glib/poppler.h | 1 + glib/reference/poppler-sections.txt | 12 ++ 4 files changed, 297 insertions(+), 1 deletion(-) commit 8072d4b0e3ea10b4308f8172891f769f30466133 Author: Adrian Perez de Castro Date: Thu May 9 12:01:59 2013 +0300 glib: Expose the document structure tree Implements a new PopplerStructureElement classe, which builds upon StructTreeRoot and StructElement to expose the document structure of tagged PDFs in the GLib binding. Navigation of the structure tree is done by an iterator-based interface, using PopplerStructureElementIter. https://bugs.freedesktop.org/show_bug.cgi?id=64821 glib/Makefile.am | 2 + glib/poppler-private.h | 10 + glib/poppler-structure-element.cc | 663 ++++++++++++++++++++++++++++++++++++ glib/poppler-structure-element.h | 112 ++++++ glib/poppler.h | 3 + glib/reference/poppler-docs.sgml | 2 + glib/reference/poppler-sections.txt | 37 ++ glib/reference/poppler.types | 2 + 8 files changed, 831 insertions(+) commit 46b7470ae9846d7e6dbb72bbb3ff831acd954168 Author: Germán Poo-Caamaño Date: Thu Jan 30 14:42:51 2014 -0800 glib-demo: Fix performance in text markup annotations Fix https://bugs.freedesktop.org/show_bug.cgi?id=51487#c45 glib/demo/annots.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 8a84b45674aed8c27a1d172b07eb0531c0ec14f1 Author: Carlos Garcia Campos Date: Sat Feb 8 09:17:02 2014 +0100 glib: Fix gobject-introspection warnings glib/poppler-page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 899799df78c00fc2ca6d2d0e612536b87a871817 Author: Adrian Perez de Castro Date: Tue Feb 4 19:26:53 2014 +0200 Allow properly identifying grouping elements Grouping elements in the Tagged-PDF structure should be identifiable as such (see section 14.8.4.2 "Grouping Elements" of the PDF standard). Those were previously reported as inline elements, which is quite not correct. This patch introduces a new StructElement::isGrouping() method which correctly reports grouping elements as such. https://bugs.freedesktop.org/show_bug.cgi?id=74520 poppler/StructElement.cc | 31 +++++++++++++++++++------------ poppler/StructElement.h | 1 + 2 files changed, 20 insertions(+), 12 deletions(-) commit 27cd9a00bfebf0602e7ed29a8ee8e16ffff67bde Author: Adrian Perez de Castro Date: Tue Feb 4 19:35:58 2014 +0200 Report LBody elements in Tagged-PDF structure as block elements According to section 14.8.4.3 "Block-Level Structure Elements" (in particular subsection 14.8.4.3.3 "List Elements"), structure elements of type LBody must be reported as block elements. This patch changes the reported type from elementTypeUndefined to elementTypeBlock accordingly. https://bugs.freedesktop.org/show_bug.cgi?id=74522 poppler/StructElement.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4cda839cb489fe5cd4726109cb9ab8b0ba2fa563 Author: Adrian Johnson Date: Tue Jan 28 06:06:09 2014 +1030 pdftops: ensure there is always a page size in the output even if the PDF file as badly broken. poppler/PSOutputDev.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 45a87afdf1372911aa1ba840557e61627cdc7b4f Author: Adrian Johnson Date: Sun Dec 29 15:16:37 2013 +1030 cairo: clip to crop box when printing the cairo surface may larger than the crop box fixes https://bugzilla.gnome.org/show_bug.cgi?id=649886 poppler/CairoOutputDev.h | 4 ++++ 1 file changed, 4 insertions(+) commit 6d39a1d7b348329dd057a8e7c77bfd47921fc495 Author: Adrian Johnson Date: Mon Dec 30 17:59:09 2013 +1030 pdftocairo: ensure page size and crop box works the same as pdftops Bug 72312 utils/pdftocairo.1 | 26 +++++++++----------------- utils/pdftocairo.cc | 20 +++++++++++++++----- 2 files changed, 24 insertions(+), 22 deletions(-) commit b1da7e20dcef78ef6036418b37a47ba3f8818453 Author: Adrian Johnson Date: Thu Dec 19 22:18:26 2013 +1030 pdftops: Only change paper size when different to previous size Previously this check was done in the code (removed in previous commit). Moving this check into the pdfSetupPaper macro preserves page independence. Bug 72312 poppler/PSOutputDev.cc | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) commit 7ac7d3bad4b868950ee96fd9c5ece88632f8827c Author: Adrian Johnson Date: Fri Dec 20 07:19:21 2013 +1030 pdftops: Remove origpagesizes mode and make -origpagesizes an alias for -paper match Bug 72312 poppler/PSOutputDev.cc | 9 ++------- poppler/PSOutputDev.h | 4 ++-- utils/pdftops.1 | 30 ++++++++++-------------------- utils/pdftops.cc | 23 ++++++++++++++--------- 4 files changed, 28 insertions(+), 38 deletions(-) commit 31fc5181bc491ff2e4aee0ae05c0f611a36e585c Author: Adrian Johnson Date: Fri Dec 20 07:16:37 2013 +1030 pdftops: Use crop box as page size unless -nocrop is used. The fontends use the crop box as the page size and acroread uses the cropbox as the page size for display and printing. Bug 72312 poppler/PSOutputDev.cc | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) commit bf2049b17ac4706f472c59e50266f4eaf0ffaa32 Author: Adrian Johnson Date: Sun Dec 15 18:00:41 2013 +1030 pdftps: fix DocumentMedia/Page/Media/PageBBox DSC comments Bug 72312 poppler/PSOutputDev.cc | 167 ++++++++++++++++++++++++++-------------- poppler/PSOutputDev.h | 6 +- qt4/src/poppler-ps-converter.cc | 1 + qt5/src/poppler-ps-converter.cc | 1 + utils/pdftops.cc | 1 + 5 files changed, 119 insertions(+), 57 deletions(-) commit fe49033c9bd2103c13d4eb59983e06fdcdd33a8d Author: Till Kamppeter Date: Sat Dec 14 16:05:09 2013 +1030 pdftops: ensure paper size takes into account rotation Bug 72312 poppler/PSOutputDev.cc | 48 ++++++++++++++++++++---------------------------- 1 file changed, 20 insertions(+), 28 deletions(-) commit 31edf585e62f4e91b7b64295cc8b978ac466ce58 Author: Bogdan Cristea Date: Mon Jan 27 20:06:11 2014 +0100 [qt] Improve compilation under Win 8 with Visual Studio 2012 Bug #73111 goo/GooMutex.h | 3 ++- goo/GooTimer.h | 2 ++ goo/gfile.h | 2 ++ poppler/PDFDoc.cc | 4 +--- poppler/XpdfPluginAPI.h | 2 ++ poppler/poppler-config.h.cmake | 18 ++++++++++++++++-- poppler/poppler-config.h.in | 18 ++++++++++++++++-- qt4/tests/stress-threads-qt4.cpp | 5 +++++ qt5/src/poppler-private.h | 6 ++++-- qt5/tests/stress-threads-qt5.cpp | 5 +++++ test/perf-test.cc | 1 - 11 files changed, 55 insertions(+), 11 deletions(-) commit 834cd18e3ddfda44a11316290f7eee98cd871305 Author: Albert Astals Cid Date: Sun Jan 26 16:10:20 2014 +0100 Use c99 for the c compiler cmake/modules/PopplerMacros.cmake | 1 + 1 file changed, 1 insertion(+) commit 03674a141a96806e5e1a134dc3dec2ee61b68713 Author: Pino Toscano Date: Sun Jan 26 12:43:13 2014 +0100 qt4/qt5: add GCC visibility export attributes this does no actual changes to the exported symbols, but can help in hiding symbols if the right GCC flags for symbols visibility are specified qt4/src/poppler-export.h | 3 +++ qt5/src/poppler-export.h | 3 +++ 2 files changed, 6 insertions(+) commit 52b46d05219cf9898ee4adae7c8c2702adb1ba23 Author: Pino Toscano Date: Sun Jan 26 12:38:03 2014 +0100 qt4/qt5: improve naming of internal export/import macros use something less generic than LIB_EXPORT/LIB_IMPORT qt4/src/poppler-export.h | 12 ++++++------ qt5/src/poppler-export.h | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) commit 7a8bcea11ad71fccbbba2787fc442f6ba4bf7100 Author: Pino Toscano Date: Thu Jan 23 22:34:07 2014 +0100 cmake: install JpegWriter.h depending on libjpeg ... and not libopenjpeg CMakeLists.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 57f34f525fa2c2e62ebc7383ceba48ebc80ebba6 Author: Andres Gomez Date: Wed Jan 8 12:26:14 2014 +0200 glib-demo: Fix conding style issue in render.c glib/demo/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3fac919eeb1ca1abfdbb4f9923a454e532256f5c Author: Andres Gomez Date: Wed Jan 8 12:25:52 2014 +0200 glib-demo: Fix trailing whitespaces in render.c glib/demo/render.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 92ea15642a6d3fe65d66d5c59fb6bed54e060e5d Author: Christian Persch Date: Fri Jan 3 23:31:56 2014 +0100 glib: Install error callback Install an error callback so that poppler error messages can be redirected to the GLib logging API. https://bugs.freedesktop.org/show_bug.cgi?id=73269 glib/poppler.cc | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) commit f99128e38bbff43623d5cd1c1bc27fd789d0bc0c Author: Carlos Garcia Campos Date: Sun Jan 19 16:03:35 2014 +0100 glib: Make vertices a constructor parameter of line annotations It's a required field in the line annotation. glib/demo/annots.c | 4 +--- glib/poppler-annot.cc | 12 ++++++++++-- glib/poppler-annot.h | 4 +++- 3 files changed, 14 insertions(+), 6 deletions(-) commit 587a40f90e4ac5a1b6ab9044495a1ae403bc8c58 Author: Carlos Garcia Campos Date: Sun Jan 19 15:58:43 2014 +0100 annots: Fix memory leak when setting AnnotTextMarkup quads twice poppler/Annot.cc | 1 + 1 file changed, 1 insertion(+) commit 69e73da1fbab9bf3365b40dced1008b0283ac931 Author: Germán Poo-Caamaño Date: Wed Nov 20 11:53:30 2013 -0800 glib-demo: Add support for PopplerTextAnnotMarkup * The subtypes are: Highlihght, Squiggly, StrikeOut and Underline. * Use ScrolledWindow for annotation properties to make room to show the Quadrilaterals of TextMarkup annotations. https://bugs.freedesktop.org/show_bug.cgi?id=51487 glib/demo/annots.c | 232 +++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 206 insertions(+), 26 deletions(-) commit 9a7699ebe3e644ba845ef75d9295c88d321cb934 Author: Germán Poo-Caamaño Date: Mon Nov 18 16:42:08 2013 -0800 glib: Add PopplerAnnotTextMarkup class and subtypes The subtypes are: Highlihght, Squiggly, StrikeOut and Underline. It adds convenient methods to set/get/free quadrilaterals necessaries for TextMarkup annotations. https://bugs.freedesktop.org/show_bug.cgi?id=51487 glib/poppler-annot.cc | 264 ++++++++++++++++++++++++++++++++++++ glib/poppler-annot.h | 23 ++++ glib/poppler-page.cc | 6 + glib/poppler-private.h | 1 + glib/poppler.h | 1 + glib/reference/poppler-sections.txt | 11 ++ 6 files changed, 306 insertions(+) commit 40040b41216a3dcc833fc224f1c6f15517a88aed Author: Germán Poo-Caamaño Date: Mon Nov 18 16:26:27 2013 -0800 glib: Add PopplerQuadrilateral boxed type https://bugs.freedesktop.org/show_bug.cgi?id=51487 glib/poppler-page.cc | 53 +++++++++++++++++++++++++++++++++++++ glib/poppler-page.h | 33 +++++++++++++++++++++++ glib/poppler.h | 1 + glib/reference/poppler-sections.txt | 6 +++++ 4 files changed, 93 insertions(+) commit c8a845cf7c7752d3b7dad06013d3154812c66c92 Author: Albert Astals Cid Date: Tue Jan 14 20:26:59 2014 +0100 Do not define -ansi We are using long long that is not defined in ansi, so forcing ansi strictness does not make any sense. Bug #72499 cmake/modules/PopplerMacros.cmake | 5 ----- configure.ac | 15 --------------- 2 files changed, 20 deletions(-) commit f0c13ee72e8a7df17bdf847f5e922c01acee1f0d Author: Albert Astals Cid Date: Mon Jan 6 21:55:07 2014 +0100 C for last commit poppler/Parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1e1b9991a911fb610e74119979b20b179f3f2a67 Author: Albert Astals Cid Date: Mon Jan 6 21:51:25 2014 +0100 Fix rendering of pdf file from KDE bug 329600 It used to work and regressed with large file support (used to work because stuff just overflowed) lexer->getPos needs lexer to be a stream, if it is not, just resort to the +5000 kludge poppler/Parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4cd5c349cfbc745688c0c38fc50d364092bc3718 Author: Albert Astals Cid Date: Mon Jan 6 21:48:25 2014 +0100 Update popplers (C) poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 7ca2f42b06757587dfd9521fb1c6c7d657545553 Author: Albert Astals Cid Date: Mon Jan 6 15:48:22 2014 +0100 Learn about automake 1.14 autogen.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit de9643b6f76774ebe131c4787df82dd213181c71 Author: Albert Astals Cid Date: Fri Jan 3 00:53:37 2014 +0100 0.25.1 CMakeLists.txt | 2 +- NEWS | 19 +++++++++++++++++++ cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 23 insertions(+), 4 deletions(-) commit e238c1f83fd5f667336bfbb0e9a59569ff638ecc Author: Albert Astals Cid Date: Fri Jan 3 00:29:28 2014 +0100 Fix qt5 moc detection fix configure.ac | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 381ae2877acace4e8908b07ee5fb442bc19bf814 Merge: 64100e7 a2f0e4b Author: Albert Astals Cid Date: Fri Jan 3 00:04:29 2014 +0100 Merge remote-tracking branch 'origin/poppler-0.24' Conflicts: CMakeLists.txt NEWS configure.ac cpp/Doxyfile qt4/src/Doxyfile qt5/src/Doxyfile commit a2f0e4b1fd8b3d9675cc00a561094bd78a63d048 Author: Albert Astals Cid Date: Thu Jan 2 23:48:29 2014 +0100 0.24.5 CMakeLists.txt | 2 +- NEWS | 4 ++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 9 insertions(+), 5 deletions(-) commit 523b2731e0489bab58e66b21016bd6f010e616ea Author: Albert Astals Cid Date: Thu Jan 2 22:54:42 2014 +0100 Update copyrights poppler/JBIG2Stream.cc | 1 + 1 file changed, 1 insertion(+) commit 64100e7f1f6b550e952838fce38615ec3788e17c Author: Fabio D'Urso Date: Sat Dec 28 12:11:47 2013 +0100 Simplify some calls to GooString::format-family functions poppler/Object.h | 4 ++-- utils/pdftocairo.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 0abde34d0f7ba0fc04a30dbfd78373ec9d9d0695 Author: Fabio D'Urso Date: Sat Dec 28 12:11:05 2013 +0100 Fixed some GooString format markers poppler/CMap.cc | 3 ++- poppler/Function.cc | 3 ++- poppler/StructElement.cc | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) commit a7da4c6ac2b13308803806009c3437332b140586 Author: Fabio D'Urso Date: Fri Dec 27 17:09:39 2013 +0100 GooString format: fixed bug with printing LLONG_MIN ( -LLONG_MIN doesn't fit in a signed long long ) goo/GooString.cc | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit fe88f20cc565b4cf4765fed56c821989148ef454 Author: Fabio D'Urso Date: Fri Dec 27 17:08:50 2013 +0100 GooString format: Added some tests + improved documentation goo/GooString.h | 10 +++++-- qt4/tests/check_goostring.cpp | 66 +++++++++++++++++++++++++++++++++++++++++++ qt5/tests/check_goostring.cpp | 66 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 139 insertions(+), 3 deletions(-) commit 5234a349adb678d267a3d8ca13176ac8abb7afd2 Author: Thomas Freitag Date: Fri Dec 20 20:25:26 2013 +0100 pdfunite: do not lose fonts when merging some files utils/pdfunite.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 8e24fcc0d296e07327e9cbe297f627bfc6471ee3 Merge: 85efba3 b02f873 Author: Albert Astals Cid Date: Wed Dec 18 21:51:57 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.24' Conflicts: poppler/GfxState.cc commit b02f873174865837fed3a9544b70b8b21747a3dd Author: Fabio D'Urso Date: Wed Dec 18 21:46:12 2013 +0100 Fixed some GooString format markers poppler/GfxState.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 85efba38c02b5daf7d3fc46bc85850e6842a085d Author: Thomas Freitag Date: Wed Dec 18 00:46:00 2013 +0100 Make pdfunite work even if there's a single file given Bug #72720 utils/pdfunite.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a766c55f68db38feed91cf003a0d5710e2f925a8 Author: Tuomas Jormola Date: Mon Dec 16 20:43:28 2013 +0100 Fix detection of moc for Qt5 Bug #72744 On my Mac OS X 10.9 Mavericks system with Qt 5.2.0 installed using Homebrew, the output of the moc command doesn't include the string "Qt 5" which is expected by the moc version detection logic in configure.ac of poppler 0.24.4. This patch updates the grep pattern so that the current expected moc version output and the version output of this installation of Qt5 are both detected as a valid moc for Qt5. With this patch applied, I was able to build and test poppler with Qt5 support successfully. (09:26:05)(tj@gauri)(~)$ uname -a Darwin gauri.ad.local.domain 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64 i386 MacBookPro3,1 Darwin (09:26:08)(tj@gauri)(~)$ /usr/local/opt/qt5/bin/moc -v moc 5.2.0 (09:26:24)(tj@gauri)(~)$ configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a43b4bf84fe4bde6649049685bf4ed6a682e8286 Author: Carlos Garcia Campos Date: Sun Dec 15 11:59:57 2013 +0100 regtest: Add a command line option to create-report command to not launch the browser regtest/HTMLReport.py | 5 +++-- regtest/commands/create-report.py | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) commit 113958276b96d7f1aab7042e1807a9970425d234 Author: Carlos Garcia Campos Date: Sun Dec 15 11:48:51 2013 +0100 regtest: Return an exist status code depending on whether the command succeeded regtest/TestRun.py | 2 ++ regtest/commands/__init__.py | 4 ++-- regtest/commands/create-refs.py | 2 ++ regtest/commands/create-report.py | 2 ++ regtest/commands/find-regression.py | 4 +++- regtest/commands/run-tests.py | 6 ++++-- regtest/main.py | 8 ++++---- regtest/poppler-regtest | 2 +- 8 files changed, 20 insertions(+), 10 deletions(-) commit 44cf2de0df351d5948893f6a4e2bca1168d16b70 Author: Dominik Haumann Date: Thu Dec 12 23:12:35 2013 +0100 Arthur font rendering improvements The patch does does the following: - use NoPen to fill the glyphs - since SplashPath seems to bitwise OR stop and start of path, closing a subpath needs to happen before starting a path. Arthur needs serious work but this is a definite improvement in all the files i've tried it on qt4/src/ArthurOutputDev.cc | 18 +++++++++--------- qt5/src/ArthurOutputDev.cc | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) commit 02863f683be4543a2af6c26d53be93785d2b836a Author: Albert Astals Cid Date: Thu Dec 12 23:09:43 2013 +0100 qt: Simple silly test program to save to file Allows us to do some quick arthur testing qt4/tests/CMakeLists.txt | 1 + qt4/tests/Makefile.am | 8 ++++- qt4/tests/test-render-to-file.cpp | 69 +++++++++++++++++++++++++++++++++++++++ qt5/tests/CMakeLists.txt | 1 + qt5/tests/Makefile.am | 8 ++++- qt5/tests/test-render-to-file.cpp | 69 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 154 insertions(+), 2 deletions(-) commit 018892d4ceccd5e2994cdb74cd2d401293fc929d Author: Albert Astals Cid Date: Wed Dec 11 23:05:53 2013 +0100 0.25.0 CMakeLists.txt | 6 +++--- configure.ac | 4 ++-- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) commit a1b99b26da9124fa55f773af55ae7382bd911d47 Author: Albert Astals Cid Date: Wed Dec 11 23:00:00 2013 +0100 NEWS NEWS | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 10a0c45676ef56bee5924e889a7e7c21244b4339 Author: Albert Astals Cid Date: Tue Dec 10 20:48:36 2013 +0100 Update copyrights cpp/poppler-image.cpp | 1 + goo/PNGWriter.cc | 2 +- poppler/MarkedContentOutputDev.cc | 2 ++ poppler/MarkedContentOutputDev.h | 2 ++ poppler/Object.h | 1 + poppler/PDFDoc.h | 1 + utils/ImageOutputDev.h | 2 +- 7 files changed, 9 insertions(+), 2 deletions(-) commit 6c0e7d35f273583acc2aa818860e3120b0cab64f Author: Thomas Freitag Date: Tue Dec 10 20:14:39 2013 +0100 correction for knockout transparency groups Fixes test "G" in eci_altona-test-suite-v2_technical2_x4.pdf poppler/SplashOutputDev.cc | 18 ++++++++++--- splash/Splash.cc | 63 +++++++++++++++++++++++++++++++++------------ splash/SplashFTFontEngine.h | 3 +++ splash/SplashFontEngine.cc | 13 ++++++++++ splash/SplashFontEngine.h | 5 ++++ 5 files changed, 82 insertions(+), 20 deletions(-) commit f77bc21813ae7234ec4ce94ce4e92230fe5c174a Merge: 06e9dc9 58e04a0 Author: Albert Astals Cid Date: Sat Dec 7 16:56:11 2013 +0000 Merge remote-tracking branch 'origin/poppler-0.24' Conflicts: utils/pdfimages.cc utils/pdfinfo.cc utils/pdfseparate.cc commit 06e9dc917650f562cd6f6666190a8c25756514a3 Author: Albert Astals Cid Date: Sat Dec 7 16:39:02 2013 +0000 Compile++ CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) commit 58e04a08afee39370283c494ee2e4e392fd3b684 Author: Fabio D'Urso Date: Sat Dec 7 16:33:09 2013 +0000 segExtraBytes is a goffset not an int so use lld Fixes KDE bug #328511 poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3335d5e52fd7527bba7368ad6e87f1188808582f Author: Carlos Garcia Campos Date: Fri Dec 6 17:28:13 2013 +0100 regtest: Limit the stderr files to ~1MB Some tests send a lot of information to stderr, usually due to parsing errors in buggy documents. More than 1MB of stderr output is diffcult to hanlde and in most cases it's redundant with a lot of duplicated messages. This patch reduced the size of the refs dir for the complete test suite by 1GB. regtest/backends/__init__.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 24107ac47625438837d7c29053bff795f986a6bb Author: Carlos Garcia Campos Date: Fri Dec 6 13:24:47 2013 +0100 regtest: Save checksum results sorted in md5 files We are using os.listdir() to get the list of test results that returns files in arbitrary order. regtest/backends/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f1c9993d58fb9d191a7b3e26bfcaf7b5eec5323d Author: Carlos Garcia Campos Date: Fri Dec 6 13:03:24 2013 +0100 regtest: Show also the tests expected to crash/fail to run but don't fail regtest/TestRun.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 64d1e79c863d12b12b87ed0e3139d364f503e026 Author: Carlos Garcia Campos Date: Fri Dec 6 12:51:48 2013 +0100 regtest: Improve readability of test results Show a summary of tests failed per backend with the percentages and use a new line for every test in the result instead of using a comma separated line. regtest/TestRun.py | 67 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 47 insertions(+), 20 deletions(-) commit c35bc1da9402896c88999f9cffed6962a265f32e Author: Carlos Garcia Campos Date: Fri Dec 6 10:04:48 2013 +0100 glib-demo: Increase the default size of the main window Some demos like annots that show a document view use more space than they used to, requiring to manually resize the window everytime. glib/demo/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ab7da0bf62bb5032c4683d9cd841075d26045aae Author: Germán Poo-Caamaño Date: Mon Oct 28 22:52:22 2013 -0700 glib-demo: Add Square and Circle annotations demo https://bugs.freedesktop.org/show_bug.cgi?id=70983 glib/demo/annots.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 2ec450567f27bba3ee4a08b5e69b7c9605bea4bb Author: Germán Poo-Caamaño Date: Mon Oct 28 22:48:39 2013 -0700 glib: Add implementation of Square and Circle annotations Square and Circle only differ in the constructor which defines the subtype. Therefore, it uses the same name than Poppler's Geometry class. https://bugs.freedesktop.org/show_bug.cgi?id=70983 glib/poppler-annot.cc | 263 ++++++++++++++++++++++++++++++++---- glib/poppler-annot.h | 23 ++++ glib/poppler-page.cc | 6 + glib/poppler-private.h | 2 + glib/poppler.h | 2 + glib/reference/poppler-sections.txt | 16 +++ 6 files changed, 286 insertions(+), 26 deletions(-) commit e109cf2461d5be93d004593123d875a28fd79b61 Author: Carlos Garcia Campos Date: Tue Nov 26 20:12:22 2013 +0100 annots: Make Annot::setBorder receive an AnnotBorder object Instead of receiving AnnotBorderArray. Also implement writeToObject in both AnnotBorderArray and AnnotBorderBS to make sure that Annot::setBorder will work for both cases. poppler/Annot.cc | 51 +++++++++++++++++++++++++++++++++++++++++++++------ poppler/Annot.h | 10 +++++++--- 2 files changed, 52 insertions(+), 9 deletions(-) commit 3979b82982e84107d93fbbe95350bf25ce47398d Author: Carlos Garcia Campos Date: Tue Nov 26 14:44:57 2013 +0100 annots: Use a default border for annots that can have a BS entry According to the spec if neither the Border nor the BS entry is present, the border shall be drawn as a solid line with a width of 1 point. However, acroread seems to ignore the Border entry for annots that can't have a BS entry. poppler/Annot.cc | 223 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 132 insertions(+), 91 deletions(-) commit 36c07c82bdff010695c5d615b67506922522d0e8 Author: Carlos Garcia Campos Date: Tue Nov 26 14:07:21 2013 +0100 annots: Add helper function Annot::setLineStyleForBorder It sets the line dash and width based on the given AnnotBorder. Use it only when the border width is greater than 0 for FreeText annotations and always for annotations that use the border to set the line width and dash, but don't draw a border. poppler/Annot.cc | 110 ++++++++++++++++--------------------------------------- poppler/Annot.h | 1 + 2 files changed, 32 insertions(+), 79 deletions(-) commit e7b1ff97318fd6c3a8fed3a33d45f1cb55208b28 Author: Carlos Garcia Campos Date: Tue Nov 26 11:40:57 2013 +0100 annots: Remove unused typeUnknown AnnotBorderType from AnnotBorder Also make the AnnotBorder constructor protected to make sure it's not possible to create AnnotBorder instances. poppler/Annot.cc | 3 --- poppler/Annot.h | 12 ++++++++---- 2 files changed, 8 insertions(+), 7 deletions(-) commit 17b2623360ed8917e94a8e5b880e92e6db70335e Author: Adrian Perez de Castro Date: Tue Jun 18 00:35:51 2013 +0300 Tagged-PDF: Text content extraction from structure elements Implement StructElement::getText(), by using MCOutputDev. This output device captures pieces of text (aka "spans") which have the same attributes into a list of TextSpan objects. https://bugs.freedesktop.org/show_bug.cgi?id=64815 poppler/Makefile.am | 2 + poppler/MarkedContentOutputDev.cc | 210 ++++++++++++++++++++++++++++++++++++++ poppler/MarkedContentOutputDev.h | 128 +++++++++++++++++++++++ poppler/StructElement.cc | 50 +++++++++ poppler/StructElement.h | 28 +++++ 5 files changed, 418 insertions(+) commit 2c4320c26744ea28be10eac7cc54980c9eb4fc27 Author: Carlos Garcia Campos Date: Tue Dec 3 19:07:09 2013 +0100 glib-demo: Show number of charcters and text layout units in text demo It helps to easily detect the cases where these values mismatch. glib/demo/text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 98d75dcdb9b73feb6f35d8ad76f5d0c428289f91 Author: Jason Crain Date: Sat Nov 30 17:29:50 2013 +0100 Limit use of ZapfDingbats character names Some PDFs use names from ZapfDingbats (a1-a206) without intending for them to be used for text extraction. Only use these character names to locate glyphs or for text extraction with ZapfDingbats fonts. Bug #60243 goo/GooString.cc | 10 ++ goo/GooString.h | 4 + poppler/GfxFont.cc | 15 +- poppler/GlobalParams.cc | 33 +++- poppler/GlobalParams.h | 16 +- poppler/NameToUnicodeTable.h | 415 ++++++++++++++++++++++--------------------- 6 files changed, 274 insertions(+), 219 deletions(-) commit 817cc333ca8009998f2099583fd0a2fc703f3db3 Author: Carlos Garcia Campos Date: Fri Nov 29 10:07:16 2013 +0100 regtest: Do not buffer stderr output Some buggy documents can produce a huge stderr output because of parsing errors or whatever. We could give a file directly to Popen to write the stderr file, but we only want to create the file when there's output, because it's what we use to know whether the command produced output or not. So, instead of buffering the whole output and then write it to the file, now we read from the pipe while the command is running, writing the output in chunks to the file. This improves a lot the memory consumption when running some tests. regtest/backends/__init__.py | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) commit f8f82f1cc3a948239a05d7762210a3f244299db6 Author: Carlos Garcia Campos Date: Fri Nov 29 10:03:24 2013 +0100 regtest: Read test results in chunks to get the md5 digest Some backends can generate huge results, like huge postscript files that we don't want to load in memory to get the md5. So, instead of creating thr md5 object with the entire file, we feed it with chunks of data using the update method. This improves a lot the memory consumption and performance as well. regtest/backends/__init__.py | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit 3444a44397a890dbeb1bd10357dbc8246fd21ad0 Author: Carlos Garcia Campos Date: Fri Nov 29 10:01:20 2013 +0100 regtest: Remove unused method _check_exit_status2 It was used when the backends ran in parallel odd and even pages, but it's no longer used since threads support was added. regtest/backends/__init__.py | 20 -------------------- 1 file changed, 20 deletions(-) commit 5f825df417947c51943f1db327e1aa6c3faa15b0 Author: Carlos Garcia Campos Date: Fri Nov 29 09:57:57 2013 +0100 regtest: Do not store the current line in Printer but only its length We are not using the line text anymore, but only the length. regtest/Printer.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 1486d93f0f6418b37ccc57568717d9349a79935b Author: Carlos Garcia Campos Date: Wed Nov 27 18:29:36 2013 +0100 regtest: Do not consider docs with no refs as skipped Handle them differently as new docs, and show them in the summary suggesting to use create-refs command to include them in the test suite. regtest/TestRun.py | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) commit 5241c0cc730c380dc44c3a081e1de675e1915861 Author: Carlos Garcia Campos Date: Wed Nov 27 17:18:37 2013 +0100 regtest: Use number of tests run to show the progress Instead of using the number of document tested. We don't really need to set a number to a particular document, we only want to know the progress of the whole process. This ensures that the progress is shown in the correct order. It also simplifies the code a bit. Also improved the output formatting to make it easier to read. regtest/Printer.py | 44 ++++----------- regtest/TestReferences.py | 50 +++++++++++------ regtest/TestRun.py | 136 +++++++++++++++++++++++++--------------------- 3 files changed, 118 insertions(+), 112 deletions(-) commit 0af3e009a702d0c6ca716565ab87b386baa0a1ed Author: Albert Astals Cid Date: Wed Nov 27 00:53:16 2013 +0100 0.24.4 CMakeLists.txt | 4 ++-- NEWS | 18 ++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 25 insertions(+), 7 deletions(-) commit a42a13be0a0cda71dc230a73f7b16eb4eb066251 Author: suzuki toshiya Date: Wed Nov 27 00:05:57 2013 +0100 Warn the user if he provides a wrong range utils/pdffonts.cc | 7 +++++++ utils/pdfimages.cc | 7 +++++++ utils/pdfinfo.cc | 7 +++++++ utils/pdfseparate.cc | 7 +++++++ utils/pdftocairo.cc | 7 +++++++ utils/pdftohtml.cc | 8 +++++++- utils/pdftoppm.cc | 7 +++++++ utils/pdftops.cc | 7 +++++++ utils/pdftotext.cc | 6 ++++++ 9 files changed, 62 insertions(+), 1 deletion(-) commit 45552cafaeef6b883078db269437586add1dc32c Author: Albert Astals Cid Date: Tue Nov 26 23:36:12 2013 +0100 Update copyrights utils/pdftotext.cc | 1 + 1 file changed, 1 insertion(+) commit f20fe89d4f5a8f768e2019f25cecf40cd0e4f5f8 Author: Carlos Garcia Campos Date: Mon Nov 25 09:05:41 2013 +0100 glib-demo: Add an area selector to text demo And use the for_area variants of the API to get the text, text layout and text attributes. glib/demo/text.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 110 insertions(+), 4 deletions(-) commit bb2b7fb491fb72f0ea024d80df89680ede3457b4 Author: Carlos Garcia Campos Date: Mon Nov 25 09:04:30 2013 +0100 glib: Add API to get text, text layout and text attributes for a given area glib/poppler-page.cc | 107 ++++++++++++++++++++++++++++++++++-- glib/poppler-page.h | 8 +++ glib/reference/poppler-sections.txt | 3 + 3 files changed, 113 insertions(+), 5 deletions(-) commit f662973b0da52da84acc3668a0e037ee72498193 Author: Carlos Garcia Campos Date: Sat Nov 2 14:07:07 2013 +0100 TextOutputDev: Honor the selection rectangle passed to TextPage::getSelectionWords() Make TextPage::getSelectionWords() return a list of TextWordSelection instead of a list of TextWord so that it's possible to know which characters of the word are inside the given selection rectangle. Adapt the glib frontend to the new API and use the selection bounds instead of the whole word to build the list of characters in poppler_page_get_text_layout() and poppler_page_get_text_attributes(), which ensures the number of glyphs returned is in sync with the number of characters returned by poppler_page_get_text(). https://bugs.freedesktop.org/show_bug.cgi?id=71160 glib/poppler-page.cc | 22 ++++++++++++++-------- poppler/TextOutputDev.cc | 40 ++++++++-------------------------------- poppler/TextOutputDev.h | 20 ++++++++++++++++++++ 3 files changed, 42 insertions(+), 40 deletions(-) commit 18fab454c59b1c77c691617aaef99245eacd83b5 Author: Germán Poo-Caamaño Date: Mon Oct 28 22:41:41 2013 -0700 glib-demo: Simplify annotations list and its properties * Move the annotation's rectangle to properties to make the list view of annotations cleaner. * Remove duplicated information: flags and page are already present in the UI. https://bugs.freedesktop.org/show_bug.cgi?id=70982 glib/demo/annots.c | 70 ++++++++++++------------------------------------------ 1 file changed, 15 insertions(+), 55 deletions(-) commit 770a7ac9833a3c4f4f0399093272d4d0bdc7923b Merge: e7a0f2b 9ae29c7 Author: Albert Astals Cid Date: Thu Nov 21 23:58:29 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.24' commit 9ae29c7a07d0f372dbfc4aca17bbb646126aedb5 Author: Thomas Freitag Date: Thu Nov 21 23:53:53 2013 +0100 Don't end loop if reading from GooFile fails Bug #71835 poppler/Stream.cc | 3 +++ 1 file changed, 3 insertions(+) commit e7a0f2b942fe621304275175324f7809d1c83d80 Author: Hib Eris Date: Wed Nov 20 00:43:27 2013 +0100 Fix warning on signed/unsigned comparison in GfxState.cc Bug #71641 poppler/GfxState.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c784c4c3a582aaa4e10c223665cb876e12b7c16f Author: Germán Poo-Caamaño Date: Mon Nov 18 00:57:53 2013 -0800 glib-demo: Add support for simple line annotations https://bugs.freedesktop.org/show_bug.cgi?id=70981 glib/demo/annots.c | 99 +++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 91 insertions(+), 8 deletions(-) commit 2d164e06b8a84ade6689d85bba2d606c66bf62a9 Author: Germán Poo-Caamaño Date: Mon Nov 18 00:48:13 2013 -0800 glib-demo: add color selection for new annotations https://bugs.freedesktop.org/show_bug.cgi?id=71727 glib/demo/annots.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit 7127a2c705787f6f44b0852efeabe9fdeae7e2c0 Author: Germán Poo-Caamaño Date: Sun Nov 17 23:38:32 2013 -0800 glib: Add support for simple line annotations https://bugs.freedesktop.org/show_bug.cgi?id=70981 glib/poppler-annot.cc | 79 +++++++++++++++++++++++++++++++++++++ glib/poppler-annot.h | 12 ++++++ glib/poppler-page.cc | 3 ++ glib/poppler-private.h | 1 + glib/poppler.h | 1 + glib/reference/poppler-sections.txt | 7 ++++ 6 files changed, 103 insertions(+) commit 451bac9f05bab18f3aa0392ddf6eb6b569004cb8 Author: Germán Poo-Caamaño Date: Sun Nov 17 23:30:14 2013 -0800 glib: Add PopplerPoint boxed type https://bugs.freedesktop.org/show_bug.cgi?id=70981 glib/poppler-page.cc | 54 +++++++++++++++++++++++++++++++++++++ glib/poppler-page.h | 20 ++++++++++++++ glib/poppler.h | 1 + glib/reference/poppler-sections.txt | 5 ++++ 4 files changed, 80 insertions(+) commit c01cee165392ba8297e4168111a66d2acb272a99 Merge: 07c2554 47605a8 Author: Albert Astals Cid Date: Mon Nov 18 22:58:28 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.24' Conflicts: poppler/Catalog.cc poppler/Catalog.h commit 47605a8aaf85bee21601219b04c0c8e6cf982507 Author: José Aliste Date: Mon Nov 18 22:52:08 2013 +0100 Catalog: sort entries of NameTrees to make sure lookup works Bug #26049 poppler/Catalog.cc | 12 ++++++++++++ poppler/Catalog.h | 2 ++ 2 files changed, 14 insertions(+) commit 07c255482f7ec8a8cfd4eaeaf7b07de317bbcc7a Author: Germán Poo-Caamaño Date: Sun Oct 27 13:30:22 2013 -0700 glib-demo: Add annotations interactively * Prepare UI to add multiple annotations type. * Remove dialog and button add annotations. https://bugs.freedesktop.org/show_bug.cgi?id=69978 glib/demo/annots.c | 348 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 213 insertions(+), 135 deletions(-) commit 4b7c91ea697359751f9abe9ec5e63021c90a60ed Author: Germán Poo-Caamaño Date: Sat Sep 28 23:18:07 2013 -0700 glib: Add getter and setter for annotation's rectangle Annotation objects contain at least two keys, Rect and Subtype. The former has the coordinates where the annotation is placed. The getter and setter allows to obtain and modify the position of a given annotation. https://bugs.freedesktop.org/show_bug.cgi?id=70901 glib/poppler-annot.cc | 48 +++++++++++++++++++++++++++++++++++++ glib/poppler-annot.h | 4 ++++ glib/reference/poppler-sections.txt | 2 ++ 3 files changed, 54 insertions(+) commit 491f0a170c72271a7a9ce049fbcfe81f08cff162 Author: suzuki toshiya Date: Fri Nov 15 20:35:12 2013 +0100 pdftotext: Escape the text of the xml headers utils/pdftotext.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 4da94680d4d2d6b1bd3351d476a20f9c7ae565bc Merge: 3ea3d7c 78c407a Author: Albert Astals Cid Date: Fri Nov 15 20:27:00 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.24' commit 3ea3d7c6c7a0ede76428204ec11aec3a844117fc Author: Hib Eris Date: Fri Nov 15 19:59:52 2013 +0100 pdftotext: Silence warning for may be used uninitialized variable Bug #71640 utils/pdftotext.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 97910b9eb92df49757915bde02e0d54de04552d4 Author: Hib Eris Date: Fri Nov 15 19:55:19 2013 +0100 Do not close stdout in pdftotext Bug #71639 utils/pdftotext.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 78c407ac7e8f48ae2d2c75ad0f5960390190d2e3 Author: Albert Astals Cid Date: Fri Nov 15 20:25:52 2013 +0100 destionation -> destination And this is why the xml based api has to die Bug #71643 Found by Hib qt4/src/poppler-annotation.cc | 5 +++-- qt5/src/poppler-annotation.cc | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) commit a23c9ad4c0536d680bedc563444ce3adf6e1ee9e Author: Hib Eris Date: Fri Nov 15 11:38:45 2013 +0100 Silence warning for may be used uninitialized variable in ImageOutputDec.cc Fixes warning: CXX ImageOutputDev.lo ImageOutputDev.cc: In member function 'void ImageOutputDev::writeImageFile(ImgWriter*, ImageOutputDev::ImageFormat, const char*, Stream*, int, int, GfxImageColorMap*)': ImageOutputDev.cc:409:28: warning: 'imgStr' may be used uninitialized in this function [-Wmaybe-uninitialized] Bug #71642 utils/ImageOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c43a80e65fc570a8017892ba111a8c48ac33d9ad Author: Hib Eris Date: Fri Nov 15 19:59:52 2013 +0100 pdftotext: Silence warning for may be used uninitialized variable Bug #71640 utils/pdftotext.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f905d804c0d1c715d8423938f41b5a002c0ef15d Author: Hib Eris Date: Fri Nov 15 19:55:19 2013 +0100 Do not close stdout in pdftotext Bug #71639 utils/pdftotext.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 33e703ac9bb6cf69664d6c6fddd3bebd56336074 Merge: 8294d18 7c74bcc Author: Albert Astals Cid Date: Fri Nov 15 19:50:10 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.24' commit 7c74bccdf514cce05987dde7fb1cce4ac65ff025 Author: Albert Astals Cid Date: Fri Nov 15 19:48:07 2013 +0100 Forgot to update the copyrights poppler/Lexer.cc | 2 +- poppler/Lexer.h | 2 +- poppler/Parser.cc | 2 +- poppler/Parser.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit ebe49d597a62aa94601c2e4595dbad1895ea7ef0 Author: Albert Astals Cid Date: Fri Nov 15 19:33:00 2013 +0100 Fix regression in broken endstream detection Rregression was caused by e1ffa9100cf6b4a444be7ed76b11698a5c5bb441 Fixes bug #70854 poppler/Lexer.cc | 4 ++-- poppler/Lexer.h | 2 +- poppler/Parser.cc | 11 ++++------- poppler/Parser.h | 2 +- 4 files changed, 8 insertions(+), 11 deletions(-) commit 8294d18ea96bd18be076bccbdbdaa015fc48aa12 Author: Adrian Perez de Castro Date: Thu Sep 26 20:46:34 2013 +0300 Tagged-PDF: Parsing of StructElem standard types and attributes Parse attributes and standard types of StructElem nodes of the document structure tree. Type name aliases are resolved via the RoleMap (and cycles detected). Both standard attributes and user properties are mapped to instances of the Attribute class. Attributes are parsed both via ClassMap references and directly referenced from the StructElem objects. https://bugs.freedesktop.org/show_bug.cgi?id=64815 poppler/StructElement.cc | 1018 +++++++++++++++++++++++++++++++++++++++++++++- poppler/StructElement.h | 113 ++++- 2 files changed, 1126 insertions(+), 5 deletions(-) commit 4e0cbd37b964107c0fb531d48876a33ae843bf27 Author: suzuki toshiya Date: Mon Nov 11 22:46:07 2013 +0100 pdftohtml: Add -? and --help utils/pdftohtml.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 4dbd36f5b35dd0964e59d942242aecdc6b474c89 Author: Andres Gomez Date: Tue Nov 5 09:52:23 2013 +0200 glib-demo: Fix conding style issue in main.c https://bugs.freedesktop.org/show_bug.cgi?id=71245 glib/demo/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 02f3c235eaf60350c98e88dbe266378fccef59d7 Author: Andres Gomez Date: Tue Nov 5 09:52:23 2013 +0200 glib-demo: Fix a typo in function name https://bugs.freedesktop.org/show_bug.cgi?id=71245 glib/demo/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5620b82e69335b7f12d877a24f1a463604f0e515 Author: Andres Gomez Date: Tue Nov 5 09:52:23 2013 +0200 glib-demo: Fix trailing whitespaces in main.c https://bugs.freedesktop.org/show_bug.cgi?id=71245 glib/demo/main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 43309d92d327b4ae8e89edb15482247045d726a4 Author: Germán Poo-Caamaño Date: Sat Sep 28 20:45:32 2013 -0700 glib-demo: Make the Remove annotation button prominent in demo Move out from Annotation properties to the top. This make better use of the space. Make the remove button active only if there is an annotation selected. https://bugs.freedesktop.org/show_bug.cgi?id=69978 glib/demo/annots.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) commit f4a72fd3c61091d6b455af9a881c2390da19b506 Author: Albert Astals Cid Date: Sat Oct 26 19:06:34 2013 +0200 0.24.3 CMakeLists.txt | 2 +- NEWS | 14 ++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 19 insertions(+), 5 deletions(-) commit 33a5af32cd5769cf1b6c6344077ac4a3f407ba21 Author: Albert Astals Cid Date: Sat Oct 26 18:48:50 2013 +0200 Update copyrights qt4/src/poppler-document.cc | 2 +- utils/pdfseparate.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9f09b9596f1fc52481914019d68c8f9b85b5c438 Merge: bd893d4 61f79b8 Author: Albert Astals Cid Date: Thu Oct 24 01:03:02 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit 61f79b8447c3ac8ab5a26e79e0c28053ffdccf75 Author: Albert Astals Cid Date: Thu Oct 24 00:54:56 2013 +0200 Allow only one %d in the filename Fixes crashes if you had %s and similar in the filename Inspired from patch by Pedro Ribeiro Bug #69434 utils/pdfseparate.cc | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) commit bd893d4a543a6cc3a525655f37def38440944f28 Merge: 93e8b05 daa0990 Author: Albert Astals Cid Date: Thu Oct 10 02:19:34 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit daa0990a7baf17d00d12574a4de815e070727a86 Author: Albert Astals Cid Date: Thu Oct 10 02:16:25 2013 +0200 Return empty if getXRef()->copy() fails Seems this can happen by looking at the backtrace in https://bugs.kde.org/show_bug.cgi?id=325810 qt4/src/poppler-document.cc | 6 ++++++ qt5/src/poppler-document.cc | 6 ++++++ 2 files changed, 12 insertions(+) commit f4bfa940aa40a82a1080cdaf765da1d1615ccfb1 Author: Carlos Garcia Campos Date: Sat Oct 5 11:20:04 2013 +0200 cairo: Do not set an invalid matrix in drawImage() https://bugs.freedesktop.org/show_bug.cgi?id=70085 poppler/CairoOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 93e8b05fb2a6d225f048db6a3a735717433a5a13 Author: Carlos Garcia Campos Date: Sat Oct 5 11:20:04 2013 +0200 cairo: Do not set an invalid matrix in drawImage() https://bugs.freedesktop.org/show_bug.cgi?id=70085 poppler/CairoOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3084f8f4a5ad55937094b14e30169dccf1fa4ec9 Author: Germán Poo-Caamaño Date: Sat Sep 21 11:59:32 2013 -0700 glib-demo: Expand short names for annotations used in demo https://bugs.freedesktop.org/show_bug.cgi?id=69978 glib/demo/annots.c | 10 +++++----- glib/demo/main.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) commit ff674f57a3587142165fd56aec089d9840ceda36 Author: Germán Poo-Caamaño Date: Fri Sep 27 22:33:42 2013 -0700 glib-demo: Merge columns Type and Color in annotations demo Reduce the space used by both columns, makes the color pixbuf smaller enough to give a clue of the annotation color. https://bugs.freedesktop.org/show_bug.cgi?id=69978 glib/demo/annots.c | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) commit 76d6e2d385e2cbad7f44bc8aee05147efd3970a4 Author: Germán Poo-Caamaño Date: Fri Sep 20 23:27:20 2013 -0700 glib-demo: Rearrange layout for annotations in demo Add render area to visualize the annotations per page. https://bugs.freedesktop.org/show_bug.cgi?id=69978 glib/demo/annots.c | 130 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 118 insertions(+), 12 deletions(-) commit a6b1fc1a2ca83b3e4c52bcaa95b99d0289354f4b Author: Germán Poo-Caamaño Date: Sun Sep 29 22:50:42 2013 -0700 glib-demo: Fix rectangle calculation for new annotations in demo https://bugs.freedesktop.org/show_bug.cgi?id=69978 glib/demo/annots.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bd49b3c0c6f2adccc5bda561edbaf9f00ed2917a Author: Thomas Freitag Date: Wed Oct 2 23:32:09 2013 +0200 Use icc profile in OutputIntents Bug #34053 poppler/Gfx.cc | 114 +++++++++++--- poppler/Gfx.h | 8 +- poppler/GfxState.cc | 429 +++++++++++++++++++++++++++++++++++++++++----------- poppler/GfxState.h | 72 ++++++--- poppler/Page.cc | 2 +- 5 files changed, 490 insertions(+), 135 deletions(-) commit df947a0641082f530200880d46e20cd3e1fd962f Author: Albert Astals Cid Date: Wed Oct 2 20:53:32 2013 +0200 Compile++ CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) commit fa83d7e4f36cfc11c7b4f81f5f5e8ed69eb6dbbe Author: Daniel Kahn Gillmor Date: Wed Oct 2 20:35:58 2013 +0200 pdfseparate: allow zero-padded pagespecs Bug #50914 utils/pdfseparate.cc | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) commit e04cabd878a0fd84faa5178f423fd828d010b664 Author: Adrian Perez de Castro Date: Mon Jun 17 17:00:27 2013 +0300 Tagged-PDF: Implement parsing of StructTreeRoot Implement parsing of the StructTreeRoot entry of the Catalog. Also, the Catalog::getStructTreeRoot() and PDFDoc::getStructTreeRoot() methods are modified to return an instance of StructTreeRoot instead of an Object. All elements from the StructTreeRoot are parsed except for: - IDTree: it is a lookup tree to locate items by their ID, which would be barely useful because the whole structure tree is to be kept in memory, which should be fast enough to traverse. - ParentTreeNextKey: This is needed only when the ParentTree object is to be modified. For the moment the implementation deals only with reading, so this has been deliberately left out. StructElem tree nodes from the document structure tree are parsed as a StructElement instance. Attributes and extraction of content out from elements are not yet handled. https://bugs.freedesktop.org/show_bug.cgi?id=64815 poppler/Catalog.cc | 36 +++--- poppler/Catalog.h | 5 +- poppler/Makefile.am | 4 + poppler/PDFDoc.h | 3 +- poppler/StructElement.cc | 322 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/StructElement.h | 167 ++++++++++++++++++++++++ poppler/StructTreeRoot.cc | 174 +++++++++++++++++++++++++ poppler/StructTreeRoot.h | 83 ++++++++++++ 8 files changed, 776 insertions(+), 18 deletions(-) commit 45e0fe56985f34e695c99a2f6ec1ffe14e239b9e Author: Adrian Perez de Castro Date: Thu Sep 26 20:56:52 2013 +0300 Implement Object::takeString() method Object::takeString() behaves like Object::getString(), but transfers ownership of the returned string to the caller. Also, it makes sure that calling Object::free() afterwards won't free the string that the Object is holding. poppler/Object.h | 4 ++++ 1 file changed, 4 insertions(+) commit d80eb4a34c218de34633ee2f1b9dfd65504a0ad9 Author: Thomas Freitag Date: Tue Oct 1 22:57:55 2013 +0200 cache cms values in getGray(), getRGB() and getCMYK() Bug #68420 poppler/GfxState.cc | 111 ++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/GfxState.h | 2 + 2 files changed, 113 insertions(+) commit 9bc8f3240698d5a8ae4c0129e768840664d28c22 Merge: a2742c8 e2fe851 Author: Albert Astals Cid Date: Tue Oct 1 19:19:32 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit e2fe85137ecb59eb0d177682c552febc64cda643 Author: Adrian Johnson Date: Tue Oct 1 19:15:08 2013 +0200 Fix PFB font embedding Bug #69717 poppler/PSOutputDev.cc | 52 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 46 insertions(+), 6 deletions(-) commit a2742c8fce0594ccbdb036dd0c29c6e15d2229f3 Merge: 6b30a52 06dabe1 Author: Albert Astals Cid Date: Mon Sep 30 19:32:41 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit 06dabe1eed912e5f5c96fe9f371ab459516e5a99 Author: Albert Astals Cid Date: Fri Sep 27 12:41:23 2013 +0200 0.24.2 CMakeLists.txt | 2 +- NEWS | 8 ++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) commit 78141da189c42a04b6a303767284de755a4a2d4d Author: Albert Astals Cid Date: Fri Sep 27 12:39:00 2013 +0200 Update copyrights utils/pdfseparate.cc | 1 + 1 file changed, 1 insertion(+) commit 6b30a5214e39993025cf2fb9f221e1360de7fa9c Merge: 4966b6f dc344b4 Author: Albert Astals Cid Date: Sat Sep 21 10:38:45 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit dc344b410f49410174ee902b7649ebd8c2cb0fa2 Author: Lu Wang Date: Sat Sep 21 10:37:30 2013 +0200 pdftocairo: check file opening failure in beginDocument() utils/pdftocairo.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 4966b6f4193cc9d13f63e92bdc2aac0c8b78298d Merge: 0f074b1 1e612d3 Author: Albert Astals Cid Date: Sat Sep 21 10:15:28 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit 1e612d331b79dabec66ad241d7ffe66674a10bc4 Author: Thomas Freitag Date: Sat Sep 21 10:10:16 2013 +0200 Windows: Fix CreateFile fails with ERROR_SHARING_VIOLATION Bug #69597 goo/gfile.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 0f074b16317d874fe58d7042f8434282786ca757 Merge: d277432 b8682d8 Author: Pino Toscano Date: Mon Sep 16 19:53:10 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' Conflicts: utils/pdfimages.1 commit b8682d868ddf7f741e93b791588af0932893f95c Author: Pino Toscano Date: Mon Sep 16 19:46:55 2013 +0200 pdfseparate: improve the path building Make use of snprintf to limit the output to the pathName buffer; while I'm there, expand its size to 4096 (might help longer paths), although a better fix would be dynamically allocate its length (and/or using GooString, maybe). utils/pdfseparate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d2774325f5248018977d3ab8f8dd7155ed972668 Author: Adrian Johnson Date: Sat Sep 14 14:08:11 2013 +0930 pdfimages.1: fix typo utils/pdfimages.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b5957278c7f249fa1010e61a0ed79f0eb20e26d Author: Adrian Johnson Date: Sat Aug 31 17:33:25 2013 +0930 pdfimages: ensure dump* variables are intialized utils/ImageOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit e116ef32504b589001814f0f579309ecf7ec89d9 Author: Adrian Johnson Date: Wed Aug 28 08:05:23 2013 +0930 Make cpp/poppler-image.cc use goo/NetPBMWriter cpp/CMakeLists.txt | 1 - cpp/Makefile.am | 2 - cpp/PNMWriter.cc | 119 -------------------------------------------------- cpp/PNMWriter.h | 43 ------------------ cpp/poppler-image.cpp | 14 +++--- 5 files changed, 6 insertions(+), 173 deletions(-) commit a87a11ee6bbd0f5707a3ac34ac2b9cc79f4e92d0 Author: Adrian Johnson Date: Thu Aug 29 22:42:34 2013 +0930 pdfimages: support cmyk tiff output If -tiff is specified, CMYK images will be written as CMYK TIFF files instead of converting to RGB. If both -png and -tiff are specified (as is the case with the -all option), CMYK images are written as TIFF and all other types as PNG. utils/ImageOutputDev.cc | 32 +++++++++++++++++++++++++++++++- utils/ImageOutputDev.h | 3 ++- utils/pdfimages.1 | 13 ++++++++----- utils/pdfimages.cc | 3 ++- 4 files changed, 43 insertions(+), 8 deletions(-) commit 63da26f8fb0b2b5ffaa127762d4e36d995c482ee Author: Thomas Freitag Date: Tue Aug 27 20:40:29 2013 +0200 resolve copy&paste error poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 563da2d375c003478d398897796ecbf45ce03482 Author: Albert Astals Cid Date: Mon Aug 26 22:33:10 2013 +0200 0.24.1 CMakeLists.txt | 2 +- NEWS | 23 +++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 28 insertions(+), 5 deletions(-) commit 2c73f1ea9116172692d8350cb7adf1b5376f795c Author: Albert Astals Cid Date: Mon Aug 26 21:50:51 2013 +0200 Fix typo qt5/src/poppler-qt5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f58e9b64d5cf62906876c5c0f8da0f3c2c6c2bac Author: Albert Astals Cid Date: Mon Aug 26 00:27:59 2013 +0200 Some more files Adrian has changed goo/PNGWriter.h | 2 +- utils/HtmlOutputDev.cc | 2 +- utils/pdftocairo.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 16da389c61c495111a5a49f62539a423a0655c28 Author: Adrian Johnson Date: Mon Aug 26 07:50:51 2013 +0930 fix typo in pdfimages.1 utils/pdfimages.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 56c0d4f3a231dca141c06493b50ab25959b5b15c Author: Adrian Johnson Date: Mon Aug 26 07:47:46 2013 +0930 fix typo in pdfimages.1 utils/pdfimages.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit af4f2b775946815b572622bf4c4d42ad3aea1141 Author: Adrian Johnson Date: Sat Aug 24 21:25:51 2013 +0930 pdfimages: Add -all option to write all image in their native format utils/pdfimages.1 | 4 ++++ utils/pdfimages.cc | 23 +++++++++++++++++------ 2 files changed, 21 insertions(+), 6 deletions(-) commit 25e96b6ddbbe54a75ddb97d2e235c1bd6033fe79 Author: Adrian Johnson Date: Wed Aug 21 22:22:28 2013 +0930 pdfimages: support ccitt output poppler/Stream.h | 5 +++++ utils/ImageOutputDev.cc | 35 +++++++++++++++++++++++++++++++++++ utils/ImageOutputDev.h | 4 ++++ utils/pdfimages.1 | 39 ++++++++++++++++++++++++++++++++++++++- utils/pdfimages.cc | 4 ++++ 5 files changed, 86 insertions(+), 1 deletion(-) commit 086413263cb63a24d9492fbe534fdcc34b45951a Author: Adrian Johnson Date: Sun Aug 18 20:37:01 2013 +0930 pdfimages: support JBIG2 output poppler/JBIG2Stream.h | 1 + utils/ImageOutputDev.cc | 25 +++++++++++++++++++++++++ utils/ImageOutputDev.h | 4 ++++ utils/pdfimages.1 | 13 ++++++++----- utils/pdfimages.cc | 4 ++++ 5 files changed, 42 insertions(+), 5 deletions(-) commit 2845ebabd00a2755549b8db436e78a3e0e0c0713 Author: Adrian Johnson Date: Sun Aug 18 20:07:31 2013 +0930 pdfimages: add support for writing JPEG2000 files utils/ImageOutputDev.cc | 4 ++++ utils/ImageOutputDev.h | 4 ++++ utils/pdfimages.1 | 12 ++++++++---- utils/pdfimages.cc | 4 ++++ 4 files changed, 20 insertions(+), 4 deletions(-) commit 2021c8ffcb36432049c4305e85ced2ae139086f3 Author: Adrian Johnson Date: Sun Aug 18 17:29:00 2013 +0930 pdfimages: add support for png and tiff output utils/ImageOutputDev.cc | 67 ++++++++++++++++++++++++++++++++++++++++++++++--- utils/ImageOutputDev.h | 17 +++++++++++-- utils/pdfimages.1 | 22 ++++++++++------ utils/pdfimages.cc | 19 +++++++++++--- 4 files changed, 110 insertions(+), 15 deletions(-) commit 8f466775c77b09a7114c688004317e6db05bcd3f Author: Adrian Johnson Date: Sun Aug 18 16:08:02 2013 +0930 Change PNGWriter monochrome format to be 8 pixels/byte to be consistent with TiffWriter and NetPBMWriter goo/PNGWriter.cc | 4 ---- goo/PNGWriter.h | 2 +- utils/HtmlOutputDev.cc | 31 +++++++++++++++++++------------ utils/ImageOutputDev.cc | 9 ++++++--- utils/pdftocairo.cc | 2 +- 5 files changed, 27 insertions(+), 21 deletions(-) commit e53aec2c61ba42cf0635dc05f8e27e3503c1eaac Author: Adrian Johnson Date: Sun Aug 18 15:50:39 2013 +0930 Refactor ImageOutputDev to facilitate adding more output formats - Move PPM/PBM code into a NetPBMWriter class so PNGWriter and TiffWritersupport be added. - Create generic WriteRawIMage function for writing jpeg files so support for jpeg2000/jbig2 can be added. CMakeLists.txt | 1 + goo/Makefile.am | 2 + goo/NetPBMWriter.cc | 84 ++++++++++++++++ goo/NetPBMWriter.h | 52 ++++++++++ utils/ImageOutputDev.cc | 261 +++++++++++++++++++++--------------------------- utils/ImageOutputDev.h | 15 +-- 6 files changed, 262 insertions(+), 153 deletions(-) commit 0ca0fcc9f536a57365048914cd8a8cc3eb5ed4fd Author: Adrian Johnson Date: Sat Aug 17 15:24:43 2013 +0930 pdfimages: fix bug in -list output Images of type /ImageMask should have type 'stencil'. utils/ImageOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8ee5a931c795013d17f73f083b6e6f9a683d061 Author: Adrian Johnson Date: Sat Aug 17 15:17:11 2013 +0930 pdfimages: print size, ratio, and ppi utils/ImageOutputDev.cc | 100 ++++++++++++++++++++++++++++++++++++++++++++---- utils/pdfimages.1 | 12 ++++++ utils/pdfimages.cc | 2 +- 3 files changed, 106 insertions(+), 8 deletions(-) commit b5321c4f40fb56b10f75c14c5c955c5775cf2ef9 Author: Thomas Freitag Date: Sun Aug 25 20:13:12 2013 +0200 use getCMYK/DeviceNLine in CMYK mode if available Second part of bug 66928 poppler/GfxState.cc | 310 ++++++++++++++++++++++++++++++++++++++++++++- poppler/GfxState.h | 32 ++++- poppler/SplashOutputDev.cc | 28 ++-- splash/SplashTypes.h | 2 - 4 files changed, 355 insertions(+), 17 deletions(-) commit d006ac567e59e82c4c6cb42c5e429a4aa516ac0b Merge: d391af7 ed3585e Author: Albert Astals Cid Date: Sun Aug 25 19:36:33 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit ed3585efc8b259cb065eac361a6a499f9f26851f Author: William Bader Date: Sun Aug 25 19:31:11 2013 +0200 Fix pdftops -eps -level1sep rendering of a file Since 8fb243bf11a979af8bfa36427436940706c9f71d we have case splashModeXBGR8: + cSrcNonIso[3] = 255; and that means splashModeDeviceN8 and splashModeCMYK8 can't skip their breaks anymore otherwise the cSrcNonIso[3] gets overwritten Bug #68321 splash/Splash.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit d391af7ea63c4bc884bb81895aea0cdd8f8b282a Author: Albert Astals Cid Date: Sat Aug 24 14:03:49 2013 +0200 Update copyrights poppler/Annot.cc | 1 + poppler/Annot.h | 1 + poppler/Catalog.cc | 2 ++ poppler/Catalog.h | 2 ++ poppler/Form.cc | 2 +- poppler/Form.h | 1 + poppler/Page.cc | 1 + poppler/Page.h | 1 + utils/pdfinfo.cc | 1 + 9 files changed, 11 insertions(+), 1 deletion(-) commit a47b7f853174d6101f2b882a2db1a7dc95b33293 Author: Adrian Johnson Date: Sat Aug 3 10:28:20 2013 +0930 Add pdfinfo option to print out javascript poppler/Catalog.h | 1 + utils/JSInfo.cc | 164 +++++++++++++++++++++++++++++++++++++++++------------- utils/JSInfo.h | 12 +++- utils/pdfinfo.1 | 3 + utils/pdfinfo.cc | 10 ++++ 5 files changed, 151 insertions(+), 39 deletions(-) commit 8f7155e7e3180bb1966a5e7df6af6acdd479939b Author: Adrian Johnson Date: Sat Aug 3 09:05:21 2013 +0930 pdfinfo: indicate if pdf contains javascript poppler/Annot.cc | 27 ++++++++++ poppler/Annot.h | 8 +++ poppler/Catalog.cc | 26 +++++++++ poppler/Catalog.h | 12 +++++ poppler/Form.cc | 4 ++ poppler/Form.h | 2 + poppler/Page.cc | 20 +++++++ poppler/Page.h | 10 +++- utils/CMakeLists.txt | 4 ++ utils/JSInfo.cc | 145 +++++++++++++++++++++++++++++++++++++++++++++++++++ utils/JSInfo.h | 50 ++++++++++++++++++ utils/Makefile.am | 4 ++ utils/pdfinfo.1 | 3 ++ utils/pdfinfo.cc | 8 +++ 14 files changed, 322 insertions(+), 1 deletion(-) commit c2453fc1307ebb222747f976e1311ecc5e99abfa Merge: 3bb8c2e 70298a0 Author: Albert Astals Cid Date: Tue Aug 20 19:53:17 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit 70298a021657a72ae80389687a86247144e6d6b6 Author: Thomas Freitag Date: Tue Aug 20 19:46:01 2013 +0200 Don't copy not needed bitmap Speeds up rendering of fixes from bug 67105 As example one file is down from 130s to 6.5s poppler/SplashOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3bb8c2e34039cf473bf72ed9dab55664deab3ab7 Merge: 71c1d16 fc78330 Author: Albert Astals Cid Date: Tue Aug 20 00:41:13 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit fc78330072b9771fa39d21896703adb4836e5398 Author: Albert Astals Cid Date: Tue Aug 20 00:37:56 2013 +0200 use getRGBLine images if available Speeds up greatly files from bug #66928 E.g. some file went from 21s to 2s in my computer poppler/SplashOutputDev.cc | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) commit 71c1d162477a243db07b62ef3c056a2946f8986e Merge: 7d1de78 678c767 Author: Albert Astals Cid Date: Sun Aug 18 16:41:20 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit 7d1de78ad79162217ee0ca6c2e99ce51017a327d Merge: 7e0d969 fbea224 Author: Albert Astals Cid Date: Sun Aug 18 16:40:34 2013 +0200 Merge commit 'origin/poppler-0.24~1' This is merging the revert commits with the "ours" strategy, so it's virtually doing nothing other than making the stable branch mergeable again to master commit 678c767584fa80620cc58a1d8a913cb3473209d4 Author: Albert Astals Cid Date: Sun Aug 18 16:19:27 2013 +0200 Fix crash in 1026.asan.0.42.pdf We were not checking that bitmapOff was in bounds splash/Splash.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fbea2241cccdde0106d2c34592b6ddda28a8d848 Author: Albert Astals Cid Date: Sat Aug 17 01:32:51 2013 +0200 Revert "Tagged-PDF: Accessors in Catalog for the MarkInfo dictionary" This reverts commit 402ee8b4e31630a42a0a38db1d39164cc5789f3c. No clue how this ended up in the stable branch poppler/Catalog.cc | 45 --------------------------------------------- poppler/Catalog.h | 10 ---------- 2 files changed, 55 deletions(-) commit 6d2771b8a8c0cb0f2288d0900fea3c9edc3dd172 Author: Albert Astals Cid Date: Sat Aug 17 01:32:38 2013 +0200 Revert "pdfinfo: Use Catalog::getMarkInfo() to show mark info properties" This reverts commit 73cca518c479594e26605196d54b429fbf42dcdc. No clue how this ended up in the stable branch utils/pdfinfo.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 7e0d969dc2439637ab16e609df8223504316f87d Merge: 6efc0c7 ef64206 Author: Albert Astals Cid Date: Sat Aug 17 01:13:30 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit ef6420656c7b88eb22a63ec2cb3e504e0bda0384 Author: Albert Astals Cid Date: Sat Aug 17 01:11:37 2013 +0200 Fix jpeg image export Use same logic than the one used in ImageOutputDev Bug #48270 utils/HtmlOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 681f52a572b08c068cb376e5b2dc8a31676aad07 Author: Albert Astals Cid Date: Fri Aug 16 23:58:44 2013 +0200 Fix exit(1) in 1026.asan.0.42.pdf The main crash in discussion with Thomas splash/Splash.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9f4d7796589e4c9c1645fbbcf0cfabd79a71bde9 Author: Thomas Freitag Date: Thu Aug 8 20:33:54 2013 +0200 use copyString where memory is freed with gfree Bug #67666 poppler/Annot.cc | 2 +- poppler/Dict.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 73cca518c479594e26605196d54b429fbf42dcdc Author: Adrian Perez de Castro Date: Thu Apr 25 09:52:56 2013 +0300 pdfinfo: Use Catalog::getMarkInfo() to show mark info properties utils/pdfinfo.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 402ee8b4e31630a42a0a38db1d39164cc5789f3c Author: Adrian Perez de Castro Date: Thu Apr 25 09:52:56 2013 +0300 Tagged-PDF: Accessors in Catalog for the MarkInfo dictionary poppler/Catalog.cc | 45 +++++++++++++++++++++++++++++++++++++++++++++ poppler/Catalog.h | 10 ++++++++++ 2 files changed, 55 insertions(+) commit 6efc0c7ad97a82064a1e2c47e0b063b606e56bb7 Author: Albert Astals Cid Date: Fri Aug 16 23:31:54 2013 +0200 Remove unused xref member poppler/OptionalContent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb5160aa74f64b78a20aaed4b89fead850b42e9b Author: Albert Astals Cid Date: Fri Aug 16 23:31:17 2013 +0200 Remove usnused objectNumberFirst member poppler/Hints.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a642aad68733c25f4055c268d691eedcf4e14a22 Author: Albert Astals Cid Date: Fri Aug 16 23:30:50 2013 +0200 PNGWriterPrivate is actually a struct not a class goo/PNGWriter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 31947d413eae115acc147c33fc55b8ab4adccd91 Author: Thomas Freitag Date: Tue Aug 13 19:39:30 2013 +0200 pdftoppm: Add thinlinemode option setting utils/pdftoppm.1 | 12 ++++++++++++ utils/pdftoppm.cc | 17 +++++++++++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) commit 8a1740b0b6ee4b217ecbe9d0046e4afa491e9f17 Merge: b27588c c3f953d Author: Albert Astals Cid Date: Mon Aug 12 22:47:44 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit c3f953dc87f83ac726f99cb8f1f959c486098391 Author: Yury G. Kudryashov Date: Sat Aug 10 21:43:57 2013 +0300 Fix a typo qt4/src/poppler-qt4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b27588c4c946ef4f9a62248fbead4dffcb60b4d1 Author: Yury G. Kudryashov Date: Mon Aug 12 22:42:13 2013 +0200 Fix indentation utils/pdftotext.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b8b5773386ee4f57e72c2b867421cdff8a2eab5a Merge: 5f9d385 62d079b Author: Albert Astals Cid Date: Thu Aug 8 20:47:05 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit 62d079b40a2f816f59cc533b1624ea57458331f3 Author: Yury G. Kudryashov Date: Thu Aug 8 20:45:08 2013 +0200 Fix `pdftotext -bbox in.pdf -` Print body text to stdout if invoked as above. Bug #45163 utils/pdftotext.cc | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit 5f9d385dbec3148614b84ae24cae47177e18dbfc Merge: af450a8 86dbc5f Author: Albert Astals Cid Date: Thu Aug 8 20:41:25 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit 86dbc5f6f850ba3919bed9979386e5a4d0e7dba3 Author: Yury G. Kudryashov Date: Thu Aug 8 20:39:30 2013 +0200 pdfdetach: don't mention xpdfrc - drop -cfg command line argument; the old code passed its value to GlobalParams constructor which is the data dir, not a cfg file - remove corresponding lines from pdfdetach.1 - fix '-enc' documentation in pdfdetach.1 utils/pdfdetach.1 | 23 +++-------------------- utils/pdfdetach.cc | 6 ++---- 2 files changed, 5 insertions(+), 24 deletions(-) commit af450a885ede5a3eac1a12734310722963764d83 Author: Thomas Freitag Date: Thu Aug 8 20:33:54 2013 +0200 use copyString where memory is freed with gfree Bug #67666 poppler/Annot.cc | 2 +- poppler/Dict.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 030ee12875a562f5976c5569d5c76783aadf89bd Author: Adrian Perez de Castro Date: Thu Apr 25 09:52:56 2013 +0300 pdfinfo: Use Catalog::getMarkInfo() to show mark info properties utils/pdfinfo.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 9a232273988c0d2fd752dc2016e5111227ae6646 Author: Adrian Perez de Castro Date: Thu Apr 25 09:52:56 2013 +0300 Tagged-PDF: Accessors in Catalog for the MarkInfo dictionary poppler/Catalog.cc | 45 +++++++++++++++++++++++++++++++++++++++++++++ poppler/Catalog.h | 10 ++++++++++ 2 files changed, 55 insertions(+) commit 2724a7b9f723789491b4991ce7fe0cfa3e5488c3 Author: Carlos Garcia Campos Date: Tue Jul 30 09:36:44 2013 +0200 glib-demo: Remove GTK_DISABLE_DEPRECATED compilation flag Deprecations are now compile warnings, there's no reason to make them fatal. glib/demo/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit ef9d861486d54fb3dcf7b8bca01bd44c3b3361a9 Author: Carlos Garcia Campos Date: Tue Jul 30 09:36:44 2013 +0200 glib-demo: Remove GTK_DISABLE_DEPRECATED compilation flag Deprecations are now compile warnings, there's no reason to make them fatal. glib/demo/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit eac752dc25942439de3e1c7a4ff815500a41dd2a Author: Albert Astals Cid Date: Mon Jul 29 19:11:55 2013 +0200 0.24.0 CMakeLists.txt | 6 +++--- NEWS | 7 +++++++ configure.ac | 4 ++-- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 16 insertions(+), 9 deletions(-) commit 892433a068a8a11c09a7c4f57c5fc941747c4453 Author: Albert Astals Cid Date: Mon Jul 29 19:08:10 2013 +0200 Update Ed's copyright poppler/TextOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit 4637b1581286381c3d1c6963828d9cd8afc5b9e0 Author: Albert Astals Cid Date: Mon Jul 29 01:08:06 2013 +0200 Make some pdftops conversions *much* faster For example: http://ev.kde.org/resources/expense_report.pdf Without this patch it seems "infinite", which this patch it's a few seconds The change: Instead of just remembering in xobjStack the set of XObjects (and Patterns, the variable name was 'wrong') we are currently setting up (i.e. the current chain), we remember all of them. This has passed the pdf->ps regression test without a single issue poppler/PSOutputDev.cc | 42 ++++++++++-------------------------------- poppler/PSOutputDev.h | 6 +++--- 2 files changed, 13 insertions(+), 35 deletions(-) commit e04287f2682e46831c04e0ef8d60411f521a2572 Author: Albert Astals Cid Date: Mon Jul 29 00:55:43 2013 +0200 Fallback to 1x1 bitmap If we fail to create the corrent one poppler/SplashOutputDev.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit fe5ff20cb93a70fa1650ef5e00b67e35de20f0ca Author: Albert Astals Cid Date: Mon Jul 29 00:54:07 2013 +0200 Initialize t3FillColorOnly poppler/PSOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit 19930d9f104b63070dcd7636758eb8b90a86fc0d Author: Ed Catmur Date: Sun Jul 21 11:07:00 2013 +0200 TextOutputDev: Do not draw ligatures more than once when selected When the selection covers a ligature presentation form where a single character code corresponds to multiple Unicode codepoints, the glyph for the ligature is drawn multiple times, once for each Unicode character. https://bugs.freedesktop.org/show_bug.cgi?id=9001 poppler/TextOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit 6b451b2d3f785c28d98907ae338d58380db518d2 Author: Albert Astals Cid Date: Fri Jul 19 02:55:29 2013 +0200 0.23.4 CMakeLists.txt | 4 +-- NEWS | 8 ++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- gtk-doc.make | 70 +++++++++++++++++++++++++++++++----------------- m4/gtk-doc.m4 | 6 ++++- poppler/CairoOutputDev.h | 2 +- poppler/Makefile.am | 2 +- poppler/TextOutputDev.cc | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 11 files changed, 67 insertions(+), 35 deletions(-) commit 6cf43442e38c501b49293a28f38e06ab143852c6 Author: Ed Catmur Date: Thu Jul 18 10:34:29 2013 +0200 TextOutputDev: clip the selected text rendering to the selection box Sometimes with italic text or text containing ligatures, part of the glyph falls outside the selection box. By clipping to the selection box we avoid drawing the whole glyph with the selection color. https://bugs.freedesktop.org/show_bug.cgi?id=66983 poppler/TextOutputDev.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 269b3f3d572a15f1007f8cc84f758b1a293ef8af Author: Carlos Garcia Campos Date: Mon Jul 8 20:19:30 2013 +0200 build: Make -lpthread take preference over -pthread This makes libpoppler link to pthreads and fixes runtime error due to unresolved pthread symbols when running some of the utils and tests. m4/ax_pthread.m4 | 2 +- test/Makefile.am | 6 ++++-- utils/Makefile.am | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) commit 40f857d27930aa002a99c96f3892c5e240e7ecb5 Author: Carlos Garcia Campos Date: Mon Jul 8 19:55:10 2013 +0200 m4: Replace old acx_pthread.m4 with new one ax_pthread.m4 configure.ac | 2 +- m4/acx_pthread.m4 | 280 ----------------------------------------------- m4/ax_pthread.m4 | 317 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 318 insertions(+), 281 deletions(-) commit 44b7070aa713b2e20eb97b868000d432e2f8504e Author: Pino Toscano Date: Mon Jul 8 19:42:15 2013 +0200 cmake: improve linking with pthreads Use the CMake-provided variable instead of hardcoding -lpthread. CMakeLists.txt | 6 +++--- utils/CMakeLists.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) commit 69c281fdcf23520151c0eb5471a4259c73fa1273 Author: Carlos Garcia Campos Date: Sun Jul 7 11:51:27 2013 +0200 cairo: Fix the bounding box of images saved in CairoImageOutputDev We were using the size of the original image instead of the rendered size and asuming the scales were always positive. poppler/CairoOutputDev.cc | 145 ++++++++++++++++++---------------------------- poppler/CairoOutputDev.h | 5 +- 2 files changed, 59 insertions(+), 91 deletions(-) commit 759e0266b36c4ea9f66912f1e53ed6392dbfd6da Author: Albert Astals Cid Date: Tue Jul 2 00:47:13 2013 +0200 News for 0.23.3 forgot to add them to the tarball, oh well NEWS | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit df1fe9dc7ade5228e37c16c6f0c9a2d4890fdc90 Author: Albert Astals Cid Date: Tue Jul 2 00:33:04 2013 +0200 0.23.3 CMakeLists.txt | 4 ++-- Makefile.am | 2 +- configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) commit df9d4fee17adfe003c822175b6921a3cd93675f6 Author: Albert Astals Cid Date: Mon Jul 1 21:04:10 2013 +0200 Update copyrights poppler/Annot.cc | 2 +- poppler/Annot.h | 2 +- poppler/Page.cc | 2 +- poppler/TextOutputDev.cc | 2 +- poppler/TextOutputDev.h | 2 +- qt5/src/poppler-annotation.cc | 2 +- qt5/src/poppler-annotation.h | 2 +- qt5/src/poppler-document.cc | 2 +- qt5/src/poppler-link.cc | 2 +- qt5/src/poppler-qt5.h | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) commit 67129e9db88e8332907407f14d3e09ee5c49e274 Author: Jason Crain Date: Mon Jul 1 02:24:47 2013 -0500 Check for NULL in Page::getResourceDictCopy poppler/Page.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c376559bc412e90204162bb4b2d20cd586db70c1 Author: Carlos Garcia Campos Date: Sun Jun 30 13:14:07 2013 +0200 annots: Invalidate the appearance stream when annot properties change Make invalidateAppearance() protected and only call it when properties that affect the appearance stream are updated. Remove all calls to invalidateAppearance() from qt frontend, this is now handled by the core and fixes the appearance stream regeneration in the glib frontend too. poppler/Annot.cc | 36 ++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 10 ++++++---- qt4/src/poppler-annotation.cc | 34 ---------------------------------- qt5/src/poppler-annotation.cc | 34 ---------------------------------- 4 files changed, 42 insertions(+), 72 deletions(-) commit c746e8b38e821d1ebeaf52c4c816515bc3ddaaf6 Author: Carlos Garcia Campos Date: Sun Jun 30 11:44:59 2013 +0200 annots: Remove unused variable poppler/Annot.cc | 1 - 1 file changed, 1 deletion(-) commit 7d9d5d2518f7760e6a4317a358040ddd9164fdef Author: Carlos Garcia Campos Date: Sun Jun 30 11:40:15 2013 +0200 annots: Do not update AP and AS entries if they are not present when invaliding the appaearance stream poppler/Annot.cc | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 347b53f7fca644564724c230fe6c0dcbffa0d6f9 Author: Carlos Garcia Campos Date: Sun Jun 30 11:23:54 2013 +0200 annots: do not set the default appearance state when invalidating appearances We are setting the default appareance state to Off and then we are updating AS dictionary to NULL in the XRef. The appearance state is only required when there's more than once appearance stream, but when invalidating the apperance we remove all streams. poppler/Annot.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b5e9941c145fc99e03a28d92a50840638895908d Author: Albert Astals Cid Date: Mon Jul 1 00:32:51 2013 +0200 Fix crash on malformed doc Where the Colorants dictionary values are not arrays Document can be found on KDE bug #319925 poppler/GfxState.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 19f8a88bba6022b8172477e6f52dfd36b2fc5e92 Author: Fabio D'Urso Date: Thu Mar 7 00:20:15 2013 +0100 qt5: Free some temporary memory in TextAnnotationPrivate::createNativeAnnot There's no need to keep this buffer around after it has been flushed qt5/src/poppler-annotation.cc | 2 ++ 1 file changed, 2 insertions(+) commit 8bac4d1e43ce9a4c66fddc8430d7bed2d9aabba1 Author: Fabio D'Urso Date: Tue Jun 25 20:09:00 2013 +0200 qt5: Some documentation about annotations * Removed incorrect hint "Use uniqueName to test for Annotation equality": uniqueNames are optional and we don't actually guarantee uniqueness * Added "How to add annotations" and "FixedRotation flag specifics" sections in the Annotation class page * Added links from enum Annotation::SubType items to actual subclasses * Added documentation for annotation flags that are known to work * Added "see also" links between annotation flag and boundary setters/getters * Added warning on Annotation::setPopup to tell that it's currently not implemented qt5/src/poppler-annotation.h | 143 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 135 insertions(+), 8 deletions(-) commit 1d5fe3f20189fd3928121e954bcc8fa7278b39fb Author: Fabio D'Urso Date: Sat Mar 2 19:06:49 2013 +0100 qt5: FixedRotation annotations' coordinate conversion FixedRotation(=flagNoRotate) annotations use a different coordinate system than regular annotations. This patch implements transparent conversion so that qt5 clients don't notice the difference. Important! When dealing with FixedRotation annotations, poppler-qt5 clients will need to set geometry-related annotation properties in the following order: 1) flags (because we need to know if this is a FixedRotation annotation or not) 2) boundary (because we need to know what the topleft corner is, so that we can construct the conversion matrix) 3) anything else This requirement will be documented in the next patch qt5/src/poppler-annotation-private.h | 7 ++- qt5/src/poppler-annotation.cc | 111 +++++++++++++++++++++++++++-------- 2 files changed, 92 insertions(+), 26 deletions(-) commit ab130c91492765f8be29ed112dd2e2e6f665641b Author: Fabio D'Urso Date: Sat Mar 2 00:55:58 2013 +0100 core: Remove geometry-related arguments from annotation constructors Removed arguments from annotation constructors related to the geometry of the annotation. This change will make it easier to support creating annotations with flag NoRotate in the next patch (because no special cases will be needed: coordinate conversion code will be able to always assume that the underlying annotation object already exists). Data that used to be taken from these arguments is now replaced by dummy values, which can be modified using appropriate setter methods after the annotation object is created. Affected annotation types: - AnnotLine - AnnotTextMarkup - AnnotPolygon - AnnotInk qt5/src/poppler-annotation.cc | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) commit 35cfb6914e1be4c5eda2f355900b1a0a1fa69d19 Author: Fabio D'Urso Date: Fri Feb 15 12:24:18 2013 +0100 poppler_qt5viewer: Add combobox to select rotation qt5/demos/navigationtoolbar.cpp | 15 +++++++++++++++ qt5/demos/navigationtoolbar.h | 4 ++++ qt5/demos/pageview.cpp | 24 +++++++++++++++++++++++- qt5/demos/pageview.h | 3 +++ qt5/demos/viewer.cpp | 2 ++ 5 files changed, 47 insertions(+), 1 deletion(-) commit de2a93c0bc6e92a95c687796f59780c998b90ca4 Author: Fabio D'Urso Date: Thu Mar 7 00:20:15 2013 +0100 qt4: Free some temporary memory in TextAnnotationPrivate::createNativeAnnot There's no need to keep this buffer around after it has been flushed qt4/src/poppler-annotation.cc | 2 ++ 1 file changed, 2 insertions(+) commit 738b0b4fedaa2b2b28ea1c11622dfd880180d1c9 Author: Fabio D'Urso Date: Thu Mar 7 20:50:52 2013 +0100 qt4: Some documentation about annotations * Removed incorrect hint "Use uniqueName to test for Annotation equality": uniqueNames are optional and we don't actually guarantee uniqueness * Added "How to add annotations" and "FixedRotation flag specifics" sections in the Annotation class page * Added links from enum Annotation::SubType items to actual subclasses * Added documentation for annotation flags that are known to work * Added "see also" links between annotation flag and boundary setters/getters * Added warning on Annotation::setPopup to tell that it's currently not implemented qt4/src/poppler-annotation.h | 143 ++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 135 insertions(+), 8 deletions(-) commit cf950a2b7e8278e70719c67b441b0d324ffd0399 Author: Fabio D'Urso Date: Sat Mar 2 19:06:49 2013 +0100 qt4: FixedRotation annotations' coordinate conversion FixedRotation(=flagNoRotate) annotations use a different coordinate system than regular annotations. This patch implements transparent conversion so that qt4 clients don't notice the difference. Important! When dealing with FixedRotation annotations, poppler-qt4 clients will need to set geometry-related annotation properties in the following order: 1) flags (because we need to know if this is a FixedRotation annotation or not) 2) boundary (because we need to know what the topleft corner is, so that we can construct the conversion matrix) 3) anything else This requirement will be documented in the next patch poppler/Annot.cc | 8 +++ poppler/Annot.h | 2 + qt4/src/poppler-annotation-private.h | 7 ++- qt4/src/poppler-annotation.cc | 111 +++++++++++++++++++++++++++-------- 4 files changed, 102 insertions(+), 26 deletions(-) commit 4b13085568df09d8b75099f6a5438f025a028fd5 Author: Fabio D'Urso Date: Sat Mar 2 00:55:58 2013 +0100 core: Remove geometry-related arguments from annotation constructors Removed arguments from annotation constructors related to the geometry of the annotation. This change will make it easier to support creating annotations with flag NoRotate in the next patch (because no special cases will be needed: coordinate conversion code will be able to always assume that the underlying annotation object already exists). Data that used to be taken from these arguments is now replaced by dummy values, which can be modified using appropriate setter methods after the annotation object is created. Affected annotation types: - AnnotLine - AnnotTextMarkup - AnnotPolygon - AnnotInk poppler/Annot.cc | 56 +++++++++++++------------------------------ poppler/Annot.h | 9 ++++--- qt4/src/poppler-annotation.cc | 34 +++++++++++++------------- 3 files changed, 39 insertions(+), 60 deletions(-) commit 5923cfb5f7e3a0703de17e21f4952f92a44f3c14 Author: Fabio D'Urso Date: Fri Feb 15 12:24:18 2013 +0100 poppler_qt4viewer: Add combobox to select rotation qt4/demos/navigationtoolbar.cpp | 15 +++++++++++++++ qt4/demos/navigationtoolbar.h | 4 ++++ qt4/demos/pageview.cpp | 24 +++++++++++++++++++++++- qt4/demos/pageview.h | 3 +++ qt4/demos/viewer.cpp | 2 ++ 5 files changed, 47 insertions(+), 1 deletion(-) commit 74ea15cc454f31b772e71b3525b71045dbfa5527 Author: Fabio D'Urso Date: Tue Jun 25 19:56:20 2013 +0200 core: Support for rendering annotations with flagNoRotate Gfx::drawAnnot now makes a counter-rotation if flagNoRotate is set poppler/Annot.cc | 55 ++++++++++++++++++++++++++++++++++++------------------- poppler/Annot.h | 3 ++- poppler/Gfx.cc | 41 +++++++++++++++++++++++++++++++++++++---- poppler/Gfx.h | 3 ++- 4 files changed, 77 insertions(+), 25 deletions(-) commit 2639957ba78defd2ab6282679375fb7969bad21f Author: Fabio D'Urso Date: Wed Jun 26 23:12:40 2013 +0200 Do not crash in page::removeAnnot if there are non-Ref entries in /Annots poppler/Page.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit ae016aa263c218fbfbd607cc92feac1013348c7e Author: Albert Astals Cid Date: Wed Jun 26 11:33:55 2013 +0200 Fix qt5 found/not found logic CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e27c1057caf4d878a0dc43c92c9e0b565db8fe40 Merge: c55b577 ee8cfbc Author: Albert Astals Cid Date: Tue Jun 25 19:17:13 2013 +0200 Merge remote-tracking branch 'origin/qt5' commit c55b577ce69ad4bb69f5261b3e120e92c9fdb3d0 Author: Carlos Garcia Campos Date: Tue Jun 25 10:01:38 2013 +0200 glib: Use TextPage::getSelectionWords to build text layout and attributes This way we can make sure that the list of words used in poppler_page_get_text_layout and poppler_page_get_text_attributes is the same that the one used in poppler_page_get_text. This fixes the mismatch between the number of characters in the text returned by poppler_page_get_text and the number of characters returned by poppler_page_get_text_layout in some documents. glib/poppler-page.cc | 168 +++++++++++++++++++++++++++------------------------ 1 file changed, 90 insertions(+), 78 deletions(-) commit fc534f571315c064005515c19d7d70ad3af1563e Author: Carlos Garcia Campos Date: Tue Jun 25 10:05:01 2013 +0200 TextOutputDev: add a method to TextPage to get the selection as a list of words Returns a list of lines of words. poppler/TextOutputDev.cc | 36 ++++++++++++++++++++++++++++++++++++ poppler/TextOutputDev.h | 4 ++++ 2 files changed, 40 insertions(+) commit a924246b7534e86165f8e9ab6c60d56b73a17b94 Author: Carlos Garcia Campos Date: Tue Jun 25 09:57:48 2013 +0200 TextOutputDev: simplify the text selection dumper Build a list of lines of words and don't try to format the text when detecting tables, simply add the words and lines in the right order. poppler/TextOutputDev.cc | 200 ++++++++++++++++++++++------------------------- 1 file changed, 92 insertions(+), 108 deletions(-) commit c849094a2daf896d085937adff1f7659a09da062 Author: Carlos Garcia Campos Date: Mon Jun 24 18:29:11 2013 +0200 TextOutputDev: Move TextSelection class from TextSelectionPainter to TextSelectionVisitor So that it can be used by other TextSelectionVisitor implementations. Also renamed it as TextWordSelection since it contains a word selection. poppler/TextOutputDev.cc | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) commit b3ff3f2c3e131556d2b27cbe52f0ddbbb4820c19 Author: Jason Crain Date: Thu Jun 20 21:47:13 2013 -0500 Draw glyphs after selection background When multiple lines of text are selected, TextSelectionPainter will draw selections over each other, hiding the previous line with the selection background of the current line. This patch changes TextSelectionPainter so that glyphs are drawn only after the entire background is drawn. https://bugs.freedesktop.org/show_bug.cgi?id=65989 poppler/TextOutputDev.cc | 109 ++++++++++++++++++++++++++++++----------------- 1 file changed, 69 insertions(+), 40 deletions(-) commit ee8cfbc78fe9de109abbe0727a738870f6027a73 Author: Albert Astals Cid Date: Tue Jun 18 23:20:01 2013 +0200 Fix indent qt5/src/poppler-optcontent.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9d0a5b6afb25a1273504383e108bdb95ca82f099 Author: Albert Astals Cid Date: Tue Jun 18 23:19:30 2013 +0200 Bring changes from the qt4 dir qt5/src/Doxyfile | 2 +- qt5/src/poppler-private.h | 2 +- qt5/tests/CMakeLists.txt | 1 + qt5/tests/Makefile.am | 13 +- qt5/tests/stress-threads-qt5.cpp | 304 +++++++++++++++++++++++++++++++++++++++ qt5/tests/test-poppler-qt5.cpp | 2 +- 6 files changed, 320 insertions(+), 4 deletions(-) commit 1adb1ab7aee026e227d25716a4b7be22b19b5b84 Author: Albert Astals Cid Date: Tue Jun 18 20:50:49 2013 +0200 Make it build with autotools poppler/ArthurOutputDev.cc | 816 ------------------------------------------ poppler/ArthurOutputDev.h | 170 --------- poppler/Makefile.am | 23 +- qt4/src/ArthurOutputDev.cc | 816 ++++++++++++++++++++++++++++++++++++++++++ qt4/src/ArthurOutputDev.h | 170 +++++++++ qt4/src/CMakeLists.txt | 2 +- qt4/src/Makefile.am | 5 +- qt5/src/ArthurOutputDev.cc | 816 ++++++++++++++++++++++++++++++++++++++++++ qt5/src/ArthurOutputDev.h | 170 +++++++++ qt5/src/CMakeLists.txt | 2 +- qt5/src/Makefile.am | 5 +- qt5/src/poppler-optcontent.cc | 2 + 12 files changed, 1983 insertions(+), 1014 deletions(-) commit 93a1c2b768cc419c5bf9b3033bf85fb21326a65a Author: Albert Astals Cid Date: Tue Jun 18 00:33:38 2013 +0200 If qmake gives us a Qt5 qmake try with qmake4 and qmake-qt4 cmake/modules/FindQt4.cmake | 62 ++++++++++++++++++++++++++++----------------- 1 file changed, 39 insertions(+), 23 deletions(-) commit 7cc33a752ef864b595748ce7724ba553a8e3ba8e Author: Albert Astals Cid Date: Mon Jun 17 22:57:56 2013 +0200 We are not compiling an executable qt5/src/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) commit 87cfcd41e8e970186c6ce753aa660ef86aca8878 Author: Granger Anthony Date: Mon Jun 17 09:17:51 2013 +0200 Allow to enable Qt5 support only with CMake >= 2.8.8 CMakeLists.txt | 26 ++++++++++++++++---------- qt5/tests/CMakeLists.txt | 1 - 2 files changed, 16 insertions(+), 11 deletions(-) commit b44c70f04758000cf0e049b06cc7864287570f7b Author: Albert Astals Cid Date: Mon Jun 17 22:10:05 2013 +0200 Bring PIC back to the toplevel, still have linking errors tohugh :-/ configure.ac | 1 + 1 file changed, 1 insertion(+) commit be49073f5ce79f56b38197758a5cf1253b972306 Author: Albert Astals Cid Date: Mon Jun 17 21:50:31 2013 +0200 Use qtchooser if available configure.ac | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit b1958228d4bc6793a3606b5e31c61a57b9fac9f5 Author: Albert Astals Cid Date: Mon Jun 17 20:21:08 2013 +0200 No distro ships moc-qt5 but make it work in case someone would configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 06f45c7177afc67e02985be1a97cd976c530c4ae Author: Albert Astals Cid Date: Mon Jun 17 20:04:49 2013 +0200 Build fixes Fix moc when moc-qt4 is qt4 moc but moc is qt5 one Do not add -fPIE everywhere, just -fPIC to qt5 configure.ac | 10 ++++++---- qt5/src/Makefile.am | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) commit cb617c21fba727781f46278f5475b91d528a488b Author: Albert Astals Cid Date: Mon Jun 17 18:12:18 2013 +0200 Files i forgot poppler-qt5-uninstalled.pc.in | 7 +++++++ poppler-qt5.pc.cmake | 13 +++++++++++++ poppler-qt5.pc.in | 13 +++++++++++++ 3 files changed, 33 insertions(+) commit 5c521bba427eb163e4b77d936865fbdd0e07faf3 Author: Albert Astals Cid Date: Mon Jun 17 18:12:07 2013 +0200 soversion 1 qt5/src/CMakeLists.txt | 2 +- qt5/src/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 43786964946b4f4c005a0526e16fead3ffa6ba4a Author: Albert Astals Cid Date: Mon Jun 17 00:23:31 2013 +0200 harmonize spaces CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 2e2ea27fe3dc688c87003d170b82451a6a872b0d Author: Albert Astals Cid Date: Mon Jun 17 00:22:18 2013 +0200 Remove qt4 mentions qt5/src/poppler-converter-private.h | 6 +++--- qt5/src/poppler-embeddedfile-private.h | 2 +- qt5/src/poppler-form.cc | 2 +- qt5/src/poppler-form.h | 6 +++--- qt5/src/poppler-pdf-converter.cc | 2 +- qt5/src/poppler-private.cc | 4 ++-- qt5/src/poppler-private.h | 2 +- qt5/src/poppler-qt5.h | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) commit e2264ce82af3e971e34930f5307b7c9b43a1e346 Author: Albert Astals Cid Date: Mon Jun 17 00:19:27 2013 +0200 remove deprecated stuff qt5/src/poppler-annotation.cc | 19 ++------ qt5/src/poppler-annotation.h | 18 ------- qt5/src/poppler-document.cc | 19 -------- qt5/src/poppler-link.cc | 5 -- qt5/src/poppler-link.h | 10 ---- qt5/src/poppler-page.cc | 18 ------- qt5/src/poppler-qt5.h | 41 ---------------- qt5/tests/check_fonts.cpp | 21 ++------- qt5/tests/check_metadata.cpp | 1 - qt5/tests/check_search.cpp | 107 ++++++++++++++++++++++-------------------- 10 files changed, 65 insertions(+), 194 deletions(-) commit 21808e203eed46e379954b58b7014998b3836573 Author: Albert Astals Cid Date: Mon Jun 17 00:03:45 2013 +0200 remove commented stuff qt5/src/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) commit 16e7033f18a8da8e27aaed6f63cce156abf8837a Author: Albert Astals Cid Date: Mon Jun 17 00:01:27 2013 +0200 Initial Qt5 port CMakeLists.txt | 20 + Makefile.am | 18 +- configure.ac | 66 +- qt5/.gitignore | 4 + qt5/CMakeLists.txt | 3 + qt5/Makefile.am | 1 + qt5/demos/.gitignore | 4 + qt5/demos/CMakeLists.txt | 38 + qt5/demos/Makefile.am | 67 + qt5/demos/abstractinfodock.cpp | 57 + qt5/demos/abstractinfodock.h | 48 + qt5/demos/documentobserver.cpp | 50 + qt5/demos/documentobserver.h | 50 + qt5/demos/embeddedfiles.cpp | 82 + qt5/demos/embeddedfiles.h | 44 + qt5/demos/fonts.cpp | 72 + qt5/demos/fonts.h | 43 + qt5/demos/info.cpp | 72 + qt5/demos/info.h | 43 + qt5/demos/main_viewer.cpp | 33 + qt5/demos/metadata.cpp | 50 + qt5/demos/metadata.h | 43 + qt5/demos/navigationtoolbar.cpp | 129 + qt5/demos/navigationtoolbar.h | 61 + qt5/demos/optcontent.cpp | 69 + qt5/demos/optcontent.h | 47 + qt5/demos/pageview.cpp | 79 + qt5/demos/pageview.h | 50 + qt5/demos/permissions.cpp | 66 + qt5/demos/permissions.h | 43 + qt5/demos/thumbnails.cpp | 84 + qt5/demos/thumbnails.h | 48 + qt5/demos/toc.cpp | 88 + qt5/demos/toc.h | 43 + qt5/demos/viewer.cpp | 317 ++ qt5/demos/viewer.h | 73 + qt5/src/.gitignore | 9 + qt5/src/CMakeLists.txt | 54 + qt5/src/Doxyfile | 1637 ++++++++++ qt5/src/Mainpage.dox | 85 + qt5/src/Makefile.am | 73 + qt5/src/poppler-annotation-helper.h | 198 ++ qt5/src/poppler-annotation-private.h | 111 + qt5/src/poppler-annotation.cc | 4394 ++++++++++++++++++++++++++ qt5/src/poppler-annotation.h | 921 ++++++ qt5/src/poppler-base-converter.cc | 105 + qt5/src/poppler-converter-private.h | 49 + qt5/src/poppler-document.cc | 679 ++++ qt5/src/poppler-embeddedfile-private.h | 42 + qt5/src/poppler-embeddedfile.cc | 135 + qt5/src/poppler-export.h | 17 + qt5/src/poppler-fontinfo.cc | 149 + qt5/src/poppler-form.cc | 416 +++ qt5/src/poppler-form.h | 343 ++ qt5/src/poppler-link-extractor-private.h | 57 + qt5/src/poppler-link-extractor.cc | 84 + qt5/src/poppler-link.cc | 711 +++++ qt5/src/poppler-link.h | 612 ++++ qt5/src/poppler-media.cc | 168 + qt5/src/poppler-media.h | 100 + qt5/src/poppler-movie.cc | 110 + qt5/src/poppler-optcontent-private.h | 121 + qt5/src/poppler-optcontent.cc | 427 +++ qt5/src/poppler-optcontent.h | 77 + qt5/src/poppler-page-private.h | 54 + qt5/src/poppler-page-transition-private.h | 28 + qt5/src/poppler-page-transition.cc | 95 + qt5/src/poppler-page-transition.h | 148 + qt5/src/poppler-page.cc | 744 +++++ qt5/src/poppler-pdf-converter.cc | 115 + qt5/src/poppler-private.cc | 292 ++ qt5/src/poppler-private.h | 240 ++ qt5/src/poppler-ps-converter.cc | 273 ++ qt5/src/poppler-qiodeviceoutstream-private.h | 47 + qt5/src/poppler-qiodeviceoutstream.cc | 64 + qt5/src/poppler-qt5.h | 1812 +++++++++++ qt5/src/poppler-sound.cc | 132 + qt5/src/poppler-textbox.cc | 63 + qt5/tests/.gitignore | 30 + qt5/tests/CMakeLists.txt | 75 + qt5/tests/Makefile.am | 152 + qt5/tests/README.unittest | 23 + qt5/tests/check_actualtext.cpp | 33 + qt5/tests/check_attachments.cpp | 157 + qt5/tests/check_dateConversion.cpp | 142 + qt5/tests/check_fonts.cpp | 248 ++ qt5/tests/check_goostring.cpp | 61 + qt5/tests/check_lexer.cpp | 128 + qt5/tests/check_links.cpp | 96 + qt5/tests/check_metadata.cpp | 275 ++ qt5/tests/check_optcontent.cpp | 484 +++ qt5/tests/check_pagelabelinfo.cpp | 43 + qt5/tests/check_pagelayout.cpp | 49 + qt5/tests/check_pagemode.cpp | 73 + qt5/tests/check_password.cpp | 88 + qt5/tests/check_permissions.cpp | 44 + qt5/tests/check_search.cpp | 91 + qt5/tests/check_strings.cpp | 250 ++ qt5/tests/poppler-attachments.cpp | 39 + qt5/tests/poppler-fonts.cpp | 89 + qt5/tests/poppler-forms.cpp | 166 + qt5/tests/poppler-texts.cpp | 40 + qt5/tests/stress-poppler-dir.cpp | 67 + qt5/tests/stress-poppler-qt5.cpp | 74 + qt5/tests/test-password-qt5.cpp | 136 + qt5/tests/test-poppler-qt5.cpp | 235 ++ 106 files changed, 21480 insertions(+), 4 deletions(-) commit 714ee1e61d853394818dca7155b1b882408ffc6a Author: Albert Astals Cid Date: Sun Jun 16 19:00:01 2013 +0200 Pass down the recursion param Fixes heap smashing in 168.pdf.SIGSEGV.598.462 poppler/Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f3e3828b9a57e044b86640b9bf9ad2437cc5656 Author: Albert Astals Cid Date: Sat Jun 15 17:21:36 2013 +0200 Add quotes since use_cairo can have spaces BUG #65709 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fe3ffab19d54326052fd0ff8ee3ee1feb9fa928c Author: Adam Reichold Date: Tue Jun 11 23:08:07 2013 +0200 Windows compile fixes qt4/tests/stress-threads-qt4.cpp | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 99908cb0c8a784791ffa0682c8f105acdef0d5ab Author: Peter Breitenlohner Date: Tue Jun 11 10:02:01 2013 +0200 MinGW32 may or may not define __MINGW_PRINTF_FORMAT Moreover __USE_MINGW_ANSI_STDIO might be defined as 0 poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 0673f3d8024554c414f578e0770086f475e6a605 Author: Albert Astals Cid Date: Tue Jun 11 00:19:19 2013 +0200 0.23.2 CMakeLists.txt | 4 ++-- NEWS | 12 ++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 18 insertions(+), 6 deletions(-) commit 7f1bf8d94302c15a2ff68debfb6fba49df526d16 Author: Christoph Duelli Date: Thu May 16 16:16:32 2013 +0200 Do not pollute global namespace with internal classes Bug #64680 fofi/FoFiIdentifier.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 07992075a6d1d29db57f997f67d5a4a6deacbbb4 Merge: 4a0bd6f 25f453e Author: Albert Astals Cid Date: Sun Jun 9 12:17:53 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' Conflicts: poppler/Catalog.cc qt4/src/poppler-private.h utils/HtmlOutputDev.cc commit 25f453ef49004452ac4c201d59d9ce2ef52ffeee Author: Julien Nabet Date: Sun Jun 9 12:12:06 2013 +0200 Prefer prefix ++/-- operators for non-primitive types Part of bug #80537 poppler/CachedFile.cc | 3 ++- poppler/Catalog.cc | 5 +++-- utils/HtmlFonts.cc | 3 ++- utils/HtmlLinks.cc | 3 ++- 4 files changed, 9 insertions(+), 5 deletions(-) commit ed01688a899c5e7560a93ca2424ca302ff3452f1 Author: Julien Nabet Date: Sun Jun 9 12:10:01 2013 +0200 Fix mismatched allocation and deallocation Part of bug #65551 qt4/src/poppler-private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a27890ac441fbd613ddfe6fcf404b92be371e554 Author: Julien Nabet Date: Sun Jun 9 12:08:06 2013 +0200 Fix memory leak utils/HtmlOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4a0bd6fdb2e9e3c589e1bdb282e7c2bfca8567b1 Merge: bbd27c9 17a16a2 Author: Albert Astals Cid Date: Sun Jun 9 12:06:10 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit 17a16a2731b1110a12c7163c139d85bccee04492 Author: Albert Astals Cid Date: Sun Jun 9 12:04:40 2013 +0200 Fix mismatched free/delete Bug #65553 poppler/UTF.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bbd27c92b5e5034dc2899ea26b47fcb983209f82 Author: Thomas Freitag Date: Thu Jun 6 23:52:36 2013 +0200 Speed-up some tiling on a 10x factor Bug #64892 poppler/SplashOutputDev.cc | 15 ++++++++++++++- splash/Splash.cc | 15 +++++++++++---- splash/Splash.h | 3 ++- 3 files changed, 27 insertions(+), 6 deletions(-) commit 7847769a24bd3ccf863f653bc2215e84157ccfb6 Author: Peter Breitenlohner Date: Tue Jun 4 15:31:06 2013 +0200 Use fseeko64/ftello64 for MinGW32 goo/gfile.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 0c3548087b379dd6ffa2291d03f0ea1c7e6a69d1 Author: Peter Breitenlohner Date: Tue Jun 4 15:31:05 2013 +0200 Allow to build without multithreading poppler/Annot.cc | 7 +++++++ poppler/XRef.cc | 4 ++++ 2 files changed, 11 insertions(+) commit 1e74ac4589daf80dcac54b094145d32c90069738 Author: Adam Reichold Date: Thu Jun 6 01:03:48 2013 +0200 [qt4] fix autotools qt4/tests/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 342cc0d8a101e99199d447d632a1cd5ba7beb5b2 Author: Li Junling Date: Tue Jun 4 22:39:35 2013 +0200 Fix memory leak poppler/SplashOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit 52945a072b6f864e80485cc4321a27530a76c452 Author: Albert Astals Cid Date: Tue Jun 4 22:35:32 2013 +0200 Move the iccColorSpaceCache from Gfx to OutputDev This way it's shared when doing tiling. Page 35 of bug-poppler64963.pdf goes down from 150 to 133 seconds poppler/Gfx.cc | 61 ++++++++++++++-------------------- poppler/Gfx.h | 12 ++----- poppler/GfxState.cc | 93 ++++++++++++++++++++++++++-------------------------- poppler/GfxState.h | 33 ++++++++++--------- poppler/OutputDev.cc | 8 ++++- poppler/OutputDev.h | 19 +++++++++-- 6 files changed, 114 insertions(+), 112 deletions(-) commit 7d4bda198b8ac767bdf4e0a4fdcaae5541113f92 Author: Albert Astals Cid Date: Mon Jun 3 23:34:11 2013 +0200 Compile qt4/tests/stress-threads-qt4.cpp | 1 + 1 file changed, 1 insertion(+) commit 395b3fa021850225e1fea66736f3a3f00571571f Author: Albert Astals Cid Date: Mon Jun 3 23:31:52 2013 +0200 Fix #end -> #endif poppler/poppler-config.h.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 425d1b4835389e2031631ce54cee157af39f1cb6 Author: Adam Reichold Date: Mon Jun 3 20:04:21 2013 +0200 Check for the correct number of arguments qt4/tests/stress-threads-qt4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9d3eb07a1ea01b98aabe4f32481dd4a83bc8f2a5 Author: Hib Eris Date: Mon Jun 3 08:49:37 2013 +0200 Fix cmake build to use ansi stdio extensions when using a mingw compiler https://bugs.freedesktop.org/show_bug.cgi?id=65238 poppler/poppler-config.h.cmake | 5 +++++ 1 file changed, 5 insertions(+) commit 287afe2290d64ca63cdb75fef8f3fbdc20997970 Author: Adam Reichold Date: Sun Jun 2 23:29:00 2013 +0200 Add a thread stresser in qt4 qt4/tests/CMakeLists.txt | 1 + qt4/tests/Makefile.am | 9 +- qt4/tests/stress-threads-qt4.cpp | 298 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 307 insertions(+), 1 deletion(-) commit 77ecb3823c2db4a6cca5af5889c07c73f90de7f0 Author: Adam Reichold Date: Sat Jun 1 19:04:10 2013 +0200 Add a pthread option to pdftoppm It's mostly a developer tool only to test thread support Not end user oriented (hence no buildsystem) Parts also by Thomas utils/pdftoppm.cc | 130 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 126 insertions(+), 4 deletions(-) commit caa19f4961146915f51be6c72f60c3aa43037235 Author: Albert Astals Cid Date: Sat Jun 1 17:22:54 2013 +0200 qt4: Fix test binary name in help qt4/tests/test-poppler-qt4.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0b48b1d05f08605bca5e1a2e2518e16578f6055 Author: Hib Eris Date: Sat Jun 1 14:42:42 2013 +0200 Fix printf format warning for size_t Fixes: CXX pdfunite.o pdfunite.cc: In function ‘int main(int, char**)’: pdfunite.cc:142:59: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘std::vector::size_type {aka long unsigned int}’ [-Wformat] https://bugs.freedesktop.org/show_bug.cgi?id=65242 utils/pdfunite.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 860737c2a19c734a0c5b65ad506ba229ba439985 Author: Hib Eris Date: Sat Jun 1 12:05:17 2013 +0200 Use ansi stdio extensions when using a mingw compiler In the C runtime used by mingw compilers (msvcrt.dll) the printf function does not support the C99 format-width specifier "%ll". Defining __USE_MINGW_ANSI_STDIO enables mingw's ansi stdio extensions that implement a C99 compliant printf function. https://bugs.freedesktop.org/show_bug.cgi?id=65238 CMakeLists.txt | 4 ++++ configure.ac | 3 +++ poppler/poppler-config.h.in | 5 +++++ 3 files changed, 12 insertions(+) commit dd30ce39252a3820254b43f90699849ab5a1ca58 Author: Hib Eris Date: Fri May 31 12:24:55 2013 +0200 Fix warning on narrowing conversion from int to DWORD Fixes warning when compiling for Windows: gfile.cc: In member function 'Goffset GooFile::size() const': gfile.cc:609:30: warning: narrowing conversion of '-1' from 'int' to 'DWORD {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing] LARGE_INTEGER size = {-1,-1}; https://bugs.freedesktop.org/show_bug.cgi?id=65239 goo/gfile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 01a825f3f9f5dcf686fc123d2cf80b9c525d0d89 Merge: a57f937 b4b1310 Author: Albert Astals Cid Date: Sat Jun 1 13:47:29 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit b4b13102716cd33636a94fd99c49487924761670 Author: Albert Astals Cid Date: Sat Jun 1 13:45:53 2013 +0200 Fix crash on malformed file Also remove outdated comment Bug #65221 poppler/Stream.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a57f93780de12732875e0195127a92bff835ff61 Author: Albert Astals Cid Date: Tue May 28 00:11:10 2013 +0200 0.23.1 CMakeLists.txt | 4 ++-- NEWS | 11 +++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 17 insertions(+), 6 deletions(-) commit 299a1447e3d9a845b5e964f29e698046abdb63f2 Author: Albert Astals Cid Date: Tue May 28 00:10:43 2013 +0200 Build poppler-forms in the autotools buildsystem qt4/tests/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit dcfaf20503868d0956ee81208265a975b480fb52 Author: Albert Astals Cid Date: Mon May 27 23:40:49 2013 +0200 Dist these two files too Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit de7a3fb715811be6be9ed51b1c5ab1a63c523403 Author: Albert Astals Cid Date: Mon May 27 23:40:07 2013 +0200 Add missing copyright poppler/Hints.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 30282d3fdbbb3029d9a0f838b2cd979bb962235c Merge: 61f6658 56044ef Author: Albert Astals Cid Date: Mon May 27 00:20:12 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit 56044ef482c26f10a8a1371dace049c144659dc7 Author: Albert Astals Cid Date: Mon May 27 00:18:22 2013 +0200 Fix infinite loop while feeding wrong data in stdin Take into account that CachedFile::read might not always return the number of elems we asked it to read Bug #64967 poppler/Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 61f665885daeb0009ecac2cc85188f23d6addb60 Author: Albert Astals Cid Date: Mon May 27 00:01:24 2013 +0200 Fix big file support in cmake Tested by Fabio CMakeLists.txt | 2 ++ cmake/modules/CheckFileOffsetBits.c | 14 +++++++++++ cmake/modules/CheckFileOffsetBits.cmake | 44 +++++++++++++++++++++++++++++++++ config.h.cmake | 6 ++--- 4 files changed, 63 insertions(+), 3 deletions(-) commit f536a4ec37246e10f03fe4de309bd31deb6a4727 Author: Hib Eris Date: Thu May 16 21:06:56 2013 +0200 Do not use deprecated gtk_scrolled_window_add_with_viewport() https://bugs.freedesktop.org/show_bug.cgi?id=64683 glib/demo/find.c | 4 ++++ glib/demo/images.c | 4 ++++ glib/demo/layers.c | 4 ++++ glib/demo/render.c | 4 ++++ glib/demo/selections.c | 4 ++++ test/gtk-test.cc | 4 ++++ 6 files changed, 24 insertions(+) commit c10f2f8777927d8cfe547941ea2f70fcce14da7a Author: Pino Toscano Date: Mon May 20 00:09:45 2013 +0200 fix typo in error message poppler/Hints.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 71d327194293cb3d1a0e274eaf4451c7afe81e8a Merge: 7b2df1f 6a98b56 Author: Albert Astals Cid Date: Fri May 17 23:04:12 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit 6a98b56f6ded957477ddcccd4ff849a870020395 Author: Albert Astals Cid Date: Fri May 17 23:01:20 2013 +0200 Make an invalid nSharedGroupsFirst a real error Instead trying to recover Fixes bug #46703 poppler/Hints.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 7b2df1f935192c89eacddd98c4bf92f38013c8e0 Author: Albert Astals Cid Date: Fri May 17 20:56:51 2013 +0200 A simple form dumper qt4/tests/CMakeLists.txt | 1 + qt4/tests/poppler-forms.cpp | 166 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 167 insertions(+) commit 54f539b4436a1a3e0eab2ef0904c302865082982 Merge: b3d8f51 3a6e2de Author: Albert Astals Cid Date: Thu May 16 21:27:47 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit 3a6e2de1d35e3ee4fd86f71713c49bec8e09e41d Author: Albert Astals Cid Date: Thu May 16 21:27:02 2013 +0200 Make sure that Title: doesn't contain \n or \n Bug #63862 poppler/PSOutputDev.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit b3d8f510e30fb4d8da9069390d5e9bd8a283fbd6 Author: Thomas Freitag Date: Thu May 16 20:52:09 2013 +0200 Fix splashModeBGR8 rendering Also make SplashBitmap able to write splashModeBGR8 images Bug #64381 splash/Splash.cc | 4 ++-- splash/SplashBitmap.cc | 24 ++++++++++++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) commit 8640933a3aa7dbafa21765d029e97b4bba76716c Author: Fabio D'Urso Date: Thu Apr 25 19:18:30 2013 +0200 Fix printf format specifiers (Goffset is a long long, not a int) poppler/PDFDoc.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f8e8805bbce3e94b16b77fece0072645c66f6a31 Author: Fabio D'Urso Date: Thu Apr 25 19:06:09 2013 +0200 Re-enable commented-out printf-format attribute on OutStream::printf The answer to the question "2,3 because the first arg is class instance ?" is yes. It's documented behavior: Since non-static C++ methods have an implicit this argument, the arguments of such methods should be counted from two, not one. from http://gcc.gnu.org/onlinedocs/gcc-4.3.2/gcc/Function-Attributes.html poppler/Stream.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 013b2b247268f9b8dcd8e0461580e0bbcf7554c1 Author: Fabio D'Urso Date: Thu Apr 25 17:58:25 2013 +0200 XRef stream writing: Write 32-bit offsets when possible For compatibility reasons: some pdf readers don't support 64-bit offsets yet (for example, poppler 0.22 doesn't) poppler/XRef.cc | 38 ++++++++++++++++++++++++++++---------- poppler/XRef.h | 17 +++++++++++++++-- 2 files changed, 43 insertions(+), 12 deletions(-) commit ea61a9dc012fbffd9bc9fe8a09264ba8744635fc Author: Albert Astals Cid Date: Mon May 13 23:15:55 2013 +0200 0.23.0 Includes news, soversions, updated copyrights, etc CMakeLists.txt | 6 +++--- NEWS | 12 ++++++++++++ configure.ac | 4 ++-- cpp/Doxyfile | 2 +- goo/gfile.cc | 1 + goo/gfile.h | 1 + poppler/CairoOutputDev.h | 2 +- poppler/Makefile.am | 2 +- poppler/Stream.cc | 1 + poppler/Stream.h | 1 + poppler/XRef.cc | 1 + qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- 14 files changed, 28 insertions(+), 11 deletions(-) commit 7a5eee1cbebe241b8bd44027fc07682944686910 Author: Albert Astals Cid Date: Mon May 13 23:00:40 2013 +0200 Add check_pagelabelinfo test qt4/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 30a519f21dd5df8d41a43a58b2cbd95fe657df73 Merge: 998a9e7 0c0aef2 Author: Albert Astals Cid Date: Mon May 13 20:40:04 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit 0c0aef20d9cecaee1de0badc6cd56dd6e5b5bf12 Author: Albert Astals Cid Date: Mon May 13 19:57:02 2013 +0200 0.22.4 version Also increase soversion since Gfx.h got a new member CMakeLists.txt | 4 ++-- configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) commit 4d6662d05f6b652af97ac6e0eb1f1c1dca8e9550 Author: Albert Astals Cid Date: Mon May 13 19:55:21 2013 +0200 0.22.4 NEWS NEWS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 93e08d96867d636a70ab04ee4ad22c2214ae4b6a Author: Albert Astals Cid Date: Mon May 13 19:51:52 2013 +0200 Update copyright years poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 998a9e7c982a72b0e931304b719de40f30094d12 Merge: 5e73cb0 73d09cd Author: Albert Astals Cid Date: Mon May 13 19:30:26 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' Conflicts: splash/Splash.cc commit 73d09cd55f3bd307450c2dd095e039ea39c69cea Author: Albert Astals Cid Date: Mon May 13 19:28:40 2013 +0200 Fix compilation with fixed point mode enabled Thanks to Andreas Müller for the tip splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e73cb059e27f68b329513de609d52e84d73f8af Merge: 5e9654a b3e44fc Author: Albert Astals Cid Date: Tue May 7 22:00:02 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit b3e44fc59a9258ad701bc67132dea0646fd8b61a Author: Albert Astals Cid Date: Tue May 7 21:53:31 2013 +0200 We need UnicodeParsedString here too Fixes KDE bug #307786 qt4/src/poppler-embeddedfile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5e9654a3eb28b2c8b0985545778dd0e45829f8e1 Merge: eeecd97 a107428 Author: Albert Astals Cid Date: Thu Apr 25 20:45:34 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' Conflicts: poppler/Gfx.h commit a107428e7db0c420b60418a33b9f815909ac9a33 Author: Albert Astals Cid Date: Thu Apr 25 20:44:36 2013 +0200 Update my C of the last two previous commits poppler/Gfx.cc | 2 +- poppler/Gfx.h | 2 +- utils/HtmlOutputDev.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit eeecd9718f201dc795b2cb8469c43860aec6e07d Author: Albert Astals Cid Date: Thu Apr 25 20:29:24 2013 +0200 Do not start drawing a form we are already drawing Bug #63190 poppler/Gfx.cc | 23 +++++++++++++++++++---- poppler/Gfx.h | 2 ++ 2 files changed, 21 insertions(+), 4 deletions(-) commit 43d66e11aa9e692c1c6b3a237e7e972d317e5c4d Author: Albert Astals Cid Date: Thu Apr 25 20:27:43 2013 +0200 Make sure getKids returns != 0 before using it Fixes crash in bug #63909 utils/HtmlOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ec298b3b780f885464aa00880150eaa2b9b50b08 Author: Albert Astals Cid Date: Thu Apr 25 20:29:24 2013 +0200 Do not start drawing a form we are already drawing Bug #63190 poppler/Gfx.cc | 23 +++++++++++++++++++---- poppler/Gfx.h | 2 ++ 2 files changed, 21 insertions(+), 4 deletions(-) commit 11ab42e7e90099d0cebf8f02197413fd5dee044b Author: Albert Astals Cid Date: Thu Apr 25 20:27:43 2013 +0200 Make sure getKids returns != 0 before using it Fixes crash in bug #63909 utils/HtmlOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4ee78e77f7d6cadc8e150ceff96b546ddca329d4 Author: Carlos Garcia Campos Date: Sat Apr 20 16:41:56 2013 +0200 cairo: Always use the trasnfer function if present in setSoftMask "If the subtype is Alpha, the transparency group XObject G shall be evaluated to compute a group alpha only. The colours of the constituent objects shall be ignored and the colour compositing computations shall not be performed. The transfer function TR shall then be applied to the computed group alpha to produce the mask values." We were using the transfer function only for luminosity soft masks. https://bugs.freedesktop.org/show_bug.cgi?id=63587 poppler/CairoOutputDev.cc | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) commit 3c2a92b06a6541071bd1e555606bb2096de17ef6 Author: Carlos Garcia Campos Date: Sat Apr 20 16:41:56 2013 +0200 cairo: Always use the trasnfer function if present in setSoftMask "If the subtype is Alpha, the transparency group XObject G shall be evaluated to compute a group alpha only. The colours of the constituent objects shall be ignored and the colour compositing computations shall not be performed. The transfer function TR shall then be applied to the computed group alpha to produce the mask values." We were using the transfer function only for luminosity soft masks. https://bugs.freedesktop.org/show_bug.cgi?id=63587 poppler/CairoOutputDev.cc | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) commit fd648e83e60db7157b7273ffddc02308b0c5813b Merge: 970e9f6 53b9cec Author: Albert Astals Cid Date: Sun Apr 21 23:30:16 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit 53b9cec6c1334020f90b885cff6fc30293437e5f Author: Thomas Freitag Date: Sun Apr 21 23:28:40 2013 +0200 Splash: Always consider a softmask transfer function Fixes bug 63587 in splash poppler/SplashOutputDev.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 970e9f6304c3b59ac3e44495b90a5cfe7c7ceb8b Author: Hib Eris Date: Fri Apr 12 13:26:55 2013 +0200 Remove unused variables from Lexer::getObj() https://bugs.freedesktop.org/show_bug.cgi?id=63467 poppler/Lexer.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit f8bf602620b3c7570f483ac66fc4d6a76a81a882 Merge: bbd27dc 62a5b4d Author: Albert Astals Cid Date: Sun Apr 14 16:40:51 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit 62a5b4d5c6d5c368d190b86eab63ccb07d642c01 Author: Hib Eris Date: Sun Apr 14 16:37:14 2013 +0200 Check for strcpy_s() and strcat_s() at configure time It is better to test for functions than to hardcode exceptions for specific compilers. This fixes compiling poppler with the latest mingw-w64 compiler which has strcpy_s() and strcat_s() build in. Bug #63459 ConfigureChecks.cmake | 2 ++ configure.ac | 1 + test/perf-test.cc | 6 ++++-- 3 files changed, 7 insertions(+), 2 deletions(-) commit bbd27dc4ce7b24af890d80f597f74e5d7ee0215a Merge: ea3698c 5bc0080 Author: Albert Astals Cid Date: Fri Apr 12 00:10:27 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' Conflicts: poppler/TextOutputDev.h commit 5bc00809ebe560a180d5df93eb50bdf0ff0e97e6 Author: Albert Astals Cid Date: Thu Apr 11 23:29:00 2013 +0200 Increase poppler core soname CMakeLists.txt | 2 +- poppler/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 115d4c1465291adde86c3c905f265ac03374441f Author: Albert Astals Cid Date: Thu Apr 11 23:28:17 2013 +0200 Increase version number to 0.22.3 CMakeLists.txt | 2 +- configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit ae1a3553b85e2616a339aacb6efecd15db373858 Author: Albert Astals Cid Date: Thu Apr 11 23:26:44 2013 +0200 News file NEWS | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 1fefe98fc86cf8449346bdc230dff5758b1bb7a3 Author: Albert Astals Cid Date: Thu Apr 11 23:22:20 2013 +0200 Update copyrgihts poppler/CairoOutputDev.cc | 2 +- poppler/PDFDoc.cc | 2 +- poppler/TextOutputDev.cc | 2 +- poppler/TextOutputDev.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit ea3698cfffc9c132081f5691287ef1fd17911b2a Merge: fcc1468 aaaea5d Author: Albert Astals Cid Date: Wed Apr 10 20:42:01 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit aaaea5d0f2f427e82625a04f90c178e24892e539 Author: Marek Kasik Date: Wed Apr 10 16:41:48 2013 +0200 man pages: Fix typos Fix several typos in manual pages of pdftops and pdfseparate. utils/pdfseparate.1 | 2 +- utils/pdftops.1 | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit fcc14682899ff4981bfece74dbc8c290a625b05c Merge: f11e216 e6559a0 Author: Albert Astals Cid Date: Sun Apr 7 17:44:12 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit e6559a0d836df127ed5061794dc737d435ef534c Author: Albert Astals Cid Date: Sun Apr 7 17:42:23 2013 +0200 Fix crash in KDE bug #317710 It is not guaranteed that the ::LinkAction passed to PageData::convertLinkActionToLink will be always around (e.g. Page::action deletes it) so make a copy of the ::MediaRendition object qt4/src/poppler-link.h | 6 +++--- qt4/src/poppler-media.cc | 6 ++++++ qt4/src/poppler-media.h | 5 ++++- qt4/src/poppler-page.cc | 4 ++-- 4 files changed, 15 insertions(+), 6 deletions(-) commit f11e21627121c3ff81c0ec7f4d71936a2dd590c3 Merge: e1ffa91 b9fdb0c Author: Albert Astals Cid Date: Sat Apr 6 23:26:54 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit e1ffa9100cf6b4a444be7ed76b11698a5c5bb441 Author: Thomas Freitag Date: Sat Apr 6 23:21:58 2013 +0200 Fix endstream detection Part 1 of bug #62985 the endstream search, and at least with bug-poppler16579.pdf this doesn't work correctly: the shift(-1) with the used token mechanism in Lexer isn't correct for a binary data stream. If there is i.e. a "(" without corresponding ")" in the binary data, which of course can happen and happens in that pdf, shift(-1) skips the searched endstream and can therefore in worst case reach the end-of-file. Therefore I implemented a shift("endstream") in Java, which I now port back to C++, or in other words "There and Back Again" :-) You can test it with bug-poppler16579.pdf if You just change temporary if (longNumber <= INT_MAX && longNumber >= INT_MIN && *end_ptr == '\0') { in XRef.cc to if (gFalse && longNumber <= INT_MAX && longNumber >= INT_MIN && *end_ptr == '\0') { poppler/Lexer.cc | 45 +++++++++++++++++++++++++++++++++++++++++++++ poppler/Lexer.h | 2 ++ poppler/Parser.cc | 28 ++++++++++++++++++++++++++-- poppler/Parser.h | 2 ++ 4 files changed, 75 insertions(+), 2 deletions(-) commit b9fdb0cb767a228c56f3f0635a7f78e3e0a8c7b6 Author: Albert Astals Cid Date: Sat Apr 6 23:20:48 2013 +0200 Last commit was Thomas' forgot his (C) poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 94bee4601cbbda0e7c6205a04650e0510f198aee Merge: 42368fb b312210 Author: Albert Astals Cid Date: Sat Apr 6 23:19:25 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.22' commit b312210b630f96baeb8b2f3b49b0b79779609d98 Author: Albert Astals Cid Date: Sat Apr 6 23:18:18 2013 +0200 Fix for complete rewrites in repaired files Part 2 of bug #62985 if You save a PDF with defect xref offsets, the readXRefUntil(-1 /* read all xref sections */, &xrefStreamObjNums) in XRef::scanSpecialFlags() will destroy the already reconstructed entries table, but this means that any modification which the user did in the meantime get lost. This can be tested i.e. with bug168518.pdf. poppler/XRef.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 42368fb9452c3719a7bbd159f1c1421068f40653 Author: Albert Astals Cid Date: Sat Apr 6 18:28:35 2013 +0200 Add missing free() poppler/PDFDoc.cc | 1 + 1 file changed, 1 insertion(+) commit 2264e7a95e5dc252de1b5736a1edd6bf5de3ad1f Author: Thomas Freitag Date: Sat Apr 6 18:27:57 2013 +0200 implement Crypt filter Bug #62800 poppler/Decrypt.h | 3 ++- poppler/PDFDoc.cc | 37 ++++++++++++++++++++++++++++++++++--- poppler/Stream.cc | 6 ++++++ poppler/Stream.h | 3 ++- 4 files changed, 44 insertions(+), 5 deletions(-) commit a65a4e6f878ff033b780b2f1e3362f2918c93b6b Author: Adam Reichold Date: Sat Apr 6 18:25:21 2013 +0200 No need to keep the mutex attributes around all the time goo/GooMutex.h | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) commit 73ff5ad58cfe7ec9415cc1459b6ca083fee608f4 Author: Albert Astals Cid Date: Sat Apr 6 18:19:28 2013 +0200 Pass the recursion flag poppler/DCTStream.cc | 6 +++--- poppler/DCTStream.h | 2 +- poppler/Stream.cc | 4 ++-- poppler/Stream.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) commit 837e3704e76ea857b3de45503840e9b855096fef Author: Albert Astals Cid Date: Sat Apr 6 17:01:08 2013 +0200 Make our mutexes recursive Fixes a deadlock problem found with a pdf i can't share (411klaralv.pdf) Reviewed by Thomas and Adam on the mailing list CMakeLists.txt | 3 +++ glib/CMakeLists.txt | 3 +++ goo/GooMutex.h | 36 ++++++++++++++++++++++-------------- poppler/Annot.cc | 34 +++++++++++++++++----------------- poppler/Annot.h | 4 ++-- poppler/Catalog.cc | 24 +++++++++++------------- poppler/Catalog.h | 8 ++++---- poppler/XRef.cc | 2 +- utils/CMakeLists.txt | 3 +++ 9 files changed, 66 insertions(+), 51 deletions(-) commit 0a243c8c14d09a40f25338999c3ca06273277b45 Author: Adam Reichold Date: Fri Apr 5 00:00:07 2013 +0200 Add a GooFile class to encapsulate file read access using offsets Bug #62735 ConfigureChecks.cmake | 2 ++ config.h.cmake | 6 ++++ configure.ac | 1 + goo/gfile.cc | 80 ++++++++++++++++++++++++++++++++++++++++++++++ goo/gfile.h | 30 +++++++++++++++++ poppler/GlobalParamsWin.cc | 19 ++++------- poppler/PDFDoc.cc | 37 ++++++--------------- poppler/PDFDoc.h | 4 ++- poppler/Stream.cc | 46 +++++++++----------------- poppler/Stream.h | 17 +++------- 10 files changed, 158 insertions(+), 84 deletions(-) commit 70e6af4739d2eea58e6f3200a8c9467597a12ae5 Author: Rodrigo Rivas Costa Date: Thu Apr 4 23:10:09 2013 +0200 Be pedantic about setjmp use Bug #63067 poppler/DCTStream.cc | 57 +++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 27 deletions(-) commit c7e28e3d672654f31f1a0f95245a1fba3bc9c28f Author: Albert Astals Cid Date: Mon Mar 25 22:55:58 2013 +0100 Only write the file once when saving Bug #62739 poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 09ddb34f202be2111c70901724d64d3b61483c7a Author: Albert Astals Cid Date: Mon Mar 25 22:55:58 2013 +0100 Only write the file once when saving Bug #62739 poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 75378557f409a5a2305ea0fb42c56184c74ba887 Author: Carlos Garcia Campos Date: Sun Mar 24 12:53:29 2013 +0100 glib: Always start from the beginning when starting a new search on a page And start from previous match when searching the next one on the same page. This allows to search for the same string multiple times on the same page. https://bugs.freedesktop.org/show_bug.cgi?id=59972 glib/poppler-page.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4ee6757dd7de9211faf8601531342a199225a06d Author: Carlos Garcia Campos Date: Sun Mar 24 12:53:29 2013 +0100 glib: Always start from the beginning when starting a new search on a page And start from previous match when searching the next one on the same page. This allows to search for the same string multiple times on the same page. https://bugs.freedesktop.org/show_bug.cgi?id=59972 glib/poppler-page.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 83cf2d3d3ecce6340d858a2ee037cd5120ac1db5 Author: Jason Crain Date: Sat Mar 9 08:44:36 2013 -0600 TextOutputDev: Set text matrix when painting selection https://bugs.freedesktop.org/show_bug.cgi?id=61042 poppler/TextOutputDev.cc | 30 +++++++++++++++++++++++------- poppler/TextOutputDev.h | 3 ++- 2 files changed, 25 insertions(+), 8 deletions(-) commit a3bc584fdd7f74a7dab701c743df0bb0bf74a03e Author: Jason Crain Date: Sat Mar 9 08:44:36 2013 -0600 TextOutputDev: Set text matrix when painting selection https://bugs.freedesktop.org/show_bug.cgi?id=61042 poppler/TextOutputDev.cc | 30 +++++++++++++++++++++++------- poppler/TextOutputDev.h | 3 ++- 2 files changed, 25 insertions(+), 8 deletions(-) commit 8cbdbc64897a34beb226d4dc4c58095f10013f29 Merge: 2bce2cf a01e2d4 Author: Albert Astals Cid Date: Wed Mar 20 22:37:06 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit a01e2d41fcb638fe340bd3d4d22bd13db245e0fd Author: Thomas Freitag Date: Wed Mar 20 22:35:08 2013 +0100 check order bounding box values in tiling pattern Bug #62369 poppler/Gfx.cc | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) commit 2bce2cf2a523f9b8db7f5e255384044b8dfe1a24 Author: Albert Astals Cid Date: Tue Mar 19 22:53:47 2013 +0100 Avoid blackboxes on weird files using the thin line mode Bug #61719 splash/Splash.cc | 35 +++++++++++++++++++++++++++++++++++ splash/Splash.h | 1 + 2 files changed, 36 insertions(+) commit b2d07cbf0c2f94bd25e1422e366ff78031815867 Merge: 80cf78f 3206950 Author: Albert Astals Cid Date: Mon Mar 18 21:06:59 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit 3206950658521009b52f638cc5e712e0cef42706 Author: Albert Astals Cid Date: Mon Mar 18 21:06:09 2013 +0100 Spec says Zoom -> 0 means no zoom change poppler/Link.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 13ee9f8b7d42ed7d7bc0f9dbf190ff66e6ab5a81 Author: Pino Toscano Date: Mon Mar 18 18:15:57 2013 +0100 cmake: drop search of gthread-2.0 and gio-2.0 from GTK this matches what is done in the autoconf counterpart cmake/modules/FindGTK.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 47e869e60fb147caca825380eeaa2a0851d502b9 Author: Michael Weiser Date: Mon Mar 18 18:15:14 2013 +0100 cmake: search also for gio-2.0 as GLIB library cmake/modules/FindGLIB.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 80cf78f2020e2f4cf33ed49fe522c6861d710588 Merge: b21780e 72c8312 Author: Adrian Johnson Date: Mon Mar 18 20:02:08 2013 +1030 Merge remote-tracking branch 'origin/poppler-0.22' commit 72c8312d77704211f55c8de35b47bd811c792878 Author: Adrian Johnson Date: Sun Mar 17 19:39:14 2013 +1030 cairo: Don't change image interpolation when printing Bug 62418 poppler/CairoOutputDev.cc | 4 ++++ 1 file changed, 4 insertions(+) commit b21780e69dd92f3f2bcb7851608d3e0557dc81f8 Author: Thomas Freitag Date: Sat Mar 16 23:20:35 2013 +0100 Fix typo poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 75849a0d7c205c048714b90883695b6bebd2298c Merge: ec7140b 5a51812 Author: Albert Astals Cid Date: Tue Mar 12 20:27:59 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' Conflicts: poppler/Stream.h commit 5a51812b7c1457feb8acaa106f43d7d5252b3980 Author: Peter Breitenlohner Date: Tue Mar 12 20:25:50 2013 +0100 Fix compile when not using libjpeg poppler/Stream.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 341e863d65fdd5619a071e4fd903fa82bf33c757 Author: Albert Astals Cid Date: Mon Mar 11 19:20:06 2013 +0100 0.22.2 CMakeLists.txt | 4 ++-- NEWS | 16 ++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 22 insertions(+), 6 deletions(-) commit ec7140b3f56b034fbbc53cb8066ba01fe9f60f47 Merge: c86062f 5db6585 Author: Albert Astals Cid Date: Fri Mar 8 16:41:21 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' Conflicts: poppler/Stream.cc poppler/Stream.h commit 5db6585c2b02dd4071f1adabd53509506333dcf8 Author: Albert Astals Cid Date: Fri Mar 8 16:38:49 2013 +0100 Make the non jpeglib based DCTStream compile poppler/Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6402e291e1f9374fbaf4de3b97b21f43d38d6ab8 Author: Thomas Freitag Date: Fri Mar 8 16:37:11 2013 +0100 Workaround broken jpeg stream definitions Bug #61994 poppler/DCTStream.cc | 22 +++++++++++++++++++--- poppler/DCTStream.h | 6 +++++- poppler/Stream.cc | 8 ++++---- poppler/Stream.h | 4 ++-- 4 files changed, 30 insertions(+), 10 deletions(-) commit c86062f982d6eb08cb27b654b6317c71ab77c692 Merge: 677e5b2 4e142b6 Author: Albert Astals Cid Date: Mon Mar 4 20:13:36 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit 4e142b60790638e4495b4fd6551702470cf4c38f Author: Albert Astals Cid Date: Mon Mar 4 20:12:01 2013 +0100 Make sure we don't try to paint in x < 0 Fixes crash in KDE bug #315432 splash/Splash.cc | 2 ++ 1 file changed, 2 insertions(+) commit 677e5b265a0d39a988f65d642a4f964a279fad28 Author: Albert Astals Cid Date: Sun Mar 3 19:07:32 2013 +0100 Small improvements over locker class * Remove the namespace (we don't use much/any namespaces in poppler core) * Rename the class and defines from lock to locker since lock and be either the action "to lock" or the "thing that locks", with locker it is more clear (i think) that is "the thing" than "the action" * Make Annot::decRefCnt use gLockMutex since we the object itself is being deleted in the if and not sure the locker would be happy with that * change the getNumPages() param to be DoNotLockMutex since previously it was a gFalse (i guess Thomas made a c&p typo here) * Have only one constructor like Adam suggested. goo/GooMutex.h | 33 +++++++++-------- poppler/Annot.cc | 92 +++++++++++++++++++++++----------------------- poppler/Annot.h | 6 +-- poppler/Array.cc | 15 ++++---- poppler/CairoFontEngine.cc | 8 ++-- poppler/Catalog.cc | 52 +++++++++++++------------- poppler/Catalog.h | 10 ++--- poppler/Dict.cc | 20 +++++----- poppler/PDFDoc.cc | 12 +++--- poppler/Page.cc | 16 ++++---- poppler/Stream.cc | 8 ++-- poppler/XRef.cc | 18 ++++----- 12 files changed, 147 insertions(+), 143 deletions(-) commit d5c929fc253c2748bb8fa3642d9b5383c5fe96f8 Author: Thomas Freitag Date: Sun Mar 3 18:00:11 2013 +0100 Add a locker helper and a bool -> enum changes Bug #59933 goo/GooMutex.h | 16 +++++++ poppler/Annot.cc | 114 +++++++++++++++++---------------------------- poppler/Annot.h | 4 +- poppler/Array.cc | 22 +++------ poppler/CairoFontEngine.cc | 10 ++-- poppler/Catalog.cc | 79 ++++++++++--------------------- poppler/Catalog.h | 9 ++-- poppler/Dict.cc | 29 ++++-------- poppler/FontInfo.cc | 2 +- poppler/PDFDoc.cc | 21 ++------- poppler/Page.cc | 32 ++++++------- poppler/Page.h | 3 +- poppler/Stream.cc | 12 ++--- poppler/XRef.cc | 29 ++++-------- 14 files changed, 145 insertions(+), 237 deletions(-) commit 1f4a012f7570ffd2120e3e8c2236de5408f3dda3 Merge: 15d4039 a766740 Author: Albert Astals Cid Date: Fri Mar 1 19:16:52 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit a766740cf5a5a7580935a026bf15fbd668aa0fdf Author: Thomas Freitag Date: Fri Mar 1 19:12:22 2013 +0100 Restore CTM on early exits Bug #61413 poppler/SplashOutputDev.cc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 15d40392a29dded8a29c2dc9d7c15b402515e033 Merge: be5d9af 39882df Author: Albert Astals Cid Date: Thu Feb 28 19:46:59 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit 39882dfecdccc00db353946a31d395582ee37022 Author: José Aliste Date: Wed Feb 27 01:33:38 2013 +0100 Correct rendering of underline and strike out annotations Current code assumes that the text to underline or strike out is horizontal. Fixes bug #61518 poppler/Annot.cc | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) commit be5d9af38655496a2eaa4eb12cea84461c5aeb3f Author: Thomas Freitag Date: Sat Feb 23 23:41:46 2013 +0100 expose thin line modes in qt frontend qt4/src/poppler-page.cc | 5 ++++- qt4/src/poppler-qt4.h | 6 ++++-- 2 files changed, 8 insertions(+), 3 deletions(-) commit f96cbacfdbc97ace35f843854992f06e9322f485 Author: Thomas Freitag Date: Sat Feb 23 23:39:52 2013 +0100 Refine splashThinLineShape support splash/Splash.cc | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 47453a78e52aa43edd148aef53b67306603161f5 Author: Thomas Freitag Date: Wed Feb 20 23:12:17 2013 +0100 More threading safety poppler/Annot.cc | 97 +++++++++++++++++++++++++++++++++++------ poppler/Annot.h | 8 +++- poppler/FontInfo.cc | 29 ++++++------ poppler/FontInfo.h | 5 ++- poppler/Page.cc | 11 ++++- poppler/Page.h | 6 +-- poppler/SplashOutputDev.cc | 7 ++- poppler/SplashOutputDev.h | 5 ++- poppler/XRef.cc | 4 +- qt4/src/poppler-page.cc | 9 ++-- qt4/src/poppler-ps-converter.cc | 3 +- 11 files changed, 139 insertions(+), 45 deletions(-) commit 60c5e072d4b930507469e6e8c234971725a4aa26 Merge: 0d42a6d 8d62625 Author: Albert Astals Cid Date: Wed Feb 20 21:08:53 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit 8d62625610746ad70ffb88d845791fa03f5e35cc Author: Thomas Fischer Date: Wed Feb 20 21:07:10 2013 +0100 height -> maskHeight Bug #61168 utils/ImageOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0d42a6dab479d27de1ecb2b47ad3f7568b1ee638 Merge: 7eb7880 8fb243b Author: Albert Astals Cid Date: Wed Feb 20 00:00:09 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit 8fb243bf11a979af8bfa36427436940706c9f71d Author: Albert Astals Cid Date: Tue Feb 19 23:59:17 2013 +0100 Initialize cSrcNonIso[3] in splashModeXBGR8 Fixes valgrind warning splash/Splash.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8a0199a0247c1a03a4d64375ca8bc900570d1817 Author: Albert Astals Cid Date: Tue Feb 19 23:11:46 2013 +0100 Fix indent splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7eb7880907cb7b6bd1032013d6ce4c49aa3525c4 Merge: 2c84acb 1389aa4 Author: Albert Astals Cid Date: Tue Feb 19 22:26:37 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit 1389aa41b2984de9da7bb66c11485f6c6aeaea41 Author: Albert Astals Cid Date: Tue Feb 19 22:25:56 2013 +0100 fix indent splash/Splash.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2c84acbfd02eeeaf0d20542798e907cb011c1e57 Merge: 401c35b ffd33e7 Author: Albert Astals Cid Date: Tue Feb 19 11:32:11 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit ffd33e7b5aea44bc54a74f433f6bfff859b913dd Author: Albert Astals Cid Date: Tue Feb 19 11:31:22 2013 +0100 Fix missing ) here too README.contributors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 14466ecc320387c9b6568280614a96e6f56309b4 Author: Albert Astals Cid Date: Tue Feb 19 11:31:02 2013 +0100 Forgot my C here poppler/PageLabelInfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 401c35b797d3c25c734fbfb5b95be16a666a6012 Author: Albert Astals Cid Date: Mon Feb 18 22:33:07 2013 +0100 Fix closing ) as suggested by William Bader README.contributors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 94364adade4dc27e5d80bc14511d4f2b7ea4ab0d Merge: 164805b 47f30fa Author: Albert Astals Cid Date: Mon Feb 18 20:34:34 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit 47f30fa96e62fc215c0e80f42517908760ef8065 Author: Brad Hards Date: Mon Feb 18 20:38:10 2013 +1100 Minor rewording of contributor README README.contributors | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 164805b4471256d3915c5e49fff28c9cdcbf89e6 Author: Albert Astals Cid Date: Mon Feb 18 20:05:12 2013 +0100 Move the commented test to a proper one poppler/Makefile.am | 3 +- poppler/PageLabelInfo.cc | 160 +------------------------------------- poppler/PageLabelInfo_p.h | 147 ++++++++++++++++++++++++++++++++++ qt4/tests/CMakeLists.txt | 1 + qt4/tests/Makefile.am | 4 + qt4/tests/check_pagelabelinfo.cpp | 43 ++++++++++ 6 files changed, 198 insertions(+), 160 deletions(-) commit 527b91a0ef97906041ffe57e88f0d26e1c407af0 Merge: df35562 95609be Author: Albert Astals Cid Date: Mon Feb 18 19:49:14 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit 95609be551fc4413874b8980010be70fbbab112a Author: Albert Astals Cid Date: Mon Feb 18 19:47:19 2013 +0100 Use the toLatin function in PageLabelInfo::indexToLabel Wonder why Kristian never enabled it? Fixes bug #61034 poppler/PageLabelInfo.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit df3556240d5e4b4546b3c42b29be6d2be83a2802 Merge: 4dacd7c 5c7057c Author: Albert Astals Cid Date: Tue Feb 12 23:55:24 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit 5c7057c61ed6e270e001c1f86632f265bebb6890 Author: Nuno Araujo Date: Tue Feb 12 23:54:47 2013 +0100 Fix the build with automake-1.13 autogen.sh | 17 +++++++++-------- configure.ac | 3 +-- 2 files changed, 10 insertions(+), 10 deletions(-) commit 4dacd7cdeb19d16fe7737c71e34904c7363c6b63 Merge: 7f2c255 9fc4b9f Author: Albert Astals Cid Date: Tue Feb 12 22:59:56 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' commit 9fc4b9f7a7e6105a6fd85aed9c21b78742e89ddd Author: Peter Breitenlohner Date: Tue Feb 12 22:58:17 2013 +0100 true->TRUE Fixes compilation with jpeglib9 goo/JpegWriter.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7f2c255ff28386ba992717f729f25a979f240375 Author: Thomas Freitag Date: Tue Feb 12 22:48:40 2013 +0100 Introduce option SplashThinLineMode More info at bug #37347 poppler/SplashOutputDev.cc | 9 ++++++++- poppler/SplashOutputDev.h | 3 ++- splash/Splash.cc | 37 ++++++++++++++++++++++++++++++------- splash/Splash.h | 9 +++++++-- splash/SplashClip.cc | 7 ++++--- splash/SplashClip.h | 4 +++- splash/SplashTypes.h | 8 +++++++- splash/SplashXPath.cc | 14 ++++++++++++-- splash/SplashXPath.h | 17 ++++++++++++++++- splash/SplashXPathScanner.cc | 9 +++++---- splash/SplashXPathScanner.h | 17 ++++++++++++++++- 11 files changed, 110 insertions(+), 24 deletions(-) commit c2ebcbea2267f861c491c0cd6c1fbf2dc2aff7d2 Merge: 48ed05d dca21f8 Author: Albert Astals Cid Date: Sun Feb 10 12:01:13 2013 +0100 Merge remote-tracking branch 'origin/poppler-0.22' Conflicts: poppler/Parser.cc commit dca21f86359b6b2a925f7b05a2f36ab854cefbce Author: Albert Astals Cid Date: Sun Feb 10 11:47:21 2013 +0100 0.22.1 CMakeLists.txt | 2 +- NEWS | 9 +++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) commit e8e9245f6a4884da3940fc281b7ff1a42d7f5964 Author: Albert Astals Cid Date: Sun Feb 10 11:43:14 2013 +0100 Update C year here too poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ebbacd897e2b529d1c3637b6af438b8dcc1d7ce8 Author: Albert Astals Cid Date: Sun Feb 10 11:42:21 2013 +0100 Update C poppler/Parser.cc | 1 + 1 file changed, 1 insertion(+) commit 48ed05d95598b642a57456a843baf9f246502bb6 Author: Adrian Johnson Date: Wed Feb 6 21:56:01 2013 +1030 Make Goffset long long and factor out all fseek/ftell into gfile.cc This fixes build problems on 32-bit machines due to off_t being defined differently depending on whether source files included condig.h. Bug 60095 goo/gfile.cc | 38 ++++++++++++++++++++++++ goo/gfile.h | 7 +++++ goo/gtypes.h | 19 +----------- poppler/Stream.cc | 67 ++++++------------------------------------ poppler/XRef.cc | 4 +-- poppler/poppler-config.h.cmake | 6 ---- poppler/poppler-config.h.in | 6 ---- utils/pdfinfo.cc | 16 ++-------- 8 files changed, 60 insertions(+), 103 deletions(-) commit fbcd64386c1b189db6e06234577261973bdc88cc Author: Adrian Johnson Date: Fri Jan 25 22:24:50 2013 +1030 cairo: support uncolored tiling patterns Bug 59179 poppler/CairoOutputDev.cc | 20 ++++++++++++++++++++ poppler/CairoOutputDev.h | 1 + 2 files changed, 21 insertions(+) commit c60ad119363c65d097dff56a68c1ab3fb2933f0b Author: Adrian Johnson Date: Sun Jan 27 15:50:26 2013 +1030 A few more missing Goffsets glib/poppler-input-stream.h | 2 +- poppler/PDFDoc.cc | 16 ++++++++-------- poppler/PDFDoc.h | 6 +++--- poppler/Stream.cc | 4 ++-- poppler/Stream.h | 4 ++-- 5 files changed, 16 insertions(+), 16 deletions(-) commit 9b113dc86a27085693ac4bcad061780c881ea7f9 Author: Adrian Johnson Date: Sun Jan 27 11:32:34 2013 +1030 Use sys/types.h instead of stdio.h for the off_t type Bug 44085 goo/gtypes.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit f3aa5236361dca3db64f110520ebe721ba1c9464 Author: Pino Toscano Date: Sun Jan 27 18:50:10 2013 +0100 use Goffset also for length in MemStream ctor poppler/Stream.cc | 2 +- poppler/Stream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit eb5ce6990522bac91d8f5d0d3636c46178386d25 Author: Pino Toscano Date: Sun Jan 27 15:20:42 2013 +0100 avoid max() macro expansion protect against compilers defining max as macro poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6b716b1ab60b573b5770d8636992247387bc3513 Author: Pino Toscano Date: Sun Jan 27 15:18:04 2013 +0100 cmake: provide HAVE_FSEEK64 and HAVE_FSEEKO in poppler-config followup of a3cee0e7e9dd292c70fe1fa19a92e70bbc1e1b41 also for the cmake-generated poppler-config.h poppler/poppler-config.h.cmake | 6 ++++++ 1 file changed, 6 insertions(+) commit fe59ac914230b80aa82b314398a8a038ef083e06 Author: Adrian Johnson Date: Sat Jan 26 16:44:49 2013 +1030 Read 8 byte xref offsets when sizeof(Goffset) < 8 and print an error if the offset read is too large for Goffset. Bug 56318 poppler/XRef.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 098d98dfc3846150098f5b20f3f5a07cb565c465 Author: Lu Wang Date: Sat Jan 26 19:31:20 2013 +0100 Rename function Makes it say more what it does poppler/GfxState.cc | 3 ++- poppler/GfxState.h | 3 ++- poppler/SplashOutputDev.cc | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) commit 97e93d7583f2a6a5b1c8b51474744ca05277dc28 Author: Lu Wang Date: Sat Jan 26 16:56:00 2013 +0100 Remove unused deviceHasTextClip poppler/CairoOutputDev.h | 1 - poppler/OutputDev.h | 1 - poppler/PSOutputDev.h | 1 - poppler/SplashOutputDev.h | 1 - utils/pdftohtml.cc | 1 - 5 files changed, 5 deletions(-) commit 1bb3ddc2264cb65dffd553a952ee4518344df0de Author: Albert Astals Cid Date: Fri Jan 25 19:37:24 2013 +0100 A few Goffsets we missed charactersRead is returned in BaseCryptStream::getPos thus should be a Goffset Gfx::getPos returns Parser::getPos and thus should be a Goffset too poppler/Decrypt.h | 3 ++- poppler/Gfx.cc | 4 ++-- poppler/Gfx.h | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) commit 5f8b1275a19b2036c6e9323a744d8bc64af31c36 Author: Albert Astals Cid Date: Fri Jan 25 19:32:58 2013 +0100 New year! poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 574907e6a74e62a5ee6d7f17c43fdd9bcb07e069 Author: Albert Astals Cid Date: Fri Jan 25 19:31:59 2013 +0100 Adrian C for 2013 because of the big files support cpp/poppler-private.cpp | 1 + cpp/poppler-private.h | 1 + goo/gtypes.h | 1 + poppler/Decrypt.cc | 1 + poppler/Decrypt.h | 1 + poppler/Error.cc | 1 + poppler/Error.h | 1 + poppler/Hints.cc | 1 + poppler/Hints.h | 1 + poppler/JBIG2Stream.cc | 1 + poppler/JBIG2Stream.h | 1 + poppler/JPEG2000Stream.cc | 1 + poppler/JPEG2000Stream.h | 1 + poppler/Lexer.cc | 2 +- poppler/Lexer.h | 1 + poppler/Object.cc | 1 + poppler/Object.h | 1 + poppler/PDFDoc.cc | 1 + poppler/PDFDoc.h | 1 + poppler/PageTransition.cc | 1 + poppler/Parser.cc | 1 + poppler/Parser.h | 1 + poppler/SecurityHandler.cc | 1 + poppler/Stream.cc | 1 + poppler/Stream.h | 1 + poppler/XRef.cc | 1 + poppler/XRef.h | 1 + qt4/src/poppler-private.cc | 1 + qt4/src/poppler-qiodeviceoutstream-private.h | 1 + qt4/src/poppler-qiodeviceoutstream.cc | 1 + utils/pdfinfo.cc | 2 +- utils/pdfunite.cc | 1 + 32 files changed, 32 insertions(+), 2 deletions(-) commit 95b81ae9b5a345c9caa3d658b9b543d1937c6c02 Author: Adrian Johnson Date: Fri Jan 25 21:37:51 2013 +1030 gitignore qt4/tests/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit 576dc53c857d99bb5d81fe7c9c52fe314a6e58ee Author: Thomas Freitag Date: Fri Jan 25 21:27:13 2013 +1030 splash: fix uninitialized memory Bug 44085 poppler/SplashOutputDev.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit a9768588cd6086f4ca4e6906db038cfdbfd551d5 Author: Adrian Johnson Date: Fri Jan 25 21:24:29 2013 +1030 win32 large file support Bug 44085 goo/gtypes.h | 2 ++ poppler/Stream.cc | 13 +++++++++++++ utils/pdfinfo.cc | 3 +++ 3 files changed, 18 insertions(+) commit a3cee0e7e9dd292c70fe1fa19a92e70bbc1e1b41 Author: Adrian Johnson Date: Fri Jan 25 21:23:43 2013 +1030 Large file support Create a Goffset type and use this type for all file offsets and file sizes. Bug 44085 cpp/poppler-private.cpp | 2 +- cpp/poppler-private.h | 2 +- glib/poppler-input-stream.cc | 10 +- glib/poppler-input-stream.h | 16 +-- goo/gtypes.h | 15 +++ poppler/Decrypt.cc | 2 +- poppler/Decrypt.h | 2 +- poppler/Error.cc | 10 +- poppler/Error.h | 5 +- poppler/Hints.cc | 4 +- poppler/Hints.h | 6 +- poppler/JBIG2Stream.cc | 8 +- poppler/JBIG2Stream.h | 2 +- poppler/JPEG2000Stream.cc | 2 +- poppler/JPEG2000Stream.h | 2 +- poppler/Lexer.h | 8 +- poppler/Object.h | 8 +- poppler/PDFDoc.cc | 54 +++++----- poppler/PDFDoc.h | 14 +-- poppler/Parser.cc | 10 +- poppler/Parser.h | 2 +- poppler/Stream.cc | 88 ++++++++--------- poppler/Stream.h | 102 +++++++++---------- poppler/XRef.cc | 141 +++++++++++++++++---------- poppler/XRef.h | 34 +++---- poppler/poppler-config.h.in | 6 ++ qt4/src/poppler-private.cc | 2 +- qt4/src/poppler-qiodeviceoutstream-private.h | 2 +- qt4/src/poppler-qiodeviceoutstream.cc | 4 +- test/perf-test.cc | 6 +- utils/pdfinfo.cc | 6 +- utils/pdfunite.cc | 2 +- 32 files changed, 320 insertions(+), 257 deletions(-) commit 6eebbb9c015f98b713205e56ab2f1d4d430e9206 Author: Adrian Johnson Date: Fri Jan 25 21:22:51 2013 +1030 Add Int64 object type Bug 44085 poppler/Lexer.cc | 46 ++++++++++++++++++++-------------------------- poppler/Object.cc | 6 +++--- poppler/Object.h | 26 +++++++++++++++----------- poppler/PDFDoc.cc | 4 ++-- poppler/SecurityHandler.cc | 4 ++-- qt4/tests/check_lexer.cpp | 24 +++++++++++++++++------- test/pdf-fullrewrite.cc | 9 +-------- 7 files changed, 60 insertions(+), 59 deletions(-) commit be495d73ce7324963a979cffc149330f5512288b Author: Adrian Johnson Date: Fri Jan 25 21:14:21 2013 +1030 use getNum instead of getReal poppler/PageTransition.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a5adb6738e1e191c64457e0c07ee2e3422a042dd Author: Albert Astals Cid Date: Sat Jan 19 18:13:33 2013 +0100 Don't use config.h but poppler-config.h That was already included but i forgot to kill the other one poppler/XRef.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8eb489c355d734a72e140ce7e32470d048362499 Author: Thomas Freitag Date: Sat Jan 19 17:43:08 2013 +0100 Make rendering thread-safe Bug #50992 glib/poppler-input-stream.cc | 4 ++ glib/poppler-input-stream.h | 1 + poppler/Annot.cc | 52 +++++++++---------- poppler/Array.cc | 48 +++++++++++++++++- poppler/Array.h | 15 ++++-- poppler/ArthurOutputDev.cc | 3 +- poppler/ArthurOutputDev.h | 3 +- poppler/CairoFontEngine.cc | 33 +++++++++--- poppler/CairoFontEngine.h | 11 ++-- poppler/CairoOutputDev.cc | 15 ++++-- poppler/CairoOutputDev.h | 5 +- poppler/Catalog.cc | 84 +++++++++++++++++++++++++++---- poppler/Catalog.h | 15 ++++-- poppler/Dict.cc | 67 ++++++++++++++++++++++++- poppler/Dict.h | 11 +++- poppler/Gfx.cc | 18 ++++--- poppler/Gfx.h | 8 +-- poppler/GlobalParamsWin.cc | 4 +- poppler/Object.h | 7 +-- poppler/OutputDev.h | 4 +- poppler/PDFDoc.cc | 66 ++++++++++++++++++------ poppler/PDFDoc.h | 11 ++-- poppler/PSOutputDev.cc | 12 ++--- poppler/PSOutputDev.h | 4 +- poppler/Page.cc | 75 ++++++++++++++++++++++++--- poppler/Page.h | 18 +++++-- poppler/Parser.cc | 3 +- poppler/PreScanOutputDev.cc | 4 +- poppler/PreScanOutputDev.h | 4 +- poppler/SplashOutputDev.cc | 16 +++--- poppler/SplashOutputDev.h | 5 +- poppler/Stream.cc | 117 ++++++++++++++++++++++++++++++++----------- poppler/Stream.h | 35 +++++++++---- poppler/TextOutputDev.cc | 5 +- poppler/TextOutputDev.h | 3 +- poppler/XRef.cc | 99 +++++++++++++++++++++++++++++++++--- poppler/XRef.h | 16 +++++- qt4/src/poppler-document.cc | 23 ++++----- qt4/src/poppler-page.cc | 64 ++++++++++++++++++++--- qt4/src/poppler-private.cc | 3 +- qt4/src/poppler-private.h | 74 +-------------------------- test/gtk-test.cc | 2 +- utils/HtmlOutputDev.cc | 3 +- utils/HtmlOutputDev.h | 3 +- utils/ImageOutputDev.h | 3 +- 45 files changed, 793 insertions(+), 283 deletions(-) commit 3db9472e2b016f1b411174273f27848193ab18e5 Author: José Aliste Date: Fri Jan 18 15:22:03 2013 +0100 Add a null check for gfxFont Bug #59561 poppler/TextOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4b69217f72f3fd313f73df059eb1e6294878a95e Author: Peter Dyballa Date: Fri Jan 11 00:32:46 2013 +0100 Use CPPFLAGS for CPPFLAGS not CFLAGS Bug #59186 m4/libjpeg.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8b6dc55e530b2f5ede6b9dfb64aafdd1d5836492 Author: Albert Astals Cid Date: Thu Jan 10 22:31:52 2013 +0100 Fix invalid memory access in 1150.pdf.asan.8.69 splash/Splash.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e14b6e9c13d35c9bd1e0c50906ace8e707816888 Author: Albert Astals Cid Date: Thu Jan 10 20:52:02 2013 +0100 Fix invalid memory access in 2030.pdf.asan.69.463 poppler/Function.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 0388837f01bc467045164f9ddaff787000a8caaa Author: Albert Astals Cid Date: Thu Jan 10 20:29:06 2013 +0100 Fix another invalid memory access in 1091.pdf.asan.72.42 poppler/Stream.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 957aa252912cde85d76c41e9710b33425a82b696 Author: Albert Astals Cid Date: Thu Jan 10 19:16:19 2013 +0100 Fix invalid memory accesses in 1091.pdf.asan.72.42 splash/Splash.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit bbc2d8918fe234b7ef2c480eb148943922cc0959 Author: Albert Astals Cid Date: Thu Jan 10 19:07:48 2013 +0100 Fix invalid memory accesses in 1036.pdf.asan.23.17 splash/Splash.cc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit a9b8ab4657dec65b8b86c225d12c533ad7e984e2 Author: Albert Astals Cid Date: Wed Jan 9 22:56:45 2013 +0100 Fix crash in broken file 1031.pdf.asan.48.15 splash/Splash.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 7266a634e01e20648cc877371edc95651d30d4fc Author: Albert Astals Cid Date: Wed Jan 9 22:52:45 2013 +0100 Forgot the C of the last commit splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a205e71a2dbe0c8d4f4905a76a3f79ec522eacec Author: Albert Astals Cid Date: Wed Jan 9 22:47:28 2013 +0100 Do not crash in broken documents like 1007.pdf.asan.48.4 splash/Splash.cc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit b1026b5978c385328f2a15a2185c599a563edf91 Author: Albert Astals Cid Date: Wed Jan 9 22:17:09 2013 +0100 Initialize refLine totally Fixes uninitialized memory read in 1004.pdf.asan.7.3 poppler/Stream.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit bef2c42f381c74fdb8bbb43babe1a93a0e229fb0 Author: Adrian Johnson Date: Thu Jan 3 15:27:36 2013 +1030 Parser: return error if stream encountered when allowStreams = false Opening a PDF file where the first object is a stream prints a "Command token too long" error message. This is caused by the Linearization check in Linearization::Linearization reading objects with allowStreams = false. The Parser ignores the "stream" token and tries reading the next token which is usually binary data. Setting allowStreams to true will not work since the stream length is often an indirect object and at this point the XRef has not been created. Fix this by making Parser return an error object if the "stream" token is encountered when allowStreams is false. Bug 58966 poppler/Parser.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 801f7feea79e5bc3b5417566552e4df1e6b8a51c Author: Albert Astals Cid Date: Sat Dec 29 19:22:54 2012 +0100 0.22.0 CMakeLists.txt | 6 +++--- NEWS | 14 ++++++++++++++ configure.ac | 4 ++-- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 22 insertions(+), 8 deletions(-) commit bf5ef68c89d4189b18458b764f807cfc6599bad7 Author: Carlos Garcia Campos Date: Sat Dec 29 19:43:11 2012 +0100 regtest: Print test results when the test has finished To make sure the result corresponds to the test now that we are using multiple threads. regtest/Printer.py | 25 +++++++++++++++++++------ regtest/TestRun.py | 18 +++++++++--------- 2 files changed, 28 insertions(+), 15 deletions(-) commit 80c7f6aa3fa83175fafc71fa8c834350d513a48f Author: Jason Crain Date: Fri Nov 23 23:31:01 2012 -0600 TextOutputDev: Use page size for max value in TextPage::visitSelection https://bugs.freedesktop.org/show_bug.cgi?id=50138 poppler/TextOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0d31edfa5617f4fecb04d5476de54a63b6146686 Author: Ross Lagerwall Date: Fri Nov 30 09:23:55 2012 +0000 pdf-inspector Change from the deprecated GtkTable to GtkGrid This fixes the problem of the description_label height changing after its text changes which was introduced since the port to Gtk3. https://bugs.freedesktop.org/show_bug.cgi?id=57727 test/pdf-inspector.ui | 39 +++++++++++++++------------------------ 1 file changed, 15 insertions(+), 24 deletions(-) commit 9977a4f26b5698b0b85ca911e7392013941944e0 Author: Ross Lagerwall Date: Tue Nov 13 15:49:44 2012 +0000 pdf-inspector: Remove deprectated has-separator property https://bugs.freedesktop.org/show_bug.cgi?id=57727 test/pdf-inspector.ui | 1 - 1 file changed, 1 deletion(-) commit 806d116a38c2a6552c9bcee2c6f753d7059c17aa Author: Ross Lagerwall Date: Tue Nov 13 15:44:15 2012 +0000 pdf-inspector: Add correct title and copyright https://bugs.freedesktop.org/show_bug.cgi?id=57727 test/pdf-inspector.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 7d5bf74c19768fa3447819a4debff06d5d83900a Author: Ross Lagerwall Date: Tue Nov 13 15:23:36 2012 +0000 pdf-inspector: Fix crash by not freeing filename_g It is not necessary because PDFDoc takes over filename_g and destroys it in its deconstructor. https://bugs.freedesktop.org/show_bug.cgi?id=57727 test/pdf-inspector.cc | 1 - 1 file changed, 1 deletion(-) commit d61c6d4944d6f7c9e8b517dd28958124f4923d08 Author: Thomas Freitag Date: Fri Dec 28 01:18:48 2012 +0100 Repair pdfunite Sorry, when I implemented the support encrypted pdf files in pdfseparate I missed that writePageObjects of course is also used in pdfunite for combining pages, and even more that encrypted files are still not supported by pdfunite, I removed the numoffset from writing the objects itself. Therefore there are still all objects in the combined pdf file, but the references missing the numoffset and therefore were no more reachable. The patch repairs it. Bug #58569 poppler/PDFDoc.cc | 6 ++++-- poppler/PDFDoc.h | 4 ++-- utils/pdfunite.cc | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) commit be4804bff2b722ceac180da52ad436fee548f9ee Author: Albert Astals Cid Date: Fri Dec 28 01:17:14 2012 +0100 dos2unix poppler/PDFDoc.cc | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) commit 703c77eb59aa22ab6372d56a20ee81dc7dfa6e4a Author: Even Rouault Date: Fri Dec 28 00:57:17 2012 +0100 Fix very long loop in JPXStream::getImageParams() poppler/JPXStream.cc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 7e0be7854adc49e4e00c0badb0dc470fbdf6d612 Author: Even Rouault Date: Fri Dec 28 00:44:29 2012 +0100 Avoid DoS due to huge number of JPX tiles in a stream poppler/JPXStream.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2017dbebd9afd4f172242ff8462fce739d911e64 Author: Even Rouault Date: Fri Dec 28 00:30:13 2012 +0100 Do not crash on 0 or negative nBits values poppler/Stream.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 858df0dc04e2f306e806fe0fc4fb5c8ec804e263 Author: Albert Astals Cid Date: Thu Dec 27 23:30:27 2012 +0100 Fix arg typo poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1dd6280d79ad22461208702b3c929377887c99ff Author: Albert Astals Cid Date: Sat Dec 15 16:39:23 2012 +0100 0.21.4 soversion increases CMakeLists.txt | 2 +- glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- poppler/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 99d0288bb0b6879ae5414d174939bbd9c1e90bd3 Author: Albert Astals Cid Date: Sat Dec 15 16:37:19 2012 +0100 0.21.4 version increase CMakeLists.txt | 2 +- configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 2bc48d5369f1dbecfc4db2878f33bdeb80d8d90f Author: Albert Astals Cid Date: Sat Dec 15 16:36:38 2012 +0100 0.21.4 NEWS NEWS | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit b3423d54b1254597d7ca953872211fa3aa83e29c Author: Albert Astals Cid Date: Sat Dec 15 16:29:54 2012 +0100 Updated copyrights goo/JpegWriter.h | 2 +- goo/PNGWriter.cc | 1 + goo/PNGWriter.h | 1 + goo/TiffWriter.cc | 1 + goo/TiffWriter.h | 1 + poppler/GlobalParams.cc | 2 +- poppler/TextOutputDev.cc | 1 + splash/Splash.cc | 1 + utils/HtmlOutputDev.cc | 1 + 9 files changed, 9 insertions(+), 2 deletions(-) commit 487f20d24830a97cad4773ae27f0c2cc58df2ed0 Author: Albert Astals Cid Date: Thu Dec 13 20:40:39 2012 +0100 Check obj1 is a dict before using it Fixes bug #58257 poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 03045469206adbd797e3a38fee3a16cdd1716812 Author: Albert Astals Cid Date: Thu Dec 13 19:24:54 2012 +0100 Fix crop on EPS conversion Bug #30692 Patch is half William Bader's and half mine poppler/OutputDev.h | 5 +++++ poppler/PSOutputDev.h | 4 +++- poppler/Page.cc | 3 +++ poppler/Page.h | 2 ++ 4 files changed, 13 insertions(+), 1 deletion(-) commit 5d50b2765428e5a417967be2f41452ab05917db7 Author: Peter Breitenlohner Date: Tue Dec 11 18:54:30 2012 +0100 Correct bad semantics Negation has higher precedence than comparison Confirmed by Marek Kasik that wrote the code originally poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e306bad391a3ff49593f1f3bac0717d62599bd13 Author: Pino Toscano Date: Sun Dec 9 22:40:27 2012 +0100 pngwriter: move #include into .cc file Move all the private data (including the libpng types) to a private class. This requires HtmlOutputDev.cc to include on its own (which is correct, since it uses the libpng API directly). goo/PNGWriter.cc | 98 +++++++++++++++++++++++++++++--------------------- goo/PNGWriter.h | 12 ++----- utils/HtmlOutputDev.cc | 4 +++ 3 files changed, 64 insertions(+), 50 deletions(-) commit cf338551e9d031cc00d56cea0d258ec5fd96e79a Author: Pino Toscano Date: Sun Dec 9 22:22:03 2012 +0100 tiffwriter: move #include into .cc file Move all the private data (including the libtiff types) to a private class. goo/TiffWriter.cc | 94 ++++++++++++++++++++++++++++++++----------------------- goo/TiffWriter.h | 12 ++----- 2 files changed, 56 insertions(+), 50 deletions(-) commit 0dfa51f0bfa787ee9c865fd4f05e4bd964c260fc Author: Albert Astals Cid Date: Sun Dec 9 22:31:50 2012 +0100 Having a look at the log Marek has (C) in this file poppler/TextOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit f1b2e29e1d5f420903085318f06c4dc83ebb24f3 Author: Thomas Freitag Date: Sun Dec 9 20:59:26 2012 +0100 Fix crash when rendering on mono1 poppler/SplashOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 71bad47ed6a36d825b0d08992c8db56845c71e40 Author: Marek Kasik Date: Sun Dec 9 20:20:00 2012 +0100 Filter stuff that might end up in the shell Since it seems shells don't know how to filter stuff and might causing bad things to happen poppler/Error.cc | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit c35d030472e6cb140c3dff30b91541772c992eb0 Author: Albert Astals Cid Date: Sat Dec 8 23:51:59 2012 +0100 Add private copy constructor and operator= to make sure we don't use the default ones Since using them would results in bad things happening goo/GooHash.h | 16 ++++++++++++++++ goo/GooList.h | 16 ++++++++++++++++ goo/PNGWriter.h | 5 ++++- goo/TiffWriter.h | 5 ++++- goo/gfile.h | 4 ++++ 5 files changed, 44 insertions(+), 2 deletions(-) commit f6741d9242bf2d9c13c8d534c50c8e4d404afc7f Author: Adrian Johnson Date: Sun Dec 2 09:34:35 2012 +1030 jpegwriter: move #include "jpeglib.h" into .cc file On cygwin pdftocairo -v shows the wrong version due to jpeglib.h defining PACKAGE_VERSION. Avoid polluting our header files by moving libjpeg.h and libjpeg types into JpegWriter.cc Bug 57687 goo/JpegWriter.cc | 120 ++++++++++++++++++++++++++++++++----------------- goo/JpegWriter.h | 25 ++++++----- splash/SplashBitmap.cc | 2 +- utils/pdftocairo.cc | 4 +- 4 files changed, 95 insertions(+), 56 deletions(-) commit e78dbb1b7dbd20c3ae547b02270ab0648c1bfc61 Author: Adrian Johnson Date: Sun Dec 2 09:10:32 2012 +1030 Reformat goo/*Writer files to poppler style goo/ImgWriter.h | 20 ++--- goo/JpegWriter.cc | 184 ++++++++++++++++++++++---------------------- goo/JpegWriter.h | 38 ++++----- goo/PNGWriter.cc | 224 +++++++++++++++++++++++++++--------------------------- goo/PNGWriter.h | 62 +++++++-------- goo/TiffWriter.cc | 40 +++++----- goo/TiffWriter.h | 58 +++++++------- 7 files changed, 313 insertions(+), 313 deletions(-) commit 1bfe4b22cf893dd498d6f306ee9cf942c72fe3ed Author: Matthias Kramm Date: Mon Nov 19 12:39:56 2012 -0800 Fix linewidths in monochrome mode. For zoom levels that scale the page below sqrt(2) of the original resolution, monochrome line widths were wrong (snapped back to 1 pixel wide.) This patch fixes that issue. splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e5008bdb26df0135edfbd30a811df2332f4e036c Author: José Aliste Date: Sat Dec 8 10:33:21 2012 -0300 glib-demo: Update the demo to modify flags of annotations https://bugs.freedesktop.org/show_bug.cgi?id=58015 glib/demo/annots.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) commit 8cd5cae953de374276c11711dc106de15c8dcad0 Author: Carlos Garcia Campos Date: Sat Dec 8 18:57:07 2012 +0100 regtest: Use the number of cpus as default number of worker threads regtest/main.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 605c363b04ba3853883010c0a413054fe246d9aa Author: Carlos Garcia Campos Date: Sat Dec 8 18:45:22 2012 +0100 regtest: Remove trailing whitespaces regtest/TestReferences.py | 10 +++++----- regtest/TestRun.py | 10 +++++----- regtest/main.py | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) commit 787a8438708397f0a1bf26e93726f544c91533e6 Author: Hib Eris Date: Sun Dec 2 08:03:10 2012 +0100 Fix compile warning on deprecated conversion from string constant Fixes (for win32): CXX GlobalParams.lo GlobalParams.cc: In function 'char* get_poppler_datadir()': GlobalParams.cc:181:12: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] poppler/GlobalParams.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb3a10417ae659fdb7b77132c569c93ec00bc95e Author: Fabio D'Urso Date: Sun Dec 2 01:41:05 2012 +0100 Fixed check_lexer on 32-bit systems qt4/tests/check_lexer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8550576bdf74180b62f54f9fd59213fbcd0a1be1 Author: José Aliste Date: Sat Dec 8 10:33:04 2012 -0300 glib: Add poppler_annot_set_flags https://bugs.freedesktop.org/show_bug.cgi?id=58015 glib/poppler-annot.cc | 22 ++++++++++++++++++++++ glib/poppler-annot.h | 2 ++ 2 files changed, 24 insertions(+) commit 15dcc5426ce319429e1a2c518902effb2ddf06cf Author: Adam Reichold Date: Thu Dec 6 18:45:46 2012 +0100 implement parallel testing using Python's Queue class regtest/Printer.py | 36 +++++++++++++++++----------- regtest/TestReferences.py | 23 +++++++++++++++++- regtest/TestRun.py | 58 ++++++++++++++++++++++++++++++++++++---------- regtest/backends/cairo.py | 5 ++-- regtest/backends/splash.py | 5 ++-- regtest/main.py | 11 ++++++++- 6 files changed, 104 insertions(+), 34 deletions(-) commit c46646020826136b403e9aae8e2ded24c7165522 Author: Hib Eris Date: Sun Dec 2 10:04:28 2012 +0100 glib-demo: Do not use deprecated gtk_color_button_{get,set}_rgba() Since Gtk 3.4, gtk_color_button_get_rgba() and gtk_color_button_set_rgba() have been deprecated. https://bugs.freedesktop.org/show_bug.cgi?id=57798 glib/demo/selections.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit f8c1b55e764a6e79b0530fb1be9ee11917f4237e Author: Albert Astals Cid Date: Sat Dec 1 22:19:17 2012 +0100 0.21.3 CMakeLists.txt | 4 ++-- NEWS | 17 +++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 23 insertions(+), 6 deletions(-) commit e3716d9d735a1093399a3c5c33ea5471a6adc405 Author: Albert Astals Cid Date: Sat Dec 1 22:34:00 2012 +0100 Build on make check correctly qt4/tests/check_goostring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c7ae96b162e8a05269a54c31f8e7c411edc84553 Merge: 1f279c3 b1dacd1 Author: Albert Astals Cid Date: Sat Dec 1 21:26:24 2012 +0100 Merge commit 'b1dacd1e6ab00eb1976491eb2b45c76671011b38' commit 1f279c32dcdc899b509fc00aaa57382bc8af90f3 Author: Albert Astals Cid Date: Sat Dec 1 20:37:52 2012 +0100 Update copyrights poppler/CairoOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit 5daa17c013be8ebe180ff48207e189bd9bd50a84 Author: Albert Astals Cid Date: Sat Dec 1 20:06:17 2012 +0100 Initialize to NULL, fixes crash Since the TextStringToUCS4 not always assigns to second param, initialize uni to NULL poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f673be852e6564e039b5ec24e5bf583149b1d5a4 Author: Jason Crain Date: Sat Dec 1 20:03:00 2012 +0100 Allow large chars in TextPage poppler/TextOutputDev.cc | 1 - 1 file changed, 1 deletion(-) commit aca122432951c4c0a2a5dbaba046d848f2153b84 Author: Hib Eris Date: Sat Jun 23 18:27:55 2012 +0200 Fix compile warning on unused variable filename_g glib/poppler-document.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c702066961b1cc2a9c0fb16546e9db93c312813b Author: Hib Eris Date: Sat Jun 23 18:23:59 2012 +0200 Do not use 'size' uninitialized poppler/PDFDoc.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 14bdeacb0eb8e4a1d3995f310a1b526e4dcc96dc Author: Hib Eris Date: Sat Jun 23 18:09:01 2012 +0200 Fix compile warnings on deprecated conversion from string constant to 'char*' poppler/FileSpec.cc | 3 ++- poppler/GlobalParamsWin.cc | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) commit 72d4a1ba998218de876e2a0e939bbec4b7795299 Author: Hib Eris Date: Sat Jun 23 17:52:13 2012 +0200 Fix compile warning on signed/unsigned comparison goo/gfile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1262111e70ff161e495505bd6a262cc0357a943c Author: Hib Eris Date: Sat Jun 23 17:46:54 2012 +0200 Remove unused variable goo/gfile.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 85572b85950ed4e4421f1e61e704e5c250ca27d9 Author: Albert Astals Cid Date: Sat Dec 1 01:50:25 2012 +0100 Silence gcc warning Bug #57572 goo/TiffWriter.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a97aead193a927b91a4e33d7b5d2ba7179e664df Author: Adrian Johnson Date: Fri Nov 30 21:30:19 2012 +0100 Splash: Implement bilinear image scaling Bug #22138 poppler/SplashOutputDev.cc | 10 +-- splash/Splash.cc | 183 ++++++++++++++++++++++++++++++++++++++++++--- splash/Splash.h | 13 +++- 3 files changed, 188 insertions(+), 18 deletions(-) commit e6806d893a9a104e3f23d69d0245ad0e4948a409 Author: Pino Toscano Date: Wed Nov 28 17:59:36 2012 +0100 cmake: Enable compiler warnings for C code Compilation of glib/demo uses a C compiler, thus compiler warnings should be enabled in the CFLAGS variable. followup of 5c5945d163fe406960ccc2e3a71882722b9e69d1 CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) commit bdb17da35de49b9fd1a549c3afd5e36004552080 Author: Hib Eris Date: Mon Nov 26 20:38:03 2012 +0100 cairo: Fix uninitaliazed warning in CairoOutputDev Fix warning: CXX CairoOutputDev.lo ../../poppler/poppler/CairoOutputDev.cc: In member function 'virtual void RescaleDrawImage::getRow(int, uint32_t*)': ../../poppler/poppler/CairoOutputDev.cc:2813:25: warning: 'pix' may be used uninitialized in this function [-Wuninitialized] https://bugs.freedesktop.org/show_bug.cgi?id=57571 poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit beff044e4fdf44e80ad7c75255cb71a83e70a293 Author: Hib Eris Date: Tue Nov 27 22:19:01 2012 +0100 glib-demo: Fix warning on signedness Fixes: CC attachments.o ../../../poppler/glib/demo/attachments.c: In function ‘attachment_save_callback’: ../../../poppler/glib/demo/attachments.c:190:2: warning: pointer targets in passing argument 2 of ‘g_checksum_update’ differ in signedness [-Wpointer-sign] /usr/include/glib-2.0/glib/gchecksum.h:69:23: note: expected ‘const guchar *’ but argument is of type ‘const gchar *’ https://bugs.freedesktop.org/show_bug.cgi?id=57620 glib/demo/attachments.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b484749ffa58315e4b61738d652347d7a77da982 Author: Hib Eris Date: Tue Nov 27 19:38:59 2012 +0100 glib-demo: Fix set but unused warning Fixes: CC print.o ../../../poppler/glib/demo/print.c: In function ‘pgd_print_draw_page’: ../../../poppler/glib/demo/print.c:68:27: warning: variable ‘settings’ set but not used [-Wunused-but-set-variable] https://bugs.freedesktop.org/show_bug.cgi?id=57620 glib/demo/print.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 8438daf7bf7ab1b96c6899baab7e47d9c634cb3d Author: Hib Eris Date: Sun Jun 24 14:54:31 2012 +0200 glib-demo: pgd_text_view_query_tooltip(): return a gboolean https://bugs.freedesktop.org/show_bug.cgi?id=57620 glib/demo/text.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ff9e211cfb60eb820b9b046da546352fa59d7df9 Author: Hib Eris Date: Sat Jun 23 22:56:02 2012 +0200 glib-demo: Remove set but unused variable textinfo https://bugs.freedesktop.org/show_bug.cgi?id=57620 glib/demo/text.c | 2 -- 1 file changed, 2 deletions(-) commit 8e5ae33bc63eca5297dea12fc281ba223f5be09a Author: Hib Eris Date: Sat Jun 23 22:44:22 2012 +0200 glib-demo: Fix warning "operation on 'page' may be undefined [-Wsequence-point]" https://bugs.freedesktop.org/show_bug.cgi?id=57620 glib/demo/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c6f98d62b885e1d7f6ce1f265d4a87dca36494de Author: Hib Eris Date: Sat Jun 23 22:38:35 2012 +0200 glib-demo: Remove unused variable slice_selector https://bugs.freedesktop.org/show_bug.cgi?id=57620 glib/demo/render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit da56d280e2a51229c93117d8b537897ba63296cf Author: Hib Eris Date: Sat Jun 23 22:36:29 2012 +0200 glib-demo: Remove unused variable region https://bugs.freedesktop.org/show_bug.cgi?id=57620 glib/demo/selections.c | 1 - 1 file changed, 1 deletion(-) commit c792e59064018e0fd899f32080489419517f2bbe Author: Hib Eris Date: Sat Jun 23 22:34:44 2012 +0200 glib-demo: Do not use 'text' uninitialized https://bugs.freedesktop.org/show_bug.cgi?id=57620 glib/demo/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5a8f7eda14030436e6905dd826e72cabbcf0e5f Author: Hib Eris Date: Sat Jun 23 22:26:53 2012 +0200 glib-demo: Fix warning on unused variable selection https://bugs.freedesktop.org/show_bug.cgi?id=57620 glib/demo/layers.c | 1 - 1 file changed, 1 deletion(-) commit 4ceb3f4f4ca0092e79bb36723a7332b071491666 Author: Hib Eris Date: Sat Jun 23 18:36:12 2012 +0200 glib-demo: Fix warnings on unused variables https://bugs.freedesktop.org/show_bug.cgi?id=57620 glib/demo/annots.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 5c5945d163fe406960ccc2e3a71882722b9e69d1 Author: Hib Eris Date: Tue Nov 27 19:21:34 2012 +0100 Enable compiler warnings for C code Compilation of glib/demo uses a C compiler, thus compiler warnings should be enabled in the CFLAGS variable. configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 55940e989701eb9118015e30f4f48eb654fa34c4 Author: Pino Toscano Date: Tue Nov 27 16:05:15 2012 +0100 fix my previous GooString::insert fix we need only to move the characters after the specified position, not all of them extend qt4's check_goostring with few more checks covering this (and the previous) fix goo/GooString.cc | 2 +- qt4/tests/check_goostring.cpp | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) commit dcbc9686d97f4f6596c43d1f701207278c25f8eb Author: Pino Toscano Date: Mon Nov 26 14:44:21 2012 +0100 glib/cmake: Include Gio-2.0 for introspection Fixes g-ir-scanner warnings: poppler-document.cc:257: Warning: Poppler: poppler_document_new_from_stream: argument stream: Unresolved type: 'GInputStream*' poppler-document.cc:257: Warning: Poppler: poppler_document_new_from_stream: argument cancellable: Unresolved type: 'GCancellable*' poppler-document.cc:315: Warning: Poppler: poppler_document_new_from_gfile: argument file: Unresolved type: 'GFile*' poppler-document.cc:315: Warning: Poppler: poppler_document_new_from_gfile: argument cancellable: Unresolved type: 'GCancellable*' https://bugs.freedesktop.org/show_bug.cgi?id=56218 folloup of c84753e12029fcc6113f80dedc9a943ce1deb214 glib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 169e4cb001fa235ca608d3d0b42ea4214161fc2d Author: Pino Toscano Date: Mon Nov 26 14:42:59 2012 +0100 glib/cmake: Show all suppressed introspection scanner warnings https://bugs.freedesktop.org/show_bug.cgi?id=56218 followup of 11a1f6f512a7d7b86defeb5963fa16bc08e3ba1c glib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 62c0dbbe9f1987c78eeb87f248d35e7fd73e968a Author: Albert Astals Cid Date: Mon Nov 26 00:40:57 2012 +0100 Check GooString::insert Checks we don't break what we just fixed with Pino's patch qt4/tests/CMakeLists.txt | 1 + qt4/tests/Makefile.am | 7 ++++++- qt4/tests/check_goostring.cpp | 22 ++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) commit 01e438ca47776075c8171bda090e7d859fd9f620 Author: Adam Reichold Date: Mon Nov 26 00:39:05 2012 +0100 Don't use memcpy to copy classes poppler/Function.cc | 63 +++++++++++++++++++++++++++++++++++++++++++---------- poppler/Function.h | 11 ++++++---- 2 files changed, 59 insertions(+), 15 deletions(-) commit 7ba15d11e56175601104d125d5e4a47619c224bf Author: Pino Toscano Date: Mon Nov 26 00:29:35 2012 +0100 fix GooString::insert() Hi, as reported in a Debian bug [1], it seems GooString::insert could lead to using uninitialized memory. The case is a simple: GooString goo; goo.insert(0, "."); goo.insert(0, "This is a very long long test string"); i.e. basically first insert a single character at position 0, and then a string longer than STR_STATIC_SIZE always at position 0. [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693817 goo/GooString.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 703f85a10cf7ad61d2f2d3a5faf347fdddcb4738 Author: Carlos Garcia Campos Date: Sun Nov 25 12:36:33 2012 +0100 glib: Fix returns tag in PopplerAttachmentSaveFunc api doc glib/poppler-attachment.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52896031783b28cee350ea92c8736e2c2e4e9d33 Author: José Aliste Date: Mon Nov 19 23:47:19 2012 +0100 glib: Add missing ":" at the end of some functions documentation New versions of gir-scanner emit a warning when the : at the end of the function documentation is not found. https://bugs.freedesktop.org/show_bug.cgi?id=56218 glib/poppler-annot.cc | 2 +- glib/poppler-form-field.cc | 10 +++++----- glib/poppler-layer.cc | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) commit 60dfc1a3471f824f40b0bef5b97a7b04bd78e72b Author: Hib Eris Date: Sat Oct 20 10:17:01 2012 +0200 glib: Exclude poppler-input-stream.h from introspection files Fixes warning: poppler-input-stream.h:28: Warning: Poppler: symbol='inputStreamBufSize': Unknown namespace for symbol 'inputStreamBufSize' https://bugs.freedesktop.org/show_bug.cgi?id=56218 glib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c84753e12029fcc6113f80dedc9a943ce1deb214 Author: Hib Eris Date: Sat Oct 20 09:40:09 2012 +0200 glib: Include Gio-2.0 for introspection Fixes g-ir-scanner warnings: poppler-document.cc:257: Warning: Poppler: poppler_document_new_from_stream: argument stream: Unresolved type: 'GInputStream*' poppler-document.cc:257: Warning: Poppler: poppler_document_new_from_stream: argument cancellable: Unresolved type: 'GCancellable*' poppler-document.cc:315: Warning: Poppler: poppler_document_new_from_gfile: argument file: Unresolved type: 'GFile*' poppler-document.cc:315: Warning: Poppler: poppler_document_new_from_gfile: argument cancellable: Unresolved type: 'GCancellable*' https://bugs.freedesktop.org/show_bug.cgi?id=56218 glib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 11a1f6f512a7d7b86defeb5963fa16bc08e3ba1c Author: Hib Eris Date: Sat Oct 20 09:30:05 2012 +0200 glib: Show all suppressed introspection scanner warnings https://bugs.freedesktop.org/show_bug.cgi?id=56218 glib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 16812829a7d4816717731318b1aa1bc3ab5e3935 Author: Jason Crain Date: Mon Aug 27 22:42:11 2012 -0500 Update fill and stroke color in CairoOutputDev::startPage Keep fill_color and stroke_color from falling out of sync with fill_pattern and stroke_pattern. https://bugs.freedesktop.org/show_bug.cgi?id=54526 glib/poppler-page.cc | 2 +- poppler/CairoOutputDev.cc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit c93702bea0718d67660f2255344dcf9b0f502d57 Author: José Aliste Date: Tue Nov 20 11:25:41 2012 +0100 glib: Ensure text is only computed on first render Getting the text on a page could be quite slow on complex pages without structured text. Before this patch, poppler_page_render would reprocess the text each time is called. glib/poppler-page.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit b0297110c455eb18096268b59d6095d428380de5 Author: Jason Crain Date: Wed Nov 21 14:15:59 2012 -0600 glib: check if words end with spaces poppler_page_get_text_layout and poppler_page_get_text_attributes assume that each word ends with a space or newline, causing them to become mismatched from the text. This adds a check to TextWord::getSpaceAfter. https://bugs.freedesktop.org/show_bug.cgi?id=54504 glib/poppler-page.cc | 62 +++++++++++++++++++++++++++++----------------------- 1 file changed, 35 insertions(+), 27 deletions(-) commit b1dacd1e6ab00eb1976491eb2b45c76671011b38 Author: Albert Astals Cid Date: Fri Nov 23 00:12:24 2012 +0100 0.21.2 CMakeLists.txt | 4 ++-- NEWS | 13 +++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 19 insertions(+), 6 deletions(-) commit 2d2a3af7159945c3fd54f22878e2eb09e019bbc6 Author: Albert Astals Cid Date: Fri Nov 23 00:06:39 2012 +0100 Update copyrights goo/TiffWriter.cc | 1 + goo/TiffWriter.h | 1 + poppler/CairoRescaleBox.cc | 1 + poppler/CairoRescaleBox.h | 38 ++++++++++++++++++++++++++++++++++++++ splash/SplashBitmap.cc | 2 +- 5 files changed, 42 insertions(+), 1 deletion(-) commit e0d0177562ff546b59b3bc8eb68a08dc740d6f6c Author: Adrian Johnson Date: Wed Nov 14 22:44:20 2012 +1030 cairo: Fix crash in CairoImageOutputDev with setSoftMaskFromImageMask Bug 57067 poppler/CairoOutputDev.cc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 5 +++++ 2 files changed, 51 insertions(+) commit f050717f986a6c2833876d14083363a540fa849a Author: Adrian Johnson Date: Wed Nov 14 23:50:10 2012 +1030 cairo: fix soft mask when image resolution != smask resolution Both image and mask are drawn the same size (unit square) regardless of the size of the image data. Bug 57070 poppler/CairoOutputDev.cc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit 87fd5275514b63f13622b79a8fcfe443ccc4f45d Author: Adrian Johnson Date: Sun Nov 11 18:53:12 2012 +1030 cairo: make drawImage work with images > 32767 in width/height Cairo images are limited to 32767 in width and height due to the 16.16 format used by pixman. Make drawImage work with large images by scaling down the image before a cairo image is created. CairoRescaleBox.cc has been turned into a class with a virtual function to get the next row of the source image. This allows the rescale code to access the source data one row at a time to avoid needing to allocate an image the size of the source image. A RescaleDrawImage class derived from CairoRescaleBox has been written to create the cairo source image to be used by drawImage. The code from drawImage that created the cairo source image has been moved into RescaleDrawImage::getSourceImage and RescaleDrawImage::getRow. Bug 56858 poppler/CairoOutputDev.cc | 278 ++++++++++++++++++++++++--------------------- poppler/CairoRescaleBox.cc | 177 +++++++++++++++-------------- poppler/CairoRescaleBox.h | 21 +++- 3 files changed, 258 insertions(+), 218 deletions(-) commit d1c509c48fc422649d0c2c2d70af5e13e3472874 Author: Adrian Johnson Date: Sat Nov 17 10:04:55 2012 +1030 pdftocairo: add tiff support Bug 57006 utils/pdftocairo.1 | 23 ++++++++------ utils/pdftocairo.cc | 88 +++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 83 insertions(+), 28 deletions(-) commit 6d3fe48cf30b298b4436462904d781ea441c1f3d Author: Adrian Johnson Date: Sat Nov 17 10:03:22 2012 +1030 tiff: remove splash dependency and add RGBA support Bug 57006 goo/TiffWriter.cc | 47 +++++++++++++++++++---------------------------- goo/TiffWriter.h | 13 ++++++++++--- splash/SplashBitmap.cc | 23 +++++++++++++++++++++-- 3 files changed, 50 insertions(+), 33 deletions(-) commit 15f600a5702788f7e5b91cd67bc2438179921939 Author: Albert Astals Cid Date: Thu Nov 15 22:17:27 2012 +0100 Don't do a check for sanity that then we don't use Fixes bugs 56753 and 51684 fofi/FoFiTrueType.cc | 26 -------------------------- 1 file changed, 26 deletions(-) commit c7e3c2d7087e4fc36564ba7bd55e27e100e0a5e5 Author: Albert Astals Cid Date: Wed Nov 14 14:58:45 2012 +0100 Remove unused code fofi/FoFiTrueType.cc | 658 ------------------------------------------- fofi/FoFiTrueType.h | 11 +- splash/SplashFTFontEngine.cc | 42 +-- 3 files changed, 2 insertions(+), 709 deletions(-) commit 06951f529e6514a0c26d6d821ab5fab0920a7cf3 Author: Albert Astals Cid Date: Tue Nov 13 23:37:22 2012 +0100 Simplify >= 0 ifs for unsigned cpp/poppler-global.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit fa813adc3f7b7ee3cc819f1e0cb85e01f13c2c01 Author: Albert Astals Cid Date: Tue Nov 13 23:37:01 2012 +0100 Remove < 0 ifs for unsigned splash/SplashFTFont.cc | 8 -------- 1 file changed, 8 deletions(-) commit 1969bcd693289eba1138fcaa74a684cb3ff2aefc Author: Albert Astals Cid Date: Tue Nov 13 23:36:40 2012 +0100 Remove unused members poppler/Gfx.cc | 3 --- poppler/Gfx.h | 5 +---- 2 files changed, 1 insertion(+), 7 deletions(-) commit 3a6e5ed5e28b6113696a7ae60b0b85d7097eb731 Author: Albert Astals Cid Date: Tue Nov 13 23:35:53 2012 +0100 Remove >= 0 checks for unsigned variables utils/HtmlFonts.cc | 6 +++--- utils/HtmlFonts.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit 0dcc2d711810dd64aa8d8721ce53a6b72e12c47c Author: Albert Astals Cid Date: Tue Nov 13 23:35:10 2012 +0100 Remove unused var utils/pdfinfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1fc97862d30bf723135310bfc8701e6788bfd284 Author: Albert Astals Cid Date: Tue Nov 13 23:24:19 2012 +0100 size can't be smaller than 0 because it's a size_t goo/gmem.cc | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) commit bb801a9b889bc0e62cf8b853c26cc6636b4af9a1 Author: Albert Astals Cid Date: Tue Nov 13 22:51:17 2012 +0100 Removed unused var utils/pdfinfo.cc | 1 - 1 file changed, 1 deletion(-) commit fd651fb49653e89d96b032e010a7d8e891536bb0 Author: Albert Astals Cid Date: Mon Nov 12 00:42:49 2012 +0100 Parse the args (so that -v says vesion only) Fixes bug #56817 utils/pdfunite.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7e2e9567f51d01be9a88848e1141c6d4f0f768a1 Author: Albert Astals Cid Date: Fri Nov 9 20:02:25 2012 +0100 0.21.1 CMakeLists.txt | 4 ++-- NEWS | 14 ++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- 8 files changed, 22 insertions(+), 8 deletions(-) commit 98b7cfd289abb53a745a88d6ec99e95df477fc8f Merge: 40efa72 d254174 Author: Albert Astals Cid Date: Fri Nov 9 00:38:19 2012 +0100 Merge remote-tracking branch 'origin/poppler-0.20' Conflicts: poppler/Form.cc commit 40efa72987ebf62cbf2c761c10a209e2e6be612e Author: Fabio D'Urso Date: Sun Nov 4 11:20:29 2012 +0100 Replaced forward declaration of enum CryptAlgorithm with a proper #include Forward-declaring enums is illegal. It hasn't caused problems so far because XRef.h includes Object.h, which in turn includes Stream.h, where the enum is defined. Therefore, enum is alreadly defined when the compiler reaches that line. To avoid future issues, I've replaced it with a proper #include "Stream.h" (which expands to nothing as Stream.h has already been included at that point). I've also added a #include in XRef.h because it references enum CryptAlgorithm too. Also in this case, it expands to nothing. poppler/PDFDoc.h | 2 +- poppler/XRef.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 0f7c17d7f92d4cdfbd8816dba666aeed924d8bc2 Author: Fabio D'Urso Date: Fri Nov 2 10:54:17 2012 +0100 qt4: Export information about the document form type This patch also wraps the code that checks the form type and moves it from pdfinfo to the Catalog class. poppler/Catalog.cc | 19 +++++++++++++++++++ poppler/Catalog.h | 9 +++++++++ qt4/src/poppler-document.cc | 16 ++++++++++++++++ qt4/src/poppler-qt4.h | 18 ++++++++++++++++++ utils/pdfinfo.cc | 19 ++++++++++--------- 5 files changed, 72 insertions(+), 9 deletions(-) commit f3f5a166bcd16b6f2cb516cceb2b3f41b6faf0b4 Author: Fabio D'Urso Date: Fri Nov 2 01:53:24 2012 +0100 Editable FormFieldChoice: Clear editedChoice when one of the predefined option is selected This patch clears the user-entered text when the user interacts with predefined options. poppler/Form.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) commit ddcd5dc0ceecc02f0d4f740cb6c9b557dfd33c74 Author: Fabio D'Urso Date: Thu Nov 1 00:58:51 2012 +0100 FormFieldChoice ctor: Added support to recognize user strings as /V value Fixes http://lists.freedesktop.org/archives/poppler/2012-October/009688.html poppler/Form.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 1302bf52bba7e6446f01358240a4b5b583e196a9 Author: Fabio D'Urso Date: Wed Oct 31 19:56:37 2012 +0100 FormFieldChoice ctor: Stop scanning if /V is a string and the corresponding option has been identified poppler/Form.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit d254174e08146115ad04ac1f1bf82bb26e56c684 Author: Fabio D'Urso Date: Wed Oct 31 16:57:56 2012 +0100 FormFieldChoice::updateSelection: Fixed wrong loop condition poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 401de95f5ab42ab0f5d8fd92d76b5def50f84a2b Author: Fabio D'Urso Date: Wed Oct 31 19:43:51 2012 +0100 FormFieldChoice ctor: Look for selected options in /I instead of /V if /I is available Since /I stores the indices of the selected options, it can distinguish duplicate option (i.e. options with the same name/export value). poppler/Form.cc | 71 ++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 42 insertions(+), 29 deletions(-) commit cfd3a46a857100cb634e18192b762e7342165348 Author: Fabio D'Urso Date: Wed Oct 31 15:44:32 2012 +0100 FormFieldChoice: Handle /V values containing the export value instead of the option name According to the PDF spec, /V should always contain an "option name" and never an "export value" if /Opt is an array of couples. However, it seems that acroread works the other way round: it is able to identify selected options only if they are referred by their export value instead of the option name. With this patch, we mimic this behavior. poppler/Form.cc | 49 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 15 deletions(-) commit ce99940bcac0447f32ee2ad46efb09af93989c12 Author: Fabio D'Urso Date: Sat Oct 13 00:13:33 2012 +0200 FormFieldChoice::updateSelection: Write /I too This improves handling of choice fields containing two or more entries with the same name, and also makes sure that the previous value of /I gets updated (failing to update it results in acroread still showing the old selection). poppler/Form.cc | 50 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 36 insertions(+), 14 deletions(-) commit 102553e2104a1b223c8ac924aa6702829adebbdb Author: Fabio D'Urso Date: Wed Oct 31 16:57:56 2012 +0100 FormFieldChoice::updateSelection: Fixed wrong loop condition poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d7522ea1d2e66beef64f705e8986142f15fcf613 Author: Fabio D'Urso Date: Wed Oct 31 15:26:37 2012 +0100 FormFieldChoice ctor: Don't convert "human-readable" option names to unicode Despite that comment, they're not meant to be read by humans only, but they are also used as option identifiers. This patch stops poppler from forcing them to be unicode. Instead, they now stay the same encoding as their corresponding /Opt entry. This fixes poppler not being able to recognize selected entries in documents produced by poppler itself: previously, the /V value was always written in Unicode encoding, and therefore it was very often not binary-equal to the corresponding /Opt entry. Now the /V value is always binary-equal to the corresponding /Opt entry. poppler/Form.cc | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) commit da08ebeee241198907378c6461721fddb5106875 Author: Adrian Johnson Date: Sun Oct 28 12:13:22 2012 +1030 Don't allow invalid unicode to be passed to backends poppler/CharCodeToUnicode.cc | 11 +++++++++-- poppler/UTF.cc | 11 +++++++++++ poppler/UTF.h | 4 ++++ 3 files changed, 24 insertions(+), 2 deletions(-) commit 9f92feda5eff9b2542c64349f33ae3cf250e7f4b Author: Thomas Freitag Date: Fri Nov 2 23:05:55 2012 +0100 Memory leak in CharCodeToUnicode Bug #54702 poppler/CharCodeToUnicode.cc | 2 ++ 1 file changed, 2 insertions(+) commit ef11b4f0e642dff0be02bf3327eb56bf0b364847 Author: Thomas Freitag Date: Fri Nov 2 22:44:27 2012 +0100 Implement overprint in qt interface With minor api fixes by me (Albert Astals Cid) qt4/src/poppler-document.cc | 23 ++++++++++++--- qt4/src/poppler-page.cc | 38 +++++++++++++----------- qt4/src/poppler-private.h | 69 ++++++++++++++++++++++++++++---------------- qt4/src/poppler-qt4.h | 11 ++++++- splash/SplashBitmap.cc | 70 +++++++++++++++++++++++++++++++++++++++++++++ splash/SplashBitmap.h | 5 +++- 6 files changed, 169 insertions(+), 47 deletions(-) commit ae8fc0cbfc6123189e17b3cf1286e0540f181646 Author: Adrian Johnson Date: Tue Oct 30 21:22:04 2012 +1030 cairo: support parameterized Gouraud shading Bug 56463 poppler/CairoOutputDev.cc | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit 3be4e835d765f2f060e2a2e07dd23905c3212cdd Author: Pino Toscano Date: Wed Oct 24 18:37:06 2012 +0200 dos2unix utils/pdftoppm.cc | 876 +++++++++++++++++++++++++++--------------------------- 1 file changed, 438 insertions(+), 438 deletions(-) commit 77a980472e76b568346a49057b0217111a14a4cd Merge: 74d6217 46fb365 Author: Albert Astals Cid Date: Tue Oct 23 00:23:53 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit 46fb3653c7ae44c34d12d799df8f70d649eaa995 Author: Albert Astals Cid Date: Tue Oct 23 00:22:55 2012 +0200 Fix the or-ing of flags qt4/src/poppler-document.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 74d6217ba164fdfe263b4edac8047b60506e39a6 Author: Carlos Garcia Campos Date: Sun Oct 21 17:48:57 2012 +0200 regstest: Add print_test_result_ln() and use it for failed test results To make sure they are always shown. regtest/Printer.py | 3 +++ regtest/TestRun.py | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) commit 4e9b8d2cca44241a501bb8095b3980d17fcda6c5 Author: Carlos Garcia Campos Date: Sun Oct 21 17:48:22 2012 +0200 regtest: Do not rewrite lines in verbose mode regtest/Printer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2a25264afe3c59931f6a3638e2d6c6c2e0e5dfba Author: Albert Astals Cid Date: Fri Oct 19 17:22:56 2012 +0200 make static because i can qt4/tests/check_fonts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bc4a54c0a4430216c9aeaf2c3bddbaeef5a004e4 Author: Albert Astals Cid Date: Fri Oct 19 17:22:13 2012 +0200 Compile with clang qt4/tests/check_fonts.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit f38194cfae8f8690bc3767cbdcf140519564366c Merge: 80cf434 5312984 Author: Albert Astals Cid Date: Fri Oct 19 00:02:02 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit 5312984b40355b067001704e9c688ea0a72b1159 Author: Albert Astals Cid Date: Fri Oct 19 00:00:53 2012 +0200 Define the numbers a bit better so gcc in i386 understands them better qt4/tests/check_lexer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 80cf43472e5913f5f64bf73cb4a8ac5a53063f2e Author: Adam Reichold Date: Wed Oct 17 08:27:13 2012 +0200 added accessors for FormWidgetChoice::editChoice property to qt4 frontend qt4/src/poppler-form.cc | 23 +++++++++++++++++++++++ qt4/src/poppler-form.h | 15 +++++++++++++++ 2 files changed, 38 insertions(+) commit 0b3ff2dc4e1ba37dd66f5913b10a9d69e31c40ce Merge: fb5cb0f 528b64b Author: Albert Astals Cid Date: Wed Oct 17 00:28:40 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' Conflicts: CMakeLists.txt NEWS configure.ac cpp/Doxyfile poppler/Annot.cc poppler/Form.h qt4/src/Doxyfile commit 528b64bb077ed37c0d8fc7ae2ef3dc2c0dbb26ca Author: Fabio D'Urso Date: Tue Sep 4 23:10:17 2012 +0200 Free entries in the xref form a linked list: terminate it properly when writing the XRef The last entry must point back to object 0. Previously it was left unitialized and resulted in "-000000001 00000 f" being written in the XRef table. poppler/XRef.cc | 1 + 1 file changed, 1 insertion(+) commit fb5cb0fbdfcd06556661b38b0c598922fff2d759 Author: Fabio D'Urso Date: Thu Oct 4 11:20:42 2012 +0200 Create the 24x24 rectangle for text annotation icons from the top-left corner instead of bottom-left poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 35c07fe40d7b18e19f6ef0f5615f9f5ac8195cf7 Author: Fabio D'Urso Date: Tue Oct 9 15:24:02 2012 +0200 AnnotWidget: Avoid repeatedly deleting and creating xref entries for appearance streams Previously updating the appearance stream always involved deleting the old stream's xref entry and creating a new one. Since xref entry deletion causes the generation number to be incremented, this behavior caused the generation number to quickly rise during user input. This patch stops it by reusing the same entry as the old appearance stream in case of repeated modifications. poppler/Annot.cc | 40 ++++++++++++++++++++++++++++------------ poppler/Annot.h | 1 + 2 files changed, 29 insertions(+), 12 deletions(-) commit 2127a977bbe9985aa58561116508ad4f08430a2c Author: Fabio D'Urso Date: Tue Oct 9 12:49:26 2012 +0200 Generate and write the appearance stream in AnnotWidget::updateWidgetApperance() Note: At the moment the old appearance is deleted and a *new* xref entry is created every time AnnotWidget::updateWidgetApperance() is called. poppler/Annot.cc | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) commit 0446e2cc1073f4579a90284d28bc5872e46e0536 Author: Fabio D'Urso Date: Tue Oct 9 10:47:40 2012 +0200 Killed FormField::isModified() in favor of a new AnnotWidget callback Instead of having to ask FormField from AnnotWidget::draw if the widget's appearance needs to be rebuilt, now AnnotWidget gets notified of changes via the new AnnotWidget::updateAppearanceStream() callback. poppler/Annot.cc | 16 ++++++++++------ poppler/Annot.h | 1 + poppler/Form.cc | 52 ++++++++++++++++++++++++++++++++++++++-------------- poppler/Form.h | 12 +++++++++--- 4 files changed, 58 insertions(+), 23 deletions(-) commit 68d732ab2d55ae15e194ececfffa753977fae84c Author: Fabio D'Urso Date: Tue Oct 9 15:24:02 2012 +0200 AnnotWidget: Avoid repeatedly deleting and creating xref entries for appearance streams Previously updating the appearance stream always involved deleting the old stream's xref entry and creating a new one. Since xref entry deletion causes the generation number to be incremented, this behavior caused the generation number to quickly rise during user input. This patch stops it by reusing the same entry as the old appearance stream in case of repeated modifications. poppler/Annot.cc | 40 ++++++++++++++++++++++++++++------------ poppler/Annot.h | 1 + 2 files changed, 29 insertions(+), 12 deletions(-) commit e2993cc9551dc7521528904646f941c9747473f7 Author: Fabio D'Urso Date: Tue Oct 9 12:49:26 2012 +0200 Generate and write the appearance stream in AnnotWidget::updateWidgetApperance() Note: At the moment the old appearance is deleted and a *new* xref entry is created every time AnnotWidget::updateWidgetApperance() is called. poppler/Annot.cc | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) commit df924493922e8c0f7b1e19c2847d33b28a098913 Author: Fabio D'Urso Date: Tue Oct 9 10:47:40 2012 +0200 Killed FormField::isModified() in favor of a new AnnotWidget callback Instead of having to ask FormField from AnnotWidget::draw if the widget's appearance needs to be rebuilt, now AnnotWidget gets notified of changes via the new AnnotWidget::updateAppearanceStream() callback. poppler/Annot.cc | 16 ++++++++++------ poppler/Annot.h | 1 + poppler/Form.cc | 52 ++++++++++++++++++++++++++++++++++++++-------------- poppler/Form.h | 12 +++++++++--- 4 files changed, 58 insertions(+), 23 deletions(-) commit 0a5bda01ace9f8576d687c5a28feb5cf09b48a92 Author: Albert Astals Cid Date: Sun Oct 14 23:05:27 2012 +0200 New/old header for cmake buildsystem CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 6d46f0b477143eb0df09f718e96dd2ff2a7dd61b Author: Hib Eris Date: Sat Sep 22 20:50:07 2012 +0200 Split our UTF.h into xpdf based UTF8.h and a poppler specific UTF.h poppler/GlobalParams.cc | 2 +- poppler/Makefile.am | 1 + poppler/UTF.h | 79 +--------------------------------------------- poppler/UTF8.h | 84 +++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 87 insertions(+), 79 deletions(-) commit 03cbba935c90ce9a6d9ad44f7cda4901c2f81f2e Author: Hib Eris Date: Sat Sep 22 19:58:40 2012 +0200 Do not use mapUTF8() directly in CairoOutputDev poppler/CairoOutputDev.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit f219bdbcadcb0334d595bbd9afd01f00c37d1978 Author: Hib Eris Date: Sun Oct 14 22:59:55 2012 +0200 Make sure array index is >= 0 Fixes this warning on array subscript type: UTF.cc: In function 'int TextStringToUCS4(GooString*, Unicode**)': UTF.cc:99:33: warning: array subscript has type 'char' [-Wchar-subscripts] poppler/UTF.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 65a2555607e03c94d77ae9ebdb34ab6d4f8844b6 Author: Fabio D'Urso Date: Fri Oct 12 23:54:57 2012 +0200 FormFieldChoice ctor: Fixed wrong index variable It caused a crash if multiple items are initially selected. poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 710bb3383306a9aa6debbfe1364029ee12a15576 Author: Fabio D'Urso Date: Fri Oct 12 23:54:57 2012 +0200 FormFieldChoice ctor: Fixed wrong index variable It caused a crash if multiple items are initially selected. poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ce18c9b3d5251305eb76d294fdf4b4de9382b3a4 Author: Albert Astals Cid Date: Wed Oct 10 19:54:57 2012 +0200 0.20.5 CMakeLists.txt | 2 +- NEWS | 15 +++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 19 insertions(+), 4 deletions(-) commit b112602334a5de84ae30c2e90d9bc6d4609f7f96 Author: Tobias Koening Date: Mon Oct 8 22:32:34 2012 +0200 [qt4] make LinkRendition properties available Bug #55378 poppler/Link.cc | 34 +++++++++++++++++++----- poppler/Link.h | 17 +++++++++--- qt4/src/poppler-annotation.cc | 2 -- qt4/src/poppler-annotation.h | 1 + qt4/src/poppler-link.cc | 60 ++++++++++++++++++++++++++++++++++++++++--- qt4/src/poppler-link.h | 57 +++++++++++++++++++++++++++++++++++++--- qt4/src/poppler-page.cc | 8 +++++- 7 files changed, 158 insertions(+), 21 deletions(-) commit 6d6bd660dbb652f2f3e87c81c55a87d1fc11ec70 Author: Carlos Garcia Campos Date: Sat Oct 6 10:26:55 2012 +0200 glib: chain up finalize to the parent class This was missing in some of the classes. https://bugs.freedesktop.org/show_bug.cgi?id=55521 glib/poppler-document.cc | 6 ++++++ glib/poppler-page.cc | 2 ++ 2 files changed, 8 insertions(+) commit ac3875a9e7f2f4f31881d3d1b3081f2adaef65a1 Author: Carlos Garcia Campos Date: Sat Oct 6 10:26:55 2012 +0200 glib: chain up finalize to the parent class This was missing in some of the classes. https://bugs.freedesktop.org/show_bug.cgi?id=55521 glib/poppler-document.cc | 6 ++++++ glib/poppler-page.cc | 2 ++ 2 files changed, 8 insertions(+) commit 042d332c1c9f628e3bfaabf3da9e04436a8677b5 Merge: 7b9a9f8 e044814 Author: Albert Astals Cid Date: Thu Oct 4 00:53:01 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit e044814c0657a6c5b44939a01dcbdc8d83396d43 Author: Thomas Freitag Date: Thu Oct 4 00:51:04 2012 +0200 Do not render invalid outlines Bug #55573 splash/SplashFTFont.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 7b9a9f809d07303fe5adff9210731613df8b2adf Merge: 3b0962c 9451b7a Author: Albert Astals Cid Date: Wed Oct 3 01:24:04 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit 9451b7a61b6dcaa6c4a76f3efda82f1ebd408654 Author: Albert Astals Cid Date: Wed Oct 3 01:21:45 2012 +0200 Fix crash when parsing some unknown colorspaces Can't do csObj->getName if csObj is a dict poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3b0962cd14b15ce92c0916f58ed5ba00aebe80b0 Merge: a9d7ea2 42908e6 Author: Albert Astals Cid Date: Tue Oct 2 19:51:48 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit 42908e6e72d95cec0f70b202c4b1c23f7e47c2a4 Author: Lu Wang Date: Tue Oct 2 19:31:04 2012 +0200 support automake-1.12 in autogen.sh Bug #55541 autogen.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit a9d7ea2eb549acbf6ca7e2a299ffed46ff3d8758 Merge: 397d7b4 9bb6845 Author: Albert Astals Cid Date: Wed Sep 26 15:31:29 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' Conflicts: poppler/XRef.cc commit 9bb68456de41d24db7acf61204bc3f4e36e98505 Author: Albert Astals Cid Date: Wed Sep 26 15:13:47 2012 +0200 Initilize rootNum Fixes valgrind warnings about uninitialized uses poppler/XRef.cc | 1 + 1 file changed, 1 insertion(+) commit 397d7b4597ad4bc8ab41fd7a99078473a3c93eb0 Merge: 6013d49 2c0f70a Author: Albert Astals Cid Date: Wed Sep 26 15:00:04 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit 2c0f70afff03798165c2b609e115dc7e9c034c57 Author: Thomas Freitag Date: Wed Sep 26 14:58:05 2012 +0200 More crash fixes for broken documents poppler/JPXStream.cc | 97 ++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 82 insertions(+), 15 deletions(-) commit 78558d24692c68212da35a88deb68069c5a06d81 Author: Thomas Freitag Date: Wed Sep 26 14:32:05 2012 +0200 Fix more crashes in broken files solves 1258.pdf.SIGSEGV.dee.288 and 1255.pdf.asan.38.285, extends 1043.pdf.asan.47.50 and 557.pdf.asan.47.894 poppler/GfxState.cc | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) commit e8822c0f3a46195ec7c6e55c556dd0c5716be742 Author: Albert Astals Cid Date: Wed Sep 26 14:21:46 2012 +0200 Add unlikelys poppler/Stream.cc | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit 31874f2e065b0d68f726ef404de98f42489c80c7 Author: Thomas Freitag Date: Wed Sep 26 14:17:00 2012 +0200 Less crashes in broken files rebased patch for 1001.pdf.asan.2a.4, extends patch for 100.pdf.asan.38.2 poppler/Stream.cc | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 98 insertions(+), 2 deletions(-) commit 81b1d9207840ec1e66eef469b29a36a8556b7265 Author: Albert Astals Cid Date: Wed Sep 26 13:38:54 2012 +0200 Add some unlikelys poppler/JBIG2Stream.cc | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 9ae1184e3049cabc695c8645a10eaef748b6e641 Author: Thomas Freitag Date: Wed Sep 26 12:32:26 2012 +0200 More fixes against broken files solves 121.pdf.asan.6f.235, extends 682.pdf.SIGFPE.f3.1033 and 569.pdf.SIGSEGV.c1.907, extends Patch for 829. and 839. asan and sigsegv series poppler/JBIG2Stream.cc | 105 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 93 insertions(+), 12 deletions(-) commit 1d72c14b3877ae730ac0aa92f36923269e8a2004 Author: Thomas Freitag Date: Wed Sep 26 11:48:14 2012 +0200 Fix crash in 158.pdf.asan.d.451 poppler/SplashOutputDev.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit 6013d49d852c58c4c23f787fd7dd64731c0918f1 Merge: b97c28c 671df5d Author: Albert Astals Cid Date: Wed Sep 26 00:53:28 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit 671df5dad0732882ceb9e053c3f947dfe0597f3d Author: Lu Wang Date: Wed Sep 26 00:52:32 2012 +0200 Don't close the stream if it's not a stream poppler/PSOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b97c28c42a18d1c2a8fabea52c092d948811d582 Merge: 32bb874 f8c116f Author: Albert Astals Cid Date: Tue Sep 25 23:22:23 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' Conflicts: qt4/src/Makefile.am commit f8c116f1e0fbf3516ce228fbb34c33d6b618bed0 Author: Albert Astals Cid Date: Tue Sep 25 23:07:55 2012 +0200 Add LCMS_FLAGS Fixes compilation when lcms is on non standard locations Bug #55326 qt4/src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 32bb87419c360a3b14c717c0f385198b70a1b2e7 Author: Carlos Garcia Campos Date: Sun Sep 23 18:15:13 2012 +0200 regtest: Reduce the noise of the default output when running tests Show permanent information only about failed tests, without the details about the failing pages. Previous verbose output is available passing --verbose command line output. regtest/Printer.py | 96 +++++++++++++++++++++++++++++++++++++ regtest/TestReferences.py | 8 ++-- regtest/TestRun.py | 35 +++++++------- regtest/backends/__init__.py | 13 +++-- regtest/commands/create-refs.py | 3 +- regtest/commands/find-regression.py | 5 +- regtest/commands/run-tests.py | 3 +- regtest/main.py | 3 ++ 8 files changed, 137 insertions(+), 29 deletions(-) commit ca6afce24aac2ef9d88e215177b11760f7468a6d Author: Lu Wang Date: Fri Sep 21 21:33:05 2012 +0200 Do not call drawing routines if we don't need non text Bug #54617 poppler/Gfx.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 70030b91ce2280f23c3e5adf863f1d336c9c5faf Author: Albert Astals Cid Date: Fri Sep 21 08:18:29 2012 +0200 Increase sonames CMakeLists.txt | 2 +- glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Makefile.am | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit 2323e38f1a54cb58ec31b4cf15e6c2b1db742ca5 Author: Albert Astals Cid Date: Fri Sep 21 08:12:52 2012 +0200 Version increase CMakeLists.txt | 4 ++-- configure.ac | 4 ++-- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 11a9a620276d199701be5811eb63687ace85ace1 Author: Albert Astals Cid Date: Fri Sep 21 08:10:15 2012 +0200 Drop the s from AdditionalActionsType qt4/src/poppler-annotation-private.h | 5 +++-- qt4/src/poppler-annotation.cc | 6 +++--- qt4/src/poppler-annotation.h | 6 +++--- 3 files changed, 9 insertions(+), 8 deletions(-) commit 028e0e7ddf8c30d311feb937385ef21acd34a52d Author: Albert Astals Cid Date: Thu Sep 20 18:13:08 2012 +0200 0.21.0 news NEWS | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit 2f2d053352e04e434d83dd93dfdbd08ab5b23f2e Author: Albert Astals Cid Date: Thu Sep 20 18:12:57 2012 +0200 Update copyrights poppler/Annot.cc | 3 ++- poppler/Annot.h | 1 + poppler/TextOutputDev.cc | 2 +- poppler/UTF.h | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) commit 9fad83913791478b63fc76360f1a13e955cdcf4a Author: Albert Astals Cid Date: Mon Sep 17 23:15:10 2012 +0200 Move to init poppler/XRef.cc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit c470a3929c0a02b8a543fcada22138ab1fc18176 Author: Thomas Freitag Date: Mon Sep 17 23:13:48 2012 +0200 Support encrypted pdf files in pdfseparate poppler/PDFDoc.cc | 35 ++++++++++++++++++++++++++++++++--- poppler/XRef.cc | 15 +++++++++++++++ poppler/XRef.h | 2 ++ utils/pdfseparate.cc | 4 ---- 4 files changed, 49 insertions(+), 7 deletions(-) commit 9b613dcf3c77bc2801d1125dc9bbc5a4dd04e16b Author: Albert Astals Cid Date: Mon Sep 17 23:12:43 2012 +0200 Compile goo/TiffWriter.cc | 5 +++++ 1 file changed, 5 insertions(+) commit fb5c383bd5be7090fc78380b4bb3244c3316c0cd Author: William Bader Date: Mon Sep 17 00:03:49 2012 +0200 Make pdftoppm -tiff -overprint work Bug #54896 goo/TiffWriter.cc | 13 ++++++++++++- goo/TiffWriter.h | 4 +++- 2 files changed, 15 insertions(+), 2 deletions(-) commit 3794916572a0531b10ee57c9f189497489b90bc8 Author: Albert Astals Cid Date: Sun Sep 16 17:53:47 2012 +0200 Fix the siblings field correctly Fixes KDE bug #302334 poppler/Form.cc | 45 +++++++++++++++++++++++++-------------------- poppler/Form.h | 24 +++++++++++++----------- qt4/src/poppler-form.cc | 13 ++++++++++--- 3 files changed, 48 insertions(+), 34 deletions(-) commit e8b6d2ac3a874dd5de166b52625fa628004ea5fe Merge: 7cb4072 9f51baa Author: Albert Astals Cid Date: Sun Sep 16 14:08:34 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit 9f51baaf7a86680f2195ecdb978f1eb59a8aa734 Author: Albert Astals Cid Date: Sun Sep 16 14:07:45 2012 +0200 Rework the #ifdef so that i don't get a gcc warning poppler/strtok_r.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b63049f97629a93ec346033e0ec56fc11f34c4fe Author: Albert Astals Cid Date: Sun Sep 16 14:05:01 2012 +0200 Forgot to add the new test to autotools qt4/tests/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 7cb40726f9e80ee2b2f27ca6ce151b46c6ec091d Merge: e980d11 c6d7084 Author: Albert Astals Cid Date: Sun Sep 16 13:50:19 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit c6d7084d316e94b5b042b086f5440f8543ff5947 Author: Albert Astals Cid Date: Sun Sep 16 13:48:51 2012 +0200 Fix parsing of numbers -2147483648 is an integer -2147483649 is a real poppler/Lexer.cc | 14 +++++- qt4/tests/CMakeLists.txt | 1 + qt4/tests/check_lexer.cpp | 118 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 131 insertions(+), 2 deletions(-) commit e980d11061c19f13c75f93506e07903b4d1c7f97 Merge: b72c02d 3658088 Author: Albert Astals Cid Date: Sat Sep 15 20:41:50 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit 365808837080574080b4f8da079124c172fb2123 Author: Alexey Pavlov Date: Sat Sep 15 20:38:10 2012 +0200 Fix build using mingw64 with winpthread strtok_r in winpthread is declared as a macro, that is why the error happens. Therefore, it is necessary to check whether the macro __WINPTHREADS_VERSION is declared. Bug #54851 poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- poppler/strtok_r.cpp | 16 +++++++++++++++- 3 files changed, 17 insertions(+), 3 deletions(-) commit b72c02d1a2ec8180b3ddfd2bb2b462c0189377d5 Author: Albert Astals Cid Date: Thu Sep 13 19:56:45 2012 +0200 Remove the fonts loop sometimes it's very slow and doesn't really add much qt4/tests/test-poppler-qt4.cpp | 4 ---- 1 file changed, 4 deletions(-) commit cb93d51ccb6b1f6938946ae5d38fb9817005fd7a Author: Albert Astals Cid Date: Wed Sep 12 00:12:07 2012 +0200 Make gcc happy It is stupid and can't see that we only use them when we init them and complains they might be used un-initialized poppler/TextOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit 3349a8dd7e0469cc5b5aaa8dd929c6078183ef86 Author: Thomas Freitag Date: Wed Sep 12 00:04:45 2012 +0200 Splash: Avoid bogus memory error for tilingPattern just return gFalse if the resulting tiling pattern bitmap reaches a memory limit and so the Gfx implemention of tiling patterns will be used. I think that this is an acceptable approach also concerning performance, because it would take also a while to paint such a huge bitmap and then draw it to splash. poppler/SplashOutputDev.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 2e77799a1668f949612f551425d0665c59ff1d93 Author: Thomas Freitag Date: Tue Sep 11 23:33:25 2012 +0200 Splash: Implement DeviceN support Bug #53140 Some copying from the bug tracker To explain it a little bit more I copy a few lines from "Patch 8.01 — DeviceN Support (6 colors)" of the Ghent PDF workgroup: "This patch tests the DeviceN capabilities of a workflow. If DeviceN is not handled correctly the colors are converted to CMYK. Instead of the check marks an X will appear in the lower left corner of each image and in the gradient. In addition you could inspect the color separations. The objects should appear only in the Black, Pantone 265C and GWG Green separations as indicated in the captions." Without the patch all DeviceN colors are immediately converted to CMYK (with SPLASH_CMYK). This leads especially to problems, if overprint is used: in overprint mode a CMYK color will knockout the underlying CMYK components, BUT neither any spot colors. But if underlying spot colors are immediately converted to CMYK colors, they will be kocked out then, too! The patch now spends up to four (or up to SPOT_NCOMPS) additional spot colors in the splash bitmap, so the order in the bitmap will be CMYKSTUVCMYKSTUVCMYKSTUV... where S, T, U, V are spot colors (I would use S1,S2, S3, S4 if it's possible to use indexes), and all painting operations are done now in this new device. Only at the end, when we want to store the bitmap in a CMYK or RGB color, the spot colors are converted and their alternate CMYK components are added to the normal CMYK components. According to the PDF spec are PDF writer should use different spot color names if they have a different appearance in their alternate CMYK colorspace. "hasDifferntResultSet" (sorry for the typo) proofs that: if the same spot color name is reused BUT has a different appearance in the alternate colorspace, it will be converted immediately to its alternate colorspace. "createMapping" is used so that getDeviceN (color) returns the components in the correct order according their appearance in the splash bitmap, i.e. the fourth detected spot color must be placed in index 7 of the color array. updateFill- and updateStrokeColorspace are needed to create this mapping at the appropriate place. And they are not called once but everytime the colorspace changed in the PDF (but of course only once in Gfx). The GooList *getSeparationList() is used to store the functions for converting the spot colors to their alternate colorspace in order of their appearance in the splash bitmap. The functions are needed to compare if a spot color with the same name has really the same appearance and at the end when the splash bitmap has to be converted to a CMYK or RGB bitmap (s. ahead). deviceNTransfer is needed simular to rgbTransferX or cmykTransferX if a transfer function is specified in the ExtGState and splash uses the DeviceN8. "Do we really need splashModeDeviceN8?": Do we really need splashModeXBGR8? But kidding aside: splashModeDeviceN8 needs four more components than splashModeCMYK8, so the bitmap size in memory doubles the size of a pure CMYK bitmap, and it is only needed if the PDF uses spot colors. So I think it's a good idea to spend an additional mode and let it up to the calling application and the cirumstances if it wants to use this new mode or not. poppler/Function.cc | 14 + poppler/Function.h | 4 + poppler/GfxState.cc | 341 +++++++++++++++++- poppler/GfxState.h | 41 ++- poppler/SplashOutputDev.cc | 173 ++++++++- poppler/SplashOutputDev.h | 3 + splash/Splash.cc | 255 ++++++++++++- splash/Splash.h | 7 +- splash/SplashBitmap.cc | 115 +++++- splash/SplashBitmap.h | 8 +- splash/SplashState.cc | 30 +- splash/SplashState.h | 3 + splash/SplashTypes.h | 30 +- utils/pdftoppm.cc | 878 ++++++++++++++++++++++----------------------- 14 files changed, 1415 insertions(+), 487 deletions(-) commit cb2ed646c4ef4161e443ee0a377d1111b3be28ff Merge: f3a1b76 3ce4d21 Author: Albert Astals Cid Date: Tue Sep 11 19:29:19 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit f3a1b765bd6a58d327a80feedbe30e1c0792076e Author: Jason Crain Date: Tue Sep 11 19:28:28 2012 +0200 Allow multiple fonts in a TextWord Bug #6923 glib/poppler-page.cc | 49 ++++++----- poppler/TextOutputDev.cc | 224 ++++++++++++++++++++++------------------------- poppler/TextOutputDev.h | 21 ++--- 3 files changed, 145 insertions(+), 149 deletions(-) commit 3ce4d213480471dfd8e307c24c99bf3c6308cd6f Author: Albert Astals Cid Date: Tue Sep 11 19:24:58 2012 +0200 Do not use isnan as it is C99 poppler/TextOutputDev.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4d7a64a23fd4b4b5ee0d47ead8677f374aaaf6c9 Author: Jason Crain Date: Tue Sep 11 19:24:11 2012 +0200 Check for NaN in TextPage::addChar poppler/TextOutputDev.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e79b70ec13ab4d2cce8f245d150fa9329b436658 Author: Tobias Koenig Date: Tue Sep 11 16:39:55 2012 +0200 Make 'additional actions' available in Annotation API of Qt4 frontend Bug #53589 qt4/src/poppler-annotation-private.h | 3 ++ qt4/src/poppler-annotation.cc | 99 +++++++++++++++++++++++++++++++++++- qt4/src/poppler-annotation.h | 68 ++++++++++++++++++++++++- 3 files changed, 168 insertions(+), 2 deletions(-) commit 5f338ea7d01cabc0f8c50690d0bc262d85baa0ed Author: Albert Astals Cid Date: Mon Sep 10 19:47:20 2012 +0200 Fix typo NEWS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5fd691dc58aac817bca81c87c4820afcf53989d1 Author: Albert Astals Cid Date: Mon Sep 10 19:29:01 2012 +0200 0.20.40.20.40.20.40.20.4 CMakeLists.txt | 4 ++-- NEWS | 13 +++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 19 insertions(+), 6 deletions(-) commit 1b40cdd9f863cd3868db85b5ccfa77a8350c56d6 Merge: 6c40a55 b3e86db Author: Albert Astals Cid Date: Mon Sep 10 18:49:52 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit b3e86dbdba82956f125e37f69176072e2d0127f2 Author: Thomas Freitag Date: Sun Sep 9 23:35:45 2012 +0200 Try to find another rootNum if actual rootNum doesn't point to a dict Bug #14303 poppler/XRef.cc | 14 ++++++++++++-- poppler/XRef.h | 4 ++-- 2 files changed, 14 insertions(+), 4 deletions(-) commit 6c40a553a3c8825931c59797059392fd110531cc Merge: 17fc1bf 558a7d9 Author: Albert Astals Cid Date: Sun Sep 9 23:27:40 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit 558a7d9b046bbbe185dea263b48a3cb2664378fc Author: Thomas Freitag Date: Sun Sep 9 23:25:47 2012 +0200 Fix invalid memory access in solves 1066.pdf.asan.38.75 splash/SplashClip.cc | 23 +++++++++++++++++++++++ splash/SplashXPathScanner.cc | 3 +++ 2 files changed, 26 insertions(+) commit d0df8e54512f584ca2b3edbae1c19e167948e5c3 Author: Thomas Freitag Date: Sun Sep 9 23:21:38 2012 +0200 Fix invalid memory access in 1106.pdf.asan.30.120.patch poppler/Function.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 86b89864396a1dcf027e5793e6ac75411977bcf9 Author: Thomas Freitag Date: Sun Sep 9 23:08:49 2012 +0200 Fix crash in 1255.pdf.SIGSEGV.56f.285 poppler/XRef.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 96931732f343d2bbda9af9488b485da031866c3b Author: Thomas Freitag Date: Sun Sep 9 22:47:57 2012 +0200 Fix invalid memory access in 61.pdf.asan.13.95 fofi/FoFiType1C.cc | 25 +++++++++++++++++-------- fofi/FoFiType1C.h | 2 ++ 2 files changed, 19 insertions(+), 8 deletions(-) commit 26917d69c4da6a110db02b120133c36579fbb17c Author: Albert Astals Cid Date: Sun Sep 9 22:23:36 2012 +0200 Add unlikely poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e6a3c797c01aa343f640f2e6f45de5bf379aa8ad Author: Thomas Freitag Date: Sun Sep 9 22:22:59 2012 +0200 Fix wrong memory access in 68.pdf.asan.7.1030 poppler/Gfx.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 48fe18cf277cd2a4e665c74b3a594482f762f4b6 Author: Albert Astals Cid Date: Sun Sep 9 22:09:44 2012 +0200 Fix memory leak poppler/Gfx.cc | 1 + 1 file changed, 1 insertion(+) commit b87aafc0cdb36c3555053f2684c45f1a9d7b2f94 Author: Albert Astals Cid Date: Sun Sep 9 21:42:48 2012 +0200 Add unlikelys to the ifs poppler/DCTStream.cc | 4 ++-- poppler/JBIG2Stream.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit a019eef2f8ca53addd7ccab7f9c47657f4e52286 Author: Thomas Freitag Date: Sun Sep 9 21:41:09 2012 +0200 Fix crash in 1162.pdf.SIGSEGV.28e.182 poppler/DCTStream.cc | 4 ++++ 1 file changed, 4 insertions(+) commit ad7c6ac88f2315c9ce003308d1b4988592d4434b Author: William Bader Date: Sun Sep 9 21:31:58 2012 +0200 Fix crash in 1028.pdf.SIGSEGV.ae6.33 poppler/JBIG2Stream.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit b861af714daee4125e54b250dddf82106f5a8ce8 Author: Albert Astals Cid Date: Sun Sep 9 21:15:06 2012 +0200 Fix memory leak poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17fc1bfa8013cafe3b348f0cc07ef08bf9c7dd9a Merge: e0118be a4f5911 Author: Albert Astals Cid Date: Sun Sep 9 12:52:49 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' commit a4f59113574a8d7460c6ce5000cb09d20fe52b74 Author: Albert Astals Cid Date: Sun Sep 9 12:49:43 2012 +0200 Fix memory leak poppler/Annot.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 28240046f8fe37ca96f9a80cb1ea3a59af9c66f3 Author: Thomas Freitag Date: Sun Sep 9 12:48:26 2012 +0200 Fix crash in 589.pdf.SIGSEGV.8b1.929 poppler/Annot.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit e0118be3ba38bd00fa2a9c20c5b4cd82e820ba0b Merge: 2c41430 ccd3db5 Author: Albert Astals Cid Date: Sat Sep 8 18:15:43 2012 +0200 Merge remote-tracking branch 'origin/poppler-0.20' Conflicts: glib/poppler-document.cc poppler/PDFDoc.cc poppler/XRef.h utils/HtmlFonts.cc commit ccd3db5a7723ddb692f6dc85ed9d0f5e3dde189f Author: Albert Astals Cid Date: Sat Sep 8 18:10:14 2012 +0200 Only complain when the malloc really failed poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c41430732f517d4d57e914a315ba315a2545541 Author: Albert Astals Cid Date: Thu Sep 6 22:12:38 2012 +0200 Add missing licenses goo/grandom.cc | 2 ++ goo/grandom.h | 2 ++ splash/SplashScreen.cc | 1 + utils/pdfinfo.cc | 1 + 4 files changed, 6 insertions(+) commit be88963a5955ac033e7a7d224bdcc4049085a9dc Author: Fabio D'Urso Date: Thu Aug 9 13:18:22 2012 +0200 pdf-fullrewrite: Added support for encrypted documents, checks on output documents, incremental update mode test/CMakeLists.txt | 1 + test/Makefile.am | 3 +- test/pdf-fullrewrite.cc | 354 ++++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 342 insertions(+), 16 deletions(-) commit 381be58e9e0d0e323acbd975a2334eca6d9018fd Author: Fabio D'Urso Date: Sat Aug 4 13:00:06 2012 +0200 pdfinfo: Show info about the encryption algorithm utils/pdfinfo.cc | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit 273e8c896e95b548093159dc8bb14d48ce447053 Author: Fabio D'Urso Date: Wed Aug 15 18:09:02 2012 +0200 Mark object streams as DontRewrite So that they don't get copied in full rewrite mode, because they're not referenced from the XRef table we build, and we already individually write each object they contain. poppler/XRef.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 59db8deaa7b1907831b526de3011dc22d0ffb333 Author: Fabio D'Urso Date: Thu Aug 9 20:08:44 2012 +0200 Mark XRef streams as Unencrypted and DontRewrite - Unencrypted because they are stored in unencrypted form - DontRewrite because they must not be copied in full rewrite mode, because we always build a new XRef table, and existing XRef streams are not referenced any more (ie they become "leaked" objects). Furthermore, since readers know that XRef streams' objects are unencrypted from the fact that they are XRef streams, but these leaked objects are no longer referred as XRef streams, readers would think that they are regularly encrypted objects, resulting in currupt objects. poppler/PDFDoc.cc | 5 +++ poppler/XRef.cc | 126 +++++++++++++++++++++++++++++++++++------------------- poppler/XRef.h | 9 ++-- 3 files changed, 94 insertions(+), 46 deletions(-) commit 116722cc74e267ac44dd5a70924557cdf6f25d02 Author: Fabio D'Urso Date: Sat Aug 4 12:47:22 2012 +0200 Encrypt strWeird streams before writing them in PDFDoc::writeObject poppler/Decrypt.cc | 9 ++++++++- poppler/Decrypt.h | 2 ++ poppler/PDFDoc.cc | 10 ++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) commit 695889c1330ca5b37338b8363dbf233fce936bc6 Author: Fabio D'Urso Date: Sat Aug 4 12:24:25 2012 +0200 Encrypt strings before writing them in PDFDoc::writeString poppler/PDFDoc.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 4ab8e7be536db40db8a1a4af50dad3ba59c49f14 Author: Fabio D'Urso Date: Sat Aug 4 02:06:11 2012 +0200 Propagate encryption parameters to PDFDoc's write functions poppler/PDFDoc.cc | 54 ++++++++++++++++++++++++++++++++++++------------------ poppler/PDFDoc.h | 20 +++++++++++++------- poppler/XRef.cc | 14 ++++++++++++++ poppler/XRef.h | 2 ++ utils/pdfunite.cc | 2 +- 5 files changed, 66 insertions(+), 26 deletions(-) commit 9e43f9a8bcbee9060309b9679dbcc6b501a79cfb Author: Fabio D'Urso Date: Wed Aug 1 16:14:22 2012 +0200 Separated header and footer write commands from the rest of PDFDoc::writeObject Because in next patch I'll need to pass the object's num and gen always, not only if the object's header and footer need to be written. poppler/PDFDoc.cc | 51 +++++++++++++++++++++++++++++++++------------------ poppler/PDFDoc.h | 11 +++++++---- utils/pdfunite.cc | 2 +- 3 files changed, 41 insertions(+), 23 deletions(-) commit 4d19a002801531b07f11382daaf9880e4691a10e Author: Fabio D'Urso Date: Sat Aug 4 01:36:06 2012 +0200 Do not change encrypted documents' ID, not even in case of full rewrite Because we will raw-copy encrypted streams, and the ID is part of the decryption key. poppler/PDFDoc.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 800b2e37d3c4c73147bf9e11d9f38afe2183ab9d Author: Fabio D'Urso Date: Wed Aug 1 14:07:10 2012 +0200 Initial support for saving encrypted documents - Do not refuse to save encrypted documents - Copy the /Encrypt value in the new document's trailer dictionary - Mark indirect objects referred from /Encrypt as not encrypted in XRef::scanSpecialFlags poppler/PDFDoc.cc | 49 ++++++++++++++++++------------------------- poppler/XRef.cc | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- poppler/XRef.h | 16 +++++++++++++- 3 files changed, 96 insertions(+), 31 deletions(-) commit 6647153d47b1d67d2a4d6b90dce2184ab6c7dda6 Author: Fabio D'Urso Date: Thu Aug 9 12:26:53 2012 +0200 Added field XRefEntry::flags, and turned XRefEntry::updated into a flag In next patches I'll add other flags poppler/PDFDoc.cc | 4 ++-- poppler/XRef.cc | 18 +++++++++--------- poppler/XRef.h | 20 +++++++++++++++++++- 3 files changed, 30 insertions(+), 12 deletions(-) commit a284c6c6623587abb7da7e4c171c42e006ea477b Author: Fabio D'Urso Date: Sat Aug 4 01:57:41 2012 +0200 Be able to output overflown integers back Because Lexer.cc:241 can read them, and we must be able to write them back (especially in full rewrite mode). poppler/PDFDoc.cc | 3 +++ 1 file changed, 3 insertions(+) commit 53baea19658a27f15c7ed870a24be82b8219ddfe Author: Fabio D'Urso Date: Sat Aug 4 01:32:08 2012 +0200 FlateStream::unfilteredReset should call str->unfilteredReset() Just like any other FilterStream-derived class does poppler/Stream.cc | 14 +++++++++++--- poppler/Stream.h | 2 ++ 2 files changed, 13 insertions(+), 3 deletions(-) commit 4e5fee4e9156480173f05e7b3d0bdf604127d481 Author: Fabio D'Urso Date: Mon Aug 6 02:08:27 2012 +0200 Initialize AES encryption with random CBC IV data poppler/Decrypt.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 1b008f273359b8df6b64ffa94bb2828e42ffa63e Author: Fabio D'Urso Date: Mon Aug 6 02:08:40 2012 +0200 Replaced srand/rand calls in SplashScreen with grandom calls splash/SplashScreen.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit faff947d8106048b19ba74dd483b90b8cebb16c7 Author: Fabio D'Urso Date: Mon Aug 6 02:06:47 2012 +0200 Added goo/grandom.[cc|h] with POSIX implementation CMakeLists.txt | 2 ++ ConfigureChecks.cmake | 1 + config.h.cmake | 3 +++ configure.ac | 1 + goo/Makefile.am | 6 +++-- goo/grandom.cc | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++ goo/grandom.h | 32 ++++++++++++++++++++++++ 7 files changed, 111 insertions(+), 2 deletions(-) commit af8d05d1ab89b74e307e90aaf19c750528f5f561 Author: Fabio D'Urso Date: Fri Aug 3 12:46:06 2012 +0200 Added encryption support in Decrypt.cc/.h poppler/Decrypt.cc | 222 +++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Decrypt.h | 21 ++++- 2 files changed, 242 insertions(+), 1 deletion(-) commit ba6ff179aa78a42a384166ace2df80101cfbe7b9 Author: Fabio D'Urso Date: Thu Aug 2 18:56:29 2012 +0200 Refactoring of Decrypt.cc/.h in preparation for encryption support poppler/Decrypt.cc | 219 +++++++++++++++++++++++++++-------------------------- poppler/Decrypt.h | 35 ++++++--- 2 files changed, 133 insertions(+), 121 deletions(-) commit cd1ab1e34032d5620140bd0b6b6ec4b74f89ae19 Author: Albert Astals Cid Date: Thu Aug 30 22:36:14 2012 +0200 Update Adrian's copyrights goo/GooString.cc | 1 + poppler/CharCodeToUnicode.cc | 1 + poppler/TextOutputDev.cc | 2 +- poppler/UTF.cc | 23 +++++++++++++++++++++++ utils/HtmlOutputDev.cc | 2 +- 5 files changed, 27 insertions(+), 2 deletions(-) commit ce8a579f339507da3fd7802e1531fbf6849c0c98 Author: Adrian Johnson Date: Tue Aug 28 22:16:34 2012 +0930 Move text to unicode conversion into a separate function This also ensures UTF-16 ActualText strings are converted to UCS-4 before calling addChar. goo/GooString.cc | 2 +- poppler/TextOutputDev.cc | 32 ++++---------------------------- poppler/UTF.cc | 34 ++++++++++++++++++++++++++++++++++ poppler/UTF.h | 8 ++++++++ utils/pdfinfo.cc | 37 ++++++------------------------------- 5 files changed, 53 insertions(+), 60 deletions(-) commit cac13e782cf4413703cfd1fa23e76133dfbe5ef9 Author: Adrian Johnson Date: Tue Aug 28 21:48:16 2012 +0930 text: increase the tolerance for overlapping glyphs TextOutputDev will start a new line when encountering consecutive glyphs with overlapping bounding boxes. This can occur when drawing diacritics with a separate glyph. In this case, due to the diacritic having a different baseline, the lines may be output in the wrong order. This patch increases the tolerance for overlapping bounding boxes to prevent diacritics from splitting lines. poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f6386219449e70c2c3bc3559fdde3df4a57a809 Author: Adrian Johnson Date: Thu Mar 8 20:52:28 2012 +1030 Convert UTF-16 to UCS-4 when reading toUnicode cmap to ensure only UCS-4 values are used with the "Unicode" type. CMakeLists.txt | 3 +- poppler/CairoOutputDev.cc | 2 +- poppler/CharCodeToUnicode.cc | 12 ++--- poppler/GlobalParams.cc | 2 +- poppler/Makefile.am | 3 +- poppler/TextOutputDev.cc | 19 +------- poppler/UTF.cc | 47 ++++++++++++++++++++ poppler/UTF.h | 103 +++++++++++++++++++++++++++++++++++++++++++ poppler/UTF8.h | 84 ----------------------------------- utils/HtmlOutputDev.cc | 14 +----- 10 files changed, 165 insertions(+), 124 deletions(-) commit b3b0f5abe4fdcc39d884670e4a998d39324659f6 Author: Albert Astals Cid Date: Thu Aug 30 00:57:51 2012 +0200 qt4: unbreak spacing qt4/src/poppler-embeddedfile.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6356c0bbae47db291a3585d31c7727bc3f8d97a4 Author: Albert Astals Cid Date: Thu Aug 30 00:57:51 2012 +0200 qt4: unbreak spacing qt4/src/poppler-embeddedfile.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 46948868dee6d4e68b658c68d7df482590e34da3 Author: Albert Astals Cid Date: Thu Aug 30 00:43:45 2012 +0200 Accept FileSpec as Dict too and not only as Ref File to try in KDE bug #306008 poppler/Catalog.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit debc8fb497bc22c0f9f34d785852981a87475c30 Author: Albert Astals Cid Date: Thu Aug 30 00:35:40 2012 +0200 Take into account the embFile returned by the core may be NULL qt4/src/poppler-embeddedfile-private.h | 4 +++- qt4/src/poppler-embeddedfile.cc | 19 ++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) commit 3ca67a59fc15782abb1e479eb2b8916de5b1b6ed Author: Albert Astals Cid Date: Thu Aug 30 00:34:06 2012 +0200 Return NULL EmbFile if the FileSpec is not ok Otherwise we might end up asserting poppler/FileSpec.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 9264b375eec19e639c524b677f770ad750b1cb43 Author: Albert Astals Cid Date: Thu Aug 30 00:43:45 2012 +0200 Accept FileSpec as Dict too and not only as Ref File to try in KDE bug #306008 poppler/Catalog.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 01528eaedc77d5559f6dc4229b66f1a819678fb7 Author: Albert Astals Cid Date: Thu Aug 30 00:35:40 2012 +0200 Take into account the embFile returned by the core may be NULL qt4/src/poppler-embeddedfile-private.h | 4 +++- qt4/src/poppler-embeddedfile.cc | 19 ++++++++++++------- 2 files changed, 15 insertions(+), 8 deletions(-) commit c1fba45be106dc30a5136efe41493b1cf6d2a1b5 Author: Albert Astals Cid Date: Thu Aug 30 00:34:06 2012 +0200 Return NULL EmbFile if the FileSpec is not ok Otherwise we might end up asserting poppler/FileSpec.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 1881486e9817304d0817ce24b177c1bc79587138 Author: Tobias Koenig Date: Fri Aug 24 19:12:20 2012 +0200 annots: Unify parsing of additional actions entries https://bugs.freedesktop.org/show_bug.cgi?id=53586 poppler/Annot.cc | 58 ++++++++++++++++++++++++++++++++++++++++++++------------ poppler/Annot.h | 24 +++++++++++++++++++---- 2 files changed, 66 insertions(+), 16 deletions(-) commit 686ec0cc92e25f74eaa9e09a328724cbdf939bca Author: Albert Astals Cid Date: Wed Aug 15 20:02:05 2012 +0200 Remove declared but not implemented function poppler/XRef.h | 1 - 1 file changed, 1 deletion(-) commit 0b3259c1d5679cb8d59d770e5fbe7e1bc141a025 Author: Albert Astals Cid Date: Wed Aug 15 20:02:05 2012 +0200 Remove declared but not implemented function poppler/XRef.h | 1 - 1 file changed, 1 deletion(-) commit 5fd2a35227c22dbddedfb397eff0e0a09c3d1b03 Author: Pino Toscano Date: Wed Aug 15 19:51:43 2012 +0200 poppler-config.h: remove WITH_FONTCONFIGURATION_* macros no public header uses them anymore, so need to expose them poppler/poppler-config.h.cmake | 10 ---------- poppler/poppler-config.h.in | 10 ---------- 2 files changed, 20 deletions(-) commit edd0ea4847c143adb1d15a57b42b0ce2b2c80b0e Author: Pino Toscano Date: Wed Aug 15 19:31:50 2012 +0200 ignore more qt4 tests qt4/tests/.gitignore | 3 +++ 1 file changed, 3 insertions(+) commit 2df57857000c5adbee6b029ff7a79acc707786a0 Author: Pino Toscano Date: Wed Aug 15 18:59:15 2012 +0200 build: remove extra fontconfig CFLAGS and LIBS fontconfig is used only in .cpp sources inside the 'poppler' subdirectory, so there is no need to add the include paths for it in other directories; likewise, do not to link to it if not needed glib/Makefile.am | 4 +--- qt4/demos/Makefile.am | 2 -- qt4/src/Makefile.am | 2 -- qt4/tests/Makefile.am | 2 -- test/Makefile.am | 6 ++---- utils/CMakeLists.txt | 3 --- utils/Makefile.am | 4 +--- 7 files changed, 4 insertions(+), 19 deletions(-) commit 3e802949264d9310df057daff891a3fccb2eb8d3 Author: Albert Astals Cid Date: Wed Aug 15 00:02:23 2012 +0200 PSOutputDev: Always write HiResBoundingBox Makes some people happier and it doesn't hurt us much Bug #53159 poppler/PSOutputDev.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit e83568065f77ba722b147b3b10faed1ff66f22dc Author: Pino Toscano Date: Sat Aug 11 01:38:08 2012 +0200 remove extra execution permissions (cherry picked from commit 9a5a19ee2f9cd536c3527b30c0256ca9dce3638c) goo/GooTimer.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) commit 9a5a19ee2f9cd536c3527b30c0256ca9dce3638c Author: Pino Toscano Date: Sat Aug 11 01:38:08 2012 +0200 remove extra execution permissions goo/GooTimer.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) commit 1b2903c104012fdd3c982d57898910945dff9a15 Author: Albert Astals Cid Date: Sat Aug 11 00:05:10 2012 +0200 0.20.3 CMakeLists.txt | 4 ++-- NEWS | 16 ++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 22 insertions(+), 6 deletions(-) commit 40e7b744d32152ab4c6201b8bda7fb7caf6bfd4e Author: Albert Astals Cid Date: Sun Aug 5 15:07:16 2012 +0200 If NULL, NULL fails as password try EMPTY, EMPTY before failing Reviewed by Jose Aliste Bug #3498 poppler/SecurityHandler.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit a53e0641365608f832b455404f1ee584d278e0c4 Author: Albert Astals Cid Date: Sun Aug 5 15:07:16 2012 +0200 If NULL, NULL fails as password try EMPTY, EMPTY before failing Reviewed by Jose Aliste Bug #3498 poppler/SecurityHandler.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 3ca2bc0d3abdf92741b7921ea402c9de09e531f6 Author: Markus Trippelsdorf Date: Fri Aug 3 00:48:12 2012 +0200 Fix segfault when scaleImage returns NULL Bug 52488 splash/Splash.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 31fe12c63f0133d124e2115aba607857aaff0978 Author: Markus Trippelsdorf Date: Fri Aug 3 00:48:12 2012 +0200 Fix segfault when scaleImage returns NULL Bug 52488 splash/Splash.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit d3c339017857cd762d8419260e33e1cc4e197743 Author: Thomas Freitag Date: Thu Aug 2 00:22:19 2012 +0200 PSOutputDev: Fix Bitmaps in level2sep or level3sep Bug #52384 poppler/PSOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 768cf5877f48f8cee80fe96e2ee52f42f230dfdf Author: Thomas Freitag Date: Thu Aug 2 00:22:19 2012 +0200 PSOutputDev: Fix Bitmaps in level2sep or level3sep Bug #52384 poppler/PSOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d0e55aa49484263882345fa648e1e907d2b172f2 Author: Thomas Freitag Date: Wed Aug 1 22:56:49 2012 +0200 Splash: Blend mode enhancements for CMYK poppler/SplashOutputDev.cc | 76 ++++++++++++++++++++++++++++++++-------------- splash/Splash.cc | 22 -------------- 2 files changed, 54 insertions(+), 44 deletions(-) commit 315447843a368556a8536bc30e579c9bf338682e Author: Thomas Freitag Date: Wed Aug 1 22:56:49 2012 +0200 Splash: Blend mode enhancements for CMYK poppler/SplashOutputDev.cc | 76 ++++++++++++++++++++++++++++++++-------------- splash/Splash.cc | 22 -------------- 2 files changed, 54 insertions(+), 44 deletions(-) commit 78c6a5615013d26b8a2babb13b3c4f7d6a1d70a4 Author: Albert Astals Cid Date: Tue Jul 31 23:32:19 2012 +0200 Replace c++ style includes with c style ones Fixes build in Solaris 10 Bug #52426 goo/gstrtod.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit c0c88b3707fc7337e814ae4252d80002641a19ee Author: Albert Astals Cid Date: Tue Jul 31 23:32:19 2012 +0200 Replace c++ style includes with c style ones Fixes build in Solaris 10 Bug #52426 goo/gstrtod.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit dcbc923bd3592a81876f84005fbaddcea18641cc Author: Thomas Freitag Date: Sun Jul 22 18:40:46 2012 +0200 Make sure xScale and yScale are always initialized Bug #52215 poppler/PSOutputDev.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 36481939e3064de920e49d9d1742a85473a50963 Author: Thomas Freitag Date: Sun Jul 22 18:40:46 2012 +0200 Make sure xScale and yScale are always initialized Bug #52215 poppler/PSOutputDev.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit ef7c2418e12d3e6a79f1d89a0051b005fadbc344 Author: Thomas Freitag Date: Sat Jul 21 00:01:49 2012 +0200 Fix conversion to ps when having multiple strips Bug 51982 poppler/PSOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 6b567565b7b9d591fbd7441592096960a303bd39 Author: Thomas Freitag Date: Sat Jul 21 00:01:49 2012 +0200 Fix conversion to ps when having multiple strips Bug 51982 poppler/PSOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 349b21acc249c130fb053bc4a0c75019f75bd35b Author: Torsten Kasch Date: Thu Jul 19 00:18:14 2012 +0200 Unify poppler-config.h includes in core "installed" headers Bug 52193 goo/FixedPoint.h | 2 +- goo/GooTimer.h | 2 +- goo/JpegWriter.h | 2 +- goo/PNGWriter.h | 2 +- goo/TiffWriter.h | 2 +- goo/gfile.h | 2 +- goo/gmem.h | 2 +- splash/SplashFTFont.h | 2 +- splash/SplashMath.h | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) commit 34327b2c201392f96e3449941411b7ad4b3e8bcb Author: Torsten Kasch Date: Thu Jul 19 00:18:14 2012 +0200 Unify poppler-config.h includes in core "installed" headers Bug 52193 goo/FixedPoint.h | 2 +- goo/GooTimer.h | 2 +- goo/JpegWriter.h | 2 +- goo/PNGWriter.h | 2 +- goo/TiffWriter.h | 2 +- goo/gfile.h | 2 +- goo/gmem.h | 2 +- splash/SplashFTFont.h | 2 +- splash/SplashMath.h | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) commit 8fe700217ab6ce786a8272f2c338e3dab434c56e Author: Torsten Kasch Date: Thu Jul 19 00:06:45 2012 +0200 autoconf: Do not assume the shell is bash compatible Bug 52197 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 15c6ae699f083ea6c9716c1098ae9833a56eeb3e Author: Torsten Kasch Date: Thu Jul 19 00:06:45 2012 +0200 autoconf: Do not assume the shell is bash compatible Bug 52197 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5311da76ec7cd7c1e6cdfc4e18df6dd56e8398b Author: Albert Astals Cid Date: Thu Jul 19 00:01:49 2012 +0200 pdfseparate: Return 0 on success utils/pdfseparate.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit dc8833a36b514c13cfd6b1fd4665d2fddd71f357 Author: Albert Astals Cid Date: Thu Jul 19 00:01:49 2012 +0200 pdfseparate: Return 0 on success utils/pdfseparate.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 51f22ca0badfc41c19cba66cabd63184244f81c7 Author: Thomas Freitag Date: Mon Jul 16 23:32:23 2012 +0200 PSOutputDev: Fix DeviceN images with alternate Lab colorspace in level 3 PostScript Bug #51822 poppler/PSOutputDev.cc | 54 +++++++++++++++++++++++++++++++++++++++++++------- poppler/PSOutputDev.h | 2 +- 2 files changed, 48 insertions(+), 8 deletions(-) commit 31ef967033407de91109ff46db9c60cb8748bc55 Author: Thomas Freitag Date: Mon Jul 16 23:32:23 2012 +0200 PSOutputDev: Fix DeviceN images with alternate Lab colorspace in level 3 PostScript Bug #51822 poppler/PSOutputDev.cc | 54 +++++++++++++++++++++++++++++++++++++++++++------- poppler/PSOutputDev.h | 2 +- 2 files changed, 48 insertions(+), 8 deletions(-) commit f9f5238d32615f93d07afa3aa7384a8b30737203 Author: Thomas Freitag Date: Fri Jul 13 00:56:48 2012 +0200 Fix Splash::arbitraryTransformImage causes bogus memory allocation size Bug #49523 poppler/SplashOutputDev.cc | 2 +- splash/Splash.cc | 79 ++++++++++++++++++++++++++-------------------- splash/Splash.h | 4 +-- 3 files changed, 48 insertions(+), 37 deletions(-) commit 950d5f3dec4bff5d3c523d55689d7b70215dc110 Author: Thomas Freitag Date: Fri Jul 13 00:56:48 2012 +0200 Fix Splash::arbitraryTransformImage causes bogus memory allocation size Bug #49523 poppler/SplashOutputDev.cc | 2 +- splash/Splash.cc | 79 ++++++++++++++++++++++++++-------------------- splash/Splash.h | 4 +-- 3 files changed, 48 insertions(+), 37 deletions(-) commit e09be3bc6ba1290fd31bde0c3d19c4ffcbadbf00 Author: Albert Astals Cid Date: Tue Jul 10 23:06:53 2012 +0200 0.20.2 CMakeLists.txt | 2 +- NEWS | 11 +++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) commit e15fe0e1e6accf779caeb1179a8d62161c0aa650 Author: Thomas Freitag Date: Thu Jul 5 17:44:02 2012 +0200 Fix handling of DeviceN images in level 3 PostScript bug #51548 poppler/PSOutputDev.cc | 14 -------------- 1 file changed, 14 deletions(-) commit 31837201cf5b3db735c89ef4969105b7a6ab465d Author: Thomas Freitag Date: Thu Jul 5 17:44:02 2012 +0200 Fix handling of DeviceN images in level 3 PostScript bug #51548 poppler/PSOutputDev.cc | 14 -------------- 1 file changed, 14 deletions(-) commit 262203bd86403e43034fbfbbeef5a5894a62ecb2 Author: Albert Astals Cid Date: Sat Jun 30 14:36:28 2012 +0200 [qt4] Refactor part of ::search() functions qt4/src/poppler-page-private.h | 7 ++++- qt4/src/poppler-page.cc | 61 +++++++++++++++++++----------------------- 2 files changed, 34 insertions(+), 34 deletions(-) commit bd71f80c409dbb47231088c3c6661946ccde6e67 Author: Adam Reichold Date: Thu Jun 28 17:42:17 2012 +0200 [qt4] add whole-page search method to Poppler::Page qt4/src/poppler-page.cc | 39 +++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-qt4.h | 14 ++++++++++++++ 2 files changed, 53 insertions(+) commit 46ebe7dc84b14ce8dda7b3b1da516b9d99ac3344 Author: Albert Astals Cid Date: Fri Jun 29 01:56:55 2012 +0200 PSOutputDev: Correct %%DocumentCustomColors Bug 51479 poppler/PSOutputDev.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 02c4e6bf4cc0f5535946fe31815081a40b1de986 Author: Albert Astals Cid Date: Fri Jun 29 01:56:55 2012 +0200 PSOutputDev: Correct %%DocumentCustomColors Bug 51479 poppler/PSOutputDev.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 2b8d95aeede56c75699bb83ca3b23ea199b81c2c Author: Albert Astals Cid Date: Thu Jun 28 00:18:07 2012 +0200 Add some security checks to JPXStream decoding Fixes crash in broken/fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/JPXStream.cc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit f7990386d268a444c297958e9c50ed27a0825a00 Author: Albert Astals Cid Date: Thu Jun 28 00:18:07 2012 +0200 Add some security checks to JPXStream decoding Fixes crash in broken/fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/JPXStream.cc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit c5c6eed1623506e1206e89cee0b7c887d815ba62 Author: Albert Astals Cid Date: Sun Jun 24 23:43:03 2012 +0200 Change SplashBitmap gmallocn to gmallocn_checkoverflow Fixes abort in KDE bug #302372 splash/Splash.cc | 37 +++++++++++++++++++++++-------------- splash/SplashBitmap.cc | 18 +++++++++++------- 2 files changed, 34 insertions(+), 21 deletions(-) commit f48eb669ae5c729c026554802e666e64399c0900 Author: Albert Astals Cid Date: Sun Jun 24 23:43:03 2012 +0200 Change SplashBitmap gmallocn to gmallocn_checkoverflow Fixes abort in KDE bug #302372 splash/Splash.cc | 37 +++++++++++++++++++++++-------------- splash/SplashBitmap.cc | 18 +++++++++++------- 2 files changed, 34 insertions(+), 21 deletions(-) commit c87738ee234aafc6eda5a263ad789205037020e1 Author: Thomas Freitag Date: Sun Jun 24 20:20:38 2012 +0200 copy resources content defined in the pages dict Fixes bug #51369 poppler/PDFDoc.cc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit ff48a5d67a130211fbbb98aa0011bca0c1185114 Author: Thomas Freitag Date: Sun Jun 24 20:20:38 2012 +0200 copy resources content defined in the pages dict Fixes bug #51369 poppler/PDFDoc.cc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 6cdf879e389f05abba30b3fad8083b7fff23056e Author: Fabio D'Urso Date: Sun Jun 24 11:48:04 2012 +0200 qt4: Do not hang on malformed /Annots objects Don't recurse infinitely if the /Annots object contains annotation dictionaries (according to specs, /Annots must contain *references* to annotation dictionaries). Fixes bug #51361 qt4/src/poppler-annotation.cc | 5 +++++ 1 file changed, 5 insertions(+) commit bd1dab39a857b852c09d21f64254ffc1f24c2df0 Author: Fabio D'Urso Date: Sun Jun 24 11:48:04 2012 +0200 qt4: Do not hang on malformed /Annots objects Don't recurse infinitely if the /Annots object contains annotation dictionaries (according to specs, /Annots must contain *references* to annotation dictionaries). Fixes bug #51361 qt4/src/poppler-annotation.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 31db47d077825045edd1a2d229e873a6f8e09fb1 Author: Carlos Garcia Campos Date: Sun Jun 17 12:00:43 2012 +0200 Simplify AnnotAppearance::getAppearanceStream() - Use a switch instead of if to get the stream object - Use the return value of dictLookupNF to check whether the object is null - Don't fetch the stream to check the reference is valid, this is already done when used poppler/Annot.cc | 50 ++++++++++++++++++-------------------------------- 1 file changed, 18 insertions(+), 32 deletions(-) commit b15d02b92aca1348564e70d0245064bc27eefce8 Author: Maciej Mrozowski Date: Fri May 18 01:47:55 2012 +0200 Add the possibility of using lcms1 even if lcms2 is installed CMakeLists.txt | 20 +++++++++++++------- configure.ac | 31 +++++++++++++++---------------- 2 files changed, 28 insertions(+), 23 deletions(-) commit 0cc2738737ed411159c8c8045eff5d1a4463ed16 Author: Mark Brand Date: Thu Jun 14 20:31:26 2012 +0200 fix typo to compile in Windows poppler/GlobalParamsWin.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3575becd60585324bcefc0631b1bac47c1db3c5c Author: Mark Brand Date: Thu Jun 14 20:31:26 2012 +0200 fix typo to compile in Windows poppler/GlobalParamsWin.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2e1410ea62fe99e52c94f878d02181f0b59f1cd5 Author: Albert Astals Cid Date: Mon Jun 11 15:17:59 2012 +0200 Add some security checks to JBIG2Stream decoding Fixes crash in broken/fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/JBIG2Stream.cc | 58 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 44 insertions(+), 14 deletions(-) commit 06618065c8a97a5bec125560546b98edfc1210f3 Author: Albert Astals Cid Date: Mon Jun 11 15:17:59 2012 +0200 Add some security checks to JBIG2Stream decoding Fixes crash in broken/fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/JBIG2Stream.cc | 58 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 44 insertions(+), 14 deletions(-) commit 6a76d21661add4f84ee0859c4e7a4c23e7a63bc4 Author: Hib Eris Date: Sun Jun 10 19:44:18 2012 +0200 Check value of first page in linearization table Fixes crash in broken/fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/Linearization.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e3fe88df3646a80945210ba426eb4681a98b55e9 Author: Hib Eris Date: Sun Jun 10 19:44:18 2012 +0200 Check value of first page in linearization table Fixes crash in broken/fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/Linearization.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1240eee8c0d0d01113443e0fda87721775a76da9 Author: Albert Astals Cid Date: Sun Jun 10 20:42:55 2012 +0200 0.20.1 CMakeLists.txt | 4 ++-- NEWS | 25 +++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 31 insertions(+), 6 deletions(-) commit d483436517c5d9679fd6f4ec5544128ffcc2188e Author: Albert Astals Cid Date: Sun Jun 10 20:15:01 2012 +0200 Update copyrights poppler/GlobalParamsWin.cc | 1 + 1 file changed, 1 insertion(+) commit c783037619e2b4c101e8ecd7e61c94ee077b4be2 Author: Albert Astals Cid Date: Sun Jun 10 20:15:01 2012 +0200 Update copyrights poppler/GlobalParamsWin.cc | 1 + 1 file changed, 1 insertion(+) commit d791101fbdebf7a3b3f333939f9bbff6bbecf45f Author: Albert Astals Cid Date: Sun Jun 10 19:09:17 2012 +0200 Do use NULL function Fixes crash in broken/fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/Gfx.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f3f9d8f28a97338da92c842d5668b0ef3495ef13 Author: Albert Astals Cid Date: Sun Jun 10 19:09:17 2012 +0200 Do use NULL function Fixes crash in broken/fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/Gfx.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 8b3fa65f293804dab7ae2fd069132d0d6f44bbb2 Author: Tobias Koenig Date: Sun Jun 10 17:48:08 2012 +0200 [qt4] Add accessor methods for poster information qt4/src/poppler-movie.cc | 15 +++++++++++++++ qt4/src/poppler-qt4.h | 15 +++++++++++++++ 2 files changed, 30 insertions(+) commit e8aa8266254bfd2189d5b5105e3d76caa4cc6713 Author: Thomas Freitag Date: Sun Jun 10 16:58:54 2012 +0200 use setoverprintmode only if rip knows it poppler/PSOutputDev.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 92ef16e3699da949c80716c3fd4b438fe79c134d Author: Thomas Freitag Date: Sun Jun 10 16:58:54 2012 +0200 use setoverprintmode only if rip knows it poppler/PSOutputDev.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6e3503b5591b105fa92e6cc6568b8819f6acd625 Author: Fabio D'Urso Date: Thu May 24 23:17:27 2012 +0200 qt4: Keep page rotation into account when normalizing annotation coords If the page is rotated by 90 or 270 degrees, width and height need to be swapped qt4/src/poppler-annotation.cc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 99aa734ae2d3ba51f840d4c8ef450488fb702a31 Author: Fabio D'Urso Date: Thu May 24 23:17:27 2012 +0200 qt4: Keep page rotation into account when normalizing annotation coords If the page is rotated by 90 or 270 degrees, width and height need to be swapped qt4/src/poppler-annotation.cc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 4f2ac544f36aa11747c3e13ff69fc19bdd0136dc Author: Fabio D'Urso Date: Sat Jun 9 01:31:29 2012 +0200 Fix saving to xml The default icon is Note not comment qt4/src/poppler-annotation.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bde31ce7b223abc86d25e06f3d73668b792c70df Author: Fabio D'Urso Date: Sat Jun 9 01:31:29 2012 +0200 Fix saving to xml The default icon is Note not comment qt4/src/poppler-annotation.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0df0aa439eed1d9838a80942e00af08e9acabb8d Author: Carlos Garcia Campos Date: Sat Jun 2 17:33:23 2012 +0200 glib-demo: Add find options to find demo glib/demo/find.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) commit 52b3ede4bfd1e2288a0efca34da5d6239d3563e9 Author: Carlos Garcia Campos Date: Sat Jun 2 16:25:06 2012 +0200 glib-demo: Show search matches in a document view glib/demo/find.c | 253 +++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 218 insertions(+), 35 deletions(-) commit ed0c761c2190a3c1959a60ae9b7961f58a43c939 Author: Thomas Schenker Date: Sat Jun 2 11:54:21 2012 +0200 glib: Add poppler_page_find_text_with_options To be able to search text with options like case sensitive, search backwards and whole words only. https://bugs.freedesktop.org/show_bug.cgi?id=2951 glib/poppler-page.cc | 52 +++++++++++++++++++++++++++---------- glib/poppler-page.h | 3 +++ glib/poppler.h | 18 +++++++++++++ glib/reference/poppler-sections.txt | 2 ++ 4 files changed, 62 insertions(+), 13 deletions(-) commit 126b55c9a44ccb0dba55e758843e9ee4aa43ee2b Author: Carlos Garcia Campos Date: Sat Jun 2 17:19:30 2012 +0200 Implement whole words only option to search text It seems we missed it in the xpdf303 merge. poppler/TextOutputDev.cc | 144 ++++++++++++++++++++++++----------------------- 1 file changed, 74 insertions(+), 70 deletions(-) commit 20210fbb6117649b20f6930031f24b8fc97b773d Author: Luis Parravicini Date: Mon May 28 23:44:17 2012 +0200 pdftohtml: Add -fontfullname Outputs the font name without any substitutions. Bug #49872 utils/HtmlFonts.cc | 4 +++- utils/pdftohtml.1 | 3 +++ utils/pdftohtml.cc | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) commit 03f979a7e59c4eb5ecb8acc324c7faf700144589 Author: Gerald Schmidt Date: Sat May 26 17:46:59 2012 +0200 Make the output more xhtml compliant utils/HtmlOutputDev.cc | 105 +++++++++++++++++++++++++------------------------ 1 file changed, 53 insertions(+), 52 deletions(-) commit ba6406222f828e354323223fc4bdb01c1726fb49 Author: Fabio D'Urso Date: Mon May 21 18:16:06 2012 +0200 Added Annot::removeReferencedObjects + Always set annotations' page field - Now Page::removeAnnot calls Annot::removeReferencedObjects, which takes care of removing referenced objects (such as the annot popup and the appearance streams). - Previously, Annot's page field was set only if the annotation dictionary contained /P poppler/Annot.cc | 40 ++++++++++++++++++++++++++++++++++------ poppler/Annot.h | 13 +++++++++---- poppler/Page.cc | 7 ++++--- poppler/Page.h | 2 +- qt4/src/poppler-annotation.cc | 8 -------- 5 files changed, 48 insertions(+), 22 deletions(-) commit 9904b8f10abf068a7816bd90976ccbb320387645 Author: Adrian Johnson Date: Thu May 24 18:24:48 2012 +0930 glib docs: fix typo glib/poppler-document.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 028f580056f99719cfb8af7bbe8184ceac02cb16 Author: Adrian Johnson Date: Sun May 13 21:36:36 2012 +0930 add sustitute font name to GlobalParamsWin32 to fix compilation poppler/GlobalParamsWin.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 1916d000a86336213ffd6e9bd44ce873e8955895 Author: Adrian Johnson Date: Sat May 12 16:31:38 2012 +0930 Include substitute font name in system font cache Bug 49826 poppler/FontInfo.cc | 1 + poppler/GlobalParams.cc | 58 +++++++++++++++++++++++++++---------------------- 2 files changed, 33 insertions(+), 26 deletions(-) commit b47d38e2ccd8563394df89765e277bde95730052 Author: Adrian Johnson Date: Thu May 24 18:24:48 2012 +0930 glib docs: fix typo glib/poppler-document.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 14a29dbff585cbe55247431a346c2ac3e12473fe Author: Adrian Johnson Date: Sun May 13 21:36:36 2012 +0930 add sustitute font name to GlobalParamsWin32 to fix compilation poppler/GlobalParamsWin.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7436b2c8a853f5121eb7dd13168ab997f1cf7d80 Author: Adrian Johnson Date: Sat May 12 16:31:38 2012 +0930 Include substitute font name in system font cache Bug 49826 poppler/FontInfo.cc | 1 + poppler/GlobalParams.cc | 58 +++++++++++++++++++++++++++---------------------- 2 files changed, 33 insertions(+), 26 deletions(-) commit 1c6e84555572a6bf3a2e3fbe9a54b40f11c122ad Author: Fabio D'Urso Date: Fri May 18 16:22:46 2012 +0200 qt4: Make TextAnnotation ctor public qt4/src/poppler-annotation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fe28614e7aab6e029f4b420353b67a7eea24de36 Author: Fabio D'Urso Date: Fri May 18 16:22:46 2012 +0200 qt4: Make TextAnnotation ctor public qt4/src/poppler-annotation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8e504bf2543621973fdaddbd29055ce435540146 Author: Ville Skyttä Date: Wed May 16 23:49:01 2012 +0300 pdfseparate.1: Syntax fixes. utils/pdfseparate.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 918456372548810c9efbf0533fa155034dd081f2 Author: Ville Skyttä Date: Wed May 16 23:49:01 2012 +0300 pdfseparate.1: Syntax fixes. utils/pdfseparate.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 892e486addcbcad619613c7be1ca692a0d36d6e5 Author: Albert Astals Cid Date: Mon May 21 20:28:42 2012 +0200 Compile++ cmake/modules/FindGTK.cmake | 8 ++++---- glib/demo/CMakeLists.txt | 6 +++--- test/CMakeLists.txt | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) commit 794e89ed41d03997778fc4c59b7f1ba557b5e6b7 Author: Albert Astals Cid Date: Mon May 21 20:18:42 2012 +0200 Compile glib/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) commit 78e6c9905a52c0cd4bfc1e56874f50689f04a1c6 Author: Carlos Garcia Campos Date: Sun May 20 12:11:27 2012 +0200 glib-demo: Make text characters list fill and expand in text demo glib/demo/text.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 610eb24426d9b36ac7da40a2fceb3dbeeec19a5c Author: Carlos Garcia Campos Date: Sun May 20 12:08:09 2012 +0200 glib-demo: Add a button to remove annots from the annot view glib/demo/annots.c | 48 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 41 insertions(+), 7 deletions(-) commit 11a3093e093319e88f14af0ab6c15009104d17ee Author: Carlos Garcia Campos Date: Sun May 20 11:22:49 2012 +0200 glib: Add poppler_page_remove_annot() https://bugs.freedesktop.org/show_bug.cgi?id=40473 glib/poppler-page.cc | 19 +++++++++++++++++++ glib/poppler-page.h | 2 ++ glib/reference/poppler-sections.txt | 1 + 3 files changed, 22 insertions(+) commit 0dd157ae7f19cd91ea425a607b968f08addc3a40 Author: Carlos Garcia Campos Date: Sun May 20 10:37:47 2012 +0200 glib: Take a reference of the core annotation when creating a PopplerAnnot This way if the annotation is removed from the page, the core annotation object is not destroyed. Also, a new PopplerAnnot that is never added to a page doesn't leak the core annotation anymore. glib/poppler-annot.cc | 53 +++++++++++++++++++++------------------------------ 1 file changed, 22 insertions(+), 31 deletions(-) commit f818b842f54d6860920b39778228e8b247b4e761 Author: Carlos Garcia Campos Date: Sat May 19 12:32:33 2012 +0200 glib-demo: Fix runtime warning glib/demo/selections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a24e326425e198eeb70c4d9205bb7a0a3a9db297 Author: Carlos Garcia Campos Date: Sat May 19 12:09:45 2012 +0200 gtk-tests: Port to GTK+ 3.0 configure.ac | 4 +- glib/demo/annots.c | 74 +++++++------- glib/demo/attachments.c | 4 +- glib/demo/find.c | 4 +- glib/demo/fonts.c | 4 +- glib/demo/forms.c | 64 ++++++------ glib/demo/images.c | 21 ++-- glib/demo/info.cc | 67 ++++++------ glib/demo/layers.c | 22 ++-- glib/demo/links.c | 6 +- glib/demo/main.c | 31 ++---- glib/demo/outline.c | 2 +- glib/demo/page.c | 23 ++--- glib/demo/print.c | 14 +-- glib/demo/render.c | 263 ++++++++++++++---------------------------------- glib/demo/selections.c | 77 ++++++-------- glib/demo/text.c | 22 ++-- glib/demo/transitions.c | 4 +- glib/demo/utils.c | 101 +++++++++---------- glib/demo/utils.h | 6 +- test/gtk-test.cc | 48 +++++---- 21 files changed, 350 insertions(+), 511 deletions(-) commit 9f7d919e68a26bb7dd809986d8394fe20b750bd0 Author: Anthony Wesley Date: Thu May 17 19:54:47 2012 +0200 Fix logic on SplashBitmap::writeImgFile splash/SplashBitmap.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 87093d1250807f660042295747a012032f84c034 Author: Anthony Wesley Date: Thu May 17 19:54:47 2012 +0200 Fix logic on SplashBitmap::writeImgFile splash/SplashBitmap.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7e7997e12faccf4c0513811b324a2fd0fa960a96 Author: Igor Slepchin Date: Tue May 15 23:16:27 2012 +0200 Determine if font is bold or italic based on FontDescriptor. Bug #49758 utils/HtmlFonts.cc | 24 ++++++++++++++++++------ utils/HtmlFonts.h | 3 ++- utils/HtmlOutputDev.cc | 4 +--- 3 files changed, 21 insertions(+), 10 deletions(-) commit 3a249aa8ad5e9f7511bcafd0416ce51c7efe5f4d Author: Igor Slepchin Date: Tue May 15 23:16:27 2012 +0200 Determine if font is bold or italic based on FontDescriptor. Bug #49758 utils/HtmlFonts.cc | 24 ++++++++++++++++++------ utils/HtmlFonts.h | 3 ++- utils/HtmlOutputDev.cc | 4 +--- 3 files changed, 21 insertions(+), 10 deletions(-) commit ff2c251dbaef9b964af48f51ebb517626ac3145c Author: Carlos Garcia Campos Date: Sun May 13 20:13:32 2012 +0200 glib-demo: Use poppler_document_new_from_gfile to load the given uri glib/demo/main.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit a7629331ab4ba5b256213af1f1b2954a49953c34 Author: Carlos Garcia Campos Date: Sun May 13 20:13:03 2012 +0200 glib: Add poppler_document_new_from_gfile glib/poppler-document.cc | 46 +++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 4 ++++ glib/reference/poppler-sections.txt | 1 + 3 files changed, 51 insertions(+) commit 95277b1f481e274ab0ce22ffb44b40437bffa3c8 Author: Carlos Garcia Campos Date: Sun May 13 20:11:12 2012 +0200 glib Add missing cancellable param in poppler_document_new_from_stream doc glib/poppler-document.cc | 1 + 1 file changed, 1 insertion(+) commit 329bb1e2b4f4b58832847bcf805d19ac0fd5ef02 Author: Carlos Garcia Campos Date: Sun May 13 19:45:55 2012 +0200 glib: Make sure password is always converted to latin1 Remove the utf8 validation since glib API is supposed to always receive utf8 strings. glib/poppler-document.cc | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit c4bf7b162028a2f9ffcd2baba2759bdb14fae51f Author: Carlos Garcia Campos Date: Sun May 13 19:45:55 2012 +0200 glib: Make sure password is always converted to latin1 Remove the utf8 validation since glib API is supposed to always receive utf8 strings. glib/poppler-document.cc | 43 ++++++++++++++++++++----------------------- 1 file changed, 20 insertions(+), 23 deletions(-) commit 7714b4e319c48ee915061a172208245ae7c4141b Author: Carlos Garcia Campos Date: Sun May 13 19:30:17 2012 +0200 glib: Fix memory leak when document fails to load glib/poppler-document.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 4d0786a97e061a752686968bd7976bdda01b1f84 Author: Carlos Garcia Campos Date: Sun May 13 19:30:17 2012 +0200 glib: Fix memory leak when document fails to load glib/poppler-document.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 1d1c8175c57ebe6518f4252ab92a20286b7d4c6f Author: Carlos Garcia Campos Date: Sun May 13 18:41:25 2012 +0200 glib: Add poppler_document_new_from_stream A PopplerInputStream has been added to handle GMemoryInputStream and GLocalFileInputStream, since we don't want to cache the contents in those cases. A PopplerCachedFileLoader has been added to handle all other cases. configure.ac | 10 +-- glib/Makefile.am | 4 + glib/poppler-cached-file-loader.cc | 108 +++++++++++++++++++++++++++ glib/poppler-cached-file-loader.h | 44 +++++++++++ glib/poppler-document.cc | 69 ++++++++++++++++++ glib/poppler-document.h | 6 ++ glib/poppler-input-stream.cc | 141 ++++++++++++++++++++++++++++++++++++ glib/poppler-input-stream.h | 74 +++++++++++++++++++ glib/reference/poppler-docs.sgml | 4 + glib/reference/poppler-sections.txt | 1 + poppler-glib-uninstalled.pc.in | 2 +- poppler-glib.pc.in | 2 +- 12 files changed, 458 insertions(+), 7 deletions(-) commit 13d2aa303eb1fd900f1045efec14af8002477b02 Author: Thomas Freitag Date: Sun May 13 17:25:15 2012 +0200 remove unnecesary transparency group handling in splash Bug #13487 poppler/Gfx.cc | 64 +++++++++++++++++++++++++++++++++++++++++++++- poppler/Gfx.h | 4 ++- poppler/GfxState.cc | 4 ++- poppler/OutputDev.h | 1 + poppler/SplashOutputDev.cc | 11 ++++++++ poppler/SplashOutputDev.h | 1 + 6 files changed, 82 insertions(+), 3 deletions(-) commit b477443e8a4c52500529aaf3be76f01a61e85f28 Author: Thomas Freitag Date: Sun May 13 17:25:15 2012 +0200 remove unnecesary transparency group handling in splash Bug #13487 poppler/Gfx.cc | 64 +++++++++++++++++++++++++++++++++++++++++++++- poppler/Gfx.h | 4 ++- poppler/GfxState.cc | 4 ++- poppler/OutputDev.h | 1 + poppler/SplashOutputDev.cc | 11 ++++++++ poppler/SplashOutputDev.h | 1 + 6 files changed, 82 insertions(+), 3 deletions(-) commit a76867003a7bff5ab03016156c75b4c928788d50 Author: Albert Astals Cid Date: Sun May 13 13:10:40 2012 +0200 Distribute cmake/modules/FindLCMS2.cmake Bug #49818 Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 8f040dec2ce2eae24dd1eb15900d4d284e4b3848 Author: Albert Astals Cid Date: Sun May 13 13:10:40 2012 +0200 Distribute cmake/modules/FindLCMS2.cmake Bug #49818 Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 7f47630a7fc19214cd48dbd164ecf577ba35cc46 Author: Albert Astals Cid Date: Thu May 10 23:12:04 2012 +0200 Compile with the unsupported ENABLE_PLUGINS defined poppler/GlobalParams.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 22264cb230fc5902aea14ab43fa013a8ebdbf812 Author: Albert Astals Cid Date: Thu May 10 23:04:33 2012 +0200 Make it compile Sorry :-/ goo/gfile.cc | 82 -------------------------------------------------- goo/gfile.h | 4 --- poppler/GlobalParams.h | 2 +- 3 files changed, 1 insertion(+), 87 deletions(-) commit 44bf99a7b8683a077f2a5db50541099c109aa069 Author: Albert Astals Cid Date: Thu May 10 22:59:18 2012 +0200 Kill the concept of "base dir" We are a library so having a "common configuration folder" does not really make much sense at a library level, and even less if it's called .xpdf :D Fixes bug 49448 goo/gfile.cc | 46 ---------------------------------------------- goo/gfile.h | 3 --- poppler/GfxState.cc | 16 ++-------------- poppler/GlobalParams.cc | 21 --------------------- poppler/GlobalParams.h | 3 --- test/perf-test.cc | 1 - 6 files changed, 2 insertions(+), 88 deletions(-) commit bb091e38a1c0248ba24b0711b4afc0b0524cce10 Author: Albert Astals Cid Date: Thu May 10 22:38:41 2012 +0200 Make it be something closer to real english utils/pdftohtml.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 67f3c3e0d03ec63df7c6028cbd626e384d231c2b Author: Fabio D'Urso Date: Wed May 9 16:48:15 2012 +0200 GooString formatting: add support for uppercase hexadecimal + Use it in Annot::layoutText goo/GooString.cc | 61 ++++++++++++++++++++++++++++++++++++++++++++++---------- goo/GooString.h | 17 ++++++++-------- poppler/Annot.cc | 2 +- 3 files changed, 61 insertions(+), 19 deletions(-) commit 1f7f8a78409e6bcc90bd32ea2aaa75ed3a7b6218 Author: Fabio D'Urso Date: Wed May 9 16:18:05 2012 +0200 Use error() instead of fprintf(stderr, ...) in Annot::layoutText poppler/Annot.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a7a2e72f9ba43816a81278e0565d31807ac5ceb5 Author: Albert Astals Cid Date: Thu May 10 22:31:24 2012 +0200 More gs cleanup and forgot the (C) on modification goo/gfile.cc | 2 +- goo/gfile.h | 2 +- utils/pdftohtml.cc | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) commit ad36d22d1f11339be90403534b921cce120fdbad Author: Albert Astals Cid Date: Thu May 10 22:24:40 2012 +0200 pdftohtml: Remove the option to invoke gs goo/gfile.cc | 8 --- goo/gfile.h | 3 -- utils/pdftohtml.1 | 8 +-- utils/pdftohtml.cc | 149 ++++++++++++----------------------------------------- 4 files changed, 36 insertions(+), 132 deletions(-) commit 4114c928fa2560937e02319f57937f1c267a9817 Author: Albert Astals Cid Date: Thu May 10 21:09:14 2012 +0200 0.20.0 CMakeLists.txt | 6 +++--- NEWS | 16 ++++++++++++++++ configure.ac | 4 ++-- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 24 insertions(+), 8 deletions(-) commit df05d084cb26807c39695280cd8ea52d13aa1255 Author: Albert Astals Cid Date: Thu May 10 20:54:13 2012 +0200 Bring back the begin/endMarkedContent virtuals For those evil people that keep using poppler internals poppler/Gfx.cc | 8 ++++++++ poppler/OutputDev.cc | 8 +++++++- poppler/OutputDev.h | 4 +++- 3 files changed, 18 insertions(+), 2 deletions(-) commit b6159fea4a13ecfd1c38b3a666a797c5147dd952 Author: William Bader Date: Thu May 10 20:02:19 2012 +0200 splash uses cmykTransferC for M, Y and K in two places splash/Splash.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit c2146219d555cab277906daefd2589f9056f536c Author: Peter Breitenlohner Date: Thu May 10 13:26:18 2012 +0200 Add missing function parameter poppler/GlobalParams.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 753f6ab9347f972223ec21b7ed4b4f7ebed3d420 Author: Albert Astals Cid Date: Thu May 3 15:29:57 2012 -0700 Compile with ENABLE_PLUGINS defined poppler/SecurityHandler.cc | 4 ++-- poppler/SecurityHandler.h | 16 ++++++++++++++++ poppler/XpdfPluginAPI.cc | 35 +---------------------------------- poppler/XpdfPluginAPI.h | 34 +++++++++++++++------------------- 4 files changed, 34 insertions(+), 55 deletions(-) commit 23df93aaf495428b580bafd0fd1f41515828b08d Author: Albert Astals Cid Date: Thu May 3 14:50:09 2012 -0700 We don't support the keyBinding concept remove wrong merge poppler/GlobalParams.cc | 1 - 1 file changed, 1 deletion(-) commit e55838b41959acc311e9b00dc390c9816a9afac2 Author: Jason Date: Wed May 2 19:35:26 2012 +0200 glib: Use delete[] to free array allocated with new[] https://bugs.freedesktop.org/show_bug.cgi?id=48447 glib/poppler-document.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dec873463b06bfe76ff48e36282877e6ac11b59d Author: Albert Astals Cid Date: Sun Apr 29 23:36:57 2012 +0200 Add the objUint type poppler/Object.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 50c0b294d08114920a5db711876e20d991f474a6 Author: Albert Astals Cid Date: Sun Apr 29 22:33:09 2012 +0200 Make sure the index to dcHuffTables and acHuffTables is in bounds Found in a fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/Stream.cc | 3 +++ 1 file changed, 3 insertions(+) commit 9e36206465289c96cb189c648a6f5121714c647b Author: Albert Astals Cid Date: Sun Apr 29 22:18:12 2012 +0200 include for memcpy splash/SplashBitmap.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 931051fe0bb445545355027d999515bc3d4b32ef Author: Albert Astals Cid Date: Sun Apr 29 22:07:34 2012 +0200 Make sure the index for refLine is in bounds Found in a fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/Stream.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 53b9c2e2806320d0d0e35134b75da5da72514742 Author: Albert Astals Cid Date: Sun Apr 29 22:00:18 2012 +0200 Just call getNum if isNum is true Found in a fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/Link.cc | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit da8d858c4fc610718a5f14b14dc3a4a11564a73d Author: Albert Astals Cid Date: Sun Apr 29 20:28:37 2012 +0200 Do not access args[-1] Found in a fuzzed pdf sent by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/Gfx.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 934b1a7cd502fe5537a350cdfc650989992693f7 Author: Albert Astals Cid Date: Sun Apr 29 19:59:15 2012 +0200 Do not access invalid lookup indexes Found by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/GfxState.cc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit e80fd082914fe29fad7e60c321a747eb8634e413 Author: Albert Astals Cid Date: Sun Apr 29 18:27:41 2012 +0200 [qt4] the qualified name may be unicode encoded qt4/src/poppler-form.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 251be1787a2a003862691f5a825eb3468eceb6a2 Author: Albert Astals Cid Date: Sun Apr 29 18:26:42 2012 +0200 Fix getFullyQualifiedName with unicode field names Based on a patch from Mark Riedesel. Bug #49256 poppler/Form.cc | 71 +++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 61 insertions(+), 10 deletions(-) commit be41f1c7905d695d17e19ced83a1018531d00199 Author: Albert Astals Cid Date: Sun Apr 29 16:02:45 2012 +0200 SplashOutputDev: Fix rendering of knockout groups Bug #12185 poppler/SplashOutputDev.cc | 31 ++++++++++++++++++++++++++++--- splash/Splash.cc | 21 ++++++++++++++++++--- splash/Splash.h | 6 ++++-- splash/SplashBitmap.cc | 22 +++++++++++++++++++++- splash/SplashBitmap.h | 2 ++ 5 files changed, 73 insertions(+), 9 deletions(-) commit 800cb9ec7189a539d64b99fa181cd4126496c1ec Author: Thomas Freitag Date: Sat Apr 28 17:15:30 2012 +0200 Reconstruct xref table if xref needed but missing Bug #40719 poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 410822d7013ce1f61325afdb61d75ea64666755e Author: Albert Astals Cid Date: Fri Apr 27 01:10:22 2012 +0200 0.19.4 CMakeLists.txt | 4 ++-- NEWS | 17 +++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 23 insertions(+), 6 deletions(-) commit b1d5c6c0a20a4a24b42de66db23e0f63d10ca52d Author: Fabio D'Urso Date: Tue Apr 24 21:00:11 2012 +0200 Output XRef stream when incrementally updating if there's already a XRef stream poppler/PDFDoc.cc | 45 ++++++++++++++++++++++++++++++-- poppler/XRef.cc | 76 +++++++++++++++++++++++++++++++++++++++++++++++-------- poppler/XRef.h | 34 +++++++++++++++++++++++++ 3 files changed, 142 insertions(+), 13 deletions(-) commit 2ecf3b2e49a4c35e995d25016b810592260edfeb Author: Fabio D'Urso Date: Tue Apr 24 18:10:15 2012 +0200 Refactoring of XRef table write support (in preparation for XRef stream write support) - Trailer dictionary creation now lives in its own function "createTrailerDict" (that will be used by XRef stream creation too) - writeXRefTableTrailer (WAS writeTrailer) now takes care of writing the XRef table too (previously it was demanded to the caller) poppler/PDFDoc.cc | 61 +++++++++++++++++++++++++++---------------------------- poppler/PDFDoc.h | 14 ++++++++++--- poppler/XRef.cc | 2 +- poppler/XRef.h | 2 +- utils/pdfunite.cc | 10 +++++---- 5 files changed, 49 insertions(+), 40 deletions(-) commit cf7a20adbd15f901d414ce06825459c33eeef3f5 Author: Thomas Freitag Date: Wed Apr 25 18:51:23 2012 +0200 Fix slow rendering of pdf with a lot of image masks in pattern colorspace Makes it around 8 times faster poppler/CairoOutputDev.cc | 6 +++--- poppler/CairoOutputDev.h | 6 +++--- poppler/Gfx.cc | 4 ++-- poppler/OutputDev.cc | 5 +++-- poppler/OutputDev.h | 6 +++--- poppler/PSOutputDev.cc | 4 ++-- poppler/PSOutputDev.h | 4 ++-- poppler/SplashOutputDev.cc | 35 +++++++++++------------------------ poppler/SplashOutputDev.h | 4 ++-- 9 files changed, 31 insertions(+), 43 deletions(-) commit 26fd142a3608283fd41e07b54067a51a9db76e93 Author: Fabio D'Urso Date: Sat Apr 21 18:16:46 2012 +0200 Preserve z-index after annotation removal poppler/Annot.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 7b10014c1fe9ef1cba57fd6b01c63129ac31386a Author: Fabio D'Urso Date: Sat Apr 21 17:53:22 2012 +0200 Do not remove appearance stream if it's shared with other annotations poppler/Annot.cc | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- poppler/Annot.h | 6 +++++ 2 files changed, 80 insertions(+), 4 deletions(-) commit 7684c325929493ad9de01a891de0aef197e176dd Author: Fabio D'Urso Date: Sat Apr 21 20:26:49 2012 +0200 AnnotText: Always force 24x24 size with custom stamps, not only on first rendering poppler/Annot.cc | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) commit 44cd46a6e04a87bd702dab4a662042f69f16c4ad Author: Albert Astals Cid Date: Mon Apr 23 20:02:55 2012 +0200 Do not try to access nPatches - 1 if nPatches is 0 Found by Mateusz "j00ru" Jurczyk and Gynvael Coldwind poppler/GfxState.cc | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit a92f87b83e3c6c9078508c644aa09f4f2b14e9cc Author: Albert Astals Cid Date: Mon Apr 23 00:06:18 2012 +0200 Do not complain if the entry is missing Since we are actually looking for non existing entries :D poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 114e113e3278d02baaffd6c0da7fda266283c176 Author: Fabio D'Urso Date: Sat Apr 21 21:08:55 2012 +0200 Do not allocate XRef entries whose generation number is 65535 poppler/XRef.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ad8785b053aa115b593b2f20073e2989d59a77c9 Author: Albert Astals Cid Date: Wed Apr 18 22:51:33 2012 +0200 Remove duplicate call utils/pdftohtml.cc | 1 - 1 file changed, 1 deletion(-) commit 80d4e1843c56801508f476fed64ecb3201ba18c8 Author: Fabio D'Urso Date: Tue Apr 17 20:25:57 2012 +0200 Do not draw border in AnnotText::draw poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1e3d868ccd7fb84d52d94754d8681c97119fb6e Author: Fabio D'Urso Date: Fri Mar 30 21:52:04 2012 +0200 Save/restore gfx state when drawing annot border poppler/Gfx.cc | 3 +++ 1 file changed, 3 insertions(+) commit 7fbeaac5c0d0240564add6c252c1ba7c14639d98 Author: Albert Astals Cid Date: Tue Apr 17 20:36:51 2012 +0200 Be sure we are checking a non free entry poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d1254c7e8e995302542093968a0c2967f3c0b5ff Author: Thomas Freitag Date: Tue Apr 17 20:36:03 2012 +0200 Do not complain if the entry does not exist XRef::getNumEntry is only trying to find which entry a given stream pos belongs so no need to cry if the entry is not there Bug 48679 poppler/XRef.cc | 10 ++++++---- poppler/XRef.h | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) commit bcbe9497a4fa50b41852abd538ad139c7b6693e5 Author: suzuki toshiya Date: Tue Apr 17 20:21:58 2012 +0200 Copying graphics library CFLAGS to cpp frontend Makefile.am. Because poppler-image.cpp includes PNGWriter.h, JpegWriter.h, TiffWriter.h, CFLAGS to include libpng, libjpeg and libtiff headers are expected. cpp/Makefile.am | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit 44c9df8277877ee1021317a3b6c253f80310f826 Author: suzuki toshiya Date: Tue Apr 17 20:21:00 2012 +0200 Do not clear FREETYPE_CFLAGS, FREETYPE_LIBS before PKG_CHECK_MODULES() Although configure --help says as if environmental variables FREETYPE_CFLAGS and FREETYPE_LIBS will overwrite the values obtained by pkg-config. But it is not. These help messages are automatically given by pkg-config macro (so I guess no poppler developer designed so intentionally). In current configure, FREETYPE_CFLAGS, FREETYPE_LIBS are cleared before PKG_CONFIG_MODULES(), like: dnl Check for freetype headers FREETYPE_LIBS= FREETYPE_CFLAGS= PKG_CHECK_MODULES(FREETYPE, freetype2, [freetype_pkgconfig=yes], [freetype_pkgconfig=no]) if test "x$freetype_pkgconfig" = "xyes"; then AC_DEFINE(HAVE_FREETYPE_H, 1, [Have FreeType2 include files]) else AC_PATH_PROG(FREETYPE_CONFIG, freetype-config, no) [...] Checking the history why these values are cleared, it seems that the initial revision of poppler did not use pkg-config to detect FREETYPE_CFLAGS, _LIBS. At that time, only freetype-config is used. In later, when PKG_CHECK_MODULES is introduced, it was accidentally introduced AFTER the clearning of FREETYPE_CFLAGS,_LIBS. As a result, the inconsistency between "configure --help" and what configure does really. I propose to move the clearance of FREETYPE_CFLAGS,_LIBS just before AC_PATH_PROG, to make PKG_CHECK_MODULES catch the environmental values. configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 9e0f0368e543df46b40cbd7bed6fdc1abf846e7d Author: suzuki toshiya Date: Tue Apr 17 20:19:41 2012 +0200 Do not append "-ansi" to CXXFLAG, if "-std=XXX" is already specified. SplashOutputDev.cc uses isfinite() function (defined by math.h). isfinite() was standardized in C99, and imported to C++0x in later. In QNX header file system, isfinite() is disabled by default, the definition of __STDC_VERSION__ > 199901 is required to enable it. In the case of GCC, "-std=c99" (for C) or "-std=gnu++0x" (for C++) is expected. But, current configure of poppler appends "-ansi" flag for CXXFLAGS, if the compiler is known to be GNU. "-ansi" is C89 or C++98, so isfinite() is unavailable. I propose a patch NOT to "-ansi" flag, if CXXFLAGS includes "-std=XXX" already. configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 2f1e7ef252b8d1f7ee6004825c2926f0f5e181a5 Author: Albert Astals Cid Date: Thu Apr 12 23:11:41 2012 +0200 Do not crash in broken documents They might trigger an xref reconstruct and then i could not be in bounds anymore Crash found by Joel Voss of Leviathan Security Group poppler/XRef.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 19fb9caecb1b265a8b8651e9bcf4b779f593fefd Author: Albert Astals Cid Date: Thu Apr 12 22:24:50 2012 +0200 Fix crash when the destination file does not exist Issue found by Joel Voss of Leviathan Security Group utils/HtmlOutputDev.cc | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit fa4848eae370437ab1b9863124e9a340830f66c7 Author: Adrian Johnson Date: Fri Apr 13 22:11:01 2012 +0930 man pages: add missing section heading utils/pdftotext.1 | 1 + 1 file changed, 1 insertion(+) commit 08a14aa37b177bb4586869857ae678cb4bcd4039 Author: Albert Astals Cid Date: Thu Apr 12 21:52:30 2012 +0200 0.19.3 CMakeLists.txt | 4 ++-- NEWS | 26 +++++++++++++++++++++++++- configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- 8 files changed, 33 insertions(+), 9 deletions(-) commit 52227b59d1fa2a2029bfff2f8a167efd81faebbb Author: Albert Astals Cid Date: Thu Apr 12 20:52:55 2012 +0200 Update (C) poppler/CairoFontEngine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 40cb3f27f4dcad4fe8c48f0b638eac7913fc3722 Author: Albert Astals Cid Date: Thu Apr 12 20:50:38 2012 +0200 Do not pass those params to createGfx since they aren't used glib/poppler-page.cc | 4 ++-- poppler/Page.cc | 9 +++------ poppler/Page.h | 5 ++--- 3 files changed, 7 insertions(+), 11 deletions(-) commit 9a10d31fca7f060f24bae9efe15662f02a9684ca Author: Fabio D'Urso Date: Thu Apr 12 20:31:23 2012 +0200 qt4: Remove unimplemented revision setters from public API qt4/src/poppler-annotation-private.h | 2 ++ qt4/src/poppler-annotation.cc | 62 ++++++++---------------------------- qt4/src/poppler-annotation.h | 13 -------- 3 files changed, 16 insertions(+), 61 deletions(-) commit 0531329aeb8783c48f056929e6e81cebda33500f Author: Albert Astals Cid Date: Thu Apr 12 20:07:13 2012 +0200 [qt4] Mark the dummy stuff as deprecated qt4/src/poppler-annotation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 67b7b2bdd0943680437d96349c3415aa40082cbb Author: Albert Astals Cid Date: Thu Apr 12 20:06:52 2012 +0200 [qt4] initialize the dummy members here too qt4/src/poppler-annotation.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bf171382afb6b50284c3855e3a1815a15ec34366 Author: Albert Astals Cid Date: Thu Apr 12 19:24:42 2012 +0200 Add since markers qt4/src/poppler-annotation.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit e36fd775394ee752c0f62f789359c72b52094975 Author: Albert Astals Cid Date: Thu Apr 12 18:58:29 2012 +0200 Remove unneeded forward declaration qt4/src/poppler-qt4.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c1aa4a8c0aa9d46757e3849776acac42731e02d1 Author: Fabio D'Urso Date: Thu Apr 12 00:39:33 2012 +0200 qt4: Annotation appearance invalidation Call Annot::invalidateAppearance every time the visual aspect is changed qt4/src/poppler-annotation.cc | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit 4338ae354c66e4df8d7d70a156517e27b3b80539 Author: Fabio D'Urso Date: Sun Mar 25 22:58:33 2012 +0200 qt4: Added HideAnnotations option to PSConverter qt4/src/poppler-ps-converter.cc | 23 ++++++++++++++++++++++- qt4/src/poppler-qt4.h | 3 ++- 2 files changed, 24 insertions(+), 2 deletions(-) commit e50993b3b47a759c93ccdeeaef289d6985b05bb1 Author: Fabio D'Urso Date: Thu Mar 22 19:58:12 2012 +0100 qt4: DOM annotation store - Black color is different than invalid color qt4/src/poppler-annotation.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4739a6a02097f110c37defdfa616351459902806 Author: Fabio D'Urso Date: Mon Mar 19 19:17:33 2012 +0100 qt4: Annotation removal qt4/src/poppler-annotation-private.h | 3 +++ qt4/src/poppler-annotation.cc | 29 +++++++++++++++++++++++++++++ qt4/src/poppler-page.cc | 5 +++++ qt4/src/poppler-qt4.h | 8 ++++++++ 4 files changed, 45 insertions(+) commit 25a64d69aaab61c8cf944107e649e19920244a2b Author: Fabio D'Urso Date: Tue Mar 20 01:46:07 2012 +0100 qt4: TextAnnotation write support + basic textFont getter Also makes inplaceText a synoym for contents qt4/src/poppler-annotation.cc | 159 ++++++++++++++++++++++++++++++++---------- 1 file changed, 124 insertions(+), 35 deletions(-) commit a31a8118ba07aa7f90c69130476fb7d86f8614ad Author: Fabio D'Urso Date: Sun Mar 11 23:57:51 2012 +0100 qt4: GeomAnnotation, InkAnnotation and CaretAnnotation write support qt4/src/poppler-annotation.cc | 103 ++++++++++++++++++++++++++++++++++++++---- qt4/src/poppler-annotation.h | 6 +-- 2 files changed, 96 insertions(+), 13 deletions(-) commit e4052b52002447772e24571fd13f0f22fd2bfb16 Author: Fabio D'Urso Date: Sat Mar 10 17:48:56 2012 +0100 qt4: HighlightAnnotation and StampAnnotation write support qt4/src/poppler-annotation.cc | 96 +++++++++++++++++++++++++++++++++++++++---- qt4/src/poppler-annotation.h | 4 +- 2 files changed, 91 insertions(+), 9 deletions(-) commit b5e948b6130cdb04387a8244179337c7904dcd03 Author: Fabio D'Urso Date: Wed Mar 14 17:44:50 2012 +0100 qt4: Annotation insertion and LineAnnotation support This patch adds Page::addAnnotation to insert new annotations in a page. The only annotation type that can be added is LineAnnotation. Support for other types will be added in the next patches. qt4/src/poppler-annotation-private.h | 12 ++ qt4/src/poppler-annotation.cc | 297 +++++++++++++++++++++++++++++++++-- qt4/src/poppler-annotation.h | 4 +- qt4/src/poppler-page.cc | 5 + qt4/src/poppler-qt4.h | 9 ++ 5 files changed, 316 insertions(+), 11 deletions(-) commit 20b4feec612448be8a800173ddadbf257657477e Author: Fabio D'Urso Date: Fri Mar 9 19:31:16 2012 +0100 qt4: Basic setters to edit annotations qt4/src/poppler-annotation-helper.h | 15 ++++ qt4/src/poppler-annotation-private.h | 1 + qt4/src/poppler-annotation.cc | 128 ++++++++++++++++++++++++++++++++--- 3 files changed, 135 insertions(+), 9 deletions(-) commit 0e8c35b59f0fba926b30c9a87823c92ae03bf116 Author: Fabio D'Urso Date: Fri Mar 9 01:04:28 2012 +0100 qt4: Changes to Annotation API (part 2/2) 1) Moved annotation data retrieval logic to getters for types of annotations that will be made editable in next patches. Others (Link, FileAttachment, Sound, Movie and Screen) are still entirely filled at creation time. 2) TextAnnotation's callout points setter now takes an array, not just individual points. 3) AnnotationPrivate::pdfObjectReference replaced with a getter method that directly queries the tied Annot object (if any) qt4/src/poppler-annotation-helper.h | 31 +- qt4/src/poppler-annotation-private.h | 23 +- qt4/src/poppler-annotation.cc | 1254 +++++++++++++++++++++++++++++++--- qt4/src/poppler-annotation.h | 58 +- qt4/src/poppler-link.cc | 2 +- qt4/src/poppler-page.cc | 778 +-------------------- qt4/src/poppler-qt4.h | 4 +- 7 files changed, 1217 insertions(+), 933 deletions(-) commit 73b91207649a81740183e2288809d3b84b52f595 Author: Fabio D'Urso Date: Wed Mar 7 17:05:50 2012 +0100 qt4: Changes to Annotation API (part 1/2) This is part 1/2 of a change in annotation API. It breaks both source and binary compatibility. Note that, even though DOM methods are partially modified by this patch, their output is 100% backward compatible. Therefore code relying only on DOM methods (i.e. AnnotationUtils methods) will keep working. 1) Style and Popup container classes Style and Popup (previously known as Window) properties are now wrapped in container classes. In both of them, private data is implicitly shared. The old Window structure is removed, but an undocumented window field is still exported to make Okular 4.8.0 compile. It must not be used. 2) Revisions The Annotation::Revision structure was removed, because it added an extra layer of indirection that can be avoided. Now revision scope and type are stored directly in the target Annotation, and Annotation::revisions() returns a list of pointers to child annotations. 3) All constructors are temporarily made private This patch hides all constructors from user code. Subsequent patches will restore them in the same patch as their type-specific creation support. 4) Minor fixes - Popup size was incorrectly stored as an integer value, now it's part of a QRectF. - Typo: LinkAnnotation::linkDestionation() --> linkDestination - Dash array is now exported as QVector instead of a marks/spaces integer pair - GeomAnnotation's geometricalPointWidth removed, because it was never referenced and it doesn't exist in PDF specs 5) AnnotationPrivate data is now explicitly shared Annotation private data has been rearranged so that it's now possible to uniformly give ownership of all Annotation objects to the caller. Previously Page::annotations() did leave ownership to user, but Annotation::revisions() didn't. Now both of them give ownership to user. qt4/src/poppler-annotation-private.h | 19 +- qt4/src/poppler-annotation.cc | 1022 ++++++++++++++++++++++++---------- qt4/src/poppler-annotation.h | 292 +++++++--- qt4/src/poppler-page.cc | 92 ++- qt4/src/poppler-qt4.h | 6 + 5 files changed, 997 insertions(+), 434 deletions(-) commit 7f0f080277d35f6f2e426ca2a3ff76c2856daeaf Author: Adrian Johnson Date: Tue Apr 10 00:08:49 2012 +0930 cairo: fix stroke pattern with transparency group Cairo copy path/append path with device offsets is broken. Use GfxPath instead. Bug 48468 poppler/CairoOutputDev.cc | 15 ++++++--------- poppler/CairoOutputDev.h | 4 ++-- 2 files changed, 8 insertions(+), 11 deletions(-) commit 5ea305c3924cead302092378ab67300c3099afd9 Author: Adrian Johnson Date: Sun Apr 8 23:11:30 2012 +0930 cairo: only align stroke coords for horizontal and vertical lines Bug 48318 poppler/CairoOutputDev.cc | 80 ++++++++++++++++++++++++++++++++++++----------- poppler/CairoOutputDev.h | 2 +- 2 files changed, 62 insertions(+), 20 deletions(-) commit 8414d8f621b8abb018e80f2255cfb511a1e558d4 Author: Adrian Johnson Date: Mon Apr 9 12:08:20 2012 +0930 cairo: ensure 0 width lines with stroke_adjust are aligned Previously the code path for 0 width lines ignored the stroke_adjust setting. Rearrange the code so the code path for stroke_adjust == TRUE is performed first (this will also set 0 width lines to 1 pixel wide). poppler/CairoOutputDev.cc | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit af1a84eb90656de68bb14f2c4ae4f813c51bc3a3 Author: Adrian Johnson Date: Mon Apr 9 17:17:29 2012 +0930 cairo: fix paintTransparencyGroup when both mask and fill opacity are required Bug 48453 poppler/CairoOutputDev.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 46b3a70cae3b37cb4270a83afaddd6734442b752 Author: Fabio D'Urso Date: Mon Apr 9 19:32:24 2012 +0200 Caption text rendering in AnnotLine poppler/Annot.cc | 262 ++++++++++++++++++++++++++++++++++++++----------------- poppler/Annot.h | 2 + 2 files changed, 183 insertions(+), 81 deletions(-) commit 855607828447ecec2c8444650d015e21bd17d2e2 Author: Fabio D'Urso Date: Mon Apr 9 16:45:50 2012 +0200 AnnotFreeText rendering improvements (auto word-wrap, quadding, border style, font/border color) poppler/Annot.cc | 146 +++++++++++++++++++++++++++++++++++++++++++------------ poppler/Annot.h | 1 + 2 files changed, 115 insertions(+), 32 deletions(-) commit 80f662162698c1ec27771d9cf5e2e6bc3d21c4df Author: Ihar Filipau Date: Thu Apr 12 00:19:26 2012 +0200 Fix the mask inversion utils/HtmlOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 06591d848e53598973f7d5fddac50785a46e8027 Author: Thomas Freitag Date: Wed Apr 11 23:49:29 2012 +0200 Fix Splash CMYK merge error Mail says ****** Hi, playing around with the attached PDF to get a better CMYK support for the blend mode soft light, I encountered that I made a big mistake during merge in the CMYK part of splash. I fixed that. The attached patch also includes the small enhancement I made in soft light routine. ****** poppler/SplashOutputDev.cc | 9 +++++++++ splash/Splash.cc | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) commit 1f45afde6410f03c79fcf4b66d5834079879d38f Author: Ihar Filipau Date: Mon Apr 9 19:17:41 2012 +0200 Add producer and version to xml output utils/HtmlOutputDev.cc | 2 +- utils/pdf2xml.dtd | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit cef6ac0ebbf8451beaadb3ddb6c991bbb7239432 Author: Fabio D'Urso Date: Sun Apr 8 23:15:15 2012 +0200 FIX: Do not append a NUL character to Unicode page labels poppler/PageLabelInfo.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 3d4985f14e54ddcc64ea654b23e931b7e6acfbdc Author: Fabio D'Urso Date: Sat Apr 7 11:28:36 2012 +0200 Do not trust the rect of AnnotTextMarkup when drawing poppler/Annot.cc | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) commit c6296cd8c1ca398beac20f1e88c87b9082386247 Author: Fabio D'Urso Date: Sat Apr 7 00:30:54 2012 +0200 Do not trust the rect of AnnotLine, AnnotPolygon and AnnotInk when drawing poppler/Annot.cc | 126 ++++++++++++++++++++++++++++++++++++++++++++----------- poppler/Annot.h | 27 ++++++++++++ 2 files changed, 128 insertions(+), 25 deletions(-) commit 503620ae74d719da52e3374725e490c62f7be7a3 Author: Fabio D'Urso Date: Thu Mar 29 19:07:05 2012 +0200 Do not recreate Annots when writing to PS, Export poppler-generated Annot appearance resource dict 1) With previous code each Annot object was reconstructed from the pdf object when writing to PS, leading to the fact that writeDocSetup couldn't see the generated appearance. This patch makes writeDocSetup use the same Annots object returned by Page::getAnnots. 2) This patch also enables each Annot subtype to control the exported resources. AnnotFreeText uses this new method to export font information. 3) Comment fixed in Page.h: Page::getAnnots does *not* give away ownership, in fact the returned object is destroyed by ~Page. poppler/Annot.cc | 28 ++++++++++++++++++++++++++++ poppler/Annot.h | 5 +++-- poppler/FontInfo.cc | 11 ++++------- poppler/PSOutputDev.cc | 12 +++--------- poppler/Page.h | 2 +- 5 files changed, 39 insertions(+), 19 deletions(-) commit 2733504890333b0925d95e01310726d11fed44d8 Author: Fabio D'Urso Date: Fri Mar 23 20:54:58 2012 +0100 Basic AnnotFreeText rendering (hardcoded font, WinAnsi characters only) This patch also moves layoutText and writeString from AnnotWidget to Annot poppler/Annot.cc | 137 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- poppler/Annot.h | 11 +++-- 2 files changed, 142 insertions(+), 6 deletions(-) commit 3023a59c0a1a5974b232f6f8cb629eabb6797616 Author: Fabio D'Urso Date: Sun Mar 25 22:04:11 2012 +0200 AnnotTextMarkup rendering improvements 1) FIX: Wrong coords in typeUnderline and typeStrikeout 2) Implementation of typeSquiggly 3) FIX: Form creation is common to all markup types poppler/Annot.cc | 92 ++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 56 insertions(+), 36 deletions(-) commit 8927ddc448edc016043107e88e3bc3b2b8b03269 Author: Fabio D'Urso Date: Thu Mar 22 17:33:01 2012 +0100 Improvements to AnnotLine::draw poppler/Annot.cc | 50 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 46 insertions(+), 4 deletions(-) commit bd7a40fd0312c753d1871558b566376304f1ff35 Author: Fabio D'Urso Date: Wed Mar 21 22:48:05 2012 +0100 AnnotInk rendering poppler/Annot.cc | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 2 ++ 2 files changed, 64 insertions(+) commit 6a8794abe639db8284db079e028cbcd66e138884 Author: Fabio D'Urso Date: Wed Mar 21 22:33:13 2012 +0100 AnnotPolygon rendering poppler/Annot.cc | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 2 ++ 2 files changed, 89 insertions(+) commit f389c50458079f24164b1c12b1151c8617485acb Author: Fabio D'Urso Date: Wed Mar 21 21:12:59 2012 +0100 Do not fill AnnotGeometry with transparent color Previously it was filled with black. poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c63cc22dd82f827305ad57f241ad49998f2a1c23 Author: Albert Astals Cid Date: Sun Apr 8 12:28:17 2012 +0200 Remove extra copy() (memleak) poppler/GlobalParams.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ed0c9640abcbea459e3a276ee0b27631b01c32c4 Author: Albert Astals Cid Date: Sun Apr 8 12:24:20 2012 +0200 Do not crash if mallocing too much memory Fixes crash in https://ritdml.rit.edu/bitstream/handle/1850/11220/TYehThesis1992.pdf?sequence=1 even though the page is still unrendered poppler/JBIG2Stream.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit f1e621adbbb74ec709022b2a31195331651c83fa Author: Adrian Johnson Date: Sun Apr 8 19:42:05 2012 +0930 cairo: use correct userfont font bbox cairo 1.12 started clipping text to the font bbox Bug 48399 poppler/CairoFontEngine.cc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit f5b708c3e04ba50756cd9f9530cf82f547443ce9 Author: Suzuki Toshiya Date: Fri Apr 6 15:22:36 2012 +0200 ttc<->ttf fallback is expected for CJK font list in GlobalParamsWin.cc Bug 48046 poppler/GlobalParamsWin.cc | 224 ++++++++++++++++++++++++++------------------- 1 file changed, 128 insertions(+), 96 deletions(-) commit 4e940b14a6fddde9a1714976ff8045e26cbf7d40 Author: Adrian Johnson Date: Mon Apr 2 20:03:11 2012 +0930 cairo: fix regression caused by mesh gradients poppler/CairoOutputDev.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 74a7d963de75c0097eedcf4224d13cf275a64757 Author: Carlos Garcia Campos Date: Sun Apr 1 19:35:48 2012 +0200 regtest: remove debug print to show bisect exit status in Bisect.py regtest/Bisect.py | 1 - 1 file changed, 1 deletion(-) commit 2749db77eb8ccdbc4b0771163c8942f882f259f4 Author: Carlos Garcia Campos Date: Sun Apr 1 19:20:37 2012 +0200 regtest: Fix crash when creating HTML report for a single test regtest/commands/create-report.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 1c8e1bb637347d0d31945f9d265b29e7b49396e2 Author: Carlos Garcia Campos Date: Sun Apr 1 19:11:57 2012 +0200 regtest: Don't show results for crashed or failed to run tests in HTML report regtest/HTMLReport.py | 2 ++ 1 file changed, 2 insertions(+) commit a5f4936dfb3e60ca37f932cc066aa10765f3cbc9 Author: Fabio D'Urso Date: Sat Mar 24 23:13:48 2012 +0100 Fix: annotDisplayDecideCbk was not propagated poppler/OutputDev.h | 6 +++++- poppler/PSOutputDev.cc | 11 ++++++++--- poppler/PSOutputDev.h | 5 ++++- poppler/Page.cc | 3 ++- utils/HtmlOutputDev.h | 5 ++++- 5 files changed, 23 insertions(+), 7 deletions(-) commit aab8c9a026f781da47ecedd453e225f906361444 Author: Albert Astals Cid Date: Thu Mar 29 21:49:38 2012 +0200 Increase version CMakeLists.txt | 4 ++-- configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) commit f7e65b62480631d0485167a81a588a176630dd8d Author: Albert Astals Cid Date: Thu Mar 29 21:48:11 2012 +0200 0.19.2 news NEWS | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit 627e072eb1edbfabf549656e9abf10100ed7340c Author: Albert Astals Cid Date: Thu Mar 29 21:40:13 2012 +0200 Update copyrights poppler/TextOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit e9ad888b003d343d8ca60f044c7cf10a8df81cf4 Author: Albert Astals Cid Date: Thu Mar 29 19:49:34 2012 +0200 Add quotes to the poppler version define poppler/poppler-config.h.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8172bb03b6e8f1c16e1a152fb251b10446f54129 Author: Peter Breitenlohner Date: Mon Mar 26 11:13:34 2012 +0200 define POPPLER_VERSION as C string Signed-off-by: Peter Breitenlohner configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4a38d933d06d189317b1b9028c3fa4ae2a1551af Author: Suzuki Toshiya Date: Thu Mar 29 19:34:25 2012 +0200 per-collection fallback for missing CID-keyed fonts on Win32 poppler/GlobalParamsWin.cc | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) commit a0b3e0938e08847d10c5d7b7528c7c5d43a7a3b8 Author: Hib Eris Date: Thu Mar 29 07:52:30 2012 +0200 Fix help message Partial credit goes to suzuki toshiya configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 631224dc0c721119c91984f1940c9e51edf17eca Author: Fabio D'Urso Date: Tue Mar 20 00:56:50 2012 +0100 Annotation removal poppler/Annot.cc | 17 +++++++++++++++++ poppler/Annot.h | 1 + poppler/Page.cc | 36 ++++++++++++++++++++++++++++++++++++ poppler/Page.h | 3 +++ 4 files changed, 57 insertions(+) commit 20476370a445a26f1fae9db6ad58727ee3c63550 Author: Fabio D'Urso Date: Wed Mar 28 23:16:37 2012 +0200 Basic support for Annot appearance stream removal and invalidation poppler/Annot.cc | 190 +++++++++++++++++++++++++++++++++++++++++-------------- poppler/Annot.h | 29 +++++++-- 2 files changed, 168 insertions(+), 51 deletions(-) commit e9a066c3a53cc1cb73dd43a243390ae4e3c76ca3 Author: Albert Astals Cid Date: Wed Mar 28 23:33:37 2012 +0200 Fix another typo in macGlyphNames fofi/FoFiTrueType.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3d277b230e806a648fcc6d9e7af39370aa89c2ae Author: Adrian Johnson Date: Sat Feb 18 09:19:51 2012 +1030 Fix typo in "mu" glyph name in truetype 'post' table standard mac ordering The standard mac ordering table is at: https://developer.apple.com/fonts/ttrefman/rm06/Chap6post.html fofi/FoFiTrueType.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 47b910d35b2cf5914ed4c07f751c5e8c304be7fc Author: suzuki toshiya Date: Wed Mar 28 20:21:44 2012 +0200 Add quotes this is quite small fix. In poppler's configure, basically the shell variables are not enclosed, and not quoted, aslike if test x$use_glib = x; then This syntax make the test command confused when use_glib is multi-word value, as, "no (required cairo output)". In such case, test cannot know how to evaluate the token "no" "(required" "cairo", so some "syntax error" messages are given. Thus, quoting of the variable would be safer. configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 78224609f6c1d87deee72b60a8f8f9f6c36ac75f Author: Albert Astals Cid Date: Wed Mar 28 20:21:11 2012 +0200 Workaround Windows problem with libjpeg In libjpeg6b, there is a type definition conflict issue in jmorecfg.h. jmorecfg.h typedefs INT16 as short, INT32 as long. The latter conflict with basetsd.h of Microsoft Windows SDK or MinGW that typedefs INT32 as int. basetsd.h is included by windows.h, so, if the users work with ANSI C features only, the conflict does not appear, it would be the background why such fundamental error has been preserved. Anyway, jmorecfg.h designer was aware about the conflict with X11 headers (Xmd.h defines INT16, INT32, etc), so if we pretend as if Xmd.h were included (by defining XMD_H), this issue can be bypassed. Attached patch checks the conflict, then, if there is a conflict, tries XMD_H trick, and uses it if it works. If jmorecfg.h or basetsd.h was manually fixed to prevent this issue, this trick is not used. configure.ac | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit d8cf31f8c7e190939525ad68cd4617fb48fea60e Author: suzuki toshiya Date: Wed Mar 28 20:20:43 2012 +0200 update Makefile.am to reflect LIBJPEG_CFLAGS, LIBTIFF_CFLAGS, LIBPNG_CFLAGS for related sources. goo/Makefile.am | 15 +++++++++++++++ poppler/Makefile.am | 6 ++++++ splash/Makefile.am | 16 ++++++++++++++++ utils/Makefile.am | 6 ++++++ 4 files changed, 43 insertions(+) commit f0c13f5efc641c63627b8f0b0815b6b511d8d196 Author: suzuki toshiya Date: Wed Mar 28 20:20:06 2012 +0200 Configure improvements for libs in non default paths evaluate pkg-config-like environmental variables like LIBJPEG_CFLAGS, LIBJPEG_LIBS, LIBTIFF_CFLAGS and LIBTIFF_LIBS in configuration. configure.ac | 50 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 44 insertions(+), 6 deletions(-) commit e55f485d803cb1f82e0d8a53d1998e1887c7920f Author: suzuki toshiya Date: Wed Mar 28 20:19:08 2012 +0200 Improve m4/libjpeg.m4 m4/libjpeg.m4 uses USER_INCLUDES and USER_LDFLAGS in it, but USER_INCLUDES is not reflected when jpeglib.h is searched. this patch modifies m4/libjpeg.m4 to reflect USER_INCLUDES when jpeglib.h is searched. m4/libjpeg.m4 | 6 ++++++ 1 file changed, 6 insertions(+) commit e88c17d45220eea60a3dd7fab26a067616388c5f Author: Albert Astals Cid Date: Wed Mar 28 20:05:45 2012 +0200 Fix compile in windows poppler/GlobalParamsWin.cc | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) commit ee0eaabe24019d2af226ef03e3f456787525e040 Author: Fabio D'Urso Date: Mon Mar 19 00:05:49 2012 +0100 Added Array::remove (and Object::arrayRemove) poppler/Array.cc | 13 +++++++++++++ poppler/Array.h | 4 ++++ poppler/Object.h | 5 +++++ 3 files changed, 22 insertions(+) commit d6a1b7dcaeac1e49533519b9f8a279fd64d04c67 Author: Thomas Freitag Date: Tue Mar 27 00:00:05 2012 +0200 Some regression fixes/improvements I just finished the patch for these regressions, they had differents reasons 1. In CharCodeToUnicode::mapToUnicode the identity support was missing 2. The new algorithms for axial and radial shading caused problems in cairo. I revert these changes but removed the examination of hidden content (this is already done in the calling function) 3. The examination of optional hidden content in showing text was wrong: of course hidden text should not be shown, but text parameters like text position in the state must be changed! 4. Searching and finding fonts especially with base14 fonts should be more exact than just looking at the base14 name (i.e. fixed width and so on) when using fontconfig. I implement that to find the best font fitting to the needs. poppler/CharCodeToUnicode.cc | 5 + poppler/Gfx.cc | 329 ++++++++++++++++++++----------------------- poppler/GfxFont.cc | 3 +- poppler/GlobalParams.cc | 78 +++++++--- poppler/GlobalParams.h | 6 +- 5 files changed, 218 insertions(+), 203 deletions(-) commit a5257efe00d0fe850b1abe5c552f7581027ac64c Author: Fabio D'Urso Date: Mon Mar 26 19:28:55 2012 +0200 Re-added forceRasterize to PSOutputDev (and qt4 fix too)‏ The patch restores the forceRasterize argument in PSOutputDev ctors. Commit 6ee907f291427b8751a872b31210bf32e8d2b722 had removed it, turning it into a global param. As a side effect, this patch also fixes qt4/poppler-ps-converter, which had not been updated to the new signature, and thus produced corrupted output if forceRasterization was set. glib/poppler-page.cc | 2 +- poppler/GlobalParams.cc | 16 ---------------- poppler/GlobalParams.h | 3 --- poppler/PSOutputDev.cc | 6 +++++- poppler/PSOutputDev.h | 3 +++ 5 files changed, 9 insertions(+), 21 deletions(-) commit 55d039ada063a9427de6dd59846ce1570ab26e9f Author: Suzuki Toshiya Date: Mon Mar 26 22:31:29 2012 +0200 CJK improvements More info in the mailing list threads * script names for vertical writing mode should be differentiated for CJK * 2 workarounds for a Korean font on Microsoft Windows fofi/FoFiTrueType.cc | 47 ++++++++++++++++++++++++++++++++++++----------- fofi/FoFiTrueType.h | 8 +++++++- poppler/GfxFont.cc | 14 ++++++++------ 3 files changed, 51 insertions(+), 18 deletions(-) commit a8b0fa4d07480242afba7751995e38eaf3147ac5 Author: Horst Prote Date: Mon Mar 26 21:04:32 2012 +1030 don't add newline to last line extracted by TextSelectionDumper Bug 45955 poppler/TextOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c40e2315cd796ba928969d13a761f5f19d8438fc Author: Adrian Johnson Date: Fri Mar 23 21:49:42 2012 +1030 cairo: use a transparency group with setSoftMaskFromImageMask/unsetSoftMaskFromImageMask Drawing a tiling pattern between setSoftMaskFromImageMask and unsetSoftMaskFromImageMask clears the softmask. Similar to Splash, create a transparency group in setSoftMaskFromImageMask. Pop and paint the group in unsetSoftMaskFromImageMask. The saveState/restoreState is to ensure the softmask is restored before painting the group. Bug 47739 poppler/CairoOutputDev.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 7b57afea2e433fc7b6f359a62b1289f0e1da3267 Author: Adrian Johnson Date: Sat Mar 24 08:27:34 2012 +1030 cairo: update cairo mesh pattern to 1.12 api Now that a stable version of cairo with mesh gradient support is released update poppler to use this api. poppler/CairoOutputDev.cc | 40 ++++++++++++++++++++-------------------- poppler/CairoOutputDev.h | 4 ++-- 2 files changed, 22 insertions(+), 22 deletions(-) commit 2f156b34fc8755ddd2a32cac830f3073d6b2c481 Author: Suzuki Toshiya Date: Fri Mar 23 20:00:18 2012 +0100 Fix compile in mingw-gcc poppler/GlobalParamsWin.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 06b6db92dd1ec32f9a55347073f8b533aa074ee1 Author: Fabio D'Urso Date: Sun Mar 18 23:58:05 2012 +0100 Added XRef::removeIndirectObject poppler/PDFDoc.cc | 15 ++++++++++----- poppler/XRef.cc | 15 +++++++++++++++ poppler/XRef.h | 2 ++ 3 files changed, 27 insertions(+), 5 deletions(-) commit a2e9b7c02ffa0e5edc4da18cc726993bc92fc684 Author: Fabio D'Urso Date: Mon Mar 19 19:17:09 2012 +0100 Fix in AnnotMarkup's popup window handling AnnotPopup's ref was previously set to the *parent* annot, now it's correctly set to the *popup* annot's own. poppler/Annot.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 05641304df67beae546a2fe18071f3be52707aa8 Author: Fabio D'Urso Date: Mon Mar 19 20:56:45 2012 +0100 Basic Annot border editing support poppler/Annot.cc | 23 +++++++++++++++++++++++ poppler/Annot.h | 9 +++++++++ 2 files changed, 32 insertions(+) commit 3e6275a05066c152b265cc27275d9e4107c089e9 Author: Fabio D'Urso Date: Fri Mar 16 21:47:02 2012 +0100 Yet new setters to AnnotFreeText poppler/Annot.cc | 45 +++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 2 ++ 2 files changed, 47 insertions(+) commit f69f41056fc8cd8a70b38024f255e9074af20bdc Author: Pino Toscano Date: Tue Mar 20 15:18:33 2012 +0100 cmake: reset CMAKE_REQUIRED_INCLUDES/CMAKE_REQUIRED_LIBRARIES cmake/modules/FindLIBOPENJPEG.cmake | 3 +++ 1 file changed, 3 insertions(+) commit 4a9238441a5317c3304296e4e6430cccefe8322c Author: Ihar Filipau Date: Fri Mar 16 00:07:45 2012 +0100 Flip images if they need to Bug 32340 utils/HtmlOutputDev.cc | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) commit 6d68d0d3acc8c8e0d9d310b2e1ba2b07d6bfe942 Author: Ihar Filipau Date: Thu Mar 15 22:56:10 2012 +0100 pdftohtml: extract mask images even if they are not JPEG Bug #47186 utils/HtmlOutputDev.cc | 203 +++++++++++++++++++++++++++++++------------------ utils/HtmlOutputDev.h | 3 + 2 files changed, 131 insertions(+), 75 deletions(-) commit 60155e0fc7224a6b479bf62133f72c460fe48078 Author: Albert Astals Cid Date: Thu Mar 15 20:46:53 2012 +0100 Install poppler-media.h qt4/src/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 6a173844d5ca6f32e188406ab14cae6a7548fc1d Author: Albert Astals Cid Date: Thu Mar 15 20:44:12 2012 +0100 Add the export qt4/src/poppler-media.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e401f8e6ba3e18d5a3a4920cd111b2174c75f415 Author: Albert Astals Cid Date: Thu Mar 15 20:32:12 2012 +0100 Increase version and sonames CMakeLists.txt | 4 ++-- configure.ac | 2 +- cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) commit ce059698e8c5097f75e7a0f828af0936aa104af0 Author: Albert Astals Cid Date: Thu Mar 15 20:27:45 2012 +0100 0.19.1 news Also inclusing 0.18.x ones NEWS | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) commit 2041d5721871adb2a23999c16ecbdc60abb7b1c4 Author: Albert Astals Cid Date: Thu Mar 15 20:20:31 2012 +0100 Update C years poppler/CMap.h | 1 + poppler/GfxFont.h | 2 +- poppler/Rendition.cc | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit 95d684aa2a87d01296f5e93516f2ac3f54adbec8 Author: Guillermo Amaral Date: Thu Mar 15 20:13:20 2012 +0100 Remove the QIODevice and go with a not so good but more safer QByteArray Bug #47336 qt4/src/CMakeLists.txt | 1 - qt4/src/Makefile.am | 1 - qt4/src/poppler-media.cc | 35 ++++++++++----- qt4/src/poppler-media.h | 4 +- qt4/src/poppler-page.cc | 1 - qt4/src/poppler-streamsequentialdevice-private.h | 51 --------------------- qt4/src/poppler-streamsequentialdevice.cc | 56 ------------------------ 7 files changed, 26 insertions(+), 123 deletions(-) commit 9fee12f9bee7252db0974ef69870b69ff1452053 Author: Albert Astals Cid Date: Thu Mar 15 19:23:47 2012 +0100 Compile++ qt4/src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit aa1e6d12d063a64a22841f7996101b45aa680ec7 Author: Guillermo Amaral Date: Thu Mar 15 00:35:31 2012 +0100 Added media rendition support for Qt4 qt4/src/CMakeLists.txt | 3 + qt4/src/poppler-annotation.cc | 66 ++++++++++ qt4/src/poppler-annotation.h | 47 ++++++- qt4/src/poppler-link.cc | 44 +++++++ qt4/src/poppler-link.h | 38 +++++- qt4/src/poppler-media.cc | 149 +++++++++++++++++++++++ qt4/src/poppler-media.h | 94 ++++++++++++++ qt4/src/poppler-page.cc | 32 ++++- qt4/src/poppler-qt4.h | 2 + qt4/src/poppler-streamsequentialdevice-private.h | 51 ++++++++ qt4/src/poppler-streamsequentialdevice.cc | 56 +++++++++ 11 files changed, 579 insertions(+), 3 deletions(-) commit 258e2197afa49e60b0b13a05408fc8d484dd8147 Author: Fabio D'Urso Date: Wed Mar 14 23:25:00 2012 +0100 Added some new setters to AnnotFreeText poppler/Annot.cc | 39 +++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 4 ++++ 2 files changed, 43 insertions(+) commit 84a62ac157e03880c1c1eda60c3927bd4414640e Author: Fabio D'Urso Date: Wed Mar 14 23:24:28 2012 +0100 Added some new setters to AnnotGeometry, AnnotInk and AnnotCaret poppler/Annot.cc | 116 +++++++++++++++++++++++++++++++++++++++++-------------- poppler/Annot.h | 10 +++++ 2 files changed, 96 insertions(+), 30 deletions(-) commit 233c9a097bdc382f6a2eb6319ee15528c72e9632 Author: Fabio D'Urso Date: Wed Mar 14 23:23:59 2012 +0100 Added some new setters to AnnotTextMarkup and AnnotStamp poppler/Annot.cc | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 11 ++++++++-- 2 files changed, 70 insertions(+), 2 deletions(-) commit 8fb3ac6cf66233b80959ba99a2c706111050f5f1 Author: Fabio D'Urso Date: Wed Mar 14 23:23:23 2012 +0100 Added Page::getDoc() poppler/Page.h | 2 ++ 1 file changed, 2 insertions(+) commit dc4cb07c1e735006d5168e0e65f5143d7fc53e12 Author: Fabio D'Urso Date: Wed Mar 14 23:22:10 2012 +0100 Added some new setters to AnnotLine and AnnotPolygon poppler/Annot.cc | 201 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- poppler/Annot.h | 16 +++++ 2 files changed, 211 insertions(+), 6 deletions(-) commit 4931018eecc37dbbe0df1a456347ab200f1b057a Author: Fabio D'Urso Date: Wed Mar 14 23:21:07 2012 +0100 Make Dict::set remove the entry if object is Null poppler/Dict.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 13ac2c0bed3fa5515a3c068488cb6a0b17410a97 Author: Fabio D'Urso Date: Wed Mar 14 23:20:13 2012 +0100 Added some new setters to Annot and AnnotMarkup poppler/Annot.cc | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++---- poppler/Annot.h | 8 +++++ 2 files changed, 96 insertions(+), 6 deletions(-) commit aa2b5ffa7961aac0aea33ae9a42bf1f38a756b1b Author: Pino Toscano Date: Wed Mar 14 16:25:35 2012 +0100 qt4: replace ObjectReference with simplier Ref instead of roll out a new (still private) version of Ref, just use it for private annotation and link data; this needed a couple of explicit initializations of Ref (since it's a simple struct with no methods) and a private operator== for it qt4/src/CMakeLists.txt | 1 - qt4/src/poppler-annotation-private.h | 4 +- qt4/src/poppler-annotation.cc | 1 + qt4/src/poppler-link.cc | 16 ++++--- qt4/src/poppler-link.h | 5 +- qt4/src/poppler-objectreference.cc | 89 ------------------------------------ qt4/src/poppler-objectreference_p.h | 77 ------------------------------- qt4/src/poppler-page.cc | 7 ++- 8 files changed, 21 insertions(+), 179 deletions(-) commit e5b914b2bfbb5e95ecde5f1ce148374b1d58dadd Author: Ihar Filipau Date: Tue Mar 13 23:54:26 2012 +0100 Add possibilty of controlling word breaks percentage Bug #47022 utils/HtmlOutputDev.cc | 7 +++++-- utils/pdftohtml.1 | 5 +++++ utils/pdftohtml.cc | 7 +++++++ 3 files changed, 17 insertions(+), 2 deletions(-) commit 4388cb69114e406ec29e8b6976d1a900e4ab1b7d Author: Albert Astals Cid Date: Sun Mar 11 23:37:39 2012 +0100 Make doUpdateFont protected So that people inheriting from SplashOutputDev *yuck* can use it more easily Bug 46622 poppler/SplashOutputDev.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 448cfc431b7067af38da51e725ac0f1b2a0bc8f8 Author: Tobias Koenig Date: Sun Mar 11 23:22:18 2012 +0100 support for LinkMovie object in Qt4 frontend Bug #40561 qt4/src/CMakeLists.txt | 1 + qt4/src/poppler-annotation-private.h | 4 ++ qt4/src/poppler-annotation.h | 4 ++ qt4/src/poppler-link.cc | 42 +++++++++++++---- qt4/src/poppler-link.h | 43 +++++++++++++++-- qt4/src/poppler-objectreference.cc | 89 ++++++++++++++++++++++++++++++++++++ qt4/src/poppler-objectreference_p.h | 77 +++++++++++++++++++++++++++++++ qt4/src/poppler-page.cc | 39 ++++++++++++---- 8 files changed, 276 insertions(+), 23 deletions(-) commit a0d151deabf8243c98ff9953f8a43bb56fbf95a9 Author: Carlos Garcia Campos Date: Sun Mar 11 16:05:15 2012 +0100 regtest: Add find-regression command to run git bisect automatically regtest/Bisect.py | 113 ++++++++++++++++++++++++++++++++++++ regtest/builder/__init__.py | 86 +++++++++++++++++++++++++++ regtest/builder/autotools.py | 63 ++++++++++++++++++++ regtest/commands/find-regression.py | 77 ++++++++++++++++++++++++ 4 files changed, 339 insertions(+) commit 856768c380ecea30ce9727b81c4c44b4f9489626 Author: Carlos Garcia Campos Date: Sat Mar 10 18:15:58 2012 +0100 regtest: Add information about skipped tests in the summary regtest/TestRun.py | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 508c7c3ef1f22459daa822f8287cab382119e753 Author: Tobias Koenig Date: Wed Mar 7 18:35:05 2012 +0100 Fix logic error in Rendition parsing code Make the rendition object invalid when both P an C entries are not present or are invalid in Media Rendition dictionary. https://bugs.freedesktop.org/show_bug.cgi?id=47063 poppler/Rendition.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 68625258ab3cfc3e8e10a727e397f80bed0d1f5c Author: Adrian Johnson Date: Sun Mar 4 18:37:53 2012 +1030 glib demo: make ctrl-q quit the demo glib/demo/main.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 684b47727ba810ad6bf239e2838aa65b6f6cec36 Author: Adrian Johnson Date: Sun Mar 4 18:10:49 2012 +1030 glib demo: show font encoding in font demo glib/demo/fonts.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 48c08d28645d82ab9d67433a0150f6e1ba24b7c6 Author: Adrian Johnson Date: Sun Mar 4 17:49:56 2012 +1030 glib: add poppler_fonts_iter_get_encoding glib/poppler-document.cc | 26 ++++++++++++++++++++++++++ glib/poppler-document.h | 1 + glib/reference/poppler-sections.txt | 1 + 3 files changed, 28 insertions(+) commit 8d935569a977675afac35cf1bd5f2611b6a771b6 Author: Albert Astals Cid Date: Mon Mar 5 21:59:09 2012 +0100 Fix regression in some PSOutputDev array sizing poppler/PSOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2484bc0f29aef74c45ea39ef1e24804ed736154c Author: Albert Astals Cid Date: Sun Mar 4 23:47:24 2012 +0100 Fix mismatch in some functions declarations goo/GooString.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 35c960d198d2efa97d15e962662114c5c31b8d20 Author: Even Rouault Date: Sun Mar 4 20:32:42 2012 +0100 Do not crash on malformed files with 0 bits in the color map of an image poppler/Gfx.cc | 4 ++++ 1 file changed, 4 insertions(+) commit dae29c6c201cd69cbf4f008de865cc19a36f29b3 Author: Thomas Freitag Date: Sun Mar 4 15:22:02 2012 +0100 CJK substitute implementation on WIndows platforms. When You install ghostscript on WIndows You're able to switch on CJK support. This will create a cidfmap file in the gs-lib directory. The ps file which creates it (mkcidfm.ps) runs over the windows font directory and tries to create a suitable substitution table for missing CJK fonts. The cidfmap file is more or less PDF like, so it's quite easy to parse it with our parser and create a substitution table in GlobalParamsWin and use that table. But I expect it in the poppler data dir instead of searching for ghostscript installation. If it is not there, it always returns the default CID font of point 2. You can either copy it from the gs lib directory or create it with the ghostscript tool calling gswin32c -q -dBATCH -sFONTDIR= -sCIDFMAP=/cidfmap mkcidfm.ps poppler/GlobalParams.cc | 5 +++ poppler/GlobalParams.h | 2 + poppler/GlobalParamsWin.cc | 106 ++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 103 insertions(+), 10 deletions(-) commit 32e47ee03840cc8f21c00497025864d77edb75f5 Author: Thomas Freitag Date: Sun Mar 4 15:21:13 2012 +0100 Improve CJK suport in PSOutputDev 1. Adapt bug fix for bug 11413 to the postscript device 2. A small bug fix when locateFont doesn't find a suitable font and returns a null pointer to 1.: Adapting the implementation of the bug fix for splash and cairo to the postscript device was quite easy. But my first proofs of the output with ghostscript 8.71 shows some regressions where the CJK chars have a smaller height than the default square of the font. But the "48" in the output of bug-poppler11413.pdf which is set in a "normal" font but rotated was at the right position. Then I stepped to ghostscript 9.04, and now the CJK chars were shown correctly, but the 48 was positioned wrong. But because of these different tests I think that it is still a problem in ghostscript when using a mix of CJK fonts and "normal" fonts. BTW, also Acrobat X distiller has problems with the position of the "48"! to 2.: On my first tests with PDF which uses non embedded CJK fonts on Windows I got crashes. Reason for it was that GlobalParamWin returns Helvetica, which is not a CID font, but locateFont accepts here only CID fonts and therefore returns a NULL pointer. I first fixed that and then decided to return as default MS Mincho if a CID font is expected. poppler/PSOutputDev.cc | 203 ++++++++++++++++++++++--------------------------- 1 file changed, 92 insertions(+), 111 deletions(-) commit 61037a6de157e39331ae7a8b12ee5a115fd7e936 Author: Adrian Johnson Date: Sun Mar 4 17:40:40 2012 +1030 glib demo: fix typo glib/demo/selections.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit aff5b0a4f04c12ad7733aedbc9997367f5873aa1 Author: Carlos Garcia Campos Date: Sat Mar 3 20:10:17 2012 +0100 regtest: Ignore backends with no results when creating html report regtest/HTMLReport.py | 5 +++++ 1 file changed, 5 insertions(+) commit 9d28b8db3561845f4ca94c29479a259ceaf78bc5 Author: Carlos Garcia Campos Date: Sat Mar 3 14:42:51 2012 +0100 regtest: Add --pretty-diff option to create-report command It includes a pretty-diff link to make a bit easier to check differences in test results. For images it creates a html with javascript that toggles actual and expected image, using the same code than WebKit layout test results. For text files it uses HtmlDiff class from python difflib. It's an option disabled by default because pretty diff for text files is very slow. regtest/HTMLReport.py | 128 +++++++++++++++++++++++++++++++++++++- regtest/commands/create-report.py | 4 ++ 2 files changed, 129 insertions(+), 3 deletions(-) commit 670ea176495b8b580daba061840c914714bf422d Author: Adrian Johnson Date: Fri Mar 2 22:22:16 2012 +1030 pdffonts: list the encoding of each font Bug 46888 poppler/CMap.h | 2 ++ poppler/FontInfo.cc | 3 +++ poppler/FontInfo.h | 2 ++ poppler/GfxFont.cc | 26 ++++++++++++++++++++++++++ poppler/GfxFont.h | 4 ++++ utils/pdffonts.1 | 3 +++ utils/pdffonts.cc | 7 ++++--- 7 files changed, 44 insertions(+), 3 deletions(-) commit 3ab6b5ebf3b6c0d59bcb2ec68eae1aa95cab1d0e Author: William Bader Date: Fri Mar 2 19:40:44 2012 +0100 Fix pdftops -passfonts regression This patch fixes pdftops -passfonts by using the new psFontPassthrough variable consistently and removing the old psSubstFonts and its setter and getter in GlobalParams. Bug 46744 poppler/GlobalParams.cc | 9 +-------- poppler/GlobalParams.h | 4 +--- utils/pdftops.cc | 10 +++++----- 3 files changed, 7 insertions(+), 16 deletions(-) commit 6c1ee34424b1122c0a2222b776d8d475f7c555cd Author: Adrian Johnson Date: Fri Mar 2 18:41:58 2012 +1030 Update poppler copyright poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit cdb1350d1e28cf3bceda75736ca91e13d193de84 Author: Albert Astals Cid Date: Thu Mar 1 18:58:02 2012 +0100 Increase versions CMakeLists.txt | 4 ++-- configure.ac | 2 +- cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) commit 2c9e6fa5b3bc6cd01618c3fb4f46533bfce97466 Author: Albert Astals Cid Date: Thu Mar 1 18:48:17 2012 +0100 0.19.0 news file NEWS | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) commit 14f6abfcb83f91755e6de05cd33870934bba3cfb Author: Albert Astals Cid Date: Thu Mar 1 17:53:25 2012 +0100 Update copyrights goo/JpegWriter.cc | 2 +- poppler/CairoFontEngine.cc | 1 + poppler/CairoOutputDev.cc | 3 ++- poppler/CairoOutputDev.h | 2 +- poppler/CairoRescaleBox.cc | 15 +++++++++++++++ poppler/FontInfo.cc | 2 +- poppler/FontInfo.h | 1 + poppler/Gfx.cc | 2 +- poppler/GfxFont.cc | 1 + poppler/GlobalParams.cc | 2 ++ poppler/GlobalParams.h | 1 + poppler/Lexer.cc | 1 + poppler/NameToUnicodeTable.h | 2 +- utils/ImageOutputDev.cc | 1 + utils/ImageOutputDev.h | 1 + utils/parseargs.cc | 1 + utils/parseargs.h | 1 + utils/pdffonts.cc | 1 + utils/pdfimages.cc | 1 + utils/pdftocairo.cc | 2 +- utils/pdftoppm.cc | 2 +- 21 files changed, 37 insertions(+), 8 deletions(-) commit e63ca8184168f824575be9bbb64e9b1eac1eff94 Author: Adrian Johnson Date: Thu Mar 1 21:46:12 2012 +1030 pdftocairo: document that -scale-to will preserve aspect ratio based on pdftpppm patch 7ec31b8dc40ec8a3534fbb89964aa011aeb81f5e utils/pdftocairo.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit fa82a7ce1372e5976ad95624115fcd7a4d9bd22c Author: Adrian Johnson Date: Thu Mar 1 21:43:32 2012 +1030 pdftocairo: allow one of -scale-to-[xy] = -1 to mean the aspect ratio is to be preserved based on pdftoppm patch 38ace7db5de0b2b247fd520e48a8f26e5d28c9d7 utils/pdftocairo.1 | 8 ++++++-- utils/pdftocairo.cc | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) commit a2b008223ad6887f00d76c535f2b0b0f13f52b76 Author: Adrian Johnson Date: Tue Feb 28 21:38:19 2012 +1030 glib: add copy button to selections demo glib/demo/selections.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit b666d19308a043206e405c7e9d4ad709d68d331b Author: Adrian Johnson Date: Tue Feb 28 21:07:06 2012 +1030 glib: show substitute font name in demo glib/demo/fonts.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 18bc59fcf5a59b1fd51a631c02e900790c3a6dc0 Author: Adrian Johnson Date: Tue Feb 28 21:06:38 2012 +1030 glib: add poppler_fonts_iter_get_substitute_name glib/poppler-document.cc | 27 +++++++++++++++++++++++++++ glib/poppler-document.h | 1 + glib/reference/poppler-docs.sgml | 4 ++++ glib/reference/poppler-sections.txt | 1 + 4 files changed, 33 insertions(+) commit 4eaafe67de79fb63ebf61f031a97bbc0ed6a8891 Author: Albert Astals Cid Date: Wed Feb 29 23:22:34 2012 +0100 Change nnnnnn to number This way people won't expect it to be six fixed digits Bug #46708 utils/pdftoppm.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit aec6cb67951e56e4557a11c4fdf301e585268fe4 Author: William Bader Date: Wed Feb 29 23:18:16 2012 +0100 Fix stuff lost when merging xpdf303 restore the implementation of -binary restore the fix that level2sep and level3sep must write cmyk instead of rgb restore the conversion of bitmaps with all gray to mono8 fixed the CMYK misspelling in Stream. poppler/PSOutputDev.cc | 284 +++++++++++++++++++++++++++++++++++++++++-------- poppler/Stream.cc | 55 ++++++++-- poppler/Stream.h | 39 ++++++- 3 files changed, 320 insertions(+), 58 deletions(-) commit e977925a1eb15083e6b020b31da77ddef9d5df02 Author: William Bader Date: Wed Feb 29 23:12:24 2012 +0100 Fix double alloc xpdf303 merge glitch poppler/PSOutputDev.cc | 1 - 1 file changed, 1 deletion(-) commit e13efe04facdc10f3acffece3b057544f018f40c Author: William Bader Date: Wed Feb 29 23:10:43 2012 +0100 Fix memory leak Wrong merge from xpdf303 poppler/GfxState.cc | 3 +++ 1 file changed, 3 insertions(+) commit adfc03e441b2a86dab5216dc560fd79343dfbe4f Author: Hib Eris Date: Wed Feb 29 21:10:56 2012 +0100 Only use Hints table when there are no parse errors Fixes bug #46459. poppler/Hints.cc | 6 ++++-- poppler/Parser.cc | 30 ++++++++++++++++++++++++------ poppler/Parser.h | 7 +++++-- 3 files changed, 33 insertions(+), 10 deletions(-) commit 7ec31b8dc40ec8a3534fbb89964aa011aeb81f5e Author: Adrian Johnson Date: Mon Feb 27 21:15:39 2012 +1030 pdftoppm: document that -scale-to will preserve aspect ratio utils/pdftoppm.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 38ace7db5de0b2b247fd520e48a8f26e5d28c9d7 Author: Adrian Johnson Date: Sat Feb 25 20:02:22 2012 +1030 pdftoppm: allow one of -scale-to-[xy] = -1 to mean the aspect ratio is to be preserved bug 43393 utils/pdftoppm.1 | 8 ++++++-- utils/pdftoppm.cc | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) commit 738b879ebb536cc84d7ec96543d484023b69e6d3 Author: Carlos Garcia Campos Date: Sat Feb 25 20:53:58 2012 +0100 regtest: Add create-report command to generate html report of test results regtest/HTMLReport.py | 197 ++++++++++++++++++++++++++++++++++++++ regtest/backends/__init__.py | 20 +++- regtest/commands/create-report.py | 57 +++++++++++ 3 files changed, 273 insertions(+), 1 deletion(-) commit d5faabd509c2860ab199ee89b8ef9d4c14fa5118 Author: Carlos Garcia Campos Date: Sat Feb 25 20:50:53 2012 +0100 regtest: Use diff.png extension for image diff files So that they are recognized as images regtest/backends/__init__.py | 16 ++++++++++++++-- regtest/backends/cairo.py | 2 +- regtest/backends/splash.py | 2 +- regtest/backends/text.py | 2 +- 4 files changed, 17 insertions(+), 5 deletions(-) commit 2a5f1594a23cf521497f904b502fbadf56a9e780 Author: William Bader Date: Sat Feb 25 16:32:33 2012 +0100 Fix PSOutputDev regression with -level1 poppler/PSOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6a5deb0a86ad227cce3f85b1f58a9b86755cd812 Author: Adrian Johnson Date: Sat Feb 25 19:39:02 2012 +1030 autoconf: PKG_CHECK_EXISTS should not have the variable prefix in the first argument configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8f4566c14a727fb75c4c353989cf5eb96516c2e3 Author: Adrian Johnson Date: Wed Feb 22 21:21:52 2012 +1030 autoconf: replace openjpeg compile test with a version test Now that openjpeg 1.5 is released and supports pkg-config the compile test can be replaced with a pkg-config version check. configure.ac | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit 30f38bf425e2f76b3f6cc4c080137ac7219a9dbe Author: Adrian Johnson Date: Wed Feb 22 21:01:59 2012 +1030 autoconf: Use pkgconfig to check for libopenjpeg and if not found fallback to using AC_CHECK_LIB/AC_CHECK_HEADERS openjpeg >= 1.4 installs a pkgconfig file Bug 21789 configure.ac | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) commit 466340d257ff0fe7e3a88a4e013e3feec3f7b70a Author: Albert Astals Cid Date: Thu Feb 23 23:47:15 2012 +0100 Combine UTF16 surrogate pairs Bug 46521 utils/HtmlOutputDev.cc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 675ef2bda3c4e06b39e2ba09b3b19d99cfb001b6 Author: Oliver Sander Date: Thu Feb 23 23:22:50 2012 +0100 Compile poppler/Stream.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7705e65c231cc3af296bf19f5cba110cabb72e7d Author: Albert Astals Cid Date: Thu Feb 23 23:09:23 2012 +0100 Generate outlines in pdftohtml in -xml mode. Bug 56993 utils/HtmlOutputDev.cc | 130 ++++++++++++++++++++++++++++++++++++------------- utils/HtmlOutputDev.h | 7 ++- utils/pdf2xml.dtd | 7 ++- utils/pdftohtml.cc | 5 +- 4 files changed, 108 insertions(+), 41 deletions(-) commit 30446bdd7e202eed88d131e04477c76861fd145c Author: Albert Astals Cid Date: Thu Feb 23 22:56:17 2012 +0100 Use an Identity CharCodeToUnicode for Adobe-Identity and Adobe-UCS collections Also fix Identity CharCodeToUnicode code Bug #35468 poppler/CharCodeToUnicode.cc | 18 +++++++++++++----- poppler/CharCodeToUnicode.h | 7 +++++-- poppler/GfxFont.cc | 13 +++++++------ 3 files changed, 25 insertions(+), 13 deletions(-) commit 71104f1ec55d3be999afaa1b62405454b31066a9 Author: Albert Astals Cid Date: Thu Feb 23 19:34:57 2012 +0100 Remove unneded CharCodeToUnicode includes poppler/ArthurOutputDev.cc | 3 +-- poppler/CairoFontEngine.cc | 3 +-- poppler/CairoOutputDev.cc | 3 +-- poppler/SplashOutputDev.cc | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) commit c0c8cc1592ee6aa13157e34f8083b951d487a413 Author: Adrian Johnson Date: Thu Feb 23 21:13:23 2012 +1030 glib docs: fix typo glib/poppler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fde3bed0f400a50f31f1f6bcee44ac1b2c17ddc6 Author: Albert Astals Cid Date: Wed Feb 22 00:03:37 2012 +0100 pdfinfo: decode utf-16 surrogate pairs Based on a patch by Adrian Johnson Bug 23075 utils/pdfinfo.cc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 3361564364a1799fc3d6c6df9f208c5531c407dc Author: Adrian Johnson Date: Tue Feb 21 22:20:02 2012 +0100 Expand glyph name ligatures such as "ff", "ffi" etc to normal form Bug 7002 poppler/GfxFont.cc | 14 +++++++++++++- poppler/UnicodeTypeTable.cc | 9 +++++++++ poppler/UnicodeTypeTable.h | 3 +++ 3 files changed, 25 insertions(+), 1 deletion(-) commit d0186c558f4a84a9317687ad50b460d34fb5fdf0 Author: Pino Toscano Date: Mon Feb 20 22:18:00 2012 +0100 cmake: support for lcms2 followup of e48c22d3b70412015b9cc07a9a6ce07845274e13 also for the CMake build system, importing the FindLCMS2.cmake from kdelibs CMakeLists.txt | 26 +++++++++++++-- cmake/modules/FindLCMS2.cmake | 73 +++++++++++++++++++++++++++++++++++++++++++ config.h.cmake | 3 ++ utils/CMakeLists.txt | 3 ++ 4 files changed, 102 insertions(+), 3 deletions(-) commit e48c22d3b70412015b9cc07a9a6ce07845274e13 Author: Koji Otani Date: Mon Feb 20 22:04:01 2012 +0100 Add support for lcms2 configure.ac | 24 ++++++- poppler/GfxState.cc | 159 +++++++++++++++++++++++++++----------------- qt4/src/poppler-document.cc | 5 ++ utils/pdftocairo.cc | 17 +++++ 4 files changed, 143 insertions(+), 62 deletions(-) commit 1bcae7aa8f87cc85ee6b477bf0abb49452e46505 Author: Igor Slepchin Date: Sun Feb 19 23:40:50 2012 +0100 Consistently check if pdftohtml needs to generate outlines. utils/pdftohtml.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 126bf08105e319f9216654782e5a63f99f1d1825 Author: Albert Astals Cid Date: Sun Feb 19 23:18:25 2012 +0100 Update glyph names to Unicode values mapping Added Zapf Dingbat names and fixed copyrightsans, copyrightserif, registersans, registerserif, trademarksans, trademarkserif Kudos to Adrian Johnson for find what was missing :-) Bug #13131 poppler/NameToUnicodeTable.h | 213 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 207 insertions(+), 6 deletions(-) commit c0fec84312a37f62bdbfdee7c8e9b520af28330a Author: Pino Toscano Date: Sun Feb 19 14:47:24 2012 +0100 fix typo, GString -> GooString goo/GooString.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aaae8996766f259dcc329755c7cccde7c916c1fb Author: Adrian Johnson Date: Thu Feb 16 22:22:15 2012 +1030 cairo: set mask matrix before drawing an image with a mask Bug 40828 poppler/CairoOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit fff439f25d9bbd199db5646deccd80733138898e Author: Adrian Johnson Date: Sun Feb 19 15:45:31 2012 +1030 update .gitignore utils/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 1cc3e152d6e879eb13fbdf2964ede3e01d13d097 Author: Adrian Johnson Date: Sun Feb 19 15:43:09 2012 +1030 glib docs: fix typo glib/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f4db591276ec156c55b3a3c2020a1cf82f1519b Author: Adrian Johnson Date: Sun Feb 19 15:37:04 2012 +1030 cairo: fix pdftocairo crash when pdf document uses actualText poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b72ee4e4c8658b2f7cd542d601a5c3be621d3fc Author: Thomas Freitag Date: Sat Feb 18 17:34:12 2012 +0100 Make some of the unfilteredResets be really unfiltered poppler/Stream.cc | 26 ++++++++++++++++++++------ poppler/Stream.h | 3 +++ 2 files changed, 23 insertions(+), 6 deletions(-) commit 33aded82fbd98832eaab7cb7487fe6a1c7ef15f5 Author: Albert Astals Cid Date: Sat Feb 18 17:21:10 2012 +0100 Rework XRef getNumObjects and getSize Kill XRef::last since we do not maintain it correctly, now getNumObjects returns size as it did Kill getSize as it just returns the same as getNumObjects poppler/PDFDoc.cc | 10 +++++----- poppler/XRef.cc | 12 +----------- poppler/XRef.h | 6 ++---- 3 files changed, 8 insertions(+), 20 deletions(-) commit 521d3740e9b7d2cfacf29f089a4a8f6c962de807 Author: Adrian Johnson Date: Mon Feb 13 22:05:18 2012 +1030 pdfimages: add -list option to list all images Bug 46066 utils/ImageOutputDev.cc | 204 ++++++++++++++++++++++++++++++++++++++++++------ utils/ImageOutputDev.h | 20 ++++- utils/pdfimages.1 | 101 ++++++++++++++++++++++++ utils/pdfimages.cc | 12 ++- 4 files changed, 307 insertions(+), 30 deletions(-) commit 119b6b752314c9b13440eddf5bd1d5cef2966e80 Author: Adrian Johnson Date: Mon Feb 6 16:50:11 2012 +1030 cairo: don't read inline image streams twice Bug 45668 poppler/CairoOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a76135391555145ec740d49a7141e60da0ea5dee Author: Hib Eris Date: Tue Feb 14 20:11:19 2012 +0100 Add a configuration option for the test data dir This makes 'make distcheck' run succesfully. CMakeLists.txt | 20 ++++++++++++++++++++ Makefile.am | 2 +- configure.ac | 42 +++++++++++++++++++++++++++++++++++++++++ qt4/tests/CMakeLists.txt | 1 + qt4/tests/Makefile.am | 1 + qt4/tests/check_actualtext.cpp | 2 +- qt4/tests/check_attachments.cpp | 14 +++++++------- qt4/tests/check_fonts.cpp | 18 +++++++++--------- qt4/tests/check_links.cpp | 6 +++--- qt4/tests/check_metadata.cpp | 32 +++++++++++++++---------------- qt4/tests/check_optcontent.cpp | 12 ++++++------ qt4/tests/check_pagelayout.cpp | 6 +++--- qt4/tests/check_pagemode.cpp | 10 +++++----- qt4/tests/check_password.cpp | 12 ++++++------ qt4/tests/check_permissions.cpp | 2 +- qt4/tests/check_search.cpp | 4 ++-- 16 files changed, 124 insertions(+), 60 deletions(-) commit 59946e0c34e762eb5f5a13b4ae8c9ec7fb21379a Author: Thomas Freitag Date: Tue Feb 14 19:37:21 2012 +0100 Overprint implementation in postscript and splash device It is an enhancement patch, a merge fix and a bug fix in one: an enhancement, because it now completes the implementation overprint mode and devicen in postscript, a merge fix, because it fixes some bugs in the overprint implementation in splash of xpdf 3.0.3 and has now the complete functionality (and more!) of my implementation back again and a bug fix, because it fixes the use of splash cmyk in postscript which never had worked. 1. Overprint implementation in postscript To have a complete overprint implementation in the (pure) postscript device there were just two things missing: overprint mode and the implementation of the DeviceN colorspace in PostScript. I double checked my implementation with the Ghent Test Suite with GhostScript (device pdfwrite) and Acrobat X distiller, and all the tests now succeeds, either in Acrobat X distiller or in GhostScript. As overprint is a device dependent feature, it is up to the output device if it supports overprint and what features of overprint are supported, and often You have various configuration possibilities there. Nearly all PostScript output of the Ghent tests show now the desired results if converting it back to PDF with ghostscript pdfwrite, the implementation in ghostscript is complete. On the other hand a few tests failed when using Acrobat X distiller, all of them with the overprint mode switch. Funny, because overprint mode 1 is often also called the illustrator overprint mode because it was introduced by illustrator, but probably the destiller only handles EPS correctly which comes from illustrator 2. Overprint implementation in postscript if using splash rasterization Of course the postscript overprint implementation will only work if pdftops doesn't decide to use splash to rasterize it because of the use of transparencies in the PDF. But because overprint is device dependent I decided to spend an additional parameter "overprint" to pdftops (simular to pdftoppm). Switching it on (only available if compiled with SPLASH_CMYK, because overprint is only in CMYK colorspace showable) will use the overprint implementation in splash also if rasterizing the PDF. 3. Overprint implementation in splash The overprint implementation in splash now uses the better designed interface of xpdf and therefore now also works in transparency groups. Thanks to the developper team of xpdf. I just fixed a small bug in it, where it defies the technical specification. Of course it is still in the nature of the splash implementation that it fails if CMYK values should overprint spot colors, because spot colors are converted immediately in their CMYK alternates. And in the implementation of overprinting spot colors over CMYK colors I made a small assumption to get it running which causes undesired results if this assumption fails, but I didn't want to implement more and more configuration switches. I still plan to implement a DeviceN output in splash and make a complete implementation there, but this is of course a bigger task (but doable). The overprint switch in pdftoppm is still only available if compiled with the SPLASH_CMYK directive. poppler/PSOutputDev.cc | 67 ++++++++++-- poppler/PSOutputDev.h | 3 +- poppler/SplashOutputDev.cc | 62 ++++++++++-- poppler/SplashOutputDev.h | 4 +- splash/Splash.cc | 70 +++++++++---- splash/Splash.h | 4 +- splash/SplashState.cc | 5 +- splash/SplashState.h | 247 +++++++++++++++++++++++---------------------- utils/pdftops.cc | 13 +++ 9 files changed, 308 insertions(+), 167 deletions(-) commit b505920db6d3dac58c7e9f4f8917f4c4449b08a0 Merge: 9250449 a631281 Author: Albert Astals Cid Date: Tue Feb 14 19:18:54 2012 +0100 Merge remote-tracking branch 'origin/xpdf303merge' Conflicts: utils/HtmlOutputDev.cc utils/HtmlOutputDev.h commit 9250449aaa279840d789b3a7cef75d06a0fd88e7 Author: Hib Eris Date: Sun Feb 12 23:16:41 2012 +0100 Improve moc detection when cross compiling configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 66cf1fdb3ba6894f61d9078f5c30046b464347ae Author: Pino Toscano Date: Sun Feb 12 22:27:58 2012 +0100 qt4: remove non-existing 'qt' include dirs qt4/demos/Makefile.am | 1 - qt4/src/Makefile.am | 1 - qt4/tests/Makefile.am | 1 - 3 files changed, 3 deletions(-) commit 53d8fc4d2978b70e8926e3df71facd1f39de9348 Author: Pino Toscano Date: Sun Feb 12 17:36:55 2012 +0100 man pages: fix minor issues with hypens and % utils/pdfseparate.1 | 6 +++--- utils/pdftocairo.1 | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit a63128179c65b5d9d6d9d41fa601a593b0a05d94 Author: Thomas Freitag Date: Thu Feb 9 22:02:52 2012 +0100 [xpdf303] Fix merge issue utils/pdftoppm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cd5a6a4d02e579e543067d1847164aff90363f16 Author: Thomas Freitag Date: Thu Feb 9 22:01:42 2012 +0100 [xpdf303] Fix merge bug poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 597fa37cacec928c40d0491174ce843fe01f26d9 Author: Igor Slepchin Date: Wed Feb 8 19:22:13 2012 -0500 Close li tags in generated outlines. Also, add newlines after ul tags for better readability. Bug #45807 (cherry picked from commit bf81250ff7d0968852fc7559fafb6389cd695b91) utils/HtmlOutputDev.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 2fc36dba5f63703896722adb5127896e4c2840e7 Author: Igor Slepchin Date: Thu Feb 9 00:15:13 2012 +0100 Get rid of static data members; merge duplicated jpeg dumping code. HtmlPage::pgNum is never used; imgNum is always equal to imgList->getLength()+1 imgList is now maintained in HtmlPage. utils/HtmlOutputDev.cc | 143 +++++++++++++++++++------------------------------ utils/HtmlOutputDev.h | 15 ++++-- 2 files changed, 65 insertions(+), 93 deletions(-) commit f655efe327ddd3b6a68353a62589d4e4f8a318a8 Author: Albert Astals Cid Date: Wed Feb 8 23:58:27 2012 +0100 Fix memory leak when using HtmlOutputDev::mapEncodingToHtml Bug #45805 (cherry picked from commit 53a0c2043dfd56f6da7780f1a049f75af368b84b) utils/HtmlOutputDev.cc | 47 ++++++++++++++++++++++++----------------------- utils/HtmlOutputDev.h | 7 ++++--- 2 files changed, 28 insertions(+), 26 deletions(-) commit 68f02d19c571fce956c7f4af6ccd0ff9ba8b1b03 Author: Albert Astals Cid Date: Wed Feb 8 23:47:46 2012 +0100 Fix leak in pdftohtml getInfoString Bug #45805 (cherry picked from commit 4afe4d827a342a847e8b89aba5b4164ed3b4cc32) utils/pdftohtml.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 2b7ba166c28e32653db4ae7acf90e06e0dd5975b Author: Albert Astals Cid Date: Wed Feb 8 19:12:52 2012 +0100 [xpdf303] Compile fixes poppler/GlobalParamsWin.cc | 2 +- poppler/SplashOutputDev.cc | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) commit b8c9b179c9491cf6755b07bfdec4174e78b7d241 Author: Albert Astals Cid Date: Mon Feb 6 19:55:07 2012 +0100 [xpdf303] Adapt better to what we did and what xpdf303 does poppler/ArthurOutputDev.cc | 1 - poppler/GlobalParams.cc | 10 ---------- poppler/GlobalParams.h | 1 - poppler/SplashOutputDev.cc | 3 --- poppler/SplashOutputDev.h | 1 - splash/SplashFTFont.cc | 40 +++++++++++++++++++--------------------- splash/SplashFTFont.h | 1 - splash/SplashFTFontEngine.cc | 7 +++---- splash/SplashFTFontEngine.h | 5 ++--- splash/SplashFontEngine.cc | 3 +-- splash/SplashFontEngine.h | 1 - utils/pdftoppm.cc | 2 +- 12 files changed, 26 insertions(+), 49 deletions(-) commit ea6bc19564865e04431d9154802ae7fba975a716 Merge: e17f095 92ce79f Author: Albert Astals Cid Date: Mon Feb 6 01:18:25 2012 +0100 Merge branch 'master' into xpdf303merge Conflicts: poppler/CairoOutputDev.cc poppler/CairoOutputDev.h poppler/FontInfo.cc poppler/GfxFont.cc poppler/GfxState.cc poppler/GlobalParams.cc poppler/GlobalParams.h poppler/Lexer.cc commit e17f09563276ee25b6acfc127b6ea360da650030 Author: Albert Astals Cid Date: Mon Feb 6 00:25:53 2012 +0100 [xpdf303] TextOutputDev and associated changes cpp/poppler-page.cpp | 10 +- glib/poppler-page.cc | 5 +- poppler/ArthurOutputDev.cc | 1 + poppler/CairoOutputDev.cc | 2 +- poppler/Gfx.cc | 6 +- poppler/PSOutputDev.cc | 6 +- poppler/TextOutputDev.cc | 360 ++++++++++++++++++++++++++++----------------- poppler/TextOutputDev.h | 18 ++- qt4/src/poppler-page.cc | 12 +- test/perf-test.cc | 2 +- utils/pdftotext.1 | 4 + utils/pdftotext.cc | 10 +- 12 files changed, 270 insertions(+), 166 deletions(-) commit 548648bf29dc1551443eb1925814342e7aadee46 Author: Albert Astals Cid Date: Sun Feb 5 23:08:44 2012 +0100 [xpdf303] Merge PDFDoc encryption related code poppler/PDFDoc.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 6ee907f291427b8751a872b31210bf32e8d2b722 Author: Albert Astals Cid Date: Sun Feb 5 22:57:25 2012 +0100 [xpdf303] More merges from Thomas, basically PSOutputDev and some other small stuff poppler/GfxFont.cc | 4 +- poppler/GlobalParams.cc | 95 ++- poppler/GlobalParams.h | 18 +- poppler/GlobalParamsWin.cc | 16 +- poppler/Hints.cc | 2 +- poppler/PSOutputDev.cc | 1814 ++++++++++++++++++++++--------------------- poppler/PSOutputDev.h | 51 +- poppler/Parser.cc | 13 +- poppler/Parser.h | 7 +- poppler/PreScanOutputDev.cc | 70 +- poppler/PreScanOutputDev.h | 16 +- poppler/XRef.cc | 91 ++- poppler/XRef.h | 3 +- utils/pdftops.cc | 2 +- 14 files changed, 1231 insertions(+), 971 deletions(-) commit 92ce79f47f929392f48737612a9690088573f63d Author: Igor Slepchin Date: Sun Feb 5 15:55:39 2012 +0100 Proper unicode support when dumping PDF outline. Also use of already existing Outline class rather than parsing the outline anew. Bug 45572 (cherry picked from commit 40f7289ab04787734b856c53d5c0139445b52635) Conflicts: utils/HtmlOutputDev.cc utils/HtmlOutputDev.cc | 197 ++++++++++++++++++++++++++----------------------- utils/HtmlOutputDev.h | 6 +- utils/pdftohtml.cc | 3 +- 3 files changed, 112 insertions(+), 94 deletions(-) commit 38ec58ed1cb54722aece875287b847643aa2c4b8 Author: Adrian Johnson Date: Sat Feb 4 17:13:30 2012 +1030 Lexer: convert integer to real when overflow occurs Bug 45605 poppler/Lexer.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit df89de61b7d01f0f816e773cdb809faa3053e962 Author: Hib Eris Date: Tue Jan 31 20:01:30 2012 +0100 glib: Exclude poppler-private.h from introspection files Fixes bug #45455. glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 88cb6d9360bc943fc2cdda262dc46bf831641541 Author: Carlos Garcia Campos Date: Sat Feb 4 12:04:03 2012 +0100 glib: Update gtk-doc makefile and m4 file gtk-doc.make | 112 +++++++++++++++++++++++++++++++++------------------------- m4/gtk-doc.m4 | 6 ++++ 2 files changed, 70 insertions(+), 48 deletions(-) commit 3f4164f84bbf748a2f919741669ef20db0fbda9f Author: Hib Eris Date: Wed Feb 1 10:44:17 2012 +0100 gtk-doc: Fix build when builddir != srcdir Bug #45549. glib/reference/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 8daeb82f982eba25fe8c7d07358f0a6593ddc89a Author: Hib Eris Date: Thu Feb 2 13:01:45 2012 +0100 gtk-doc: Fix API documentation for poppler_page_free_annot_mapping() Remove reference to non existent method poppler_annot_free() and use ref/unref instead of copy/free. Bug #45549. glib/poppler-page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f8ce9966e4f480949799a26c01bd861f4011b587 Author: Carlos Garcia Campos Date: Sat Feb 4 11:51:34 2012 +0100 gtk-doc: Remove reference to non existent method poppler_layer_free() Bug #45549. glib/poppler-document.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit f58f3525f135bc47e89c23c33e96e43db10d4853 Author: Hib Eris Date: Thu Feb 2 15:59:47 2012 +0100 gtk-doc: Add more glib API documentation for poppler-document Fixes several gtk-doc warnings. Bug #45549. glib/poppler-document.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 080247f6a47bc929b25f6e000f4474801af74b1f Author: Hib Eris Date: Thu Feb 2 15:45:37 2012 +0100 gtk-doc: remove references to removed pixbuf functions Bug #45549. glib/poppler-page.cc | 6 ++---- glib/reference/poppler-sections.txt | 4 ---- 2 files changed, 2 insertions(+), 8 deletions(-) commit 47780d9ed1fd69068fdb9b9782e2cb37e2a5b217 Author: Hib Eris Date: Thu Feb 2 15:43:30 2012 +0100 gtk-doc: do not build doc for glib-demo Fixes glib-demo symbols in poppler-unused.txt Bug #45549. glib/reference/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e320f335cc6e54c60bd2436799dd1f05beb060ba Author: Hib Eris Date: Sat Feb 4 11:32:50 2012 +0100 gtk-doc: Fix typo's Bug #45549. glib/poppler-annot.cc | 6 +++--- glib/poppler-annot.h | 2 +- glib/poppler-document.cc | 2 +- glib/poppler-media.cc | 2 +- glib/poppler-page.cc | 3 +-- glib/poppler-page.h | 4 ++-- glib/reference/poppler-sections.txt | 4 +++- 7 files changed, 12 insertions(+), 11 deletions(-) commit 1fe27b07975e9a9455708563118fb73cce696f81 Author: Hib Eris Date: Tue Jan 31 12:49:01 2012 +0100 cairo: Remove unused variable in CairoFontEngine.cc Fixes bug #45442. poppler/CairoFontEngine.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit e3d80c79815ce46daf3c3f2b944f49eaf19bfea5 Author: Hib Eris Date: Tue Jan 31 14:42:04 2012 +0100 Fix return value of downscale_box_filter() Fixes bug #45441. poppler/CairoRescaleBox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e074e526fa206403b84da5ce0f27d7357223c7ac Author: Hib Eris Date: Tue Jan 31 13:02:16 2012 +0100 Fix return value of poppler_attachment_save Fixes bug #45440. glib/poppler-attachment.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc389cff91c350d7da186d4cf707c389c77bbc29 Author: Hib Eris Date: Tue Jan 31 14:03:08 2012 +0100 glib-demo: Do not use deprecated gtk_dialog_set_has_separator() Bug #45439 glib/demo/main.c | 2 ++ 1 file changed, 2 insertions(+) commit e52e3c24663edaa630d9187e832223b474b74089 Author: Hib Eris Date: Tue Jan 31 13:39:05 2012 +0100 glib-demo: Do not use deprecated GtkComboBox API Bug #45439. glib/demo/annots.c | 6 ++++++ glib/demo/print.c | 9 ++++++++- glib/demo/render.c | 16 ++++++++++++++++ glib/demo/selections.c | 8 ++++++++ 4 files changed, 38 insertions(+), 1 deletion(-) commit 165ab4ec122d0e1a6f30dcfba80aefc422cd83b7 Author: Hib Eris Date: Tue Jan 31 12:15:51 2012 +0100 Fix build for builddir != srcdir Fixes bug #45434. glib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e424a13bb516464d59ad76fd0933e92f3307b21b Author: Thomas Freitag Date: Fri Feb 3 00:12:10 2012 +0100 pdfseparate fixes by Thomas after his last commit poppler/PDFDoc.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 4fcd42cfa4424992cd4b36af38bc6230ce0706c9 Author: Albert Astals Cid Date: Wed Feb 1 22:53:03 2012 +0100 [xpdf303] More merges from Thomas (with minor fixes from me) Basically fonts related and some other small stuff poppler/Annot.cc | 6 +- poppler/ArthurOutputDev.cc | 47 +-- poppler/CMap.cc | 153 ++++++++ poppler/CMap.h | 16 + poppler/CairoFontEngine.cc | 43 +-- poppler/CharCodeToUnicode.h | 1 + poppler/FontInfo.cc | 8 +- poppler/Gfx.cc | 363 +++++++++++-------- poppler/GfxFont.cc | 831 +++++++++++++++++++++++++++++--------------- poppler/GfxFont.h | 34 +- poppler/GfxState.cc | 81 +++-- poppler/GfxState.h | 2 + poppler/GlobalParams.cc | 738 ++++++++++++++++++++++----------------- poppler/GlobalParams.h | 112 +++--- poppler/GlobalParamsWin.cc | 180 ++++++++-- poppler/PSOutputDev.cc | 591 +++++++++++++++---------------- poppler/PSOutputDev.h | 12 +- poppler/PreScanOutputDev.cc | 10 +- poppler/SplashOutputDev.cc | 59 ++-- poppler/XRef.cc | 16 +- 20 files changed, 2008 insertions(+), 1295 deletions(-) commit 0089357de8ea96f3e394ea9cb37e8182ccf15ae2 Author: Thomas Freitag Date: Wed Feb 1 19:17:38 2012 +0100 pdfseparate: Produce PDF/X conformant pdf pages if the original PDF was PDF/X conformant. poppler/PDFDoc.cc | 63 ++++++++++++++++++++++++++++++++++--------------------- poppler/XRef.cc | 9 +++++++- poppler/XRef.h | 5 ++++- 3 files changed, 51 insertions(+), 26 deletions(-) commit be62a4f2e7d5db3b6d85d1b3026979f9561e6e15 Author: Hib Eris Date: Mon Jan 30 17:07:28 2012 +0100 Fix build with latest mingw-w64 headers Fixes bug #45407. (cherry picked from commit 58c17c3a61f18a6808ec9ba37e82734a655090ac) glib/poppler-annot.cc | 1 + glib/poppler-document.cc | 1 + 2 files changed, 2 insertions(+) commit acbc63348ce5e279e4d66ed4f240dc8d61df4e57 Author: Suzuki Toshiya Date: Mon Jan 30 20:46:04 2012 +1030 pdftocairo/automake: link with lcms utils/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) commit 9548573a16629fecdbd44c9aac8b626ec6f53b81 Author: Pino Toscano Date: Mon Jan 30 00:32:52 2012 +0100 glib/cmake: various minor introspection improvements "port" to CMake of the automake equivalents of 4765c3289635fe4fb006e7df4f83d7056eb42855 glib/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) commit bf2ffb1cc76bcf569419ac495f524c41bb6f1650 Author: Pino Toscano Date: Mon Jan 30 00:21:31 2012 +0100 cmake: support $(gir_name)_EXPORT_PACKAGES for g-ir-scanner cmake/modules/GObjectIntrospectionMacros.cmake | 2 ++ 1 file changed, 2 insertions(+) commit cbe7131e63c5896010e7e1ad5c0c3aa91611704d Author: Albert Astals Cid Date: Fri Jan 27 00:36:18 2012 +0100 Set OPJ_DPARAMETERS_IGNORE_PCLR_CMAP_CDEF_FLAG if you have it Fixes/workarounds bug 43414 with openjpeg 1.5 (unreleased) (cherry picked from commit de6415af1a39ec7dfa4f149c6c5e311b86352cec) cmake/modules/FindLIBOPENJPEG.cmake | 13 +++++++++++++ config.h.cmake | 3 +++ configure.ac | 8 ++++++++ poppler/JPEG2000Stream.cc | 7 ++++++- 4 files changed, 30 insertions(+), 1 deletion(-) commit 641526d1a7e8032ea8f7b8ac42c5ad8c20448d9b Author: Adrian Johnson Date: Wed Jan 25 22:44:27 2012 +1030 jpeg: set image parameters after jpeg_set_defaults() so the resolution does not get overwritten by the defaults. The libjpeg documentation for jpeg_set_defaults() states: "This routine sets all JPEG parameters to reasonable defaults, using only the input image's color space (field in_color_space, which must already be set in cinfo)" Bug 45224 goo/JpegWriter.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit f7356a88fe983c2ddd7d5a50400768310a26c4d2 Author: Adrian Johnson Date: Thu Jan 26 11:33:28 2012 +1030 glib: add section in docs for new symbols in 0.18 glib/reference/poppler-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit b42c171de93dba56859beb21cfe5312d825fedd6 Author: Alexander Saprykin Date: Mon Jan 23 22:07:15 2012 +0100 Do not use 50Kb of stack in SplashXPath::addCurve Bug 44905 splash/SplashXPath.cc | 69 ++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 49 insertions(+), 20 deletions(-) commit a04fca6266bda6d04068f38f16fe492cb6b8677b Author: Adrian Johnson Date: Sat Jan 21 09:41:12 2012 +1030 cairo: use fabs when comparing the transformed line width as the transform may cause a negative width. Bug 43441 poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ce1b6c7ca16847f07eeafc29c6503be6fa5a9a3d Author: Patrick Pfeifer Date: Thu Jan 19 14:54:48 2012 +0100 cairo: Fix test for rotation Fixes bug #14619. poppler/CairoOutputDev.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 4765c3289635fe4fb006e7df4f83d7056eb42855 Author: Evan Nemerson Date: Sun Jan 15 11:02:50 2012 -0800 glib: various minor introspection and documentation improvements Bug 44790 glib/Makefile.am | 4 +++- glib/poppler-annot.cc | 8 ++++---- glib/poppler-attachment.h | 7 ++++--- glib/poppler-document.cc | 6 ++++-- glib/poppler-media.h | 7 ++++--- glib/poppler-page.cc | 23 +++++++++++++++-------- 6 files changed, 34 insertions(+), 21 deletions(-) commit e8e42988c5cebab2ffa5fe020f30a3a645e90b5f Author: Adrian Johnson Date: Mon Jan 16 21:25:19 2012 +1030 cairo: ensure paintTransparencyGroup uses same ctm as beginTransparencyGroup Bug 29968 poppler/CairoOutputDev.cc | 8 ++++++-- poppler/CairoOutputDev.h | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) commit f6c7aa752f9455bba1aa3c72e0998e7911c1d43e Author: Adrian Johnson Date: Wed Jan 18 21:19:43 2012 +1030 configure.ac: print the glib version required if not found configure.ac | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 100488ec7db2d1f3e25bfda42c1603ca86696195 Author: Adrian Johnson Date: Sun Jan 15 23:52:28 2012 +1030 cairo: restore temporary clip used in CairoOutputDev::fill when painting a mask The clip is only used to clip the paint to the fill path so it should be moved inside the save/restore. poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9c092e17e8f0cf0335b431a223e6e44bddc27e64 Author: Albert Astals Cid Date: Sun Jan 15 23:28:51 2012 +0100 [xpdf] More Splash and Gfx changes from Thomas 1. merge of blend changes Here I had not only merged the changed in blend modes, I made also a few changes in the SPLASH_CMYK area, so that the already sent PDF now also be rendered correctly with the -jpegcmyk option 2. merge of font handling in SplashOutputDev.cc There were a few changes left in font handling, I took them over 3. merge of getcolor-changes The getcolor changes win a price for well defined C++ code. I wouldn't have merged them, if there were not a lot of other things to merge. 4. merge of image handling in SplashOutputDev.cc I merged the left changes in image handling including colorizing masks in pattern colorspace 5. cleanup of overprint I tested the overprint implementation of Derek. They succeed only in 70 % percent of the PDF where my solution had success, but Derek's solution is much cleaner, and I'm sure that I could also fix the rest in it. BUT: as I already considered, when I implemented overprint, there are some overprint situations, which can not be solved in a CMYK colorspace, we have to implement a DeviceN colorpace when also overprint from CMYK colors over spot colors should work. Therefore I decided to remove my overprint implementation completely from the code and let Derek's solution in, even if there could be done some enhancements in it. 6. colorizing text in pattern colorspace When I saw Derek's implementation with a clean interface only at one place in Gfx.cc, I first was very surprised. My solution had a lot of places in Gfx.cc, where I looked if the current colorspace is a pattern colorspace. Therefore I first had a look into the PDF specification again, and really, it can be done in the way of Derek. Therefore I merged it and removed the fragments of my code. On this step I started a regtest against the version after the fourth patch. There were a lot of enhancements, especially in texts with symbolic chars like mathematical and so on, but there was one (and ONLY one) regression, shown in bug-poppler27482.pdf I examined that (that is also the reason for the delay) and encountered that on merging I removed my solution for this bug, therefore 7. insert enhancements for colorizing masks in pattern colorspace I adapt the bug fix from bug 27482 to the merge. poppler/CairoOutputDev.cc | 101 ++-- poppler/CairoOutputDev.h | 21 +- poppler/Gfx.cc | 705 +++++++++++++++----------- poppler/Gfx.h | 22 +- poppler/GfxState.cc | 208 +++++--- poppler/GfxState.h | 37 +- poppler/GlobalParams.cc | 17 + poppler/GlobalParams.h | 3 + poppler/OutputDev.cc | 13 +- poppler/OutputDev.h | 25 +- poppler/PSOutputDev.cc | 87 ++-- poppler/PSOutputDev.h | 21 +- poppler/PreScanOutputDev.cc | 2 +- poppler/SplashOutputDev.cc | 1179 +++++++++++++++++++++---------------------- poppler/SplashOutputDev.h | 80 +-- poppler/TextOutputDev.cc | 8 + poppler/TextOutputDev.h | 8 + splash/Splash.cc | 11 +- splash/Splash.h | 122 ++--- splash/SplashPattern.cc | 14 - splash/SplashPattern.h | 7 - utils/pdftoppm.cc | 1 + 22 files changed, 1390 insertions(+), 1302 deletions(-) commit 69df13c49cea2390f2c5036f3d450f134f7a2656 Author: Thomas Freitag Date: Sun Jan 15 15:07:18 2012 +0100 Fix stack overflow in PDFDoc::markObject() Bug 44660 poppler/PDFDoc.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit cdb56567c60b492ad08befff54f2ff70620b86fe Author: Thomas Freitag Date: Sun Jan 15 15:04:51 2012 +0100 Correctly initialize globalParams utils/pdfseparate.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4e205a6625431dcf95375de009b4354746a4f0b7 Author: Adrian Johnson Date: Sun Jan 15 22:18:30 2012 +1030 parseargs: don't use arg->size with GooString argument 40b56994 added GooString arguments but incorrectly used arg->size as the string length. arg->size is always 0 for GooString arguments. This worked because the arg->size - 1 string length passed to GooString::Set() just happened to be the the same value as the CALC_STRING_LEN default argument indicating the string length is to be calculated with strlen. utils/parseargs.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a7210a7ebc3d3ca88643bfbc2f0d660a5553a668 Author: Arseny Solokha Date: Fri Jan 13 18:52:17 2012 +0100 Properly initialize globalParams Bug 44659 utils/pdfunite.cc | 4 ++++ 1 file changed, 4 insertions(+) commit baaf93f0e47a1978f9ea80e9394543a25b763d77 Author: Adrian Johnson Date: Thu Jan 12 01:05:07 2012 +1030 configure.ac: print the cairo version required if not found Bug 44619 configure.ac | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 9b8b4232587831fdada37de033c272a3c5049c34 Author: Adrian Johnson Date: Thu Jan 12 00:26:03 2012 +1030 cairo: avoid setting huge clip area when printing Bug 44002 poppler/CairoOutputDev.cc | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) commit efe115f22f8f00a2863ef265ad6f4e7cc2e0336c Author: Albert Astals Cid Date: Tue Jan 10 23:41:54 2012 +0100 compile poppler/ArthurOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit 52d190d8ff962a57a59218f6871c3a63a443ea53 Author: Albert Astals Cid Date: Tue Jan 10 23:33:40 2012 +0100 [xpdf303] tiling "merges" from Thomas, using mostly our "old" code instead of xpdf's poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 4 ++-- poppler/Gfx.cc | 45 +++++++++++++++++++++++++++++++++------------ poppler/Gfx.h | 15 +++++++++------ poppler/GfxState.cc | 5 ++++- poppler/GfxState.h | 7 ++++--- poppler/OutputDev.h | 3 ++- poppler/PSOutputDev.cc | 2 +- poppler/PSOutputDev.h | 2 +- poppler/PreScanOutputDev.cc | 15 +++++++-------- poppler/PreScanOutputDev.h | 2 +- poppler/SplashOutputDev.cc | 8 ++++++-- poppler/SplashOutputDev.h | 3 ++- splash/Splash.cc | 32 ++++++++++++++++++++++++-------- utils/ImageOutputDev.cc | 2 +- utils/ImageOutputDev.h | 2 +- 16 files changed, 99 insertions(+), 50 deletions(-) commit bf75a957650dd5208ecf1f6db1555a3d00b7949c Author: Albert Astals Cid Date: Tue Jan 10 23:31:27 2012 +0100 [xpdf303] Splash::blitTransparent merges from Thomas splash/Splash.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 296244ab74e56b2781daae0a664617d1da30527c Author: Albert Astals Cid Date: Tue Jan 10 23:30:34 2012 +0100 [xpdf303] Merge xpath Splash stuff from Thomas splash/SplashXPath.cc | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) commit e1ae7b900b01db7c7703da68ad94aa9bda1938f6 Author: Albert Astals Cid Date: Tue Jan 10 23:29:38 2012 +0100 [xpdf303] Merge splash font stuff from Thomas poppler/GlobalParams.cc | 17 +++++++++++++++++ poppler/GlobalParams.h | 3 +++ poppler/SplashOutputDev.cc | 3 +++ poppler/SplashOutputDev.h | 1 + splash/SplashFTFont.cc | 34 ++++++++++++++++++++++++++++------ splash/SplashFTFont.h | 1 + splash/SplashFTFontEngine.cc | 7 ++++--- splash/SplashFTFontEngine.h | 5 +++-- splash/SplashFontEngine.cc | 3 ++- splash/SplashFontEngine.h | 1 + 10 files changed, 63 insertions(+), 12 deletions(-) commit d46b673c46a72132fb3918b64733be552e35952f Author: Albert Astals Cid Date: Tue Jan 10 23:28:43 2012 +0100 [xpdf303] More merges from Thomas splash/Splash.cc | 2800 ++++++++++++++++++++++++++++++++++++------------------ splash/Splash.h | 60 ++ 2 files changed, 1943 insertions(+), 917 deletions(-) commit 2cb40bab3b8c49d54c2a49554b30268ccb32899b Author: Adrian Johnson Date: Sun Jan 8 21:35:41 2012 +1030 Fix typo in pdffonts man page utils/pdffonts.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 34ae382915d9d9b2b3c015fee3c24907a6b52b8b Author: Albert Astals Cid Date: Sat Jan 7 17:14:05 2012 +0100 xpdf303: Merge some stuff in Splash [Thomas Freitag] 1. merge the complete pipe changes a) including the overprint implementation from Derek used by pipe b) including the transfer function implementation 2. Two changes (not really a merge) to get it compiled under windows (in GlobalParams.cc & PDFDoc.cc) 3. merge fill and stroke changes a) including merge of SplashClip.cc b) including merge of SplashXPathScanner.cc poppler/GfxState.cc | 94 ++- poppler/GfxState.h | 17 +- poppler/GlobalParams.cc | 7 + poppler/GlobalParams.h | 3 + poppler/GlobalParamsWin.cc | 2 +- poppler/PDFDoc.cc | 2 +- poppler/SplashOutputDev.cc | 134 +++- poppler/SplashOutputDev.h | 8 +- splash/Splash.cc | 1658 ++++++++++++++++++++++++++++++------------ splash/Splash.h | 42 +- splash/SplashClip.cc | 57 +- splash/SplashState.cc | 49 ++ splash/SplashState.h | 12 + splash/SplashXPathScanner.cc | 474 +++++++----- splash/SplashXPathScanner.h | 24 +- 15 files changed, 1845 insertions(+), 738 deletions(-) commit c2378609ae52523beb64e0f040fc79dce4877e03 Author: Thomas Freitag Date: Sat Jan 7 11:47:19 2012 +0100 regtest: read stderr output before calling wait to fix a possible deadlock In the way the scripts starts it subprocesses, stderr becomes buffered for the subprocesses. And unforunately, when the buffer limit is reached, the subprocess suspends it work until it can print again on stderr. That's why the python script runs into a deadlock when the subprocess produces a lot of error messages. A small rearrange of the commands, first read the stderr output and then wait that the subprocess ends, will remove this deadlock. regtest/backends/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit da6bfacb0f858f27bd47f247a25d6bc9ab778411 Author: Adrian Johnson Date: Sat Jan 7 10:35:17 2012 +1030 Add -subst option to pdffonts to list the substitute font name and filename Bug 44416 poppler/FontInfo.cc | 8 ++++-- poppler/FontInfo.h | 2 ++ poppler/GlobalParams.cc | 29 +++++++++++++++++++-- poppler/GlobalParams.h | 3 ++- utils/pdffonts.1 | 3 +++ utils/pdffonts.cc | 67 +++++++++++++++++++++++++++++++++++-------------- 6 files changed, 88 insertions(+), 24 deletions(-) commit 9979b1b3e36dc8085d8c684692fece463fa474b1 Author: Yi Yang Date: Sat Jan 7 09:44:42 2012 +1030 Include .otf fonts when finding substitute fonts Bug 44412 poppler/GfxFont.cc | 2 +- poppler/GlobalParams.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ebfab832ab4f2642b9ab2ededd25de670a3c7147 Author: Adrian Johnson Date: Fri Dec 23 09:55:20 2011 +1030 autoconf: Check for cairo-ft and other cairo backends so that CAIRO_LIBS includes the freetype dependency and pdftocairo includes the dependencies for optional cairo backends. Bug 43969 configure.ac | 14 ++++++++++++-- utils/Makefile.am | 4 ++-- 2 files changed, 14 insertions(+), 4 deletions(-) commit 51ca2b7c7dec5430d29860fd887ad5c5d9b3f574 Author: Albert Astals Cid Date: Thu Dec 15 00:26:09 2011 +0100 [xpdf303] Some more changes in TextOutputDev poppler/TextOutputDev.cc | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit c5ce12993a4d2bcd3b3e95b1f08d00dc8960678c Author: Albert Astals Cid Date: Wed Dec 14 22:49:33 2011 +0100 [xpdf303] Merge some stuff from TextOutputDev Yes, this is the best commit log i could think of poppler/TextOutputDev.cc | 268 ++++++++++++++++++++++++++++++----------------- poppler/TextOutputDev.h | 19 ++-- 2 files changed, 180 insertions(+), 107 deletions(-) commit 388d72ac27ae98fe3a1ebd21760f2b0fa0249a9b Author: Albert Astals Cid Date: Tue Dec 6 23:21:15 2011 +0100 include strings.h as we use memcpy Fixes bug 43558 goo/PNGWriter.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 743f70f594bf3c9a58d1ff0738b9a2bc3ea03382 Author: Albert Astals Cid Date: Tue Dec 6 20:27:03 2011 +0100 xpdf303: Use xpdf method against recursion while parsing Ours detected loops correctly, but not "valid" files containing lots of arrays one inside the other [[[[[[[[[[[[[[[[[[[ So go to this more crude "fix" used in xpdf poppler/Dict.cc | 4 ++-- poppler/Dict.h | 2 +- poppler/Object.cc | 4 ++-- poppler/Object.h | 8 ++++---- poppler/Parser.cc | 32 +++++++++++++++----------------- poppler/Parser.h | 10 +++------- poppler/XRef.cc | 33 +++++++-------------------------- poppler/XRef.h | 2 +- 8 files changed, 35 insertions(+), 60 deletions(-) commit 63c942a45227ef28fb94ef4765171d9812fffafa Author: Albert Astals Cid Date: Sun Dec 4 17:29:45 2011 +0100 Do not fail if we are trying to save a file with Encrypt but that we have not modified at all Fixes KDE bug #288045 poppler/PDFDoc.cc | 49 +++++++++++++++++++++++++++++-------------------- 1 file changed, 29 insertions(+), 20 deletions(-) commit 0937d775e59a963b72fa7924e0f7be484f8345fc Author: Albert Astals Cid Date: Sun Dec 4 15:37:20 2011 +0100 update name and copyright (cherry picked from commit 22601c2a64f094ede8085a3ccca3de9daaa556e7) utils/pdftocairo.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit bdb439ac5a751d6146204ae0d61fdbf7828c89c3 Author: Axel Strübing Date: Thu Nov 24 22:32:57 2011 +0100 Fix typo/regression introduced in f6d026bfa18624ccd321e102bb39ba744998de1e poppler/Gfx.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 74e11d8c912dd95d235e44e7b34b8ea1be082b9f Author: Albert Astals Cid Date: Thu Nov 24 18:54:27 2011 +0100 Fix typo qt4/src/poppler-qt4.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ec2a1c3fca92a28c56911729927838f7aacf1078 Author: Albert Astals Cid Date: Wed Nov 16 23:13:52 2011 +0100 xpdf303: Use the correct sizeof() for the greallocn poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 544440b9d19ce99f3a7fcacdea70999b1efc217f Author: Albert Astals Cid Date: Wed Nov 16 23:09:23 2011 +0100 xpdf303: Add XRef::getPermFlags poppler/XRef.h | 1 + 1 file changed, 1 insertion(+) commit b2e43e531edcecaeacf02a627c98cf7ef57f3e3c Author: Albert Astals Cid Date: Wed Nov 16 23:04:04 2011 +0100 xpdf303: make strToUnsigned "safer" poppler/PDFDoc.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit bd1513742182ed4c80d21401dd30180981879f24 Author: Albert Astals Cid Date: Wed Nov 16 22:59:12 2011 +0100 xpdf303: Check xrefEntryCompressed entries to be of correct type and in bounds poppler/XRef.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 3bf3e82d1f3eb19a454239d8c7641fc68ff4e462 Author: Albert Astals Cid Date: Wed Nov 16 22:54:17 2011 +0100 xpdf303: Adobe apparently ignores the generation number on compressed objects poppler/XRef.cc | 2 ++ 1 file changed, 2 insertions(+) commit 73e6f19c4e76762eb5131b168e3b24167ba126cb Author: Albert Astals Cid Date: Wed Nov 16 22:29:11 2011 +0100 xpdf303: Add PDFDoc::fileNameU to windows builds poppler/PDFDoc.cc | 43 +++++++++++++++++++++++++++++++++++-------- poppler/PDFDoc.h | 6 ++++++ 2 files changed, 41 insertions(+), 8 deletions(-) commit 65388b1aaf9a78efcf9486d5e2d4bdce76f11194 Author: Igor Slepchin Date: Tue Nov 15 21:53:40 2011 +0100 Output images in pdftohtml -xml mode if no -i option is specified. Comes with an attached update to pdf2xml.dtd utils/HtmlOutputDev.cc | 48 ++++++++++++++++++++++++++++++++++++++++-------- utils/pdf2xml.dtd | 22 +++++++++++++++++----- 2 files changed, 57 insertions(+), 13 deletions(-) commit a4c78946bc1fc3d52152af2e319051050ab05e28 Author: Albert Astals Cid Date: Mon Nov 14 13:22:53 2011 +0100 Make GfxColorSpace::parse accept dicts too poppler/GfxState.cc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit f6d026bfa18624ccd321e102bb39ba744998de1e Author: Albert Astals Cid Date: Fri Nov 11 16:37:27 2011 +0100 Do not crash if failing to parse the colorspace Fixes bug 42793 poppler/Gfx.cc | 52 +++++++++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 23 deletions(-) commit c9da140bb476dcbb3928950ae9b506de82695cd2 Author: David King Date: Thu Oct 20 11:31:10 2011 +0200 glib-demo: Conditionally initialise threading In GLib 2.24.0 and above, threading is enabled by default, and the thread initialization functions are deprecated since GLib 2.31.0. Fixes bug #42036. glib/demo/main.c | 3 +++ 1 file changed, 3 insertions(+) commit a0db250bbdefff6361551cf9db344bd5268fea11 Author: Vittal Aithal Date: Wed Nov 9 20:07:58 2011 +0100 pdfinfo: report page rotation utils/pdfinfo.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit e7dbd17ff07afa465636a90f526cd7ac8c731862 Author: Kenji Uno Date: Wed Nov 9 12:39:41 2011 +0100 Fix leak in GooString when resizing If resizing from "long" to shorter goo/GooString.cc | 3 +++ 1 file changed, 3 insertions(+) commit 6a4f0c32b6723b127034d59a34bf076942e9935f Author: Carlos Garcia Campos Date: Sun Nov 6 15:44:06 2011 +0100 regtest: Skip tests with results when creating refs Not only tests that have md5, but also crashed or failed tests. regtest/TestReferences.py | 4 ++-- regtest/backends/__init__.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) commit eab952d121c7ab88a0d41587cfa449c0978bea04 Author: Pino Toscano Date: Thu Nov 3 21:58:11 2011 +0100 qt4: remove unused variable qt4/src/poppler-embeddedfile.cc | 1 - 1 file changed, 1 deletion(-) commit 85615f04e040dd38792533a4522e437644e97548 Author: Pino Toscano Date: Thu Nov 3 16:15:40 2011 +0100 qt4: get rid of the own F and Ff flags reading no more useful now, as they are available either directly or as parsed values in both Annot and FormField qt4/src/poppler-form.cc | 16 ---------------- qt4/src/poppler-private.h | 4 +--- 2 files changed, 1 insertion(+), 19 deletions(-) commit 43347b43eeb66b5c8dc9637c36436baacc626bc4 Author: Pino Toscano Date: Thu Nov 3 16:10:57 2011 +0100 qt4: use the flags of the associated Annot object qt4/src/poppler-form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c9492202de9b3b43da9eac3e40dc7fe218f21da Author: Pino Toscano Date: Thu Nov 3 16:03:11 2011 +0100 qt4: remove old commented code qt4/src/poppler-form.cc | 1 - 1 file changed, 1 deletion(-) commit f0eca54131f7cdf6c1e0e78a18be0bf642567af4 Author: Pino Toscano Date: Thu Nov 3 15:46:33 2011 +0100 qt4: use the quadding read already in FormField ... instead of reading it again qt4/src/poppler-form.cc | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) commit d92bce1ae87d2f351bb1b972c64466502fb212aa Author: Pino Toscano Date: Thu Nov 3 15:30:45 2011 +0100 qt4: include qt4/src/poppler-private.h | 1 + 1 file changed, 1 insertion(+) commit 955cd0c7bd3a72340deba098f4242a4904adc60f Author: Albert Astals Cid Date: Wed Nov 2 20:20:41 2011 +0100 Compile with MSVC needed for last change in the qt4 frontend CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit e0f5bc1deebaa9861baffd7c9ba31ea31585cd1d Author: Hib Eris Date: Tue Nov 1 14:15:09 2011 +0100 qt4: Use PDFDoc(wchar_t *, ...) on Windows Bug 35378 qt4/src/poppler-document.cc | 6 +++--- qt4/src/poppler-private.h | 17 +++++++++++++++-- 2 files changed, 18 insertions(+), 5 deletions(-) commit 52c1e9c5109299255d13b5b1e7d3eedaab512084 Author: Carlos Garcia Campos Date: Tue Nov 1 14:13:10 2011 +0100 regtest: Add --update-refs command line option to run-tests command It allows to update the references of failing tests. regtest/TestRun.py | 2 +- regtest/backends/__init__.py | 34 ++++++++++++++++++++++++++++++++-- regtest/commands/run-tests.py | 4 ++++ 3 files changed, 37 insertions(+), 3 deletions(-) commit b4896a416b1df14a81b944b3c577fec85c9c7f7d Author: Rex Dieter Date: Tue Nov 1 09:40:53 2011 +0100 Fix pkg-config files We were using $FOO_REQUIRED instead of @FOO_REQUIRED@ configure.ac | 1 + poppler-glib-uninstalled.pc.in | 2 +- poppler-glib.pc.cmake | 2 +- poppler-glib.pc.in | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) commit 53f1b0c5edfdbef817bff31566893ac4e111516a Author: Carlos Garcia Campos Date: Sun Oct 30 16:02:19 2011 +0100 pdftocairo: Make sure beginDocument() is always called This fixes a crash when rendering only odd/even pages in a printing format. utils/pdftocairo.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 8b0dfe9537082eaccd982530f1eddc2fcfc92f8e Author: Albert Astals Cid Date: Thu Oct 27 19:58:31 2011 +0200 xpdf303: Use splashDist instead of splashSqrt and USE_FIXEDPOINT enhacements splash/SplashFTFont.cc | 70 +++++++++++++++++++++++++++++++++++++++++++++----- splash/SplashFTFont.h | 2 +- 2 files changed, 65 insertions(+), 7 deletions(-) commit b021bce2583c8e1e3a4c129106d80e7a4e223600 Author: Albert Astals Cid Date: Thu Oct 27 19:54:22 2011 +0200 xpdf303: wops, make it compile poppler/Lexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 76295f4d401c36bdef3b2a20d18ac57a3b976410 Author: Albert Astals Cid Date: Thu Oct 27 19:42:42 2011 +0200 xpdf303: Adopt xpdf solution for the name too long problem poppler/Lexer.cc | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) commit be6d4c19b8ce1515ce995eee408dc5752012c649 Author: Albert Astals Cid Date: Thu Oct 27 19:34:38 2011 +0200 xpdf303: Add brackets poppler/Lexer.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 904ae1385e93155a55008977c89aa664b7c8cb9b Author: Albert Astals Cid Date: Wed Oct 26 14:22:28 2011 +0200 Expose POPPLER_VERSION in poppler-config.h configure.ac | 3 +++ poppler/poppler-config.h.cmake | 5 +++++ poppler/poppler-config.h.in | 5 +++++ 3 files changed, 13 insertions(+) commit aa83d4fe942ef0685c5990ddf3eccc2fbdf82292 Author: Albert Astals Cid Date: Thu Oct 20 00:59:57 2011 +0200 xpdf303: Add readFromStream poppler/GfxFont.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 74d771d58a4d1868669117709eb6811ec28bf840 Author: Albert Astals Cid Date: Thu Oct 20 00:56:58 2011 +0200 xpdf303: Add base14SubstFonts poppler/GfxFont.cc | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 71260f987161d5b122caced6af14e9d64be46e4d Author: Albert Astals Cid Date: Thu Oct 20 00:55:42 2011 +0200 xpdf303: GfxFontLoc implementation poppler/GfxFont.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 586430137985fd303ce87bdb9b902ee9a01341e8 Author: Albert Astals Cid Date: Thu Oct 20 00:54:09 2011 +0200 xpdf303: More stuff into base14FontMap poppler/GfxFont.cc | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit c0affb1845c339f89ca67608cb9fd9134ff902f5 Author: Albert Astals Cid Date: Thu Oct 20 00:51:31 2011 +0200 xpdf303: GfxFont::getOrignName/getName rework poppler/FontInfo.cc | 4 ++-- poppler/GfxFont.cc | 4 ---- poppler/GfxFont.h | 6 +----- poppler/PSOutputDev.cc | 8 ++++---- poppler/TextOutputDev.cc | 5 ++--- 5 files changed, 9 insertions(+), 18 deletions(-) commit c5c513b5b72e03f6f0a94d04f7d8a22fe9bdaa80 Author: Albert Astals Cid Date: Thu Oct 20 00:45:30 2011 +0200 xpdf303: GfxFontLoc poppler/GfxFont.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 4ec5e5e6d4785eb7a60744ae7e33c7ba3f603e8e Author: Albert Astals Cid Date: Thu Oct 20 00:34:10 2011 +0200 xpdf303: StdFontMapEntry renaming poppler/GfxFont.cc | 26 +++++++++++--------------- poppler/GfxFont.h | 2 ++ 2 files changed, 13 insertions(+), 15 deletions(-) commit e71088dc5087303b1ae5f3e72af287ec4e0a1342 Author: Albert Astals Cid Date: Mon Oct 17 13:42:06 2011 +0200 remove useless #if poppler/Page.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 40b56994dda79653c902977423f349efa55cf21e Author: Adrian Johnson Date: Mon Oct 17 20:33:03 2011 +1030 utils: Add GooString arg to parseargs and use for paths in pdftocairo and MAXPATHLEN is not available on windows. Avoid the need to know the max path length by using GooString for the path. utils/parseargs.cc | 12 ++++++++++++ utils/parseargs.h | 2 ++ utils/pdftocairo.cc | 17 ++++++++--------- 3 files changed, 22 insertions(+), 9 deletions(-) commit 4bb34757dbbff780baba053371274c05b29771e1 Author: Adrian Johnson Date: Mon Sep 19 21:11:44 2011 +0930 cairo: fix setSoftMask bugs - Getting the clip extents in device space requires transforming all four corners of the clip extents and translating by the group device offset other wise the device extents will not be correct for rotated ctm. - Adjust matrix to include translation of the clip extents origin since the mask surface does not start at (0,0). - the ctm when called cairo_mask() needs to be the same as the ctm when the mask was created. - implement transfer function in setSoftMask Bug 41005 poppler/CairoOutputDev.cc | 97 +++++++++++++++++++++++++++++------------------ poppler/CairoOutputDev.h | 6 ++- 2 files changed, 65 insertions(+), 38 deletions(-) commit 50adbed183e9bf70eb4c41e8858cf464c3042e45 Author: Carlos Garcia Campos Date: Sun Oct 16 12:40:27 2011 +0200 Remove poppler-cairo dependency from poppler-glib pkg-config file poppler-glib links to poppler-cairo statically, so it doesn'tm depend on the dynamic library. CMakeLists.txt | 1 - configure.ac | 2 -- poppler-glib-uninstalled.pc.in | 2 +- poppler-glib.pc.cmake | 2 +- poppler-glib.pc.in | 2 +- 5 files changed, 3 insertions(+), 6 deletions(-) commit acd8ecc9121db58851f73764f046a4f54bd80581 Author: Adrian Johnson Date: Sat Oct 8 15:03:24 2011 +1030 ps: fix uncolored tiling patterns Uncolored patterns and type 3 chars must not use color setting operators. When emitting an uncolored pattern: - disable the update color space functions - disable the update color functions - set pdfLastFill and pdfLastStroke to true to ensure the the sCol and fCol procedures that is used by some of the PS procedures that emulate PDF operators do not update the color. Bug 41462 poppler/PSOutputDev.cc | 41 +++++++++++++++++++++++++++++++++++++++++ poppler/PSOutputDev.h | 1 + 2 files changed, 42 insertions(+) commit 6e1326b11f98f2b277e53a6cdbcb373ce6c29958 Author: Adrian Johnson Date: Fri Oct 7 20:29:36 2011 +1030 ps: emit non repeating patterns in PSOutput with inType3Char = true instead of falling back to Gfx. This avoids emitting the image data twice. poppler/PSOutputDev.cc | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit ed05fcb8c442b716c5e382c98f2625701926c86a Author: Adrian Johnson Date: Sat Oct 1 20:19:19 2011 +0930 ps: fix tiling pattern fill matrix In PS the pattern matrix maps the pattern space to user space. In PDF the pattern matrix maps the pattern space to the default ctm of the content stream (baseMatrix in Gfx). The matrix mat already contains the correct pattern->baseMatrix so use it instead of pmat. Bug 41374 poppler/PSOutputDev.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 087757866de13b6164967a1d241d3c0e47065f1a Author: Albert Astals Cid Date: Thu Oct 13 12:18:52 2011 +0200 xpdf303: Merge SplashT1Font::getGlyphPath changes splash/SplashT1Font.cc | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) commit c84f46ee16a8dcc6e2cad2359df621cc6cdb8fa5 Author: Albert Astals Cid Date: Thu Oct 13 12:16:14 2011 +0200 xpdf303: Add GBool type1 to SplashFTFontFile splash/SplashFTFontFile.cc | 9 +++++---- splash/SplashFTFontFile.h | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) commit d845da2c3c1acbeaa4b9bb3125f9143e785210ff Author: Yury G. Kudryashov Date: Thu Oct 6 14:49:19 2011 +0200 Okular moved to git, fix docs Fix URLs in poppler-qt4 documentation qt4/src/Mainpage.dox | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bb40c980f7ab7a6eb9735af17103f87bc65893d6 Author: Yury G. Kudryashov Date: Thu Oct 6 14:49:08 2011 +0200 Explicitly include fontconfig include dir This fixes cmake-driven build on systems where fontconfig is installed in non-standard location. CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 776ca137984556530ba938265714934bdc3d6443 Author: Yury G. Kudryashov Date: Thu Oct 6 14:48:46 2011 +0200 Fix typo in cmake option documentation Relocatable build does *not* (was missing in docs) hardcode library location. CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ab8616dcb637ac1aeb4d5f142c3c4bff9aecd041 Author: Adrian Johnson Date: Thu Oct 6 14:21:10 2011 +0200 close the file or flush stdout utils/pdftocairo.cc | 2 ++ 1 file changed, 2 insertions(+) commit 72c2d563684ab6937a98a0c1c79be3639d29c9ce Author: Albert Astals Cid Date: Tue Oct 4 17:46:11 2011 +0200 xpdf303: Make sure array length is > 0 This is not scritcly necessary since Array::get already returns a null object in case the index is out of range but let's merge it for the sake of being more closer to xpdf poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c814c2452c7f60623fdd0fee6f915adeaf5b49e3 Author: Albert Astals Cid Date: Tue Oct 4 17:40:27 2011 +0200 xpdf303: Limit recursion in GfxColorSpace parsing I think we could do it better, but it'd take more time and it's not what we are doing in this branch anyway poppler/GfxState.cc | 43 +++++++++++++++++++++++++++---------------- poppler/GfxState.h | 14 +++++++------- 2 files changed, 34 insertions(+), 23 deletions(-) commit 0e53ba5709296dc2ba1399f885af200d2041f0cd Author: Glad Deschrijver Date: Sat Oct 1 15:41:51 2011 +0200 qt4: Add the option of PSConverter creating EPS qt4/src/poppler-ps-converter.cc | 3 ++- qt4/src/poppler-qt4.h | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) commit 04e271a0c10807c9c3967daa1f656e87b97b9901 Author: Albert Astals Cid Date: Sat Oct 1 14:34:50 2011 +0200 Fix typo in documentation Reported by Glad Deschrijver (cherry picked from commit 1346caac6c564035d368617a329b361d0253fbf6) qt4/src/poppler-qt4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9855529e8e1a83c6d77a9e4221ea2132d44e9fb1 Author: Albert Astals Cid Date: Sat Oct 1 14:27:44 2011 +0200 Remove space after % as it confuses libspectre Discussed with Adrian Johnson Problem found by Glad Deschrijver poppler/PSOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8e8cde6f374b59222d834e2e7f08fb4a6a4d55a5 Author: Albert Astals Cid Date: Wed Sep 28 23:32:24 2011 +0200 xpdf303: More manpage merging utils/pdftotext.1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit f798f00c9ec55bff2eb93938424c436ba2663e7a Author: Albert Astals Cid Date: Wed Sep 28 23:30:55 2011 +0200 xpdf303: mention pdfdetach in non xpdf tools utils/pdftocairo.1 | 1 + utils/pdftohtml.1 | 1 + 2 files changed, 2 insertions(+) commit 3fc46ac1c046460ccf46ba4b8a92f728e775694a Author: Albert Astals Cid Date: Wed Sep 28 23:30:00 2011 +0200 xpdf303: Fix pdfdetach man page references utils/pdfdetach.1 | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 79e1d77fb00a7c7f0bda4ae76328c4211c7f16e6 Author: Albert Astals Cid Date: Wed Sep 28 23:27:53 2011 +0200 xpdf303: Merge some more manpages utils/pdfinfo.1 | 15 +++++++++++---- utils/pdftoppm.1 | 9 +++++---- 2 files changed, 16 insertions(+), 8 deletions(-) commit 841c96be59ddad32f51d4d114ba1dcc42285ab55 Author: Albert Astals Cid Date: Wed Sep 28 23:23:25 2011 +0200 xpdf303: Merge some man pages utils/pdffonts.1 | 9 +++++---- utils/pdfimages.1 | 9 +++++---- utils/pdftops.1 | 9 +++++---- 3 files changed, 15 insertions(+), 12 deletions(-) commit d2706a05513134f961e2500e0e596f2769707ce5 Author: Adrian Johnson Date: Wed Sep 28 21:20:23 2011 +0930 cairo: fix crash when using poppler_page_get_image() poppler/CairoOutputDev.h | 1 + 1 file changed, 1 insertion(+) commit 0c0591fa23441c54c9443072615273ea65482d76 Author: Albert Astals Cid Date: Tue Sep 27 00:45:59 2011 +0200 0.18.0 CMakeLists.txt | 6 ++-- NEWS | 14 ++++++++ configure.ac | 4 +-- cpp/Doxyfile | 2 +- gtk-doc.make | 102 ++++++++++++++++++++++------------------------------ poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 7 files changed, 64 insertions(+), 68 deletions(-) commit 19f5db7acd64330d198f18695175df02141794d7 Author: Albert Astals Cid Date: Tue Sep 27 00:15:15 2011 +0200 Update Carlos (C) year poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6d34d4af90b8b41360de4dabb000bbcc894775d0 Author: Albert Astals Cid Date: Tue Sep 27 00:09:54 2011 +0200 Rename pdfmerge and pdfextract To pdfunite and pdfseparate, the old names were taken utils/.gitignore | 4 +- utils/CMakeLists.txt | 28 ++++---- utils/Makefile.am | 16 ++--- utils/pdfextract.1 | 49 -------------- utils/pdfextract.cc | 115 --------------------------------- utils/pdfmerge.1 | 33 ---------- utils/pdfmerge.cc | 176 --------------------------------------------------- utils/pdfseparate.1 | 49 ++++++++++++++ utils/pdfseparate.cc | 115 +++++++++++++++++++++++++++++++++ utils/pdfunite.1 | 33 ++++++++++ utils/pdfunite.cc | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++ 11 files changed, 397 insertions(+), 397 deletions(-) commit baf54c2876edd476ffc68da6518598847bb7ec8a Author: Albert Astals Cid Date: Mon Sep 26 15:54:46 2011 +0200 Remove getRawStream Since it does exactly the same as getNextStream poppler/DCTStream.h | 1 - poppler/Stream.h | 1 - utils/HtmlOutputDev.cc | 7 ++----- utils/ImageOutputDev.cc | 9 +++------ 4 files changed, 5 insertions(+), 13 deletions(-) commit bba57e588fd1ee3a61f18405d1d1bf89fceb5b96 Author: Carlos Garcia Campos Date: Sun Sep 25 12:21:02 2011 +0200 xpdf303: Added the pdfdetach tool I haven't merged xpdf code for embedded files, I think our implementation is better and more complete. I've adapated pdfdetach code to use our code and return also embedded files of file attachment annotations to match what xpdf does. poppler/FileSpec.cc | 22 ++++ poppler/FileSpec.h | 3 + utils/CMakeLists.txt | 9 ++ utils/Makefile.am | 6 + utils/pdfdetach.1 | 105 +++++++++++++++++ utils/pdfdetach.cc | 318 +++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 463 insertions(+) commit f62c2f002c782d3a7887525f031d266aca6eb582 Author: Carlos Garcia Campos Date: Sat Sep 24 11:20:13 2011 +0200 xpdf303: Parse ActualText in Gfx instead of output devices Remove beginMarkedContent and endMarkedcontent and add beginActualText and endActualText. ActualText is parsed in Gfx, that already handles the marked content stack, so that text output dev doesn't need to handle it too. The text string is passed to beginActualText(). This change is not an exact merge of xpdf code, I've tried to keep our implementation. poppler/CairoOutputDev.cc | 8 +-- poppler/CairoOutputDev.h | 6 +- poppler/Gfx.cc | 40 +++++++++---- poppler/OutputDev.cc | 6 -- poppler/OutputDev.h | 4 +- poppler/TextOutputDev.cc | 145 +++++++++++++++++++--------------------------- poppler/TextOutputDev.h | 21 ++++--- 7 files changed, 108 insertions(+), 122 deletions(-) commit a097447ed13cb021003425f85597e2628935feb2 Author: Carlos Garcia Campos Date: Sat Sep 24 09:43:05 2011 +0200 Use new error syntax in pdfextract utils/pdfextract.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 718c735aed540aa49b8dde250ca886c6ad93f5b6 Merge: 6721916 69707f0 Author: Carlos Garcia Campos Date: Sat Sep 24 09:38:52 2011 +0200 Merge branch 'master' into xpdf303merge commit 69707f0a9b5a94c80817039db943fb4f26e743e3 Author: Adrian Johnson Date: Mon Sep 19 22:00:34 2011 +0930 Update .gitignore regtest/.gitignore | 1 + utils/.gitignore | 2 ++ 2 files changed, 3 insertions(+) commit 0de477817e424078cfcfcae114e7745809f0848d Author: Adrian Johnson Date: Mon Sep 19 21:57:07 2011 +0930 utils: Add Glyph & Cog copyright to pdfmerge and pdfextract man pages utils/pdfextract.1 | 3 ++- utils/pdfmerge.1 | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit ce7372db64ee807dc2b491e121fbe557dbf697e8 Author: Adrian Johnson Date: Mon Sep 19 22:04:27 2011 +0930 regtest: render cairo at 72ppi For consistency with splash. It is faster and easier to compare with splash results. regtest/backends/cairo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6cf7330089c4dcc1099906d9c37c3607a2a1eeba Author: Carlos Garcia Campos Date: Mon Sep 19 18:42:35 2011 +0200 regtest: Ignore checksums of crashed, failed and stderr files They shouldn't have a checksum, but it might happen with md5 files generated with previous versions. regtest/backends/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6512bf1c5dab37058460882fec3407b396830981 Author: Albert Astals Cid Date: Sun Sep 18 18:38:32 2011 +0200 Render at 72 instead of 150, it's faster :D regtest/backends/splash.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b828f63ed3896a22f3fe7ddbe2ec2f549d7a2c62 Author: Albert Astals Cid Date: Sun Sep 18 18:20:47 2011 +0200 install pdfextract and pdfmerge manpages utils/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) commit 986759dfbe85998c85ee9b0825c7522395567531 Author: Thomas Freitag Date: Sun Sep 18 18:19:30 2011 +0200 pdfextract and pdfmerge man pages utils/Makefile.am | 2 ++ utils/pdfextract.1 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ utils/pdfmerge.1 | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) commit 90da1af542fd7f3cecef31b15da6971345b38209 Author: Thomas Freitag Date: Sun Sep 18 18:19:04 2011 +0200 Complain if %d is not present and it should utils/pdfextract.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 40e066a84ddb3a5c41805c095659af5f5704d6d8 Author: suzuki toshiya Date: Sun Sep 18 18:16:14 2011 +0200 qt_subdir is unneeded Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6721916c92d720947b3285c85fdbe6610c6bf013 Merge: 8456a6e e23f6b9 Author: Carlos Garcia Campos Date: Sun Sep 18 16:31:10 2011 +0200 Merge branch 'master' into xpdf303merge Conflicts: poppler/Gfx.cc commit e23f6b9cade804136bd4bb58182f4fe0b072fbf2 Author: Carlos Garcia Campos Date: Sun Sep 18 16:27:50 2011 +0200 regtest: Do not create checksums for crashed, failed and stderr files regtest/backends/__init__.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 110b8be1d9f2694b42bd12dcb6af02bfca9866dd Author: Carlos Garcia Campos Date: Sun Sep 18 16:26:58 2011 +0200 Fix memory leak poppler/Gfx.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8456a6e1354126dc98357fb806595bd3bc198522 Author: Carlos Garcia Campos Date: Sun Sep 18 16:07:54 2011 +0200 xpdf303: Add OCDisplayNode It's not used by poppler yet, but we might want to use it from the frontends after the merge. poppler/OptionalContent.cc | 127 +++++++++++++++++++++++++++++++++++++++++++++ poppler/OptionalContent.h | 36 ++++++++++++- 2 files changed, 162 insertions(+), 1 deletion(-) commit 06c6660dc9fe326f185ff323e643af6714b32ec8 Author: Carlos Garcia Campos Date: Sun Sep 18 15:08:44 2011 +0200 xpdf303: Parse usage dictionary of optional content groups poppler/OptionalContent.cc | 28 ++++++++++++++++++++++++++++ poppler/OptionalContent.h | 14 +++++++++++++- 2 files changed, 41 insertions(+), 1 deletion(-) commit 528d5b0d40302b3fee3aec69b85bdd1daa4db568 Author: Carlos Garcia Campos Date: Sun Sep 18 14:03:36 2011 +0200 xpdf303: Image XObjects can have a OC entry too poppler/Gfx.cc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit c40353d3bb761f5be8ddbd2bf5341e83901fb132 Author: Carlos Garcia Campos Date: Sun Sep 18 13:32:07 2011 +0200 xpdf303: OC entry is specific to form XObjects poppler/Gfx.cc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit 6ddb51d81b064346dc85d2ae72570a956a184d74 Author: Carlos Garcia Campos Date: Sun Sep 18 12:59:28 2011 +0200 xpdf303: The spec doesn't say OC must be null or ref poppler/Annot.cc | 5 +---- poppler/Gfx.cc | 22 +++++++--------------- 2 files changed, 8 insertions(+), 19 deletions(-) commit 434bb9b38319edc7282be22044bd7761403a38a6 Author: Carlos Garcia Campos Date: Sun Sep 18 12:45:12 2011 +0200 xpdf303: OC entry can be an optional content group too Not only an optional content membership dictionary. poppler/OptionalContent.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 56410b80fdabb99e2de0c6589de6ee745936c523 Author: Carlos Garcia Campos Date: Sun Sep 18 12:44:02 2011 +0200 xpdf303: Not finding an oc group is not necessarily a syntax error poppler/OptionalContent.cc | 2 -- 1 file changed, 2 deletions(-) commit 4bb4439450e342479375cb56d10561457475bd13 Author: Carlos Garcia Campos Date: Sun Sep 18 12:42:15 2011 +0200 xpdf303: Fix check of OptionalContentGroup::getState() We use an enum, not a boolean. poppler/OptionalContent.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d737e3098e02e46525c0edf2165462e03ac7a0e6 Author: Carlos Garcia Campos Date: Sun Sep 18 11:36:11 2011 +0200 xpdf303: Add support for visibility expressions in OptContent poppler/OptionalContent.cc | 113 +++++++++++++++++++++++++++++++++++---------- poppler/OptionalContent.h | 3 +- 2 files changed, 91 insertions(+), 25 deletions(-) commit 258d56ba85902a8ab50eec3fe66dd6425226fa59 Merge: 72a7736 12c6239 Author: Carlos Garcia Campos Date: Sun Sep 18 11:12:38 2011 +0200 Merge branch 'master' into xpdf303merge commit 12c6239ca4f1f6a5de72aebd755f9d1354ea5837 Author: Carlos Garcia Campos Date: Sun Sep 18 11:08:06 2011 +0200 regtest: Fix checksum check for tests containing spaces in filename regtest/backends/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 72a7736389cbe36c1f8a526f1a659cae1a3f85a3 Author: Carlos Garcia Campos Date: Sun Sep 18 10:47:51 2011 +0200 xpdf303: No need to cache optContentConfig object in Annot poppler/Annot.cc | 2 +- poppler/Annot.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) commit 93ba92db0a3af35f197a4faa5a528af98ea0f624 Author: Albert Astals Cid Date: Wed Sep 14 00:58:44 2011 +0200 Make it work with Python3 regtest/Config.py | 4 ++-- regtest/TestReferences.py | 8 ++++---- regtest/TestRun.py | 32 ++++++++++++++++---------------- regtest/Timer.py | 8 ++++---- regtest/backends/__init__.py | 12 ++++++------ regtest/commands/__init__.py | 6 +++--- regtest/commands/create-refs.py | 2 +- regtest/commands/run-tests.py | 2 +- regtest/main.py | 2 +- 9 files changed, 38 insertions(+), 38 deletions(-) commit da1b5437148e1e6317246b16f7235c8bc280be97 Author: Carlos Garcia Campos Date: Tue Sep 13 20:09:56 2011 +0200 regtest: Add a way to skip files A new command line option --skip has been added to give a file with the list of test to skip. When --skip is not used, it look for a file named Skipped in the tests dir. Lines starting with '#' are considered comments and are ignored. regtest/TestReferences.py | 9 +++++++-- regtest/TestRun.py | 9 +++++++-- regtest/Utils.py | 20 ++++++++++++++++++++ regtest/main.py | 6 +++++- 4 files changed, 39 insertions(+), 5 deletions(-) commit b730b2c1d9666f62f940762663c8318e64049d61 Author: Carlos Garcia Campos Date: Tue Sep 13 19:04:04 2011 +0200 regtest: Limit the number of arguments to 1 It's easier to run poppler-regtest more than once if you need to run different tests. regtest/commands/create-refs.py | 24 ++++++++++++------------ regtest/commands/run-tests.py | 26 +++++++++++++------------- regtest/main.py | 2 +- 3 files changed, 26 insertions(+), 26 deletions(-) commit 5ce045d0358318859c844340c639483485b69c58 Author: Carlos Garcia Campos Date: Tue Sep 13 18:18:21 2011 +0200 regtest: Sort tests before create-refs/run-tests and show progress regtest/TestReferences.py | 20 ++++++++------------ regtest/TestRun.py | 21 ++++++++++----------- regtest/Utils.py | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 23 deletions(-) commit 10801b6faee9037af054fe74cc4a03620ea41d45 Author: Carlos Garcia Campos Date: Mon Sep 12 20:13:17 2011 +0200 Add initial poppler regressions test program regtest/Config.py | 32 ++++++ regtest/TestReferences.py | 73 +++++++++++++ regtest/TestRun.py | 156 ++++++++++++++++++++++++++++ regtest/Timer.py | 73 +++++++++++++ regtest/backends/__init__.py | 220 ++++++++++++++++++++++++++++++++++++++++ regtest/backends/cairo.py | 39 +++++++ regtest/backends/postscript.py | 35 +++++++ regtest/backends/splash.py | 39 +++++++ regtest/backends/text.py | 48 +++++++++ regtest/commands/__init__.py | 93 +++++++++++++++++ regtest/commands/create-refs.py | 65 ++++++++++++ regtest/commands/run-tests.py | 69 +++++++++++++ regtest/main.py | 77 ++++++++++++++ regtest/poppler-regtest | 6 ++ 14 files changed, 1025 insertions(+) commit 245e331a14e11a615bf47abbeb34a3561e393b41 Author: Albert Astals Cid Date: Mon Sep 12 13:43:49 2011 +0200 0.17.4 CMakeLists.txt | 2 +- NEWS | 5 +++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) commit 194b2413eb2c6a1641508aec63336aaf89ec3b51 Author: Albert Astals Cid Date: Mon Sep 12 13:43:35 2011 +0200 gir 0.18 glib/CMakeLists.txt | 12 ++++++------ glib/Makefile.am | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) commit 61c06d2efad20880e1e0b399cf797dd55f6c8dab Author: Albert Astals Cid Date: Mon Sep 12 00:32:38 2011 +0200 xpdf303: Useless NULL assignments poppler/SplashOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit 4fbcbf1ffb8a98fe8c12643fdab2cbd90b4e60f9 Author: Albert Astals Cid Date: Mon Sep 12 00:30:52 2011 +0200 xpdf303: Set size to 64 instead of 100 poppler/SplashOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1c7203e57e9c7c264f5cada6362a6b449dd8689c Author: Albert Astals Cid Date: Mon Sep 12 00:21:03 2011 +0200 xpdf303: Avoid calling a "slow" function poppler/PSOutputDev.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit db4c5789bf95af9f45a7911153acc20a26a447f1 Author: Albert Astals Cid Date: Mon Sep 12 00:19:49 2011 +0200 xpdf303: fix spacing poppler/PSOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 10c3d15f841865929d2f66353cb01d0d321e8b82 Author: Albert Astals Cid Date: Mon Sep 12 00:03:13 2011 +0200 xpdf303: make limit smaller poppler/PSOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1d4e6e739701ba817576752ced169b24c5e95156 Author: Albert Astals Cid Date: Sun Sep 11 23:57:22 2011 +0200 xpdf303: Remove 512 limit in pdftoppm utils/pdftoppm.cc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit e4e843f1115d95c54967f0386bfb28f685d6c88d Author: Albert Astals Cid Date: Sun Sep 11 22:49:34 2011 +0200 xpdf303: Rework nComps != colorSpace->getNComps() handling poppler/GfxState.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit dda45b6a67f3f97705e5d806eaf7d37171789e66 Author: Albert Astals Cid Date: Sun Sep 11 22:46:51 2011 +0200 xpdf303: NULL GfxICCBasedColorSpace if array does not have 2 elements poppler/GfxState.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 760e814a6d26db8eba567520aad771002e11357a Author: Albert Astals Cid Date: Sun Sep 11 22:21:40 2011 +0200 xpdf303: increase formDepth limit poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 59442e5994f3b94d5221cbc90f79fad235fe2611 Author: Albert Astals Cid Date: Sun Sep 11 22:10:41 2011 +0200 xpdf303: Remove flags that were never used splash/Splash.cc | 6 +----- splash/SplashXPath.cc | 34 ++++------------------------------ splash/SplashXPath.h | 13 ++++--------- 3 files changed, 9 insertions(+), 44 deletions(-) commit 41a620ef60507ceda42a14d06d6587ed10016468 Author: Albert Astals Cid Date: Thu Sep 8 16:18:01 2011 +0200 xpdf303: Adapt use of getBlock to our use of getChars poppler/Stream.cc | 58 +++++++++++++++++++++++++++++++++---------------------- poppler/Stream.h | 2 ++ 2 files changed, 37 insertions(+), 23 deletions(-) commit 2f7701fe730a648d0a1d181c5b20e4802640dc52 Author: Albert Astals Cid Date: Thu Sep 8 15:59:27 2011 +0200 xpdf303: Adapt xpdf getBlock to our getChars poppler/JBIG2Stream.cc | 17 ++++++++ poppler/JBIG2Stream.h | 2 + poppler/Stream.cc | 113 ++++++++++++++++++++++++++++++++++++++++++++----- poppler/Stream.h | 55 +++++++++++++----------- 4 files changed, 152 insertions(+), 35 deletions(-) commit 3a1988db40def1655ec638cd521ed40eadc0acca Author: Carlos Garcia Campos Date: Thu Sep 8 15:40:12 2011 +0200 xpdf303: empty pages need to call dump to do any setup required by the OutputDev poppler/Page.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 4cddaed21592ac491519a81a003035bc4e618705 Author: Carlos Garcia Campos Date: Thu Sep 8 15:35:33 2011 +0200 xpdf303: Don't clip the other page boxes to the MediaBox at the intermediate nodes only do it at the leaf (Page) nodes - the other boxes can be specified before the MediaBox is specified. I think we already had that change, we checked isPage before clipping, I've merged this way just to make future merges a bit easier. poppler/Page.cc | 16 ++++++++-------- poppler/Page.h | 3 +++ 2 files changed, 11 insertions(+), 8 deletions(-) commit 3538ac89bfea750de8907847d1d5e3515d0b8be7 Author: Albert Astals Cid Date: Thu Sep 8 15:07:21 2011 +0200 xpdf303: compile poppler/ArthurOutputDev.cc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 89d95d0f254a828d28d943b698eeaec51f03686f Author: Carlos Garcia Campos Date: Thu Sep 8 12:38:36 2011 +0200 xpdf303: Add codeToGID and codeToGIDLen params to loadOpenTypeCFFFont() poppler/SplashOutputDev.cc | 12 +++++++++++- splash/SplashFTFontEngine.cc | 29 +++++++++++++++++------------ splash/SplashFTFontEngine.h | 3 ++- splash/SplashFontEngine.cc | 6 ++++-- splash/SplashFontEngine.h | 3 ++- 5 files changed, 36 insertions(+), 17 deletions(-) commit d768204e51e6bdbcac4d6b43537297616cbedbf3 Author: Albert Astals Cid Date: Tue Sep 6 21:56:43 2011 +0200 xpdf303: Revert b36d150931cd555b84ee996d505e8b91e2afde19 Breaks bug164568-2.pdf so our fix was better :-) poppler/JBIG2Stream.cc | 91 ++++++++++++++++++++++---------------------------- poppler/JBIG2Stream.h | 1 - 2 files changed, 40 insertions(+), 52 deletions(-) commit 2230b8f2128edf4994d8a742f562e1b5acf96b74 Author: Albert Astals Cid Date: Tue Sep 6 00:05:53 2011 +0200 xpdf303: Merge JPXStream changes poppler/JPXStream.cc | 1000 +++++++++++++++++++++++++++++++------------------- poppler/JPXStream.h | 43 +-- 2 files changed, 632 insertions(+), 411 deletions(-) commit 35bb53feaa2e469253368f03a9835d73aeb1a240 Author: Albert Astals Cid Date: Mon Sep 5 23:20:09 2011 +0200 xpdf303: Add BufStream poppler/Stream.cc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/Stream.h | 25 +++++++++++++++++++++++++ 2 files changed, 71 insertions(+) commit 8a9d92fcf05285c1f06bc153aa79d0200d05bbd9 Author: Albert Astals Cid Date: Mon Sep 5 22:57:02 2011 +0200 xpdf303: CCITTFaxStream header misc fixes poppler/Stream.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 22d370c0a1f8c016ebc5a6d8320fe55bfd31c8a7 Author: Albert Astals Cid Date: Mon Sep 5 22:53:45 2011 +0200 xpdf303: DCTStream misc fixes poppler/Stream.cc | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) commit 36d3057546b5a1d717c71b8dcb9773f91e3b5960 Author: Albert Astals Cid Date: Mon Sep 5 22:46:59 2011 +0200 xpdf303: Add some {} poppler/Stream.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 308654eb5dfbb783f29bd645f60c79d5b5fe42c9 Author: Albert Astals Cid Date: Mon Sep 5 22:45:50 2011 +0200 xpdf303: code1 changed to int in CCITTFaxStream::reset poppler/Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f097dc1f9d580eb1cdc8180d3920fe795493cf89 Author: Albert Astals Cid Date: Mon Sep 5 22:43:16 2011 +0200 xpdf303: Use 32 bits in CCITTFaxStream::lookBits poppler/Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b5417659042c95891aa549cae396ba4cc6604030 Author: Albert Astals Cid Date: Mon Sep 5 22:40:02 2011 +0200 xpdf303: Check against lookBits returning EOF poppler/Stream.cc | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit eaf9d31c97a3cc06f4ce94d9190ae1a337634749 Author: Albert Astals Cid Date: Mon Sep 5 22:38:05 2011 +0200 xpdf303: Set endOfLine to true if code1 is 1 poppler/Stream.cc | 1 + 1 file changed, 1 insertion(+) commit a654a77e26a6c7d76c318636303f8c636a3d2495 Author: Albert Astals Cid Date: Mon Sep 5 22:36:58 2011 +0200 xpdf303: Tweaks to CCITTFaxStream::lookChar poppler/Stream.cc | 55 +++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 43 insertions(+), 12 deletions(-) commit abdf828449cd543e66f326ba862efcb3ca6d342d Author: Albert Astals Cid Date: Mon Sep 5 22:19:30 2011 +0200 xpdf303: Remove cygwin workaround poppler/Stream.cc | 4 ---- 1 file changed, 4 deletions(-) commit 05ef4227d09381e3a9e8050e447770f44d532386 Author: Albert Astals Cid Date: Mon Sep 5 22:18:33 2011 +0200 xpdf303: Return false if getLine fails poppler/Stream.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c2d6158bd56328754d77ab8f1bf84d46e6ede773 Author: Albert Astals Cid Date: Mon Sep 5 22:14:39 2011 +0200 xpdf303: Return NULL if size < 0 poppler/Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 04947e1dca858b890302a5a1005b84b34255d670 Author: Albert Astals Cid Date: Mon Sep 5 22:11:24 2011 +0200 xpdf303: Add -rawdates and print Form information utils/pdfinfo.cc | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) commit 9529e776e53e71069ba4215cdb8b84592d37b555 Author: Carlos Garcia Campos Date: Mon Sep 5 21:19:58 2011 +0200 xpdf303: Other fixes in PostScriptFunction poppler/Function.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 071f983f461ba0b872dd93d7f1a24d325312799d Author: Carlos Garcia Campos Date: Mon Sep 5 21:19:13 2011 +0200 xpdf303: Fixed a bug in the PostScript-type function parser Real numbers that start with a decimal point weren't being handled correctly. poppler/Function.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit da0eff1aaa31c2bf357a64b6275645100c9629d4 Author: Carlos Garcia Campos Date: Mon Sep 5 21:12:02 2011 +0200 xpdf303: Fixes in StitchingFunction poppler/Function.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit b655316706ec394fa6c8ad076d9d9d96ac8ed563 Author: Albert Astals Cid Date: Mon Sep 5 21:05:55 2011 +0200 xpdf303: Rework LinkURI decoding poppler/Link.cc | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) commit abad9b4e44d81a206bccff8a109ceb9a7effa2ad Author: Carlos Garcia Campos Date: Mon Sep 5 21:00:31 2011 +0200 xpdf303: Cache the last transform for PostScript-type functions poppler/Function.cc | 37 ++++++++++++++++++++++++++++++++++--- poppler/Function.h | 2 ++ 2 files changed, 36 insertions(+), 3 deletions(-) commit e1c6b4c6e6df0854b040c9af9ef2d3f6789e24b2 Author: Albert Astals Cid Date: Mon Sep 5 21:02:31 2011 +0200 xpdf303: Only call getNum if isNum poppler/Link.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit e5661e1a08c38d4c8d69976a8c1c02c1102bc88c Author: Carlos Garcia Campos Date: Mon Sep 5 20:49:13 2011 +0200 Optimize SampledFunction Pull index computation code out of the transform function; cache the last transform. poppler/Function.cc | 87 ++++++++++++++++++++++++++++++++++++++++++++--------- poppler/Function.h | 4 ++- 2 files changed, 75 insertions(+), 16 deletions(-) commit b36d150931cd555b84ee996d505e8b91e2afde19 Author: Albert Astals Cid Date: Mon Sep 5 20:52:05 2011 +0200 xpdf303: Take xpdf way of handling bug 6500 poppler/JBIG2Stream.cc | 91 ++++++++++++++++++++++++++++---------------------- poppler/JBIG2Stream.h | 1 + 2 files changed, 52 insertions(+), 40 deletions(-) commit 065565a67c7826b64d89fac9719049d0a57da721 Author: Albert Astals Cid Date: Mon Sep 5 20:39:50 2011 +0200 xpdf303: Merge ¿speed? improvements in JBIG2Stream::readGenericBitmap poppler/JBIG2Stream.cc | 586 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 471 insertions(+), 115 deletions(-) commit 28adb3884dafcf1d36aae1ec05855b10b22aa4ae Author: Albert Astals Cid Date: Mon Sep 5 20:26:57 2011 +0200 xpdf303: Change bpp calculation poppler/JBIG2Stream.cc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit c163a82f45d869b7c35a1a7141ab237507671f82 Author: Albert Astals Cid Date: Mon Sep 5 20:25:04 2011 +0200 xpdf303: Change symCodeLen calculation poppler/JBIG2Stream.cc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit 1d1a985101c26f90bde8340dcfae3d6a1e0a08ba Author: Albert Astals Cid Date: Mon Sep 5 20:20:03 2011 +0200 xpdf303: symCodeLen calculation fix poppler/JBIG2Stream.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 5c0274572c65972434293a30f3ba5afd3905005f Author: Albert Astals Cid Date: Mon Sep 5 20:07:54 2011 +0200 xpdf303: add line accessor poppler/JBIG2Stream.cc | 1 + 1 file changed, 1 insertion(+) commit 7b77a264b5c21ba693677b1249a2122743e4e395 Author: Albert Astals Cid Date: Mon Sep 5 19:46:16 2011 +0200 xpdf303: segments with unspecified length poppler/JBIG2Stream.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 23066e8e8309babd61ade9f50ef7d82c9e275055 Author: Albert Astals Cid Date: Mon Sep 5 19:41:16 2011 +0200 xpdf303: More EOF detection poppler/JBIG2Stream.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit bc6eded798d6e5dc7a58f88afbe4ab2904698db5 Author: Albert Astals Cid Date: Mon Sep 5 19:38:29 2011 +0200 xpdf303: Comment++ poppler/JBIG2Stream.cc | 2 ++ 1 file changed, 2 insertions(+) commit adb98856a745340b4ffb34ffd2ed701600cfc82f Author: Albert Astals Cid Date: Mon Sep 5 19:38:02 2011 +0200 xpdf303: Exit loop in case of EOF poppler/JBIG2Stream.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 112154567ebcab63959294533b00075d6ca6ea65 Author: Albert Astals Cid Date: Mon Sep 5 19:33:27 2011 +0200 xpdf303: Initialize to NULL poppler/JBIG2Stream.cc | 5 +++++ 1 file changed, 5 insertions(+) commit b9ecfdf4cb27a19e65817af51c048e8030825035 Author: Albert Astals Cid Date: Mon Sep 5 19:27:36 2011 +0200 xpdf303: Delay memory allocation up to when it is really needed poppler/CMap.cc | 58 ++++++++------------------------------------------------- poppler/CMap.h | 2 -- 2 files changed, 8 insertions(+), 52 deletions(-) commit 7af7b4b2d1941ee9dcd575535d4fc31f29026d8d Author: Carlos Garcia Campos Date: Mon Sep 5 19:05:31 2011 +0200 xpdf303: Rework initialization of appearance state Merged a slightly different patch, adding an error when the AS entry is missing and the AP contains one or more subdictionaries. poppler/Annot.cc | 62 +++++++++++++++++++++++++++++++------------------------- 1 file changed, 34 insertions(+), 28 deletions(-) commit f7d307b818bca9553a05b5d43deb429abbf04824 Author: Carlos Garcia Campos Date: Sun Sep 4 13:56:35 2011 +0200 xpdf303: Rewrote the code that handles annotation transforms It was not handling non-rectangular transforms correctly. poppler/Gfx.cc | 143 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 75 insertions(+), 68 deletions(-) commit 4609f9feeca22620c6e143962a3717784a843a68 Author: Carlos Garcia Campos Date: Sun Sep 4 13:09:50 2011 +0200 xpdf303: Implement rotation in the form field appearance regeneration poppler/Annot.cc | 51 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 38 insertions(+), 13 deletions(-) commit ca7d77a27e2f3a692842968f08dcb9fa5379bf0f Author: Carlos Garcia Campos Date: Sun Sep 4 11:53:40 2011 +0200 Create forms with a PDFDoc instead of XRef too poppler/Form.cc | 79 +++++++++++++++++++++++++++++---------------------------- poppler/Form.h | 28 ++++++++++---------- 2 files changed, 55 insertions(+), 52 deletions(-) commit ec52e46e309a0307fdf12113a1b7d41a760f9d6c Author: Carlos Garcia Campos Date: Sun Sep 4 11:32:38 2011 +0200 xpdf303: Create annots with a doc instead of xref + catalog glib/poppler-action.cc | 2 +- glib/poppler-annot.cc | 4 +- poppler/Annot.cc | 364 +++++++++++++++++++++++++------------------------ poppler/Annot.h | 128 ++++++++--------- poppler/Catalog.cc | 9 +- poppler/Form.cc | 22 +-- poppler/Form.h | 11 +- poppler/PSOutputDev.cc | 2 +- poppler/Page.cc | 2 +- 9 files changed, 274 insertions(+), 270 deletions(-) commit ce5e620f07e984927610866467705bb526f9ad8d Author: Carlos Garcia Campos Date: Sat Sep 3 11:05:42 2011 +0200 xpdf303: Handle the case where sid < 0 fofi/FoFiType1C.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9d77f999de973f3c547245bca0568f8984faa5d7 Author: Carlos Garcia Campos Date: Sat Sep 3 11:02:55 2011 +0200 xpdf303: Initialize nFDs in FoFiType1C::parse() fofi/FoFiType1C.cc | 1 + 1 file changed, 1 insertion(+) commit d9594c95713ac79b46e313ecf2875196ea076ef4 Author: Carlos Garcia Campos Date: Sat Sep 3 11:01:28 2011 +0200 xpdf303: Check whether fdSelect is NULL before using it fofi/FoFiType1C.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 4e4a8ec52c5662e21036f219636a39fc97a32353 Author: Carlos Garcia Campos Date: Sat Sep 3 10:52:14 2011 +0200 xpdf303: Add writePSString() helper function to FoFiType1C fofi/FoFiType1C.cc | 68 +++++++++++++++++++++++++++++++++++++++--------------- fofi/FoFiType1C.h | 1 + 2 files changed, 51 insertions(+), 18 deletions(-) commit ff03811db1ef833df4bab12fe3bf3a8c1534c174 Author: Carlos Garcia Campos Date: Sat Sep 3 10:40:15 2011 +0200 xpdf303: More checks in GooString goo/GooString.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 0029efbe2a8a97ff34353f8028ac649b2fd07013 Author: Carlos Garcia Campos Date: Sat Sep 3 10:32:14 2011 +0200 xpdf303: Use a double instead of an int with a cast goo/GooString.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 419ee8c30ba0df02e9f0281b321fbe38387e5a21 Author: Carlos Garcia Campos Date: Fri Sep 2 18:44:04 2011 +0200 xpdf303: Add more formats to GooString goo/GooString.cc | 102 ++++++++++++++++++++++++++++++++++++++++++++++++++----- goo/GooString.h | 21 ++++++++++-- 2 files changed, 111 insertions(+), 12 deletions(-) commit 738a6954da01fd3fc8c1cd5baa49fc7b8c959169 Author: Carlos Garcia Campos Date: Fri Sep 2 18:24:04 2011 +0200 xpdf303: Add getGlyphName() to FoFiType1C fofi/FoFiType1C.cc | 12 ++++++++++++ fofi/FoFiType1C.h | 4 ++++ 2 files changed, 16 insertions(+) commit 39b77a193996b0916690a246f4a9874dad596b2f Author: Carlos Garcia Campos Date: Fri Sep 2 18:17:51 2011 +0200 xpdf303: Improvements in FoFiType1 parser fofi/FoFiType1.cc | 75 ++++++++++++++++++++++++++----------------------------- 1 file changed, 35 insertions(+), 40 deletions(-) commit 44dbb28a07125f92a0835aea7ad3403310bc451d Author: Carlos Garcia Campos Date: Fri Sep 2 18:08:39 2011 +0200 xpdf303: Handle PFB headers in Type 1 font files fofi/FoFiType1.cc | 36 ++++++++++++++++++++++++++++++++++++ fofi/FoFiType1.h | 1 + 2 files changed, 37 insertions(+) commit 9531a52b227a994ab8e0d66aeaff2b21358ca73e Author: Carlos Garcia Campos Date: Fri Sep 2 18:01:35 2011 +0200 xpdf303: New signature of methods convertToCIDType0() and convertToType0() fofi/FoFiTrueType.cc | 8 ++--- fofi/FoFiTrueType.h | 4 +-- fofi/FoFiType1C.cc | 84 +++++++++++++++++++++++++++++++++++--------------- fofi/FoFiType1C.h | 19 +++++++++--- poppler/PSOutputDev.cc | 13 ++++++-- 5 files changed, 91 insertions(+), 37 deletions(-) commit 830d2b40770333489a08f23a3b16a372770a8d19 Author: Albert Astals Cid Date: Thu Sep 1 23:23:57 2011 +0200 xpdf303: Use openFile poppler/CharCodeToUnicode.cc | 4 ++-- poppler/GlobalParams.cc | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) commit ddf9d6e35b40b902519cbaa8cb664ba6dfdfd510 Author: Albert Astals Cid Date: Thu Sep 1 23:21:26 2011 +0200 xpdf303: openFile + minor fixes for openTempFile in Windows goo/gfile.cc | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- goo/gfile.h | 13 +++++++ 2 files changed, 118 insertions(+), 3 deletions(-) commit 68e8fa9ff4f13b6703148b3eb6ea628418211243 Author: Albert Astals Cid Date: Thu Sep 1 23:17:59 2011 +0200 xpdf303: make gcc happy fofi/FoFiType1C.cc | 2 ++ 1 file changed, 2 insertions(+) commit 876021b1aa16ad38767a91e1be31c392f368fde2 Author: Carlos Garcia Campos Date: Thu Sep 1 19:07:01 2011 +0200 xpdf303: Add getFontMatrix() fofi/FoFiTrueType.cc | 76 +++++++++++++++++++++++++++++++--------------------- fofi/FoFiTrueType.h | 9 +++++++ fofi/FoFiType1.cc | 37 +++++++++++++++++++++++++ fofi/FoFiType1.h | 4 +++ fofi/FoFiType1C.cc | 29 ++++++++++++++++++++ fofi/FoFiType1C.h | 3 +++ 6 files changed, 127 insertions(+), 31 deletions(-) commit 1369862ed61ef8b0f81c52fce36f6c1602d82ddb Author: Carlos Garcia Campos Date: Thu Sep 1 18:27:51 2011 +0200 xpdf303: Ignore entries that have an invalid tag too fofi/FoFiTrueType.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 0fe7cc82e84dc2a3b79248b111656e5e7df9fdc2 Author: Carlos Garcia Campos Date: Thu Sep 1 18:21:33 2011 +0200 xpdf303: Update cmap, name, post and os2 tables in FoFiTrueType fofi/FoFiTrueType.cc | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) commit 0feebf5f3c9da8d7a1154456a00492a623340cec Author: Carlos Garcia Campos Date: Thu Sep 1 18:16:59 2011 +0200 xpdf303: Ignore any bogus entries in the table directory It's a different approach to fix the same issue we had already fixed, added just to make future merge easier. We were also reallocating the tables array, I've kept that but doing it only when the size actually changes. fofi/FoFiTrueType.cc | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) commit 68c6ebc78b89eec94a9c3538fe6e27561a21b680 Author: Carlos Garcia Campos Date: Thu Sep 1 17:49:46 2011 +0200 xpdf303: codeToGID items can be < 0 now fofi/FoFiTrueType.cc | 12 ++++++++++-- poppler/PSOutputDev.cc | 2 +- splash/SplashFTFont.cc | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) commit 19204ed5cd5cb64809f1a1f51dd5ffdef2b9417a Author: Albert Astals Cid Date: Thu Sep 1 17:28:39 2011 +0200 xpdf303: CMap::getCID signature change poppler/CMap.cc | 47 +++++++++++++++++++++++++++++++---------------- poppler/CMap.h | 8 +++++--- poppler/GfxFont.cc | 6 ++++-- 3 files changed, 40 insertions(+), 21 deletions(-) commit 9c74bef77e7e1d7a8464dff43cae16bb1206665e Author: Albert Astals Cid Date: Thu Sep 1 17:04:04 2011 +0200 xpdf303: Use splashDist instead of splashSqrt splash/SplashT1Font.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0568d0dc3c42b68b715226e5ce0ff98d73a94ac7 Author: Albert Astals Cid Date: Thu Sep 1 17:01:30 2011 +0200 xpdf303: Do the multiplication the other way around No idea why :-D splash/SplashFTFont.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3c0da502aa1d5b1acae01cf1e43fb96f5ecc11da Author: Albert Astals Cid Date: Thu Sep 1 17:00:31 2011 +0200 xpdf303: Use splashCheckDet isntead of splashAbs splash/SplashFontEngine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2b4303c66f8de9a267413465898897fd6b0ebb17 Author: Albert Astals Cid Date: Thu Sep 1 16:51:53 2011 +0200 xpdf303: Bigger fileKey poppler/XRef.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 53060857e31a01413936fbe33b7032a0a325b384 Author: Albert Astals Cid Date: Thu Sep 1 16:50:08 2011 +0200 xpdf303: Merge JArithmeticDecoder.* poppler/JArithmeticDecoder.cc | 47 ++++++++++++++++++++++++++++++++++++------- poppler/JArithmeticDecoder.h | 4 ++++ 2 files changed, 44 insertions(+), 7 deletions(-) commit 0722960b4cf4ce40b6bd278ac7287d64a1d70bf2 Author: Albert Astals Cid Date: Thu Sep 1 16:48:31 2011 +0200 xpdf303: Do not crash if imgStr->getLine() is NULL utils/ImageOutputDev.cc | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit f848edab849910b8291c7974e484ef5d02b2234c Author: Albert Astals Cid Date: Thu Sep 1 16:42:30 2011 +0200 xpdf303: Do not extract the million tiles of a pattern utils/ImageOutputDev.cc | 9 +++++++++ utils/ImageOutputDev.h | 12 ++++++++++++ 2 files changed, 21 insertions(+) commit 01adb7ef6a524d7313a45e7c5f441da4fd0250bd Author: Albert Astals Cid Date: Thu Sep 1 16:31:50 2011 +0200 xpdf303: Assembler for some functions splash/SplashMath.h | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) commit 4f87a3163f133565e8774ef416e67d05f906723d Author: Albert Astals Cid Date: Thu Sep 1 16:25:19 2011 +0200 xpdf303: Add splashAvg splash/SplashMath.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit 64cf42f89939763d105be4948a20e9ecb81a64c1 Author: Albert Astals Cid Date: Thu Sep 1 16:23:08 2011 +0200 xpdf303: Add getters to SplashClip splash/SplashClip.h | 6 ++++++ 1 file changed, 6 insertions(+) commit 28c6a55742f55a719ef63b8e0eff7c242653cf36 Author: Albert Astals Cid Date: Thu Sep 1 16:17:56 2011 +0200 xpdf303: unneeded forward declare poppler/Page.h | 1 - 1 file changed, 1 deletion(-) commit 38ebe8c568aafbe5f248f9e0a654f46829e0b659 Author: Albert Astals Cid Date: Thu Sep 1 16:13:53 2011 +0200 xpdf303: Page functions do not need Catalog * anymore glib/poppler-document.cc | 2 +- glib/poppler-page.cc | 11 ++++------ poppler/FontInfo.cc | 2 +- poppler/OutputDev.h | 4 ++-- poppler/PDFDoc.cc | 8 +++---- poppler/PSOutputDev.cc | 6 +++--- poppler/PSOutputDev.h | 2 +- poppler/Page.cc | 36 ++++++++++++++++---------------- poppler/Page.h | 16 +++++++------- poppler/TextOutputDev.cc | 2 +- poppler/TextOutputDev.h | 2 +- qt4/src/poppler-link-extractor-private.h | 2 +- qt4/src/poppler-link-extractor.cc | 4 ++-- qt4/src/poppler-page.cc | 4 ++-- utils/HtmlOutputDev.cc | 9 ++++---- utils/HtmlOutputDev.h | 7 +++---- utils/pdftohtml.cc | 2 +- 17 files changed, 58 insertions(+), 61 deletions(-) commit 7d794f6411499fb8f26778bf2b54cb9734d004af Author: Albert Astals Cid Date: Thu Sep 1 15:47:32 2011 +0200 xpdf303: API rework, Gfx wants a PDFDoc instead of an XRef cpp/poppler-page-renderer.cpp | 2 +- glib/poppler-document.cc | 2 +- glib/poppler-page.cc | 2 -- poppler/CairoFontEngine.cc | 28 ++++++++++++---------------- poppler/CairoFontEngine.h | 13 ++++++------- poppler/CairoOutputDev.cc | 12 +++++------- poppler/CairoOutputDev.h | 6 +++--- poppler/Catalog.cc | 8 +++++--- poppler/Catalog.h | 4 +++- poppler/Gfx.cc | 15 +++++++++------ poppler/Gfx.h | 6 ++++-- poppler/PDFDoc.cc | 6 +++--- poppler/PSOutputDev.cc | 29 +++++++++++++++-------------- poppler/PSOutputDev.h | 9 ++++----- poppler/Page.cc | 8 +++++--- poppler/Page.h | 4 +++- poppler/PreScanOutputDev.cc | 6 +++--- poppler/PreScanOutputDev.h | 4 ++-- poppler/SplashOutputDev.cc | 13 +++++++------ poppler/SplashOutputDev.h | 5 +++-- qt4/src/poppler-private.h | 2 +- qt4/src/poppler-ps-converter.cc | 2 -- test/gtk-test.cc | 2 +- test/pdf-inspector.cc | 2 +- test/perf-test.cc | 2 +- utils/pdftocairo.cc | 2 +- utils/pdftohtml.cc | 6 +++--- utils/pdftoppm.cc | 2 +- utils/pdftops.cc | 4 ++-- 29 files changed, 105 insertions(+), 101 deletions(-) commit 52fb80a7b3f98eb8322a7ba84e2900f044b3a18a Author: Albert Astals Cid Date: Thu Sep 1 13:27:01 2011 +0200 xpdf303: compile++ poppler/ArthurOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 37ca8dc4215693ec657d165ebdb6c315a0ae92c9 Author: Carlos Garcia Campos Date: Thu Sep 1 12:34:32 2011 +0200 xpdf303: Use int instead of Gushort for gid/cid maps fofi/FoFiTrueType.cc | 18 +++++++++--------- fofi/FoFiTrueType.h | 14 +++++++------- fofi/FoFiType1C.cc | 8 ++++---- fofi/FoFiType1C.h | 2 +- poppler/CairoFontEngine.cc | 22 +++++++++++----------- poppler/CairoFontEngine.h | 8 ++++---- poppler/GfxFont.cc | 22 +++++++++++----------- poppler/GfxFont.h | 10 +++++----- poppler/PSOutputDev.cc | 14 +++++++------- poppler/SplashOutputDev.cc | 6 +++--- splash/SplashFTFontEngine.cc | 6 +++--- splash/SplashFTFontEngine.h | 2 +- splash/SplashFTFontFile.cc | 12 ++++++------ splash/SplashFTFontFile.h | 8 ++++---- splash/SplashFontEngine.cc | 2 +- splash/SplashFontEngine.h | 2 +- 16 files changed, 78 insertions(+), 78 deletions(-) commit df942e25bff9b014bde0ff69c8a01fa3c1963015 Author: Albert Astals Cid Date: Thu Sep 1 01:08:10 2011 +0200 xpdf303: More parsing flexibility poppler/CharCodeToUnicode.cc | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) commit 5305dfc5702e8004e5ae35697c6aebd0b1a5c96e Author: Albert Astals Cid Date: Thu Sep 1 01:05:02 2011 +0200 xpdf303: Make sure codes are inside the range poppler/CharCodeToUnicode.cc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 45212483572c68abd612b5c62b21cbb545e10143 Author: Albert Astals Cid Date: Thu Sep 1 01:01:13 2011 +0200 xpdf303: change mapLen growing stragegy poppler/CharCodeToUnicode.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 75d70f190e97f69047cdbe97a872a936788392d9 Author: Albert Astals Cid Date: Thu Sep 1 01:00:23 2011 +0200 xpdf303: Limit code to 0xffffff poppler/CharCodeToUnicode.cc | 5 +++++ 1 file changed, 5 insertions(+) commit b4180a187f9246b6390df112e5536ead9ef9bcbe Author: Albert Astals Cid Date: Thu Sep 1 00:59:09 2011 +0200 xpdf303: Use parseHex instead of sscanf poppler/CharCodeToUnicode.cc | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) commit 121f648f233adcdc631c7e29d67b60baa922e29a Author: Albert Astals Cid Date: Thu Sep 1 00:28:40 2011 +0200 Add helper parseHex function poppler/CharCodeToUnicode.cc | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit be0436ace671070bab4304efee607f40c959bc55 Author: Albert Astals Cid Date: Thu Sep 1 00:26:57 2011 +0200 xpdf303: CharCodeToUnicode::makeIdentityMapping & friends poppler/CharCodeToUnicode.cc | 25 +++++++++++++++++++++++++ poppler/CharCodeToUnicode.h | 4 ++++ 2 files changed, 29 insertions(+) commit 5dd94447b14db1894f06ad0590187dae7575e33a Author: Albert Astals Cid Date: Thu Sep 1 00:15:59 2011 +0200 xpdf303: Remove unused constructor splash/SplashXPath.cc | 5 ----- splash/SplashXPath.h | 1 - 2 files changed, 6 deletions(-) commit d00d56e4a46e8534378534de0d94ce0551d75d84 Author: Albert Astals Cid Date: Thu Sep 1 00:11:49 2011 +0200 xpdf303: Speedup SplashScreen By using << instead of * and by putting some functions on the header so they can be inlined splash/SplashScreen.cc | 89 +++++++++++++++++--------------------------------- splash/SplashScreen.h | 14 ++++++-- 2 files changed, 42 insertions(+), 61 deletions(-) commit 5e8debf96ab1bb9db31a0332a482d08c181d52ea Author: Albert Astals Cid Date: Wed Aug 31 23:56:52 2011 +0200 xpdf303: Add splashCheckDet helper splash/SplashMath.h | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 4cef5a52b33b1afba28d890bbe48000b734ac357 Author: Albert Astals Cid Date: Wed Aug 31 21:09:50 2011 +0200 xpdf303: Protect against NULL from lexer->getStream() poppler/Parser.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 2547ec60db6d954e5c8318e30fcc54f70bcfa95c Author: Albert Astals Cid Date: Wed Aug 31 21:05:11 2011 +0200 xpdf303: Add GBool force = gFalse to SplashPath::close splash/SplashPath.cc | 5 +++-- splash/SplashPath.h | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) commit 9370f9640a24c7b944f3da7c10e070a960bdd8f9 Author: Albert Astals Cid Date: Wed Aug 31 21:01:32 2011 +0200 xpdf303: Add guards to the header poppler/Stream-CCITT.h | 5 +++++ 1 file changed, 5 insertions(+) commit ab9dea663a4df5af8f54c1ff5149254adfd72ce9 Author: Albert Astals Cid Date: Wed Aug 31 20:34:17 2011 +0200 xpdf303: Add SplashBitmap::writeAlphaPGMFile and SplashBitmap::takeData splash/SplashBitmap.cc | 22 ++++++++++++++++++++++ splash/SplashBitmap.h | 6 ++++++ 2 files changed, 28 insertions(+) commit 6558d735c65a3dca9b9e16de5588c8b8c482f04f Author: Albert Astals Cid Date: Wed Aug 31 20:30:27 2011 +0200 xpdf303: Write faster splash/SplashBitmap.cc | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) commit a9b26d9c35fccc7b46a96acdb2064a9976bd49bd Author: Albert Astals Cid Date: Wed Aug 31 20:29:58 2011 +0200 xpdf303: Only free data if there is data to free splash/SplashBitmap.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 8f6e0285d7e80d8c1a8defaad9d0f87a2e054151 Author: Albert Astals Cid Date: Wed Aug 31 20:20:47 2011 +0200 xpdf303: PDFDocEncoding changes This overwrites Michael Vrable's changes of using U+FFFD to actually using the order, i'm taking Derek's change here poppler/PDFDocEncoding.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9c8f30fb4a2a0dd2cf359610e33749e1682921c7 Author: Albert Astals Cid Date: Wed Aug 31 20:17:38 2011 +0200 xpdf303: comment changes poppler/Link.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit b78046057657b44c5cc9353d9e3dde356eb7fcbd Author: Albert Astals Cid Date: Wed Aug 31 19:32:03 2011 +0200 xpdf303: Introduce unicodeTypeNum and unicodeTypeAlphaNum poppler/UnicodeTypeTable.cc | 11 +++++++++++ poppler/UnicodeTypeTable.h | 4 ++++ 2 files changed, 15 insertions(+) commit 0ec4b390ddb7fa7d028b8f0515ecd3e61c488c9f Author: Albert Astals Cid Date: Wed Aug 31 19:30:55 2011 +0200 xpdf303: UnicodeTypeTable tables changes poppler/UnicodeTypeTable.cc | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit f331c009f94703d6007fce9570ee19c6e4822339 Author: Albert Astals Cid Date: Wed Aug 31 19:20:12 2011 +0200 xpdf303: Remove warning() from Error.h poppler/CairoOutputDev.cc | 6 +++--- poppler/Error.cc | 7 ------- poppler/Error.h | 1 - 3 files changed, 3 insertions(+), 11 deletions(-) commit 53f94df2ce21793914ccc153ba6b2fe5cbeb8371 Author: Albert Astals Cid Date: Wed Aug 31 19:17:13 2011 +0200 Port to setErrorCallback cpp/poppler-document.cpp | 2 +- cpp/poppler-private.cpp | 6 ++---- cpp/poppler-private.h | 3 ++- qt4/src/poppler-private.cc | 8 +++----- test/perf-test.cc | 4 ++-- 5 files changed, 10 insertions(+), 13 deletions(-) commit 95a52f06a98f49f7c8f2b92634b75af96b4eee1d Author: Albert Astals Cid Date: Wed Aug 31 19:07:22 2011 +0200 xpdf303: Forgot this when doing the char * -> const char * poppler/JPXStream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00549400f155d8e36b4ac718603fc945858fe50d Author: Albert Astals Cid Date: Wed Aug 31 19:04:14 2011 +0200 xpdf303: error() changes, new param and formatting fofi/FoFiBase.cc | 8 +-- fofi/FoFiTrueType.cc | 2 +- fofi/FoFiType1.cc | 4 +- goo/JpegWriter.cc | 2 +- goo/PNGWriter.cc | 16 ++--- poppler/Annot.cc | 40 +++++------ poppler/ArthurOutputDev.cc | 16 ++--- poppler/CMap.cc | 26 +++---- poppler/CachedFile.cc | 2 +- poppler/CairoFontEngine.cc | 10 +-- poppler/Catalog.cc | 50 ++++++------- poppler/CharCodeToUnicode.cc | 54 +++++++------- poppler/CurlCachedFile.cc | 2 +- poppler/DCTStream.cc | 2 +- poppler/Decrypt.cc | 2 +- poppler/Error.cc | 55 ++++++++++----- poppler/Error.h | 23 +++++- poppler/FileSpec.cc | 8 +-- poppler/Form.cc | 44 ++++++------ poppler/Function.cc | 107 ++++++++++++++-------------- poppler/Gfx.cc | 161 +++++++++++++++++++++--------------------- poppler/GfxFont.cc | 102 ++++++++++++++------------- poppler/GfxState.cc | 128 ++++++++++++++++----------------- poppler/GfxState.h | 8 +-- poppler/GlobalParams.cc | 38 +++++----- poppler/GlobalParamsWin.cc | 4 +- poppler/Hints.cc | 22 +++--- poppler/JBIG2Stream.cc | 88 +++++++++++------------ poppler/JPEG2000Stream.cc | 10 +-- poppler/JPXStream.cc | 164 ++++++++++++++++++++++--------------------- poppler/Lexer.cc | 24 +++---- poppler/Linearization.cc | 20 +++--- poppler/Link.cc | 77 ++++++++++---------- poppler/Movie.cc | 2 +- poppler/Object.h | 8 +-- poppler/OptionalContent.cc | 14 ++-- poppler/PDFDoc.cc | 43 ++++++------ poppler/PDFDocFactory.cc | 2 +- poppler/PSOutputDev.cc | 45 ++++++------ poppler/Page.cc | 12 ++-- poppler/Parser.cc | 10 +-- poppler/Rendition.cc | 6 +- poppler/SecurityHandler.cc | 12 ++-- poppler/SplashOutputDev.cc | 28 ++++---- poppler/Stream.cc | 116 ++++++++++++++++-------------- poppler/TextOutputDev.cc | 2 +- poppler/UnicodeMap.cc | 15 ++-- poppler/XRef.cc | 32 ++++----- splash/Splash.cc | 2 +- splash/SplashBitmap.cc | 6 +- test/perf-test.cc | 4 +- utils/HtmlOutputDev.cc | 18 ++--- utils/ImageOutputDev.cc | 10 +-- utils/pdfextract.cc | 4 +- utils/pdfimages.cc | 2 +- utils/pdfinfo.cc | 6 +- utils/pdfmerge.cc | 6 +- utils/pdftocairo.cc | 6 +- utils/pdftohtml.cc | 6 +- utils/pdftops.cc | 6 +- utils/pdftotext.cc | 12 ++-- 61 files changed, 912 insertions(+), 842 deletions(-) commit cd0764921064bfd455e9df52dc9bda6fbd2c2db2 Author: Carlos Garcia Campos Date: Wed Aug 31 17:23:28 2011 +0200 xpdf303: Always define at least 256 glyphs for Type 0 fonts fofi/FoFiTrueType.cc | 41 ++++++++++++++++++++++++++++++++++------- fofi/FoFiTrueType.h | 3 ++- 2 files changed, 36 insertions(+), 8 deletions(-) commit 4d4318e258fb68704b1a51a14fa89134606e2aa7 Author: Carlos Garcia Campos Date: Wed Aug 31 17:07:25 2011 +0200 xpdf303: Different growing strategy for vmtxTab in FoFiTrueType fofi/FoFiTrueType.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c8c7fcef9bc8f802be2d376c9d2099971f159317 Author: Carlos Garcia Campos Date: Wed Aug 31 17:05:16 2011 +0200 xpdf303: Fix memory leak in FoFiTrueType fofi/FoFiTrueType.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 655b1a97db5449c009e5b63fc7c12233e6fae450 Author: Carlos Garcia Campos Date: Wed Aug 31 16:54:05 2011 +0200 xpdf303: Check for an invalid loca format field in the head table in FoFiTrueType fofi/FoFiTrueType.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 9710ab96f1cf26394cc473952a3331d60c149451 Author: Carlos Garcia Campos Date: Wed Aug 31 16:49:54 2011 +0200 Fix the build fofi/FoFiIdentifier.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 36b733a3165fd26aa8c25ba57faa5d2277aa31ec Author: Carlos Garcia Campos Date: Tue Aug 30 16:31:52 2011 +0200 xpdf303: Handle bogus loca table entries in FoFiTrueType where the offset is past the end of the glyf table. This part was missing in previous commit. fofi/FoFiTrueType.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit a288bdb417582f07a5a0cb13d5218946a1d0ccc8 Author: Albert Astals Cid Date: Tue Aug 30 21:55:43 2011 +0200 xpdf303: Increase max keyLength to 32 poppler/XRef.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 12e0acd9d393df76e297bb3fde323092c428be21 Author: Albert Astals Cid Date: Tue Aug 30 21:03:05 2011 +0200 xpdf303: GfxXXXpath different growing strategy poppler/GfxState.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 7c5e496715f56498fb1aa08371d2b8d4d0e73d25 Author: Albert Astals Cid Date: Tue Aug 30 20:59:36 2011 +0200 xpdf303: No need for 4 Guint when 1 is enough poppler/GfxState.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e7e8082901e108130d5c98cc7648f143978c9562 Author: Albert Astals Cid Date: Tue Aug 30 20:50:17 2011 +0200 xpdf303: GooList::copy, GooList::reverse and GooList::put goo/GooList.cc | 22 ++++++++++++++++++++++ goo/GooList.h | 10 ++++++++++ 2 files changed, 32 insertions(+) commit 8a119cf205467c20269e7beffde9497ffd277c15 Author: Albert Astals Cid Date: Tue Aug 30 20:48:40 2011 +0200 xpdf303: Inserting with a negative i means prepending goo/GooList.cc | 3 +++ 1 file changed, 3 insertions(+) commit 95142a8e63e476324e368785001a23d4f1d462b9 Author: Albert Astals Cid Date: Tue Aug 30 20:47:12 2011 +0200 xpdf303: If size is 0 reserve 8 anyway goo/GooList.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bd1076da03f76fb62998a9409d366412f4aa5d13 Author: Albert Astals Cid Date: Tue Aug 30 20:45:36 2011 +0200 xpdf303: Complain for gmalloc and grealloc < 0 goo/gmem.cc | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) commit 5a42b3693a9e501a27d790d4aeafcb68f63cb950 Author: Albert Astals Cid Date: Tue Aug 30 20:38:39 2011 +0200 xpdf303: Honor the deleteKeys setting goo/GooHash.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit d584b54eff52c47f983947b2aff0967dfed0ccf9 Author: Albert Astals Cid Date: Tue Aug 30 20:36:03 2011 +0200 xpdf303: set to NULL on failure goo/gfile.cc | 2 ++ 1 file changed, 2 insertions(+) commit bf2cb5c9c47b4a61192101f0a48771657228e383 Author: Adrian Johnson Date: Tue Aug 30 19:08:40 2011 +0930 Fix compile error with libpng >= 1.5.0 libpng 1.5.0 changed one of the types in the png_set_iCCP() function prototype. goo/PNGWriter.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 6364c50ffb4053cc30cecbefff7a3142cab8c50b Author: Albert Astals Cid Date: Tue Aug 30 18:27:09 2011 +0200 xpdf303: Support for aes256 et all in Decrypt/SecurityHandler poppler/Decrypt.cc | 488 +++++++++++++++++++++++++++++++++++++++------ poppler/Decrypt.h | 19 +- poppler/PDFDoc.cc | 2 +- poppler/SecurityHandler.cc | 238 ++++++++++++---------- poppler/SecurityHandler.h | 7 +- poppler/Stream.h | 3 +- 6 files changed, 595 insertions(+), 162 deletions(-) commit 39ce4575f96953b499d09074e847d492d18379fa Author: Albert Astals Cid Date: Tue Aug 30 17:39:30 2011 +0200 xpdf303: Add FoFiIdentifier CMakeLists.txt | 2 + fofi/FoFiIdentifier.cc | 630 +++++++++++++++++++++++++++++++++++++++++++++++++ fofi/FoFiIdentifier.h | 42 ++++ fofi/Makefile.am | 2 + 4 files changed, 676 insertions(+) commit 33e7d54b4a29d297108ef3dc6008190625125ec8 Author: Albert Astals Cid Date: Tue Aug 30 17:36:22 2011 +0200 xpdf303: Also check against INT_MAX in FoFiBase fofi/FoFiBase.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit fb1f56f091e5329b30279916b182f64134f3b2e6 Author: Albert Astals Cid Date: Tue Aug 30 17:34:50 2011 +0200 xpdf303: Introduce FoFiBase::getU32LE fofi/FoFiBase.cc | 15 +++++++++++++++ fofi/FoFiBase.h | 1 + 2 files changed, 16 insertions(+) commit a79bc3359586cbc2c235d20dfa934dab1f475561 Author: Carlos Garcia Campos Date: Tue Aug 30 16:59:08 2011 +0200 xpdf303: Check for a zero-entry cmap table in FoFiTrueType fofi/FoFiTrueType.cc | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) commit efce014e39d0d13157b21a10ff8d483b5cfc561a Author: Albert Astals Cid Date: Tue Aug 30 17:02:16 2011 +0200 xpdf303: upddate xpdfCopyright poppler/poppler-config.h.cmake | 4 ++-- poppler/poppler-config.h.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 2eb388ccc6c7526e66da804d9d800cf29a027914 Author: Albert Astals Cid Date: Tue Aug 30 16:50:39 2011 +0200 xpdf303: Merge README README | 2 +- README-XPDF | 153 +++++++++++++++++++++++++++++++++++++++--------------------- 2 files changed, 101 insertions(+), 54 deletions(-) commit 331b0f1c16c4f636fc616569bab030969aa848f2 Author: Carlos Garcia Campos Date: Tue Aug 30 16:42:33 2011 +0200 xpdf303: Check for entries in the table directory with bogus tags in FoFiTrueType This handles the case where the number of tables given in the header is too high. fofi/FoFiTrueType.cc | 30 +++++++++++++++++++++++++----- 1 file changed, 25 insertions(+), 5 deletions(-) commit faaba717046ba87ef5ded614e2bcab6260a9f7c2 Author: Albert Astals Cid Date: Tue Aug 30 16:36:24 2011 +0200 xpdf303: FixedPoint improvements goo/FixedPoint.cc | 51 ++++++++++++++++++++++++++++++++------------------ goo/FixedPoint.h | 15 +++++++++++++-- splash/Splash.cc | 12 ++++++++++++ splash/SplashFTFont.cc | 16 ++++++++-------- splash/SplashMath.h | 8 +++++--- splash/SplashXPath.cc | 9 +++++++++ 6 files changed, 80 insertions(+), 31 deletions(-) commit 73efc96eef6bd32a7c058b7dda8101f4f23c454f Author: Carlos Garcia Campos Date: Tue Aug 30 16:31:52 2011 +0200 xpdf303: Handle bogus loca table entries in FoFiTrueType where the offset is past the end of the glyf table. fofi/FoFiTrueType.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 1df3489392a77e2b75adbafcc2fa10de829c172e Author: Carlos Garcia Campos Date: Tue Aug 30 16:21:40 2011 +0200 xpdf303: Use std::sort (with functors) in place of qsort It can be significantly faster. Not included changes in SplashXPathScanner.cc since they depend on other changes not yet merged. fofi/FoFiTrueType.cc | 55 +++++++++++++++++++++++--------------------------- poppler/GfxFont.cc | 24 ++++++++++++++-------- splash/SplashScreen.cc | 12 +++++++---- splash/SplashXPath.cc | 44 ++++++++++++++++++---------------------- 4 files changed, 69 insertions(+), 66 deletions(-) commit f298e7f844105f2d9a36144e59be86c341e37507 Merge: 2a6bd7a 0ca5453 Author: Albert Astals Cid Date: Tue Aug 30 16:21:58 2011 +0200 Merge branch 'master' into xpdf303merge commit 0ca5453fea9e5342188f772acd6f31af1778f236 Author: Albert Astals Cid Date: Tue Aug 30 16:20:17 2011 +0200 Compile when defining USE_FIXEDPOINT splash/Splash.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit bd7a53bc2f27fc3979f8de306e2dcaca53d4570a Author: Albert Astals Cid Date: Tue Aug 30 16:20:08 2011 +0200 match function definition poppler/SplashOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2a6bd7aae37f73a94bf1a84f699f310177661611 Author: Albert Astals Cid Date: Tue Aug 30 15:13:17 2011 +0200 xpdf303: Expand latin1UnicodeMapRanges and ascii7UnicodeMapRanges poppler/UnicodeMapTables.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 4d31785409e464d0e96dcf11167ecdffd64026d1 Author: Albert Astals Cid Date: Tue Aug 30 15:09:01 2011 +0200 xpdf303: More entries for nameToUnicodeTab poppler/NameToUnicodeTable.h | 3159 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 3159 insertions(+) commit 2658030836f3a15dadadd7f1989dfaa858bf876f Author: Albert Astals Cid Date: Tue Aug 30 14:49:23 2011 +0200 xpdf303: char * -> const char * cmake/modules/PopplerMacros.cmake | 2 +- configure.ac | 2 +- cpp/poppler-private.cpp | 2 +- cpp/poppler-private.h | 2 +- fofi/FoFiBase.h | 2 +- fofi/FoFiEncodings.cc | 6 ++--- fofi/FoFiEncodings.h | 6 ++--- fofi/FoFiTrueType.cc | 10 ++++----- fofi/FoFiTrueType.h | 4 ++-- fofi/FoFiType1.cc | 4 ++-- fofi/FoFiType1.h | 2 +- fofi/FoFiType1C.cc | 14 ++++++------ fofi/FoFiType1C.h | 6 ++--- goo/GooHash.cc | 16 +++++++------- goo/GooHash.h | 12 +++++----- goo/GooString.cc | 22 +++++++++---------- goo/GooString.h | 16 +++++++------- goo/gfile.cc | 4 ++-- goo/gfile.h | 4 ++-- goo/gmem.cc | 2 +- goo/gmem.h | 2 +- poppler/Annot.cc | 8 +++---- poppler/Annot.h | 6 ++--- poppler/ArthurOutputDev.cc | 6 ++--- poppler/BuiltinFont.cc | 6 ++--- poppler/BuiltinFont.h | 10 ++++----- poppler/DCTStream.cc | 2 +- poppler/DCTStream.h | 2 +- poppler/Dict.cc | 14 ++++++------ poppler/Dict.h | 14 ++++++------ poppler/Error.cc | 10 ++++----- poppler/Error.h | 6 ++--- poppler/FileSpec.cc | 2 +- poppler/FlateStream.cc | 2 +- poppler/FlateStream.h | 2 +- poppler/FontEncodingTables.cc | 14 ++++++------ poppler/FontEncodingTables.h | 14 ++++++------ poppler/FontInfo.cc | 2 +- poppler/Form.cc | 6 ++--- poppler/Form.h | 4 ++-- poppler/Gfx.cc | 2 +- poppler/Gfx.h | 2 +- poppler/GfxFont.cc | 46 +++++++++++++++++++-------------------- poppler/GfxFont.h | 8 +++---- poppler/GfxState.cc | 6 ++--- poppler/GfxState.h | 2 +- poppler/GlobalParams.cc | 21 +++++++++--------- poppler/GlobalParams.h | 8 +++---- poppler/GlobalParamsWin.cc | 6 ++--- poppler/JBIG2Stream.cc | 2 +- poppler/JBIG2Stream.h | 2 +- poppler/JPEG2000Stream.cc | 2 +- poppler/JPEG2000Stream.h | 2 +- poppler/JPXStream.h | 2 +- poppler/NameToCharCode.cc | 8 +++---- poppler/NameToCharCode.h | 6 ++--- poppler/NameToUnicodeTable.h | 2 +- poppler/Object.cc | 4 ++-- poppler/Object.h | 28 ++++++++++++------------ poppler/PDFDoc.cc | 2 +- poppler/PSOutputDev.cc | 24 ++++++++++---------- poppler/PSOutputDev.h | 8 +++---- poppler/Page.cc | 2 +- poppler/Page.h | 2 +- poppler/SplashOutputDev.cc | 6 ++--- poppler/Stream.cc | 16 +++++++------- poppler/Stream.h | 28 ++++++++++++------------ poppler/TextOutputDev.cc | 2 +- poppler/TextOutputDev.h | 2 +- poppler/UnicodeMap.cc | 4 ++-- poppler/UnicodeMap.h | 4 ++-- poppler/UnicodeTypeTable.cc | 4 ++-- qt4/src/poppler-private.cc | 2 +- qt4/src/poppler-ps-converter.cc | 2 +- splash/SplashFTFontEngine.cc | 8 +++---- splash/SplashFTFontEngine.h | 6 ++--- splash/SplashFTFontFile.cc | 6 ++--- splash/SplashFTFontFile.h | 2 +- splash/SplashFontEngine.cc | 6 ++--- splash/SplashFontEngine.h | 6 ++--- splash/SplashT1FontEngine.cc | 6 ++--- splash/SplashT1FontEngine.h | 4 ++-- splash/SplashT1FontFile.cc | 10 ++++----- splash/SplashT1FontFile.h | 6 ++--- test/pdf-operators.c | 4 ++-- test/perf-test.cc | 4 ++-- utils/HtmlFonts.cc | 4 ++-- utils/HtmlOutputDev.cc | 12 +++++----- utils/HtmlOutputDev.h | 4 ++-- utils/parseargs.cc | 4 ++-- utils/parseargs.h | 6 ++--- utils/pdffonts.cc | 2 +- utils/pdfinfo.cc | 12 +++++----- utils/pdftocairo.cc | 4 ++-- utils/pdftohtml.cc | 10 ++++----- utils/pdftotext.cc | 12 +++++----- 96 files changed, 337 insertions(+), 338 deletions(-) commit c899d26e0f7a61db99925179330c28df015a676b Author: Albert Astals Cid Date: Tue Aug 30 00:31:00 2011 +0200 Add COPYING3 from xpdf3.03 COPYING3 | 674 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 674 insertions(+) commit 508517a35cb3bc5195682a9cd89fb50a801eddc2 Author: Albert Astals Cid Date: Mon Aug 29 23:55:42 2011 +0200 0.17.3 CMakeLists.txt | 4 ++-- NEWS | 32 ++++++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 2 +- 10 files changed, 42 insertions(+), 10 deletions(-) commit 1431564f3363a63a8669c8dd15970db814f4969f Author: Thomas Freitag Date: Mon Aug 29 22:22:02 2011 +0200 Add pdfextract and pdfmerge See "Creating PDF with poppler ?" thread for more info utils/CMakeLists.txt | 15 +++++ utils/Makefile.am | 10 +++ utils/pdfextract.cc | 111 ++++++++++++++++++++++++++++++++ utils/pdfmerge.cc | 176 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 312 insertions(+) commit 8ca2f41089bc6402baf9b24428af04314c037b54 Author: Thomas Freitag Date: Mon Aug 29 22:20:52 2011 +0200 Rework writing of PDF files Makes it more compatible with other PDF readers See "Creating PDF with poppler ?" thread in the mailing list for more info poppler/PDFDoc.cc | 389 ++++++++++++++++++++++++++++++++++++++++++++++++------ poppler/PDFDoc.h | 30 ++++- 2 files changed, 375 insertions(+), 44 deletions(-) commit 33da7e270431e8e4c500e7573b3ca0dddd9f237e Author: suzuki toshiya Date: Sun Aug 28 22:07:38 2011 +0200 Fix building static-linked pdftocairo utils/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 91fafce028ca6620c0eb22e370fb4c6fd3404e3c Author: Adrian Johnson Date: Tue Aug 23 21:02:02 2011 +0930 cairo: align strokes when Stroke Adjust is true and line width <= 1 If the stroke coordinates are not aligned, lines in cairo may be up to 1 pixel wider than the requested width. This is most obvious when the line width is 1 and the rendered line is 2 pixels. When Stroke Adjust is true, the PDF standard requires that stroke coordinates be adjusted to ensure the stroke width is within half a pixel of the requested width. If Stroke Adjust is enabled and the width is <= 1 pixel (the previous commit adjusts the width to be at least 1 pixel), use the method documented at http://www.cairographics.org/FAQ/#sharp_lines to align the coordinates to ensure the rendered width is 1 pixel. Fixes bug #4536. poppler/CairoOutputDev.cc | 40 +++++++++++++++++++++++++++++++++++----- poppler/CairoOutputDev.h | 3 +++ 2 files changed, 38 insertions(+), 5 deletions(-) commit cfc67afe80b963ba662018674cadf3085466bb9f Author: Adrian Johnson Date: Tue Aug 23 20:46:24 2011 +0930 cairo: fix stroking of very thin lines Lines with a width less than 1.0 are almost invisible in cairo output due to antialising. The PDF standard states that when the Stroke Adjust graphics parameter is true, all lines must be at least one pixel wide. Add a stroke_adjust flag to the CairoOuputDev. Like splash, use the globalParam strokeAdjust setting (which defaults to true) to initialize the flag and ignore the Stroke Adjust settng in PDF files. This emulates Acrobat behavior. When stroke_adjust is true, find the line width in device pixels and if less than 0.5 set the line width to 0.5 device pixels. The value 0.5 pixels seems to make horizontal and vertical lines look better because integer aligned 1.0 wide lines in cairo are rendered two pixels wide which looks too fat. poppler/CairoOutputDev.cc | 20 +++++++++++++++++++- poppler/CairoOutputDev.h | 1 + 2 files changed, 20 insertions(+), 1 deletion(-) commit 7a7c932e09796b944dda69df1b339c889ee1d63a Author: Albert Astals Cid Date: Thu Aug 25 00:23:40 2011 +0200 Add a way to get the fully qualified name qt4/src/poppler-form.cc | 12 +++++++++++- qt4/src/poppler-form.h | 8 +++++++- 2 files changed, 18 insertions(+), 2 deletions(-) commit e001871d927f9cc86b4327d64e4c66ad00172ad0 Author: Albert Astals Cid Date: Wed Aug 24 23:44:18 2011 +0200 Clarify ownership qt4/src/poppler-qt4.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 87c48fdc175be4d852b953778f915ea93cd50194 Author: Adrian Johnson Date: Wed Aug 24 19:53:48 2011 +0930 cairo: fix unique id mime data The unique id string was copied before the object number was appended resulting in all images in pdf output being the same. poppler/CairoOutputDev.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 08a2ba6f1603246651f0d5e697b88d38363d7df2 Author: Pino Toscano Date: Tue Aug 23 20:20:32 2011 +0200 pdftocairo/cmake: need to link to freetype utils/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82496b18dc4aff66cc29f2b6607c8f894afe8b49 Author: Albert Astals Cid Date: Mon Aug 22 16:42:28 2011 +0200 Update Adrian (C) poppler/GfxFont.h | 1 + 1 file changed, 1 insertion(+) commit 2576e3a6d9746e2272c620a775e11295932eb5f2 Author: Adrian Johnson Date: Mon Aug 22 21:41:36 2011 +0930 update SEE ALSO section of man pages - ensure each man page references all other utils - sort list of utils in alphabetical order utils/pdffonts.1 | 8 +++++--- utils/pdfimages.1 | 8 +++++--- utils/pdfinfo.1 | 8 +++++--- utils/pdftocairo.1 | 2 +- utils/pdftohtml.1 | 8 ++++++++ utils/pdftoppm.1 | 8 +++++--- utils/pdftops.1 | 8 +++++--- utils/pdftotext.1 | 9 +++++---- 8 files changed, 39 insertions(+), 20 deletions(-) commit 23ec5c8d394beb632ee45f6308215646cd1a0195 Author: Adrian Johnson Date: Mon Aug 22 21:26:24 2011 +0930 cairo: only use show_text_glyphs if the surface supports it and the font has toUnicode When generating pdf output, fonts that do not have toUnicode cause an excessive number of empty text ActualText entries to be written due to glyphs that do not have have a mapping. poppler/CairoOutputDev.cc | 12 ++++++++---- poppler/CairoOutputDev.h | 1 + poppler/GfxFont.h | 3 +++ 3 files changed, 12 insertions(+), 4 deletions(-) commit 3a574f13fa22b7c31eda0d0437f4094a5a39ff34 Author: Adrian Johnson Date: Fri Aug 19 23:23:24 2011 +0930 cairo: fix stroke patterns Since cairo still does not yet have cairo_stroke_to_path(), this implements a workaround for stroke patterns. In clipToStrokePath, the stroke path and stroke parameters are saved. In tilingPatternFill and fill (used to draw shading patterns) if a stroke path clip has been saved, the current pattern is stroked instead of filled using the saved stroke. Fixes bug #11719. poppler/CairoOutputDev.cc | 52 ++++++++++++++++++++++++++++++++++++++++++++++- poppler/CairoOutputDev.h | 17 ++++++++++++++-- 2 files changed, 66 insertions(+), 3 deletions(-) commit eb740dac838d2a1e32899327ca6d25c3dca641df Author: Carlos Garcia Campos Date: Mon Aug 22 13:41:56 2011 +0200 glib-demo: Add text attributes information to text demo glib/demo/text.c | 103 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 97 insertions(+), 6 deletions(-) commit cda4aefaa136ae07778de3b1593808a5aaa2db5b Author: Carlos Garcia Campos Date: Mon Aug 22 13:40:49 2011 +0200 glib-demo: Add pgd_pixbuf_new_for_color() to utils To get a pixbuf for a given poppler color. glib/demo/annots.c | 22 +--------------------- glib/demo/utils.c | 27 +++++++++++++++++++++++++++ glib/demo/utils.h | 1 + 3 files changed, 29 insertions(+), 21 deletions(-) commit 2a11b2963a548186654722a393db1e19d57828f1 Author: danigm Date: Mon Aug 22 12:51:50 2011 +0200 glib: Add poppler_page_get_text_attributes() It returns a list of text attributes that apply to a range of text as returned by poppler_page_get_text(). Text attributes are represented by a PopplerTextAttributes struct that contains font name, font size, whether text is undrlined and foreground color for a range of text. Fixes bug #33269. glib/poppler-page.cc | 202 ++++++++++++++++++++++++++++++++++++ glib/poppler-page.h | 33 ++++++ glib/poppler.h | 1 + glib/reference/poppler-sections.txt | 7 ++ 4 files changed, 243 insertions(+) commit 15f99157cf3900bf20cf619e204ae53085af497d Author: Carlos Garcia Campos Date: Mon Aug 22 12:43:12 2011 +0200 textoutputdev: Add TextFontInfo::matches() It checks whether two TextFontInfo objects contain the same font. poppler/TextOutputDev.cc | 4 ++++ poppler/TextOutputDev.h | 1 + 2 files changed, 5 insertions(+) commit 5b554b39fca634c8ba58915c14522cb2920fe280 Author: Pino Toscano Date: Mon Aug 22 13:16:23 2011 +0200 pdftocairo/cmake: link to lcms library if available utils/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) commit f7cd236fea8740ef05635d1fd7917a778cc373f0 Author: Albert Astals Cid Date: Mon Aug 22 00:00:32 2011 +0200 Ship HtmlUtils.h utils/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit a128a858c50287cfba74c69996276ea44370dc26 Author: Albert Astals Cid Date: Sun Aug 21 23:52:06 2011 +0200 Update Adrian's (C) goo/PNGWriter.cc | 2 +- goo/PNGWriter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b78134314107d8344360c3313478115ed291630d Author: Albert Astals Cid Date: Sun Aug 21 23:46:09 2011 +0200 Fix copyright c&p is evil goo/gtypes_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ade53277546cef4ba19d982518c0cd83a4bb9c12 Author: Albert Astals Cid Date: Sun Aug 21 23:42:53 2011 +0200 Move HAVE_STDINT_H use to a private header This way we do not need to expose it in poppler-config.h since gtypes.h is a half public header goo/Makefile.am | 1 + goo/gtypes.h | 18 ------------------ goo/gtypes_p.h | 30 ++++++++++++++++++++++++++++++ poppler/CairoOutputDev.cc | 1 + poppler/CairoRescaleBox.cc | 1 + utils/pdftocairo.cc | 1 + 6 files changed, 34 insertions(+), 18 deletions(-) commit 6166c3a37a4d6307d4f23ee272ea07c95bbba74a Author: Albert Astals Cid Date: Sun Aug 21 23:31:30 2011 +0200 Silence silly gcc goo/PNGWriter.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit eb5b228c4c24152e632c931b63c64ffb1e10d45d Author: Adrian Johnson Date: Sat Aug 20 21:13:18 2011 +0930 pdftocairo: fix writing to stdout for ps/pdf/svg utils/pdftocairo.cc | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) commit 1beac5896a301be68de22240017fef11e7d27d40 Author: Adrian Johnson Date: Sat Aug 13 00:23:23 2011 +0930 Add poppler version to PSOutputDev ouput poppler/PSOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit b35fd3651fd3dbaa876fc64b8c5cfe77ae67335f Author: Adrian Johnson Date: Fri Aug 5 23:01:51 2011 +0930 cairo: use cairo_show_text_glyphs() when printing This will allow cairo to setup the correct toUnicode or glyph names to ensure text can be extracted. poppler/CairoOutputDev.cc | 41 ++++++++++++++++++++++++++++++++++++++--- poppler/CairoOutputDev.h | 5 +++++ 2 files changed, 43 insertions(+), 3 deletions(-) commit 51ade078bc1fa737e20120ae4cb3bf693a219823 Author: Stefan Thomas Date: Thu Jul 15 16:24:55 2010 +0100 pdftocairo: Added to CMake build system. utils/CMakeLists.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 5a8745cdf428e22641937977eedfc1d605f6ff07 Author: Adrian Johnson Date: Fri Aug 12 23:57:01 2011 +0930 Add pdftocairo man page utils/Makefile.am | 5 +- utils/pdftocairo.1 | 254 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 258 insertions(+), 1 deletion(-) commit b67a12b2b26692e2ccec7ff2e6df18fee05be535 Author: Adrian Johnson Date: Thu Aug 11 21:34:11 2011 +0930 pdftocairo - utility for creating png/jpeg/ps/eps/pdf/svg using CairoOutputDev utils/.gitignore | 2 +- utils/Makefile.am | 20 +- utils/pdftocairo.cc | 970 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 989 insertions(+), 3 deletions(-) commit 4f2d774826bf7bb7b3825e02c5ca4c2928643950 Author: Adrian Johnson Date: Thu Aug 11 21:32:53 2011 +0930 png: add support for embedding ICC profile goo/PNGWriter.cc | 28 ++++++++++++++++++++++++++++ goo/PNGWriter.h | 8 ++++++++ 2 files changed, 36 insertions(+) commit 1091f47310bf0fc71bac5dd4ec81dad50b2f2537 Author: Adrian Johnson Date: Wed Aug 10 18:48:15 2011 +0930 png: Add additional pixel formats RGBA is required for images with transparency. GRAY and MONOCHROME allow PNGWriter write more compact PNG files when the images is known to be all gray or monochrome. goo/PNGWriter.cc | 30 ++++++++++++++++++++++++++---- goo/PNGWriter.h | 11 ++++++++++- 2 files changed, 36 insertions(+), 5 deletions(-) commit c6f26915db568f12892d48005746ad2922c19000 Author: Adrian Johnson Date: Wed Aug 10 18:45:24 2011 +0930 png: use PNG_RESOLUTION_METER instead of PNG_RESOLUTION_UNKNOWN to set resolution gimp does not show the correct resolution unless PNG_RESOLUTION_METER is used goo/PNGWriter.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 2667d2a5b34e1bbf322aea42876e7e81aa06dc29 Author: Adrian Johnson Date: Tue Aug 9 22:05:53 2011 +0930 Use stdint.h instead of assuming the size of types configure.ac | 1 + goo/gtypes.h | 18 ++++++++++++++++++ poppler/CairoOutputDev.cc | 2 -- poppler/CairoRescaleBox.cc | 2 -- 4 files changed, 19 insertions(+), 4 deletions(-) commit c043f298e68bdfffcb7505ec354ec7487b5bd7b2 Author: Adrian Johnson Date: Fri Jul 8 21:13:36 2011 +0930 cairo: assume printer pixel size is 1/600" when stroking 0 width lines Fixes bug #39067. poppler/CairoOutputDev.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 961adf0b767be78d3556b7315de3761d3d46b107 Author: Adrian Johnson Date: Thu Aug 18 17:44:35 2011 +0930 cairo: set mime data for soft masked images Fixes bug #40192. poppler/CairoOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit 86271e4810f714d4ba7a2a6651a9b1d04f653262 Author: Joshua Richardson Date: Thu Aug 18 18:48:40 2011 +0200 pdftohtml: Support text rotation Includes a few other fixlets. See bug 38586 for more info utils/HtmlFonts.cc | 64 ++++++++++--------- utils/HtmlFonts.h | 10 ++- utils/HtmlOutputDev.cc | 170 ++++++++++++++++++++++++++++++++++--------------- utils/HtmlOutputDev.h | 8 ++- utils/HtmlUtils.h | 51 +++++++++++++++ 5 files changed, 218 insertions(+), 85 deletions(-) commit 56248b84e2185483dd54704c13838e8f78029d49 Author: Albert Astals Cid Date: Thu Aug 18 12:40:51 2011 +0200 Only declare overprint if we are going to use it utils/pdftoppm.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit a1093aae9f64cb6768164551d50cafaef52876c1 Author: Albert Astals Cid Date: Thu Aug 18 12:30:29 2011 +0200 Fix Adrian's (C) poppler/PSOutputDev.cc | 2 +- poppler/PSOutputDev.h | 3 ++- poppler/PreScanOutputDev.cc | 1 + poppler/PreScanOutputDev.h | 1 + poppler/SplashOutputDev.cc | 1 + poppler/SplashOutputDev.h | 1 + 6 files changed, 7 insertions(+), 2 deletions(-) commit 7741b24d05f50c134cf15361d52f5df7ae3c3115 Author: Adrian Johnson Date: Sun Aug 14 22:06:22 2011 +0930 ps: Avoid using /PatternType if only one instance of the pattern is used this optimization makes pages print faster on my LaserJet poppler/PSOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit a60e61ac64634dc59c80d8e6b0288c1269fc0154 Author: Adrian Johnson Date: Sun Aug 14 21:55:24 2011 +0930 ps: use PS Patterns for tiling fill when PS level >= 2 poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 4 +-- poppler/Gfx.cc | 4 +-- poppler/OutputDev.h | 2 +- poppler/PSOutputDev.cc | 59 +++++++++++++++++++++++++++++++++++++++++---- poppler/PSOutputDev.h | 13 +++++++++- poppler/PreScanOutputDev.cc | 2 +- poppler/PreScanOutputDev.h | 2 +- poppler/SplashOutputDev.cc | 2 +- poppler/SplashOutputDev.h | 2 +- 10 files changed, 76 insertions(+), 16 deletions(-) commit 9938770e737b2fcec8269147e70663517f848925 Author: Albert Astals Cid Date: Mon Aug 15 13:17:24 2011 +0200 0.17.2 CMakeLists.txt | 4 ++-- NEWS | 37 +++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 5 +++-- 10 files changed, 49 insertions(+), 11 deletions(-) commit 378fc06c574b85b5c003ca842aa743f0ffe5587e Author: Albert Astals Cid Date: Mon Aug 1 22:14:12 2011 +0200 Only assume the OC is not visible if it exists and is set to no Similar to commit e2def20a45c1d8307fd62fabb9769121af975abf but in the other branch of the if, fixes bug 39637 poppler/OptionalContent.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 861a7bfb9431609e1e148240447f23c8e83b9d0f Author: Thomas Freitag Date: Fri Jul 29 00:30:58 2011 +0200 Implement overprint in Splash See the "Implementing overprint in Splash" thread in the mailing list for more info goo/ImgWriter.h | 2 + goo/JpegWriter.cc | 54 ++++++-- goo/JpegWriter.h | 7 +- poppler/Gfx.cc | 98 +++++++++++++-- poppler/GfxState.cc | 1 + poppler/GfxState.h | 4 + poppler/OutputDev.h | 1 + poppler/SplashOutputDev.cc | 307 +++++++++++++++++++++++++++++++++++++++------ poppler/SplashOutputDev.h | 51 +++++++- splash/Splash.cc | 86 +++++++++---- splash/Splash.h | 9 +- splash/SplashBitmap.cc | 64 +++++++++- splash/SplashBitmap.h | 1 + splash/SplashPattern.cc | 16 ++- splash/SplashPattern.h | 7 ++ splash/SplashState.cc | 11 +- splash/SplashState.h | 22 ++++ splash/SplashTypes.h | 5 +- utils/pdftoppm.cc | 36 +++++- 19 files changed, 686 insertions(+), 96 deletions(-) commit e2fa8a2ca8459d19c0f9dca445a2399b9a3d483d Author: Koji Otani Date: Thu Jul 28 12:43:57 2011 +0200 Parse the "Medium" modifier when asking fontconfig for a font poppler/GlobalParams.cc | 2 ++ 1 file changed, 2 insertions(+) commit 0a677dd8dc9c55936530ea1fee901cab831c52af Author: Koji Otani Date: Thu Jul 28 12:42:16 2011 +0200 Improve selection of CJK fonts Seems we need to do some more fontconfig magic for some special fontconfig configurations More info at bug 36474 poppler/GlobalParams.cc | 137 +++++++++++++++++++++++++++++++----------------- 1 file changed, 89 insertions(+), 48 deletions(-) commit e78aff6796a5d5a0a4f2fe8c7ceb33c506e2c8f5 Author: William Bader Date: Tue Jul 26 00:10:34 2011 +0200 make -level1sep write gray instead of cmyk If it is a gray only image Bug 39012 poppler/PSOutputDev.cc | 63 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 3 deletions(-) commit ea31309487aab6ed407a086dff1f350b6e4bdbc9 Author: Albert Astals Cid Date: Tue Jul 26 00:09:27 2011 +0200 Update (C) poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a945641497946a825dc880f94200ea1d5409332b Author: Hib Eris Date: Sat Jul 23 08:44:06 2011 +0200 Handle missing startxref properly Bug 38209 poppler/PDFDoc.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 2c1b25ef2592367f4c18e204ab5d102f15cf272f Author: William Bader Date: Mon Jul 25 23:43:27 2011 +0200 Fix a bad memory access When not using antialias and the character starts to the left/top of the image Bug 37189 splash/Splash.cc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 300900afa2140141748a7571270be5d850274072 Author: Daniel Glöckner Date: Sat Jul 23 19:49:15 2011 +0200 Fix numerical overflow in libopenjpeg JPXStream::doLookChar() It also includes a speed optimization. Bug 39361 poppler/JPEG2000Stream.cc | 37 ++++++++++++++++++++++++++++++++++++- poppler/JPEG2000Stream.h | 36 +++++++++++------------------------- 2 files changed, 47 insertions(+), 26 deletions(-) commit ec6ea621b066a3b332a8099341664889d2ff3743 Author: Axel Struebing Date: Thu Jul 21 23:12:36 2011 +0200 Fix calculation of startXRefPos Reviewed by Hib Eris See "another problem with saving linearized files" in the mailing list for more info poppler/PDFDoc.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit ce97cfcd6373c98fb8c63e9b3ef6c51738f22a50 Author: Albert Astals Cid Date: Wed Jul 20 00:24:52 2011 +0200 Render dots for 0 length dashed lines Bug 34150 splash/Splash.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 42c1b1c4af6b07f488d1b2b02a4700f19b0ab0ef Author: Tomas Hoger Date: Wed Jul 20 00:23:15 2011 +0200 Fix crash on truncated JPEG/DCT stream Bug 36693 poppler/DCTStream.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 091b570c63694e475c24bb8805638ac70c654892 Author: Albert Astals Cid Date: Wed Jul 20 00:19:43 2011 +0200 Make sure the dict is a page dict Fixes second part of 35925 and 39072 poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac566c887ffae9d384587f7587609642aef7a016 Author: Albert Astals Cid Date: Wed Jul 20 00:17:49 2011 +0200 Do not crash if can not get page 0 for some reason qt4/tests/test-poppler-qt4.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 6ad95e7b8b9766aa19f01f06f02eb430e4a4a899 Author: Albert Astals Cid Date: Mon Jul 11 15:04:49 2011 +0100 Complete the list of preprocessor defines that we never define When using any of the two sanctioned build systems poppler/poppler-config.h.cmake | 6 ++++-- poppler/poppler-config.h.in | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) commit edcc84ef0137a733cf3fab79b919af309d87325c Author: Albert Astals Cid Date: Mon Jul 11 15:00:39 2011 +0100 Harmonize all SPLASH_CMYK to use #if poppler/SplashOutputDev.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit a8fca630d592941c033ca6a380bf46b6e733a748 Author: Albert Astals Cid Date: Mon Jul 11 14:57:33 2011 +0100 Sanitize headers a big * Remove includes to config.h as that file does not exist * Add to poppler-config.h all the defines we define in the configure/cmake process and are used in headers * Include poppker-config.h where needed goo/GooTimer.h | 2 ++ goo/ImgWriter.h | 3 +- goo/JpegWriter.h | 3 +- goo/PNGWriter.h | 4 +-- goo/TiffWriter.h | 3 +- goo/gfile.h | 3 +- poppler/DCTStream.h | 5 ++-- poppler/FlateStream.h | 5 ++-- poppler/Gfx.h | 3 +- poppler/GfxState.h | 2 ++ poppler/Stream.h | 3 +- poppler/poppler-config.h.cmake | 63 ++++++++++++++++++++++++++++++++++++++++++ poppler/poppler-config.h.in | 63 ++++++++++++++++++++++++++++++++++++++++++ splash/SplashFTFont.h | 4 ++- splash/SplashMath.h | 4 ++- 15 files changed, 153 insertions(+), 17 deletions(-) commit 214322f3c66a9aad4e2a46f6e305a3dacaa4f8b1 Author: Albert Astals Cid Date: Sun Jul 10 01:20:21 2011 +0100 And 3 years later, Ed has answered :-) Now all our changes are GPLv2+ poppler/GfxFont.cc | 3 +++ poppler/GlobalParams.cc | 3 +++ poppler/TextOutputDev.cc | 3 +++ poppler/TextOutputDev.h | 3 +++ poppler/UnicodeTypeTable.cc | 3 +++ poppler/UnicodeTypeTable.h | 3 +++ 6 files changed, 18 insertions(+) commit 37cc1344672f480d4062aafbd2f3245ca1392279 Author: Albert Astals Cid Date: Sun Jul 10 01:15:44 2011 +0100 Fix header The file was modified in 2009 and README.contributors stating everything is GPLv2+ is from 2008 poppler/XpdfPluginAPI.cc | 3 +++ 1 file changed, 3 insertions(+) commit 230ab66f52a992557464e325d18f88573ec52423 Author: Albert Astals Cid Date: Sun Jul 10 01:06:41 2011 +0100 make files easier to include by themselves fofi/FoFiTrueType.h | 2 ++ splash/Splash.h | 3 ++- splash/SplashFontEngine.h | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) commit 866c6d1b0daa8b28f259e1faba075026cf9007e0 Author: Albert Astals Cid Date: Sun Jul 10 00:55:25 2011 +0100 Name most of the classes in poppler/ includable by themselves poppler/Annot.h | 4 +++- poppler/Catalog.h | 2 ++ poppler/CharCodeToUnicode.h | 4 +++- poppler/CompactFontTables.h | 16 ++++++++++++++++ poppler/FontInfo.h | 6 +++++- poppler/GfxState_helpers.h | 4 +++- poppler/NameToUnicodeTable.h | 18 ++++++++++++++++++ 7 files changed, 50 insertions(+), 4 deletions(-) commit 6b62fb7e9bd7de7f79b9b9a6fe36a5f5da099133 Author: William Bader Date: Mon Jun 27 19:38:52 2011 +0100 Remove unused variable poppler/PSOutputDev.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 4bc6c5bd3a001bb4eb9f61488e3d4f356638e391 Author: Adrian Bunk Date: Tue Jul 5 15:21:06 2011 +0300 .gitignore tests additions The following files were missing in .gitignore: - cpp/tests/poppler-render - qt4/tests/poppler-texts - test/gtk-test cpp/tests/.gitignore | 1 + qt4/tests/.gitignore | 1 + test/.gitignore | 1 + 3 files changed, 3 insertions(+) commit 00076bc308ae320244c47777fe351c1c2bef2da8 Author: Albert Astals Cid Date: Fri Jun 24 22:51:55 2011 +0100 Forgot William's (C) here poppler/Stream.cc | 1 + poppler/Stream.h | 1 + 2 files changed, 2 insertions(+) commit 7e244fde4ec03da08d81af3402b21646c803bd31 Author: William Bader Date: Fri Jun 24 22:39:13 2011 +0100 patch to make -level2sep and -level3sep write gray instead of cmyk If they are only gray of course :D poppler/PSOutputDev.cc | 34 ++++++++++++++++++++++++++++++---- poppler/Stream.cc | 43 +++++++++++++++++++++++++++++++++++++++++++ poppler/Stream.h | 29 +++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+), 4 deletions(-) commit abba8140a9972197faaca96ec590af7dc9408fb0 Author: William Bader Date: Fri Jun 24 22:38:33 2011 +0100 patch to make -level2sep and -level3sep write cmyk instead of rgb poppler/PSOutputDev.cc | 59 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 54 insertions(+), 5 deletions(-) commit 706007431325b1e8c9bf4cba35c89511b10ebf0c Author: Albert Astals Cid Date: Mon Jun 20 23:30:50 2011 +0100 (C) for Jim fofi/FoFiBase.cc | 1 + 1 file changed, 1 insertion(+) commit e23384fbb3542941d2cf59ce6560913255ca2b01 Author: Jim Meyering Date: Mon Jun 20 11:09:01 2011 +0200 don't gmalloc(-1) upon ftell failure * fofi/FoFiBase.cc: Diagnose ftell failure. fofi/FoFiBase.cc | 5 +++++ 1 file changed, 5 insertions(+) commit c5601bde9d8f3f56e558a6f63e563c9d337810eb Author: Steven Murdoch Date: Mon Jun 20 23:25:43 2011 +0100 Fix encoding of PDF document metadata in output of pdftohtml pdftohtml simply copies the PDF document title into the HTML tag, which fails when the title is UCS-2 encoded, or if it contains characters which are in pdfDocEncoding (a ISO 8859-1 superset), but not in ISO 8859-1. This patch fixes the problem by decoding UCS-2 or pdfDocEncoding into Unicode, then encoding this in the desired output encoding. HTML escaping wasn't being done either, so I have used the existing function HtmlFont::HtmlFilter to perform both HTML escaping and character set encoding. This static method had to be made public to call it from pdftohtml. See bug #37900. utils/HtmlFonts.h | 3 ++- utils/pdftohtml.cc | 41 ++++++++++++++++++++++++++++++++++++++--- 2 files changed, 40 insertions(+), 4 deletions(-) commit d4af1c4ef46abf1f11b7215c7b144ce7bb7912eb Author: Joshua Richardson <joshuarbox-junk1@yahoo.com> Date: Sat Jun 18 13:39:54 2011 +0100 Fix vertical spacing issues in pdftohtml output. Bug 38019 utils/HtmlFonts.cc | 3 ++- utils/HtmlOutputDev.cc | 21 +++++++++++++++++++-- 2 files changed, 21 insertions(+), 3 deletions(-) commit 589933ef105b60e8d48854cce15a7548c2850116 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jun 13 21:24:39 2011 +0100 Forgot my (C) poppler/PreScanOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5d2ddd13d27078355dee63207671885bf9b0926 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jun 13 18:57:29 2011 +0100 We need to include config.h here Fixes crash after patch to fix bug 13518 poppler/PreScanOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit 147ae4bf76a85768c9ed729ca10ee3dae93b8876 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 8 23:36:14 2011 +0100 Do not crash if link does not have an action utils/HtmlOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit 5d9489bf566b700ef38e5e33665a2648b535e1e7 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jun 4 21:46:10 2011 +0100 forgot to update the C utils/pdftotext.cc | 1 + 1 file changed, 1 insertion(+) commit 7b123bf2b11ac81f24a966186a06de739d3c8f02 Author: Steven Murdoch <Steven.Murdoch@cl.cam.ac.uk> Date: Sat Jun 4 20:22:52 2011 +0100 Fix pdftotext -htmlmeta to correctly output U+2019 in PDF metadata In PDF documents, right single quotation mark (U+2019) may be encoded as 0x90 because PDFDocEncoding uses some of the reserved characters in ISO 8859-1. However, pdftotext -htmlmeta assumes that characters are either UCS-2 or ISO 8859-1. Thus when a right single quotation mark is encoded as 0x90, it is output as unicode 0x90 (which is a control character). pdfinfo does the right thing by first converting from PDFDocEncoding to Unicode with pdfDocEncoding[], before encoding it in the desired character set. This patch applies the same logic to pdftotext. pdftohtml is broken in the same way, but this patch does not attempt to fix it. Bug 37900 utils/pdftotext.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit db2ae1bdbb7fcb64ba4c91dfc574d9f970bebdf6 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jun 4 13:23:11 2011 +0100 Make sure catDict is a dict poppler/Catalog.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 58915affbdf1b5780f25d172a582c69fb2413230 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jun 4 13:20:02 2011 +0100 Make sure catDict is a dict before using it KDE Bug 274888 shows it's possible to get aborts because of that poppler/Catalog.cc | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) commit 4ebc7e364409fe303e7a5729b568913e3c92e7d4 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jun 4 13:19:34 2011 +0100 We need to free catDict on failure poppler/Catalog.cc | 1 + 1 file changed, 1 insertion(+) commit 335a7fc6d98f5facc1ff098a91ac968387473cb3 Author: Albert Astals Cid <aacid@kde.org> Date: Tue May 31 23:18:26 2011 +0100 Make parse() private poppler/Catalog.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 311d69ef2222409859817737c44b8e741289d897 Author: Axel Strübing <axel.struebing@freenet.de> Date: Sun May 29 16:12:29 2011 +0100 Needs to be freed As i said in my last commit comment :D poppler/PDFDoc.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 66c7d0199b45bc7c81c88a9989c9515398d30d43 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 28 17:32:02 2011 +0100 No need to check for NULL We probably need to free obj4 but i don't have the stamina to properly test it poppler/PDFDoc.cc | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) commit 450934619a1c5b2a58f65649f567274af8d24ea7 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 28 12:37:08 2011 +0100 Parse that as unicode Fixes KDE Bug #274055 qt4/src/poppler-page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 04dfb2c984b3c9949466e2b70e26b58029c5a7d3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat May 7 12:55:34 2011 +0200 Make FileSpec a class and move EmbFile from Catalog to FileSpec Qt and cpp frontends adapted by Pino Toscano cpp/poppler-document.cpp | 4 +- cpp/poppler-embedded-file-private.h | 10 +-- cpp/poppler-embedded-file.cpp | 42 +++++++---- glib/poppler-annot.cc | 6 +- glib/poppler-attachment.cc | 33 +++++---- glib/poppler-document.cc | 5 +- glib/poppler-private.h | 3 +- poppler/Catalog.cc | 118 +++--------------------------- poppler/Catalog.h | 55 +------------- poppler/FileSpec.cc | 128 +++++++++++++++++++++++++++++++++ poppler/FileSpec.h | 51 ++++++++++++- qt4/src/poppler-embeddedfile-private.h | 6 +- qt4/src/poppler-embeddedfile.cc | 34 +++++---- qt4/src/poppler-page.cc | 5 +- qt4/src/poppler-private.h | 4 +- qt4/tests/check_attachments.cpp | 12 ++-- 16 files changed, 284 insertions(+), 232 deletions(-) commit 74f9befddd4b5848c4af0c1b2848a1322f8cd0a2 Author: Pino Toscano <pino@kde.org> Date: Wed May 25 16:46:15 2011 +0200 [qt4] Page needs to be a friend of EmbeddedFile, too qt4/src/poppler-qt4.h | 1 + 1 file changed, 1 insertion(+) commit 74853614d617486b7b62e9c08be39a6e58bc7d9b Author: Pino Toscano <pino@kde.org> Date: Wed May 25 16:40:49 2011 +0200 update copyrights qt4/src/poppler-embeddedfile-private.h | 2 +- qt4/src/poppler-embeddedfile.cc | 2 +- qt4/src/poppler-qt4.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit e6b2dec502c02f9fbaed480f227cf7145249a98e Author: Pino Toscano <pino@kde.org> Date: Wed May 25 16:39:09 2011 +0200 [qt4] one more usage of the new EmbeddedFile ctor followup of a264e5385b2d0fee5126b3d0e57d42d34cafa45d qt4/src/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a264e5385b2d0fee5126b3d0e57d42d34cafa45d Author: Pino Toscano <pino@kde.org> Date: Wed May 25 16:12:02 2011 +0200 [qt4] create EmbeddedFile by EmbeddedFileData only - create the private class and pass it to the EmbeddedFile ctor, reducing the amount of poppler code API exposed to the outside - turn the old private EmbeddedFile(EmbFile*) ctor in a death machine qt4/src/poppler-embeddedfile-private.h | 3 +++ qt4/src/poppler-embeddedfile.cc | 21 ++++++++++++++++++--- qt4/src/poppler-private.h | 3 ++- qt4/src/poppler-qt4.h | 2 ++ 4 files changed, 25 insertions(+), 4 deletions(-) commit 232bfa1c59013637fd7e858e22194becb636ad21 Author: Pino Toscano <pino@kde.org> Date: Wed May 25 15:55:48 2011 +0200 [Qt4] split EmbeddedFileData in an own file qt4/src/poppler-embeddedfile-private.h | 37 ++++++++++++++++++++++++++++++++++ qt4/src/poppler-embeddedfile.cc | 7 +------ 2 files changed, 38 insertions(+), 6 deletions(-) commit a7242b78b3c9a64cf38ac150e6a914d7abce3355 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 7 11:10:11 2011 +0100 Do not free a shallow copy of an object we'll free later Make sure we have our own copy we can free Fixes KDE BUG #268816 (cherry picked from commit dab9cdf795d6caead555326958e86e844ace067b) poppler/Catalog.cc | 12 +++++------- poppler/Catalog.h | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) commit 4db2452b3d345d9531987998e6b5532a59137e1d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 6 14:57:51 2011 +0200 glib: Add poppler_document_get_n_attachments() glib/poppler-document.cc | 34 ++++++++++++++++++++++++---------- glib/poppler-document.h | 1 + glib/reference/poppler-sections.txt | 1 + 3 files changed, 26 insertions(+), 10 deletions(-) commit 3e3284de3fe1916d7f8161ede7bf49c76d01f303 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 6 14:49:05 2011 +0200 glib: Update gtk-doc.make gtk-doc.make | 151 ++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 98 insertions(+), 53 deletions(-) commit 9a77bd7706a08d9aeabe600e3500c14493ac8519 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 6 14:48:38 2011 +0200 glib-demo: Add missing permission flags to info demo glib/demo/info.cc | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) commit 091c155f8a7bc79da84cd21877be389de1f2b1a3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 6 14:47:36 2011 +0200 glib: Add missing permissions flags to PopplerPermissions glib/poppler-document.cc | 6 ++++++ glib/poppler-document.h | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) commit 632d6a40ce3a5d3d8e10bf7e93e8eb578beae907 Author: Albert Astals Cid <aacid@kde.org> Date: Tue May 3 21:54:59 2011 +0100 0.17.1 CMakeLists.txt | 4 ++-- NEWS | 12 ++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 18 insertions(+), 6 deletions(-) commit ecb136b9927a454df9360a307ccd741eaea3ca93 Author: Albert Astals Cid <aacid@kde.org> Date: Tue May 3 21:42:45 2011 +0100 remove unused vars poppler/Annot.cc | 9 ++------- poppler/ArthurOutputDev.cc | 12 ++---------- 2 files changed, 4 insertions(+), 17 deletions(-) commit ad131763640b2e27dde75c42b514386284b6a60d Author: Pino Toscano <pino@kde.org> Date: Wed Apr 27 22:36:13 2011 +0200 [qt4/tests] turn some assignments to bool into QVERIFY checks qt4/tests/check_optcontent.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit be08dd69d9dd4fcb22400f2f0aea331222e88e4a Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 27 20:45:36 2011 +0100 update copyright years (cherry picked from commit 2fbd493197309de5700f71f09967c9d23add88d3) poppler/Annot.cc | 1 + utils/pdftotext.cc | 1 + 2 files changed, 2 insertions(+) commit 39bcce0c8ed378aafb1019ffd1ae40330f6bb63f Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 27 19:39:01 2011 +0100 Remove more variables that are set but then unused poppler/SplashOutputDev.cc | 11 +------ utils/HtmlOutputDev.cc | 75 +--------------------------------------------- 2 files changed, 2 insertions(+), 84 deletions(-) commit 6656cf657b62d626910a02dfae9b6a1eb77772dd Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 27 08:46:37 2011 +0100 Remove unused vars poppler/TextOutputDev.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit ce55510f4dd10dfec2fc5b1c211c4a546c6ebc98 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 27 08:42:34 2011 +0100 Remove unused vars splash/Splash.cc | 5 ++--- splash/SplashFTFontEngine.cc | 4 +--- splash/SplashXPath.cc | 6 ++---- 3 files changed, 5 insertions(+), 10 deletions(-) commit 49d199fd1ea14383638739d95d019adb33b17768 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 27 08:38:17 2011 +0100 Fix page_transition::operator= cpp/poppler-page-transition.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 807c1df2bf79c7c6378390b41dc230d80533ae3f Author: Tom Gleason <tom@buildadam.com> Date: Tue Apr 26 17:06:07 2011 +0100 bbox coordinates are relative to MediaBox size, not CropBox size utils/pdftotext.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 813f41367a681702ae7a155d5c2f3195124a9096 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Apr 3 20:40:15 2011 +0200 forms: fix mem leak in case of error poppler/Form.cc | 2 ++ 1 file changed, 2 insertions(+) commit 722baf8baf42e2c7a49e1560aae5235677d1ddee Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Apr 3 20:17:57 2011 +0200 forms: check form field is actually terminal before creating the widget poppler/Form.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 5f6f7fc569d1c891956a3c37b3e328504635ab33 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Apr 3 15:06:45 2011 +0100 Properly initialize pageObjectNum to 0 Bug 35925 poppler/Hints.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d6786edc2549164214342a50782b72c2fd904b63 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Apr 3 13:11:18 2011 +0200 forms: Remove unused parameter poppler/Form.cc | 2 +- poppler/Form.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 62692ff381f3b7907b330bfc2019416ed058ea46 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Apr 3 13:01:42 2011 +0200 forms: rework the way form fields tree is built Now we build the tree as described by the doc, without ignoring container fields and always creating a child widget for composed (field + annot) dictionaries. The way check and radio buttons are set has been reworked too, since now it's possible to have a set of buttons where children are not widgets, but form fields with a child widget. poppler/Annot.cc | 4 +- poppler/Form.cc | 237 +++++++++++++++++++++++++++++-------------------------- poppler/Form.h | 17 ++-- 3 files changed, 137 insertions(+), 121 deletions(-) commit a6802301d9c3ab8bf68bd8821f562f8ecced8491 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 28 17:42:37 2011 +0200 forms: Add debug methods to print the forms tree poppler/Form.cc | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Form.h | 25 ++++++++++++++++++ 2 files changed, 103 insertions(+) commit 46f87da04700cdd1afa634f9c554e376f6f6f752 Author: José Aliste <jaliste@src.gnome.org> Date: Thu Mar 31 08:09:41 2011 -0400 Fix a memleak in AnnotScreen::initialize poppler/Annot.cc | 1 + 1 file changed, 1 insertion(+) commit b64178eaa5dd01f914649d6faa870fa140ddaf9b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 30 15:17:54 2011 +0200 glib: docs: Add PopplerActionJavascript to poppler-sections.txt glib/reference/poppler-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 3d777181ddee8f7ab2cc9e4684879cb5b52b065c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 30 15:16:04 2011 +0200 glib: Use Javascript instead of JavaScript for consistency glib/poppler-action.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c4774fecfe3d523f32d5980f50e31daa798c9692 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 30 15:08:59 2011 +0200 glib-demo: show javascript actions in actions view glib/demo/utils.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit 68bbbe1a3f68d242b35027ae41f5751b02a2a700 Author: José Aliste <jaliste@src.gnome.org> Date: Tue Mar 29 04:56:37 2011 -0400 glib: add JavaScript actions glib/poppler-action.cc | 24 ++++++++++++++++++++++++ glib/poppler-action.h | 14 +++++++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) commit 3dd934088a06f246718382601030c9b093d04160 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 30 00:03:58 2011 +0100 Need to create the globalParams qt4/tests/check_optcontent.cpp | 5 +++++ 1 file changed, 5 insertions(+) commit ce0d4278a32b3ba19c2002ed0c481c58b1854d59 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 29 23:47:33 2011 +0100 Long gone Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit 12337026533aa59bb66022ce8a119f37aafd4fad Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 29 23:40:57 2011 +0100 increase sonames CMakeLists.txt | 2 +- glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Makefile.am | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit a6e613b01698c6b38deff5248fcf7c0b17d041c3 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 29 23:40:38 2011 +0100 more typos NEWS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e3ee037ede67212836be158b935deb7ea974b7f7 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 29 23:38:24 2011 +0100 typo NEWS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8bcd94964f0af17a3f5b6edf71127df3daa00b1a Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 29 23:30:30 2011 +0100 typo NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a05b9dacbe5dbd4337fdbb3e7d7d364ad5fbaeab Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 29 23:28:49 2011 +0100 0.17.0 version number CMakeLists.txt | 2 +- configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 4637b737b4735c70017b46a3ed6c0ee069c02c9b Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 29 23:28:41 2011 +0100 0.17.0 news NEWS | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) commit a55cc5d9c67ede1d96f6e5a58179ddd9f563c53f Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 29 22:51:40 2011 +0100 Update years poppler/Catalog.cc | 2 +- poppler/Catalog.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d96efb6c1af621be78e998ba1a228022c3c076fc Author: Pino Toscano <pino@kde.org> Date: Tue Mar 29 11:13:03 2011 +0200 fix comment poppler/ViewerPreferences.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 74ec81d66d4d5bc45cccc4aa8794df1c517f2d74 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 29 11:07:36 2011 +0200 viewer preferences: read PrintScaling and Duplex poppler/ViewerPreferences.cc | 24 ++++++++++++++++++++++++ poppler/ViewerPreferences.h | 14 ++++++++++++++ 2 files changed, 38 insertions(+) commit b41bcd484dd7a93a339270926c57caa524059d8f Author: Pino Toscano <pino@kde.org> Date: Tue Mar 29 10:58:46 2011 +0200 free the viewerPreferences Object poppler/Catalog.cc | 1 + 1 file changed, 1 insertion(+) commit 1dd88d0b6b7cbfda76e81902a351c89457a061a8 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 29 09:58:10 2011 +0200 read the ViewerPreferences dict once, and construct ViewerPreferences on demand this way it is possible to know whether the ViewerPreferences dictionary is present in the Catalog poppler/Catalog.cc | 24 +++++++++--------------- poppler/Catalog.h | 3 ++- 2 files changed, 11 insertions(+), 16 deletions(-) commit f10b0b8c88a7df83ada09f32b6cb6fd930fcb748 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 29 09:57:46 2011 +0200 assume the prefDict is not null poppler/ViewerPreferences.cc | 4 ---- 1 file changed, 4 deletions(-) commit d4a5ea45057cad531a8979cf9861ac05cdd56613 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 29 09:54:22 2011 +0200 fix variable name for DisplayDocTitle poppler/ViewerPreferences.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cf84a05ae524aa9b266463cc23cccc3860ff1ba3 Author: Pino Toscano <pino@kde.org> Date: Mon Mar 28 23:18:02 2011 +0200 viewer preferences: read NonFullScreenPageMode and Direction poppler/ViewerPreferences.cc | 26 ++++++++++++++++++++++++++ poppler/ViewerPreferences.h | 15 +++++++++++++++ 2 files changed, 41 insertions(+) commit 460253a6705a227ff7c36e9c31cceb93cce4d78b Author: Pino Toscano <pino@kde.org> Date: Mon Mar 28 22:37:54 2011 +0200 read some boolean viewer preferences - HideToolbar - HideMenubar - HideWindowUI - FitWindow - CenterWindow - DisplayDocTitle poppler/ViewerPreferences.cc | 41 +++++++++++++++++++++++++++++++++++++++++ poppler/ViewerPreferences.h | 13 +++++++++++++ 2 files changed, 54 insertions(+) commit 9fa9ac3546674120532bb512b82af6471cbebf01 Author: Pino Toscano <pino@kde.org> Date: Mon Mar 28 19:58:16 2011 +0200 add skeleton for ViewerPreferences a small class for handling the ViewerPreferences dictionary of a Catalog, created on demand and in any occasion (so defaults are in one place only) CMakeLists.txt | 2 ++ poppler/Catalog.cc | 23 +++++++++++++++++++++++ poppler/Catalog.h | 4 ++++ poppler/Makefile.am | 2 ++ poppler/ViewerPreferences.cc | 30 ++++++++++++++++++++++++++++++ poppler/ViewerPreferences.h | 34 ++++++++++++++++++++++++++++++++++ 6 files changed, 95 insertions(+) commit c6081f0bf00d7dcdfa1d09e91e4c9a1fe5a54ad6 Author: Pino Toscano <pino@kde.org> Date: Mon Mar 28 19:55:00 2011 +0200 delete the temporary buffers created by pdfDocEncodingToUTF16() poppler/Form.cc | 2 ++ 1 file changed, 2 insertions(+) commit d94d5056d5570e2f5cb578736eba12317ea63fa4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 28 18:20:31 2011 +0200 glib-demo: show the activation action of form fields if there's one glib/demo/forms.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit ba0f36b76d0c2fd4ef39f3013fc125a53747c03f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 28 18:17:52 2011 +0200 glib: Add poppler_form_field_get_action() Fixes bug #33174. glib/poppler-form-field.cc | 34 ++++++++++++++++++++++++++++++++++ glib/poppler-form-field.h | 1 + glib/poppler-private.h | 1 + glib/reference/poppler-sections.txt | 1 + 4 files changed, 37 insertions(+) commit ae5b9cf884ce38dde409c3e5b0f6c46f7d6327d2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 28 17:43:53 2011 +0200 Revert "Patch for embedding videos in to the pdf" This reverts commit 66575c990f379871e4b796befc899de178332670. It introduces new API to glib frontend that is wrong and will be changed soon. glib/poppler-annot.cc | 33 ----- glib/poppler-annot.h | 5 - poppler/Annot.cc | 377 -------------------------------------------------- poppler/Annot.h | 2 - 4 files changed, 417 deletions(-) commit b7edd4c93539585652961ecf2db9c4462415c8bc Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 27 12:31:19 2011 +0200 annot: Always create appearance streams when NeedAppearances is true Fixes regression in document example_054.pdf poppler/Annot.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e9350899e77c28452c48b56349ad7758b3fd47ba Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 24 20:09:18 2011 +0000 Introduce splash-friendly getRGBLine functions So it does not need to pack and unpack the color again and again poppler/GfxState.cc | 248 ++++++++++++++++++++++++++++++++++++++++++--- poppler/GfxState.h | 22 +++- poppler/SplashOutputDev.cc | 43 ++------ 3 files changed, 265 insertions(+), 48 deletions(-) commit 7b08795a9541e9fa01836b4c7fd63f6fe295ad80 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 24 12:16:07 2011 +0100 glib: Add g_return macros to make sure index is correct in form field choice methods glib/poppler-form-field.cc | 4 ++++ 1 file changed, 4 insertions(+) commit f1102fccd2899bc7f97414b1e2a295c59f03da22 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 24 12:15:30 2011 +0100 glib-demo: Fix a crash when a choice form field has no items selected glib/demo/forms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b3971ee6bca6b14b75f046c831a31ac1e5e3241e Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 22 22:08:27 2011 +0000 kill this TODO, n is too small poppler/SplashOutputDev.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1064d75817401fe24f728c189b450e9e906beb56 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 22 20:43:05 2011 +0000 kill unmaintained abiword backend CMakeLists.txt | 16 - configure.ac | 16 - poppler/ABWOutputDev.cc | 1179 ----------------------------------------------- poppler/ABWOutputDev.h | 141 ------ poppler/Makefile.am | 17 - utils/CMakeLists.txt | 10 - utils/Makefile.am | 18 +- utils/pdftoabw.cc | 201 -------- 8 files changed, 2 insertions(+), 1596 deletions(-) commit abf167af8b15e5f3b510275ce619e6fdb42edd40 Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Mon Mar 21 21:34:46 2011 +0000 Implement tiling/patterns in SplashOutputDev Fixes bug 13518 poppler/CairoOutputDev.cc | 5 +- poppler/CairoOutputDev.h | 10 +- poppler/Gfx.cc | 6 +- poppler/OutputDev.h | 6 +- poppler/PSOutputDev.cc | 8 +- poppler/PSOutputDev.h | 6 +- poppler/PreScanOutputDev.cc | 22 +++- poppler/PreScanOutputDev.h | 16 ++- poppler/SplashOutputDev.cc | 265 ++++++++++++++++++++++++++++++++++++++++++++ poppler/SplashOutputDev.h | 12 ++ 10 files changed, 334 insertions(+), 22 deletions(-) commit 66575c990f379871e4b796befc899de178332670 Author: Srinivas Adicherla <srinivas.adicherla@gmail.com> Date: Thu Mar 17 20:14:05 2011 +0000 Patch for embedding videos in to the pdf glib/poppler-annot.cc | 33 +++++ glib/poppler-annot.h | 5 + poppler/Annot.cc | 377 ++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 2 + 4 files changed, 417 insertions(+) commit ec1917968d2f1c7a00772a0829b3fcc6957d8f3c Author: Albert Astals Cid <aacid@kde.org> Date: Mon Mar 14 00:13:26 2011 +0000 Only build gtk-test if we have to build gtk-test test/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1acbb01e72a22f70f00dc058ff206e3bc05bc0ab Author: Albert Astals Cid <aacid@kde.org> Date: Sun Mar 13 14:49:48 2011 +0000 (C) years poppler/CachedFile.cc | 2 +- poppler/CurlCachedFile.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit bc8aeb269aa92406081f749064ceff75bb3145e7 Author: Hib Eris <hib@hiberis.nl> Date: Sat Mar 12 23:17:59 2011 +0100 Check response code of libcurl call poppler/CachedFile.cc | 8 +++++++- poppler/CurlCachedFile.cc | 12 +++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) commit 0268cedee5b460835a4747d0ea41bbe12269310d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Mar 12 15:24:30 2011 +0100 cairo: Fix typo poppler/CairoFontEngine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5aa369e68e5c9f14efc888c7b26da06aa8bd2a78 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 12 13:47:34 2011 +0000 Remove unused variable poppler/CurlCachedFile.cc | 2 -- 1 file changed, 2 deletions(-) commit c0dffbe28f91b30b36310ab0b9a9b948610550ae Author: Pino Toscano <pino@kde.org> Date: Sat Mar 12 12:15:58 2011 +0100 update copyright years cpp/poppler-document-private.h | 2 +- cpp/poppler-document.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b8fab173ffdd1e62a34b530228d08bc5ec6725ac Author: Pino Toscano <pino@kde.org> Date: Sat Mar 12 12:13:05 2011 +0100 [cpp] init the globalParams early in the document loading introduce a small RAII class to init/deinit the globalParams, and make document_private inherit from it cpp/poppler-document-private.h | 17 +++++++++----- cpp/poppler-document.cpp | 52 +++++++++++++++++++++++------------------- 2 files changed, 39 insertions(+), 30 deletions(-) commit a97a54cb22def2a9fc381fb81842dad9e5c3931f Author: Pino Toscano <pino@kde.org> Date: Sat Mar 12 12:12:11 2011 +0100 forms: delete tmp_str after being converted to GooString poppler/Form.cc | 1 + 1 file changed, 1 insertion(+) commit 9671fe07f8c9ade956742cb141b99518c3b12bad Author: Albert Astals Cid <aacid@kde.org> Date: Fri Mar 11 00:05:52 2011 +0000 getForm can return NULL, do not crash if that happens poppler/Annot.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit bd32672899f5ca4509ec9311de8092d14bec8ab1 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 10 23:33:15 2011 +0000 update copyright years poppler/Catalog.cc | 2 +- qt4/src/poppler-form.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 841f3bbca37015ec2c58d7b85a73cef5681294f8 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 10 23:30:51 2011 +0000 Do not infinite loop poppler/Form.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f2fcafdc2b982d9bbed3c01bc7d45c8bd0603f19 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 10 23:27:41 2011 +0000 Create the globalParams before the pdfdoc qt4/src/poppler-private.cc | 5 +---- qt4/src/poppler-private.h | 12 ++++++++---- 2 files changed, 9 insertions(+), 8 deletions(-) commit f956b03604b195623ab034a06942a39547adf905 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 10 00:01:18 2011 +0000 compile qt4/src/poppler-form.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f0ec3bedc5490aa35e54563019fcf2c3f8b7647d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 9 20:54:15 2011 +0100 forms: Remove unused method FormWidget::updateField() poppler/Form.cc | 22 ---------------------- poppler/Form.h | 2 -- 2 files changed, 24 deletions(-) commit 93c25e100ae2564b9a866b95bed16d2fac619bd7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 9 20:49:32 2011 +0100 forms: Rename FormField::createActivationAction() to FormField::getActivationAction() And use the existing action from the AnnotWidget instead of creating a new one. poppler/Form.cc | 11 ++--------- poppler/Form.h | 2 +- qt4/src/poppler-form.cc | 3 +-- 3 files changed, 4 insertions(+), 12 deletions(-) commit 59fb0489bfabfd8acccafdcd0361ce005664962a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 9 20:19:24 2011 +0100 annots: Check whether we need to create an appearance stream in AnnotWidget::draw() And never modify the AP entry since it breaks check and radio buttons that doesn't have an appearance for the Off state. poppler/Annot.cc | 79 ++++++++++---------------------------------------------- poppler/Annot.h | 1 - 2 files changed, 13 insertions(+), 67 deletions(-) commit f3b00ef51ceef6d9b7a1aa7e0f19249abf8ca6f3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 9 18:19:12 2011 +0100 annots: Add Annot::setAppearanceState() and use it from FormWidget This method not only updates the current appearance state, but also the appearance stream corresponding to the new state. poppler/Annot.cc | 43 ++++++++++++++++++++++++++++++++++++------- poppler/Annot.h | 2 ++ poppler/Form.cc | 7 +++---- 3 files changed, 41 insertions(+), 11 deletions(-) commit d59561212253302d4dcb23392bb8306b8e5c68d1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 9 17:35:28 2011 +0100 forms: Make FormWidget use a real widget annotation instead of duplicating code When creating annotations, if it's a widget annotation, look first whether it has already been created by a FormWidget and reuse it instead of duplicating it. poppler/Annot.cc | 42 +++++++++++++-------- poppler/Annot.h | 2 +- poppler/Catalog.cc | 2 +- poppler/Form.cc | 107 +++++++++++++++++++++++++---------------------------- poppler/Form.h | 23 ++++++------ 5 files changed, 89 insertions(+), 87 deletions(-) commit 2dd7e1ba09d4501adf9d10ab4cb8ee003cace74a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 9 10:25:00 2011 +0100 forms: Move modified flag from FormWidget to FormField poppler/Form.cc | 16 ++++++++-------- poppler/Form.h | 6 ++++-- 2 files changed, 12 insertions(+), 10 deletions(-) commit b04f03be7e43e309af5f164ef71788e7b8915841 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 9 10:17:57 2011 +0100 forms: Move field names handling from FormWidget to FormField poppler/Form.cc | 149 +++++++++++++++++++++++++++++++------------------------- poppler/Form.h | 20 +++++--- 2 files changed, 95 insertions(+), 74 deletions(-) commit abe1e0d5a37bcdb4376901306d3adccfb33ff3b4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Mar 8 21:39:00 2011 +0100 annots: Make sure no border is drawn for invalid border arrays Fixes regression on ClassSchedule_2091_ENGL.pdf poppler/Annot.cc | 8 ++++++-- poppler/Annot.h | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) commit 14d145371e86ccb92f09b1ca750ced52171b2885 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Mar 8 20:14:57 2011 +0100 forms: Remove loadDefaults method Moving the code to initialize form field stuff to form field constructors and widget stuff to form widget constructors. Clean up an simplify the code. poppler/Form.cc | 227 +++++++++++++++++++++----------------------------------- poppler/Form.h | 21 ++---- 2 files changed, 91 insertions(+), 157 deletions(-) commit 0585d7820455c93fe5b732b7a9a20d423df47075 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Mar 8 15:36:45 2011 +0100 forms: Handle field values (V entry) by field objects Rather than AnnotWidget or FormWidget, and use the form field object from AnnotWidget to get the values. poppler/Annot.cc | 52 ++++---- poppler/Form.cc | 400 +++++++++++++++++++++++++++---------------------------- poppler/Form.h | 21 +-- 3 files changed, 230 insertions(+), 243 deletions(-) commit dc100eb9080fb58164fc94c86bfb1728cecd21c3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 7 20:14:27 2011 +0100 annots: Use the field object to get MaxLen instead of parsing the field dict poppler/Annot.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 7149634f184dc3f07f2a70c296aac207ef24952c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 7 19:55:45 2011 +0100 forms: Parse the default resources dictionary in Form And use it in AnnotWidget instead of parsing the dictionary again. poppler/Annot.cc | 65 ++++++++++++++++++++++---------------------------------- poppler/Annot.h | 12 +++++------ poppler/Form.cc | 16 ++++++++++++++ poppler/Form.h | 5 +++++ 4 files changed, 52 insertions(+), 46 deletions(-) commit 2e73f17975811177c0b3c16b8bd97c7eb912bc44 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 7 18:41:48 2011 +0100 forms: Parse field variable text entries (DA, Q) in FormField() And use them from AnnotWidget instead of parsing the field dictionary again. poppler/Annot.cc | 28 +++++----------------------- poppler/Form.cc | 17 +++++++++++++++++ poppler/Form.h | 9 +++++++++ 3 files changed, 31 insertions(+), 23 deletions(-) commit 8677a34911563a712b2dcf0b6e411cee0bad9c44 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 7 18:24:07 2011 +0100 forms: Parse default variable text entries (DA, Q) on Form construction And use them from AnnotWidget instead of parsing the acroForm dictionary again. poppler/Annot.cc | 99 +++++++++++++++++++++++++++----------------------------- poppler/Form.cc | 11 +++++++ poppler/Form.h | 12 +++++++ 3 files changed, 70 insertions(+), 52 deletions(-) commit 41420bfd88685d9b1ac44dc7444ea3abee92097c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 7 09:18:25 2011 +0100 annots: Only parse the dash array for dashed borders poppler/Annot.cc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit c198a3f83d8508ddaf84564871d9202ffba8096c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 6 17:52:01 2011 +0100 annots: Use the field object to get the top index of a form field choice Instead of parsing the field dictionary again. poppler/Annot.cc | 14 ++------------ poppler/Annot.h | 1 - 2 files changed, 2 insertions(+), 13 deletions(-) commit 5cf803ec181dbf1112f67b4f4a9c77b88d102e3b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 6 17:47:18 2011 +0100 forms: Add FormFieldChoice::getTopIndex() poppler/Form.cc | 5 +++++ poppler/Form.h | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 1248f59e2045749ece1f5a5e579b866b8330a752 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 6 17:41:33 2011 +0100 annots: Draw widget background using the existing appearance characteristics Instead of parsing the appearance characteristics dictionary again poppler/Annot.cc | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) commit dc249ad4529997001ae1f96dcfd7351766ca8e8d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 6 17:34:33 2011 +0100 annots: Factor out generateFieldAppearance() Adding methods to render every form field type and using the field object when possible instead of parsing the field dictionary again. poppler/Annot.cc | 312 +++++++++++++++++++++++-------------------------------- poppler/Annot.h | 8 +- 2 files changed, 138 insertions(+), 182 deletions(-) commit f98b3540db731026e0febf1f010548f0f0ef9142 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 6 15:57:22 2011 +0100 annots: Move code to draw the border of an AnnotWidget to a new method And use the field object instead of parsing the field dictionary again. poppler/Annot.cc | 242 +++++++++++++++++++++++++++---------------------------- poppler/Annot.h | 3 + 2 files changed, 124 insertions(+), 121 deletions(-) commit 9854f3173f994bbe3f57d33bd1d0e045833859c2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 6 15:56:06 2011 +0100 annots: Add AnnotColor::adjustColor() to be able to adjust an existing AnnotColor poppler/Annot.cc | 7 +++++++ poppler/Annot.h | 2 ++ 2 files changed, 9 insertions(+) commit 2bf82f27bd9c8f97e5484ea97be661f65221163d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Mar 5 15:30:01 2011 +0100 annots: Remove unused class AnnotBorderStyle poppler/Annot.cc | 22 ---------------------- poppler/Annot.h | 36 ------------------------------------ 2 files changed, 58 deletions(-) commit 128dcaf282f418d8c45cea4df6ad4d3167b3e39c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Mar 5 13:12:49 2011 +0100 annots: Add AnnotBorder::parseDashArray() to parse dash arrays The code was duplicated in AnnotBorderArray and AnnotBorderBS poppler/Annot.cc | 91 +++++++++++++++++++------------------------------------- poppler/Annot.h | 4 ++- 2 files changed, 34 insertions(+), 61 deletions(-) commit ec2643d311e0ce55f0ff5309c0c420140d053a50 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 1 19:50:55 2011 +0000 fix copyright years poppler/Annot.cc | 2 +- poppler/Annot.h | 2 +- poppler/ArthurOutputDev.cc | 2 +- poppler/ArthurOutputDev.h | 2 +- poppler/FontInfo.cc | 1 + poppler/Form.cc | 4 ++-- poppler/Form.h | 3 ++- poppler/GlobalParams.cc | 1 + poppler/GlobalParams.h | 1 + poppler/Link.cc | 2 +- poppler/Link.h | 2 +- poppler/OutputDev.h | 2 +- poppler/PDFDoc.cc | 2 +- poppler/Page.cc | 2 +- poppler/Page.h | 2 +- poppler/TextOutputDev.cc | 2 +- poppler/TextOutputDev.h | 2 +- qt4/src/poppler-form.cc | 2 +- qt4/src/poppler-link-extractor-private.h | 2 +- qt4/src/poppler-link-extractor.cc | 2 +- qt4/src/poppler-page.cc | 2 +- qt4/src/poppler-private.h | 2 +- utils/HtmlOutputDev.cc | 2 +- utils/HtmlOutputDev.h | 4 ++-- 24 files changed, 27 insertions(+), 23 deletions(-) commit 900974ebfbe6ab7ae21ed151ff79f9578d2bdae2 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 1 19:42:22 2011 +0000 Fix years poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c804db4d8261274b013f8c340abfc921c77bb3cf Author: Pino Toscano <pino@kde.org> Date: Tue Mar 1 19:22:31 2011 +0100 move the fontconfig.h inclusion from GlobalParams.h to GlobalParams.cc this avoids a dependency on the fontconfig headers to the users of the core poppler/GlobalParams.cc | 4 ++++ poppler/GlobalParams.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) commit 2d77c7f9c41f1121354413bcdc3beded35a247f9 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 1 16:51:04 2011 +0100 create the GooString on stack, not in heap poppler/Annot.cc | 5 ++--- poppler/Form.cc | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) commit 5dc2ef0e27ac48c81739cdfe8e8070ebbc410c87 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 1 16:39:36 2011 +0100 annots: avoid temporary GooString's just for comparisons, just use strcmp other than reducing few GooString allocations, strcmp should be much faster than GooString::cmp poppler/Annot.cc | 128 ++++++++++++++++++++++++------------------------------- 1 file changed, 56 insertions(+), 72 deletions(-) commit 535e48ab764ee4e377451ddd032044b51b842c4a Author: Pino Toscano <pino@kde.org> Date: Tue Mar 1 16:07:34 2011 +0100 [qt4] ignore "Widget" annotations they usually are forms or something else we do not support, so do not complain about them for now qt4/src/poppler-page.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f0e5c36e7f1c5d0f0f51e3a6a6acd6c423f86df7 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 1 16:02:54 2011 +0100 annots: avoid a temporary GooString just for comparisons, just use strcmp other than reducing few GooString allocations, strcmp should be much faster than GooString::cmp poppler/Annot.cc | 54 ++++++++++++++++++++++++++---------------------------- 1 file changed, 26 insertions(+), 28 deletions(-) commit 58a3b83a8fbd8b13eb98c4f677f4ed19b6ae44cd Author: Pino Toscano <pino@kde.org> Date: Tue Mar 1 15:35:45 2011 +0100 fix appendAnnot() invocation on annotations reading 1) check that the annot is actually a non-NULL pointer (otherwise doing anything else is pointless) 2) call appendAnnot() only if the annotation isOk() (that will increase the annot refcount), but always decrement the refcount (so valid annotation will have it at 1, while invalid will be deleted) poppler/Annot.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 664865a2ddca9c20ac36a41aef52ebf12eab838d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Mar 1 10:56:40 2011 +0100 Merge Link and AnnotLink code Annotations now belong to the Page and are created only once on demand. Annots are now ref counted and Links is a list of AnnotLink objects, Link object has been removed. The AnnotLink API is mostly the same than Link and frontends APIs are not affected. Qt4 changes made by Pino Toscano. glib/poppler-document.cc | 2 +- glib/poppler-page.cc | 29 ++++---- glib/poppler-private.h | 1 - poppler/Annot.cc | 79 +++++++++++++------- poppler/Annot.h | 24 ++++-- poppler/ArthurOutputDev.cc | 4 - poppler/ArthurOutputDev.h | 3 - poppler/CairoOutputDev.cc | 3 - poppler/CairoOutputDev.h | 6 -- poppler/FontInfo.cc | 4 +- poppler/Form.cc | 36 ++++----- poppler/Form.h | 5 +- poppler/Link.cc | 124 +++++-------------------------- poppler/Link.h | 43 ++--------- poppler/OutputDev.h | 4 +- poppler/PDFDoc.cc | 4 +- poppler/Page.cc | 63 ++++++++-------- poppler/Page.h | 11 +-- poppler/TextOutputDev.cc | 9 ++- poppler/TextOutputDev.h | 10 +-- qt4/src/poppler-link-extractor-private.h | 2 +- qt4/src/poppler-link-extractor.cc | 3 +- qt4/src/poppler-page.cc | 12 ++- utils/HtmlOutputDev.cc | 7 +- utils/HtmlOutputDev.h | 4 +- 25 files changed, 188 insertions(+), 304 deletions(-) commit 1f6573e949aaba0eb0a4c2f9cd73d7ad45ba67be Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 21:53:32 2011 +0100 small fixes to the pdftohtml manpage - capitalize HTML, PDF, XML, PNG - dont -> do not - fix UTF-8 character - fix hypens used as minus utils/pdftohtml.1 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit e927384897595f1bda5f7e41b552602f9cc8ed95 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 16:39:59 2011 +0100 [qt4] fix caption of push button fields instead of asking the 'onStr' of the underlying form widget, take (if available) the 'MK' entry, i.e. the appearance characteristics dictionary, and use the normal caption of that qt4/src/poppler-form.cc | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit 5b24ee2c934feea1b7d46c8ec423d1c547258be2 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 16:24:22 2011 +0100 annots: 'CA', 'RC' and 'AC' are strings, not names poppler/Annot.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit e64f6cb23e9a564b3f80daea9abcfe8bb29189eb Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 15:22:32 2011 +0100 make getOnStr() return the GooString* instead of its char* ... and modify its use accordingly this way it is easier to check for a numm onStr, without the risk of dereferencing a NULL pointer poppler/Form.cc | 6 +++--- poppler/Form.h | 2 +- qt4/src/poppler-form.cc | 7 ++----- 3 files changed, 6 insertions(+), 9 deletions(-) commit f9c978fc2ab8a1f901f2136ae95deb9d41076155 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 14:39:52 2011 +0100 [qt4] directly use the dict qt4/src/poppler-form.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 071966e48577c515b17a424baeae85ae4fc80a20 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 14:21:11 2011 +0100 [qt4] move textAlignment() as a private function qt4/src/poppler-form.cc | 33 +++++++++++++++++++++++++++++++-- qt4/src/poppler-private.h | 25 ------------------------- 2 files changed, 31 insertions(+), 27 deletions(-) commit adc236771f11eeb4197064747836e8ed3fbfeba9 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 14:13:50 2011 +0100 [qt4] use FormWidget::getAlternateUiName() ... instead of read the value on our own qt4/src/poppler-form.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 9f111483cf6196dedf3cee380c3e5224776203ea Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 14:12:16 2011 +0100 forms: read the TU field as alternateUiName poppler/Form.cc | 8 ++++++++ poppler/Form.h | 2 ++ 2 files changed, 10 insertions(+) commit cfaadaa9e4a857fcea3b5a2cadacd352de6c469d Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 14:07:35 2011 +0100 [qt4] use FormWidget::getPartialName() ... instead of read the value on our own qt4/src/poppler-form.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 2478896a0c1f6e5842f3d8b172e4cc7e6bd58cd8 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 13:24:09 2011 +0100 [qt4] use the new FormWidget::createActivationAction() qt4/src/poppler-form.cc | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) commit 1dcb683a5c2dd6a1de654e90a4394f65d63dc296 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 27 13:22:48 2011 +0100 add FormWidget::createActivationAction() used to get and create a new activation action object of a form widget poppler/Form.cc | 12 ++++++++++++ poppler/Form.h | 3 +++ 2 files changed, 15 insertions(+) commit bd4cc73e438a7d4d4a10c50c69e65b5bdc63ddf2 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 27 11:04:45 2011 +0000 Some more missing copyrights poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 2 +- poppler/Gfx.cc | 2 +- poppler/OutputDev.h | 2 +- poppler/TextOutputDev.cc | 1 + 5 files changed, 5 insertions(+), 4 deletions(-) commit 6c2ed4781d8ecfffdf24e1459aafd554b3527686 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 27 10:55:22 2011 +0000 Add 2011 years poppler/Annot.cc | 2 +- poppler/CairoFontEngine.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b297fb9de0779ac84d5b7ef68c792afefe598320 Author: William Bader <williambader@hotmail.com> Date: Sun Feb 27 01:48:55 2011 +0000 access the pixels directly Faster, bug 34005 splash/Splash.cc | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit de77e26759f1c33698abe248ad29b75c329a043c Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 27 01:39:23 2011 +0000 Fix crash in some pdf Has to be 3 and not nComps since it's a output buffer, a the input one Bug 34357 poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f82a2e08cb2c930956c6b38030fa7b015a0de5a Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 27 01:38:33 2011 +0000 Implement GfxDeviceCMYKColorSpace::getRGBLine poppler/GfxState.cc | 22 +++++++++++++++++++++- poppler/GfxState.h | 12 +++++++++++- 2 files changed, 32 insertions(+), 2 deletions(-) commit 4980b99214281dcab8f82b5b618aadc24de371f4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 26 14:00:33 2011 +0100 annots: Don't assume y1 > y3 for quad points of a highlight annotation Fixes https://bugzilla.gnome.org/show_bug.cgi?id=643028 poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e6ae0f8609cd66e9e124af59adefdff9d610dcd4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 26 13:23:47 2011 +0100 cairo: Handle font type fontCIDType2OT when creating freetype font Fixes https://bugzilla.gnome.org/show_bug.cgi?id=643273 poppler/CairoFontEngine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 22eb01d305ea2560d26417ca8df9c0465d4e9a82 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 26 12:17:49 2011 +0100 cairo: Fix a crash when rendering a document with inline images poppler/CairoOutputDev.cc | 28 ++++++++++++++++------------ poppler/CairoOutputDev.h | 2 +- 2 files changed, 17 insertions(+), 13 deletions(-) commit a6599dd1fda37186b876b5b2de80be1731dd5946 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 26 11:59:03 2011 +0100 glib: Add some more introspection annotations glib/poppler-attachment.cc | 2 +- glib/poppler-document.cc | 4 ++-- glib/poppler-media.cc | 2 +- glib/poppler-page.cc | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) commit 89c66f236c85ac5a53ae12b01cdebc30e27b78d3 Author: Peter Ward <peteraward@gmail.com> Date: Sat Feb 26 11:39:58 2011 +0100 glib: Add missing "out" annotation to poppler_page_get_size() glib/poppler-page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7a68199b342eb3f33733f7d7446ede8f94130fba Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 26 11:09:27 2011 +0100 cairo: Check if cairo version is == 1.11.2 to use mesh gradients api Cairo API has changed in 1.11.3. poppler/CairoOutputDev.cc | 4 ++-- poppler/CairoOutputDev.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 97e7ab1a4eea2160f3f0847d10f6c16f2d66ef11 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Feb 25 20:33:39 2011 +0000 Do not ask freetype for a font of size 0x0 Fixes rendering bug at 34602 splash/SplashFTFont.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3590a2d38082fc705040cdb31bf0b22ff12dd3e4 Author: Adrian Johnson <ajohnson@redneon.com> Date: Thu Feb 24 18:47:35 2011 +0000 Fix rendering of some substituted fonts More info in bug 34522 poppler/GfxFont.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 384753f1f9f780687bdead99a6548ef8598b898a Author: Albert Astals Cid <aacid@kde.org> Date: Mon Feb 21 19:19:48 2011 +0000 Use gfree since we allocate with gmalloc Bug 34512 goo/GooString.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d775420c3c6cb5a29ff74712d3fc210fcb4b4627 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 19 11:19:57 2011 +0000 Do not delete textOut twice when using -bbox utils/pdftotext.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit e1a56d73b066e7152ccf6ccf36206def7956cb00 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 16 00:06:45 2011 +0000 Lots of rendering improvements by Thomas and Andrea Function.cc: Stitching functions incorrectly reported 0 as output size. Function.cc: Remove cache from PostScriptFunction Function.cc: Make PSStack stack allocated GfxState.cc & GfxState.h: Abstract GfxSimpleShading, add Matrix::norm method, add simple caching, parameter range computation SplashOutputDev.cc & SplashOutputDev..h & Splash.cc & SplashPattern.h: Improve splash rendering, implement radial and abstract simple shadings in splash And maybe something more, look at the Followup Bug 32349 & Poppler: More shading fun ;-) thread for more info poppler/Function.cc | 122 +-------- poppler/Function.h | 3 +- poppler/GfxState.cc | 634 +++++++++++++++++++++++++++++++++++++++------ poppler/GfxState.h | 90 +++++-- poppler/SplashOutputDev.cc | 253 +++++++++++++++--- poppler/SplashOutputDev.h | 67 ++++- splash/Splash.cc | 126 ++++++--- splash/SplashPattern.h | 7 +- 8 files changed, 1006 insertions(+), 296 deletions(-) commit 675b3505f963a0110dac7f865654232cbb865ef5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 13 16:21:52 2011 +0100 tests: Merge splash and cairo tests into a single gtk-test tool With a command line option to use cairo or splash backends. test/CMakeLists.txt | 20 +-- test/Makefile.am | 29 ++-- test/gtk-cairo-test.cc | 190 ----------------------- test/gtk-splash-test.cc | 311 ------------------------------------- test/gtk-test.cc | 397 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 412 insertions(+), 535 deletions(-) commit 728c022cdc1ea12aa54077d44276f9d7714930d4 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 13 13:25:51 2011 +0100 remove more references to the qt3 frontend followup of d82f98a274bfa008c218e265a080c4af7ce95131 Makefile.am | 3 --- 1 file changed, 3 deletions(-) commit 15e5b3f16015361754fdc14da4a0dde5af887568 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 13 13:23:06 2011 +0100 remove more GDK-related stuff followup of 149b7fec472beda9d1538e0f26607c9498d504c2 Makefile.am | 1 - cmake/modules/FindGDK.cmake | 22 ---------------------- config.h.cmake | 3 --- glib/reference/Makefile.am | 1 - glib/reference/poppler-sections.txt | 1 - 5 files changed, 28 deletions(-) commit 50aa15a0bd7100fc9b9243de1d6e6f4b59df1488 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 13 13:07:19 2011 +0100 remove GDK API here too followup of 149b7fec472beda9d1538e0f26607c9498d504c2 glib/poppler-features.h.cmake | 1 - 1 file changed, 1 deletion(-) commit f410cd11268254b9d0422201c9860d775f73fdd8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 13 12:55:37 2011 +0100 gtk-splash-test: Don't use GDK deprecated API test/gtk-splash-test.cc | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) commit a0568e449061d6b6af5485e340cd6f9d3e54ef7c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 13 12:27:22 2011 +0100 glib: remove gdk referenes from pkg-config files poppler-glib-uninstalled.pc.in | 2 +- poppler-glib.pc.cmake | 2 +- poppler-glib.pc.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 149b7fec472beda9d1538e0f26607c9498d504c2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 13 11:51:57 2011 +0100 glib: Remove deprecated GDK API It removes the GDK dependency so that poppler-glib now only depends on glib and cairo. CMakeLists.txt | 9 -- configure.ac | 44 +------ glib/CMakeLists.txt | 14 +-- glib/Makefile.am | 8 +- glib/poppler-features.h.in | 6 - glib/poppler-page.cc | 296 --------------------------------------------- glib/poppler-page.h | 34 ------ 7 files changed, 4 insertions(+), 407 deletions(-) commit a5482d64472a81206dd8d0c5bb80007f6d5bb893 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 13 11:40:23 2011 +0100 glib: Remove test-poppler-glib, poppler-glib-demo does the same and more glib/CMakeLists.txt | 8 - glib/Makefile.am | 14 - glib/test-poppler-glib.cc | 657 ---------------------------------------------- 3 files changed, 679 deletions(-) commit cab0cf028a192772dcb5c3f4aefa0a421e73e9e7 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Feb 11 19:42:34 2011 +0000 Do not infinite loop in some broken files poppler/JBIG2Stream.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1125cc8ccf386d8e0a0679aa73614bc2cb8037b0 Author: William Bader <williambader@hotmail.com> Date: Tue Feb 8 20:27:16 2011 +0000 Allow setting the rasterization resolution More info at bug 34001 poppler/GlobalParams.cc | 15 +++++++++++++++ poppler/GlobalParams.h | 3 +++ poppler/PSOutputDev.cc | 7 ++++++- utils/pdftops.1 | 6 ++++++ utils/pdftops.cc | 6 ++++++ 5 files changed, 36 insertions(+), 1 deletion(-) commit 96e169b0eca31891f3cd564365d4a2a5c6e2a2c0 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Feb 8 19:58:31 2011 +0000 Make really sure the uMap static pointer is valid It might happen you are extremely unlucky and get the same globalParams after a new delete/creation qt4/src/poppler-private.cc | 51 +++++++++++++++++++++++++++++++++++++++------- qt4/src/poppler-private.h | 34 +++---------------------------- 2 files changed, 47 insertions(+), 38 deletions(-) commit c3470145f95791167c19a438934a923eab8a93cf Author: William Bader <williambader@hotmail.com> Date: Tue Feb 8 19:54:48 2011 +0000 Add PS level1 non standard binary output option More info at bug 34003 poppler/GlobalParams.cc | 18 +++- poppler/GlobalParams.h | 5 +- poppler/PSOutputDev.cc | 227 ++++++++++++++++++++++++++++++++++-------------- utils/pdftops.1 | 7 ++ utils/pdftops.cc | 8 +- 5 files changed, 198 insertions(+), 67 deletions(-) commit 37077aa475d2dee81f87daa05297b201eeb99c87 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Feb 7 19:48:28 2011 +0000 Make sure tx is inside the bitmap Seems to be what the code tried to do, fixes crash in bug 33948 depending on the resolution you render it poppler/SplashOutputDev.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 5aa854f70c8f563efe56dafa8bd6b3cdd5c95451 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 6 13:24:35 2011 +0100 cairo: Use the new cairo unique id to set the surface id when printing Set the unique surface id when attaching jpeg images to the surface so that cairo can reuse the mime data even when a new surface is created with the same mime data. This reduces the size of the output file when printing. poppler/CairoOutputDev.cc | 18 ++++++++++++++++-- poppler/CairoOutputDev.h | 2 +- 2 files changed, 17 insertions(+), 3 deletions(-) commit fe7b8aa4fc78aacf3226d019db74146ceaebd63c Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 2 22:35:40 2011 +0000 Workaround bug when converting pdf to ps with level1 See bug 31926 for more info poppler/PSOutputDev.cc | 2 +- poppler/PreScanOutputDev.cc | 7 +++++++ poppler/PreScanOutputDev.h | 7 +++++++ 3 files changed, 15 insertions(+), 1 deletion(-) commit 5984ad081cd609f3146e0da5e22097ef073eb519 Author: William Bader <williambader@hotmail.com> Date: Sun Jan 30 17:02:02 2011 +0000 Increase precision Fixes some issues with pdf from bug 27482 poppler/PSOutputDev.cc | 200 ++++++++++++++++++++++++------------------------- 1 file changed, 100 insertions(+), 100 deletions(-) commit c60d5afbeb986c1b335357202c5f551a3c146a76 Author: Jim Meyering <meyering@redhat.com> Date: Mon Jan 24 15:51:20 2011 +0100 demo: don't use an uninitialized local variable * text.c (pgd_text_get_text): Before this change, when poppler_page_get_text returned NULL, we'd use "n_recs" uninitialized. glib/demo/text.c | 1 + 1 file changed, 1 insertion(+) commit a3bdc56e2f086444419eddfcda5d2010a9a6b5c0 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jan 29 11:23:33 2011 +0100 glib-demo: Add a tooltip with current selected character in text demo To make sure that the offset of the text returned by poppler_page_get_text() matches the list of rectangles returned by poppler_page_get_text_layout(). glib/demo/text.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) commit bf2d86c8db430595fb3c55edd3f6c8d289bdaeb5 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jan 28 20:34:08 2011 +0000 Make sure uMap is still valid before using it Fixes KDE bug 264667 qt4/src/poppler-private.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit e6fb20d7b3bf8ea8aedc1bcd910e035059835b5f Author: Axel Strübing <axel.struebing@freenet.de> Date: Fri Jan 28 19:20:15 2011 +0000 Extract text of a pdf correctly See "[poppler] text extraction does not work" in the mailing list for more info poppler/GfxFont.cc | 14 +++++++++++++- poppler/GfxFont.h | 2 ++ 2 files changed, 15 insertions(+), 1 deletion(-) commit 4829d36a3b005585db8c8115f7ee81a4e2384780 Author: Simon Kellner <kellner@kit.edu> Date: Wed Jan 26 22:59:49 2011 +0000 fix labelToIndex on multiple prefixes A PDF document can use page label prefixes, for example, to label only inside a chapter ("A-1" .. "A-<n>", "B-1" .. "B-<m>" et cetera). When calculating a page index for a given label, poppler would disregard the page range for all preceding prefixes that do not match the given prefix. poppler/PageLabelInfo.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit e57c75fbd95ef8399b0785500f6893465bc808c3 Author: Adrian Johnson <ajohnson@redneon.com> Date: Mon Jan 24 19:48:09 2011 +1030 cairo: Implement Type 4,5,6,7 shadings using cairo mesh gradients Fixes bugs #19076 and #32791. poppler/CairoOutputDev.cc | 139 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 12 ++++ poppler/Gfx.cc | 10 +++- poppler/OutputDev.h | 2 + 4 files changed, 161 insertions(+), 2 deletions(-) commit 5081356fcc69012e9df95dbf1e3c36e7c1e751c4 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 25 20:26:25 2011 +0000 Fix leak in SplashOutputDev::axialShadedFill poppler/SplashOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 19dc283c3af597deab297341a37495c06988948b Author: Thomas Klausner <wiz@danbala.tuwien.ac.at> Date: Mon Jan 24 19:05:08 2011 +0000 Include zlib header since we use things defined there goo/PNGWriter.cc | 3 +++ 1 file changed, 3 insertions(+) commit 5056e33e01ce0f7db1a5401b7b38d30e84eedf69 Author: Sam Liao <phyomh@gmail.com> Date: Mon Jan 17 13:07:22 2011 +0800 Poppler: Fix line selection, dont check y for Line selection When a line is selected while the Y values of selection is not in the y range of words, the render will render the line with reverse color while the words does not show up. This fix neglect the Y vaules to make sure that the words also displayed when line is selected. poppler/TextOutputDev.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 88812e716c1a0c87a504118d47eb4cc6f52962fa Author: Andreas Hartmetz <ahartmetz@gmail.com> Date: Fri Jan 21 23:33:47 2011 +0000 Add Hinting API to ArthurOutputDev poppler/ArthurOutputDev.cc | 11 +++++++++-- poppler/ArthurOutputDev.h | 15 ++++++++++++++- 2 files changed, 23 insertions(+), 3 deletions(-) commit dc5ec4668bdfe3b6ba41f0a2e551bbc07f8839ba Author: Andreas Hartmetz <ahartmetz@gmail.com> Date: Fri Jan 21 23:32:50 2011 +0000 support slight hinting in Splash backend cpp/poppler-page-renderer.cpp | 2 +- poppler/SplashOutputDev.cc | 6 +++++- poppler/SplashOutputDev.h | 4 +++- qt4/src/poppler-private.h | 3 ++- qt4/src/poppler-qt4.h | 4 +++- splash/SplashFTFont.cc | 27 ++++++++++++++++++--------- splash/SplashFTFont.h | 2 ++ splash/SplashFTFontEngine.cc | 10 +++++++--- splash/SplashFTFontEngine.h | 6 ++++-- splash/SplashFontEngine.cc | 4 +++- splash/SplashFontEngine.h | 2 ++ 11 files changed, 50 insertions(+), 20 deletions(-) commit 0c5b1bef9f3f98001cee20061b1eaf20b965c5a9 Author: William Bader <williambader@hotmail.com> Date: Fri Jan 21 19:01:45 2011 +0000 Fix rendering for some pdf with -level1sep Also some speed improvemensts. Bug #32365 poppler/PSOutputDev.cc | 207 ++++++++++++++++++++++++++++++++++++++----------- poppler/PSOutputDev.h | 13 +++- 2 files changed, 170 insertions(+), 50 deletions(-) commit 6cb8965fb8bce6da2a4460e86f592c1ea3a84a5c Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jan 21 18:43:21 2011 +0000 fix (C) years poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 2 +- qt4/src/poppler-private.cc | 2 +- qt4/tests/check_strings.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 24f9c8924b2135da616386d0fa691fe790b4e7a4 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jan 21 08:43:34 2011 +0000 Access the correct variable Fixes asert on bug 33063 poppler/Annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 07a8808c22445c421f3064da7e5227dcbf40358b Author: Pino Toscano <pino@kde.org> Date: Mon Jan 17 21:34:23 2011 +0100 fix unicodeToQString() to correctly decode the Unicode sequence Use a UnicodeMap to convert the sequence to UTF-8, and convert from that to QString. Also, ignore the last character of the Unicode sequence if it is 0x0. Add a couple of testcases for it. qt4/src/poppler-private.cc | 30 ++++++++++++++++++++++++------ qt4/tests/check_strings.cpp | 21 +++++++++++++++++++++ 2 files changed, 45 insertions(+), 6 deletions(-) commit ed367c08d788c88c49de770019bf826cfebb3e2c Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 16 17:25:02 2011 +0000 Don't need this either configure.ac | 1 - 1 file changed, 1 deletion(-) commit 76ab657dc81ed0af7d9f2efaca2e68d570063001 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 16 17:22:56 2011 +0000 And this is the last bit of qt3 cleaning? configure.ac | 1 - 1 file changed, 1 deletion(-) commit 9a02856c2762e65b8f03e443e728e05e5a86f65b Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 16 17:21:00 2011 +0000 Another qt3 unused file m4/qt.m4 | 16 ---------------- 1 file changed, 16 deletions(-) commit 26da7a52d31eb677ab6399de2c07140aa272b35e Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 16 17:17:59 2011 +0000 Yet more qt3 cleaning configure.ac | 2 -- 1 file changed, 2 deletions(-) commit 8dc9c693abb0033247a338d0f7d1f3f7a57c1a55 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 16 17:14:34 2011 +0000 Some more qt3 thigs i forgot to kill CMakeLists.txt | 5 - Makefile.am | 1 - cmake/modules/FindQt3.cmake | 319 -------------------------------------------- 3 files changed, 325 deletions(-) commit d82f98a274bfa008c218e265a080c4af7ce95131 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 16 17:13:06 2011 +0000 Kill qt3 frontend CMakeLists.txt | 5 - Makefile.am | 5 - configure.ac | 18 -- poppler-qt-uninstalled.pc.in | 7 - poppler-qt.pc.cmake | 13 -- poppler-qt.pc.in | 13 -- qt/.gitignore | 7 - qt/CMakeLists.txt | 34 ---- qt/Makefile.am | 48 ----- qt/poppler-document.cc | 344 --------------------------------- qt/poppler-fontinfo.cc | 83 -------- qt/poppler-link-qt3.h | 188 ------------------ qt/poppler-link.cc | 267 -------------------------- qt/poppler-page-transition-private.h | 28 --- qt/poppler-page-transition.cc | 95 ---------- qt/poppler-page-transition.h | 146 -------------- qt/poppler-page.cc | 357 ----------------------------------- qt/poppler-private.cc | 147 --------------- qt/poppler-private.h | 102 ---------- qt/poppler-qt.h | 311 ------------------------------ qt/test-poppler-qt.cpp | 122 ------------ 21 files changed, 2340 deletions(-) commit 301352e5585d4ab6e7b609b4ab79b4d8b8656092 Author: Daiki Ueno <ueno@unixuser.org> Date: Sun Jan 9 18:48:50 2011 +0000 Do not crash in case jpeg_create_decompress fails Bug 32890 poppler/DCTStream.cc | 21 ++++++++++++--------- poppler/DCTStream.h | 8 ++++++-- 2 files changed, 18 insertions(+), 11 deletions(-) commit 17baf0498485720b4ea5952bb46287f533139d0a Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jan 8 13:03:31 2011 +0000 Remove declaration of function without implementation poppler/XRef.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a9e280508f5d669c8b6e1a6bb888b9369d868ab3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jan 8 10:39:41 2011 +0100 glib: Fix memory leak when calling poppler_page_get_text_layout() for pages with no text glib/poppler-page.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5d62d18941810ef7d668eafa8b001085133fb169 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jan 8 10:33:32 2011 +0100 glib: Use NULL instead of FALSE in g_return_val_if_fail() for functions returning a pointer glib/poppler-page.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 1324ae13f1fc2fa28951c2c7f7d63d4756537229 Author: Pino Toscano <pino@kde.org> Date: Thu Jan 6 01:15:30 2011 +0100 [cpp/apidox] advertize the 'pnm' image format cpp/poppler-image.cpp | 1 + 1 file changed, 1 insertion(+) commit b192363960c26111167b1b08db9910e5f39dcf8b Author: Pino Toscano <pino@kde.org> Date: Thu Jan 6 01:09:09 2011 +0100 [cpp] Add PNM (PBM/PGM/PPM) exporting to 'image'. Introduce a custom ImgWriter (PNMWriter) for exporting in the PNM variants, and use it choosing the output format matching as close as possible the format of the image. cpp/CMakeLists.txt | 1 + cpp/Makefile.am | 2 + cpp/PNMWriter.cc | 119 ++++++++++++++++++++++++++++++++++++++++++++++++++ cpp/PNMWriter.h | 43 ++++++++++++++++++ cpp/poppler-image.cpp | 22 +++++++++- 5 files changed, 186 insertions(+), 1 deletion(-) commit bebc530cbde7898759e1bd3629d2836ce0fb1d08 Author: Adrian Johnson <ajohnson@redneon.com> Date: Fri Dec 31 12:11:40 2010 +1030 cairo: Don't set JPX mime data if the stream specifies a colorspace The stream colorspace overides, and may be different to, the colorspace in the JPX data. https://bugs.freedesktop.org/show_bug.cgi?id=32746 poppler/CairoOutputDev.cc | 46 +++++++++++++++++++++++++++++++--------------- poppler/CairoOutputDev.h | 1 + 2 files changed, 32 insertions(+), 15 deletions(-) commit 1399b9ab14b19f25583c75af2b36f63a6a01129a Author: Pino Toscano <pino@kde.org> Date: Wed Dec 29 15:56:45 2010 +0100 [cpp] add TIFF output to 'image' cpp/poppler-image.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 1c7937dbc3c577ffc12cacc8de33d320e2f30ce9 Author: William Bader <williambader@hotmail.com> Date: Wed Dec 29 14:47:06 2010 +0000 Make pdftoppm be able of writing tif files BUG 32027 CMakeLists.txt | 15 ++++ config.h.cmake | 3 + configure.ac | 32 ++++++++ goo/Makefile.am | 2 + goo/TiffWriter.cc | 202 +++++++++++++++++++++++++++++++++++++++++++++++++ goo/TiffWriter.h | 53 +++++++++++++ poppler/Makefile.am | 11 +++ splash/SplashBitmap.cc | 18 ++++- splash/SplashBitmap.h | 5 +- splash/SplashTypes.h | 4 +- utils/pdftoppm.1 | 6 ++ utils/pdftoppm.cc | 14 +++- 12 files changed, 358 insertions(+), 7 deletions(-) commit bae91ecb638fcfee001e5c9a86a754610da796e4 Author: William Bader <williambader@hotmail.com> Date: Tue Dec 28 11:53:54 2010 +0000 Add -singlefile option to pdftoppm Bug 32025 utils/pdftoppm.1 | 3 +++ utils/pdftoppm.cc | 26 +++++++++++++++++++++++--- 2 files changed, 26 insertions(+), 3 deletions(-) commit ff58ee66c27da09a370a3000ab55eb1a24921852 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 27 20:07:21 2010 +0000 bump soname just in case the getPage change is not BC qt/CMakeLists.txt | 2 +- qt/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 453df02e195a96d0210f297c21c8ffba646659da Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 27 19:51:13 2010 +0000 Make distcheck work glib/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a34cec72c1a1b6576858a7836aae4a902fb5ed7 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 27 19:29:52 2010 +0000 increase core soname CMakeLists.txt | 2 +- poppler/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 8c11e9d68dceb609d04b3b383d22c307b5981d86 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 27 19:23:29 2010 +0000 0.16.0 project version increase CMakeLists.txt | 4 ++-- configure.ac | 4 ++-- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 8c1fd83c6061279af00c1172fe41cee61f19d917 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 27 19:22:22 2010 +0000 0.16.0 NEWS NEWS | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 0294d6e50691a3e40fad0d6e4fa9056944a91efd Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Thu Dec 23 15:56:32 2010 +0000 Be more correct when drawing radial shadings Fixes 32349 poppler/Gfx.cc | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) commit 3aa08e378927889b35b6fa858d6da568250ba6ec Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 19 22:36:47 2010 +0000 Seems to work with this version, so enable it CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 93cf184b7573980bf2e56342e64f9b99c5d0b415 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 19 14:16:25 2010 +0000 Fix last commit Applying patches by hand is bad poppler/PDFDoc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ebb580d756a8321de87814f05ab572564732c15e Author: Philip Lorenz <lorenzph+freedesktop@gmail.com> Date: Sun Dec 19 14:08:31 2010 +0000 Windows fixes poppler/PDFDoc.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 88a4154420e016d93c5ce05b5b8e09b6bddcadc9 Author: Philip Lorenz <lorenzph+freedesktop@gmail.com> Date: Sun Dec 19 13:03:01 2010 +0000 build on newer MSVC qt4/src/poppler-annotation.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 18cd9f6aeb48266c551952c395eb9cd662bc27f5 Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Sat Dec 18 17:59:54 2010 +0000 compile in windows poppler/FontInfo.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 471102ef68b439dfa13e20e3b0f2e143f8d0dc85 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 17 00:36:36 2010 +0000 Remove -resolution Actually use -zoom that is there for a reason utils/pdftohtml.1 | 3 --- utils/pdftohtml.cc | 15 ++++++--------- 2 files changed, 6 insertions(+), 12 deletions(-) commit edf6c47feb5b7658e585bcce196e465245e1dc98 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 16 22:56:40 2010 +0000 kill useless code utils/pdftohtml.cc | 8 -------- 1 file changed, 8 deletions(-) commit 185a2f81485e19f96393a431be5523a277747b94 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 16 22:56:15 2010 +0000 static-ify some vars utils/HtmlOutputDev.cc | 9 --------- utils/pdftohtml.cc | 8 ++++---- 2 files changed, 4 insertions(+), 13 deletions(-) commit e4dfc548c57b690db9122d1db3342ed0a785c8bb Author: Albert Astals Cid <aacid@kde.org> Date: Tue Dec 14 19:45:46 2010 +0000 We need this to make the define really be defined config.h.cmake | 3 +++ 1 file changed, 3 insertions(+) commit 06da4b46c442778c67b788b747f04b386b5247ac Author: Adrian Johnson <ajohnson@redneon.com> Date: Tue Dec 14 09:06:57 2010 +1030 cairo: Use A1 instead of A8 for imagemask The cairo PDF surface now optimizes the case of cairo_mask() with solid source and A1 mask to use a PDF stencil mask. Fixes https://bugs.launchpad.net/ubuntu/+source/libcairo/+bug/680628 where a 65K PDF printed to PDF using poppler-cairo turns into an 8MB PDF. CMakeLists.txt | 2 ++ configure.ac | 1 + poppler/CairoOutputDev.cc | 25 ++++++++++++++++++------- 3 files changed, 21 insertions(+), 7 deletions(-) commit 6ef457dc818e7e241e5d2e264bc2d78b132ae638 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 13 14:08:29 2010 +0000 Move -fno-exceptions -fno-check-new to default flags Makes sense since we decided not to support the exception path in gmem a while ago cmake/modules/PopplerMacros.cmake | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 86e469600b58ae05cb6ede1b4017fbdac99cc556 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 13 14:04:00 2010 +0000 More gcc flags movement -Wchar-subscripts is part of -Wall so remove it Move -fno-common to default options since it makes sense to use it cmake/modules/PopplerMacros.cmake | 4 ++-- configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 2b74241d8b1fd1ec9fab4f6f673bbaaa1cb3d949 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 13 13:56:52 2010 +0000 Promote -Wcast-align to the general warnings we ask gcc to give cmake/modules/PopplerMacros.cmake | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 7313e0a4de6f2146c1dcb3d235f18a3c844d12d5 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 12 23:28:18 2010 +0000 Do not return 99 (or 1) with -h, -v and -printenc Bug 32149 utils/pdffonts.cc | 2 ++ utils/pdfimages.cc | 2 ++ utils/pdfinfo.cc | 3 +++ utils/pdftoppm.cc | 2 ++ utils/pdftops.cc | 5 ++++- utils/pdftotext.cc | 3 +++ 6 files changed, 16 insertions(+), 1 deletion(-) commit 669cbfc9fd78a22d4f14b0af43143e1f5dc28cd5 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Dec 11 19:04:22 2010 +0000 Fix the preliminary bbox/clip calculation Code based in code posted by Suzuki Toshiya in the freetype mailing list splash/SplashFTFont.cc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 2984002a64acca7014edeadd900dd52cdf7d9eac Author: Albert Astals Cid <aacid@kde.org> Date: Sat Dec 11 18:57:52 2010 +0000 Remove the * we just need to increase the pointer Gives a warning with newer gcc's splash/Splash.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9b45fa072198da4a5032004ac943cf2227aa97ea Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 10 12:05:58 2010 +0000 Make PreScanOutputDev be less agressive when deciding to rasterize BUG 30107 poppler/PreScanOutputDev.cc | 14 +++++++++++++- poppler/PreScanOutputDev.h | 4 ++++ 2 files changed, 17 insertions(+), 1 deletion(-) commit f96f6a06cdc33b4654669ac74d5abd0d546a127d Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 5 12:06:21 2010 +0000 Adapt the zlib-base FlateStream code to API changes Bug 32065 poppler/FlateStream.cc | 9 ++++++--- poppler/FlateStream.h | 9 +++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) commit 7b1f83990a1f68306daf5f7dbeabcd38f4382e3b Author: Albert Astals Cid <aacid@kde.org> Date: Mon Nov 29 22:27:46 2010 +0000 0.15.3 CMakeLists.txt | 4 ++-- NEWS | 18 ++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 24 insertions(+), 6 deletions(-) commit 7c23a993193aaaa4d4b5b6d1161a0455d1e2a8c0 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Nov 29 21:33:31 2010 +0000 Add some more isNum before calling getNum poppler/GfxState.cc | 48 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 16 deletions(-) commit 62ec4f591c258e702ee79b519919a931517220bf Author: Albert Astals Cid <aacid@kde.org> Date: Mon Nov 29 20:50:43 2010 +0000 pass fetchOriginatorNums in some more calls Fixes some more crashes in broken files poppler/Parser.cc | 7 ++++++- poppler/Parser.h | 1 + poppler/XRef.cc | 6 +++--- 3 files changed, 10 insertions(+), 4 deletions(-) commit d2a0e2ca723142478858f7edfb7c98807d554578 Author: Hib Eris <hib@hiberis.nl> Date: Thu Nov 25 10:36:38 2010 +0000 Skip over loops in Pages tree poppler/Catalog.cc | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 7abd371364e6e4aaef932f26b0664f7f9d760c42 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 28 13:57:50 2010 +0000 this var is not about xobjects only anymroe poppler/FontInfo.cc | 6 +++--- poppler/FontInfo.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) commit 1ac14df61d711097837e44d80a9332f0a854b95e Author: Adrian Johnson <ajohnson@redneon.com> Date: Sun Nov 28 13:49:41 2010 +0000 find fonts inside patterns Bug 31948 poppler/FontInfo.cc | 50 +++++++++++++++++++++++++++----------------------- 1 file changed, 27 insertions(+), 23 deletions(-) commit d30dd8c6f6491beac9750447126930168394cd9f Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 28 13:25:39 2010 +0000 Use sets instead of arrays poppler/FontInfo.cc | 46 ++++++++-------------------------------------- poppler/FontInfo.h | 11 +++-------- 2 files changed, 11 insertions(+), 46 deletions(-) commit 4c20bf14c0b1d7f1d5e530ded890186487da32b5 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 28 12:50:24 2010 +0000 Use FontInfoScanner No idea why we didn't do this before, duplicate code is evil and now pdffonts doesn't crash on pdf from bug 20486 utils/pdffonts.cc | 185 ++++++++---------------------------------------------- 1 file changed, 26 insertions(+), 159 deletions(-) commit d915f3d5a9e9e2e5dcd6be4cf8fac1b5849a13e9 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 24 21:51:46 2010 +0000 protect against null ref here poppler/Catalog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cf32faaa16d763561fb9dfc4469345e4b3ba2369 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 24 21:48:54 2010 +0000 Protect against NULL values here poppler/JPEG2000Stream.h | 2 ++ 1 file changed, 2 insertions(+) commit 46a6cc5952c59504863baed3ad2870093c462f12 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 24 19:42:59 2010 +0000 Check the objects are numbers before using them Bug 31895 poppler/GfxState.cc | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) commit 52e25cca7e75a8b8eac95a3cec258f1cd9f8ecaa Author: Albert Astals Cid <aacid@kde.org> Date: Tue Nov 23 20:31:14 2010 +0000 If it is not a Page but has no Kids either let's just pretend it's a page Fixes broken PDF at bug 31861 poppler/Catalog.cc | 2 +- poppler/Dict.cc | 4 ++++ poppler/Dict.h | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) commit c6127898b13311197971b1c6b1b306b91e28cf0e Author: Hib Eris <hib@hiberis.nl> Date: Mon Nov 22 13:08:48 2010 +0000 Use gmallocn_checkoverflow when parsing Hints table Prevents running out of memory with malicious documents. poppler/Hints.cc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 6a17cc89eda52f08cbacbf9bfaaeda22cf041e82 Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Mon Nov 22 19:20:56 2010 +0000 Improve rendering of radial shadings Improves the duck rendering in bug 22098 poppler/Gfx.cc | 71 ++++++++++++++++++++++++++++------------------------------ 1 file changed, 34 insertions(+), 37 deletions(-) commit 9093adede4f9ad6fb2962dcefcb09c1d8c357715 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 21 23:49:12 2010 +0000 pedantic ; poppler/CurlPDFDocBuilder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 61445f5af749510fb647059af01abf1faf664195 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 20 22:19:35 2010 +0000 forgot to upadte year here poppler/Parser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3628837febb21bcd1b54f3fb737628ea59e5d95d Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 20 22:15:08 2010 +0000 And now generalize the previous fix Works for loops of more than one item as in bug 28784 poppler/Dict.cc | 4 ++-- poppler/Dict.h | 2 +- poppler/Object.cc | 4 ++-- poppler/Object.h | 9 +++++---- poppler/Parser.cc | 19 +++++++++++++------ poppler/Parser.h | 7 ++++++- poppler/XRef.cc | 30 +++++++++++++++++++++++++----- poppler/XRef.h | 2 +- 8 files changed, 55 insertions(+), 22 deletions(-) commit b0555189a7fbd7f6a899e582783b9e0df44d5d6a Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 20 21:32:24 2010 +0000 Protect against more loops when parsing poppler/Dict.cc | 4 ++-- poppler/Dict.h | 2 +- poppler/Object.cc | 4 ++-- poppler/Object.h | 8 ++++---- poppler/Parser.cc | 2 +- poppler/XRef.cc | 4 ++-- poppler/XRef.h | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) commit 555fa897b275ca7195f22a727b049c8c4f2d74cd Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 20 19:14:38 2010 +0000 Detect loops in FormField creation poppler/Form.cc | 88 ++++++++++++++++++++++++++++++++------------------------- poppler/Form.h | 14 +++++---- 2 files changed, 58 insertions(+), 44 deletions(-) commit 1802ddef374cb1451975480b2427e5d23ee2c737 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 20 18:58:17 2010 +0000 Forgot to port this away from GooVector :-S poppler/CurlCachedFile.cc | 3 +-- poppler/CurlCachedFile.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) commit 32e53c5436b8c3654e7043f1d86596a79511a4cf Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 20 18:54:59 2010 +0000 fix spacing poppler/Form.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1cb3d5d94a1d89ccded96d977bcabfbe438fb81f Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 20 18:08:45 2010 +0000 fix the memset Fixes crash in broken pdf poppler/Hints.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 22e8cebaa15adb4b19c9556cdca43cc3e77832b7 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 20 17:20:34 2010 +0000 Ensure the obj are num before reading them poppler/GfxState.cc | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) commit 08b2db36db4e011ebe36d2d945cb1a0498f1c5fb Author: Pino Toscano <pino@kde.org> Date: Sat Nov 20 14:00:36 2010 +0100 add my copyright here poppler/Hints.cc | 1 + 1 file changed, 1 insertion(+) commit 91aa4b02aa93ffe3828479194067de42d52be465 Author: Pino Toscano <pino@kde.org> Date: Sat Nov 20 13:13:46 2010 +0100 [cpp] include <ios> for std::hex() and std::left() cpp/poppler-global.cpp | 1 + cpp/tests/poppler-dump.cpp | 1 + 2 files changed, 2 insertions(+) commit 1c924412923cb01f2cb95b0943cb7bbaf7e8cfb6 Author: Pino Toscano <pino@kde.org> Date: Sat Nov 20 13:02:36 2010 +0100 [cpp] include <iterator> for std::back_inserter() cpp/poppler-document.cpp | 1 + 1 file changed, 1 insertion(+) commit 95b551025a34f3a7bcff2852eac6d186bc8a7cb0 Author: Pino Toscano <pino@kde.org> Date: Sat Nov 20 12:54:21 2010 +0100 use a std::vector<char> instead of a var-length-array of char's poppler/Hints.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4faaff893515c80cb69b02e431a0f8483274a497 Author: Hib Eris <hib@hiberis.nl> Date: Fri Nov 19 23:53:35 2010 +0000 [win32] Simplify strtok_r implementation The previous implementation did not compile with mingw64. poppler/strtok_r.cpp | 137 +-------------------------------------------------- 1 file changed, 1 insertion(+), 136 deletions(-) commit 255f84927a649d980f047fe755c9c308535a3779 Author: Hib Eris <hib@hiberis.nl> Date: Fri Nov 19 23:45:33 2010 +0000 Correct parsing of linearization table Fixes bug #31627 poppler/Linearization.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 9d05138f0b7d15945f546564036bc67815593db0 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 14 16:05:28 2010 +0000 0.15.2 CMakeLists.txt | 4 ++-- NEWS | 22 ++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 28 insertions(+), 6 deletions(-) commit 2d18543bd6b3a5a9ff2dfab63339d5bfcccd0b2f Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 14 15:41:56 2010 +0000 This does actually work now :D qt4/tests/check_metadata.cpp | 1 - 1 file changed, 1 deletion(-) commit d772364b8a5858cbd98e256547d319260fa9d084 Author: Pino Toscano <pino@kde.org> Date: Thu Nov 11 21:52:25 2010 +0100 [Qt4] New function setDebugErrorFunction(). This new function + typedef can be useful to direct the ebug/error messages to a different place than the default qDebug()'s one. Base on an idea of Albert, added closure and polish by me. qt4/src/poppler-private.cc | 20 +++++++++++++++++++- qt4/src/poppler-qt4.h | 24 ++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) commit ce929cf33f4b6b6421f9d327b4bb792816d47aac Author: Jakob Voss <jakob.voss@gbv.de> Date: Wed Nov 10 23:41:44 2010 +0000 Add -p flag to pdfimages Adds the page the image is in to the image filename utils/ImageOutputDev.cc | 25 ++++++++++++++++++------- utils/ImageOutputDev.h | 19 +++++++++++++++---- utils/pdfimages.1 | 3 +++ utils/pdfimages.cc | 6 +++++- 4 files changed, 41 insertions(+), 12 deletions(-) commit 6296c28968613aadb7ea084092945a54005eca9b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 10 23:28:45 2010 +0000 Kill GooVector std::vector does the same and GooVector is not part of xpdf so we don't need to maintain it in case we ever get a new xpdf release we want to merge with CMakeLists.txt | 1 - goo/GooVector.h | 159 --------------------------------------------- goo/Makefile.am | 1 - poppler/CachedFile.cc | 19 +++--- poppler/CachedFile.h | 15 +++-- poppler/Catalog.cc | 12 ++-- poppler/Catalog.h | 10 +-- poppler/Form.h | 3 +- poppler/Gfx.h | 7 +- poppler/Hints.cc | 5 +- poppler/Hints.h | 6 +- poppler/StdinCachedFile.cc | 2 +- poppler/StdinCachedFile.h | 2 +- poppler/Stream.h | 1 - poppler/XRef.cc | 10 +-- poppler/XRef.h | 7 +- utils/HtmlFonts.cc | 8 +-- utils/HtmlFonts.h | 12 ++-- utils/HtmlLinks.cc | 8 +-- utils/HtmlLinks.h | 4 +- 20 files changed, 66 insertions(+), 226 deletions(-) commit 5934c320aa136c1a6e97fb9bf54bdfdccfcab521 Author: Hib Eris <hib@hiberis.nl> Date: Wed Nov 10 22:50:36 2010 +0000 Linearization improvements Read http://lists.freedesktop.org/archives/poppler/2010-November/006642.html for the detailed patch description CMakeLists.txt | 4 + glib/poppler-action.cc | 4 +- glib/poppler-document.cc | 17 +- glib/poppler-page.cc | 1 + poppler/CachedFile.h | 2 +- poppler/Catalog.cc | 352 +++++++++++++++++++++----------- poppler/Catalog.h | 14 +- poppler/FontInfo.cc | 5 +- poppler/Hints.cc | 439 ++++++++++++++++++++++++++++++++++++++++ poppler/Hints.h | 95 +++++++++ poppler/Linearization.cc | 224 ++++++++++++++++++++ poppler/Linearization.h | 45 ++++ poppler/Makefile.am | 4 + poppler/PDFDoc.cc | 284 ++++++++++++++++++++++---- poppler/PDFDoc.h | 38 +++- poppler/PSOutputDev.cc | 39 ++-- poppler/PSOutputDev.h | 14 +- poppler/Stream.cc | 13 +- poppler/Stream.h | 11 +- poppler/XRef.cc | 351 +++++++++++++++++++------------- poppler/XRef.h | 25 ++- qt/poppler-document.cc | 14 +- qt/poppler-page.cc | 19 +- qt/poppler-private.h | 14 +- qt/poppler-qt.h | 3 +- qt4/src/poppler-document.cc | 12 +- qt4/src/poppler-link.cc | 7 +- qt4/src/poppler-page.cc | 3 +- qt4/src/poppler-ps-converter.cc | 2 + utils/HtmlOutputDev.cc | 2 +- utils/HtmlOutputDev.h | 3 + utils/pdffonts.cc | 6 +- utils/pdfinfo.cc | 22 +- utils/pdftohtml.cc | 2 +- utils/pdftops.cc | 3 +- 35 files changed, 1690 insertions(+), 403 deletions(-) commit abb1313ae40ab7efb073406f47fa53bf7afe0b88 Author: Pino Toscano <pino@kde.org> Date: Mon Nov 8 01:54:03 2010 +0100 [cpp/apidox] add the minimum version of 'image' cpp/poppler-image.cpp | 2 ++ 1 file changed, 2 insertions(+) commit f559e77cb7d76c5fe6a79be9086667a29613c912 Author: Pino Toscano <pino@kde.org> Date: Mon Nov 8 01:52:48 2010 +0100 [cpp] add image::bytes_per_row() cpp/poppler-image.cpp | 8 ++++++++ cpp/poppler-image.h | 1 + 2 files changed, 9 insertions(+) commit 14dea4d74698d5d7d994e687f8176652d790dba7 Author: Pino Toscano <pino@kde.org> Date: Sun Nov 7 22:57:31 2010 +0100 [arthur] use the untransformed line width, not the transformed one ... as the painter will do the transformation itself already; seems to product better results poppler/ArthurOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f077e82af0724be88d28c896a3c208f1d50ccff9 Author: Pino Toscano <pino@kde.org> Date: Sun Nov 7 21:50:48 2010 +0100 [qt4] New Page::renderToPainter() This new painter-based painting function ican be used for painting (with Arthur only for now) without getting an image first. Also add a new flag type for it, with a single item telling whether do not save+restore the provided painter. Mostly based on a patch by Matthias Fauconneau (matthias.fauconneau@gmail.com), thanks! qt4/src/poppler-page.cc | 62 +++++++++++++++++++++++++++++++--------------- qt4/src/poppler-qt4.h | 65 ++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 107 insertions(+), 20 deletions(-) commit df02d1fc9e65422121e5e8f493c13229552ec0e7 Author: Pino Toscano <pino@kde.org> Date: Sun Nov 7 19:47:56 2010 +0100 [arthur] remove unused 'm_image' attribute poppler/ArthurOutputDev.cc | 1 - poppler/ArthurOutputDev.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) commit b29582cd0d542a3e70dbca3fb75770daa4cc91ca Author: Matthias Fauconneau <matthias.fauconneau@gmail.com> Date: Sun Nov 7 19:44:11 2010 +0100 [arthur] small fixes and memory leaks - fix font rendering (transforming the glyph path and not only the glyph origin) - fix image rendering (alpha was set to zero) poppler/ArthurOutputDev.cc | 122 ++++++++++++++++++++------------------------- 1 file changed, 54 insertions(+), 68 deletions(-) commit 970f075569bf9be5e5ddc3a9ad1fabec5435dfaf Author: Pino Toscano <pino@kde.org> Date: Sun Nov 7 16:31:02 2010 +0100 [cpp/tests] add a simple poppler-render test ... to ease testing the render capabilities of poppler-cpp. quite minimal at the moment. cpp/tests/CMakeLists.txt | 3 ++ cpp/tests/Makefile.am | 9 +++- cpp/tests/poppler-render.cpp | 113 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+), 1 deletion(-) commit bfe4139c742cb0a669f5504df7e22e3e57243d9a Author: Pino Toscano <pino@kde.org> Date: Sun Nov 7 16:23:26 2010 +0100 [cpp] Add page_renderer, to render pages over images. This new class introduces a very simple way to render a page, using the Splash backend, giving an 'image' as result. It can hold a color for the "paper" of the pages, and some hints for the actual rendering. cpp/CMakeLists.txt | 2 + cpp/Makefile.am | 2 + cpp/poppler-page-renderer.cpp | 212 ++++++++++++++++++++++++++++++++++++++++++ cpp/poppler-page-renderer.h | 66 +++++++++++++ 4 files changed, 282 insertions(+) commit 91e3f7b4ea42a5821fd78e1edf55e95250c9bc68 Author: Pino Toscano <pino@kde.org> Date: Sun Nov 7 16:19:34 2010 +0100 [cpp] add an internal way to get a 'page_private' of a 'page' useful for getting a 'page_private' in the implementation of other cpp classes without the need to add friends to 'page' cpp/poppler-page-private.h | 5 +++++ 1 file changed, 5 insertions(+) commit fa7c41cb9c52ecd3d7c574455b1258a3021b8c75 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Nov 4 20:55:34 2010 +0000 Improvements to the splash backend Antialias and shadings. Code by Thomas Freitag <Thomas.Freitag@alfa.de> and Christian Feuersänger <cfeuersaenger@googlemail.com> More info at bug 30436 poppler/CairoOutputDev.h | 5 +- poppler/Function.cc | 4 +- poppler/Function.h | 2 + poppler/Gfx.cc | 12 +- poppler/OutputDev.h | 16 +- poppler/PSOutputDev.h | 4 +- poppler/SplashOutputDev.cc | 182 ++++++++++++++++++++- poppler/SplashOutputDev.h | 68 +++++++- splash/Splash.cc | 395 ++++++++++++++++++++++++++++++++++++++++++++- splash/Splash.h | 11 +- splash/SplashBitmap.cc | 4 +- splash/SplashBitmap.h | 3 + splash/SplashPattern.cc | 17 +- splash/SplashPattern.h | 36 ++++- 14 files changed, 735 insertions(+), 24 deletions(-) commit 0aa040163741ab8ba093a742e556bba2a5ab7edf Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 3 20:40:24 2010 +0000 Do not add sibling children as parents Fixes c2ff94b1600b8a5841a5e4627f014560ac460f1a poppler/Function.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit c2ff94b1600b8a5841a5e4627f014560ac460f1a Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 3 00:02:02 2010 +0000 Do not loop forever in broken documents StitchingFunctions that have themselves up in the parent chain are wrong poppler/Function.cc | 22 +++++++++++++++++++--- poppler/Function.h | 6 ++++-- 2 files changed, 23 insertions(+), 5 deletions(-) commit cad66a7d25abdb6aa15f3aa94a35737b119b2659 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Nov 2 19:14:34 2010 +0000 Fix crash in broken documents mapLen = (code + 256) & ~255; can wrap and you end up with mapLen < code that is not what you wanted poppler/CharCodeToUnicode.cc | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit 7e5f31c1c41193c6e49355970e6d027b91d45825 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Nov 2 00:32:01 2010 +0000 make some more fields private splash/SplashFontFile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 6751eb48dc49890f7ad8b732b3fc29a2db746ec4 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Nov 2 00:26:08 2010 +0000 Make the destructor private You are not supposed to call it, you should call unref splash/SplashFontFile.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit b718e821d5f21ea5b0c44c6c2b59769c9b94892a Author: Albert Astals Cid <aacid@kde.org> Date: Thu Oct 28 08:46:09 2010 +0100 Revert fdfffc9c68314d3f64dee7e0ef8617105e3198dd It is not a leak and makes things crash :D poppler/SplashOutputDev.cc | 1 - 1 file changed, 1 deletion(-) commit 15b9aeac5a20c544db1aebe00113ebc2f7ba52c7 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Oct 28 00:37:29 2010 +0100 if reallocn fails, free p goo/gmem.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 561c0567a5741d7c49903c51c8020187dccaa0d9 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Oct 27 22:43:51 2010 +0100 fix comment poppler/SplashOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4ef38cc99a879202e717447a422272cf85eeccfc Author: Albert Astals Cid <aacid@kde.org> Date: Wed Oct 27 22:36:07 2010 +0100 Fix memory leaks that can happen with broken documents poppler/SplashOutputDev.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) commit fdfffc9c68314d3f64dee7e0ef8617105e3198dd Author: Albert Astals Cid <aacid@kde.org> Date: Wed Oct 27 20:40:19 2010 +0100 Fix memory leak poppler/SplashOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit 90d479d9d5c947175e60ab689f440ae9c24f0b2b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Oct 27 20:39:48 2010 +0100 Do not crash if bitmap->alpha == NULL Happens in broken files splash/Splash.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 6ad36277971ec46d4a4ef0c45625e60f8c5f1247 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Oct 25 18:59:49 2010 +0100 Initialze movie to NULL on broken pdf files poppler/Annot.cc | 1 + 1 file changed, 1 insertion(+) commit 2d0b6e2956a81164bca6adc9aacad0e620480957 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 24 00:23:21 2010 +0100 Here the chars to read is the increment size not the initialSize Fixes crash in file provided by Robert Święcki poppler/Stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dcb02d2100136b6035485be3be214ce3d9f1c102 Author: Vincent Torri <vtorri@univ-evry.fr> Date: Sat Oct 23 23:45:05 2010 +0100 remove -ansi flag for cywin and mingw configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 17cdc81224c72f7b58de61734c9ead337ff7b42b Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 23 23:37:59 2010 +0100 update my C year poppler/SplashOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e09ddce7e21bbd62b384d9d59fbd1e0f14f7d05f Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 23 23:33:00 2010 +0100 Fix crash in malformed documents poppler/SplashOutputDev.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 906e4e15421d8f3f0a825ca767e5eac3169853d6 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 23 23:12:44 2010 +0100 Do not leak attrs1 poppler/Catalog.cc | 1 + 1 file changed, 1 insertion(+) commit ec32bb45a57a8a839156c946fcde1270aa6019d9 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 23 23:00:03 2010 +0100 Do not crash if n is 0 poppler/Function.cc | 3 +++ 1 file changed, 3 insertions(+) commit 9edf7e4fefb37989af9a2558aaa83d7cd4694ec6 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 23 22:59:50 2010 +0100 add unlikely marker poppler/Decrypt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c46e863b7b94dc2f83a7d89f4afb8fe3bc8ec35c Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 23 22:55:49 2010 +0100 Do not divide by 0 in rc4InitKey poppler/Decrypt.cc | 4 ++++ 1 file changed, 4 insertions(+) commit bcb13ed5828e2a855efd5e38b2acd15ca37a9991 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 23 22:40:17 2010 +0100 Check obj2 is a num before reading it poppler/Gfx.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit c64a49307782299cb7a950a66419f9d59707f38b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Oct 20 22:29:29 2010 +0100 0.15.1 CMakeLists.txt | 4 ++-- NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 52 insertions(+), 6 deletions(-) commit 3b45c66de91243d7419657512cf726c9e1c26dfb Author: Kenneth Berland <ken@hero.com> Date: Sun Oct 17 14:24:16 2010 +0100 Add -bbox option to pdftotext utils/pdftotext.1 | 4 ++ utils/pdftotext.cc | 125 ++++++++++++++++++++++++++++++++++++++++++----------- 2 files changed, 103 insertions(+), 26 deletions(-) commit 71ec4c7a6715a40d536d1e4b911dae48d1bba7b9 Author: Pino Toscano <pino@kde.org> Date: Sun Oct 17 14:57:43 2010 +0200 [CMake] update MacroOptionalFindPackage.cmake from KDE SVN no radical changes, just a minor improvement for the "explicitly disabled" case cmake/modules/MacroOptionalFindPackage.cmake | 40 +++++++++++++++++++++------- 1 file changed, 30 insertions(+), 10 deletions(-) commit ab0049d8be5dfe1989c4aa33c2732915c62fecb2 Author: Pino Toscano <pino@kde.org> Date: Sun Oct 17 14:29:22 2010 +0200 [CMake] Cairo package: make the version check really working cmake/modules/FindCairo.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1cea33717c92631ee9c417d9f89e32b03695c75a Author: Pino Toscano <pino@kde.org> Date: Sun Oct 17 13:55:58 2010 +0200 [CMake] Bump cairo dependency to 1.10 followup of fc9b85894754d175af916eaf6cb127efd601df7e CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6f49aa2da15cd2e9cf775d6b1d2d04a005c8cdd Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 17 14:22:57 2010 +0200 [cairo] Fix a crash when redering documents with invalid type 3 fonts poppler/CairoFontEngine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e2fad550c3cbf86541730582151e1bb6470ed9c1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 17 13:47:33 2010 +0200 [glib-demo] Use poppler_page_get_selected_region() in selections demo glib/demo/selections.c | 73 +++++++++++++++----------------------------------- 1 file changed, 22 insertions(+), 51 deletions(-) commit 88013458e141de58ed801480707ae0dfe92b9aa2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 17 13:46:26 2010 +0200 [glib] Add poppler_page_get_selected_region() that returns a cairo_region_t, and deprecate poppler_page_get_selection_region(). glib/poppler-page.cc | 81 +++++++++++++++++++++++++++++++++++++ glib/poppler-page.h | 4 ++ glib/reference/poppler-sections.txt | 1 + 3 files changed, 86 insertions(+) commit fc9b85894754d175af916eaf6cb127efd601df7e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 17 12:54:18 2010 +0200 [configure] Bump cairo dependency to 1.10 configure.ac | 2 +- poppler/CairoOutputDev.cc | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) commit dd14ef6b211ac1c8a4f16bb6094dbfd6a09cbef9 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 17 12:46:55 2010 +0100 Improve dict lookup speed for big dicts Based on a patch by Paweł Wiejacha <pawel.wiejacha@gmail.com> poppler/Dict.cc | 98 +++++++++++++++++++++++++++++++++++++++++++++------------ poppler/Dict.h | 2 ++ 2 files changed, 80 insertions(+), 20 deletions(-) commit bb38a0c71434413f2728109c73278de1b8a58571 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 17 12:52:01 2010 +0200 [glib-demo] Make glib demo program installable It's a useful tool for testing and debugging not only for people who install from sources. glib/demo/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d26d0fab2ddfff853f6681a3518813a2d65a4112 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 17 12:36:46 2010 +0200 [glib-demo] Use printing options in print demo glib/demo/print.c | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 93 insertions(+), 3 deletions(-) commit 4a71dcdd350d0c0515ca349f0b875b33289d25ee Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 17 12:31:41 2010 +0200 [glib] Add poppler_page_render_for_printing_with_options() It allows to print with the same options acroread has: - Print document - Print document and markup - Print document and stamps glib/poppler-page.cc | 77 ++++++++++++++++++++++++++++++++----- glib/poppler-page.h | 3 ++ glib/poppler.h | 19 +++++++++ glib/reference/poppler-sections.txt | 4 ++ 4 files changed, 94 insertions(+), 9 deletions(-) commit 0b3b2ebc3930bd46fb13fb2158fc695b0962f7c5 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 16 15:09:05 2010 +0100 Add a callback to know which page has been printed qt4/src/poppler-ps-converter.cc | 16 ++++++++++++++-- qt4/src/poppler-qt4.h | 10 ++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) commit 4bd25223c4d15dfa91965a6e86eaa444a5a81f71 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 16 15:08:05 2010 +0100 Do not omit this character Mimics Cairo backend and Adode Reader behaviour splash/SplashFTFont.cc | 4 ---- 1 file changed, 4 deletions(-) commit b604a008a2a379a21e5fdfa0799886f80d893a08 Author: Christian Feuersänger <cfeuersaenger@googlemail.com> Date: Thu Oct 14 23:56:36 2010 +0100 Improve rendering of Shading Type 6 and 7 poppler/Gfx.cc | 214 +++++++++++++++++++++++++++++++++++++++++----------- poppler/Gfx.h | 9 ++- poppler/GfxState.cc | 96 ++++++++++++++++++++++- poppler/GfxState.h | 127 ++++++++++++++++++++++++++++++- 4 files changed, 398 insertions(+), 48 deletions(-) commit c6bb63b31c268e4e842532e6839b15edb31cf25c Author: Albert Astals Cid <aacid@kde.org> Date: Thu Oct 14 23:33:13 2010 +0100 Only clip boxes to mediabox if we are at the page level Fixes bug 30784 poppler/Page.cc | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit 4a248b3f523209ec16ace587229412653b2276d0 Author: Pino Toscano <pino@kde.org> Date: Thu Oct 14 18:32:05 2010 +0200 [cpp] make it compile also when there are no image formats available including the ImgWirter.h is enough to get the definition of ImgWriter cpp/poppler-image.cpp | 1 + 1 file changed, 1 insertion(+) commit de1501d87549269f9214c9e3fba4cbf39960826e Author: Albert Astals Cid <aacid@kde.org> Date: Wed Oct 13 19:18:36 2010 +0100 remove windows eol poppler/Gfx.cc | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit 12e68b49feef10b654944dd71eab0852cfeceb89 Author: Pino Toscano <pino@kde.org> Date: Sun Oct 10 23:04:57 2010 +0200 [cpp] Add a new 'image' class. This implicitely shared class represents the data buffer of an "image", with direct access to the data. It also has a function to save to file (png/jpeg). Still a FIXME in the copy() method and in the save() (for mono images only). cpp/CMakeLists.txt | 2 + cpp/Makefile.am | 3 + cpp/poppler-image-private.h | 48 +++++ cpp/poppler-image.cpp | 431 ++++++++++++++++++++++++++++++++++++++++++++ cpp/poppler-image.h | 70 +++++++ 5 files changed, 554 insertions(+) commit db31687ba476e272b72625a8a78b50780522ee7d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Oct 9 10:33:06 2010 +0200 [glib] docs: Document poppler_annot_markup_get_date() glib/poppler-annot.cc | 9 +++++++++ 1 file changed, 9 insertions(+) commit a7cf8d322a4a687c9810a577cc92ff6b9725ecdc Author: Fernando Herrera <fherrera@onirica.com> Date: Thu Oct 7 17:28:31 2010 +0200 [glib] Fix introspection annotations for poppler_document_get_page*() Return value should be transfer full since the caller owns the only reference. glib/poppler-document.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit d690bea929553d1a4392d42d949843e9467ba8cb Author: Albert Astals Cid <aacid@kde.org> Date: Tue Oct 5 22:18:22 2010 +0100 Make sure obj is a num before reading it Not sure if using a 0 is correct otherwise, but if your matrix is broken you're probably going to get a wrong rendering anyway, so who cares. Bug #30590 poppler/Gfx.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit b17be2bc32cf71bac0473bf4ac16359e3027b4fc Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 3 12:14:11 2010 +0200 [annots] Fix a crash when drawing square/circle annots without a border Fixes bug #30580 poppler/Annot.cc | 121 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 61 insertions(+), 60 deletions(-) commit e3d3944c1988343704e3ba3a5d60609719466afb Author: Tomas Hoger <thoger@redhat.com> Date: Wed Sep 29 20:03:45 2010 +0100 Fix uninitialized uses on DCTScanInfo poppler/Stream.cc | 3 +++ 1 file changed, 3 insertions(+) commit f380647f09d88339c936184bbe86c70c0d47de4b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 29 20:02:10 2010 +0100 Free names poppler/Catalog.cc | 1 + 1 file changed, 1 insertion(+) commit aa0fd32a8501473832bce1b8b804dd3f9a45735b Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 27 22:39:09 2010 +0100 Consider render value when colorizing text Fixes bug 2807 poppler/CairoOutputDev.cc | 18 +++--------------- poppler/CairoOutputDev.h | 2 -- poppler/Gfx.cc | 21 +++++++++++++++++---- poppler/PSOutputDev.cc | 26 ++++++++++---------------- poppler/PSOutputDev.h | 3 +-- poppler/SplashOutputDev.cc | 18 +++--------------- poppler/SplashOutputDev.h | 4 +--- 7 files changed, 35 insertions(+), 57 deletions(-) commit cf710b999b510203e9348ea9f04360be1fe957b8 Author: Pino Toscano <pino@kde.org> Date: Fri Sep 24 00:50:37 2010 +0200 [Qt4] enable the generation of the QCH file ... usable in Qt Assistant qt4/src/Doxyfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit be6d933071c9ab043f01f374a884472c4ce3007e Author: Pino Toscano <pino@kde.org> Date: Thu Sep 23 15:55:45 2010 +0200 update Doxyfile's for qt4 and cpp no changes in the actual configuration values cpp/Doxyfile | 155 ++++-- qt4/src/Doxyfile | 1469 +++++++++++++++++++++++++++++++++--------------------- 2 files changed, 1018 insertions(+), 606 deletions(-) commit 721da3d542ab9b234b058f3c14ea9303d748107e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Sep 23 14:09:11 2010 +0200 [glib] Use g_memdup instead of g_strdup in poppler_document_get_id() Ids are not null-terminated strings, but fixed size byte arrays. glib/demo/info.cc | 8 ++++++-- glib/poppler-document.cc | 33 ++++++++++++++------------------- 2 files changed, 20 insertions(+), 21 deletions(-) commit 4ffc0ed73397e4e58f04c3577b093a3fd39c22bd Author: Pino Toscano <pino@kde.org> Date: Thu Sep 23 02:21:12 2010 +0200 [cpp] small clarification in document::load_from_data() apidox cpp/poppler-document.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9491dc4a10706109d0f2b4d15f21b9a1db51d8c9 Author: Pino Toscano <pino@kde.org> Date: Thu Sep 23 02:18:07 2010 +0200 [cpp] add document::load_from_raw_data() ... to be able to load a document from an external data buffer, with no need to copy the data. add as well a new document_private constructor to handle the new situation, and make sure to properly use the raw data when unlocking the document cpp/poppler-document-private.h | 5 ++++ cpp/poppler-document.cpp | 53 ++++++++++++++++++++++++++++++++++++++++++ cpp/poppler-document.h | 4 ++++ 3 files changed, 62 insertions(+) commit a3c1f2d5ea1de969e9aaaa84ee38866938b4ce0c Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 22 20:14:27 2010 +0100 fix copyright poppler/Form.cc | 1 + poppler/Form.h | 1 + 2 files changed, 2 insertions(+) commit 1aad013e353a9e59bdab8a1b4ce93f2ad7aaf4f2 Author: Pino Toscano <pino@kde.org> Date: Wed Sep 22 17:07:38 2010 +0200 update copyrights cpp/poppler-document.h | 2 +- cpp/poppler-page-transition.cpp | 2 +- cpp/poppler-private.cpp | 2 +- cpp/poppler-rectangle.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 2d6d66ebe0215df66e33cb5974c58c324fab50b6 Author: Pino Toscano <pino@kde.org> Date: Wed Sep 22 17:07:13 2010 +0200 [cpp/tests] poppler-dump: show the PDF IDs, if available cpp/tests/poppler-dump.cpp | 6 ++++++ 1 file changed, 6 insertions(+) commit e39fde1b62544b90e73a2fc3609a260991db3a47 Author: Pino Toscano <pino@kde.org> Date: Wed Sep 22 16:52:08 2010 +0200 [cpp] add document::get_pdf_id() ... to get the IDs of a PDF document, if present. cpp/poppler-document.cpp | 29 +++++++++++++++++++++++++++++ cpp/poppler-document.h | 1 + 2 files changed, 30 insertions(+) commit 299a1849a148fa0a7b3171c45ec68b9901aa93bb Author: Pino Toscano <pino@kde.org> Date: Wed Sep 22 16:36:30 2010 +0200 [Qt4] add Document::getPdfId() ... to get the IDs of a PDF document, if present. also, add two test cases for it in the metadata unit test qt4/src/poppler-document.cc | 16 ++++++++++++++ qt4/src/poppler-qt4.h | 14 +++++++++++++ qt4/tests/check_metadata.cpp | 50 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) commit dd9bcdb720ac1bf8a022635bcbb3b56e4b75bb15 Author: Pino Toscano <pino@kde.org> Date: Wed Sep 22 16:29:46 2010 +0200 Make the internal get_id() not fail because of null bytes in the ID. Passing the const char* of the byte string to convert is not enough if its length must be checked, as it might fail when the string of the ID contains null bytes. Instead, pass the original GooString so its size is properly checked. Also, remove an hardcoded 16 and make it dependent on pdfIdLength, as used elsewhere in get_id() function. poppler/PDFDoc.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 9554cbc3cb4fc0cd7ad2295f5d27a18e030c6aee Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Sep 22 12:54:25 2010 +0200 [glib-demo] Show form field names in forms demo glib/demo/forms.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) commit 257634b26b682628dba5ee5f94cb0bad030bcb4f Author: Mark Riedesel <mark@klowner.com> Date: Wed Sep 22 12:52:49 2010 +0200 [glib] Add methods to get mapping, partial an fully qualified form field names See bug #28780. glib/poppler-form-field.cc | 68 +++++++++++++++++++++++++++++++++++++ glib/poppler-form-field.h | 3 ++ glib/reference/poppler-sections.txt | 3 ++ 3 files changed, 74 insertions(+) commit 6db98abc59c154dcb18d69fc37e44ce804c3ccc9 Author: Mark Riedesel <mark@klowner.com> Date: Wed Sep 22 12:41:16 2010 +0200 Add getLabel method to FormWidget See bug #28780. poppler/Form.cc | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Form.h | 8 ++++++++ 2 files changed, 72 insertions(+) commit bcdca66fd57439735e0b9aa182ab7cfce29e9ed0 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Sep 21 11:49:37 2010 +0200 [glib] Fix minimum value of creation and modification date properties It should be -1 which means there's no date specified glib/poppler-document.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d2578bd66129466b2dd114b6407c147598e09d2b Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 19:19:27 2010 +0100 Avoid loops in Form::fieldLookup Fixes crash in broken pdf provided by Joel Voss of Leviathan Security Group poppler/Dict.h | 3 +++ poppler/Form.cc | 27 ++++++++++++++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) commit 2fe825deac055be82b220d0127169cb3d61387a8 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 19:15:25 2010 +0100 Make sure obj1 is a num before reading it Fixes crash in broken pdf provided by Joel Voss of Leviathan Security Group poppler/Gfx.cc | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit 473de6f88a055bb03470b4af5fa584be8cb5fda4 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 19:11:42 2010 +0100 Fix memory leak if obj2 is not a dict Found thanks to PDF provided by Joel Voss of Leviathan Security Group poppler/Form.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 9706e28657ff7ea52aa69d9efb3f91d0cfaee70b Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 19:09:37 2010 +0100 Fix crash when idx is out of range Found thanks to PDF provided by Joel Voss of Leviathan Security Group poppler/Function.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26a5817ffec9f05ac63db6c5cd5b1f0871d271c7 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 19:08:54 2010 +0100 Fix crash when idx is out of range Fixes crash in broken pdf provided by Joel Voss of Leviathan Security Group poppler/Function.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit dfdf3602bde47d1be7788a44722c258bfa0c6d6e Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 19:07:12 2010 +0100 Give a value to color.c[i] Might not be the better solution but it's better than having a random value there Found thanks to PDF provided by Joel Voss of Leviathan Security Group poppler/Gfx.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit 01c85c08305bae16242f5979ab107fa5bb5f5100 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 19:04:37 2010 +0100 Forgot my (C) here poppler/Decrypt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bf2055088a3a2d3bb3d3c37d464954ec1a25771f Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 19:03:19 2010 +0100 Properly initialize stack Fixes crash in broken pdf provided by Joel Voss of Leviathan Security Group poppler/Function.cc | 1 + 1 file changed, 1 insertion(+) commit e853106b58d6b4b0467dbd6436c9bb1cfbd372cf Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 19:01:36 2010 +0100 Properly initialize parser Fixes crash in broken pdf provided by Joel Voss of Leviathan Security Group poppler/Gfx.cc | 2 ++ 1 file changed, 2 insertions(+) commit 3422638b2a39cbdd33a114a7d7debc0a5f688501 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 18:58:43 2010 +0100 Fix crash in broken pdf (parser->getStream() is 0) Found thanks to PDF provided by Joel Voss of Leviathan Security Group poppler/Gfx.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit a2dab0238a69240dad08eca2083110b52ce488b7 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 18:55:51 2010 +0100 Initialize properly charactersRead It is possible that there are calls to getPos before reset Found thanks to PDF provided by Joel Voss of Leviathan Security Group poppler/Decrypt.cc | 2 ++ 1 file changed, 2 insertions(+) commit 39d140bfc0b8239bdd96d6a55842034ae5c05473 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 18:54:31 2010 +0100 Fix crash in broken pdf (code < 0) Found thanks to PDF provided by Joel Voss of Leviathan Security Group fofi/FoFiType1.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c6a091512745771894b54a71613fd6b5ca1adcb3 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 21 18:50:25 2010 +0100 Fix memory leak Found thanks to PDF provided by Joel Voss of Leviathan Security Group poppler/Stream.cc | 1 + 1 file changed, 1 insertion(+) commit 9b6ddb68b80ef19cd2615900bd24da76374003d9 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 20 19:47:47 2010 +0100 Fix copyright poppler/PDFDoc.cc | 1 + poppler/PDFDoc.h | 1 + 2 files changed, 2 insertions(+) commit fa3abc23656204eedd022ee1c73d9e5af758cdac Author: Pino Toscano <pino@kde.org> Date: Fri Sep 17 22:20:09 2010 +0200 [cpp] More bits of API documentation. cpp/poppler-global.cpp | 124 ++++++++++++++++++++++++++++++++++++++++ cpp/poppler-page-transition.cpp | 32 +++++++++++ cpp/poppler-rectangle.cpp | 19 ++++++ 3 files changed, 175 insertions(+) commit c5f7b5becc9993c05b67a470d5a1e431806b98d6 Author: Pino Toscano <pino@kde.org> Date: Fri Sep 17 20:26:37 2010 +0200 update copyrights qt4/src/poppler-private.cc | 2 +- qt4/tests/check_strings.cpp | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) commit ae517042570327b860c1db6b68f9697d5c104657 Author: Pino Toscano <pino@kde.org> Date: Fri Sep 17 19:39:10 2010 +0200 [cpp] improve a bit the Unicode* -> ustring conversion (although IMHO not yet solved) cpp/poppler-private.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f4c6ef88f01f6763943a3e6e006e52dbea0b149c Author: Pino Toscano <pino@kde.org> Date: Fri Sep 17 16:07:05 2010 +0200 [Qt4/tests] check_strings: add a new test case for QStringToUnicodeGooString not much test data at the moment though qt4/tests/check_strings.cpp | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit ffd227b7669895325d752009d5185973cf86ce5b Author: Pino Toscano <pino@kde.org> Date: Fri Sep 17 14:25:57 2010 +0200 [Qt4] optimize UnicodeParsedString using less memory from QString - reserve() the right number of chars in the result string, so there is less possibility to make it gr ow its buffer - do not call unicodeToQString() just to create a 1 character string, but directly append a QChar crea ted with the resulting unicode value (always belonging to the BMP) this should reduce of a very little bit the memory usage, while give a sensible speedup of UnicodeParsedString invocations qt4/src/poppler-private.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 6180890008f2b1814f092f50b8f75376399905ba Author: Pino Toscano <pino@kde.org> Date: Fri Sep 17 13:23:25 2010 +0200 [Qt4/tests] check_strings: add a test case for UnicodeParsedString very simple test data for it, at the moment qt4/tests/check_strings.cpp | 48 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) commit c5f78d7d3953d62a746c6f5a90085ea020fe5ec7 Author: Pino Toscano <pino@kde.org> Date: Fri Sep 17 12:54:32 2010 +0200 [Qt4/tests] check_string: use a pool of GooString this way we can reuse the GooString in a data set even after a test run (eg in benchmarks), making sure they all are properly freed qt4/tests/check_strings.cpp | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) commit 0cd5a256bdf7778c0c720941a611ad8ab56fa2e9 Author: Pino Toscano <pino@kde.org> Date: Fri Sep 17 00:27:53 2010 +0200 [Qt4/tests] first version of a unit test for strings this is used for testing the various string conversions: - unicodeToQString - UnicodeParsedString - QStringToUnicodeGooString - QStringToGooString the 1st and the 4th have basic tests given private symbols are used, this unit test is not compiled on windows (at least, it supposed to be so) qt4/tests/CMakeLists.txt | 3 ++ qt4/tests/Makefile.am | 7 ++- qt4/tests/check_strings.cpp | 101 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+), 1 deletion(-) commit c6e8b21c9829672e6ca42e6cdc0ca631a06af73f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Sep 17 13:44:38 2010 +0200 [glib] docs: Document PopplerDocument properties glib/poppler-document.cc | 380 +++++++++++++++++++++++++++-------------------- 1 file changed, 223 insertions(+), 157 deletions(-) commit d4a6c17255821925906c17b79b88eebed9edfee1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Sep 17 13:04:33 2010 +0200 [glib] Add accessor for all PopplerDocument properties PopplerDocument:linearized is now a boolean value rather than string, so this commit breaks the API again. glib/demo/info.cc | 8 +- glib/poppler-document.cc | 532 +++++++++++++++++++++++++++++------- glib/poppler-document.h | 74 +++-- glib/reference/poppler-sections.txt | 16 ++ 4 files changed, 498 insertions(+), 132 deletions(-) commit a5fec843dbb40fdd2007b926405b96789b21496d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Sep 17 10:38:14 2010 +0200 [glib-demo] Show permanent/update ID in document info demo glib/demo/info.cc | 9 +++++++++ 1 file changed, 9 insertions(+) commit bfaf8f3cc62f28c6255d42680b9464ab9973737e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Sep 17 10:37:32 2010 +0200 [glib] Add poppler_document_get_id() to get the PDF file identifier glib/poppler-document.cc | 52 +++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 3 +++ glib/reference/poppler-sections.txt | 1 + 3 files changed, 56 insertions(+) commit b15641677447b2e89853a667fc34bcca1383a97a Author: srinivas adicherla <srinivas.adicherla@gmail.com> Date: Fri Sep 17 10:36:22 2010 +0200 Add a method to get the PDF file identifier poppler/PDFDoc.cc | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/PDFDoc.h | 3 +++ 2 files changed, 68 insertions(+) commit 3b4a901a4431814590449b6cd5ea418f4d6c1172 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Sep 16 23:23:03 2010 +0100 Add -s option Writes a single html file Since git does not allow multiple authors i'm adding them here OSSD CDAC Mumbai by Leena Chourey (leenac@cdacmumbai.in) and Onkar Potdar (onkar@cdacmumbai.in) utils/HtmlFonts.cc | 11 +++++-- utils/HtmlFonts.h | 18 +++++++++-- utils/HtmlOutputDev.cc | 84 +++++++++++++++++++++++++++++++------------------- utils/pdftohtml.1 | 3 ++ utils/pdftohtml.cc | 15 +++++++-- 5 files changed, 93 insertions(+), 38 deletions(-) commit 2792330f6caeeb42e2996271456b562489215c4c Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 15 22:42:09 2010 +0100 new soversions CMakeLists.txt | 2 +- cpp/CMakeLists.txt | 2 +- cpp/Makefile.am | 2 +- glib/CMakeLists.txt | 2 +- glib/Makefile.am | 4 ++-- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Makefile.am | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) commit 1cf56c732b63d0a310bc45b8e4b3f3f357a42cb1 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 15 20:56:42 2010 +0100 0.15.0 in the versions CMakeLists.txt | 2 +- configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 4ec0be498b557c3cf631e43823c6d7004304dff3 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 15 20:56:34 2010 +0100 0.15.0 NEWS NEWS | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) commit c01a17745c04aef3e6f2225679c867a03e731e83 Author: Pino Toscano <pino@kde.org> Date: Thu Sep 16 20:55:56 2010 +0200 [CMake] disable the GObject introspection system it cannot complete the scanning propecure correctly without libtool it seems CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9be7d3143b12f291409f88f3d725a239934b205e Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 15 19:19:30 2010 +0100 update copyright poppler/OptionalContent.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9333529bba43a71655fdbf1919ba515f7df9ca3 Author: Pino Toscano <pino@kde.org> Date: Wed Sep 15 17:23:54 2010 +0200 [cpp/tests] poppler-dump: convert out_ustring() to an operator<<(std::ostream&) so we have a chance to better output the bytearray of a string to the stream cpp/tests/poppler-dump.cpp | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) commit a44f711b4412332875337e9fb7509f18db806ddc Author: Pino Toscano <pino@kde.org> Date: Wed Sep 15 16:44:30 2010 +0200 [cpp/tests] poppler-dump: add a "--show-text <physical|raw>" option ... to show the text of a page in the specified layout cpp/tests/poppler-dump.cpp | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit 0094c9372b5b439af2564d83d6fb7439f4bdba88 Author: Pino Toscano <pino@kde.org> Date: Wed Sep 15 13:19:13 2010 +0200 [cpp] add a new page::text() for specifying a layout mode add a new text_layout_enum enum for the layout mode, used by the new text() make the old text() implementation call the new one with the old value (= physical) add & adapt the apidox accordingly cpp/poppler-page.cpp | 27 +++++++++++++++++++++++++-- cpp/poppler-page.h | 5 +++++ 2 files changed, 30 insertions(+), 2 deletions(-) commit 4ec3e7784cdba5c0720b1992ba500e97a7e0ed2b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Sep 15 11:24:07 2010 +0200 Set initial state of optional content groups based on BaseState field There's a test case using BaseState attached to bug #30106 poppler/OptionalContent.cc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit f49aa86812ed8ad91d41c675bc670b3d88d3444a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Sep 13 14:37:10 2010 +0200 [glib] doc: Document PopplerPage:label property glib/poppler-page.cc | 5 +++++ 1 file changed, 5 insertions(+) commit f41fe7ae6e374100574c49d1bb7a3ddc646786c8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Sep 13 14:36:43 2010 +0200 [glib] doc: Add poppler_page_get_label to poppler-sections.txt glib/reference/poppler-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 91b8246766a8e5d9cca385b5854667d7967a9d71 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Sep 13 14:22:56 2010 +0200 [glib-demo] Use poppler_page_get_label() instead of g_object_get() glib/demo/page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b82412ef86091f4d249c818cebf00e4c59bae311 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Sep 13 14:22:03 2010 +0200 [glib] Add poppler_page_get_label() It's just an accessor for the property label glib/poppler-page.cc | 47 ++++++++++++++++++++++++++++++++++------------- glib/poppler-page.h | 1 + 2 files changed, 35 insertions(+), 13 deletions(-) commit ff88abf61f4bf90ad276a8593be1818d39c8ecac Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Sep 13 10:05:45 2010 +0200 [glib] Avoid core headers to be parsed by the g-i scanner glib/poppler-document.cc | 2 ++ glib/poppler-page.cc | 2 ++ glib/poppler-private.h | 3 +++ 3 files changed, 7 insertions(+) commit 53324502898ae5fbbb21a4fb819e4a84acdc1a64 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Sep 12 11:42:03 2010 +0200 [glib] Fix a crash when building layer actions Some layers are just the parent of others, but not actually a layer so they don't have an optional content object. Fixes bug #30106. glib/poppler-action.cc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit dfc6ea7877635212aa7c5f7ade07af4aa9467e96 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Sep 12 11:36:58 2010 +0200 [glib] Fix layers array generation when it contains multiple arrays Fixes layers for document attached to bug #30106. glib/poppler-document.cc | 1 + 1 file changed, 1 insertion(+) commit 7574912b6c0ff0421c69b6e8c6835957d5126d7d Author: Jonathan Liu <net147@gmail.com> Date: Thu Sep 9 20:34:03 2010 +0100 Fix checking whether _WIN32 is defined Bug 29329 poppler/StdinCachedFile.cc | 2 +- utils/pdftoppm.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 2fc83068c32e09fa3de03a157a420490431ea706 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 5 14:26:27 2010 +0100 Increase the number of cached glyphs for small sizes Should not increase memory usage much and gives me a 17% speed increase in the firefox nytimes advertisment pdf splash/SplashFont.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 0d96f74f31171c58a55e4ac36d492ce36dd5e7c5 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 5 12:31:57 2010 +0100 Use std::sort instead of qsort Gives a nice speed improvement without any real code change Passes regression tests Based on Paweł Wiejacha patches poppler/GfxFont.cc | 17 +++++++--------- splash/SplashXPath.cc | 48 ++++++++++++++++++++++++++++---------------- splash/SplashXPathScanner.cc | 10 +++++---- 3 files changed, 44 insertions(+), 31 deletions(-) commit 3b4816b2b8caa0e2baafbe4c0eb1e45e452d01ce Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 1 20:43:35 2010 +0100 forgot the file qt4/tests/poppler-texts.cpp | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) commit b0db93c71a83946aa3e02bae6b396223dcca19d1 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 1 20:43:14 2010 +0100 add since and rename enum qt4/src/poppler-page.cc | 2 +- qt4/src/poppler-qt4.h | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) commit a86f9d90be99a36c41c6932fb4d9a202c4ff6d05 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 1 20:20:48 2010 +0100 Clarify the ownership qt4/src/poppler-qt4.h | 2 ++ 1 file changed, 2 insertions(+) commit 33ad3a17ac26879fcd6a7fad2023dd219bc5919f Author: Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp> Date: Wed Sep 1 20:19:54 2010 +0100 Add a way to access the raw text poppler/TextOutputDev.cc | 23 ++++++++++++++++++++--- qt4/src/poppler-page.cc | 11 +++++++++-- qt4/src/poppler-qt4.h | 19 +++++++++++++++++++ qt4/tests/CMakeLists.txt | 1 + qt4/tests/Makefile.am | 7 ++++++- 5 files changed, 55 insertions(+), 6 deletions(-) commit 46e89248b3c5b1789baa3bd9bfa012570720ddb5 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 1 19:54:02 2010 +0100 quadding is not a GBool but an int poppler/Annot.cc | 2 +- poppler/Annot.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit ae79fc504c5424be2fa21dbc5498ced4db6e5dd3 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 31 22:14:57 2010 +0100 Make GBool a bool instead of an int Passes the regression tests and might make things faster and use a bit less memory cpp/tests/CMakeLists.txt | 2 +- cpp/tests/Makefile.am | 2 +- goo/gtypes.h | 7 +- utils/CMakeLists.txt | 2 +- utils/Makefile.am | 2 +- utils/parseargs.c | 208 ----------------------------------------------- utils/parseargs.cc | 208 +++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 216 insertions(+), 215 deletions(-) commit d3f32f2c4f9f46620c0287c44bef686f340461f3 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 31 18:51:17 2010 +0100 Read from the correct variable Fixes crash on KDE bug 249586 poppler/Movie.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 681bb38eafc720b309172ed7c650439c559663a0 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Aug 26 23:55:58 2010 +0100 Make declaration match what there is in the .cc file poppler/TextOutputDev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c91e869304fc263c52f21ee484a57a6f1900f6b2 Author: Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp> Date: Thu Aug 26 19:40:46 2010 +0100 Add -r option to pdftohtml Fixes bug 29551 utils/pdftohtml.1 | 3 +++ utils/pdftohtml.cc | 18 +++++++++++++----- 2 files changed, 16 insertions(+), 5 deletions(-) commit 9b4be586640b4ad344b1b3ed4c9cda8351257f0c Author: Albert Astals Cid <aacid@kde.org> Date: Wed Aug 25 19:26:30 2010 +0100 Use 3 not nComps poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 218f67c527fb41babf2703ba068d072f8326e37b Author: Paweł Wiejacha <pawel.wiejacha@gmail.com> Date: Tue Aug 24 23:47:06 2010 +0100 Make SplashOutputDev::imageSrc faster By using getRGBLine when possible poppler/SplashOutputDev.cc | 39 ++++++++++++++++++++++++++++++--------- 1 file changed, 30 insertions(+), 9 deletions(-) commit 868f4a1f22051b7978f47a0614f23fd66dbb7ca8 Author: Paweł Wiejacha <pawel.wiejacha@gmail.com> Date: Tue Aug 24 23:35:21 2010 +0100 Make GfxICCBasedColorSpace::getRGBLine faster By calling doTransform less poppler/GfxState.cc | 15 +++++++-------- poppler/GfxState.h | 4 +++- 2 files changed, 10 insertions(+), 9 deletions(-) commit 46e37c54c6365cf37dc1e223a3c146e7b96a56af Author: Paweł Wiejacha <pawel.wiejacha@gmail.com> Date: Tue Aug 24 21:23:34 2010 +0100 Do not call pow three times when one is enough poppler/GfxState.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 8591c804598576556c6d24a66b6648de8ed1c4eb Author: Mike Slegeir <tehpola@yahoo.com> Date: Sun Aug 22 22:01:03 2010 +0100 Use splash instead of external gs invocation to render the background Patch in bug 19404, should fix 9746 too utils/pdftohtml.1 | 8 +- utils/pdftohtml.cc | 210 ++++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 158 insertions(+), 60 deletions(-) commit 7fc3c21a8c5d6cf8517100427b182887a9569ed0 Author: Ilya Gorenbein <igorenbein@finjan.com> Date: Fri Aug 20 20:24:31 2010 +0100 Fix failure to parse PDF with damaged internal structure Patch in bug 29189, fixes bug 3870 poppler/PDFDoc.cc | 24 +++++++++++++---- poppler/XRef.cc | 80 ++++++++++++++++++++++++++++++++----------------------- poppler/XRef.h | 5 ++-- 3 files changed, 68 insertions(+), 41 deletions(-) commit bedf48d4397ae412a6d28fc8fea16cc23a29f07c Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 17 22:02:59 2010 +0100 use memset instead of a for splash/Splash.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 03ca5b4a5c9964d9c0e9913eb2061692848c4b95 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 10 19:55:31 2010 +0100 Update copyrights goo/GooTimer.cc | 1 + goo/GooTimer.h | 1 + goo/gfile.cc | 2 +- poppler/DCTStream.cc | 1 + poppler/DCTStream.h | 1 + poppler/GfxState.cc | 2 +- poppler/Page.cc | 2 +- qt4/src/poppler-annotation.cc | 2 +- 8 files changed, 8 insertions(+), 4 deletions(-) commit 3bca8ddc10bf4291bf0c0e39c67341a05953e949 Author: Jonathan Liu <net147@gmail.com> Date: Tue Aug 10 19:42:40 2010 +0100 Tell windows we are writing/reading binary data Bug #29329 poppler/StdinCachedFile.cc | 9 +++++++++ utils/pdftoppm.cc | 9 +++++++++ 2 files changed, 18 insertions(+) commit bdd617f2177a7836f6b6686fde892664513a32a7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Aug 3 13:05:26 2010 +0200 [glib] Fix a crash when a layer doesn't have a name Fixes bug #28842. glib/poppler-layer.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e9f0646ca664cc27825f7e084f8419fe0de1fcfc Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Aug 3 13:02:52 2010 +0200 Catalog page array might contain NULL for some pages in invalid documents Fixes a crash reproducible with gtk-splash-test when opening document attached to bug #28842. poppler/PDFDoc.cc | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) commit 842209782ca3ba8c1c783cccf565372a18b3fda5 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 30 19:29:12 2010 +0100 Do not crash when using pdftops in some files Fixes crash in file in kde bug 246269. The output is still wrong though fofi/FoFiType1C.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 0dd7c80b7baf2622eb4780a867c4dc6291773f3b Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jul 26 23:58:26 2010 +0100 Do not overwrite the rgb values Recommended by Koji Otani in Re: [poppler] Question about code Passed the regression testing in my files poppler/GfxState.cc | 1 - 1 file changed, 1 deletion(-) commit 627edf88c8f5c073a68bd05990df56e1af547292 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jul 25 13:56:03 2010 +0200 [annots] Fix a crash when adding a new annotation and annots object is an array When annots object is an array instead of a ref, the modified object is actually de page object. poppler/Page.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5d86f9b600b1e10de93bcaf1b925fadbc2a47522 Author: mpsuzuki <mpsuzuki@hiroshima-u.ac.jp> Date: Sat Jul 24 15:12:05 2010 +0100 reindent correctly poppler/TextOutputDev.cc | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) commit d0a6f9abdab88ec43004b6766337db304cbf6a25 Author: Pino Toscano <pino@kde.org> Date: Thu Jul 22 21:28:55 2010 +0200 [CMake] improve the way include dirs and cflags for gdk and gtk are set correctly include_directories() for the include dirs, while add the cflags which are not include dirs as definitions glib/CMakeLists.txt | 5 +++-- glib/demo/CMakeLists.txt | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) commit 02d85dd2cc154dbb6caa04a349532033d833edd1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 20 13:53:56 2010 +0200 [glib-demo] Add support for adding annots in annot demo glib/demo/annots.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) commit 969cb850f5c2bc31de82c591b2b3210b5cfabf5f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 20 13:53:29 2010 +0200 [glib] docs: Add new symbols to poppler-sections.txt glib/reference/poppler-sections.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 251959438b6257fe71ed58e79eec60cda68a66cf Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 20 13:53:00 2010 +0200 [glib] Add poppler_page_add_annot() glib/poppler-document.cc | 7 ++++--- glib/poppler-page.cc | 19 +++++++++++++++++++ glib/poppler-page.h | 2 ++ 3 files changed, 25 insertions(+), 3 deletions(-) commit 78a4f6976e708f2cc23aac49fbff0faf00e74bc3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 20 13:51:16 2010 +0200 [glib] annots: Add several setter methods glib/poppler-annot.cc | 278 ++++++++++++++++++++++++++++++++++++++++++++----- glib/poppler-annot.h | 26 +++++ glib/poppler-private.h | 6 ++ 3 files changed, 285 insertions(+), 25 deletions(-) commit fee488c9db60ab691ce9ff5eef284be2af897aee Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jul 18 11:26:59 2010 +0200 [annots] Add AnnotMarkup::setOpacity poppler/Annot.cc | 8 ++++++++ poppler/Annot.h | 1 + 2 files changed, 9 insertions(+) commit d15a355ede2d8510c4df847ea0b92b5357b29914 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jul 18 09:57:35 2010 +0200 Set the page reference (P in annot dict) when adding a new annot to a page poppler/Annot.cc | 9 +++++++++ poppler/Annot.h | 3 +++ poppler/Page.cc | 2 ++ 3 files changed, 14 insertions(+) commit 49ffb46db3118db874d2d9830bb034762d625c61 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jul 19 16:31:54 2010 +0100 Remove exception support We don't use it and don't even support it properly CMakeLists.txt | 1 - config.h.cmake | 3 --- configure.ac | 4 --- goo/gmem.cc | 56 ++++++++++++------------------------------ goo/gmem.h | 38 +++++++++------------------- poppler/poppler-config.h.cmake | 5 ---- poppler/poppler-config.h.in | 5 ---- 7 files changed, 27 insertions(+), 85 deletions(-) commit dd2e9399868e3dbf2fa4ede050f8d74d29ebbbb4 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jul 19 16:31:43 2010 +0100 add uninstalled.pc to ignore .gitignore | 7 +++++++ 1 file changed, 7 insertions(+) commit d1033006aae381a0f075e02d54638a1af997caf3 Author: Pino Toscano <pino@kde.org> Date: Sat Jul 17 21:46:14 2010 +0200 add FindGObjectIntrospection.cmake and GObjectIntrospectionMacros.cmake to the dist Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit ce8d03950736cc35d035a44a7d88e5f2a9defa74 Author: Pino Toscano <pino@kde.org> Date: Sat Jul 17 21:39:08 2010 +0200 [CMake/glib] add support for gobject-introspection other than a module to find (using pkg-config) gobject-introspection, this adds a macro (gir_add_introspections) to add new introspections in a directory. its working is much similar (even the variable names used) to the Makefile version provided by gobject-repository itself, with the notable difference of a disabled libtool in the g-ir-scanner invocation. the only additional step needed is adding two custom targets, compiled by ALL, which have the gir and the typelib files as dependencies, to make them build with the usual `make all'. CMakeLists.txt | 5 +- cmake/modules/FindGObjectIntrospection.cmake | 61 +++++++++++++++++ cmake/modules/GObjectIntrospectionMacros.cmake | 94 ++++++++++++++++++++++++++ glib/CMakeLists.txt | 36 ++++++++++ 4 files changed, 194 insertions(+), 2 deletions(-) commit 78bf43d8e11aa52db9862af118c597e117d31083 Author: Pino Toscano <pino@kde.org> Date: Sat Jul 17 20:28:58 2010 +0200 [CMake] properly use the glib2 include dirs properly use GLIB2_INCLUDE_DIRS (pkg-config result) for the glib include dirs, while turn GLIB2_CFLAGS into GLIB2_CFLAGS_OTHERS to add the remaining CFLAGS as definitions glib/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6f3082d677bc62aa3f8124132e3e337c01be2629 Author: Pino Toscano <pino@kde.org> Date: Sat Jul 17 19:28:09 2010 +0200 [CMake] split the generated sources of poppler_glib_SRCS in an own poppler_glib_generated_SRCS glib/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2a252dd9b05857bbd10dee235e873886fc74ec17 Author: Pino Toscano <pino@kde.org> Date: Sat Jul 17 14:57:38 2010 +0200 [CMake] add stub message and TODO for the gobject-introspection support CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) commit 8a3d1794a8ef5d525bb454755fec018e3fcb3816 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 16 14:00:32 2010 +0100 update TODO | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 31ac578942b82cbd16b064abca586ccb89dfa7ce Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 15 15:05:10 2010 +0200 Rework ChangeLog generation to fix make distcheck Makefile.am | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) commit 5da5825ecab63089a19aac694826271019a94e6d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 15 15:03:20 2010 +0200 [glib] docs: Add version.xml to content_files var glib/reference/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fe69b474ae63c9d5d2538db9e51e666dd6ea9fb3 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jul 15 10:51:21 2010 +0100 Fix padding of names The previous method returned 2 for documents with 100 pages, which is wrong as 100 needs 3 characters, not 2 utils/pdftoppm.cc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit e265ae2d8a46df00ab1bbd863f01f652068d265f Author: Brian Cameron <brian.cameron@oracle.com> Date: Wed Jul 14 20:26:25 2010 +0100 Add uninstalled .pc file for poppler when using autoconf Makefile.am | 9 ++++++++- configure.ac | 9 ++++++++- poppler-cairo-uninstalled.pc.in | 6 ++++++ poppler-cpp-uninstalled.pc.in | 7 +++++++ poppler-glib-uninstalled.pc.in | 7 +++++++ poppler-qt-uninstalled.pc.in | 7 +++++++ poppler-qt4-uninstalled.pc.in | 7 +++++++ poppler-splash-uninstalled.pc.in | 7 +++++++ poppler-uninstalled.pc.in | 6 ++++++ 9 files changed, 63 insertions(+), 2 deletions(-) commit 552ab99e60fe4068be8e4e415924e4be289e47cd Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 13 10:18:01 2010 +0200 Handle ColorTransform in DCT streams when using libjpeg Fixes bug #28873. poppler/DCTStream.cc | 30 ++++++++++++++++++++++++++++++ poppler/DCTStream.h | 1 + 2 files changed, 31 insertions(+) commit 8a6697f89625106f3c373dbc7b4dc521e22502f7 Author: Hib Eris <hib@hiberis.nl> Date: Sat Jul 3 16:42:04 2010 +0200 Only define findModifier() when used Prevents a warning when building with win32 font backend. poppler/GlobalParams.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b1fdb87a4ebb5079c731256cce1870de8c54c65d Author: Hib Eris <hib@hiberis.nl> Date: Fri Jul 2 10:53:20 2010 +0200 Fix compile warnings on auto imports for mingw compiler cpp/Makefile.am | 2 +- cpp/tests/Makefile.am | 2 ++ glib/Makefile.am | 2 ++ poppler/Makefile.am | 2 +- qt4/demos/Makefile.am | 2 ++ qt4/src/Makefile.am | 2 +- qt4/tests/Makefile.am | 2 ++ 7 files changed, 11 insertions(+), 3 deletions(-) commit 9e577110134eb1e093e697b7504efca759000086 Author: Hib Eris <hib@hiberis.nl> Date: Fri Jul 2 10:51:24 2010 +0200 Check for declaration of gettimeofday() The function gettimeofday() is not declared in ansi mode with the mingw compiler, even though the function exists. Therefore, configure must not only check with AC_CHECK_FUNC, but also with AC_CHECK_DECL. Also, the checks must run in a C++ context because that is where gettimeofday() is used. configure.ac | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 58c8430ac584f3ba5e97aceb148e6287bfc45f95 Author: Hib Eris <hib@hiberis.nl> Date: Wed Jun 30 15:06:44 2010 +0200 Set -ansi compiler flag early in configure.ac The -ansi compiler flag does not enable warnings, but turns of certain features of GCC. To force feature tests to use this flag, it should be set early in configure.ac This is important for the mingw compiler where header files refrain from declaring certain function (e.g. gettimeofday()) when the -ansi flag is set. configure.ac | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit e3663a855a9c86f0a3988a7a50fa40d37d0ea069 Author: Hib Eris <hib@hiberis.nl> Date: Fri Jul 2 14:45:15 2010 +0200 Use MAX_PATH instead of _MAX_PATH everywhere _MAX_PATH is compiler specific and not availble with the mingw compiler in ansi mode. MAX_PATH is in the Windows api and thus always available when windows.h is included. goo/gfile.cc | 4 ++-- poppler/GlobalParams.cc | 2 +- poppler/PDFDoc.cc | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 7227c407d23a37f5d95e6c01cb7411be2f82ca85 Author: Hib Eris <hib@hiberis.nl> Date: Wed Jun 30 16:15:06 2010 +0200 Check for _WIN32 instead of _MSC_VER goo/GooTimer.cc | 6 +++--- goo/GooTimer.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit 34e727e011529be312313a1f4d4fa1ba9c545888 Author: Hib Eris <hib@hiberis.nl> Date: Tue Jun 29 16:43:31 2010 +0200 Fix cross compiling for Windows with autotools When cross compiling for Windows with autotools, libtool creates libpoppler_qt4_la-poppler-optcontent.lo instead of poppler-optcontent.lo. Thus, explicitly using poppler-optcontent.lo to create poppler-optcontent.moc does not work well. qt4/src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1bc2f4501ea4e56ca99ae4d94d6cf34cf33c2c7a Author: Hib Eris <hib@hiberis.nl> Date: Tue Jun 29 15:34:22 2010 +0200 define poppler_qt4_EXPORTS when building with autotools Lets you build the qt4 bindings for Windows with automake/autoconf. qt4/src/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit 5825114a26cc6eece2e556063f640dda53ea1e11 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jul 11 12:24:20 2010 +0100 Compile++ glib/demo/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 5e4d8eeea0b9dba68420c164975418c76a53be85 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jul 10 15:54:28 2010 +0200 [pdf-inspector] Do not render for printing test/pdf-inspector.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e6824972a213a888ca0185b7ae0a75fc23f75797 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jul 10 15:52:15 2010 +0200 [annots] Use a transparency group for markup annots without AP and opacity != 1 Fixes bug #623616. poppler/Annot.cc | 346 +++++++++++++++++++++++++------------------------------ poppler/Annot.h | 3 + poppler/Gfx.cc | 9 +- poppler/Gfx.h | 2 +- 4 files changed, 165 insertions(+), 195 deletions(-) commit 70ce0b6ea1a0d61f5048d2ae49c639d74a643b29 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 9 17:04:00 2010 +0200 [annots] Clamp QuadPoints coords to annot rectangle instead of ignore points Fixes appearance stream generation for document attached to bug #623616. poppler/Annot.cc | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) commit 8a9e561bfe64f71e9f38c43e5c6be7e5069b2349 Author: Hib Eris <hib@hiberis.nl> Date: Fri Jul 2 21:07:53 2010 +0200 Nicer autogen.sh output autogen.sh | 1 + 1 file changed, 1 insertion(+) commit ce4d328294cea73f4b7368691dc1fed6bd45d569 Author: Hib Eris <hib@hiberis.nl> Date: Fri Jul 2 20:51:47 2010 +0200 Add option for autogen.sh to skip configure If you do not want to automatically run configure when calling autogen.sh, run it with: $ NOCONFIGURE=1 ./autogen.sh This feature is modeled after gnome-autogen.sh behaviour. autogen.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit d7ee87c5d0a35c8d4fcc88bde4b8496c49f397c6 Author: Hib Eris <hib@hiberis.nl> Date: Tue Jul 6 15:16:08 2010 +0100 warnings-=2 poppler/GfxFont.cc | 3 ++- utils/HtmlOutputDev.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 1e7f457ca1617fd8c958feef8dd7e694476dedd9 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 9 12:29:14 2010 +0200 [cairo] Use ceil to convert double to int in tilingPatternFill() Fixes rendering of page 2 of document attached to bug #28954. poppler/CairoOutputDev.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 91a7605eb51144f2e7dea69aa9454fff47c49bd2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 9 11:42:56 2010 +0200 [glib] Fix build when GDK is enabled glib/test-poppler-glib.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 09e3e0e9c5134688c4ed2af5cd3a12aa2986474c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 8 18:56:38 2010 +0200 [glib] Fix poppler_page_find_tex() when called more than once Fixes bug #27927 glib/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25427bdecb219ffe6f0592d2ac36de60c247bfd9 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 8 17:46:22 2010 +0200 Fix build when compiling without glib frontend configure.ac | 1 + 1 file changed, 1 insertion(+) commit 550684731356a66753ec19f5a8ca4b572db6d2d5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 8 17:16:02 2010 +0200 [glib-demo] Add selections demo glib/demo/Makefile.am | 2 + glib/demo/main.c | 4 +- glib/demo/selections.c | 687 +++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/selections.h | 31 +++ 4 files changed, 723 insertions(+), 1 deletion(-) commit b257428150e2c13dcc24fd8f75e4ee2c679ab414 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 8 14:45:29 2010 +0200 [glib] Add poppler_page_get_selected_text() And change poppler_page_get_text() to return the text of the whole page. For consistency with poppler_page_get_selection_region() get_seletect_text() doesn't invert the y coords as get_text() did. This change breaks the API. Users of poppler_page_get_text should: - Use the new poppler_page_get_text() if they want the text of the whole page - Use poppler_page_get_selected_text() if they want the text of the selected area. In this case they shouldn't invert the y coords anymore before calling the method. glib/demo/text.c | 9 +------- glib/poppler-page.cc | 43 +++++++++++++++++++++++++++---------- glib/poppler-page.h | 3 ++- glib/reference/poppler-sections.txt | 1 + 4 files changed, 36 insertions(+), 20 deletions(-) commit bedc88225c948ad1288b69c6c106adce36233442 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 7 11:55:47 2010 +0200 [cairo] Fix warning on signed/unsigned comparison poppler/CairoFontEngine.cc | 12 ++++++------ poppler/CairoFontEngine.h | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) commit 092aa901b9ec35a48bc1fb229ad16a3b00eef5f2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jul 5 11:16:49 2010 +0200 [glib] docs: add some more introspection annotations glib/poppler-attachment.cc | 4 ++-- glib/poppler-document.cc | 12 ++++++------ glib/poppler-media.cc | 4 ++-- glib/poppler-page.cc | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) commit 6c4e14fd90d5ef2d6670a980ab2476b6fab58df7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jul 5 10:49:59 2010 +0200 [glib] docs: fix POPPLER_CHECK_VERSION() docs glib/poppler-features.h.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit ed324a867ecf1f616c4b2dc575f01d5cf1b67c38 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 2 18:28:45 2010 +0200 [glib] Rename instrospection files as 0.16 instead of 0.14 glib/Makefile.am | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit a55f567ff1ea0858eda13a024ed765a016f3bff0 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 2 18:23:03 2010 +0200 [glib] docs: Remove unneeded empty line in doc comment glib/poppler-features.h.in | 1 - 1 file changed, 1 deletion(-) commit f16015303422280eaa21c3144eca0f1a330dce8a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 2 18:19:13 2010 +0200 [glib] docs: Add GObject introspection annotations glib/poppler-annot.cc | 45 ++++++++++++++++++++-------------------- glib/poppler-document.cc | 8 +++---- glib/poppler-page.cc | 23 +++++++++++++------- glib/reference/poppler-docs.sgml | 2 ++ 4 files changed, 43 insertions(+), 35 deletions(-) commit 60242038e4dce7f0c90f2bfa0e771120247dbc9d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 09:35:29 2010 +0200 [glib] Add GObject introspection support configure.ac | 5 +++ glib/Makefile.am | 29 +++++++++++++++++ m4/introspection.m4 | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 128 insertions(+) commit 3160950a7d7161457405c9084c31af230329b3f0 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 2 12:47:04 2010 +0200 [glib] docs: Add index of deprecated symbols glib/reference/poppler-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 593db7acf6edce1267f69d12310bf4098ff24c97 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 2 12:44:39 2010 +0200 [glib] docs: deprecate GDK API glib/poppler-page.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit 6facefb3fa8f97a9d330545308fb2d89c7f57fa0 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 1 18:01:45 2010 +0200 [glib] docs: Add index of new symbols for versions 0.12, 0.14 and 0.16 glib/poppler-action.h | 10 +++++++--- glib/poppler-annot.cc | 17 +++++++++++++++++ glib/poppler-date.cc | 2 ++ glib/poppler-document.cc | 16 +++++++++++++++- glib/poppler-layer.cc | 12 ++++++++++++ glib/poppler-media.cc | 14 ++++++++++++-- glib/poppler-media.h | 3 +++ glib/poppler-movie.cc | 6 ++++++ glib/poppler-page.cc | 2 ++ glib/reference/poppler-docs.sgml | 12 ++++++++++++ 10 files changed, 88 insertions(+), 6 deletions(-) commit 166b78c0ce8a4536873c4f60b392c24c8a68e7aa Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 1 17:25:03 2010 +0200 [glib] docs: document PopplerMediaSaveFunc glib/poppler-media.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 5cc0a51f88580c65ac2d5c6ff02b8cf14697b70c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 1 17:20:13 2010 +0200 [glib] Use the same name for parameter in function prototype glib/poppler-media.h | 10 +++++----- glib/poppler-movie.h | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) commit 6793fd8fd2d33d3d58c6556b5dbe6d0497e56646 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 1 15:49:49 2010 +0200 [glib] docs: document some enums in poppler-action glib/poppler-action.h | 92 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) commit 8e139696dbe19f54ad54364a711b929146f11080 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 1 15:02:58 2010 +0200 [glib] docs: mark structures in poppler-private.h as private glib/poppler-private.h | 7 +++++++ 1 file changed, 7 insertions(+) commit ccae7e574047d66c638003cc36fa1edeef4d35ed Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 1 14:59:50 2010 +0200 [glib] docs: document PopplerDocument enums glib/poppler-document.h | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) commit 4fbff172693c38cdc4ae8070a55ceb706aa213cd Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 1 14:26:53 2010 +0200 [glib] docs: document PopplerFontInfo glib/poppler-document.cc | 106 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) commit 465dd4897ff603a6fd96503cf4746fc808b0f827 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 1 12:59:39 2010 +0200 [glib] docs: document some enums glib/poppler.h | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) commit de3d599ea9e948867cfe395f42ed659670110c4c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 1 12:31:10 2010 +0200 [glib] docs: document boxed types defined in poppler-page glib/poppler-page.cc | 147 +++++++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-page.h | 79 +++++++++++++++++++++++++++ 2 files changed, 226 insertions(+) commit 34c52190e1dbf4d3effa44b4408faa1fbae0d12d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 1 09:33:08 2010 +0200 [glib] Remove splash header file glib/poppler-page.cc | 1 - 1 file changed, 1 deletion(-) commit 6910545a487f206ccd059bb295d2312228dbf2ba Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 19:03:04 2010 +0200 [glib] docs: Remove invalid symbol from poppler-sections.txt glib/reference/poppler-sections.txt | 1 - 1 file changed, 1 deletion(-) commit 65ea3b636cb5a38660e526a483a4d95f5acdf8db Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 19:02:32 2010 +0200 [glib] docs: fix typo glib/poppler-form-field.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 689bfec40b5b3030c2819cb4aac42c3ab6279278 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 19:01:47 2010 +0200 [glib] docs: Add missing doc for parameter glib/poppler-document.cc | 1 + 1 file changed, 1 insertion(+) commit 0b3d77627f255a4bf3da6ee875ad8d9eb931c96e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 19:00:59 2010 +0200 [glib] Use the same name for parameter in function prototype glib/poppler-page.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 19e1944c00ac2da6b18b015721fc3a8d1898a23a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 18:01:52 2010 +0200 [glib] docs: Add media and movie to docs glib/poppler-media.cc | 6 ++++++ glib/poppler-movie.cc | 6 ++++++ glib/reference/poppler-docs.sgml | 3 ++- 3 files changed, 14 insertions(+), 1 deletion(-) commit ca48bee07e6b4a20ea7b40b472a335e75feb4739 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 17:56:50 2010 +0200 [glib] docs: Add missing types to poppler.types glib/reference/poppler.types | 4 ++++ 1 file changed, 4 insertions(+) commit 613ccf81317a007ed5017ee788466613a6699bb5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 17:54:22 2010 +0200 [glib] docs: rework poppler-sections.txt - Better organization of sections and contents - Use of Standard and Private subsections - Add missing sections - Remove enums section glib/reference/poppler-sections.txt | 424 +++++++++++++++++++++++++----------- 1 file changed, 295 insertions(+), 129 deletions(-) commit b37556a32b79f8711ed7eca24abf19511872a70a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 12:01:44 2010 +0200 [glib] docs: Add index of symbols glib/reference/poppler-docs.sgml | 5 +++++ 1 file changed, 5 insertions(+) commit 7f5fa4e19b4e324a396d64261b9125c1a557ac84 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 12:00:35 2010 +0200 [glib] docs: Add version information configure.ac | 1 + glib/reference/Makefile.am | 2 +- glib/reference/poppler-docs.sgml | 7 ++++++- glib/reference/version.xml.in | 1 + 4 files changed, 9 insertions(+), 2 deletions(-) commit 848d5e158fa9eadd19a658db314ba3fff9d026e8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 30 11:30:41 2010 +0200 [glib] docs: do not use gtk-doc templates configure.ac | 2 +- glib/poppler-action.cc | 6 + glib/poppler-annot.cc | 6 + glib/poppler-attachment.cc | 6 + glib/poppler-attachment.h | 16 + glib/poppler-document.cc | 8 + glib/poppler-features.h.in | 59 ++++ glib/poppler-form-field.cc | 6 + glib/poppler-layer.cc | 6 + glib/poppler-page.cc | 6 + glib/reference/tmpl/poppler-action.sgml | 216 ------------ glib/reference/tmpl/poppler-annot.sgml | 377 --------------------- glib/reference/tmpl/poppler-attachment.sgml | 68 ---- glib/reference/tmpl/poppler-document.sgml | 410 ----------------------- glib/reference/tmpl/poppler-enums.sgml | 246 -------------- glib/reference/tmpl/poppler-features.sgml | 83 ----- glib/reference/tmpl/poppler-form-field.sgml | 318 ------------------ glib/reference/tmpl/poppler-layer.sgml | 83 ----- glib/reference/tmpl/poppler-page.sgml | 483 --------------------------- glib/reference/tmpl/poppler-private.sgml | 148 -------- glib/reference/tmpl/poppler-unused.sgml | 8 - glib/reference/tmpl/poppler.sgml | 285 ---------------- glib/reference/tmpl/stamp-poppler-enums.sgml | 22 -- gtk-doc.make | 78 +++-- m4/gtk-doc.m4 | 2 +- 25 files changed, 171 insertions(+), 2777 deletions(-) commit 16e15ac845206217086e2adac9f220e75c0c630d Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 29 21:44:02 2010 +0100 bitmap can be null at this stage, check it isn't poppler/JBIG2Stream.cc | 3 +++ 1 file changed, 3 insertions(+) commit 38e5d28a184d0ca8df71a7ea910ce85d7a225e4e Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jun 21 20:38:00 2010 +0100 more pow 0.5 -> sqrt poppler/GfxState.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 58a53ca0a4e8434e8478f8fe121067dcf05c017d Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jun 21 19:24:20 2010 +0100 sqrt is much faster than pow 0.5 poppler/GfxState.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bf86a9fc464aca57ebec207a213dcc2cc6031940 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jun 21 19:20:47 2010 +0100 introduce getChars to save some method calls Can give us a decent speedup when we go a lot though this methods poppler/Catalog.cc | 12 +---- poppler/DCTStream.cc | 51 ++++++++++++++------ poppler/DCTStream.h | 3 ++ poppler/GfxFont.cc | 22 ++------- poppler/GfxState.cc | 30 ++++-------- poppler/JPEG2000Stream.cc | 67 +++++++------------------- poppler/JPEG2000Stream.h | 38 ++++++++++++++- poppler/Link.cc | 14 ++---- poppler/Object.h | 4 ++ poppler/Stream.cc | 90 +++++++++++++++++++---------------- poppler/Stream.h | 118 +++++++++++++++++++++++++++++++++++++++++++++- 11 files changed, 279 insertions(+), 170 deletions(-) commit 65c14073a3b1035ca5fe3bd6667abd315272841e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jun 21 17:19:22 2010 +0200 Reduce pow operations in GfxCalRGBColorSpace::getXYZ() We were doing the same pow operation 3 times!. It makes document attached to bug #28591 render a little faster. poppler/GfxState.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 9365c05c1f66b3000febf32c45cef2ffe79e041a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jun 19 10:36:39 2010 +0200 [glib] Fix links/annots area for rotated documents with page CropBox not starting at 0,0 Fixes bug #28588. glib/poppler-page.cc | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) commit d9504c0a288c84b68a516f715505d6bc94b911f5 Author: Pino Toscano <pino@kde.org> Date: Fri Jun 18 23:59:04 2010 +0200 [autotools] link the 'cpp' tests against libpoppler as well ... this way gatof() can be found correctly should fix bug #28605 cpp/tests/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 62975737bcaa6e0a2ecab981aa3e0c8f2ff10571 Author: Brian Cameron <brian.cameron@oracle.com> Date: Fri Jun 18 19:22:17 2010 +0100 Compile with Sun Studio goo/ImgWriter.h | 3 ++- goo/JpegWriter.h | 3 ++- poppler/SplashOutputDev.cc | 6 ++++++ 3 files changed, 10 insertions(+), 2 deletions(-) commit 7cbe3d1521aea8b484efb8663e75684e05b6fb61 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jun 17 23:01:21 2010 +0100 Optimize Splash::compositeBackground Optimization takes into account the two most common cases, the pixel not being painted at all (alpha == 0) meaning we just copy the paperColor and the pixel being opage meaning we have to do nothing splash/Splash.cc | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) commit f323e5e4cdcc20075ee7c722f7adc088c0772249 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jun 17 22:59:37 2010 +0100 Check the objects are num before reading them Might have caused the kde bug #241995 poppler/GfxState.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 35e87d2062b1d82db0d765de5a6187122a0fa99c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 16 11:52:25 2010 +0200 [gib-demo] Add demo for poppler_page_get_text_layout() glib/demo/text.c | 182 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 164 insertions(+), 18 deletions(-) commit ddcea568b3a7334e062d6214f43d0a2c2ec95be4 Author: Daniel Garcia <danigm@yaco.es> Date: Tue Jun 15 16:57:32 2010 +0200 [glib] Add poppler_page_get_text_layout() Returns an array of PopplerRectangle items and each Rectangle is a text character position. The position in this array represent the offset in text returned by poppler_page_get_text glib/poppler-page.cc | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-page.h | 4 ++- 2 files changed, 94 insertions(+), 1 deletion(-) commit 6e9fe8832c37b560ac4d0b0e32d618bde70ee117 Author: Pino Toscano <pino@kde.org> Date: Wed Jun 16 00:22:59 2010 +0200 [Qt4] and support 'Print' named action here too... qt4/src/poppler-annotation.cc | 2 ++ 1 file changed, 2 insertions(+) commit 53c003f36af5d77f50fe238eaec4c5f7c3a485c7 Author: Pino Toscano <pino@kde.org> Date: Wed Jun 16 00:18:13 2010 +0200 [CMake] install the new goo/GooLikely.h CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 2ba752aabc8dad4bb35a351697b1590795c54ca4 Author: Pino Toscano <pino@kde.org> Date: Wed Jun 16 00:06:30 2010 +0200 update copyrights qt4/src/poppler-link.h | 3 ++- qt4/src/poppler-page.cc | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) commit 38bf54bbad40288be763c6a1a89d90477c9ef89d Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 15 23:05:43 2010 +0100 move the declaration of likely/unlikely to an own file in goo/ goo/GooLikely.h | 22 ++++++++++++++++++++++ goo/Makefile.am | 1 + poppler/Object.h | 9 +-------- splash/Splash.cc | 4 +--- 4 files changed, 25 insertions(+), 11 deletions(-) commit 9838edf8c7497858e3bac2743784a3259f61cfdd Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 15 22:54:34 2010 +0100 Protect us against negative y coordinates Happens very rarely, like in bug 28480 splash/Splash.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 8b32c3e9826d4462fd9d16fab4200ebb23251046 Author: Pino Toscano <pino@kde.org> Date: Tue Jun 15 23:55:01 2010 +0200 [Qt4/apidox] ok, now the *proper* version for 'Print'... qt4/src/poppler-link.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b54e5ac49f69bd1c906e517edcb436e042199cd5 Author: Pino Toscano <pino@kde.org> Date: Tue Jun 15 23:53:50 2010 +0200 [Qt4/apidox] add the proper version for the new 'Print' qt4/src/poppler-link.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 71ad18c3b6b73e23d71600d07ce00bdfaf0bef60 Author: Pino Toscano <pino@kde.org> Date: Tue Jun 15 23:51:01 2010 +0200 [Qt4] recognize the 'Print' named action here too qt4/src/poppler-annotation.cc | 3 +++ 1 file changed, 3 insertions(+) commit 96f60f2748ba76de0d296a9838dbd7181f506e36 Author: Guillermo Amaral <gamaral@kdab.com> Date: Tue Jun 15 23:47:46 2010 +0200 [Qt4] recognize 'Print' as name in named actions qt4/src/poppler-link.h | 3 ++- qt4/src/poppler-page.cc | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) commit 25494311c5b8eb88d43df420ec91a1aedad20d05 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 15 17:44:23 2010 +0200 [glib] Add some G_UNLIKELY() glib/poppler-document.cc | 12 ++++++------ glib/poppler-page.cc | 17 ++++++++++------- 2 files changed, 16 insertions(+), 13 deletions(-) commit 52f133fb962256edb577b7f639c5c13221c6365d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 15 14:20:49 2010 +0200 [glib] Use g_slice for actions and destinations glib/poppler-action.cc | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit f035c94d8b5b34c0c3bb47b8cfc2f9c720a4fc71 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 15 14:01:07 2010 +0200 [glib] Use g_slice_dup in _copy() function for iterators glib/poppler-document.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit c84f69681828c7e3b969f666f9b84f1531976c6f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 15 13:57:18 2010 +0200 [glib] Use g_slice for mappings and PopplerRectangle glib/poppler-page.cc | 50 ++++++++++++++++++-------------------------------- 1 file changed, 18 insertions(+), 32 deletions(-) commit e12b9ab105f3b56b47ded871693b939ed421c853 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 15 13:49:27 2010 +0200 [glib] Use poppler_image_mapping_free() instead of g_free() glib/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb791a15f7472042fb2174e6f5df6924dd4eeb9b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 15 13:37:52 2010 +0200 [glib] Remove poppler_mapping_free and use poppler_link_mapping_free instead glib/poppler-page.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 6186d7220e545eb89597626933a10acd0cd25173 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 15 13:16:59 2010 +0200 [glib] Use _new() methods instead of g_new() to create boxed structs glib/poppler-page.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 44639cb7b10ab6d66122ae2b6b7f3e5745f933bd Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 15 10:39:00 2010 +0200 [glib-demo] Use poppler_rectangle_free() instead of g_free() glib/demo/find.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ca304f3837af27ae49541a5f441d8729264a945 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jun 14 19:16:41 2010 +0100 Add more caching to ObjectStreams Makes opening of file from bug 26759 ten times faster poppler/XRef.cc | 62 ++++++++++++++++++++++++++++++++++++++++++++++++--------- poppler/XRef.h | 4 ++-- 2 files changed, 55 insertions(+), 11 deletions(-) commit cc2e5f190e19ee8169f67df2541302a2816873d3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jun 14 18:17:01 2010 +0200 [glib-demo] Support password protected documents glib/demo/main.c | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 170 insertions(+), 5 deletions(-) commit 34b2dbb6bbaf0189c92eea6b7924999ab2b6ad11 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jun 14 17:41:51 2010 +0200 [glib-demo] Remove GLIB_CHECK_VERSION(), we already depend on glib 2.18 glib/demo/attachments.c | 5 ----- glib/demo/main.c | 32 +------------------------------- 2 files changed, 1 insertion(+), 36 deletions(-) commit a52670a46c0561025d8b86cd2865603f0720c695 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 13 15:31:15 2010 +0100 do not distribute these two files they are generated on configure/cmake time and depend on the machine glib/Makefile.am | 7 +++---- poppler/Makefile.am | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) commit eb0206ba8458f1dba004ac7bef856dcbb2ccbba5 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 9 18:56:16 2010 +0100 we need to ship these two files Bug 28458 Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 7dfdf1ee293b7d36a049a90d8a17462ed0e50f2c Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 8 21:54:52 2010 +0100 Typo-- utils/pdftoppm.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 57cc04ee1a122794b338c0d9818dbdaea46a42d6 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 8 21:49:40 2010 +0100 Add cropbox to the manpage utils/pdftoppm.1 | 3 +++ 1 file changed, 3 insertions(+) commit f9e6cb9647981f7afbb20261b3ccedaf003657d2 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 8 20:43:11 2010 +0100 0.14.0 CMakeLists.txt | 4 ++-- NEWS | 18 ++++++++++++++++++ configure.ac | 4 ++-- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 24 insertions(+), 6 deletions(-) commit 963afdc39153fee69ecb939c98deeef4f64638de Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 8 20:29:58 2010 +0100 libpoppler-qt4.so.3.2.0 -> libpoppler-qt4.so.3.3.0 qt4/src/CMakeLists.txt | 2 +- qt4/src/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c1629be8011f3bddbf619246090640d62136d521 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 8 20:23:00 2010 +0100 Increase soname as _PopplerActionMovie struct grew glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5ef45b1e72aed88ece0905b1204edee641f3c8fc Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 8 19:35:20 2010 +0100 Do not exit when trying to allocate memory for the XRef fails See bug 28406 poppler/XRef.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit e7a5e9f70ee1283a2ca6734552d905279c97989b Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jun 4 08:46:33 2010 +0100 a bit of docu poppler/Object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ff4dab2558f7c2700fd7fcaccacdad9619dbdda Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jun 4 08:44:34 2010 +0100 Add support for unsigned integer numbers So files store their P as a 32 bit unsigned instead of as a 32 bit signed, making us to overflow our objInt parsing and rejecting to open the file, this patch introduces objUint that only happens when the number is not real, does not fit in a 32 bit integer but still fits in a 32 bit unsigned integer poppler/Lexer.cc | 32 +++++++++++++++++++++++++------- poppler/Object.cc | 5 ++++- poppler/Object.h | 14 +++++++++++--- poppler/SecurityHandler.cc | 22 ++++++++++++++++++++++ 4 files changed, 62 insertions(+), 11 deletions(-) commit 41e9af7f505dbfbda36f6ac97df90f2a42ab3160 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 1 21:40:07 2010 +0100 If the document is not encrypted it is ok to print poppler/XRef.cc | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit b15c793a8a58b17a7fe7b32c1037726e1e0e1bf0 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 1 20:57:16 2010 +0100 Check it is a stream, not that it is not none People is reporting aborts, e.g. KDE bug 240208 but can not check if this really fixes it since he can not share the document poppler/Lexer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a72c68117ba05f3934e2df227cdcaf53a375f0ce Author: Pino Toscano <pino@kde.org> Date: Fri May 28 18:11:02 2010 +0200 [cpp apidox] add a start of API documentation for the 'page' class cpp/poppler-page.cpp | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit acf7729e8e270e1b4b2a552272dc280ae6d7b352 Author: Pino Toscano <pino@kde.org> Date: Fri May 28 17:38:35 2010 +0200 [cpp] fix the font_iterator current page status cpp/poppler-font.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 4e017ff24a01cbbf1b39eedc3d7697f8b180fdd9 Author: Pino Toscano <pino@kde.org> Date: Fri May 28 17:15:28 2010 +0200 [cpp apidox] add API documentation for the 'font_info' and 'font_iterator' classes cpp/poppler-font.cpp | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) commit 2ff840b62e41e2fc98e9fcff7330f40216de58a5 Author: Pino Toscano <pino@kde.org> Date: Fri May 28 14:34:37 2010 +0200 [cpp] move the actual convert_date(const char*) implementation in the detail this way it is possible to call it from inside poppler-cpp without an implicit conversion to std::string cpp/poppler-document.cpp | 2 +- cpp/poppler-embedded-file.cpp | 4 ++-- cpp/poppler-global.cpp | 23 ++--------------------- cpp/poppler-private.cpp | 25 +++++++++++++++++++++++++ cpp/poppler-private.h | 2 ++ 5 files changed, 32 insertions(+), 24 deletions(-) commit 8112e9111313eaded4cd2e89d0e67efb0f3e29db Author: Pino Toscano <pino@kde.org> Date: Fri May 28 13:13:50 2010 +0200 [cpp] add a time_type typedef ... defined as unsigned int, and use it all around (it changes nothing for client code) cpp/poppler-document.cpp | 8 ++++---- cpp/poppler-document.h | 2 +- cpp/poppler-embedded-file.cpp | 4 ++-- cpp/poppler-embedded-file.h | 4 ++-- cpp/poppler-global.cpp | 4 ++-- cpp/poppler-global.h | 4 +++- 6 files changed, 14 insertions(+), 12 deletions(-) commit bc5bdb43b12437e00aaddc27a74b9ac4b6498446 Author: Pino Toscano <pino@kde.org> Date: Fri May 28 13:01:53 2010 +0200 use the proper type for iterating on a GooVector poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 87128ab0dfec6be1a034361512ee41301b078831 Author: Maciej Mrozowski <reavertm@gmail.com> Date: Thu May 27 17:31:00 2010 +0200 [CMake] Do not force -O2, preserve compiler flags instead. cmake/modules/PopplerMacros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 241c338facb45641ef1a271c904355a014bbf28d Author: Albert Astals Cid <aacid@kde.org> Date: Thu May 27 20:37:55 2010 +0100 Allow quality & progressive mode to be utilised in JpegWriter goo/JpegWriter.cc | 15 +++++++++++++-- goo/JpegWriter.h | 4 ++++ splash/SplashBitmap.cc | 18 +++++++++--------- splash/SplashBitmap.h | 4 ++++ 4 files changed, 30 insertions(+), 11 deletions(-) commit 9eda6e8aaae412a9882141d1b5b8c7bf0c823c68 Author: Albert Astals Cid <aacid@kde.org> Date: Tue May 25 23:44:30 2010 +0100 Do not follow loops blindly Fixes crash in pdf in bug 28172 poppler/XRef.cc | 21 +++++++++++++++------ poppler/XRef.h | 7 ++++--- 2 files changed, 19 insertions(+), 9 deletions(-) commit bbee6e0c8c9b181f8d19c167c867d74a765685fb Author: Albert Astals Cid <aacid@kde.org> Date: Tue May 25 23:13:38 2010 +0100 update copyright poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 80b72b9f2fd70395580205b8b176e0576e132cf5 Author: Hib Eris <hib@hiberis.nl> Date: Wed May 26 13:07:57 2010 +0200 [autotools] sync autotool build with cmake build In addition to commit 69c2cf76cef9c190ac07726f60f1dccd3df5cb6d poppler/poppler-config.h.in | 4 ++++ 1 file changed, 4 insertions(+) commit 30ea3ab8a1eecafb3366aef193910098fdb7ccc8 Author: Albert Astals Cid <aacid@kde.org> Date: Tue May 25 23:07:56 2010 +0100 Fix crash when parsing pdf in bug 28170 This code is a can of crashing worms :-7 poppler/JBIG2Stream.cc | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit b5a9021037c4e6cbbfd622433f3de693d1f47671 Author: Albert Astals Cid <aacid@kde.org> Date: Tue May 25 20:00:57 2010 +0100 0.13.4 CMakeLists.txt | 2 +- NEWS | 16 ++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- glib/reference/tmpl/poppler-action.sgml | 5 +++++ glib/reference/tmpl/poppler-annot.sgml | 18 ++++++++++++++++++ glib/reference/tmpl/poppler-attachment.sgml | 3 +++ glib/reference/tmpl/poppler-document.sgml | 5 +++++ glib/reference/tmpl/poppler-enums.sgml | 17 +++++++++++++++++ glib/reference/tmpl/poppler-features.sgml | 3 +++ glib/reference/tmpl/poppler-form-field.sgml | 3 +++ glib/reference/tmpl/poppler-layer.sgml | 4 ++++ glib/reference/tmpl/poppler-page.sgml | 13 +++++++++++++ glib/reference/tmpl/poppler-private.sgml | 3 +++ glib/reference/tmpl/poppler.sgml | 6 ++++++ glib/reference/tmpl/stamp-poppler-enums.sgml | 3 +++ qt4/src/Doxyfile | 2 +- 17 files changed, 103 insertions(+), 4 deletions(-) commit 57ab0ebe993d79fe551bba58e0a70d55d32828f8 Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 12 20:49:31 2010 +0100 better copyright poppler/strtok_r.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 69c2cf76cef9c190ac07726f60f1dccd3df5cb6d Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 12 20:47:25 2010 +0100 mingw does not provide strtok_r Copy the glibc implementation CMakeLists.txt | 1 + poppler/Makefile.am | 1 + poppler/poppler-config.h.cmake | 4 + poppler/strtok_r.cpp | 189 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 195 insertions(+) commit 9e9b5e0d87a7450bd2223538673321ecec720c36 Author: Marek Kasik <mkasik@redhat.com> Date: Tue May 11 12:06:17 2010 +0200 Better check of overlapping of table cells when selecting text Add check for overlapping of upper right cell with lower left cell of assumed table (related to #3188). poppler/TextOutputDev.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a3e40b460b7690ef73ccf143b10da07e91d9ee7f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon May 10 17:41:04 2010 +0200 [annots] Adjust bbox for line annots when y1 = y2 Some documents like pdf_commenting_new.pdf, have y1 = y2 but line_width > 0, acroread renders the lines in such cases even though the annot bbox is empty. poppler/Annot.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) commit e30d24c506a9ff742f8af5d6c71273abeddaa265 Author: Pino Toscano <pino@kde.org> Date: Tue May 4 15:19:26 2010 +0200 [cpp] ustring::{from,to}_utf8(): fix in/out buffer sizes cpp/poppler-global.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit aaa19a673020e12dbfceb4d25ade0ece7875fd83 Author: Pino Toscano <pino@kde.org> Date: Tue May 4 12:07:43 2010 +0200 [cpp] make the pkg-config files really working poppler-cpp.pc.cmake | 6 +++++- poppler-cpp.pc.in | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) commit 8f963ccde41ef1faa719254fccc5bdfe75e9fa87 Author: Patrick Spendrin <ps_ml@gmx.de> Date: Sun May 2 18:42:10 2010 +0200 Windows: define strtok_r as strtok_s poppler/poppler-config.h.cmake | 4 ++++ poppler/poppler-config.h.in | 4 ++++ 2 files changed, 8 insertions(+) commit c9d8df51c96e50ad72f7954baba2254259fc894c Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 1 19:52:51 2010 +0100 2010 in these copyrights poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9ce71fb35fdd66c55872956432160a5c76a62080 Author: Jakub Wilk <ubanus@users.sf.net> Date: Sat May 1 19:50:54 2010 +0100 Use strtok_r instead strtok strtok is not thread safe fofi/FoFiType1.cc | 8 +++++--- poppler/CharCodeToUnicode.cc | 6 ++++-- poppler/GlobalParams.cc | 6 ++++-- poppler/PDFDoc.cc | 4 +++- poppler/UnicodeMap.cc | 21 ++++++++++++++++++--- 5 files changed, 34 insertions(+), 11 deletions(-) commit 6b2983f89e87792a393880dab6dc1fedb748db2c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Apr 30 14:48:50 2010 +0200 [cairo] Set device offset and matrix to smask depending on the group target It seems to fix all of my test cases. Fixes bug #27208. poppler/CairoOutputDev.cc | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit ac32021704178721ee007a6b6831283e323e500f Author: Pino Toscano <pino@kde.org> Date: Fri Apr 30 01:14:14 2010 +0200 demote the #warning to a simple FIXME comment poppler/ArthurOutputDev.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 8c1bc17552c989c15f318d9d109607a9a594ca6b Author: Pino Toscano <pino@kde.org> Date: Fri Apr 30 01:12:19 2010 +0200 MSVC: define fmax() and fmin() MSVC does not provide those functions, so we need to define them to the existing max()/mix() macros. Thanks to Patrick Spendrin for the hint! poppler/poppler-config.h.cmake | 5 +++++ poppler/poppler-config.h.in | 5 +++++ 2 files changed, 10 insertions(+) commit 71063d51a45835b0267a7e3f823ef49689cfd06f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Apr 29 20:28:07 2010 +0200 Make sure we are drawing text before calling endTextObject() This is actually the right fix for the previous commit. poppler/Gfx.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit e909219d8e92994bd52976f9676015fa6ca9fc91 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Apr 29 18:34:22 2010 +0200 Set textHaveCSPattern=false again before filling the pattern in opEndText() Fixes cairo backend regressions caused by commit ccf238b32e236f69c0507a5421ac2649dfa8d865. poppler/Gfx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 29572d6ac7829b60efce2d8e489473c55e370f26 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 27 23:39:23 2010 +0100 fabs for doubles poppler/TextOutputDev.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 4905e2bd764ea601e3bf9c5195c740e5bf186af5 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 27 23:34:34 2010 +0100 fix include splash/SplashBitmap.cc | 1 + 1 file changed, 1 insertion(+) commit f9f0e4b747a1527bd6354897cdba7954d58651de Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 27 14:26:23 2010 +0200 Fix first color stop offset of linear gradients Fixes bug #27837. poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5b822011029f3721fbafd4a7bf01b9d6fee35d25 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 24 18:18:08 2010 +0200 include standard float.h instead of unportable values.h poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dee7cb8691528293bb5b8f266970cdb6771e301b Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 24 15:39:23 2010 +0100 0.13.3 CMakeLists.txt | 2 +- NEWS | 31 +++++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 35 insertions(+), 4 deletions(-) commit 07864c9e2a7a32b48bdbab92c8b2f79bce1d9f5b Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 24 13:07:02 2010 +0100 minor cleanups utils/HtmlLinks.cc | 15 ++------------- utils/HtmlLinks.h | 16 ++++++++++++++-- 2 files changed, 16 insertions(+), 15 deletions(-) commit e501eabb2f0775444a2bf64005a3a3f1ffa281b4 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 24 13:06:12 2010 +0100 Do not assume the parameter will have more than 5 chars utils/pdftohtml.cc | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) commit 6cc4d571339214e9eeeb682ba48fb220cef905f9 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 24 13:04:05 2010 +0100 Fix end() to return the correct last valid value goo/GooVector.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 4ed53e30e735b79c46eab9d54883531c6e187b17 Author: William Bader <williambader@hotmail.com> Date: Fri Apr 23 22:52:24 2010 +0100 Silence some Illegal entry in bfrange block in ToUnicode CMap Fixes #27728 poppler/CharCodeToUnicode.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 16a004784043e2a8587c0c3c6d23889df8a80470 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Apr 22 19:39:01 2010 +0100 Avoid the usage of std:: poppler/TextOutputDev.cc | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) commit a7dcb2b4ffee57b7f78529cbaeaab647ab93de86 Author: Pino Toscano <pino@kde.org> Date: Thu Apr 22 13:31:41 2010 +0200 Windows: include config.h in GlobalParamsWin.cc only if not included already GlobalParamsWin.cc is not compiled standalone but only #include'd by GlobalParams.cc (on Windows only), so config.h has already included already as safety check, check for PACKAGE_NAME (#define'd in config.h) before #include'ing it again poppler/GlobalParamsWin.cc | 2 ++ 1 file changed, 2 insertions(+) commit fba076e17af24a9c9883504282316bba119a908c Author: Pino Toscano <pino@kde.org> Date: Thu Apr 22 13:24:04 2010 +0200 avoid accidental max() macro replacement with some compilers (eg MSVC) defining an empty macro and using it between "max" and "(", such compilers won't try to replace their macro max(a, b) there; in any case, empty spaces are just fine poppler/TextOutputDev.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit ccf238b32e236f69c0507a5421ac2649dfa8d865 Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Wed Apr 21 19:21:37 2010 +0100 Improve colorizing text and masks in pattern colorspace Bug #27482 poppler/Gfx.cc | 137 ++++++++++++++++++++++----------------------- poppler/Gfx.h | 4 +- poppler/SplashOutputDev.cc | 41 ++++++++++++-- poppler/SplashOutputDev.h | 3 +- 4 files changed, 106 insertions(+), 79 deletions(-) commit 8e86dfb328d94939ecf390d34af533b831b2837b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 21 19:19:53 2010 +0100 Add copyright poppler/TextOutputDev.cc | 1 + poppler/TextOutputDev.h | 1 + 2 files changed, 2 insertions(+) commit 6f9f3d33ff8058e28243ba45b8547e21ad0d088a Author: Andre Klapper <a9016009@gmx.de> Date: Wed Apr 21 19:57:15 2010 +0200 [glib-demo] Compile with -DGSEAL_ENABLE Fixes bug #27579. glib/demo/images.c | 2 +- glib/demo/layers.c | 4 ++-- glib/demo/render.c | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) commit 6b14c18d60cae130869f9a5c7688dfe880602224 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Apr 21 19:56:49 2010 +0200 [cairo] Make sure we always use a new path in doPath() Fixes document http://acroeng.adobe.com/Test_Files/images/transparency/Untitled-2.pdf when rendering with cairo backend. poppler/CairoOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit 4f71d64c69500ed78daf4d797c8af6cfbd3d970e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Apr 21 11:44:49 2010 +0200 [cairo] Fix pattern size when bbox is not at 0,0 poppler/CairoOutputDev.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 9c5612f6e013a8698eff6531ec388a7e6c1fb89a Author: Marek Kasik <mkasik@redhat.com> Date: Fri Feb 12 14:31:01 2010 +0100 Distinguish between columns and tables when selecting text This commit add ability to detect tables in text by checking borders of 4 neighbouring text blocks for arrangement (to the left, to the right, center, ...). Detected border of whole table is then stored in ExMin, ExMax, EyMin and EyMax of each block together with id of detected table. Sorting of blocks is then performed on the these borders to be able to distinguish tables from columns. Pasting of selected text was modified so that tables are pasted correctly (even with multi line cells). poppler/TextOutputDev.cc | 490 +++++++++++++++++++++++++++++++++++++++++------ poppler/TextOutputDev.h | 5 + 2 files changed, 437 insertions(+), 58 deletions(-) commit db014ffb357e760d9397544c5a8fe747cdb497ab Author: Brian Ewins <brian.ewins@gmail.com> Date: Mon Nov 23 08:58:19 2009 +0000 Select top right to bottom left in RTL mode This makes pure RTL selection work. Bidi is not handled at all. Rendering of the selection is poor and the dumped text appears to still be in reverse order to me. poppler/TextOutputDev.cc | 57 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 43 insertions(+), 14 deletions(-) commit b1d43fa052d9160c4f319a67415ecf3ebf2cf9b3 Author: Brian Ewins <brian.ewins@gmail.com> Date: Sun Nov 22 09:47:40 2009 +0000 Make pdftotext newlines match copy and paste The output of pdftotext didn't insert line breaks, resulting in jumbled text. Change the rules to emit a newline at the end of each line unless a hyphenation is being supressed, and an extra newline at the end of each flow. poppler/TextOutputDev.cc | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) commit f83b677a8eb44d65698b77edb13a5c7de3a72c0f Author: Brian Ewins <brian.ewins@gmail.com> Date: Thu Nov 12 02:50:29 2009 +0000 Use a reading-order sort to order blocks This switches the block sort from XY to reading order, using the rules from T. Breuel's "High Performance Document Layout Analysis". Signed-off-by: Brian Ewins <brian.ewins@gmail.com> poppler/TextOutputDev.cc | 164 +++++++++++++++++++++++++++++++++++++++++++++-- poppler/TextOutputDev.h | 8 +++ 2 files changed, 167 insertions(+), 5 deletions(-) commit a2191a4d45e0abaec97c19aacae37c4c5824bd36 Author: Brian Ewins <brian.ewins@gmail.com> Date: Mon Nov 9 06:24:51 2009 +0000 Separate flow construction from reading order If the blocks were already in reading order, then constructing flows is simplified, since blocks cannot be picked out-of-order. Make this change first in preparation for adding a reading-order sort. Signed-off-by: Brian Ewins <brian.ewins@gmail.com> poppler/TextOutputDev.cc | 96 +++++++++--------------------------------------- 1 file changed, 17 insertions(+), 79 deletions(-) commit 345ed51af9b9e7ea53af42727b91ed68dcc52370 Author: Brian Ewins <brian.ewins@gmail.com> Date: Thu Oct 29 01:46:29 2009 +0000 Fix bug 3188, text selection across table cells Bug 3188. When selecting text, poppler goes across the whole page then down, rather than across each cell, down that cell, then across to the next cell. This leads to illegible paste results. Teach TextPage to visit the selection in flow order rather than block order. Signed-off-by: Brian Ewins <brian.ewins@gmail.com> poppler/TextOutputDev.cc | 334 +++++++++++++++++++++++++---------------------- 1 file changed, 178 insertions(+), 156 deletions(-) commit 12d83931ae1b899b70c7ea5c01f03f123b1bb9a8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Apr 18 17:53:48 2010 +0200 [cairo] Check pattern status after setting matrix when rendering images Fixes rendering of document attached to kde bug http://bugs.kde.org/show_bug.cgi?id=135417. poppler/CairoOutputDev.cc | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit ff6d501a2fc887fd49a985161f756d6d6b8e6c0d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Apr 18 17:51:42 2010 +0200 [cairo] Fix a crash when rendering 0x0 images See kde bug http://bugs.kde.org/show_bug.cgi?id=135417 poppler/CairoOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit 84cd2186861436fbaa7c29aa691e69fcd543a1c2 Author: Hib Eris <hib@hiberis.nl> Date: Tue Apr 13 23:42:28 2010 +0200 Properly initialize variable poppler/CachedFile.cc | 1 + 1 file changed, 1 insertion(+) commit 24f244f486f332b0bd76c6525c5d9d03168a76e6 Author: Hib Eris <hib@hiberis.nl> Date: Tue Apr 13 23:54:28 2010 +0200 pdftops: require output filename when reading from stdin utils/pdftops.cc | 3 +++ 1 file changed, 3 insertions(+) commit 955f9f53ff225f6794a494fdd0f0fe5ee1a41d88 Author: Hib Eris <hib@hiberis.nl> Date: Tue Apr 13 23:47:40 2010 +0200 pdftotext: require output filename when reading from stdin utils/pdftotext.cc | 3 +++ 1 file changed, 3 insertions(+) commit 31388aa8b5117619878431b7fed2d033000af541 Author: Hib Eris <hib@hiberis.nl> Date: Tue Apr 13 23:27:20 2010 +0200 pdftohtml: require output filename when reading from stdin utils/pdftohtml.cc | 3 +++ 1 file changed, 3 insertions(+) commit a8d43ec1c7f5448a7f63d9bbd9062d56ee1c7c58 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 14 19:21:33 2010 +0100 update XOPEN_SOURCE to 600 in non standard compile options it seems helps compiling on some BSD cmake/modules/PopplerMacros.cmake | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4cce1f14e964edf1bf2d9fb8286ee002a67dc212 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 13 21:57:16 2010 +0100 include strings.h on non windows platforms poppler/GlobalParams.cc | 2 ++ test/perf-test.cc | 2 ++ 2 files changed, 4 insertions(+) commit 55c76069c52f9f51c6b8c60fe1aa8de499012ea8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Apr 12 19:32:46 2010 +0200 [glib] Use existing cairo api when rendering to a pixbuf I should fix bug #5589 for the GDK api too. glib/poppler-page.cc | 227 +++++++++++++++++++++------------------------------ 1 file changed, 93 insertions(+), 134 deletions(-) commit 51aefe1423a068e8c119c21a8791d265aecbeaf5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Apr 9 12:50:00 2010 +0200 [cairo] Implement colorizing image masks with pattern colorspace poppler/CairoOutputDev.cc | 9 +++++++++ 1 file changed, 9 insertions(+) commit bd8f44289770175a17ac45e4788b0d374cc93d5a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Apr 9 12:02:38 2010 +0200 Partially revert "[cairo] Do not change device offset of mask surface" This partially reverts commit a32f6f9ebaed3e4827b9dc6cb37e307c2798f521. It fixed bug #27208, but it's causing regressions on other documents. poppler/CairoOutputDev.cc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit bcb405c43fb7140f5d601d00de4d30913a0050ef Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Apr 8 12:02:48 2010 +0200 Pages were always created without forms by Catalog Use getForm() instead of form when creating a page object. poppler/Catalog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d46581c574b3088a82555cbc3b76e95e2571b9c0 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 7 20:25:23 2010 +0100 Fix destructor poppler/Catalog.cc | 19 +++++++------------ poppler/Catalog.h | 3 +-- 2 files changed, 8 insertions(+), 14 deletions(-) commit ab14433f8b3d7c67f279cece65dfdd40c6675ac0 Author: Hib Eris <hib@hiberis.nl> Date: Thu Mar 25 15:33:33 2010 +0100 Parse Form on demand poppler/Catalog.cc | 21 +++++++++++++-------- poppler/Catalog.h | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) commit c72a2c7f70b13a7b7b531b3c983d9a9bc104bac7 Author: Hib Eris <hib@hiberis.nl> Date: Thu Mar 25 17:33:11 2010 +0100 Parse Names on demand poppler/Catalog.cc | 112 +++++++++++++++++++++++++++++++++++++++++++---------- poppler/Catalog.h | 18 ++++++--- 2 files changed, 104 insertions(+), 26 deletions(-) commit 32053360c93607cf9bdc092257cefad5d4df9ec5 Author: Hib Eris <hib@hiberis.nl> Date: Thu Mar 25 16:32:22 2010 +0100 Parse Dests on demand poppler/Catalog.cc | 27 +++++++++++++++++++++------ poppler/Catalog.h | 2 +- 2 files changed, 22 insertions(+), 7 deletions(-) commit da0f8e69eecb944e128474f62829f729eeabd189 Author: Hib Eris <hib@hiberis.nl> Date: Thu Mar 25 16:48:07 2010 +0100 Parse Outline on demand in PDFDoc poppler/PDFDoc.cc | 17 ++++++++++++----- poppler/PDFDoc.h | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) commit d7a69c8cad112cb6616d0192d8a4028fdaee2f73 Author: Hib Eris <hib@hiberis.nl> Date: Thu Mar 25 16:05:02 2010 +0100 Parse Outline on demand poppler/Catalog.cc | 23 ++++++++++++++++++++--- poppler/Catalog.h | 2 +- 2 files changed, 21 insertions(+), 4 deletions(-) commit c149e027fa76824221a78fe6d3bf9bfe953491d4 Author: Hib Eris <hib@hiberis.nl> Date: Thu Mar 25 15:51:51 2010 +0100 Parse StructTreeRoot on demand poppler/Catalog.cc | 22 +++++++++++++++++++--- poppler/Catalog.h | 2 +- 2 files changed, 20 insertions(+), 4 deletions(-) commit 3c6effe44d6d97f175c2ee7f3913d8c4ba34d612 Author: Hib Eris <hib@hiberis.nl> Date: Thu Mar 25 14:55:22 2010 +0100 Parse Metadata on demand poppler/Catalog.cc | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 749d67ea2346a3453ef41dc37ba59d419ad900b0 Author: Hib Eris <hib@hiberis.nl> Date: Thu Mar 25 15:09:58 2010 +0100 Parse PageLabelInfo on demand poppler/Catalog.cc | 37 +++++++++++++++++++++++++++++-------- poppler/Catalog.h | 3 +++ 2 files changed, 32 insertions(+), 8 deletions(-) commit 78f7d106714fa489a66c39410163a6902ba24856 Author: Hib Eris <hib@hiberis.nl> Date: Sat Mar 27 14:43:57 2010 +0100 Parse PageMode and PageLayout on demand poppler/Catalog.cc | 109 ++++++++++++++++++++++++++++++++++++----------------- poppler/Catalog.h | 11 ++++-- 2 files changed, 81 insertions(+), 39 deletions(-) commit f5dd5be64d09186ee289632c1a61979d15edd605 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Apr 7 19:48:39 2010 +0200 Fix saving update docs that have a compressed xref table - Use the original xref table size as Size field in the trailer dictionary to make sure size = maxObjId + 1 - Use the right generation number for compressed objects that which must be 0. gen field in xref entry for compressed objects is the index of the object in the stream, not the generation number. Fixes bug #27450. poppler/PDFDoc.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 3f302fdd78cd78873bf5376af84e83741a8daadb Author: Pino Toscano <pino@kde.org> Date: Tue Apr 6 23:58:46 2010 +0200 use a GooVector<bool> instead of a non-standard variable-length-array poppler/CachedFile.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 425a62b5fa8e4e69bfc1c64ed126b5baac06d78a Author: Hib Eris <hib@hiberis.nl> Date: Tue Apr 6 10:57:30 2010 +0200 pdfutils: fix deleting fileName utils/pdfinfo.cc | 2 +- utils/pdftoabw.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 198c9d61ba93ba62ea2da44a23cd948d43556c3e Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 6 22:00:14 2010 +0100 Use the topleft of the Rect of text annots to draw Not use the full rect when we are drawing "our" notes poppler/Annot.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 1422802f029483ad3e62a3a13e66b2d3990ac58f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 6 12:32:12 2010 +0200 [cairo] Use current fill_opacity when drawing soft masked images Fixes GNOME Bug https://bugzilla.gnome.org/show_bug.cgi?id=614915 poppler/CairoOutputDev.cc | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) commit c152d30f879e6cde45de58bb9249035e127e84e7 Author: Hib Eris <hib@hiberis.nl> Date: Mon Apr 5 18:55:29 2010 +0200 delete fileName in utils utils/pdftohtml.cc | 1 + utils/pdftops.cc | 1 + utils/pdftotext.cc | 1 + 3 files changed, 3 insertions(+) commit f091c83414ab32a4ecf1fa2bd15f13a3cf113a86 Author: Hib Eris <hib@hiberis.nl> Date: Mon Apr 5 20:12:01 2010 +0100 add some docu poppler/CachedFile.h | 30 ++++++++++++++++++++++++++++++ poppler/CurlPDFDocBuilder.h | 2 ++ poppler/LocalPDFDocBuilder.h | 2 ++ poppler/PDFDocBuilder.h | 9 +++++++++ poppler/PDFDocFactory.h | 12 ++++++++++++ poppler/StdinPDFDocBuilder.h | 2 ++ 6 files changed, 57 insertions(+) commit fc071d800cb4329a3ccf898d7bf16b4db7323ad8 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Apr 5 19:11:26 2010 +0100 Rework DCTStream error handling, should work better now Fixes bug 26280 poppler/DCTStream.cc | 35 ++++++++++++++--------------------- poppler/DCTStream.h | 5 +++-- utils/HtmlOutputDev.cc | 4 ++-- 3 files changed, 19 insertions(+), 25 deletions(-) commit a9d801b2db20ecb08734ee5cdb703abf11994b6e Author: Albert Astals Cid <aacid@kde.org> Date: Mon Apr 5 16:55:02 2010 +0100 Make some paremeters const & to clearly show we just read them poppler/CachedFile.cc | 18 ++++++++++-------- poppler/CachedFile.h | 8 +++++--- poppler/CurlCachedFile.cc | 9 +++++---- poppler/CurlCachedFile.h | 3 ++- poppler/CurlPDFDocBuilder.cc | 9 +++++---- poppler/CurlPDFDocBuilder.h | 5 +++-- poppler/LocalPDFDocBuilder.cc | 15 ++++++++------- poppler/LocalPDFDocBuilder.h | 5 +++-- poppler/PDFDocBuilder.h | 5 +++-- poppler/PDFDocFactory.cc | 7 ++++--- poppler/PDFDocFactory.h | 3 ++- poppler/StdinCachedFile.cc | 3 ++- poppler/StdinCachedFile.h | 3 ++- poppler/StdinPDFDocBuilder.cc | 7 ++++--- poppler/StdinPDFDocBuilder.h | 5 +++-- utils/pdffonts.cc | 4 ++-- utils/pdfimages.cc | 4 ++-- utils/pdfinfo.cc | 4 ++-- utils/pdftoabw.cc | 4 ++-- utils/pdftohtml.cc | 4 ++-- utils/pdftoppm.cc | 2 +- utils/pdftops.cc | 4 ++-- utils/pdftotext.cc | 4 ++-- 23 files changed, 76 insertions(+), 59 deletions(-) commit a04ee3ea6066c97d41fc40d5d97c600a1870855a Author: Albert Astals Cid <aacid@kde.org> Date: Mon Apr 5 16:50:58 2010 +0100 forgot my (C) poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ed723c8ac4a21a50d7d236cdcf7a635defd8dffb Author: Albert Astals Cid <aacid@kde.org> Date: Mon Apr 5 16:50:15 2010 +0100 The copy constructor of GooString never worked, so do not use it poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a28be8e4009b86fdfd92da928def194225a736c6 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Apr 5 16:49:06 2010 +0100 Add some const correctnes to GooString goo/GooString.cc | 12 ++++++------ goo/GooString.h | 21 ++++++++++++--------- 2 files changed, 18 insertions(+), 15 deletions(-) commit 46aee9e4d225b88a3dfd4afbe57259f337bb15d3 Author: Hib Eris <hib@hiberis.nl> Date: Mon Apr 5 14:36:09 2010 +0200 Use PDFDocFactory in utils utils/pdffonts.cc | 16 ++++++++-------- utils/pdfimages.cc | 11 ++++++++++- utils/pdfinfo.cc | 31 +++++++------------------------ utils/pdftoabw.cc | 10 +++++++++- utils/pdftohtml.cc | 10 +++++++++- utils/pdftoppm.cc | 17 +++++++++++------ utils/pdftops.cc | 9 ++++++++- utils/pdftotext.cc | 14 +++++++------- 8 files changed, 69 insertions(+), 49 deletions(-) commit d487a90688c4431075c9e4db040b3b02625e208f Author: Hib Eris <hib@hiberis.nl> Date: Mon Apr 5 14:35:52 2010 +0200 Add PDFDocFactory CMakeLists.txt | 2 ++ poppler/Makefile.am | 2 ++ poppler/PDFDocFactory.cc | 71 ++++++++++++++++++++++++++++++++++++++++++++++++ poppler/PDFDocFactory.h | 42 ++++++++++++++++++++++++++++ 4 files changed, 117 insertions(+) commit 869135920831fb0d15db734f3dcd7a67146cc241 Author: Hib Eris <hib@hiberis.nl> Date: Wed Feb 24 15:24:26 2010 +0100 Add CurlPDFDocBuilder CMakeLists.txt | 2 ++ poppler/CurlPDFDocBuilder.cc | 46 ++++++++++++++++++++++++++++++++++++++++++++ poppler/CurlPDFDocBuilder.h | 30 +++++++++++++++++++++++++++++ poppler/Makefile.am | 6 ++++-- 4 files changed, 82 insertions(+), 2 deletions(-) commit ec5c6117a64f9cb03560091c4d7948d4287b6975 Author: Hib Eris <hib@hiberis.nl> Date: Thu Feb 25 11:23:28 2010 +0100 Add LocalPDFDocBuilder and StdinPDFDocBuilder CMakeLists.txt | 4 ++++ poppler/LocalPDFDocBuilder.cc | 45 +++++++++++++++++++++++++++++++++++++++++++ poppler/LocalPDFDocBuilder.h | 30 +++++++++++++++++++++++++++++ poppler/Makefile.am | 4 ++++ poppler/StdinPDFDocBuilder.cc | 42 ++++++++++++++++++++++++++++++++++++++++ poppler/StdinPDFDocBuilder.h | 30 +++++++++++++++++++++++++++++ 6 files changed, 155 insertions(+) commit 919b735d1c0b99bf72280aff8db87ba503954498 Author: Hib Eris <hib@hiberis.nl> Date: Sun Apr 4 11:05:35 2010 +0200 Add PDFDocBuilder CMakeLists.txt | 1 + poppler/Makefile.am | 1 + poppler/PDFDocBuilder.h | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 34 insertions(+) commit 1ab07faf05661d6d92186974c4b1c279b6178747 Author: Hib Eris <hib@hiberis.nl> Date: Sun Apr 4 11:29:53 2010 +0200 Add PDFDoc::ErrorPDFDoc poppler/PDFDoc.cc | 14 ++++++++++++++ poppler/PDFDoc.h | 3 +++ 2 files changed, 17 insertions(+) commit efc7e5efeddd8f70b7c74573d3194aba0a7d4631 Author: Hib Eris <hib@hiberis.nl> Date: Sun Apr 4 11:17:37 2010 +0200 Cleanup PDFDoc poppler/PDFDoc.cc | 40 +++++++++++++++------------------------- poppler/PDFDoc.h | 3 ++- 2 files changed, 17 insertions(+), 26 deletions(-) commit 08a3435e67ebf21beac2fefcbd21ad65f9293fd1 Author: Hib Eris <hib@hiberis.nl> Date: Tue Feb 23 02:29:26 2010 +0100 Add HTTP support using libcurl With libcurl, poppler can handle documents over http. CMakeLists.txt | 18 ++++++++ config.h.cmake | 6 +++ configure.ac | 16 +++++++ poppler/CurlCachedFile.cc | 95 ++++++++++++++++++++++++++++++++++++++++++ poppler/CurlCachedFile.h | 39 +++++++++++++++++ poppler/Makefile.am | 20 +++++++++ poppler/poppler-config.h.cmake | 5 +++ poppler/poppler-config.h.in | 5 +++ utils/pdfinfo.cc | 16 ++++++- 9 files changed, 219 insertions(+), 1 deletion(-) commit a87abf6ad9fb66d35a70c9412adc5d8ba2889b96 Author: Hib Eris <hib@hiberis.nl> Date: Wed Feb 24 14:46:59 2010 +0100 Use cached files to read from stdin in pdfinfo This fixes reading from stdin. utils/pdfinfo.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 958b04b14baf03c07492fa1cbd225d9968b9efc1 Author: Hib Eris <hib@hiberis.nl> Date: Tue Feb 23 02:02:10 2010 +0100 Add support for reading a cached file from stdin CMakeLists.txt | 2 ++ poppler/Makefile.am | 2 ++ poppler/StdinCachedFile.cc | 37 +++++++++++++++++++++++++++++++++++++ poppler/StdinCachedFile.h | 26 ++++++++++++++++++++++++++ 4 files changed, 67 insertions(+) commit 9539f75bd06150a3868209c5b04a75f5253722cc Author: Hib Eris <hib@hiberis.nl> Date: Sat Apr 3 15:08:20 2010 +0200 Add support for cached files CMakeLists.txt | 2 + poppler/CachedFile.cc | 246 ++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/CachedFile.h | 113 +++++++++++++++++++++++ poppler/Makefile.am | 2 + poppler/Stream.cc | 102 +++++++++++++++++++++ poppler/Stream.h | 58 ++++++++++++ 6 files changed, 523 insertions(+) commit 8c6aefb8aa8929b9c47791d3062ed3ac8512626f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Apr 4 16:08:12 2010 +0200 [lexer] Correctly parse numbers with '+' sign See GNOME Bug: https://bugzilla.gnome.org/show_bug.cgi?id=614549 poppler/Lexer.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit ab5044e451e3714d385295f0b4ce9a15c8f2562c Author: Albert Astals Cid <aacid@kde.org> Date: Sun Apr 4 12:32:42 2010 +0100 Add the -o[dd] and -e[ven] options to pdftoppm I've been using this patch forever and it's a pain to apply and unapply it each time utils/pdftoppm.1 | 6 ++++++ utils/pdftoppm.cc | 8 ++++++++ 2 files changed, 14 insertions(+) commit 0e371fb628a7e7d0cc1656e6405af4c97dbebf5d Author: Albert Astals Cid <aacid@kde.org> Date: Sun Apr 4 12:30:34 2010 +0100 Fix my roll optimization Thanks Carlos for noticing poppler/Function.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit a32f6f9ebaed3e4827b9dc6cb37e307c2798f521 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 28 18:43:14 2010 +0200 [cairo] Do not change device offset of mask surface Also call cairo_paint() after set_source_rgb() to paint the background. Fixes bug #27208. poppler/CairoOutputDev.cc | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit efa5d9544d29252e3df36cc4e65c3d880b3c5172 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 27 22:11:49 2010 +0000 remove empty section NEWS | 2 -- 1 file changed, 2 deletions(-) commit 5722df7a5387e43ec73f659ca58d2d07b9c4be3b Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 27 22:04:43 2010 +0000 poppler 0.13.2 CMakeLists.txt | 2 +- NEWS | 39 +++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 43 insertions(+), 4 deletions(-) commit b82fd707747b9d87ebf3c8f7ce5ab70ccdf82809 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 27 22:00:58 2010 +0000 gtk-doc changes glib/reference/tmpl/poppler-action.sgml | 7 +++---- glib/reference/tmpl/poppler-annot.sgml | 9 --------- glib/reference/tmpl/poppler-private.sgml | 10 ++++++++++ glib/reference/tmpl/poppler-unused.sgml | 8 ++++++++ glib/reference/tmpl/poppler.sgml | 10 ++++++++++ 5 files changed, 31 insertions(+), 13 deletions(-) commit ed0354be4eac615b80e7a868984cc527853788b4 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 27 21:44:59 2010 +0000 some forgotten copyrights qt/poppler-page.cc | 2 +- qt4/src/poppler-document.cc | 2 +- qt4/src/poppler-movie.cc | 3 ++- qt4/src/poppler-page.cc | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) commit 2aedeedf9ef2e2d3eb17bc36d728e68c2f7af762 Author: Hib Eris <hib@hiberis.nl> Date: Sat Mar 27 14:38:27 2010 +0000 Correctly initialize actualText poppler/TextOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b53f9b203598555d6d706c3804aba013b8566921 Author: Jan Engelhardt <jengelh@medozas.de> Date: Sat Mar 27 13:23:42 2010 +0000 make qt3 detection use pkgconfig m4/qt.m4 | 101 +++++---------------------------------------------------- qt/Makefile.am | 4 +-- 2 files changed, 10 insertions(+), 95 deletions(-) commit 320d4cee46e108498440179d8f9eab22cd5383d9 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 24 21:51:58 2010 +0100 Revert "no more needed" This reverts commit 24d6bc8c78cb3148db2098ae4d69bd744340cf52. It is actually needed. cpp/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit af21b5ab366bfdda203c26a77f4ae6ed0e70f64e Author: Pino Toscano <pino@kde.org> Date: Tue Mar 23 00:13:21 2010 +0100 [CMake] remove the (now) unneeded stuff from Find{GLIB,GDK,GTK}.cmake, and search for them this way each bit (GLIB, GDK, and GTK) can be enabled/disabled independently from the others CMakeLists.txt | 4 +++- cmake/modules/FindGDK.cmake | 14 +------------- cmake/modules/FindGLIB.cmake | 14 +------------- cmake/modules/FindGTK.cmake | 14 +------------- 4 files changed, 6 insertions(+), 40 deletions(-) commit 9b93ed5ce6712ec4cdf58148628e95685c289ef5 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 23 00:02:27 2010 +0100 [CMake] copy FindGTK.cmake as FindGLIB.cmake and FindGDK.cmake this way FindGTK.cmake can be split in the various parts cmake/modules/FindGDK.cmake | 34 ++++++++++++++++++++++++++++++++++ cmake/modules/FindGLIB.cmake | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) commit 0ec21cae0b4623644c3efca1d2836a9f38f25737 Author: Pino Toscano <pino@kde.org> Date: Mon Mar 22 22:11:04 2010 +0100 [Qt] add the unhandled cases for 'actionOCGState' qt/poppler-page.cc | 1 + 1 file changed, 1 insertion(+) commit 5211e09595135b8e6c68efd1b8b689b518092b84 Author: Pino Toscano <pino@kde.org> Date: Mon Mar 22 22:07:44 2010 +0100 [CMake/cpp] move the BUILD_CPP_TESTS option to the main CMakeLists.txt CMakeLists.txt | 1 + cpp/tests/CMakeLists.txt | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) commit 24d6bc8c78cb3148db2098ae4d69bd744340cf52 Author: Pino Toscano <pino@kde.org> Date: Mon Mar 22 22:00:55 2010 +0100 no more needed cpp/tests/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) commit a07ef8f703ab896f89ed211a5780e4a669b04fc7 Author: Pino Toscano <pino@kde.org> Date: Mon Mar 22 22:00:15 2010 +0100 [CMake] revert addition of "-Wl,--no-add-needed" to the link flags, if available for now it is safer without it cmake/modules/PopplerMacros.cmake | 6 ------ 1 file changed, 6 deletions(-) commit 86debcc9bba28a7c86f01ca9e63bde5fcd541846 Author: Pino Toscano <pino@kde.org> Date: Mon Mar 22 21:49:22 2010 +0100 [CMake] add "-ansi" to the CXXFLAGS only on Linux cmake/modules/PopplerMacros.cmake | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 0819acd52a2ce74f0e176626d7b2233e10232d53 Merge: c4ddbe8 92738eb Author: Pino Toscano <pino@kde.org> Date: Mon Mar 22 21:43:01 2010 +0100 Merge branch 'master' of ssh://git.freedesktop.org/git/poppler/poppler commit 92738ebb8a9c7cfc879aae59c2cbdf3159f03cd3 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Mar 22 20:28:15 2010 +0000 Add a search overload that takes doubles QRectF is evil and is float in some arch and causes search to loop infinitely because of double->float conversion qt4/src/poppler-page.cc | 22 +++++++++++++++------- qt4/src/poppler-qt4.h | 16 ++++++++++++++-- 2 files changed, 29 insertions(+), 9 deletions(-) commit 0a895f14c8125c5de7b97e8e799459c431eb51cb Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Mon Mar 22 19:03:54 2010 +0000 correctly initialize the grayscale softmask color Fixes file with sha1sum e6e1576803a1bd74ad822eebbd750ee7b8357d25 poppler/SplashOutputDev.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit c4ddbe89df9e48343a9606728b7c182080d87ece Author: Patrick Spendrin <ps_ml@gmx.de> Date: Sat Mar 20 21:55:17 2010 +0100 [CMake] when the conf configuration backend is "win32", set the required Internet Explorer version to 5.0 ... as done with autotools as well CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) commit 97da1f9d060493d9fb54a20e980c3f6e2b82c97e Author: Pino Toscano <pino@kde.org> Date: Sat Mar 20 17:51:07 2010 +0100 [CMake] check whether a link flag is supported before adding it to the link flags this way we can add -Wl,--as-needed and -Wl,--no-add-needed only if the current GCC/LD supports them cmake/modules/PopplerMacros.cmake | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) commit 223bce6d14e632f457a81b2ec091fe16369d2eb6 Author: Pino Toscano <pino@kde.org> Date: Sat Mar 20 14:08:58 2010 +0100 [CMake] with GCC, pass --as-needed and --no-add-needed to the linker --as-needed allows to avoid overlinking, linking only to the libraries whose symbols are actually used --no-add-needed makes the linker not use the NEEDED libraries automatically, so we have to always make sure we specify all the libraries actually used in a exe/lib cmake/modules/PopplerMacros.cmake | 4 ++++ 1 file changed, 4 insertions(+) commit fc761f0d385708daaef1b95968532795b04f11b0 Author: Pino Toscano <pino@kde.org> Date: Sat Mar 20 14:05:59 2010 +0100 [CMake] poppler-dump uses parseargs.c which uses the poppler core API, so it must link to it cpp/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit a210440b05d14efc53224a10e8b3ac7d508043b5 Author: Pino Toscano <pino@kde.org> Date: Sat Mar 20 14:04:02 2010 +0100 [CMake] poppler-glib uses the freetype API, so it must explicitly link to it glib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5d352666b92cee0390470d7b892ec8dcbf046a5 Author: Pino Toscano <pino@kde.org> Date: Sat Mar 20 14:03:19 2010 +0100 [CMake] pdftoabw uses the libxml2 API, so it must explicitly link to it utils/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3fc2c4affe825f4aabcee161ec794338bd359403 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 18 13:52:52 2010 +0100 [glib] Use g_slice_new/free instead of g_new/free to alloc/free iterators glib/poppler-document.cc | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) commit 7bd6a8558646983669ce699f83d5ed42d7fce476 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 18 13:34:03 2010 +0100 [glib] Move find_annot_movie_for_action() from page to action And remove _poppler_action_movie_set_movie(). glib/poppler-action.cc | 93 ++++++++++++++++++++++++++++++++++++++++++++------ glib/poppler-page.cc | 79 ------------------------------------------ glib/poppler-private.h | 2 -- 3 files changed, 82 insertions(+), 92 deletions(-) commit e5e3d310aa488638431dd85ac3383a12056674bf Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 18 12:20:26 2010 +0100 Update copyright header poppler/Link.cc | 2 +- poppler/Link.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit c76870178a031e437de3f9ed7baa64efb96955d6 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 18 12:13:36 2010 +0100 [glib-demo] OCG State Actions demo glib/demo/utils.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) commit 456e42f91dfbf73b71a5dbdde13d7ccdb5637d79 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 18 12:12:51 2010 +0100 [glib] Add support for OCG State actions glib/poppler-action.cc | 125 +++++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-action.h | 25 +++++++++- glib/poppler.h | 1 + 3 files changed, 150 insertions(+), 1 deletion(-) commit 4b109899e0732bbf65cacd875829e869e61eda48 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 18 12:10:19 2010 +0100 [glib] Make get_layer_rbgroup() and get_layers() doc funcs public for internal use glib/poppler-document.cc | 12 ++++++------ glib/poppler-private.h | 3 +++ 2 files changed, 9 insertions(+), 6 deletions(-) commit 38a55f6118debf994ce1fc41e987b0e3766047ba Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 18 12:08:30 2010 +0100 Add support for Set-OCG-State actions Fixes bug #23522. poppler/Link.cc | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Link.h | 31 ++++++++++++++++++++++ 2 files changed, 111 insertions(+) commit bf398e53b0823d0a6272679858b67c5ffd704425 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 23:06:44 2010 +0100 [CMake] fix pkg-config executable variable name CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ab1a37666704d6b15c19b694ee191327847c23da Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 23:04:01 2010 +0100 [CMake] proper way of looking for pkg-config cmake/modules/FindGTK.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7f07a7dcea031f99a9a6d7c424184a2e69ee0062 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 22:58:08 2010 +0100 [CMake] update FindFontconfig.cmake with a more recent version ... present in KDE (as before) cmake/modules/FindFontconfig.cmake | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit beee143ffbdc699ab19f10a01e5747200ea1927a Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 18:36:32 2010 +0100 [CMake] set the LINK_INTERFACE_LIBRARIES for the poppler and poppler-cpp libraries this should reduce the libraries linked by frontends and utility applications CMakeLists.txt | 1 + cpp/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) commit 5ab791cb2a029edcde84b00a47165adfe4d98a98 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 16:39:38 2010 +0100 [CMake] small cleanups in FindGTK.cmake - update the header will all the stuff found and the variables set - add my copyright for this year - remove no more useful UsePkgConfig inclusion cmake/modules/FindGTK.cmake | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit fcbc76d82e3059c8288fbdc8da117ac9b38a70f2 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 16:36:41 2010 +0100 [CMake] switch gtk2 (gtk+, gdk-pixbuf, gthread, gio) search to use the new pkg_check_modules() way cmake/modules/FindGTK.cmake | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) commit 5b8135e0899aa3578045eca40940a3495c48d895 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 16:27:40 2010 +0100 [CMake] link poppler-glib to the gdk2 libraries, if gdk2 was found glib/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) commit 3dc4979d72048e81ae3b2d60dab11e791ac95696 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 16:26:04 2010 +0100 [CMake] switch gdk2 search to use the new pkg_check_modules() way cmake/modules/FindGTK.cmake | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) commit 0ef3d899cb8dea75c97ae1038cac5006f97bc0d2 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 16:05:07 2010 +0100 [CMake] switch glib2 search to use the new pkg_check_modules() way cmake/modules/FindGTK.cmake | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) commit d2dc83cb8de481e44ea584eee77881978af920fa Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 15:56:16 2010 +0100 [CMake] rename GLIB_VERSION to GLIB_REQUIRED this way it matches autotools, and it is going to not conflict with my next changes CMakeLists.txt | 4 ++-- cmake/modules/FindGTK.cmake | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 34accfe27305cae18e09243ab2a607287b86fa47 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 13:55:09 2010 +0100 [CMake] set all the definitions for poppler-glib in a single place glib/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3d93daf50c61019ca70f42e7ccf33897800b262a Author: Pino Toscano <pino@kde.org> Date: Wed Mar 17 13:49:22 2010 +0100 [CMake] no need to check for BUILD_GTK_TESTS for single tests poppler_add_test(... BUILD_GTK_TESTS ...) takes care of that already glib/CMakeLists.txt | 4 ++-- test/CMakeLists.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 946a11345d01d39538d22114e50aa3e179059883 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 20:24:25 2010 +0100 [build] Update cmake files CMakeLists.txt | 2 ++ glib/CMakeLists.txt | 4 ++++ 2 files changed, 6 insertions(+) commit 922c0fe392ba439453edb5b2e88b74f0caa586b3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 20:08:23 2010 +0100 [glib-demo] Rendition actions demo glib/demo/utils.c | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) commit 163b3f79d67543bc37b64875e30dcc9b7053e1d5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 20:08:00 2010 +0100 [glib] Add support for rendition actions glib/poppler-action.cc | 22 ++++++++++++++++++++++ glib/poppler-action.h | 14 +++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) commit d9b1e40751beddf48a8694b20bfcc4b4cb41060a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 20:06:45 2010 +0100 [glib] Add PopplerMedia representing a Rendition Media Clip glib/Makefile.am | 2 + glib/poppler-media.cc | 302 +++++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-media.h | 53 +++++++++ glib/poppler-private.h | 2 + glib/poppler.h | 2 + 5 files changed, 361 insertions(+) commit 0224b81c4729a98a56b7a68054422ea655018d6a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 17:54:03 2010 +0100 [glib-demo] Add page number to annots demo glib/demo/annots.c | 4 ++++ 1 file changed, 4 insertions(+) commit 0153b892c63e4fccd0819150cf7b4213857a11c5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 17:49:51 2010 +0100 [glib] Add poppler_annot_get_page_index() to get the page associated to annot glib/poppler-annot.cc | 19 +++++++++++++++++++ glib/poppler-annot.h | 1 + 2 files changed, 20 insertions(+) commit b47337ea91696fea8f42a68a6fa160681ab284b2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 17:49:17 2010 +0100 [annots] Checks screen annots associated with a rendition action have a valid page ref poppler/Annot.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 9417fd793ec8d806822669aa614193073e7dfe50 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 16:52:30 2010 +0100 [annots] Save page index of the page associated with the annot poppler/Annot.cc | 14 +++++--------- poppler/Annot.h | 4 ++-- 2 files changed, 7 insertions(+), 11 deletions(-) commit 36b76a5d01b74c6381433b6f6f7ffb9f02696a60 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 14:12:11 2010 +0100 Rework LinkRendition to follow the spec poppler/Link.cc | 68 +++++++++++++++++++++++++++++++++++---------------------- poppler/Link.h | 12 ++++++---- 2 files changed, 50 insertions(+), 30 deletions(-) commit 7b5885ee7d2026df9a6e87327b6d02f37d79b8b2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 12:25:12 2010 +0100 [glib-demo] Annot screen demo glib/demo/annots.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit bdb76c7cb89bcb6fb139b0ef348d96b7780d57ed Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 12:24:19 2010 +0100 [glib] Add support for screen annotation Based on patch by Sam Kaplan. glib/poppler-annot.cc | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-annot.h | 8 ++++++ glib/poppler-page.cc | 3 ++ glib/poppler-private.h | 1 + glib/poppler.h | 1 + 5 files changed, 88 insertions(+) commit 54892b1375e360113432b07c6ba058f861d21fe8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 12:21:30 2010 +0100 [annots] Save the action already parsed in AnnotScreen poppler/Annot.cc | 9 +++++++-- poppler/Annot.h | 5 +++-- 2 files changed, 10 insertions(+), 4 deletions(-) commit 5a84a2d749478f19631dbfad2be06ec4ea85038c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 11:16:17 2010 +0100 [glib-demo] Annot and links movie demo glib/demo/annots.c | 20 ++++++++++ glib/demo/utils.c | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++- glib/demo/utils.h | 3 ++ 3 files changed, 137 insertions(+), 1 deletion(-) commit 2cf5ee4f62089df099f78cd4d39a4eb7589d1b47 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 11:04:17 2010 +0100 [glib] Add support for movie actions Based on patch by Hugo Mercier. glib/poppler-action.cc | 35 ++++++++++++++++++---- glib/poppler-action.h | 15 ++++++++-- glib/poppler-page.cc | 81 +++++++++++++++++++++++++++++++++++++++++++++++++- glib/poppler-private.h | 2 ++ 4 files changed, 125 insertions(+), 8 deletions(-) commit 132b6f072fefd231d42f31626f1b5009c4e8319e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 10:56:23 2010 +0100 [glib] Add support for movie annotations Based on patch by Hugo Mercier. glib/poppler-annot.cc | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-annot.h | 10 ++++++ glib/poppler-page.cc | 3 ++ glib/poppler-private.h | 1 + glib/poppler.h | 1 + 5 files changed, 112 insertions(+) commit aecad2bb12be44825d273e364ec6a0444dac5605 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 15 10:48:03 2010 +0100 [glib] Add PopplerMovie class glib/Makefile.am | 2 + glib/poppler-movie.cc | 140 +++++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-movie.h | 42 +++++++++++++++ glib/poppler-private.h | 2 + glib/poppler.h | 2 + 5 files changed, 188 insertions(+) commit 5b3234a16e0d465bff2b5e277cb64b4f4b0a8dbd Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 14 16:10:26 2010 +0100 Split Movie class into Rendition and Movie classes to follow the spec poppler/Annot.cc | 16 +- poppler/Link.cc | 10 +- poppler/Link.h | 6 +- poppler/Makefile.am | 2 + poppler/Movie.cc | 438 +++++------------------------------------------ poppler/Movie.h | 138 +++------------ poppler/Rendition.cc | 400 +++++++++++++++++++++++++++++++++++++++++++ poppler/Rendition.h | 157 +++++++++++++++++ qt4/src/poppler-movie.cc | 9 +- 9 files changed, 657 insertions(+), 519 deletions(-) commit f9c163730478e3b6d8a1e73dbae6c52c28ae1e84 Author: Pino Toscano <pino@kde.org> Date: Mon Mar 8 14:49:12 2010 +0100 [Qt4] include Object.h and Annot.h, now needed qt4/src/poppler-movie.cc | 2 ++ 1 file changed, 2 insertions(+) commit a00532f509c19c5455e0db5068db95dd4583e8dd Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 8 14:22:53 2010 +0100 Check for Null instead of None to know whether a dict entry is present Dict::lookup returns obj->initNull() when the key is not found. poppler/Movie.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b51e66c9a7e2f7f39ae1edf8bda02a7bc1ad4ebd Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 8 14:15:22 2010 +0100 [annots] Create appearance stream for Movie Annotations when not defined See bug #23108 poppler/Annot.cc | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- poppler/Annot.h | 4 ++- 2 files changed, 105 insertions(+), 2 deletions(-) commit fae59411852e5c2c45825c5ea963318f1ed5dc6a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 8 14:07:09 2010 +0100 Fix handling of poster in Movie Poster is not always a stream, it can be a boolean too. Also, get the reference when available instead of fetching the stream. poppler/Movie.cc | 25 ++++++++++++------------- poppler/Movie.h | 6 ++++-- 2 files changed, 16 insertions(+), 15 deletions(-) commit a451f83d101bf265a1e7e2a17c0b320895e70f4e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 7 12:22:57 2010 +0100 Save width, height (aspect) in Movie object and provide getAspect() method poppler/Movie.cc | 3 ++- poppler/Movie.h | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) commit f88d469f860da17055fc4b98b64aef241fcf0185 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Mar 6 12:33:40 2010 +0100 Move Movie objects parsing code from Annot to Movie poppler/Annot.cc | 244 ++------------------------------------------- poppler/Annot.h | 73 +------------- poppler/Link.cc | 4 +- poppler/Movie.cc | 255 +++++++++++++++++++++++++++++++++++++++-------- poppler/Movie.h | 25 +++-- qt4/src/poppler-movie.cc | 11 +- 6 files changed, 246 insertions(+), 366 deletions(-) commit ec9138b574c7226ad733880d3d43b86bb72073f4 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 23:17:50 2010 +0100 [autotools] add also cpp/tests/CMakeLists.txt to the "dist files" Makefile.am | 1 + 1 file changed, 1 insertion(+) commit ef3258d6fc57e7a62d951cc826804e50e8e1b526 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 23:14:12 2010 +0100 [autotools] fix location of poppler-config.h.cmake Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fd1d9c882997ff35acd5a458e9dfeba3ad6c8b25 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 22:42:06 2010 +0100 [CMake] just enable what needed each time CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 476bde472a7e694afde96a04ea335fe9582d6fad Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 22:39:45 2010 +0100 [CMake] add small description for the zlib option taken from two bits in configure.ac CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1267d7e0c36e262984070a3b55fea46e7289a4b4 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 19:34:03 2010 +0100 [CMake] add a note about gtk-doc not supported yet CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 201b18ad0837e84d874b56e1b0469d1b2d45378b Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 19:30:36 2010 +0100 [CMake] sync with poppler-config.h.in: add WITH_FONTCONFIGURATION_{FONTCONFIG,WIN32} poppler/poppler-config.h.cmake | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 0d0044e8cc2d406f066338102ec73e1b56214cc3 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 19:25:27 2010 +0100 [CMake] move poppler-config.h.cmake in the poppler subdirectory, where poppler-config.h.in is CMakeLists.txt | 2 +- poppler-config.h.cmake | 90 ------------------------------------------ poppler/poppler-config.h.cmake | 90 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+), 91 deletions(-) commit f785e29a901d2c76204dd26e9585446fdd817ebd Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 18:35:34 2010 +0100 [CMake] remove the generated poppler-enums.{c,h} in the clean target ie usually when doing `make clean' glib/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) commit 369604603375dbe3516136b6f8f9d0c26e0b744f Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 18:26:45 2010 +0100 [CMake] use the --template option of glib-mkenums (like done with autotools) glib/CMakeLists.txt | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) commit bbcbb34fec10c90edd5960bdbcc6849bc8f39526 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 17:34:40 2010 +0100 [CMake] set POPPLER_GLIB_DISABLE_DEPRECATED and POPPLER_GLIB_DISABLE_SINGLE_INCLUDES as done with autotools CMakeLists.txt | 6 ++++++ glib/CMakeLists.txt | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) commit 190fa971c12ca1b3007f6ba349a77a7c15c47490 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 17:24:25 2010 +0100 reorder to match what's in the correspondent .in glib/poppler-features.h.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ff46def8b178420a86a974ec2ce767a538bba8be Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 17:23:16 2010 +0100 [CMake] GDK_FEATURE is no more needed here glib/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) commit 1eb8026a3060ef61a88c535177510f7ac7e7fc25 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 17:19:58 2010 +0100 [CMake] set in one place whether to build the glib frontend CMakeLists.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit a1a6f23e2345814e147a72211ce9139555385223 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 17:09:58 2010 +0100 [CMake] correctly set the GLIB_REQ stuff CMakeLists.txt | 1 + poppler-glib.pc.cmake | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 0f2e5d6925c5938281d9bafc297a43867c4a915b Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 17:03:21 2010 +0100 [CMake] move the minimum GLib version to the main CMakeLists.txt CMakeLists.txt | 1 + cmake/modules/FindGTK.cmake | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit efdffba45d15b538dbfb294403e99f3a6470b4d9 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 16:58:27 2010 +0100 [CMake] align the GDK stuff (GDK_{FEATURE,REQ}) to what done with autotools CMakeLists.txt | 6 +++++- poppler-glib.pc.cmake | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) commit cfecc69b7f05920f543ee7e9aafeafaa4c3506fb Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 16:49:14 2010 +0100 [CMake] apparently there's not a minimum version requirement for GDK, so drop the check cmake/modules/FindGTK.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 8ff1cf03d2607b0f13bbbbf272f2b03d8927bd24 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 16:47:21 2010 +0100 [CMake] first look for Cairo, then for GLib/GDK/GTK this starts to align to the searches done with autotools also, move the CAIRO_FEATURE to the main CMakeLists.txt CMakeLists.txt | 19 +++++++++++-------- glib/CMakeLists.txt | 1 - 2 files changed, 11 insertions(+), 9 deletions(-) commit bcaf62b8e252594530d3050761ba563cf3b1fb6e Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 16:00:03 2010 +0100 [CMake] enhance/rewrite a bit the FindCairo module make use of some features of CMake 2.6 (as we require it): - newer pkg-config handling (aka pkg_check_modules()) - version checking for modules (PACKAGE_FIND_VERSION*) - find_package_handle_standard_args() also, after the pkg-config search to win32, search for cairo again (double-check plus real search for win32) furthermore, introduce CAIRO_INCLUDE_DIRS with the include paths requires (kind of "obsoletes" CAIRO_CFLAGS, left there in case it is used again) apply the changes to the rest of the build system (specify the version needed, use the correct variable for includes) CMakeLists.txt | 2 +- cmake/modules/FindCairo.cmake | 64 +++++++++++++++++++++++++++---------------- glib/CMakeLists.txt | 2 +- 3 files changed, 43 insertions(+), 25 deletions(-) commit c96aa0f5fc74ae04f483485b787aaf65f1791991 Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 02:01:13 2010 +0100 add Patrick's copyright notices cpp/poppler-global.h | 1 + goo/gtypes.h | 14 ++++++++++++++ poppler/GlobalParams.cc | 1 + poppler/SplashOutputDev.cc | 1 + 4 files changed, 17 insertions(+) commit 3311bedd2eb831ef1fd553f3f50960331cf6885f Author: Patrick Spendrin <ps_ml@gmx.de> Date: Sun Mar 7 01:56:15 2010 +0100 MSVC: disable for the 'ustring' class the warning C4251 (which does not apply) cpp/poppler-global.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit 9efa18397bd05fbd27c7811fa6e0f34ce94012e0 Author: Patrick Spendrin <ps_ml@gmx.de> Date: Sun Mar 7 01:48:03 2010 +0100 MSVC: disable warning C4800, which is of no use for now goo/gtypes.h | 4 ++++ 1 file changed, 4 insertions(+) commit 3a88d1bf8d2c5a9e8014e0d46e24c9ec06556469 Author: Patrick Spendrin <ps_ml@gmx.de> Date: Sun Mar 7 01:26:10 2010 +0100 MSVC: no isfinite(), so provide it using _finite() poppler/SplashOutputDev.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 7774912c46f832f25c51b4cfc0e9430b1cd7fa1f Author: Patrick Spendrin <ps_ml@gmx.de> Date: Sun Mar 7 01:22:31 2010 +0100 MSVC: do not force constness here, so the right overload will be chosen poppler/GlobalParams.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cf07a5d85b402b6956c9605fbdc88bddcb94a3cf Author: Pino Toscano <pino@kde.org> Date: Sun Mar 7 00:49:07 2010 +0100 [CMake] show end yes/no message about the GDK usage just like done with autotools CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 42c98f8eabe304d5e3dc8c1ebdd5b0b6c221e696 Author: Pino Toscano <pino@kde.org> Date: Sat Mar 6 17:18:08 2010 +0100 [CMake] make the font configuration backend selection take a string (like with autotools) this way it is possible to set the cmake variable FONT_CONFIGURATION to either "win32" (default on windows) or "fontconfig" (default elsewhere) to the font backend to use as a consequence, make fontconfig a requirement only if the font backend chosen is "fontconfig" CMakeLists.txt | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) commit bda6e7cd089f2970af2e9540b4415633ffcf0ebb Author: Pino Toscano <pino@kde.org> Date: Sat Mar 6 17:13:30 2010 +0100 [CMake] add a show_end_message() macro to show a generic string as value make show_end_message_yesno() call it with the proper "yes" or "no" string cmake/modules/PopplerMacros.cmake | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit d313c0f508711b3b7166b84608c43ebf1f07194b Author: Pino Toscano <pino@kde.org> Date: Sat Mar 6 17:08:59 2010 +0100 [CMake] rename the show_end_message() macro to show_end_message_yesno() CMakeLists.txt | 26 +++++++++++++------------- cmake/modules/PopplerMacros.cmake | 4 ++-- 2 files changed, 15 insertions(+), 15 deletions(-) commit 0425ff835fa26df5e25e628a6c56f3a180713905 Author: Pino Toscano <pino@kde.org> Date: Fri Mar 5 22:21:56 2010 +0100 update copyright poppler/ArthurOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5ea135ca58e112110be3ae10d887f3188172765 Author: Pino Toscano <pino@kde.org> Date: Fri Mar 5 22:14:57 2010 +0100 [arthur] update the miter limit poppler/ArthurOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 552f344b3e3df7c796afa6946149b0a5590cc4f7 Author: Pino Toscano <pino@kde.org> Date: Fri Mar 5 22:04:39 2010 +0100 [arthur] update the line dash style poppler/ArthurOutputDev.cc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit bc42ee05fceef0d0dd2ab0587c184dfc37cf29bf Author: Albert Astals Cid <aacid@kde.org> Date: Fri Mar 5 18:54:32 2010 +0000 fix copyright year poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b21461e91ed671ef29fd3cf4780fda44f82a0679 Author: Adrian Johnson <ajohnson@redneon.com> Date: Fri Mar 5 15:14:08 2010 +0100 [cairo] Close image stream before resetting it again poppler/CairoOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit 866bcc7edb47fe11355081045e2d316a4d530649 Author: Pino Toscano <pino@kde.org> Date: Thu Mar 4 14:19:50 2010 +0100 [Qt4] no need to save&restore on a newly created painter qt4/src/poppler-page.cc | 2 -- 1 file changed, 2 deletions(-) commit 654698b556eb53eab7c2d55fc6b3fdd9e35173bb Author: Pino Toscano <pino@kde.org> Date: Thu Mar 4 13:16:11 2010 +0100 [Qt4] use Arthur unconditionally arthur is no more tied to splash, so can be used in an occasion qt4/src/poppler-document.cc | 2 +- qt4/src/poppler-page.cc | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) commit 41931b6310d2ae81e622db904246f019ceb8410d Author: Pino Toscano <pino@kde.org> Date: Thu Mar 4 13:13:11 2010 +0100 [Qt4] compile Arthur unconditionally as the arthur output dev does not require splash anymore, we can always compile it with poppler-qt4 poppler/Makefile.am | 4 ++-- qt4/src/CMakeLists.txt | 6 +----- qt4/src/Makefile.am | 6 +----- 3 files changed, 4 insertions(+), 12 deletions(-) commit 48a29e2bbc9aa9bd0cb2775a2365c0ffdeb6ce87 Author: Pino Toscano <pino@kde.org> Date: Thu Mar 4 13:11:43 2010 +0100 [Arthur] make ArthurOutputDev compile even with Splash disabled text rendering is disabled in that case for now poppler/ArthurOutputDev.cc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 2013a19b6457753890affad8c4049f2ce4627df7 Author: Pino Toscano <pino@kde.org> Date: Thu Mar 4 13:02:43 2010 +0100 [CMake/tests] compile gtk-splash-test only if splash is enabled test/CMakeLists.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit ae740c5cfefbae13f82b750e39fa3dbbdc94858b Author: Pino Toscano <pino@kde.org> Date: Tue Mar 2 23:22:06 2010 +0100 [cpp] update the copyrights cpp/poppler-document-private.h | 2 +- cpp/poppler-document.cpp | 2 +- cpp/poppler-embedded-file.cpp | 2 +- cpp/poppler-embedded-file.h | 2 +- cpp/poppler-global.cpp | 3 ++- cpp/poppler-global.h | 2 +- cpp/poppler-page.cpp | 2 +- cpp/poppler-page.h | 2 +- cpp/poppler-rectangle.h | 2 +- cpp/poppler-toc.cpp | 2 +- cpp/poppler-version.cpp | 2 +- cpp/tests/poppler-dump.cpp | 2 +- 12 files changed, 13 insertions(+), 12 deletions(-) commit 24b1d8d0b4ae7cea9fbc331f19cd5ce3917b8b4d Author: Pino Toscano <pino@kde.org> Date: Tue Mar 2 23:15:56 2010 +0100 [cpp] {from,to}_utf_8() -> {from,to}_utf8() cpp/poppler-global.cpp | 4 ++-- cpp/poppler-global.h | 4 ++-- cpp/poppler-page.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) commit 690af1bc58de1ebe710c5e599f1cb635e4838fc8 Author: Hib Eris <hib@hiberis.nl> Date: Tue Mar 2 16:33:04 2010 +0100 [cpp] define poppler_cpp_EXPORTS when building with autotools as well fixes building on Windows cpp/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit 7492a376e7e5ec35534276ac15485123645617b0 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 2 22:16:07 2010 +0100 [cpp/tests] use gmtime() when gmtime_r() is not available cpp/tests/poppler-dump.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit de013cc14a0621782c53f481ed7e559f241855a3 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 2 22:05:25 2010 +0100 [cpp] include config.h _after_ the other includes cpp/poppler-global.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 388e5d6aebcabbfc90894c86248159c63701cb0a Author: Hib Eris <hib@hiberis.nl> Date: Tue Mar 2 15:51:23 2010 +0100 Use ICONV_CONST when necessary cpp/poppler-global.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit aaa58b26733a2f7c778632da4942b588050cf33f Author: Pino Toscano <pino@kde.org> Date: Tue Mar 2 21:53:55 2010 +0100 [CMake] properly define ICONV_CONST CMakeLists.txt | 1 - cmake/modules/FindIconv.cmake | 3 +++ config.h.cmake | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit 6304b0d8959fccf96b030c757d78e845d04757e4 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 28 15:33:53 2010 +0100 poppler 0.13.1 CMakeLists.txt | 2 +- NEWS | 33 +++++++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 37 insertions(+), 4 deletions(-) commit 9eac71862915c851c07075e3ca3af82eb9e4e775 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 28 15:33:19 2010 +0100 Make sure the private headers end up in the tarball on make dist cpp/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) commit b488172311c2921ab4c365d71ad8b1ab7f596c71 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 28 14:25:36 2010 +0100 Add copyright notices poppler/CairoFontEngine.cc | 3 ++- poppler/CairoFontEngine.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) commit 5453cff5b7cb47cadfdae585a58409117af8c1f1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 28 13:51:22 2010 +0100 [cairo] Select filter for images based on scale factor When rendering images and interpolate flag is disabled or missing, we always interpolate unless scale factor is >= 400% See bugs #25268, #9860 poppler/CairoOutputDev.cc | 64 ++++++++++++++++++++++++++++++++++------------- poppler/CairoOutputDev.h | 2 ++ 2 files changed, 49 insertions(+), 17 deletions(-) commit e65456cbd5cae2750426aabeb2d66a10537616f0 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 28 13:13:13 2010 +0100 [cairo] Refactor scaled size computation into a new method poppler/CairoOutputDev.cc | 52 +++++++++++++++++++++++------------------------ poppler/CairoOutputDev.h | 2 ++ 2 files changed, 28 insertions(+), 26 deletions(-) commit 32aa9ae7d0087298661829265de00e93398272b3 Author: Jan Kümmel <jan+freedesktop@snorc.org> Date: Sat Feb 27 17:58:46 2010 +0100 [cairo] Omit writing of embedded fonts into tempary files Fixes bug #26694. poppler/CairoFontEngine.cc | 146 +++++++++++++++++++++++++-------------------- 1 file changed, 80 insertions(+), 66 deletions(-) commit 7ba52a32343ca73730a80b64c136e3f03348e7d9 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 27 17:42:46 2010 +0100 [cairo] Remove unused 'face' from CairoFreeTypeFont class poppler/CairoFontEngine.cc | 6 ++---- poppler/CairoFontEngine.h | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) commit 7c3140c88c00282e10888143fffe3c402d48fb05 Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Feb 27 13:13:47 2010 +0100 Don't use '\' character in PostScript names poppler/PSOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8e354a15a1861719c00799937ad9f9bb1bb71e9f Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Wed Feb 24 18:58:11 2010 +0000 Fix remaining part of 26243 Thomas says: The "gn" is colored with a shading pattern, but the shading has a bbox, so it is clipped to this bbox, too. But when coloring text or masks in pattern colorspace, this is definely wrong. poppler/Gfx.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fcbc571a98775b1daa8f562fc8674fb2d15b6626 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 23 17:02:47 2010 +0100 [cpp] make checksum() return an array of data, instead of a string a checksum is a sequence of values after all, so just return it as such instead of pretending it is a string accordingly adapt the mini dump application cpp/poppler-embedded-file.cpp | 10 ++++++++-- cpp/poppler-embedded-file.h | 2 +- cpp/tests/poppler-dump.cpp | 4 ++-- 3 files changed, 11 insertions(+), 5 deletions(-) commit fbefb9bef9f7a099d51919255a98f412d1e1d696 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 23 16:56:47 2010 +0100 [cpp apidox] add API documentation for the 'embedded_file' class cpp/poppler-embedded-file.cpp | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 6d39cca0a035fc656d3b86ba66dedaccee532fcb Author: Pino Toscano <pino@kde.org> Date: Tue Feb 23 16:41:56 2010 +0100 [cpp apidox] add API documentation for the 'toc' and 'toc_item' classes cpp/poppler-toc.cpp | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) commit 857e4ceb26d959c48c7af6bff53ca1bfe5307236 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 23 15:39:58 2010 +0100 [cpp] when the loading of the document fails, put back the data where it was before cpp/poppler-document-private.h | 2 +- cpp/poppler-document.cpp | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) commit 7838b182143086192ac8dcf571da0ce1743619e2 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 23 00:04:09 2010 +0100 [cpp] add the directory of the generated html apidox to the ignore list cpp/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 71a38a23a9db5cac872c666283b7abcb1462210c Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 23:43:34 2010 +0100 [cpp] add page::text() to get the text inside a page region cpp/poppler-page.cpp | 16 ++++++++++++++++ cpp/poppler-page.h | 1 + 2 files changed, 17 insertions(+) commit 4c75360233bc67f097551980a46ecce976927220 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 23:05:53 2010 +0100 [cpp] add page::search() cpp/poppler-page.cpp | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ cpp/poppler-page.h | 8 ++++++++ 2 files changed, 59 insertions(+) commit 8932c53a084083eb42d109dd17bac3ad41ce65b5 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 22:39:36 2010 +0100 [cpp] add getters and setters for left/top/right/bottom cpp/poppler-rectangle.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 8e1ea57f558fa3a1702a17d79b5aaffc486c6a56 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 22:19:51 2010 +0100 [cpp] add a global enum for case sensitivity cpp/poppler-global.h | 2 ++ 1 file changed, 2 insertions(+) commit ae41b087de8f0a7d525320dcf1d64ff22fe982b6 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 19:06:21 2010 +0100 [cpp apidox] doxygen configuration for poppler-cpp cpp/Doxyfile | 1551 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1551 insertions(+) commit 1a36a7bcc684065478a3ade2c2938f0e3672140a Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 19:05:49 2010 +0100 [cpp apidox] very small start of intro page cpp/Mainpage.dox | 9 +++++++++ 1 file changed, 9 insertions(+) commit 85e052ab7a4c462143325ecf60eebba35411b790 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 18:53:20 2010 +0100 [cpp apidox] start adding API documentation for the global 'poppler' namespace ... including the 'convert_date' function and faking the 'noncopyable' class cpp/poppler-global.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit b01608f91fb6cf6e9c4fb6e6ee3cb57517a766bf Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 18:52:24 2010 +0100 [cpp apidox] exclude the 'detail' namespace from apidox extraction this includes also the 'noncopyable' typedef, but that will be handled differently cpp/poppler-global.h | 2 ++ 1 file changed, 2 insertions(+) commit f17a7a8cfdeabb3ced3ba8d42c869d892c528e13 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 18:51:30 2010 +0100 [cpp apidox] add API documentation for the version functions cpp/poppler-version.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit f6c4bbddc7d04c0b1a6b25c41cbf6d81ae40cc0c Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 18:50:54 2010 +0100 [cpp apidox] start adding API documentation for 'document' cpp/poppler-document.cpp | 182 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 182 insertions(+) commit cbb7519904d9b6395d0128e16a79324e4b8bfcc0 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 22 13:15:11 2010 +0100 [CMake] no more need to build system check for the Cairo blend modes followup of 880890c14e99a954b365a3a6b59deeffa5304d30 for the cmake build system cmake/modules/FindCairo.cmake | 18 ------------------ config.h.cmake | 3 --- 2 files changed, 21 deletions(-) commit 80f47bbf45faf751c661c1d0931e8e1da622b8ca Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Feb 22 12:43:06 2010 +0100 [cairo] Use cairo_surface_set_mime_data() when printing When rendering a jpeg image for printing, using cairo_surface_set_mime_data() to attach the jpeg stream to the surface reduces drastically the size of the output file. poppler/CairoOutputDev.cc | 42 ++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 1 + 2 files changed, 43 insertions(+) commit d63293af6dbff65f160be0118b1580c03a1aab56 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Nov 27 09:52:23 2009 +0100 [cairo] Turn EXTEND_PAD off when printing poppler/CairoOutputDev.cc | 98 ++++++++++++++++++++++++++++++++--------------- 1 file changed, 67 insertions(+), 31 deletions(-) commit 880890c14e99a954b365a3a6b59deeffa5304d30 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Feb 22 11:01:05 2010 +0100 [cairo] Use CAIRO_VERSION macros to check whether blend modes are available configure.ac | 24 ------------------------ poppler/CairoOutputDev.cc | 4 ++-- 2 files changed, 2 insertions(+), 26 deletions(-) commit 5c300ce00b5c59da767ca1ffec12f96f0ebbe701 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 21 21:20:10 2010 +0100 [Qt4/apidox] fix typo qt4/src/poppler-qt4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f89ccf871e2f4a14129ad3e986b8cd19cdf129c Author: Pino Toscano <pino@kde.org> Date: Sun Feb 21 21:06:31 2010 +0100 [CMake] set the CXXFLAGS in a better way CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a18dab9e53a20a76eb46fa3a868fffdd3c754ce2 Merge: fa09892 f3862f7 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 21 19:56:38 2010 +0100 Merge remote branch 'origin/cpp-frontend' * origin/cpp-frontend: (34 commits) [cpp/tests] poppler-dump: show a string for the font type [cpp/tests] poppler-dump: show the orientation of the pages [cpp/tests] poppler-dump: a bit less output in permissions lines [cpp/tests] poppler-dump: add --show-all to show all the information [cpp] use iconv for the utf8 <-> utf16 conversions [cpp] add the build system stuff for iconv, mandatory for cpp [cpp] fixup unicode GooString <-> ustring conversions [cpp] fix installation of poppler-version.h with autotools and builddir != srcdir simplify [cpp/tests] add a simple poppler-dump test [cpp] use the correct index (instead of an uninitialized variable) [cpp] properly delete the children of a toc item [cpp] actually implement toc::root() [cpp] fix the reference to the vector data [cpp] fix the reference to the vector data [cpp] add destructor for 'rectangle' [cpp] add out stream operators for rect and rectf [cpp] add namespace to namespace functiond to link properly [cpp] add default empty parameters for the passwords of the document loading functions [cpp] add "human friendly" output representation for byte_array ... Conflicts: config.h.cmake commit fa0989297e95b6adebed71336ea206d1b279ab24 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 21 16:59:57 2010 +0000 Detect the need for nanosleep in solaris Fixes bug 26650 ConfigureChecks.cmake | 5 +++++ test/CMakeLists.txt | 17 +++++++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) commit d074485aa9d9fac6b715382002f53e3303bbc519 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 20 10:08:33 2010 +0000 Do not call getPixel if we know how to access the data Gives a 20% speed increase in some pdf splash/Splash.cc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit d4cafe357bd86feb4b56e5dfbf5b7822e237a2ee Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 20 10:07:20 2010 +0000 Only call getPixel when really needed Gives a 8% speed increase in some pdf splash/Splash.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c3122cfbe090f3a4045269222f941cd5ce77c171 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 20 10:04:37 2010 +0000 Move test code to the header to it can be inlined Gives a 10% speed increase in some documents splash/SplashClip.cc | 40 ++++++++++++++-------------------------- splash/SplashClip.h | 43 +++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 55 insertions(+), 28 deletions(-) commit d987fb9b77e6da454eb898cc6c8baaf747b7ac4f Author: Albert Astals Cid <aacid@kde.org> Date: Fri Feb 19 23:59:03 2010 +0000 implement writeImgFile for splashModeXBGR8 splash/SplashBitmap.cc | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit f9425c0b5b112ac673d0499f79a743afce719593 Author: Hib Eris <hib@hiberis.nl> Date: Fri Feb 19 20:18:13 2010 +0000 use pkgconfig to detect libpng on autotools too configure.ac | 12 ++++--- goo/Makefile.am | 7 +++- m4/libpng.m4 | 99 ----------------------------------------------------- poppler/Makefile.am | 3 ++ 4 files changed, 17 insertions(+), 104 deletions(-) commit 0cb07d645527f25997f5e1b104a6be92441d8ffa Author: Albert Astals Cid <aacid@kde.org> Date: Thu Feb 18 23:27:20 2010 +0000 Only swap w with h if rotation is 90 or 270 utils/pdftoppm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 35015ed11090d67cab69443e607d4d80ca03c619 Author: Nils Höglund <nils.hoglund@gmail.com> Date: Thu Feb 18 23:14:51 2010 +0000 Match the number of calls to beginMarkedContent and endMarkedContent poppler/Gfx.cc | 3 +++ 1 file changed, 3 insertions(+) commit ee265760e6ecec93fe26fb8e02848872555daefd Author: Albert Astals Cid <aacid@kde.org> Date: Thu Feb 18 23:13:48 2010 +0000 make sure properties exists before using it poppler/TextOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit eab7a55815c06525c7aeba254b66498ab147a958 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 17 21:54:31 2010 +0000 if malloc failed return false splash/SplashFTFont.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e2def20a45c1d8307fd62fabb9769121af975abf Author: Albert Astals Cid <aacid@kde.org> Date: Tue Feb 16 23:31:05 2010 +0000 Only assume the OC is not visible if it exists and is set to no Fixes bug 26532 and a small line that was not drawn in 15899 poppler/OptionalContent.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5edd175bdd0f7c2fc3aecb72384de4cb0788fc4e Author: Albert Astals Cid <aacid@kde.org> Date: Tue Feb 16 20:57:22 2010 +0000 Add and fix copyright years poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0f0fba1b04589061449f98b9dcd8a0c4e7ad2d74 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 16 22:00:51 2010 +0100 make the descriptions specify they refer to the Splash backend config.h.cmake | 4 ++-- configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 39b4699020b5cfa1a10e5ef00f0e355e27b21c9f Author: Pino Toscano <pino@kde.org> Date: Tue Feb 16 21:56:30 2010 +0100 [CMake] reflect that poppler-glib needs cairo now poppler-glib.pc.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c66c775bcd686c61ea136bcd8f261fb631c5e71 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Feb 16 20:52:15 2010 +0000 We don't need to pass anything to FontConfig Makes it much easier to manage and also fixes bug 26544 poppler/GlobalParams.cc | 11 +++-------- poppler/GlobalParams.h | 6 +----- 2 files changed, 4 insertions(+), 13 deletions(-) commit 582b5259b3c65ee1bef99dbdfccf00f37269b76f Author: Pino Toscano <pino@kde.org> Date: Tue Feb 16 16:36:24 2010 +0100 [CMake] find the system threads, and define in the config.h if we have pthreads CMakeLists.txt | 4 ++++ config.h.cmake | 3 +++ 2 files changed, 7 insertions(+) commit 1dff9d440556a155fb5ca7bed15fc6a1f77a1c97 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 16 16:10:44 2010 +0100 [CMake] add the HAVE_LIBOPENJPEG and HAVE_OPENJPEG_H defines, to match autotools' ones CMakeLists.txt | 1 + config.h.cmake | 6 ++++++ 2 files changed, 7 insertions(+) commit 4a0bcaa83e6e6533cd48c63449a08467d51c13ea Author: Pino Toscano <pino@kde.org> Date: Tue Feb 16 16:01:53 2010 +0100 [CMake] config.h.cmake: change some comments to match autotools' ones config.h.cmake | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 9e38082c3e571d035f0152d65661e5dd97fdd5d8 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 16 15:58:30 2010 +0100 [CMake] add the Win32-specific ENABLE_RELOCATABLE option, matching autotools' one CMakeLists.txt | 5 +++++ config.h.cmake | 3 +++ 2 files changed, 8 insertions(+) commit eb03020893ed591c18817d75d427a1296cb1f233 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 16 15:49:50 2010 +0100 [CMake] config.h.cmake: move POPPLER_WITH_GDK in the same place of autotools' generated one, and with the same comment config.h.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ba65b3af047b758094b999b2939065c5127508dd Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 10 23:08:04 2010 +0000 Wrap #include <jpeglib.h> in extern "C" to fix build Fixes bug 26351 goo/JpegWriter.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit d3d2a3ee0a3505f44d1196823716b768d434ba73 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 10 23:16:27 2010 +0100 [CMake] fix typo: "MULTITHREAD" -> "MULTITHREADED" CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0dae2294cf8a2f312d8e6504be4e1be516b34b1b Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Tue Feb 9 21:44:07 2010 +0000 Fix regression in painting. Fixes bug 26243 poppler/Gfx.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit aa9c3acbc73bafb33c8a797701ed0488a4a74263 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jan 28 17:23:18 2010 +0100 [cairo] Add clipToStrokePath() method It's unimplemented, it just contains a log message to help when debugging. poppler/CairoOutputDev.cc | 4 ++++ poppler/CairoOutputDev.h | 1 + 2 files changed, 5 insertions(+) commit 41a450c8db45fd064798d15c3d8fe5ab536a7b30 Author: David Benjamin <davidben@mit.edu> Date: Fri Jan 22 00:26:59 2010 -0500 [cairo] Avoid leaving pointers to free'd memory Fixes potential free'd memory access introduced by 3a94e8ce90c0a4d11c5c5aa8805c167c8a0434e5. I don't think this is actually possible in the current code; we push/pop before and after rendering a PDF, so the bottom state should never have a mask. Still, better to clean this up. poppler/CairoOutputDev.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 309228404710debee4337cc53c641dfef64ad86c Author: David Benjamin <davidben@mit.edu> Date: Wed Jan 27 22:41:16 2010 +0000 Allow commands to abort the current stream In many instances, the sensible response (and what acroread does) in case of an error is abort the PDF stream. To avoid changing the return value of every function and using C++ exceptions, we communicate via a commandAborted variable. This patch, matching acroread's behavior aborts the current stream when there are too few arguments or we pop too many times. Implementation note 39 in Appendix H of the PDF reference contradicts the former, but hand-crafted test PDFs as well as the file in #24575 suggest otherwise. Unlike all the other attempts, this patch actually fixes the PDF in bug #24575. poppler/Gfx.cc | 11 +++++++++++ poppler/Gfx.h | 1 + 2 files changed, 12 insertions(+) commit 8284008aa8230a92ba08d547864353d3290e9bf9 Author: David Benjamin <davidben@mit.edu> Date: Wed Jan 27 22:40:33 2010 +0000 Add a stack of stateGuards to Gfx While a stack of states is a good way to maintain graphics contexts, if the command stream you are interpreting is untrusted, we must place appropriate guards to be sure that, not only do we not pop past the end of the stack, but we do not pop past the stack as it was when we began rendering. poppler/Gfx.cc | 30 +++++++++++++++++++++++++++++- poppler/Gfx.h | 11 +++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) commit 4ae84c830f842d100cbb702b32970951a5a5769f Author: David Benjamin <davidben@mit.edu> Date: Wed Jan 27 22:39:20 2010 +0000 Maintain the height of the stack in Gfx Introduces a new variable Gfx::stackHeight that maintains up-to-date information about the current height of the stack. poppler/Gfx.cc | 4 ++++ poppler/Gfx.h | 1 + 2 files changed, 5 insertions(+) commit 120fe6ef673c648ae7b19ad2a7e9aef22ee25810 Author: David Benjamin <davidben@mit.edu> Date: Wed Jan 27 22:38:43 2010 +0000 Do not use objects just after deleting them The error condition in GfxCIDFont::GfxCIDFont references cMapName and collection, so they should not be deleted yet. poppler/GfxFont.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 3375fa96c7a7dbbb98f5a7b3df9e840a5f30bc80 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 27 22:32:29 2010 +0000 GooVector rewrite, old version had "unknown" origins/license goo/GooVector.h | 237 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 141 insertions(+), 96 deletions(-) commit a945fe64e16ac9aa2577c5db05fc7f3fd4955b7b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jan 27 16:15:40 2010 +0100 [cairo] Fix downscaling images when document is rotated Fixes bug #26264. poppler/CairoOutputDev.cc | 37 +++++++++++++++++++++++++++++++++++-- 1 file changed, 35 insertions(+), 2 deletions(-) commit 428cc965c17f167ea00540beeaeaac5c3e426686 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 26 21:01:32 2010 +0000 Add POPPLER_WITH_GDK in cmake build system Bug 26247 glib/CMakeLists.txt | 1 + glib/poppler-features.h.cmake | 1 + 2 files changed, 2 insertions(+) commit 0af1ae75fd4c8031343f668bed5d8ca6588ee652 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jan 26 20:49:17 2010 +0100 [cairo] Use the right matrix for the mask in drawMaskedImage() Fixes bug #16906. poppler/CairoOutputDev.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit d8ceaff39f5b80624b6bdc703c2a180dfc3d73ee Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jan 26 11:57:06 2010 +0100 [cairo] Add some more LOG messages poppler/CairoOutputDev.cc | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 778e764b3cb77526260c3c8b46acf19ad06fc61d Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jan 25 22:40:20 2010 +0000 poppler 0.13.0 CMakeLists.txt | 4 +-- NEWS | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 5 files changed, 104 insertions(+), 5 deletions(-) commit 1b5333f2685b8ab85bb1f5b899332c5a0ac99a3d Author: Pino Toscano <pino@kde.org> Date: Mon Jan 25 02:19:00 2010 +0100 [CMake] allow multiple targets with the same name this is needed for building the unit tests later without explicitly having enabling them at configure time (thus compile them on-demand) for this, set the cmake policy 0003 as OLD (allow), and consecuently 0011 for setting the former from an include()d script cmake/modules/PopplerDefaults.cmake | 7 +++++++ 1 file changed, 7 insertions(+) commit 92e1f46866c063c370ef1d6324f6a6c01aed6680 Author: Pino Toscano <pino@kde.org> Date: Mon Jan 25 02:15:27 2010 +0100 [CMake] do not add the fake buildtests target for the MSVC IDE cmake/modules/PopplerMacros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dea5aa37de079196fa916b1db9af782cf25045f9 Author: Maciej Mrozowski <reavertm@gmail.com> Date: Mon Jan 25 00:51:20 2010 +0000 Install some more goo files CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) commit 671a971c45a1e8ce8f6daade82117a9a137034d6 Author: Maciej Mrozowski <reavertm@gmail.com> Date: Mon Jan 25 00:48:31 2010 +0000 do not install a private header qt4/src/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 54c86e53a143a8f9d196e4bef2a733c6f00f6026 Author: Maciej Mrozowski <reavertm@gmail.com> Date: Mon Jan 25 00:33:07 2010 +0000 Only build tests if told to test/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit eb082274694aadb80dd16caea65d7f0a1adf8b46 Author: Maciej Mrozowski <reavertm@gmail.com> Date: Mon Jan 25 00:29:55 2010 +0000 Only build demos and test if told so. Install poppler-layer.h glib/CMakeLists.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 73fcc310cd7d6ef435b453485c1c99a33f77212a Author: Maciej Mrozowski <reavertm@gmail.com> Date: Mon Jan 25 00:29:09 2010 +0000 install man pages utils/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) commit 8672217af4cf88d5506572c2b40fbb0d1d0dbd87 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jan 25 00:11:50 2010 +0000 Make the poppler object cache params be a ref And make sure what we was is a ref, otherwise we abort poppler/Gfx.cc | 14 ++++++++------ poppler/PopplerCache.cc | 12 ++++++------ poppler/PopplerCache.h | 6 +++--- 3 files changed, 17 insertions(+), 15 deletions(-) commit 9567fd8d3d905897d0abacd77885102ae86ba8a9 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 24 20:15:49 2010 +0000 ImgWriter is a header too goo/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 735e8a690d0bd3ab4bec90bdad975d19ac3d4689 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 24 19:51:19 2010 +0000 noone maintains this either msvc/config.h | 62 ---------------------------------- msvc/poppler/poppler-config.h | 77 ------------------------------------------- 2 files changed, 139 deletions(-) commit d485564f0dc86f62b996380bfbd570cf3f543e4f Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 24 19:22:33 2010 +0000 remove files noone maintains README.windows | 63 ------------------------ makefile.vc | 150 --------------------------------------------------------- 2 files changed, 213 deletions(-) commit 38467f2738c88f060ae1d30332e34da743a888a5 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 24 19:18:44 2010 +0000 only compile glib frontend if cairo is found CMakeLists.txt | 4 ++-- glib/CMakeLists.txt | 25 +++++++------------------ 2 files changed, 9 insertions(+), 20 deletions(-) commit cf045acf46307d51fb6d9959451b53681e6cac03 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 24 19:01:52 2010 +0000 compile glib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 0397cf4f193015286464ae70ab202ed400110e30 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 24 19:00:09 2010 +0000 Add and fix copyright years poppler/CairoFontEngine.cc | 1 + poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 2 +- poppler/Gfx.cc | 2 +- poppler/Gfx.h | 2 +- poppler/PopplerCache.cc | 1 + poppler/PopplerCache.h | 1 + 7 files changed, 7 insertions(+), 4 deletions(-) commit 9c9f18b6ceea546dfb21ef0aab29ba99733dcb52 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jan 24 19:27:29 2010 +0100 [glib-demo] Remove #ifdef HAVE_CAIRO macros from several demos glib/demo/images.c | 2 -- glib/demo/layers.c | 71 +++--------------------------------------------------- glib/demo/render.c | 29 ++++------------------ 3 files changed, 9 insertions(+), 93 deletions(-) commit 4e938c1f81add2162ced0e97b24fe588f15f178d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jan 24 19:15:06 2010 +0100 [glib] Make glib frontend unconditionally use cairo output device Splash support has been removed. configure.ac | 74 ++++++++------- glib/Makefile.am | 20 +--- glib/poppler-document.cc | 9 -- glib/poppler-page.cc | 237 +--------------------------------------------- glib/poppler-page.h | 7 -- glib/poppler-private.h | 14 --- glib/poppler.cc | 6 -- glib/test-poppler-glib.cc | 6 +- poppler-glib.pc.in | 2 +- 9 files changed, 51 insertions(+), 324 deletions(-) commit 59ff9d66fc3b0c9612b1c12fc1ae4dbb8dc85b39 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jan 24 17:57:48 2010 +0100 Use a small object cache in GfxResources to cache GState objects It drastically improves performance with some documents like page 742 of PDF32000_2008.pdf poppler/Gfx.cc | 19 +++++++++++++++++-- poppler/Gfx.h | 2 ++ 2 files changed, 19 insertions(+), 2 deletions(-) commit 880a4a9a60a10f7aa7d3dc7c2802b31b7ef01e06 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jan 24 17:56:35 2010 +0100 Add a generic cache to store objects by its reference poppler/PopplerCache.cc | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ poppler/PopplerCache.h | 16 +++++++++++++ 2 files changed, 76 insertions(+) commit 5ad492df75c0c2394719e85db4c8b43f15b52110 Author: mpsuzuki <mpsuzuki@hiroshima-u.ac.jp> Date: Sun Jan 24 13:34:41 2010 +0100 [cairo] Fix memory leak poppler/CairoFontEngine.cc | 1 + 1 file changed, 1 insertion(+) commit 3160464b4b70c714c36234320878acab81b866cc Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Nov 26 13:17:19 2009 +0100 [cairo] Use our own implementation to scale down images instead of cairo This is a workaround for the low quality downscaling of pixman. Rescaler implementation is a box filter that supports non-integer box sizes written by Jeff Muizelaar. Fixes bug #5589. poppler/CairoOutputDev.cc | 89 ++++++++++++ poppler/CairoOutputDev.h | 1 + poppler/CairoRescaleBox.cc | 352 +++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoRescaleBox.h | 12 ++ poppler/Makefile.am | 4 +- 5 files changed, 457 insertions(+), 1 deletion(-) commit 6825a219f0bc0ac6fd469fb8a6ebb86df774375f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jan 23 11:24:15 2010 +0100 [glib] Use TextOutputDev to get TextPage when we haven't rendered the page glib/poppler-page.cc | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit 6c61a457e9a8ec10945bc1e0700c8e4d121faa58 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 20 21:59:05 2010 +0000 Fix GfxRadialShading::GfxRadialShading Fixes crash in KDE bug 223359 poppler/GfxState.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 442894d371879a6bf2adb5a39b9dd0a49e76e4ac Author: Pino Toscano <pino@kde.org> Date: Fri Jan 15 21:28:42 2010 +0100 [glib-demo/cmake] compile print.c followup of b64d4bd46b052feb0b143f1348773afbd93e5e33 glib/demo/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit b64d4bd46b052feb0b143f1348773afbd93e5e33 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Nov 27 11:47:22 2009 +0100 [glib-demo] Add print demo glib/demo/Makefile.am | 2 + glib/demo/main.c | 4 +- glib/demo/print.c | 135 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/print.h | 31 ++++++++++++ 4 files changed, 171 insertions(+), 1 deletion(-) commit ba2c746f358a5785d8cbaaf03d8628ee3754c388 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Nov 27 09:52:50 2009 +0100 [glib-demo] Add render for printing option to render demo glib/demo/render.c | 47 ++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 38 insertions(+), 9 deletions(-) commit 9a478008ccb61641f09bd77eaa55033cca266c43 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jan 15 12:03:11 2010 +0100 Add FONTCONFIGURATION macros to poppler-config.h They are used in a header file (GlobalParams.h). It fixes a crash when opening any document. poppler/poppler-config.h.in | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 1f80f874d8e132411816302465f04bc59d404d89 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 14 08:43:11 2010 +0000 Fix Uncover and Fade to return correct values Bug 26034 poppler/PageTransition.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 350ff407e06a961f2a5b9d203cb8e78ce09313a0 Author: Hib Eris <hib@hiberis.nl> Date: Wed Jan 13 22:20:41 2010 +0000 Make poppler (optionally) relocatable on Windows configure.ac | 26 ++++++++++++++++++++++ poppler/GlobalParams.cc | 57 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) commit 36b67b002db802bfad553720e2114b76b07bb614 Author: Hib Eris <hib@hiberis.nl> Date: Wed Jan 13 22:17:03 2010 +0000 Make fontconfig optional with mingw compiler CMakeLists.txt | 8 +++++++- config.h.cmake | 6 ++++++ configure.ac | 39 ++++++++++++++++++++++++++++++++++++++- makefile.vc | 2 +- poppler/GlobalParams.cc | 10 +++++++--- poppler/GlobalParams.h | 7 ++++--- poppler/GlobalParamsWin.cc | 5 +++++ 7 files changed, 68 insertions(+), 9 deletions(-) commit 9c0b20ab8c104c2f5398a5a3b8409ca554f5fa39 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 12 22:55:06 2010 +0000 Add the possibility of using float for splash variables instead of double Based on a patch by Marius Vollmer marius.vollmer@nokia.com See bug 25578 for more info CMakeLists.txt | 7 ++++++- config.h.cmake | 5 ++++- configure.ac | 10 +++++++++- splash/SplashMath.h | 14 ++++++++++++-- splash/SplashTypes.h | 4 +++- 5 files changed, 34 insertions(+), 6 deletions(-) commit 30e5f76e372114339fa1d37c335e6bbade8b6d8a Author: Pino Toscano <pino@kde.org> Date: Thu Jan 7 11:18:36 2010 +0100 [CMake] followup recent glib/gtk+ version requirements - glib to 2.18, see ce9404b1999f81b3f9e5a89bcd6e715463f89024 - gtk+ to 2.14, see e338643f2cebb1203f7ff0646f87b3dea8318757 cmake/modules/FindGTK.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e338643f2cebb1203f7ff0646f87b3dea8318757 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jan 7 11:08:31 2010 +0100 [tests] Bump GTK+ requirements to 2.14 Fixes bug #22090. configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ce9404b1999f81b3f9e5a89bcd6e715463f89024 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jan 7 11:06:19 2010 +0100 Bump glib requirements to 2.18 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 526c8871cbdfbc119e013ee96887a79f65403790 Author: Hib Eris <hib@hiberis.nl> Date: Thu Dec 31 17:52:33 2009 +0100 [glib] Use PDFDoc(wchar_t *, ...) on Windows Fixes bug #25032 glib/poppler-document.cc | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) commit e0c8188136958b853269179079efefdd3488dc22 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jan 4 18:36:01 2010 +0000 Require Qt 4.4 This updates the requirement to real requirement CMakeLists.txt | 2 +- configure.ac | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit f9accdb878b23ebd2152dd05d61cfcc71d46cd03 Author: Pino Toscano <pino@kde.org> Date: Mon Jan 4 14:13:13 2010 +0100 [Qt4/tests] use getPdfVersion() instead of the deprecated pdfVersion() qt4/tests/stress-poppler-dir.cpp | 3 ++- qt4/tests/stress-poppler-qt4.cpp | 3 ++- qt4/tests/test-password-qt4.cpp | 4 +++- qt4/tests/test-poppler-qt4.cpp | 4 +++- 4 files changed, 10 insertions(+), 4 deletions(-) commit 898e939d8c0ac74cc7ee3f5d42d83083ed31036e Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Jan 2 02:33:58 2010 +0100 Make pdftoppm embed correct resolution in PNG and JPEG files goo/ImgWriter.h | 3 ++- goo/JpegWriter.cc | 6 +++++- goo/JpegWriter.h | 3 ++- goo/PNGWriter.cc | 6 +++++- goo/PNGWriter.h | 3 ++- splash/SplashBitmap.cc | 9 +++++---- splash/SplashBitmap.h | 5 +++-- utils/HtmlOutputDev.cc | 4 +++- utils/pdftoppm.cc | 9 +++++---- 9 files changed, 32 insertions(+), 16 deletions(-) commit df569dc2fb89d7e0780bbf7a687ce2464ff5cb43 Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Jan 2 01:19:50 2010 +0100 enable AM_SILENT_RULES by default configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3862f7d987aae52a1fd2bb0af27d1cd803a5b84 Author: Pino Toscano <pino@kde.org> Date: Thu Dec 31 00:20:11 2009 +0100 [cpp/tests] poppler-dump: show a string for the font type cpp/tests/poppler-dump.cpp | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit 9c343c821593ebae51ac47b58ad007a82f198652 Author: Pino Toscano <pino@kde.org> Date: Thu Dec 31 00:13:09 2009 +0100 [cpp/tests] poppler-dump: show the orientation of the pages cpp/tests/poppler-dump.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit bc91fe3824f37cd17a38aac85c817e8ada1b2f43 Author: Pino Toscano <pino@kde.org> Date: Wed Dec 30 23:53:31 2009 +0100 [cpp/tests] poppler-dump: a bit less output in permissions lines cpp/tests/poppler-dump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1199de8f097a78edb831313841ac0ed3f9ec9905 Author: Pino Toscano <pino@kde.org> Date: Wed Dec 30 23:50:36 2009 +0100 [cpp/tests] poppler-dump: add --show-all to show all the information cpp/tests/poppler-dump.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 9522f830b59942adfc91d5f03c274415a4737ccc Author: Pino Toscano <pino@kde.org> Date: Wed Dec 30 23:38:40 2009 +0100 [cpp] use iconv for the utf8 <-> utf16 conversions cpp/poppler-global.cpp | 92 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 64 insertions(+), 28 deletions(-) commit b156b4031f5daf658f40db8efa2a3016d95b98b5 Author: Pino Toscano <pino@kde.org> Date: Wed Dec 30 23:24:23 2009 +0100 [cpp] add the build system stuff for iconv, mandatory for cpp CMakeLists.txt | 6 ++ Makefile.am | 1 + cmake/modules/FindIconv.cmake | 57 +++++++++++++ config.h.cmake | 6 ++ configure.ac | 6 ++ cpp/CMakeLists.txt | 2 +- cpp/Makefile.am | 3 +- m4/iconv.m4 | 180 ++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 259 insertions(+), 2 deletions(-) commit a0cffb8b69e0595a2afe15ecc4928e0df1eeb063 Author: Pino Toscano <pino@kde.org> Date: Wed Dec 30 18:57:09 2009 +0100 [cpp] fixup unicode GooString <-> ustring conversions better make them use the "hand-made" code, it is more correct for them cpp/poppler-private.cpp | 44 +++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 41 insertions(+), 3 deletions(-) commit 3b6e3605209d5db453725b9ce4e6e54679d9c5da Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 27 15:30:22 2009 +0100 Do not crop the transformation matrix at an arbitrary value Fixes bug 25763 and gave no regression on my test suite poppler/GfxState.cc | 21 --------------------- poppler/SplashOutputDev.cc | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 21 deletions(-) commit ea44c60645001ffea7d297f8549aaa4f5ce5e16c Author: Ilya Gorenbein <igorenbein@finjan.com> Date: Sun Dec 27 15:27:00 2009 +0100 Try to work on streams without Length We have code that finds the Length if it's wrong so let that code do its job instead of returning a NULL stream poppler/Parser.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 283dd326a00c804b6332ee3ca1aaa0d86377b3f3 Author: Pino Toscano <pino@kde.org> Date: Sat Dec 19 12:50:10 2009 +0100 [cpp] fix installation of poppler-version.h with autotools and builddir != srcdir cpp/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df0ccddb7f784b4a8564beda51b3047cb9e3611a Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 18 20:23:48 2009 +0000 move the retrieval of the bitmap after rendering the page as it can change on render time utils/pdftoppm.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit ab88a02f7efefc950a316d7a5edf88dad8f3e4d0 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Dec 17 18:24:20 2009 +0100 [annots] QuadPoints is required in Text Markup annotations Show an error message and mark annotation as invalid when it's missing. poppler/Annot.cc | 2 ++ 1 file changed, 2 insertions(+) commit 39dc99431b3ea9e00f6f645dd7169c0319571dc9 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Dec 17 18:17:20 2009 +0100 [annots] Create appearance stream for Sound Annotations when not defined See bug #23108. poppler/Annot.cc | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 2 + 2 files changed, 114 insertions(+) commit e4f5a78a853b88b1586ef59fc8893a321ea23736 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Dec 17 17:39:39 2009 +0100 [annots] Add Tag and Graph icons for File Attachment annotations See bug #23108. poppler/Annot.cc | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) commit 752b14857cfb0669fd6d7dfef2ea73c13a2369fc Author: Pino Toscano <pino@kde.org> Date: Thu Dec 17 17:16:01 2009 +0100 simplify cpp/poppler-toc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a26e4b7903fabc667d7d16c23ca2c7a535dd05fa Author: Pino Toscano <pino@kde.org> Date: Thu Dec 17 17:09:35 2009 +0100 [cpp/tests] add a simple poppler-dump test this small test executable can dump various features of the document, like the general info, permissions, metadata, toc, fonts, embedded files, pages, etc also add the necessary autotools+cmake machinery to compile it configure.ac | 1 + cpp/CMakeLists.txt | 2 + cpp/Makefile.am | 1 + cpp/tests/.gitignore | 1 + cpp/tests/CMakeLists.txt | 24 ++++ cpp/tests/Makefile.am | 17 +++ cpp/tests/poppler-dump.cpp | 293 +++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 339 insertions(+) commit 86c871cc625d00b8ee7f93dc8c0f9ef8462bba5a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Dec 17 17:05:45 2009 +0100 [annots] Create appearance stream for Text Markup Annotations when not defined Highlight annotations are an exception, we always ignore the appearance stream to use our own, since for most of the documents the appearance stream provided by the annotation is not enough. That's why it's currently broken. This is what acroread does indeed and Leonard Rosenthol recommended us to do the same. See bug #23108. poppler/Annot.cc | 199 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 2 + 2 files changed, 201 insertions(+) commit 904ecd929c6acbbad6d782b950c53c0a80e1f39c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Dec 17 12:49:20 2009 +0100 [annots] Fix memory leaks poppler/Annot.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit ef7954b86f9b1a762c4f77a48d5f42f8db4bbed7 Author: Pino Toscano <pino@kde.org> Date: Tue Dec 15 02:20:18 2009 +0100 [cpp] use the correct index (instead of an uninitialized variable) cpp/poppler-page.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2547b5e53e7799cf7299838ae9bd882c21a228ae Author: Pino Toscano <pino@kde.org> Date: Tue Dec 15 02:14:57 2009 +0100 [cpp] properly delete the children of a toc item cpp/poppler-toc.cpp | 1 + 1 file changed, 1 insertion(+) commit 771bd3594740fe16bd030dbe73928a8b1d4d113f Author: Pino Toscano <pino@kde.org> Date: Tue Dec 15 02:04:24 2009 +0100 [cpp] actually implement toc::root() cpp/poppler-toc.cpp | 5 +++++ 1 file changed, 5 insertions(+) commit ca1d2ec4588b2437b58b4448ae2fc5ebd0f130d3 Author: Pino Toscano <pino@kde.org> Date: Tue Dec 15 00:54:29 2009 +0100 [cpp] fix the reference to the vector data cpp/poppler-global.cpp | 2 +- cpp/poppler-private.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 16c946e7658b0e9cff701ce1d6bbf7d3828cbe08 Author: Pino Toscano <pino@kde.org> Date: Tue Dec 15 00:35:25 2009 +0100 [cpp] fix the reference to the vector data cpp/poppler-document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9bb90c99b65e0e9d9b65c7dbeb5b4d66377ceb21 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 23:43:12 2009 +0100 [cpp] add destructor for 'rectangle' cpp/poppler-rectangle.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 61ccdc9ab3b816174896fcae0899ff34f11eee80 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 23:40:51 2009 +0100 [cpp] add out stream operators for rect and rectf cpp/CMakeLists.txt | 1 + cpp/Makefile.am | 1 + cpp/poppler-rectangle.cpp | 35 +++++++++++++++++++++++++++++++++++ cpp/poppler-rectangle.h | 5 +++++ 4 files changed, 42 insertions(+) commit 69dd51fed3de41f8b799b811ae5ee59c0d5f59c2 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 22:24:07 2009 +0100 [cpp] add namespace to namespace functiond to link properly cpp/poppler-global.cpp | 4 ++-- cpp/poppler-version.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) commit 3923fa4890984d8616d86016f4f4a94e8ef3e992 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 22:23:15 2009 +0100 [cpp] add default empty parameters for the passwords of the document loading functions cpp/poppler-document.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1d23cc677e9b0a9f61c53e0ea365537f33abe5bf Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 21:44:56 2009 +0100 [cpp] add "human friendly" output representation for byte_array cpp/poppler-global.cpp | 23 +++++++++++++++++++++++ cpp/poppler-global.h | 3 +++ 2 files changed, 26 insertions(+) commit 82954ea5f8ba880276328765f104690a05adbd9e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Dec 7 12:05:54 2009 +0100 [annot] Create appearance stream for Attachment Annotations when not defined See bug #23108. poppler/Annot.cc | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 2 ++ 2 files changed, 96 insertions(+) commit c6195472326c183fcfd8a3e9da1ee7f6fa8b7c3d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 6 17:09:23 2009 +0100 [annots] Use opacity when drawing Markup Annotations According to the spec: "The constant opacity value that shall be used in painting the annotation. This value shall apply to all visible elements of the annotation in its closed state (including its background and border) but not to the pop-up window that appears when the annotation is opened. The specified value shall not used if the annotation has an appearance stream in that case, the appearance stream shall specify any transparency. If no explicit appearance stream is defined for the annotation, it may be painted by implementation-dependent means that do not necessarily conform to the PDF imaging model; in this case, the effect of this entry is implementation-dependent as well." poppler/Annot.cc | 21 +++++++++++++++------ poppler/Gfx.cc | 9 ++++++++- poppler/Gfx.h | 2 +- 3 files changed, 24 insertions(+), 8 deletions(-) commit a337c1d757d52c1c238229d2f0cd3a41694b0e08 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 16:18:22 2009 +0100 [cpp] add document metadata reading cpp/poppler-document.cpp | 9 +++++++++ cpp/poppler-document.h | 1 + 2 files changed, 10 insertions(+) commit 6c4fa513e60dbdd5ab693434f239d82d95756994 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 6 16:56:22 2009 +0100 [annot] Create appearance stream for Geometry Annotations when not defined See bug #23108. poppler/Annot.cc | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 2 + 2 files changed, 122 insertions(+) commit eed94b8bd2855dce1fd39b835e3280cbd0ccd1cf Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 6 16:51:37 2009 +0100 [annot] Create appearance stream for Line Annotations when not defined See bug #23108. poppler/Annot.cc | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 2 ++ 2 files changed, 64 insertions(+) commit 1c7a5f5e89c4c51e31b6de345d4862ef8dcc2bc0 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 6 16:40:14 2009 +0100 [annot] Create appearance stream for Text Annotations when not defined Streams have been created by using the svg icons created by mac_v and ulisse. See bug #23108. poppler/Annot.cc | 305 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 2 + 2 files changed, 307 insertions(+) commit c9cb6353ad5279d09615eb2c944b2b053cdf5ccc Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 15:52:25 2009 +0100 [cpp] add function to query for document "permissions" cpp/poppler-document.cpp | 23 +++++++++++++++++++++++ cpp/poppler-document.h | 1 + cpp/poppler-global.h | 4 ++++ 3 files changed, 28 insertions(+) commit 30e90c7c1b41c62ddc21905e7ccdea4c95547e80 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 15:33:36 2009 +0100 [cpp] add is_encrypted and is_linearized for document cpp/poppler-document.cpp | 10 ++++++++++ cpp/poppler-document.h | 2 ++ 2 files changed, 12 insertions(+) commit 93fd588c519958a1f66231c111ea8a6b0a759be1 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 13:19:24 2009 +0100 [cpp] add the possibility to load a document from raw data cpp/poppler-document-private.h | 5 +++++ cpp/poppler-document.cpp | 35 ++++++++++++++++++++++++++++++++++- cpp/poppler-document.h | 3 +++ 3 files changed, 42 insertions(+), 1 deletion(-) commit 53996365b159cf84adf2cac56c76b8bda8dfb12e Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 12:57:41 2009 +0100 [cpp] use the byte_array typedef cpp/poppler-embedded-file.cpp | 6 +++--- cpp/poppler-embedded-file.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) commit e4969c1aaed4a8eb770d8b54920f2476129bbcb7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 6 16:19:36 2009 +0100 [annots] Refactor Annot::setColor to receive an AnnotColor Removes duplicated code since color arrays are already parsed in AnnotColor poppler/Annot.cc | 136 +++++++++++++++++++++++++++++-------------------------- poppler/Annot.h | 4 +- 2 files changed, 73 insertions(+), 67 deletions(-) commit cfb4f5dfabf31de22d68aa0d5796cb7a33d8b462 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 11:06:36 2009 +0100 [cpp] add a byte_array typedef, and use it for utf8 string data cpp/poppler-global.cpp | 12 +++--------- cpp/poppler-global.h | 5 ++++- cpp/poppler-private.cpp | 5 ++--- 3 files changed, 9 insertions(+), 13 deletions(-) commit 2d13ac31671b2007e44a90f45a82cb3adfa9c80c Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 02:30:06 2009 +0100 update ignore files .gitignore | 1 + cpp/.gitignore | 1 + 2 files changed, 2 insertions(+) commit 01e902e40ca15acf0319e37d39a271d6875bfce9 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 02:02:47 2009 +0100 [cpp] add a version header+functions this way, it is possible to get (either at build time and at runtime) the version of the current poppler-cpp library poppler-config.h is generated by the build system (autotools or cmake) with the correct version information configure.ac | 2 ++ cpp/CMakeLists.txt | 5 +++++ cpp/Makefile.am | 6 ++++-- cpp/poppler-version.cpp | 41 +++++++++++++++++++++++++++++++++++++++++ cpp/poppler-version.h.in | 39 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 91 insertions(+), 2 deletions(-) commit b3f5e5d60bc9109da961940f6216722f9db4a87b Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 00:56:15 2009 +0100 [CMake] add the configure check for the Cairo blend modes support (as in autotools) cmake/modules/FindCairo.cmake | 18 ++++++++++++++++++ config.h.cmake | 3 +++ 2 files changed, 21 insertions(+) commit f6ba877e0c22538cfe34d32d69814f660de59d2c Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 00:44:55 2009 +0100 [CMake] add configure check for sys/mman.h (as in autotools) ConfigureChecks.cmake | 1 + config.h.cmake | 3 +++ 2 files changed, 4 insertions(+) commit e12801320ae030628fc62c073983c06b39ee13d7 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 00:42:20 2009 +0100 minor spello config.h.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6428907ebcf33d4391673aadcfa71c3061f6d352 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 00:41:49 2009 +0100 [CMake] add configure check for fcntl.h (as in autotools) ConfigureChecks.cmake | 1 + config.h.cmake | 3 +++ 2 files changed, 4 insertions(+) commit 916ab7163249e23bd5ba00922fdcad9caaf92c75 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 00:34:59 2009 +0100 [CMake] oops, those should have been '#cmakedefine' and not '#define' config.h.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ea655d8c7e24e97ee710110a783ed9c209cf76e3 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 00:33:51 2009 +0100 [CMake] move and rename to match more the autotools output config.h.cmake | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit 9f0146c5b2f9326e834104b89791f66b18f85adc Author: Pino Toscano <pino@kde.org> Date: Mon Dec 14 00:28:04 2009 +0100 [CMake] add checks for gmtime_r and localtime_r ConfigureChecks.cmake | 2 ++ config.h.cmake | 6 ++++++ 2 files changed, 8 insertions(+) commit 9d0cf201e96044dd679c26bea6255d986a6cd246 Author: Pino Toscano <pino@kde.org> Date: Sun Dec 13 23:45:39 2009 +0100 [cpp] add ignore file cpp/.gitignore | 6 ++++++ 1 file changed, 6 insertions(+) commit d783e92b863d8b22de6ca326328115fec63193ed Author: Pino Toscano <pino@kde.org> Date: Sun Dec 13 23:42:33 2009 +0100 [cpp] don't forget the cmake stuff when packing with the autotools Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 0105caefe860e7a45fc7d3a1bd1162fe56bcfe6a Author: Pino Toscano <pino@kde.org> Date: Sun Dec 13 23:40:55 2009 +0100 [cpp] add the pkg-config stuff CMakeLists.txt | 3 +++ Makefile.am | 7 +++++-- configure.ac | 3 ++- poppler-cpp.pc.cmake | 9 +++++++++ poppler-cpp.pc.in | 9 +++++++++ 5 files changed, 28 insertions(+), 3 deletions(-) commit d5a74f78df0dca24fd537b30424fd2ebb3efe3e2 Author: Pino Toscano <pino@kde.org> Date: Sun Dec 13 23:35:06 2009 +0100 [cpp] add the (rest of the) CMake build system for it CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) commit 0e41f937946e4e4c1b660406bd74e4afe8825b5f Author: Pino Toscano <pino@kde.org> Date: Sun Dec 13 23:31:46 2009 +0100 [cpp] add the autotools buildsystem for it Makefile.am | 6 +++++- configure.ac | 15 +++++++++++++++ cpp/Makefile.am | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) commit 9727fdc0c682742335e44ddc2f32d60e4c59983a Author: Pino Toscano <pino@kde.org> Date: Sun Dec 13 22:55:28 2009 +0100 Start of a pure C++ frontend for Poppler. This initial version (called 'poppler-cpp') includes preliminary support for: - document (loading from file name, some query methods, unlocking, font listing, embedded files) - page (some query methods) with page transitions - TOC Modelled a bit on the Qt4 API, it provides also an own "ustring" typedef representing UTF-16 strings, with methods to convert back/to UTF-8 and Latin 1. Most probably it has bugs, but nevertheless worth testing and developing. cpp/CMakeLists.txt | 34 ++++ cpp/poppler-document-private.h | 55 +++++++ cpp/poppler-document.cpp | 316 ++++++++++++++++++++++++++++++++++++ cpp/poppler-document.h | 92 +++++++++++ cpp/poppler-embedded-file-private.h | 40 +++++ cpp/poppler-embedded-file.cpp | 116 +++++++++++++ cpp/poppler-embedded-file.h | 55 +++++++ cpp/poppler-font.cpp | 166 +++++++++++++++++++ cpp/poppler-font.h | 91 +++++++++++ cpp/poppler-global.cpp | 162 ++++++++++++++++++ cpp/poppler-global.h | 86 ++++++++++ cpp/poppler-page-private.h | 44 +++++ cpp/poppler-page-transition.cpp | 95 +++++++++++ cpp/poppler-page-transition.h | 82 ++++++++++ cpp/poppler-page.cpp | 121 ++++++++++++++ cpp/poppler-page.h | 62 +++++++ cpp/poppler-private.cpp | 70 ++++++++ cpp/poppler-private.h | 66 ++++++++ cpp/poppler-rectangle.h | 60 +++++++ cpp/poppler-toc-private.h | 62 +++++++ cpp/poppler-toc.cpp | 136 ++++++++++++++++ cpp/poppler-toc.h | 74 +++++++++ 22 files changed, 2085 insertions(+) commit 62854051f4e47028147cc93a5faac39e2fa2c9fd Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Dec 12 17:22:08 2009 +0100 Initialize profileCommands in Gfx constructor poppler/Gfx.cc | 1 + 1 file changed, 1 insertion(+) commit 4e6af25a028d16608111634c5467420e31fa399b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Dec 9 19:45:40 2009 +0100 [cairo] Update font of TextPage in CairoOutputDev::updateAll() Fixes a crash with some documents, see Evince bug https://bugzilla.gnome.org/show_bug.cgi?id=603934 poppler/CairoOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit 6798d3e52e36e91bceff3a1a96372e9d9c6f3813 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 6 15:34:36 2009 +0100 Use fixed size array in AnnotColor glib/poppler-annot.cc | 2 +- poppler/Annot.cc | 24 +++++------------------- poppler/Annot.h | 5 ++--- poppler/Gfx.cc | 2 +- qt4/src/poppler-annotation.cc | 2 +- 5 files changed, 10 insertions(+), 25 deletions(-) commit 92fab93bee3748a73c09429cc8a105c16f21fed0 Author: Axel Struebing <axel.struebing@freenet.de> Date: Sat Dec 5 22:31:29 2009 +0000 Add a empty space after null Fixes bug 25465 poppler/PDFDoc.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 32103f45d0193b31e95269ea9123b8011d93e994 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Dec 5 10:14:18 2009 +0100 [annots] Add isVisible() to check whether annot is visible before drawing it It takes into account annot flags and optional content. poppler/Annot.cc | 29 ++++++++++++++--------------- poppler/Annot.h | 1 + 2 files changed, 15 insertions(+), 15 deletions(-) commit c14dfc7102341f5e1ed67a05c0738d55befab1ec Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Dec 5 10:07:46 2009 +0100 [annots] Do not check if annot is a link in Annot::draw() AnnotLink already implements draw() poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ddf85d4a51f605eed998c633857b8bb5c74ab590 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 4 14:59:41 2009 +0100 Make the code a bit more resilient By checking the GooString we are going to use really exists poppler/PSOutputDev.cc | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit 78b4afa0a44048b8d40438d400652dbae4cb99b1 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 4 14:57:10 2009 +0100 Accept Fontname if FontName is not present Fixes KDE bug 217013 poppler/GfxFont.cc | 9 +++++++++ 1 file changed, 9 insertions(+) commit fee5cb0eec2ddb8d596289e9a6285cf04d97632e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Dec 4 13:26:42 2009 +0100 [annots] Remove redundant flags definition poppler/Annot.cc | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) commit 3a94e8ce90c0a4d11c5c5aa8805c167c8a0434e5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Nov 27 15:23:11 2009 +0100 [cairo] Revert commit 77c2e154c2cb57300116ecd4295f1e67b06b411f And fix bug #24575 jut by checking pointer is not null before using it. poppler/CairoOutputDev.cc | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit a093b768e64d477ebdd5f6b519d80a6c45706e7e Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 22 20:23:49 2009 +0100 Add copyrights poppler/CairoFontEngine.cc | 2 +- poppler/CairoOutputDev.cc | 4 ++-- poppler/CairoOutputDev.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 77c2e154c2cb57300116ecd4295f1e67b06b411f Author: David Benjamin <davidben@mit.edu> Date: Sun Nov 22 20:19:29 2009 +0100 Do not crash on malformed files bug 24575 poppler/CairoOutputDev.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 1d0cb9b2cfd4d4d9aa9b0ad83ad6408544263a09 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Nov 22 19:59:34 2009 +0100 [cairo] Initialize fill_color and stroke_color poppler/CairoOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit 32de2ac62fb87570e1a59152f37b86e571a01180 Author: Ilya Gorenbein <igorenbein@finjan.com> Date: Sun Nov 22 19:51:54 2009 +0100 Improve the reconstruction of the XRef Makes load a file Ilya can't share poppler/XRef.cc | 165 ++++++++++++++++++++++++++++++++------------------------ 1 file changed, 95 insertions(+), 70 deletions(-) commit 039c6dffbfbed46a11e207048a3247d6921d6b02 Author: Ilya Gorenbein <igorenbein@finjan.com> Date: Sun Nov 22 15:14:20 2009 +0100 Correctly initialize fileName poppler/Link.cc | 2 ++ 1 file changed, 2 insertions(+) commit b905caf1785ee207cc0480953da69be302d3d4e9 Author: David Benjamin <davidben@mit.edu> Date: Sat Nov 21 02:43:21 2009 +0100 Be more lenient with /Decode key on images The spec requires the field be [1 0] or [0 1]. Adobe accepts floating point values as well. This fixes bug #17439. poppler/Gfx.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit d99e7a88845a5f4b35e2c538c597316b2ad541ca Author: Albert Astals Cid <aacid@kde.org> Date: Fri Nov 20 22:09:44 2009 +0100 Check for openjpeg in the C++ part as it uses bool in the header Bug 25103 configure.ac | 61 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 31 deletions(-) commit 55261a2dc86241c8d132e590e76e7398b3ca5090 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 18 22:26:01 2009 +0100 replace floor with a cast to int for numbers > 0 bug-poppler13487.pdf gets a 15% faster rendering splash/SplashMath.h | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit 28df9fb323f14dc632c9502655abf69984b7d67e Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 18 21:57:02 2009 +0100 Remove unused label poppler/Catalog.cc | 1 - 1 file changed, 1 deletion(-) commit 037979a01a6fcafc61360e758dbc4a5eb056825e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Nov 17 19:12:30 2009 +0100 [cairo] If there's a soft mask available when filling, apply the mask instead of filling Fixes bug #8474. poppler/CairoOutputDev.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 46380d36f004d71dd2c2e7bc82836af248684b51 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Nov 17 20:48:22 2009 +0100 i didn't want to commit this configure.ac | 60 +++++++++++++++++++++++++++-------------------------- splash/SplashMath.h | 5 ++--- utils/pdftoppm.cc | 8 ------- 3 files changed, 33 insertions(+), 40 deletions(-) commit 1844e0927ae89824f59b2b3378bf5e00a51a251c Author: Albert Astals Cid <aacid@kde.org> Date: Tue Nov 17 20:34:24 2009 +0100 do not use setAttribute with doubles it is evil and locale dependant, we do NOT want that so use QString::number configure.ac | 60 +++++++++++++++---------------- qt4/src/poppler-annotation.cc | 82 +++++++++++++++++++++---------------------- splash/SplashMath.h | 5 +-- utils/pdftoppm.cc | 8 +++++ 4 files changed, 81 insertions(+), 74 deletions(-) commit 572d79f4b8a7bf1717b88dbd2609d8fa9b036dee Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 15 20:40:56 2009 +0100 Only calculate the matrix when it is really needed That only happens when outputting to 1 bit images Speeds out rendering on some pdf up to 40% splash/SplashScreen.cc | 35 +++++++++++++++++++++++++++++++++-- splash/SplashScreen.h | 16 ++++++++++++++++ 2 files changed, 49 insertions(+), 2 deletions(-) commit 1c3113361fa376093e6fedfbf48feee7dcbc46b7 Author: Adrian Johnson <ajohnson@redneon.com> Date: Sun Nov 15 19:43:18 2009 +0100 Write out fixed-content portion of Type 1 fonts in PSOutputDev If /Length3 of a Type 1 FontFile is > 0 the fixed-content from the FontFile should be used instead of adding the generic 512 zeros and cleartomark. poppler/PSOutputDev.cc | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit 2d30dc605cd984f6c32124af9aa7b877d416d141 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Nov 15 17:31:36 2009 +0100 [glib-demo] Show attachment name in FileAttachment annot properties table glib/demo/annots.c | 5 +++++ 1 file changed, 5 insertions(+) commit 6c8ae140256818401351a331787c83e043fdba09 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Nov 15 17:31:13 2009 +0100 [glib] Add poppler_annot_file_attachment_get_name() glib/poppler-annot.cc | 36 +++++++++++++++++++++++++++++------- glib/poppler-annot.h | 1 + 2 files changed, 30 insertions(+), 7 deletions(-) commit ecf5173eb288187a1f076fd4b116f1212fa9e203 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Nov 15 17:14:29 2009 +0100 [glib-demo] Add properties of FileAttachment annotations glib/demo/annots.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) commit 8f4fdd864d79e4fa83951a3eb006ea8287c3a1ba Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Nov 15 17:12:43 2009 +0100 [glib-demo] Add pgd_table_add_property_with_custom_widget() To be able to add properties to a table that are not labels glib/demo/utils.c | 31 +++++++++++++++++++++---------- glib/demo/utils.h | 30 +++++++++++++++++------------- 2 files changed, 38 insertions(+), 23 deletions(-) commit 061b85f7a442107cda67e385bd772ec8565a936e Author: Thomas Viehmann <tv@beamnet.de> Date: Sun Nov 15 17:11:43 2009 +0100 [glib] Add support for file attachment annotations glib/poppler-annot.cc | 69 +++++++++++++++++++++++++++++++++++++++++++++++--- glib/poppler-annot.h | 8 ++++++ glib/poppler-page.cc | 3 +++ glib/poppler-private.h | 1 + glib/poppler.h | 49 +++++++++++++++++------------------ 5 files changed, 102 insertions(+), 28 deletions(-) commit 189c45332991bce51e40bcaf65da67d2d644045a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Nov 15 16:42:21 2009 +0100 [glib] Remove PopplerDocument from PopplerAttachment Since we are duplicating the stream we don't need to hold a reference of PopplerDocument anymore. glib/poppler-attachment.cc | 13 +------------ glib/poppler-document.cc | 2 +- glib/poppler-private.h | 3 +-- 3 files changed, 3 insertions(+), 15 deletions(-) commit e55bfeb1ddc60053c5ee5fef840c409891781ce6 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Nov 13 00:55:37 2009 +0100 jpeg_start_decompress can fail, check it Fixes KDE bug #214317 poppler/DCTStream.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit c59d93061cf71d13916872a20aed37ecfbb3bfa4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Nov 9 18:32:55 2009 +0100 [cairo] Do nothing when image mask is 1x1 and the pixel is 0 poppler/CairoOutputDev.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 448f03cfc429d33bfa5527e3dc964ef5da10ee94 Author: Adrian Johnson <ajohnson@redneon.com> Date: Mon Nov 9 22:52:39 2009 +1030 Don't render the color white in type 3 glyphs in the cairo backend PDF allows the "g" operator in Type 3 charprocs but cairo user fonts will render any stroke or fill in the font color. As the only PDFs I've seen with "g" in the charprocs are only using the gray values 0 or 1, a workaround is to disable strokes and fills of the charproc when the gray level is > 0.5. poppler/CairoOutputDev.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 3fead2a3b53681ef95116f18f17f1a9febec6e48 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Nov 9 11:25:24 2009 +0100 Transitions dictionary can be a Ref too poppler/Page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac4955d03a532cab1933698aeb667d44300e52d0 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Nov 9 11:12:48 2009 +0100 [glib-demo] Explicitely add gio as dependency for GTK+ tests configure.ac | 4 ++-- glib/demo/main.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) commit 32ea667ec8f18311539123c7b80c7ab4767070cb Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Aug 11 19:17:52 2009 +0100 [cairo] Mark images dirty After directly manipulating the pixel values we need to mark the surface as dirty. This means that cairo will refresh any caches it may have taken of the surface will the new data. poppler/CairoOutputDev.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit 10a41150c4067bb3ab85e25dae76e0968a6cd586 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Aug 11 19:17:06 2009 +0100 [cairo] Use colToDbl() to avoid rounding error. poppler/CairoOutputDev.cc | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) commit c9491319689f04edd57adda7ee85f84f17fd1c47 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Aug 11 18:07:17 2009 +0100 [cairo] Reduce the number of redundant pattern creations poppler/CairoOutputDev.cc | 84 ++++++++++++++++++++++++++++------------------- 1 file changed, 51 insertions(+), 33 deletions(-) commit ead78d9f703c8b2d556c94be3c47dbae7469eda8 Author: Reece Dunn <msclrhd@gmail.com> Date: Thu Nov 5 22:25:14 2009 +0100 fontpos is never set to -1, so remove the checks in HtmlOutputDev. utils/HtmlOutputDev.cc | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit 55dd6024a4672a1787e8b1a8276bd78fff94e2cd Author: Ilya Gorenbein <igorenbein@finjan.com> Date: Wed Nov 4 22:07:18 2009 +0100 Do not error on files without "Count" and "Kids" It is not spec compliant not to have those fields but Adobe Reader and FoxIt seems to allow it so try to behave like them. See bug 24720 to see why one would want such file poppler/Catalog.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 58a1d42aed7352c008d201b8f355f6e4146f71e5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Oct 29 18:38:22 2009 +0100 [cairo] Don't render patterns when using CairoImageOutputDev poppler/CairoOutputDev.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 7670cc48dcf3ffd77e3ffa29056a3e13b2926709 Author: Ilya Gorenbein <igorenbein@finjan.com> Date: Wed Oct 28 19:20:41 2009 +0100 There are some pdf where Aspect values are reals, use getNum Fixes bug 24733 poppler/Annot.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 4fe89e520a04a6ab6d6ec6a8294896b2f427c7da Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 25 21:55:55 2009 +0100 do not accept negative interval lengths in the page labels tree See bug 24721 poppler/PageLabelInfo.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b174ebd6b323c7a58a19d59c1a9e4ac4e6cba7d9 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 23 21:57:42 2009 +0200 Move the iccColorSpaceCache from a static in GfxState to a member of Gfx Fixes the problem that the keys are per document but we had a static that lived as much as the library. Now the cache only lives the rendering of a page so it's a bit slower but at least it's correct. Fixes bug 24686 poppler/Gfx.cc | 49 ++++++++++++++++++---------- poppler/Gfx.h | 13 ++++++-- poppler/GfxState.cc | 94 ++++++++++++++++++++++++++--------------------------- poppler/GfxState.h | 33 +++++++++---------- poppler/Page.cc | 4 +-- 5 files changed, 107 insertions(+), 86 deletions(-) commit 4a9bdd30dc353865685e03eb1c1ac6093797695a Author: Albert Astals Cid <aacid@kde.org> Date: Thu Oct 22 21:26:29 2009 +0200 initialize len at 0 when reading the font fails See bug 24525 for more info poppler/GfxFont.cc | 1 + 1 file changed, 1 insertion(+) commit c839b706092583f6b12ed3cc634bf5af34b7a2bb Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Oct 20 10:09:13 2009 +0200 [glib] Fix CVE-2009-3607 glib/poppler-page.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 44462e0ca39392e5629020226b901e4026089b46 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Oct 19 23:33:58 2009 +0200 fix memory leak poppler/PSOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit d701aaa9eaa62567210070129f5feffe24bf1936 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 18 01:22:16 2009 +0200 This include is needed as this file uses Ref poppler/OutputDev.h | 1 + 1 file changed, 1 insertion(+) commit d4202536e1b62c326c301d5088fa0e176c523e85 Author: Pino Toscano <pino@kde.org> Date: Sat Oct 17 01:35:11 2009 +0200 SplashGlyphBitmap is a struct and not a class poppler/ArthurOutputDev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 654176dee7c9325aa5a24a2de3c070faa16e8a9c Author: Michael Jansen <kde@michael-jansen.biz> Date: Sat Oct 17 01:30:40 2009 +0200 CMake: add the possibility to pass LIB_SUFFIX. This allows to tune the installation libdir by adding a suffix for it (making it eg lib, lib32, or lib64) CMakeLists.txt | 16 +++++++++------- glib/CMakeLists.txt | 2 +- poppler-cairo.pc.cmake | 2 +- poppler-glib.pc.cmake | 2 +- poppler-qt.pc.cmake | 2 +- poppler-qt4.pc.cmake | 2 +- poppler-splash.pc.cmake | 2 +- poppler.pc.cmake | 2 +- qt/CMakeLists.txt | 2 +- qt4/src/CMakeLists.txt | 2 +- 10 files changed, 18 insertions(+), 16 deletions(-) commit 43829ae4b25a88ace06f05fa6750e5732539f4be Author: Pino Toscano <pino@kde.org> Date: Sat Oct 17 01:21:39 2009 +0200 put a space so MSVC won't try to see it as comment poppler/GfxState.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f64086ea22a4e8cb3d4e7116db2a9541ac2fb19f Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 17 00:48:58 2009 +0200 check the document is not locked when printing qt4/src/poppler-ps-converter.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 85d1015480b7ab3f21cc5f78dc53d4c5efdc6e60 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 17 00:48:27 2009 +0200 fix file name comment qt4/src/poppler-ps-converter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 270764ad1bf2cfe95aed0b6850d2347361b4268d Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 17 00:47:34 2009 +0200 Add a way for converters to return more exact errors they had when converting qt4/src/poppler-base-converter.cc | 8 +++++++- qt4/src/poppler-converter-private.h | 3 ++- qt4/src/poppler-pdf-converter.cc | 11 ++++++++++- qt4/src/poppler-ps-converter.cc | 6 +++++- qt4/src/poppler-qt4.h | 14 ++++++++++++++ 5 files changed, 38 insertions(+), 4 deletions(-) commit 1082e1671afd8ab91583dabc876304008acb021c Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 16 23:17:22 2009 +0200 Some "security" fixes based on newly released Xpdf 3.02pl4 poppler/Stream.cc | 4 ++++ poppler/XRef.cc | 19 +++++++++++++++---- splash/Splash.cc | 7 +++++++ splash/SplashBitmap.cc | 37 ++++++++++++++++++++++++++++++------- splash/SplashErrorCodes.h | 4 +++- 5 files changed, 59 insertions(+), 12 deletions(-) commit c2458275e02f56226779b82d73c13defcbbda563 Author: Glenn Ganz <glenn.ganz@uptime.ch> Date: Fri Oct 16 20:54:32 2009 +0200 fix constructor of DCTStream poppler/Stream.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fd91b79c053bb5cd01a766032b90981dbc5e5dd3 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 10 14:53:42 2009 +0200 fix compiling with automake goo/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c3031b4318af6f85256f2478c8678dedd0d6acd1 Author: Pino Toscano <pino@kde.org> Date: Fri Oct 9 16:17:16 2009 +0200 cmake: simplify the linking to libpng CMakeLists.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 96688dd7a091f8fa141fad2b3d05bae04b0b86fb Author: Patrick Spendrin <ps_ml@gmx.de> Date: Fri Oct 9 16:09:46 2009 +0200 MSVC: add _CRT_SECURE_NO_WARNINGS to the define's CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit f346c1f6b55f87ebd6bb0b0932462d5514aa40ff Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 9 00:29:06 2009 +0200 add -ansi flag to default warnings cmake/modules/PopplerMacros.cmake | 2 +- configure.ac | 2 +- utils/parseargs.c | 30 +++++++++++++++--------------- utils/parseargs.h | 26 +++++++++++++------------- 4 files changed, 30 insertions(+), 30 deletions(-) commit 53e0016b772f1b78d998506e2f3106011d32cef3 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 9 00:15:52 2009 +0200 Add virtual destructor to ImgWriter CMakeLists.txt | 1 + goo/ImgWriter.cc | 15 +++++++++++++++ goo/ImgWriter.h | 2 ++ goo/Makefile.am | 1 + 4 files changed, 19 insertions(+) commit 699dcacced7be05b788c414c231dc2b5c07de06e Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 9 00:13:11 2009 +0200 Add -Wnon-virtual-dtor flag cmake/modules/PopplerMacros.cmake | 4 ++-- configure.ac | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit d1e4fca4a8602994b010fae4f4fea5cd4df9276e Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 9 00:10:03 2009 +0200 build on cmake too CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit d67511c92022121066f43003f01b955962ddcd33 Author: Stefan Thomas <thomas@eload24.com> Date: Fri Oct 9 00:09:23 2009 +0200 Add -jpeg to pdftoppm goo/ImgWriter.h | 28 +++++++++++++++ goo/JpegWriter.cc | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++ goo/JpegWriter.h | 42 +++++++++++++++++++++++ goo/Makefile.am | 2 ++ goo/PNGWriter.cc | 5 +-- goo/PNGWriter.h | 10 +++--- splash/SplashBitmap.cc | 46 +++++++++++++++++-------- splash/SplashBitmap.h | 5 +-- splash/SplashTypes.h | 11 ++++++ utils/pdftoppm.1 | 3 ++ utils/pdftoppm.cc | 22 +++++++++--- 11 files changed, 239 insertions(+), 27 deletions(-) commit 388196df1fb05fb2d88ae82bd81e823a23588ec1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Oct 7 17:11:58 2009 +0200 [glib-demo] Show some of the annot flags in annots treeview glib/demo/annots.c | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) commit 034907c6582c1f50782ec9c58a29b140c6fc0688 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Oct 6 00:52:10 2009 +0200 Forgot to update the year here qt4/src/poppler-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fef89acebf5312324c104fb52e629563fbc2de76 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Oct 6 00:42:52 2009 +0200 Add the possibility of enabling hinting qt4/src/poppler-document.cc | 2 +- qt4/src/poppler-private.h | 1 + qt4/src/poppler-qt4.h | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) commit 485252844b5e0964ee724b74e2a7ba2b820b259e Author: Albert Astals Cid <aacid@kde.org> Date: Tue Oct 6 00:41:57 2009 +0200 rework how hinting is used in the splash backend Basically we default to no hinting now with the possibility to enable it poppler/ArthurOutputDev.cc | 2 +- poppler/GlobalParams.cc | 19 ------------- poppler/GlobalParams.h | 3 --- poppler/SplashOutputDev.cc | 8 +++++- poppler/SplashOutputDev.h | 3 +++ splash/SplashFTFont.cc | 64 ++++++++++---------------------------------- splash/SplashFTFont.h | 4 +-- splash/SplashFTFontEngine.cc | 8 +++--- splash/SplashFTFontEngine.h | 7 ++--- splash/SplashFontEngine.cc | 5 ++-- splash/SplashFontEngine.h | 3 ++- 11 files changed, 40 insertions(+), 86 deletions(-) commit 8194c156cf2167834779e1690a89b5068baf8d58 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Oct 5 00:55:55 2009 +0200 Fix includes for those using internal headers goo/FixedPoint.h | 2 +- goo/gmem.h | 2 +- poppler/OutputDev.h | 2 +- poppler/PSOutputDev.h | 2 +- poppler/PageLabelInfo.h | 2 +- utils/ImageOutputDev.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit 091f68ccd59413d6890dfbfcf8911f112e690b50 Author: Kovid Goyal <kovid@kovidgoyal.net> Date: Mon Oct 5 00:39:36 2009 +0200 Use _WIN32 instead of WIN32 More info at http://bugs.freedesktop.org/show_bug.cgi?id=24259 goo/GooMutex.h | 16 +++++++++++++++- goo/gfile.cc | 33 +++++++++++++++++---------------- goo/gfile.h | 5 +++-- msvc/poppler/poppler-config.h | 2 +- poppler-config.h.cmake | 2 +- poppler/ABWOutputDev.h | 3 ++- poppler/FileSpec.cc | 7 ++++--- poppler/GlobalParams.cc | 37 +++++++++++++++++++------------------ poppler/GlobalParams.h | 4 ++-- poppler/Link.cc | 3 ++- poppler/PDFDoc.cc | 4 ++-- poppler/PDFDoc.h | 3 ++- poppler/PSOutputDev.cc | 5 +++-- poppler/TextOutputDev.cc | 5 +++-- poppler/XpdfPluginAPI.cc | 13 ++++++++++++- poppler/poppler-config.h.in | 2 +- splash/SplashFontEngine.cc | 9 +++++---- test/perf-test.cc | 24 ++++++++++++------------ utils/HtmlOutputDev.h | 3 ++- 19 files changed, 108 insertions(+), 72 deletions(-) commit 7fd8bdfa450db4e323e4e5d12159359fbc47f9ed Author: Albert Astals Cid <aacid@kde.org> Date: Mon Oct 5 00:21:15 2009 +0200 Remove spurious ; Found by -Wextra i think we should add more warnings to our default flags qt4/src/poppler-annotation.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d46f7343e446331489d3fe6711a7cf778e0bd902 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 2 22:04:46 2009 +0200 Strings can have 0 inside so use the length Fixes saving some files poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2bc2040081919340415f576ce8266356deadbfcd Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 2 22:04:03 2009 +0200 Increase decimals from 5 to 10, a double has that precision Makes saving more faithful for some files poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 05eb7342d5234732f27c9c67b7fc1f9e40a4e075 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 2 22:03:40 2009 +0200 If the stream was wrongly formed save the correct length Fixes saving of some files poppler/PDFDoc.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit b98faa4c162392d9416a5a93c9042b41f82d8657 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 2 22:02:13 2009 +0200 Return the save status as program status test/pdf-fullrewrite.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f73f59f2c7bb7c7d57eb70cdc1bc30b80a92d0b7 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 2 22:01:45 2009 +0200 If the Length entry of the stream is wrong, fix it Fixes saving some files poppler/Parser.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 91135c7e788bc32e414e1a9c9ab43b326a07e970 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 2 22:00:12 2009 +0200 increase the range of characters we sanitize Fixes saving of some files goo/GooString.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9dcb3e8be2cd52a795605548e43d6bfc149b2ea5 Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Sun Sep 27 17:17:32 2009 +0200 Fix the linking not to use the .so directly but the lib Fixes check on cygwin m4/qt.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ed4a6f1cfc7ccd2717d939841c092347c3307547 Author: Kovid Goyal <kovid@kovidgoyal.net> Date: Sat Sep 26 19:26:19 2009 +0200 Do not crash when saving files that come from a stream without name Bug 24090 poppler/PDFDoc.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 04b232d48930af9bc614d7fef47f79ce247713a4 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 26 18:30:41 2009 +0200 Write the Info into the trailer dict if there is one Bug 24091 poppler/PDFDoc.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 343e4f9aceb935eb393ad94bbef4dbb1b1a450ee Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 26 18:28:40 2009 +0200 Plug leak test/pdf-fullrewrite.cc | 1 + 1 file changed, 1 insertion(+) commit 2ea0032283c4717f1bb285fab7956fc38f375e87 Author: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Date: Sat Sep 26 15:01:35 2009 +0200 Patch to make poppler work on Cygwin Bug 4195 configure.ac | 3 +++ qt/Makefile.am | 2 +- qt4/src/Makefile.am | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) commit 074dc5e5e39cebc1fbe9bf6a15b2cae2391006c1 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 26 14:56:38 2009 +0200 Improve realibility for Streams with broken Length Fixes bug 6841 poppler/Parser.cc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit b7702820245fb6cdbf77afba37c53c03d4362a25 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 21 21:58:26 2009 +0200 Print with a . and not with a , in all locales This is a regression after the removal of setting LC_NUMERIC poppler/PDFDoc.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit d31080d8195694cef740d4e77484179bb38d1f26 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 20 17:21:13 2009 +0200 CharCodeToUnicode is not mandatory in fonts, don't crash one fonts that do not have it Fixes bug #24036 poppler/Annot.cc | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) commit a729d005a7204791fa8415de5aa0834136073ce8 Author: Pino Toscano <pino@kde.org> Date: Thu Sep 17 20:12:20 2009 +0200 Windows32/MSVC: initialize the font list once per GlobalParams, instead of once at all this fixes the font list being empty at the second (and following) GlobalParams creation thanks for Christian Ehrlicher for reporting the bug and testing its fix poppler/GlobalParams.cc | 1 + poppler/GlobalParams.h | 1 + poppler/GlobalParamsWin.cc | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) commit 68711d8494e2765c4a24ea59ce8d904981f0f917 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 9 23:24:22 2009 +0200 uint -> Guint some compilers don't know about uint poppler/Gfx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 943a13c9354dec18cb023642aebbe5d3bb920ed7 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 9 20:04:06 2009 +0200 poppler 0.12.0 CMakeLists.txt | 4 ++-- NEWS | 18 ++++++++++++++++++ configure.ac | 4 ++-- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 5 files changed, 26 insertions(+), 8 deletions(-) commit e8ed7210346cb18f6e4588ad557f993c6d42f4a3 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 9 19:21:21 2009 +0200 increase library to 3.2.0 qt4/src/CMakeLists.txt | 2 +- qt4/src/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit e950107006a3b1889646d3705323c1b3d41eaa49 Author: David Benjamin <davidben@mit.edu> Date: Wed Sep 9 01:19:38 2009 +0200 Fix infinite loop in JBIG2Decoder Bug 23025 Also fixes problems in bug-poppler6881-2.pdf and bug-poppler6500.pdf poppler/JBIG2Stream.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 1cb25a4adaaf3e2da50724312a3db6928991f425 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Sep 6 10:45:56 2009 +0200 [glib] Ignore attachments with an invalid embedded file Fixes bug #10386 glib/poppler-document.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 842e00f3114666609ef4dec6fa613d46f330a40c Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 5 15:20:35 2009 +0200 Add EmbeddedFile::isValid Also do not crash if data() is called on an invalid file qt4/src/poppler-embeddedfile.cc | 10 +++++++++- qt4/src/poppler-qt4.h | 9 ++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) commit 9d40b268f5a9a9a0fb79da0e1627dd8eebc4db6a Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 5 15:19:27 2009 +0200 Add EmbFile::isOk At the moment returns false if the object stream is not really a stream poppler/Catalog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 642650b6f70425c8fff2df978ae71249a5ae07f3 Author: David Benjamin <davidben@mit.edu> Date: Sat Sep 5 01:12:49 2009 +0200 Better fallback when there's a type mismatch Bug #17252 poppler/GfxFont.cc | 38 ++++++++++++++++++++++++++++++++------ 1 file changed, 32 insertions(+), 6 deletions(-) commit bf5811f5331292ccf30f1b0f089fe43d351d96be Author: Albert Astals Cid <aacid@kde.org> Date: Wed Aug 26 00:43:46 2009 +0200 Improve shading color rendering Shading is not necessarily lineal so require another bisection to assume all the area in between have the same color. Fixes bug #20238 poppler/Gfx.cc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit e94430b790fde6ce7b7cb163c2e0adf2d071c81d Author: Albert Astals Cid <aacid@kde.org> Date: Wed Aug 26 00:42:49 2009 +0200 Make code a bit more readable poppler/Gfx.cc | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) commit 465212780557705fd939dfe54f96913505bfc96e Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 25 21:55:45 2009 +0200 forgot to update my copyright poppler/JPEG2000Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f6016d01ced32002bef22b9b5d5426a74e55842 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 25 21:10:07 2009 +0200 Fix format security warnings Don't just directly print strings of unknown content; use "%s". poppler/JPEG2000Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4616b23382b5d155f8b2f1942733037cf5730844 Author: Christian Persch <chpe@gnome.org> Date: Tue Aug 25 21:09:40 2009 +0200 Fix format security warnings Don't just directly print strings of unknown content; use "%s". poppler/GfxState.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6c5c8d008456d1e4f3d60bc182209747c2a175dc Author: Christian Persch <chpe@gnome.org> Date: Tue Aug 25 21:03:16 2009 +0200 Support AM_SILENT_RULES When using automake 1.11, should support silent build rules. Makefile.am | 2 +- configure.ac | 1 + glib/Makefile.am | 4 ++-- qt4/demos/Makefile.am | 2 +- qt4/src/Makefile.am | 2 +- qt4/tests/Makefile.am | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) commit e7dd1c47b01d8f31599ee686eafbe7c54d7c023a Author: Christian Persch <chpe@gnome.org> Date: Tue Aug 25 21:01:13 2009 +0200 Fix automake check, and add automake 1.11 support Fix the automake checks to take the *newest* version available, not the oldest one. Add support for automake 1.11. FDO#23473. autogen.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 493d2c5aa78a3241e70108c5d7eccba9ac72f834 Author: Rex Dieter <rdieter@math.unl.edu> Date: Mon Aug 24 20:08:46 2009 +0200 Use Requires.private if available The following patch minimizes pkg-config deps similar to how the glib-related pkg-config deps are done. poppler-qt.pc.cmake | 3 ++- poppler-qt.pc.in | 3 ++- poppler-qt4.pc.cmake | 3 ++- poppler-qt4.pc.in | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) commit 341cd3ecd08a39cd146c1c57f356b50a2881c03f Author: Jakub Wilk <ubanus@users.sf.net> Date: Mon Aug 24 19:51:34 2009 +0200 common options for pdftoabw The attached patch fixes command line handling for pdftoabw and implements some common options (e.g., --help) that are already found in other pdftosomething utilities. utils/pdftoabw.cc | 39 ++++++++++++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 7 deletions(-) commit 365683d5faea6e0a7570b139d1f3366c22271f8e Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 18 21:18:13 2009 +0200 0.11.3 CMakeLists.txt | 2 +- NEWS | 22 ++++++++++++++++++++++ configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 5 files changed, 28 insertions(+), 6 deletions(-) commit cb28bc8a637d300664b3c7569263445275333878 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Aug 17 14:14:03 2009 +0200 [glib] Add FORMAT_MAJOR/MINOR properties to get the PDF version See bug #23076. glib/poppler-document.cc | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 1b5612841b0c663f6d391d4581f65f68a2975db0 Author: Pino Toscano <pino@kde.org> Date: Mon Aug 17 01:04:04 2009 +0200 [Qt] add Document::getPdfVersion(int *major, int *minor) for the document PDF version numbers This new function reads the version of the PDF specification of the document, putting major and minor numbers in own variables. qt/poppler-document.cc | 8 ++++++++ qt/poppler-qt.h | 12 ++++++++++++ 2 files changed, 20 insertions(+) commit aef8ecda1e80b921228f415a53c9c5a52df87d94 Author: Pino Toscano <pino@kde.org> Date: Mon Aug 17 00:57:08 2009 +0200 [Qt4] deprecate Document::pdfVersion() ... in favour of getPdfVersion() qt4/src/poppler-qt4.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 830140f70e48e8033ad4411b6bd405d5ad7358a3 Author: Pino Toscano <pino@kde.org> Date: Mon Aug 17 00:51:13 2009 +0200 [Qt4] add Document::getPdfVersion(int *major, int *minor) for the document PDF version numbers This new function reads the version of the PDF specification of the document, putting major and minor numbers in own variables. Add them to the relative unit test. qt4/src/poppler-document.cc | 8 ++++++++ qt4/src/poppler-qt4.h | 13 +++++++++++++ qt4/tests/check_metadata.cpp | 4 ++++ 3 files changed, 25 insertions(+) commit 5491d16dfbd73f0256c62e49d02622dc3185012e Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 17 00:24:41 2009 +0200 Move poppler core away from using a double as PDF file version Frontends are yet to come glib/poppler-document.cc | 2 +- poppler/PDFDoc.cc | 7 ++++--- poppler/PDFDoc.h | 8 +++++--- qt/poppler-document.cc | 4 ++-- qt4/src/poppler-document.cc | 4 ++-- utils/pdfinfo.cc | 4 ++-- 6 files changed, 16 insertions(+), 13 deletions(-) commit efd5dd63a5b08249529d9a9f5906aefe806fb3aa Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 17 00:21:22 2009 +0200 Forgot to update copyright info fofi/FoFiType1C.cc | 14 ++++++++++++++ poppler/PDFDoc.cc | 2 +- utils/parseargs.c | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) commit 25ff4be0b4521cc3d2de386cdeb589beb245d435 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 17 00:15:10 2009 +0200 No need to change the locale since we use gatof that does the right thing poppler/PDFDoc.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit a6f698b4edc42c0414dd4690e1e037088321db2c Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 17 00:14:35 2009 +0200 Use gatof instead of atof fofi/FoFiType1C.cc | 3 ++- poppler/Annot.cc | 5 +++-- poppler/Function.cc | 3 ++- poppler/PDFDoc.cc | 3 ++- utils/parseargs.c | 4 +++- 5 files changed, 12 insertions(+), 6 deletions(-) commit 807b121cae45832d2e5832bad19c31e77420bfec Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 17 00:10:30 2009 +0200 Add a custom strtod that comes from libspectre Works over C locale integers without changing locale settings CMakeLists.txt | 2 + goo/Makefile.am | 6 ++- goo/gstrtod.cc | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ goo/gstrtod.h | 43 +++++++++++++++++ 4 files changed, 196 insertions(+), 2 deletions(-) commit 914bf7677a14494b69857b1d8070092a9999fe79 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 16 20:50:02 2009 +0200 When writing the cm matrix write 4 significant digits not 4 decimals This fixes bug 23332 Maybe we want to make this the default behaviour of 'g' instead of a new 'gs' case, but i prefer to be on the safe side for the moment goo/GooString.cc | 27 +++++++++++++++++++++++++-- goo/GooString.h | 4 +++- poppler/PSOutputDev.cc | 4 ++-- 3 files changed, 30 insertions(+), 5 deletions(-) commit b7dfca1aa52b825eb3b8f1cc0470398c31615b30 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Aug 16 19:28:37 2009 +0200 [cairo] CairoImageOutputDev doesn't implement patterns poppler/CairoOutputDev.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit d20d65111aee2ee4b8cdea2962ed1bb149122ba9 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Aug 16 17:36:14 2009 +0200 [cairo] Implement tiling patterns in cairo backend Fixes bug #13518 for the cairo backend. poppler/CairoOutputDev.cc | 56 +++++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 10 +++++++++ 2 files changed, 66 insertions(+) commit e965d0686d979c775b64a93f8e2f775f81885417 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Aug 13 14:48:10 2009 +0200 Change OutputDev::tilingPatternFill to return a GBool It allows outputdevs to decide whether render the pattern or not depending on the parameters, like shaded patterns currently do. poppler/Gfx.cc | 37 +++++++++++++++++++------------------ poppler/OutputDev.h | 11 ++++++----- poppler/PSOutputDev.cc | 12 +++++++----- poppler/PSOutputDev.h | 10 +++++----- 4 files changed, 37 insertions(+), 33 deletions(-) commit ce70ef7d6afc800e24031dae43da301e9e542f0e Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 15 17:45:57 2009 +0200 Fix backwards search qt4/src/poppler-page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5b7b1cdc5c3b8652d3ae583b4d7b8b6de625adc2 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 15 17:45:05 2009 +0200 Add an autotest showing previousresult fails qt4/tests/check_search.cpp | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 2484b0dcb8eb62f8e2c147498c58871ec04630b5 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 14 11:47:11 2009 +0200 Implement the alpha path I wonder if this is the correct fix why it was not implemented but if fixes rendering of files in KDE bug 145868, KDE bug 193657, poppler bug 17473.pdf, poppler bug 21651, poppler bug 22143 and poppler bug 22152 and causes no regression in all the other files i have in my test dir so i'm commiting it poppler/SplashOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 03970d8b6d7624444664320470baa6d1b1299622 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Aug 11 12:01:07 2009 +0200 [build] Fix build with autotools utils/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 15752b7cd5c94620e3ad3b6afd9c70ccc754c9b3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Aug 10 20:02:13 2009 +0200 [cairo] Add empty updateBlendMode to CairoImageOutputDev Fixes a crash when using CairoImageOutputDev with a document with blend modes. poppler/CairoOutputDev.h | 1 + 1 file changed, 1 insertion(+) commit 45dae4e66b2b833f95656850b5f1b0ffd1d96f1d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Aug 10 20:00:04 2009 +0200 [cairo] Use current fill_opacity when drawing images Fixes launchpad bug #342282 (page 2 of the attached document) poppler/CairoOutputDev.cc | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit b1cd54546844f2f7cd6bf7cc14b7584c84c3fc14 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Aug 10 19:55:44 2009 +0200 [cairo] Do not save the font file twice for FreeType fonts Fixes bug #20491. poppler/CairoFontEngine.cc | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) commit 4181a0ff11195eb7a56d76be23994b843e20b483 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 10 19:58:09 2009 +0200 this branch is unlikely to happen poppler/Lexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2a3025f32951ce7b7343aeef111902615d71595e Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 10 19:55:40 2009 +0200 fix overflow calculation not to depend on the variable overflowing poppler/Lexer.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit a38001f724f78231c2fdadd28e647a35b41bab74 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 9 23:26:02 2009 +0200 Check for overflow when parsing integers Fixes bug 23078 poppler/Lexer.cc | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) commit 4c4c0e44452d07bea88d98b7df0c01fadd7693cc Author: Jakub Wilk <ubanus@users.sf.net> Date: Sat Aug 8 17:26:14 2009 +0200 Silence some warnings when using internal headers and not compiling with -Wno-write-strings People should not be using internal headers but it's just two lines poppler/Object.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit e2c319ba18ab473fd969db9519a9231be67538c3 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 8 00:48:18 2009 +0200 Also implement mono so that -mono in pdftoppm -png works Totally not optimized splash/SplashBitmap.cc | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit c669e7f3ca421265e78161cc3fdecd2a0c7510c9 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 8 00:38:50 2009 +0200 Support splashModeMono8 in writePNGFile Works though is non optimal splash/SplashBitmap.cc | 55 +++++++++++++++++++++++++++++++++++--------------- 1 file changed, 39 insertions(+), 16 deletions(-) commit 92744b72df9084fd2d69ba78406898378884aed8 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 8 00:20:52 2009 +0200 Add the -png flag to pdftoppm to output to PNG Based on a patch by Shen Liang <shenzhuxi@gmail.com> Also factored common PNG code from HtmlOutputDev to PNGWriter CMakeLists.txt | 5 +++ goo/Makefile.am | 9 +++- goo/PNGWriter.cc | 110 ++++++++++++++++++++++++++++++++++++++++++++++ goo/PNGWriter.h | 43 ++++++++++++++++++ poppler/Makefile.am | 8 ++++ splash/SplashBitmap.cc | 70 +++++++++++++++++++++++++++++ splash/SplashBitmap.h | 5 +++ splash/SplashErrorCodes.h | 4 +- utils/CMakeLists.txt | 4 -- utils/HtmlOutputDev.cc | 66 +++++----------------------- utils/Makefile.am | 4 -- utils/pdftoppm.1 | 3 ++ utils/pdftoppm.cc | 21 +++++++-- 13 files changed, 283 insertions(+), 69 deletions(-) commit e4439ff527bb202d0239f78e647452983b733411 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Aug 7 15:23:57 2009 +0200 [cairo] Don't apply masks when fill color space mode is csPattern In that case the mask is used for clipping when drawing images. Fixes bug #22216. poppler/CairoOutputDev.cc | 59 ++++++++++++++++++++++++++++++----------------- 1 file changed, 38 insertions(+), 21 deletions(-) commit 7194f59a18e4f6997ae560af3db1bd101d6f726e Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Aug 6 11:24:22 2009 +0100 [cairo] Use FT_New_Memory_Face() for mmapped fonts If we hold a mapping for the font, then we can pass that memory to FreeType for it to use as well. This saves on FreeType having to read the file into a fresh block of memory. poppler/CairoFontEngine.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7e2bbcf6f85111d1006b0d5bc1503cadaba83c9f Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 4 00:10:58 2009 +0200 Set KDAB via gamaral copyright poppler/Form.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ed5918e16dafebc9ecf6db8ce0186f407ecbf7d5 Author: Pino Toscano <pino@kde.org> Date: Sat Aug 1 20:00:22 2009 +0200 [Qt4 apidox] make example for FontIterator... not leak ;) qt4/src/poppler-qt4.h | 2 ++ 1 file changed, 2 insertions(+) commit f3b36d9c992491e614e88dbf1a84b5433a7647f4 Author: Pino Toscano <pino@kde.org> Date: Sat Aug 1 19:54:52 2009 +0200 [Qt4] Add color management API. Add few wrapper functions to get/set color profiles. Add a function to know whether the color management functions actually do anything (ie support compiled or not). Add few basic API docs for the new functions. Based on an initial patch by Hal V. Engel <hvengel@astound.net>, heavily reindented, polished and massaged in its API by me. qt4/src/poppler-document.cc | 52 +++++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-qt4.h | 50 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 102 insertions(+) commit 78a1969d040018c0c2bb74c94f5507f786e4666e Author: Pino Toscano <pino@kde.org> Date: Sat Aug 1 18:00:06 2009 +0200 [Qt] add unhandled cases and remove unused code qt/poppler-page.cc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit bddebec0712e92e13b57d3d05d652673fe737866 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 1 17:12:22 2009 +0200 0.11.2 CMakeLists.txt | 2 +- NEWS | 30 ++++++++++++++++++++++++++++++ configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 5 files changed, 36 insertions(+), 6 deletions(-) commit 87e2af3454348f5568d155c15af5d85268e47f1b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Aug 1 15:48:02 2009 +0200 [glib-demo] Add cast to make sure the comparison is always valid glib/demo/attachments.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 464e95ef451103daddc9a30cd26b986291f02176 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Aug 1 15:47:25 2009 +0200 [glib-demo] Add missing return glib/demo/attachments.c | 2 ++ 1 file changed, 2 insertions(+) commit 7f48369e4d29b2a71abffa9e1966e3a2252de895 Author: Guillermo Antonio Amaral Bastidas <gamaral@amaral.com.mx> Date: Sat Aug 1 15:41:34 2009 +0200 Call fillChildrenSiblingsID in fillChildrenSiblingsID instaed of loadChildrenDefaults poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e21a3e40bf6f4365064cea751ae186580d8f81f5 Author: William Bader <williambader@hotmail.com> Date: Sat Aug 1 15:23:03 2009 +0200 Add the possibility of disabling font substitution in pdftops Bug #23030 poppler/GlobalParams.cc | 17 ++++++++++++++ poppler/GlobalParams.h | 4 ++++ poppler/PSOutputDev.cc | 59 +++++++++++++++++++++++++++---------------------- poppler/PSOutputDev.h | 2 ++ utils/pdftops.1 | 8 ++++++- utils/pdftops.cc | 7 ++++++ 6 files changed, 70 insertions(+), 27 deletions(-) commit bd68c90338cbf16f468e5db59722610300a629e1 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 1 15:19:48 2009 +0200 Forgot to add my copyright poppler/GfxState.h | 1 + 1 file changed, 1 insertion(+) commit 173451730948c320f16a0f5924a58302603eca0b Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 1 15:13:35 2009 +0200 Try to workaround some incorrect PDF Fixes rendering of PDF where forms/patterns have more q than Q. Fixes rendering in splash of pdf in bugs #22835, #21899 and #16402 poppler/Gfx.cc | 13 +++++++++++++ poppler/GfxState.h | 1 + 2 files changed, 14 insertions(+) commit 35c408ca49be08144bcf14aa112505fd556725d2 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 31 23:27:02 2009 +0200 add the overloaded virtual warning also the autotools based build configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1c32bd2d101e5dfb37e28276ecad699f121b27b7 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 31 23:22:25 2009 +0200 Add my copyright to files i just edited poppler/OutputDev.cc | 1 + poppler/OutputDev.h | 1 + utils/HtmlOutputDev.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) commit 10717a48c85f1dbeff1c6bcd094006a9ecc92efc Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 31 23:22:10 2009 +0200 Add -Woverloaded-virtual as default CXX flag cmake/modules/PopplerMacros.cmake | 1 + 1 file changed, 1 insertion(+) commit db5f736655f01575ac5d7c524cbf131924ae91fa Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 31 23:12:00 2009 +0200 rename the function That way the name is different from the OutputDev function and does not seem like a wrong overload utils/HtmlOutputDev.cc | 4 ++-- utils/HtmlOutputDev.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4be87f87509b93c4fe4025f9bd788e9412416663 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 31 23:11:32 2009 +0200 Remove Outputdev::beginMarkedContent as noone uses it poppler/Gfx.cc | 2 -- poppler/OutputDev.cc | 3 --- poppler/OutputDev.h | 1 - 3 files changed, 6 deletions(-) commit 6ab2ec8a89519d2bd1576c8d62f8aec51b04479a Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 31 23:10:56 2009 +0200 Warning-- poppler/PSOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 53c3d636ad645a350b576160e1498726238a7bd1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 31 18:23:57 2009 +0200 [cairo] Implement radialShadedFill in cairo backend using cairo gradients Fixes bugs #10942, #14160 poppler/CairoOutputDev.cc | 28 +++++++++ poppler/CairoOutputDev.h | 2 + poppler/Gfx.cc | 141 +++++++++++++++++++++++++++------------------- poppler/OutputDev.h | 2 +- poppler/PSOutputDev.cc | 3 +- poppler/PSOutputDev.h | 2 +- 6 files changed, 117 insertions(+), 61 deletions(-) commit 2ba937545d1a2b9fa798f04fee755ccdf0e74ec7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 31 17:49:18 2009 +0200 [cairo] Use cairo_pattern_set_extend for linear gradients poppler/CairoOutputDev.cc | 9 +++++++++ poppler/CairoOutputDev.h | 1 + poppler/Gfx.cc | 34 ++++++++++++++++++++++++++++------ poppler/OutputDev.h | 4 ++++ 4 files changed, 42 insertions(+), 6 deletions(-) commit b054756113f0df6b59935823882f412486e96db5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jun 17 11:10:15 2009 +0200 [cairo] Implement blend mdoes in cairo backend It requires cairo from git master to work at the moment. Fixes bugs #22384, #12979, #13603, #17919, #22255 configure.ac | 27 ++++++++++++++++++++++ poppler/CairoOutputDev.cc | 59 +++++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 1 + 3 files changed, 87 insertions(+) commit bf8964726c9311e7e82b1faf49cc2272e5c1e339 Author: William Bader <williambader@hotmail.com> Date: Thu Jul 30 22:08:43 2009 +0200 Fix some double to int warnings by explicit casting poppler/Gfx.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit fdbd0c548e963461b2bc4bdf1beaa1577cafcea7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 30 21:05:18 2009 +0200 Update gtk-doc build files gtk-doc.make | 102 +++++++++++++++++++++++++++++++++++++++------------------- m4/gtk-doc.m4 | 74 +++++++++++++++++++++++------------------- 2 files changed, 110 insertions(+), 66 deletions(-) commit ae84dce5cea4d249526a6ed5b2feb2d3f241da1b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 30 20:45:39 2009 +0200 Revert "Remove unneeded files from repo" This reverts commit 4cc9dee35e03d7b295a476f937ec0f2c43bb6592. See bug #22697. configure.ac | 2 +- glib/reference/Makefile.am | 4 +- gtk-doc.make | 155 +++++++++++++++++++++++++++++++++++++++++++++ m4/gtk-doc.m4 | 53 ++++++++++++++++ 4 files changed, 211 insertions(+), 3 deletions(-) commit 7e14516a78b16453c747eb92b08665632e5f6844 Author: Sanjoy Mahajan <sanjoy@mit.edu> Date: Mon Jul 27 23:20:50 2009 +0200 Fix displayPages call Parameters are outputdev, first, last, dpi, dpi, rotate, usemediabox, crop, printing and we were doing usemediabox = !noCrop crop = gFasle the correct is usemediabox = noCrop crop = !noCrop utils/pdftops.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3d53a0eb14420d54c0ebf8590e34c018b8da105d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jul 19 16:02:33 2009 +0200 Copy byte_lookup in copy constructor poppler/GfxState.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 8f7271acf17c46e663cd48d90c382b04a834fba2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jul 19 15:53:49 2009 +0200 Don't use byte_lookup table when color space doesn't support getLine methods For color spaces that don't implement getRGBLine or getGrayLine methods, getRGB or getGray are called for every pixel, however we were allocating the byte_lookup table and converting colors in those cases too. Instead of falling back to generic methods in the base class, the new methods useGetRGBLine and useGetGrayLine have been added to he base class, so that when they are not suopported in the current color space byte_lookup table is not used at all. Fixes bug #11027. poppler/GfxState.cc | 125 ++++++++++++++++++++++++++++++---------------------- poppler/GfxState.h | 21 +++++++-- 2 files changed, 91 insertions(+), 55 deletions(-) commit 1bc737796bef1c65289a101b2d4c367267b9c974 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jul 19 15:51:43 2009 +0200 Remove unused variable poppler/GfxState.h | 1 - 1 file changed, 1 deletion(-) commit 512b2c654fd80c83b82e7adc828a478a18de17ab Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jul 26 19:35:06 2009 +0200 [cairo] Use CAIRO_EXTEND_PAD in drawImageMaskPrescaled too poppler/CairoOutputDev.cc | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) commit ad26e34bede53cb6300bc463cbdcc2b5adf101c2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jul 26 18:36:06 2009 +0200 [cairo] Use rectangle + clip instead of invert + tranform This is just for consistency of drawImage methods poppler/CairoOutputDev.cc | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) commit ee6b761a55baef4c3bbe4614b0c3b3d761a3111f Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Sun Jul 26 16:19:15 2009 +0200 [cairo] Apply a clip for masked drawImage In order to use EXTEND_PAD with a mask, we need to apply a clip (to constrain the image to the appropriate region). The complicating factor for drawSoftImage() is that mask size is independent of the image size, so we need to compute the intersection of the mask with in the image in userspace. poppler/CairoOutputDev.cc | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit 499c6c972bac14936b5370276da723a6e98861b3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jul 26 11:30:08 2009 +0200 [cairo] Use CAIRO_EXTEND_PAD when drawing images poppler/CairoOutputDev.cc | 306 +++++++++++++++++++++------------------------- 1 file changed, 140 insertions(+), 166 deletions(-) commit f91eb7d01cef0897727c63267db309bc92297d37 Author: Koji Otani <sho@bbr.jp> Date: Sat Jul 25 16:34:12 2009 +0200 Fix generation of ps for some files For example fixes second pdf in bug 18908 poppler/PSOutputDev.cc | 68 +++++++++++++++++++++++++++++++++++++------------- 1 file changed, 51 insertions(+), 17 deletions(-) commit f93f5e17d8f23f3e2862f3411f43a95b334e6c91 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jul 20 17:10:37 2009 +0200 [cairo] Improve performance when rendering one-channel images It implements the same idea already used in SplashOutputDev, for one-channel (monochrome/gray/separation) images we build a lookup table so that we won't need to call colorMap->getRGBLine when filling the image buffer. Fixes bug #18017. poppler/CairoOutputDev.cc | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) commit e7475062b6ae5c495fa72faaf8fb3d97391f8544 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 14 17:22:52 2009 +0200 [cairo] Handle fontType1COT fonts in CairoFontEngine poppler/CairoFontEngine.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d42b9425fb2f98fa79e7a60e4f71ef14f5bacfe9 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jul 12 19:55:14 2009 +0200 glade is not used anymore cmake/modules/FindGTK.cmake | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 454f7468c6a6a442a5064b5daa24d65ebf4fc6b6 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Jul 9 10:43:00 2009 +0100 [cairo] Fix drawImage() for non-1x1 images Carlos noticed a nasty bug with converting drawImage() to use PAD + fill, instead of NONE + paint. That is the image was being padded out far beyond the correct output extents. The cause is that the caller pre-scales the context for the image, so the output rectangle was many times the true image size - obliterating large amounts of the page. The temporary fix is to counter-act the scaling on the context. Longer term, after fixing all painters to use PAD correctly, we need to review the callers to remove unnecessary pre-scaling. poppler/CairoOutputDev.cc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit f8d93eae3c7b9388feabac71f2380d0b42a855e7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 8 20:14:35 2009 +0200 Lookup UF and F entries before Unix, MAC and DOS in getFileSpec poppler/FileSpec.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 767c534f5fdf6ccbccfd85a0086d72c215c278f1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 8 19:13:54 2009 +0200 Use UF entry when present in dict in getFileSpecName() too poppler/FileSpec.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 569627ac4d56ddd58e109ce2a37179a85e042030 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 8 13:02:16 2009 +0200 Implement axialShadedFill in cairo backend using cairo gradients See bug #10942. poppler/CairoOutputDev.cc | 29 +++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 10 ++++++++++ poppler/Gfx.cc | 29 ++++++++++++++++++++--------- poppler/OutputDev.h | 6 +++++- poppler/PSOutputDev.cc | 2 +- poppler/PSOutputDev.h | 2 +- 6 files changed, 66 insertions(+), 12 deletions(-) commit 6ae0a6c0044713affa23eb1ee6a070785ed6c2f3 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Jul 8 16:48:26 2009 +0100 [cairo] premultiply image mask Cairo uses a premultiplied colour-space, so when creating the image mask in drawImage() we need to remember to multiply by the alpha. In this case it just requires zeroing out the masked pixels. poppler/CairoOutputDev.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 646e5884e748ecce7094c673400484aa1d902bdd Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Jul 8 17:00:34 2009 +0100 [cairo] maskColors is an array of ints, no scaling required drawImage() was erroneously scaling the maskColors from what it believed to be [0:1] to [0:255]. However maskColors is already an integer array, [0:255]. poppler/CairoOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d75feb1ee84385a9f94308cf47a43f4583092ddf Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Wed Jul 8 16:37:19 2009 +0100 [cairo] cleanse DrawImage() Just a small bit of code rearrangement to reduce repetition and invalid checks. poppler/CairoOutputDev.cc | 102 +++++++++++++++++++--------------------------- 1 file changed, 41 insertions(+), 61 deletions(-) commit 52f3704fed16cfc1e9dd85f72dde7922371e4099 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 8 11:40:52 2009 +0200 [TODO] Update TODO file TODO | 6 ++++++ 1 file changed, 6 insertions(+) commit ef261f5f72d37a0aa2709611ee2bad7d55340ed8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 7 10:57:31 2009 +0200 Do not use F and UF entries if Unix or DOS are present in FileSpec dict poppler/FileSpec.cc | 114 +++++++++++++++++++++++----------------------------- 1 file changed, 51 insertions(+), 63 deletions(-) commit cafd4653dc6c7574214e80aa09489dcd24e347a6 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 1 11:41:32 2009 +0200 [glib-demo] Fix a typo glib/demo/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3c9c6d0c0ee55dccd2d03f20d5683ae300cdc6b Author: Pino Toscano <pino@kde.org> Date: Wed Jul 8 02:01:39 2009 +0200 start updating the TODO file TODO file had quite some rust and dust in it, making quite "difficult" for others to understand what can be done for helping. First step has been removing all the items done. Next is grouping items by areas, so it is more clear what should be done in what area; current areas are: - general items: for general stuff to be done, not specific to some area; an example could have been "use littlecms for color management?" - core: stuff which is specific to the core library - Qt4/Qt/glib/etc frontend: stuff specific for that frontend - new frontends: ideas for possible new frontends I was not sure about some items and Jeff Muizelaar's TODO, so I left them there. TODO | 47 +++++++++++++++-------------------------------- 1 file changed, 15 insertions(+), 32 deletions(-) commit 92ad0ef89fe7690d83854b4821178dfdb2e22897 Author: Pino Toscano <pino@kde.org> Date: Sat Jul 4 00:19:23 2009 +0200 [Qt4 demo] hopefully fix the page size on zoom change qt4/demos/pageview.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 97094d13bc0f144b25e13c1de7a5328608ab13e3 Author: Pino Toscano <pino@kde.org> Date: Sat Jul 4 00:07:12 2009 +0200 [Qt4 demo] show a list of checked/unchecked items for the document permissions qt4/demos/permissions.cpp | 25 ++++++++----------------- qt4/demos/permissions.h | 6 +++--- 2 files changed, 11 insertions(+), 20 deletions(-) commit 0d8f2ee0f03a14e7b8477c4b787c3441a758f26b Author: Pino Toscano <pino@kde.org> Date: Fri Jul 3 23:55:42 2009 +0200 [Qt4 demo] show page numbers in the toolbar as 1..n qt4/demos/navigationtoolbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b0d48df9121c55f8162ddf0ee63832f9adebf37b Author: Pino Toscano <pino@kde.org> Date: Fri Jul 3 17:55:31 2009 +0200 [Qt4 demo] correctly use DPI values for the page sizes qt4/demos/pageview.cpp | 12 +++++++++--- qt4/demos/pageview.h | 2 ++ 2 files changed, 11 insertions(+), 3 deletions(-) commit dcc3c384919f1562b8f312ad3ac847e23f3e83ab Author: Sebastien Bacher <seb128@ubuntu.com> Date: Wed Jul 1 10:09:12 2009 +0200 [test] Use gtkbuilder rather than libglade Fixes bug #21673 cmake/modules/FindGTK.cmake | 1 - configure.ac | 4 +- test/Makefile.am | 2 +- test/pdf-inspector.cc | 34 ++-- test/pdf-inspector.glade | 434 -------------------------------------------- test/pdf-inspector.ui | 416 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 439 insertions(+), 452 deletions(-) commit 28208d1c9b8afbb769a5f4d9b0655b99fd4af16e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 1 09:52:12 2009 +0200 [glib-demo] Do not use gio if glib < 2.15 Fixes bug #22530. glib/demo/main.c | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) commit 6ef83414ab55294cf46b6b05813927bb04066986 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 30 23:07:00 2009 +0200 Check getFileSpecNameForPlatform succeeded before using it's return value Fixes crash on bug 22551 poppler/Annot.cc | 7 ++++--- poppler/Link.cc | 30 +++++++++++++++++------------- poppler/Sound.cc | 8 +++++--- 3 files changed, 26 insertions(+), 19 deletions(-) commit 4b9db83841a8b97df1e0991c1b853897b7095777 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 30 11:24:29 2009 +0200 [glib-demo] Do not fill the surface before rendering The surface is guaranteed to be cleared glib/demo/render.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) commit 5deb6db5d340c08f337d2ba67aa1fd690e4eedd8 Author: William Bader <williambader@hotmail.com> Date: Mon Jun 29 21:55:49 2009 +0200 Fix interpolate parameter position poppler/SplashOutputDev.cc | 3 ++- utils/ImageOutputDev.cc | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) commit e1e9ae2826eff1665d798b4b50b5c63e8282246b Author: Pino Toscano <pino@kde.org> Date: Sun Jun 28 20:11:42 2009 +0200 [Qt4 demo] do not crash when changing the zoom with no document qt4/demos/pageview.cpp | 3 +++ 1 file changed, 3 insertions(+) commit a98de97137cb343182bd03c443fc08ff4e0fd9a5 Author: Pino Toscano <pino@kde.org> Date: Sun Jun 28 19:08:02 2009 +0200 [Qt4 demo] add a zoom combobox qt4/demos/navigationtoolbar.cpp | 33 ++++++++++++++++++++++++++++++++- qt4/demos/navigationtoolbar.h | 7 ++++++- qt4/demos/pageview.cpp | 14 ++++++++++++-- qt4/demos/pageview.h | 6 +++++- qt4/demos/viewer.cpp | 2 ++ 5 files changed, 57 insertions(+), 5 deletions(-) commit 40002d2c765398869a3b7d8d92715f0608e39ab3 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 28 16:45:19 2009 +0200 Make sure the array is big enough to read from it poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0a1b41ff6de5a41e3450ecbcb1ba754dc06c29d9 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jun 26 19:31:22 2009 +0200 Do not crash when we can't find onStr Fixes crash in bug #22485 Not sure this is the best solution, but Adobe doesn't even open the file poppler/Form.cc | 1 + 1 file changed, 1 insertion(+) commit 6cb846664e57b02c99f1e6ad2b4e9128c9622e0a Author: Ilya Gorenbein <igorenbein@finjan.com> Date: Thu Jun 25 20:13:29 2009 +0200 Initilize AnnotColot properly when the Array is not correct poppler/Annot.cc | 3 +++ 1 file changed, 3 insertions(+) commit 5fdc3acb8dded2e7d08e6ef30f4c5ae1a4a11b5e Author: Till Kamppeter <till.kamppeter@gmail.com> Date: Mon Jun 22 21:38:23 2009 +0200 Only change the page size when it really changes, otherwise duplex commands are lost poppler/PSOutputDev.cc | 10 +++++++++- poppler/PSOutputDev.h | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) commit bf69beeb257cfd750c6ddc8b68aeb859b36380b2 Author: David Benjamin <davidben@mit.edu> Date: Sat Jun 20 23:51:09 2009 +0200 Make DecryptStream return sane values for getPos() Many streams (notably JBIG2Stream) expect wrapped streams to return correct values for getPos(), i.e. increments by 1 when readChar() called, etc. Fixes bug #19706. poppler/Decrypt.cc | 8 ++++++++ poppler/Decrypt.h | 3 +++ 2 files changed, 11 insertions(+) commit 5ee4ff2aaf98e2eaa1ec2dc9f7e659b3b01ba7bf Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jun 20 15:00:16 2009 +0200 [glib-demo] Allow using relative paths in demo application glib/demo/main.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) commit a568248d3255407fcaa7368c4925c20e95619d20 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jun 19 21:07:39 2009 +0200 0.11.1 CMakeLists.txt | 2 +- NEWS | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 5 files changed, 54 insertions(+), 8 deletions(-) commit ac99e239f2726db32617ff03174a6ce74361ea1b Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jun 19 21:03:29 2009 +0200 ship PopplerCache.h CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 84984d2aa25917d68c9971cefe636e626eada13d Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jun 19 20:54:15 2009 +0200 Ship PopplerCache.h too poppler/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 3a52d46e5df8eb926b550d7f7a82f316dbf6808f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jun 19 17:45:44 2009 +0200 [glib-demo] Destroy pattern after using it glib/demo/render.c | 1 + 1 file changed, 1 insertion(+) commit 2e97524e5d82a4c33a4e6410fead444681db6749 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jun 19 14:20:16 2009 +0200 [glib-demo] Use a transparent surface and fill it in white after rendering glib/demo/render.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 009937842d5a8bfc12394e9e3ab71b7c33340a85 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jun 19 14:10:05 2009 +0200 [glib-demo] Use cairo_paint instead of rectangle + fill glib/demo/render.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 7248da095f67d57c3999cee7d980e62fd8a7cf49 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jun 19 09:37:02 2009 +0200 Use Interpolate flag to decide whether applying image interpolation during rendering Fixes bug #9860 poppler/ArthurOutputDev.cc | 4 +- poppler/ArthurOutputDev.h | 5 ++- poppler/CairoOutputDev.cc | 92 ++++++++++++++++++++++++++------------------- poppler/CairoOutputDev.h | 48 ++++++++++++----------- poppler/Gfx.cc | 49 ++++++++++++++++++++---- poppler/OutputDev.cc | 17 ++++++--- poppler/OutputDev.h | 13 ++++--- poppler/PSOutputDev.cc | 8 ++-- poppler/PSOutputDev.h | 8 ++-- poppler/PreScanOutputDev.cc | 25 ++++++++++-- poppler/PreScanOutputDev.h | 25 ++++++++++-- poppler/SplashOutputDev.cc | 16 +++++--- poppler/SplashOutputDev.h | 12 ++++-- utils/HtmlOutputDev.cc | 16 ++++---- utils/HtmlOutputDev.h | 7 ++-- utils/ImageOutputDev.cc | 20 +++++----- utils/ImageOutputDev.h | 12 ++++-- 17 files changed, 248 insertions(+), 129 deletions(-) commit 37e3f877ee725648734ff41e1e83870a210bcbd7 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jun 19 00:37:21 2009 +0200 Handle Streams in CMap definitions Fixes bug 22334 poppler/CMap.cc | 50 ++++++++++++++++++++++++++++++------------------- poppler/CMap.h | 17 ++++++++++++----- poppler/GfxFont.cc | 41 +++++++++++++++++++++++++++------------- poppler/GlobalParams.cc | 6 +++--- poppler/GlobalParams.h | 5 +++-- 5 files changed, 77 insertions(+), 42 deletions(-) commit 47de8eef46300832556ce5ed869e391e477fd843 Author: David Benjamin <davidben@mit.edu> Date: Fri Jun 19 00:30:35 2009 +0200 Fix some bugs in JBIG2Stream handling For more info see bug 12014 and [poppler] Bug in JBIG2Stream from 08-June-2009 poppler/JBIG2Stream.cc | 88 +++++++++++++++++++++++++++----------------------- poppler/JBIG2Stream.h | 15 +++++++++ 2 files changed, 63 insertions(+), 40 deletions(-) commit d30b1013ea3ce45b5ea942fe7357c0fd07ff47f4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 2 11:44:08 2009 +0200 Add setOpen() and setIcon() in AnnotText poppler/Annot.cc | 25 +++++++++++++++++++++++++ poppler/Annot.h | 3 +++ 2 files changed, 28 insertions(+) commit 287feffc1c1c0aa42a398fc071b489acef9ef22e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 2 11:26:40 2009 +0200 Add setLabel() and setPopup() to AnnotMarkup poppler/Annot.cc | 36 ++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 4 ++++ 2 files changed, 40 insertions(+) commit 2a938af5624fbc79316dd6bee5e550f2b4270a76 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 2 10:59:44 2009 +0200 Add setParent() and setOpen() to AnnotPopup poppler/Annot.cc | 19 +++++++++++++++++++ poppler/Annot.h | 4 ++++ 2 files changed, 23 insertions(+) commit 0af5464352dfa51f0458c57a3590c847a45964c7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 2 10:37:49 2009 +0200 Save parent reference of popup annotations poppler/Annot.cc | 16 +++++----------- poppler/Annot.h | 4 ++-- 2 files changed, 7 insertions(+), 13 deletions(-) commit fc4bc43dcd6f6871a47b9198e8c2571a5d448c3e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jun 1 14:52:21 2009 +0200 Fix a crash in pdf-inspector test/pdf-inspector.cc | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 3da7a2657892fde52b62e1f73476cb33d6c75e96 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 29 13:35:39 2009 +0200 Add Annot::setColor() poppler/Annot.cc | 19 ++++++++++++++++++- poppler/Annot.h | 6 +++++- 2 files changed, 23 insertions(+), 2 deletions(-) commit 3eabdf57729852205855cf74ff2d2f9d7bc03f73 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 29 13:23:26 2009 +0200 Add construtors to create AnnotColor objects directly from color values poppler/Annot.cc | 26 ++++++++++++++++++++++++++ poppler/Annot.h | 3 +++ 2 files changed, 29 insertions(+) commit 8045e7a1a84a3d54a1c9415ac63b5b9df5ecc349 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 29 13:06:40 2009 +0200 Add Page::addAnnot() to add a new annotation to the page poppler/Page.cc | 28 ++++++++++++++++++++++++++++ poppler/Page.h | 2 ++ 2 files changed, 30 insertions(+) commit fe80eb84ec711b7400cef95e791a74c8fd259af7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 29 13:00:19 2009 +0200 Add getRef() to get the annotation reference poppler/Annot.h | 1 + 1 file changed, 1 insertion(+) commit 1c92657be72c44dba7185808ffb00dd85c5ab289 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 29 12:14:02 2009 +0200 Save page object and ref in Page class This is needed to be able to modify the page object. poppler/Catalog.cc | 2 +- poppler/Page.cc | 6 +++++- poppler/Page.h | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) commit 4ad2d663262008e4b97342c4ed67c686ff5abd13 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 29 11:43:30 2009 +0200 Add annot constructors to create annot objects without a dict This allows to create annotation objects to be added to the document. Required fields on the annotation dictionary are constructor arguments, setters will be added for the other fields. poppler/Annot.cc | 300 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- poppler/Annot.h | 22 +++- 2 files changed, 315 insertions(+), 7 deletions(-) commit e5c4862b0c1b08a0fab47070cb9c862026e93567 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 10 23:28:03 2009 +0200 ignore++ m4/.gitignore | 5 +++++ 1 file changed, 5 insertions(+) commit 572779f8037763c1e0ee64c47a3dad6df0d3b693 Author: Koji Otani <sho@bbr.jp> Date: Wed Jun 10 22:55:26 2009 +0200 Fix dashed line in page 1 of bug 20011 poppler/Gfx.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit b97591672e0d9c31a3d044fe52e34cc80a491221 Author: Koji Otani <sho@bbr.jp> Date: Wed Jun 10 22:54:57 2009 +0200 Fix "Conditional jump or move depends on uninitialised value" When stroking with a pattern, set strokeColor with a copy of fillColor. This is wrong and the fillColor may be uninitialized. See bug 20011 poppler/Gfx.cc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit a92b38836b1e4475d5a7a1b9cb8f3e9429cef275 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 9 22:39:19 2009 +0200 Correctly duplicate the cache on PostScriptFunction(PostScriptFunction *func) poppler/Function.cc | 28 ++++++++++++++++++++++++++++ poppler/PopplerCache.cc | 20 ++++++++++++++++++++ poppler/PopplerCache.h | 14 ++++++++++++++ 3 files changed, 62 insertions(+) commit 2cecdf922f4c8178b0e55d3ddf86c31f8be3313a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jun 9 11:04:39 2009 +0200 [glib] Fix a crash when a destination points to an invalid page glib/poppler-action.cc | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) commit 831288c13c3a7502bbccd1313c6e376283be367c Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 7 18:37:20 2009 +0200 Optimize roll() a bit If the number of times to roll is > than half the number of items rotate in the reverse direction Makes it be 33% of exec() instead of 42% poppler/Function.cc | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) commit 3d40dcad850a2bc0e28845a15722db0c79920135 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 7 13:38:50 2009 +0200 Move the GfxState cache to the new poppler cache class poppler/GfxState.cc | 97 +++++++++++++++++++++++++---------------------------- poppler/GfxState.h | 19 ++--------- 2 files changed, 49 insertions(+), 67 deletions(-) commit 2619e09833f421fb3d8cc68d41d15081ae6824e4 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 7 13:37:40 2009 +0200 Implement a cache for PostscriptFunction transforms Makes time of rendering of bug 21562 go down from 24 to 8 seconds poppler/Function.cc | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Function.h | 2 ++ 2 files changed, 78 insertions(+) commit 588bfe3c14f42be492066c2a98e30482475a6926 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 7 13:36:39 2009 +0200 Add a code to a generic cache based on Koji's code for GfxState cache CMakeLists.txt | 1 + poppler/Makefile.am | 1 + poppler/PopplerCache.cc | 82 +++++++++++++++++++++++++++++++++++++++++++++++++ poppler/PopplerCache.h | 47 ++++++++++++++++++++++++++++ 4 files changed, 131 insertions(+) commit d09478fcc44b5c594f1803fc24654af5e10fa129 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 7 01:34:01 2009 +0200 Move index and pop to class definition too poppler/Function.cc | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) commit 2083264e8ab0fd9976294de08a18de615d5a1168 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 7 01:21:19 2009 +0200 Move the implementations to the class definition Make gcc inline the functions and time to render a heavy PSFunction doc goes from 28 to 20 secs poppler/Function.cc | 151 ++++++++++++++++++++++++---------------------------- 1 file changed, 71 insertions(+), 80 deletions(-) commit 24580fcd2be74db5f3140bdb2ebff8431b7d3f1e Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jun 6 16:17:26 2009 +0200 Add a debug saying how much rendering took qt4/tests/test-poppler-qt4.cpp | 2 ++ 1 file changed, 2 insertions(+) commit 50cf7cffff760e41774957ad8f1f92803142438e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jun 6 16:04:54 2009 +0200 Use g_path_get_basename instead of g_basename in gtk-cairo-test Fixes bug #21361. test/gtk-cairo-test.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4cc9dee35e03d7b295a476f937ec0f2c43bb6592 Author: Christian Persch <chpe@gnome.org> Date: Sat Jun 6 12:13:48 2009 +0200 Remove unneeded files from repo See bug #22094 configure.ac | 2 +- glib/reference/Makefile.am | 4 +- gtk-doc.make | 155 --------------------------------------------- m4/gtk-doc.m4 | 53 ---------------- 4 files changed, 3 insertions(+), 211 deletions(-) commit c94e476dbff9e527c72e52377d830f35f29ba3d6 Author: Pino Toscano <pino@kde.org> Date: Fri Jun 5 11:09:44 2009 +0200 when showing the tooltip for a text rect, show also its index in the page text boxes list qt4/tests/test-poppler-qt4.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 2298acac267257b1916c802bdb902428e69e683b Author: Pino Toscano <pino@kde.org> Date: Fri Jun 5 11:08:51 2009 +0200 [Qt4 apidox] FontInterator is new in 0.12 qt4/src/poppler-qt4.h | 2 ++ 1 file changed, 2 insertions(+) commit 37c48c2521c623c485841472c4a174a1841aea33 Author: Pino Toscano <pino@kde.org> Date: Fri Jun 5 10:54:30 2009 +0200 [CMake] Add poppler version defines and version check macro Add POPPLER_[MAJOR|MINOR|MICRO]_VERSION defines and POPPLER_CHECK_VERSION macro. FDO bug #22091. CMakeLists.txt | 5 ++++- glib/poppler-features.h.cmake | 9 +++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) commit 26f6fb1d79c2589829cd896d57da63d16641f307 Author: Pino Toscano <pino@kde.org> Date: Fri Jun 5 10:51:26 2009 +0200 [CMake] switch poppler-features.h.cmake to a more autotools-like syntax glib/CMakeLists.txt | 2 +- glib/poppler-features.h.cmake | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 89704635b727db42f6c72ba101091eb7eddb967a Author: Pino Toscano <pino@kde.org> Date: Fri Jun 5 10:39:17 2009 +0200 [Qt4 demo] compile the new thumbnail module with autotools as well qt4/demos/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit 291bafe64c8755fe5f85a51b184ac6e3d3170e1d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jun 5 10:07:16 2009 +0200 [glib] Use g_strerror instead of strerror Fixes bug #22095. glib/poppler-document.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ca7e214fb5f9c9fb59792149bd23c1617d38cac Author: Christian Persch <chpe@gnome.org> Date: Thu Jun 4 22:35:40 2009 +0200 Add poppler version defines and version check macro Add POPPLER_[MAJOR|MINOR|MICRO]_VERSION defines and POPPLER_CHECK_VERSION macro. FDO bug #22091. configure.ac | 11 ++++- glib/poppler-features.h.in | 9 ++++ glib/reference/poppler-docs.sgml | 1 + glib/reference/poppler-sections.txt | 10 ++++ glib/reference/tmpl/poppler-features.sgml | 80 +++++++++++++++++++++++++++++++ 5 files changed, 110 insertions(+), 1 deletion(-) commit 4ce04da0040e5a2626c110f94a128e2d272401b9 Author: Matthias Drochner <M.Drochner@fz-juelich.de> Date: Thu Jun 4 23:05:22 2009 +0200 Use the correct value when creating the V field PDF Spec says: For items represented in the Opt array by a two-element array, the name string is the second of the two array elements. poppler/Form.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 7e01e37a834bfdd75d739ea2b48e9127ca7f259e Author: Till Kamppeter <till.kamppeter@gmail.com> Date: Thu Jun 4 20:25:55 2009 +0200 Add part of fix for bug 20420, the other part was checked in with Thomas patches poppler/PSOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit 50a7b4bcaa6e5f56cc25fe6936f9dc537a1b4b37 Author: Jeremy C. Reed <reed@reedmedia.net> Date: Thu Jun 4 20:19:03 2009 +0200 [glib] Hyphenate UTF-8 and UTF-16BE Fixes bug #21953. where iconv() is called to fill in a text field, use "UTF-8" and "UTF-16BE" as encoding names rather than the less portable "UTF8" and "UTF16BE" -- this makes it work on NetBSD. glib/poppler-annot.cc | 2 +- glib/poppler-form-field.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 2cf9e6a2318b770ae62572944c687576d1801d31 Author: Till Kamppeter <till.kamppeter@gmail.com> Date: Thu Jun 4 19:48:42 2009 +0200 Support multiple page sizes when converting to PS Fixes byg #19777 poppler/PSOutputDev.cc | 31 +++++++++++++++++++++++++++++-- poppler/PSOutputDev.h | 4 +++- utils/pdftops.1 | 26 +++++++++++++++++++++----- utils/pdftops.cc | 17 ++++++++++++----- 4 files changed, 65 insertions(+), 13 deletions(-) commit 30fb7cb7e47cf6a8008c5083c8d0978fdfdf8e62 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jun 4 19:25:22 2009 +0200 Add missing { } poppler/Gfx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1beec21ed3a016998fee3849d460166895db9047 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 3 22:37:43 2009 +0200 Give an error when using level1sep without having CMYK support Fixes bug #22026 poppler/PSOutputDev.cc | 4 ++++ 1 file changed, 4 insertions(+) commit e80d645c34c7d44d1f35da0a25669d1c4cde6e7f Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 3 22:00:49 2009 +0200 Also accept tokens with to leading 00 Fixes bug 22025, based on a patch by William Bader poppler/CharCodeToUnicode.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit e521c1efaeba3f35d10e46bca3d9650dabd2d889 Author: Adrian Johnson <ajohnson@redneon.com> Date: Wed Jun 3 22:08:57 2009 +0930 Implement text in pattern colorspace for the cairo backend poppler/CairoOutputDev.cc | 47 +++++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 19 +++++++++++++++++++ 2 files changed, 66 insertions(+) commit a87978b09a026b2db6b0f80271d87b44b336a121 Author: Pino Toscano <pino@kde.org> Date: Wed Jun 3 13:49:56 2009 +0200 [Qt4 demo] show the checksum for embedded files qt4/demos/embeddedfiles.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit db5102842494a124d813db1696bb60820db3442b Author: Pino Toscano <pino@kde.org> Date: Wed Jun 3 13:21:22 2009 +0200 [Qt4 demo] remove checks for Qt >= 4.2 poppler-qt4 requires Qt 4.3, so checking for 4.2 is no more needed qt4/demos/embeddedfiles.cpp | 2 -- qt4/demos/fonts.cpp | 2 -- qt4/demos/info.cpp | 2 -- qt4/demos/optcontent.cpp | 2 -- qt4/demos/permissions.cpp | 2 -- qt4/demos/toc.cpp | 2 -- 6 files changed, 12 deletions(-) commit e8d897581656ee4a20e9bb87dd999425663ace3b Author: Pino Toscano <pino@kde.org> Date: Wed Jun 3 02:54:29 2009 +0200 [Qt4 demo] simplier way to change page from the thumbnail view qt4/demos/pageview.cpp | 5 ----- qt4/demos/pageview.h | 3 --- qt4/demos/thumbnails.cpp | 2 +- qt4/demos/thumbnails.h | 3 --- qt4/demos/viewer.cpp | 1 - 5 files changed, 1 insertion(+), 13 deletions(-) commit f69a4fe47d3478cccbc03e4ac0929c7eada681c0 Author: Pino Toscano <pino@kde.org> Date: Wed Jun 3 01:24:21 2009 +0200 [Qt4 demo] Add a thumbnail dock widget Useful to show the embedded page thumbnails in the document, if any. Based on a patch by Shawn Rutledge <shawn.t.rutledge@gmail.com>, reworked by me to be a QListWidget showing the page items at their full size. qt4/demos/CMakeLists.txt | 1 + qt4/demos/thumbnails.cpp | 84 ++++++++++++++++++++++++++++++++++++++++++++++++ qt4/demos/thumbnails.h | 51 +++++++++++++++++++++++++++++ qt4/demos/viewer.cpp | 11 ++++++- 4 files changed, 146 insertions(+), 1 deletion(-) commit 2f24ac0f4bbd6de1c9f137110b3ac2bd3b23b0b9 Author: Shawn Rutledge <shawn.t.rutledge@gmail.com> Date: Wed Jun 3 01:22:31 2009 +0200 [Qt4 demo] add a public slot to set the current page qt4/demos/pageview.cpp | 5 +++++ qt4/demos/pageview.h | 3 +++ 2 files changed, 8 insertions(+) commit 1f1baf186f9e37606765e51ec5b9893ddfbfa893 Author: Shawn Rutledge <shawn.t.rutledge@gmail.com> Date: Wed Jun 3 01:19:16 2009 +0200 [Qt4] Add Page::thumbnail() This function can be used to get the embedded thumbnail of the page, present in the document. Reindented by me, and avoid a memory leak because of non-freed data. qt4/src/poppler-page.cc | 21 ++++++++++++++++++++- qt4/src/poppler-qt4.h | 11 +++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) commit 5cc24be1e9af0a27ab88ffa719bcabc2378868e4 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 3 00:05:54 2009 +0200 Remove unused variables poppler/SplashOutputDev.cc | 3 --- 1 file changed, 3 deletions(-) commit 45823bf8f4abacbbf257f6708264de074eda3cf4 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 3 00:02:54 2009 +0200 Make it compile :-/ poppler/SplashOutputDev.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit f5ae14907261a46c121f3ed7aea9d7ad9b9c55de Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 2 23:52:59 2009 +0200 Really fix the typo README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d4b1995cdd57db7cef3d88704850aaf66ed7fff Author: William Bader <williambader@hotmail.com> Date: Tue Jun 2 23:10:53 2009 +0200 Fix three typos in README README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 104f9286ceb5fcb5f4795bca7633029142d5f6a4 Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Tue Jun 2 22:59:42 2009 +0200 Support colorizing text in pattern colorspace This implements commits the final patches for bug 19670 and 19994 Also fixes bugs 15819 and 2807 Also implements blending for SPLASH_CMYK in Splash It's a quite big change but i've done regression testing over my whole pdf suite and did not fit anything that went worse, just improvements Missing the Cairo support CMakeLists.txt | 1 + poppler/Gfx.cc | 135 ++++++++++++--- poppler/Gfx.h | 7 + poppler/GfxState.cc | 58 +------ poppler/GfxState_helpers.h | 80 +++++++++ poppler/Makefile.am | 1 + poppler/OutputDev.h | 14 ++ poppler/PSOutputDev.cc | 285 +++++++++++++++++++------------- poppler/PSOutputDev.h | 18 ++ poppler/SplashOutputDev.cc | 404 ++++++++++++++++++++++++++++++++++++++------- poppler/SplashOutputDev.h | 19 +++ 11 files changed, 766 insertions(+), 256 deletions(-) commit d3e4563146cbff4cb507522783e60462461c7524 Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Sun May 31 23:23:07 2009 +0200 Set memory to 0 after allocation, fixes problems on Sun machines, should not hurt for others poppler/GfxState.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 78a58931b4347ecb505bad5a51104382ef5f91c7 Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Sun May 31 22:52:23 2009 +0200 Add splashClearColor that assigns white to the given colorptr splash/SplashTypes.h | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 47c26747b32c242ec8ac60e7b93150a67eb22e31 Author: Thomas Freitag <Thomas.Freitag@alfa.de> Date: Sun May 31 22:51:22 2009 +0200 Fix splashColorModeNComps to correctly include all values for each SplashColorMode splash/SplashState.cc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 41775d8c0b44bf591d8ff5ede7fad276e8fa9eef Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jun 1 15:24:24 2009 +0200 [glib-demo] Use poppler_annot_markup_has_popup() glib/demo/annots.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit f542c5294394e837298cb7e7d1d94bb336bfd09d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jun 1 15:24:04 2009 +0200 [glib] Add poppler_annot_markup_has_popup() glib/poppler-annot.cc | 20 ++++++++++++++++++++ glib/poppler-annot.h | 1 + 2 files changed, 21 insertions(+) commit af32d56af779edcc539b680e634755941d1bf45c Author: Petr Gajdos <pgajdos@novell.com> Date: Thu May 21 00:37:18 2009 +0200 Add the possibility of forcing no hinting of fonts poppler/ArthurOutputDev.cc | 2 ++ poppler/GlobalParams.cc | 20 ++++++++++++ poppler/GlobalParams.h | 4 +++ poppler/SplashOutputDev.cc | 2 ++ splash/SplashFTFont.cc | 76 +++++++++++++++++++++++++++----------------- splash/SplashFTFont.h | 2 ++ splash/SplashFTFontEngine.cc | 8 +++-- splash/SplashFTFontEngine.h | 6 ++-- splash/SplashFontEngine.cc | 4 ++- splash/SplashFontEngine.h | 2 ++ 10 files changed, 91 insertions(+), 35 deletions(-) commit 1a69d9638214943b3c2278f570694d9722a5de15 Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 20 23:58:44 2009 +0200 Do not create the GfxColorTransform if the lcms could not be created Fixes crash on pdf from bug 20108 poppler/GfxState.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 95246d39c1289111a4ba3eb2ffbec50d7702e5eb Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 20 23:20:20 2009 +0200 Check Mask entries are int before using them, also if they are real cast to int and try to use them Fixes bug #21841 poppler/Gfx.cc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 0c3517bfb4e1e1a28962f8d490ad69ec5766b6a1 Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 20 23:08:41 2009 +0200 Fix pdftops crash on file from KDE bug 174899 Still does not generate a correct ps file, but at least the program does not crash now fofi/FoFiTrueType.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 548c72600b8a5e076647041660ed5031feedc7cc Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 20 22:43:11 2009 +0200 Do not exit(1) on a pdf i have lying around PDF is 0f03b3539a436a9f18d7e4e29d410f89 6607907.pdf poppler/JBIG2Stream.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit f78d3a7ff5ef4b500d76d84ebc45aac3be162dab Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 18 20:44:40 2009 +0200 Move lcms.h include to GfxState.cc, replace lcms typedefs by void * poppler/GfxState.cc | 70 ++++++++++++++++++++++++++++++++++++++++++++++------- poppler/GfxState.h | 64 +++++++++++------------------------------------- 2 files changed, 75 insertions(+), 59 deletions(-) commit ec2467f9981b7e7c23d5dcd8eabf2e7c8cdf8930 Author: Albert Astals Cid <aacid@kde.org> Date: Sun May 17 20:00:53 2009 +0200 Use the lcms include dir CMakeLists.txt | 3 +++ poppler/Makefile.am | 2 ++ 2 files changed, 5 insertions(+) commit e0fcf7055af480498a81a000dcd9f977a783df66 Author: Albert Astals Cid <aacid@kde.org> Date: Sun May 17 12:07:05 2009 +0200 Use pkgconfig for autotools cms check configure.ac | 12 +++++++----- poppler/Makefile.am | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) commit 657734c19274ab281328cba9297eca45e48777aa Author: Albert Astals Cid <aacid@kde.org> Date: Sun May 17 12:06:47 2009 +0200 Better lcms check comming from kdelibs cmake/modules/FindLCMS.cmake | 95 +++++++++++++++++++++++++++++++++----------- 1 file changed, 71 insertions(+), 24 deletions(-) commit 0974b7b4bfe3f8cf3a1408741ddf01c667c28044 Author: Patrick Spendrin <ps_ml@gmx.de> Date: Thu May 14 16:15:22 2009 +0200 [Win32] Build fix for MSVC. poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d1c0e8a6c63361304cd453bb4c51e84a1aab7efa Author: Albert Astals Cid <aacid@kde.org> Date: Thu May 14 00:29:18 2009 +0200 Kill support for specifying extension in openTmpFile We don't use it and it would not work anyway, see bug #21713 goo/gfile.cc | 58 ++++++++++---------------------------------- goo/gfile.h | 3 ++- poppler/CairoFontEngine.cc | 6 ++--- splash/SplashFTFontEngine.cc | 3 ++- splash/SplashT1FontEngine.cc | 3 ++- splash/SplashT1FontFile.cc | 3 ++- 6 files changed, 24 insertions(+), 52 deletions(-) commit e237d8b5c2ae8805487a0790d9fb218263686712 Author: Pino Toscano <pino@kde.org> Date: Wed May 13 18:37:07 2009 +0200 [Qt4] we don't need an output device anymore (since long, even) for resolving destinations qt4/src/poppler-document.cc | 3 --- 1 file changed, 3 deletions(-) commit 9a2a851da93ef1a0c291fc9523a468e808ffd08e Author: Pino Toscano <pino@kde.org> Date: Wed May 13 18:19:11 2009 +0200 [Qt4] Do not try to resolve named destinations for GoTo links pointing to external documents. In such cases, the named destination is a destination in the external document, so we would try to look up a destination which is not in the current document (thus the look up is unuseful). It is task of the users of poppler-qt4 detect such situations, and resolve the named when necessary, using Document::linkDestination(QString). qt4/src/poppler-document.cc | 2 +- qt4/src/poppler-link.cc | 2 +- qt4/src/poppler-page.cc | 6 ++++-- qt4/src/poppler-private.cc | 4 ++-- qt4/src/poppler-private.h | 5 +++-- 5 files changed, 11 insertions(+), 8 deletions(-) commit 51f6cc26fc5fdccce1ba4d4816dec374ce85d67a Author: Pino Toscano <pino@kde.org> Date: Wed May 13 17:38:00 2009 +0200 [Qt4] start a (basic) unit test for links & destinations qt4/tests/CMakeLists.txt | 1 + qt4/tests/Makefile.am | 5 +++ qt4/tests/check_links.cpp | 96 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 102 insertions(+) commit 174f8087f5e09c5d1915de128b7a15acf47c1e13 Author: Pino Toscano <pino@kde.org> Date: Wed May 13 16:44:59 2009 +0200 [Qt4] set the destination name only when it is not resolved qt4/src/poppler-link.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit fb0cb2add9443992f166acdf744fbec875faaabf Author: Pino Toscano <pino@kde.org> Date: Tue May 12 01:53:43 2009 +0200 [Qt4] Add LinkDestination::destinationName() that returns the name of the current destination. qt4/src/poppler-link.cc | 10 ++++++++++ qt4/src/poppler-link.h | 7 +++++++ 2 files changed, 17 insertions(+) commit b8bd44f1302f7b6a6923d41c98ec74c118a5abb8 Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 11 20:49:34 2009 +0200 Poppler 0.11.0 aka 0.12 Alpha 1 CMakeLists.txt | 4 +- NEWS | 142 ++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- msvc/config.h | 6 +-- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- 6 files changed, 150 insertions(+), 8 deletions(-) commit 79bcedd5602729b959f21aed222445de621e7ecb Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon May 11 19:59:57 2009 +0200 Update copyright headers for previous patches poppler/ArthurOutputDev.cc | 1 + poppler/CairoOutputDev.cc | 2 +- poppler/Page.cc | 2 +- poppler/Stream.cc | 1 + poppler/Stream.h | 1 + utils/HtmlOutputDev.cc | 1 + utils/ImageOutputDev.cc | 1 + 7 files changed, 7 insertions(+), 2 deletions(-) commit f16e36df3a74e1adf14513a6340be2e8665f8d65 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun May 10 19:24:32 2009 +0200 Don't include popups annots with a parent in annots list poppler/Annot.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 5051ebed1477ff3f7721606f79d66d56a80c1145 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun May 10 19:10:51 2009 +0200 Make sure ImageStream::close() is called after ImageStream::reset() poppler/ArthurOutputDev.cc | 1 + poppler/CairoOutputDev.cc | 20 +++++++++++++++++--- poppler/Page.cc | 1 + poppler/Stream.cc | 4 ++++ poppler/Stream.h | 3 +++ utils/HtmlOutputDev.cc | 1 + utils/ImageOutputDev.cc | 1 + 7 files changed, 28 insertions(+), 3 deletions(-) commit 829ed964374676ddfa4a9048c940dc20a309ca47 Author: M Joonas Pihlaja <jpihlaja@cc.helsinki.fi> Date: Sun May 10 23:39:11 2009 +0200 Fix axial shading fix to ensure the painting passes by the four edges of the bbox When j and teoricalj are the same, just change the value of ta[] not the next[] ones poppler/Gfx.cc | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit 68d9644499676ed1553b2bfcdbfc9a5677c75345 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 9 22:25:12 2009 +0200 Hidden property depends on parent being hidden, not only yourself Fixes bug #16093 poppler/Gfx.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 810a71ea66f0e07d9849a5e9bf28911472482d1b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 8 09:36:31 2009 +0200 [glib] Add poppler_annot_markup_get_popup_rectangle glib/demo/annots.c | 8 ++++++++ glib/poppler-annot.cc | 35 +++++++++++++++++++++++++++++++++++ glib/poppler-annot.h | 2 ++ 3 files changed, 45 insertions(+) commit 5d328282da4713356fbe4283bd992ac2fc9010a2 Author: Albert Astals Cid <aacid@kde.org> Date: Thu May 7 23:11:55 2009 +0200 bitmap->h can be 0, move to _checkoverflow variant, code already knows how to deal with NULL splash/SplashFTFont.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5b0fb6f94d6d54b1b0c97762db61e2ab0dd07c85 Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 6 22:59:55 2009 +0200 Fix format printing poppler/JBIG2Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c21b08a254f42f53d4b59ad4fb308c7c68c32d15 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed May 6 15:56:21 2009 +0200 [glib] Several fixes in poppler_annot_get_color() PopplerColor is compatible with GdkColor where every component is in the range of 0 to 65535, we were returning values between 0 and 1 but converted to guint16. We were also showing a warning when AnnotColor::colorTransparent is used, but we decided to return a PopplerColor * to be able to represent transparent color returning NULL, so it's actually supported. glib/demo/annots.c | 25 +++++++++++-------------- glib/poppler-annot.cc | 36 +++++++++++++++++++++--------------- 2 files changed, 32 insertions(+), 29 deletions(-) commit 63cc40ec02498e1ec249d5f74e23f574c665872e Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 2 14:08:23 2009 +0200 Link pdftoabw to abiword libs Fixes bug #21520 utils/Makefile.am | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 70e06e9ae28d08bb7495a7f2eb03b0b5714a1e54 Author: Kouhei Sutou <kou@cozmixng.org> Date: Wed Apr 29 09:52:21 2009 +0900 PopplerAttachment refers its document. glib/poppler-attachment.cc | 41 +++++++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) commit 977a13f1091700bf7e7b31859e0e6632dc323462 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Apr 25 19:07:01 2009 +0200 [glib] Only create checksum string for valid checksums glib/poppler-attachment.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fb6e7141e3008ae230ae5819e2c7a0425296d8d2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Apr 24 10:13:53 2009 +0200 Update copyright headers glib/poppler-annot.cc | 1 + glib/poppler-annot.h | 1 + poppler/Annot.cc | 2 +- poppler/Annot.h | 2 +- poppler/DateInfo.cc | 1 + poppler/DateInfo.h | 1 + 6 files changed, 6 insertions(+), 2 deletions(-) commit fc7e52fef0317f9c85ead2c4f8a0e9b688decca3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Apr 24 09:53:41 2009 +0200 Fix typos in Annot::setContents() documentation poppler/Annot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df0032cf5f6e5dc44bad056c659180e4065d32e2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Apr 23 13:19:25 2009 +0200 Document Annot::setContents() method poppler/Annot.h | 2 ++ 1 file changed, 2 insertions(+) commit 86a37a8f3f93e3378b446f8d81d80571267c7660 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Apr 23 13:16:04 2009 +0200 Update the annotation last modified time when it's modified poppler/Annot.cc | 26 ++++++++++++++++---------- poppler/Annot.h | 7 ++++--- 2 files changed, 20 insertions(+), 13 deletions(-) commit 9662bfa2b4b2282d0fc29d2a327b62d8bde56ff2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Apr 23 13:13:07 2009 +0200 Add timeToDateString() to DateInfo This function converts a time_t into a string in PDF date format. configure.ac | 1 + poppler/DateInfo.cc | 47 +++++++++++++++++++++++++++++++++++++++++++++++ poppler/DateInfo.h | 7 +++++++ 3 files changed, 55 insertions(+) commit dc4cf0c29b53cda5c1c2badc5026af3429502e3a Author: Pino Toscano <pino@kde.org> Date: Tue Apr 21 21:51:52 2009 +0200 add poppler-date.{cc,h} glib/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) commit 0750c6502faeabff571f5730b567097e793dca64 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 21 20:04:27 2009 +0200 [glib-demo] Fix dates handling in annots demo glib/demo/annots.c | 69 +++++++++++------------------------------------------- 1 file changed, 14 insertions(+), 55 deletions(-) commit fe73bf9771e8294af4c8a11ec4c2891ff8f8d859 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 21 20:02:25 2009 +0200 [glib-demo] GTime is deprecated, use time_t instead glib/demo/utils.c | 2 +- glib/demo/utils.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 6d468cfa0cb89760e5d6cca43521cde6d99aa52e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 21 20:00:20 2009 +0200 [glib-demo] Use format_date from utils and remove duplicated code glib/demo/info.cc | 27 ++------------------------- 1 file changed, 2 insertions(+), 25 deletions(-) commit e5f5ea01d0da4c4d877b93755523dc2a7f2ec049 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 21 19:57:11 2009 +0200 [glib] Fix poppler_annot_markup_get_date() Date field in Markup annots is also a PDF format date string, so it should be parsed and the resulting time_t used to create a correct GDate. glib/poppler-annot.cc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 876ad1bcc8a7b2f37656bf15cee7eb888fd46ed4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 21 19:36:33 2009 +0200 [glib] Add info about the return value in poppler_annot_get_modified() doc glib/poppler-annot.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8c54a15e1715721ee7af7e82c90b8dda3689c65f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 21 19:35:14 2009 +0200 [glib] Fix a typo in poppler_date_parse documentation glib/poppler-date.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 39d09fa237d06fa93b02eb916d2c0242c4e8fe85 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 21 19:29:32 2009 +0200 [glib] Add poppler_date_parse to parse PDF format date strings We need to make this public because the field M in the Annot dictionary might be a Date string (in PDF date format) or a text string. According to the PDF spec: "The preferred format is a date string as described in Section 3.8.3, “Dates,” but viewer applications should be prepared to accept and display a string in any format". The only way to know whether it's a PDF date string or not, is by trying to parse it. For this reason poppler_annot_get_modified() returns a gchar * instead of a time_t. So, viewers should try to parse the string in order to convert it to a time_t, and if it fails to parse, use the date string as provided by the document. glib/Makefile.am | 2 ++ glib/poppler-attachment.cc | 4 +-- glib/poppler-date.cc | 66 ++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-date.h | 30 +++++++++++++++++++++ glib/poppler-document.cc | 45 ++++++------------------------- glib/poppler-private.h | 2 +- glib/poppler.h | 1 + 7 files changed, 110 insertions(+), 40 deletions(-) commit 9c2714a3e1c02f445661618e24bcd27f1392b2b7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 21 18:08:06 2009 +0200 [glib] Implement poppler_annot_set_contents() glib/poppler-annot.cc | 25 +++++++++++++++++++++++++ glib/poppler-annot.h | 2 ++ 2 files changed, 27 insertions(+) commit eec550e8b3cf96aefed9b03a78d365c2848fb8f2 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Apr 21 18:06:34 2009 +0200 Add setContents() to modify the annot contents poppler/Annot.cc | 26 +++++++++++++++++++++++++- poppler/Annot.h | 4 ++++ 2 files changed, 29 insertions(+), 1 deletion(-) commit 047a8870a8cea9b680080e0d3bf68d0685431233 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Apr 20 23:38:53 2009 +0200 In case of err3 or err2 in readPageTree we need to free kidRef too poppler/Catalog.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit cb61b555f2c4db8685dec5491ca86570c962aab6 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Apr 18 18:30:04 2009 +0200 Extend test-poppler-glib to show more page annotations and actions Based on path by Thomas Viehmann <tv@beamnet.de> glib/test-poppler-glib.cc | 68 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 2221b8a9ae5e986c79ea3f6c9f3b0246d328c7ab Author: Matthias Franz <matthias@ktug.or.kr> Date: Sun Apr 19 23:29:18 2009 +0200 Fix decryption using owner password on some pdf See bug #21270 poppler/Decrypt.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e20efbf6cc676758b8ef7d2ad607560fcdbbf89e Author: Peter Kerzum <kerzum@yandex-team.ru> Date: Fri Apr 17 22:14:26 2009 +0200 Fix typo in GfxFont.cc poppler/GfxFont.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit b760debea03380280d72cd39d792cbc1a380a87c Author: Albert Astals Cid <aacid@kde.org> Date: Fri Apr 17 21:04:26 2009 +0200 Fix rendering of axial shadings Fixes bug #19896 poppler/Gfx.cc | 102 +++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 62 insertions(+), 40 deletions(-) commit 9f1312f3d7dfa7e536606a7c7296b7c876b11c00 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Apr 16 22:13:26 2009 +0200 Fix problems that happen when parsing broken JBIG2 files Fixes CVE-2009-0799 xpdf OOB Read CVE-2009-0800 xpdf Multiple Input Validation Flaws CVE-2009-1179 xpdf Integer Overflow CVE-2009-1180 xpdf Invalid free() CVE-2009-1181 xpdf NULL dereference DoS CVE-2009-1182 xpdf MMR Decoder Buffer Overflows CVE-2009-1183 xpdf MMR Infinite Loop DoS Patch based on a patch by Derek Noonburg Some files still hit the exit(1) in goo.c but at least none is really crashing poppler/JBIG2Stream.cc | 447 +++++++++++++++++++++++++++++++++++-------------- poppler/JBIG2Stream.h | 4 + 2 files changed, 324 insertions(+), 127 deletions(-) commit 284a92899602daa4a7f429e61849e794569310b5 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Apr 13 21:51:12 2009 +0200 Did a mistake in the gmalloc -> gmallocn commit, it's a 4 here not a 3 poppler/SplashOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9cf2325fb22f812b31858e519411f57747d39bd8 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 11 00:31:57 2009 +0200 More gmalloc → gmallocn glib/poppler-page.cc | 2 +- splash/Splash.cc | 8 ++++---- splash/SplashBitmap.cc | 6 +++--- splash/SplashFTFont.cc | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) commit c399b2d512aa073b0d7cd8eb5413a4b43f0d6aef Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 11 00:26:23 2009 +0200 Revert part of last commit, i need more math classes :D poppler/JBIG2Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7b2d314a61fd0e12f47c62996cb49ec0d1ba747a Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 11 00:23:04 2009 +0200 Be paranoid, use gmallocn or gmallocn3 in all gmalloc with * poppler/ArthurOutputDev.cc | 4 ++-- poppler/CairoOutputDev.cc | 14 +++++++------- poppler/GfxState.cc | 8 ++++---- poppler/JBIG2Stream.cc | 4 ++-- poppler/PSOutputDev.cc | 6 +++--- poppler/SplashOutputDev.cc | 20 ++++++++++---------- 6 files changed, 28 insertions(+), 28 deletions(-) commit 0131f0a01cba8691d10a18de1137a4744988b346 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 11 00:20:55 2009 +0200 Add gmallocn3 that does the same as gmallocn but with 3 arguments goo/gmem.cc | 22 ++++++++++++++++++++++ goo/gmem.h | 2 ++ 2 files changed, 24 insertions(+) commit 75c3466ba2e4980802e80b939495981240261cd5 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Apr 10 18:05:54 2009 +0200 Make it compile in Solaris See bug #21080 poppler/CairoFontEngine.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 3210970dc1d6faf51bce59bb7ecb6b881f9c0fe6 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Apr 10 13:09:37 2009 +0200 [glib] Print annotations with the print flag enabled glib/poppler-page.cc | 2 ++ 1 file changed, 2 insertions(+) commit b0b9798c85c7c6d6f336f73135a98974897b9f60 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Mar 30 23:26:39 2009 +0200 Fix clip test for fonts Fixes bug 20950 I really don't remember why i put that -1 maybe i got mislead by SplashClip::testRect having a +1, but the idea of the +1 is correct because it's ints vs floats splash/SplashFTFont.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5c08f57aa80092954746d722bb13655aee3f162c Author: Albert Astals Cid <aacid@kde.org> Date: Sun Mar 29 23:52:31 2009 +0200 Forgot Ross copyright poppler/TextOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit c6d3e7884010ebdcc961d81ca8c692870fc9b139 Author: Ross Moore <ross@maths.mq.edu.au> Date: Sun Mar 29 23:46:09 2009 +0200 Fix extraction of some ActualText content Fixes bug #20013 poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4b3f7cbcb6ccdfa8b18d8da5f7074f4140b776a Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 25 22:16:07 2009 +0100 Fix getGlyphAdvance to behave correctly on font size changes Fixes bug #20769 splash/SplashFTFont.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 4acde05ac4d0b03466c949138321cc3445a14158 Author: Eric Toombs <ewtoombs@uwaterloo.ca> Date: Wed Mar 25 21:11:03 2009 +0100 Remove case-insensitive matching of filenames in PDFDoc constructor poppler/PDFDoc.cc | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) commit 120c7f6697ed1edaff6e17ae1ed202c69f03a73c Author: Pino Toscano <pino@kde.org> Date: Tue Mar 24 22:56:33 2009 +0100 declare the matrix at the beginning poppler/ArthurOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 441a9cd56935bfe2d8fddc5d3bc2c0104aeffaca Author: Eric Toombs <ewtoombs@uwaterloo.ca> Date: Sun Mar 22 22:50:14 2009 +0100 Improved error reporting of ErrOpenFile errors See bug #20660 for more information glib/poppler-document.cc | 14 ++++++++++--- poppler/PDFDoc.cc | 54 ++++++++++++++++++++++++++++-------------------- poppler/PDFDoc.h | 8 +++++++ 3 files changed, 51 insertions(+), 25 deletions(-) commit 16af0ced4a0762f2f538135bd8dd72b469f6fdca Author: Michael K. Johnson <a1237@danlj.org> Date: Sat Mar 21 16:14:06 2009 +0100 Support rendering non-square pixels in pdftoppm Bug #20702 utils/pdftoppm.1 | 16 ++++++++++++++-- utils/pdftoppm.cc | 37 ++++++++++++++++++++++++++++++++----- 2 files changed, 46 insertions(+), 7 deletions(-) commit a103c60abd5fe4c721b099c005daf22d6350c355 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 21 15:47:12 2009 +0100 Update version we need of Qt4 CMakeLists.txt | 2 +- configure.ac | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit c4b1754fdd3a4649551556de2655c8291daafddf Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 21 13:29:38 2009 +0100 Bump cairo dependency to 1.8.4 Cairo 1.8.4 fixes and important bug that affects the Type 3 font rendering CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 50c4ee413929e5a70133839e3cde039da738fab2 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 18 22:00:05 2009 +0100 Add more _checkoverflow variants, rework internals goo/gmem.cc | 92 ++++++++++++++++++++++++++++++------------------------------- goo/gmem.h | 4 ++- 2 files changed, 48 insertions(+), 48 deletions(-) commit 121c44db0884f0d70ba1470a66aa78441257c421 Author: Adrian Johnson <ajohnson@redneon.com> Date: Fri Mar 20 23:25:19 2009 +1030 Fix cairo luminosity smask when cairo ctm != identity poppler/CairoOutputDev.cc | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 3f55aff56a1d2002ba79f3efba5eb77e94575439 Author: Adrian Johnson <ajohnson@redneon.com> Date: Thu Mar 19 22:34:23 2009 +1030 Fix bug in cairo backend with nested masks The previous smask was not restored after a q/Q pair or form xobject. poppler/CairoOutputDev.cc | 18 +++++++++++++++++- poppler/CairoOutputDev.h | 5 +++++ 2 files changed, 22 insertions(+), 1 deletion(-) commit 4cc3cb8992ac554352d68e97563823b9bbd556ce Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Mar 20 12:38:28 2009 +0100 Bump cairo dependency to 1.8.4 Cairo 1.8.4 fixes and important bug that affects the Type 3 font rendering configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit da94fe717a1ab60fb074fae61d582d1ee7151fc2 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Mar 16 22:54:27 2009 +0100 Fix parsing of border arrays Fixes 19761 poppler/Annot.cc | 54 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 36 insertions(+), 18 deletions(-) commit 8df0323f1ca4548a5d5824ece8736b356ce7ca42 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 12 00:09:03 2009 +0100 Really fix jpeg lib init order? poppler/DCTStream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 12aac6774fc6f92def3d5567051117951cc32223 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 11 23:00:37 2009 +0100 fontCIDType2OT fonts can also have a CIDToGIDMap Fixes bug #20605 poppler/GfxFont.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0ca9ae2848808d15e7a2b00f5eb33bb8f990c887 Author: Vincent Torri <vtorri@univ-evry.fr> Date: Wed Mar 11 00:39:59 2009 +0100 remove the fortran check during the initialisation of libtool configure.ac | 1 + 1 file changed, 1 insertion(+) commit 710e329a3a6a9ee2eed997c9eeaea21c44237423 Author: Vincent Torri <vtorri@univ-evry.fr> Date: Wed Mar 11 00:37:11 2009 +0100 Add AC_CONFIG_MACRO_DIR([m4]) It is used by autoreconf to trace changes in m4 macros that are in the m4/ subdirectory. configure.ac | 1 + 1 file changed, 1 insertion(+) commit d15e47158ae31909212d3875159046afb208de97 Author: Vincent Torri <vtorri@univ-evry.fr> Date: Wed Mar 11 00:36:27 2009 +0100 Better check for pkg-config configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit b3f569f9a6c117c097acac52ae6552209fcd2101 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 11 00:25:07 2009 +0100 Check there is an optional content config before using it Fixes bug #20587 poppler/Gfx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7a5d1e57b2757c986da17f7238415b927e73127f Author: Brian Ewins <Brian.Ewins@gmail.com> Date: Mon Mar 9 22:54:58 2009 +0100 Check for pkgconfig before using it At the moment if pkgconfig is not installed, an unhelpful syntax error appears when testing for freetype. Identify the problem earlier on configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) commit 8dc9e4d57a4759de2b56a87d9bace80d5d563fef Author: Marc Kleine-Budde <mkl@pengutronix.de> Date: Sun Mar 8 15:29:02 2009 +0100 use AC_CHECK_HEADER to find headers The original m4/libjpeg.m4 used AC_FIND_FILE to look for jpeg header file. This test is not cross-compiling save. This patch uses the autoconf function AC_CHECK_HEADER to look for the jpeg header, which works in the native and the cross compiling scenaria. Bug #20538 m4/libjpeg.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit bf2e2f056cadbc488cd3e9576b44beb34689ec81 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Mar 8 13:44:44 2009 +0100 Add the new croptting options explanations utils/pdftotext.1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 663d9e5a448641421d290dd228be692a0f236b9c Author: Jan Jockusch <jan@jockusch.de> Date: Sun Mar 8 13:44:20 2009 +0100 Make pdftotext to accept cropping options like pdftoppm Bug #20331 utils/pdftotext.cc | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) commit cc4b61f19b69c31d9a73ae7361c4b6a94345d1c2 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Mar 8 12:55:45 2009 +0100 Fix the previous fix I should stop listening to people without checking that what they say is correct poppler/DCTStream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a4a73cd9f9ee9767d74fbb44ffe083d2057a9d61 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Mar 8 12:44:06 2009 +0100 I should compile before commiting :-/ poppler/DCTStream.cc | 1 - 1 file changed, 1 deletion(-) commit 6a6b3cc91053e771a67dffa979076d130f87ff11 Author: Ryszard Trojnacki <rysiek@menel.com> Date: Sun Mar 8 12:38:42 2009 +0100 set up the error-manager before calling jpeg_create_decompress Bug #20484 poppler/DCTStream.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 4dfa7460ddc4b5684d5ef8db17efa50b95b7b735 Author: Nick Jones <nick.jones@network-box.com> Date: Tue Mar 3 00:55:53 2009 +0100 Do not blindly follow loops parsing OutlineItem More details in bug 18364 poppler/Outline.cc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit de3131ae38fc9442b198d4d7b0c57c6939ad66ce Author: Pino Toscano <pino@kde.org> Date: Mon Mar 2 15:20:07 2009 +0100 [Qt4] adapt to the new PDFDoc saving API store the error code instead of the bool qt4/src/poppler-pdf-converter.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit dac0542eb793603090416f1b7712ca08253f1e7f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 2 09:54:22 2009 +0100 [glib] Correctly handle doc->saveAs() error code. Fixes bug #19915. glib/poppler-document.cc | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) commit bfc6572614727565d883b9545d4b6665f3c2fdfe Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 28 13:16:49 2009 +0100 Return an error code instead of a GBool when saving poppler/PDFDoc.cc | 22 +++++++++++----------- poppler/PDFDoc.h | 8 ++++---- 2 files changed, 15 insertions(+), 15 deletions(-) commit f7c88148fdb671736d81dd5f01a3fb68f944510c Author: Koji Otani <sho@bbr.jp> Date: Wed Feb 25 23:38:35 2009 +0100 Fix cache shifting poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 305af8cdb6822858e152e1f930bba2ce3904bf1b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 25 22:40:24 2009 +0100 Make JBIG2Stream not crash in 2009-41414141.pdf poppler/JBIG2Stream.cc | 151 ++++++++++++++++++++++++++++--------------------- 1 file changed, 85 insertions(+), 66 deletions(-) commit 26a8217160c1eaeeadb92023b27e68f402e38dd0 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 22 18:14:15 2009 +0100 Check if cairo_shape is not NULL before using it. We were checking shape instead. It fixes a crash with some documents. See bug #17337. poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e68e52da65b4d8c3817e5fbb6f1a937da321d48 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 21 18:03:15 2009 +0100 [Qt4] do not assume the destination file name for links is ASCII qt4/src/poppler-page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 439cb397fed33df627a09c70788d72bef20dc872 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 21 18:02:36 2009 +0100 [Qt] do not assume the destination file name for links is ASCII qt/poppler-page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3ea5f45ad3e5a55e577a2e45f61b55932ed17013 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 21 17:46:30 2009 +0100 [glib] Make sure filename is valid utf-8 for remote dests glib/poppler-action.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit b5989e4ffece6c1831610ee163d05fd80386a001 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 21 17:45:18 2009 +0100 Use the UF entry when present in Filespec dictionary poppler/FileSpec.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 943fca42b5fa815fad650e42da4ad6e806adc3b1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 21 12:08:00 2009 +0100 [glib] Add a macro to define boxed types glib/poppler-action.cc | 26 +------------ glib/poppler-annot.cc | 15 ++------ glib/poppler-document.cc | 44 +++++---------------- glib/poppler-page.cc | 99 ++++++++++-------------------------------------- glib/poppler-private.h | 20 ++++++++++ 5 files changed, 53 insertions(+), 151 deletions(-) commit 7406337ed2d38a86308f20f8273a152538e524de Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 21 11:11:20 2009 +0100 [glib] Use template files to create poppler-enums glib/Makefile.am | 43 +++++++++++++----------------------------- glib/poppler-enums.c.template | 44 +++++++++++++++++++++++++++++++++++++++++++ glib/poppler-enums.h.template | 25 ++++++++++++++++++++++++ 3 files changed, 82 insertions(+), 30 deletions(-) commit 29bc9d1dd115b5d400975533c3924993c3adae30 Author: Thomas Viehmann <tv@beamnet.de> Date: Sat Jan 17 13:16:38 2009 +0100 glib small doc comment corrections glib/poppler-attachment.cc | 2 +- glib/poppler-layer.cc | 2 ++ glib/poppler.cc | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) commit a06e715d89a99b909b8e7b73b733066c67b1ade3 Author: Thomas Viehmann <tv@beamnet.de> Date: Sat Jan 17 12:58:20 2009 +0100 Make glib API reference more complete glib/reference/poppler-docs.sgml | 2 + glib/reference/poppler-sections.txt | 55 +++++ glib/reference/tmpl/poppler-action.sgml | 9 +- glib/reference/tmpl/poppler-annot.sgml | 368 ++++++++++++++++++++++++++++++++ glib/reference/tmpl/poppler-layer.sgml | 79 +++++++ 5 files changed, 511 insertions(+), 2 deletions(-) commit 3a21dafa46d42d86daec440a85b9d63b292a3c88 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Feb 3 21:33:00 2009 +0100 Fix cache shifting If we do for (i = 0;i < GFX_ICCBASED_CACHE_SIZE-1 && cache[i].num > 0;i++) { cache[i+1] = cache[i]; what we do at the end is copy position 0 to all others so we need to do it in the reverse order poppler/GfxState.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 0ed3fd52bb2d3375ed302285b18f076721b8028e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 1 10:37:25 2009 +0100 [glib-demo] Fix a typo in format string glib/demo/page.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2df6d530cd9acd8648a6196031218ef10e7b3891 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 29 00:51:13 2009 +0100 Add line that for some reason was not imported from xpdf file Fixes bug 19789 utils/ImageOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1fc342eadcbbb41302f190b215c5daf23c9ec9b1 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 28 22:53:43 2009 +0100 Fix crash on unexepcted Form Opt value Fixes crash on bug 19790 poppler/Form.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b1d4efb082ac3dadd7752a557e5aeb6651e17471 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 27 00:26:08 2009 +0100 PostScriptFunction::transform optimization Do not create and destroy a PSStack each time PostScriptFunction::transform is called gives a 7% speedup on heavy PostScriptFunction::transform pdf like nytimes firefox ad poppler/Function.cc | 12 ++++++++---- poppler/Function.h | 15 +++++++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) commit 90f95127d8d89cfcadeb7d701437ab07ce4a8a61 Author: Koji Otani <sho@bbr.jp> Date: Sun Jan 25 23:17:39 2009 +0100 Cache last 5 GfxICCBasedColorSpace poppler/GfxState.cc | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/GfxState.h | 15 ++++++++++++++ 2 files changed, 75 insertions(+) commit d3f04f537fb3e963c149a7e2d8d83c7cb19da8c0 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jan 23 23:08:46 2009 +0100 Do not crash in some PDF we don't parse correctly Fixes bug 19702 poppler/JBIG2Stream.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 3990c9e52da7b17215506857c792c90a37ebac79 Author: Koji Otani <sho@bbr.jp> Date: Mon Jan 19 09:53:00 2009 +0100 Fix a problem in cairo backend when using a CMYK Profile poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e51ae7fe8b9dc8ad52b735f2fe056f8ea8f1dcb Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 15 22:33:04 2009 +0100 calculate the limit in a way that one does not access an invalid index of the matrix poppler/DCTStream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ea2aa7bd1ceb0e3282398f52683e4f52ef401f74 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 15 22:18:48 2009 +0100 Forgot my copyrights poppler/DCTStream.cc | 2 +- poppler/DCTStream.h | 2 +- poppler/Stream.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit d65dd23752ec14635d0d224afa7dd605f98a10a4 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 15 22:17:14 2009 +0100 Minor optimizations poppler/DCTStream.cc | 17 ++++++++--------- poppler/DCTStream.h | 3 ++- poppler/Stream.cc | 3 ++- 3 files changed, 12 insertions(+), 11 deletions(-) commit d3d2910f757dfc3e141aed62aa970136f9d7186f Author: Pino Toscano <pino@kde.org> Date: Sun Jan 11 00:40:46 2009 +0100 fix a (relatively small) memory leak when asking for a document-level JS poppler/Catalog.cc | 1 + 1 file changed, 1 insertion(+) commit 869584a84eed507775ff1c3183fe484c14b6f77b Author: Jonathan Kew <jonathan_kew@sil.org> Date: Sat Jan 10 18:28:47 2009 +0100 Add the possibility of setting the datadir on runtime poppler/GlobalParams.cc | 27 ++++++++++++++++++++------- poppler/GlobalParams.h | 5 ++++- 2 files changed, 24 insertions(+), 8 deletions(-) commit cf112dceb1d6653beae73ce2fac6fb5eee48ff33 Author: Koji Otani <sho@bbr.jp> Date: Sat Jan 10 18:11:20 2009 +0100 Fix some problems with color management in CMYK Color Profile. Fixes bug 19483 poppler/GfxState.cc | 106 ++++++++++++++++++++++++++-------------------------- 1 file changed, 53 insertions(+), 53 deletions(-) commit 6dd77338d16f80760ae32ff9f3e2be9768fc0c49 Author: Pino Toscano <pino@kde.org> Date: Thu Jan 8 11:49:45 2009 +0100 [Qt4] use the cropbox for the annotations coordinates Fixes bug #18558. qt4/src/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 69c07c031159d36dde52609bffa6d48c3c56cef5 Author: Pino Toscano <pino@kde.org> Date: Thu Jan 8 00:59:19 2009 +0100 update Poppler copyright to 2009 msvc/poppler/poppler-config.h | 2 +- poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 79e0eea85cf063c6323caafbec97f3d71fc04ca2 Author: Pino Toscano <pino@kde.org> Date: Thu Jan 8 00:57:03 2009 +0100 remove old cmake modules, add a new one Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0e6420ece2d6fcc046d5814b48a2754fb86771e2 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 7 23:33:02 2009 +0100 Require cmake 2.6.0, remove two cmake files provided upstream CMakeLists.txt | 4 +- cmake/modules/FindFreetype.cmake | 74 ----------------------- cmake/modules/FindPackageHandleStandardArgs.cmake | 58 ------------------ glib/CMakeLists.txt | 2 +- 4 files changed, 3 insertions(+), 135 deletions(-) commit a69add73bf7bef17c677c735db77934ba67188a5 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 7 19:06:13 2009 +0100 Update copyright notices poppler/FontInfo.cc | 1 + poppler/FontInfo.h | 1 + qt4/src/poppler-document.cc | 2 +- qt4/src/poppler-fontinfo.cc | 2 +- qt4/src/poppler-form.cc | 1 + qt4/src/poppler-form.h | 1 + qt4/src/poppler-private.h | 2 +- qt4/src/poppler-qt4.h | 2 +- 8 files changed, 8 insertions(+), 4 deletions(-) commit 18d584158a781fecb4f696b01fb4d17803ce7d7a Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 7 17:55:48 2009 +0100 Add lcms option to cmake buildsystem CMakeLists.txt | 9 +++++++++ cmake/modules/FindLCMS.cmake | 37 +++++++++++++++++++++++++++++++++++++ config.h.cmake | 3 +++ 3 files changed, 49 insertions(+) commit 140b8ed97416f9c2ec02eb749ca45ca50bd651a8 Author: Koji Otani <sho@bbr.jp> Date: Wed Jan 7 17:43:44 2009 +0100 Add initial support for color management configure.ac | 19 ++ poppler/GfxState.cc | 697 ++++++++++++++++++++++++++++++++++++++++++++++++---- poppler/GfxState.h | 74 +++++- poppler/Makefile.am | 5 + 4 files changed, 738 insertions(+), 57 deletions(-) commit bdc76dc811a6e4d5fd929bbdc8cd3300aeaea31f Author: Pino Toscano <pino@kde.org> Date: Tue Jan 6 15:45:37 2009 +0100 [Qt4] apidox improvements for the font functions of Document; mark scanForFonts() as deprecated qt4/src/poppler-qt4.h | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 6630e715714161cd803fc064f5d3cf880f42b0a5 Author: Pino Toscano <pino@kde.org> Date: Tue Jan 6 15:36:19 2009 +0100 tell Doxygen to consider Q_DECL_DEPRECATED as empty qt4/src/Doxyfile | 1 + 1 file changed, 1 insertion(+) commit d748d430b106580b8be29ca3ec75caf05b55812e Author: Pino Toscano <pino@kde.org> Date: Tue Jan 6 15:24:25 2009 +0100 [Qt4] Add a FontIterator for iterating through the fonts of the document, page by page. This new iterator class is the new preferred way for getting the fonts of a document in a page-by-page mode. * Document::fonts() is adapted to use it, instead of relying on scanForFonts() * scanForFonts() is ported to FontIterator, but keeping the old behaviour ("i can scan the document only once") * added unit tests for fonts(), scanForFonts() and FontIterator qt4/src/poppler-document.cc | 27 +++++--- qt4/src/poppler-fontinfo.cc | 36 +++++++++++ qt4/src/poppler-private.h | 27 ++++++-- qt4/src/poppler-qt4.h | 65 +++++++++++++++++++ qt4/tests/check_fonts.cpp | 149 ++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 291 insertions(+), 13 deletions(-) commit b9804542bb50216786dc11ca16efd84304f4b832 Author: Pino Toscano <pino@kde.org> Date: Tue Jan 6 15:16:53 2009 +0100 Add the possibility to set the first page to scan. The default value is 0 (= first page), so it should be compatible with any usage so far. poppler/FontInfo.cc | 4 ++-- poppler/FontInfo.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit af74fef03bfbd79334da5612c63c7793952542f9 Author: Warren Toomey <poppler@tuhs.org> Date: Tue Jan 6 01:36:31 2009 +0100 Add forgotten file to let the autotools based system build m4/libpng.m4 | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) commit ae588500f62bab5666174ff3b1564c414c5a76c5 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 6 01:35:38 2009 +0100 Fix the cmake buildsystem CMakeLists.txt | 6 ++++++ config.h.cmake | 3 +++ utils/CMakeLists.txt | 4 ++++ 3 files changed, 13 insertions(+) commit 940d060a14712c09da427e2fac4ec579f7291b0f Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 6 01:27:06 2009 +0100 do not leak fName if fopen fails utils/HtmlOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit 7be9198adb940ad7c5fffc6db0158cf7042e1b8f Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 6 01:24:15 2009 +0100 Do not leak pgNum and imgnum if fopen fails utils/HtmlOutputDev.cc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit dfba6c022b150553cb2b18b027e661b3b4625ce7 Author: Warren Toomey <poppler@tuhs.org> Date: Tue Jan 6 01:16:31 2009 +0100 Make pdftohtml output png images when the image stream is not a jpeg configure.ac | 14 ++++++ utils/HtmlOutputDev.cc | 126 ++++++++++++++++++++++++++++++++++++++++++++++--- utils/HtmlOutputDev.h | 3 +- utils/Makefile.am | 4 ++ 4 files changed, 140 insertions(+), 7 deletions(-) commit 0963c276ba972a36c2895e4fe1c7475acd489738 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 4 16:54:32 2009 +0100 Fix some checked checkboxes not rendering correctly If we are forcing ZaDb/ZapfDingbats to correctly draw a checkmark in the checkbox, but the file does not have such font defined we need to create a fake one so the system really renders it Fixes bug 19359 poppler/Annot.cc | 49 +++++++++++++++++++++++++++++++++++++++++++++++-- poppler/Annot.h | 2 ++ poppler/Gfx.h | 7 ++++--- 3 files changed, 53 insertions(+), 5 deletions(-) commit 46128cf83b322c112eb0c409c20052bdb2ea4a37 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 4 14:21:15 2009 +0100 Remove wrong and unused FormWidget(FormWidget *dest) contructor poppler/Form.cc | 11 ----------- poppler/Form.h | 3 +-- 2 files changed, 1 insertion(+), 13 deletions(-) commit 5203aefc41fa47c461812cc46f28281edd226515 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 4 14:03:16 2009 +0100 Plug some memory leaks poppler/Annot.cc | 5 ++++- poppler/Form.cc | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) commit 5fb7ec7e6af4cfb2b256a5b9b9752e68330b4aec Author: Albert Astals Cid <aacid@kde.org> Date: Tue Dec 30 23:46:59 2008 +0100 If Length2 is zero just write until we find EOF of the stream Fixes exporting to PS of the two pdf i have that have fonts with Length2 set to 0 poppler/PSOutputDev.cc | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) commit ca35fdbc7c31dae432d775b6c087a83fa9b897fc Author: Albert Astals Cid <aacid@kde.org> Date: Tue Dec 30 23:03:57 2008 +0100 We need spaces here too to satify other consumer parsers poppler/PDFDoc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3c07c73e07a9cb59ee4c23ca60d2adce92de45f7 Author: Pino Toscano <pino@kde.org> Date: Tue Dec 30 22:21:27 2008 +0100 [Qt4-demo] load a document when passed via command line qt4/demos/main_viewer.cpp | 4 ++++ 1 file changed, 4 insertions(+) commit aba0aaa896d634a51fbb3a3e6eae411be462f930 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 29 00:31:18 2008 +0100 More improvements in document writing Dictionary keys are names so need to be sanitized Add a space after num gen obj poppler/PDFDoc.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit e5b93a847ae4e20a77fecef0938da4f14dfbe3eb Author: Hib Eris <hib@hiberis.nl> Date: Sun Dec 28 22:59:14 2008 +0100 Let compiler figure out CDECL CDECL is a compiler specific macro to specify C calling convention. On Windows, some functions must be forced to use this calling convention. To do this, you can use the macro CDECL, which is defined in windef.h. Poppler should not try to be smarter than the compiler and try to guess the correct definition for CDECL. Instead it should rely on the definitions in the windef.h file provided by the compiler. On Unix, specifying a calling convention is not nescessary, so CDECL can be an empty definition. poppler-config.h.cmake | 8 ++------ poppler/poppler-config.h.in | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) commit de70c0aeb37d788f595b0574796844f51ddedec1 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 28 21:21:12 2008 +0100 [qt4] improve doc a bit qt4/src/poppler-form.h | 2 +- qt4/src/poppler-qt4.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit effb32658019e09dc86c017e39154fd554fc94f8 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 28 02:56:30 2008 +0100 Form Rects are against the cropbox, not the media box Fixes second pdf at kde bug 161327 qt4/src/poppler-form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0f10561f3b1c90acc030d973399316bfca5f495e Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 28 01:44:25 2008 +0100 Fix my last commit, copy&paste is really evil goo/GooString.cc | 9 +++++---- goo/GooString.h | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) commit 217b46484ff56bfd5906b293ebee70b82cc0263d Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 28 01:29:41 2008 +0100 Move PSOutputDev::filterPSName to GooString::sanitizedName so i can use it from PDFDoc::writeObject goo/GooString.cc | 36 ++++++++++++++++++++++++++++++++++++ goo/GooString.h | 7 +++++++ poppler/PDFDoc.cc | 7 ++++++- poppler/PSOutputDev.cc | 49 +++++++++---------------------------------------- poppler/PSOutputDev.h | 3 +-- 5 files changed, 59 insertions(+), 43 deletions(-) commit f41fa9ee71aef5539cf9976c79b32bf1713c8167 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 26 22:56:12 2008 +0100 Change the overflow check to the same used in gmem.cc, much more easy to understand poppler/XRef.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit b8ae7d91dedc9a75200b6050628ec2740af84b98 Author: Hib Eris <hib@hiberis.nl> Date: Fri Dec 26 22:28:09 2008 +0100 Fix compile warnings on auto imports for mingw32 configure.ac | 3 +++ glib/Makefile.am | 2 +- glib/demo/Makefile.am | 2 ++ test/Makefile.am | 2 ++ utils/Makefile.am | 2 ++ 5 files changed, 10 insertions(+), 1 deletion(-) commit ba47bd2ba05f883306606eda30bff17bd4a8eec6 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 26 19:47:42 2008 +0100 BaseFile.h has never been used and it fact it's not part of xpdf sources Fixes bug 19298 CMakeLists.txt | 1 - poppler/BaseFile.h | 82 ----------------------------------------------------- poppler/Makefile.am | 1 - 3 files changed, 84 deletions(-) commit 84366d9e63b0d6a5ee1aae2463648cfc2ff5e1b8 Author: Hib Eris <hib@hiberis.nl> Date: Wed Dec 24 19:27:19 2008 +0100 Let libtool build DLLs on windows too configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 08cef528f2e51cc62cff4125f179021ad9555317 Author: Hib Eris <hib@hiberis.nl> Date: Wed Dec 24 17:48:46 2008 +0100 Fix compile warning on string literal format test/pdf-inspector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0606b4bba8e889204c7b7c9d376f63b659f83a4f Author: Hib Eris <hib@hiberis.nl> Date: Wed Dec 24 17:48:10 2008 +0100 Fix compile warnings on parentheses and/or poppler/CairoOutputDev.cc | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit eba2232cabd5fb1e177db2a6053f0d1a0aee882b Author: Hib Eris <hib@hiberis.nl> Date: Wed Dec 24 17:46:32 2008 +0100 Fix some more warnings test/gtk-cairo-test.cc | 11 ----------- test/pdf-inspector.cc | 9 +++++---- 2 files changed, 5 insertions(+), 15 deletions(-) commit c80431eb1626d89e7b615e5a5149d3436b554b66 Author: Hib Eris <hib@hiberis.nl> Date: Mon Dec 22 09:28:47 2008 +0100 Fix compile warning on format type glib/test-poppler-glib.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fda181c35b7c7500b6d3c6ca9d454addd54929c5 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 22 00:53:44 2008 +0100 group condition within brackets poppler/ArthurOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c1beeecbd6cbf82811d70c75cb24059b4b492abe Author: Pino Toscano <pino@kde.org> Date: Mon Dec 22 00:46:49 2008 +0100 [demo] use the proper format field for gsize types glib/demo/attachments.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bfb975466f0ff78e9e292b6af7cac66e4c331456 Merge: 3e27892 ea3546f Author: Pino Toscano <pino@kde.org> Date: Mon Dec 22 00:29:38 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 3e2789257f5fc4ae0573a0c62ea380d8e83a5bb5 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 22 00:24:23 2008 +0100 [Qt] deserialize also the value of 'right' qt/poppler-link.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 7c053ab7623cea1ac650d3e960d2d91a1ef21557 Author: Pino Toscano <pino@kde.org> Date: Mon Dec 22 00:19:02 2008 +0100 [Qt] move in a .cc file the implementation of the QString<->GooString functions and DocumentData::addTocChildren() qt/CMakeLists.txt | 1 + qt/Makefile.am | 1 + qt/poppler-document.cc | 10 ---- qt/poppler-page.cc | 1 + qt/poppler-private.cc | 147 +++++++++++++++++++++++++++++++++++++++++++++++++ qt/poppler-private.h | 106 +++-------------------------------- 6 files changed, 157 insertions(+), 109 deletions(-) commit ea3546f84c5335c58cdb2906b1a1a4656be9c8ea Author: Hib Eris <hib@hiberis.nl> Date: Sun Dec 21 23:33:49 2008 +0100 Fix compile warnings on signed/unsigned comparison goo/gfile.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ca672ae51d2c1fa59a891717b418ba86b5e7345c Author: Hib Eris <hib@hiberis.nl> Date: Sun Dec 21 23:33:00 2008 +0100 Fix compile warnings on ignored pragma with mingw compiler poppler/Gfx.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 86cfe8ab2b4e0b600f3f6682701c2fcfbe5d0ca9 Author: Hib Eris <hib@hiberis.nl> Date: Sun Dec 21 23:08:56 2008 +0100 Fix compile warnings on signed/unsigned comparison poppler/GfxFont.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit e34af7ffe0a4024e2eb39314bdb09eb9a662e53e Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 21 22:16:39 2008 +0100 Update copyright of last commits poppler/TextOutputDev.cc | 1 + poppler/TextOutputDev.h | 2 +- qt4/src/poppler-page.cc | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit f6d84dcfc9cc587c7408af79b1ee7658d456f8d8 Author: Hib Eris <hib@hiberis.nl> Date: Sun Dec 21 22:09:00 2008 +0100 Fix compile warning to suggest parentheses and/or poppler/TextOutputDev.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 15205403eaa95d6fba0e36983de993877dd3a983 Author: Hib Eris <hib@hiberis.nl> Date: Sun Dec 21 21:59:45 2008 +0100 Fix warning to suggest parentheses inside shift poppler/PSOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit cc24f37e582bfc0069faf286da97a48fe4794db1 Author: Hib Eris <hib@hiberis.nl> Date: Sun Dec 21 21:35:29 2008 +0100 Fix compile warning on ambiguous else test/perf-test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a8cc4ad8c2da804f25db8cca1c85433d5a63307c Author: Hib Eris <hib@hiberis.nl> Date: Sun Dec 21 21:34:28 2008 +0100 Fix compile warning on format not a string literal test/perf-test.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3cbbf8226730aa7ee6273e154e4a9d58670a3cda Author: Hib Eris <hib@hiberis.nl> Date: Sun Dec 21 21:30:54 2008 +0100 Fix compile warning about uninitialized variable poppler/ABWOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f675916277cb76cd1293225a1271f835a02148fb Author: Pino Toscano <pino@kde.org> Date: Sat Dec 20 23:23:10 2008 +0100 reset to NULL after being deleted found with poppler-qt4 unit tests =) poppler/TextOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit c976770c64e4c991fff27e413414473583b6fd86 Author: Pino Toscano <pino@kde.org> Date: Sat Dec 20 22:25:55 2008 +0100 [Qt4] use QHash instead of QMap where applicable using a hash table instead of a map mapes lookup faster; in these cases we don't need the sorting a map gives qt4/src/poppler-page.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 944f6049a50eb3be9fb29174d67adc4ad1d0b9fe Author: Pino Toscano <pino@kde.org> Date: Sat Dec 20 20:13:43 2008 +0100 add find.c and text.c glib/demo/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) commit ba91b889c3b50239e339938f3c9d31fffcd87d44 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Dec 20 19:29:40 2008 +0100 Make destructor private in TextPage poppler/TextOutputDev.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0da16537aa83f6ed6d8895c7e54266263a71c1cf Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Dec 19 19:08:21 2008 +0100 Refactor actual text code adding a new ActualText class It's used by both Text and Cairo ouput devices avoiding duplicated code in such classes. poppler/CairoOutputDev.cc | 108 +++--------------------- poppler/CairoOutputDev.h | 7 +- poppler/TextOutputDev.cc | 206 ++++++++++++++++++++++++++-------------------- poppler/TextOutputDev.h | 34 ++++++-- 4 files changed, 160 insertions(+), 195 deletions(-) commit 0f8ab301c633133eea3dbd4f2254f31c50e3c4a9 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 14 13:12:34 2008 +0100 [glib-demo] Add find demo glib/demo/Makefile.am | 2 + glib/demo/find.c | 282 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/find.h | 31 ++++++ glib/demo/main.c | 4 +- 4 files changed, 318 insertions(+), 1 deletion(-) commit 88df9e9aa9adb53f0a9714ea404d46f111495df3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 14 11:54:35 2008 +0100 [glib-demo] Add Text demo glib/demo/Makefile.am | 2 + glib/demo/main.c | 4 +- glib/demo/text.c | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/text.h | 31 +++++++++ 4 files changed, 211 insertions(+), 1 deletion(-) commit 5b0f2355d55a5104820fd0bf16b4e76b25959de4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 14 11:49:00 2008 +0100 [glib] Use TextPage instead of TextOutputDev when cairo is enabled glib/poppler-page.cc | 148 ++++++++++++++++++++++++++++++++++--------------- glib/poppler-private.h | 4 ++ 2 files changed, 107 insertions(+), 45 deletions(-) commit 3ced71fb68d62308db7b9535367eafefb55d1cde Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 14 11:18:00 2008 +0100 Add optionally text support to CairoOutputDev If a TextPage is set, it'll be used when rendering so that we don't need to use TextOutputDev and render again. poppler/CairoOutputDev.cc | 144 ++++++++++++++++++++++++++++++++++++++++++++-- poppler/CairoOutputDev.h | 19 +++++- 2 files changed, 155 insertions(+), 8 deletions(-) commit 0bdad35cc4cfdb8da5acaf44678920b7a0025f99 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 14 11:14:12 2008 +0100 Add refcount support to TextPage poppler/TextOutputDev.cc | 12 +++++++++++- poppler/TextOutputDev.h | 5 +++++ qt4/src/poppler-page.cc | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) commit f86514c3fbc867fc6457feacba23451e89993524 Author: Koji Otani <sho@bbr.jp> Date: Wed Dec 17 00:36:39 2008 +0100 Fix wrong PS generation when a large image is in Patterns Bug 18908 poppler/PSOutputDev.cc | 114 +++++++++++++++++++++++++++++++------------------ 1 file changed, 72 insertions(+), 42 deletions(-) commit fc395eb90b418e43453acefb42cd04baf0b7ad40 Author: Richard Airlie <richard.airlie@maglabs.net> Date: Tue Dec 16 21:11:53 2008 +0100 Allow the use of cropbox in pdftoppm utils/pdftoppm.cc | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 80f415176952635a485356cf36048eee53396c25 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Dec 16 20:37:39 2008 +0100 Make destructors private/protected since you are not supposed to use them poppler/GfxFont.cc | 2 +- poppler/GfxFont.h | 11 +++++------ 2 files changed, 6 insertions(+), 7 deletions(-) commit dbcebda953cb36a45a125aada68e85249fb73f43 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 15 20:10:31 2008 +0100 Do not leak on AnnotScreen destructor Fixes bug 19095 poppler/Annot.cc | 4 ++++ 1 file changed, 4 insertions(+) commit aaeb0d137232bf1cb11dc5e37b8b45b50c6f9c6a Author: Pino Toscano <pino@kde.org> Date: Fri Dec 12 00:43:19 2008 +0100 update the xpdf headers installation CMakeLists.txt | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) commit 7c6527fa05389f705872aaaaff12e739b5d1577e Author: Pino Toscano <pino@kde.org> Date: Fri Dec 12 00:41:21 2008 +0100 don't install Function.cc, as it is not an header poppler/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 0179e21b128ffccb5afd13203137ab8435197609 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 12 00:16:38 2008 +0100 Be more helpful with bad boys that want to use poppler core directly fofi/Makefile.am | 10 ++++++++++ splash/SplashClip.h | 2 +- splash/SplashPath.h | 2 +- splash/SplashXPath.h | 2 +- 4 files changed, 13 insertions(+), 3 deletions(-) commit 401632e4eeb4b10b1183a820f32461da77e8e4f2 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 12 00:14:04 2008 +0100 Try harder to look for openjpeg cmake/modules/FindLIBOPENJPEG.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ab539f46089702f60b96b1ba2b2bc1544173c264 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 11 23:15:45 2008 +0100 Fix crash when reading outline Fixes bug 19024. Last as reference is required if the item has children (Table 8.4) so if there is no last reference, don't try to read children. poppler/Outline.cc | 4 ++++ 1 file changed, 4 insertions(+) commit c9a755f9fd14511f43a2ca7fcda36bdd64bb1d87 Author: Ilya Gorenbein <igorenbein@finjan.com> Date: Sun Dec 7 17:59:19 2008 +0100 Fix memory leak Bug 18924 poppler/Page.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 4cd364c179ae91ed383a8237ba1ad263952fd7aa Author: Pino Toscano <pino@kde.org> Date: Sun Nov 30 16:57:52 2008 +0100 add my copyright here qt4/src/poppler-private.cc | 1 + 1 file changed, 1 insertion(+) commit 6b1676deb773675d90469adc84c3de8dcdaf174c Author: Pino Toscano <pino@kde.org> Date: Sun Nov 30 16:56:43 2008 +0100 [Qt4] support URI actions for TOC items qt4/src/poppler-private.cc | 5 +++++ 1 file changed, 5 insertions(+) commit b5cd58b5565055fd0c13771461245ddcd80edfcf Author: Pino Toscano <pino@kde.org> Date: Sun Nov 30 16:34:57 2008 +0100 extract the LinkAction "serialization" in an own function, and make it more safe qt4/src/poppler-private.cc | 85 ++++++++++++++++++++++++++++++++-------------- 1 file changed, 59 insertions(+), 26 deletions(-) commit ee191363e22940ae7b06945e68c4738b17c78348 Author: Pino Toscano <pino@kde.org> Date: Sun Nov 30 16:17:32 2008 +0100 move the addTocChildren() implementation in the cpp qt4/src/poppler-form.cc | 1 + qt4/src/poppler-page.cc | 1 + qt4/src/poppler-private.cc | 65 ++++++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-private.h | 64 ++------------------------------------------- 4 files changed, 69 insertions(+), 62 deletions(-) commit f8eaabf1aa7e384619129a7509be85d0c3bfb825 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 30 13:33:12 2008 +0100 Update copyrights of the last commits poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5f4fedfae6098e25644ffe5d4b1ed0bac043841d Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 29 19:51:27 2008 +0100 Use the Length specified in the Stream as initial bufSize This is a optimization to save a few reallocations, if the Length value is incorrect it will still work poppler/JPEG2000Stream.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 12f6d6ba2052fbdc8ea4ba7c7c9277e75bf170a5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Nov 23 18:20:14 2008 +0100 Fix a crash when the second argument of opMarkPoint is not a dictionary According to the spec "If any of the values are indirect references to objects outside the content stream, the property list dictionary must instead be defined as a named resource. poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 817e123a28e9f6b7e5be23f7ac2ba3bcec5e3f3f Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Nov 22 21:48:37 2008 +1030 Don't compare print flag for non Type 3 fonts in cairo font cache poppler/CairoFontEngine.cc | 7 ++++++- poppler/CairoFontEngine.h | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) commit 68f8ade28764855d4f663607c50c8202b1268296 Author: Albert Astals Cid <tsdgeos@samsung.localdomain> Date: Sun Nov 23 10:54:46 2008 +0100 Compile with -pedantic Thanks to Bernard Leak for notifying test/pdf-inspector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4a4fa7ed44a87e47a6078a1f7bb6f41071672ea7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Nov 18 20:11:07 2008 +0100 Fix a crash when selecting text in word mode poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a6f5032ab0d6edbf3879f39efff7916b1f7233da Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Nov 16 18:24:06 2008 +0100 optContentConfig is not actually stored in PDFDoc but in Catalog poppler/PDFDoc.h | 1 - 1 file changed, 1 deletion(-) commit b843ac34c6c4ca1580f99fa2220c59dfcd91f026 Author: Pino Toscano <pino@kde.org> Date: Sat Nov 15 14:49:02 2008 +0100 [Qt4] deserialize the value of the 'right' coordinate, too qt4/src/poppler-link.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 03061fdae49842556c9ff48e61914fc88502e1d8 Author: Tim Mooney <enchanter@users.sourceforge.net> Date: Thu Nov 13 22:32:22 2008 +0100 Fix build on Solaris 10 + Sun Studio 12. Fixes bug 17496 configure.ac | 14 ++++++++++++++ test/Makefile.am | 6 ++++-- 2 files changed, 18 insertions(+), 2 deletions(-) commit 17b18be4fd25f2ca2b4ed7382d9fda50410c44f1 Author: Adrian Johnson <ajohnson@redneon.com> Date: Wed Nov 12 20:40:57 2008 +1030 Ensure cairo font matrix is invertable Fixes bugs #18254 and #18429 poppler/CairoOutputDev.cc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit e2257e6916cd1067d43db9ed45f944413c61ed64 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 9 22:44:48 2008 +0100 Update copyrights of the last commits poppler/CairoFontEngine.cc | 1 + poppler/CairoFontEngine.h | 1 + poppler/Form.cc | 2 +- poppler/Gfx.h | 1 + poppler/OptionalContent.h | 1 + qt4/src/poppler-optcontent.cc | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) commit 069f8ad9453e612e907b561aa50983c34400193d Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 9 20:36:06 2008 +0100 MakeItBuild glib/CMakeLists.txt | 1 + glib/demo/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) commit 04025c4f65bbb7e4330f6d17d917a035c0906f3d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Nov 9 17:03:20 2008 +0100 Fix a crash when initializing an Annot with a null catalog Forms crate a temp annot just to get the font size of the form field passing a NULL catalog. poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 471255c5a3850984997d91c7850759eb0c7e8a9c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Nov 8 20:58:57 2008 +0100 [glib-demo] Add Optional Content demo glib/demo/Makefile.am | 2 + glib/demo/layers.c | 511 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/layers.h | 31 +++ glib/demo/main.c | 4 +- 4 files changed, 547 insertions(+), 1 deletion(-) commit 7363c25e1d83332932d9b4fe16d7fb4e364da628 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 26 19:47:35 2008 +0100 [glib] Add Optional Content support glib/Makefile.am | 2 + glib/poppler-document.cc | 377 ++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 12 ++ glib/poppler-layer.cc | 201 ++++++++++++++++++++++++ glib/poppler-layer.h | 43 ++++++ glib/poppler-private.h | 21 +++ glib/poppler.h | 3 + glib/test-poppler-glib.cc | 52 ++++++- 8 files changed, 710 insertions(+), 1 deletion(-) commit c674566f458b54097f21aae0d4bf8637146565c5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 26 19:42:53 2008 +0100 Fix memory leaks in OptionalContent poppler/OptionalContent.cc | 13 +++---------- poppler/OptionalContent.h | 10 ++++++---- 2 files changed, 9 insertions(+), 14 deletions(-) commit 06ca313b8ecb8abb8dec3b418d118525b7bb0fdf Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 26 19:11:45 2008 +0100 Check annotation optional content properties before drawing it poppler/Annot.cc | 20 ++++++++++++-------- poppler/Annot.h | 4 ++-- 2 files changed, 14 insertions(+), 10 deletions(-) commit a6d58927b048aa043cb6b6ed3ee9aeb213578924 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Nov 8 20:50:40 2008 +0100 Do not show hidden optional content Before any draw operation we first check whether we are inside an optional marked content element that is currently hidden. poppler/Gfx.cc | 113 ++++++++++++++++++++++++++++++++++++++++----------------- poppler/Gfx.h | 7 +++- 2 files changed, 84 insertions(+), 36 deletions(-) commit 5f168f991477e291290350a28f4a60a565e187b9 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Oct 20 17:56:11 2008 +0200 [glib] Show action titles when printing the index in test program glib/test-poppler-glib.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit a906d12e16748d9a40c0db4043a576fd3d004341 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Nov 8 20:20:00 2008 +0100 Minor code cleanup and consistency issues poppler/OptionalContent.cc | 22 +++++++++++----------- poppler/OptionalContent.h | 8 ++++---- qt4/src/poppler-optcontent.cc | 6 +++--- qt4/tests/check_optcontent.cpp | 8 ++++---- 4 files changed, 22 insertions(+), 22 deletions(-) commit e73c2ce906b7e1f06d641f7e0733aad6336b4091 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Oct 19 12:44:13 2008 +0200 Delete the optContent object if it's invalid poppler/Catalog.cc | 4 ++++ poppler/OptionalContent.cc | 3 +++ poppler/OptionalContent.h | 5 +++++ 3 files changed, 12 insertions(+) commit 2900e7e4c920d735d5a727e9e39f71df97bd7b93 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 8 18:12:47 2008 +0100 A new cairo is needed CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aaaecd2e86769d3a99e21577448a193711985958 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 5 22:47:30 2008 +0100 Do not abort if indexHighA is 'invalid', move it to the closest valid value and try with it For the bug 18374 it works and does not seem a security problem poppler/GfxState.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 82f4228a50efe6447c68f7f6d34a7805b7e4b75e Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 5 20:57:17 2008 +0100 Add myself here qt4/demos/viewer.cpp | 1 + 1 file changed, 1 insertion(+) commit 8df7d83439f0e9ab200840f912f1c08bbf44bd6e Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 5 20:49:01 2008 +0100 [Qt4Demo] Fix leak qt4/demos/viewer.cpp | 1 + 1 file changed, 1 insertion(+) commit d3c424e0362f53bda5c4e2e415823d78ace76253 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 5 20:14:17 2008 +0100 Rename i to j so that code is more clear by not shadowing the function parameter poppler/Catalog.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 9d12de9b59de4336eabb423f7bf0363b6a35e2a8 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 5 20:00:01 2008 +0100 Fix crash in case indices is NULL Putting more than one "logical line" per "real line" is evil, we think if will group it, but does not poppler/UnicodeTypeTable.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit fc61dad9daa15f83802ffa5c3cd9b59d80bb310b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 5 19:52:00 2008 +0100 [Qt] Fix leak qt/poppler-link.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 981fb857b0afb1cda7836744dcf37906285512b4 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 5 19:49:18 2008 +0100 [Qt] Fix memory leak qt/poppler-document.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e925e92d5cbfc009c138ece117227a3b0894ead6 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 5 19:44:40 2008 +0100 Do not leak uBuf in the error case poppler/CharCodeToUnicode.cc | 1 + 1 file changed, 1 insertion(+) commit 0741a402632ec5a8641ff11707142bf2731c1833 Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Nov 1 22:27:48 2008 +1030 Restore the cairo Type3 font image prescaling funtionality poppler/CairoFontEngine.cc | 49 +++++++++++++++++++++++++++------------------- poppler/CairoFontEngine.h | 20 +++++++++++-------- poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 2 +- 4 files changed, 43 insertions(+), 30 deletions(-) commit 91a7c3fdd44f30b0b50ed05a3313bbb1b5c86e71 Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Nov 1 20:57:24 2008 +1030 Remove cairo font matrix y flip when inside a Type 3 char Not sure why this was previously required but it now produces incorrect results. poppler/CairoOutputDev.cc | 5 ----- 1 file changed, 5 deletions(-) commit 3bf4d7d75b455a9a0b5ee3a8c78b218e5af5185a Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Nov 1 20:50:07 2008 +1030 Transform the glyph advance by the font matrix poppler/CairoFontEngine.cc | 1 + 1 file changed, 1 insertion(+) commit 4aa32bad61d008a854fdc9e902d6834bb1687d7e Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Nov 1 20:49:04 2008 +1030 Use the font BBox, not the font matrix to set the Gfx BBox poppler/CairoFontEngine.cc | 1 + 1 file changed, 1 insertion(+) commit 987955440c7711f440c3d2b5cc8c05ec07228a77 Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Nov 1 20:47:05 2008 +1030 Ensure both the font matrix and y-axis flip are in the matrix we use for transforming the glyph metrics. poppler/CairoFontEngine.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5c051aa117477cba5d350adfc539acb4b5f2a56a Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Nov 1 01:59:07 2008 +1030 Require cairo 1.8.2 for user-font support configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3edfa30680864b95a5196c5619846de42980857 Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Nov 1 01:57:32 2008 +1030 Implement Type 3 fonts in cairo backend using cairo user-fonts poppler/CairoFontEngine.cc | 174 +++++++++++++++++++++++++++++++++++++++++++-- poppler/CairoFontEngine.h | 18 +++++ poppler/CairoOutputDev.cc | 9 ++- poppler/CairoOutputDev.h | 4 +- 4 files changed, 194 insertions(+), 11 deletions(-) commit feab1e982a2ee39bb372d593633a06b6a499822f Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Nov 1 01:21:39 2008 +1030 Add CairoOutputDev functions for getting Type 3 glyph metrics poppler/CairoOutputDev.cc | 10 ++++++++++ poppler/CairoOutputDev.h | 7 +++++++ 2 files changed, 17 insertions(+) commit a75efe208d899d4a23d5e2fcef200e4225721636 Author: Adrian Johnson <ajohnson@redneon.com> Date: Sat Nov 1 00:26:40 2008 +1030 Make the catalog available to CairoFontEngine glib/poppler-document.cc | 3 ++- poppler/CairoFontEngine.cc | 2 +- poppler/CairoFontEngine.h | 3 ++- poppler/CairoOutputDev.cc | 7 +++++-- poppler/CairoOutputDev.h | 3 ++- test/pdf-inspector.cc | 2 +- 6 files changed, 13 insertions(+), 7 deletions(-) commit 941d3976c496b75a3c5a9d19b80044fc2b57bd98 Author: Adrian Johnson <ajohnson@redneon.com> Date: Fri Oct 31 22:44:41 2008 +1030 Allow multiple instances of CairoOutputDev to be created for the same document that shares the same CairoFontEngine. poppler/CairoOutputDev.cc | 16 +++++++++++----- poppler/CairoOutputDev.h | 4 +++- 2 files changed, 14 insertions(+), 6 deletions(-) commit 94cff513d8589f51b243fcb078f82cb931bb6d35 Author: Adrian Johnson <ajohnson@redneon.com> Date: Fri Oct 31 21:11:01 2008 +1030 Use correct return type in _ft_new_face poppler/CairoFontEngine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0b5ee897a24ce1edfca19a3b843f9b7ee7026d07 Author: Adrian Johnson <ajohnson@redneon.com> Date: Fri Oct 31 20:55:14 2008 +1030 Refactor CairoFont Create a CairoFreeType subclass and move the FreeType specific code into it. poppler/CairoFontEngine.cc | 197 +++++++++++++++++++++++++-------------------- poppler/CairoFontEngine.h | 26 ++++-- 2 files changed, 131 insertions(+), 92 deletions(-) commit a5865dae5b414de5f6dbda2a512101050c374e06 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Oct 28 10:30:59 2008 +0100 [glib] Add DISABLE_SINGLE_INCLUDES flags and fix glib-demo configure.ac | 4 ++++ glib/Makefile.am | 3 ++- glib/demo/Makefile.am | 3 ++- glib/demo/annots.h | 2 +- glib/demo/attachments.h | 2 +- glib/demo/fonts.h | 2 +- glib/demo/forms.h | 2 +- glib/demo/images.h | 2 +- glib/demo/info.h | 2 +- glib/demo/links.h | 2 +- glib/demo/outline.h | 2 +- glib/demo/page.h | 2 +- glib/demo/render.h | 2 +- glib/demo/transitions.h | 2 +- glib/demo/utils.h | 2 +- 15 files changed, 20 insertions(+), 14 deletions(-) commit e07bfb54b77430e10e50c33151cf0afc9854006c Author: Christian Persch <chpe@gnome.org> Date: Tue Oct 28 10:29:51 2008 +0100 [glib] Fix build when compiling with GTK_DISABLE_SINGLE_INCLUDES glib/poppler-page.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a84d272ffd2b593ac98148e71b83fba299c60fea Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Oct 28 10:01:00 2008 +0100 [glib] Add disable deprecated compile flags and fix compile warnings configure.ac | 6 ++++++ glib/Makefile.am | 3 ++- glib/demo/Makefile.am | 4 +++- glib/demo/attachments.c | 4 ++-- 4 files changed, 13 insertions(+), 4 deletions(-) commit 43f2b84a81625abee84c93cdced7fb92c99cd944 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Oct 21 23:00:55 2008 +0200 [Qt4] Small docu improvement qt4/src/poppler-qt4.h | 3 +++ 1 file changed, 3 insertions(+) commit 00f9995b4960575cd1f392474c585f2140c8e587 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 12 14:20:01 2008 +0200 Do not crash if there is not font See bug 18023 for more info poppler/TextOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 084cc4335cfe2c0e66219eba4c1177ee7ff018c5 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Oct 10 23:15:35 2008 +0200 obj4 should be the index 1 on the Array, not the 0, that's already obj3 poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d7442c90206d4b7a8ebc58f995647eb87ac35f42 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Oct 9 22:53:00 2008 +0200 If Name is a Ref we want to get the String it references, not the Ref poppler/OptionalContent.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93f8dd9e837557bbfc0f058a664c356e3d6e82c0 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Oct 9 21:28:27 2008 +0200 Poppler 0.10.0 CMakeLists.txt | 2 +- NEWS | 16 ++++++++++++++++ configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 5 files changed, 22 insertions(+), 6 deletions(-) commit cdd9bf016de0d3f96b1d5e304c9d02f2bf71ff18 Author: Mark Kaplan <mkaplan@finjan.com> Date: Wed Oct 8 22:29:11 2008 +0200 Initialize properly OptionalContentGroup::m_name poppler/OptionalContent.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c7b87f3b8cbbcca29a1974debc2233f621a2e33b Author: Carlo Bramini <carlo.bramix@libero.it> Date: Mon Oct 6 19:32:27 2008 +0200 Fix link on Mingw+Msys test/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e92255296511cae9cbbac8de800d8b26e5f681f1 Author: Pino Toscano <pino@kde.org> Date: Sun Oct 5 15:57:06 2008 +0200 [Qt4] when the PDF exporting fails, delete the file if it was created by the (failed) exporting qt4/src/poppler-pdf-converter.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 360f470b852e37d400949343763a18bf598820e8 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 4 20:04:44 2008 +0200 Remove unused var poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df7317f1320513b4f66cb6618d753b82042671f5 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 4 19:48:57 2008 +0200 free the object poppler/PDFDoc.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 9946d9af9dd5d5b96d5c777413a3e253dfd1f291 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 4 19:39:46 2008 +0200 If we try saving a document that was encrypted, we break everything, so just fail early poppler/PDFDoc.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 108959432af7714cb8ffe42d98d40c97f936a2e6 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 4 19:39:24 2008 +0200 Correctly return wheter it was saved or not qt4/src/poppler-pdf-converter.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 4c6cb1c204d782e2ac2113b57f6d372b4716017d Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 4 01:46:58 2008 +0200 Remove spurious // fofi/FoFiType1.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e8e7809ab4b115cbe67251da12989fc024912514 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 4 01:43:02 2008 +0200 There are files that have more than one encoding definition per line, make them work Fixes bug 17018, while at it, i've added some comments and some error() to make things a bit clearer fofi/FoFiType1.cc | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) commit 7604e025038fee24c2cb3001f2100d5d1e48efe1 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Oct 4 00:35:46 2008 +0200 Fix Poppler::Link::linkArea for rotated pages we suck :-( Fixes kde bug 172105 qt4/src/poppler-link-extractor.cc | 3 +++ 1 file changed, 3 insertions(+) commit 450b21e4528a8e890d3dda37ecb0a68602f8efaa Author: Albert Astals Cid <aacid@kde.org> Date: Wed Oct 1 00:46:29 2008 +0200 I've changed these files this year too, update copyright goo/gmem.cc | 2 +- goo/gmem.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 98310ca24841789cf53b10d34e271ceb4e054001 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 30 23:59:43 2008 +0200 Fix StitchingFunction(StitchingFunction *func) and GfxAxialShading(GfxAxialShading *shading) Fixes bug 17852 poppler/Function.cc | 2 ++ poppler/GfxState.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit d12f5f4395eb18f8d29182e24acddd3e2b5cfe88 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 30 23:20:26 2008 +0200 0.9.3 CMakeLists.txt | 2 +- NEWS | 17 +++++++++++++++++ configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 5 files changed, 23 insertions(+), 6 deletions(-) commit d61e464754521555a06ed0901955f49be4def29a Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 30 19:26:17 2008 +0200 Timothy also agreed, now Ed Catmur is the last one missing to answer utils/ImageOutputDev.cc | 3 +++ utils/ImageOutputDev.h | 3 +++ 2 files changed, 6 insertions(+) commit 3225f54fea7cbb6b25d7223268cdeccfdd823375 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 30 00:27:49 2008 +0200 And Marco said yes to GPLv2+ Only Timothy Lee and Ed Catmur left :-) poppler/Catalog.cc | 3 +++ poppler/Outline.cc | 3 +++ poppler/Outline.h | 3 +++ splash/Splash.cc | 3 +++ splash/Splash.h | 3 +++ 5 files changed, 15 insertions(+) commit 268d803c9dd67b7f78f8dcdc3c7653c8b2c2d08f Author: Warren Toomey <wkt@tuhs.org> Date: Mon Sep 29 21:14:40 2008 +0200 Let HmtlOutputDev process images utils/HtmlOutputDev.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a29984ab777c64a1cb286b667a6a91ad9b191f40 Merge: f399afe 6865872 Author: Pino Toscano <pino@kde.org> Date: Sun Sep 28 23:39:08 2008 +0200 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit f399afe6f6b9c250327d0e4c5b3f2839889d7095 Author: Pino Toscano <pino@kde.org> Date: Sun Sep 28 23:38:34 2008 +0200 [Qt4] various apidox improvements qt4/src/Mainpage.dox | 10 +--- qt4/src/poppler-link.h | 92 +++++++++++++++++++++++++++++++++---- qt4/src/poppler-qt4.h | 121 +++++++++++++++++++++++++++++++++---------------- 3 files changed, 168 insertions(+), 55 deletions(-) commit 68658721583b05ebacb1165ac36e91d49735bbd9 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 28 19:29:06 2008 +0200 If tables is null, don't try to write to file as it'll crash, fixes crash on 17811 when using cairooutputdev fofi/FoFiTrueType.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 3cb5b7fc5ae168ef58fd1905f61c1b9abe6cb86c Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 28 19:25:53 2008 +0200 Introduce greallocn_checkoverflow and use it in FoFiTrueType::parse Fixes the other part of bug 17811 fofi/FoFiTrueType.cc | 4 ++-- goo/gmem.cc | 21 +++++++++++++++++++++ goo/gmem.h | 1 + 3 files changed, 24 insertions(+), 2 deletions(-) commit aa7ef03af49f74ed558dcbab8ad4c594bb2b7d53 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 28 19:24:43 2008 +0200 If libjpeg tells us to abort, let's abort :D Fixes part of bug 17811 poppler/DCTStream.cc | 1 + 1 file changed, 1 insertion(+) commit e2461c9aa4d74b5511621d7222979948e31541ad Author: Pino Toscano <pino@kde.org> Date: Sun Sep 28 18:07:25 2008 +0200 [Qt4] Activate the 'printing' flag by default in the PSConverter. qt4/src/poppler-ps-converter.cc | 2 +- qt4/src/poppler-qt4.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit 957d7acb66635e9748c6bc7a31cdbbcbb8da9011 Author: Carlo Bramini <carlo.bramix@libero.it> Date: Sat Sep 27 17:23:20 2008 +0200 Misc mingw fixes configure.ac | 2 +- glib/Makefile.am | 2 +- glib/demo/info.cc | 1 + m4/libjpeg.m4 | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) commit b3828203c4e594754957033ea826e8e22164fd5b Author: Albert Astals Cid <aacid@kde.org> Date: Fri Sep 26 23:08:14 2008 +0200 Carl agreed too, so CairoOutputDev.cc is done Only miss, Marco Pesenti Gritti, Timothy Lee and Ed Catmur poppler/CairoOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit a197a07728d19abc2708979c95b4ef53e88fcb55 Author: Carlo Bramini <carlo.bramix@libero.it> Date: Fri Sep 26 18:42:05 2008 +0200 Compile where localtime_r is not available glib/demo/info.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 38884e1722ac7e15c62cece20035c5fb0020f4b3 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 24 14:18:38 2008 +0200 Do what Jeff really want to do, mark the font as invalid if it matches any of the known collections that Identity is not a good fallback Fixes pdf on KDE bug 171365 poppler/GfxFont.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0e080aaf44816e5d5b9008f3c2fb54868932f0ac Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 24 13:12:13 2008 +0200 Remove non-needed X includes Spotted by Carlo Bramini test/gtk-cairo-test.cc | 3 --- test/pdf-inspector.cc | 3 --- 2 files changed, 6 deletions(-) commit 6888b023fdb199d3c5fb705bd928aedf68eeffdb Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 23 23:28:04 2008 +0200 Only do the scale to 'm' size trick on non embedded fonts as it was meant to be Fixes bug 17744 poppler/SplashOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 539d29f4f3b24b98c9fc5f88d3477e427fbe409d Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 23 22:39:50 2008 +0200 0.9.2 CMakeLists.txt | 2 +- NEWS | 19 +++++++++++++++++++ configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 5 files changed, 25 insertions(+), 6 deletions(-) commit abd070a79d8345bda3853395a39e4e2882c4ff8a Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 22 20:23:11 2008 +0200 Check the types here too Benchmarking in release mode, both in "human feel" and callgrind the benefit/lost is almost inexistant poppler/Object.h | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) commit df47e4c441e4ec79b1bb40de7044c9501f243b76 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Sep 16 12:56:04 2008 +0100 Check for duplicate open fonts. Before creating a new FT_Face for a font, check to see if there is a duplicate amongst the list of open fonts, kept alive by either Poppler's or Cairo's font cache . A quick example of the benefit of this check is that it reduces the RSS of the Poppler converter in the Cairo test suite from over 900 MiB to just 90 MiB. configure.ac | 1 + poppler/CairoFontEngine.cc | 214 +++++++++++++++++++++++++++++++++++++++------ 2 files changed, 190 insertions(+), 25 deletions(-) commit 41d1edddcf84ca23c0fc39c5f4f3a49e408a9f1a Author: Kouhei Sutou <kou@cozmixng.org> Date: Sun Sep 21 16:33:33 2008 +0200 [glib-demo] Fix a crash in forms demo glib/demo/forms.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit fe26075353226be9a02c8cf1a6a29586de15ce86 Author: Pino Toscano <pino@kde.org> Date: Sun Sep 21 12:03:21 2008 +0200 really use the key passed to it poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8aa531cb478d6ae838a94f9f31e6a0bbd0dd957c Author: Pino Toscano <pino@kde.org> Date: Sun Sep 21 11:18:22 2008 +0200 Read the 'readOnly' attribute directly in the FormField constructor. poppler/Form.cc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit b56f64d676bdabd4a3ebe0eb2237f4c202a3707d Author: Pino Toscano <pino@kde.org> Date: Sun Sep 21 00:53:54 2008 +0200 Handle streams as entries for the catalog JS name tree. poppler/Catalog.cc | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit 93386d67b3d7adbd87547e9742e4df1c10eadbc1 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 20 16:20:03 2008 +0200 Compile with -pedantic poppler/Form.h | 4 ++-- qt4/src/poppler-embeddedfile.cc | 4 ++-- qt4/src/poppler-movie.cc | 3 ++- qt4/src/poppler-sound.cc | 3 ++- qt4/src/poppler-textbox.cc | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) commit 6961fd8efe3db6ee7077dc2ed072498696dae31a Author: Tomas Are Haavet <tomasare@gmail.com> Date: Sat Sep 20 16:13:37 2008 +0200 Remove some warnings and errors when compiling with gcc and -pedantic fofi/FoFiTrueType.cc | 3 ++- glib/poppler-annot.cc | 8 ++++---- glib/poppler-attachment.cc | 2 +- glib/poppler-document.cc | 6 +++--- glib/poppler-form-field.cc | 2 +- glib/poppler-page.cc | 2 +- poppler/Annot.h | 5 +++-- splash/SplashTypes.h | 3 ++- 8 files changed, 17 insertions(+), 14 deletions(-) commit 4e9a04da358b1527a08102e601a52f07930532f2 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 20 16:10:50 2008 +0200 Add mention of GPLv2 or later in poppler changes to all files except Splash.cc and Splash.h, i've still no answer from Marco :-( splash/SplashBitmap.cc | 3 +++ splash/SplashBitmap.h | 3 +++ splash/SplashErrorCodes.h | 3 +++ splash/SplashFTFont.cc | 3 +++ splash/SplashFTFont.h | 3 +++ splash/SplashFTFontEngine.cc | 3 +++ splash/SplashFTFontEngine.h | 3 +++ splash/SplashFTFontFile.cc | 3 +++ splash/SplashFTFontFile.h | 3 +++ splash/SplashFont.cc | 3 +++ splash/SplashFont.h | 3 +++ splash/SplashFontEngine.cc | 3 +++ splash/SplashFontEngine.h | 3 +++ splash/SplashFontFile.cc | 3 +++ splash/SplashFontFile.h | 3 +++ splash/SplashT1Font.cc | 3 +++ splash/SplashT1Font.h | 3 +++ splash/SplashT1FontEngine.cc | 3 +++ splash/SplashT1FontFile.cc | 3 +++ splash/SplashT1FontFile.h | 3 +++ splash/SplashTypes.h | 3 +++ splash/SplashXPathScanner.cc | 3 +++ 22 files changed, 66 insertions(+) commit beb87362072d5b480cf6b2c02445ec17c119ff56 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 20 15:47:25 2008 +0200 Add Tomas' Copyright utils/HtmlFonts.cc | 1 + 1 file changed, 1 insertion(+) commit 8ccb1bb651b129875ef802356c4a229b2ce31973 Author: Tomas Are Haavet <tomasare@gmail.com> Date: Sat Sep 20 15:45:47 2008 +0200 Initialize pos the correct value to not have crashes utils/HtmlFonts.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 77bf8ec94e36fef7e120f1dc4bb1390be71cfb97 Author: Tomas Are Haavet <tomasare@gmail.com> Date: Sat Sep 20 14:17:06 2008 +0200 Fix memory leak utils/HtmlOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit b22be54dc2205269974315ca748d835d0990d6da Author: Tomas Are Haavet <tomasare@gmail.com> Date: Sat Sep 20 14:16:26 2008 +0200 Fix mismatched free/delete utils/HtmlOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ac16174da1d6f19445f78e7cd7c4a18cb9524dde Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 20 00:52:19 2008 +0200 make sure the image is setup before using it, otherwise some things don't print correctly like PDF from bug 17645 poppler/PSOutputDev.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit ffa4ffdf7fe83035c72addd8c4c8ee566621ba06 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 17 23:27:30 2008 +0200 0.9.1 CMakeLists.txt | 2 +- NEWS | 13 +++++++++++++ configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 5 files changed, 19 insertions(+), 6 deletions(-) commit f57cbe32bcde0808943b9be2456dd69fa5b6dd27 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 14 22:18:38 2008 +0200 If when looking for an object we get objSomeNumberAfter assume it was an int of SomeNumberAfter Fixes bug 17568 and i don't see how it can break existing things because it's already on an error path poppler/XRef.cc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit 1a852064ff5a1a15bc315ddca472a0ad74292581 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Sep 13 12:11:41 2008 +0200 [glib-demo] Do not try to get info about remote destinations glib/demo/utils.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 951cffeb2cbff4e179043033b5ac7f5eb764d6dc Author: Albert Astals Cid <aacid@kde.org> Date: Fri Sep 12 12:05:53 2008 +0200 Make sure DecryptAESState::bufIdx is never bigger than 16, otherwise we crash I am not sure this is the correct fix, but fixes crash on files of bugs 13972, 16092 and 17523 and they seem to work ok poppler/Decrypt.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 491109edbe827860e764b5fcb67456867923858d Author: Haruyuki Kawabe <Haruyuki.Kawabe@unisys.co.jp> Date: Wed Sep 10 23:00:32 2008 +0200 Generate the outline file at the same place the other files are generated Fixes bug 17504 utils/HtmlOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7dfc1e4c9348d537896bda7b0f2ae591afc72866 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 10 00:03:50 2008 +0200 we want to distribute this file too qt4/src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ddb73e8dc1ccbddf3b170e12c7153ccaf716d7cc Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 9 23:47:33 2008 +0200 We want to distribute cmake/modules/FindLIBOPENJPEG.cmake too Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 646ccc2bb8563d411dc25bdbab53725ae08572ba Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 9 23:22:17 2008 +0200 m_doc->doc->getOptContentConfig() can be null, so check for it qt4/src/poppler-document.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d7f0bce67101f37f8d3e69d7d701388bcdc7200f Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 9 23:18:49 2008 +0200 Qt4 frontend had timezone parsing that got lost when moving to the common function, i suck glib/poppler-document.cc | 6 ++++-- poppler/DateInfo.cc | 20 ++++++++++++++------ poppler/DateInfo.h | 2 +- qt/poppler-document.cc | 6 ++++-- qt4/src/poppler-document.cc | 22 +++++++++++++++++++--- utils/pdfinfo.cc | 6 ++++-- utils/pdftohtml.cc | 6 ++++-- 7 files changed, 50 insertions(+), 18 deletions(-) commit 0af8609e6c932de2d85168cc9147854ee84b3a1b Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 9 20:55:27 2008 +0200 i want this packaged too utils/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit dd0f4c1510382e17cf33d3fe163e384da1d6d289 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 9 20:48:04 2008 +0200 Fix includepath fofi/FoFiTrueType.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 16c0842c3e01608a72709af55cc5cb8b567efedf Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 9 20:36:18 2008 +0200 API changed, so increase soname glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 217c0d1f80a78713977a7bfbe680fce90f1c6b36 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 8 23:56:28 2008 +0200 change version to 0.9.0 Now only need to wait for Carlos and Iñigo's answer to a BIC change in glib/ and we'll have 0.9.0 :-) CMakeLists.txt | 2 +- configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit e34022a8fcfb9fe211dd6b561377d855972b2087 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 8 23:36:04 2008 +0200 Increase soname for libpoppler, i'm almost sure we broke BC there CMakeLists.txt | 2 +- poppler/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit bc275049d6ef083daf71a043ccf23fd0634f5c4d Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 8 23:33:24 2008 +0200 soname 3.1.0 for qt4 libs, we are BC/SC but got new API qt4/src/CMakeLists.txt | 2 +- qt4/src/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 06743a25a73adc3fba95f7b4ad74a6dde1a54ead Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 8 23:23:06 2008 +0200 added news for 0.9.0 NEWS | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 115 insertions(+) commit d35ca2ce5df12d40e295873e44b1f18ea40ba897 Author: Pino Toscano <pino@kde.org> Date: Sun Sep 7 01:13:33 2008 +0200 [Qt4] apidox improvements qt4/src/poppler-annotation.h | 70 +++++++++++++++++++++++++++++++++++++++++--- qt4/src/poppler-link.h | 12 +++++--- qt4/src/poppler-qt4.h | 22 ++++++++++++-- 3 files changed, 93 insertions(+), 11 deletions(-) commit 796d4c002d47c85716775d173eddfb2ae8866eaf Author: Pino Toscano <pino@kde.org> Date: Sat Sep 6 22:48:13 2008 +0200 no more need for including the qt3 paths qt4/demos/CMakeLists.txt | 1 - qt4/src/CMakeLists.txt | 1 - qt4/tests/CMakeLists.txt | 1 - 3 files changed, 3 deletions(-) commit db7ee3b3ae0f42155f9245691e4bfdef98a8ed6f Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 6 23:16:05 2008 +0200 [Qt4] Fix docu qt4/src/poppler-qt4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3366059a25611f19ab592cda18c5efe0b9359771 Author: Pino Toscano <pino@kde.org> Date: Sat Sep 6 16:34:58 2008 +0200 [Qt4] add option flags for the PS converter - map the 'strictMargins' and 'forceRasterize' bool options as flags - add a flag for setting the "printing" mode qt4/src/poppler-ps-converter.cc | 34 ++++++++++++++++++++++++++-------- qt4/src/poppler-qt4.h | 26 ++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 8 deletions(-) commit afa26d5c9ac9feb61aad30eb65dc00c9854d7f2e Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 6 15:46:12 2008 +0200 we are printing so pass the print flag as true qt/poppler-document.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5d1eb5eaabaf3ab4bb87b8b4b901bbf30b20b29 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 6 15:43:32 2008 +0200 We are pringint here, so pass the printing flag as true Fixes KDE bug 170459, you'd wonder how many times i've made the same mistake... qt4/src/poppler-ps-converter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 58e828d732f06bae9133dd518d89fa4348f1cca8 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Sep 5 18:45:23 2008 +0200 Only like QtTest to the tests, not to the lib itself configure.ac | 13 +++++++++++-- qt4/tests/Makefile.am | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 13 deletions(-) commit 49b3e4560f62a9a7db350d94d50e229f5e1208bf Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Sep 5 18:17:45 2008 +0200 Movie filename is not a string, but a File Specification Fixes a crash when filename is a dictionary poppler/Annot.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 996d2e176057e22acbc374cff7a712ce6fd92d93 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Sep 5 18:17:25 2008 +0200 Unify multiple File Specification parsers CMakeLists.txt | 2 + poppler/FileSpec.cc | 146 +++++++++++++++++++++++++++++++++++++++++++++++++ poppler/FileSpec.h | 24 ++++++++ poppler/Link.cc | 104 +++++------------------------------ poppler/Link.h | 4 -- poppler/Makefile.am | 2 + poppler/PSOutputDev.cc | 35 +----------- poppler/PSOutputDev.h | 1 - poppler/Sound.cc | 7 ++- 9 files changed, 197 insertions(+), 128 deletions(-) commit 31f3eb2d6b43f7fbf4d978730d109b08b1563989 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 3 21:49:23 2008 +0200 Only set the state to true if the AS value is the same as parent's V Fixes bug 16121 and 15535 poppler/Form.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit c75abac7ba07990ef54a46fa0d429eea580a71ef Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 2 19:16:55 2008 +0200 Kjartan was missing and just agreed utils/HtmlOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit 630aa133017d15ddc7bf96c79f43c5b60fa9749a Merge: b2bc9b3 de82255 Author: Pino Toscano <pino@kde.org> Date: Tue Sep 2 01:25:55 2008 +0200 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit b2bc9b3f59ef8e5fea18f0bc91b71fc9eb9a4157 Author: Pino Toscano <pino@kde.org> Date: Tue Sep 2 01:24:39 2008 +0200 [Qt4] small apidox improvements mostly the start of the \since marker addition, plus few other documentation addition/improvements qt4/src/poppler-annotation.h | 9 +++++++ qt4/src/poppler-form.h | 8 ++++++ qt4/src/poppler-link.h | 14 ++++++++--- qt4/src/poppler-optcontent.h | 11 +++++++++ qt4/src/poppler-qt4.h | 59 ++++++++++++++++++++++++++++++++++++++------ 5 files changed, 90 insertions(+), 11 deletions(-) commit 6bc4881477ea15d70d420e57b5663052f2f9df76 Author: Pino Toscano <pino@kde.org> Date: Tue Sep 2 00:47:56 2008 +0200 expand the macros, extract poppler-optcontent.h enable the macro expansion and define POPPLER_QT4_EXPORT to be empty, so we don't have it in the apidox qt4/src/Doxyfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit de822554acdb1b2bc9e70c0668c43a10c0ec129a Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 1 23:50:37 2008 +0200 Initialize widget to null before calling initialize not after :-( poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a7b7199112d97e816a099cbc1a5672c83e64156 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 1 20:42:06 2008 +0200 Add my copyright poppler/Dict.cc | 1 + 1 file changed, 1 insertion(+) commit 1fef34782a003f46fceab0d3bed36212bbf32c4c Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 1 20:35:37 2008 +0200 Find reverse way in Dict This fixes Greg Stolze - Marriage Of Virtue & Viciousness.pdf The issue with this pdf is that has a Dict with two entries with the same key The pdf spec says if that happens, results are undefined, but Acroread uses the second key while we were using the first, searching backwards we use the second now too and the pdf works poppler/Dict.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb7996eaaad6a70404891bb2ff530160737ea3d7 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 1 20:29:25 2008 +0200 Do not crash on documents with no pages qt4/tests/test-poppler-qt4.cpp | 6 ++++++ 1 file changed, 6 insertions(+) commit 0c11d390e4b0e3765ae20968359c7562c9857db7 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 1 20:13:33 2008 +0200 All poppler commiters to these files agreed to GPLv2+ Still missing to answer Marco Pesenti Gritti Catalog.cc Outline.cc Outline.h Kjartan Maraas HtmlOutputDev.cc Timothy Lee ImageOutputDev.h ImageOutputDev.cc Carl Worth CairoOutputDev.cc Ed Catmur GfxFont.cc GlobalParams.cc TextOutputDev.cc TextOutputDev.h UnicodeTypeTable.cc UnicodeTypeTable.h poppler/Annot.cc | 3 +++ poppler/Annot.h | 3 +++ poppler/Array.cc | 3 +++ poppler/Array.h | 3 +++ poppler/ArthurOutputDev.cc | 3 +++ poppler/ArthurOutputDev.h | 3 +++ poppler/CMap.cc | 3 +++ poppler/CMap.h | 3 +++ poppler/CairoFontEngine.cc | 3 +++ poppler/CairoFontEngine.h | 3 +++ poppler/CairoOutputDev.h | 3 +++ poppler/Catalog.h | 3 +++ poppler/CharCodeToUnicode.cc | 3 +++ poppler/CharCodeToUnicode.h | 3 +++ poppler/Decrypt.cc | 3 +++ poppler/Decrypt.h | 3 +++ poppler/Dict.cc | 3 +++ poppler/Dict.h | 3 +++ poppler/Error.cc | 3 +++ poppler/Error.h | 3 +++ poppler/Function.cc | 3 +++ poppler/Gfx.cc | 3 +++ poppler/Gfx.h | 3 +++ poppler/GfxFont.h | 3 +++ poppler/GfxState.cc | 3 +++ poppler/GfxState.h | 3 +++ poppler/GlobalParams.h | 3 +++ poppler/JBIG2Stream.cc | 3 +++ poppler/JPXStream.cc | 3 +++ poppler/Lexer.cc | 3 +++ poppler/Lexer.h | 3 +++ poppler/Link.cc | 3 +++ poppler/Link.h | 3 +++ poppler/Object.cc | 3 +++ poppler/Object.h | 3 +++ poppler/OutputDev.cc | 3 +++ poppler/OutputDev.h | 3 +++ poppler/PDFDoc.cc | 3 +++ poppler/PDFDoc.h | 3 +++ poppler/PDFDocEncoding.cc | 3 +++ poppler/PDFDocEncoding.h | 3 +++ poppler/PSOutputDev.cc | 3 +++ poppler/PSOutputDev.h | 3 +++ poppler/PSTokenizer.cc | 3 +++ poppler/PSTokenizer.h | 3 +++ poppler/Page.cc | 3 +++ poppler/Page.h | 3 +++ poppler/Parser.cc | 3 +++ poppler/Parser.h | 3 +++ poppler/SplashOutputDev.cc | 3 +++ poppler/SplashOutputDev.h | 3 +++ poppler/Stream-CCITT.h | 3 +++ poppler/Stream.cc | 3 +++ poppler/Stream.h | 3 +++ poppler/UTF8.h | 3 +++ poppler/XRef.cc | 3 +++ poppler/XRef.h | 3 +++ utils/HtmlFonts.cc | 3 +++ utils/HtmlLinks.cc | 3 +++ utils/HtmlOutputDev.h | 3 +++ utils/parseargs.c | 3 +++ utils/parseargs.h | 3 +++ utils/pdffonts.cc | 3 +++ utils/pdfimages.cc | 3 +++ utils/pdfinfo.cc | 3 +++ utils/pdftohtml.cc | 3 +++ utils/pdftoppm.cc | 3 +++ utils/pdftops.cc | 3 +++ utils/pdftotext.cc | 3 +++ 69 files changed, 207 insertions(+) commit 8670bfed7900586725b30e3af67f6849acc6efda Author: Vasile Gaburici <gaburici@cs.umd.edu> Date: Sat Aug 30 12:47:13 2008 +0200 Fix extraction of images See bug 16999 for more info utils/ImageOutputDev.cc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 1c98f197664b1a2c06e2caf32116a8487f4054bf Author: Vasile Gaburici <gaburici@cs.umd.edu> Date: Sat Aug 30 12:44:02 2008 +0200 Read sMap reverse so CMap entries take precedence See bug 17321 for a more in depth explanation poppler/CharCodeToUnicode.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8f1deb3f8000bdeb845a6c786a654bc7eb684f0a Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 29 23:06:19 2008 +0200 Are we a lib or aren't we? Unify String to Date parsing so we all behave the same way CMakeLists.txt | 2 ++ glib/poppler-document.cc | 29 ++--------------- poppler/DateInfo.cc | 62 +++++++++++++++++++++++++++++++++++++ poppler/DateInfo.h | 27 ++++++++++++++++ poppler/Makefile.am | 2 ++ qt/poppler-document.cc | 22 ++----------- qt4/src/poppler-annotation-helper.h | 16 ++-------- qt4/src/poppler-document.cc | 52 +++---------------------------- utils/pdfinfo.cc | 16 ++-------- utils/pdftohtml.cc | 9 ++---- 10 files changed, 111 insertions(+), 126 deletions(-) commit c39f23dca98d3efe8d094c9a3e1bd460ba57d1ce Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 29 20:50:57 2008 +0200 Add a readme for contributors with licensing and misc info README.contributors | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 35a72590ffd3284e63601af79599e5fa025e567f Author: Albert Astals Cid <aacid@kde.org> Date: Thu Aug 28 00:58:11 2008 +0200 Be more protective against huge font sizes in bogus documents like the one in http://bugs.freedesktop.org/show_bug.cgi?id=17326 10 MB in size is a font of 3200x3200, huge enough to be discarted poppler/SplashOutputDev.cc | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit 33727cf6773b12d736ba245fdd146559ce93102d Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 24 20:36:13 2008 +0200 fix location of the comment fofi/FoFiType1.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit abe29b4fdb33f449649fdea5d7af2deeb702f0bb Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 24 20:24:35 2008 +0200 All changes made to fofi/ files under the poppler project are by people that accepts to license the code under GPLv2+ fofi/FoFiBase.cc | 3 +++ fofi/FoFiTrueType.cc | 3 +++ fofi/FoFiTrueType.h | 3 +++ fofi/FoFiType1.cc | 3 +++ fofi/FoFiType1C.h | 3 +++ 5 files changed, 15 insertions(+) commit 6346d7050a03935c71336c65d5f8f0fe2860d321 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 24 20:23:50 2008 +0200 All changes made to goo/ files under the poppler project are by people that accepts to license the code under GPLv2+ goo/GooString.cc | 3 +++ goo/GooString.h | 3 +++ goo/gfile.cc | 3 +++ goo/gfile.h | 3 +++ goo/gmem.cc | 3 +++ goo/gmem.h | 3 +++ 6 files changed, 18 insertions(+) commit d6e1f1fb4e83527d3ece51d98fa20262713b7da1 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 24 20:22:06 2008 +0200 .cc -> .h poppler/FontInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f0ac70f7ad806cadce379d4fabb90eff697ad52 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 24 19:25:27 2008 +0200 Add missing addresses poppler/ABWOutputDev.cc | 4 ++-- poppler/ABWOutputDev.h | 2 +- poppler/FlateStream.cc | 2 +- poppler/FlateStream.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) commit 22f6af73961686895f207fe13022a21333455862 Merge: 12a9e42 6d6913a Author: Pino Toscano <pino@kde.org> Date: Sun Aug 24 19:03:24 2008 +0200 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 12a9e427fb487165b1797f81d52d733c27bfa2e1 Author: Pino Toscano <pino@kde.org> Date: Sun Aug 24 18:57:52 2008 +0200 [Qt4] add showControl and playMode properties of MovieObject's qt4/src/poppler-movie.cc | 14 ++++++++++++++ qt4/src/poppler-qt4.h | 20 ++++++++++++++++++++ 2 files changed, 34 insertions(+) commit c444c652859b6e52160e5571e84f8eb1292d65f1 Author: Pino Toscano <pino@kde.org> Date: Sun Aug 24 18:47:58 2008 +0200 [Qt4] make the MovieObject ctor private, with only Page able to use it qt4/src/poppler-qt4.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 6d6913a79779769ce0fe2f0b516a90a50e51b947 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 24 18:45:45 2008 +0200 fix Jeff's entry poppler/DCTStream.cc | 2 +- poppler/DCTStream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 25bd5967f9f550a32e20eea91cd00cbeff98249e Author: Pino Toscano <pino@kde.org> Date: Sun Aug 24 18:45:25 2008 +0200 [Qt4] initialize the MovieObject from an AnnotMovie the annotation has all the data we need, so just init from that qt4/src/poppler-movie.cc | 8 ++++---- qt4/src/poppler-page.cc | 4 +--- qt4/src/poppler-qt4.h | 4 ++-- 3 files changed, 7 insertions(+), 9 deletions(-) commit 47f54ad4de111f62a5b8c25520ef6b2bca6026d2 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 24 18:18:13 2008 +0200 Add more correct copyright statements on fofi, goo, poppler and util directories to be more compliant with GPL that requires such modification statements to be present. Meanwhile i did that, i did qt and qt4 dirs too, glib is missing if someone wants to fix it, but it's not crucial as it's not a fork of some other GPL software AUTHORS | 4 +++- fofi/FoFiBase.cc | 11 +++++++++++ fofi/FoFiTrueType.cc | 14 ++++++++++++++ fofi/FoFiTrueType.h | 12 ++++++++++++ fofi/FoFiType1.cc | 12 ++++++++++++ fofi/FoFiType1C.h | 11 +++++++++++ goo/GooString.cc | 13 +++++++++++++ goo/GooString.h | 12 ++++++++++++ goo/GooTimer.cc | 3 +++ goo/GooTimer.h | 8 ++++++-- goo/GooVector.h | 12 ++++++++++++ goo/gfile.cc | 13 +++++++++++++ goo/gfile.h | 11 +++++++++++ goo/gmem.cc | 13 +++++++++++++ goo/gmem.h | 13 +++++++++++++ poppler/ABWOutputDev.cc | 3 ++- poppler/ABWOutputDev.h | 2 +- poppler/Annot.cc | 19 +++++++++++++++++++ poppler/Annot.h | 17 +++++++++++++++++ poppler/Array.cc | 11 +++++++++++ poppler/Array.h | 11 +++++++++++ poppler/ArthurOutputDev.cc | 14 +++++++++++++- poppler/ArthurOutputDev.h | 13 ++++++++++++- poppler/CMap.cc | 12 ++++++++++++ poppler/CMap.h | 11 +++++++++++ poppler/CairoFontEngine.cc | 17 +++++++++++++++++ poppler/CairoFontEngine.h | 17 +++++++++++++++++ poppler/CairoOutputDev.cc | 19 +++++++++++++++++++ poppler/CairoOutputDev.h | 16 ++++++++++++++++ poppler/Catalog.cc | 19 +++++++++++++++++++ poppler/Catalog.h | 16 ++++++++++++++++ poppler/CharCodeToUnicode.cc | 14 ++++++++++++++ poppler/CharCodeToUnicode.h | 13 +++++++++++++ poppler/DCTStream.cc | 5 ++++- poppler/DCTStream.h | 6 +++++- poppler/Decrypt.cc | 12 ++++++++++++ poppler/Decrypt.h | 11 +++++++++++ poppler/Dict.cc | 13 +++++++++++++ poppler/Dict.h | 13 +++++++++++++ poppler/Error.cc | 13 +++++++++++++ poppler/Error.h | 13 +++++++++++++ poppler/FlateStream.cc | 2 ++ poppler/FlateStream.h | 2 ++ poppler/FontInfo.cc | 22 ++++++++++++++++++++++ poppler/FontInfo.h | 21 +++++++++++++++++++++ poppler/Form.cc | 10 +++++++++- poppler/Form.h | 6 +++++- poppler/Function.cc | 12 ++++++++++++ poppler/Gfx.cc | 23 +++++++++++++++++++++++ poppler/Gfx.h | 13 +++++++++++++ poppler/GfxFont.cc | 19 +++++++++++++++++++ poppler/GfxFont.h | 16 ++++++++++++++++ poppler/GfxState.cc | 14 ++++++++++++++ poppler/GfxState.h | 13 +++++++++++++ poppler/GlobalParams.cc | 19 +++++++++++++++++++ poppler/GlobalParams.h | 15 +++++++++++++++ poppler/JBIG2Stream.cc | 13 +++++++++++++ poppler/JPXStream.cc | 11 +++++++++++ poppler/Lexer.cc | 12 ++++++++++++ poppler/Lexer.h | 12 ++++++++++++ poppler/Link.cc | 14 ++++++++++++++ poppler/Link.h | 12 ++++++++++++ poppler/Movie.cc | 17 ++++++++++++++++- poppler/Object.cc | 11 +++++++++++ poppler/Object.h | 12 ++++++++++++ poppler/OptionalContent.cc | 5 ++++- poppler/Outline.cc | 11 +++++++++++ poppler/Outline.h | 11 +++++++++++ poppler/OutputDev.cc | 13 +++++++++++++ poppler/OutputDev.h | 14 ++++++++++++++ poppler/PDFDoc.cc | 15 +++++++++++++++ poppler/PDFDoc.h | 15 +++++++++++++++ poppler/PDFDocEncoding.cc | 13 ++++++++++++- poppler/PDFDocEncoding.h | 11 +++++++++++ poppler/PSOutputDev.cc | 15 +++++++++++++++ poppler/PSOutputDev.h | 14 ++++++++++++++ poppler/PSTokenizer.cc | 12 ++++++++++++ poppler/PSTokenizer.h | 11 +++++++++++ poppler/Page.cc | 20 ++++++++++++++++++++ poppler/Page.h | 16 ++++++++++++++++ poppler/PageLabelInfo.cc | 12 ++++++++++++ poppler/PageLabelInfo.h | 12 ++++++++++++ poppler/PageTransition.h | 18 ++++++++++++++++++ poppler/Parser.cc | 12 ++++++++++++ poppler/Parser.h | 11 +++++++++++ poppler/SplashOutputDev.cc | 16 ++++++++++++++++ poppler/SplashOutputDev.h | 11 +++++++++++ poppler/Stream-CCITT.h | 11 +++++++++++ poppler/Stream.cc | 14 ++++++++++++++ poppler/Stream.h | 13 +++++++++++++ poppler/TextOutputDev.cc | 18 ++++++++++++++++++ poppler/TextOutputDev.h | 15 +++++++++++++++ poppler/UTF8.h | 11 +++++++++++ poppler/UnicodeTypeTable.cc | 13 +++++++++++++ poppler/UnicodeTypeTable.h | 11 +++++++++++ poppler/XRef.cc | 17 ++++++++++++++++- poppler/XRef.h | 14 ++++++++++++++ qt/poppler-document.cc | 3 +++ qt/poppler-fontinfo.cc | 3 +-- qt/poppler-page.cc | 7 ++++++- qt/poppler-private.h | 4 ++++ qt/poppler-qt.h | 5 ++++- qt4/src/poppler-annotation-helper.h | 1 + qt4/src/poppler-annotation.cc | 3 ++- qt4/src/poppler-annotation.h | 4 +++- qt4/src/poppler-document.cc | 4 +++- qt4/src/poppler-embeddedfile.cc | 1 + qt4/src/poppler-fontinfo.cc | 5 ++++- qt4/src/poppler-form.cc | 2 +- qt4/src/poppler-form.h | 2 +- qt4/src/poppler-link-extractor-private.h | 2 +- qt4/src/poppler-link-extractor.cc | 2 +- qt4/src/poppler-link.cc | 3 ++- qt4/src/poppler-link.h | 1 + qt4/src/poppler-optcontent-private.h | 1 + qt4/src/poppler-optcontent.cc | 1 + qt4/src/poppler-optcontent.h | 1 + qt4/src/poppler-page-private.h | 2 ++ qt4/src/poppler-page.cc | 4 ++++ qt4/src/poppler-private.h | 4 +++- qt4/src/poppler-ps-converter.cc | 1 + qt4/src/poppler-qt4.h | 5 ++++- qt4/src/poppler-textbox.cc | 2 ++ splash/Splash.cc | 12 ++++++++++++ splash/Splash.h | 12 ++++++++++++ splash/SplashBitmap.cc | 12 ++++++++++++ splash/SplashBitmap.h | 11 +++++++++++ splash/SplashErrorCodes.h | 11 +++++++++++ splash/SplashFTFont.cc | 12 ++++++++++++ splash/SplashFTFont.h | 11 +++++++++++ splash/SplashFTFontEngine.cc | 11 +++++++++++ splash/SplashFTFontEngine.h | 11 +++++++++++ splash/SplashFTFontFile.cc | 11 +++++++++++ splash/SplashFTFontFile.h | 11 +++++++++++ splash/SplashFont.cc | 11 +++++++++++ splash/SplashFont.h | 11 +++++++++++ splash/SplashFontEngine.cc | 11 +++++++++++ splash/SplashFontEngine.h | 11 +++++++++++ splash/SplashFontFile.cc | 12 ++++++++++++ splash/SplashFontFile.h | 12 ++++++++++++ splash/SplashT1Font.cc | 11 +++++++++++ splash/SplashT1Font.h | 11 +++++++++++ splash/SplashT1FontEngine.cc | 11 +++++++++++ splash/SplashT1FontFile.cc | 11 +++++++++++ splash/SplashT1FontFile.h | 11 +++++++++++ splash/SplashTypes.h | 11 +++++++++++ splash/SplashXPathScanner.cc | 11 +++++++++++ utils/HtmlFonts.cc | 24 ++++++++++++++++++++++++ utils/HtmlFonts.h | 12 ++++++++++++ utils/HtmlLinks.cc | 23 +++++++++++++++++++++++ utils/HtmlLinks.h | 12 ++++++++++++ utils/HtmlOutputDev.cc | 13 +++++++++++++ utils/HtmlOutputDev.h | 11 +++++++++++ utils/ImageOutputDev.cc | 13 +++++++++++++ utils/ImageOutputDev.h | 12 ++++++++++++ utils/parseargs.c | 13 +++++++++++++ utils/parseargs.h | 11 +++++++++++ utils/pdffonts.cc | 12 ++++++++++++ utils/pdfimages.cc | 11 +++++++++++ utils/pdfinfo.cc | 12 ++++++++++++ utils/pdftoabw.cc | 26 +++++++++++++++++++------- utils/pdftohtml.cc | 11 +++++++++++ utils/pdftoppm.cc | 11 +++++++++++ utils/pdftops.cc | 12 ++++++++++++ utils/pdftotext.cc | 12 ++++++++++++ 165 files changed, 1795 insertions(+), 37 deletions(-) commit 0dfbb8996ee91aa044eb2bdf2859ef64005116f8 Author: Loïc Minier <lool@dooz.org> Date: Wed Aug 20 22:10:07 2008 +0200 Fixes escaping of hyphens in man pages utils/pdfinfo.1 | 2 +- utils/pdftops.1 | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) commit 6cfa0e598a81460e5d0a7d60d8584366d2a70165 Author: Loïc Minier <lool@dooz.org> Date: Wed Aug 20 19:57:42 2008 +0200 Fix synopsis of pdftops in man page to clarify that a PDF file is required in all cases utils/pdftops.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 48a73cc709a8bed9d2d0f9cbd2a9d2b6c0dad05b Author: Pino Toscano <pino@kde.org> Date: Sat Aug 23 19:26:01 2008 +0200 [Qt4] convert the title of movie annotations qt4/src/poppler-page.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 419ec15ac825f2e0052b411462f00ac57fed030e Author: Pino Toscano <pino@kde.org> Date: Sat Aug 23 19:25:04 2008 +0200 [Qt4] get/set the title for movie annotations qt4/src/poppler-annotation.cc | 13 +++++++++++++ qt4/src/poppler-annotation.h | 3 +++ 2 files changed, 16 insertions(+) commit 63bcaf113fcb5a4a9e5c120df2c3dafb2977c90a Author: Pino Toscano <pino@kde.org> Date: Sat Aug 23 01:58:30 2008 +0200 [Qt4] convert the movie annotation from the core type to the Qt4 one qt4/src/poppler-page.cc | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 5cc490de74af12726bdeb9b5a6a0f0d1d79383b5 Author: Pino Toscano <pino@kde.org> Date: Sat Aug 23 01:55:41 2008 +0200 [Qt4] first version of a MovieAnnotation right mow it just holds the movie object qt4/src/poppler-annotation.cc | 74 +++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-annotation.h | 26 ++++++++++++++- 2 files changed, 99 insertions(+), 1 deletion(-) commit 3d5c2e22d790d7c139e1cd28aebb21cfe76b8b6b Author: Pino Toscano <pino@kde.org> Date: Sat Aug 23 01:54:30 2008 +0200 compile the new poppler-movie.cc qt4/src/CMakeLists.txt | 1 + qt4/src/Makefile.am | 1 + 2 files changed, 2 insertions(+) commit 599698a9b133999f1f0bb0548489111e9d7b6f05 Author: Pino Toscano <pino@kde.org> Date: Sat Aug 23 01:52:58 2008 +0200 [Qt4] first version of a MovieObject object for movies slightly differs from the version in core qt4/src/poppler-movie.cc | 73 ++++++++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-qt4.h | 34 ++++++++++++++++++++++ 2 files changed, 107 insertions(+) commit 820f15009845870701e1f4e7f4fc4fb93312ab3e Author: Pino Toscano <pino@kde.org> Date: Sat Aug 23 01:45:07 2008 +0200 fix Movie::copy() the default copy ctor already does the vertbatim copies, so no need to do them on our own; what needs to be done is checking whether an object is valid before either doing a "smart copy" or "postprocessing" it poppler/Movie.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit c3a006ae35250e9a5638c2ce713b7470380751c7 Author: Pino Toscano <pino@kde.org> Date: Sat Aug 23 01:04:34 2008 +0200 compile attachments.c in the demo with cmake as well glib/demo/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit b5a7987a50b3d28fbfa219e2cef85b9e53aaf079 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Aug 21 20:40:18 2008 +0200 [glib-demo] Fix attachments demo with documents that don't contain attachments glib/demo/attachments.c | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) commit a2b0aefedbdb20ce0ef8398a700202021fcf00db Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Aug 21 20:14:50 2008 +0200 [glib-demo] Fix typo glib/demo/attachments.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9e563d6d877624b1caf82ac30c5ae30a1eb48f21 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Aug 21 20:12:33 2008 +0200 [glib-demo] Add checksum validation to attachments demo glib/demo/attachments.c | 101 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) commit e233325e6f13d8b232bf68a2812fe755e7fccd4d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Aug 21 19:03:32 2008 +0200 [glib-demo] Add demo for attachments glib/demo/Makefile.am | 2 + glib/demo/attachments.c | 242 ++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/attachments.h | 31 +++++++ glib/demo/main.c | 4 +- glib/demo/utils.c | 23 +++++ glib/demo/utils.h | 1 + 6 files changed, 302 insertions(+), 1 deletion(-) commit 0e2efa0fce5bf059ce85d3e3bec2293b405ec3c9 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Aug 21 19:02:24 2008 +0200 [glib] Make sure name and descripction are valid utf8 strings glib/poppler-attachment.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 15a73704ab6b009ca5e07c08f0b12d970adc387d Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Tue Aug 19 09:18:03 2008 +0100 Memleak and invalid free. CairoOutputDev::setSoftMask() fails to free the cairo_t and mask it uses to draw the opaque soft mask and attempts to destroy a reference to a surface it does not own (this bug was masked by the fact that a reference was still being held by the unfreed cairo_t). poppler/CairoOutputDev.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit d3110e392097db54e9ee59300213e490dee39126 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 19 19:19:09 2008 +0200 Fix include so it can be used in the unsupported way of installing internal poppler/ headers Notified by Caolan McNamara <caolanm@redhat.com> poppler/PreScanOutputDev.h | 2 +- poppler/SecurityHandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 303249e5548bfbf6823e97850e498970d802b4a0 Author: Albert Astals Cid <tsdgeos@samsung.localdomain> Date: Fri Aug 15 01:52:52 2008 +0200 Revert 123a87aff2e35b10efe6a1d715585b427e4a9afa it creates problems with some pdf files poppler/Gfx.cc | 14 ++------------ poppler/Gfx.h | 3 --- 2 files changed, 2 insertions(+), 15 deletions(-) commit 27ddf3c5e839358c8553d41743faa8ee304767bf Author: Pino Toscano <pino@kde.org> Date: Wed Aug 13 13:55:57 2008 +0200 [Qt4] make sure to use the correct page width/height for form widgets coordinates qt4/src/poppler-form.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 2e7b0eb4af8cf5938833e5659d01b77096e7b7f7 Author: Pino Toscano <pino@kde.org> Date: Tue Aug 12 13:49:52 2008 +0200 [Qt4] add a method to get the activation action of a FormField qt4/src/poppler-form.cc | 19 +++++++++++++++++++ qt4/src/poppler-form.h | 8 ++++++++ 2 files changed, 27 insertions(+) commit f9e679adbd6830da26eb9909bcb16e3bdf0da6b4 Author: Pino Toscano <pino@kde.org> Date: Tue Aug 12 13:47:15 2008 +0200 create a static version of PageData::convertLinkActionToLink() qt4/src/poppler-page-private.h | 2 ++ qt4/src/poppler-page.cc | 5 +++++ 2 files changed, 7 insertions(+) commit a6ecc864ea3e94d7232cff6a2e8f49919d8f24ff Author: Albert Astals Cid <tsdgeos@samsung.localdomain> Date: Tue Aug 12 01:23:21 2008 +0200 initialize widget, fixes crash on EC2006.pdf poppler/Annot.cc | 1 + 1 file changed, 1 insertion(+) commit 123a87aff2e35b10efe6a1d715585b427e4a9afa Author: Albert Astals Cid <tsdgeos@samsung.localdomain> Date: Tue Aug 12 00:37:09 2008 +0200 Cache the last created GfxResource, very useful because some pdf created by pstopdf push and pop the same GfxResource all the time This brings us a speedup of 16 times (from 11 seconds to about 600 msec) in kde bug 168663 poppler/Gfx.cc | 14 ++++++++++++-- poppler/Gfx.h | 3 +++ 2 files changed, 15 insertions(+), 2 deletions(-) commit 5ad1a12183f4b8e328f32386a74b5616e7e59070 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 4 20:34:42 2008 +0200 Be less strict when parsing TTF tables With this change and freetype from CVS i can render Bug 16940 using the splash renderer fofi/FoFiTrueType.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit d322720428fa416b7d5f23acc72d1d4b4f74d041 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 4 20:16:50 2008 +0200 Report an error when FoFiTrueType::load or FoFiTrueType::make fail poppler/SplashOutputDev.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 901ebc84ff7c0872c3f9f5e6eaf418ba6400fa10 Author: Pino Toscano <pino@kde.org> Date: Sun Aug 3 10:54:09 2008 +0200 [Qt4] Make the paper color setting working as it should. A BGR colorspace means that colors should be set as blue,green,red, and not red,green,blue. qt4/src/poppler-private.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 66b34c78943be598778a3ef438b0cefac668c6a2 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 2 13:54:34 2008 +0200 This should not be here, breaks jpeg rendering when not using libjpeg That was included erroneously when the file writing code was added poppler/Stream.cc | 1 - 1 file changed, 1 deletion(-) commit fd8d71ea8b12393201ece9c09372fd69c7573025 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 1 23:47:51 2008 +0200 These defines are unneeded too msvc/poppler/poppler-config.h | 30 ------------------------------ poppler-config.h.cmake | 30 ------------------------------ poppler/poppler-config.h.in | 30 ------------------------------ 3 files changed, 90 deletions(-) commit 391b5d5cdd9f63fe90229f88cdad628fb63c0206 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 1 23:36:09 2008 +0200 Get rid of more defines, say our version on command line tools, also say our copyright Did not modify PSOutputDev.cc output as PS is too fragile msvc/poppler/poppler-config.h | 9 +-------- poppler-config.h.cmake | 9 +-------- poppler/PSOutputDev.cc | 2 +- poppler/poppler-config.h.in | 9 +-------- utils/pdffonts.cc | 3 ++- utils/pdfimages.cc | 3 ++- utils/pdfinfo.cc | 3 ++- utils/pdftohtml.cc | 3 ++- utils/pdftoppm.cc | 3 ++- utils/pdftops.cc | 3 ++- utils/pdftotext.cc | 3 ++- 11 files changed, 18 insertions(+), 32 deletions(-) commit d14fb1513be045363f7edec21cee04fd4937ede2 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 1 23:14:28 2008 +0200 Add GooList *getEncodingNames(); Forgot to commit this earlier :-( poppler/GlobalParams.cc | 19 +++++++++++++++++++ poppler/GlobalParams.h | 2 ++ 2 files changed, 21 insertions(+) commit 9fd34443d765ccd61864d18bceadc049d905b957 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 1 23:09:39 2008 +0200 remove defines we don't use at all msvc/poppler/poppler-config.h | 4 ---- poppler-config.h.cmake | 4 ---- poppler/poppler-config.h.in | 4 ---- 3 files changed, 12 deletions(-) commit 0f13013dc3079915572b6b002dac8d01d2dbde04 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 1 23:06:50 2008 +0200 xpdfrc has been dead for a while msvc/poppler/poppler-config.h | 25 ------------------------- poppler-config.h.cmake | 25 ------------------------- poppler/poppler-config.h.in | 25 ------------------------- 3 files changed, 75 deletions(-) commit 96392667d1331d2f8750f27c116e34bbf9282dca Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 1 22:20:55 2008 +0200 Provide a default constructor for FontInfo so you can use it as metatype for qvariant qt4/src/poppler-fontinfo.cc | 5 +++++ qt4/src/poppler-private.h | 7 +++++++ qt4/src/poppler-qt4.h | 5 +++++ 3 files changed, 17 insertions(+) commit 9fd1077e63d97a316380b8df4821bf4c9434fb52 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 1 17:47:51 2008 +0200 Build with cmake too utils/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d8d6a3f46620d45c279b7ca1a4a2fa3a36285cde Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 1 17:44:07 2008 +0200 Improve manpages and add -listenc to pdfinfo and pdftotext in the way Our manpages listed things like xpdfrc and -cfg options we don't support at all. Also some options were missing from the man pages Finally there was the -enc option you completely had to guess which string to pass, so i've added the -listenc option to get the user the list of encodings he can use utils/Makefile.am | 2 ++ utils/pdffonts.1 | 18 ------------------ utils/pdfimages.1 | 14 -------------- utils/pdfinfo.1 | 28 ++++------------------------ utils/pdfinfo.cc | 16 ++++++++++++++-- utils/pdftoppm.1 | 42 +++++++++++++++++++++--------------------- utils/pdftops.1 | 41 +++-------------------------------------- utils/pdftotext.1 | 32 ++++---------------------------- utils/pdftotext.cc | 16 ++++++++++++++-- utils/printencodings.cc | 34 ++++++++++++++++++++++++++++++++++ utils/printencodings.h | 24 ++++++++++++++++++++++++ 11 files changed, 120 insertions(+), 147 deletions(-) commit f5b0ca794b0879e3d239bf1d6138b15ead27d9ca Author: Adrian Johnson <ajohnson@redneon.com> Date: Tue Jul 29 20:18:33 2008 +0930 Fix ActualText string length check in TextOutputDev.cc poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 21bbdc9d663995336900f1ce97cf294f04464e01 Author: Boris Toloknov <tlknv@yandex.ru> Date: Mon Jul 28 21:02:07 2008 +0200 make xml output valid xml utils/HtmlLinks.cc | 33 ++++++++++++++++++-- utils/HtmlOutputDev.cc | 85 ++++++++++++++++++++++++++++++++------------------ 2 files changed, 85 insertions(+), 33 deletions(-) commit dccfc4c2910b47a77cd7b6019d9365f1684ffd0c Author: Boris Toloknov <tlknv@yandex.ru> Date: Mon Jul 28 20:58:13 2008 +0200 Limit ascent and descent are to reasonable values. See bug 16592 to cases where this helps utils/HtmlOutputDev.cc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 0fd5a3db1ddad447d44b64eff9abfb077a7853a0 Author: Boris Toloknov <tlknv@yandex.ru> Date: Mon Jul 28 20:52:19 2008 +0200 Make html output to keep all the spaces with   utils/HtmlFonts.cc | 2 ++ utils/HtmlOutputDev.cc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 650c73fa0f570f699d907e33060fb23290940b42 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jul 28 20:44:13 2008 +0200 findDest crashes on null goostrings so rework the ifs a bit utils/HtmlOutputDev.cc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit adee9c0e9e8b2de20309b3ae6eb8e6d6ed05cf85 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jul 26 00:04:03 2008 +0200 We are not storing the ctu, so decref and leak-- :-) poppler/Annot.cc | 1 + 1 file changed, 1 insertion(+) commit e7b3e3ae3080bd6f239f7d96761729ad30b075ae Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 25 23:52:28 2008 +0200 Fix leak qt4/src/poppler-form.cc | 1 + 1 file changed, 1 insertion(+) commit 006b974d4faae53e6bd51a4281dd923ab1c2d4e8 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 25 23:15:11 2008 +0200 Fix memory leak poppler/Annot.cc | 1 + 1 file changed, 1 insertion(+) commit 3a549d75acceedfa25dcf79074d0cdfb643c746e Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 25 23:08:21 2008 +0200 Free the previous modified object in case it exists poppler/XRef.cc | 1 + 1 file changed, 1 insertion(+) commit 040d244b97a554342061c777a286e99dbb9acabd Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 25 21:31:55 2008 +0200 Need this or otherwise it crashes on complete overwrite poppler/PDFDoc.cc | 1 + 1 file changed, 1 insertion(+) commit 11ebceeef938a7e6fa9b5437e65b5b4b822f3018 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 25 21:30:24 2008 +0200 Fix my last fix about saving, i think this is the correct one - One incremental update only write the modified entries xref, not all - Update gen to 0 when resizing entries - On XRef::add correctly initialize all newly allocated entries poppler/PDFDoc.cc | 4 ++-- poppler/XRef.cc | 57 ++++++++++++++++++++++++++++++++++++++++++++----------- poppler/XRef.h | 2 +- 3 files changed, 49 insertions(+), 14 deletions(-) commit 03d445f485f90972ab1c05d79b2999b763ab7377 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 25 20:16:54 2008 +0200 Fix XRef::writeToFile after my change poppler/XRef.cc | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit 136fa97576f2df0d7a7563b34651ca222927ea57 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 25 20:12:51 2008 +0200 Fix XRef::add and XRef::addIndirectObject, also remove num from XRefEntry Previous code was under some incorrect assumptions: * our XRef does not maintain the free link list so if you want to find a free entry you have to go though all of them * our XRefEntry does not need a num because the index itself is the num Conflicts: poppler/XRef.cc poppler/XRef.cc | 70 +++++++++++++++++++++------------------------------------ poppler/XRef.h | 1 - 2 files changed, 25 insertions(+), 46 deletions(-) commit 55572b77da95c47393b78f3aff804ea9c5ae17e5 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 22 22:50:00 2008 +0200 Really do what the comment says and also init changeLeft, changeTop and changeZoom poppler/Link.cc | 1 + 1 file changed, 1 insertion(+) commit 8dc7afaeea08183de331ecfd41ce1971e7772fd0 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 22 21:05:03 2008 +0200 Some documents have loops in XObject dictionaries, make sure we don't get in an infinite loop while traversing them Fixes infinite loop on http://bugs.kde.org/show_bug.cgi?id=166145 poppler/FontInfo.cc | 44 ++++++++++++++++++++++++++++++++++++-------- poppler/FontInfo.h | 4 ++++ 2 files changed, 40 insertions(+), 8 deletions(-) commit 9fb17c952dcff798e45280eeb9c718680147e766 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jul 20 13:47:11 2008 +0200 Fix condition, we want thumb to be a Stream, not to be non null Fixes bug 16579 glib/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3696025977fd345b12767f75a2de6ed7e9467365 Author: Pino Toscano <pino@kde.org> Date: Fri Jul 18 23:32:25 2008 +0200 initialize pageWidgets, otherwise it can be a rubbish pointer is Annots is not a valid object poppler/Page.cc | 1 + 1 file changed, 1 insertion(+) commit 0189ff8b86de18486f7397076f7a0fbf133a1a33 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 1 20:16:50 2008 +0200 Fix condition, we want fetched_thumb to be a Stream, not to be non null Fixes bug 16579 poppler/Page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5bd77dcdd5220d63934f4b3e78d85a936947a53d Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 1 00:49:01 2008 +0200 forgot about we use autofoo too qt4/tests/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) commit 5ed2503003d973b5461594af15485af49591451d Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 1 00:43:26 2008 +0200 unittesting about ActualText qt4/tests/CMakeLists.txt | 1 + qt4/tests/check_actualtext.cpp | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) commit f3bb2eb556f5248242f6db85052ef045fcb697c6 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 1 00:41:35 2008 +0200 Unbreak ActualText extraction poppler/Gfx.cc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) commit 9e9543b105b39f8b0048c00fc94741e43ad615e9 Author: Pino Toscano <pino@kde.org> Date: Thu Jun 26 20:19:06 2008 +0200 use FindPackageHandleStandardArgs cmake/modules/FindLIBOPENJPEG.cmake | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) commit fec41ceddebe194f139bcc5b2f3fa74e7d1ae502 Author: Pino Toscano <pino@kde.org> Date: Thu Jun 26 20:18:27 2008 +0200 need to use LIBOPENJPEG_FOUND, as it really represents whether libopenjpeg was found or not CMakeLists.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 5498d93e59a0b79e5add3dc6181d5e98ba689217 Author: Michael Vrable <mvrable@cs.ucsd.edu> Date: Fri Jun 20 21:42:34 2008 -0700 Use a single global FT_Library in CairoOutputDev Cairo may internally keep references to the FreeType fonts loaded in CairoFontEngine even after poppler is done with them. Commit 42db4890e829 ("Do not call FT_Done_Face on a live cairo_font_face_t") introduced a fix for one use-after-free bug, by delaying deleting an FT_Face objects until cairo is done with it. That fix doesn't correct all the bugs. An FT_Library object is created for each CairoOutputDev object, and deleted when the CairoOutputDev goes away. But the FT_Library object should not be deleted while fonts loaded using it are still in use. And cairo can keep references to fonts around more or less indefinitely. To more fully fix the problem, we can either: 1. Keep a count of not-yet-deleted fonts associated with each FT_Library, and wait to call FT_Done_FreeType until it drops to zero. 2. Never call FT_Done_FreeType. The second option is the simplest. To avoid leaking memory FT_Library objects, use a single global FT_Library instead of a per-CairoOutputDev copy. poppler/CairoOutputDev.cc | 18 +++++++++++++++--- poppler/CairoOutputDev.h | 4 +++- 2 files changed, 18 insertions(+), 4 deletions(-) commit c75632d62a052d3c3739b96f5586f97c68baf25b Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 24 02:31:43 2008 +0200 Open in WriteOnly mode, fixes the fact that when writing to an existing file, the contents beyond what we wrote were still there qt4/src/poppler-base-converter.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9810fdfc54aac80aa99561a9d820d11b062e4637 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 24 02:12:21 2008 +0200 the entry is not updated here either, fix uninitialized variable use poppler/XRef.cc | 1 + 1 file changed, 1 insertion(+) commit 2da15db4751d3cb93d40b48e348dbc51f6e7a29f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jun 20 11:39:08 2008 +0200 Do not create an OCGs object if there isn't an OCProperties dictionary in the Catalog poppler/Catalog.cc | 5 +++-- poppler/Gfx.cc | 12 +++++++++++- poppler/OptionalContent.cc | 25 +++++-------------------- 3 files changed, 19 insertions(+), 23 deletions(-) commit d6fb5dcb7b7596961800d9744d17b6adb8d9a2ad Author: Michael Vrable <mvrable@cs.ucsd.edu> Date: Wed Jun 18 11:24:05 2008 -0700 Fix a crash in the cairo backend with Type 3 glyphs Commit 86b7e8a3bee7 ("Ensure cairo renders Type 3 glyphs with only the fill color") introduced a bug into the Cairo backend, causing evince to crash with the message evince: cairo-pattern.c:679: cairo_pattern_destroy: Assertion `((*&(&pattern->ref_count)->ref_count) > 0)' failed. Fix this by updating reference counts to the fill and stroke patterns when modifying them in beginType3Char. Simplify the code as well by not saving the old stroke pattern before overriding it; this is already done since beginType3Char/endType3Char is wrapped by calls to saveState/restoreState in Gfx::doShowText. poppler/CairoOutputDev.cc | 4 ++-- poppler/CairoOutputDev.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit c3a00c83f1d24c1f88e7ed3b3f772460e578f3cc Author: Pino Toscano <pino@kde.org> Date: Sun Jun 15 02:39:31 2008 +0200 poppler-page-transition.h is here now qt4/src/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2affed0fc97b958ae46f531c471a3cf0b04c0f55 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jun 14 01:24:49 2008 +0200 Give warnings if the build configuration for stream decoders is different from default one configure.ac | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) commit 8e74bc612cb4102891324ffdbfcdb47293ecb95e Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jun 14 01:13:53 2008 +0200 Warn the user if he does not have any enabled rendering backend configure.ac | 3 +++ 1 file changed, 3 insertions(+) commit 99d2361032cbaafd69bd796170757ed6482f208d Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jun 14 00:53:38 2008 +0200 Add a JPEG2000 decoder based on OpenJPEG Enabled by default since it's generally better than xpdf one See http://lists.freedesktop.org/archives/poppler/2008-June/003874.html for more information CMakeLists.txt | 30 +++++- cmake/modules/FindLIBOPENJPEG.cmake | 44 +++++++++ configure.ac | 33 +++++++ poppler/JPEG2000Stream.cc | 181 ++++++++++++++++++++++++++++++++++++ poppler/JPEG2000Stream.h | 48 ++++++++++ poppler/Makefile.am | 22 ++++- poppler/Stream.cc | 7 +- 7 files changed, 360 insertions(+), 5 deletions(-) commit e368838d7f9691c7b1adf7d7f62f65abed91eea7 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 11 00:48:53 2008 +0200 [Qt4] Add the possibility of getting a QByteArray with the data of an embedded font qt4/src/poppler-document.cc | 23 +++++++++++++++++++++++ qt4/src/poppler-private.h | 3 +++ qt4/src/poppler-qt4.h | 5 +++++ 3 files changed, 31 insertions(+) commit 184292ffb8fef5aa5a72bdbfcc0c95b663f452bd Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 10 23:00:11 2008 +0200 Make the fontRef and the embRef accessible to FontInfo users poppler/FontInfo.cc | 2 +- poppler/FontInfo.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) commit 86b7e8a3bee74c5b89c451137cf9c2758ba6913f Author: Adrian Johnson <ajohnson@redneon.com> Date: Sun Jun 8 18:00:05 2008 +0930 Ensure cairo renders Type 3 glyphs with only the fill color poppler/CairoOutputDev.cc | 3 +++ poppler/CairoOutputDev.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 99e2d95728f41c91ab59a01c62d82b19a7a2e083 Author: Adrian Johnson <ajohnson@redneon.com> Date: Sun Jun 1 00:49:32 2008 +0930 glib: save/restore cairo state when rendering a page glib/poppler-page.cc | 2 ++ 1 file changed, 2 insertions(+) commit 6f40ee4af6b59f9d2c326adc8d2574e45f4d4d29 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 8 23:46:04 2008 +0200 Make sure we use Qt4 moc to generate moc files of the qt4 frontend configure.ac | 20 ++++++++++++++++++++ qt4/demos/Makefile.am | 2 +- qt4/src/Makefile.am | 2 +- qt4/tests/Makefile.am | 2 +- 4 files changed, 23 insertions(+), 3 deletions(-) commit 86aa8fc0708f7da4a907a8bdb1845e53d29892b7 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jun 5 19:21:08 2008 +0200 Fix leak on ABWOutputDev.cc poppler/ABWOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit 979ef1cafa968d776a2b804ce555b11212212397 Author: Koji Otani <sho@bbr.jp> Date: Tue Jun 3 21:07:15 2008 +0200 Support for surrogates outside the BMP plane poppler/TextOutputDev.cc | 19 ++++++++++++++++++- poppler/UTF8.h | 14 ++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) commit 1614ab3036cf25c9b94967163996678d386ce0ac Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 1 16:32:55 2008 +0200 Do not limit CharCodeToUnicodeString to 8 characters poppler/Annot.cc | 10 +++++----- poppler/CharCodeToUnicode.cc | 37 +++++++++++++++++++++---------------- poppler/CharCodeToUnicode.h | 2 +- poppler/Gfx.cc | 8 ++++---- poppler/GfxFont.cc | 43 ++++++++++++++++++++++++------------------- poppler/GfxFont.h | 6 +++--- poppler/PSOutputDev.cc | 4 ++-- 7 files changed, 60 insertions(+), 50 deletions(-) commit bf95c6970dacaa62512de858cf60ff6cf0c1bf7c Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 1 00:07:11 2008 +0200 [Qt] Fix leak when calling Poppler::Document::scanForFonts qt/poppler-document.cc | 1 + 1 file changed, 1 insertion(+) commit d21d7271fc74ab78cd157549138d0027cf179471 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 31 23:57:31 2008 +0200 Make sure file exists before printing it utils/HtmlOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0480a788c0f25af1bc09360b599debb37f831e10 Author: Albert Astals Cid <aacid@kde.org> Date: Tue May 27 23:20:32 2008 +0200 require gthread-2.0 cmake/modules/FindGTK.cmake | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 2e40ef652eb9fca7fe947acb2adfecc96ad3c50e Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 26 22:13:38 2008 +0200 Do not shadow a paramer with a local variable name qt4/src/poppler-page.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1fd856aa1fb48869111e5b86f263bfd94fa7af17 Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 26 20:52:53 2008 +0200 Do not leak tSplash if transpGroupStack->blendingColorSpace is NULL poppler/SplashOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 492209ec8648342a3a5447611f3f1ce63b63e8e9 Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 26 20:51:06 2008 +0200 Move variables only used inside the loop inside the loop, fix delete of uninitialized data due to my previous patch poppler/Page.cc | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) commit 79ab8cceb318f3bb5ebad431824e3ae593aea340 Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 26 20:38:59 2008 +0200 Do not leak memory if data_out is NULL poppler/Page.cc | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) commit f44c33344d4af31ee008826179bcd92db445f35a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun May 25 19:16:12 2008 +0200 [glib] Init glib threads in demo app as required by g_timer configure.ac | 4 ++-- glib/demo/main.c | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) commit 58d5b7b9ab9ac245481299c4765f3bd305580d2e Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 21 22:18:29 2008 +0200 [Qt4] Fix text() method I'm not sure this is the real and correct fix, but it works more than previous code so it's and improvement qt4/src/poppler-page.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit e3e4113c73128f49f99289b592446d4382b5d65c Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 12 15:39:43 2008 +0200 Add getters to some TextBlock members. Needed by some reader using poppler internals, bad you! poppler/TextOutputDev.h | 5 +++++ 1 file changed, 5 insertions(+) commit ff699e64bd1de78915aad4ddb79d6f529aef2b87 Author: Albert Astals Cid <aacid@kde.org> Date: Sun May 11 23:44:50 2008 +0200 Check the OC we found exists before using it Fixes crash http://bugs.freedesktop.org/show_bug.cgi?id=15899 poppler/OptionalContent.cc | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) commit ac26ba5148b99a03a56e37ba201ad420b8619943 Author: Albert Astals Cid <aacid@kde.org> Date: Fri May 9 20:17:37 2008 +0200 Do not crash on unlock with wrong password qt/poppler-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 19ec5a531cb03a7bee1cfcc9c7d5c4390fbd069d Author: Albert Astals Cid <aacid@kde.org> Date: Thu May 8 23:15:58 2008 +0200 Fix build with --enable-fixedpoint splash/Splash.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1cf5f0fda542efef575a123622637d81b9c42053 Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 7 18:49:28 2008 +0200 [Qt] Fix Document::unlock qt/poppler-document.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b5041924eb023cc095f2445935ff713cf65dacce Author: Pino Toscano <pino@kde.org> Date: Wed May 7 16:44:03 2008 +0200 do not delete the GooString owned by an Object poppler/Annot.cc | 4 ---- 1 file changed, 4 deletions(-) commit 546a7b700862db00240de9fd50bdba1dd347765b Author: Albert Astals Cid <aacid@kde.org> Date: Sun May 4 15:26:26 2008 +0200 Fix leaks on error conditions poppler/Annot.cc | 6 ++++++ poppler/ArthurOutputDev.cc | 1 + poppler/JBIG2Stream.cc | 1 + 3 files changed, 8 insertions(+) commit 914f1b1d814ab3d958aa0ca21ad73ef5aed20b89 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 3 18:21:28 2008 +0200 A widget annot does not always belong to a form, so check before accessing the widget member poppler/Annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c907e41ab18dda10cd3c9789bd0e7fe71b6402a8 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 30 00:42:34 2008 +0200 findSegment can return NULL check for it poppler/JBIG2Stream.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8b7f29b577bca3295e99fea4a5cf4a6bb7ba2617 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 30 00:26:28 2008 +0200 new[] implies delete[] poppler/ABWOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 926c13825d5f7364286975db8ffa507b92f4b3ab Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 23:44:51 2008 +0200 add lost return when adding kees patch poppler/Object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba9283f6bc78e97006e52ef5de20c958ee9e1a37 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 23:42:00 2008 +0200 make the function static utils/pdftoppm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 931a8272f556ba8a35342f0c5bf53bdb57ea7a31 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 23:41:31 2008 +0200 make the variable static utils/pdftoabw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1887d2910d2006c7fc3ecc95db0150f1537e9d0a Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 23:35:17 2008 +0200 constify some static arrays poppler/CompactFontTables.h | 2 +- poppler/Decrypt.cc | 8 ++++---- poppler/Function.cc | 2 +- poppler/GfxFont.cc | 6 +++--- poppler/GfxState.cc | 4 ++-- poppler/JBIG2Stream.cc | 10 +++++----- poppler/JPXStream.cc | 4 ++-- poppler/Lexer.cc | 2 +- poppler/PSOutputDev.cc | 6 +++--- poppler/PSTokenizer.cc | 2 +- poppler/SplashOutputDev.cc | 2 +- poppler/Stream-CCITT.h | 12 ++++++------ poppler/Stream.cc | 10 +++++----- poppler/UnicodeTypeTable.cc | 2 +- 14 files changed, 36 insertions(+), 36 deletions(-) commit 51140e2d9490696d716f77d3225da0bfdfc212b4 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 23:14:59 2008 +0200 more static markers poppler/Annot.cc | 2 +- poppler/DCTStream.cc | 2 +- poppler/Object.cc | 2 +- poppler/SplashOutputDev.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 893703cb9eee879f728db329f7ee1fc19e7f980e Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 23:03:51 2008 +0200 add static poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7333bc913111e56ee241b7ef2bf6e9fea68b7da2 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 23:01:13 2008 +0200 add static poppler/JBIG2Stream.cc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit 1ea36507f9c9f163b6772268046e7560d0c00dbc Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 22:47:19 2008 +0200 make findModifier static poppler/GlobalParams.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be9961571dbfabb982e6f69abd3bbc98fa971864 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 21:48:09 2008 +0200 make variables not used outside static utils/pdftohtml.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b157064a85350da6ea9c4f46e965e45ebc59d227 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 21:43:23 2008 +0200 constify setPSPaperSize utils/pdftops.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ee57ead8a6f34fa8de044399e5912395e0f3a425 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 21:37:57 2008 +0200 constify argDesc arrays Gives me binaries 2KB smaller (in total) in release build utils/parseargs.c | 18 +++++++++--------- utils/parseargs.h | 4 ++-- utils/pdffonts.cc | 2 +- utils/pdfimages.cc | 2 +- utils/pdfinfo.cc | 2 +- utils/pdftoabw.cc | 2 +- utils/pdftohtml.cc | 2 +- utils/pdftoppm.cc | 2 +- utils/pdftops.cc | 2 +- utils/pdftotext.cc | 2 +- 10 files changed, 19 insertions(+), 19 deletions(-) commit 9f93d9eb464877e0d23dcf205295da9162f03253 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 29 20:45:01 2008 +0200 make psOpNames static Makes my release build 64 bytes smaller poppler/Function.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 29e3e779c68371b7c4aadcf68ee0712046f39c6d Author: Pino Toscano <pino@kde.org> Date: Sat Apr 26 23:47:01 2008 +0200 remember to call the base implementation here qt4/demos/optcontent.cpp | 1 + 1 file changed, 1 insertion(+) commit a188f3cd36775d78ace5b5d62c8ab7c059b3b2b1 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 26 23:42:09 2008 +0200 reset the current page to 0, when closing a document qt4/demos/viewer.cpp | 1 + 1 file changed, 1 insertion(+) commit 7eca6da6436ffc1c41cfed1a07be4dafa1172463 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 26 23:41:45 2008 +0200 no need to manually disconnect from the model, as it will be deleted by the document anyway qt4/demos/optcontent.cpp | 1 - 1 file changed, 1 deletion(-) commit 6cddda7f3c3b8ddb95e6aba1b234a27c4454c23d Author: Pino Toscano <pino@kde.org> Date: Sat Apr 26 22:41:59 2008 +0200 sync updateFont() with SplashOutputDev poppler/ArthurOutputDev.cc | 75 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 59 insertions(+), 16 deletions(-) commit ddc7c1f8c24762bae615e7dec92e92a58c827478 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 26 18:12:51 2008 +0200 construct AnnotPolygon for Polygon and PolyLine annotations poppler/Annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f9c7e8037b7165b6271ce7aea0d315053c4d66a5 Merge: 59d33d8 f5fec4f Author: Pino Toscano <pino@kde.org> Date: Sat Apr 26 18:09:59 2008 +0200 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 59d33d8e99673f73ccf2ad9a62bd25fca51f0eb8 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 26 17:56:42 2008 +0200 use the base implementation to update all the states poppler/ArthurOutputDev.cc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit 45d2a9529bf241554c59437118cb8c705554dc27 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 26 17:55:39 2008 +0200 Set the font antialiasing from the painter settings, instead of the global settings. poppler/ArthurOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5faa72fd70e0d85268e807a8b870d80dda9189a9 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 26 17:53:28 2008 +0200 Get the font and painter matrices, and reenable the font drawing. poppler/ArthurOutputDev.cc | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) commit f5fec4fdedd8d316b19968545e447e2036a1bb47 Author: Kees Cook <kees@outflux.net> Date: Wed Apr 23 19:53:03 2008 +0200 provide type-checking for union pointer accesses poppler/Object.h | 68 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 43 insertions(+), 25 deletions(-) commit a567c921ce538616f4ba0b7933086ef5a8ab0f55 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Tue Apr 22 23:09:10 2008 +0200 Little change to avoid AnnotWidget crashing when they aren't related to FormWidgets. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 73798c95b8a4c0504e9246e6f73fd31f812ad6fa Author: Albert Astals Cid <tsdgeos@bluebox.(none)> Date: Mon Apr 21 19:56:52 2008 +0200 Link to pthread when needed Should fix bug 15625 configure.ac | 2 + m4/acx_pthread.m4 | 280 ++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Makefile.am | 4 + 3 files changed, 286 insertions(+) commit 6c248bdad77235a45402d9693a0b822cc208b6b9 Author: Pino Toscano <pino@kde.org> Date: Sun Apr 20 18:32:59 2008 +0200 the dtor should be virtual qt4/src/poppler-converter-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 68dba1a452ca70add5b05ab8e2adab838bc2cb73 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Apr 20 16:21:10 2008 +0200 if ncand is a Guint cand should be one too poppler/CMap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0b91eb19f5a3d07b625ee5188f1fcb4b4b1544ea Author: Albert Astals Cid <aacid@kde.org> Date: Sun Apr 20 16:17:50 2008 +0200 Unused var-- poppler/GfxFont.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ed3cc40987b691319fd9f1a30296d80de5732fd Author: Pino Toscano <pino@kde.org> Date: Wed Apr 16 15:45:45 2008 +0200 fix border style conversion qt4/src/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7c8feb4e3627bde2052a7e536d2d49d1cbbce8ee Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 15 21:57:31 2008 +0200 Hack to "support" 16 bits images Everywhere we assume a component fits in 8 bits, with this hack we treat 16 bit images as 8 bit ones until it's fixed correctly. Fixes http://bugs.kde.org/show_bug.cgi?id=158165 poppler/GfxState.cc | 6 ++++++ poppler/Stream.cc | 9 +++++++++ 2 files changed, 15 insertions(+) commit f338a9ded5d42dd65853c5c7bbe27f6724096416 Author: Pino Toscano <pino@kde.org> Date: Sun Apr 13 21:41:51 2008 +0200 [Qt4] convert the sound annotations qt4/src/poppler-page.cc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 733d51fca04ee682fed2242f868edd545f3755fa Author: Pino Toscano <pino@kde.org> Date: Sun Apr 13 21:38:25 2008 +0200 [Qt4] First version of a SoundAnnotation. qt4/src/poppler-annotation.cc | 87 +++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-annotation.h | 30 ++++++++++++++- 2 files changed, 116 insertions(+), 1 deletion(-) commit feb1ea091111bd7292879c465590acfd7671c876 Author: Pino Toscano <pino@kde.org> Date: Sun Apr 13 21:36:26 2008 +0200 First version of AnnotSound. poppler/Annot.cc | 37 ++++++++++++++++++++++++++++++++++++- poppler/Annot.h | 26 ++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 1 deletion(-) commit ec2cf81edf1b2c6707de4d30316ff5f5e24534d4 Author: Pino Toscano <pino@kde.org> Date: Sun Apr 13 18:31:21 2008 +0200 [Qt4] convert the file attachment annotations qt4/src/poppler-page.cc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 9fa2e96c96d365ae67859545ebd635d726784fca Author: Pino Toscano <pino@kde.org> Date: Sun Apr 13 18:29:00 2008 +0200 [Qt4] Initial version of FileAttachmentAnnotation qt4/src/poppler-annotation.cc | 88 +++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-annotation.h | 29 +++++++++++++- 2 files changed, 116 insertions(+), 1 deletion(-) commit 5899aff11f94e707654574e830e0757b1df558d4 Author: Pino Toscano <pino@kde.org> Date: Sun Apr 13 10:50:39 2008 +0200 [Qt4] Read the annotations from the core, instead of own parsing. Almost all the data are converted correctly, the results seem to be the same. Added TODOs in the few parts (not essential) I was not able to figure out how to convert, yet. Covert also the Caret annotations. qt4/src/poppler-annotation-helper.h | 2 +- qt4/src/poppler-page.cc | 851 +++++++++++++++++------------------- 2 files changed, 393 insertions(+), 460 deletions(-) commit 40a12793c5ccea206d79e0c17e2f2d0cf74bb4f3 Author: Pino Toscano <pino@kde.org> Date: Sun Apr 13 02:21:55 2008 +0200 add getters for the AnnotPolygon properties poppler/Annot.h | 6 ++++++ 1 file changed, 6 insertions(+) commit 9311f75d4c3da991efb8afd00701a0ce1cbae1b0 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sun Apr 13 01:52:36 2008 +0200 Almost full AnnotPolygon support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 37 +++++++++++++++++++++ 2 files changed, 136 insertions(+) commit 01aa052ed761a4ada471d196985825986bb58627 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sun Apr 13 01:13:49 2008 +0200 Extend AnnotPath behaviour to include cooordinate array parsing. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 96 ++++++++++++++++++++++++++++++-------------------------- poppler/Annot.h | 4 ++- 2 files changed, 55 insertions(+), 45 deletions(-) commit ca52830e9519ae7b778f98e5c2547daef7da5f09 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sun Apr 13 00:54:13 2008 +0200 Added OptionalContent support to Annots. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 9 +++------ poppler/Annot.h | 5 +++-- 2 files changed, 6 insertions(+), 8 deletions(-) commit 4b87196b7829c87d15af4e8b4138ca97548fb519 Author: Pino Toscano <pino@kde.org> Date: Sun Apr 13 00:18:24 2008 +0200 Isolate the embedded file reading logic into a new EmbFile constructor. This way, it can be shared and reused in various places (Catalog, AnnotFileAttachment, etc). poppler/Catalog.cc | 205 +++++++++++++++++++++++++++++------------------------ poppler/Catalog.h | 1 + 2 files changed, 112 insertions(+), 94 deletions(-) commit 45b407e51905948690065749085a4af1cbb29a8e Author: Pino Toscano <pino@kde.org> Date: Sun Apr 13 00:14:38 2008 +0200 correctly get the FileSpec dictionary poppler/Annot.cc | 4 +++- poppler/Annot.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) commit c3aa3a97d9c553ea7976741d798901352fb5381c Author: Pino Toscano <pino@kde.org> Date: Sat Apr 12 22:45:57 2008 +0200 properly initialize an AnnotPath poppler/Annot.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit a3406fb2ace1390db1c181823a7bfc66c9174d98 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 12 22:40:42 2008 +0200 properly dispose the memory of the ink lists poppler/Annot.cc | 13 ++++++++++++- poppler/Annot.h | 1 + 2 files changed, 13 insertions(+), 1 deletion(-) commit 0dad70e2d12e8b587cab8ce2d914c81c6897a1d1 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 12 22:15:35 2008 +0200 make AnnotInk working. - get the point indexes in the correct way - dispose with free what you allocate with malloc - fix logic when checking for an even number of points poppler/Annot.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 77404e24ea1e175fc9b55097dc5b35cc34760659 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 12 21:08:54 2008 +0200 a length is an int poppler/Annot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc2b2ffd2144f951c311e968fba4bc50b7c43ff3 Merge: cd5afe6 bacc1dd Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sat Apr 12 17:40:49 2008 +0200 Fixed merging conflict. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> commit cd5afe6d9eca687ee224ff7680a8cba28d81a36d Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 12 00:44:08 2008 +0200 Do not take into account Colorspace resource subdictionary for image XObjects Fixes bug 15125 The motivation under that change is on section 4.5.2 of the spec: Certain objects, such as image XObjects, specify a color space as an explicit parameter, often associated with the key ColorSpace. In this case, the color space array or name is always defined directly as a PDF object, not by an entry in the ColorSpace resource subdictionary. This conven- tion also applies when color spaces are defined in terms of other color spaces. poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bacc1dd9f37ff19c5e54878a5b08e7d734584bbf Author: Pino Toscano <pino@kde.org> Date: Sat Apr 12 17:20:09 2008 +0200 Read the "in reply to" reference as such, without reading the associated annotation dictionary. poppler/Annot.cc | 10 ++++------ poppler/Annot.h | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) commit ffe09454a0948a6107bcc38f23ba2068151c547d Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sat Apr 12 17:17:59 2008 +0200 Initial Annot3D parsing a few general improvements. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 130 +++++++++++++++++++++++++++++++++++++++++++++++++++---- poppler/Annot.h | 84 +++++++++++++++++++++++++++++------ 2 files changed, 193 insertions(+), 21 deletions(-) commit 8757c577241dda31bc59c7d1c208c159ad428877 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sat Apr 12 10:38:07 2008 +0200 AnnotFileAttachment support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 38 ++++++++++++++++++++++++++++++++++++-- poppler/Annot.h | 25 +++++++++++++++++++++++++ 2 files changed, 61 insertions(+), 2 deletions(-) commit 36989658149fc9e5e8a049ce070a102f35b7bddc Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sat Apr 12 09:55:26 2008 +0200 AnnotInk support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 113 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 45 ++++++++++++++++++++++ 2 files changed, 158 insertions(+) commit 464b171d0e9b989196c287f2ee4dfbbc14212aa9 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 12 00:44:08 2008 +0200 Do not take into account Colorspace resource subdictionary for image XObjects Fixes bug 15125 The motivation under that change is on section 4.5.2 of the spec: Certain objects, such as image XObjects, specify a color space as an explicit parameter, often associated with the key ColorSpace. In this case, the color space array or name is always defined directly as a PDF object, not by an entry in the ColorSpace resource subdictionary. This conven- tion also applies when color spaces are defined in terms of other color spaces. poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 42db4890e8295aaec5a1be12d1414fc0a9048550 Author: Chris Wilson <chris@chris-wilson.co.uk> Date: Thu Mar 27 10:52:22 2008 +0000 Do not call FT_Done_Face on a live cairo_font_face_t. Currently CairoFont calls FT_Done_Face on its deletion, but the FT_Face is usually still in use within cairo. This causes a failure later when cairo tries to create a glyph from its cairo_font_face_t. From http://bugs.freedesktop.org/show_bug.cgi?id=15216: ==13745== Invalid read of size 4 ==13745== at 0x51BE572: FT_Load_Glyph (ftobjs.c:549) ==13745== by 0x4A24921: _cairo_ft_scaled_glyph_init (cairo-ft-font.c:1922) ==13745== by 0x4A117AB: _cairo_scaled_glyph_lookup (cairo-scaled-font.c:1674) ==13745== by 0x4A12A5A: _cairo_scaled_font_glyph_device_extents (cairo-scaled-font.c:1124) ==13745== by 0x4A21ECD: _cairo_analysis_surface_show_glyphs (cairo-analysis-surface.c:516) ==13745== by 0x4A144DC: _cairo_surface_show_glyphs (cairo-surface.c:2086) ==13745== by 0x4A1FCC8: _cairo_meta_surface_replay_internal (cairo-meta-surface.c:816) ==13745== by 0x4A214B1: _paint_page (cairo-paginated-surface.c:299) ==13745== by 0x4A2171E: _cairo_paginated_surface_show_page (cairo-paginated-surface.c:445) ==13745== by 0x4A14BDF: cairo_surface_show_page (cairo-surface.c:1702) ==13745== by 0x49FF661: cairo_show_page (cairo.c:2155) ==13745== by 0xA267D97: pdf_document_file_exporter_end_page(_EvFileExporter*) (ev-poppler.cc:1753) ==13745== Address 0x55c5630 is 88 bytes inside a block of size 552 free'd ==13745== at 0x402269C: free (vg_replace_malloc.c:326) ==13745== by 0x51B7ABC: ft_free (ftsystem.c:158) ==13745== by 0x51BB319: ft_mem_free (ftutil.c:171) ==13745== by 0x51BC318: destroy_face (ftobjs.c:856) ==13745== by 0x51BC3B2: FT_Done_Face (ftobjs.c:1972) ==13745== by 0x4363704: CairoFont::~CairoFont() (CairoFontEngine.cc:251) ==13745== by 0x436401D: CairoFontEngine::getFont(GfxFont*, XRef*) (CairoFontEngine.cc:335) ==13745== by 0x4366915: CairoOutputDev::updateFont(GfxState*) (CairoOutputDev.cc:318) ==13745== by 0x5093BF1: Gfx::opShowText(Object*, int) (Gfx.cc:3073) ==13745== by 0x508F901: Gfx::execOp(Object*, Object*, int) (Gfx.cc:726) ==13745== by 0x50906FF: Gfx::go(int) (Gfx.cc:594) ==13745== by 0x5090C96: Gfx::display(Object*, int) (Gfx.cc:557) The solution is to release the reference to the cairo_font_face_t upon destruction of the CairoFont, and then to release the FT_Face from the destroy notify of the cairo_font_face_t. poppler/CairoFontEngine.cc | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit 5f60843824582ece36d806508ec388330ddee854 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Tue Apr 8 00:30:57 2008 +0200 Added AnnotCoord support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 64 ++++++++++++++++++---------------------------------- poppler/Annot.h | 69 ++++++++++++++++++++++++++------------------------------ 2 files changed, 54 insertions(+), 79 deletions(-) commit a6f70f465a3e6719d63cefbe3c27bae015be43c1 Author: Pino Toscano <pino@kde.org> Date: Sun Apr 6 13:12:01 2008 +0200 add getters for the coordinates in an AnnotLine poppler/Annot.h | 4 ++++ 1 file changed, 4 insertions(+) commit 1d83d6edf9a843335e37a4d1e0e0dd71eb23d93b Author: Pino Toscano <pino@kde.org> Date: Sun Apr 6 12:24:42 2008 +0200 [Qt4] the caret symbol is an enum value, now qt4/src/poppler-annotation.cc | 35 ++++++++++++++++++++++++++++------- qt4/src/poppler-annotation.h | 7 +++++-- 2 files changed, 33 insertions(+), 9 deletions(-) commit 229d991a3258cb9b56f5e00f2deb3c976253cf68 Author: Pino Toscano <pino@kde.org> Date: Sun Apr 6 12:23:04 2008 +0200 the caret symbol does not seem to allow additional values, so convert it to an enum poppler/Annot.cc | 11 +++++++---- poppler/Annot.h | 9 +++++++-- 2 files changed, 14 insertions(+), 6 deletions(-) commit fc24500ddd9182f97d23c46eaafc6be79a6721eb Author: Pino Toscano <pino@kde.org> Date: Sun Apr 6 11:43:49 2008 +0200 propetly initialise a couple of members; leak less poppler/ArthurOutputDev.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 9409de1e7c5b3770c7ef00c01ee376953dd532a5 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sun Apr 6 01:38:25 2008 +0200 Changed AnnotFreeText RD field to the new parseDiffRectangle. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 35 ++--------------------------------- 1 file changed, 2 insertions(+), 33 deletions(-) commit 28c5ee2e9fc2a24d2f2efb3d74d5cf882a106239 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 23:19:33 2008 +0200 typo fix poppler/Annot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ed02769688466ca72bf35d4223c3822a1245604b Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 19:36:21 2008 +0200 read the destination of a link annotation poppler/Annot.cc | 5 ++++- poppler/Annot.h | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) commit ca31bf12a9d70bac88e457f7799e9935aba58640 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 16:48:53 2008 +0200 variable forgotten in the copy&paste... qt4/src/poppler-annotation.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4168daa141b76e5fcd07d046aca8dac2f3037ff9 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 16:34:12 2008 +0200 [Qt4] deserialize also CaretAnnotation's qt4/src/poppler-annotation.cc | 3 +++ 1 file changed, 3 insertions(+) commit b55bcc2aa95825863bef23ab96364b350a49949d Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 16:31:31 2008 +0200 [Qt4] first version of a CaretAnnotation. qt4/src/poppler-annotation.cc | 80 +++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-annotation.h | 25 +++++++++++++- 2 files changed, 104 insertions(+), 1 deletion(-) commit 4c9a02b7e49666efe10fdc16e7a03d8d520b65ec Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 16:01:58 2008 +0200 First version of AnnotCaret. poppler/Annot.cc | 36 +++++++++++++++++++++++++++++++++++- poppler/Annot.h | 22 ++++++++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) commit d260fe9e514c667b66969b982119429cc922eb07 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 15:54:29 2008 +0200 isolate the code for parsing a "difference rectangle" in an own function poppler/Annot.cc | 54 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 31 insertions(+), 23 deletions(-) commit 760833e409c122c0a61f7c87fd3133eebc10b402 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 15:36:43 2008 +0200 First version of AnnotGeometry. poppler/Annot.cc | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- poppler/Annot.h | 24 ++++++++++++++++++ 2 files changed, 99 insertions(+), 2 deletions(-) commit 95d9d2362534c0524ad0448818b2d69b0909d482 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 03:23:00 2008 +0200 finally, load the QuadPoints correctly when checking the validity of the coordinate, do the comparison just with the proper one (either X or Y); free the "point" object after each iteration poppler/Annot.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit af1ffcbcec1730332d11f8da4a7ddac833b22408 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 02:54:00 2008 +0200 More robust reading of QuadPoints (reset the allocated memory, use the heap) poppler/Annot.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 68fd98d69bac20282665cf6b824da30c3b310f0b Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 02:51:41 2008 +0200 Really implement AnnotTextMarkup. poppler/Annot.cc | 29 +++++++++++++++++++++++++---- poppler/Annot.h | 2 +- 2 files changed, 26 insertions(+), 5 deletions(-) commit 69a2ecfaf8f8cffd3027db5c3cc88c41413e42f1 Author: Pino Toscano <pino@kde.org> Date: Sat Apr 5 01:38:28 2008 +0200 Add the Stamp annotation type. poppler/Annot.cc | 28 +++++++++++++++++++++++++++- poppler/Annot.h | 20 ++++++++++++++++++++ 2 files changed, 47 insertions(+), 1 deletion(-) commit 97be4332818bcf58461816be995d88926809a4e5 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Fri Apr 4 23:49:12 2008 +0200 Updated glib bindings. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> glib/demo/annots.c | 32 +++++--------------------------- glib/poppler-annot.cc | 27 +++++---------------------- glib/poppler-annot.h | 13 +------------ 3 files changed, 11 insertions(+), 61 deletions(-) commit 5caac407cdaf58621ac27e5561b31a995404ccb3 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Fri Apr 4 23:36:46 2008 +0200 Fixed icon name in AnnotText. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 25 ++++++------------------- poppler/Annot.h | 15 +++------------ 2 files changed, 9 insertions(+), 31 deletions(-) commit 0b714a61383da1b62daf2a60e3f6fcda09b4e9f2 Author: Adam Batkin <adam@batkin.net> Date: Thu Apr 3 20:02:52 2008 +0200 FindFirstFile returns INVALID_HANDLE_VALUE and not NULL on error goo/gfile.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit be765f27cc5430d9bb2a3e113eb245d67c20a376 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Mar 31 12:37:33 2008 +0200 [glib] Fix a crash in outline demo due to page_num == dest_page_num - 1 glib/demo/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e991e9ac6fcc0b6928b96fe8326eebcf3cb720ca Author: Albert Astals Cid <tsdgeos@localhost.(none)> Date: Sat Mar 29 13:25:52 2008 +0100 Add the export macro qt4/src/poppler-page-transition.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b70ca35dce6da6efdff254c11a63de4f44228278 Author: Albert Astals Cid <tsdgeos@localhost.(none)> Date: Sat Mar 29 00:30:31 2008 +0100 Duplicate page-transition files on qt4 qt4/src/CMakeLists.txt | 4 +- qt4/src/Makefile.am | 4 +- qt4/src/poppler-page-transition-private.h | 28 ++++++ qt4/src/poppler-page-transition.cc | 95 +++++++++++++++++++ qt4/src/poppler-page-transition.h | 146 ++++++++++++++++++++++++++++++ 5 files changed, 273 insertions(+), 4 deletions(-) commit b5312785063235cef7584ab6a5d198fb72de0988 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Wed Mar 26 23:56:49 2008 +0100 Improved glib annot demo. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> glib/demo/annots.c | 314 ++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 289 insertions(+), 25 deletions(-) commit 7cc8fd70f68d2cdab7ab83a0ecf6c8896c971d62 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 26 21:03:34 2008 +0100 remove damn error qt4/src/poppler-page.cc.orig | 1317 ------------------------------------------ 1 file changed, 1317 deletions(-) commit 7a47ff3b54678a3de6964d25050e02186484f39a Author: Pino Toscano <pino@kde.org> Date: Wed Mar 26 21:00:32 2008 +0100 [Qt4] Add support for JavaScript links, and create them when present. qt4/src/poppler-link.cc | 36 ++ qt4/src/poppler-link.h | 32 +- qt4/src/poppler-page.cc | 7 + qt4/src/poppler-page.cc.orig | 1317 ++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 1391 insertions(+), 1 deletion(-) commit a6f2c10ee01ee62ae945b50f6b6eae380377fe03 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 26 20:59:21 2008 +0100 [Qt4] Read the document-level JavaScript scripts. qt4/src/poppler-document.cc | 15 +++++++++++++++ qt4/src/poppler-qt4.h | 8 ++++++++ 2 files changed, 23 insertions(+) commit b8a471e55b998836c09c65ff736afdef8ac55189 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 26 20:56:01 2008 +0100 Add support for JavaScript actions, and read them when found. poppler/Link.cc | 33 +++++++++++++++++++++++++++++++++ poppler/Link.h | 23 +++++++++++++++++++++++ 2 files changed, 56 insertions(+) commit 2fd85dc1b8b2ababadfc60e285c08a844737e4bb Author: Pino Toscano <pino@kde.org> Date: Wed Mar 26 20:53:42 2008 +0100 Read the JavaScript codes in the NameTree of the Catalog. poppler/Catalog.cc | 39 +++++++++++++++++++++++++++++++++++++++ poppler/Catalog.h | 7 +++++++ 2 files changed, 46 insertions(+) commit 312f14f5b7be1f0d62620477222919423c3869e0 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 26 20:05:31 2008 +0100 compile++ fofi/FoFiBase.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5bd750062e1fb136f77a55d1f35b2d6fabaad1b3 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 26 19:42:43 2008 +0100 update version CMakeLists.txt | 2 +- configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 10d4a8b9aed51902157c04d9deea0e99d829c4f6 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 26 19:42:36 2008 +0100 fill news NEWS | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 2069826d61ebd527768b6455689276c0a8288085 Author: Pino Toscano <pino@kde.org> Date: Wed Mar 26 16:05:06 2008 +0100 missing break qt4/src/poppler-page.cc | 1 + 1 file changed, 1 insertion(+) commit d6a0c6a6803a03f402c2dcde41c6195e951470ba Author: Pino Toscano <pino@kde.org> Date: Wed Mar 26 15:50:39 2008 +0100 initialize posterStream to avoid crashing later poppler/Movie.cc | 1 + 1 file changed, 1 insertion(+) commit 0be811b3ad86b1cb14be94a017e70c65b8e64730 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 25 22:59:22 2008 +0100 Don't end up in an infinite recursive loop in case resObj dict is the same we are already in poppler/FontInfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0222c6ceb0fcf1d7c4422691a68a035a558ad614 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Mar 24 17:14:07 2008 +0100 fix build when using cmake, not sure it's completely ok, but at least i can compile CMakeLists.txt | 1 + cmake/modules/FindGTK.cmake | 23 ++++++++++++++++------- config.h.cmake | 3 +++ glib/CMakeLists.txt | 17 +++++++++++------ glib/poppler-page.cc | 2 +- glib/test-poppler-glib.cc | 2 +- 6 files changed, 33 insertions(+), 15 deletions(-) commit 3e4164f2db69358adf07596195842dd00458b621 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Mar 24 15:10:31 2008 +0100 fix some cmake HAVE_foo CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 22f615aee488cc363a078330861e80f389f47061 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sun Mar 23 13:22:07 2008 +0100 Fixed wrong functions. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> glib/poppler-annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cccfe42ed9c53d27cf6a1403ae55bf34a053012d Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 22 19:12:05 2008 +0100 Fix rm line not to error when no *moc file is present qt4/src/Makefile.am | 2 +- qt4/tests/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit e60d39ba0e8b9742106a0c9b1385b1c907729c3f Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 22 19:11:17 2008 +0100 Fix rm line not to error if no *moc file is present qt4/demos/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d9d52e622c6b28a9941168bb73839ec335ca7232 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 22 19:10:40 2008 +0100 Fix configure to not require gdk when we are on try mode configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 9b8809298dd16cdbffcc12b6db8e274578934063 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 22 15:49:02 2008 +0100 It's really only an error if < 0 poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0fb1e697cc4100ce23298141c8b5829273872423 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 22 15:46:44 2008 +0100 remove unneeded variable poppler/PDFDoc.cc | 1 - 1 file changed, 1 deletion(-) commit 3404cb626ee9b4520d6fe601e07560745a4cb42a Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 22 15:44:50 2008 +0100 Remove OutStream::reset since noone uses it This way we have a fseek less to care about if worked or not poppler/Stream.cc | 5 ----- poppler/Stream.h | 5 ----- qt4/src/poppler-qiodeviceoutstream-private.h | 1 - qt4/src/poppler-qiodeviceoutstream.cc | 5 ----- 4 files changed, 16 deletions(-) commit 066595dd06c930997d5ec65a06c822616af9baa0 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 22 15:43:07 2008 +0100 Check the document stream is seekable when opening it Fixes bug 14126 poppler/PDFDoc.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 23b6475463f8973b5ac83bb21a6b7b6000cc435b Author: Ed Avis <eda@waniasset.com> Date: Sat Mar 22 13:55:59 2008 +0100 Check for fseek return values fofi/FoFiBase.cc | 14 ++++++++++++-- poppler/GfxFont.cc | 12 ++++++++++-- 2 files changed, 22 insertions(+), 4 deletions(-) commit b33bb282e45cf1a083cfbb13603ac465d386c28d Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Fri Mar 21 13:53:21 2008 +0100 Fixed poppler glib public api. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> glib/poppler-annot.cc | 4 ++-- glib/poppler-annot.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 371932f413d570d7784c668f30834d3d92d7aa80 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 20 11:44:32 2008 +0100 [glib] Remove unused variable. glib/poppler-document.cc | 1 - 1 file changed, 1 deletion(-) commit 21fa476ac384256c15a954b708e009f2b336b06f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Mar 20 11:42:32 2008 +0100 [glib] Do not cache image_dev in poppler page. Thanks to Kouhei Sutou who caught the problem. glib/poppler-page.cc | 60 +++++++++++++++++++++++++++-------------------- glib/poppler-private.h | 3 --- glib/test-poppler-glib.cc | 9 ++++++- 3 files changed, 43 insertions(+), 29 deletions(-) commit 22cd70d8fc308fb8b19d36d0172014ba532230fb Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 19 21:52:14 2008 +0100 poppler_annot_markup_get_opacity returns a double so use %f glib/demo/annots.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9a5fd4671638caa91f8a389be278d993391f499 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 19 21:28:49 2008 +0100 updated by gtk-doc glib/reference/tmpl/poppler-action.sgml | 1 + glib/reference/tmpl/poppler.sgml | 3 +++ 2 files changed, 4 insertions(+) commit b7e0b740578ea1e84ac0ef850b5a03c66b2863e3 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 19 21:28:01 2008 +0100 Fill 0.7.3 news NEWS | 7 +++++++ 1 file changed, 7 insertions(+) commit 3adaff1dad8127fdd06653cf49196027ad414a08 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 19 21:27:46 2008 +0100 Bump version to 0.7.3 CMakeLists.txt | 2 +- configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 52dd710b63911be2d8c960de0232c497c35ecac8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 19 18:35:35 2008 +0100 [glib] Update outline and links demos to the new POPPLER_ACTION_NONE glib/demo/utils.c | 3 +++ 1 file changed, 3 insertions(+) commit 6a22f0a20df38156c06e8ba10649e0828a1da102 Author: Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> Date: Wed Mar 19 18:32:48 2008 +0100 [glib] Consider no action as an action of type None instead of Unknown glib/poppler-action.cc | 2 +- glib/poppler-action.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 185d5818fd546f85934b041d5b0cdcdf1849b1dc Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Mar 18 20:08:21 2008 +0100 Improve error handling when creating a document glib/poppler-document.cc | 40 ++++++++++++++++++++++++++++------------ glib/poppler.h | 5 ++++- 2 files changed, 32 insertions(+), 13 deletions(-) commit 9bba2748985049515bfd9c9b44f26b92fa704078 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Mar 15 01:11:39 2008 +0100 Some more free poppler/OptionalContent.cc | 5 +++++ 1 file changed, 5 insertions(+) commit bfc308935fa138e27c4d2ad0e1c1cad20eba8e8a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Mar 15 01:05:32 2008 +0100 Use error instead of printf poppler/OptionalContent.cc | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 998b1523ee653c1585f03b4a580e0d95ba694aca Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Mar 15 01:02:31 2008 +0100 Some free poppler/OptionalContent.cc | 3 +++ 1 file changed, 3 insertions(+) commit c65a66a82259f547927cbb918611bcf4a8e264b2 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Mar 14 20:29:53 2008 +0100 xx0 is non exclusive so that should be < not <= Fixes several warnings about writes on bad places splash/SplashXPathScanner.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit bd2272f3079319d1c05ca93f7fb6eb0a5370b938 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Mar 14 19:52:04 2008 +0100 Fix "Make sure we don't draw outside the bitmap on Splash::fillGlyph2" when painting with no aa Fixes bug 15009 splash/Splash.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 5bf8d864e68854f0855e07fb67aa124e06c739cd Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 12 22:48:07 2008 +0100 fix build glib/reference/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit d0be5c86dcd3310062d820b3515c31e4720af2ca Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 12 22:40:59 2008 +0100 Update version to 0.7.2 and fill NEWS CMakeLists.txt | 2 +- NEWS | 20 ++++++++++++++++++++ configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 5 files changed, 26 insertions(+), 6 deletions(-) commit 0b2ecf39572821a99374e6acec7c1bd438911bbc Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 12 22:38:57 2008 +0100 update soname here too glib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5065016b168e4896e2fe774cd22bbd900849b52 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Mar 12 22:06:53 2008 +0100 Make GDK dependency option for glib bindings Fixes bug #13719. configure.ac | 45 ++- glib/Makefile.am | 7 +- glib/demo/page.c | 88 +++++- glib/demo/render.c | 4 + glib/poppler-action.h | 1 - glib/poppler-annot.cc | 26 +- glib/poppler-annot.h | 2 +- glib/poppler-document.h | 2 - glib/poppler-features.h.in | 1 + glib/poppler-page.cc | 695 ++++++++++++++++++++++++++------------------- glib/poppler-page.h | 76 +++-- glib/poppler.h | 2 +- glib/test-poppler-glib.cc | 2 +- 13 files changed, 610 insertions(+), 341 deletions(-) commit 46d4fab82332e71d0b68c0a8deeac78f2201ed14 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 12 20:35:33 2008 +0100 Increment version of libpoppler and libpoppler-qt4 CMakeLists.txt | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 550c1fc73a6d2af65728751fd0b59ccc7110fa8b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 12 20:34:48 2008 +0100 Init to false updated field of XRefEntries plus indenting fixes poppler/XRef.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 6a671686c6265ecdb4c48f04392de9c56d4e0936 Author: Adrian Johnson <ajohnson@redneon.com> Date: Wed Mar 12 21:43:12 2008 +1030 Fix regression in cairo output when transforming ctm The commit: ec01926e5a9dc16e200060497c43e79a1623698d "Avoid setting a singular ctm" introduced a regression in the output when using a ctm. The check for an invertable matrix had the side effect of inverting the matrix. Instead, make a copy of the matrix before testing if it is invertable. poppler/CairoOutputDev.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 0b2c3bb25c908b07e760d824dbfe93c6051812aa Merge: 362fe01 9c472f7 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Wed Mar 12 00:23:58 2008 +0100 Merge branch 'master' of ssh://inigomartinez@git.freedesktop.org/git/poppler/poppler commit 362fe013c0d96698b52d70cf5226cddca7fe52d4 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Wed Mar 12 00:07:12 2008 +0100 Enabled back the AnnotWidget support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9c472f76d2462d0e775c851fdbac6ca2bc9812ea Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 12 00:00:20 2008 +0100 cmake build glib/demo/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 821858f5c36786955d9475044bfee57f5060ad2f Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 11 23:58:05 2008 +0100 Return char bounding box instead of edge, it's much more useful for character positioning qt4/src/poppler-page.cc | 8 ++++++-- qt4/src/poppler-private.h | 3 +-- qt4/src/poppler-qt4.h | 6 ++---- qt4/src/poppler-textbox.cc | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) commit d7e642732ced592362d9787bddadb7a110dcc5a5 Merge: 3642f0c 2d6c605 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Tue Mar 11 23:41:59 2008 +0100 Merge branch 'master' of ssh://inigomartinez@git.freedesktop.org/git/poppler/poppler commit 3642f0c48bc49cd4d698e769544c1d8604c6482f Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Tue Mar 11 23:13:33 2008 +0100 glib annots demo. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> glib/demo/Makefile.am | 2 + glib/demo/annots.c | 468 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/annots.h | 31 ++++ glib/demo/main.c | 4 +- 4 files changed, 504 insertions(+), 1 deletion(-) commit 2d6c60537317bd3ac9e0582e0da09e7365729097 Author: Pino Toscano <pino@kde.org> Date: Tue Mar 11 22:54:44 2008 +0100 For now we cannot handle MovieLink's, so comment them out. qt4/src/poppler-annotation.cc | 2 ++ qt4/src/poppler-link.cc | 4 ++++ qt4/src/poppler-link.h | 2 ++ 3 files changed, 8 insertions(+) commit a354f7198c493990613a1db131c662ec27948863 Author: Hugo Mercier <hmercier31@gmail.com> Date: Tue Mar 11 22:49:00 2008 +0100 Initial Movie support (2) Now with the forgotten files poppler/Movie.cc | 443 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Movie.h | 177 ++++++++++++++++++++++ 2 files changed, 620 insertions(+) commit 43e5dd941d4bc35c4eebbad66c13235639e0c1a0 Merge: aab1768 4fdd254 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 11 22:31:22 2008 +0100 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit 4fdd254370ea6055e95c8ebee51b69e06c501714 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Mar 11 22:31:00 2008 +0100 Fix build glib/poppler-page.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit aab17684dc3f21ff2b1ee6eacdc0c565d368df78 Author: Hugo Mercier <hmercier31@gmail.com> Date: Tue Mar 11 22:28:28 2008 +0100 Initial Movie support CMakeLists.txt | 2 + poppler/Annot.cc | 316 +++++++++++++++++++++++++++++++++++++++++++++++++++- poppler/Annot.h | 125 +++++++++++++++++++++ poppler/Link.cc | 108 +++++++++++++++--- poppler/Link.h | 64 ++++++++++- poppler/Makefile.am | 2 + 6 files changed, 591 insertions(+), 26 deletions(-) commit 13a0d2390b9e4684af070c213f385485715353df Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 11 22:27:38 2008 +0100 Add poppler-annot to the cmake build system glib/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) commit 19f0e3b40bce4d8157d8c8bd04eaf6bacbef38b8 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Tue Mar 11 22:09:04 2008 +0100 Add preliminary annotations support in the glib frontend glib/Makefile.am | 2 + glib/poppler-annot.cc | 776 +++++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-annot.h | 181 ++++++++++++ glib/poppler-page.cc | 166 +++++++++++ glib/poppler-page.h | 15 + glib/poppler-private.h | 5 +- glib/poppler.h | 7 + 7 files changed, 1151 insertions(+), 1 deletion(-) commit 6fa3ab20fee311b4aff92be18870fd0e1730a81f Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Tue Mar 11 18:44:27 2008 +0100 Changed AnnotMarkup inheritance poppler/Annot.cc | 9 +++++---- poppler/Annot.h | 10 +++++----- 2 files changed, 10 insertions(+), 9 deletions(-) commit 3111cfe2ccb32f9680baaad0c3f0678dd5969f8b Author: Albert Astals Cid <aacid@kde.org> Date: Mon Mar 10 22:12:36 2008 +0100 And free the memory qt4/tests/test-poppler-qt4.cpp | 2 ++ 1 file changed, 2 insertions(+) commit 58f88c23402ac2e678dc655f64d93d89bb1812be Author: Albert Astals Cid <aacid@kde.org> Date: Mon Mar 10 22:08:43 2008 +0100 Add the -textRects option to the test app so we can check text rects are correct qt4/tests/test-poppler-qt4.cpp | 45 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 40 insertions(+), 5 deletions(-) commit 94ceb3cae79dc7786fa59fd889a87160780ed5df Merge: 0f9e843 35f34bd Author: Albert Astals Cid <aacid@kde.org> Date: Sun Mar 9 23:34:11 2008 +0100 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit 0f9e84302ac2108f05bdbb10e7e57ae19ad1e9f3 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Mar 9 23:33:11 2008 +0100 Do not force default values to fontconfig patterns as fontconfig already fills in default values for us Fixes bug 14883 poppler/GlobalParams.cc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit 35f34bd44c74eeb76a58b30acfbb0303d7285f06 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Mar 9 17:38:54 2008 +0100 Fix build when compiling without cairo support glib/demo/images.c | 4 ++++ 1 file changed, 4 insertions(+) commit 32637db19dd80a9b8452f86eb677b10e77290627 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Mar 9 00:57:08 2008 +0100 proper lib64 Qt detection Fixes bug 14583 m4/qt.m4 | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 65a88a95a5c54c890048e8a986df361585d601dd Author: Pino Toscano <pino@kde.org> Date: Sat Mar 8 03:11:36 2008 +0100 Provide the mime type for an embedded file, if known. Adapt the unit test for that. qt4/src/poppler-embeddedfile.cc | 5 +++++ qt4/src/poppler-qt4.h | 5 +++++ qt4/tests/check_attachments.cpp | 7 +++++++ 3 files changed, 17 insertions(+) commit 23da27a229c8b3cc2a0a0dd6354c40723934390c Author: Pino Toscano <pino@kde.org> Date: Sat Mar 8 03:10:58 2008 +0100 Optionally read the mimetype for the embedded files. poppler/Catalog.cc | 17 +++++++++-------- poppler/Catalog.h | 7 ++++++- 2 files changed, 15 insertions(+), 9 deletions(-) commit 42c254b978c61e2ccfda083dfeffec9fc35a5fe7 Author: Pino Toscano <pino@kde.org> Date: Mon Mar 3 16:56:09 2008 +0100 be safe about out-of-range values qt4/src/poppler-textbox.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5db75df77938eb7620867d0618058be52ed2d3cb Author: Pino Toscano <pino@kde.org> Date: Mon Mar 3 16:53:39 2008 +0100 initialize nicely qt4/src/poppler-private.h | 5 +++++ 1 file changed, 5 insertions(+) commit 3ad0ab7e4abd37528284269c69be3cdfb8d31d2e Author: Pino Toscano <pino@kde.org> Date: Mon Mar 3 16:49:23 2008 +0100 apidox qt4/src/poppler-link.h | 17 +++++++++++++++++ qt4/src/poppler-qt4.h | 23 ++++++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) commit ec01926e5a9dc16e200060497c43e79a1623698d Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Mar 2 20:15:20 2008 -0500 Avoid setting a singular ctm Ignoring singular ctm's gives a better result than having our cairo context error and turn off. Related to #14398. poppler/CairoOutputDev.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 4882d7a118b93fdb5c441d70757e485be7ee25d7 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 28 15:12:23 2008 +0100 printf -> qDebug qt4/src/poppler-optcontent.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 31ce4049bf12c2716be7ec0fb8eda502d989f66e Author: Brad Hards <bradh@saxicola.cuneata.net> Date: Thu Feb 28 22:09:30 2008 +1100 Respect PageMode for optional content and embedded files. This makes the PDF 1.7 spec open with the embedded files showing. qt4/demos/embeddedfiles.cpp | 7 +++++++ qt4/demos/embeddedfiles.h | 1 + qt4/demos/optcontent.cpp | 8 ++++++++ qt4/demos/optcontent.h | 1 + 4 files changed, 17 insertions(+) commit ff938c431799d49325c0f46f1e6cbe1033993a83 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 27 23:12:53 2008 +0100 do not forget to distribute GlobalParamsWin.cc next time poppler/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 277382b8186d137a9f2a62bc2d22e9f0cda7d923 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 27 22:56:33 2008 +0100 fix typo glib/demo/images.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5b2f8f21fca63508570a0c77c6f7221a322e6e57 Merge: 7e65118 4254f12 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 22:10:12 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 7e651186f483976f9833de245b6c7add38e77a16 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 22:03:17 2008 +0100 Properly enable/disable the contents when their parents are changed. Now, the children maintain the "checked state" they had, when their parent is unchecked; but, they are really disabled, both in the possibility to be checked and in the drawing of their associated content [applying the same to their children, and so on]. qt4/src/poppler-optcontent-private.h | 8 +++++++- qt4/src/poppler-optcontent.cc | 37 +++++++++++++++++++++++++++++++----- 2 files changed, 39 insertions(+), 6 deletions(-) commit 4254f1237ebed09b8e1c85f935a20bde3d8f36ff Merge: ed6c0c2 0569ae7 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 27 20:44:27 2008 +0100 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit 8d384c06f96ba8cb3e73c275b3c708c64da4595d Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 20:39:09 2008 +0100 small header cleanup qt4/src/poppler-optcontent-private.h | 9 +++++++-- qt4/src/poppler-optcontent.cc | 7 ++++--- 2 files changed, 11 insertions(+), 5 deletions(-) commit ed6c0c260837a0025279765ef7778b83d6ee2209 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 27 20:43:45 2008 +0100 fix build and distcheck with autools qt4/demos/Makefile.am | 3 +++ qt4/src/Makefile.am | 5 ++++- qt4/tests/Makefile.am | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) commit 344d55539b1b6bcabec609fd828db372a07491b4 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 27 20:43:13 2008 +0100 fill the NEWS for 0.7.1 NEWS | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 1c47633ba782021978fa34d41a4ab0badf3af9d3 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 27 20:42:55 2008 +0100 Increase version number to 0.7.1 CMakeLists.txt | 2 +- configure.ac | 2 +- msvc/config.h | 6 +++--- qt4/src/Doxyfile | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 0569ae76b6af1723b4606af189242a23199f387d Merge: f395531 d8eba8c Author: Brad Hards <bradh@kde.org> Date: Thu Feb 28 06:26:09 2008 +1100 Merge branch 'master' of ssh://bradh@git.freedesktop.org/git/poppler/poppler commit d8eba8c10834116b4f0f295375805172f5216993 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 19:07:46 2008 +0100 export the OptContentModel qt4/src/poppler-optcontent.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0445e64a4124af7c1b84673f237022e133eb8542 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 19:04:03 2008 +0100 make only the Document able to create OptContentsModel's qt4/src/poppler-optcontent.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit c965437b67a4f97ee8365a217bd10406fba3767a Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 18:58:31 2008 +0100 setRootNode() is private (and unused) API qt4/src/poppler-optcontent-private.h | 2 ++ qt4/src/poppler-optcontent.cc | 8 ++++---- qt4/src/poppler-optcontent.h | 4 ---- 3 files changed, 6 insertions(+), 8 deletions(-) commit e293bfc384e2dfc4ef04582053ce18d8c0bcb7b3 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 18:50:35 2008 +0100 small cleanup qt4/src/poppler-optcontent.cc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit f11aa0008585e845ce509172d76f72f941be497d Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 18:44:09 2008 +0100 adapt the tests to the new layout of the contents model qt4/tests/check_optcontent.cpp | 66 +++++++++++++++--------------------------- 1 file changed, 23 insertions(+), 43 deletions(-) commit 4a324484b5c77ddc348746e7bcf6051ade28e389 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 18:04:52 2008 +0100 free some objects (thus leak less) poppler/Gfx.cc | 2 ++ poppler/OptionalContent.cc | 2 ++ 2 files changed, 4 insertions(+) commit 0f4e7791ab6884072a1aee56e9cec212d8cea263 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 15:58:21 2008 +0100 ignore any generated .moc here qt4/src/.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 136ae44f155b17d9e8b041b67f75531d8544337c Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 15:56:09 2008 +0100 keep track of the items changed when toggling an item, so we can update them properly qt4/src/poppler-optcontent-private.h | 4 ++-- qt4/src/poppler-optcontent.cc | 38 ++++++++++++++++++++++++++++-------- 2 files changed, 32 insertions(+), 10 deletions(-) commit b73e2afef7e5e1b68d82a10c94bca3c201c5f8b3 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 15:52:06 2008 +0100 fix indexFromItem once again, and make parent() call it with the right node qt4/src/poppler-optcontent-private.h | 2 +- qt4/src/poppler-optcontent.cc | 19 +++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) commit 803787f763578320aa5f405ed49c64e6b924bad3 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 15:30:18 2008 +0100 compile with the autotools (second patch I forgot to apply with the first) qt4/src/Makefile.am | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 0b527a8ed62677bb09df4587f072a310c2959750 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 14:34:13 2008 +0100 Extract the OptContentItem -> QModelIndex creation in an own function. qt4/src/poppler-optcontent-private.h | 1 + qt4/src/poppler-optcontent.cc | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit c94d6cc95c6838f31e27832cb3090389bf4d8227 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 14:30:26 2008 +0100 Make index(), data() and setData() more safe. Errors spotted using ModelTest. qt4/src/poppler-optcontent-private.h | 2 +- qt4/src/poppler-optcontent.cc | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) commit b8e833733d84eaa93d6bae522710feb3075ca329 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 14:05:19 2008 +0100 fix build with the autotools qt4/src/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f89ba474bae281f1cdeddb72ac8425dee1087e35 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 13:28:50 2008 +0100 Put the check states of the optional contents in the same column as the name. This feels a bit more elegant than changing a value in a different column. Cleanup data()/setData() so they can be extended easily. qt4/src/poppler-optcontent.cc | 74 ++++++++++++++++++++++--------------------- 1 file changed, 38 insertions(+), 36 deletions(-) commit defa0ecb2790402a4069fea3b3c285a50675682d Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 12:24:16 2008 +0100 Add a skeleton of OptContentModel::headerData(). It does nothing yet, but we can add stuff later on w/o breaking BC. qt4/src/poppler-optcontent.cc | 5 +++++ qt4/src/poppler-optcontent.h | 2 ++ 2 files changed, 7 insertions(+) commit f395531a3e8f71a46b3c942f8f437ade1d9fdb57 Author: Brad Hards <bradh@kde.org> Date: Wed Feb 27 22:22:51 2008 +1100 Minor cleanup. qt4/src/poppler-optcontent.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 0a19486cb4de57c0c987cc4ce2434a96bbd18338 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 12:15:44 2008 +0100 refresh the current page when the data of the content model change qt4/demos/optcontent.cpp | 8 ++++++++ qt4/demos/optcontent.h | 3 +++ 2 files changed, 11 insertions(+) commit 09b7cc2efb7d21fa4dabd23d2d2de877cc7d86ee Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 12:15:18 2008 +0100 optional method to reload the current page qt4/demos/documentobserver.cpp | 5 +++++ qt4/demos/documentobserver.h | 1 + 2 files changed, 6 insertions(+) commit 39fe905be8f2ae79d9c26cd87547f3ea2608411e Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 12:00:29 2008 +0100 Add a dock for showing the optional content tree. qt4/demos/CMakeLists.txt | 1 + qt4/demos/Makefile.am | 3 +++ qt4/demos/optcontent.cpp | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ qt4/demos/optcontent.h | 43 +++++++++++++++++++++++++++++++++++++ qt4/demos/viewer.cpp | 7 ++++++ 5 files changed, 109 insertions(+) commit f17dd5539501a996479b903ac9b8aceb3c4cfafe Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 11:53:32 2008 +0100 cleanup qt4/src/poppler-optcontent-private.h | 3 ++- qt4/src/poppler-optcontent.h | 4 +--- 2 files changed, 3 insertions(+), 4 deletions(-) commit f3cc894559f10dbd4277fa9f30de9931ed69dfd4 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 11:43:34 2008 +0100 OptContentModel::itemFromRef() and OptContentItem are private API. Hide them in the implementation. qt4/src/poppler-optcontent-private.h | 43 ++++++++++++++++++++++++++++++++++++ qt4/src/poppler-optcontent.cc | 8 +++---- qt4/src/poppler-optcontent.h | 42 ----------------------------------- 3 files changed, 47 insertions(+), 46 deletions(-) commit 48e8b2105cf8f177ca655b969470e45e2407db82 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 11:28:16 2008 +0100 move all the private stuff of OptContentModel into its d-pointer qt4/src/poppler-optcontent-private.h | 9 +++++++-- qt4/src/poppler-optcontent.cc | 29 +++++++++++++++-------------- qt4/src/poppler-optcontent.h | 4 ---- 3 files changed, 22 insertions(+), 20 deletions(-) commit b78a7f7a0e8d5a9c22014d34754090d863030e0d Author: Pino Toscano <pino@kde.org> Date: Wed Feb 27 11:06:57 2008 +0100 use a QPointer for the OptContentModel, so we are safe about ownership. qt4/src/poppler-document.cc | 4 ++-- qt4/src/poppler-private.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 48557da71adb0fe6bd4da2fb32433796a96c3576 Author: Brad Hards <bradh@kde.org> Date: Wed Feb 27 19:39:18 2008 +1100 We need to install the optional content header. qt4/src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 6e2bb03b5ef256c03a8da1cbf9bbc87c593942ad Author: Brad Hards <bradh@kde.org> Date: Wed Feb 27 19:23:49 2008 +1100 Partial d-pointer implementation. qt4/src/poppler-optcontent-private.h | 57 ++++++++++++++++++++++++++++++++++++ qt4/src/poppler-optcontent.cc | 49 +++++++++++++++++++------------ qt4/src/poppler-optcontent.h | 24 ++++----------- 3 files changed, 92 insertions(+), 38 deletions(-) commit c627b7aa10ae9cdceb78b751a7e826170f402af0 Author: Brad Hards <bradh@kde.org> Date: Wed Feb 27 16:12:38 2008 +1100 A couple of cleanups suggested by Pino. qt4/src/poppler-document.cc | 6 +++--- qt4/src/poppler-qt4.h | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) commit 81891667e18fcf164af02f5f366de07f78d67c8f Author: Brad Hards <bradh@kde.org> Date: Wed Feb 27 15:47:03 2008 +1100 Add in the initial part of the optional content support. To see this work, compare ClarityOCGs.pdf with and without this change. Right now we only handle optional content using XObjects. Optional content using Marked Content has infrastructure, but is not implemented. That will be quite invasive in Gfx, and I'm not confident enough to do it this late in the process. CMakeLists.txt | 1 + poppler/Catalog.cc | 9 + poppler/Catalog.h | 4 + poppler/Gfx.cc | 65 +++++- poppler/Gfx.h | 12 +- poppler/Makefile.am | 2 + poppler/OptionalContent.cc | 322 ++++++++++++++++++++++++++ poppler/OptionalContent.h | 85 +++++++ poppler/PDFDoc.h | 5 + poppler/PSOutputDev.cc | 6 +- poppler/Page.cc | 2 +- qt4/src/.gitignore | 1 + qt4/src/CMakeLists.txt | 3 + qt4/src/Makefile.am | 6 + qt4/src/poppler-document.cc | 13 ++ qt4/src/poppler-optcontent.cc | 354 +++++++++++++++++++++++++++++ qt4/src/poppler-optcontent.h | 122 ++++++++++ qt4/src/poppler-private.h | 4 + qt4/src/poppler-qt4.h | 18 ++ qt4/tests/.gitignore | 1 + qt4/tests/CMakeLists.txt | 1 + qt4/tests/Makefile.am | 5 + qt4/tests/check_optcontent.cpp | 499 +++++++++++++++++++++++++++++++++++++++++ 23 files changed, 1532 insertions(+), 8 deletions(-) commit 11b70bcda905e618c199a067db6b0246612e101d Author: Pino Toscano <pino@kde.org> Date: Tue Feb 26 23:01:27 2008 +0100 fixup the default export macro name (added by cmake); _WIN32 is defined only on win32 (remove a plethora of warnings) qt4/src/poppler-export.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d4d6c14cd83d04c61daa6618c3148a0bb47dc292 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 26 22:57:02 2008 +0100 install the export header qt4/src/CMakeLists.txt | 1 + qt4/src/Makefile.am | 1 + 2 files changed, 2 insertions(+) commit 4ba2e2d21710135656adbf93c5994cfb46502308 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 26 22:55:30 2008 +0100 no need to include the export header in private headers qt4/src/poppler-annotation-helper.h | 1 - qt4/src/poppler-annotation-private.h | 1 - qt4/src/poppler-converter-private.h | 1 - qt4/src/poppler-link-extractor-private.h | 1 - qt4/src/poppler-page-private.h | 1 - qt4/src/poppler-private.h | 1 - qt4/src/poppler-qiodeviceoutstream-private.h | 1 - 7 files changed, 7 deletions(-) commit 0a466c09fb70b92f39df19bc315b6575e419ad5b Author: Albert Astals Cid <aacid@kde.org> Date: Tue Feb 26 22:47:31 2008 +0100 We also need to distribute poppler-export.h qt4/src/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 2034d57c700049bc9a6565bbb818e1c9f4467784 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Feb 26 22:46:29 2008 +0100 Now for real: Add special casing in cmake buildsystem for MSVC, also add Export markers to qt4 classes, although symbol visibility is only used on MSVC at the moment CMakeLists.txt | 5 +++++ qt4/src/CMakeLists.txt | 3 +++ qt4/src/poppler-annotation-helper.h | 1 + qt4/src/poppler-annotation-private.h | 1 + qt4/src/poppler-annotation.h | 19 ++++++++++--------- qt4/src/poppler-converter-private.h | 1 + qt4/src/poppler-export.h | 6 +++--- qt4/src/poppler-form.h | 9 +++++---- qt4/src/poppler-link-extractor-private.h | 1 + qt4/src/poppler-link.h | 17 +++++++++-------- qt4/src/poppler-page-private.h | 1 + qt4/src/poppler-private.h | 1 + qt4/src/poppler-qiodeviceoutstream-private.h | 1 + qt4/src/poppler-qt4.h | 21 +++++++++++---------- qt4/tests/CMakeLists.txt | 6 ++++++ 15 files changed, 59 insertions(+), 34 deletions(-) commit b931920f63f4276ec355118faa061bafa5ac5244 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Feb 26 22:42:16 2008 +0100 Add special casing in cmake buildsystem for MSVC, also add Export markers to qt4 classes, although symbol visibility is only used on MSVC at the moment qt4/src/poppler-export.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 1778fddb36d6cb2c7f7848bee06189158f69f16e Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 24 23:02:08 2008 +0100 Add the cmake files to EXTRA_DIST so they get added when i do make dist to get the release tarball Makefile.am | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit 51f171e10a42d492c8c32a5e2578d05b73d89238 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 24 22:47:46 2008 +0100 ignore more qt4/demos/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit adb1ccdb9265f0583cb348c456a39efac610aff1 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 24 22:46:33 2008 +0100 ignore qt4/demos/.gitignore | 2 ++ 1 file changed, 2 insertions(+) commit 101e526c63175ffc1a75e1b68da7bb4fff9cd530 Author: Patrick Spendrin <ps_ml@gmx.de> Date: Sun Feb 24 20:52:41 2008 +0100 define snprintf to _snprintf if we are building on MSVC config.h.cmake | 4 ++++ 1 file changed, 4 insertions(+) commit f7f8ab488257c3979d20e5c0690ec5d7c2cd831b Author: Patrick Spendrin <ps_ml@gmx.de> Date: Sun Feb 24 20:43:11 2008 +0100 define M_PI in case it is not defined poppler/Function.cc | 4 ++++ 1 file changed, 4 insertions(+) commit f00436b63bf9a42dcb2728a07db9c20f1f23d0bc Author: Patrick Spendrin <ps_ml@gmx.de> Date: Sun Feb 24 20:39:42 2008 +0100 Add proper dirent.h guards utils/pdftoabw.cc | 2 ++ utils/pdftohtml.cc | 2 ++ 2 files changed, 4 insertions(+) commit e1463451c584181f918265438cf6ddcb408bf731 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Feb 21 20:43:56 2008 +0100 Code uses if USE_EXCEPTIONS, so we need to defined it to 1, not just define it configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88d4bbbcf828e3247454c8ba3c2fb0fb58207b6a Author: Michael Vrable <mvrable@cs.ucsd.edu> Date: Thu Feb 21 19:53:03 2008 +0100 If a bitmap's dimensions are invalid, do not try to display it. poppler/Gfx.cc | 3 +++ 1 file changed, 3 insertions(+) commit 452ae6f5674b00b43955952961f7ca0583f73e27 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Feb 21 19:46:19 2008 +0100 Make sure we don't draw outside the bitmap on Splash::fillGlyph2 splash/Splash.cc | 76 ++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 49 insertions(+), 27 deletions(-) commit 7f60fa806bd6d3d28917f349a2a19b52f97f593a Author: James Cloos <cloos@jhcloos.com> Date: Thu Feb 21 13:00:05 2008 -0500 Fix typo Signed-off-by: James Cloos <cloos@jhcloos.com> qt4/demos/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 053ecae534a4522d152b0139b6aed6da2059d760 Author: Carl Worth <cworth@cworth.org> Date: Wed Feb 20 17:21:27 2008 -0800 Keep cairo and cairo_shape consistent The 'cairo_shape' state was not always being modified at the same time as 'cairo'. In some cases this led to a sequence of ever larger matrix scale factors until things just blew up. poppler/CairoOutputDev.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit bf6dd890994150406b4464e45355a4a99870fc60 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 21 01:23:07 2008 +0100 Add a dock for showing the document metadata. qt4/demos/CMakeLists.txt | 1 + qt4/demos/Makefile.am | 3 +++ qt4/demos/metadata.cpp | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ qt4/demos/metadata.h | 43 +++++++++++++++++++++++++++++++++++++++++ qt4/demos/viewer.cpp | 7 +++++++ 5 files changed, 104 insertions(+) commit b6f0c8f83924c08be20b602b128651bf018172a3 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 21 00:54:26 2008 +0100 Do not assign conflicting accelerators. qt4/demos/viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0c27a968c7e7a0f6a89a050ddbfe328229f431d Author: Pino Toscano <pino@kde.org> Date: Thu Feb 21 00:53:24 2008 +0100 Apply the antialias settings w/o notify the observers. qt4/demos/viewer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2c6149abcecda15c6f73a1dee537072240ddd545 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 21 00:51:21 2008 +0100 Add a settings menu to choose the render backend. qt4/demos/viewer.cpp | 28 ++++++++++++++++++++++++++++ qt4/demos/viewer.h | 3 +++ 2 files changed, 31 insertions(+) commit db2b0778dca364751a1d22294be29f8c7799e2e9 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 21 00:33:23 2008 +0100 Add a dock for showing the embedded files. TODO: show the checksum in a pretty format. qt4/demos/CMakeLists.txt | 1 + qt4/demos/Makefile.am | 3 ++ qt4/demos/embeddedfiles.cpp | 75 +++++++++++++++++++++++++++++++++++++++++++++ qt4/demos/embeddedfiles.h | 43 ++++++++++++++++++++++++++ qt4/demos/viewer.cpp | 7 +++++ 5 files changed, 129 insertions(+) commit 51fba47ccb12a66282769fc504bac4c9f5123f75 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 17 01:49:59 2008 +0100 clear the page label when the document is closed qt4/demos/pageview.cpp | 2 ++ 1 file changed, 2 insertions(+) commit e964e2b9fbbe9b52b137ecd06729a06530835227 Author: Michael Vrable <mvrable@cs.ucsd.edu> Date: Tue Feb 19 23:22:55 2008 +0100 Allow grouped checkboxes to be selected individually. When checkboxes are in a group, they ought to behave like a collection of radio buttons. However, when deciding whether to draw a checkbox as selected or not, the checkbox-drawing code was looking up the value of the V field in the form dictionary, which is shared among all checkboxes in the group. Thus, checkboxes would either all be on or off in unison. Instead, look up the AS (appearance state) value in each checkbox's annotation dictionary, so that different checkboxes can be drawn differently. poppler/Annot.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 702fdd6c56b5369554c683d8c8e0e2c66e80886c Author: Albert Astals Cid <aacid@kde.org> Date: Tue Feb 19 00:18:04 2008 +0100 changes from gtk-doc glib/reference/tmpl/poppler-document.sgml | 1 + glib/reference/tmpl/poppler-page.sgml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 9e13b91ba38c20989d283588e73490a1601f5bb0 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Feb 19 00:10:24 2008 +0100 distribute the headers too qt4/demos/Makefile.am | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 194e0ced7c38514ec3126666531862e3b29b4b77 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Feb 18 23:34:06 2008 +0100 Fill NEWS and increase version number to 0.7 CMakeLists.txt | 2 +- NEWS | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- msvc/config.h | 6 ++-- qt4/src/Doxyfile | 2 +- 5 files changed, 102 insertions(+), 6 deletions(-) commit 3c407efe9f1f0cc3f6366d3a2b6e9b687656cc95 Merge: 51f0cea 7f4acb8 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 18 21:30:42 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 51f0cea0e3ba1acfc63877752e950fdd8c07e258 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 18 21:29:41 2008 +0100 make the poppler_qt4viewer compile with the auto"tools" qt4/demos/Makefile.am | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 7f4acb879d300e18dfaff768027c88195d7d8f1b Author: Timothy Lee <timothy.lee@siriushk.com> Date: Mon Feb 18 20:56:35 2008 +0100 Implement ImageOutputDev::drawMaskedImage and ImageOutputDev::drawSoftMaskedImage so all images are exported when using pdfimages utils/ImageOutputDev.cc | 19 +++++++++++++++++++ utils/ImageOutputDev.h | 11 +++++++++++ 2 files changed, 30 insertions(+) commit 064b316648e35416bb49336639da1d8d288d1ecf Author: Albert Astals Cid <aacid@kde.org> Date: Mon Feb 18 20:17:37 2008 +0100 xref can be null so check for it before checking we went out of bounds Fixes bug 14549 poppler/Lexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b287b611b1c7b7dd00e12518cee3a6c35044e161 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 17 01:21:07 2008 +0100 Really niptick: help menu with about dialog for us and Qt. qt4/demos/viewer.cpp | 15 +++++++++++++++ qt4/demos/viewer.h | 2 ++ 2 files changed, 17 insertions(+) commit 6400254fdabf3d0d32f27ebd00faa6958be62019 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 17 01:12:27 2008 +0100 Add a title to the viewer :) qt4/demos/viewer.cpp | 2 ++ 1 file changed, 2 insertions(+) commit b363c0568c9c61e7ee8ed86d808f0eed0b93b525 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 17 01:09:57 2008 +0100 Add the possibility to save a copy of the file. qt4/demos/viewer.cpp | 29 +++++++++++++++++++++++++++++ qt4/demos/viewer.h | 2 ++ 2 files changed, 31 insertions(+) commit 42987dcdd8d7432145f78cfc550f0c099e6e7311 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 17 00:33:01 2008 +0100 Add a Permissions dock. qt4/demos/CMakeLists.txt | 1 + qt4/demos/Makefile.am | 1 + qt4/demos/permissions.cpp | 77 +++++++++++++++++++++++++++++++++++++++++++++++ qt4/demos/permissions.h | 43 ++++++++++++++++++++++++++ qt4/demos/viewer.cpp | 7 +++++ 5 files changed, 129 insertions(+) commit 9d1dda64de1d9e3f6fc81e40a0c2246a6270dfa8 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 23:56:17 2008 +0100 Add settings for antialias. qt4/demos/viewer.cpp | 41 +++++++++++++++++++++++++++++++++++++++++ qt4/demos/viewer.h | 4 ++++ 2 files changed, 45 insertions(+) commit 3abb8703d7d8b7a5fbcbb3c19d8e84d640abe88c Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 22:25:11 2008 +0100 Add a TOC info dock. qt4/demos/CMakeLists.txt | 1 + qt4/demos/Makefile.am | 1 + qt4/demos/toc.cpp | 90 ++++++++++++++++++++++++++++++++++++++++++++++++ qt4/demos/toc.h | 43 +++++++++++++++++++++++ qt4/demos/viewer.cpp | 7 ++++ 5 files changed, 142 insertions(+) commit 80925f06d125ebfc9909e36bdbe5d37fd0e48bdc Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 21:51:10 2008 +0100 Adapt the Fonts and Info docks to the new abstract info dock. qt4/demos/fonts.cpp | 10 +++------- qt4/demos/fonts.h | 11 +++++------ qt4/demos/info.cpp | 10 +++------- qt4/demos/info.h | 11 +++++------ 4 files changed, 16 insertions(+), 26 deletions(-) commit c03531d691e56aba2b4c6538cf9e2463e1e0aa29 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 21:43:19 2008 +0100 Introduce a base info dock for handling the "dirty" work. qt4/demos/CMakeLists.txt | 1 + qt4/demos/Makefile.am | 1 + qt4/demos/abstractinfodock.cpp | 57 ++++++++++++++++++++++++++++++++++++++++++ qt4/demos/abstractinfodock.h | 48 +++++++++++++++++++++++++++++++++++ 4 files changed, 107 insertions(+) commit 0f7d51c7fc2439ee9392c166576c341238f00f36 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 18:49:52 2008 +0100 Delete the poppler page after usage. qt4/demos/pageview.cpp | 1 + 1 file changed, 1 insertion(+) commit b41d069cdd1435ddb14b3de2986875069523c814 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 18:48:57 2008 +0100 Initialize the current page number correctly. qt4/demos/viewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 75e516af0e72a2e3041660300e522ad00869372b Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 18:43:56 2008 +0100 Add a side dock for showing the fonts of the document. qt4/demos/CMakeLists.txt | 1 + qt4/demos/Makefile.am | 1 + qt4/demos/fonts.cpp | 78 ++++++++++++++++++++++++++++++++++++++++++++++++ qt4/demos/fonts.h | 44 +++++++++++++++++++++++++++ qt4/demos/viewer.cpp | 7 +++++ 5 files changed, 131 insertions(+) commit 8e642d1cbd48d4790a6769287cbfd90c3bc9fc34 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 17:21:30 2008 +0100 Add a View menu where the dock widget toogle actions will be. As start, put the Info dock there. qt4/demos/viewer.cpp | 4 ++++ 1 file changed, 4 insertions(+) commit c1feb7c2b5008cc04edb3c028f888072920ce4dc Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 17:14:00 2008 +0100 Add a side dock for showing the info keys. qt4/demos/CMakeLists.txt | 1 + qt4/demos/Makefile.am | 1 + qt4/demos/info.cpp | 78 ++++++++++++++++++++++++++++++++++++++++++++++++ qt4/demos/info.h | 44 +++++++++++++++++++++++++++ qt4/demos/viewer.cpp | 5 ++++ 5 files changed, 129 insertions(+) commit abc9b00c6470f9f6b66c280455f544ad0ee3aa8c Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 16:09:52 2008 +0100 Basic work in the demo PDF viewer, open documents and navigate into the pages. An observer structure was introduced, so extra components can be easily added and made aware of the document/page changes. Both the navigation toolbar and the page view are implemented as observers. qt4/demos/CMakeLists.txt | 3 ++ qt4/demos/Makefile.am | 3 ++ qt4/demos/documentobserver.cpp | 45 +++++++++++++++++++ qt4/demos/documentobserver.h | 49 +++++++++++++++++++++ qt4/demos/navigationtoolbar.cpp | 98 +++++++++++++++++++++++++++++++++++++++++ qt4/demos/navigationtoolbar.h | 56 +++++++++++++++++++++++ qt4/demos/pageview.cpp | 60 +++++++++++++++++++++++++ qt4/demos/pageview.h | 44 ++++++++++++++++++ qt4/demos/viewer.cpp | 98 +++++++++++++++++++++++++++++++++++++++-- qt4/demos/viewer.h | 17 +++++++ 10 files changed, 470 insertions(+), 3 deletions(-) commit 14c88853a5675f40efb72f3ef01f49eb06ab846c Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 00:32:30 2008 +0100 Compile the poppler_qt4viewer. qt4/demos/CMakeLists.txt | 7 +++++++ qt4/demos/Makefile.am | 12 ++++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) commit aeb591f015d5e7a2643ed75d872358d2b1256b99 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 16 00:31:46 2008 +0100 Add a very minimal base PDF viewer. So minimal that it does nothing at the moment... qt4/demos/main_viewer.cpp | 29 +++++++++++++++++++++++++++++ qt4/demos/viewer.cpp | 46 ++++++++++++++++++++++++++++++++++++++++++++++ qt4/demos/viewer.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 120 insertions(+) commit 8da490b090487c4c37290b63bdc9abcfaf6d6940 Author: Pino Toscano <pino@kde.org> Date: Fri Feb 15 23:59:39 2008 +0100 Add a skeleton of directory where PopplerQt4 demos will be. configure.ac | 1 + qt4/CMakeLists.txt | 1 + qt4/Makefile.am | 2 +- qt4/demos/CMakeLists.txt | 10 ++++++++++ qt4/demos/Makefile.am | 20 ++++++++++++++++++++ 5 files changed, 33 insertions(+), 1 deletion(-) commit e24b49d52a5c1716641695ee731dd49848a114d9 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 14 22:21:54 2008 +0100 do not print it as string qt4/src/poppler-private.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2316455864e9c900c08d051c59b9508eddcb7c34 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 14 21:02:20 2008 +0100 Pipe the poppler error messages through the Qt debug system. qt4/src/poppler-private.cc | 21 +++++++++++++++++++++ qt4/src/poppler-private.h | 8 +++++++- 2 files changed, 28 insertions(+), 1 deletion(-) commit d985d3b0cdc57370137865add2a5f3a7802109c7 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 14 14:56:18 2008 +0100 Use what FormWidgetText give us. qt4/src/poppler-form.cc | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) commit a69bd442e52f4495f8d6bfd3bb58b3ebd1be1a63 Author: Michael Vrable <mvrable@cs.ucsd.edu> Date: Thu Feb 14 12:52:22 2008 +0100 Provide Unicode mappings for some control characters in PDFDocEncoding. Though they do not represent glyphs, values such as carriage return can be found in text strings in PDFDocEncoding. Provide mappings for these bytes to Unicode. Additionally, map unknown characters to U+FFFD instead of U+0000, so that unknown characters do not result in nulls (which can truncate strings early, particularly if the string is later re-encoded into null-terminated UTF-8). poppler/PDFDocEncoding.cc | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit ce17383e0ed21770b471e88f25046a64a23e7e45 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Feb 13 20:56:39 2008 +0100 Yet another fix for buggy documents, do not use the cache if the cache could not be created because it ought to be too big Fixes http://bugs.kde.org/show_bug.cgi?id=157777 splash/SplashFont.cc | 48 ++++++++++++++++++++++++++++-------------------- 1 file changed, 28 insertions(+), 20 deletions(-) commit 15a61cac718ae8cbf83911e299b4cfdd24cdf178 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 13 20:55:18 2008 +0100 add images.c glib/demo/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 9cfe10ab7f51d329647e102e446baaef043d8cc6 Merge: e918729 7d65b4d Author: Pino Toscano <pino@kde.org> Date: Wed Feb 13 20:53:43 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 7d65b4da1bc060aeb94d67c2ff26912cef48c030 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Feb 13 20:32:43 2008 +0100 Add images demo glib/demo/Makefile.am | 2 + glib/demo/images.c | 338 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/images.h | 31 +++++ glib/demo/main.c | 4 +- 4 files changed, 374 insertions(+), 1 deletion(-) commit e9187292701e72db1020f7701d0725d83eee4b00 Author: Pino Toscano <pino@kde.org> Date: Wed Feb 13 19:41:57 2008 +0100 Do the one-time initialisation in initTestCase(). qt4/tests/check_dateConversion.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit fb996c46e3c6b56a2c67819620000bcd804aacd6 Author: Michael Vrable <mvrable@cs.ucsd.edu> Date: Wed Feb 13 18:44:41 2008 +0100 Major rework of text display in form fields code. This adds support for UTF-16 strings as input, and will recode them to the appropriate character set for the font. The method Annot::layoutText packs a lot of functionality together, but I couldn't see a good way to split it apart. It will convert an input text string from PDFDocEncoding or UTF-16 (encoding is autodetected) to the appropriate encoding for the font which will be used to display the form field. At the same time, it can compute the width of the resulting string, and optionally break the string at a specified width to aid in wrapping multi-line text. Text wrapping is integrated with encoding conversion since wrapping is easiest with the original text (where spaces and newlines are easily identified), but text widths can only be computed after re-encoding. Support for composite fonts is included, so long as those fonts use an identity CMap, but this is still untested. Support for more complex CMaps is missing. The rewrite also includes a minor improvement to the formatting of comb fields; characters are now centered in the comb cells. poppler/Annot.cc | 507 +++++++++++++++++++++++++++++++++++-------------------- poppler/Annot.h | 9 +- 2 files changed, 327 insertions(+), 189 deletions(-) commit 88c780aed4c9855f879e3c7a9f82500a859635a2 Author: Michael Vrable <mvrable@cs.ucsd.edu> Date: Wed Feb 13 18:42:49 2008 +0100 Fix what look to be a few bugs in functions for mapping to/from Unicode. - Endianness fix in pdfDocEncodingToUTF16 (previously looked to assume a little-endian processor) - Add support for CharCodeToUnicode::mapToCharCode for Unicode codepoints above 255. poppler/CharCodeToUnicode.cc | 4 ++-- poppler/Form.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 7574cb71f24ce5b32427f243c39b6029fb58ec81 Merge: e798802 4e45e5c Author: Pino Toscano <pino@kde.org> Date: Wed Feb 13 01:07:31 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 4e45e5ca4ab0ba2a6586505d80ed81f4b3426752 Author: Patrick Spendrin <ps_ml@gmx.de> Date: Tue Feb 12 21:41:26 2008 +0100 Do the right thing with CDECL, that is, undefine it if it is defined so we can redefine it later poppler-config.h.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e798802f00bff0a24ee6d1312d6c62624395865a Author: Pino Toscano <pino@kde.org> Date: Tue Feb 12 20:57:56 2008 +0100 Apidox fix: state which checksum is returned (if available). qt4/src/poppler-qt4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4e2ba70a88c40fef6775053b1cc5fa30e622cea7 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 12 11:25:34 2008 +0100 Free the Object after you use it. poppler/Annot.cc | 1 + 1 file changed, 1 insertion(+) commit 039545fcd2c12631c7b8aea89c35f36cb387a17a Author: Pino Toscano <pino@kde.org> Date: Tue Feb 12 11:13:27 2008 +0100 Return the siblings even for checkboxes. qt4/src/poppler-form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fe5ee75cdf3e11e314318af12edf9d5bc8986250 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 12 11:12:01 2008 +0100 Initialize correctly; free your memory. poppler/Form.cc | 2 ++ 1 file changed, 2 insertions(+) commit e0eff92c7067d43faa8e93baed1f061863111251 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Feb 11 20:32:41 2008 +0100 Update the field dict instead of the annot dict for non composed dicts We were always updating the annot dictionary, adding or updating the V field. While this is correct for composed dicts (annot + field) it isn't for non composed ones since the annot dictionary doesn't contain any V field because it's a field of the form field dictionary. In these cases the form field is not correctly updated and if the document is saved it will be wrong. poppler/Form.cc | 44 +++++++++++++++++++++++++++++++------------- poppler/Form.h | 2 ++ 2 files changed, 33 insertions(+), 13 deletions(-) commit 905e6da9795fee94329022c0cafbc229055fd4f6 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 10 19:22:50 2008 +0100 Move forms specific draw methods from Annot to AnnotWidget class poppler/Annot.cc | 3433 +++++++++++++++++++++++++++--------------------------- poppler/Annot.h | 87 +- poppler/Form.cc | 39 +- poppler/Form.h | 2 + poppler/Page.cc | 9 +- 5 files changed, 1765 insertions(+), 1805 deletions(-) commit 78afbc4d7819654e8742d4457c9847ad02b73bf1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Feb 10 17:12:59 2008 +0100 Some code refactoring and cleanup - Unused 'field' attribute in FormWidget class is now used and getField() method has been added - Method isReadOnly() in FormWidget class is not virtual anymore but implemented in the base class - Unused attribute 'catalog' in Form class has been removed and 'acroForm' has been added instead with a getObj() method to get it. - createFieldFromDict() method is now static poppler/Form.cc | 128 ++++++++++++++++++++++++++++---------------------------- poppler/Form.h | 41 +++++++++--------- 2 files changed, 84 insertions(+), 85 deletions(-) commit 5f8e2f9140ee2ede841700726b974768ec863672 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 11 20:16:44 2008 +0100 Use QVarLengthArray instead of relying on gcc-ism. qt4/src/poppler-page.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7499764d382366823519aa13a38e1e44781c78af Author: Pino Toscano <pino@kde.org> Date: Mon Feb 11 11:57:50 2008 +0100 Add FormFieldButton::siblings(). This is needed for grouping together the radio buttons. qt4/src/poppler-form.cc | 14 ++++++++++++++ qt4/src/poppler-form.h | 8 ++++++++ 2 files changed, 22 insertions(+) commit 85bfa4f499a90d45b13df4d0a8760a7da6fc1532 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 11 02:40:37 2008 +0100 Small apidox fix. qt4/src/poppler-form.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) commit ada05055c91e967dc3e2af32a2176dd12cb7fe70 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 11 02:27:19 2008 +0100 Preliminary support for "button" form fields (ie, push buttons, check boxes, and radio buttons). qt4/src/poppler-form.cc | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-form.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-page.cc | 6 ++++++ 3 files changed, 115 insertions(+) commit 278b33f25df418ef12798100002845a3e2ceebd3 Merge: c730b33 fdb0a4a Author: Pino Toscano <pino@kde.org> Date: Mon Feb 11 00:57:24 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit fdb0a4a2f1d86aec7a3b0fcd4b4d48455791ecad Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Feb 10 18:47:40 2008 -0500 Avoid prescaling images when printing. Adds a function for letting the CairoOutputDev know whether it is targetting a screen or not. It then uses this knowledge to avoid prescaling images. This way cairo gets the full resolution image for use in the printed output. glib/poppler-page.cc | 1 + poppler/CairoOutputDev.cc | 3 ++- poppler/CairoOutputDev.h | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) commit c730b33f1ec2032c4b8c2660738448d954eb0f7d Author: Pino Toscano <pino@kde.org> Date: Mon Feb 11 00:46:20 2008 +0100 Keep the EmbFile object, and use this for getting the data. qt4/src/poppler-embeddedfile.cc | 33 +++++++++++---------------------- qt4/src/poppler-private.h | 1 - 2 files changed, 11 insertions(+), 23 deletions(-) commit 5915e57e7785370ce305cbbb3c2fedf36886689f Author: Pino Toscano <pino@kde.org> Date: Sun Feb 10 03:19:18 2008 +0100 const & in foreach qt4/tests/poppler-fonts.cpp | 2 +- qt4/tests/stress-poppler-dir.cpp | 2 +- qt4/tests/stress-poppler-qt4.cpp | 2 +- qt4/tests/test-password-qt4.cpp | 2 +- qt4/tests/test-poppler-qt4.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit d8374e0c2eb3ba05be101687e20c5fcbc42c1ad0 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 10 01:32:24 2008 +0100 Include only what needed; remove extra includes. qt4/tests/poppler-attachments.cpp | 4 +++- qt4/tests/poppler-fonts.cpp | 4 +++- qt4/tests/stress-poppler-dir.cpp | 9 ++++++--- qt4/tests/stress-poppler-qt4.cpp | 9 ++++++--- qt4/tests/test-password-qt4.cpp | 10 ++++++---- qt4/tests/test-poppler-qt4.cpp | 12 ++++++++---- 6 files changed, 32 insertions(+), 16 deletions(-) commit fa01a1115c4554b18c3462b568d76860d2fbe17b Author: Pino Toscano <pino@kde.org> Date: Sun Feb 10 01:09:57 2008 +0100 Comment out unused vars. utils/pdftoabw.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d3275e4263372b534c276f81d0c997ecb6675487 Merge: c2186c1 5347a97 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 9 23:57:03 2008 +0100 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit c2186c1829c695c4ddb6c471ef8ad4ffa23c1b70 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 9 23:56:32 2008 +0100 Only check if we are out of bounds if the object we are searching for has a known id (0 also means not known) Found by Michael Vrable poppler/Lexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5347a97e39388ae38cf2ab9c67f953b0f7a02a13 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 9 18:26:41 2008 +0100 Add the operators for the flags we have. qt4/src/poppler-qt4.h | 3 +++ 1 file changed, 3 insertions(+) commit 329ade4f936bf063539cdc887aaf9a1722a5b8e0 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 9 18:23:59 2008 +0100 Add options for the PDF export; add the WithChanges flag for saving the changes to the document as well. qt4/src/poppler-pdf-converter.cc | 25 +++++++++++++++++++++++-- qt4/src/poppler-qt4.h | 14 ++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) commit afb255366d56551bdc307766199bef9c5021d3ac Merge: 8c44b17 8cb0e75 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 9 17:58:49 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 8c44b175081983c492821858341109fee9e86b16 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 9 17:57:57 2008 +0100 Do not rely on GNU extensions, but at least use Qt. qt4/src/poppler-qiodeviceoutstream.cc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 8cb0e75203daa01439413d1a775482b48e784baa Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 9 17:56:13 2008 +0100 Domain order is x_min x_max y_min y_max and not x_min y_min x_max y_max poppler/GfxState.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c8f734ba4258059fa4521a4d364f62ca1632840b Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 9 13:37:04 2008 +0100 PS cos and sin input values are degrees so convert to radians so we can use the cos and sin cmath functions poppler/Function.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5fb0c9d31c1abf2e6ad306c112fbd2a7c33d8772 Merge: 2655663 2255c85 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 9 13:15:15 2008 +0100 Merge branch 'master' of ssh://carlosgc@git.freedesktop.org/git/poppler/poppler commit 26556636e71d5abcbfdd1373f5576d1233532cf8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Feb 9 13:14:41 2008 +0100 Add saveWithoutChangesAs method to be able to save the document ignoring changes made in forms or annots glib/poppler-document.cc | 41 ++++++++++++++++++++++++++++++++++++++++- glib/poppler-document.h | 3 +++ poppler/PDFDoc.cc | 38 ++++++++++++++++++++++++++++++++------ poppler/PDFDoc.h | 4 ++++ 4 files changed, 79 insertions(+), 7 deletions(-) commit 2255c85e4939a0752083dca21984ff4398baf8d2 Merge: 5ba9287 56c9246 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 9 12:49:45 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 5ba928762471e1ea8b81acd4644dfd3f58d18f77 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 9 12:48:04 2008 +0100 Fix placeholders in printf-like functions. glib/demo/page.c | 2 +- glib/test-poppler-glib.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 56c924609223196c5c41b9e6d9102bc248bad947 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 9 12:26:06 2008 +0100 atan operator must yield a degrees result between 0 and 360 See testcase at http://bugs.kde.org/show_bug.cgi?id=157497 poppler/Function.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 2a39932ae35a2716842bd2a1c3d4f9ce6b1e3dd8 Author: Pino Toscano <pino@kde.org> Date: Sat Feb 9 01:31:20 2008 +0100 Few improvements to the password test. - QString::fromUtf8() instead of QFile::encodeName() to correctly pass the utf8 filenames - QVERIFY(!foo) instead of QCOMPARE(foo, false) - QVERIFY() also the return value of unlock() qt4/tests/check_password.cpp | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) commit cc9c124d4d859b845eebf4ca1e4397870a35fd4e Author: Pino Toscano <pino@kde.org> Date: Sat Feb 9 01:09:02 2008 +0100 Add an unit test case for few invalid dates. qt4/tests/check_dateConversion.cpp | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit eca91761741de5b340f7a2160db5b33401feb935 Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 18:42:14 2008 +0100 Remove unneeded headers. qt4/src/poppler-page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 899627505a4645fb1cc7d3599adbeec449c57041 Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 18:41:13 2008 +0100 The return value is QString, so return QString's... qt4/src/poppler-document.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a1606fa4ff438983e3a7f55dd2d10a66f72e6711 Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 17:31:32 2008 +0100 Move checkDocument() inside the private class. qt4/src/poppler-document.cc | 6 +++--- qt4/src/poppler-private.h | 2 ++ qt4/src/poppler-qt4.h | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) commit f1ec70a83f807493dab5118761df31c0f67decad Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 17:26:41 2008 +0100 Remove C-ism. qt4/src/poppler-document.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3e994e8586fa1c87ef7e7f82af1cdacf2cd36310 Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 12:21:56 2008 +0100 Add the missing font types. qt4/src/poppler-fontinfo.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit ba07963f85d777a441349e23d4c2f510e45c73be Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 12:19:04 2008 +0100 Be safe against self-assignment. qt4/src/poppler-fontinfo.cc | 3 +++ 1 file changed, 3 insertions(+) commit 834b86548e09f4b24cdb2f194299d053b9b55022 Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 12:15:16 2008 +0100 Small apidox fix. qt4/src/poppler-qt4.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 11a61eac5b8cde04bf762bbbe0deab5c0bd52951 Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 02:21:32 2008 +0100 Pack few bools together. qt4/src/poppler-annotation.cc | 8 ++++---- qt4/src/poppler-link.cc | 10 +++++----- qt4/src/poppler-private.h | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) commit 1aeba15b5eb9b30943259824678ebc9e4f56e870 Merge: a489063 22d10c1 Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 01:39:16 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit a4890637a2c2ab1623311d9a6920e82131c2597c Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 01:36:56 2008 +0100 Move QStringToUnicodeGooString() and QStringToGooString() to the private module. qt4/src/poppler-document.cc | 10 ---------- qt4/src/poppler-form.cc | 15 --------------- qt4/src/poppler-private.cc | 25 +++++++++++++++++++++++++ qt4/src/poppler-private.h | 4 ++++ 4 files changed, 29 insertions(+), 25 deletions(-) commit 5e44241c4976b819f7be6badd2d183fbfb8ee6de Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 01:30:07 2008 +0100 Move the string functions implementation in a .cc file. qt4/src/CMakeLists.txt | 1 + qt4/src/Makefile.am | 1 + qt4/src/poppler-private.cc | 70 ++++++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-private.h | 46 +++--------------------------- 4 files changed, 76 insertions(+), 42 deletions(-) commit 124d92139241ad95da559d22af48254b45ac4a2e Author: Pino Toscano <pino@kde.org> Date: Fri Feb 8 01:07:43 2008 +0100 Include own header first, remove extra includes. qt4/src/poppler-document.cc | 1 - qt4/src/poppler-embeddedfile.cc | 3 ++- qt4/src/poppler-form.cc | 4 +++- qt4/src/poppler-link-extractor-private.h | 2 ++ qt4/src/poppler-link-extractor.cc | 7 +++++-- qt4/src/poppler-page-private.h | 6 +++++- qt4/src/poppler-private.h | 4 +++- qt4/src/poppler-qt4.h | 2 -- qt4/src/poppler-sound.cc | 4 ++-- 9 files changed, 22 insertions(+), 11 deletions(-) commit 22d10c19e232dea143bda372c92aa12b999e4921 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Feb 7 23:38:50 2008 +0100 PDF spec says name tokens have a maximum length of 127, but there are some docs in the wild with more than that and they work on acroread so increase the allowed length to 128+127 poppler/Lexer.cc | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) commit ee9f85915feb86b54ace1a403baa13bbdd7c3966 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 7 18:07:53 2008 +0100 Having a PageData is mandatory. Just assert when constructing instead of checking for it in each link iteration. qt4/src/poppler-link-extractor.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ad4b1361f6c25359e6ddb38599bfc1e4e3e80408 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 7 18:03:30 2008 +0100 Precalc stuff we don't need to recalc in each link iteration. qt4/src/poppler-link-extractor-private.h | 3 ++- qt4/src/poppler-link-extractor.cc | 14 ++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) commit 82432dbc62a0879f4513640c2e0f594fda9347ad Author: Pino Toscano <pino@kde.org> Date: Thu Feb 7 17:51:50 2008 +0100 Store the ::Page internally, so we don't need to get it again everytime. qt4/src/poppler-page-private.h | 3 +++ qt4/src/poppler-page.cc | 37 ++++++++++++++----------------------- 2 files changed, 17 insertions(+), 23 deletions(-) commit 8ec51f7ca518aa6a4a69f30d373722d05f50cf07 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 7 16:48:16 2008 +0100 Compile the stress-poppler-dir test as well. qt4/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 8a946b76ae2e7c2c5238b4e580c1c226eb457dc9 Author: Pino Toscano <pino@kde.org> Date: Thu Feb 7 01:07:28 2008 +0100 Micro-touches to the debug messages. qt4/src/poppler-page.cc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit c31990dfe50c7a0e3999e6d967699fce5ccb3339 Merge: 7701e2a 6d58cda Author: Pino Toscano <pino@kde.org> Date: Tue Feb 5 00:38:00 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 7701e2a5c7d18fdaa0fa40c190e6ee0524746046 Author: Pino Toscano <pino@kde.org> Date: Tue Feb 5 00:37:01 2008 +0100 Add a AnnotColor -> QColor conversion method. qt4/src/poppler-annotation-helper.h | 6 ++++++ qt4/src/poppler-annotation.cc | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) commit 6d58cda82b0181f2cca6e9d95b15877793be0812 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Feb 4 23:33:51 2008 +0100 Protect us against weird dateString values qt4/src/poppler-document.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit aa0435f1544fe1adcf10173e34eaeaf2a7a703c7 Merge: b43f4e9 37600b5 Author: Pino Toscano <pino@kde.org> Date: Mon Feb 4 20:56:53 2008 +0100 Merge branch 'master' of ssh://pino@git.freedesktop.org/git/poppler/poppler commit 37600b5e848386d2c92c3dff8219c9dda16b0dca Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sun Feb 3 22:42:51 2008 +0100 Minor changes to Annot related stuff. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 15 ++++----------- poppler/Annot.h | 12 ++++++++++-- poppler/Gfx.cc | 7 ++++--- poppler/Page.cc | 9 +++++++++ poppler/Page.h | 3 +++ 5 files changed, 30 insertions(+), 16 deletions(-) commit b43f4e9a161a1fd7b827244dc21b1bd2a6df7054 Author: Pino Toscano <pino@kde.org> Date: Sun Feb 3 20:32:15 2008 +0100 Pass the DocumentData to the Page (simplify a bit some code). qt4/src/poppler-document.cc | 2 +- qt4/src/poppler-link-extractor-private.h | 4 +- qt4/src/poppler-link-extractor.cc | 8 ++-- qt4/src/poppler-page-private.h | 4 +- qt4/src/poppler-page.cc | 64 ++++++++++++++++---------------- qt4/src/poppler-qt4.h | 5 +-- 6 files changed, 42 insertions(+), 45 deletions(-) commit 4e0bb0307fccefc21f74a4c5a3a0d7e8e687b550 Author: Pino Toscano <pino@draco.(none)> Date: Sat Feb 2 12:57:25 2008 +0100 Fix include guard. poppler/ArthurOutputDev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6f11ef660540fd13aad1350385beb90758ca86af Author: Albert Astals Cid <aacid@kde.org> Date: Fri Feb 1 23:55:37 2008 +0100 Fix for end condition, init ucode to 0 poppler/GfxFont.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1da2091807ae7f7d4d3f446953c41b4c440d4b1b Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 31 23:52:20 2008 +0100 Ensure we don't draw outside the main bitmap on SplashOutputDev::setSoftMask Fixes crash on http://bugs.kde.org/show_bug.cgi?id=157000 poppler/SplashOutputDev.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit ecabc9469b137e8251344e5502de1cbf875223b9 Author: Pino Toscano <pino@kde.org> Date: Thu Jan 31 00:20:55 2008 +0100 Set RelWithDebInfo as default build type, if not specified. cmake/modules/PopplerMacros.cmake | 4 ++++ 1 file changed, 4 insertions(+) commit 19da87a20b3906523a330e3c956903a58a3ede7f Author: Pino Toscano <pino@kde.org> Date: Thu Jan 31 00:11:58 2008 +0100 Support the different CMake build modes. Now you can specify (using -DCMAKE_BUILD_TYPE=type) a CMake build type to have GCC or ICC w/ tuned C(XX)FLAGS. The supported build types are: None (as in no type is specified on command line), RelWithDebInfo, Release, Debug, DebugFull, Profile. CMakeLists.txt | 7 ------- cmake/modules/PopplerMacros.cmake | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 7 deletions(-) commit 37d2055137c310ceb217164a76814b188be3b1b2 Author: Pino Toscano <pino@draco.(none)> Date: Wed Jan 30 23:12:03 2008 +0100 Introduce the CMake-based build system. Mostly works nicely as the autotools, and it mimics (almost) all the autotools behaviours. Copied some scripts from the KDE cmake scripts (BSD-licensed). TODO: gtk-doc. CMakeLists.txt | 390 +++++++ ConfigureChecks.cmake | 47 + cmake/modules/COPYING-CMAKE-SCRIPTS | 22 + cmake/modules/FindCairo.cmake | 44 + cmake/modules/FindFontconfig.cmake | 47 + cmake/modules/FindFreetype.cmake | 74 ++ cmake/modules/FindGTK.cmake | 70 ++ cmake/modules/FindPackageHandleStandardArgs.cmake | 58 + cmake/modules/FindQt3.cmake | 319 +++++ cmake/modules/FindQt4.cmake | 1295 +++++++++++++++++++++ cmake/modules/MacroBoolTo01.cmake | 20 + cmake/modules/MacroEnsureVersion.cmake | 117 ++ cmake/modules/MacroOptionalFindPackage.cmake | 28 + cmake/modules/MacroPushRequiredVars.cmake | 47 + cmake/modules/PopplerDefaults.cmake | 10 + cmake/modules/PopplerMacros.cmake | 83 ++ config.h.cmake | 149 +++ glib/CMakeLists.txt | 107 ++ glib/demo/CMakeLists.txt | 17 + glib/poppler-features.h.cmake | 24 + poppler-cairo.pc.cmake | 9 + poppler-config.h.cmake | 160 +++ poppler-glib.pc.cmake | 13 + poppler-qt.pc.cmake | 12 + poppler-qt4.pc.cmake | 12 + poppler-splash.pc.cmake | 9 + poppler.pc.cmake | 11 + qt/CMakeLists.txt | 33 + qt4/CMakeLists.txt | 2 + qt4/src/CMakeLists.txt | 43 + qt4/tests/CMakeLists.txt | 47 + test/CMakeLists.txt | 52 + utils/CMakeLists.txt | 84 ++ 33 files changed, 3455 insertions(+) commit 1ea831d3eee6eda35fadfb3c75962a0c708e6c7b Author: Pino Toscano <pino@kde.org> Date: Wed Jan 30 22:17:38 2008 +0100 Preprocessor #warning is GCC-specific. poppler/ArthurOutputDev.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 4c738cc6bd51f9d9e23ba83949c490c5c8691345 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 29 23:45:52 2008 +0100 Scale text to match 'm' size Fixes bug 12304 poppler/SplashOutputDev.cc | 37 +++++++++++++++++++++++++++++++ splash/SplashFTFont.cc | 55 +++++++++++++++++++++++++++++++++++++++++++++- splash/SplashFTFont.h | 4 ++++ splash/SplashFont.h | 4 ++++ splash/SplashFontFile.cc | 1 + splash/SplashFontFile.h | 2 ++ 6 files changed, 102 insertions(+), 1 deletion(-) commit 64f16cf6ebf2870852fe8d937b25be58869ad40a Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 29 23:41:15 2008 +0100 Enable antialias by default on the test tool qt4/tests/test-poppler-qt4.cpp | 2 ++ 1 file changed, 2 insertions(+) commit 90f0e6bc1e96d9f1666cb8476a92e127f5b927d4 Author: Jonathan Kew <jonathan_kew@sil.org> Date: Tue Jan 29 20:23:08 2008 +0100 Provide gstrndup as a portable substitue of strndup configure.ac | 1 - goo/gmem.cc | 7 +++++++ goo/gmem.h | 5 +++++ poppler/GfxFont.cc | 8 +------- 4 files changed, 13 insertions(+), 8 deletions(-) commit 77b91c852ad3d5554afc03aee92a1d928f233401 Merge: 0babb0e 0533696 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jan 28 20:44:34 2008 +0100 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit 0babb0eb1afa343fb12a3fd037b98d2d1c794a1c Author: Jonathan Kew <jonathan_kew@sil.org> Date: Mon Jan 28 20:42:44 2008 +0100 Introduce a check for strndup and alternative for systems without it configure.ac | 1 + poppler/GfxFont.cc | 6 ++++++ 2 files changed, 7 insertions(+) commit 053369678963206a4afa88a614de1994872c7c5a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jan 27 19:36:28 2008 +0100 Add ok_to_fill_form permission flag glib/poppler-document.cc | 2 ++ glib/poppler-document.h | 3 ++- glib/test-poppler-glib.cc | 21 +++++++++++++++++++-- 3 files changed, 23 insertions(+), 3 deletions(-) commit 3085a9495ad87a54758da0024372610fdaf88d57 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Jan 27 19:15:34 2008 +0100 Fix slice rendering in poppler glib demo glib/demo/render.c | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) commit 7ad6c4ba110b970516d5380444a03ae217496ddf Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 24 21:14:44 2008 +0100 Incrementing the iterator would be a good idea qt4/src/poppler-annotation.cc | 1 + 1 file changed, 1 insertion(+) commit 7c99ec4635a4971321bbead7d1bc723da59b755e Author: Julien Rebetez <julien@fhtagn.net> Date: Thu Jan 24 19:18:15 2008 +0100 Revert unwanted change on Dict, fix leak on writeTrailer poppler/Dict.cc | 2 +- poppler/PDFDoc.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 2335fb6034d2e9ec304abba400119b88302b3160 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 23 23:26:20 2008 +0100 Draw underlined Links correctly See http://bugs.kde.org/show_bug.cgi?id=151359 for an example poppler/Gfx.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 96c532ea4b56a147de1deb965126e31f87df588b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jan 23 13:30:12 2008 +0100 Fix memory leak poppler/Form.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 6bca64407c675ca837f83a12c0f655f975f14407 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jan 23 13:27:45 2008 +0100 Make sure default values are not loaded more than once for the same widget. poppler/Form.cc | 18 +++++++++++++++++- poppler/Form.h | 1 + 2 files changed, 18 insertions(+), 1 deletion(-) commit eccf84b51a1cf5d478c0ec84be3fc9be8e458f4f Author: Pino Toscano <pino@kde.org> Date: Tue Jan 22 23:28:16 2008 +0100 Refactor the PSConverter and add a PDFConverter (for PDF export/save). Add an OutStream subclass to redirect the output to a QIODevice. Split the PSConverter in a base class (BaseConverter) w/ d_ptr structure. Add a new PDFConverter that inherit BaseConverter, and do the actual export making use of the new QIODeviceOutStream. The BaseConverter now handles automatically file or QIODevice output. qt4/src/Makefile.am | 5 + qt4/src/poppler-base-converter.cc | 99 ++++++++++++++++ qt4/src/poppler-converter-private.h | 48 ++++++++ qt4/src/poppler-document.cc | 5 + qt4/src/poppler-pdf-converter.cc | 68 +++++++++++ qt4/src/poppler-ps-converter.cc | 162 ++++++++++++--------------- qt4/src/poppler-qiodeviceoutstream-private.h | 47 ++++++++ qt4/src/poppler-qiodeviceoutstream.cc | 71 ++++++++++++ qt4/src/poppler-qt4.h | 85 +++++++++++--- 9 files changed, 483 insertions(+), 107 deletions(-) commit 547db8be1ab0b2987f0f06d8529eaaed2414028c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jan 22 13:22:20 2008 +0100 Fix a crash when createAnnot returns NULL due to invalid annot dict. poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d558841142587d66bd3b2025e5a9ca39f7a6159 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jan 21 21:43:39 2008 +0100 Fix another reversed comparison due to cmp poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb6a87e39336e2e3893f3e5f577e4d176d237a9f Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Mon Jan 21 10:07:35 2008 +0100 Fixed a few compare issues with Annots. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 7cf85dc8d7c895a211684c7d36757063ed4f469b Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Mon Jan 21 21:27:49 2008 +0100 The glade file needs to be distributed test/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 46e93d31dd9b5909ecd8f7a8f8de23329444a7bc Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Sun Jan 20 19:56:51 2008 +0100 we need time.h if we use time() poppler/PDFDoc.cc | 1 + 1 file changed, 1 insertion(+) commit a0adb006c38ea07f010a01d9c0bb07ca0f48939d Author: Pino Toscano <pino@kde.org> Date: Sun Jan 20 19:55:55 2008 +0100 Added a saveAs() overload which takes a plain OutStream poppler/PDFDoc.cc | 9 +++++++-- poppler/PDFDoc.h | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) commit fcdd5c51f370d040ae57aa64801c9bd4dbe88752 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jan 19 18:00:10 2008 +0100 Do not render images when getting the image mapping, it can be done later on demand. glib/poppler-page.cc | 81 +++++++++++++++------------- glib/poppler-page.h | 6 ++- poppler/CairoOutputDev.cc | 131 ++++++++++++++++++++++++++-------------------- poppler/CairoOutputDev.h | 12 ++++- 4 files changed, 135 insertions(+), 95 deletions(-) commit 37ae465775d9a53e7c06cf51aa215439214fd79c Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Sat Jan 19 14:00:31 2008 +0100 ignore pdf-fullrewrite binary test/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 1d160935ea4c1116b745c584ed7f1fd03fbbfb46 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sat Jan 19 13:59:46 2008 +0100 AnnotWidget support and few fixes poppler/Annot.cc | 243 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- poppler/Annot.h | 142 +++++++++++++++++++++++++++++--- 2 files changed, 365 insertions(+), 20 deletions(-) commit 0e91a3973e525d65236d15930a8ea0e5bbb6a6cc Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sat Jan 19 13:59:25 2008 +0100 AnnotTextMarkup support and improved AnnotQuadrilaterals poppler/Annot.cc | 356 ++++++++++++++++++++++++++++++++++++++++++++----------- poppler/Annot.h | 130 +++++++++++++++++--- 2 files changed, 400 insertions(+), 86 deletions(-) commit c13952cd56a40bad14a1bf28699b137f65162f10 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sat Jan 19 13:59:02 2008 +0100 Changed AnnotQuadrilateral parsing inside AnnotLink poppler/Annot.cc | 246 ++++++++++++++++++++++++++++++------------------------- poppler/Annot.h | 19 +++-- 2 files changed, 144 insertions(+), 121 deletions(-) commit 2f821f10fbbba9363405201c86494cd861cec2b2 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sat Jan 19 13:49:43 2008 +0100 Add AnnotQuadPoints class poppler/Annot.cc | 16 ++++++++++++++++ poppler/Annot.h | 23 +++++++++++++++++++++++ 2 files changed, 39 insertions(+) commit de4c8fa6607e55c199bede1dc731227692ef4f53 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sun Dec 30 21:21:56 2007 +0100 AnnotFreeText support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 232 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- poppler/Annot.h | 127 ++++++++++++++++++++++++++++++ 2 files changed, 358 insertions(+), 1 deletion(-) commit c3504a87933ae1516b1ef05e527fd1c039091235 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Sun Dec 30 19:37:18 2007 +0100 Improved AnnotLink support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 116 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 51 ++++++++++++++++++++++++ 2 files changed, 167 insertions(+) commit a20468cc38bb590124b2b028a08f364f90f2487f Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 13:02:17 2008 +0100 Adds a test application to test full rewrite functionnality. test/Makefile.am | 11 ++++++++++- test/pdf-fullrewrite.cc | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) commit 246294714c6011651fd0e5b3649bd65919058c72 Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 12:59:03 2008 +0100 FormWidget's 'modified' member variable is now updated correctly each time an update is done. Before, only text FormWidget had their 'modified' field set to 'true' if they had been updated. It is now the case for the other type of FormWidgets. poppler/Form.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 6e0f297b8b17afb95779724b8618ca39016e664a Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 12:54:09 2008 +0100 Annot will save their generated appearance in their AP dict. poppler/Annot.cc | 42 ++++++++++++++++++++++++++++++++++++++---- poppler/Annot.h | 1 + 2 files changed, 39 insertions(+), 4 deletions(-) commit e20f6a8e9ac3936b4bc03710a71fe390dfc4c094 Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 12:52:02 2008 +0100 Add deep copy constructor to Dict. poppler/Dict.cc | 14 +++++++++++++- poppler/Dict.h | 1 + 2 files changed, 14 insertions(+), 1 deletion(-) commit e8d46cab77c7167edb0896296118daafc0f13b6d Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 12:51:44 2008 +0100 Adds the ability to save PDF using either incremental update or by rewriting completly the PDF. poppler/PDFDoc.cc | 379 +++++++++++++++++++++++++++++++++++++++++++++++++++++- poppler/PDFDoc.h | 18 ++- poppler/XRef.cc | 12 +- poppler/XRef.h | 3 +- 4 files changed, 402 insertions(+), 10 deletions(-) commit 742b0c3dec01d8672b84f56d5bb0e2890b178594 Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 12:51:27 2008 +0100 Make the md5 method of Decrypt public so it can be used by other files. poppler/Decrypt.cc | 5 ++--- poppler/Decrypt.h | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) commit bb7867976740dea259d4110c072552fc5953910f Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 12:51:07 2008 +0100 Modify the writeToFile method of XRef so it uses OutStream instead of a C file descriptor. poppler/XRef.cc | 10 +++++----- poppler/XRef.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) commit d80736587fdbc0e163077f27bfd21c5e3a7fa4c7 Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 12:50:49 2008 +0100 Adds addIndirectObject method to XRef. This method allow the creation of new indirect objects. poppler/XRef.cc | 39 +++++++++++++++++++++++++++++++++++++++ poppler/XRef.h | 1 + 2 files changed, 40 insertions(+) commit 8bd00dd0872191b8806e9411d9a1adc441f08a47 Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 12:50:16 2008 +0100 Add some unfiltered methods to input stream. With these methods, it is possible to read the raw content from the stream, without any filtering (even not the headers). poppler/Stream.cc | 41 ++++++++++++++++++++++++++++------------- poppler/Stream.h | 26 ++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 13 deletions(-) commit 8bcda287ddd316f90b3e47a3a307fbe63a5c21f7 Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 12:46:53 2008 +0100 Add setNeedFree method to MemStream so it is possible to choose if the stream should take care of deleting the buffer. poppler/Stream.h | 4 ++++ 1 file changed, 4 insertions(+) commit 4fbd143de7e3a8ab386dd14b057e62b3b9fe04e4 Author: Julien Rebetez <julien@fhtagn.net> Date: Sat Jan 19 12:45:54 2008 +0100 Add Outstream, a base class for output streams and FileOutStream, which implements OutStream for output to a file. poppler/Stream.cc | 55 +++++++++++++++++++++++++++++++++++++++++++++++ poppler/Stream.h | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+) commit 696eaa47169fb063b7e6998c876926c578b6fbfa Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jan 17 15:56:59 2008 +0100 Fix a crash when editing text form fields poppler/Annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9ec1b28dcdade12498b94b650c26483581294ee6 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jan 17 14:54:34 2008 +0100 Fix a crash when a form field contains reference to non existant children poppler/Form.cc | 4 ++++ 1 file changed, 4 insertions(+) commit f7ed40c465033bad26dfda008c5984954baa0607 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jan 16 21:01:50 2008 +0100 Add a cast to fix build glib/demo/info.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1c0aa21e598b879ec49d96700e6438ccb8ac2283 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Fri Jan 11 20:28:49 2008 +0100 rename info.c to info.cc to fix bug 14024 glib/demo/Makefile.am | 2 +- glib/demo/info.c | 243 -------------------------------------------------- glib/demo/info.cc | 243 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 244 insertions(+), 244 deletions(-) commit 88f8bf850b6c41d25b9576597b5fc5bd75a122f4 Author: Kjartan Maraas <kmaraas@gnome.org> Date: Thu Jan 10 23:51:54 2008 +0100 Fix two use after free bugs in HtmlOutputDev.cc utils/HtmlOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 348f4f9d9d5b0f91da6f46e0fcefec80255d4179 Merge: 8a8a4f0 4eca2e0 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Sat Jan 5 23:03:06 2008 +0100 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit 8a8a4f01272fb86898fafbda07129c0cbc03d527 Author: Pino Toscano <pino@kde.org> Date: Sat Jan 5 23:02:22 2008 +0100 Make Document::renderHints return the correct render hints qt4/src/poppler-document.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4eca2e041c93349e0c4666e83ad1ca3caff91dee Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jan 1 14:34:00 2008 +0100 Add page transitions demo glib/demo/Makefile.am | 2 + glib/demo/main.c | 16 +-- glib/demo/transitions.c | 321 ++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/transitions.h | 31 +++++ 4 files changed, 363 insertions(+), 7 deletions(-) commit e92b50bbd3dfc8657b611e3c33129d7c5bae2319 Author: Koji Otani <sho@bbr.jp> Date: Wed Dec 26 18:56:01 2007 +0100 Use getEmbeddedFontID instead of getEmbeddedFontName to check if a font is embedded or not poppler/GfxFont.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 30e9bae97e3742913015f7ea46636b2b80937612 Author: Ed Catmur <ed@catmur.co.uk> Date: Sat Dec 22 22:54:51 2007 +0100 Fixlets for Adobe Glyph Naming convention implementation poppler/GfxFont.cc | 94 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 48 insertions(+), 46 deletions(-) commit 40551e616b007ceb15c9d6e3d77c24538ffec924 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Sat Dec 22 14:31:50 2007 +0100 Check the destination page of the link does exist qt4/src/poppler-link.cc | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit c06d6f2236d854f05e7621be280109ff27dc73b9 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Thu Dec 20 20:13:08 2007 +0100 Use UnicodeParsedString that does exactly what this code does qt4/src/poppler-document.cc | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) commit 5f9f06a10fdb72a9d809ee1f779e1a8f549840e7 Author: Koji Otani <sho@bbr.jp> Date: Thu Dec 20 19:59:26 2007 +0100 Fix for latest CJK code See http://lists.freedesktop.org/archives/poppler/2007-December/003244.html for more information poppler/GfxFont.cc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit bb49e1e3909fc7392c197dc67d9b7f5312fd0dad Author: Ed Catmur <ed@catmur.co.uk> Date: Tue Dec 18 20:20:11 2007 +0100 Implement Adobe Glyph Naming convention poppler/GfxFont.cc | 183 ++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 154 insertions(+), 29 deletions(-) commit 5634d63abdd64d371f2e8687a1c172f55b052008 Author: Koji Otani <sho@bbr.jp> Date: Mon Dec 17 20:43:41 2007 +0100 Allow seting some more Graphics States (Font, LW, LC, LJ, ML, D, RI, FL) by operator 'gs' poppler/Gfx.cc | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) commit 7a9e7fc96b47b9d833300233ac38bbd60097f425 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Dec 16 21:21:08 2007 +0100 Add AnnotLink class so that link annots are properly recognized Right now, all of the annots except Text, are created using the base class Annot which sets the type to unknown. For link annots this causes the border never be drawn, since we are checking first whether the annot is a Link and it's always false. poppler/Annot.cc | 12 +++++++++++- poppler/Annot.h | 10 ++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) commit 796d9cb9b188a8af69d7fbf9bccbb408cbf6a71a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Dec 15 15:21:49 2007 +0100 Fix a crash when trying to create a temp annot with catalog = NULL poppler/Annot.cc | 7 +++++++ poppler/Annot.h | 1 + poppler/Form.cc | 6 ++---- 3 files changed, 10 insertions(+), 4 deletions(-) commit 99f049f0dfbfd9c22bea56ae96253837ae421e23 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Dec 14 15:26:24 2007 +0100 Use the default dash array when it's not correct in AnnotBorderBS poppler/Annot.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit cb2a997aa6f9dd5508ca8b04e63815da893497ef Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Dec 14 14:12:14 2007 +0100 Fix another crash due to uninitialized variables poppler/Annot.cc | 18 ++++++++---------- poppler/Annot.h | 1 + 2 files changed, 9 insertions(+), 10 deletions(-) commit f704e86d8c72bacbd9443c4d828cd284d3a11753 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Dec 14 12:58:12 2007 +0100 Fix several crashes due to uninitialized variables in Annots. poppler/Annot.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 0820a93ba1c0e893681024feb9f9bd120a9eeb4d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Dec 14 12:38:58 2007 +0100 Check whether top and left should be changed in FitH, FitV, FitBH and FitBV destinations According to the spec, if a null value is specified for top or left parameter in such destinations, the parameter should be retained unchanged. poppler/Link.cc | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) commit 0fb42a2f557d5ec83b42326eb6b0be41622ca328 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Wed Dec 12 01:02:31 2007 +0100 Changed getters to const Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 28 +++++++++++----------- poppler/Annot.h | 72 ++++++++++++++++++++++++++++---------------------------- 2 files changed, 50 insertions(+), 50 deletions(-) commit 29d39a8ae120e6045a16a7aa0944c36560b42508 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Mon Dec 10 17:56:44 2007 +0100 AnnotText support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- poppler/Annot.h | 65 ++++++++++++++++++++++++----- 2 files changed, 177 insertions(+), 11 deletions(-) commit 2acecde458122bd67487cc302478befa78bf6fbe Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Mon Dec 10 16:45:46 2007 +0100 AnnotMarkup support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 51 ++++++++++++++++++++++++ 2 files changed, 166 insertions(+) commit 1f8c1fe34e04688d2ba200f1166cfdd1ffe563f0 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Mon Dec 10 16:34:01 2007 +0100 AnnotPopup support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 34 ++++++++++++++++++++++++++++++++++ poppler/Annot.h | 21 +++++++++++++++++++++ 2 files changed, 55 insertions(+) commit 6c83e06fb2eb77d0dbefd1ebfbcac3e5f0cbb622 Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Mon Dec 10 16:24:38 2007 +0100 Prepare code to Annotation Subtype support. Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> glib/poppler-page.cc | 11 +--- poppler/Annot.cc | 160 ++++++++++++++++++++++++++++++++++++--------------- poppler/Annot.h | 54 ++++++++++++++--- poppler/Form.cc | 6 +- 4 files changed, 167 insertions(+), 64 deletions(-) commit fa0bb5bbea5bf2769c8b3084f78770b7781002eb Author: Iñigo Martínez <inigomartinez@gmail.com> Date: Mon Dec 10 15:41:38 2007 +0100 Various Annot improvements Signed-off-by: Iñigo Martínez <inigomartinez@gmail.com> poppler/Annot.cc | 613 ++++++++++++++++++++++++++++++++++++------------------- poppler/Annot.h | 140 +++++++++++-- poppler/Gfx.cc | 21 +- poppler/Gfx.h | 5 +- 4 files changed, 543 insertions(+), 236 deletions(-) commit e0f49fd5aef3c798798ad7e7dba55857bde1b4c0 Author: Koji Otani <sho@bbr.jp> Date: Thu Dec 13 23:40:46 2007 +0100 Some CJK charecters are displayed vertical glyphs incorrectly when horizontal mode poppler/GfxFont.cc | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) commit 85901922bf354a1268037d0b6ec5cbf14da979a1 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 13 23:30:59 2007 +0100 Yet another gmallocn to gmallocn_checkoverflow Fixes http://bugs.kde.org/show_bug.cgi?id=153949 poppler/SplashOutputDev.cc | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit f24259cddb9c5e02cf9d2071bfa0106f3e88bd59 Author: Koji Otani <sho@bbr.jp> Date: Mon Dec 10 23:24:14 2007 +0100 Display characters outside of unicode BMP with TT font fofi/FoFiTrueType.cc | 33 ++++++++++++++++++++--- fofi/FoFiTrueType.h | 2 +- poppler/CMap.cc | 34 ++++++++++++++++++++++++ poppler/CMap.h | 4 +++ poppler/GfxFont.cc | 75 ++++++++++++++++++++++++++++++++-------------------- 5 files changed, 115 insertions(+), 33 deletions(-) commit 7cbabbf378cf5a9c0411558ff02b44dec2040ea1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Dec 10 22:00:30 2007 +0100 Fix a crash when marked content properties operator is not a dict. poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e807f9c72c7f0c5cc0655918f676f4af54739442 Merge: bf57117 e2ea743 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 9 18:07:30 2007 +0100 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit bf57117df8786778faf31e5d843533004f867ff3 Author: Adrian Johnson <ajohnson@redneon.com> Date: Sun Dec 9 18:07:00 2007 +0100 Add support for ActualText entries Patch by Adrian Johnson with two minor changes by me (one fordward declaration and a leak fix) poppler/Form.cc | 2 +- poppler/Gfx.cc | 2 +- poppler/OutputDev.cc | 2 +- poppler/OutputDev.h | 2 +- poppler/PDFDocEncoding.h | 4 ++ poppler/TextOutputDev.cc | 98 +++++++++++++++++++++++++++++++++++++++++++++++- poppler/TextOutputDev.h | 11 ++++++ 7 files changed, 116 insertions(+), 5 deletions(-) commit e2ea7430e7d6db50cbfdac34713915e5b0942a89 Author: Albert Astals Cid <tsdgeos@localhost.(none)> Date: Sat Dec 8 23:21:34 2007 +0100 disable warnings about assigning const char * to char * We have them all over the place and we are not going to fix it as that'll be too much overhead when re-merging xpdf changes configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit acf70c666d4f534cd97de64d4378bf6399e31fd4 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 6 23:58:26 2007 +0100 Disable gtk tests if the user disabled glib frontend configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb0ec68f21d355081ff75aad641bc3809141e398 Merge: 5a34cdd b925ea2 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 6 18:38:54 2007 +0100 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit b925ea232b6ed5028712600f9aebe453f3b2ba06 Author: Brad Hards <bradh@kde.org> Date: Tue Dec 4 19:11:13 2007 +1100 Remove redundant check. poppler/PSOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 275afca4ef24020273df652ccfdf76c6994e9294 Author: Brad Hards <bradh@kde.org> Date: Sun Dec 2 19:45:16 2007 +1100 Preserve PDF page labels when we output as postscript. Resolves bug 13338. poppler/PSOutputDev.cc | 81 +++++++++++++++++++++++++++++++++++++++++++++++++- poppler/PSOutputDev.h | 2 ++ 2 files changed, 82 insertions(+), 1 deletion(-) commit 641edb83a457083c13f3e374f6ac6c570dd54d7f Author: Brad Hards <bradh@kde.org> Date: Wed Nov 28 19:42:53 2007 +1100 Minor API documentation update qt4/src/poppler-annotation.h | 81 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 79 insertions(+), 2 deletions(-) commit 3635ec6fcbc89daf633c03efb644df9031b80f59 Author: Brad Hards <bradh@kde.org> Date: Wed Nov 28 19:42:22 2007 +1100 Update doxygen configuration file to version 1.5.3 qt4/src/Doxyfile | 185 ++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 141 insertions(+), 44 deletions(-) commit 02c7ea6e1fd3e225de1eda231813f4db0ffb9fdb Author: Brad Hards <bradh@kde.org> Date: Wed Nov 28 19:41:54 2007 +1100 Fix off-by-one in printCommands path. poppler/Gfx.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 74af7c1209f47ed39addf7fde3ea106a7c77a408 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Nov 24 18:12:00 2007 +0100 Convert passwords from utf-8 to latin-1 when needed. Fixes bug #4557 glib/poppler-document.cc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 5a34cddf043cb484549cb411e034786a7d8688a3 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Nov 23 23:13:57 2007 +0100 add a ignore glib/demo/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 21a58562cc1e575ec3d81b6e34bfcb21306eb67f Author: Albert Astals Cid <aacid@kde.org> Date: Fri Nov 23 23:12:06 2007 +0100 sscanf does not like null strings, so don't call it on empty qstrings qt/poppler-document.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f8451cf9d19f57f658d1568643ecb0f953e1075 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Nov 11 21:29:40 2007 -0500 Add support for knockout groups to the cairo backend This is sort of hacky because we need to keep track of shape and opacity seperately. It is also probably not entirely correct. However, it should be closer than previously. poppler/CairoOutputDev.cc | 309 ++++++++++++++++++++++++++++++++++++++++++++-- poppler/CairoOutputDev.h | 8 +- 2 files changed, 303 insertions(+), 14 deletions(-) commit b0fbfb0ac366434d7e4c0350a9be83ddda7b03cf Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Nov 11 16:06:16 2007 -0500 Track the AlphaIsShape and TextKnockout state Parse, store and notify the OutputDevices about these entries. poppler/Gfx.cc | 14 ++++++++++++++ poppler/GfxState.h | 6 ++++++ poppler/OutputDev.h | 2 ++ 3 files changed, 22 insertions(+) commit f6429b13a972f2deb25b3d3a9948dca024a54841 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Nov 10 14:08:09 2007 -0500 Fix accidental mode change. poppler/CairoFontEngine.cc | 0 poppler/CairoOutputDev.cc | 0 2 files changed, 0 insertions(+), 0 deletions(-) commit 5797f50a99d1494767edc5928f9c3e9d927b946d Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Nov 10 01:52:00 2007 -0500 Scale text to match 'm' size This adds back the hack that was removed when fontconfig support was added long ago. It's not a great solution but lets us be at least as good as xpdf. Fixes #12304 with the cairo backend. The problem persists with the splash backend. poppler/CairoFontEngine.cc | 56 +++++++++++++++++++++++++++++++++++++++++++--- poppler/CairoFontEngine.h | 7 +++++- poppler/CairoOutputDev.cc | 8 +++++-- 3 files changed, 65 insertions(+), 6 deletions(-) commit 551212e55127c7e46d9aff3318015fd9b5385687 Author: Brad Hards <bradh@frogmouth.net> Date: Sat Nov 10 11:56:15 2007 +0100 Fix uninitialized variable access Supported by Derek B. Noonburg poppler/GfxState.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 934a5ae45eb17bd0e2010be89f55510e8a69816b Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Nov 3 13:08:51 2007 -0400 Avoiding using floating point when converting to luminance. The code now also does proper rounding instead of just truncating. poppler/CairoOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1b3f045a25e5d172357bc87c15ba591c8e1511a7 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Nov 8 23:34:07 2007 +0100 Move another gmallocn to gmallocn_checkoverflow. Fixes crashes on incorrect pdf sent by Red Hat poppler/Stream.cc | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit 944d327fd7036332a33b4ad6476ceca7a650ef6e Merge: fb1d1f4 c340255 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 7 23:52:47 2007 +0100 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit fb1d1f459784a6c19034212a617268f7f5a90e9c Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 7 23:51:58 2007 +0100 merge ftp://ftp.foolabs.com/pub/xpdf/xpdf-3.02pl2.patch poppler/Stream.cc | 417 +++++++++++++++++++++++++++++++----------------------- poppler/Stream.h | 10 +- 2 files changed, 245 insertions(+), 182 deletions(-) commit c340255f46bc95b5f850abcd3d9bcdc8594199bb Author: Brad Hards <bradh@kde.org> Date: Mon Nov 5 20:36:23 2007 +1100 Update .gitignore Suppress the noise a bit. qt4/.gitignore | 1 + qt4/tests/.gitignore | 3 +++ test/.gitignore | 2 ++ 3 files changed, 6 insertions(+) commit cebf770379e7d71166e729aebf771a4ca291d48b Author: Brad Hards <bradh@kde.org> Date: Mon Nov 5 20:31:18 2007 +1100 Add a new unit test, for non-ASCII searching. There is a bug report (bug:7063) about not being able to find text that isn't ASCII. I think that the problem isn't in poppler core code - this unit test shows we can find characters as long as they are properly encoded (which the Qt4 front end does). qt4/tests/Makefile.am | 7 ++++++- qt4/tests/check_search.cpp | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) commit 570fe464a2aae4f22d0b47cce73b8bc36b116e9f Merge: 1c7b7a0 7875067 Author: Brad Hards <bradh@kde.org> Date: Mon Nov 5 15:55:39 2007 +1100 Merge branch 'minor-fixes' commit 78750679e213d7307cce38166b6af32562e871b8 Author: Brad Hards <bradh@kde.org> Date: Mon Nov 5 15:54:36 2007 +1100 Additional check for password protected documents We need to bail out on locked documents. In the future, we could probably go interactive, and ask the user for a password. qt4/tests/test-poppler-qt4.cpp | 6 ++++++ 1 file changed, 6 insertions(+) commit 1c7b7a0c581b542945cac257202bbb819d33694c Author: Brad Hards <bradh@kde.org> Date: Mon Nov 5 15:49:45 2007 +1100 Minor Qt4 API documentation fix Also, this is a test of my git newbie-ness. qt4/src/poppler-form.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b86fc565d175835cf27e9c8632da47a5e0b50237 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Nov 5 00:14:55 2007 +0100 Fix FSF address glib/demo/fonts.c | 2 +- glib/demo/fonts.h | 2 +- glib/demo/forms.c | 2 +- glib/demo/forms.h | 2 +- glib/demo/info.c | 2 +- glib/demo/info.h | 2 +- glib/demo/links.c | 2 +- glib/demo/links.h | 2 +- glib/demo/main.c | 2 +- glib/demo/outline.c | 2 +- glib/demo/outline.h | 2 +- glib/demo/page.c | 2 +- glib/demo/page.h | 2 +- glib/demo/render.c | 2 +- glib/demo/render.h | 2 +- glib/demo/utils.c | 2 +- glib/demo/utils.h | 2 +- glib/poppler-action.cc | 2 +- glib/poppler-action.h | 2 +- glib/poppler-attachment.cc | 2 +- glib/poppler-attachment.h | 2 +- glib/poppler-document.cc | 2 +- glib/poppler-document.h | 2 +- glib/poppler-features.h.in | 2 +- glib/poppler-form-field.cc | 2 +- glib/poppler-form-field.h | 2 +- glib/poppler-page.cc | 2 +- glib/poppler-page.h | 2 +- glib/poppler.cc | 2 +- glib/poppler.h | 2 +- poppler/PageTransition.cc | 2 +- poppler/Sound.cc | 2 +- poppler/Sound.h | 2 +- qt/poppler-document.cc | 2 +- qt/poppler-fontinfo.cc | 2 +- qt/poppler-link-qt3.h | 2 +- qt/poppler-link.cc | 2 +- qt/poppler-page-transition-private.h | 2 +- qt/poppler-page-transition.cc | 2 +- qt/poppler-page-transition.h | 2 +- qt/poppler-page.cc | 2 +- qt/poppler-private.h | 2 +- qt/poppler-qt.h | 2 +- qt4/src/poppler-annotation-helper.h | 2 +- qt4/src/poppler-annotation-private.h | 2 +- qt4/src/poppler-annotation.cc | 2 +- qt4/src/poppler-annotation.h | 2 +- qt4/src/poppler-document.cc | 2 +- qt4/src/poppler-embeddedfile.cc | 2 +- qt4/src/poppler-fontinfo.cc | 2 +- qt4/src/poppler-form.cc | 2 +- qt4/src/poppler-form.h | 2 +- qt4/src/poppler-link-extractor-private.h | 2 +- qt4/src/poppler-link-extractor.cc | 2 +- qt4/src/poppler-link.cc | 2 +- qt4/src/poppler-link.h | 2 +- qt4/src/poppler-page-private.h | 2 +- qt4/src/poppler-page.cc | 2 +- qt4/src/poppler-private.h | 2 +- qt4/src/poppler-ps-converter.cc | 2 +- qt4/src/poppler-qt4.h | 2 +- qt4/src/poppler-sound.cc | 2 +- qt4/src/poppler-textbox.cc | 2 +- 63 files changed, 63 insertions(+), 63 deletions(-) commit 37776afc6f8a5733b41da6fb0f45e7ace4edf737 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Nov 5 00:03:55 2007 +0100 Update from http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt COPYING | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) commit 34a90b35998b65539cf1e8f09194d45db71064a1 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 4 14:03:35 2007 +0100 Remove duplicate checking poppler/JBIG2Stream.cc | 8 -------- 1 file changed, 8 deletions(-) commit d694e1dd042fb97fbc62046b69cafe30d6f9ea58 Merge: ba5b31c 432e657 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 4 13:26:47 2007 +0100 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit ba5b31c6a8b2317332bfa148f6d80f66891fb9ce Author: Brad Hards <bradh@frogmouth.net> Date: Sun Nov 4 13:25:12 2007 +0100 Require fontconfig >= 2.0 Fixes bug 9020 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 432e657a49cb097638a79e38c141088039572816 Author: Jeff Muizelaar <jeff@freiheit.infidigm.net> Date: Mon Sep 17 19:15:21 2007 -0400 Use realloc/free instead of new/delete when resizing GooStrings This allows for a large performance improvement when appending a large number of characters to a GooString. This is especially helpful for TextOutputDev on large PDFs. For example, the following code has the potential to be O(n) instead of O(n²) with a good implementation of realloc. while (n) { string.append(character); n--; } goo/GooString.cc | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) commit cb80112afed2c5b9642c3c43f1cc001ed88d08cb Author: Jonathan Kew <jonathan_kew@sil.org> Date: Thu Nov 1 20:53:05 2007 +0100 Do not try to parse directories when processing nameToUnicode dir. Fixes ugly warnings on mingw32 poppler/GlobalParams.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit ad6b888edff7b30be72df948c4052b9934a37705 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Thu Nov 1 20:48:21 2007 +0100 Add some castings to make it compile glib/test-poppler-glib.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a968dcc759379f48265c91bea63ca4cf987d94a9 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Wed Oct 31 23:53:39 2007 +0100 Tests for passwords qt4/tests/Makefile.am | 13 +++++- qt4/tests/check_password.cpp | 87 ++++++++++++++++++++++++++++++++++++++++ qt4/tests/stress-poppler-dir.cpp | 63 +++++++++++++++++++++++++++++ qt4/tests/test-poppler-qt4.cpp | 15 ++++++- 4 files changed, 175 insertions(+), 3 deletions(-) commit 7b7a08863a8278dee7aa1fe7789cf72223c26b35 Author: Brad Hards <bradh@frogmouth.net> Date: Wed Oct 31 23:53:27 2007 +0100 Improve documentation qt4/src/poppler-qt4.h | 64 ++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 56 insertions(+), 8 deletions(-) commit 96493c9409186a7e964e894c7f730962b6995fd7 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Wed Oct 31 23:51:25 2007 +0100 remove old file glib/test-poppler-glib.c | 514 ----------------------------------------------- 1 file changed, 514 deletions(-) commit 951a05f7a11af4a44e4cb85a015939d6a3e513f5 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Sat Oct 27 12:33:22 2007 +0200 Remove fordward declaration of a non-existant class poppler/Form.h | 1 - 1 file changed, 1 deletion(-) commit 289679405ab143bc2106cf269227c514a1602e56 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Oct 25 22:16:10 2007 -0400 Avoid drawing borders unless /W and /S are specified in /BS Acroread doesn't sometimes doesn't draw borders when you'd expect it to. Special case that behaviour so that we do the same thing. poppler/Annot.cc | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit ab0a6c37faf9916edcd70e128d9f2654eb795ace Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Thu Oct 25 20:56:58 2007 +0200 Fix compilation on mingw. Bug 12493 Added a check for localtime_r in configure.ac Moved test-poppler-glib.c to test-poppler-glib.cc to get the correct compiler configure.ac | 1 + glib/Makefile.am | 2 +- glib/test-poppler-glib.cc | 520 ++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 522 insertions(+), 1 deletion(-) commit 6bd637dc135045b20abf024d394538d7a3160795 Merge: c01ab71 25b273d Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Tue Oct 23 23:27:01 2007 +0200 Merge branch 'master' of ssh://aacid@git.freedesktop.org/git/poppler/poppler commit c01ab714ecd42e39ecb0be1c0c2504635251ac01 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Tue Oct 23 23:26:21 2007 +0200 Provide setters for some methods that only had getters. Fixes bug 12894 poppler/GlobalParams.cc | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ poppler/GlobalParams.h | 7 +++++++ 2 files changed, 56 insertions(+) commit 25b273db677815c8df11e52fe9df29fe857a8a88 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon Oct 22 23:01:37 2007 -0400 Unset the font if it doesn't exist or we can not load it properly Previously, the previous font stayed current and glyphs would be drawn using it. This resulted in random glyphs being chosen unless the encodings happened to match. Now, instead, we draw nothing which matches the behaviour of acroread. poppler/Gfx.cc | 4 ++++ poppler/GfxFont.cc | 4 ++++ 2 files changed, 8 insertions(+) commit 57331767ed5306eba1f9bf60e48fc88debdc2198 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Mon Oct 22 23:33:59 2007 +0200 builddir != srcdir fixes by Christian Persch <chpe gnome org> autogen.sh | 7 ++++--- glib/demo/Makefile.am | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) commit 2a333e5a618b5c92f3c703816b950321f25d3aab Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Mon Oct 22 22:14:43 2007 +0200 Splash rework, check if font is inside clip area before rendering it to a temporary bitmap. Fixes KDE bug 150693 This change is not trivial. What i did is: It is getGlyph the one that does the intersection between clip area and rendering area of the font instead fillGlyph2 That means some clipRes = state->clip->testRect but we win more robustness against broken pdf that specify HUGE fonts splash/Splash.cc | 207 ++++++++++++++++++++++++------------------------- splash/Splash.h | 4 +- splash/SplashFTFont.cc | 23 +++++- splash/SplashFTFont.h | 4 +- splash/SplashFont.cc | 29 +++++-- splash/SplashFont.h | 5 +- splash/SplashT1Font.cc | 11 ++- splash/SplashT1Font.h | 4 +- 8 files changed, 162 insertions(+), 125 deletions(-) commit cf785cd12ae77e8dd778ed043584f8f26efe675f Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Mon Oct 22 21:59:35 2007 +0200 Add gmallocn_checkoverflow, it's the same as gmallocn but returns NULL on overflow instead of doing exit() goo/gmem.cc | 18 ++++++++++++++++++ goo/gmem.h | 3 +++ 2 files changed, 21 insertions(+) commit 37e16ac301a35ceca2e3535f8c6100d4cf723c82 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Mon Oct 22 21:54:02 2007 +0200 exit(1) is bad in library code, use the src.abort method to describe failure poppler/DCTStream.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit dbe975c129999a3efceb1c86518fa6fda74f685c Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Oct 22 11:25:37 2007 +0200 Fix a crash with invalid TrueType fonts fofi/FoFiTrueType.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 8bfe30a48fd7021591ab307bd51f86c06ff202b9 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Oct 19 15:46:50 2007 +0200 Do not generate appearance stream for radio button that are not active poppler/Annot.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1a531dcfee1c6fc79a414c38cbe7327fbf9a59d8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Oct 19 13:12:24 2007 +0200 Fix a crash with invalid embedded fonts poppler/CairoFontEngine.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit e1740278457e512676b623bcdf9968193f0a8d7b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Oct 19 12:21:54 2007 +0200 Do not draw annotations when rendering for printing glib/poppler-page.cc | 25 ++++++++++++++++++++++--- poppler/Annot.h | 2 ++ 2 files changed, 24 insertions(+), 3 deletions(-) commit a4d25f79dfc1a7e4998e2e113ef92312bd4af553 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Oct 16 15:24:08 2007 +0200 Detect form fields at any depth level We were ignoring non root form fields that contain only a kids dictionary. See evince bug: http://bugzilla.gnome.org/show_bug.cgi?id=486957 poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 03e1da99f7393fb1103643311b0b5af7b875e09c Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Oct 13 19:38:15 2007 -0400 Add an implementation of CairoOutputDev::startPage() The implementation initializes fill_pattern and stroke_pattern to black matching SplashOutputDev. This fixes #12504. poppler/CairoOutputDev.cc | 9 +++++++++ poppler/CairoOutputDev.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) commit 825c942d46e0c3e254028441015c5dd8440cc734 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Fri Oct 12 13:47:09 2007 +0200 Copy the embeddef file description string correctly poppler/Catalog.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 5e60da78695eff44cc10dbce46ef170727f682b1 Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Fri Oct 12 13:46:52 2007 +0200 Correctly delete the embedded file stream qt4/src/poppler-embeddedfile.cc | 1 + qt4/src/poppler-private.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 1627fbbde8be01af3bdd2583f3439897a37d5215 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Oct 6 23:27:40 2007 -0400 Use maskWidth and maskHeight for reading from the mask image in CairoOutputDev::drawMaskedImage() Previously, drawMaskedImage() was incorrectly using the image width and height which is wrong when width != maskWidth or heigh != maskHeight. Fixes #12668. poppler/CairoOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3156d560c5eaf6970da422d0b09fd2e95bfe6d1d Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Oct 5 11:34:01 2007 +0200 Fix a crash when Form Fields array contains references to non existent objects. Fixes bug #11865 poppler/Form.cc | 9 +++++++++ 1 file changed, 9 insertions(+) commit f0b5e6286e94c6153c8247b5fae63a18622c48d3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Oct 4 15:22:01 2007 +0200 Do not return unknown field type for signature form fields glib/poppler-form-field.cc | 2 ++ 1 file changed, 2 insertions(+) commit 498fd7fb99b01a879d07e2ad12c0b9462a8fc438 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Oct 4 12:36:39 2007 +0200 Add poppler_page_render_for_printing() and poppler_page_render_to_pixbuf_for_printing() We were unconditionally passing printing=gFalse to displaySlice. With these new functions we can render to a pixbuf or cairo surface passing printing=gTrue to displaySlice. glib/poppler-page.cc | 135 +++++++++++++++++++++++++++++++++++++++++---------- glib/poppler-page.h | 10 ++++ 2 files changed, 119 insertions(+), 26 deletions(-) commit 56af69787c78c2edbb69266e86a5a5b639ca6d3e Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Oct 3 23:02:25 2007 -0400 Error out if we can't find a .cidToUnicode for a known character collection This situation was caused by the fixes for bug #11413. I'm not sure it's the best thing to do, but it seems better. poppler/GfxFont.cc | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 3d0df46908379bce1d196b9dc41153b1adb5f725 Author: Michael Wolf <maw@ximian.com> Date: Wed Oct 3 19:43:55 2007 +0200 Fix compile warning glib/test-poppler-glib.c | 2 ++ 1 file changed, 2 insertions(+) commit aba29e12528025c2cc71bf46e02e76ac4db2b193 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Sep 28 21:01:50 2007 +0200 Add forms demo to glib poppler demo glib/demo/Makefile.am | 2 + glib/demo/forms.c | 489 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/forms.h | 31 ++++ glib/demo/main.c | 8 +- glib/demo/utils.c | 1 - 5 files changed, 527 insertions(+), 4 deletions(-) commit d0c0f26d2c95232c216e3daa15e98a3aff14ac27 Merge: 59d55f7 38d5bb1 Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Tue Sep 25 03:33:52 2007 -0700 Merge branch 'master' of ssh://kjk@git.freedesktop.org/git/poppler/poppler commit 38d5bb150a5fe883da1d4256463d1f796d201283 Author: Krzysztof Kowalczyk <kkowalczyk@kjkubu.(none)> Date: Tue Sep 25 16:13:51 2007 -0700 Silence deprecation warnings - annoying with msvc 2005. makefile.vc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 59d55f7371bee81c9392fa2d4174ceffaacde471 Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Tue Sep 25 01:21:19 2007 -0700 Fix misleading comment. goo/GooTimer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c36d8afc984795aca0a12a94ec7668092067db82 Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Tue Sep 25 00:32:29 2007 -0700 Revert "replace extremely confusing 'a*(int)sizeof(foo)/sizeof(foo) != a' which, due to type promotions, if a is int, is equivalent to a < 0; fix problems revealed by the change" This reverts commit 08bf7c1151d594d4c7d253a2c89f4f3a088ad8ec. poppler/XRef.cc | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) commit ff25e83abae1ca17e2e7dd6f20946026fca69fff Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Mon Sep 24 23:57:25 2007 -0700 Make perf-test compile on unix as well. test/Makefile.am | 16 ++++++- test/perf-test-preview-dummy.cc | 1 + test/perf-test.cc | 104 +++++++++++++++++----------------------- 3 files changed, 59 insertions(+), 62 deletions(-) commit 70f3bf42b3028d9a2e4aefdc2e1a458b3c77b0e7 Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Mon Sep 24 21:26:54 2007 -0700 Let perf-test.cc manage lifetime of rendered bitmap. test/perf-test-preview-win.cc | 7 ------- 1 file changed, 7 deletions(-) commit b622b252cba068a15eae77df5deb261dd98affaf Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Mon Sep 24 21:20:12 2007 -0700 Disable my_error for now - seems to corrupt memory. test/perf-test.cc | 2 ++ 1 file changed, 2 insertions(+) commit bde8c9669ca6b43cb6a664bd14df164a718041ea Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Mon Sep 24 21:08:58 2007 -0700 Con't copy the file unless COPY_FILE is defined. test/perf-test.cc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit bf9b46b012c64624818a2110af7c4b7e3b419728 Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Mon Sep 24 20:13:54 2007 -0700 Respect -loadonly cmd-line arg. test/perf-test.cc | 2 ++ 1 file changed, 2 insertions(+) commit 2f664b654ca19135f0f8a0fe89872b9e0d526fa2 Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Mon Sep 24 19:41:45 2007 -0700 Fix msvc debug build. Fix bitmap leak in perf-test. makefile.vc | 6 ++++-- test/perf-test.cc | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) commit 05d41cd5aec39b4e3c8949445a9986e5ca8b50dd Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Mon Sep 24 08:10:37 2007 -0700 Use GooTimer instead of my own timer. test/perf-test.cc | 98 +++++-------------------------------------------------- 1 file changed, 8 insertions(+), 90 deletions(-) commit 05fbce5b6657e883ece9054c79576b25271a05a4 Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Mon Sep 24 08:01:11 2007 -0700 Make GooTimer work for Windows/msvc build. goo/GooTimer.cc | 69 +++++++++++++++++++++++++++++++++++++++------------------ goo/GooTimer.h | 28 ++++++++++++++--------- poppler/Gfx.cc | 11 ++------- 3 files changed, 66 insertions(+), 42 deletions(-) commit 6347915085a487da08d39a859f4261fa812dab09 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Mon Sep 24 01:08:17 2007 -0700 Add Error.cc in msvc build and use setErrorFunction in perf-test. makefile.vc | 3 +-- test/perf-test.cc | 10 +++++----- 2 files changed, 6 insertions(+), 7 deletions(-) commit ed01b3965c57ce2a4eabf9c46b5319ea627d3324 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Mon Sep 24 01:03:09 2007 -0700 Match declaration of setErrorFunction with its definition. Also enable this code for Windows, since CDECL was what was throwing msvc off. poppler/Error.cc | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit 71fb15f8bd131a13d8cf0f394fe601cfbb6e1772 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Mon Sep 24 00:38:29 2007 -0700 Even less compiler warnings. poppler/CairoOutputDev.cc | 6 +++--- qt/poppler-page.cc | 3 +++ utils/HtmlOutputDev.cc | 10 ++++++---- 3 files changed, 12 insertions(+), 7 deletions(-) commit 7ba3f198a0651d2a7c91b7d9e10a5173dc3de0a3 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Mon Sep 24 00:32:37 2007 -0700 Even less compiler warnings. qt/poppler-document.cc | 8 ++++++++ qt/poppler-private.h | 8 -------- qt4/src/poppler-document.cc | 10 ++++++++++ qt4/src/poppler-form.cc | 15 +++++++++++++++ qt4/src/poppler-private.h | 25 ------------------------- 5 files changed, 33 insertions(+), 33 deletions(-) commit ab1059f594cb9fccd8568ca2a535a363c7521daa Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Mon Sep 24 00:14:01 2007 -0700 Don't break aliasing. poppler/GlobalParams.cc | 40 ++++++++++++++++++---------------------- 1 file changed, 18 insertions(+), 22 deletions(-) commit 71c47b30adf687a0bcece22834933267053360de Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Sun Sep 23 23:49:31 2007 -0700 Reduce compiler warnings. poppler/JBIG2Stream.cc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 8466d94929844c976bbad8bb7d1ea7f7f77cc196 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Sun Sep 23 23:34:52 2007 -0700 Reduce compiler warnings. Tabs to spaces. fofi/FoFiType1C.cc | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit c53b8ccfba6fa4345086493f9e44212721c11d0a Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Sun Sep 23 23:23:34 2007 -0700 Reduce number of compiler warnings. poppler/CharCodeToUnicode.cc | 2 +- poppler/Gfx.cc | 6 ++---- poppler/PageLabelInfo.cc | 2 ++ 3 files changed, 5 insertions(+), 5 deletions(-) commit abede2a06c5c9dc97b40479deda49621458f1171 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Sun Sep 23 23:03:36 2007 -0700 Reduce number of compiler warnings. glib/poppler-action.cc | 1 - glib/poppler-document.cc | 9 ++------- glib/poppler-page.cc | 3 +-- qt/poppler-document.cc | 1 - qt4/src/poppler-annotation.cc | 16 +++++++++++++--- 5 files changed, 16 insertions(+), 14 deletions(-) commit 60f5bcea4a920441e25ae11d677636242aabb2db Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Sun Sep 23 22:48:06 2007 -0700 Remove unused variables. utils/pdftoppm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3179eee44eb0afbc642675268b9a4abb16ccdde3 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Sun Sep 23 22:47:21 2007 -0700 Remove unused variables. utils/HtmlOutputDev.cc | 23 ----------------------- 1 file changed, 23 deletions(-) commit e9dc379190aa3166870d0b11a05ccc4e9dad2706 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Sun Sep 23 22:41:59 2007 -0700 Remove unused variables. poppler/ArthurOutputDev.cc | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) commit 08bf7c1151d594d4c7d253a2c89f4f3a088ad8ec Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Sun Sep 23 22:28:16 2007 -0700 replace extremely confusing 'a*(int)sizeof(foo)/sizeof(foo) != a' which, due to type promotions, if a is int, is equivalent to a < 0; fix problems revealed by the change poppler/XRef.cc | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) commit 5a1f670a4d16affeed86cdf643ab22f481caa3a5 Author: Krzysztof Kowalczyk <kkowalczyk@kjkubu.(none)> Date: Sun Sep 23 20:42:59 2007 -0700 ignore *.o files .gitignore | 1 + 1 file changed, 1 insertion(+) commit c156aed7234f82dea4cb384c1b8a7acdd34545be Author: Krzysztof Kowalczyk <kkowalczyk@kjkubu.(none)> Date: Sun Sep 23 20:41:19 2007 -0700 remove unused variables poppler/ABWOutputDev.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit d0bdef4752be5fa609a0766ee87aa54d51611d9a Author: Krzysztof Kowalczyk <kkowalczyk@kjkubu.(none)> Date: Sat Sep 22 13:38:03 2007 -0700 undo accidental changes to file permissions msvc/poppler/poppler-config.h | 0 poppler/Annot.cc | 0 poppler/CairoFontEngine.cc | 0 poppler/CairoOutputDev.cc | 0 poppler/Catalog.cc | 0 poppler/Form.cc | 0 poppler/GfxFont.cc | 0 poppler/GfxState.cc | 0 poppler/Page.cc | 0 poppler/SplashOutputDev.cc | 0 poppler/TextOutputDev.cc | 0 splash/Splash.cc | 0 splash/SplashFTFontEngine.cc | 0 test/perf-test-preview-dummy.cc | 0 test/perf-test-preview-win.cc | 0 test/perf-test.cc | 0 16 files changed, 0 insertions(+), 0 deletions(-) commit 6c69473f2f4a49757614ddd249e65bb7a13c63c1 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Fri Sep 21 08:09:53 2007 -0700 undo accidental mode change makefile.vc | 0 1 file changed, 0 insertions(+), 0 deletions(-) commit e7e386e7ce8cb8eb8a7037ebdaa601524d332ae7 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Fri Sep 21 08:08:53 2007 -0700 more simplification by removing unneded code makefile.vc | 2 +- test/perf-test.cc | 60 +++++++++---------------------------------------------- 2 files changed, 10 insertions(+), 52 deletions(-) commit 3e10604637ec193269a3155985476d3b83dc7d62 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Fri Sep 21 07:48:38 2007 -0700 for portability use bool/true/false instead of BOOL/TRUE/FALSE test/perf-test.cc | 176 ++++++++++++++++++++++++++---------------------------- 1 file changed, 86 insertions(+), 90 deletions(-) commit 634718936f2a95fac2a9d12fcea483b3d0ca8fa6 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Fri Sep 21 07:41:14 2007 -0700 simplify perf-test test/perf-test-pdf-engine.h | 78 ------------------------------------------- test/perf-test-preview-win.cc | 5 ++- test/perf-test.cc | 75 +++++++++++++++++++++++++++++++++++++++-- 3 files changed, 75 insertions(+), 83 deletions(-) commit 617550199762fab42ca2e202e641e047b3efbac0 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Fri Sep 21 05:20:16 2007 -0700 simplify perf-test code test/perf-test-pdf-engine.h | 67 +++-------------------- test/perf-test-preview-dummy.cc | 3 +- test/perf-test-preview-win.cc | 80 ++++++++++++++++++++++++---- test/perf-test.cc | 114 ++++------------------------------------ 4 files changed, 86 insertions(+), 178 deletions(-) commit fb5bf808b88992c1772a10e4ed9fe788fb618417 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Fri Sep 21 03:03:26 2007 -0700 more msvc build fixes makefile.vc | 2 +- test/perf-test.cc | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit 60829b08a7440f36014f68ec54bee7a742412738 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Fri Sep 21 03:02:34 2007 -0700 msvc build fixes msvc/poppler/poppler-config.h | 143 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 143 insertions(+) commit 853c22a174bae81139edc9aeded7f26ae2655cef Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Thu Sep 20 23:21:35 2007 -0700 add pre-made config.h for msvc build msvc/config.h | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) commit 31c43b118bd4372134018be6f6693f77d1f6a39b Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Thu Sep 20 22:10:09 2007 -0700 remove unused variables poppler/CairoFontEngine.cc | 6 ++---- poppler/CairoOutputDev.cc | 14 ++------------ splash/SplashFTFontEngine.cc | 2 ++ 3 files changed, 6 insertions(+), 16 deletions(-) commit 01b99f60e36dd955817f23911ef38947360f61f7 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Thu Sep 20 21:14:17 2007 -0700 remove unused variables poppler/GfxState.cc | 11 ++--------- poppler/SplashOutputDev.cc | 9 +++------ poppler/TextOutputDev.cc | 3 --- 3 files changed, 5 insertions(+), 18 deletions(-) commit 7c406400532d68524a43cf963d894d3c4b269400 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Thu Sep 20 20:57:44 2007 -0700 remove unused variables poppler/Catalog.cc | 1 - poppler/Form.cc | 5 ----- poppler/GfxFont.cc | 6 ++---- poppler/Page.cc | 2 +- splash/Splash.cc | 5 ++++- 5 files changed, 7 insertions(+), 12 deletions(-) commit 70f23389c97b1870b7311d97322cdd16b580a79d Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Thu Sep 20 20:23:59 2007 -0700 don't silence warnings about unused variables/functions to keep programmers honest configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cdb6fcf98137473efd993e1374a6f010e9db67db Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Thu Sep 20 20:00:56 2007 -0700 Remove unused variables poppler/Annot.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 0e76b49ac852a5a7ebae4c1f67b153e0b7c9f905 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Tue Sep 18 01:04:50 2007 -0700 Explain how to compile on Windows using msvc makefile. README.windows | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) commit c002b4dc75b2688ffe8a734cf3e15f5891797842 Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Tue Sep 18 00:04:47 2007 -0700 Add Windows/msvc makefile. Add native msvc windows makefile and pre-made config.h for windows in msvc directory. makefile.vc | 149 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 149 insertions(+) commit 1f33fc58201c92120c587189d2e0e819f83167da Author: Krzysztof Kowalczyk <kkowalczyk@tlapx60ubu.(none)> Date: Mon Sep 17 23:53:02 2007 -0700 Start on a test program. Test program can be used for regression testing and performance testing. It renders a page (or pages) in a given PDF (or PDFs) and records rendering times. For historical reasons the code is ugly and probably only compiles on windows, but it'll get better. test/perf-test-pdf-engine.h | 131 ++++ test/perf-test-preview-dummy.cc | 22 + test/perf-test-preview-win.cc | 222 ++++++ test/perf-test.cc | 1428 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 1803 insertions(+) commit b96db4ad27535c2666fccdfe0a3c04cc7c37792d Author: Jeff Muizelaar <jeff@freiheit.infidigm.net> Date: Mon Sep 17 20:28:38 2007 -0400 Avoid double free caused by 302 merge The ownership of the the string returned by getKey() changed with the 302 merge but this code was not updated. Found by Matthew Woehlke. qt4/src/poppler-document.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 2a495f19d4465e15fd2fa96656d904315c79a443 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Sep 17 16:52:45 2007 -0400 Simplify ChangeLog rule a bit. ChangeLog.mk | 81 ------------------------------------------------------------ Makefile.am | 7 +++--- 2 files changed, 4 insertions(+), 84 deletions(-) commit 7d5abbeec55e4b90b139671d96cfdf58bdab70b8 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Sep 17 15:45:26 2007 -0400 Add dist hook to generate ChangeLog. Taken from cairo. It still need some tweaking. ChangeLog.mk | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile.am | 4 +++ configure.ac | 2 +- 3 files changed, 86 insertions(+), 1 deletion(-) commit 15ad81c64cd8b1cb438d41be402daa19a239db3d Author: Albert Astals Cid <tsdgeos@bluebox.localdomain> Date: Mon Sep 17 19:39:29 2007 +0200 Use = instead of == in qt.m4 m4/qt.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 70fabcb96e207b9b889bb32c0cf5ea3fc0aa08f8 Author: Kristian Høgsberg <krh@redhat.com> Date: Sun Sep 16 20:40:53 2007 -0400 Rename .cvsignore files to .gitignore and drop ChangeLog file. .cvsignore | 25 - .gitignore | 25 + ChangeLog | 4586 --------------------------------------------- fofi/.cvsignore | 8 - fofi/.gitignore | 8 + glib/.cvsignore | 11 - glib/.gitignore | 11 + glib/reference/.cvsignore | 18 - glib/reference/.gitignore | 18 + goo/.cvsignore | 8 - goo/.gitignore | 8 + poppler/.cvsignore | 10 - poppler/.gitignore | 10 + qt/.cvsignore | 7 - qt/.gitignore | 7 + qt4/.cvsignore | 3 - qt4/.gitignore | 3 + qt4/src/.cvsignore | 8 - qt4/src/.gitignore | 8 + qt4/tests/.cvsignore | 20 - qt4/tests/.gitignore | 20 + splash/.cvsignore | 8 - splash/.gitignore | 8 + test/.cvsignore | 11 - test/.gitignore | 11 + utils/.cvsignore | 12 - utils/.gitignore | 12 + 27 files changed, 149 insertions(+), 4735 deletions(-) commit c9f9403ffc5b95ae790c3c81284c7786afe33f4d Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Fri Sep 14 20:50:07 2007 +0000 Windows implementation for matching fonts that doesn't use fontconfig ChangeLog | 6 + poppler/GlobalParamsWin.cc | 285 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 291 insertions(+) commit d18b5361a0504458da805ed6be037c9d648f9372 Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Fri Sep 14 20:47:11 2007 +0000 Update ChangeLog for previous checkin ChangeLog | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 3330763ddca66b30d5ee60aab94d6fe0bbae9c8f Author: Krzysztof Kowalczyk <kkowalczyk@gmail.com> Date: Fri Sep 14 06:17:35 2007 +0000 windows/msvc compilation fixes poppler/DCTStream.h | 2 +- poppler/Error.cc | 6 ++++++ poppler/FlateStream.h | 2 +- poppler/GlobalParams.cc | 12 ++++++++++-- poppler/GlobalParams.h | 17 +++++++++++++++++ poppler/Stream.cc | 2 +- splash/SplashFTFontEngine.cc | 2 ++ splash/SplashFontEngine.cc | 2 +- splash/SplashFontFile.cc | 2 ++ splash/SplashFontFile.h | 3 ++- splash/SplashT1FontEngine.cc | 2 +- 11 files changed, 44 insertions(+), 8 deletions(-) commit 6eb159ef34eb7e2fb8adcfc48afd84d5f50efbbd Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 10 17:38:05 2007 +0000 * autogen.sh: Support automake-1.10. Patch by Krzysztof Kowalczyk <kkowalczyk@gmail.com> ChangeLog | 5 +++++ autogen.sh | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) commit 31bbc8c727cfecc79bd8da962ad8d99a0d1d3d33 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 8 10:40:17 2007 +0000 * qt4/src/poppler-qt4.h: * qt4/src/poppler-ps-converter.cc: Add PSConverter::setOutputDevice() to set a QIODevice where writing the resulting PS. ChangeLog | 7 ++++++ qt4/src/poppler-ps-converter.cc | 51 +++++++++++++++++++++++++++++++++++++---- qt4/src/poppler-qt4.h | 5 +++- 3 files changed, 58 insertions(+), 5 deletions(-) commit b3d63d03c310f01cc5b23d00ffd2103c6891fef2 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 5 20:22:32 2007 +0000 * qt4/src/poppler-ps-converter.cc: Fix Right<->Left interchange ChangeLog | 1 + qt4/src/poppler-ps-converter.cc | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) commit 64368582d5ca4e28c236f440482c96f1dd3a8897 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 5 18:22:52 2007 +0000 * poppler/PSOutputDev.cc: Fix printing of second parameter ChangeLog | 4 ++++ poppler/PSOutputDev.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit eaf9d06cf0d08ccdc183759e0331dc2439a6f10f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Sep 5 10:57:09 2007 +0000 2007-09-05 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-page.cc: * glib/demo/render.c: Fix build with --disable-cairo-output. ChangeLog | 5 +++++ glib/demo/render.c | 31 +++++++++++++++++++++++++++---- glib/poppler-page.cc | 22 ++++++++++++---------- 3 files changed, 44 insertions(+), 14 deletions(-) commit c0f488c2b0e115be3e1b7e4dc7baa38db5837498 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 4 22:04:52 2007 +0000 did not want to commit this gtk-doc.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3462851b4ea342651095f1803cd488bc3b3f5749 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 4 22:02:06 2007 +0000 * utils/pdftoppm.cc: Fix build on Sun Studio compiler. Patch by Brian Cameron <brian.cameron@sun.com> ChangeLog | 5 +++++ gtk-doc.make | 2 +- utils/pdftoppm.cc | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) commit cdf3b9062cc54d558b8dbeefb3211a920ff2cb94 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 3 19:23:11 2007 +0000 write news fix qt4 build NEWS | 13 +++++++++++++ qt4/src/Makefile.am | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) commit c82208a44f3b09c27bc33831641e4f746dd4361f Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 3 18:28:44 2007 +0000 * configure.ac: Bump version to 0.6 * glib/Makefile.am * poppler/Makefile.am * qt/Makefile.am * qt4/src/Makefile.am: Bump sonames ChangeLog | 8 ++++++++ configure.ac | 2 +- glib/Makefile.am | 2 +- poppler/Makefile.am | 2 +- qt/Makefile.am | 2 +- qt4/src/Makefile.am | 2 +- 6 files changed, 13 insertions(+), 5 deletions(-) commit 2a12409ebbf96ea3ca4556b71231a45ae37cb052 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 3 17:09:01 2007 +0000 * poppler/JBIG2Stream.cc: * poppler/Stream.cc: Patch by Derek B. Noonburg <derekn@foolabs.com> to fix some errors in CCITTFaxStream and JBIG2Stream.cc ChangeLog | 6 ++++++ poppler/JBIG2Stream.cc | 7 ++++--- poppler/Stream.cc | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) commit 0b483e71ef02b4040b665935c1018c8b30b9c1ca Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Sep 3 08:54:01 2007 +0000 2007-09-03 Carlos Garcia Campos <carlosgc@gnome.org> * gtk-doc.make: * glib/poppler-document.cc: * glib/poppler-form-field.cc: * glib/poppler-page.cc: * glib/reference/poppler-docs.sgml: * glib/reference/poppler-sections.txt: * glib/reference/poppler.types: * glib/reference/tmpl/poppler-action.sgml: * glib/reference/tmpl/poppler-attachment.sgml: * glib/reference/tmpl/poppler-document.sgml: * glib/reference/tmpl/poppler-enums.sgml: * glib/reference/tmpl/poppler-form-field.sgml: * glib/reference/tmpl/poppler-page.sgml: * glib/reference/tmpl/poppler-private.sgml: * glib/reference/tmpl/poppler.sgml: Update glib bindings API documentation. ChangeLog | 19 ++ glib/poppler-document.cc | 10 + glib/poppler-form-field.cc | 205 ++++++++++++++++++ glib/poppler-page.cc | 12 +- glib/reference/poppler-docs.sgml | 2 + glib/reference/poppler-sections.txt | 108 +++++++++- glib/reference/poppler.types | 2 + glib/reference/tmpl/poppler-action.sgml | 36 +++- glib/reference/tmpl/poppler-attachment.sgml | 65 ++++++ glib/reference/tmpl/poppler-document.sgml | 50 +++++ glib/reference/tmpl/poppler-enums.sgml | 60 ++++++ glib/reference/tmpl/poppler-form-field.sgml | 315 ++++++++++++++++++++++++++++ glib/reference/tmpl/poppler-page.sgml | 236 ++++++++++++++++++++- glib/reference/tmpl/poppler-private.sgml | 6 + glib/reference/tmpl/poppler.sgml | 49 +++++ gtk-doc.make | 34 +-- 16 files changed, 1181 insertions(+), 28 deletions(-) commit 289e3893cda45055951bb8d3b82a45644bc0b6c6 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 2 17:02:55 2007 +0000 * poppler/GfxState.cc: Pad zeroes instead of aborting when rendering 1-bit images and the stream is "too short" to mimic Acroread and ghostscript behaviour. Patch by <darren.kenny@sun.com>. Fixes #12208 ChangeLog | 3 +++ poppler/GfxState.cc | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 6f6c2180aca2e26ea0e3c2f21f11bc8f457c19c0 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 2 16:31:19 2007 +0000 * glib/demo/Makefile.am: Add $(top_builddir)/poppler/libpoppler.la * poppler/TextOutputDev.cc: Patch from Ed Catmur <ed@catmur.co.uk> to improve matching of half strings of decomposed characters/ligatures. ChangeLog | 3 +++ glib/demo/Makefile.am | 1 + poppler/TextOutputDev.cc | 21 +++++++++++++-------- 3 files changed, 17 insertions(+), 8 deletions(-) commit be1b5a0196cdfc78f74e08a023b477cac16eb0f3 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 2 16:06:03 2007 +0000 poppler/PDFDoc.cc: Don't enforce %%EOF at the end of file ChangeLog | 4 ++++ poppler/PDFDoc.cc | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 500a87af9240344806c18ebbd05a89f4f4c69955 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Sep 2 00:53:42 2007 +0000 2007-09-01 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: * poppler/Error.cc: * poppler/Error.h: Report any cairo errors when destroying the cairo context. ChangeLog | 7 +++++++ poppler/CairoOutputDev.cc | 7 ++++++- poppler/Error.cc | 7 +++++++ poppler/Error.h | 1 + 4 files changed, 21 insertions(+), 1 deletion(-) commit 0c22556bf70ff67eb388cdcd9784603030397785 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Sep 1 23:38:04 2007 +0000 2007-09-01 Jeff Muizelaar <jeff@infidigm.net> * glib/demo/Makefile.am: Only build the demo app if the cflags will be appropriately set. ChangeLog | 5 +++++ glib/demo/Makefile.am | 2 ++ 2 files changed, 7 insertions(+) commit a23d45dd6cd8a2ac4181170a9ee924fe49a9781b Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Sep 1 23:00:59 2007 +0000 2007-09-01 Jeff Muizelaar <jeff@infidigm.net> * glib/poppler-page.cc: Add note about clipping ChangeLog | 4 ++++ glib/poppler-page.cc | 2 ++ 2 files changed, 6 insertions(+) commit bf489d5cebc467807f2b38f74f6a6e34a503a9ca Author: Albert Astals Cid <aacid@kde.org> Date: Thu Aug 30 18:39:51 2007 +0000 * poppler/Form.h: Remove unused methods. Fixes 12013 ChangeLog | 4 ++++ poppler/Form.h | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) commit a81cc06c855385911dffa826b9e1407d6097e8c8 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Aug 30 18:15:34 2007 +0000 2007-08-30 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/TextOutputDev.cc: * poppler/TextOutputDev.h: * glib/poppler.h: * glib/poppler-page.cc: * glib/poppler-page.h: * glib/test-poppler-glib.c: Add support for word and line selections. Based on patch by Kristian Høgsberg. ChangeLog | 10 ++++++ glib/poppler-page.cc | 81 ++++++++++++++++++++++++++++++++++++++++++------ glib/poppler-page.h | 2 ++ glib/poppler.h | 4 +-- glib/test-poppler-glib.c | 2 +- poppler/TextOutputDev.cc | 74 +++++++++++++++++++++++++++++-------------- poppler/TextOutputDev.h | 34 +++++++++++++++----- 7 files changed, 163 insertions(+), 44 deletions(-) commit 59ddb5cc8bec54305b6d256ad9975e95ecdcb935 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 27 18:37:55 2007 +0000 * poppler/UnicodeTypeTable.cc: Fix error on the NFKC text matching routine. Fixes bug #11775. Patch by Ed Catmur <ed@catmur.co.uk> ChangeLog | 5 +++++ poppler/UnicodeTypeTable.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit a6e46ce61670679f368e66c1a98a7d5d1c960c5b Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 27 17:56:29 2007 +0000 * qt4/src/Doxyfile: * qt4/src/Mainpage.dox: * qt4/src/poppler-annotation.h: * qt4/src/poppler-form.h: * qt4/src/poppler-link.h: * qt4/src/poppler-qt4.h: A few API documentation fixes and improvements. ChangeLog | 10 +++++++ qt4/src/Doxyfile | 26 ++++++------------ qt4/src/Mainpage.dox | 26 +++++++++++------- qt4/src/poppler-annotation.h | 34 ++++++++++++++++++++++++ qt4/src/poppler-form.h | 18 ++++++------- qt4/src/poppler-link.h | 63 +++++++++++++++++++++++++++++++++++++++++--- qt4/src/poppler-qt4.h | 44 +++++++++++++++++++++---------- 7 files changed, 166 insertions(+), 55 deletions(-) commit a7f8d92fba8c45d6ca83568c045d5e324158ee6b Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 27 17:17:14 2007 +0000 * qt4/src/poppler-link.cc: * qt4/src/poppler-link.h: Initialise correctly, and missing empty destructor. * qt4/src/poppler-annotation.cc: Don't leak the private class. ChangeLog | 9 +++++++++ qt4/src/poppler-annotation.cc | 4 ++-- qt4/src/poppler-link.cc | 8 ++++++-- qt4/src/poppler-link.h | 1 + 4 files changed, 18 insertions(+), 4 deletions(-) commit 2b1ef8f06879eb0b79288d57540c238ea833db24 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 26 21:39:22 2007 +0000 Fix bug 12121 ChangeLog | 4 ++++ utils/ImageOutputDev.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 20bcac5ee1988befb9c590a0d16cb615f0c49901 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 26 21:28:34 2007 +0000 forgot to cvs add qt4/src/poppler-annotation-private.h | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) commit e48de657db0ef439457b4b5ca39b937da25d531e Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 26 18:11:01 2007 +0000 * qt4/src/poppler-annotation.cc: * qt4/src/poppler-annotation.h: Move all the private members of the *Annotation classes into a common shared private. ChangeLog | 4 + qt4/src/poppler-annotation.cc | 969 +++++++++++++++++++++++++++++++++++------- qt4/src/poppler-annotation.h | 277 ++++++++---- qt4/src/poppler-page.cc | 249 ++++++----- 4 files changed, 1155 insertions(+), 344 deletions(-) commit 392f050f909b6a1250acf1971446a1849534482c Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 26 16:42:46 2007 +0000 * qt4/src/poppler-document.cc: * qt4/src/poppler-embeddedfile.cc: * qt4/src/poppler-fontinfo.cc: * qt4/src/poppler-form.cc: * qt4/src/poppler-form.h: * qt4/src/poppler-qt4.h: * qt4/src/poppler-sound.cc: * qt4/src/poppler-textbox.cc: API work: remove 'const' and 'const&' from return values with Qt classes; make the non-copiable classes really non-copiable; uninline a Document::page() method; other related small changes. * qt4/src/poppler-link.cc: * qt4/src/poppler-link.h: Make LinkDestination an implicitely shared class, with all the private members into the private class; move all the private members of the Link* classes into a common shared private. ChangeLog | 23 ++- qt4/src/poppler-document.cc | 7 +- qt4/src/poppler-embeddedfile.cc | 12 -- qt4/src/poppler-fontinfo.cc | 12 +- qt4/src/poppler-form.cc | 16 +- qt4/src/poppler-form.h | 14 +- qt4/src/poppler-link.cc | 373 ++++++++++++++++++++++++++++++---------- qt4/src/poppler-link.h | 67 +++++--- qt4/src/poppler-qt4.h | 32 ++-- qt4/src/poppler-sound.cc | 7 - qt4/src/poppler-textbox.cc | 4 +- 11 files changed, 404 insertions(+), 163 deletions(-) commit f215aca25fdd8fe287b717dde53f0be273d995e4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun Aug 26 10:52:19 2007 +0000 2007-08-26 Carlos Garcia Campos <carlosgc@gnome.org> * configure.ac: * glib/Makefile.am: * glib/demo/Makefile.am: * glib/demo/fonts.[ch]: * glib/demo/info.[ch]: * glib/demo/links.[ch]: * glib/demo/main.c: * glib/demo/outline.[ch]: * glib/demo/page.[ch]: * glib/demo/render.[ch]: * glib/demo/utils.[ch]: Add poppler glib demo tool. ChangeLog | 14 ++ configure.ac | 1 + glib/Makefile.am | 2 +- glib/demo/Makefile.am | 26 +++ glib/demo/fonts.c | 276 ++++++++++++++++++++++++++++ glib/demo/fonts.h | 31 ++++ glib/demo/info.c | 243 ++++++++++++++++++++++++ glib/demo/info.h | 31 ++++ glib/demo/links.c | 289 +++++++++++++++++++++++++++++ glib/demo/links.h | 31 ++++ glib/demo/main.c | 205 +++++++++++++++++++++ glib/demo/outline.c | 218 ++++++++++++++++++++++ glib/demo/outline.h | 31 ++++ glib/demo/page.c | 249 +++++++++++++++++++++++++ glib/demo/page.h | 31 ++++ glib/demo/render.c | 498 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/demo/render.h | 31 ++++ glib/demo/utils.c | 234 ++++++++++++++++++++++++ glib/demo/utils.h | 42 +++++ 19 files changed, 2482 insertions(+), 1 deletion(-) commit 7c9529b70dc44bb001d21a3b47fc65916813dec1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Aug 23 20:39:31 2007 +0000 2007-08-23 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-page.cc: Add missing comma. ChangeLog | 4 ++++ glib/poppler-page.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 3c4a85503261ee81a829a1683f1f5fa85d41f8ee Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Aug 23 20:15:46 2007 +0000 2007-08-23 Jeff Muizelaar <jeff@infidigm.net> * glib/poppler-page.cc: pass in -1 to displaySlice so that it sets up the slice size for us. This fixes the case of the wrong values being used when the pdf was rotated on its side. Fixes #11913. ChangeLog | 7 +++++++ glib/poppler-page.cc | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit 3ba088d8caee3c40c2aba0cd85adcf9195ae88a3 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Aug 22 21:29:32 2007 +0000 * splash/SplashBitmap.cc: * splash/SplashBitmap.h: * utils/pdftoppm.cc: Add the following features to pdftoppm - if omitting input filename or using - for input filename reads pdf from stdin - if omitting output filename, prints output to stdout - create image of a cropped rectangle of the pdf - scale pdf to fit in a square of wanted size Patch by Ilmari Heikkinen <ilmari.heikkinen@gmail.com> ChangeLog | 12 ++++++ splash/SplashBitmap.cc | 18 +++++++-- splash/SplashBitmap.h | 2 + utils/pdftoppm.cc | 107 +++++++++++++++++++++++++++++++++++++++++-------- 4 files changed, 119 insertions(+), 20 deletions(-) commit 567e82c13aace4f40c7a555a62a3a4d223a46d92 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Aug 22 19:34:02 2007 +0000 2007-08-22 Jeff Muizelaar <jeff@infidigm.net> * poppler/GlobalParams.cc: Fix debug spew. Patch from Matthias Clasen. ChangeLog | 4 ++++ poppler/GlobalParams.cc | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) commit bc499987074d046baf29deafe4a29d57039c0c5e Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Aug 22 19:28:24 2007 +0000 2007-08-22 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Fix the computation of the padding in the image scaling code. ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit d9719233447cb4f85f2bf9d9ec6ef089caa21140 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Aug 19 16:20:21 2007 +0000 2007-08-19 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Avoid allocating the glyph array if currentFont is not set in beginString. This closes a possible memory leak. ChangeLog | 6 ++++++ poppler/CairoOutputDev.cc | 3 +++ 2 files changed, 9 insertions(+) commit 099eb56896046e020f4ef0365e1ee382f85ec1ab Author: Albert Astals Cid <aacid@kde.org> Date: Wed Aug 15 18:52:20 2007 +0000 * poppler/JBIG2Stream.cc: Quick fix for bug #12014 ChangeLog | 4 ++++ poppler/JBIG2Stream.cc | 16 +++++++++++----- 2 files changed, 15 insertions(+), 5 deletions(-) commit 3b7e3645c85c7a3d341457f105835b58c935bd67 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Aug 15 00:04:48 2007 +0000 RC2 is out! (0.5.91) ChangeLog | 1 + NEWS | 18 ++++++++++++++++++ configure.ac | 2 +- 3 files changed, 20 insertions(+), 1 deletion(-) commit c240daefe660ac3456dc0c5f5dc82aa53ebc3313 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 14 23:10:37 2007 +0000 * poppler/Stream.cc: Fix CVE-2007-3387 by merging xpdf-3.02pl1.patch ChangeLog | 1 + poppler/Stream.cc | 12 +++++------- 2 files changed, 6 insertions(+), 7 deletions(-) commit 1ba884b6b98ac8d755c9adc9f23a7a68d8b17b54 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 14 22:47:30 2007 +0000 * configure.ac: * pòppler/Makefile.am: Patch by Vincent Torri <vtorri@univ-evry.fr> to fix linking under MinGW ChangeLog | 6 ++++++ configure.ac | 13 +++++++++++++ poppler/Makefile.am | 5 +++-- 3 files changed, 22 insertions(+), 2 deletions(-) commit 3c31f923fcf1aeb361910eb1e9445cc28aa5b3ca Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Aug 7 16:22:12 2007 +0000 2007-08-07 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Don't use the prescaleMethod when we have a rotation as that case has not been tested. Also make sure that scaledHeight is at least 1. ChangeLog | 6 ++++++ poppler/CairoOutputDev.cc | 7 ++++++- 2 files changed, 12 insertions(+), 1 deletion(-) commit af97e5f8e0f3beeb43acde92a0788c02d9718adf Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Aug 6 17:41:17 2007 +0000 2007-08-06 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/Annot.cc: * poppler/Annot.h: * poppler/Form.cc: * poppler/Form.h: * poppler/Page.cc: Do not always regenerate appearance stream for every form widget, but only when it's actually needed. ChangeLog | 9 ++++++ poppler/Annot.cc | 86 ++++++++++++++++++++++++++++++++++---------------------- poppler/Annot.h | 8 +++--- poppler/Form.cc | 25 +++------------- poppler/Form.h | 4 ++- poppler/Page.cc | 8 ++---- 6 files changed, 74 insertions(+), 66 deletions(-) commit 74627e71388ca0a4c0938a472c291ef87186f370 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Jul 31 21:40:19 2007 +0000 2007-07-31 Jeff Muizelaar <jeff@infidigm.net> * poppler/GlobalParams.cc: s/GList/GooList/ some Windows code. ChangeLog | 4 ++++ poppler/GlobalParams.cc | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit f421e2151345ac855b75e819e19343a90789b3bf Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Jul 31 16:50:06 2007 +0000 2007-07-31 Jeff Muizelaar <jeff@infidigm.net> * glib/poppler-document.cc: * glib/poppler-document.h: Add poppler_fonts_iter_get_file_name. ChangeLog | 5 +++++ glib/poppler-document.cc | 16 ++++++++++++++++ glib/poppler-document.h | 1 + 3 files changed, 22 insertions(+) commit 4d57b8a12b845d5d5ac321d7a4bca980d60d429f Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Jul 31 16:48:35 2007 +0000 2007-07-31 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.h: Add comment about CairoImageOutputDevice's implementation. ChangeLog | 5 +++++ poppler/CairoOutputDev.h | 1 + 2 files changed, 6 insertions(+) commit f04a67006abdb5843ab481aa1e25b51abd1b1b64 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 31 11:41:53 2007 +0000 2007-07-31 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/Form.cc: * poppler/Form.h: Fix memory leak. ChangeLog | 5 +++++ poppler/Form.cc | 9 +++++---- poppler/Form.h | 4 ++-- 3 files changed, 12 insertions(+), 6 deletions(-) commit ee9d556a8b413160911a535a0e9089b919ca29f5 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 31 11:40:22 2007 +0000 2007-07-31 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/CairoOutputDev.h: Empty implementation of transparency groups and soft masks in CairoImageOutputDev. Fixes a crash in poppler_page_get_image_mapping. ChangeLog | 6 ++++++ poppler/CairoOutputDev.h | 11 +++++++++++ 2 files changed, 17 insertions(+) commit e08779856c801b9968dc2d47e28e86abc1ec7110 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Jul 31 05:29:57 2007 +0000 2007-07-31 Jeff Muizelaar <jeff@infidigm.net> * poppler/GfxFont.cc: Fix the case where the Encoding is "Identity" and ToUnicode exists. GfxCIDFont::getCodeToGIDMap makes CIDTOGID map from ToUnicde map, but when encoding is Identity, it should not use ToUnicode map to get GID. If encoding is Identity, No CIDTOGID map is needed. Patch by Koji Otani. Fixes #11413. ChangeLog | 10 ++++++++++ poppler/GfxFont.cc | 1 + 2 files changed, 11 insertions(+) commit 86fc9a6f343be920f5159e745947401227e41a37 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon Jul 30 19:28:17 2007 +0000 2007-07-30 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: Prescale image masks before giving them to cairo to improve the quality of the scaled image. Improves #5589. ChangeLog | 6 + poppler/CairoOutputDev.cc | 300 ++++++++++++++++++++++++++++++++++++++++++++-- poppler/CairoOutputDev.h | 10 +- 3 files changed, 303 insertions(+), 13 deletions(-) commit f754246e47161e9bf99887201e283c1419ade4f1 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon Jul 30 19:07:45 2007 +0000 2007-07-30 Jeff Muizelaar <jeff@infidigm.net> * configure.ac: Update require cairo version to 1.4 ChangeLog | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit bb20249ac676995725b617ef442f5feb01f78205 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon Jul 30 18:44:41 2007 +0000 2007-07-30 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: Add transparency group support. Fixes #7856. ChangeLog | 6 +++ poppler/CairoOutputDev.cc | 133 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 21 +++++++- 3 files changed, 159 insertions(+), 1 deletion(-) commit a85acecaeb0d122becbc52a385d918561e995eca Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon Jul 30 00:22:35 2007 +0000 2007-07-29 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: transform the original matrix for type3 fonts instead of using set_matrix() ChangeLog | 6 ++++++ poppler/CairoOutputDev.cc | 20 +++++++++++++++++--- poppler/CairoOutputDev.h | 1 + 3 files changed, 24 insertions(+), 3 deletions(-) commit a81a082169de32d01c36c969616a5c2279f1bac7 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon Jul 30 00:18:59 2007 +0000 2007-07-29 Jeff Muizelaar <jeff@infidigm.net> * glib/test-poppler-glib.c: include <time.h> to fix compilation. ChangeLog | 4 ++++ glib/test-poppler-glib.c | 1 + 2 files changed, 5 insertions(+) commit 81393cb30f6287caf5195265cdc039555f2767d3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jul 28 08:22:40 2007 +0000 2007-07-28 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/Annot.cc: * poppler/Annot.h: * poppler/Form.cc: * poppler/Form.h: Make fieldLookup static in Form and use it from both Form and Annot. ChangeLog | 8 +++++++ poppler/Annot.cc | 43 +++++++++++------------------------- poppler/Annot.h | 1 - poppler/Form.cc | 66 +++++++++++++++++++++++++++----------------------------- poppler/Form.h | 2 ++ 5 files changed, 54 insertions(+), 66 deletions(-) commit 81b669dcb14bf821a49c9879f8d4129075647f5f Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jul 28 08:05:11 2007 +0000 2007-07-28 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-page.h: Remove unneeded declarations. Fixes bug #11744. Patch by Kouhei Sutou <kou@cozmixng.org>. ChangeLog | 5 +++++ glib/poppler-page.h | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) commit f2c4e5305009f1da770c99d3e2e3371ff37c75f3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri Jul 27 09:17:40 2007 +0000 2007-07-27 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-document.cc: * glib/poppler-document.h: * glib/poppler-private.h: * glib/test-poppler-glib.c: Make PopplerFontInfo GObject. Patch by Kouhei Sutou <kou@cozmixng.org>. ChangeLog | 8 ++++++++ glib/poppler-document.cc | 44 ++++++++++++++++++++++++++++++++++++++++---- glib/poppler-document.h | 6 +++++- glib/poppler-private.h | 1 + glib/test-poppler-glib.c | 2 +- 5 files changed, 55 insertions(+), 6 deletions(-) commit 975c7cff10d9b00359e147329ae2c7a93f8a3833 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jul 25 17:20:06 2007 +0000 micro optimization qt4/src/poppler-page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 525a7f49dd95f2644870a1c59ca15124e30026b4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 24 16:45:25 2007 +0000 2007-07-24 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/Annot.cc: * poppler/Form.cc: Several fixes in forms. Generate appearance for field buttons that don't have an AP dict. Do not remove the first character of the second and following lines in multiline text fields. Fix a crash with pdf documents created by ooo which have radio buttons. Look for some inheritable attributes in the parent when needed. ChangeLog | 10 ++++++++ poppler/Annot.cc | 27 ++++++++++---------- poppler/Form.cc | 77 +++++++++++++++++++++++++++++++++++++++----------------- 3 files changed, 78 insertions(+), 36 deletions(-) commit 633a1cde65f86ee6577a68f4f8d36de43d14c714 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jul 15 21:03:50 2007 +0000 * utils/HtmlOutputDev.cc: * utils/HtmlOutputDev.h: Create the html files in the correct place, not in the invocation dir. Fixes bug #11610 ChangeLog | 6 ++++++ utils/HtmlOutputDev.cc | 37 ++++++++++--------------------------- utils/HtmlOutputDev.h | 4 ---- 3 files changed, 16 insertions(+), 31 deletions(-) commit ccb2d420ca8d818aa9ba1d64f08f5e94ab313a72 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jul 15 17:09:29 2007 +0000 * poppler/DCTStream.cc * poppler/DCTStream.h: Implement less evil error handling. On a error_exit level error we don't want to actually exit the program. See http://bugs.kde.org/show_bug.cgi?id=147878 for a pdf with this problem. libjpeg was printing "Bogus Huffman table definition" and exiting the program. * poppler/Stream.cc: Remove bogus #warning ChangeLog | 10 ++++++++++ poppler/DCTStream.cc | 17 ++++++++++++++++- poppler/DCTStream.h | 1 + poppler/Stream.cc | 1 - 4 files changed, 27 insertions(+), 2 deletions(-) commit f9d82dfd299ae23a1baf3e35e2c3cd351129c525 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jul 14 18:23:42 2007 +0000 * utils/pdftops.cc: init width/height to -1 so it is calculated if not specified ChangeLog | 5 +++++ utils/pdftops.cc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 1c04136e9538ccfaa2d6b968861682ca3b69ffb3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jul 14 15:23:31 2007 +0000 2007-07-14 Pino Toscano <pino@kde.org> * glib/poppler-action.h: * glib/poppler-document.h: Remove trailing comma from the last item of enums. ChangeLog | 6 ++++++ glib/poppler-action.h | 2 +- glib/poppler-document.h | 8 ++++---- 3 files changed, 11 insertions(+), 5 deletions(-) commit b9b68cabce19a5e23911e5432ace8c13bd237391 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jul 14 15:15:57 2007 +0000 2007-07-14 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-form-field.cc: * glib/poppler-form-field.h: * glib/test-poppler-glib.c: Make is_password a property instead of a text form field type, since a text field could be multiline and password at the same time. ChangeLog | 8 ++++++++ glib/poppler-form-field.cc | 10 ++++++++-- glib/poppler-form-field.h | 2 +- glib/test-poppler-glib.c | 4 ++-- 4 files changed, 19 insertions(+), 5 deletions(-) commit 14a8361039d708661b8699b2e7c4496135021a85 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 13 22:18:05 2007 +0000 * fofi/FoFiTrueType.cc * fofi/FoFiTrueType.h * poppler/CairoFontEngine.cc * poppler/CharCodeToUnicode.cc * poppler/CharCodeToUnicode.h * poppler/GfxFont.cc * poppler/GfxFont.h * poppler/SplashOutputDev.cc: Patch by Koji Otani <sho@bbr.jp> to fix several problems with Japanese fonts. Fixes bug 11413 ChangeLog | 13 ++ fofi/FoFiTrueType.cc | 305 +++++++++++++++++++++++++++++++++++++++++++ fofi/FoFiTrueType.h | 12 ++ poppler/CairoFontEngine.cc | 47 ++----- poppler/CharCodeToUnicode.cc | 16 +++ poppler/CharCodeToUnicode.h | 1 + poppler/GfxFont.cc | 230 ++++++++++++++++++++++++++++---- poppler/GfxFont.h | 2 + poppler/SplashOutputDev.cc | 53 ++------ 9 files changed, 577 insertions(+), 102 deletions(-) commit 8389099d8e8940e3f8920b14a83075d69bcd8e6c Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 13 18:21:02 2007 +0000 * poppler/FontInfo.cc: Fix the FontInfoScanner::scan method to actually scan the number of requested pages ChangeLog | 6 ++++++ poppler/FontInfo.cc | 12 ++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) commit 9ced4442372d08375e0ded62f79052d8a3ec9cd6 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 13 18:08:44 2007 +0000 * poppler/GlobalParams.cc: Remove dead unused code from Win32 ifdef ChangeLog | 4 ++++ poppler/GlobalParams.cc | 6 ------ 2 files changed, 4 insertions(+), 6 deletions(-) commit fb89fdb8de608ff94082e16819f042cddabf2bcc Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jul 11 18:52:12 2007 +0000 * poppler/PSOutputDev.cc * poppler/PSOutputDev.h * utils/pdftohtml.cc: Fix bug 9746. pdftohtml complex mode had text twice ChangeLog | 7 +++++++ poppler/PSOutputDev.cc | 5 +++++ poppler/PSOutputDev.h | 2 ++ utils/pdftohtml.cc | 3 +-- 4 files changed, 15 insertions(+), 2 deletions(-) commit 0c9fa59bf5edf3cfcca1792da51b904a7c7f7615 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 11 18:30:19 2007 +0000 2007-07-11 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/Form.cc: * poppler/XRef.cc: * poppler/XRef.h: Fix memory leak. ChangeLog | 6 ++++++ poppler/Form.cc | 49 ++++++++++++++++++++++++------------------------- poppler/XRef.cc | 22 ++++++++++------------ poppler/XRef.h | 2 +- 4 files changed, 41 insertions(+), 38 deletions(-) commit 4ae7d43bd54c5b3e2f08c48441f741d3099e228f Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jul 11 18:12:26 2007 +0000 * goo/GooVector.h: Rename guard from _VECTOR_H to GOO_VECTOR_H * goo/gfile.cc: GString -> GooString in Windows code * poppler/GlobalParams.cc: GString -> GooString in Windows code * splash/SplashT1FontEngine.cc * splash/SplashT1FontEngine.h * splash/SplashT1FontFile.cc * splash/SplashT1FontFile.h: T1 code is not supported, but at least make it compile :-D ChangeLog | 11 +++++++++++ goo/GooVector.h | 4 ++-- goo/gfile.cc | 6 +++--- poppler/GlobalParams.cc | 26 +++++++++++++------------- splash/SplashFontEngine.cc | 2 +- splash/SplashT1FontEngine.cc | 8 ++++---- splash/SplashT1FontEngine.h | 7 +++---- splash/SplashT1FontFile.cc | 8 +++++--- splash/SplashT1FontFile.h | 4 ++-- 9 files changed, 44 insertions(+), 32 deletions(-) commit 7bd125ce96c603fd5cf42d7c6a29b542e82dd4ec Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 11 18:08:07 2007 +0000 2007-07-11 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/Form.cc: * poppler/Form.h: * glib/poppler-form-field.cc: * glib/poppler-form-field.h: * glib/test-poppler-glib.c: Add a method to get the max length allowed in text form fields. ChangeLog | 9 +++++++++ glib/poppler-form-field.cc | 8 ++++++++ glib/poppler-form-field.h | 1 + glib/test-poppler-glib.c | 1 + poppler/Form.cc | 11 +++++++++++ poppler/Form.h | 4 ++++ 6 files changed, 34 insertions(+) commit 8a68855735e9d295d71685e82de39204d639ea7a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jul 9 08:52:58 2007 +0000 2007-07-09 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/Annot.cc: * poppler/Annot.h: Render '*' instead of the actual content in password form fields. Patch by Julien Rebetez <julien@fhtagn.net> ChangeLog | 6 ++++++ poppler/Annot.cc | 52 +++++++++++++++++++++++++++++----------------------- poppler/Annot.h | 5 +++-- 3 files changed, 38 insertions(+), 25 deletions(-) commit 53cf7d7084dc03a28239f11c94f2095bb02d6108 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jul 7 16:23:56 2007 +0000 2007-07-07 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/Form.cc: * poppler/Form.h: * glib/poppler-form-field.cc: * glib/poppler-form-field.h: * glib/test-poppler-glib.c: Add a method to get the type of a Form Field Button. ChangeLog | 9 +++++++++ glib/poppler-form-field.cc | 18 ++++++++++++++++++ glib/poppler-form-field.h | 8 ++++++++ glib/test-poppler-glib.c | 26 +++++++++++++++++++++++--- poppler/Form.cc | 5 +++++ poppler/Form.h | 2 ++ 6 files changed, 65 insertions(+), 3 deletions(-) commit de0a40181e5832a0dc263d40ed0a269867764623 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jul 7 15:28:29 2007 +0000 2007-07-07 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/Form.cc: Fix a crash when setting state on buttons that don't have state. ChangeLog | 5 +++++ poppler/Form.cc | 3 +++ 2 files changed, 8 insertions(+) commit a33518a3283ff25aa5517bc535ddb61383b1cfdc Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 6 09:08:44 2007 +0000 * poppler/Form.cc: Fix a bug with FormField's destructor which was not checking if the FormField is terminal to determine wether it needs to delete children or widgets. Patch by Julien Rebetez <julien@fhtagn.net> ChangeLog | 4 ++++ poppler/Form.cc | 17 +++++++++++------ 2 files changed, 15 insertions(+), 6 deletions(-) commit 43f0d5b9bb198cdcbc2f7111f294c6f947105314 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 6 08:47:11 2007 +0000 * goo/GooString.cc: * poppler/ABWOutputDev.cc: Build on Sun Force compiler, patch by Darren Kenny <darren.kenny@sun.com> ChangeLog | 6 ++++++ goo/GooString.cc | 2 +- poppler/ABWOutputDev.cc | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) commit 4e7405071b69889362e4d49de3f881f0e3e261e3 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 5 13:04:01 2007 +0000 2007-07-05 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-form-field.cc: Allow to set NULL in form fields that can contain text. ChangeLog | 5 +++++ glib/poppler-form-field.cc | 30 ++++++++++++------------------ 2 files changed, 17 insertions(+), 18 deletions(-) commit 625510797c528257527003477fe28adbacfe80e7 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Thu Jul 5 08:13:51 2007 +0000 2007-07-05 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-attachment.cc: * glib/poppler-attachment.h: * glib/test-poppler-glib.c: Rename cdate and mdate again to ctime and mtime, since they are public attributes and we don't want to break the API. ChangeLog | 8 ++++++++ glib/poppler-attachment.cc | 4 ++-- glib/poppler-attachment.h | 4 ++-- glib/test-poppler-glib.c | 4 ++-- 4 files changed, 14 insertions(+), 6 deletions(-) commit 9b2640f156f24b07c797d9461f84e64d550efa1a Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jul 4 13:57:31 2007 +0000 * qt4/src/poppler-form.cc: QStringToGooString -> QStringToUnicodeGooString has FormWidgetText::setContent wants to have the unicode formated string * qt4/src/poppler-private.h: create QStringToUnicodeGooString ChangeLog | 7 +++++++ qt4/src/poppler-form.cc | 2 +- qt4/src/poppler-private.h | 15 +++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) commit b70115cf979b29f75c644518ae0e9c0dd9892ebf Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 4 13:06:38 2007 +0000 2007-07-04 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-form-field.cc: Convert strings from UTF8 to UTF16BE before setting them. ChangeLog | 5 +++++ glib/poppler-form-field.cc | 34 ++++++++++++++++++++++++---------- 2 files changed, 29 insertions(+), 10 deletions(-) commit d37843877a6f93a9f27502d07ad82cba79e9aa73 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Wed Jul 4 08:26:52 2007 +0000 2007-07-04 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-attachment.cc: * glib/poppler-attachment.h: Add size, creation and modification date and checksum properties to attachments. Fix memory leaks. * glib/test-poppler-glib.c: * glib/poppler.h: * glib/poppler-private.h: * glib/poppler-document.cc: Add a function to convert a pdf date into a GTime that is used by attachments and document properties. Fix memory leak in attachments. ChangeLog | 12 ++++ glib/poppler-attachment.cc | 25 +++++++- glib/poppler-attachment.h | 16 ++--- glib/poppler-document.cc | 142 +++++++++++++++++++++++---------------------- glib/poppler-private.h | 6 +- glib/poppler.h | 1 + glib/test-poppler-glib.c | 56 +++++++++++++++--- 7 files changed, 171 insertions(+), 87 deletions(-) commit d933f47d4af0992059148259a189373b42499bbe Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 3 20:31:20 2007 +0000 * qt4/tests/poppler-fonts.cpp: For the sake of completeness, add all the enums ChangeLog | 2 ++ qt4/tests/poppler-fonts.cpp | 28 ++++++++++++++++++++-------- 2 files changed, 22 insertions(+), 8 deletions(-) commit d90b166cfbdc4857351baa627d158d5e0b6652b4 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 3 16:46:51 2007 +0000 * poppler/Catalog.cc: Fix crash, embeddedFileNameTree.getName(i) returns a reference to its own data so does not have to be deleted * qt4/tests/poppler-attachments.cpp: Delete the doc, just for sake of correctness ChangeLog | 7 +++++++ poppler/Catalog.cc | 1 - qt4/tests/poppler-attachments.cpp | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) commit 7fa87eb2b093770271bc3a72de5b0b9dc228aa1b Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 3 14:01:40 2007 +0000 2007-07-03 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-form-field.cc: * glib/poppler-form-field.h: * glib/test-poppler-glib.c: Add choice_commit_on_change function to glib bindings. ChangeLog | 7 +++++++ glib/poppler-form-field.cc | 8 ++++++++ glib/poppler-form-field.h | 1 + glib/test-poppler-glib.c | 2 ++ 4 files changed, 18 insertions(+) commit 8b67e0403f6eaab6770cc0b7861074ae0b6d85bb Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Tue Jul 3 13:49:18 2007 +0000 2007-07-03 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-form-field.cc: * glib/poppler-form-field.h: * glib/test-poppler-glib.c: Fix a typo. ChangeLog | 6 ++++++ glib/poppler-form-field.cc | 2 +- glib/poppler-form-field.h | 2 +- glib/test-poppler-glib.c | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) commit 33a5765eb404a4b321b09c26af74c1ed64a5d474 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 3 13:22:54 2007 +0000 * poppler/Catalog.cc: * poppler/Catalog.h: Add size and checksum properties to the embeded files * qt4/src/poppler-embeddedfile.cc: * qt4/src/poppler-qt4.h: Add size and checksum properties to the qt4 frontend ChangeLog | 9 +++++++++ poppler/Catalog.cc | 19 ++++++++++++++++--- poppler/Catalog.h | 13 +++++++++++-- qt4/src/poppler-embeddedfile.cc | 16 ++++++++++++++++ qt4/src/poppler-qt4.h | 14 ++++++++++++++ 5 files changed, 66 insertions(+), 5 deletions(-) commit c7d21f9354bbe090cce6459124dcaadf1e46639e Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jul 2 13:39:32 2007 +0000 2007-07-02 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-form-field.cc: * glib/poppler-form-field.h: * glib/test-poppler-glib.c: Use FILE_SELECT instead of FILESELECT and fix a typo. Patch by Kouhei Sutou ChangeLog | 9 +++++++++ glib/poppler-form-field.cc | 2 +- glib/poppler-form-field.h | 2 +- glib/test-poppler-glib.c | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) commit 5e301064c62c6d58f488839d7bf804af912a3de1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Mon Jul 2 13:34:26 2007 +0000 2007-07-02 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-form-field.cc: * glib/poppler-form-field.h: * glib/test-poppler-glib.c: Add poppler_form_field_is_read_only to glib bindings. Patch by Kouhei Sutou ChangeLog | 9 +++++++++ glib/poppler-form-field.cc | 8 ++++++++ glib/poppler-form-field.h | 1 + glib/test-poppler-glib.c | 6 +++++- 4 files changed, 23 insertions(+), 1 deletion(-) commit 11875746ce28e8999bcad46167fcfea131cd267a Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jun 30 08:33:30 2007 +0000 2007-06-30 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-page.cc: Use poppler_page_transition_get_type instead of poppler_page_transition which doesn't exist. Patch by Kouhei Sutou ChangeLog | 6 ++++++ glib/poppler-page.cc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 0a5acaae3b9bfcd731bc4e072f35f9433aa773da Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jun 30 08:25:15 2007 +0000 2007-06-30 Carlos Garcia Campos <carlosgc@gnome.org> * glib/Makefile.am: * glib/poppler-form-field.cc: * glib/poppler-form-field.h: * glib/poppler-document.cc: * glib/poppler-document.h: * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler-private.h: * glib/poppler.h: * glib/test-poppler-glib.c: Improve forms API in the glib bindings in order to make it more consistent with the current API and easier to use. ChangeLog | 15 +++ glib/Makefile.am | 2 + glib/poppler-document.cc | 197 ++-------------------------- glib/poppler-document.h | 55 +------- glib/poppler-form-field.cc | 316 +++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-form-field.h | 96 ++++++++++++++ glib/poppler-page.cc | 210 ++++++++++++------------------ glib/poppler-page.h | 55 ++------ glib/poppler-private.h | 11 +- glib/poppler.h | 40 +++--- glib/test-poppler-glib.c | 119 ++++++++++++++--- 11 files changed, 662 insertions(+), 454 deletions(-) commit 2212874e57a6eb9db733b2e9a98f0cfcb88a8fc1 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 26 21:31:07 2007 +0000 * poppler/Form.cc: Don't crash on documents with AcroForm but no AcroForm->Fields (it's mandatory but...) ChangeLog | 5 +++++ poppler/Form.cc | 54 +++++++++++++++++++++++++++++------------------------- 2 files changed, 34 insertions(+), 25 deletions(-) commit e48ee9c4af6bf98b6988c51dcab9ee9ef6e3cafe Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sat Jun 23 18:06:07 2007 +0000 2007-06-23 Carlos Garcia Campos <carlosgc@gnome.org> * poppler/Annot.cc: * poppler/Form.cc: Fix memory leaks. ChangeLog | 5 +++++ poppler/Annot.cc | 2 +- poppler/Form.cc | 13 +++++++++---- 3 files changed, 15 insertions(+), 5 deletions(-) commit d874a2753e3ac51b6f539dfdf980435c8c381b4f Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 20 20:07:15 2007 +0000 * qt4/src/poppler-qt4.h: * qt4/src/poppler-document.cc: Allow access to a document's metadata contents from the qt4 binding. Based on patch by Jason Kivlighn * qt4/tests/test-poppler-qt4.cpp: Print metadata if it exists ChangeLog | 5 +++++ qt4/src/poppler-document.cc | 13 +++++++++++++ qt4/src/poppler-qt4.h | 5 +++++ qt4/tests/test-poppler-qt4.cpp | 1 + 4 files changed, 24 insertions(+) commit 08d4c437e735ac50a340c4ae17ee0eeccd00dc20 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 20 18:40:03 2007 +0000 * glib/poppler-document.cc: Allow access to a document's metadata stream through the glib binding. Patch by Jason Kivlighn <jkivlighn@gmail.com> Approved by Carlos ChangeLog | 6 ++++++ glib/poppler-document.cc | 21 +++++++++++++++++++++ 2 files changed, 27 insertions(+) commit cdd2a49dc99aa16ded674c58dbb50298f06cf18a Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jun 15 18:15:53 2007 +0000 * poppler/ABWOutputDev.cc: Replaces the getBiggestSeperator function at the ABWoutputdev with one that is easier to read/debug and less likely to contain bugs. Some cosmetic fixes at the functions recursiveXYC and splitnodes. Patch by Jauco Noordzij <jauco.noordzij@gmail.com>. More info at bug #11273 ChangeLog | 8 + poppler/ABWOutputDev.cc | 384 ++++++++++++------------------------------------ 2 files changed, 106 insertions(+), 286 deletions(-) commit 7f23383197b0e2fa24be7b4925ea6f39eb95bbc1 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 13 20:39:21 2007 +0000 * poppler/ABWOutputDev.cc * poppler/ABWOutputDev.h: Remove dependency on debugxml. Patch by Jauco Noordzij <jauco.noordzij@gmail.com>. Fixes bug #11187 ChangeLog | 6 ++++ poppler/ABWOutputDev.cc | 80 ++++++++++++++++++++++++++++++++++++++++++++++++- poppler/ABWOutputDev.h | 1 + 3 files changed, 86 insertions(+), 1 deletion(-) commit 948520cd529ce47d1970aae6a0b8058128e37c30 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 13 18:50:40 2007 +0000 * goo/FixedPoint.h * goo/gmem.h * poppler/SecurityHandler.h * poppler/poppler-config.h.in * utils/ImageOutputDev.h: Patch by Axel Howind <Axel.Howind@htp-tel.de> - include USE_EXCEPTIONS and USE_FIXEDPOINT in poppler-config.h.in - fix typo (MULTITHREADED/MULTITHREADING) in poppler.config.h.in - change installed headers to include poppler-config.h instead of config.h - use <poppler/poppler-config.h> instead of <poppler-config.h> so that installed headers can be used without including .../include/poppler in the include path ChangeLog | 16 ++++++++++++++++ goo/FixedPoint.h | 2 +- goo/gmem.h | 2 +- poppler/SecurityHandler.h | 2 +- poppler/poppler-config.h.in | 12 +++++++++++- utils/ImageOutputDev.h | 2 +- 6 files changed, 31 insertions(+), 5 deletions(-) commit 825461e47b05595805e87a0d2960b07197c8da8b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 13 18:24:56 2007 +0000 configure.ac: Fix detection of glib ChangeLog | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit a67a93fc6b4812a4f892b311c5b299e59283cd47 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jun 11 21:14:22 2007 +0000 * poppler/CMap.h: * poppler/CharCodeToUnicode.h: * poppler/GlobalParams.h: * poppler/PageLabelInfo.h: * poppler/UnicodeMap.h: Further include cleanup. Patch by Axel Howind on bug #11228 ChangeLog | 9 +++++++++ poppler/CMap.h | 2 +- poppler/CharCodeToUnicode.h | 2 +- poppler/GlobalParams.h | 2 +- poppler/PageLabelInfo.h | 6 +++--- poppler/UnicodeMap.h | 2 +- 6 files changed, 16 insertions(+), 7 deletions(-) commit 051b31af053cac4727718169b79b25451a4bdd95 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jun 11 21:11:05 2007 +0000 * qt/poppler-qt.h * qt4/src/poppler-qt4.h: Headers cleanup ChangeLog | 5 +++++ qt/poppler-qt.h | 6 +++--- qt4/src/poppler-qt4.h | 8 ++++---- 3 files changed, 12 insertions(+), 7 deletions(-) commit 3e1597b80fc6750f1ec3269f9819aa8225879524 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jun 8 22:39:23 2007 +0000 poppler/Annot.cc: Fix leak ChangeLog | 4 ++++ poppler/Annot.cc | 1 + 2 files changed, 5 insertions(+) commit 49535c20b4f71d1c1381134233e2e1449cf560c0 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Jun 7 21:23:03 2007 +0000 2007-06-07 Jeff Muizelaar <jeff@infidigm.net> * poppler/ABWOutputDev.cc: Change "and", "or", "not" to "&&", "||", "!" for consistency with the rest of the code. Patch by Jens Granseuer ChangeLog | 5 +++ poppler/ABWOutputDev.cc | 93 +++++++++++++++++++++++++------------------------ 2 files changed, 52 insertions(+), 46 deletions(-) commit dd8fa975bf51dd18120369d0ef2d8f1781e04d93 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jun 2 09:18:11 2007 +0000 correct form of patch 11102 utils/HtmlFonts.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit cdf70857ece0748f13b11c923ccf9626094555b4 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jun 1 18:34:48 2007 +0000 * poppler/ArthurOutputDev.cc * splash/SplashFTFont.cc * splash/SplashMath.h: Make it compile with --enable-fixedpoint. Fixes bug 11110 ChangeLog | 7 +++++++ poppler/ArthurOutputDev.cc | 8 ++++---- splash/SplashFTFont.cc | 8 ++++---- splash/SplashMath.h | 2 +- 4 files changed, 16 insertions(+), 9 deletions(-) commit 90b1a404629a884cc32737a3a729c9a75f7a59c1 Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 30 18:33:24 2007 +0000 * configure.ac: Fix to check for glib-2.0 not glib that is 1.0. Patch came though Pardus developers and they don't remember where they got it from. ChangeLog | 6 ++++++ configure.ac | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 03d766ea1ddd4ce6d938f96b53906a7dc8bd179a Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 30 18:29:57 2007 +0000 make dist needs this qt4/src/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit d540c04268047fdd125ad932ca05c7553a97c0fe Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 30 17:50:00 2007 +0000 * utils/HtmlFonts.cc: Make pdftohtml not pollute stdout. Patch by Nanning Buitenhuis <nanning@elvenkind.com> And some changes in glib/reference/tmpl ChangeLog | 5 + glib/reference/tmpl/poppler-document.sgml | 4 + glib/reference/tmpl/poppler-enums.sgml | 150 ++++++++++++++++++++++++++++++ glib/reference/tmpl/poppler-page.sgml | 5 +- glib/reference/tmpl/poppler-unused.sgml | 130 -------------------------- utils/HtmlFonts.cc | 2 +- 6 files changed, 162 insertions(+), 134 deletions(-) commit ce414f2a36f4d97a3bddfd42baabdc1e34bf9321 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue May 29 22:01:58 2007 +0000 2007-05-29 Kristian Høgsberg <krh@redhat.com> * poppler/gen-unicode-tables.py: Add this script to fix distcheck. ChangeLog | 4 ++++ poppler/gen-unicode-tables.py | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) commit 97e602752b05f3690acb1821bdca31c5771361e1 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun May 27 11:24:40 2007 +0000 2007-05-27 Carlos Garcia Campos <carlosgc@gnome.org> * glib/test-poppler-glib.c: Add forms test * glib/poppler-page.cc: * glib/poppler-page.h: Fix indentation, some code cleanups and memory leaks. ChangeLog | 7 ++ glib/poppler-page.cc | 198 ++++++++++++++++++++++++++++------------------- glib/poppler-page.h | 6 +- glib/test-poppler-glib.c | 39 ++++++++++ 4 files changed, 168 insertions(+), 82 deletions(-) commit 3d31c2b1ea913fc80211f1c6fed9b3666f124049 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Sun May 27 10:12:56 2007 +0000 2007-05-27 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-page.cc: * glib/poppler-page.h: Add missing image mapping type definition. ChangeLog | 6 ++++++ glib/poppler-page.cc | 48 +++++++++++++++++++++++++++++++++++++++++++++--- glib/poppler-page.h | 5 +++++ 3 files changed, 56 insertions(+), 3 deletions(-) commit 8284a769568322066a9d4626bd9b2cf3d18a6487 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 26 23:20:12 2007 +0000 * configure.ac: * NEWS: Bump release to 0.5.9 (0.6 Release Candidate) ChangeLog | 2 ++ NEWS | 15 +++++++++++++++ configure.ac | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) commit e6ff9e0d95e058f6aff3c72d5f4d7d7ccf661999 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 26 22:33:21 2007 +0000 * poppler-qt.pc.in: * poppler-qt4.pc.in: * qt/Makefile.am: * qt4/src/Makefile.am: Install qt3 and qt4 headers in separate dirs. That way be can reuse poppler-page-transition.h and distros don't get conflicts when making separate qt3 and qt4 packages ChangeLog | 9 +++++++++ poppler-qt.pc.in | 2 +- poppler-qt4.pc.in | 2 +- qt/Makefile.am | 2 +- qt4/src/Makefile.am | 2 +- 5 files changed, 13 insertions(+), 4 deletions(-) commit fefefe495a182c1745314186b99441b9e76ba5b4 Author: Albert Astals Cid <aacid@kde.org> Date: Fri May 25 23:17:58 2007 +0000 * qt4/src/poppler-link-extractor-private.cc: * qt4/src/poppler-link-extractor-private.h: * qt4/src/poppler-link.cc: * qt4/src/poppler-link.h: Return link coordinates in 0..1 range instead of 0..size, much more easier to do user<->dev transformations * qt4/src/poppler-private.h: Fix indentation ChangeLog | 6 ++++++ qt4/src/poppler-link-extractor-private.h | 1 + qt4/src/poppler-link-extractor.cc | 12 ++++++------ qt4/src/poppler-link.cc | 25 +++++++++++++++---------- qt4/src/poppler-link.h | 7 ++++++- qt4/src/poppler-private.h | 15 ++++++++------- 6 files changed, 42 insertions(+), 24 deletions(-) commit ecaeaa9512d1dae4a036703ea8739102a8e463f0 Author: Albert Astals Cid <aacid@kde.org> Date: Fri May 25 22:30:20 2007 +0000 * qt4/src/poppler-link-extractor.cc: Use correct page box to extract link clickable area ChangeLog | 5 +++++ qt4/src/poppler-link-extractor.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 774a9456c668ef70b2e8f17d59f8f427aa97bad5 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Fri May 25 18:43:04 2007 +0000 2007-05-25 Jeff Muizelaar <jeff@infidigm.net> * poppler/GfxFont.cc: * poppler/GfxFont.h: * poppler/GlobalParams.cc: Don't cache DisplayFontParams by font name, instead cache them in GfxFont. Fixes #8140. ChangeLog | 8 ++++++++ poppler/GfxFont.cc | 2 ++ poppler/GfxFont.h | 6 ++++++ poppler/GlobalParams.cc | 4 ++-- 4 files changed, 18 insertions(+), 2 deletions(-) commit a88fadf0bb9af55c83c9c4f7d08deb17d6aa9ae4 Author: Carlos Garcia Campos <carlosgc@gnome.org> Date: Fri May 25 17:33:37 2007 +0000 2007-05-25 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler.h: Add selection style parameter to render_selection in order to allow requesting selections of words and paragraphs. ChangeLog | 8 ++++++++ glib/poppler-page.cc | 30 ++++++++++++++++-------------- glib/poppler-page.h | 6 ++++-- glib/poppler.h | 7 +++++++ 4 files changed, 35 insertions(+), 16 deletions(-) commit bf195b489c22875695e202d6ca6659144ef57e61 Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 23 21:20:58 2007 +0000 * qt4/src/poppler-document.cc: * qt4/src/poppler-private.h: Better handle the setting of the vector antialiasing for Splash. * qt4/src/Mainpage.dox: * qt4/src/poppler-link.h: * qt4/src/poppler-qt4.h: A few of API documentation fixes and improvements. ChangeLog | 10 ++++++++ qt4/src/Mainpage.dox | 8 ++----- qt4/src/poppler-document.cc | 5 ++-- qt4/src/poppler-link.h | 4 +++- qt4/src/poppler-private.h | 1 + qt4/src/poppler-qt4.h | 57 ++++++++++++++++++++++++++++++--------------- 6 files changed, 57 insertions(+), 28 deletions(-) commit 36d1fe292778ba29990a389c50a0df0d51f11913 Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 21 21:42:38 2007 +0000 Fix assert in bug 11023 ChangeLog | 4 ++++ glib/poppler-action.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 5b411246a2cce6ed3bb2d8c9e9d856227b6aba7f Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 21 21:39:08 2007 +0000 * glib/poppler-page.cc: * glib/poppler-page.h: poppler_page_render_section() for cairo. Bug 7023 ChangeLog | 6 ++++ glib/poppler-page.cc | 88 ++++++++++++++++++++++++++++++++++++++++++++++------ glib/poppler-page.h | 9 ++++++ 3 files changed, 93 insertions(+), 10 deletions(-) commit 409f2a9cb31add29accb87011331c50dc08110cd Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 21 21:35:10 2007 +0000 * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler-private.h: * glib/poppler.h: * glib/test-poppler-glib.c: * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: Extend CairoOutputdev to do image caching when rendering ChangeLog | 11 +++ glib/poppler-page.cc | 161 ++++++++++++++++++++++++++++++++-- glib/poppler-page.h | 10 +++ glib/poppler-private.h | 3 + glib/poppler.h | 9 +- glib/test-poppler-glib.c | 27 +++++- poppler/CairoOutputDev.cc | 215 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 122 ++++++++++++++++++++++++++ 8 files changed, 545 insertions(+), 13 deletions(-) commit afd11ec66430dae084b5a5560333e933460fc637 Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 21 21:29:09 2007 +0000 * poppler/Annot.cc: avoid crashing if the font for the drawing methods can not be found * poppler/Form.cc: fix memory leak * qt4/src/poppler-private.h: fix the UnicodeParsedString function to really work and not crash * splash/SplashTypes.h: RGB8X mode makes max number of components in any SplashColor always be 4 ChangeLog | 11 +++++++++++ poppler/Annot.cc | 6 ++++++ poppler/Form.cc | 1 + qt4/src/poppler-private.h | 5 ++++- splash/SplashTypes.h | 6 +----- 5 files changed, 23 insertions(+), 6 deletions(-) commit f019c8a8efde004e1663ea88cb48c0e46318d936 Author: Albert Astals Cid <aacid@kde.org> Date: Thu May 17 21:32:57 2007 +0000 2007-05-17 Pino Toscano <pino@kde.org> * qt4/src/poppler-link.cc: Give some default values to LinkDestination * qt4/src/poppler-private.h: Fix memory leak when converting QString -> GooString ChangeLog | 7 +++++++ qt4/src/poppler-link.cc | 12 ++++++++++++ qt4/src/poppler-private.h | 4 +++- 3 files changed, 22 insertions(+), 1 deletion(-) commit d68a4eb44b5390b3093774f39a6805ad2e95c146 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun May 13 00:53:43 2007 +0000 2007-05-12 Jeff Muizelaar <jeff@infidigm.net> * poppler/Annot.cc: Only do appearance generation for text, choice or other fields that contain text. Patch by Julien Rebetez. ChangeLog | 5 +++++ poppler/Annot.cc | 52 ++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 51 insertions(+), 6 deletions(-) commit 96f8731e90af1abce67d00a3febc11880c69ce62 Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 7 18:41:09 2007 +0000 * Catalog.cc: Fix leak * Form.cc: Fix leak, provide empty FormPageWidgets::~FormPageWidgets implementation * Page.cc: Fix leak ChangeLog | 7 +++++++ poppler/Catalog.cc | 1 + poppler/Form.cc | 5 +++++ poppler/Page.cc | 1 + 4 files changed, 14 insertions(+) commit d46553d696b2d7fe416ce8db40db54dd1d7c6733 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Apr 30 22:34:21 2007 +0000 * poppler/Makefile.am: Don't link cairo to all poppler, just to poppler_cairo so when compiling the qt frontend and the glib frontend the qt one does not end up depending on cairo ChangeLog | 6 ++++++ poppler/Makefile.am | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) commit d5c52409c532a126bcb8eb65f6f1390113a5f258 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Apr 29 17:37:38 2007 +0000 jeff committed this line by mistake ChangeLog | 1 - 1 file changed, 1 deletion(-) commit 6ddc11ef4c534369ee104422bfb989603c466790 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Apr 29 17:33:58 2007 +0000 2007-04-29 Jeff Muizelaar <jeff@infidigm.net> * poppler/UnicodeTypeTable.cc: Make some of the unicode tables const which gets rid of about 20k of data. text data bss dec hex filename before: 1415838 128864 8 1544710 179206 libpoppler.so after: 1404574 140128 8 1544710 179206 libpoppler.so ChangeLog | 10 ++++++++++ poppler/UnicodeTypeTable.cc | 24 ++++++++++++------------ 2 files changed, 22 insertions(+), 12 deletions(-) commit c5613ab5ce65fc84eb3a5584cee1454171173fa7 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 28 23:25:59 2007 +0000 * poppler/SplashOutputDev.cc: * qt/poppler-private.h: * qt4/src/poppler-private.h: * splash/Splash.cc: * splash/SplashBitmap.cc: * splash/SplashTypes.h: Rename splashModeRGBX8 to splashModeXBGR8 and hopefully fix qt frontends image generation ChangeLog | 10 +++++ poppler/SplashOutputDev.cc | 102 +++++++++++++++++++++++++++++++++------------ qt/poppler-private.h | 2 +- qt4/src/poppler-private.h | 2 +- splash/Splash.cc | 44 +++++++++---------- splash/SplashBitmap.cc | 16 +++---- splash/SplashTypes.h | 4 +- 7 files changed, 120 insertions(+), 60 deletions(-) commit 6479ce224f1393235ca9888dfe0710327fbfccd2 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 28 22:12:22 2007 +0000 fix merging problems splash/Splash.cc | 1 + splash/SplashBitmap.cc | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) commit e2ac4ada3e29139053871ff7f53772e1ccc7adc0 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 28 15:39:36 2007 +0000 \n at the end of the printf Although i'm not sure we want to printf this... poppler/GlobalParams.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b8133940638c95940edcb9b98126ca9a4f7b8d4 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 28 12:00:38 2007 +0000 * qt4/src/Makefile.am: * qt4/src/poppler-document.cc: * qt4/src/poppler-ps-converter.cc: * qt4/src/poppler-qt4.h: Replace Document::print function with lots of arguments with a helper class with lots of functions. Will help mantaining BC in case we decide to add more functionality to the printing process. ChangeLog | 10 +++ qt4/src/Makefile.am | 1 + qt4/src/poppler-document.cc | 39 ++------- qt4/src/poppler-ps-converter.cc | 190 ++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-qt4.h | 119 +++++++++++++++++++++---- 5 files changed, 307 insertions(+), 52 deletions(-) commit 26d5fefcd4c858e2ebd689d963a65773957ac808 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 28 11:35:34 2007 +0000 * qt4/src/poppler-page.cc: Hopefully fix the calculation of the image size when rendering using ArthurOutputDev. ChangeLog | 6 ++++++ qt4/src/poppler-page.cc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 218364bc4951682de8e63e1bd3f061636b08b615 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 28 11:34:14 2007 +0000 * glib/poppler-document.h: * poppler/FontInfo.h: * qt/poppler-qt.h: * qt4/src/poppler-qt4.h: GfxFontType changed, adapt enums of the frontends and helper classes. Forgot to do it before merging. ChangeLog | 8 ++++++++ glib/poppler-document.h | 6 +++++- poppler/FontInfo.h | 6 +++++- qt/poppler-qt.h | 6 +++++- qt4/src/poppler-qt4.h | 20 ++++++++++++-------- 5 files changed, 35 insertions(+), 11 deletions(-) commit c1a40d3b4e9b27e34c94c9477a0313534563a394 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 28 11:20:58 2007 +0000 * qt4/src/poppler-annotation.h: Make the header clean. ChangeLog | 5 +++++ qt4/src/poppler-annotation.h | 3 +++ 2 files changed, 8 insertions(+) commit 3f4bf880b95e28a1ae7a38b18b341e089860780c Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 28 11:16:49 2007 +0000 * qt4/src/Makefile.am: * qt4/src/poppler-link-extractor-private.h: * qt4/src/poppler-link-extractor.cc: * qt4/src/poppler-page-private.h: * qt4/src/poppler-page.cc: * qt4/src/poppler-private.h: * qt4/src/poppler-qt4.h: Getting the links of a page now is not more dependant on the current output device, and can be done anytime; thus, the doLinks parameter of the Page::render() can be dropped. ChangeLog | 13 ++++++ qt4/src/Makefile.am | 3 +- qt4/src/poppler-link-extractor-private.h | 55 ++++++++++++++++++++++++ qt4/src/poppler-link-extractor.cc | 74 ++++++++++++++++++++++++++++++++ qt4/src/poppler-page-private.h | 38 ++++++++++++++++ qt4/src/poppler-page.cc | 52 ++++------------------ qt4/src/poppler-private.h | 5 ++- qt4/src/poppler-qt4.h | 4 +- 8 files changed, 195 insertions(+), 49 deletions(-) commit 7f9eec9ef4e7dc895d2a3e38014b6368cc7564b6 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Apr 27 22:41:10 2007 +0000 2007-04-28 Albert Astals Cid <aacid@kde.org> * qt4/*: Stop requyring users to declare UNSTABLE_POPPLER_QT4 ChangeLog | 4 ++++ qt4/src/Doxyfile | 2 +- qt4/src/Mainpage.dox | 3 +-- qt4/src/poppler-document.cc | 2 -- qt4/src/poppler-embeddedfile.cc | 2 -- qt4/src/poppler-fontinfo.cc | 2 -- qt4/src/poppler-form.cc | 1 - qt4/src/poppler-link.cc | 2 -- qt4/src/poppler-page.cc | 1 - qt4/src/poppler-qt4.h | 3 --- qt4/src/poppler-sound.cc | 2 -- qt4/src/poppler-textbox.cc | 2 -- qt4/tests/check_attachments.cpp | 1 - qt4/tests/check_dateConversion.cpp | 1 - qt4/tests/check_fonts.cpp | 1 - qt4/tests/check_metadata.cpp | 1 - qt4/tests/check_pagelayout.cpp | 1 - qt4/tests/check_pagemode.cpp | 1 - qt4/tests/check_permissions.cpp | 1 - qt4/tests/poppler-attachments.cpp | 1 - qt4/tests/poppler-fonts.cpp | 1 - qt4/tests/stress-poppler-qt4.cpp | 1 - qt4/tests/test-password-qt4.cpp | 1 - qt4/tests/test-poppler-qt4.cpp | 1 - 24 files changed, 6 insertions(+), 32 deletions(-) commit 45993a6faafd7646075bc6630d5d2ad7a44f7e20 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Apr 27 22:26:09 2007 +0000 2007-04-28 Carlos Garcia Campos <carlosgc@gnome.org> reviewed and some code by: Albert Astals Cid <aacid@kde.org> * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler.h: * glib/test-poppler-glib.c: * poppler/Makefile.am: * poppler/PageTransition.cc: * poppler/PageTransition.h: * qt/poppler-page-transition.cc: * qt/poppler-page-transition.h: Move Page Transition parsing from qt frontends to poppler core. Expose Page transitions on the glib frontend. ChangeLog | 15 ++++ glib/poppler-page.cc | 122 ++++++++++++++++++++++++++ glib/poppler-page.h | 111 ++++++++++++++---------- glib/poppler.h | 58 +++++++++---- glib/test-poppler-glib.c | 60 +++++++++++++ poppler/Makefile.am | 2 + poppler/PageTransition.cc | 197 +++++++++++++++--------------------------- poppler/PageTransition.h | 86 ++++++++++++++++++ qt/poppler-page-transition.cc | 145 ++++++------------------------- qt/poppler-page-transition.h | 9 +- 10 files changed, 497 insertions(+), 308 deletions(-) commit 877d6b202a75eb12119b16e740f85cc8b477d589 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Apr 27 21:25:30 2007 +0000 * glib/poppler-page.cc: * poppler/PSOutputDev.cc: * poppler/PSOutputDev.h: * qt/poppler-document.cc: * qt4/src/poppler-document.cc: * qt4/src/poppler-qt4.h: * utils/pdftohtml.cc: * utils/pdftops.cc: Add option to force rasterizing the pages when printing them Add functionality to output the title field on the PS file Only Qt4 frontend exposes the functionality Bringing this features from KPDF 3.5.7 to poppler Testers welcome Patches for other frontends more than welcome Comments and suggestions even more than welcome :-) ChangeLog | 14 +++++++++++++ glib/poppler-page.cc | 3 ++- poppler/PSOutputDev.cc | 48 +++++++++++++++++++++++++++++++-------------- poppler/PSOutputDev.h | 17 ++++++++++------ qt/poppler-document.cc | 2 +- qt4/src/poppler-document.cc | 9 +++++++-- qt4/src/poppler-qt4.h | 2 +- utils/pdftohtml.cc | 2 +- utils/pdftops.cc | 2 +- 9 files changed, 71 insertions(+), 28 deletions(-) commit 99053be5357235c47a87775985646ef8d9880ed9 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Apr 26 17:57:01 2007 +0000 * goo/Makefile.am: Remove duplicate gmem.h ChangeLog | 4 ++++ goo/Makefile.am | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) commit f6adb46cd88d23b34f1918d3be31c05b68b6a443 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 25 21:31:17 2007 +0000 ignore pdftoabw binary utils/.cvsignore | 1 + 1 file changed, 1 insertion(+) commit e09f231ac6c03ac2c3606f1bf20ba1bde3d85abd Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 25 21:25:06 2007 +0000 2007-04-25 Albert Astals Cid <aacid@kde.org> * qt4/src/poppler-document.cc: remove a delete[] no longer needed * qt4/src/poppler-private: initilize m_hints ChangeLog | 5 +++++ qt4/src/poppler-document.cc | 1 - qt4/src/poppler-private.h | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) commit bf7e0e980bf29994021cb1228f89f582adddf284 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 25 19:59:09 2007 +0000 Merge xpdf302branch in HEAD as noone vetoed it. Testing more than welcome ChangeLog | 140 + configure.ac | 4 + fofi/FoFiTrueType.cc | 458 +++- fofi/FoFiTrueType.h | 42 +- fofi/FoFiType1.cc | 65 +- fofi/FoFiType1C.cc | 590 +++-- fofi/FoFiType1C.h | 7 +- glib/poppler-action.cc | 12 +- glib/poppler-document.cc | 5 +- glib/poppler-page.cc | 8 +- goo/FixedPoint.cc | 31 +- goo/FixedPoint.h | 5 + goo/GooString.cc | 444 +++- goo/GooString.h | 41 +- goo/Makefile.am | 2 +- goo/gfile.cc | 54 +- goo/gmem.c | 238 -- goo/gmem.cc | 264 ++ goo/gmem.h | 27 +- poppler/ABWOutputDev.cc | 1 - poppler/ABWOutputDev.h | 1 - poppler/Annot.cc | 1685 +++++++++--- poppler/Annot.h | 83 +- poppler/ArthurOutputDev.cc | 13 +- poppler/Catalog.cc | 79 +- poppler/Catalog.h | 16 +- poppler/CharCodeToUnicode.cc | 31 +- poppler/DCTStream.cc | 2 +- poppler/DCTStream.h | 4 +- poppler/Decrypt.cc | 427 ++- poppler/Decrypt.h | 54 +- poppler/Dict.cc | 23 +- poppler/Dict.h | 27 +- poppler/FontInfo.cc | 1 - poppler/Form.cc | 19 +- poppler/Form.h | 2 +- poppler/Function.cc | 65 +- poppler/Function.h | 8 +- poppler/Gfx.cc | 1247 ++++++--- poppler/Gfx.h | 39 +- poppler/GfxFont.cc | 45 +- poppler/GfxFont.h | 7 +- poppler/GfxState.cc | 209 +- poppler/GfxState.h | 42 +- poppler/GlobalParams.cc | 399 ++- poppler/GlobalParams.h | 41 +- poppler/JBIG2Stream.cc | 96 +- poppler/JBIG2Stream.h | 4 +- poppler/JPXStream.cc | 246 +- poppler/JPXStream.h | 8 +- poppler/Lexer.cc | 18 +- poppler/Link.cc | 150 +- poppler/Link.h | 49 +- poppler/Makefile.am | 4 +- poppler/Object.cc | 5 +- poppler/Object.h | 29 +- poppler/Outline.cc | 1 - poppler/OutputDev.cc | 2 + poppler/OutputDev.h | 62 +- poppler/PDFDoc.cc | 100 +- poppler/PDFDoc.h | 21 +- poppler/PSOutputDev.cc | 2715 ++++++++++++++----- poppler/PSOutputDev.h | 58 +- poppler/PSTokenizer.cc | 2 +- poppler/Page.cc | 227 +- poppler/Page.h | 22 +- poppler/PageLabelInfo.cc | 1 - poppler/Parser.cc | 66 +- poppler/Parser.h | 11 +- poppler/PreScanOutputDev.cc | 255 ++ poppler/PreScanOutputDev.h | 128 + poppler/SecurityHandler.cc | 17 +- poppler/SecurityHandler.h | 5 + poppler/SplashOutputDev.cc | 1480 ++++++----- poppler/SplashOutputDev.h | 41 +- poppler/Stream.cc | 338 +-- poppler/Stream.h | 39 +- poppler/TextOutputDev.cc | 537 +++- poppler/TextOutputDev.h | 77 +- poppler/UGooString.cc | 182 -- poppler/UGooString.h | 79 - poppler/XRef.cc | 29 +- poppler/XRef.h | 6 +- qt/poppler-document.cc | 15 +- qt/poppler-page-transition.cc | 1 - qt/poppler-page.cc | 4 +- qt/poppler-private.h | 72 +- qt4/src/poppler-annotation-helper.h | 38 +- qt4/src/poppler-document.cc | 7 +- qt4/src/poppler-embeddedfile.cc | 6 +- qt4/src/poppler-form.cc | 12 +- qt4/src/poppler-page.cc | 8 +- qt4/src/poppler-private.h | 76 +- splash/Splash.cc | 4994 ++++++++++++++++++----------------- splash/Splash.h | 137 +- splash/SplashBitmap.cc | 110 +- splash/SplashBitmap.h | 10 +- splash/SplashClip.cc | 276 +- splash/SplashClip.h | 28 +- splash/SplashFTFont.cc | 104 +- splash/SplashFTFont.h | 5 +- splash/SplashFTFontEngine.cc | 54 +- splash/SplashFTFontEngine.h | 9 +- splash/SplashFTFontFile.cc | 19 +- splash/SplashFTFontFile.h | 9 +- splash/SplashFont.cc | 6 +- splash/SplashFont.h | 13 +- splash/SplashFontEngine.cc | 72 +- splash/SplashFontEngine.h | 11 +- splash/SplashFontFile.cc | 1 - splash/SplashFontFile.h | 2 +- splash/SplashMath.h | 15 +- splash/SplashPath.cc | 42 +- splash/SplashPath.h | 31 +- splash/SplashPattern.cc | 28 - splash/SplashPattern.h | 25 - splash/SplashScreen.cc | 304 ++- splash/SplashScreen.h | 18 +- splash/SplashState.cc | 63 +- splash/SplashState.h | 14 +- splash/SplashT1Font.cc | 101 +- splash/SplashT1Font.h | 6 +- splash/SplashT1FontEngine.cc | 4 +- splash/SplashT1FontFile.cc | 9 +- splash/SplashT1FontFile.h | 7 +- splash/SplashTypes.h | 72 +- splash/SplashXPath.cc | 353 +-- splash/SplashXPath.h | 26 +- splash/SplashXPathScanner.cc | 143 + splash/SplashXPathScanner.h | 13 + utils/HtmlOutputDev.cc | 15 +- utils/HtmlOutputDev.h | 15 +- utils/pdffonts.cc | 15 +- utils/pdfinfo.cc | 21 +- utils/pdftoabw.cc | 1 - utils/pdftohtml.cc | 3 +- utils/pdftoppm.cc | 8 + utils/pdftops.cc | 8 +- utils/pdftotext.cc | 1 - 139 files changed, 14538 insertions(+), 7039 deletions(-) commit ba74bb3b0632593d1937911d73709fc870480efd Author: Albert Astals Cid <aacid@kde.org> Date: Mon Apr 16 21:25:46 2007 +0000 * qt4/src/poppler-private.h: Add the information about the open/close item in the DOM tree of the TOC. ChangeLog | 7 +++++++ qt4/src/poppler-private.h | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) commit 6c7969f37c85f326327aca98e0346f2ebc86ffda Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 14 23:19:46 2007 +0000 * utils/HtmlFonts.cc: Fix rendering of text colors on complex mode. * utils/pdftohtml.cc: Fix rendering of links. ChangeLog | 5 +++++ utils/HtmlFonts.cc | 8 ++++---- utils/pdftohtml.cc | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) commit add8515d7b3fba59c20ed1bbb058cea9e138c1a8 Author: Brad Hards <bradh@frogmouth.net> Date: Sat Apr 14 07:29:04 2007 +0000 Not sure what this was intended to do, but it triggers a lot of problems with the unit tests (essentially, duplicate delete's). CCMAIL: aacid@kde.org qt4/src/poppler-embeddedfile.cc | 1 - 1 file changed, 1 deletion(-) commit f3ded10305f6ac682640c37c21f569db0f830756 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Apr 7 21:12:35 2007 +0000 2007-04-07 Jeff Muizelaar <jeff@infidigm.net> * utils/pdftoabw.cc: Fixing passing the wrong type to fprintf. Patch by Kouhei Sutou. Fixes #10554. ChangeLog | 5 +++++ utils/pdftoabw.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 2fcb76df955c143153fe4b273d0388fcb7f67d8a Author: Jeff Muizelaar <jeff@infidigm.net> Date: Fri Apr 6 15:27:52 2007 +0000 2007-04-06 Jeff Muizelaar <jeff@infidigm.net> * poppler/ABWOutputDev.cc: * utils/pdftoabw.cc: Fix a number of issues with the new AbiWord code: *) Allows you to save to a file other than stdout *) Checks for error conditions when reading the PDF doc and writing the ABW doc *) Removes dead code in pdftoabw.cc *) Fixes a SEGV I encountered when converting my new home's floor plan *) Returns proper error conditions should the conversion fail for any reason Patch by Dominic Lachowicz ChangeLog | 12 ++++++ poppler/ABWOutputDev.cc | 3 ++ utils/pdftoabw.cc | 101 ++++++++++++++++++++++++++++-------------------- 3 files changed, 74 insertions(+), 42 deletions(-) commit 29da65ec48b5ba91139084e197ce457d3cff3732 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Apr 5 12:13:51 2007 +0000 * poppler/PSOutputDev.cc: Readd code wrongly removed when doing the GlobalParams cleaning ChangeLog | 5 +++++ poppler/PSOutputDev.cc | 5 +++++ 2 files changed, 10 insertions(+) commit 722b2bd86f58f2d7a914571cccfa195485a70c47 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Apr 4 02:42:29 2007 +0000 2007-04-03 Jeff Muizelaar <jeff@infidigm.net> * configure.ac: * poppler/ABWOutputDev.cc: * poppler/ABWOutputDev.h: * poppler/Makefile.am: * utils/Makefile.am: * utils/pdftoabw.cc: Add AbiWord output device and pdftoabw program. Patch by Jauco Noordzij. Autotools stuff by Dominic Lachowicz. ChangeLog | 10 + configure.ac | 15 + poppler/ABWOutputDev.cc | 1286 +++++++++++++++++++++++++++++++++++++++++++++++ poppler/ABWOutputDev.h | 140 ++++++ poppler/Makefile.am | 17 + utils/Makefile.am | 16 +- utils/pdftoabw.cc | 138 +++++ 7 files changed, 1620 insertions(+), 2 deletions(-) commit c9b467da290476da5ebbe8dc25699cd25e589b57 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 22 20:56:24 2007 +0000 * poppler/Gfx.cc: Accept reals for width and height of images. Fixes KDE bug 143322 ChangeLog | 5 +++++ poppler/Gfx.cc | 14 ++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) commit ff8f8d44ef47a98f7dbdfaa4d27a720b1f37015f Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 15 20:16:13 2007 +0000 * glib/Makefile.am: Make it build with BSD/Make. Patch by Henry Precheur <henry@precheur.org> ChangeLog | 5 +++++ glib/Makefile.am | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit bbf7e78b6b2509ecdc476d7f55151ef327470d9d Author: Albert Astals Cid <aacid@kde.org> Date: Wed Mar 7 19:15:32 2007 +0000 2007-03-07 Carlos Garcia Campos <carlosgc@gnome.org> reviewed by: Albert Astals Cid <aacid@kde.org> * poppler/Page.cc: Consider 0x0 boxes as invalid. Fixes http://bugzilla.gnome.org/show_bug.cgi?id=408682 2007-03-06 Pino Toscano <pino@kde.org> reviewed by: Albert Astals Cid <aacid@kde.org> * configure.ac: * qt/Makefile.am: * qt/poppler-link.cc: * qt/poppler-page.cc: * qt/poppler-private.h: * qt4/poppler-link.cc: Make the Qt4 frontend compilable again with no Splash. Make the Qt3 frontend compilable with no Splash. ChangeLog | 18 ++++++++++++++++++ configure.ac | 12 +----------- poppler/Page.cc | 7 ++++++- qt/Makefile.am | 1 - qt/poppler-link.cc | 4 +++- qt/poppler-page.cc | 16 +++++++++++++++- qt/poppler-private.h | 11 ++++++++++- qt4/src/poppler-link.cc | 10 ++++++---- 8 files changed, 59 insertions(+), 20 deletions(-) commit 08dcc7121450cbfa163254001e73bb6a2670e055 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 6 22:27:18 2007 +0000 * poppler/Annot.cc: * poppler/Form.cc: Fix uninitialized variables. Properly escape parenthesis and slash in text field ChangeLog | 9 ++++++++- poppler/Annot.cc | 3 +++ poppler/Form.cc | 1 + 3 files changed, 12 insertions(+), 1 deletion(-) commit e8d3b21d08a59ec8b62503b48504fe046d746bfa Author: Brad Hards <bradh@frogmouth.net> Date: Sun Mar 4 07:30:31 2007 +0000 Switch to using pkg-config to find Qt4. ChangeLog | 9 +++ configure.ac | 36 +++++------ m4/qt.m4 | 165 -------------------------------------------------- poppler/Makefile.am | 2 +- qt4/src/Makefile.am | 3 +- qt4/tests/Makefile.am | 21 +++---- 6 files changed, 36 insertions(+), 200 deletions(-) commit bd99616b9c06f96beadb68e015d2904b7fe2df1d Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 25 00:34:21 2007 +0000 007-02-25 Julien Rebetez <julienr@svn.gnome.org> reviewed by: Albert Astals Cid <aacid@kde.org> * poppler/Annot.cc: * poppler/Annot.h: * poppler/Form.cc: * poppler/Form.h: Fix compilation warnings. ChangeLog | 10 ++++++++++ poppler/Annot.cc | 30 +++++++++++++++++------------- poppler/Annot.h | 5 ++++- poppler/Form.cc | 37 ++++++++++++++----------------------- poppler/Form.h | 13 ++++++------- 5 files changed, 51 insertions(+), 44 deletions(-) commit d8d23b56332618d8c7d8198f55ec6efafd24187e Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 25 00:00:20 2007 +0000 forgot to commit these qt4/src/poppler-form.cc | 284 ++++++++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-form.h | 247 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 531 insertions(+) commit 984ce7f919aec27d5f4225376550cd6b58d4ae52 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 24 23:58:31 2007 +0000 2007-02-25 Pino Toscano <pino@kde.org> reviewed by: Albert Astals Cid <aacid@kde.org> * qt4/src/Doxyfile: * qt4/src/Makefile.am: * qt4/src/poppler-annotation-helper.h: * qt4/src/poppler-form.cc: * qt4/src/poppler-form.h: * qt4/src/poppler-page.cc: * qt4/src/poppler-private.h: * qt4/src/poppler-qt4.h: Beginning of interactive forms support, first implementation in the Qt4 frontend. It supports text and choice fields in a basic way. ChangeLog | 14 ++++++++++ qt4/src/Doxyfile | 1 + qt4/src/Makefile.am | 2 ++ qt4/src/poppler-annotation-helper.h | 18 ++++++------- qt4/src/poppler-page.cc | 36 +++++++++++++++++++++++++ qt4/src/poppler-private.h | 52 ++++++++++++++++++++++++++++++++++++- qt4/src/poppler-qt4.h | 7 +++++ 7 files changed, 120 insertions(+), 10 deletions(-) commit de7a90fc724de14151ec994d18f860ada3be2ac8 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 24 23:43:34 2007 +0000 2007-02-25 Albert Astals Cid <aacid@kde.org> * configure.ac: * glib/poppler-document.cc: * poppler/GlobalParams.cc: * poppler/GlobalParams.h: * poppler/PSOutputDev.cc: * qt/poppler-document.cc: * qt4/src/poppler-document.cc: * qt4/src/poppler-private.h: * qt4/src/poppler-qt4.h: * test/gtk-splash-test.cc: * test/pdf-inspector.cc: * utils/pdffonts.cc: * utils/pdfimages.cc: * utils/pdfinfo.cc: * utils/pdftohtml.cc: * utils/pdftoppm.cc: * utils/pdftops.cc: * utils/pdftotext.cc: Remove dependency on xpdfrc file and cleanup GlobalParams accordingly ChangeLog | 22 ++ configure.ac | 1 - glib/poppler-document.cc | 4 +- poppler/GlobalParams.cc | 666 +------------------------------------------- poppler/GlobalParams.h | 59 +--- poppler/PSOutputDev.cc | 8 - qt/poppler-document.cc | 4 +- qt4/src/poppler-document.cc | 2 +- qt4/src/poppler-private.h | 2 +- qt4/src/poppler-qt4.h | 6 +- test/gtk-splash-test.cc | 2 +- test/pdf-inspector.cc | 2 +- utils/pdffonts.cc | 5 +- utils/pdfimages.cc | 5 +- utils/pdfinfo.cc | 5 +- utils/pdftohtml.cc | 2 +- utils/pdftoppm.cc | 15 +- utils/pdftops.cc | 50 ++-- utils/pdftotext.cc | 5 +- 19 files changed, 72 insertions(+), 793 deletions(-) commit 74e70386b759a3cd9864d11eb4ca210010136aa5 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 24 23:32:22 2007 +0000 2007-02-25 Julien Rebetez <julienr@svn.gnome.org> reviewed by: <aacid@kde.org> * glib/poppler-document.cc: * glib/poppler-document.h: * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler-private.h: * glib/poppler.h: * poppler/Annot.cc: * poppler/Annot.h: * poppler/Catalog.cc: * poppler/Catalog.h: * poppler/CharCodeToUnicode.cc: * poppler/CharCodeToUnicode.h: * poppler/Dict.cc: * poppler/Dict.h: * poppler/Form.cc: * poppler/Form.h: * poppler/GfxFont.cc: * poppler/GfxFont.h: * poppler/Makefile.am: * poppler/Object.h: * poppler/Page.cc: * poppler/Page.h: * poppler/XRef.cc: * poppler/XRef.h: Beginning of Interactive Form support: Add a bunch of new classes (FormWidget / FormField) to deal with form fields. Add support for object modification through XRef::setModifiedObject, as well as a function to write the Xref to a file, which will be used to implement PDF writing. Add some functions to glib wrapper to expose the new form features. ChangeLog | 35 ++ glib/poppler-document.cc | 192 +++++++ glib/poppler-document.h | 55 ++ glib/poppler-page.cc | 120 +++++ glib/poppler-page.h | 55 ++ glib/poppler-private.h | 4 + glib/poppler.h | 15 +- poppler/Annot.cc | 344 +++++++++--- poppler/Annot.h | 21 +- poppler/Catalog.cc | 17 +- poppler/Catalog.h | 4 + poppler/CharCodeToUnicode.cc | 34 ++ poppler/CharCodeToUnicode.h | 3 + poppler/Dict.cc | 32 ++ poppler/Dict.h | 4 + poppler/Form.cc | 1187 ++++++++++++++++++++++++++++++++++++++++++ poppler/Form.h | 470 +++++++++++++++++ poppler/GfxFont.cc | 27 + poppler/GfxFont.h | 5 + poppler/Makefile.am | 2 + poppler/Object.h | 4 + poppler/Page.cc | 11 +- poppler/Page.h | 8 +- poppler/XRef.cc | 87 ++++ poppler/XRef.h | 9 + 25 files changed, 2666 insertions(+), 79 deletions(-) commit 5c4ea446f33248964431e79b14592b30362634fe Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 18 21:44:24 2007 +0000 * configure.ac: Change {datadir}/poppler to {datarootdir}/poppler so that i get /usr/local/share/poppler in config.h instead of ${prefix}/poppler Better fixes are welcome. ChangeLog | 6 ++++++ configure.ac | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit dd140dd63de661303b578863af4d515d82117cca Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 4 00:19:25 2007 +0000 fix date ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3c1ed68bf4ee49b27275f7f65d49f42933b1cfa0 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 4 00:16:43 2007 +0000 * poppler/Lexer.cc: * poppler/Lexer.h: Patch to fix regression introduced by optimizations in bugzilla issue 7808 ChangeLog | 6 ++++++ poppler/Lexer.cc | 30 ++++++++++++++++++++---------- poppler/Lexer.h | 2 +- 3 files changed, 27 insertions(+), 11 deletions(-) commit 672408839de0deac4c6006b54df723336ee4be2d Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 31 22:05:09 2007 +0000 * qt4/src/poppler-page.cc: Patch by Pino Toscano <pino@kde.org> to remove a nonsense done by him. * qt4/tests/test-poppler-qt4.cpp: Simply a bit. Patch by Pino Toscano <pino@kde.org>. ChangeLog | 8 ++++++++ qt4/src/poppler-page.cc | 2 -- qt4/tests/test-poppler-qt4.cpp | 24 ++++++++++++------------ 3 files changed, 20 insertions(+), 14 deletions(-) commit 9c64b8c754e09ff2858af56ce38ef013002bf8e4 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 31 18:48:16 2007 +0000 * m4/qt.m4: Fix Qt4 detection on Mac. Patch by Benjamin Reed <ranger@befunk.com> ChangeLog | 5 +++++ m4/qt.m4 | 26 +++++++++++++++++++++++--- 2 files changed, 28 insertions(+), 3 deletions(-) commit 1b81192ff2bb9fae4a7bbc685fafe1718f303a7b Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 28 15:55:11 2007 +0000 * glib/poppler-page.cc: Make link mapping coordinates follow page rotation. Patch by Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-action.cc: Fix link destination coordinates. Patch by Carlos Garcia Campos <carlosgc@gnome.org> ChangeLog | 4 ++ glib/poppler-action.cc | 15 +++++- glib/poppler-page.cc | 124 +++++++++++++++++++++++++++++++------------------ 3 files changed, 97 insertions(+), 46 deletions(-) commit 75dcf94f53c2d7241111f0d527ee4d3a2ef0b0cf Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 28 15:36:08 2007 +0000 * glib/poppler-document.cc: Plug memory leak in poppler-document. Patch by Carlos Garcia Campos <carlosgc@gnome.org> ChangeLog | 5 +++++ glib/poppler-document.cc | 30 ++++++++++++++---------------- 2 files changed, 19 insertions(+), 16 deletions(-) commit 682a15fc38a2c569d9b1f9871e3e949b62b33cf8 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 21 22:35:23 2007 +0000 * poppler-document.cc: * poppler-page.cc: * poppler-private.h: * poppler-qt4.h: No need to destroy the Splash output device to change its paper color. Add the possibility to set flags that affect the rendering (some backends supports only some of them, though). Add a Page::label to get the label associated with a page. Patches by Pino Toscano <pino@kde.org>. ChangeLog | 12 ++++++++++++ qt4/src/poppler-document.cc | 20 ++++++++++++++++++++ qt4/src/poppler-page.cc | 14 +++++++++++++- qt4/src/poppler-private.h | 29 ++++++++++++++++++++++++----- qt4/src/poppler-qt4.h | 25 +++++++++++++++++++++++++ 5 files changed, 94 insertions(+), 6 deletions(-) commit 7331bc46c1cb323316501f05ae1740bea5655596 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 17 20:06:29 2007 +0000 * poppler/Sound.h: * poppler/Sound.cc: * qt4/src/poppler-sound.cc: Move most of the sound reading code into the Sound class, so frontends can use it easily. Patch by Pino Toscano <pino@kde.org>. ChangeLog | 10 +++- poppler/Sound.cc | 80 +++++++++++++++++++++++++- poppler/Sound.h | 32 ++++++++++- qt4/src/poppler-sound.cc | 144 +++++++++++++++++------------------------------ 4 files changed, 167 insertions(+), 99 deletions(-) commit 841bee94da7b6376d2e1fb3daaf8b727b90e42d8 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jan 13 23:19:21 2007 +0000 * poppler/Stream.h: * poppler/Stream.cc: Remove MemStream::setNeedFree method i really did not need it * qt4/src/poppler-document.cc: * qt4/src/poppler-link.cc: * qt4/src/poppler-page.cc: * qt4/src/poppler-private.h: Make Document::loadFromData work on documents with a password and don't need to do a malloc and a memcpy. ChangeLog | 11 +++++++ poppler/Stream.cc | 5 --- poppler/Stream.h | 1 - qt4/src/poppler-document.cc | 74 ++++++++++++++++++++++++--------------------- qt4/src/poppler-link.cc | 4 +-- qt4/src/poppler-page.cc | 34 ++++++++++----------- qt4/src/poppler-private.h | 24 +++++++++------ 7 files changed, 84 insertions(+), 69 deletions(-) commit e1432fd7c4a6a2386789f450d39c6d954fd4e656 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jan 13 18:29:39 2007 +0000 * configure.ac * poppler/Makefile.am * qt4/src/Makefile.am * qt4/src/poppler-document.cc * qt4/src/poppler-link.cc * qt4/src/poppler-page.cc * qt4/src/poppler-private.h * qt4/src/poppler-qt4.h: Make the Qt4 backend compilable even with no Splash backend. Patch by Pino Toscano <pino@kde.org>. ChangeLog | 12 ++++++++++++ configure.ac | 5 ----- poppler/Makefile.am | 5 +++-- qt4/src/Makefile.am | 6 +++++- qt4/src/poppler-document.cc | 16 ++++++++++++++-- qt4/src/poppler-link.cc | 1 + qt4/src/poppler-page.cc | 15 ++++++++++++--- qt4/src/poppler-private.h | 8 +++++++- qt4/src/poppler-qt4.h | 6 ++++++ 9 files changed, 60 insertions(+), 14 deletions(-) commit 457038e97325720615c4390ffa075dd8283966ee Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jan 13 17:56:07 2007 +0000 * poppler/Stream.h: * poppler/Stream.cc: Add MemStream::setNeedFree method * qt4/src/poppler-document.cc: * qt4/src/poppler-private.h: * qt4/src/poppler-qt4.h: Add Document::loadFromData method ChangeLog | 8 ++++++++ poppler/Stream.cc | 5 +++++ poppler/Stream.h | 1 + qt4/src/poppler-document.cc | 22 ++++++++++++++++++++++ qt4/src/poppler-private.h | 17 +++++++++++++++-- qt4/src/poppler-qt4.h | 16 ++++++++++++++++ 6 files changed, 67 insertions(+), 2 deletions(-) commit 4e2a9c49ecab00b1f5d175570165cd490afdd31e Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 11 22:28:03 2007 +0000 goo/gmem.c: Merge change from xpdf-3.01pl2 ChangeLog | 4 ++++ goo/gmem.c | 13 +++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) commit bce14b274fd788d728116950d6464a85e33a9966 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 11 22:12:11 2007 +0000 * poppler/Catalog.h: * poppler/Catalog.cc: Limit max depth of recursive calls on readPageTree to fix MOAB-06-01-2007 ChangeLog | 6 ++++++ poppler/Catalog.cc | 20 +++++++++++++++----- poppler/Catalog.h | 2 +- 3 files changed, 22 insertions(+), 6 deletions(-) commit 3f0679a336ffaf2aff149f8526fa11f8f8cbda59 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jan 6 21:53:08 2007 +0000 Patch by Pino Toscano <pino@kde.org> to fix some memory leaks when dealing with sounds. ChangeLog | 9 +++++++++ poppler/Sound.cc | 1 + qt4/src/poppler-link.cc | 5 +++++ qt4/src/poppler-link.h | 1 + qt4/src/poppler-page.cc | 4 ++++ qt4/src/poppler-sound.cc | 7 ++++++- 6 files changed, 26 insertions(+), 1 deletion(-) commit d41cd2f567a955031cb7498d9089e70e14df4a42 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 4 19:10:16 2007 +0000 qt4/src/poppler-private.h: gmallocn -> new[] ChangeLog | 4 ++++ qt4/src/poppler-private.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit f8edfb6832144cbbd1b234f6b35e33325269255c Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 4 18:56:13 2007 +0000 qt/poppler-page-transition.cc: Fix memory leak. Patch by Tobias Koenig <tokoe@kde.org> ChangeLog | 5 +++++ qt/poppler-page-transition.cc | 1 + 2 files changed, 6 insertions(+) commit 250a9f4b429344e0968c7bd0c0cebe7af373ae0a Author: Albert Astals Cid <aacid@kde.org> Date: Sat Dec 30 14:50:25 2006 +0000 * qt4/src/poppler-qt4.h: * qt4/src/poppler-document.cc: Add const & to some parameters. Patch by Pino Toscano <pino@kde.org> ChangeLog | 6 ++++++ qt4/src/poppler-document.cc | 4 ++-- qt4/src/poppler-qt4.h | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) commit 250c1f94cc9a53f980fd08364d6cce29db9fd067 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 29 14:08:35 2006 +0000 * poppler/UGooString.cc: Patch by Pino Toscano <pino@kde.org> so that QStringToUGooString does not crash. ChangeLog | 5 +++++ poppler/UGooString.cc | 1 + 2 files changed, 6 insertions(+) commit 42770e5f07407b03dce31c73fd6956f9c8fc9a06 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Fri Dec 29 04:12:40 2006 +0000 2006-12-28 Brad Taylor <brad@getcoded.net> * poppler/glib/poppler-document.h: * poppler/glib/poppler-document.cc: Add poppler_document_new_from_data to allow loading PDFs out of memory. ChangeLog | 6 +++ glib/poppler-document.cc | 113 ++++++++++++++++++++++++++++++++++------------- glib/poppler-document.h | 4 ++ 3 files changed, 93 insertions(+), 30 deletions(-) commit 6fedd991b584e300b5710630fa7942d357fe7aaa Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 28 17:22:36 2006 +0000 * qt4/src/poppler-embeddedfile.cc: * qt4/src/poppler-document.cc: * qt/poppler-document.cc: Fix memory leaks ChangeLog | 6 ++++++ qt/poppler-document.cc | 4 ++++ qt4/src/poppler-document.cc | 4 +++- qt4/src/poppler-embeddedfile.cc | 4 +++- 4 files changed, 16 insertions(+), 2 deletions(-) commit 7da5885e45c33382060276c95d9a3bd117ae55c7 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 28 15:51:44 2006 +0000 * goo/GooString.cc * goo/GooString.h * goo/gmem.c * goo/gmem.h * poppler/Lexer.cc * poppler/Lexer.h * poppler/PageLabelInfo.cc * poppler/Parser.cc * poppler/UGooString.cc * poppler/UGooString.h: Patch by Krzysztof Kowalczyk <kkowalczyk@gmail.com> to improve performance. See bug 7808 for details. ChangeLog | 15 ++++ goo/GooString.cc | 186 ++++++++++++++++++++++++----------------------- goo/GooString.h | 28 +++++-- goo/gmem.c | 3 +- goo/gmem.h | 2 +- poppler/Lexer.cc | 19 +++-- poppler/Lexer.h | 10 +++ poppler/PageLabelInfo.cc | 1 + poppler/Parser.cc | 17 +++-- poppler/UGooString.cc | 137 +++++++++++++++++++++++++++------- poppler/UGooString.h | 40 ++++++++-- 11 files changed, 313 insertions(+), 145 deletions(-) commit fbc05a6791fc28ee26a9d9188722ea3453c65ddc Author: Albert Astals Cid <aacid@kde.org> Date: Wed Dec 27 23:15:06 2006 +0000 * poppler/Annot.cc: * poppler/Annot.h: Add type checking to processing of "Rect". Patch by Scott Turner <scotty1024@mac.com> ChangeLog | 6 ++++++ poppler/Annot.cc | 48 +++++++++++++++++++++++++++++------------------- poppler/Annot.h | 1 + 3 files changed, 36 insertions(+), 19 deletions(-) commit dc6b372358ac629c43aa2faabd644942cb0ed98b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Dec 27 15:23:04 2006 +0000 Remove , after last value of enum. Thanks to André Wöbbeking ChangeLog | 1 + poppler/Catalog.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit c7d19539a95927eb277966a521f13393c9e116bb Author: Albert Astals Cid <aacid@kde.org> Date: Wed Dec 27 12:38:58 2006 +0000 qt4/src/poppler-qt4.h: Remove , after last value of enum. Thanks to André Wöbbeking ChangeLog | 5 +++++ qt4/src/poppler-qt4.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit b29429c702e6540b9f35689b0a164f30e747d5d9 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Dec 26 20:07:03 2006 +0000 * qt4/src/poppler-qt4.h: * qt4/src/poppler-page.cc: Add Page::duration() function to the qt4 frontend. ChangeLog | 6 ++++++ qt4/src/poppler-page.cc | 8 ++++++++ qt4/src/poppler-qt4.h | 9 ++++++++- 3 files changed, 22 insertions(+), 1 deletion(-) commit 62dfc58903b496c4cc720c8b2c759c6fb82fb443 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Dec 26 19:56:28 2006 +0000 * glib/test-poppler-glib.c: * glib/poppler-page.cc: * glib/poppler-page.h: * poppler/Page.cc: * poppler/Page.h: Implement /Dur entry in page object. Patch by Carlos Garcia Campos <carlosgc@gnome.org> ChangeLog | 9 +++++++++ glib/poppler-page.cc | 16 ++++++++++++++++ glib/poppler-page.h | 1 + glib/test-poppler-glib.c | 7 +++++++ poppler/Page.cc | 13 +++++++++++++ poppler/Page.h | 6 ++++++ 6 files changed, 52 insertions(+) commit 34e5aa62f4d3ba7a2d94a68a91c11a48277a4119 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Dec 23 13:12:13 2006 +0000 * poppler/PSTokenizer.cc: Enhance PSTokenizer::getToken performance. Patch by Scott Turner <scotty1024@mac.com>. In a random pdf i tested the patchs improves PSTokenizer::getToken performance by 15% ChangeLog | 6 ++++++ poppler/PSTokenizer.cc | 33 +++++++++++++++++++++------------ poppler/PSTokenizer.h | 1 + 3 files changed, 28 insertions(+), 12 deletions(-) commit 1a5fa1d2ced62e7d027e085663e987cff625ce0b Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 22 23:39:41 2006 +0000 poppler/Page.cc: Fix memory leak when reading a wrong color map in a thumbnail. Patch by Scott Turner <scotty1024@mac.com> ChangeLog | 3 +++ poppler/Page.cc | 1 + 2 files changed, 4 insertions(+) commit dd1c134dcf085338a85188c7f205fc300396dc86 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 22 23:27:53 2006 +0000 qt/poppler-page.cc: Fix memory leak in Page::textList. Patch by Jerry Epplin <jepplin@globalvelocity.com> ChangeLog | 5 +++++ qt/poppler-page.cc | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) commit 87e474a018c4808d6251fd79f9e9640e0f733551 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Dec 21 01:01:30 2006 +0000 2006-12-20 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Fix scaling of maskedImage masks. They should be scaled to the size of the image not the size of the mask. Fixes #9403. ChangeLog | 6 ++++++ poppler/CairoOutputDev.cc | 8 ++------ 2 files changed, 8 insertions(+), 6 deletions(-) commit 769a89623c680f51690db1751522b016b02b83a8 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Dec 20 19:55:55 2006 +0000 2006-12-20 Jeff Muizelaar <jeff@infidigm.net> * poppler/GlobalParams.cc: Try to make zero-width lines as close to one pixel wide as we can. Fixes #9393. ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) commit 5c4bca18373528f293bd5e080efca572977fc1ff Author: Albert Astals Cid <aacid@kde.org> Date: Tue Dec 19 20:27:55 2006 +0000 poppler/SplashOutputDev.cc: Fix gray calculation. Patch by Scott Turner <scotty1024@mac.com> ChangeLog | 5 +++++ poppler/SplashOutputDev.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit fba99578f6001ae0c0df0442bb73040b55109b1d Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Dec 12 05:23:59 2006 +0000 2006-12-12 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Change a cairo_set_matrix to cairo_transform so that we don't blindly clobber the existing matrix. Patch by Daniel Colascione. Fixes #9190. ChangeLog | 7 +++++++ poppler/CairoOutputDev.cc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 9a6ffa1c6e009f8606a055f873efdcd5829fcfa2 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Dec 10 05:24:56 2006 +0000 2006-12-09 Jeff Muizelaar <jeff@infidigm.net> * poppler/Function.cc: Initialize PostScriptFunction::codeString to NULL so that it can safely deleted if initialization fails. Fixes #9263. ChangeLog | 6 ++++++ poppler/Function.cc | 1 + 2 files changed, 7 insertions(+) commit e92d63a179ae022270156da4e396c15ff9236d89 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Nov 23 19:01:44 2006 +0000 * m4/libjpeg.m4: Make JPEG library header search work under MSYS. Patch by Alexis Wilke ChangeLog | 5 +++++ m4/libjpeg.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 3913110f698fd006b394a395b5b0adfde30af31b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 22 21:55:27 2006 +0000 there should not be any whitespace after the \ qt4/src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c3ab7addec5a7990872949b813c2b727b1614d64 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 19 18:51:23 2006 +0000 Another leak fix on qt4/src/poppler-page.cc the previous changelog is enough for this one ;-) qt4/src/poppler-page.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 9e9b82da91abacb916b05302d40bf822af6ac7f1 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Nov 19 12:59:48 2006 +0000 * qt4/src/poppler-link.cc: * qt4/src/poppler-page.cc: * qt4/src/poppler-qt4.h: * qt4/src/poppler-textbox.cc: Fix memory leaks * splash/Splash.cc: Initialize the values of nClipRes ChangeLog | 8 ++++++++ qt4/src/poppler-link.cc | 6 ++++++ qt4/src/poppler-page.cc | 4 +++- qt4/src/poppler-qt4.h | 1 + qt4/src/poppler-textbox.cc | 5 +++++ splash/Splash.cc | 2 +- 6 files changed, 24 insertions(+), 2 deletions(-) commit b9faacc62182efcbc84df2471e4c5dcf2b03bda8 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 18 17:08:04 2006 +0000 * qt4/src/poppler-document.cc * qt4/src/poppler-qt4.h: Add int marginRight, int marginBottom, int marginLeft, int marginTop, bool strictMargins to Document::print() ChangeLog | 6 ++++++ qt4/src/poppler-document.cc | 11 +++++++++-- qt4/src/poppler-qt4.h | 6 +++++- 3 files changed, 20 insertions(+), 3 deletions(-) commit da8e6d4c3e0afdaa031413649ae20545c8a1f845 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Nov 16 21:03:27 2006 +0000 really commit pino's patch :-S qt4/src/Doxyfile | 11 +++-- qt4/src/Mainpage.dox | 26 +++++----- qt4/src/poppler-annotation.h | 33 ++++++++----- qt4/src/poppler-link.h | 68 +++++++++++++++++++++---- qt4/src/poppler-qt4.h | 115 +++++++++++++++++++++++++++---------------- 5 files changed, 171 insertions(+), 82 deletions(-) commit 4f26e65096e3133a39fc0c9e82084c90cf77dda9 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Nov 16 21:00:10 2006 +0000 * qt4/src/Mainpage.dox: * qt4/src/Doxyfile: * qt4/src/poppler-annotation.h: * qt4/src/poppler-link.h: * qt4/src/poppler-qt4.h: Improve API documentation. Patch by Pino Toscano. Generated docu at http://people.freedesktop.org/~aacid/docs/qt4/ ChangeLog | 9 +++++++++ qt4/src/Mainpage.dox | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) commit e68b6f3f8fea1e4f036eba0f19bb7e0c423d408c Author: Albert Astals Cid <aacid@kde.org> Date: Wed Nov 15 21:07:50 2006 +0000 2006-11-15 Albert Astals Cid <aacid@kde.org> * qt4/src/poppler-link.cc: * qt4/src/poppler-page.cc: * qt4/src/poppler-qt4.h: * qt4/src/poppler-document.cc: * qt4/src/poppler-private.h: Generalize the way we render the pages: merge all the Page::renderTo* functions in only one that renders on a QImage, taking into account the currently chosen backend. It is possible to switch rendering backend using the Document. Patch by Pino Toscano. * qt4/tests/stress-poppler-qt4.cpp: * qt4/tests/test-password-qt4.cpp: * qt4/tests/test-poppler-qt4.cpp: Adapt the tests to the changes in the rendering API of Page. Patch by Pino Toscano. ChangeLog | 17 ++++++ qt4/src/poppler-document.cc | 14 +++++ qt4/src/poppler-link.cc | 2 +- qt4/src/poppler-page.cc | 123 +++++++++++++++++++++------------------ qt4/src/poppler-private.h | 32 ++++++---- qt4/src/poppler-qt4.h | 75 +++++++----------------- qt4/tests/stress-poppler-qt4.cpp | 3 +- qt4/tests/test-password-qt4.cpp | 12 ++-- qt4/tests/test-poppler-qt4.cpp | 17 +++--- 9 files changed, 152 insertions(+), 143 deletions(-) commit 37088dd3335be6e7641c47bea9b1ddd689b07372 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Nov 13 19:16:44 2006 +0000 * poppler/ArthurOutputDev.cc: Small fix to get colors right ChangeLog | 4 ++++ poppler/ArthurOutputDev.cc | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit 302e2cab9fd626222c69ad40f7e40be2e65d34a9 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Nov 11 15:41:27 2006 +0000 Fix typo when outputing PS scale ChangeLog | 4 ++++ poppler/PSOutputDev.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit e3550fb286dae98992b30edbf4a9300fa58d2e77 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Nov 7 23:53:31 2006 +0000 2006-11-07 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: take horizontal scaling into account when updating the font. Also, cleanup some unused code. Fixes #8924. ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) commit f020b64a72ad5c82c3e7bdcf15039bb0037b1f22 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Oct 18 18:43:59 2006 +0000 2006-10-18 Albert Astals Cid <aacid@kde.org> * qt4/src/poppler-document.cc: * qt4/src/poppler-private.h: Do not crash when opening a encrypted document. Do not crash when unlocking a locked document. ChangeLog | 7 +++++++ qt4/src/poppler-document.cc | 41 ++++++++++++++++------------------------- qt4/src/poppler-private.h | 14 ++++++++++++++ 3 files changed, 37 insertions(+), 25 deletions(-) commit 577330ee1d4d1021174cf1bd59557a83a017e06f Author: Albert Astals Cid <aacid@kde.org> Date: Wed Oct 11 23:09:24 2006 +0000 * splash/Splash.cc: * splash/SplashErrorCodes.h: Do not crash on documents that report a 0x0 mask for an image, like http://bugs.kde.org/attachment.cgi?id=18083&action=view ChangeLog | 7 +++++++ splash/Splash.cc | 2 ++ splash/SplashErrorCodes.h | 2 ++ 3 files changed, 11 insertions(+) commit 42c016c6d3c6de65fd92b51b9d6cc96d52404689 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 8 20:38:47 2006 +0000 * poppler/Link.cc: * poppler/Link.h: * poppler/Makefile.am: * poppler/Page.cc: * poppler/Page.h: * poppler/Sound.cc: * poppler/Sound.h: Make poppler able to read Sound objects, Sound actions and Opening/Closing page actions. Patch by Pino Toscano. * qt4/src/Makefile.am: * qt4/src/poppler-link.cc: * qt4/src/poppler-link.h: * qt4/src/poppler-qt4.h: * qt4/src/poppler-page.cc: * qt4/src/poppler-sound.cc: Support for sounds, sound links and page actions in the Qt4 backend. Patch by Pino Toscano. ChangeLog | 19 +++++ poppler/Link.cc | 53 ++++++++++++++ poppler/Link.h | 32 +++++++++ poppler/Makefile.am | 2 + poppler/Page.cc | 8 +++ poppler/Page.h | 4 ++ poppler/Sound.cc | 65 +++++++++++++++++ poppler/Sound.h | 46 ++++++++++++ qt4/src/Makefile.am | 1 + qt4/src/poppler-link.cc | 35 ++++++++++ qt4/src/poppler-link.h | 26 ++++++- qt4/src/poppler-page.cc | 32 +++++++++ qt4/src/poppler-qt4.h | 87 +++++++++++++++++++++++ qt4/src/poppler-sound.cc | 177 +++++++++++++++++++++++++++++++++++++++++++++++ 14 files changed, 586 insertions(+), 1 deletion(-) commit 1da064d7e7403ec7111eecb2b9613e27a2c4bb5d Author: Albert Astals Cid <aacid@kde.org> Date: Sat Sep 30 16:28:35 2006 +0000 * qt4/src/poppler-page.cc: PA is optional, H is a name not a string ChangeLog | 4 ++++ qt4/src/poppler-page.cc | 15 +++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) commit 29366d8e470ab2207cdfdab115c2fa9618c4c74e Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 25 20:43:18 2006 +0000 * glib/Makefile.am * qt/Makefile.am * qt4/src/Makefile.am * qt4/tests/Makefile.am * test/Makefile.am * utils/Makefile.am: Add FONTCONFIG_CFLAGS FONTCONFIG_LIBS for people that need them. Patch by morfoh@opensde.org. Fixes bug #8415 ChangeLog | 10 ++++++++++ glib/Makefile.am | 2 ++ qt/Makefile.am | 6 ++++-- qt4/src/Makefile.am | 2 ++ qt4/tests/Makefile.am | 2 ++ test/Makefile.am | 6 ++++-- utils/Makefile.am | 6 ++++-- 7 files changed, 28 insertions(+), 6 deletions(-) commit 957c1e59df213a01ca87f03d067a8dab5dc09fb6 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 25 20:05:28 2006 +0000 ignore poppler-features.h glib/.cvsignore | 1 + 1 file changed, 1 insertion(+) commit 3158b54375bdfdc82779362cc9442aade87f84f6 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Sep 22 00:55:54 2006 +0000 2006-09-21 Kristian Høgsberg <krh@redhat.com> * NEWS: Update list of bugs fixes, release 0.5.4. ChangeLog | 2 ++ NEWS | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 17dd1f60f9328ae68fbe262ae0745be976ff9f95 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Sep 21 23:28:14 2006 +0000 2006-09-21 Kristian Høgsberg <krh@redhat.com> * configure.ac: Check for gtk+ 2.8 for the gtk+ test case, invert help text for zlib option (#7788, #7661). ChangeLog | 3 +++ configure.ac | 12 +++++------- 2 files changed, 8 insertions(+), 7 deletions(-) commit ddbbd697424b9122ce1f0541ddada3fe8bb38fb1 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Sep 21 22:58:31 2006 +0000 2006-09-21 Kristian Høgsberg <krh@redhat.com> * utils/pdftops.cc: Get duplex setting from GlobalParams. ChangeLog | 2 ++ utils/pdftops.cc | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 0d25592a1a5811ee8fffbd70307c7bcaaaacadf3 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Sep 21 22:40:52 2006 +0000 2006-09-21 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (_poppler_page_new): Make PopplerPage reference its document throughout the lifetime of the page (#7005). ChangeLog | 3 +++ glib/poppler-page.cc | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) commit b834755c7ae45eb4020e9cdbc3852eac0151fcdc Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Sep 21 22:37:00 2006 +0000 2006-09-21 Kristian Høgsberg <krh@redhat.com> * poppler/Gfx.cc: Remove the right out->updateAll() call. ChangeLog | 4 ++++ poppler/Gfx.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 181e2af1edf2cbc3c8edadad0dce215a64a990dd Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Sep 21 01:05:23 2006 +0000 2006-09-20 Kristian Høgsberg <krh@redhat.com> * NEWS: Sum up changes. * configure.ac: Bump release to 0.5.4. ChangeLog | 4 ++++ NEWS | 10 ++++++++++ configure.ac | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) commit cc9c17a6730422be99ebcd69991fcf5d7b569640 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Sep 21 00:56:33 2006 +0000 2006-09-20 Kristian Høgsberg <krh@redhat.com> * poppler/Gfx.cc: Remove last remnant of erroneous type3 commit a while back, fixing #8182. ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 1 - poppler/Gfx.cc | 1 - 3 files changed, 5 insertions(+), 2 deletions(-) commit 83be722b56d9266b89946fe994023351e47eb4fd Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Sep 20 20:22:19 2006 +0000 2006-09-20 Jeff Muizelaar <jeff@infidigm.net> * poppler/TextOutputDev.cc: TextFontInfo stores a copy of a pointer to a GfxFont but does not increment the reference count. Fix the problem by calling incRefCnt and decRefCnt appropriately. Fixes #4649 ChangeLog | 6 ++++++ poppler/TextOutputDev.cc | 4 ++++ 2 files changed, 10 insertions(+) commit 1cf60015d7d78668c83737be6015dc880fd04ebf Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Sep 19 04:39:07 2006 +0000 2006-09-19 Kristian Høgsberg <krh@redhat.com> * poppler/GlobalParams.cc: Add scanEncodingDirs() to automatically scan in any encodings found under ${datadir}/poppler. * m4/define-dir.m4: New file, adds AC_DEFINE_DIR macro. ChangeLog | 7 +++ configure.ac | 16 +------ goo/gfile.cc | 16 +++---- goo/gfile.h | 2 + m4/define-dir.m4 | 34 ++++++++++++++ poppler/GlobalParams.cc | 116 ++++++++++++++++++++++++++++++++---------------- poppler/GlobalParams.h | 7 ++- 7 files changed, 136 insertions(+), 62 deletions(-) commit 821c883f9df9cc0e5b81aa2e070727996cf3bc4e Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Sep 18 15:40:50 2006 +0000 2006-09-13 Kristian Høgsberg <krh@redhat.com> * poppler/Makefile.am (libpoppler_la_LIBADD): Add cairo libs to link if configured. ChangeLog | 3 +++ poppler/Makefile.am | 4 ++++ 2 files changed, 7 insertions(+) commit d8ab8ebc94c32d32ad17ed54cede453de25d7dd5 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Sep 13 20:25:03 2006 +0000 2006-09-13 Kristian Høgsberg <krh@redhat.com> * configure.ac: Tighten glib check (#7906), add check for C++ compiler (#8048). ChangeLog | 5 +++++ configure.ac | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 7c748075e18cfe95be6a56adf09ce7f2f032b86f Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 12 19:48:47 2006 +0000 sorry Jeff ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) commit 6cdcfae0e1c6fbec07ee5273e6ad97ef04110868 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Sep 11 21:20:56 2006 +0000 2006-09-11 Albert Astals Cid <aacid@kde.org> * qt4/src/poppler-annotation.cc: * qt4/src/poppler-annotation.h: * qt4/src/poppler-page.cc: Add support for LinkAnnotation. Patch by Pino Toscano ChangeLog | 10 +- qt4/src/poppler-annotation.cc | 230 +++++++++++++++++++++++++++++++++++++++- qt4/src/poppler-annotation.h | 22 +++- qt4/src/poppler-page.cc | 237 +++++++++++++++++++++++++----------------- 4 files changed, 392 insertions(+), 107 deletions(-) commit 8335c7eea2aa62a580170f47323d8674bd89e412 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Fri Sep 8 23:28:22 2006 +0000 2006-09-08 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: The work-around for 1x1 imagemasks was not calling cairo_set_source causing the rectangles to be drawn the wrong colour occasionally. Fix by moving the existing call to cairo_set_source above the work-around. Fixes #7113. ChangeLog | 7 +++++++ poppler/CairoOutputDev.cc | 8 ++++---- 2 files changed, 11 insertions(+), 4 deletions(-) commit 02d505aa0176b6e5a54ee82426d8333a9ef8f000 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Sep 7 04:01:39 2006 +0000 2006-09-06 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Avoid crashing in CairoOutputDev if endString is called without a corresponding beginString. Fixes #4515. ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) commit 3ea0aada0434c9f815814253dd9d1374ae6643cc Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Sep 6 23:54:30 2006 +0000 2006-09-06 Jeff Muizelaar <jeff@infidigm.net> * configure.ac: * poppler/FlateStream.cc: * poppler/FlateStream.h: Fix FlateStream to not read more than it needs. This has a performance impact because our input buffer is now only 1 byte large, however correctness is better than performance. This should fix #3948. ChangeLog | 9 +++++++++ configure.ac | 2 +- poppler/FlateStream.cc | 35 +++++++++++++++++++++++++---------- poppler/FlateStream.h | 3 ++- 4 files changed, 37 insertions(+), 12 deletions(-) commit 1d2e6aedca0b8fcce6ac84ae2576ab067912886b Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Sep 5 01:21:50 2006 +0000 2006-09-04 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Initialize currentFont to NULL before use. Found by Pascal Terjan. Fixes #7924. ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 1 + 2 files changed, 6 insertions(+) commit 7905adaa21f2347346927fa567c64be60e2bc69c Author: Albert Astals Cid <aacid@kde.org> Date: Sun Sep 3 09:27:21 2006 +0000 * poppler/Dict.cc: * poppler/Dict.h: * poppler/Object.h: * poppler/Parser.cc: Patch by Krzysztof Kowalczyk to increase speed by means of doing less copies between objects. See bug 8112 for more information. ChangeLog | 9 +++++++++ poppler/Dict.cc | 4 ++-- poppler/Dict.h | 11 +++++++++-- poppler/Object.h | 12 ++++++++++++ poppler/Parser.cc | 15 +++++++++------ 5 files changed, 41 insertions(+), 10 deletions(-) commit 4da7c90a619002e54f436c4efee723b5bc42a112 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Aug 24 22:32:31 2006 +0000 * qt4/src/poppler-private.h: Init m_fontInfoScanner to NULL. Discovered by Rafael Rodríguez <rafael.rodriguez.tf@gmail.com> ChangeLog | 5 +++++ qt4/src/poppler-private.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 469202e117910beb4e0ad906d5c154a3bae5c98b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Aug 16 14:35:14 2006 +0000 * qt/poppler-page.cc: Report correct page size. Backport from Qt4 frontend. Patch by Wilfried Huss ChangeLog | 5 +++++ qt/poppler-page.cc | 10 ++++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) commit b881844e4d31009c5d54c9321a6daaf0f354cf6b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Aug 16 09:18:04 2006 +0000 did not want to commit that, thanks Brad for noticing! configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f52380e6d569280839d7c37362bd7cc59f2573c3 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Aug 15 22:27:31 2006 +0000 add a warning how nasty zlib can be, it can come and it your pdfs and make your readers crash when you are not looking at it, so be aware that if you enable it you are on your own ;-) ChangeLog | 4 ++++ configure.ac | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 1caba84b1024f1fa7865deebbf70379855ce078d Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 11 13:12:11 2006 +0000 2006-08-11 Albert Astals Cid <aacid@kde.org> * poppler/Catalog.cc: Fix leak ChangeLog | 4 ++++ poppler/Catalog.cc | 1 + 2 files changed, 5 insertions(+) commit 9b6455f6530e273afaa5f948b67ceeec8a06f976 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Aug 10 16:08:51 2006 +0000 2006-08-10 Albert Astals Cid <aacid@kde.org> * poppler/SplashOutputDev.cc: Try to fix refs to fonts yet again ChangeLog | 4 ++++ poppler/SplashOutputDev.cc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 305f60e0437dcfc5babd449123a1fe4cd062a219 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 5 17:10:07 2006 +0000 2006-08-05 Albert Astals Cid <aacid@kde.org> * poppler/Catalog.cc: The name array can contain references to strings instead of stings themselves, or at least PDF of https://bugs.freedesktop.org/show_bug.cgi?id=7780 does. This makes it work with that file * qt4/src/poppler-embeddedfile.cc: Use UGooString for description ChangeLog | 8 ++++++++ poppler/Catalog.cc | 12 ++++++++++-- qt4/src/poppler-embeddedfile.cc | 3 ++- 3 files changed, 20 insertions(+), 3 deletions(-) commit dd8758ea3f0f44e9f8362343f15b2064f428ad64 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Aug 4 22:48:09 2006 +0000 2006-08-05 Albert Astals Cid <aacid@kde.org> * utils/pdftotext.cc: * utils/pdfinfo.cc: * utils/pdffonts.cc: Add the posibility of reading a file from stdin. Patch by Dom Lachowicz ChangeLog | 7 +++++++ utils/pdffonts.cc | 11 ++++++++++- utils/pdfinfo.cc | 11 ++++++++++- utils/pdftotext.cc | 11 ++++++++++- 4 files changed, 37 insertions(+), 3 deletions(-) commit a418d844cf6baa797919796ceadaf21ef9b2e5b9 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Aug 3 10:34:52 2006 +0000 * configure.ac: Use the correct variable to output the utils status. Patch by Dom Lachowic ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 1673b895656143a8a1f1a45e07f777f39995940d Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jul 30 20:31:31 2006 +0000 * poppler/GfxState.cc: make nGfxBlendModeNames define return the correct size of the gfxBlendModeNames array so it does not access invalid memory areas when the blend mode is not found. Discovered by Krzysztof Kowalczyk ChangeLog | 7 +++++++ poppler/GfxState.cc | 12 +++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) commit e4561568d14e7b3b2aec6ecaf3cc09078bdf7a46 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jul 30 09:38:28 2006 +0000 * splash/SplashFontEngine.cc: * poppler/SplashOutputDev.cc: Fix memory leak when using embedded fonts in the pdf file. Patch by Krzysztof Kowalczyk ChangeLog | 6 ++++++ poppler/SplashOutputDev.cc | 8 ++++++-- splash/SplashFontEngine.cc | 12 ++++++++---- 3 files changed, 20 insertions(+), 6 deletions(-) commit 4a27502159a89992f54be2673b44bf7a8392b60d Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jul 29 16:24:53 2006 +0000 push back thing i did not want to commit, sorry configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ba448afc0e97a9e779409ff228adcd4f627971f5 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jul 29 16:22:52 2006 +0000 * configure.ac: Disable qt and qt4 frontends if splash backend is disabled ChangeLog | 5 +++++ configure.ac | 18 ++++++++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) commit 1e32d3baa5e8296caf55bd5853216a96618c74ac Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Jul 28 18:17:45 2006 +0000 2006-07-28 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDev.cc: Don't set font matrix translation (fix from Behdad Esfahbod). ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 0bc1b0f35c28cb80dd27d24110367348e52c143b Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jul 27 18:21:28 2006 +0000 fix date, i don't live in the past ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2f27c3a0218608568f6cd1c718ef51b9879023a3 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jul 27 18:17:50 2006 +0000 * poppler/Stream.cc: If you are going to test a variable, better initialize it first ;-) Fixes bug 7646 ChangeLog | 5 +++++ poppler/Stream.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit f39ab43ca824cb7e5db73137c4545b3e85134425 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jul 26 18:16:01 2006 +0000 2006-07-26 Albert Astals Cid <aacid@kde.org> * qt/poppler-document.cc: * qt/poppler-private.h: * qt/poppler-qt.h: Port the QDomDocument *Document::toc() const method from the qt4 frontend to the qt frontend. Patch by Wilfried Huss ChangeLog | 7 ++++++ qt/poppler-document.cc | 18 ++++++++++++++++ qt/poppler-private.h | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++ qt/poppler-qt.h | 16 ++++++++++++++ 4 files changed, 99 insertions(+) commit c3a9fd546b853c85b6be5fc8f4e5a78d8a7e7437 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 25 18:39:57 2006 +0000 * qt4/src/poppler-document.cc: Obey kdeprint masters in that a library should output as much device independent PS as posible, so disabling duplex printing for default is a good idea. ChangeLog | 6 ++++++ qt4/src/poppler-document.cc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit edc0499644b8083600ced9a5087ec0b0189e615b Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jul 24 19:49:51 2006 +0000 2006-07-24 Kristian Høgsberg <krh@redhat.com> * configure.ac: * poppler/Makefile.am: Move fontconfig dependency to libpoppler. ChangeLog | 5 +++++ configure.ac | 18 +++++++----------- poppler/Makefile.am | 6 ++++-- 3 files changed, 16 insertions(+), 13 deletions(-) commit 24b5a68a3f4cdba63fbcd01dc178a330b5f604a7 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Jul 18 21:32:11 2006 +0000 2006-07-18 Jeff Muizelaar <jeff@infidigm.net> * poppler/Gfx.cc: fix opCloseStroke to match the behaviour of a separate opClose and opStroke. Previously, opCloseStroke only closes if there is a path however opClose closes unconditionally. ChangeLog | 6 ++++++ poppler/Gfx.cc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit c57ebd40fcf85432b2e5045086d158a63af12525 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Jul 18 21:26:57 2006 +0000 2006-07-18 Jeff Muizelaar <jeff@infidigm.net> * poppler/TextOutputDev.cc: call setDefaultCTM() after start page like in Gfx.cc. This fixes a regression caused by the fix to #6948. ChangeLog | 5 +++++ poppler/TextOutputDev.cc | 1 + 2 files changed, 6 insertions(+) commit 640d5d5a9d9e53f3f677eb05f3d18e6bfc74e95a Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jul 16 18:22:23 2006 +0000 2006-07-16 Albert Astals Cid <aacid@kde.org> * poppler/GfxState.cc: Do not crash when we can not parse a GfxImageColorMap Fixes crash on pdf that can be found at ChangeLog | 7 +++++++ poppler/GfxState.cc | 4 ++++ qt4/src/Doxyfile | 4 ++-- 3 files changed, 13 insertions(+), 2 deletions(-) commit c6926d1d8ab04468f56f4687cdd3f06af206226b Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jun 28 19:23:52 2006 +0000 * poppler/DCTStream.cc: * poppler/DCTStream.h: Reset jpeg structures on reset. Fixes crash while printing pdf at http://bugs.kde.org/attachment.cgi?id=16818&action=view ChangeLog | 7 +++++++ poppler/DCTStream.cc | 25 ++++++++++++++++++------- poppler/DCTStream.h | 2 ++ 3 files changed, 27 insertions(+), 7 deletions(-) commit 96ac8dec591a0325a822c1f7b7bc7e78b867e3a0 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 25 16:59:31 2006 +0000 Ask for paper size width and height to pass it to PSOutputDev in both qt frontends (qt got abi mantained, qt4 changed as you still have to define UNSTABLE_POPPLER_QT4 to be able of using it, one day we'll have to think of removing it) ChangeLog | 8 ++++++++ qt/poppler-document.cc | 9 +++++++-- qt/poppler-qt.h | 9 +++++++++ qt4/src/poppler-document.cc | 4 ++-- qt4/src/poppler-qt4.h | 10 +++++++++- 5 files changed, 35 insertions(+), 5 deletions(-) commit 965011f2001fb1ea36857995d5555266f82b8d96 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 25 16:20:50 2006 +0000 put back a change that was not meant to be commited qt/poppler-qt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4995d09c91173d34a435112828aff21a63b147e9 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 25 16:19:32 2006 +0000 rename poppler-link.h to poppler-link-qt3.h to not get conflicts on install qt/Makefile.am | 2 +- qt/poppler-link-qt3.h | 188 ++++++++++++++++++++++++++++++++++++ qt/poppler-link.cc | 258 ++++++++++++++++++++++++++++++++++++++++++++++++++ qt/poppler-qt.h | 4 +- 4 files changed, 449 insertions(+), 3 deletions(-) commit 087921b134c2646e6d41960f471a1819c7c8790a Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 25 10:29:22 2006 +0000 add link support to qt3 frontend. Patch by Wilfried Huss based on Qt4 code ChangeLog | 11 ++++ qt/Makefile.am | 4 +- qt/poppler-document.cc | 19 ++++--- qt/poppler-page.cc | 136 ++++++++++++++++++++++++++++++++++++++++++++++--- qt/poppler-private.h | 33 +++++++++++- qt/poppler-qt.h | 14 +++-- 6 files changed, 196 insertions(+), 21 deletions(-) commit 831bd8942ef3224354b128d5e14e68fdfc57168b Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 11 16:14:32 2006 +0000 optimization by Mario Teijeiro Otero poppler/UGooString.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1223fd4b200f6c13996f8299f3563c818af0c21d Author: Albert Astals Cid <aacid@kde.org> Date: Sat Jun 10 22:23:19 2006 +0000 * poppler/UGooString.cc: When any of the chars that we are passing to the UGooString is not pdfencodable, do not encode the string, because we loose information if we do, this fixes rendering of http://publikationen.ub.uni-frankfurt.de/volltexte/2005/890/pdf/TR_abs_g.pdf and other docs with type3 fonts and ligatures ChangeLog | 9 +++++++++ poppler/UGooString.cc | 8 ++++++++ 2 files changed, 17 insertions(+) commit b85a39ddfc7de8c0621e995c114885ecd08fcdc2 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jun 1 21:03:38 2006 +0000 * qt4/src/poppler-qt4.h: * qt4/src/poppler-page.cc: Add Rotation parameter that is passed to the respective output devs ChangeLog | 6 ++++++ qt4/src/poppler-page.cc | 22 ++++++++++++++-------- qt4/src/poppler-qt4.h | 14 +++++++++----- 3 files changed, 29 insertions(+), 13 deletions(-) commit 2b5d3277f36864ff1ef44f1942f22de247d67ab6 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jun 1 17:23:45 2006 +0000 * qt/poppler-document.cc: * qt/poppler-qt.h: Add printing support, patch by Stefan Kebekus <stefan.kebekus@math.uni-koeln.de> ChangeLog | 6 ++++++ qt/poppler-document.cc | 18 ++++++++++++++++++ qt/poppler-qt.h | 2 ++ 3 files changed, 26 insertions(+) commit 5380d005b7b54cc6587ce6e8c3bbb358da5cd9a5 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Jun 1 06:42:25 2006 +0000 2006-06-01 Jeff Muizelaar <jeff@infidigm.net> * poppler/PSOutputDev.cc: * poppler/PSOutputDev.h: Change filename parameter to PSOutputDev constructor from char * to const char *. ChangeLog | 6 ++++++ poppler/PSOutputDev.cc | 2 +- poppler/PSOutputDev.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit c2a81ea8b01f3943a2eb737cf957acc0d05f7eed Author: Albert Astals Cid <aacid@kde.org> Date: Wed May 31 20:14:04 2006 +0000 * poppler/SplashOutputDev.cc: * splash/Splash.cc: Fix no splashModeRGB8Qt mode, that is, make it show images I'm sorry, really, i'll try to do better ChangeLog | 6 ++++++ poppler/SplashOutputDev.cc | 10 ++++++++++ splash/Splash.cc | 3 +++ 3 files changed, 19 insertions(+) commit 643b310cf51474b6dfc077fe086ea121e807f6e1 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed May 31 19:18:28 2006 +0000 2006-05-31 Jeff Muizelaar <jeff@infidigm.net> * TODO: Remove items's from my list that are done. ChangeLog | 4 ++++ TODO | 3 --- 2 files changed, 4 insertions(+), 3 deletions(-) commit 96e582721dcb15ea258b989c7c500084bff9f56d Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed May 31 17:31:49 2006 +0000 2006-05-31 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: Change the cairo backend to use the transformation in cairo instead of doing all of the transformations in the OutputDevice. Fixes #6948. ChangeLog | 7 ++ poppler/CairoOutputDev.cc | 200 ++++++++++++++++++++-------------------------- poppler/CairoOutputDev.h | 1 + 3 files changed, 96 insertions(+), 112 deletions(-) commit 00ffb9bf50b6b3b2e8eaa8af593aaa01d4a62a34 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed May 31 04:53:27 2006 +0000 2006-05-31 Kristian Høgsberg <krh@redhat.com> * NEWS: Sum up changes. * configure.ac: Bump release to 0.5.3. ChangeLog | 6 ++++++ NEWS | 8 ++++++++ configure.ac | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) commit 223a4bf3a679f666b6c963a8787cf5b5ac75c4b6 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed May 31 02:02:54 2006 +0000 2006-05-30 Kristian Høgsberg <krh@redhat.com> * poppler-glib.pc.in: * configure.ac: Add poppler as a private requires if pkg-config supports it. ChangeLog | 6 ++++++ configure.ac | 11 +++++++++++ poppler-glib.pc.in | 3 ++- 3 files changed, 19 insertions(+), 1 deletion(-) commit 7aaa4d3fbdb8ea2534d3cb80e68b2759b2e8fd2f Author: Kristian Høgsberg <krh@redhat.com> Date: Tue May 30 21:46:06 2006 +0000 2006-05-30 Kristian Høgsberg <krh@redhat.com> * test/gtk-cairo-test.cc: Add --page option to gtk-cairo-test. ChangeLog | 4 ++++ test/gtk-cairo-test.cc | 21 ++++++++++++++++++--- 2 files changed, 22 insertions(+), 3 deletions(-) commit f7c1d519b9695ad8adfdcf3af696de746cdcf375 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon May 29 18:44:17 2006 +0000 2006-05-29 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoFontEngine.cc: * poppler/CairoFontEngine.h: * poppler/CairoOutputDev.cc: Allow CairoFont creation to fail more gracefully. Fixes #4030. ChangeLog | 7 +++++++ poppler/CairoFontEngine.cc | 27 +++++++++++++++++++++------ poppler/CairoFontEngine.h | 4 +++- poppler/CairoOutputDev.cc | 5 +++++ 4 files changed, 36 insertions(+), 7 deletions(-) commit 84861800dad3649d4757d5c5539b9e86e2b2c644 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat May 27 17:27:37 2006 +0000 2006-05-27 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: Back out the rest of krh's type3 font work. This fixes type3 fonts in CairoOutputDevice. ChangeLog | 6 ++++++ poppler/CairoOutputDev.cc | 3 +++ poppler/CairoOutputDev.h | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) commit 6f5a89a0a2cf17d45d1c31ce105829be8c7ac456 Author: Albert Astals Cid <aacid@kde.org> Date: Tue May 23 20:49:16 2006 +0000 * poppler/SplashOutputDev.cc: * qt4/src/poppler-private.h: * splash/Splash.cc: * splash/SplashBitmap.cc: * splash/SplashTypes.h: bring splashModeRGB8 back to the old code (before Frank's patch), create splashModeRGB8Qt that has Frank's codepath and is used by Qt frontends. Fixes corruption on other programs expecting the old behaviour. Remember dude we are now a lib! you can not change behaviour from one day to another! /me hits himself ChangeLog | 11 +++ poppler/SplashOutputDev.cc | 8 +++ qt/poppler-private.h | 2 +- qt4/src/poppler-private.h | 2 +- splash/Splash.cc | 169 +++++++++++++++++++++++++++++++++++++++++++++ splash/SplashBitmap.cc | 26 ++++++- splash/SplashTypes.h | 2 + 7 files changed, 216 insertions(+), 4 deletions(-) commit 495d592c3ba7fe81e03774f5b2ed677e5aa560c7 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue May 23 19:16:37 2006 +0000 2006-05-23 Kristian Høgsberg <krh@redhat.com> * qt4/src/Makefile.am (libpoppler_qt4_la_SOURCES): Add missing ChangeLog | 5 +++++ qt4/src/Makefile.am | 1 + 2 files changed, 6 insertions(+) commit eecd06c86585bca05c99cd2e9a1b1ff3bbae3c72 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon May 22 20:19:35 2006 +0000 2006-05-22 Kristian Høgsberg <krh@redhat.com> * configure.ac: Bump release. * NEWS: Sum up changes. ChangeLog | 5 +++++ NEWS | 11 ++++++++++- configure.ac | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) commit 680f20dfd1cf0342d49516b3848a2aef5d2a3883 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon May 22 19:58:41 2006 +0000 2006-05-22 Kristian Høgsberg <krh@redhat.com> Patch from Rainer Keller to fix the ImageOutputDev (#6984). * utils/ImageOutputDev.cc (drawImage): Upate to work with new 16-bit color representation. * utils/ImageOutputDev.h: Return gTrue for needNonText(). ChangeLog | 9 +++++++++ NEWS | 4 ++++ utils/ImageOutputDev.cc | 6 +++--- utils/ImageOutputDev.h | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) commit e43a06bf6e953fa9af18476e2c9f27106398c09c Author: Kristian Høgsberg <krh@redhat.com> Date: Sun May 21 23:26:45 2006 +0000 2006-05-21 Kristian Høgsberg <krh@redhat.com> * poppler/CairoFontEngine.cc: * poppler/CairoFontEngine.h: Back out type3 font work committed by accident. ChangeLog | 6 + poppler/CairoFontEngine.cc | 347 +++++---------------------------------------- poppler/CairoFontEngine.h | 17 +-- 3 files changed, 47 insertions(+), 323 deletions(-) commit 7d4bb0533f88f06449ebd64c1220d0b75001937d Author: Albert Astals Cid <aacid@kde.org> Date: Sun May 21 18:14:15 2006 +0000 fix all is blue issue on ppc machines ChangeLog | 7 +++++++ qt/poppler-page.cc | 17 +++++++++++++++++ qt4/src/poppler-page.cc | 17 +++++++++++++++++ 3 files changed, 41 insertions(+) commit 655af1e0126ca96d75c9c718d7d8f928c898b1f6 Author: Albert Astals Cid <aacid@kde.org> Date: Sun May 21 17:19:53 2006 +0000 hope to fix really Kouhei's name now ChangeLog | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit cc783a1ebe868ff75db5472775dabe0020ae501f Author: Albert Astals Cid <aacid@kde.org> Date: Sun May 21 11:54:30 2006 +0000 Fix Kouhei name ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4b6ad3bb873a6f334934921e6d56e9d26e06a9a Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 22:55:49 2006 +0000 Add bug number to ChangeLog entry. ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46f5f070cceb2c0f3b53537c8e33340b9f1bba38 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 22:26:03 2006 +0000 2006-05-19 Kristian Høgsberg <krh@redhat.com> * glib/poppler-action.h: * glib/poppler-action.cc: Add poppler_dest_get_type(), patch from Kouhei Souto (#6907). ChangeLog | 4 ++++ glib/poppler-action.cc | 13 +++++++++++++ glib/poppler-action.h | 4 ++++ 3 files changed, 21 insertions(+) commit 875dc5b112dfe2d4a48a7567b1ff79257447cc0d Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 22:21:35 2006 +0000 2006-05-19 Kristian Høgsberg <krh@redhat.com> * poppler-glib.pc.in (Requires): Add gdk-2.0 dependency, from Kouhei Souto (#6896). ChangeLog | 3 +++ poppler-glib.pc.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit b66dda2640c088bbe205f698a0c4028144027922 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 22:19:21 2006 +0000 2006-05-19 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.h (POPPLER_TYPE_INDEX_ITER) (POPPLER_TYPE_FONTS_ITER): Add these macros, patch from Kouhei Souto (#6897). ChangeLog | 4 ++++ glib/poppler-document.h | 2 ++ 2 files changed, 6 insertions(+) commit 095730456c0d8312067af10dd55a3b9165a83736 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 22:16:25 2006 +0000 2006-05-19 Kristian Høgsberg <krh@redhat.com> * glib/Makefile.am (INCLUDES): Add define for G_LOG_DOMAIN, from Kouhei Souto (#6899). ChangeLog | 3 +++ glib/Makefile.am | 1 + 2 files changed, 4 insertions(+) commit b8d77633899c1dec5f3b9c9a0f075f39afa98965 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 22:12:38 2006 +0000 2006-05-19 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc (poppler_document_save): Memleak patch from Paolo Borelli (#6908). ChangeLog | 5 +++++ glib/poppler-document.cc | 2 ++ 2 files changed, 7 insertions(+) commit 488f77298fee9eebbca5983c1c9fb186b3b67aa3 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 22:04:17 2006 +0000 2006-05-19 Kristian Høgsberg <krh@redhat.com> * TextOutputDev.h: * TextOutputDev.cc: * UnicodeTypeTable.h: * UnicodeTypeTable.cc: * UnicodeCClassTables.h: * UnicodeCompTables.h: * UnicodeDecompTables.h: * gen-unicode-tables.py: Patch from Ed Catmur (#2929) to convert search string and document text to unicode NFKC (compatibility composition) before matching so ligatures match correctly. ChangeLog | 13 + poppler/Makefile.am | 5 + poppler/TextOutputDev.cc | 41 +- poppler/TextOutputDev.h | 3 + poppler/UnicodeCClassTables.h | 1827 +++++++++ poppler/UnicodeCompTables.h | 665 ++++ poppler/UnicodeDecompTables.h | 8526 +++++++++++++++++++++++++++++++++++++++++ poppler/UnicodeTypeTable.cc | 235 ++ poppler/UnicodeTypeTable.h | 3 + 9 files changed, 11303 insertions(+), 15 deletions(-) commit ecb942e54a1ab0f7eded91b7d1278f0ac62e2071 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 21:42:54 2006 +0000 2006-05-19 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_prepare_output_dev): Fix the rotation bug for real. ChangeLog | 5 +++++ glib/poppler-page.cc | 16 +++++++++------- 2 files changed, 14 insertions(+), 7 deletions(-) commit 28ae789afe0625a641525e4a0768d51fa8bd667c Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 20:54:13 2006 +0000 2006-05-19 Kristian Høgsberg <krh@redhat.com> Patch from Kouhei Sutou (#6905). * glib/poppler-document.cc: * glib/poppler-document.h: * glib/poppler-private.h: * glib/reference/tmpl/poppler-private.sgml: * glib/reference/tmpl/poppler.sgml: Make PopplerPSOutput a proper glib object. ChangeLog | 11 +++++++ glib/poppler-document.cc | 51 ++++++++++++++++++++++++++------ glib/poppler-document.h | 4 +++ glib/poppler-private.h | 2 ++ glib/reference/tmpl/poppler-private.sgml | 1 + glib/reference/tmpl/poppler.sgml | 1 + 6 files changed, 61 insertions(+), 9 deletions(-) commit 02cf7fd7df0b2d8c2b1c6f108e581bc1c7a973b1 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 20:35:43 2006 +0000 2006-05-19 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_prepare_output_dev): Fix rotation bug (#6913, #6926). ChangeLog | 3 +++ glib/poppler-page.cc | 12 +++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) commit 78ae3efd9541d7b63ff5a2c4de3fde300806688f Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 19 19:21:59 2006 +0000 2006-05-19 Kristian Høgsberg <krh@redhat.com> Memory leak patch from Carlos Garcia Campos (#6947). * glib/poppler-action.cc: * glib/poppler-document.cc: * glib/poppler-page.cc: * poppler/CairoFontEngine.cc: * poppler/CairoFontEngine.h: * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: * poppler/Gfx.cc: * poppler/TextOutputDev.cc: Fix various memory leaks. ChangeLog | 14 ++ glib/poppler-action.cc | 9 +- glib/poppler-document.cc | 31 +++- glib/poppler-page.cc | 2 + poppler/CairoFontEngine.cc | 347 ++++++++++++++++++++++++++++++++++++++++----- poppler/CairoFontEngine.h | 17 ++- poppler/CairoOutputDev.cc | 5 +- poppler/CairoOutputDev.h | 2 +- poppler/Gfx.cc | 1 + poppler/TextOutputDev.cc | 9 ++ 10 files changed, 381 insertions(+), 56 deletions(-) commit 354c1926b7181fd668f221e1d672974e04fda747 Author: Albert Astals Cid <aacid@kde.org> Date: Fri May 19 17:24:19 2006 +0000 * qt4/src/poppler-link.cc: Patch by Pino Toscano, ensure the splashoutput is created when parsing the TOC. ChangeLog | 5 +++++ qt4/src/poppler-link.cc | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 3c9a5f37704781c9a51e72edd18451870452b9a7 Author: Albert Astals Cid <aacid@kde.org> Date: Sun May 14 16:11:54 2006 +0000 * poppler/FontInfo.cc: Fix possible crash, half patch by Kouhei Sutou <kou@cozmixng.org> ChangeLog | 5 +++++ poppler/FontInfo.cc | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 436f578fe762e8ceccce95a0f2003406527dde64 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 13 16:01:57 2006 +0000 * poppler/GfxState.cc: * poppler/GfxState.h: Fix memleak, patch by Carlos Garcia Campos <carlosgc@gnome.org> ChangeLog | 6 ++++++ poppler/GfxState.cc | 8 ++++++++ poppler/GfxState.h | 3 +-- 3 files changed, 15 insertions(+), 2 deletions(-) commit 906515769097f2e38f6b2c2aff598919b9d1ee0d Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 13 15:58:37 2006 +0000 * qt4/src/poppler-document.cc: leak-- * qt4/src/poppler-private.h: Refcount globalparams * qt4/tests/test-poppler-qt4.cpp: Some leaks less ChangeLog | 6 ++++++ qt4/src/poppler-document.cc | 10 +++++----- qt4/src/poppler-private.h | 8 ++++++++ qt4/tests/test-poppler-qt4.cpp | 6 ++++-- 4 files changed, 23 insertions(+), 7 deletions(-) commit 46fd63c44369c882d8dac473d4156001d9d4ed18 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 13 11:14:24 2006 +0000 numbers for easier casting qt4/src/poppler-link.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 35500375e3f790c444ab7e7d0a687d270c5a66b1 Author: Albert Astals Cid <aacid@kde.org> Date: Fri May 12 21:02:01 2006 +0000 fixing compile problems for some people qt4/src/poppler-page.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 181f09829cf4831965059e3064114d83348c51b5 Author: Albert Astals Cid <aacid@kde.org> Date: Fri May 12 20:40:05 2006 +0000 * qt4/src/Makefile.am * qt4/src/poppler-annotation-helper.h * qt4/src/poppler-annotation.cc * qt4/src/poppler-annotation.h * qt4/src/poppler-link.cc * qt4/src/poppler-link.h * qt4/src/poppler-page.cc * qt4/src/poppler-qt4.h: Code for annotations stripped from oKular, it's all based on Enrico's work, so ask him for details, the problem is that he left KDE development a while ago. ChangeLog | 14 + qt4/src/Makefile.am | 2 + qt4/src/poppler-annotation-helper.h | 213 ++++++++++ qt4/src/poppler-annotation.cc | 792 ++++++++++++++++++++++++++++++++++++ qt4/src/poppler-annotation.h | 257 ++++++++++++ qt4/src/poppler-link.cc | 4 +- qt4/src/poppler-link.h | 2 +- qt4/src/poppler-page.cc | 691 +++++++++++++++++++++++++++++++ qt4/src/poppler-qt4.h | 8 +- 9 files changed, 1980 insertions(+), 3 deletions(-) commit 3a48e89dfbe54af73a68ed8e917938f14ad17f01 Author: Albert Astals Cid <aacid@kde.org> Date: Tue May 9 20:07:06 2006 +0000 * qt4/src/Makefile.am: * qt4/src/poppler-document.cc: * qt4/src/poppler-link.cc: * qt4/src/poppler-page.cc: * qt4/src/poppler-private.h: * qt4/src/poppler-qt4.h: Adding links extraction code, should work as it is basically stripped out from kpdf, but comments are obviously welcome as always ChangeLog | 10 +++ qt4/src/Makefile.am | 1 + qt4/src/poppler-document.cc | 13 +--- qt4/src/poppler-link.cc | 129 ++++++++++++++++++++++++++++++-- qt4/src/poppler-link.h | 178 ++++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-page.cc | 139 ++++++++++++++++++++++++++++++---- qt4/src/poppler-private.h | 9 ++- qt4/src/poppler-qt4.h | 56 +++----------- 8 files changed, 456 insertions(+), 79 deletions(-) commit f628e1506e576a8553a9699c1d7f05ef55c24fa2 Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 8 19:03:51 2006 +0000 memleak-- by carlos ChangeLog | 5 +++++ poppler/Catalog.cc | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 1fce6266564583d356817a21f43c6b1ad8ce3716 Author: Albert Astals Cid <aacid@kde.org> Date: Sat May 6 10:57:07 2006 +0000 fix code, i suck qt4/src/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be913b90d59da35a347498b86fdd3edb065aef23 Author: Albert Astals Cid <aacid@kde.org> Date: Fri May 5 20:51:01 2006 +0000 * poppler/Function.cc: quick fix for KDE bug #126760 Better solutions are of course accepted ChangeLog | 4 ++++ poppler/Function.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 2b085293bd73b4e77da848b3fe63a7e82e9ba5e5 Author: Albert Astals Cid <aacid@kde.org> Date: Thu May 4 19:10:55 2006 +0000 * qt4/src/poppler-qt4.h: * qt4/src/poppler-page.cc: Implement search functionality more code to make oKular qt4popplered possible, probably not most quickest code around, feel free to comment/optimize ChangeLog | 5 +++++ qt4/src/poppler-page.cc | 43 +++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-qt4.h | 16 ++++++++++++++++ 3 files changed, 64 insertions(+) commit a9b0c7977aba7bc85a8673c7f95187ff17ee4173 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue May 2 04:38:39 2006 +0000 2006-05-02 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc: * poppler/Gfx.cc: * poppler/GfxFont.cc: * poppler/GfxFont.h: * poppler/GfxState.cc: * poppler/TextOutputDev.cc: Patch from Gary Coady to add reference counting to GfxFont so we don't crash on text selection. ChangeLog | 10 ++++++++++ glib/poppler-page.cc | 2 +- poppler/Gfx.cc | 2 ++ poppler/GfxFont.cc | 14 +++++++++++++- poppler/GfxFont.h | 4 ++++ poppler/GfxState.cc | 7 +++++++ poppler/TextOutputDev.cc | 1 + 7 files changed, 38 insertions(+), 2 deletions(-) commit 57af0207334ff1a407899370281ebb90fe953a32 Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 1 18:33:47 2006 +0000 * qt4/src/poppler-page.cc: * qt4/src/poppler-private.h: * qt4/src/poppler-qt4.h: * qt4/src/poppler-textbox.cc: Add nextWord(), hasSpaceAfter() and edge() to TextBox More things to make poppler-qt4Okular nearer ChangeLog | 8 ++++++++ qt4/src/poppler-page.cc | 14 ++++++++++++++ qt4/src/poppler-private.h | 11 +++++++++++ qt4/src/poppler-qt4.h | 8 ++++++++ qt4/src/poppler-textbox.cc | 23 ++++++++++++++++------- 5 files changed, 57 insertions(+), 7 deletions(-) commit 61b126390f764fd38c79b6a64160a7dc7870bd4a Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 1 13:41:14 2006 +0000 revert thing that should not have gone in poppler/PageLabelInfo.cc | 43 +++++++++++++++++++++++++++++++++++++++++++ poppler/PageLabelInfo.h | 44 -------------------------------------------- 2 files changed, 43 insertions(+), 44 deletions(-) commit f2424ef63e86d82b2be277e2b268b48aae29601e Author: Albert Astals Cid <aacid@kde.org> Date: Mon May 1 13:32:31 2006 +0000 * qt4/src/poppler-document.cc: * qt4/src/poppler-private.h: * qt4/src/poppler-qt4.h: Add the possibility of setting the paper color One step more to make oKular fully use the qt4 bindings ChangeLog | 7 +++++++ poppler/PageLabelInfo.cc | 43 ------------------------------------------- poppler/PageLabelInfo.h | 44 ++++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-document.cc | 10 ++++++++++ qt4/src/poppler-private.h | 22 +++++++++++++++++----- qt4/src/poppler-qt4.h | 6 ++++++ 6 files changed, 84 insertions(+), 48 deletions(-) commit 4147400e2b692df7f70c3772e8a4b576d4d85294 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 29 15:23:41 2006 +0000 Fix memory leak. Bug 6765 ChangeLog | 5 +++++ poppler/JBIG2Stream.cc | 1 + 2 files changed, 6 insertions(+) commit 960d60467d62d28f20b127d07e8de1af42eec568 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Apr 27 17:26:36 2006 +0000 2006-04-27 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: delete imgStr if some of the cairo functions fail. Fixes coverty reports #2106, #2107, #2077 and bug #6764. Patch by Kjartan Maraas. ChangeLog | 6 ++++++ poppler/CairoOutputDev.cc | 34 +++++++++++++++++++++++++--------- 2 files changed, 31 insertions(+), 9 deletions(-) commit 155112131c6e25bfde752cf5daa80a6c9712cfed Author: Albert Astals Cid <aacid@kde.org> Date: Sun Apr 23 15:50:52 2006 +0000 qt4/src/poppler-private.h: Protect us against a link not having a destination or a namedDestination ChangeLog | 5 +++++ qt4/src/poppler-private.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit c902a3a22bcceedc8ee8ca377064efcc8a9178ca Author: Brad Hards <bradh@frogmouth.net> Date: Fri Apr 21 12:02:19 2006 +0000 Add another path to search for Qt4 libs and includes. CCMAIL: montel@kde.org m4/qt.m4 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 18f8e1f1d213dbcda27cd0ec429273801f65e208 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 18 19:11:56 2006 +0000 * goo/GooVector.h: Fix typo that was preventing build with MSVC8 Discovered by Reece Dunn <msclrhd@hotmail.com> ChangeLog | 5 +++++ goo/GooVector.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit cbbb28a5959343d20dffe945ea83272c0b2e287b Author: Kristian Høgsberg <krh@redhat.com> Date: Sun Apr 16 22:59:44 2006 +0000 2006-04-16 Carlos Garcia Campos <carlosgc@gnome.org> * glib/poppler-action.cc: * glib/poppler-action.h: * glib/poppler-private.h: * glib/poppler.h: Add support for named destinations and named actions. * glib/poppler-document.cc: * glib/poppler-document.h: Allow to find named destinations in document. ChangeLog | 12 +++ glib/poppler-action.cc | 152 +++++++++++++++++++++++++----- glib/poppler-action.h | 7 +- glib/poppler-document.cc | 37 ++++++++ glib/poppler-document.h | 4 +- glib/poppler-private.h | 2 + glib/poppler.h | 1 + glib/reference/tmpl/poppler-action.sgml | 2 + glib/reference/tmpl/poppler-document.sgml | 4 - 9 files changed, 189 insertions(+), 32 deletions(-) commit 85687a1e0e4c6be2dbfb23ba00018b9c7c7454f5 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Apr 12 06:52:07 2006 +0000 2006-04-12 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: Add support for masked images to the cairo backend. CairoOutputDevice really should have been refactored before committing this, but the results were so pretty I couldn't resist. Fixes #6174. ChangeLog | 8 ++++ poppler/CairoOutputDev.cc | 118 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 8 ++++ 3 files changed, 134 insertions(+) commit 6039d4fc65cb25bef20efa29bc29d42086fc0854 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Apr 12 05:46:44 2006 +0000 2006-04-12 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Fix breakage by krh by only calling cairo_destroy on non-null. ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) commit d839a0bd78361930e5e2fe889df12e1e853ffed3 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Apr 12 02:07:07 2006 +0000 2006-04-11 Kristian Høgsberg <krh@redhat.com> * configure.ac: * poppler-glib.pc.in: * glib/Makefile.am: * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler.h: * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: * glib/poppler-features.h.in: Make the CairoOutputDev render to a cairo_t instead of a cairo_surface_t and expose that functionality in the glib wrapper (poppler_page_render). * test/Makefile.am: * test/gtk-cairo-test.cc: Update gtk-cairo-test to use this new interface and add a spin button for changing page (#5951). * utils/Makefile.am (EXTRA_DIST): Fix warning where this was assigned twice. ChangeLog | 23 ++++ configure.ac | 8 ++ glib/Makefile.am | 10 +- glib/poppler-features.h.in | 24 ++++ glib/poppler-page.cc | 63 +++++++--- glib/poppler-page.h | 10 ++ glib/poppler.h | 1 + poppler-glib.pc.in | 2 +- poppler/CairoOutputDev.cc | 23 ++-- poppler/CairoOutputDev.h | 6 +- test/Makefile.am | 4 +- test/gtk-cairo-test.cc | 286 ++++++++++++++------------------------------- utils/Makefile.am | 6 +- 13 files changed, 221 insertions(+), 245 deletions(-) commit b198c9801c668014c0979c57033a0637e7e046e2 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon Apr 10 18:12:44 2006 +0000 2006-04-10 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: take originX and originY into account in drawChar() to draw vertical text properly. Fixes #6551. ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit fd251f52efc7748fda91cc77fb9d3966e0f02ac8 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Apr 9 11:05:51 2006 +0000 m4/qt.m4: Improve for systems that need -pthread to be linked when linking Qt. Patch by Diego Pettenò ChangeLog | 5 +++++ m4/qt.m4 | 28 +++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) commit 36de9747153a2ea9b3cf86c41e75a521441a2e06 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 8 10:44:43 2006 +0000 * poppler/Makefile.am: * qt4/src/Makefile.am: Don't link Qt4 in libpoppler when using Qt4 frontend Patch by Stefan Schweizer ChangeLog | 6 ++++++ poppler/Makefile.am | 11 +++++------ qt4/src/Makefile.am | 1 + 3 files changed, 12 insertions(+), 6 deletions(-) commit bf7afe161d76c50fd1c480eb236607145782e59d Author: Albert Astals Cid <aacid@kde.org> Date: Wed Apr 5 18:20:56 2006 +0000 poppler/JBIG2Stream.cc: Fix for some buggy JBIG2 documents, patch by Raj Kumar and Paul Walmsley. Fixes bug 6500 ChangeLog | 5 +++++ poppler/JBIG2Stream.cc | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) commit 315f8e488d3db848f88a06c7568b6583bbf0e432 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Apr 5 17:20:56 2006 +0000 2006-04-05 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: use a separate matrix for the softmask. fixes #6492. ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) commit 0d311518f678a479c1efeaec15011e0a34de80fc Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 4 21:01:01 2006 +0000 * splash/Splash.cc: * splash/SplashBitmap.cc: Make Splashbitmap RGB8 use 32bits internally * qt/poppler-page.cc: * qt4/src/poppler-page.cc: Adapt to splashbitmap change so copying to QImage is faster. Patch by Frank Meerkötter slightly modified by Albert Astals Cid I'll leave adapting the glib frontend for you guys, i tried to adapt it but i got lost at gdk_pixbuf_get_n_channels (pixbuf); ChangeLog | 9 ++++++ qt/poppler-page.cc | 18 ++++------- qt4/src/poppler-page.cc | 15 ++++----- splash/Splash.cc | 81 +++++++++++++++++++++++++------------------------ splash/SplashBitmap.cc | 10 +++--- 5 files changed, 67 insertions(+), 66 deletions(-) commit 888bd41b42507f0a1af55c55495d31d802ce7706 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Apr 4 20:42:08 2006 +0000 Fix crash when using fixedpoint math. Patch by Frank Meerkoetter ChangeLog | 5 +++++ splash/SplashFTFont.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 56c98450160b639790931226a045ce4712e7d45e Author: Albert Astals Cid <aacid@kde.org> Date: Sun Apr 2 18:07:59 2006 +0000 Improvements to the Qt4 frontend, comments welcome ChangeLog | 7 +++ m4/qt.m4 | 4 +- qt4/src/Makefile.am | 1 + qt4/src/poppler-document.cc | 85 +++++++++++++++++++++------ qt4/src/poppler-link.cc | 138 ++++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-page.cc | 9 ++- qt4/src/poppler-private.h | 95 +++++++++++++++++++++++++++++- qt4/src/poppler-qt4.h | 86 ++++++++++++++++++++++++--- 8 files changed, 395 insertions(+), 30 deletions(-) commit c80ebf237e9c6232a1d0567a2688a294acfd481b Author: Albert Astals Cid <aacid@kde.org> Date: Sat Apr 1 11:25:57 2006 +0000 Fix bug 6454 ChangeLog | 5 +++++ poppler/XRef.cc | 22 +++++++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) commit fe8142fbc12127682b8024673fe1af57b47bb5c9 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Mar 21 04:25:53 2006 +0000 2006-03-20 Jeff Muizelaar <jeff@infidigm.net> * glib/poppler-page.cc: Avoid strdup in poppler_page_get_property and make code cleaner. Combined with the memleak fix closes #6187. Patch by chpe. ChangeLog | 6 ++++++ glib/poppler-page.cc | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) commit 4f961df2e6e91a0dc0a024ae5acdefa394179a05 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Mar 21 04:19:18 2006 +0000 2006-03-20 Jeff Muizelaar <jeff@infidigm.net> * glib/poppler-page.cc: Fix memory leak in poppler_page_get_text Patch by chpe. ChangeLog | 5 +++++ glib/poppler-page.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit ff4febab0a519732972c21bf76d7693c98265e0f Author: Albert Astals Cid <aacid@kde.org> Date: Mon Mar 20 20:07:36 2006 +0000 Use UGooString for dates, fixes KDE bug 123938 ChangeLog | 6 ++++++ qt/poppler-document.cc | 2 +- qt4/src/poppler-document.cc | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit 75ac6de8cd651b1cbe2d6a7ffa4574097088041f Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon Mar 20 19:12:29 2006 +0000 2006-03-20 Carlos Garcia Campos <calosgc@gnome.org> reviewed by: Jeff Muizelaar <jeff@infidigm.net> * glib/poppler-document.cc: Fix memory leak in poppler_font_info_free ChangeLog | 6 ++++++ glib/poppler-document.cc | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 784f6d9a0888dab34c586ffe14db8e55b8a11f51 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon Mar 20 19:02:10 2006 +0000 2006-03-20 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoFontEngine.h: remove unused variables ChangeLog | 4 ++++ poppler/CairoFontEngine.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) commit 847436779d7c82b428acfd6339130228bfadca24 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Mar 19 19:19:42 2006 +0000 fix date ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 401bae69cc7ade676cacd89b483f0a93a653c7a1 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Mar 19 17:01:05 2006 +0000 fix htmloutputdev ChangeLog | 4 ++++ utils/HtmlOutputDev.cc | 2 +- utils/HtmlOutputDev.h | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) commit d56330e688c0a40b4e206ed3bbddd06d7f3ee66c Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 16 22:04:56 2006 +0000 * poppler/Page.cc: Remove a #ifdef that was never defined (nice to have so sucky W args), probably came from gpdf (it's not on xpdf sources) and was causing bugs 6079 and 6167 Might be worth backporting to the stable branch ChangeLog | 8 +++++++- poppler/Page.cc | 2 -- 2 files changed, 7 insertions(+), 3 deletions(-) commit 7ed6737b00ece7ca00cee1d148752b11700370e6 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 16 19:21:11 2006 +0000 poppler/FontInfo.cc: Embedded fonts don't have a font file ChangeLog | 4 ++++ poppler/FontInfo.cc | 20 ++++++++++++-------- 2 files changed, 16 insertions(+), 8 deletions(-) commit a34688ee29e1cdfcbaca232cf005af55af87f796 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Mar 14 19:34:10 2006 +0000 * qt4/src/poppler-qt4.h: Fix compilation with gcc4.1, patch by Michael Olbrich ChangeLog | 5 +++++ qt4/src/poppler-qt4.h | 10 +++++----- 2 files changed, 10 insertions(+), 5 deletions(-) commit 1a90b3aaf6be4ca3ebb47e904842b1e14a0e8dfc Author: Albert Astals Cid <aacid@kde.org> Date: Sat Mar 11 15:19:02 2006 +0000 * poppler/FontInfo.cc: * poppler/FontInfo.h: Add getFile() function that returns the path of the font that is beign used in the system to represent that font * qt4/src/poppler-document.cc: * qt4/src/poppler-fontinfo.cc: * qt4/src/poppler-private.h: * qt4/src/poppler-qt4.h: Add the file() function * qt4/tests/poppler-fonts.cpp: Show the path of the font used to represent each font May be interesting to have in the other frontends ChangeLog | 13 +++++++++++++ poppler/FontInfo.cc | 10 ++++++++++ poppler/FontInfo.h | 2 ++ qt4/src/poppler-document.cc | 14 +------------- qt4/src/poppler-fontinfo.cc | 29 +++++++++-------------------- qt4/src/poppler-private.h | 29 +++++++++++++++++++++++++++++ qt4/src/poppler-qt4.h | 8 ++++++-- qt4/tests/poppler-fonts.cpp | 5 +++-- 8 files changed, 73 insertions(+), 37 deletions(-) commit 22b1618185ec70895ec644d9e590c266ff98c9db Author: Albert Astals Cid <aacid@kde.org> Date: Thu Mar 9 21:56:07 2006 +0000 Build with cairo disabled, patch by Eduardo de Barros Lima ChangeLog | 5 +++++ glib/Makefile.am | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 50ecfadab36a9769b09e4c2c1670d86448a0e1ee Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Feb 28 23:24:59 2006 +0000 2006-02-28 Kristian Høgsberg <krh@redhat.com> * configure.ac: Bump release to 0.5.1. * NEWS: Sum up 0.5.1 changes so far. * TextOutputDev.h: add getters for a couple of attributes. * glib/Makefile.am: * poppler/Makefile.am: Move cairo link dependency to glib bindings. ChangeLog | 11 +++++++++++ NEWS | 10 ++++++++++ configure.ac | 2 +- glib/Makefile.am | 11 ++++++----- poppler/Makefile.am | 19 ++++++++----------- poppler/TextOutputDev.h | 7 +++++-- qt/Makefile.am | 1 + test/Makefile.am | 16 +++++++++------- utils/Makefile.am | 29 +++++++++++++++++------------ 9 files changed, 68 insertions(+), 38 deletions(-) commit b9e951ac68b9977ab7217ad0346bcf46a3fa3dfe Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Feb 28 19:59:58 2006 +0000 2006-02-28 Kristian Høgsberg <krh@redhat.com> * goo/gmem.c: (gmalloc), (grealloc): * poppler/JBIG2Stream.cc: * poppler/Stream.cc: * poppler/Stream.h: * splash/SplashXPathScanner.cc: More integer overflow fixes from Derek Noonburg (#5922). ChangeLog | 10 ++++++++++ goo/gmem.c | 9 +++++---- poppler/JBIG2Stream.cc | 12 ++++++++++-- poppler/Stream.cc | 7 +++++++ poppler/Stream.h | 2 +- 5 files changed, 33 insertions(+), 7 deletions(-) commit 46db73a142d65a0c944910388d5971debc06ecbf Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Feb 28 18:31:59 2006 +0000 2006-02-28 Kristian Høgsberg <krh@redhat.com> * poppler/PSOutputDev.cc: Make PSOutputDev constructor respect passed in paper size (#5946, #5749). ChangeLog | 5 +++++ poppler/PSOutputDev.cc | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) commit 0f7f2182b2abe965b382937f5569b65a8828fc93 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Feb 28 18:25:00 2006 +0000 2006-02-28 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc (info_dict_get_string): Refactor _popper_goo_string_to_utf8() out into it's own function. * glib/poppler-page.cc (poppler_page_get_property): Use _popper_goo_string_to_utf8() here to convert ucs2 page labels. * glib/poppler-page.cc (poppler_page_get_selection_region): Add braces to fix warning. * poppler/PageLabelInfo.cc: If the label prefix string has a ucs2 marker, append the number part of the label as ucs2 (#5952). ChangeLog | 14 +++ glib/poppler-document.cc | 52 +++++------ glib/poppler-page.cc | 23 +++-- glib/poppler-private.h | 3 + glib/reference/tmpl/poppler-enums.sgml | 150 -------------------------------- glib/reference/tmpl/poppler-unused.sgml | 130 +++++++++++++++++++++++++++ glib/test-poppler-glib.c | 2 +- goo/GooString.cc | 5 ++ goo/GooString.h | 4 + poppler/PageLabelInfo.cc | 39 ++++++--- poppler/PageLabelInfo.h | 2 +- 11 files changed, 228 insertions(+), 196 deletions(-) commit 1bf83cdc8b75e1c76956ae643ee273e0b558fd08 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 25 12:30:30 2006 +0000 fix warning ChangeLog | 4 ++++ poppler/Object.cc | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) commit eb5642f396c8772c83b2cf27da437413b692c952 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Feb 23 22:26:05 2006 +0000 Don't build pdftoppm when splashoutput is disabled as it does not link ChangeLog | 5 +++++ utils/Makefile.am | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) commit 7c5c1361045429a429a6f40d936f8c7c01fe0d07 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Feb 18 20:17:00 2006 +0000 2006-02-18 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: * poppler/GfxState.cc: * poppler/GfxState.h: Add support for drawSoftMaskedImage to CairoOutputDev. Ugly but works. ChangeLog | 8 ++++ poppler/CairoOutputDev.cc | 101 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/CairoOutputDev.h | 6 +++ poppler/GfxState.cc | 50 +++++++++++++++++++++++ poppler/GfxState.h | 2 + 5 files changed, 167 insertions(+) commit dcb748f68112bd5f99fea8a3da06666be6cff0c5 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Feb 16 19:41:17 2006 +0000 2006-02-16 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Work around cairo bug when scaling 1x1 bitmaps. Fixes #3387. Also gives a performance improvement. ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 33 ++++++++++++++++++++++++--------- 2 files changed, 29 insertions(+), 9 deletions(-) commit ef1070f6ca2d1e74c5f94728f3aaae22f0990c17 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Feb 16 19:28:54 2006 +0000 Update soname ChangeLog | 8 ++++++++ glib/Makefile.am | 2 ++ poppler/Makefile.am | 2 ++ qt/Makefile.am | 2 ++ qt4/src/Makefile.am | 2 ++ 5 files changed, 16 insertions(+) commit 24b9f5c33fb00ff80a79b34444282a57288f636c Author: Albert Astals Cid <aacid@kde.org> Date: Mon Feb 13 23:04:54 2006 +0000 * poppler/ArthurOutputDev.cc: Make it compile after changing code so we did not pass files to freetype but buffers ChangeLog | 5 +++++ poppler/ArthurOutputDev.cc | 53 +++++++++++++++++----------------------------- 2 files changed, 24 insertions(+), 34 deletions(-) commit 0bda90310b267d3a4963096293eb2bd29b120768 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Feb 13 22:38:44 2006 +0000 Probably the last of inner patches missing from kpdf Everybody will we happy now, kpdf has been finally assimilated ChangeLog | 5 ++ poppler/PSOutputDev.cc | 124 +++++++++++++++++++++++++++++++++++++++++++++---- poppler/PSOutputDev.h | 4 +- 3 files changed, 123 insertions(+), 10 deletions(-) commit cf9867fbbee2468a955b5845016585eeedf2debe Author: Albert Astals Cid <aacid@kde.org> Date: Mon Feb 6 20:49:21 2006 +0000 Various fixes from Frank Meerkötter to enable fixedpoint arithmetic ChangeLog | 8 ++++++++ configure.ac | 2 +- goo/FixedPoint.h | 2 +- splash/Splash.cc | 4 ++-- splash/SplashTypes.h | 2 +- 5 files changed, 13 insertions(+), 5 deletions(-) commit f04e2c4f20f821ff8cb9465a715ccbb22091d449 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Feb 6 18:50:10 2006 +0000 Jeff Muizelaar's improvements to my yesterday's small patches ChangeLog | 6 ++++++ poppler/Annot.cc | 9 ++++----- poppler/JBIG2Stream.cc | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) commit 33e98f81cdfda0935ac7ea79a691976465ec790b Author: Albert Astals Cid <aacid@kde.org> Date: Sun Feb 5 15:46:10 2006 +0000 Some small fixes from kpdf ChangeLog | 8 ++++++++ poppler/Gfx.cc | 1 + poppler/GfxFont.cc | 1 + poppler/JBIG2Stream.cc | 2 +- poppler/SplashOutputDev.cc | 1 - 5 files changed, 11 insertions(+), 2 deletions(-) commit 6d9e6489d24b3105204ff4233f6493136e9b5715 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Feb 4 21:10:41 2006 +0000 2006-02-04 Jeff Muizelaar <jeff@infidigm.net> * poppler/Gfx.cc: * poppler/OutputDev.cc: * poppler/OutputDev.h: Let output devices know about pdf grouping operators. Patch by Thorkild Stray. ChangeLog | 8 ++++++++ poppler/Gfx.cc | 14 ++++++++++++++ poppler/OutputDev.cc | 16 ++++++++++++++++ poppler/OutputDev.h | 10 ++++++++++ 4 files changed, 48 insertions(+) commit b4e34d905cd0ca5815a450de35b4c2774f4887c9 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Feb 4 20:48:25 2006 +0000 2006-02-04 Jeff Muizelaar <jeff@infidigm.net> * poppler/GlobalParams.cc: Check all fonts returned by fontconfig. Discard the ones that are not truetype or type1. Fixes #5758. Patch by Ed Catmur. ChangeLog | 6 ++++++ poppler/GlobalParams.cc | 51 +++++++++++++++++++++++++++---------------------- 2 files changed, 34 insertions(+), 23 deletions(-) commit fd85a0afdd7b4cafc68df400d4f94fccaea18c76 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 4 20:34:13 2006 +0000 Remove bug from "do not use an external file to pass fonts to Freetype" patch, patch by Stefan Schweizer ChangeLog | 3 +++ poppler/SplashOutputDev.cc | 14 ++++++++++---- 2 files changed, 13 insertions(+), 4 deletions(-) commit 67ca9d01f8badcf542f60b23521c384c9840ca1b Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 4 20:31:00 2006 +0000 Added a DTD of the xml pdftohtml creates patch by Stefan Schweizer ChangeLog | 2 ++ utils/Makefile.am | 2 ++ utils/pdf2xml.dtd | 28 ++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+) commit f4df23ca7f396883a906f16dfc8db1ebd528e04a Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 4 20:24:03 2006 +0000 ignore++ utils/.cvsignore | 1 + 1 file changed, 1 insertion(+) commit 93ad488679f594e45547a67e2a7397f4c8bd2820 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Feb 4 20:07:07 2006 +0000 Actually create pdftoppm patch by Stefan Schweizer ChangeLog | 44 +++++++++++++++++++++++++------------------- utils/Makefile.am | 10 ++++++++-- utils/pdftoppm.cc | 9 +++++---- 3 files changed, 38 insertions(+), 25 deletions(-) commit 7d2be955e6345a052590b06b29a6d2fb2111e2e6 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Feb 2 23:06:20 2006 +0000 CVE-2006-0301 fix by Derek though KDE security team ChangeLog | 5 +++++ splash/SplashXPathScanner.cc | 32 ++++++++++++++++++++------------ 2 files changed, 25 insertions(+), 12 deletions(-) commit c191e7d0f13ea429017e4d4f79ce803e84c72e40 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Feb 2 22:54:27 2006 +0000 i should learn on which day i live ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ddeed60d07c3a7e011f3f594fa9299379d0b000 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Feb 2 22:50:01 2006 +0000 don't use files to pass fonts to freetype ChangeLog | 26 ++++++++++++ fofi/FoFiTrueType.cc | 43 ++++++++++++++++---- fofi/FoFiTrueType.h | 7 ++-- fofi/FoFiType1C.h | 2 +- goo/gfile.cc | 8 ++++ poppler/GfxFont.cc | 49 ++++++++++++++++++++++- poppler/GfxFont.h | 2 + poppler/GlobalParams.cc | 1 + poppler/GlobalParams.h | 1 + poppler/SplashOutputDev.cc | 94 ++++++++++++++++++++++---------------------- splash/SplashFTFontEngine.cc | 44 +++++++++++++-------- splash/SplashFTFontEngine.h | 16 ++++---- splash/SplashFTFontFile.cc | 47 +++++++++++++--------- splash/SplashFTFontFile.h | 18 ++++----- splash/SplashFontEngine.cc | 46 +++++++++------------- splash/SplashFontEngine.h | 16 ++++---- splash/SplashFontFile.cc | 70 +++++++++++++++++++++++++++++---- splash/SplashFontFile.h | 25 ++++++++++-- splash/SplashT1FontEngine.cc | 29 +++++++------- splash/SplashT1FontFile.cc | 30 +++++++++++--- splash/SplashT1FontFile.h | 4 +- 21 files changed, 396 insertions(+), 182 deletions(-) commit 34df4cfa5cd8788ccf2ea698cbedd05b209041f5 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Feb 1 03:52:12 2006 +0000 2006-01-31 Jeff Muizelaar <jeff@infidigm.net> * poppler/GlobalParams.cc (GlobalParams::getDisplayFont): Allow ttc fonts to be used. ChangeLog | 5 +++++ poppler/GlobalParams.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 0184e7c928ec60c0aa3f8634d96ae0cf0ad6d157 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Jan 29 05:16:31 2006 +0000 2006-01-28 Jeff Muizelaar <jeff@infidigm.net> * glib/poppler-attachment.h: fix compile by adding <time.h> include. Acked-by: Jonathan Blanford <jrb@redhat.com> ChangeLog | 5 +++++ glib/poppler-attachment.h | 1 + 2 files changed, 6 insertions(+) commit c805e25f2f074640e4345f8b71eef8d7de677109 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Jan 26 19:25:07 2006 +0000 2006-01-26 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDev.cc: Patch from Christian Krause; handle 0-width lines (#5545). ChangeLog | 5 +++++ poppler/CairoOutputDev.cc | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) commit 4f48abcd4c21460d4c5b718a7ba18cdceb30c2d1 Author: Jonathan Blandford <jrb@redhat.com> Date: Tue Jan 24 06:21:39 2006 +0000 Tue Jan 24 01:19:40 2006 Jonathan Blandford <jrb@redhat.com> * glib/Makefile.am: * glib/poppler-attachment.cc: * glib/poppler-attachment.h: * glib/poppler-document.cc: * glib/poppler-document.h: * glib/poppler-page.cc: * glib/poppler-private.h: * glib/poppler.h: * glib/test-poppler-glib.c: * glib/reference/tmpl/poppler-enums.sgml: * glib/reference/tmpl/poppler-unused.sgml: glib bindings for the embedded file support. It doesn't support mtime and ctime yet, but the rest works. ChangeLog | 16 +++ glib/Makefile.am | 2 + glib/poppler-attachment.cc | 223 ++++++++++++++++++++++++++++++++ glib/poppler-attachment.h | 67 ++++++++++ glib/poppler-document.cc | 63 +++++++++ glib/poppler-document.h | 6 + glib/poppler-page.cc | 2 +- glib/poppler-private.h | 6 +- glib/poppler.h | 1 + glib/reference/tmpl/poppler-enums.sgml | 150 +++++++++++++++++++++ glib/reference/tmpl/poppler-unused.sgml | 130 ------------------- glib/test-poppler-glib.c | 26 +++- 12 files changed, 559 insertions(+), 133 deletions(-) commit 052bf4b80c8a0dc45f6222617bfd8ae1b9c40410 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jan 23 18:52:48 2006 +0000 2006-01-23 Kristian Høgsberg <krh@redhat.com> * configure.ac: * poppler/GlobalParams.cc: * poppler/poppler-config.h.in: * utils/pdftohtml.cc: * utils/pdftops.cc: Respect command line paper size settings (#5641). Drop the built-in paper sizes. ChangeLog | 9 +++++++++ configure.ac | 1 - poppler/GlobalParams.cc | 23 ++--------------------- poppler/poppler-config.h.in | 5 ----- utils/pdftohtml.cc | 4 +--- utils/pdftops.cc | 4 +++- 6 files changed, 15 insertions(+), 31 deletions(-) commit fb2054a5031d60aac3ccc9a36b3ed88a32188e33 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jan 23 15:40:54 2006 +0000 2006-01-23 Kristian Høgsberg <krh@redhat.com> * glib/test-poppler-glib.c (print_document_info, print_index): Move variable declarations to top (#5692). * utils/*.cc: Move config.h #include to top of #include's (#5693). ChangeLog | 5 +++++ glib/test-poppler-glib.c | 5 +++-- poppler/FontInfo.cc | 2 +- utils/HtmlOutputDev.cc | 2 +- utils/ImageOutputDev.cc | 2 +- utils/pdffonts.cc | 2 +- utils/pdfimages.cc | 2 +- utils/pdfinfo.cc | 2 +- utils/pdftohtml.cc | 4 ++-- utils/pdftoppm.cc | 2 +- utils/pdftops.cc | 2 +- utils/pdftotext.cc | 2 +- 12 files changed, 19 insertions(+), 13 deletions(-) commit 836af3529e827e25f20cb4710cbbf9ed0371a42c Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jan 23 14:45:30 2006 +0000 2006-01-23 Kristian Høgsberg <krh@redhat.com> * splash/SplashFTFont.cc: Don't use deprecated freetype include files. ChangeLog | 5 +++++ splash/SplashFTFont.cc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 60e13bf84e4f020a264811e4a5bf85d67e15d6df Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Jan 21 21:56:40 2006 +0000 2006-01-21 Jeff Muizelaar <jeff@infidigm.net> * TODO: Add my todo list. ChangeLog | 4 ++++ TODO | 10 ++++++++++ 2 files changed, 14 insertions(+) commit cebba06563d1b691a8bbb83828e47c9cc91e231a Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 18 22:40:26 2006 +0000 ok, ok, lasts files, i promise :-/ qt4/tests/check_attachments.cpp | 151 ++++++++++++++++++++++++++++++++++++++ qt4/tests/poppler-attachments.cpp | 37 ++++++++++ 2 files changed, 188 insertions(+) commit 0b12e7cce6c6633b1d07e2902a9fa13ff52079e7 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 18 22:38:59 2006 +0000 YAMF = Yet Another Missing File qt4/src/poppler-embeddedfile.cc | 106 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) commit 38c8f3a53b3eb2be1fbfa360f77285037d89b719 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 18 22:36:01 2006 +0000 as usual i foget some files poppler/UGooString.cc | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/UGooString.h | 55 ++++++++++++++++++++++++++++++++ 2 files changed, 141 insertions(+) commit ad6e7d862c8fa6e10a7dbbb3391cbb0b6c922375 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 18 22:32:13 2006 +0000 Brad patch for embedded document extraction, only has Qt4 bindings for now, needs Qt3 and glib work ChangeLog | 42 +++++++++++++ glib/poppler-action.cc | 2 +- glib/poppler-document.cc | 1 + poppler/Annot.cc | 1 + poppler/Catalog.cc | 133 +++++++++++++++++++++++++++++++++++++++--- poppler/Catalog.h | 60 +++++++++++++++++-- poppler/Dict.cc | 17 +++--- poppler/Dict.h | 15 ++--- poppler/FontInfo.cc | 1 + poppler/Function.cc | 1 + poppler/Gfx.cc | 1 + poppler/GfxFont.cc | 5 +- poppler/GfxState.cc | 1 + poppler/Link.cc | 9 +-- poppler/Link.h | 9 +-- poppler/Makefile.am | 2 + poppler/Object.h | 17 +++--- poppler/Outline.cc | 1 + poppler/PDFDoc.cc | 1 + poppler/PDFDoc.h | 2 +- poppler/PSOutputDev.cc | 5 +- poppler/Page.cc | 1 + poppler/PageLabelInfo.cc | 1 + poppler/Parser.cc | 2 + poppler/SecurityHandler.cc | 1 + poppler/Stream.cc | 1 + poppler/XRef.cc | 1 + qt/poppler-document.cc | 1 + qt/poppler-page-transition.cc | 1 + qt4/src/Makefile.am | 1 + qt4/src/poppler-document.cc | 26 ++++++++- qt4/src/poppler-private.h | 2 + qt4/src/poppler-qt4.h | 68 +++++++++++++++++++++ qt4/tests/.cvsignore | 2 + qt4/tests/Makefile.am | 16 ++++- utils/HtmlOutputDev.cc | 1 + utils/pdffonts.cc | 1 + utils/pdfinfo.cc | 1 + utils/pdftohtml.cc | 1 + utils/pdftotext.cc | 1 + 40 files changed, 401 insertions(+), 54 deletions(-) commit 550fb0b617ece7951ec39aec5fa5504cc90022fc Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 18 21:22:12 2006 +0000 Add some more documentation to PageTransition, patch by Stefan Kebekus ChangeLog | 6 ++++++ qt/poppler-page-transition.h | 40 +++++++++++++++++++++++++++++++++------- qt4/src/Doxyfile | 2 +- 3 files changed, 40 insertions(+), 8 deletions(-) commit d66f3647ff1c38318d4cd056cb4d4c7a32eb6603 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jan 18 18:54:12 2006 +0000 poppler/CharCodeToUnicode.cc: Fix check for length that was not having into account that there could be \n or \r in tokens an that those do not have to be took into account. Fixes http://bugs.kde.org/show_bug.cgi?id=120310 ChangeLog | 9 ++++++++- poppler/CharCodeToUnicode.cc | 31 +++++++++++++++++++++++++++---- 2 files changed, 35 insertions(+), 5 deletions(-) commit d78b670339c8f92a32ab5f0a574d0e21690806f8 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 17 21:35:31 2006 +0000 When doing the parsing check with XREF we did not grow too much. Fixes serialata10a.pdf ChangeLog | 10 ++++++++++ poppler/Lexer.cc | 22 +++++++++++++++++++--- poppler/Lexer.h | 8 +++++--- poppler/Parser.cc | 6 +++--- poppler/Parser.h | 2 +- poppler/XRef.cc | 17 +++++++++++++++++ poppler/XRef.h | 3 +++ 7 files changed, 58 insertions(+), 10 deletions(-) commit f5db636af0cd6e05cd7ede37a8585001d51192a1 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 17 20:33:08 2006 +0000 i suck i suck i suck i suck i suck A file i forgot to add to make it compile :-/ qt/poppler-page-transition-private.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 9cc97908ea67ab431e58129f589e00f41f40a143 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Jan 12 23:54:08 2006 +0000 2006-01-12 Jeff Muizelaar <jeff@infidigm.net> * poppler/GlobalParams.cc: Make buildFcPattern() static. ChangeLog | 4 ++++ poppler/GlobalParams.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit c7ce134fb1dadb46e2b3773d0976ea31da0a046f Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Jan 11 16:52:58 2006 +0000 2006-01-11 Kristian Høgsberg <krh@redhat.com> * poppler/JBIG2Stream.cc: * poppler/Stream.cc: Merge patch to fix CVE-2005-3624, CVE-2005-3625 and CVE-2005-3627 issues. ChangeLog | 6 ++++++ poppler/JBIG2Stream.cc | 32 +++++++++++++++++++++++++++++++- poppler/Stream.cc | 8 +++++--- 3 files changed, 42 insertions(+), 4 deletions(-) commit ec7fb41725c19bc7f2aad1073fe6397ea0a8da0d Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jan 10 21:57:28 2006 +0000 * configure.ac: * m4/qt.m4: Fix bugs created when splitting the code from configure.ac, take QTDIR into account when looking for QtTestLib and do not die if it is not found as it is not mandatory * qt/poppler-page-transition.cc: * qt/poppler-page.cc: * qt/poppler-private.h: * qt4/tests/Makefile.am: * qt4/src/poppler-qt4.h: * qt4/src/poppler-page.cc: * qt4/src/Makefile.am: Fix mess created my the moving and renaming of PageTransition.cc ChangeLog | 15 +++++++++++++++ configure.ac | 14 ++++---------- m4/qt.m4 | 5 +++++ qt/poppler-page-transition.cc | 2 +- qt/poppler-page.cc | 1 + qt/poppler-private.h | 5 ----- qt4/src/Makefile.am | 1 + qt4/src/poppler-page.cc | 2 +- qt4/src/poppler-qt4.h | 2 +- qt4/tests/Makefile.am | 1 + 10 files changed, 30 insertions(+), 18 deletions(-) commit d9bc53a741b3bbd2a202662c66fe70f49ac72a49 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Jan 10 17:59:51 2006 +0000 2006-01-10 Kristian Høgsberg <krh@redhat.com> * splash/Makefile.am: Only install splash headers if --enable-xpdf-headers is given. * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Set this here. ChangeLog | 7 +++++++ Makefile.am | 1 + splash/Makefile.am | 4 ++++ 3 files changed, 12 insertions(+) commit ea6d9b97cec6fabf8a5005c565bbdb378bed7f54 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Tue Jan 10 17:55:59 2006 +0000 2006-01-10 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: Fix the following fixme in CairoOutputDevice. // FIXME: This is quite right yet, we need to accumulate all // glyphs within one text object before we clip. Right now this // just add this one string. The fix uses a strategy similar to the one the Splash backend. textClipPath is used to store the appended path from each call to endString(). The accumulated path is clipped in endTextObject. ChangeLog | 14 ++++++++++++++ poppler/CairoOutputDev.cc | 27 +++++++++++++++++++++++---- poppler/CairoOutputDev.h | 1 + 3 files changed, 38 insertions(+), 4 deletions(-) commit 9e8a655a2bd3ca8cff1a150dce0dd378aeca047b Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Jan 8 22:59:48 2006 +0000 2006-01-08 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Don't try and load type3 fonts (#4030). ChangeLog | 6 +++++- poppler/CairoOutputDev.cc | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) commit 25fd8e1ea87c41855a4ee702fbe47f5661a54c22 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Jan 8 22:51:17 2006 +0000 2006-01-08 Jeff Muizelaar <jeff@infidigm.net> * poppler/Page.cc: use colToByte for reading thumbnails (#5420). Patch by Nickolay V. Shmyrev. ChangeLog | 6 ++++++ poppler/Page.cc | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) commit df73ee2ec4b65ccf611f0fd76fb456cc797693d4 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Jan 7 06:10:15 2006 +0000 2006-01-07 Jeff Muizelaar <jeff@infidigm.net> * poppler/CairoOutputDev.cc: Initialize (fill|stroke)_opacity. ChangeLog | 4 ++++ poppler/CairoOutputDev.cc | 2 ++ 2 files changed, 6 insertions(+) commit 18eb8de66749082e4aa65cc6d369a533826fab33 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Jan 6 10:05:58 2006 +0000 2006-01-06 Kristian Høgsberg <krh@redhat.com> * qt/poppler-page.cc: * qt/poppler-private.h: * qt/poppler-qt.h: * qt4/src/Makefile.am: * qt/Makefile.am: * poppler/Makefile.am: Move PageTransition to qt bindings, move contents from Private.h to qt/poppler-private.h. * poppler/TextOutputDev.cc (visitWord): Remove #warning. * utils/Makefile.am (pdfimages_SOURCES): Add ImageOutputDev.h, use dist_man1_MANS so we actually dist the man pages. * goo/Makefile.am (poppler_goo_include_HEADERS): Add GooVector.h. * glib/reference/Makefile.am: DOC_SOURCE_DIR must be relative to $(srcdir), fix this to make distchek run. * m4/qt.m4: * m4/libjpeg.m4: * acinclude.m4: * configure.ac: Split out Qt and libjpeg checks from configure.ac and acinclude.m4 to m4/qt.m4 and m4/libjpeg.m4. ChangeLog | 26 ++++ acinclude.m4 | 112 ---------------- configure.ac | 223 +++----------------------------- glib/reference/Makefile.am | 2 +- glib/reference/tmpl/poppler-enums.sgml | 150 --------------------- glib/reference/tmpl/poppler-unused.sgml | 130 +++++++++++++++++++ goo/Makefile.am | 1 + m4/libjpeg.m4 | 109 ++++++++++++++++ m4/qt.m4 | 206 +++++++++++++++++++++++++++++ poppler/Makefile.am | 1 - poppler/PageTransition.h | 118 ----------------- poppler/Private.h | 30 ----- poppler/TextOutputDev.cc | 2 - qt/Makefile.am | 8 +- qt/poppler-page-transition.cc | 187 ++++++++++++++++++++++++++ qt/poppler-page-transition.h | 117 +++++++++++++++++ qt/poppler-page.cc | 1 - qt/poppler-private.h | 9 +- qt/poppler-qt.h | 2 +- qt4/src/Makefile.am | 8 +- utils/Makefile.am | 54 ++++++-- 21 files changed, 857 insertions(+), 639 deletions(-) commit 93921e77115ebe4d527f98675e438de485e84507 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 5 23:53:33 2006 +0000 * poppler/DCTStream.cc: Fix handling of malformed jpeg streams like the one at http://bugs.kde.org/show_bug.cgi?id=119569 Might be worth backporting to 0.4.x ChangeLog | 5 +++++ poppler/DCTStream.cc | 26 ++++++++++++++++---------- 2 files changed, 21 insertions(+), 10 deletions(-) commit 0dc16af02071350a0dc11af4106799378c99cdad Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jan 5 13:53:58 2006 +0000 Introduce variants of renderTo that return a QImage and do not use a QPixmap so threading is possible. ChangeLog | 8 +++++++ qt/poppler-page.cc | 18 ++++++++++----- qt/poppler-qt.h | 30 ++++++++++++++++++++----- qt4/src/poppler-page.cc | 9 +++++++- qt4/src/poppler-qt4.h | 59 +++++++++++++++++++++++++++---------------------- 5 files changed, 85 insertions(+), 39 deletions(-) commit 5c2cbf5d327c6cc75c073b56c3ab1748c0d24387 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jan 2 14:24:31 2006 +0000 Use error() instead std::cerr in PageTranstion.cc ChangeLog | 4 ++++ poppler/PageTransition.cc | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit da5a4233498b56df611e1c7bca0090306cb5dbe0 Author: Jonathan Blandford <jrb@redhat.com> Date: Mon Jan 2 00:06:45 2006 +0000 Sun Jan 1 18:50:51 2006 Jonathan Blandford <jrb@redhat.com> * Makefile.am: * autogen.sh: * configure.ac: * gtk-doc.make: * glib/Makefile.am: enable gtk-doc support. ChangeLog | 8 +++ Makefile.am | 2 + autogen.sh | 14 +++++ configure.ac | 4 ++ glib/Makefile.am | 1 + gtk-doc.make | 153 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ m4/gtk-doc.m4 | 53 +++++++++++++++++++ 7 files changed, 235 insertions(+) commit 372c34cc9728d7041bc4f6893c0bae50c9501c50 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 1 22:35:48 2006 +0000 * qt4/src/poppler-private.h: * qt4/src/poppler-page.cc: * qt4/src/poppler-document.cc: Don't create a SplashOutputDev for every splashRenderToPixmap ChangeLog | 4 ++++ qt4/src/poppler-document.cc | 1 - qt4/src/poppler-page.cc | 18 +++++------------- qt4/src/poppler-private.h | 24 +++++++++++++++++++++++- 4 files changed, 32 insertions(+), 15 deletions(-) commit 6ff83474ac594368015334db9c6b33d3a552079f Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jan 1 22:18:47 2006 +0000 * qt/poppler-page.cc: * qt/poppler-private.h: Don't create a SplashOutputDev for every renderToPixmap. ChangeLog | 6 ++++++ qt/poppler-page.cc | 8 +------- qt/poppler-private.h | 24 +++++++++++++++++++++++- 3 files changed, 30 insertions(+), 8 deletions(-) commit 6942646d4c82327a80b021838a38aa55c1026883 Author: Jonathan Blandford <jrb@redhat.com> Date: Sun Jan 1 20:34:36 2006 +0000 Sun Jan 1 15:32:08 2006 Jonathan Blandford <jrb@redhat.com> * glib/reference/*: More gtk-doc work. Not enabled for building by default, but filled in. .cvsignore | 1 + ChangeLog | 5 + glib/reference/.cvsignore | 18 ++ glib/reference/Makefile.am | 87 +++++++ glib/reference/poppler-docs.sgml | 17 ++ glib/reference/poppler-overrides.txt | 0 glib/reference/poppler-sections.txt | 151 ++++++++++++ glib/reference/poppler.types | 4 + glib/reference/tmpl/poppler-action.sgml | 172 +++++++++++++ glib/reference/tmpl/poppler-document.sgml | 354 +++++++++++++++++++++++++++ glib/reference/tmpl/poppler-enums.sgml | 169 +++++++++++++ glib/reference/tmpl/poppler-page.sgml | 243 ++++++++++++++++++ glib/reference/tmpl/poppler-private.sgml | 128 ++++++++++ glib/reference/tmpl/poppler-unused.sgml | 0 glib/reference/tmpl/poppler.sgml | 216 ++++++++++++++++ glib/reference/tmpl/stamp-poppler-enums.sgml | 19 ++ 16 files changed, 1584 insertions(+) commit 0fab1b711f153859e113cb3b6d734ddcb58fb87a Author: Jonathan Blandford <jrb@redhat.com> Date: Sat Dec 31 02:10:33 2005 +0000 Fri Dec 30 21:08:33 2005 Jonathan Blandford <jrb@redhat.com> * glib/*{cc,h}: Update inline doc comments. This is in preparation for gtk-doc support. ChangeLog | 5 ++ glib/poppler-action.cc | 14 +++++ glib/poppler-action.h | 2 - glib/poppler-document.cc | 151 ++++++++++++++++++++++++++++++++++++++++++++++- glib/poppler-document.h | 4 +- glib/poppler-page.cc | 28 +++++++++ glib/poppler.cc | 16 +++++ glib/test-poppler-glib.c | 29 +++++++++ 8 files changed, 243 insertions(+), 6 deletions(-) commit 313530036b204eaa5ddfa150730302e855560d6a Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 30 22:54:46 2005 +0000 A delete that slipped from the last patch-commit qt4/src/poppler-page.cc | 1 + 1 file changed, 1 insertion(+) commit cf6f8123af19aca4200b58a454652f68ce8132e2 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 30 22:31:32 2005 +0000 Puting PageTransition implementation into poppler "core", both Qt and Qt4 frontends use it. poppler/Makefile.am | 1 + poppler/PageTransition.cc | 188 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/PageTransition.h | 118 +++++++++++++++++++++++++++++ poppler/Private.h | 30 ++++++++ qt/Makefile.am | 2 +- qt/poppler-page.cc | 111 +-------------------------- qt/poppler-qt.h | 72 +----------------- qt4/src/Makefile.am | 2 +- qt4/src/poppler-page.cc | 17 ++++- qt4/src/poppler-qt4.h | 14 +++- 10 files changed, 374 insertions(+), 181 deletions(-) commit 56035ab199ac6deb5c1e07e745d120d1121a5960 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Dec 30 21:59:58 2005 +0000 * utils/HtmlOutputDev.cc: * utils/ImageOutputDev.cc: Fix build when using --disable-libjpeg ChangeLog | 5 +++++ utils/HtmlOutputDev.cc | 2 ++ utils/ImageOutputDev.cc | 2 ++ 3 files changed, 9 insertions(+) commit 8b64dafc7f1d198fb0052c0d6f0da6de97bbb48d Author: Brad Hards <bradh@frogmouth.net> Date: Wed Dec 28 09:23:43 2005 +0000 Plug a few memory leaks in the Qt4 bindings. ChangeLog | 25 ++++++++++++++++++++ qt4/src/poppler-document.cc | 3 +++ qt4/src/poppler-private.h | 7 +++++- qt4/src/poppler-qt4.h | 3 +++ qt4/tests/check_fonts.cpp | 8 +++++++ qt4/tests/check_metadata.cpp | 50 +++++++++++++++++++++++++++++++++++----- qt4/tests/check_pagelayout.cpp | 6 +++++ qt4/tests/check_pagemode.cpp | 10 ++++++++ qt4/tests/check_permissions.cpp | 2 ++ qt4/tests/check_version.cpp | 22 ------------------ qt4/tests/poppler-fonts.cpp | 1 + qt4/tests/stress-poppler-qt4.cpp | 2 ++ 12 files changed, 110 insertions(+), 29 deletions(-) commit 64c07a20a4ed844f3b3dd26e974f58d5877cf9fd Author: Brad Hards <bradh@frogmouth.net> Date: Tue Dec 27 06:10:01 2005 +0000 qt4/src/poppler-qt4.h and qt4/src/poppler-document.cc: add convertDate() function that turns char* PDF date strings into QDateTime. This version handles the timezone conversions. Refactored the existing date() method to use it. qt4/tests/check_dateConversion.cpp: unit tests for convertDate() qt4/tests/check_metadata.cpp: update to reflect UTC. qt4/tests/.cvsignore: suppress check_dateConversion ChangeLog | 9 ++++ qt4/src/poppler-document.cc | 89 ++++++++++++++++++++----------- qt4/src/poppler-qt4.h | 5 ++ qt4/tests/.cvsignore | 1 + qt4/tests/Makefile.am | 11 ++-- qt4/tests/check_dateConversion.cpp | 105 +++++++++++++++++++++++++++++++++++++ qt4/tests/check_metadata.cpp | 4 +- 7 files changed, 188 insertions(+), 36 deletions(-) commit 4b2e3b5106b75f23c830837a886cd29beb1d1d1b Author: Brad Hards <bradh@frogmouth.net> Date: Tue Dec 27 05:08:34 2005 +0000 * qt4/src/Doxyfile (JAVADOC_AUTOBRIEF): Turned on automatic \brief mode. * qt4/src/poppler-qt4.h: Update API documentation. Patch from Stefan Kebekus, with some changes. Removed \brief entries. ChangeLog | 8 +++++ qt4/src/Doxyfile | 2 +- qt4/src/poppler-qt4.h | 81 ++++++++++++++++++++++++++++++++++++++++----------- 3 files changed, 73 insertions(+), 18 deletions(-) commit 8d9cf43aaa73d5012428a6a4c5d7e2cccbd3036e Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Dec 21 22:09:47 2005 +0000 2005-12-21 Kristian Høgsberg <krh@redhat.com> * NEWS: Sum up 0.5 changes so far. * acinclude.m4: Split jpeg macros out into this file. * poppler/Stream.cc: Apply latest CVE-2005-3191 updates. ChangeLog | 8 ++++ NEWS | 8 ++++ acinclude.m4 | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 114 --------------------------------------------------- poppler/JPXStream.cc | 1 + poppler/Stream.cc | 11 +++-- 6 files changed, 137 insertions(+), 117 deletions(-) commit 97243286560cb4f264b875185c8768a6af09d554 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Dec 21 17:30:33 2005 +0000 2005-12-21 Kristian Høgsberg <krh@redhat.com> * utils/Makefile.am: Add parseargs.h to sources and add -I$(top_srcdir)/poppler to INCLUDES. * poppler/CairoFontEngine.cc: Apply patch from Hiroyuki Ikezoe to man non-embedded CJK fonts work. ChangeLog | 14 ++++++++++--- configure.ac | 2 +- poppler/CairoFontEngine.cc | 52 +++++++++++++++++++++++++++++++++++++++++----- utils/Makefile.am | 15 +++++++------ 4 files changed, 68 insertions(+), 15 deletions(-) commit cf887a9a9fae7272165d3aae05c85444ff5ca604 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 18 22:03:30 2005 +0000 * poppler/Page.cc: Only discard cropbox sizes one by one and not completely. Jeff and Martin were right ChangeLog | 2 ++ poppler/Page.cc | 13 ++++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) commit 495890b9cef9d5d61bb47e789add1cf2c3b8f83d Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 18 21:56:15 2005 +0000 + .cvsignore utils/.cvsignore | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 5dca860bba6918e06fab3aa56a2c75f0ac9ecdfb Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 18 21:08:48 2005 +0000 Fix utils building on Slackware ChangeLog | 3 +++ configure.ac | 3 +++ utils/Makefile.am | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) commit 03e3d9164ffd71f03136b57a9941ea14fadb21aa Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 18 17:12:28 2005 +0000 2005-12-18 Albert Astals Cid <aacid@kde.org> * configure.ac: Better jpeg detection, refer to ml PCbsd problem ChangeLog | 4 ++ configure.ac | 131 +++++++++++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 118 insertions(+), 17 deletions(-) commit 888d76a29c9c5ea6c90cc4299b230ca0c2c2944f Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 12 20:21:08 2005 +0000 * poppler/Page.cc: Ignore cropBox if it seems incorrect ChangeLog | 4 ++++ poppler/Page.cc | 7 +++++++ 2 files changed, 11 insertions(+) commit bcc5e3afe27c8787ce7022a0701997c96eddb4fe Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Dec 12 20:15:11 2005 +0000 2005-12-12 Kristian Høgsberg <krh@redhat.com> * Makefile.am: * configure.ac: * goo/GooVector.h: * utils/HtmlFonts.cc: * utils/HtmlFonts.h: * utils/HtmlLinks.cc: * utils/HtmlLinks.h: * utils/HtmlOutputDev.cc: * utils/HtmlOutputDev.h: * utils/ImageOutputDev.cc: * utils/ImageOutputDev.h: * utils/Makefile.am: * utils/parseargs.c: * utils/parseargs.h: * utils/pdffonts.1: * utils/pdffonts.cc: * utils/pdfimages.1: * utils/pdfimages.cc: * utils/pdfinfo.1: * utils/pdfinfo.cc: * utils/pdftohtml.1: * utils/pdftohtml.cc: * utils/pdftoppm.1: * utils/pdftoppm.cc: * utils/pdftops.1: * utils/pdftops.cc: * utils/pdftotext.1: * utils/pdftotext.cc: Add command line utilities from xpdf. ChangeLog | 31 + Makefile.am | 6 +- configure.ac | 25 +- goo/GooVector.h | 101 +++ utils/HtmlFonts.cc | 326 ++++++++++ utils/HtmlFonts.h | 85 +++ utils/HtmlLinks.cc | 101 +++ utils/HtmlLinks.h | 49 ++ utils/HtmlOutputDev.cc | 1569 +++++++++++++++++++++++++++++++++++++++++++++++ utils/HtmlOutputDev.h | 302 +++++++++ utils/ImageOutputDev.cc | 195 ++++++ utils/ImageOutputDev.h | 76 +++ utils/Makefile.am | 18 + utils/parseargs.c | 190 ++++++ utils/parseargs.h | 71 +++ utils/pdffonts.1 | 128 ++++ utils/pdffonts.cc | 294 +++++++++ utils/pdfimages.1 | 96 +++ utils/pdfimages.cc | 159 +++++ utils/pdfinfo.1 | 157 +++++ utils/pdfinfo.cc | 376 ++++++++++++ utils/pdftohtml.1 | 85 +++ utils/pdftohtml.cc | 429 +++++++++++++ utils/pdftoppm.1 | 113 ++++ utils/pdftoppm.cc | 189 ++++++ utils/pdftops.1 | 224 +++++++ utils/pdftops.cc | 336 ++++++++++ utils/pdftotext.1 | 135 ++++ utils/pdftotext.cc | 337 ++++++++++ 29 files changed, 6194 insertions(+), 9 deletions(-) commit 5fbded32741acb5fac411189f80cb57aa11df517 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Dec 10 10:52:15 2005 +0000 * qt4/src/poppler-page.cc: * qt4/src/poppler-qt4.h: * qt4/src/tests/test-poppler-qt4.cpp: The parameters x,y,w,h to the method splashRenderToPixmap are now used. Convenient defaults are provided. The test has been changed accordingly. Some added documentation. Patch by Stefan Kebekus ChangeLog | 9 +++++++++ qt4/src/poppler-page.cc | 4 ++-- qt4/src/poppler-qt4.h | 31 +++++++++++++++++++++++-------- qt4/tests/test-poppler-qt4.cpp | 2 +- 4 files changed, 35 insertions(+), 11 deletions(-) commit bc6df8c41081c0c0107655cbf70ddb8b0c493c34 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Dec 9 20:49:59 2005 +0000 2005-12-09 Kristian Høgsberg <krh@redhat.com> * poppler/GfxState.cc: Use colToByte() for converting GxfColorComp to bytes (really fix #5117). * poppler/Stream.cc: Remove duplicated check (#5243). ChangeLog | 5 +++++ poppler/GfxState.cc | 6 +++--- poppler/Stream.cc | 4 ---- 3 files changed, 8 insertions(+), 7 deletions(-) commit 8a2464122455311c6d16ae62bb9ac9a0ae365a28 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Dec 9 19:40:40 2005 +0000 2005-12-09 Kristian Høgsberg <krh@redhat.com> * configure.ac: * poppler/Makefile.am (poppler_includedir): * goo/Makefile.am (poppler_goo_include_HEADERS): Make installation of xpdf header files optional. ChangeLog | 10 +++++++++- configure.ac | 8 ++++++++ goo/Makefile.am | 4 ++++ poppler/Makefile.am | 4 ++++ 4 files changed, 25 insertions(+), 1 deletion(-) commit 830b61bfd1c985fe14ec4d0f6724c8f70e924fc1 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 8 18:17:42 2005 +0000 * configure.ac: Detect if gettimeofday is available, fixes for correct linking to Qt4 on windows * goo/GooTimer.[cc|h]: Only build if gettimeofday is available * poppler/Gfx.cc: Only use the timer for profiling if gettimeofday is available * poppler/GlobalParams.cc: Remove extra unlockGlobalParams that was making windows hang * splash/SplashFTFontEngine.cc: i need unistd.h on windows also * splash/SplashFontFile.cc: i need unistd.h on windows also ChangeLog | 12 ++++++++++++ configure.ac | 14 +++++++++++++- goo/GooTimer.cc | 3 +++ goo/GooTimer.h | 4 ++++ poppler/Gfx.cc | 6 ++++++ poppler/GlobalParams.cc | 1 - splash/SplashFTFontEngine.cc | 4 +--- splash/SplashFontFile.cc | 4 +--- 8 files changed, 40 insertions(+), 8 deletions(-) commit 0a1c33ed17fd7053ed455da3444856a5dab3c9b4 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 8 12:42:50 2005 +0000 Remove -DDATADIR we are not using if for anything and it shadows a windows typedef ChangeLog | 8 ++++++++ glib/Makefile.am | 3 +-- poppler/Makefile.am | 3 +-- qt/Makefile.am | 3 +-- test/Makefile.am | 3 +-- 5 files changed, 12 insertions(+), 8 deletions(-) commit adca042e666fd932f16213d0a4daba08b5021901 Author: Brad Hards <bradh@frogmouth.net> Date: Wed Dec 7 08:42:21 2005 +0000 Remove the version check. OK'd by krh. ChangeLog | 2 ++ poppler/PDFDoc.cc | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) commit bc57f8dd73eef9a74e4a6e248ed6985c360db838 Author: Brad Hards <bradh@frogmouth.net> Date: Wed Dec 7 08:31:09 2005 +0000 Add infoKeys() - allows you to get a list of all the string names (keys) for the metadata. ChangeLog | 7 +++++++ qt4/src/poppler-document.cc | 22 ++++++++++++++++++++++ qt4/src/poppler-qt4.h | 7 +++++++ qt4/tests/check_metadata.cpp | 18 ++++++++++++++++++ 4 files changed, 54 insertions(+) commit 7ec41df91e6dbf792e11676d929acc2f634bd382 Author: Brad Hards <bradh@frogmouth.net> Date: Tue Dec 6 09:58:04 2005 +0000 Add more unit tests for better coverage. ChangeLog | 6 ++++ qt4/tests/check_fonts.cpp | 24 ++++++++++++++++ qt4/tests/check_metadata.cpp | 66 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+) commit a92b10016306ac46775c9b95b52d249b233ff950 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Dec 5 20:46:22 2005 +0000 * poppler/CairoFontEngine.cc: Correct fix for #5149, i broke it when merging xpdf 3.01 patches ChangeLog | 5 +++++ poppler/CairoFontEngine.cc | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) commit 66096477d1a86f13fcb07ae25caff1cc02b1e7cd Author: Brad Hards <bradh@frogmouth.net> Date: Sun Dec 4 19:48:25 2005 +0000 Add checking for Type3 fonts in the unit test. ChangeLog | 5 +++++ qt4/tests/check_fonts.cpp | 24 ++++++++++++++++++++++++ 2 files changed, 29 insertions(+) commit 62345b0affed8e2e37728fca7f2b750879192c43 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 4 18:53:40 2005 +0000 Fix error in merging CAN-2005-3193 fix. Thanks Daniel Gryniewicz for notifying ChangeLog | 5 +++++ poppler/JPXStream.cc | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) commit ba4b3f88271892f197aa2ec076c80ff63a175887 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Dec 4 11:30:00 2005 +0000 * qt/poppler-qt.h: * qt/poppler-fontinfo.h: * qt4/src/poppler-qt4.h: * qt4/src/poppler-fontinfo.cc: Implement copy constructor of FontInfo needed as Q[Value]List<FontInfo> uses it when appending ChangeLog | 8 ++++++++ qt/poppler-fontinfo.cc | 9 +++++++++ qt/poppler-qt.h | 2 ++ qt4/src/poppler-fontinfo.cc | 9 +++++++++ qt4/src/poppler-qt4.h | 2 ++ 5 files changed, 30 insertions(+) commit e091231d98d12c19b0098ffbaec6ecda28097dff Author: Brad Hards <bradh@frogmouth.net> Date: Sun Dec 4 10:45:25 2005 +0000 Add new unit test to .cvsignore suppressions. ChangeLog | 2 ++ qt4/tests/.cvsignore | 1 + 2 files changed, 3 insertions(+) commit 6a7b1eaaedbfdd3a8e6b4d899477350f2b485641 Author: Brad Hards <bradh@frogmouth.net> Date: Sun Dec 4 10:05:21 2005 +0000 * qt4/src/poppler-qt4.h: qt4/src/fontinfo.cc: add implementation for FontInfo::typeName() * qt4/tests/check_fonts.cpp: * qt4/tests/Makefile.am: add unit test for fonts * qt4/src/Mainpage.dox: Minor typo fixes. ChangeLog | 11 +++++++++++ qt4/src/Mainpage.dox | 5 +++-- qt4/src/poppler-fontinfo.cc | 24 ++++++++++++++++++++++++ qt4/src/poppler-qt4.h | 14 +++++++++++++- qt4/tests/Makefile.am | 5 +++++ qt4/tests/check_fonts.cpp | 42 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 98 insertions(+), 3 deletions(-) commit 31b28b4c59f7820901e9cf893197f381acbae8ce Author: Kristian Høgsberg <krh@redhat.com> Date: Sun Dec 4 02:24:25 2005 +0000 2005-12-03 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_set_selection_alpha): Use Nickolays original fix instead of trying to be clever with gdk_pixbuf_fill(). * poppler/CairoFontEngine.cc: Fix text corruption bug (#5149), a rerun of an old classic (#3340). ChangeLog | 7 +++++++ glib/poppler-page.cc | 8 +++++++- poppler/CairoFontEngine.cc | 2 ++ 3 files changed, 16 insertions(+), 1 deletion(-) commit 4d169c5c345cdac84a39026e759b928977643417 Author: Kristian Høgsberg <krh@redhat.com> Date: Sun Dec 4 01:42:29 2005 +0000 2005-12-03 Kristian Høgsberg <krh@redhat.com> * poppler/GfxState.cc: Fixing another problem with new GfxRGB representation causing images to show up as random pixels (#5117). ChangeLog | 5 +++++ poppler/GfxState.cc | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit 58de0458e17b1639ce0bcae45a4b09b2c0a56618 Author: Kristian Høgsberg <krh@redhat.com> Date: Sat Dec 3 23:23:53 2005 +0000 2005-12-03 Kristian Høgsberg <krh@redhat.com> * qt/Makefile.am (noinst_PROGRAMS): Only build qt test program if splash is enabled. * poppler/CairoOutputDev.cc: Remove unused grid snapping code, sidestepping #4507. * glib/poppler-document.h (PopplerPermissions): Breaking enum definition over multiple lines confuses glib-mkenums (#4600). * poppler/Makefile.am (libpoppler_la_LIBADD): Add FREETYPE_LIBS (#4515). * poppler/TextOutputDev.cc: * qt/poppler-qt.h: GCC-4.1 fixes (#5031). ChangeLog | 17 +++++++++++++++++ glib/poppler-document.h | 5 +---- poppler/CairoOutputDev.cc | 35 +++++++++-------------------------- poppler/CairoOutputDev.h | 2 +- poppler/Makefile.am | 3 ++- poppler/TextOutputDev.cc | 2 +- qt/Makefile.am | 4 ++++ qt/poppler-qt.h | 6 +++--- 8 files changed, 38 insertions(+), 36 deletions(-) commit df45483f1437d8a96519e1428d1f4b3ffc08c2cd Author: Albert Astals Cid <aacid@kde.org> Date: Sat Dec 3 22:39:06 2005 +0000 remove another chagne should not have gone in test/pdf-inspector.cc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 7dfe02ee112dee51346525b62d877e6591135761 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Dec 3 22:28:46 2005 +0000 Add the font retrieveing on the qt3 backend also, based on a patch by Wilfried Huss ChangeLog | 3 ++ qt/poppler-fontinfo.cc | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) commit 655b9dd195ac9faf2f7ea0255880b8c83b249a06 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Dec 3 22:26:07 2005 +0000 this should have not went in poppler/TextOutputDev.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit ab45eb562159d5b006e658ec66723a0a47908f65 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Dec 3 22:20:54 2005 +0000 * qt4/src/poppler-qt4.h: * qt4/src/poppler-fontinfo.cc: * qt4/src/poppler-textbox.cc: Remove implementation of that classes from the header, use pimpl ChangeLog | 9 ++++- poppler/TextOutputDev.h | 10 +++--- qt/Makefile.am | 1 + qt/poppler-document.cc | 29 ++++++++++++++++ qt/poppler-private.h | 2 ++ qt/poppler-qt.h | 80 ++++++++++++++++++++++++++++++++++++++++++++- qt4/src/Makefile.am | 2 ++ qt4/src/poppler-fontinfo.cc | 69 ++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-qt4.h | 43 ++++++++++-------------- qt4/src/poppler-textbox.cc | 49 +++++++++++++++++++++++++++ test/pdf-inspector.cc | 9 +++-- 11 files changed, 268 insertions(+), 35 deletions(-) commit 64079ad81caf6d2cf66b1f3a3de9454146e15c6c Author: Kristian Høgsberg <krh@redhat.com> Date: Sat Dec 3 21:55:36 2005 +0000 2005-12-03 Kristian Høgsberg <krh@redhat.com> Fixes from Nickolay V. Shmyrev: * poppler/TextOutputDev.cc (TextLine::visitSelection, TextBlock::visitSelection): Fix selection crash with zero-width word boxes or zero-height line boxes (#4402). * poppler/CairoOutputDev.h: Fix wrong cairo-ft.h include (#4413). * poppler/CairoOutputDev.cc (eoFill, fill): * glib/poppler-page.cc (poppler_page_render_selection): Update to work with new GfxColor definition and use cairo_pattern_create_rgba() to cache cairo_pattern_t's for the fill and stroke colors. * glib/poppler-page.cc (poppler_page_set_selection_alpha): Zero out pixbuf first. ChangeLog | 21 +++++++++++++++++ glib/poppler-page.cc | 18 +++++++++------ poppler/CairoOutputDev.cc | 59 ++++++++++++++++++++++++++++++++++------------- poppler/CairoOutputDev.h | 6 ++--- poppler/TextOutputDev.cc | 8 +++---- 5 files changed, 82 insertions(+), 30 deletions(-) commit f3da21a3ecdd2694290e64af86c8e35fcb61371b Author: Albert Astals Cid <aacid@kde.org> Date: Sat Dec 3 21:35:45 2005 +0000 More docs for the Qt4 frontend, patch by Stefan Kebekus ChangeLog | 8 ++++ qt4/src/.cvsignore | 3 +- qt4/src/Doxyfile | 4 +- qt4/src/Mainpage.dox | 91 ++++++++++++++++++++++++++++++++++++++++++ qt4/src/poppler-page.cc | 20 +++------- qt4/src/poppler-qt4.h | 57 ++++++++++++++++++-------- qt4/tests/test-poppler-qt4.cpp | 5 ++- 7 files changed, 151 insertions(+), 37 deletions(-) commit 7b2c6e92611db9350ca5dcaf3fd730fe5e69afea Author: Albert Astals Cid <aacid@kde.org> Date: Thu Dec 1 22:45:10 2005 +0000 Fix CAN-2005-3193 related bugs Thanks Leonard for reporting ChangeLog | 6 ++++++ poppler/JPXStream.cc | 9 ++++++++- poppler/Stream.cc | 33 ++++++++++++++++++++++++++++++++- poppler/Stream.h | 3 +++ 4 files changed, 49 insertions(+), 2 deletions(-) commit a90f076af9ebb188895e7b223bcb7e5c3f4309c4 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Nov 28 22:50:19 2005 +0000 Fix QPixmap contents generation messed when doing the xpdf 3.01 transition in qt4 frontend Use Splash backend by default in the qt4 test, added -arthur option to use the Arthur backend ChangeLog | 12 ++++++++-- qt4/src/poppler-page.cc | 47 ++++++++++++++++++++++++++++--------- qt4/src/poppler-qt4.h | 17 ++++++++++---- qt4/tests/test-poppler-qt4.cpp | 53 ++++++++++++++++++++++++++---------------- 4 files changed, 91 insertions(+), 38 deletions(-) commit b7e4f0e7d175abde7fafb1fcc7ba129468bc8c1a Author: Brad Hards <bradh@frogmouth.net> Date: Sun Nov 27 01:33:51 2005 +0000 Convert Qt4 unit tests to use the new Qt4.1 QTestlib framework. Add a little more API documentation ChangeLog | 7 +++++ qt4/src/poppler-qt4.h | 11 +++++--- qt4/tests/Makefile.am | 12 ++++++--- qt4/tests/check_metadata.cpp | 58 ++++++++++++++++++++--------------------- qt4/tests/check_pagelayout.cpp | 14 +++++----- qt4/tests/check_pagemode.cpp | 22 ++++++++-------- qt4/tests/check_permissions.cpp | 18 ++++++------- 7 files changed, 78 insertions(+), 64 deletions(-) commit d036fa022dbb6f4421ccc8b12b8f9e4f0c8d7406 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Nov 25 22:52:56 2005 +0000 patch from kebekus to add to the qt4 binding the same functions we added to the qt3 one ChangeLog | 5 +++++ qt4/src/poppler-page.cc | 44 ++++++++++++++++++++++++++++++++++++++++++-- qt4/src/poppler-qt4.h | 22 ++++++++++++++++++++++ 3 files changed, 69 insertions(+), 2 deletions(-) commit 3c9f09d76dc70e4ba766930facee8b6f30bcd2da Author: Albert Astals Cid <aacid@kde.org> Date: Tue Nov 22 21:50:44 2005 +0000 Fix page range in the inspector ChangeLog | 4 ++++ test/pdf-inspector.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit e64f63416dbce497cb2167272b95491664f213e8 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Nov 21 22:12:15 2005 +0000 PAtch to add some more functions to the qt binding by Stefan Kebekus ChangeLog | 5 ++++ qt/poppler-page.cc | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++- qt/poppler-qt.h | 41 ++++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+), 1 deletion(-) commit 8bd8cb4160b73da69d058783750352fbface66dc Author: Albert Astals Cid <aacid@kde.org> Date: Mon Nov 21 19:44:09 2005 +0000 Fix a possible build problem ChangeLog | 4 ++++ qt/Makefile.am | 1 + 2 files changed, 5 insertions(+) commit fc59b79dc375544681032a1618e96c458515d724 Author: Kristian Høgsberg <krh@redhat.com> Date: Sun Nov 20 23:17:32 2005 +0000 2005-11-20 Kristian Høgsberg <krh@redhat.com> * poppler/GfxState.cc: Fix the byte_lookup initialization broken by the merges (#4350). Modify GfxColorSpace::getRGBLine() to work with new GfXColor type. ChangeLog | 13 +++++++++++- poppler/GfxState.cc | 59 +++++++++++++++++++++++++++++++---------------------- 2 files changed, 47 insertions(+), 25 deletions(-) commit 6fe2cb0fcd53211143dcd0c47bf8c8c7a8c11a39 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Nov 17 21:37:34 2005 +0000 make it compile with freetype 2.2.0 preversions ChangeLog | 4 ++++ splash/SplashFTFont.cc | 42 +++++++++++++++++++++++++++++++++++++----- 2 files changed, 41 insertions(+), 5 deletions(-) commit 429d3521d788be702a3944bc290569f90ae04892 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Nov 4 19:03:55 2005 +0000 Make it compile using --disable-cairo-output ChangeLog | 4 ++++ glib/poppler-document.cc | 6 ++++-- glib/poppler-page.cc | 27 +++++++++++++-------------- 3 files changed, 21 insertions(+), 16 deletions(-) commit b96c118eb08d478914c2981204d749a95957cbb3 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Nov 1 15:29:32 2005 +0000 Comment some unused parameters to calm down compiler warnings when using these heders on external projects with higher warning verbosity ChangeLog | 5 +++ poppler/OutputDev.h | 125 ++++++++++++++++++++++++++-------------------------- poppler/Stream.h | 24 +++++----- 3 files changed, 80 insertions(+), 74 deletions(-) commit 51670972777510a3ec64a56649716b31167b9d0e Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 30 20:29:05 2005 +0000 Last xpdf 3.01 merge (at least from my side) It's very big, but noone has opposed in the 2 weeks time i gave on the ml so either poppler is dead or people agree with the patch ChangeLog | 39 + glib/poppler-page.cc | 32 +- poppler/ArthurOutputDev.cc | 2 +- poppler/ArthurOutputDev.h | 2 +- poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 2 +- poppler/Gfx.cc | 645 +++++++++-- poppler/Gfx.h | 17 +- poppler/GfxState.cc | 1410 ++++++++++++++++++++--- poppler/GfxState.h | 196 +++- poppler/OutputDev.cc | 25 + poppler/OutputDev.h | 46 +- poppler/PDFDoc.cc | 98 +- poppler/PDFDoc.h | 24 +- poppler/PSOutputDev.cc | 1461 ++++++++++++++++++++---- poppler/PSOutputDev.h | 48 +- poppler/Page.cc | 115 +- poppler/Page.h | 23 +- poppler/SplashOutputDev.cc | 1525 ++++++++++++++++++++++--- poppler/SplashOutputDev.h | 59 +- poppler/TextOutputDev.cc | 230 ++-- poppler/TextOutputDev.h | 16 +- qt/poppler-page.cc | 34 +- qt4/src/poppler-page.cc | 31 +- splash/Splash.cc | 2656 +++++++++++++++++++++++++++++++++----------- splash/Splash.h | 75 +- splash/SplashBitmap.cc | 216 ++-- splash/SplashBitmap.h | 13 +- splash/SplashPattern.cc | 22 +- splash/SplashPattern.h | 19 +- splash/SplashState.cc | 11 + splash/SplashState.h | 3 + splash/SplashTypes.h | 145 ++- test/gtk-cairo-test.cc | 2 +- test/gtk-splash-test.cc | 23 +- test/pdf-inspector.cc | 2 +- 36 files changed, 7685 insertions(+), 1584 deletions(-) commit 10dfa2254dafb9de93692def2bfb3133d9a39989 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Oct 17 02:17:51 2005 +0000 2005-10-05 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_render_to_ps): Fix another off-by-one page number error (#4555). ChangeLog | 6 +++++- poppler/poppler-config.h.in | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) commit 9830f0ea41f09fefada740e9429c491e067a5082 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 16 15:11:32 2005 +0000 GfxFont merges from xpdf 3.01 ChangeLog | 1 + poppler/GfxFont.cc | 109 ++++++++++++++++++++++++++++++++++++----------------- 2 files changed, 75 insertions(+), 35 deletions(-) commit 62b5ba221aca8c320e964916b0c0329efc8da572 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 16 15:04:39 2005 +0000 Stream[cc|h] merges from xpdf 3.01 ChangeLog | 1 + poppler/Stream.cc | 714 +++++++++++++++++++++++++++++++++++++++++++++++++----- poppler/Stream.h | 19 +- 3 files changed, 658 insertions(+), 76 deletions(-) commit b9fab51179f38e9798b10366be672f0432c874da Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 16 14:58:14 2005 +0000 Function.cc|h merges from xpdf 3.01 ChangeLog | 1 + poppler/Function.cc | 76 ++++++++++++++++++++++++++++++----------------------- poppler/Function.h | 42 +++++++++++++++++++++++++++++ 3 files changed, 86 insertions(+), 33 deletions(-) commit c6e0242200f818c67508041763ff317e79daadd6 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 16 14:54:17 2005 +0000 Annot.[cc|h] and related merges from xpdf 3.01 ChangeLog | 7 +- poppler/Annot.cc | 234 +++++++++++++++++++++++++++++++++++++++++++------ poppler/Annot.h | 20 ++--- poppler/FontInfo.cc | 2 +- poppler/PSOutputDev.cc | 2 +- poppler/Page.cc | 2 +- 6 files changed, 221 insertions(+), 46 deletions(-) commit 65d574fdc009e45ad66d1d402d5e805e4e94f427 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 16 14:30:16 2005 +0000 Merge SplashFTFont.cc with xpdf 3.01 changes ChangeLog | 1 + splash/SplashFTFont.cc | 64 ++++++++++++++++++++++++++++++++++---------------- 2 files changed, 45 insertions(+), 20 deletions(-) commit f9d208e86433b213b21a75089f82fd00dcd746fc Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 16 14:25:32 2005 +0000 Merge SplashScreen.[cc|h] from xpdf 3.01 ChangeLog | 4 ++ splash/SplashScreen.cc | 110 ++++++++++++++++++++++++++++++++----------------- splash/SplashScreen.h | 12 +++++- 3 files changed, 87 insertions(+), 39 deletions(-) commit 7d46ac000316566503a27b5e5c68621be9c081d0 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Oct 16 14:19:47 2005 +0000 Merging SplashXPathScanner.cc changes from xpdf 3.01 splash/SplashXPathScanner.cc | 80 ++++++++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 37 deletions(-) commit e34713a2187e05358f98e749ec2923210a40a862 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Oct 5 15:57:17 2005 +0000 2005-10-05 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_render_to_ps): Fix another off-by-one page number error (#4555). ChangeLog | 5 +++++ glib/poppler-page.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit fdd0934430ed251f9aeb45158b6ec95684b3e7b4 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Mon Sep 26 19:29:45 2005 +0000 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * glib/poppler-action.cc: Initialize window title even if the action is unknown ChangeLog | 6 ++++++ glib/poppler-action.cc | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit e9753049ddfbdf28df7a222d35eccdbcbcbc848d Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Mon Sep 26 10:42:38 2005 +0000 2005-09-26 Marco Pesenti Gritti <mpg@redhat.com> * glib/poppler-action.cc: * glib/poppler-action.h: Implement launch action ChangeLog | 7 +++++++ glib/poppler-action.cc | 11 ++++++++--- glib/poppler-action.h | 1 + 3 files changed, 16 insertions(+), 3 deletions(-) commit ab18b2cb6d1c62bb91173d105e8631fe4ef1bcfb Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 20 15:27:31 2005 +0000 Parser.cc merges from xpdf 3.01 ChangeLog | 1 + poppler/Parser.cc | 19 +++++++++++-------- 2 files changed, 12 insertions(+), 8 deletions(-) commit cf6723caaed24615c3b8965cee9c433007f80d77 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 20 15:08:52 2005 +0000 TextPage *TextOutpudDev::takeText() from xpdf 3.01 ChangeLog | 1 + poppler/TextOutputDev.cc | 8 ++++++++ poppler/TextOutputDev.h | 4 ++++ 3 files changed, 13 insertions(+) commit e0cbb0ca2c611ad5ac0267e46279c9d61450902a Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 20 14:59:43 2005 +0000 more 3.00 -> 3.01 merging ChangeLog | 1 + poppler/XRef.cc | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) commit 9c7adb318d395ff674c6febf6406a8d47e9e5bf6 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 20 14:43:15 2005 +0000 * poppler/UnicodeMap.cc: More grealloc -> greallocn * poppler/UnicodeTypeTable.cc: Merge from xpdf 3.01 ChangeLog | 2 ++ poppler/UnicodeMap.cc | 4 ++-- poppler/UnicodeTypeTable.cc | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) commit 2c4c9b855b0df1dc0836d4f44e9471215a419ea6 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 20 14:34:31 2005 +0000 Merge link.cc changes from xpdf 3.00 -> 3.01 ChangeLog | 1 + poppler/Link.cc | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 62 insertions(+), 3 deletions(-) commit 4e9490c0219dd9c99ba0e5533c96663b8570a87b Author: Albert Astals Cid <aacid@kde.org> Date: Tue Sep 20 14:00:43 2005 +0000 Merge GlobalParam.* changes, they are worthless for us as poppler but this way we are nearer to have the 3.01 sources merged, then we can remove them if we decide we don't need this options. Remove a setEncryption from the Xref.h marco probably forgot to remove when merging ChangeLog | 3 +++ poppler/GlobalParams.cc | 41 +++++++++++++++++++++++++++++++++++++++++ poppler/GlobalParams.h | 22 ++++++++++++++++------ poppler/XRef.h | 4 ---- 4 files changed, 60 insertions(+), 10 deletions(-) commit 22da021bf69d83d641e3f30cc0e1bd62394e56a4 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Tue Sep 20 13:23:08 2005 +0000 2005-09-20 Marco Pesenti Gritti <mpg@redhat.com> * poppler/XRef.cc: Remove duplicated initialization ChangeLog | 6 ++++++ poppler/XRef.cc | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) commit 2a8778147938e3ed2af177226a9c35655f898c95 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Tue Sep 20 10:18:57 2005 +0000 2005-09-20 Marco Pesenti Gritti <mpg@redhat.com> * poppler/GlobalParams.cc: s/G/Goo in not yet compiled plugins code ChangeLog | 6 ++++++ poppler/GlobalParams.cc | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) commit 16f720b87cfc491db585dbdc99236cf492ffe85b Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Tue Sep 20 09:57:41 2005 +0000 2005-09-20 Marco Pesenti Gritti <mpg@redhat.com> * poppler/Makefile.am: Add XPDFPlugin*. Thanks to TSDgeos that noticed this. * poppler/XpdfPluginAPI.cc: Fixup ChangeLog | 10 ++++++++++ poppler/Makefile.am | 4 +++- poppler/XpdfPluginAPI.cc | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) commit 5f30791c3d87315ad1f742de64d2c1351ca70cb7 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 19:33:28 2005 +0000 *** empty log message *** ChangeLog | 9 +++++++++ 1 file changed, 9 insertions(+) commit db62e07fcf57f45951b21f8aab44b0d943efe5d0 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 19:33:05 2005 +0000 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * poppler/PDFDoc.cc: * poppler/PDFDoc.h: * poppler/XRef.cc: * poppler/XRef.h: Merge more from 3.01 poppler/PDFDoc.cc | 20 ++++++++++++++++---- poppler/PDFDoc.h | 19 +++++++++---------- poppler/XRef.cc | 13 +++++++++++-- poppler/XRef.h | 7 +++++-- 4 files changed, 41 insertions(+), 18 deletions(-) commit 3acc7be594712fd0ce7ac07b7188d5b38b382782 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 19:05:00 2005 +0000 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * poppler/XRef.cc: Merge some initialization that I lost before ChangeLog | 6 ++++++ poppler/XRef.cc | 4 ++++ 2 files changed, 10 insertions(+) commit 3badd82b72b2768be27e309b048cd8dcb1c80038 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 18:46:37 2005 +0000 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * poppler/XRef.cc: Merge change from 3.01 ChangeLog | 6 ++++++ poppler/XRef.cc | 8 -------- 2 files changed, 6 insertions(+), 8 deletions(-) commit 5474583e20ca773befa17242d4ad7b8f81d5bf99 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 18:38:58 2005 +0000 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * poppler/CharCodeToUnicode.cc: * poppler/CharCodeToUnicode.h: Improvements from xpdf 3.01 ChangeLog | 7 +++++++ poppler/CharCodeToUnicode.cc | 31 +++++++++++++++++++------------ poppler/CharCodeToUnicode.h | 4 ++++ 3 files changed, 30 insertions(+), 12 deletions(-) commit b2a6eab113fecd3823885c64f3302bea4f372a9f Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 18:37:29 2005 +0000 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * poppler/CMap.cc: Improvements from xpdf 3.01 ChangeLog | 6 ++++++ poppler/CMap.cc | 30 +++++++++++++++++++++++++++--- 2 files changed, 33 insertions(+), 3 deletions(-) commit 3f69f2158453b9dab9efc280ed1578ac3d0cebe8 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 18:35:29 2005 +0000 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * poppler/NameToUnicodeTable.h: * poppler/UnicodeTypeTable.cc: * poppler/UnicodeTypeTable.h: Merge some unicode table changes from xpdf 3.01 ChangeLog | 8 + poppler/NameToUnicodeTable.h | 168 +++++------ poppler/UnicodeTypeTable.cc | 690 +++++++++++++++++++++++++++++++++++++++++-- poppler/UnicodeTypeTable.h | 2 + 4 files changed, 764 insertions(+), 104 deletions(-) commit 6cbe76bc55d557fe5fca0f8f1b33bda95acdc0e9 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 18:32:29 2005 +0000 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * poppler/SplashOutputDev.h: * splash/Splash.cc: * splash/Splash.h: Modified region support from xpdf 3.01 ChangeLog | 8 ++++++++ poppler/SplashOutputDev.h | 5 +++++ splash/Splash.cc | 31 +++++++++++++++++++++++++++++++ splash/Splash.h | 11 +++++++++++ 4 files changed, 55 insertions(+) commit a9df3f3203c14161e5d6bc6048ec7e123536e6d3 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 18:29:18 2005 +0000 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * goo/Makefile.am: * poppler/DCTStream.h: * poppler/Decrypt.cc: * poppler/Decrypt.h: * poppler/FlateStream.h: * poppler/GlobalParams.cc: * poppler/GlobalParams.h: * poppler/Makefile.am: * poppler/PDFDoc.cc: * poppler/PDFDoc.h: * poppler/Parser.cc: * poppler/Parser.h: * poppler/Stream.cc: * poppler/Stream.h: * poppler/XRef.cc: * poppler/XRef.h: * poppler/poppler-config.h.in: Merge security plugins support from xpdf 3.01 ChangeLog | 24 +++ goo/FixedPoint.cc | 95 +++++++++++ goo/FixedPoint.h | 150 ++++++++++++++++++ goo/Makefile.am | 6 +- poppler/DCTStream.h | 2 - poppler/Decrypt.cc | 23 ++- poppler/Decrypt.h | 6 +- poppler/FlateStream.h | 2 - poppler/GlobalParams.cc | 229 +++++++++++++++++++++++++++ poppler/GlobalParams.h | 16 ++ poppler/Makefile.am | 5 +- poppler/PDFDoc.cc | 36 +++++ poppler/PDFDoc.h | 1 + poppler/Parser.cc | 20 --- poppler/Parser.h | 4 - poppler/SecurityHandler.cc | 376 ++++++++++++++++++++++++++++++++++++++++++++ poppler/SecurityHandler.h | 157 ++++++++++++++++++ poppler/Stream.cc | 18 --- poppler/Stream.h | 8 - poppler/XRef.cc | 162 ++----------------- poppler/XRef.h | 13 +- poppler/XpdfPluginAPI.cc | 262 ++++++++++++++++++++++++++++++ poppler/XpdfPluginAPI.h | 341 +++++++++++++++++++++++++++++++++++++++ poppler/poppler-config.h.in | 2 - 24 files changed, 1737 insertions(+), 221 deletions(-) commit a777e5c26483b90d0910e85c2be666640835d0bf Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 18:21:38 2005 +0000 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * configure.ac: * goo/Makefile.am: * splash/Makefile.am: * splash/SplashFTFont.cc: * splash/SplashMath.h: * splash/SplashTypes.h: Merge support for fixed point ChangeLog | 11 +++++++++++ configure.ac | 4 ++++ splash/Makefile.am | 1 + splash/SplashFTFont.cc | 7 +++++++ splash/SplashMath.h | 34 +++++++++++++++++++++++++++++++++- splash/SplashTypes.h | 5 +++++ 6 files changed, 61 insertions(+), 1 deletion(-) commit 00457c5f44a246c9f867a114a72be9f7b2dc1cf5 Author: Marco Pesenti Gritti <mpg@redhat.com> Date: Fri Sep 16 18:11:14 2005 +0000 2005-09-16 Marco Pesenti Gritti <mpg@redhat.com> * poppler/ArthurOutputDev.cc: * poppler/CairoFontEngine.cc: * poppler/TextOutputDev.cc: * poppler/UnicodeMap.cc: Use mallocn when possible ChangeLog | 9 +++++++++ poppler/ArthurOutputDev.cc | 2 +- poppler/CairoFontEngine.cc | 4 ++-- poppler/TextOutputDev.cc | 2 +- poppler/UnicodeMap.cc | 2 +- 5 files changed, 14 insertions(+), 5 deletions(-) commit 09c9ff67ceae5753811a2f625e3ad810628c782e Author: Albert Astals Cid <aacid@kde.org> Date: Fri Sep 16 18:00:43 2005 +0000 SplashXPath.cc merges from xpdf 3.00 -> 3.01 ChangeLog | 3 ++ splash/SplashXPath.cc | 81 +++++++++++++++++++++++++-------------------------- 2 files changed, 42 insertions(+), 42 deletions(-) commit 0555ba861d3b84d88c80da4fa247274338ff7817 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Sep 16 17:42:56 2005 +0000 SplashFontEngine.cc merge from xpdf 3.00 -> 3.01 splash/SplashFontEngine.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit ddc72bd8354168d992631d1ef8cd0939b428966c Author: Albert Astals Cid <aacid@kde.org> Date: Thu Sep 15 22:24:55 2005 +0000 Merge xpdf 3.00 -> 3.01 changes in SplashT1Font.* files splash/SplashT1Font.cc | 23 ++++++++++++++++++----- splash/SplashT1Font.h | 2 ++ 2 files changed, 20 insertions(+), 5 deletions(-) commit ba409db3157105f326b4bbc342ca7af859a44ce9 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Sep 15 22:20:37 2005 +0000 Merge xpdf 3.00 -> 3.01 changes in SplashPath.* files splash/SplashPath.cc | 3 ++- splash/SplashPath.h | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) commit 3ea00e853049d8c26ee88aaef8ea6c47c8d46956 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Sep 15 22:15:47 2005 +0000 Merge xpdf 3.00 -> 3.01 changes in SplashFont.* files splash/SplashFont.cc | 6 ++++++ splash/SplashFont.h | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) commit e571dcbfd0c77a28e41710577859f632cc989de5 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Sep 15 22:09:50 2005 +0000 Merge the xpdf 3.01 change that uses runtime detection of freetype version ChangeLog | 6 ++++++ configure.ac | 14 +++----------- poppler/CairoFontEngine.cc | 21 ++++++++++++++------- poppler/CairoFontEngine.h | 3 ++- splash/SplashFTFontEngine.cc | 19 +++++++++++-------- splash/SplashFTFontEngine.h | 1 + 6 files changed, 37 insertions(+), 27 deletions(-) commit 59fe2937db192dc7b59bf28c3f29909faf11aae3 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Sep 15 21:51:16 2005 +0000 Merge xpdf 3.00 -> 3.01 changes for that file splash/SplashClip.h | 9 +++++++++ 1 file changed, 9 insertions(+) commit b2f94635249f2c5f0c876a1005826fe4c6eb6025 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Sep 15 12:52:36 2005 +0000 Merge xpdf 3.00 -> xpdf 3.01 changes for Catalog.[cc|h] poppler/Catalog.cc | 5 ++++- poppler/Catalog.h | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) commit 0fc2e70576b1c48cf47a686e8aa7e202a802bc9d Author: Albert Astals Cid <aacid@kde.org> Date: Thu Sep 15 12:32:25 2005 +0000 Another small merge from xpdf 3.01 ChangeLog | 3 +++ poppler/Outline.cc | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) commit f8983ceb3c55df72c94870806d71db139c11bdeb Author: Albert Astals Cid <aacid@kde.org> Date: Thu Sep 15 12:28:34 2005 +0000 Another small xpdf 3.00 -> xpdf 3.01 merge poppler/Object.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52efe9845cf3eb1dd836f90bfa203760baa2f87c Author: Albert Astals Cid <aacid@kde.org> Date: Thu Sep 15 11:46:56 2005 +0000 bradh forgot to remove the two returns when merging xpdf 3.00 -> xpdf 3.01 changes of this file poppler/JPXStream.cc | 2 -- 1 file changed, 2 deletions(-) commit 4b4fc5c017bf147c9069bbce32fc14467bd2a81a Author: Albert Astals Cid <aacid@kde.org> Date: Wed Sep 14 21:20:36 2005 +0000 Merge all the fofi/ changes from xpdf 3.01, there is only one api change that affects PSOutputDev (also has been updated the part that uses this api not the whole file). All our fixes in that dir are included in the upgrade. ChangeLog | 4 + fofi/FoFiTrueType.cc | 406 +++++++++++++++++++++++++++++++++++++++++++------ fofi/FoFiTrueType.h | 15 +- fofi/FoFiType1.cc | 25 ++- fofi/FoFiType1C.cc | 134 +++++++++++++--- fofi/FoFiType1C.h | 6 + poppler/PSOutputDev.cc | 7 +- poppler/PSOutputDev.h | 3 +- 8 files changed, 515 insertions(+), 85 deletions(-) commit a68e8e6330418b1f623867973b9c128a9a139c0c Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Sep 7 03:00:36 2005 +0000 2005-09-06 Kristian Høgsberg <krh@redhat.com> * configure.ac: Enable A4_PAPER and OPI_SUPPORT by default. There is no reason to not enable OPI and the paper size should be controlled by the application. * test/Makefile.am (EXTRA_DIST): Add pdf-operators.c ChangeLog | 8 ++++++++ configure.ac | 17 ++--------------- test/Makefile.am | 3 +++ 3 files changed, 13 insertions(+), 15 deletions(-) commit b6490944c081ff53f623acea7ab7a600c3e54816 Author: Brad Hards <bradh@frogmouth.net> Date: Sat Sep 3 11:53:44 2005 +0000 Switch the qt4/tests unittests to use QtTestLib. ChangeLog | 6 ++ configure.ac | 66 +++++++++++++++++++++ qt4/tests/.cvsignore | 17 ++---- qt4/tests/Makefile.am | 71 ++++++++-------------- qt4/tests/README.unittest | 23 ++++++++ qt4/tests/check_author.cpp | 25 -------- qt4/tests/check_linearised.cpp | 23 -------- qt4/tests/check_metadata.cpp | 101 ++++++++++++++++++++++++++++++++ qt4/tests/check_orientation.cpp | 40 ------------- qt4/tests/check_pagelayout.cpp | 44 ++++++++++++++ qt4/tests/check_pagelayout_facing.cpp | 22 ------- qt4/tests/check_pagelayout_none.cpp | 22 ------- qt4/tests/check_pagelayout_single.cpp | 22 ------- qt4/tests/check_pagemode.cpp | 64 ++++++++++++++++++++ qt4/tests/check_pagemode_attach.cpp | 22 ------- qt4/tests/check_pagemode_fullscreen.cpp | 22 ------- qt4/tests/check_pagemode_none.cpp | 22 ------- qt4/tests/check_pagemode_oc.cpp | 22 ------- qt4/tests/check_pagemode_thumbs.cpp | 22 ------- qt4/tests/check_permissions.cpp | 60 +++++++------------ 20 files changed, 354 insertions(+), 362 deletions(-) commit 3725841417871d1051772068833dc908ca70b7ce Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Sep 2 14:47:24 2005 +0000 2005-09-02 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc: Apply Marcos rotation fix. ChangeLog | 4 ++++ glib/poppler-page.cc | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) commit ecf3dcadb948013cbc987e464952933daf78e4bf Author: Brad Hards <bradh@frogmouth.net> Date: Wed Aug 31 15:28:46 2005 +0000 Merge some missing parts of previous patches, and some other minor cleanups from xpdf 3.0.1 poppler/Catalog.cc | 16 +-- poppler/JPXStream.cc | 380 +++++++++++++++++++++++++++++++++---------------- poppler/JPXStream.h | 25 ++-- poppler/Lexer.cc | 11 ++ poppler/Lexer.h | 3 + poppler/PSOutputDev.cc | 31 ++-- poppler/Stream.h | 7 + 7 files changed, 309 insertions(+), 164 deletions(-) commit de78738164319b733e54a9abfb5957870facd6cd Author: Brad Hards <bradh@frogmouth.net> Date: Wed Aug 31 09:51:41 2005 +0000 poppler/JArithmeticDecoder.cc poppler/JArithmeticDecoder.h poppler/JBIG2Stream.cc poppler/JBIG2Stream.h: merge in some of the JBIG2 changes from xpdf 3.0.1. ChangeLog | 9 ++ poppler/JArithmeticDecoder.cc | 42 ++++++-- poppler/JArithmeticDecoder.h | 22 +++- poppler/JBIG2Stream.cc | 227 +++++++++++++++++++++++++----------------- poppler/JBIG2Stream.h | 4 +- 5 files changed, 201 insertions(+), 103 deletions(-) commit 55952feb637e300b073691ae95d68e766521a769 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Aug 29 15:24:32 2005 +0000 2005-08-29 Kristian Høgsberg <krh@redhat.com> * configure.ac (HAVE_FREETYPE_H): Patch from Hiroyuki Ikezoe: Set HAVE_FREETYPE_217_OR_OLDER to 0 if we found freetype using pkg-config (#4223). ChangeLog | 6 ++++++ configure.ac | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) commit 244e5c1f8f65da41ba6314028766dfe5973f6132 Author: Brad Hards <bradh@frogmouth.net> Date: Sun Aug 28 09:43:18 2005 +0000 Merge the Goo* improvements from xpdf 3.0.1. This change is based on martink's work (7-xpdf-3.01-goo-improvements.patch), with some tweaking by me. ChangeLog | 13 ++++++++ fofi/FoFiTrueType.cc | 1 + goo/GooHash.cc | 24 +++++++++++++++ goo/GooHash.h | 2 ++ goo/GooList.cc | 5 ++++ goo/GooList.h | 5 ++++ goo/GooString.cc | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++- goo/GooString.h | 11 +++---- goo/gmem.c | 3 ++ poppler/Decrypt.cc | 1 + 10 files changed, 142 insertions(+), 8 deletions(-) commit eb91b274245b4f5f5389bc9ddfde2c2806557665 Author: Brad Hards <bradh@frogmouth.net> Date: Sun Aug 28 09:31:53 2005 +0000 This part of my previous gmallocn merge patch was missing. goo/GooHash.cc | 4 ++-- goo/GooList.cc | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) commit b3474fd5e0efc96b5814d86e0cdedf39387e7ae3 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Aug 28 03:26:53 2005 +0000 add note about related bug ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ace2eb6ba518b970b96f30f61c4795c161e0cb79 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Aug 28 03:22:04 2005 +0000 2005-08-27 Jeff Muizelaar <jeff@infidigm.net> * poppler/FlateStream.cc: Fix predictor leak. ChangeLog | 4 ++++ poppler/FlateStream.cc | 1 + 2 files changed, 5 insertions(+) commit 96657c5480bf2ecf445ad5a105b8e7393ae53c8b Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Aug 28 03:19:55 2005 +0000 2005-08-27 Jeff Muizelaar <jeff@infidigm.net> * configure.ac: Disable the zlib-based decoder by default. ChangeLog | 4 ++++ configure.ac | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit d1d715158223c7ca3ae279cea420a948cfdb0428 Author: Brad Hards <bradh@frogmouth.net> Date: Sat Aug 27 08:43:42 2005 +0000 Merge the gmalloc -> gmallocn changes from xpdf 3.0.1. This change is based on martink's work (13-xpdf-3.01-goo-allocn.patch) with some tweaking by me. There may be some residual gmallocn changes still to be merged. ChangeLog | 7 ++++++ fofi/FoFiTrueType.cc | 12 +++++----- fofi/FoFiType1.cc | 2 +- fofi/FoFiType1C.cc | 14 +++++------ goo/gmem.c | 22 ++++++++++++++++++ goo/gmem.h | 9 ++++++++ poppler/Annot.cc | 2 +- poppler/Array.cc | 2 +- poppler/BuiltinFont.cc | 2 +- poppler/CMap.cc | 6 ++--- poppler/Catalog.cc | 8 +++---- poppler/CharCodeToUnicode.cc | 22 +++++++++--------- poppler/Dict.cc | 2 +- poppler/Function.cc | 20 ++++++++-------- poppler/Gfx.cc | 2 +- poppler/GfxFont.cc | 24 +++++++++---------- poppler/GfxState.cc | 54 +++++++++++++++++++++---------------------- poppler/JArithmeticDecoder.cc | 2 +- poppler/JBIG2Stream.cc | 30 ++++++++++++------------ poppler/Link.cc | 6 ++--- poppler/NameToCharCode.cc | 4 ++-- poppler/Outline.cc | 4 ++-- poppler/SplashOutputDev.cc | 8 +++---- poppler/Stream.cc | 12 +++++----- poppler/TextOutputDev.cc | 48 +++++++++++++++++++------------------- poppler/XRef.cc | 18 +++++++-------- splash/SplashClip.cc | 12 +++++----- splash/SplashFTFontFile.cc | 2 +- splash/SplashFont.cc | 6 ++--- splash/SplashPath.cc | 8 +++---- splash/SplashScreen.cc | 4 ++-- splash/SplashState.cc | 4 ++-- splash/SplashT1FontFile.cc | 4 ++-- splash/SplashXPath.cc | 4 ++-- splash/SplashXPathScanner.cc | 4 ++-- 35 files changed, 214 insertions(+), 176 deletions(-) commit feb82c60b1f86a9d1260db57534d98c54ee615c4 Author: Martin Kretzschmar <martink@gnome.org> Date: Wed Aug 24 19:41:27 2005 +0000 * configure.ac: add /usr/include/qt4 to qt4_incdirs. That's what Debian and Ubuntu use. Maybe we should just use pkg-config. If it's usable with qt4. * test/.cvsignore: ignore pdf_inspector binary. ChangeLog | 8 ++++++++ configure.ac | 2 +- test/.cvsignore | 7 ++++--- 3 files changed, 13 insertions(+), 4 deletions(-) commit 8dce80eb74f24f07ac7668905f1631e04a9c5841 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Aug 24 18:57:46 2005 +0000 2005-08-24 Kristian Høgsberg <krh@redhat.com> * poppler/TextOutputDev.cc: Push rotation argument down to GfxState constructor. This is still not completely functional yet. * glib/poppler-page.cc (poppler_page_render_selection): Add rotation argument so API is useful. Not yet implemented. (poppler_page_prepare_output_dev): Patch from Marco to fix rotation using the cairo backend. ChangeLog | 10 ++++++++++ glib/poppler-page.cc | 22 ++++++++++++++++------ glib/poppler-page.h | 1 + poppler/TextOutputDev.cc | 11 ++++++++--- poppler/TextOutputDev.h | 4 +++- 5 files changed, 38 insertions(+), 10 deletions(-) commit b909b5ae98bc3e557ef6e658e2b9120e82951259 Author: Jonathan Blandford <jrb@redhat.com> Date: Wed Aug 24 03:21:20 2005 +0000 Tue Aug 23 17:21:02 2005 Jonathan Blandford <jrb@redhat.com> * test/Makefile.am (gtk_cairo_test_LDADD): add FREETYPE_{CFLAGS,LIBS} to the cairo deps ChangeLog | 5 +++++ test/Makefile.am | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) commit da3aac379f07ffedd6078707ec9923800fc0c0a5 Author: Jonathan Blandford <jrb@redhat.com> Date: Tue Aug 23 18:20:45 2005 +0000 Tue Aug 23 13:38:01 2005 Jonathan Blandford <jrb@redhat.com> * configure.ac: * poppler/Gfx.cc: * poppler/Gfx.h: * poppler/GlobalParams.cc: * poppler/GlobalParams.h: * poppler/Makefile.am: * poppler/OutputDev.cc: * poppler/OutputDev.h: * poppler/ProfileData.cc: * poppler/ProfileData.h: * test/Makefile.am: * test/pdf-inspector.cc: * test/pdf-inspector.glade: * test/pdf-operators.c: Initial cut at a pdf inspector. This should help us look at PDF files. ChangeLog | 18 ++ configure.ac | 4 +- poppler/Gfx.cc | 30 ++++ poppler/Gfx.h | 1 + poppler/GlobalParams.cc | 16 ++ poppler/GlobalParams.h | 3 + poppler/Makefile.am | 2 + poppler/OutputDev.cc | 17 ++ poppler/OutputDev.h | 10 +- poppler/ProfileData.cc | 44 +++++ poppler/ProfileData.h | 41 +++++ test/Makefile.am | 13 +- test/pdf-inspector.cc | 358 ++++++++++++++++++++++++++++++++++++++ test/pdf-inspector.glade | 434 +++++++++++++++++++++++++++++++++++++++++++++++ test/pdf-operators.c | 81 +++++++++ 15 files changed, 1068 insertions(+), 4 deletions(-) commit 1aad886c6c19a964a3fc9e18f31acc8e115478e0 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Aug 22 18:20:12 2005 +0000 2005-08-22 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler-private.h: * glib/test-poppler-glib.c: Patch from Marco to simplify the glib rotation API. ChangeLog | 8 +++ glib/poppler-page.cc | 136 +++++++---------------------------------------- glib/poppler-page.h | 4 +- glib/poppler-private.h | 1 - glib/test-poppler-glib.c | 2 +- 5 files changed, 28 insertions(+), 123 deletions(-) commit 6070b1dc4b76c236f3100fbd255c2d906e61c3c2 Author: Kristian Høgsberg <krh@redhat.com> Date: Sun Aug 21 23:14:04 2005 +0000 2005-08-21 Kristian Høgsberg <krh@redhat.com> * poppler/Makefile.am (INCLUDES): Add FREETYPE_CFLAGS. * configure.ac: Make freetype check use pkg-config if possible. ChangeLog | 6 ++++++ configure.ac | 34 ++++++++++++++++++++++++---------- poppler/Makefile.am | 1 + 3 files changed, 31 insertions(+), 10 deletions(-) commit 2698ca6fa107ea91dc01eb8cfb0c93383fbca125 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Aug 17 16:54:01 2005 +0000 2005-08-17 Kristian Høgsberg <krh@redhat.com> * poppler/GfxFont.cc: Add fix discussed in #3131 to only use the MacRoman char map if the font has one or the font dicts specifies /MacRoman. ChangeLog | 6 ++++++ poppler/GfxFont.cc | 1 - 2 files changed, 6 insertions(+), 1 deletion(-) commit 5dc9b14b99f2efa2fe018e9267dd363d1bcd78b1 Author: Albert Astals Cid <aacid@kde.org> Date: Sun Aug 7 23:58:12 2005 +0000 Fix EOF checking ChangeLog | 4 ++++ poppler/PDFDoc.cc | 10 +++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) commit 155d019d7b474f244a3e4bf64d192015f6a266c4 Author: Kristian Høgsberg <krh@redhat.com> Date: Sat Aug 6 18:09:51 2005 +0000 2005-08-06 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc: * glib/poppler-page.h: Use GdkColor for specifying selection colors, we alreay depend on GDK anyway. ChangeLog | 6 ++++++ glib/poppler-page.cc | 20 +++++++++----------- glib/poppler-page.h | 5 +++-- 3 files changed, 18 insertions(+), 13 deletions(-) commit c710b645c8297d356c101b13a9889bcaba691176 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 6 11:58:59 2005 +0000 Update comment poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit de7953c8a8360d8bfc99298906c5fc1094684fc3 Author: Albert Astals Cid <aacid@kde.org> Date: Sat Aug 6 11:47:37 2005 +0000 Increase EOF searching up to last 1024 characters ChangeLog | 7 +++++++ poppler/PDFDoc.cc | 23 +++++++++++++---------- 2 files changed, 20 insertions(+), 10 deletions(-) commit 5dd72618688763b50d5f5738d857c9294ef1b1c2 Author: Brad Hards <bradh@frogmouth.net> Date: Sat Aug 6 02:15:58 2005 +0000 Add password arguments to document constructor. ChangeLog | 4 ++++ qt4/src/poppler-document.cc | 8 ++++++-- qt4/src/poppler-qt4.h | 4 +++- 3 files changed, 13 insertions(+), 3 deletions(-) commit edbd7957b393eb63f48df7db6b220b355d4fc461 Author: Brad Hards <bradh@frogmouth.net> Date: Sat Aug 6 02:07:55 2005 +0000 Make API extraction work again. ChangeLog | 3 +++ qt4/src/Doxyfile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit f43a6f1d1c27c042f5736746c94430083baa4c1d Author: Brad Hards <bradh@frogmouth.net> Date: Sat Aug 6 01:53:06 2005 +0000 Add new test code for encrypted files. ChangeLog | 5 ++ qt4/tests/.cvsignore | 1 + qt4/tests/Makefile.am | 7 ++- qt4/tests/test-password-qt4.cpp | 135 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 147 insertions(+), 1 deletion(-) commit 2ec26afaf80864b023899b890b8e229448da9bed Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Aug 5 22:30:20 2005 +0000 2005-08-05 Kristian Høgsberg <krh@redhat.com> * poppler/TextOutputDev.cc (visitLine): Round selection coordinates in device space, so selection isn't fuzzy. * poppler/GfxState.cc: * poppler/GfxState.h: Add simple Matrix class. ChangeLog | 8 ++++++++ poppler/CairoOutputDev.cc | 6 +++--- poppler/GfxState.cc | 26 ++++++++++++++++++++++++++ poppler/GfxState.h | 10 ++++++++++ poppler/TextOutputDev.cc | 14 ++++++++++++++ 5 files changed, 61 insertions(+), 3 deletions(-) commit ccba4f0773047eea5e4ad0ac736450160dd97664 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Aug 5 19:04:36 2005 +0000 2005-08-05 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc: * glib/poppler-page.h: * poppler/TextOutputDev.cc: * poppler/TextOutputDev.h: Propagate selection colors to the glib API. ChangeLog | 7 ++++++ glib/poppler-page.cc | 63 ++++++++++++++++++++++++++++++++++++++++++------ glib/poppler-page.h | 4 ++- poppler/TextOutputDev.cc | 25 +++++++++---------- poppler/TextOutputDev.h | 7 ++++-- 5 files changed, 82 insertions(+), 24 deletions(-) commit 43e97129393f403c41f191ceae9a54793ece005f Author: Brad Hards <bradh@frogmouth.net> Date: Thu Aug 4 10:15:23 2005 +0000 Fix problem with drawing filled objects that was introduced in Rev 1.4. ChangeLog | 5 +++++ poppler/ArthurOutputDev.cc | 13 +++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) commit a75d80333a70d2e1ac7c9032d316034eebed9dd6 Author: Brad Hards <bradh@frogmouth.net> Date: Wed Aug 3 11:44:55 2005 +0000 Implement paging ability for Qt4, more than a little based on Albert's work for Qt3. Up arrow -> previous page Down arrow -> next page q -> quit. What more could you want from a PDF viewer :-) ChangeLog | 6 ++++++ qt4/tests/test-poppler-qt4.cpp | 47 +++++++++++++++++++++++++++++++++--------- 2 files changed, 43 insertions(+), 10 deletions(-) commit f3e0a163b098da1cc389c2c4f47e28358b1bec77 Author: Albert Astals Cid <aacid@kde.org> Date: Mon Aug 1 19:15:40 2005 +0000 Fix problem in the patch to fix #3299 ChangeLog | 4 ++++ poppler/DCTStream.cc | 15 ++++++++++----- poppler/DCTStream.h | 1 + 3 files changed, 15 insertions(+), 5 deletions(-) commit 5f7bd81bedd8c90e3312190256488ff0c15502e1 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Aug 1 15:21:19 2005 +0000 2005-08-01 Kristian Høgsberg <krh@redhat.com> Patch from Dan Winship <danw@novell.com> * glib/poppler-page.cc (poppler_page_copy_to_pixbuf): Set alpha to 0xff (opaque), not 0x00. ChangeLog | 7 +++++++ glib/poppler-page.cc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 22f509e60f60ccaea1f91d9ec1ef7ba8200bee8a Author: Brad Hards <bradh@frogmouth.net> Date: Mon Aug 1 08:09:00 2005 +0000 Fix up the fill problem with drawing text, where the "middle" of glyphs with a "hole" (like d, o, p, b, g) got filled. Also remove some debugging code. The glyphs are still ugly though. ChangeLog | 7 +++++++ poppler/ArthurOutputDev.cc | 13 +------------ 2 files changed, 8 insertions(+), 12 deletions(-) commit 7bf5d10c1f6edd538769c3a83a3b3d5df56d604b Author: Brad Hards <bradh@frogmouth.net> Date: Sun Jul 31 09:54:04 2005 +0000 An initial version of proper font handling, heavily based on work by Albert Astals Cid. I changed it to stroke the glyphs based on the SplashPath. In the longer term, Arthur should use FreeType paths directly - hopefully that will be less ugly, and not fill everything. ChangeLog | 8 + poppler/ArthurOutputDev.cc | 401 ++++++++++++++++++++++++++++++++------------- poppler/ArthurOutputDev.h | 15 +- qt4/src/poppler-page.cc | 2 +- splash/SplashPath.h | 2 + 5 files changed, 314 insertions(+), 114 deletions(-) commit 8567b794628786b82e8db2a7daf75e4ad2398960 Author: Brad Hards <bradh@frogmouth.net> Date: Fri Jul 29 12:15:19 2005 +0000 Add some more test cases. ChangeLog | 4 ++++ qt4/tests/.cvsignore | 4 ++++ qt4/tests/Makefile.am | 10 +++++++++- qt4/tests/check_pagelayout_facing.cpp | 22 ++++++++++++++++++++++ qt4/tests/check_version.cpp | 22 ++++++++++++++++++++++ 5 files changed, 61 insertions(+), 1 deletion(-) commit 59d660cf4d614fdea09d6a62b8889f7682c2b4f9 Author: Brad Hards <bradh@frogmouth.net> Date: Fri Jul 29 11:41:14 2005 +0000 Compile fix associated with last change. poppler/ArthurOutputDev.cc | 2 -- 1 file changed, 2 deletions(-) commit 88c57c73f57820d6a57e26825093fbc688845e67 Author: Brad Hards <bradh@frogmouth.net> Date: Fri Jul 29 11:24:42 2005 +0000 A couple of minor changes to the Arthur backend. ChangeLog | 9 +++++++++ poppler/ArthurOutputDev.cc | 18 ++++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) commit 481db9d9eae5ea16e5b382f4ad21e6e624a70dcf Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Jul 29 05:48:33 2005 +0000 2005-07-29 Kristian Høgsberg <krh@redhat.com> * poppler/TextOutputDev.cc: Finish TextSelectionDumper class for extracting the text from a selection. Add TextPage::getSelectionText() and TextOutputDev::getSelectionText() methods to expose the new functionality. * glib/poppler-page.cc (poppler_page_get_text): Use TextOutputDev::getSelectionText() to get the text from the selection. * glib/poppler-document.cc (poppler_document_new_from_file): * glib/poppler-page.cc (_poppler_page_new): Add extra NULL to g_object_new() constructor to silence gcc warning about missing sentinel. ChangeLog | 16 +++++ glib/poppler-document.cc | 2 +- glib/poppler-page.cc | 31 +++++---- poppler/TextOutputDev.cc | 164 +++++++++++++++++++++++++++++++++++------------ poppler/TextOutputDev.h | 8 +++ 5 files changed, 164 insertions(+), 57 deletions(-) commit ad312dbded4e8f70c3a2eac9a0964fa00ecb6b2c Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jul 28 22:56:17 2005 +0000 Fix memory leaks in PageLabelInfo.cc ChangeLog | 4 ++++ poppler/PageLabelInfo.cc | 11 +++++++++++ poppler/PageLabelInfo.h | 2 ++ 3 files changed, 17 insertions(+) commit b45ad9f3409d7b1ed147135a70553e5255913c61 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jul 28 20:53:36 2005 +0000 - delete family; + delete[] family; as family is new[]'ed When assigning family if the font had "the proper info" and family had to be deleted, do it. poppler/GlobalParams.cc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit f93dfc5c5133e0b1bd9f4786cfe18bd796cbac2a Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jul 28 18:51:17 2005 +0000 Remove the debugging poppler/GlobalParams.cc | 5 ----- 1 file changed, 5 deletions(-) commit 8022315004e1623c0be320f7671fcd72c15c0de3 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jul 28 18:37:17 2005 +0000 Wonder how that slipped here poppler/GlobalParams.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 82638babe89e402c0348619ec3205059b977c7e9 Author: Albert Astals Cid <aacid@kde.org> Date: Thu Jul 28 17:34:19 2005 +0000 Fontconfig patch is here, rejoice ChangeLog | 15 +- glib/poppler-document.cc | 1 - poppler/CairoFontEngine.cc | 95 +-------- poppler/CairoFontEngine.h | 2 - poppler/CairoOutputDev.cc | 4 - poppler/GlobalParams.cc | 473 ++++++++++++++++++++------------------------ poppler/GlobalParams.h | 17 +- poppler/SplashOutputDev.cc | 132 +------------ poppler/SplashOutputDev.h | 3 - qt/poppler-document.cc | 1 - qt4/src/poppler-document.cc | 1 - test/gtk-cairo-test.cc | 1 - test/gtk-splash-test.cc | 1 - 13 files changed, 241 insertions(+), 505 deletions(-) commit e9015531b1d0e5f2c8d8ca2bc50d5f14aaf954bc Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Jul 28 06:31:57 2005 +0000 2005-07-28 Kristian Høgsberg <krh@redhat.com> * poppler/poppler-config.h.in: Add GCC_PRINTF_FORMAT macro to annotate printf-like functions (#3638). * poppler/Error.h: Add GCC_PRINTF_FORMAT to error(). * poppler/PSOutputDev.h: Add GCC_PRINTF_FORMAT to PSOutputDev::writePSFmt(). * poppler/PSOutputDev.cc, poppler/GlobalParams.cc: Quiet new printf warnings. ChangeLog | 11 +++++++++++ poppler/Error.h | 2 +- poppler/GlobalParams.cc | 3 ++- poppler/PSOutputDev.cc | 3 +-- poppler/PSOutputDev.h | 2 +- poppler/TextOutputDev.cc | 13 ++++++++++++- poppler/poppler-config.h.in | 12 ++++++++++++ 7 files changed, 40 insertions(+), 6 deletions(-) commit 9df89c495683e229b771b3d008ed25d478465c35 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Jul 28 05:52:43 2005 +0000 2005-07-28 Kristian Høgsberg <krh@redhat.com> * poppler/TextOutputDev.cc (TextBlock::visitSelection): Assign start and stop coordinates in one place so we don't assign the same point to both in some corner cases. (TextWord::visitSelection): Initialize begin to len, not len + 1 to fix crash. (TextWord::visitSelection, TextLine::visitSelection): Change selection trigger; now midpoint of glyph must be included in selection area for glyph to be in selection. ChangeLog | 12 +++++ poppler/CairoOutputDev.cc | 2 +- poppler/TextOutputDev.cc | 113 ++++++++++++++++++++++------------------------ 3 files changed, 67 insertions(+), 60 deletions(-) commit a3d9b5849cedf1316c6fc5859872e957f3f7b593 Author: Martin Kretzschmar <martink@gnome.org> Date: Wed Jul 27 19:21:08 2005 +0000 * poppler/PSOutputDev.cc (PSOutputDev): change the constructor to take paper size and duplex setting parameters. (init): add paper size and duplex parameters. (writeDocSetup): add duplex parameter. * poppler/PSOutputDev.h: update declarations. * glib/poppler-private.h (struct _PopplerPSFile): store necessary information to eventually construct a PSOutputDev. * glib/poppler-page.cc (poppler_page_render_to_ps): initialize the output dev if it doesn't exist yet. * glib/poppler-document.cc (poppler_ps_file_new): don't create the PSOutputDev here, just store filename and page range. (poppler_ps_file_set_paper_size, poppler_ps_file_set_duplex): new functions. (poppler_ps_file_free): free the filename which we strdup now. * glib/poppler-document.h: add prototypes. ChangeLog | 23 +++++++++++++++++++++++ glib/poppler-document.cc | 49 +++++++++++++++++++++++++++++++++++++++++------- glib/poppler-document.h | 15 ++++++++++----- glib/poppler-page.cc | 10 ++++++++++ glib/poppler-private.h | 6 ++++++ poppler/PSOutputDev.cc | 23 ++++++++++++++--------- poppler/PSOutputDev.h | 9 +++++++-- 7 files changed, 112 insertions(+), 23 deletions(-) commit 7be920ecf13698c3cf4ab8df09c8c67f1a04bfa2 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 26 21:52:09 2005 +0000 Fix mem leak in qt test app ChangeLog | 4 ++++ qt/test-poppler-qt.cpp | 2 ++ 2 files changed, 6 insertions(+) commit 2bc26dffd9f296799617d319055648c20f748c8a Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Jul 26 20:34:13 2005 +0000 2005-07-26 Kristian Høgsberg <krh@redhat.com> * fofi/FoFiType1.cc: Make check for end of encoding array a bit more liberal so we don't crash on complex encoding arrays (#3344). ChangeLog | 5 +++++ fofi/FoFiType1.cc | 21 +++++++-------------- 2 files changed, 12 insertions(+), 14 deletions(-) commit 07911274e4e850a628b1e587cafc2a73c05f93fe Author: Albert Astals Cid <aacid@kde.org> Date: Mon Jul 25 20:40:37 2005 +0000 Work on bad jpeg data that have garbage before the start marker. Fixes bug #3299 ChangeLog | 5 +++++ poppler/DCTStream.cc | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) commit a1869eca39172fcb42f036a5846b19548be53568 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 22 11:01:25 2005 +0000 Fix bug #3586 ChangeLog | 5 +++++ poppler/CairoFontEngine.cc | 2 ++ 2 files changed, 7 insertions(+) commit 95529b41272484f08fb54393e1886bf7ff3e02c8 Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 22 10:45:19 2005 +0000 Make it possible to browse pages in test-poppler-qt ChangeLog | 13 +++++++++---- qt/test-poppler-qt.cpp | 49 ++++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 49 insertions(+), 13 deletions(-) commit 2d52650864eab0e9385ed1fe8fb594daac9d8322 Author: Martin Kretzschmar <martink@gnome.org> Date: Fri Jul 22 10:35:56 2005 +0000 * glib/poppler-document.cc (poppler_fonts_iter_get_name): if the font is a subset, strip the ABCDEF+ tag. (poppler_fonts_iter_get_full_name): does what the old get_name did. (poppler_fonts_iter_get_font_type, poppler_fonts_iter_is_embedded) (poppler_fonts_iter_is_subset): new wrappers. * glib/poppler-document.h (PopplerFontType): new enum. Update prototypes. ChangeLog | 11 ++++++++++ glib/poppler-document.cc | 54 +++++++++++++++++++++++++++++++++++++++++++++++- glib/poppler-document.h | 38 ++++++++++++++++++++++++---------- 3 files changed, 91 insertions(+), 12 deletions(-) commit 43bed4aafcf1d291dc96fa5070efbd7936a6122f Author: Albert Astals Cid <aacid@kde.org> Date: Fri Jul 22 10:33:54 2005 +0000 Fix bugs #3728 and #3750 ChangeLog | 4 ++++ splash/Splash.cc | 10 ++++++++++ 2 files changed, 14 insertions(+) commit c7bcef87493d354a077dd223d76f86640acc0ce3 Author: Martin Kretzschmar <martink@gnome.org> Date: Fri Jul 15 19:55:30 2005 +0000 update for 2005-06-27 change to actually display something again. ChangeLog | 5 +++++ test/gtk-cairo-test.cc | 10 ++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) commit 6623711d2d50dc52454904ee16b25337f0aab130 Author: Brad Hards <bradh@frogmouth.net> Date: Sun Jul 10 09:34:03 2005 +0000 A general cleanup of the Arthur output renderer. ChangeLog | 5 +++ poppler/ArthurOutputDev.cc | 105 ++++++++++++++++----------------------------- 2 files changed, 41 insertions(+), 69 deletions(-) commit ea1cc9a7b12db9c44b89896c41d07e3ba932d054 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Jul 8 04:59:41 2005 +0000 2005-07-08 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_set_selection_alpha): Add this function to initialize the alpha channel when using the splash backend. * poppler/TextOutputDev.cc (visitLine): Add missing scaling of intra-line selection edges. ChangeLog | 9 ++++++++ glib/poppler-page.cc | 59 +++++++++++++++++++++++++++++++++++++++++++++++- poppler/TextOutputDev.cc | 17 ++++++++------ 3 files changed, 77 insertions(+), 8 deletions(-) commit 1cd915397c9532ed80b4f905b6ed9c0126aa38f2 Author: Brad Hards <bradh@frogmouth.net> Date: Thu Jul 7 21:15:09 2005 +0000 Add support for page layout to the Qt4 bindings, plus test cases. ChangeLog | 8 ++++++++ qt4/src/poppler-document.cc | 22 ++++++++++++++++++++++ qt4/src/poppler-qt4.h | 26 ++++++++++++++++++++++++-- qt4/tests/Makefile.am | 10 +++++++++- qt4/tests/check_pagelayout_none.cpp | 22 ++++++++++++++++++++++ qt4/tests/check_pagelayout_single.cpp | 22 ++++++++++++++++++++++ 6 files changed, 107 insertions(+), 3 deletions(-) commit 4e050aef7ba132900f84205be221fd48808848c3 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Jul 7 17:19:36 2005 +0000 2005-07-07 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_prepare_output_dev): Account for page rotation when creating the cairo surface. ChangeLog | 5 +++++ glib/poppler-page.cc | 17 +++++++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) commit 2eeab0b8afeb4897806df2de6e496889c25dda5e Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Jul 7 15:58:43 2005 +0000 2005-07-06 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_copy_to_pixbuf): Add out of bounds checking (from Marco). ChangeLog | 6 +++++- glib/poppler-page.cc | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) commit b1015f6bdbd93b2a2574a9f0e0e1cd7dbae9af78 Author: Brad Hards <bradh@frogmouth.net> Date: Thu Jul 7 11:13:24 2005 +0000 At least try to fix glib issues. If you care about glib, then you should review this. ChangeLog | 4 ++++ glib/poppler-document.cc | 2 ++ 2 files changed, 6 insertions(+) commit 8bf787031e7a2e93b4e1202918bd1aee86675082 Author: Brad Hards <bradh@frogmouth.net> Date: Thu Jul 7 11:04:08 2005 +0000 Update for page mode - new mode from PDF-1.6, API docs fixes and some tests. ChangeLog | 15 +++++++++++++++ poppler/Catalog.cc | 2 ++ poppler/Catalog.h | 3 ++- qt4/src/poppler-document.cc | 2 ++ qt4/src/poppler-qt4.h | 14 +++++++++----- qt4/tests/Makefile.am | 22 +++++++++++++++++++++- qt4/tests/check_pagemode_attach.cpp | 22 ++++++++++++++++++++++ qt4/tests/check_pagemode_fullscreen.cpp | 22 ++++++++++++++++++++++ qt4/tests/check_pagemode_none.cpp | 22 ++++++++++++++++++++++ qt4/tests/check_pagemode_oc.cpp | 22 ++++++++++++++++++++++ qt4/tests/check_pagemode_thumbs.cpp | 22 ++++++++++++++++++++++ 11 files changed, 161 insertions(+), 7 deletions(-) commit 695e27fb4d6fcc3466e2c9c95b4f02821b07e823 Author: Brad Hards <bradh@frogmouth.net> Date: Thu Jul 7 11:01:27 2005 +0000 Suppress noise from new test files. qt4/tests/.cvsignore | 6 ++++++ 1 file changed, 6 insertions(+) commit 8a8d57bdcf11ed2903913d938b9711053b9bb9f1 Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jul 6 17:12:36 2005 +0000 Extract family, stretch and weight from the font descriptor ChangeLog | 2 ++ poppler/GfxFont.cc | 41 +++++++++++++++++++++++++++++++++++++++++ poppler/GfxFont.h | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) commit 3a1646c2f776f5a07b0e830fcb8e1b0a80efb41c Author: Albert Astals Cid <aacid@kde.org> Date: Wed Jul 6 13:29:00 2005 +0000 Add checkFooter to check the document ends with %%EOF ChangeLog | 5 +++++ poppler/PDFDoc.cc | 28 ++++++++++++++++++++++++++++ poppler/PDFDoc.h | 1 + 3 files changed, 34 insertions(+) commit 377c023d31cf74d8240aa5be9dba8e3838459a8c Author: Brad Hards <bradh@frogmouth.net> Date: Wed Jul 6 11:15:16 2005 +0000 Add unit tests for the isLinearized() property. ChangeLog | 4 ++++ qt4/tests/Makefile.am | 6 +++++- qt4/tests/check_linearised.cpp | 23 +++++++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) commit 5fa869887a840a585340993718df0841010666cf Author: Brad Hards <bradh@frogmouth.net> Date: Wed Jul 6 09:52:30 2005 +0000 Remove boolean for unicode table lookup from Font ChangeLog | 14 ++++++++++++++ qt4/src/poppler-document.cc | 2 -- qt4/src/poppler-qt4.h | 14 +------------- qt4/tests/poppler-fonts.cpp | 16 +++++++--------- 4 files changed, 22 insertions(+), 24 deletions(-) commit 40469c5883e17e734f3d54872c59e76b95bc0f95 Author: Brad Hards <bradh@frogmouth.net> Date: Wed Jul 6 09:00:39 2005 +0000 Update to reflect recent changes. qt4/tests/.cvsignore | 2 ++ 1 file changed, 2 insertions(+) commit 6cea437208f913085a6a8c7183b0826a107cefb5 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jul 5 21:15:48 2005 +0000 Don't crash with files that have fonts with no name ChangeLog | 7 +++++++ qt4/src/poppler-document.cc | 13 ++++++++++--- qt4/src/poppler-qt4.h | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) commit 1323c74479848f5b87a3a13fa26e8b9e096e9f6a Author: Brad Hards <bradh@frogmouth.net> Date: Tue Jul 5 12:31:59 2005 +0000 Check in a couple more test apps qt4/tests/Makefile.am | 10 ++++++- qt4/tests/check_author.cpp | 25 +++++++++++++++++ qt4/tests/check_permissions.cpp | 59 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 93 insertions(+), 1 deletion(-) commit 839a798ec3725427185de5a48c58ac448596b25d Author: Brad Hards <bradh@frogmouth.net> Date: Tue Jul 5 12:25:00 2005 +0000 Add Qt4 bindings for new user permission properties. ChangeLog | 4 ++++ qt4/src/poppler-document.cc | 25 ++++++++++++++++++++++ qt4/src/poppler-qt4.h | 51 ++++++++++++++++++++++++++++++++++++++++----- 3 files changed, 75 insertions(+), 5 deletions(-) commit e10f6990d3339e3a7adeaa50b1754cf7ecf82f87 Author: Brad Hards <bradh@frogmouth.net> Date: Tue Jul 5 12:15:04 2005 +0000 Add some more user permissions properties - high resolution printing, document assembly, extraction for accessibility and form completion. ChangeLog | 8 ++++++++ poppler/PDFDoc.h | 9 +++++++++ poppler/XRef.cc | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++---- poppler/XRef.h | 4 ++++ 4 files changed, 72 insertions(+), 4 deletions(-) commit 3a8e1ba03cdec6412dd0b79f0cc59a4cd97dd4e7 Author: Brad Hards <bradh@frogmouth.net> Date: Mon Jul 4 11:38:22 2005 +0000 A couple more little changes. ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) commit a44bd0b45bb89f29ddca5d0e8986a8de50f9db39 Author: Brad Hards <bradh@frogmouth.net> Date: Mon Jul 4 11:37:21 2005 +0000 Change path to sample file to point to test module qt4/tests/check_orientation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2a7079087c35651c242d3843c94703a3199e61ca Author: Brad Hards <bradh@frogmouth.net> Date: Mon Jul 4 11:36:13 2005 +0000 Fix typo causing failure to pick up upside down pages. qt4/src/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 529a548044ae721a414c5b8e768c0498b1e6830b Author: Brad Hards <bradh@frogmouth.net> Date: Mon Jul 4 08:30:29 2005 +0000 Update to reflect recent changes ChangeLog | 30 +++++++++++++++++++++++++++++- qt4/tests/.cvsignore | 2 ++ 2 files changed, 31 insertions(+), 1 deletion(-) commit 08cca4670f8ae65333beacda85834112e76489d1 Author: Brad Hards <bradh@frogmouth.net> Date: Mon Jul 4 08:21:27 2005 +0000 Add in a simple demo/test application, similar to the pdffonts application in xpdf. qt4/tests/Makefile.am | 9 +++++- qt4/tests/poppler-fonts.cpp | 76 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+), 1 deletion(-) commit 52af89d8303b50c45d5e4584d19ec8b7d7ebcf9b Author: Brad Hards <bradh@frogmouth.net> Date: Mon Jul 4 08:18:52 2005 +0000 Update to reflect changes to rendering API. qt4/tests/stress-poppler-qt4.cpp | 4 ++-- qt4/tests/test-poppler-qt4.cpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) commit d42998d0fc32b1e21a2aeef1311e0baf508ade3f Author: Brad Hards <bradh@frogmouth.net> Date: Mon Jul 4 08:16:17 2005 +0000 Qt4 update. * qt4/src/poppler-qt4.h: * qt4/src/poppler-document.cc complete Qt4 font metadata handling * qt4/src/poppler-qt4.h: * qt4/src/poppler-page.cc: change the render API to make it more Qt-like. qt4/src/poppler-document.cc | 7 ++++- qt4/src/poppler-page.cc | 5 ++-- qt4/src/poppler-qt4.h | 73 ++++++++++++++++++++++++++++++++++++++++++--- 3 files changed, 77 insertions(+), 8 deletions(-) commit 5d194b926d1ed642ed4bbd3304befa073d389cd4 Author: Brad Hards <bradh@frogmouth.net> Date: Mon Jul 4 08:10:16 2005 +0000 Change FontInfo::type() to return an enumerated value, rather than a GooString. poppler/FontInfo.cc | 16 ++-------------- poppler/FontInfo.h | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 17 deletions(-) commit 1303020b2e97bc110ccf045cd2811daf59ec72ce Author: Brad Hards <bradh@frogmouth.net> Date: Mon Jul 4 07:42:32 2005 +0000 Fix up the unit test, now that I have a real sample file. qt4/tests/check_orientation.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 96fc0ea3fc6c9c7d933e9e0c02a622b2aeef7617 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Jul 1 04:57:49 2005 +0000 2005-07-01 Kristian Høgsberg <krh@redhat.com> * poppler/TextOutputDev.cc: Make selection also work when dragging backwards in the text flow. Currently this is a big pile of if-statements, and there is certainly room for improvement. ChangeLog | 6 +++ poppler/TextOutputDev.cc | 129 ++++++++++++++++++++++++++++++++++++++--------- 2 files changed, 111 insertions(+), 24 deletions(-) commit 06c49c496f28aba608101adcecd8cec34937ac78 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Jun 30 19:44:33 2005 +0000 2005-06-30 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.h: * glib/poppler-page.cc (poppler_page_copy_to_pixbuf): Fix splash compilation (patch from Marco). (poppler_page_render_to_pixbuf): Drop dest_x and dest_y coordinates from this function. This functionality can be achieved using a sub-GdkPixbuf. * glib/test-poppler-glib.c (main): Update test case. ChangeLog | 11 +++++++++++ NEWS | 6 ++++++ glib/poppler-page.cc | 27 ++++++++++----------------- glib/poppler-page.h | 4 +--- glib/test-poppler-glib.c | 2 +- 5 files changed, 29 insertions(+), 21 deletions(-) commit b126785aeda6b5576a13fc3f3853b027bd7dd306 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Jun 30 00:36:01 2005 +0000 2005-06-29 Kristian Høgsberg <krh@redhat.com> * glib/poppler-private.h: Move TextOutputDev.h include here from poppler-page.cc ChangeLog | 5 +++++ glib/poppler-page.cc | 1 - glib/poppler-private.h | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) commit b15a8caf003d7d0631d4f78db5ab54e55a5a000a Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Jun 29 21:24:48 2005 +0000 2005-06-29 Kristian Høgsberg <krh@redhat.com> * configure.ac: * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler-private.h: * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: * poppler/Page.cc: * poppler/Page.h: * poppler/TextOutputDev.cc: * poppler/TextOutputDev.h: Add support for rendering real selection (based on text flow). ChangeLog | 20 ++- configure.ac | 4 +- glib/poppler-page.cc | 224 +++++++++++++++++++------ glib/poppler-page.h | 65 ++++---- glib/poppler-private.h | 3 + poppler/CairoOutputDev.cc | 13 +- poppler/CairoOutputDev.h | 2 +- poppler/Page.cc | 59 +++++-- poppler/Page.h | 12 ++ poppler/TextOutputDev.cc | 414 +++++++++++++++++++++++++++++++++++++++++++++- poppler/TextOutputDev.h | 38 ++++- 11 files changed, 743 insertions(+), 111 deletions(-) commit 3b5e20465e482eb0e75a106697ee94d60aea2fdc Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 28 22:51:29 2005 +0000 Forgot assigning type on copy constructor poppler/FontInfo.cc | 1 + 1 file changed, 1 insertion(+) commit e512cd1832a0e6d15149e12e8e67a39d335efc86 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 28 22:49:14 2005 +0000 Add FontInfo::getType() ChangeLog | 3 +++ poppler/FontInfo.cc | 4 ++++ poppler/FontInfo.h | 2 ++ 3 files changed, 9 insertions(+) commit 8aeb5205f2876a9dc36eb1dc1e361bb87adf4e31 Author: Albert Astals Cid <aacid@kde.org> Date: Tue Jun 28 22:00:05 2005 +0000 use transformation matrix for image rendering in Arthur backend ChangeLog | 4 ++++ poppler/ArthurOutputDev.cc | 12 +++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) commit a221d06fdc7b0688ca0744a1d6ad49d472c7f12c Author: Brad Hards <bradh@frogmouth.net> Date: Tue Jun 28 10:59:14 2005 +0000 Reduce cvs up noise .cvsignore | 1 + ChangeLog | 7 +++++++ qt4/.cvsignore | 3 +++ qt4/src/.cvsignore | 7 +++++++ qt4/tests/.cvsignore | 8 ++++++++ 5 files changed, 26 insertions(+) commit ea58a20bbcf450a1ecb8fe00e8162cfdf76105f1 Author: Brad Hards <bradh@frogmouth.net> Date: Tue Jun 28 10:00:09 2005 +0000 Initial import of Qt4 bindings, and for a Qt4 "Arthur" (QPainter) backend renderer. The bindings are currently unstable - you can expect substantial change in both source and binary interfaces. The Arthur renderer currently does a reasonable job of rendering path and fill, but the image rendering doesn't work (for reasons that aren't clear to me) and text rendering doesn't use the right glyphs - it just draws with the current font. There is a lot of work to do on this too. Help is, of coure, welcome. ChangeLog | 12 + Makefile.am | 10 +- configure.ac | 94 ++- poppler-qt4.pc.in | 12 + poppler/ArthurOutputDev.cc | 604 +++++++++++++++++++ poppler/ArthurOutputDev.h | 133 +++++ poppler/Makefile.am | 20 + qt4/Makefile.am | 1 + qt4/src/Doxyfile | 1212 ++++++++++++++++++++++++++++++++++++++ qt4/src/Makefile.am | 22 + qt4/src/poppler-document.cc | 309 ++++++++++ qt4/src/poppler-page.cc | 170 ++++++ qt4/src/poppler-private.h | 36 ++ qt4/src/poppler-qt4.h | 286 +++++++++ qt4/tests/Makefile.am | 34 ++ qt4/tests/check_orientation.cpp | 40 ++ qt4/tests/stress-poppler-qt4.cpp | 70 +++ qt4/tests/test-poppler-qt4.cpp | 121 ++++ 18 files changed, 3183 insertions(+), 3 deletions(-) commit 61e9bc76eb2fcb0b4b899ebfad1cc71c59fc8274 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Jun 28 03:44:12 2005 +0000 2005-06-27 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: Change CairoOutputDev to render to a given surface and let the user create that surface. * glib/poppler-document.cc: * glib/poppler-page.cc: * glib/poppler-private.h: Create the cairo image surface here instead and pass it to the CairoOutputDev for rendering. * poppler/CairoOutputDevImage.cc: * poppler/CairoOutputDevImage.h: * poppler/CairoOutputDevX.cc: * poppler/CairoOutputDevX.h: * poppler/Makefile.am: Remove specialized cairo output devices. ChangeLog | 17 ++++ glib/poppler-document.cc | 2 +- glib/poppler-page.cc | 21 +++- glib/poppler-private.h | 4 +- poppler/CairoOutputDev.cc | 24 +++-- poppler/CairoOutputDev.h | 8 +- poppler/CairoOutputDevImage.cc | 80 --------------- poppler/CairoOutputDevImage.h | 44 --------- poppler/CairoOutputDevX.cc | 216 ----------------------------------------- poppler/CairoOutputDevX.h | 117 ---------------------- poppler/Makefile.am | 8 +- 11 files changed, 54 insertions(+), 487 deletions(-) commit 8079dce3f0ed91dd531465f45c6d3c568ab4ecd1 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jun 27 01:04:32 2005 +0000 2005-06-26 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDev.h: Switch back to using drawChar() for text, but utilize the beginString() and endString() hooks so we can use cairo_show_glyphs() efficiently. ChangeLog | 7 +++ poppler/CairoOutputDev.cc | 107 ++++++++++++++-------------------------------- poppler/CairoOutputDev.h | 12 +++++- 3 files changed, 48 insertions(+), 78 deletions(-) commit 1aa48d6b7907a1d53830f0cf28085041f685368d Author: Albert Astals Cid <aacid@kde.org> Date: Sun Jun 26 23:35:26 2005 +0000 Add PageTransition class and PageTransition* Page::getTransition() const; to the qt frontend. Code almost 100% copied from xpdf code inside kpdf ChangeLog | 5 +++ qt/poppler-page.cc | 121 +++++++++++++++++++++++++++++++++++++++++++++++++++++ qt/poppler-qt.h | 78 ++++++++++++++++++++++++++++++++++ 3 files changed, 204 insertions(+) commit 9d4327eecd94299a3629b0814e84f981a4be1dfb Author: Martin Kretzschmar <martink@gnome.org> Date: Sun Jun 26 15:54:16 2005 +0000 add poppler-enums.[ch]. ChangeLog | 2 ++ glib/.cvsignore | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) commit 768186514b9fc175cf330344408bb89ab4c909f3 Author: Martin Kretzschmar <martink@gnome.org> Date: Sun Jun 26 11:40:35 2005 +0000 require glib 2.4+ for g_value_take_string and G_DEFINE_TYPE. ChangeLog | 5 +++++ configure.ac | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 5d40e34a367212c39af06332879f26824d6d62d2 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Jun 26 00:01:39 2005 +0000 2005-06-25 Jeff Muizelaar <jeff@infidigm.net> * poppler/Error.h: Maybe fix build on Solaris. ChangeLog | 4 ++++ poppler/Error.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit c2780a3b3f4615bb28bfe394d649b388db4ccf4d Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jun 20 21:33:09 2005 +0000 2005-06-20 Kristian Høgsberg <krh@redhat.com> * NEWS: * configure.ac: Bump version to 0.3.3 and sum up changes since last release. * glib/poppler-page.cc (poppler_page_find_text): Initialize xMin and yMin to avoid referencing unintialized memory (#3582). ChangeLog | 9 +++++++++ NEWS | 10 ++++++++++ configure.ac | 2 +- glib/poppler-page.cc | 2 ++ 4 files changed, 22 insertions(+), 1 deletion(-) commit 9023891f314ac37811b5c973be2e36b6de353cf2 Author: Martin Kretzschmar <martink@gnome.org> Date: Mon Jun 20 18:45:41 2005 +0000 (info_dict_get_string): convert from PDFDocEncoding to UTF-8. ChangeLog | 5 +++++ glib/poppler-document.cc | 16 +++++++++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) commit bbf2fe757f0fd08d0e90e3810709ab7152c779c0 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jun 20 17:58:38 2005 +0000 2005-06-20 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler.h: Clean up glib rotation implementation and add a getter for rotation. Patch from Marco. ChangeLog | 7 ++++++ glib/poppler-page.cc | 69 +++++++++++++++++++++++++++++----------------------- glib/poppler-page.h | 57 ++++++++++++++++++++++--------------------- glib/poppler.h | 1 - 4 files changed, 75 insertions(+), 59 deletions(-) commit c264d8a9f84587cd0f2ef67683a01fc8dd9395af Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jun 20 17:38:27 2005 +0000 2005-06-20 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc: * poppler/FontInfo.cc: Fixes from Marco to handle fonts without name (typically type 3 fonts) and fix an iterator bug. ChangeLog | 6 ++++++ glib/poppler-document.cc | 8 +++++++- poppler/FontInfo.cc | 13 ++++++++++--- 3 files changed, 23 insertions(+), 4 deletions(-) commit 4746e63a793a2881e904ac54d58b7d3e48b07dcf Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jun 20 17:22:35 2005 +0000 2005-06-20 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_get_link_mapping): Adjust link coordinates so they're relative to bounding box lower left corner (#3396). ChangeLog | 6 ++++++ glib/poppler-page.cc | 6 ++++++ 2 files changed, 12 insertions(+) commit bada3d03583ef6ed34d2aa743de8fd9ca4a5c748 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Jun 17 05:30:56 2005 +0000 2005-06-17 Kristian Høgsberg <krh@redhat.com> * autogen.sh: Patch from Emil Soleyman-Zomalan to enable checks for automake >= 1.7 (#3554). ChangeLog | 5 +++ autogen.sh | 104 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) commit 25db42831ddde500697126352458e092a9b0ab9b Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Jun 15 15:02:46 2005 +0000 2005-06-15 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc: * glib/poppler-document.h: Patch from Marco to get initial status (open or closed) for bookmark subtrees. ----------------------------------------------------------- ChangeLog | 6 ++++++ glib/poppler-document.cc | 9 +++++++++ glib/poppler-document.h | 1 + 3 files changed, 16 insertions(+) commit e54e306ac5d603001fefda3b9ecd81821e4bd09e Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jun 13 17:18:32 2005 +0000 Forgot to add new files. poppler/FontInfo.cc | 197 ++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/FontInfo.h | 51 ++++++++++++++ 2 files changed, 248 insertions(+) commit 23e8ed5cbf4d7d999a8a1dcf714aaddaf339ceff Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Jun 13 16:09:33 2005 +0000 2005-06-13 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc: * glib/poppler-document.h: * glib/poppler-private.h: * glib/poppler.h: * glib/test-poppler-glib.c: * poppler/Makefile.am: Patch from Marco to extract font info from document. ChangeLog | 10 ++++ glib/poppler-document.cc | 131 +++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 13 +++++ glib/poppler-private.h | 7 +++ glib/poppler.h | 2 + glib/test-poppler-glib.c | 14 +++++ poppler/Makefile.am | 2 + 7 files changed, 179 insertions(+) commit fbb86d2983a28ad2c46b8c5d475a2df1f0f0e4b9 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Jun 8 14:35:46 2005 +0000 2005-06-08 Kristian Høgsberg <krh@redhat.com> * poppler/CairoFontEngine.cc: Remember to delete tmpFileName. Patch from Nikolai Weibull (#3491). ChangeLog | 5 +++++ poppler/CairoFontEngine.cc | 37 +++++++++++++++++++------------------ 2 files changed, 24 insertions(+), 18 deletions(-) commit 699b03025c1d38a42a49e39017097c5d0315fd6f Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Jun 7 20:25:48 2005 +0000 2005-06-07 Kristian Høgsberg <krh@redhat.com> * qt/test-poppler-qt.cpp: Add stdlib.h include for exit(). ChangeLog | 4 ++++ qt/test-poppler-qt.cpp | 1 + 2 files changed, 5 insertions(+) commit 0017b1a72c58e2d016d22451079c466abdfff15c Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Jun 2 19:14:45 2005 +0000 2005-06-02 Kristian Høgsberg <krh@redhat.com> * poppler/TextOutputDev.h: * qt/poppler-qt.h: Patch from Stanislav Brabec <sbrabec@suse.cz> to fix gcc 4.0.1 warnings on undeclared friend classes. * test/gtk-splash-test.cc: Fix from Martin Kretzschmar <martink@gnome.org> to compile with OPI enabled (#2911). ChangeLog | 9 +++++++++ poppler/TextOutputDev.h | 3 +++ qt/poppler-qt.h | 2 ++ test/gtk-splash-test.cc | 2 +- 4 files changed, 15 insertions(+), 1 deletion(-) commit 47c3b4ec2c7691e44f5100b1f5956df0005467c8 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Jun 2 18:49:55 2005 +0000 2005-06-02 Kristian Høgsberg <krh@redhat.com> Patch from Stanislav Brabec <sbrabec@suse.cz>: * configure.ac: * poppler-cairo.pc.in: * poppler-glib.pc.in: * poppler-qt.pc.in: * poppler-splash.pc.in: Misc fixes to pkg-config files. ChangeLog | 10 ++++++++++ configure.ac | 6 ++++-- poppler-cairo.pc.in | 3 +-- poppler-glib.pc.in | 4 ++-- poppler-qt.pc.in | 1 + poppler-splash.pc.in | 3 +-- 6 files changed, 19 insertions(+), 8 deletions(-) commit 9f0da96dd005defd5d82dd05b627ff1925430215 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Jun 2 00:35:44 2005 +0000 2005-06-01 Jeff Muizelaar <jeff@infidigm.net> * poppler/Error.cc: * poppler/Error.h: Make error handling function setable through setErrorFunction. Based on a patch by Albert Astals Cid. ChangeLog | 8 ++++++++ poppler/Error.cc | 29 ++++++++++++++++++++--------- poppler/Error.h | 2 ++ 3 files changed, 30 insertions(+), 9 deletions(-) commit f688aa11d066f1c6f4115cbdb604ac61fb8b5146 Author: Kristian Høgsberg <krh@redhat.com> Date: Sun May 29 14:59:34 2005 +0000 2005-05-29 Kristian Høgsberg <krh@redhat.com> * glib/*: Add more meta data properties to poppler document. Patch by Emil Soleyman-Zomalan (#3359). ChangeLog | 5 ++ glib/poppler-document.cc | 155 ++++++++++++++++++++++++++++++++++++++++++++++- glib/poppler.gidl | 5 ++ glib/test-poppler-glib.c | 46 +++++++++----- 4 files changed, 194 insertions(+), 17 deletions(-) commit 9e6eeec574d48d2341ee620e16360d3b21c40103 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu May 26 13:03:35 2005 +0000 2005-05-26 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDev.cc (clip): Remove snapToGrid so clip() prototype matches what Gfx actually calls (fixes clipping). * poppler/CairoOutputDev.cc: Update fill color, stroke color, fill opacity and stroke opacity from GfxState on restore, since they aren't handled by cairo_restore() (#3362). * poppler/CairoOutputDev.cc: Comment out tolerance setting until we figure out how cairo settings relate to pdf settings. * poppler/CairoOutputDev.cc: Support fill and stroke opacity. ChangeLog | 12 ++++++++++++ poppler/CairoOutputDev.cc | 41 ++++++++++++++++++++++++++++++----------- poppler/CairoOutputDev.h | 6 +++++- 3 files changed, 47 insertions(+), 12 deletions(-) commit 89a633edd860e3c6ded1e468edf6f28cfcb43d0e Author: Kristian Høgsberg <krh@redhat.com> Date: Thu May 26 12:52:38 2005 +0000 2005-05-26 Kristian Høgsberg <krh@redhat.com> * poppler/GfxState.cc: * poppler/GfxState.h: Add GfxColorSpace::getRGBLine here and implement in subclasses. * poppler/CairoOutputDev.cc (drawImage): Use getRGBLine here. ChangeLog | 8 +++ poppler/CairoOutputDev.cc | 66 +++++++++---------- poppler/GfxState.cc | 160 +++++++++++++++++++++++++++++++++++++++++++++- poppler/GfxState.h | 14 ++++ 4 files changed, 212 insertions(+), 36 deletions(-) commit 4d8224819da7a85e4d99f96c9bbb047ece58130a Author: Jonathan Blandford <jrb@redhat.com> Date: Mon May 23 04:23:53 2005 +0000 Mon May 23 00:22:41 2005 Jonathan Blandford <jrb@redhat.com> * glib/poppler-document.h: Add a permissions flag to the glib bindings. ChangeLog | 5 +++++ glib/poppler-document.cc | 24 ++++++++++++++++++++++++ glib/poppler-document.h | 16 +++++++++------- 3 files changed, 38 insertions(+), 7 deletions(-) commit 1f677e2f60634a7d0c5e0e0d2125ab15c2722979 Author: Kristian Høgsberg <krh@redhat.com> Date: Sat May 21 21:33:06 2005 +0000 2005-05-21 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc (poppler_ps_file_new): Fix off-by-one error spotted by Jürg Billeter. ----------------------------------------------------- ChangeLog | 5 +++++ glib/poppler-document.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 0bbf2f08173866cde9b097eeeb1f4218a396588d Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 20 20:48:52 2005 +0000 2005-05-20 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDev.cc: Account for different row vs. column vector conventions between cairo and poppler. ChangeLog | 3 +++ poppler/CairoOutputDev.cc | 18 +++++++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) commit da44ec7e8de58e55e55b1f780bc3f4bc8307874f Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 20 18:38:10 2005 +0000 2005-05-20 Kristian Høgsberg <krh@redhat.com> * poppler/CairoFontEngine.cc: Only get the code to gid map if we're using freetype 2.1.7 or older (#3340). ChangeLog | 5 +++++ poppler/CairoFontEngine.cc | 13 ++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) commit 6fe29cf0a7e54b8d294471a0f94eb9e989ad1d7f Author: Kristian Høgsberg <krh@redhat.com> Date: Thu May 19 05:18:04 2005 +0000 Add bugzilla number. ChangeLog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 42de1348622cf86a87bc22941bd48bffa943dac9 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu May 19 05:16:22 2005 +0000 2005-05-19 Kristian Høgsberg <krh@redhat.com> * poppler/CairoFontEngine.cc: Only cast to Gfx8BitFont when we know for sure we have a truetype font. GfxCIDFont::getCIDToGIDLen() can return 0 in which case codeToGID will be NULL, and we end up casting it to a Gfx8BitFont. ChangeLog | 7 +++++++ poppler/CairoFontEngine.cc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit afc05387c94a76ff0ed69b3f5d9a69ddd1448e83 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed May 18 17:39:59 2005 +0000 2005-05-18 Kristian Høgsberg <krh@redhat.com> * configure.ac: Require cairo 0.5.0, bump release to 0.3.2. * NEWS: Sum up latest changes. * glib/poppler-document.cc (poppler_ps_file_new): Take a page range here instead of just number of pages. ChangeLog | 9 +++++++++ NEWS | 7 +++++++ configure.ac | 6 +++--- glib/poppler-document.cc | 15 ++++++++++----- glib/poppler-document.h | 1 + 5 files changed, 30 insertions(+), 8 deletions(-) commit 420134a194af9161282ccfe329d17adef8d325f2 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue May 17 23:38:27 2005 +0000 2005-05-17 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDevX.cc: * test/gtk-cairo-test.cc: Chase the cairo xlib constructor again. ChangeLog | 5 +++++ poppler/CairoOutputDevX.cc | 5 +++-- test/gtk-cairo-test.cc | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) commit 6fd62953a910dcfb4abd9de5ea18285b8fa5d202 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon May 16 23:16:15 2005 +0000 Add bug number and attribution to ChangeLog entry. ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) commit 6d7f624c13e8a9a8251ac97388cd80e418c70250 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon May 16 21:56:31 2005 +0000 2005-05-16 Kristian Høgsberg <krh@redhat.com> * configure.ac: Check for glib-mkenums. * glib/Makefile.am (poppler-enums.h): Generate glib enums at compile time. * glib/poppler-enums.c: * glib/poppler-enums.h: Removed. ChangeLog | 8 +++ configure.ac | 3 + glib/.cvsignore | 1 + glib/Makefile.am | 67 ++++++++++++------ glib/poppler-enums.c | 189 --------------------------------------------------- glib/poppler-enums.h | 49 ------------- 6 files changed, 57 insertions(+), 260 deletions(-) commit 2801b54a944fc9e1072c5dcb9f1153a0c9f42de5 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon May 16 20:27:51 2005 +0000 2005-05-16 Kristian Høgsberg <krh@redhat.com> * test/gtk-cairo-test.cc: Update this test case also. ChangeLog | 2 ++ test/gtk-cairo-test.cc | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 8753ae8ba20fcceaef3ef1dda89129f0456fccf6 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon May 16 19:06:00 2005 +0000 2005-05-16 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDevX.cc: Track changes to cairo Xlib surface constructors. * poppler/CairoFontEngine.cc (cairo_font_face_destroy): Make this static. ChangeLog | 8 ++++++++ poppler/CairoFontEngine.cc | 2 +- poppler/CairoOutputDevX.cc | 5 +++-- 3 files changed, 12 insertions(+), 3 deletions(-) commit 2e17106ef4711097104a561d5be49980f8b2f5ab Author: Jonathan Blandford <jrb@redhat.com> Date: Fri May 13 03:47:36 2005 +0000 whoops! commit the right file. glib/poppler.gidl | 212 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ glib/test.gidl | 23 ------ 2 files changed, 212 insertions(+), 23 deletions(-) commit 19b62e1c8ea8ce042ac089defe94f756dcaf194e Author: Jonathan Blandford <jrb@redhat.com> Date: Fri May 13 03:25:32 2005 +0000 Thu May 12 23:10:45 2005 Jonathan Blandford <jrb@redhat.com> * glib/poppler.gidl: add metadata file. ChangeLog | 4 ++++ glib/test.gidl | 23 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) commit bef5a548f3b21e7220079155e9b5054fb0c6c3c7 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu May 12 21:26:25 2005 +0000 2005-05-12 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDev.cc: * poppler/CairoOutputDevX.cc: * poppler/CairoOutputDevImage.cc: * test/gtk-cairo-test.cc: Update to latest cairo changes, patch from Jens Taprogge (#3281) ChangeLog | 8 ++++++++ poppler/CairoOutputDev.cc | 22 +++++++++++----------- poppler/CairoOutputDevImage.cc | 11 ++++++----- poppler/CairoOutputDevX.cc | 7 +++++-- test/gtk-cairo-test.cc | 8 +++++--- 5 files changed, 35 insertions(+), 21 deletions(-) commit c10ea2dd9bffaf9af023612ef196bab2b204d3e1 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed May 11 20:01:43 2005 +0000 2005-05-11 Kristian Høgsberg <krh@redhat.com> * glib/poppler.cc (poppler_get_backend, poppler_get_version): Add these functions so it's easy to tell if poppler is using cairo or splash and what version. * glib/test-poppler-glib.c (main): Print out version and backend. ChangeLog | 8 ++++++++ glib/poppler-enums.c | 26 ++++++++++++++++++++++++++ glib/poppler-enums.h | 15 +++++++++++++++ glib/poppler.cc | 21 +++++++++++++++++++++ glib/poppler.h | 11 +++++++++++ glib/test-poppler-glib.c | 9 ++++++++- 6 files changed, 89 insertions(+), 1 deletion(-) commit 7d189e33cfa68e722561e9398ad85a77b538ab14 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri May 6 16:38:57 2005 +0000 2005-05-06 Kristian Høgsberg <krh@redhat.com> * glib/Makefile.am (libpoppler_glib_la_LIBADD): Link poppler-glib against poppler. * qt/Makefile.am (libpoppler_qt_la_LIBADD): Ditto for qt. * poppler-glib.pc (Libs): Drop -lpoppler from link. * poppler-qt.pc (Libs): Ditto for qt. * configure.ac: Test for both libqt-mt.la and libqt-mt.so in that order. ChangeLog | 14 ++++++++++++++ configure.ac | 8 +++++++- glib/Makefile.am | 1 + poppler-glib.pc.in | 2 +- poppler-qt.pc.in | 2 +- qt/Makefile.am | 1 + qt/test-poppler-qt.cpp | 1 + 7 files changed, 26 insertions(+), 3 deletions(-) commit c937e63f17a096b94a554103476ecb9ab1b71b90 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed May 4 20:08:41 2005 +0000 2005-05-04 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDev.cc (CairoOutputDev::drawImageMask, CairoOutputDev::drawImage): Track cairo cvs API changes; use cairo_mask() and cairo_paint() for drawing image masks and images. ChangeLog | 6 +++ poppler/CairoOutputDev.cc | 98 ++++++++++++++++++++++++----------------------- 2 files changed, 57 insertions(+), 47 deletions(-) commit c142773ad30b409d8169a53921e731305de46e50 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed May 4 19:28:07 2005 +0000 2005-05-04 Kristian Høgsberg <krh@redhat.com> * poppler/CairoOutputDev.cc: Fix matrix convention confusion. ChangeLog | 4 ++++ poppler/CairoOutputDev.cc | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 28760927d724231d0137ca7ecc66c6c2250dff0d Author: Kristian Høgsberg <krh@redhat.com> Date: Wed May 4 19:11:11 2005 +0000 2005-05-04 Kristian Høgsberg <krh@redhat.com> Patches from Albert Astals Cid: * qt/poppler-page.cc (getText): Use QString::fromUtf8() instead of implicit latin1 cast constructor. * qt/test-poppler-qt.cpp (main): Use a QLabel for showing text instead of qDebug. ChangeLog | 10 ++++++++++ qt/poppler-page.cc | 5 ++--- qt/test-poppler-qt.cpp | 6 +++++- 3 files changed, 17 insertions(+), 4 deletions(-) commit fd36522375bcf436639b8731acb3ad22c03c03f4 Author: Jonathan Blandford <jrb@redhat.com> Date: Wed May 4 06:32:38 2005 +0000 Wed May 4 02:31:05 2005 Jonathan Blandford <jrb@redhat.com> * glib/poppler-document.cc: * glib/poppler-document.h: * glib/poppler-enums.c: (poppler_permissions_get_type): * glib/poppler-enums.h: * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler.h: Register a bunch of boxed types to test introspection, and for LBs. Also, remove unused 'popper_document_save()' (-: ChangeLog | 13 ++++++++ glib/poppler-document.cc | 48 ++++++++++++++++------------ glib/poppler-document.h | 18 +++++++++-- glib/poppler-enums.c | 19 +++++++++++ glib/poppler-enums.h | 2 ++ glib/poppler-page.cc | 83 ++++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-page.h | 36 ++++++++++++++------- glib/poppler.h | 12 ++++--- 8 files changed, 193 insertions(+), 38 deletions(-) commit 132647f8311c07b1f95ee4fca185e9774aae4913 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon May 2 05:39:11 2005 +0000 2005-05-01 Kristian Høgsberg <krh@redhat.com> * poppler/CairoFontEngine.cc: * poppler/CairoFontEngine.h: * poppler/CairoOutputDev.cc: Back out workaround for cairo 0.4.0 font API and port to new cairo head. ChangeLog | 7 +++++ configure.ac | 4 +-- poppler/CairoFontEngine.cc | 67 +++++++++++++++++------------------------- poppler/CairoFontEngine.h | 12 ++++---- poppler/CairoOutputDev.cc | 39 ++++++++++++++---------- poppler/CairoOutputDevImage.cc | 2 +- 6 files changed, 66 insertions(+), 65 deletions(-) commit 595c18c038f8dcef73fe58612fc8b93f891e65a1 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Mon May 2 00:44:26 2005 +0000 2005-05-01 Jeff Muizelaar <jeff@infidigm.net> * splash/SplashFTFont.cc (SplashFTFont::getGlyphPath): Use FT_LOAD_NO_BITMAP to make sure we get outlines loaded instead of bitmaps for use in FT_Outline_Decompose. Patch from Albert Astals Cid. ChangeLog | 8 ++++++++ splash/SplashFTFont.cc | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) commit 49d89ca0ed3986bec7468f6c0ed295e84ba67239 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun May 1 21:54:55 2005 +0000 2005-05-01 Jeff Muizelaar <jeff@infidigm.net> * goo/gmem.c: (gmalloc), (grealloc), (gfree): * goo/gmem.h: make memory functions use size_t instead of int. Patch from Takashi Iwai through Albert Astals Cid. ChangeLog | 7 +++++++ goo/gmem.c | 10 +++++----- goo/gmem.h | 4 ++-- 3 files changed, 14 insertions(+), 7 deletions(-) commit 14d618bece894e4c6bed0f179a8fda4db5a67c9d Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Apr 30 19:53:57 2005 +0000 2005-04-30 Jeff Muizelaar <jeff@infidigm.net> * qt/poppler-document.cc (Document::unlock) : * qt/poppler-qt.h (Document::unlock): Add const to the password argument. Patch from Albert Astals Cid. ChangeLog | 8 ++++++++ qt/poppler-document.cc | 2 +- qt/poppler-qt.h | 2 +- 3 files changed, 10 insertions(+), 2 deletions(-) commit 1e66da32964cc76c6ed3773574f422b4608cb0e1 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Apr 30 17:31:47 2005 +0000 2005-04-30 Jeff Muizelaar <jeff@infidigm.net> * fofi/FoFiType1.cc (FoFiType1::parse): Don't assume Encoding array of Type1 fonts end in "foo def". http://partners.adobe.com/public/developer/en/font/T1_SPEC.PDF says "This sequence of assignments must be followed by an instance of the token def or readonly; such a token may not occur within the sequence of assignments." so it must end with "readonly" "def" "readonly def" (That is what most fonts are using and this is why it was not crashing) Patch from Albert Astals Cid. ChangeLog | 13 +++++++++++++ fofi/FoFiType1.cc | 14 +++++++++++--- 2 files changed, 24 insertions(+), 3 deletions(-) commit 0b532db77ef41937dd5be30d15c96557d81eceb2 Author: Jonathan Blandford <jrb@redhat.com> Date: Fri Apr 29 19:37:07 2005 +0000 Fri Apr 29 14:54:44 2005 Jonathan Blandford <jrb@redhat.com> * goo/GooTimer.h: New class to do simple timing checks. * glib/poppler-document.c: Patch from Martin Kretzschmar to really set the PDF version correct. Third time's the charm. ChangeLog | 7 ++++++ glib/poppler-document.cc | 4 ++- goo/GooTimer.cc | 63 ++++++++++++++++++++++++++++++++++++++++++++++++ goo/GooTimer.h | 40 ++++++++++++++++++++++++++++++ goo/Makefile.am | 2 ++ 5 files changed, 115 insertions(+), 1 deletion(-) commit 38948ea6f9ef76dae9b8a7156fe1ef32a0457380 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Apr 29 03:57:16 2005 +0000 2005-04-29 Kristian Høgsberg <krh@bitplanet.net> * configure.ac: Bump release to 0.3.1. * NEWS: Write up news for 0.3.1 release. ChangeLog | 6 ++++++ NEWS | 6 ++++++ configure.ac | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) commit af65146c92682a3af06e9d3147426445c78309de Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Apr 28 23:03:06 2005 +0000 2005-04-28 Kristian Høgsberg <krh@redhat.com> Patch from Martin Kretzschmar: * poppler/GlobalParams.cc: use UTF-8 as the default text encoding. Fixes Bug 2934. ChangeLog | 7 +++++++ poppler/GlobalParams.cc | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit c2db3e1b297a9dc0accd0d8a1366970d45705c8f Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Apr 27 20:56:18 2005 +0000 2005-04-27 Jeff Muizelaar <jeff@infidigm.net> * configure.ac: * poppler/FlateStream.cc: * poppler/FlateStream.h: * poppler/Makefile.am: * poppler/Stream.cc: * poppler/Stream.h: Add a reimplementation of FlateStream using zlib. ChangeLog | 10 +++++ configure.ac | 29 ++++++++++++++ poppler/FlateStream.cc | 107 +++++++++++++++++++++++++++++++++++++++++++++++++ poppler/FlateStream.h | 68 +++++++++++++++++++++++++++++++ poppler/Makefile.am | 17 +++++++- poppler/Stream.cc | 6 +++ poppler/Stream.h | 2 + 7 files changed, 237 insertions(+), 2 deletions(-) commit bc0afe524c2b87af191d83fc9e9bcdc8a6ce4042 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Apr 27 18:53:20 2005 +0000 2005-04-27 Kristian Høgsberg <krh@redhat.com> * poppler/Catalog.cc (NameTree::lookup): Fix bsearch return value NULL check. Found by Albert Astals Cid. ChangeLog | 5 +++++ poppler/Catalog.cc | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) commit 3c37dc350d54e5a1035aecfba5bfa394f931cf51 Author: Jonathan Blandford <jrb@redhat.com> Date: Tue Apr 26 17:17:05 2005 +0000 Tue Apr 26 13:13:42 2005 Jonathan Blandford <jrb@redhat.com> * glib/test-poppler-glib.c (main): add a quick dump-to-text test. ChangeLog | 4 ++++ glib/test-poppler-glib.c | 20 ++++++++++++++++++++ 2 files changed, 24 insertions(+) commit 44b800d520f90ffd143255d2c23835ea357c195b Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Apr 25 18:04:32 2005 +0000 Actually commit the qt/Makefile.am change advertised in the ChangeLog. qt/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 437bec03dd2ab3cdf6215f9ad443b7f21ce84e18 Author: Kristian Høgsberg <krh@redhat.com> Date: Sun Apr 24 19:56:17 2005 +0000 2005-04-24 Kristian Høgsberg <krh@redhat.com> * qt/Makefile.am (libpoppler_qt_la_SOURCES): Add poppler-private.h to SOURCES. ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) commit 9b2b1244ed5f30a99120aaee49c72f7cb6a4f556 Author: Kristian Høgsberg <krh@redhat.com> Date: Sat Apr 23 20:16:02 2005 +0000 2005-04-23 Kristian Høgsberg <krh@redhat.com> * poppler/CairoFontEngine.cc: Use the right fileName for loading CID fonts (#3114). ChangeLog | 5 +++++ poppler/CairoFontEngine.cc | 11 +++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) commit e4516d728a4d1bc85831d5d00b6d6b8d49c79308 Author: Kristian Høgsberg <krh@redhat.com> Date: Sat Apr 23 00:09:05 2005 +0000 2005-04-22 Kristian Høgsberg <krh@redhat.com> * configure.ac: Actually commit version number bump. ChangeLog | 4 ++++ NEWS | 2 +- configure.ac | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) commit c20448cb26fa1c309d726f272ddf1227f5a0e6ea Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Apr 22 17:29:49 2005 +0000 2005-04-22 Martin Kretzschmar <martink@gnome.org> * poppler/CairoFontEngine.cc: declare matrix variable before the first goto. Fixes build with gcc 3.3. ChangeLog | 5 +++++ poppler/CairoFontEngine.cc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) commit 42ecccf9b454893797e3d62f0f1c0a3276689e51 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Apr 22 04:09:23 2005 +0000 Fri Apr 22 00:01:40 2005 Kristian Høgsberg <krh@redhat.com> * poppler/CairoFontEngine.cc: Hack around semi-broken cairo-0.4.0 font API to fix the problem where some glyphs would show up at the wrong sizes. We now create an FT_Face for each size and font combination we encounter, since an FT_Face can't be shared between several cairo_font_t. ChangeLog | 8 +++++ poppler/CairoFontEngine.cc | 79 ++++++++++++++++++++-------------------------- poppler/CairoFontEngine.h | 23 ++++++-------- poppler/CairoOutputDev.cc | 18 +++++------ 4 files changed, 61 insertions(+), 67 deletions(-) commit 7a703616d9497eba4d7d318da9918dae9cbe8f12 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Apr 21 19:50:45 2005 +0000 Thu Apr 21 15:43:52 2005 Kristian Høgsberg <krh@redhat.com> * poppler/Outline.cc: * poppler/Outline.h: Implement the documented behaviour for Outline::getItems() and OutlineItem::getKids() and make documentation more precise (Patch from Marco). ChangeLog | 7 +++++++ poppler/Outline.cc | 6 ++++++ poppler/Outline.h | 7 ++++--- 3 files changed, 17 insertions(+), 3 deletions(-) commit 5c89902c5ee2cf13536225c141768b29505815ce Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Apr 21 06:35:33 2005 +0000 Thu Apr 21 02:25:20 2005 Kristian Høgsberg <krh@redhat.com> * poppler/CairoFontEngine.cc (CairoFont::getFont): Cache cairo_font_t's for a given CairoFont. With this patch cairo will recognize glyphs coming from the same font as such and the glyph cache will actually work. * glib/poppler-document.cc (poppler_document_new_from_file): Add output device (cairo or splash) to PopplerDocument and initialize it in the constructor. * glib/poppler-page.cc (splash_render_to_pixbuf, cairo_render_to_pixbuf): Use output device from associated poppler document instead of creating a new one. * poppler-glib.pc.in (Requires): Add Requires: field. * poppler/Page.cc (loadThumb): Remove unecessary and buggy call to Stream::addFilters(), reported by Ryan Lortie (#3046). ChangeLog | 7 ++++++- NEWS | 12 +++--------- poppler/CairoFontEngine.cc | 45 +++++++++++++++++++++++++++++++++++++++------ poppler/CairoFontEngine.h | 9 ++++++++- poppler/CairoOutputDev.cc | 9 +-------- 5 files changed, 57 insertions(+), 25 deletions(-) commit 71c1563bb0462154cb7caa4356d8f8d049073ac4 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Apr 21 05:20:24 2005 +0000 Thu Apr 21 00:15:30 2005 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc (poppler_document_new_from_file): Add output device (cairo or splash) to PopplerDocument and initialize it in the constructor. * glib/poppler-page.cc (splash_render_to_pixbuf, cairo_render_to_pixbuf): Use output device from associated poppler document instead of creating a new one. * poppler-glib.pc.in (Requires): Add Requires: field. * poppler/Page.cc (loadThumb): Remove unecessary and buggy call to Stream::addFilters(), reported by Ryan Lortie (#3046). ChangeLog | 15 +++++++++++++++ NEWS | 15 +++++++++++++++ glib/poppler-document.cc | 10 ++++++++++ glib/poppler-page.cc | 22 ++-------------------- glib/poppler-private.h | 13 +++++++++++++ poppler-glib.pc.in | 1 + poppler/CairoFontEngine.cc | 2 +- poppler/Page.cc | 2 -- 8 files changed, 57 insertions(+), 23 deletions(-) commit c6328cbc6cea05890b52a8302f8deba443959c03 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Apr 20 22:48:52 2005 +0000 2005-04-13 Jeff Muizelaar <jrmuizel@nit.ca> * qt/poppler-page.cc (Page::getText): * qt/poppler-qt.h: add a getText method for getting the text on a page * qt/test-poppler-qt.c (PDFDisplay::PDFDisplay): add the option to display the text on a page Patch from Albert Astals Cid. ChangeLog | 11 +++++++++++ qt/poppler-page.cc | 37 +++++++++++++++++++++++++++++++++++++ qt/poppler-qt.h | 20 ++++++++++++++++++++ qt/test-poppler-qt.cpp | 40 ++++++++++++++++++++++++++++++---------- 4 files changed, 98 insertions(+), 10 deletions(-) commit 86a32b65100a5baedd18ce0135703289839a317c Author: Jonathan Blandford <jrb@redhat.com> Date: Tue Apr 19 21:22:26 2005 +0000 Tue Apr 19 17:21:19 2005 Jonathan Blandford <jrb@redhat.com> * glib/poppler-document.cc (poppler_document_get_property): Use %.2g instead. ChangeLog | 5 +++++ glib/poppler-document.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 4e81624dcc2d5218f2f8bb4eaa992e724014a853 Author: Jonathan Blandford <jrb@redhat.com> Date: Tue Apr 19 21:13:22 2005 +0000 Tue Apr 19 17:11:52 2005 Jonathan Blandford <jrb@redhat.com> * glib/poppler-document.cc (poppler_document_get_property): Use %g instead of %f to avoid versioning like PDF-1.50000 ChangeLog | 5 +++++ glib/poppler-document.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 6ef9d30f06be2bd8a9e1470d70f49843a7e432ac Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Apr 19 19:48:49 2005 +0000 Tue Apr 19 15:43:35 2005 Kristian Høgsberg <krh@redhat.com> * glib/poppler-action.cc (_poppler_action_new): Handle NULL links gracefully (fix from Jeff). ChangeLog | 5 +++++ glib/poppler-action.cc | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) commit 770b7310ce8b07f95960c2014bf3f6040c060ac4 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Apr 19 04:28:15 2005 +0000 Tue Apr 19 00:20:08 2005 Kristian Høgsberg <krh@redhat.com> * poppler/Catalog.cc: Fix from Marco to make sure we always initialize Catalog::pageLabelInfo. ChangeLog | 5 +++++ poppler/Catalog.cc | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 49c10d9f2c4e0cef031f96929e38a14d7ce5af19 Author: Jonathan Blandford <jrb@redhat.com> Date: Sat Apr 16 18:57:43 2005 +0000 Sat Apr 16 14:53:15 2005 Jonathan Blandford <jrb@redhat.com> * glib/Makefile.am: Create poppler-enums.[ch] * glib/poppler.h: * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler-action.h: Try to clean up the headers a bit * glib/poppler-document.cc: * glib/poppler-document.h: Add support for document data. Implemented as a lot of GObject properties. * glib/poppler-enums.c: * glib/poppler-enums.h: New autogenerated files. * glib/test-poppler-glib.c: Test the new document metadata. Seems to work nicely, other than the PDF string and View Prefs. * poppler/Catalog.cc: * poppler/Catalog.h: Extend to support PageLayout. ChangeLog | 22 ++++++ glib/Makefile.am | 32 +++++++- glib/poppler-action.h | 15 ++-- glib/poppler-document.cc | 196 ++++++++++++++++++++++++++++++++++++++++++----- glib/poppler-document.h | 43 +++++++++-- glib/poppler-enums.c | 144 ++++++++++++++++++++++++++++++++++ glib/poppler-enums.h | 32 ++++++++ glib/poppler-page.cc | 3 - glib/poppler-page.h | 1 + glib/poppler.h | 7 ++ glib/test-poppler-glib.c | 48 +++++++++++- poppler/Catalog.cc | 17 ++++ poppler/Catalog.h | 11 +++ 13 files changed, 529 insertions(+), 42 deletions(-) commit f35c76cd3528f1e1de594e85e734ca23624b3a62 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Apr 15 02:25:10 2005 +0000 2005-04-14 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler-private.h: * glib/poppler.h: Patch from Marco Pesenti Gritti to set page orientaton. ChangeLog | 8 ++++ glib/poppler-page.cc | 109 +++++++++++++++++++++++++++++++++++++++++++++---- glib/poppler-page.h | 45 ++++++++++---------- glib/poppler-private.h | 1 + glib/poppler.h | 9 ++++ 5 files changed, 142 insertions(+), 30 deletions(-) commit 538408a8845e167cc2d796ac8b8129d0a2e6a894 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Apr 14 01:34:38 2005 +0000 2005-04-13 Jeff Muizelaar <jrmuizel@nit.ca> * poppler/CairoOutputDevImage.cc (getBitmap): remove unused SplashBitmap. Patch from Albert Astals Cid. ChangeLog | 5 +++++ poppler/CairoOutputDevImage.cc | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) commit 2903530492c24f3c7cb3bf3b993500694aaa27a8 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Apr 12 15:37:39 2005 +0000 2005-04-12 Kristian Høgsberg <krh@redhat.com> * configure.ac: Add fontconfig to PKG_CHECK_MODULES for the cairo backend too, since we shouldn't depend on cairo.pc to pull that in for us. * poppler/Makefile.am (INCLUDES): Add $(splash_includes) to INCLUDES to make sure the fontconfig include path is added when using the splash backend. ChangeLog | 10 ++++++++++ configure.ac | 4 ++-- poppler/Makefile.am | 1 + 3 files changed, 13 insertions(+), 2 deletions(-) commit 0f7dd9a0512ff97293ee3f8a762b0049393b3cc1 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Apr 9 18:14:39 2005 +0000 2005-04-09 Jeff Muizelaar <jrmuizel@nit.ca> * poppler-qt.h: * poppler-document.cc (okToPrint, okToChange, okToCopy): Patch from Albert Astals Cid adding more metadata exports ChangeLog | 6 ++++++ qt/poppler-document.cc | 20 ++++++++++++++++++++ qt/poppler-qt.h | 4 ++++ 3 files changed, 30 insertions(+) commit dee72b531dab83a29c7675ae06ffe376e4498a4e Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Apr 8 21:09:27 2005 +0000 2005-04-08 Kristian Høgsberg <krh@redhat.com> * poppler-qt.pc.in (Libs): Add -lpoppler to Libs. ChangeLog | 4 ++++ poppler-qt.pc.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit df59ce3b1d5ca8cd46aaf5f189bc78953e21e1a9 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Fri Apr 8 03:30:33 2005 +0000 2005-04-07 Jeff Muizelaar <jrmuizel@nit.ca> * configure.ac: redo the qt tests from Albert Astals Cid ChangeLog | 4 ++++ configure.ac | 78 ++++++++++++++++++++++++++++++++++++------------------------ 2 files changed, 51 insertions(+), 31 deletions(-) commit 3f9dde10e4778255c468895942e45d1a2637af3a Author: Jeff Muizelaar <jeff@infidigm.net> Date: Fri Apr 8 03:11:00 2005 +0000 2005-04-07 Jeff Muizelaar <jrmuizel@nit.ca> * qt/poppler-document.cc: * qt/poppler-page.cc: * qt/poppler-qt.h: Patch from Albert Astals Cid adding consts and exporting some more metadata. ChangeLog | 8 ++++++++ qt/poppler-document.cc | 21 ++++++++++++++++++--- qt/poppler-page.cc | 6 +++--- qt/poppler-qt.h | 15 +++++++++------ 4 files changed, 38 insertions(+), 12 deletions(-) commit e79a8b946e0d04b32da0b4ceea1649efd203cb07 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Apr 7 22:01:51 2005 +0000 2005-04-07 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc: * glib/poppler-document.h: * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler-private.h: Print to PS support from Marco Pesenti Gritti. ChangeLog | 9 +++++++++ glib/poppler-document.cc | 45 +++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 8 ++++++-- glib/poppler-page.cc | 19 +++++++++++++++++++ glib/poppler-page.h | 40 +++++++++++++++++++++------------------- glib/poppler-private.h | 7 +++++++ 6 files changed, 107 insertions(+), 21 deletions(-) commit 7319b66eb64e735ae8b811306eb76755f088385b Author: Jonathan Blandford <jrb@redhat.com> Date: Thu Apr 7 16:26:15 2005 +0000 Thu Apr 7 12:25:39 2005 Jonathan Blandford <jrb@redhat.com> * configure.ac: check for qt, not glib, when enabling the qt subdir ChangeLog | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit e258ed0cb42d524ee39451f680ad4c067e7721da Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Apr 6 20:49:19 2005 +0000 2005-04-06 Jeff Muizelaar <jrmuizel@nit.ca> * .cvsignore, glib/.cvsignore, qt/.cvsignore: Add more things to .cvsignore. Patch from Martin Kretzschmar. .cvsignore | 2 ++ ChangeLog | 6 ++++++ glib/.cvsignore | 7 +++++++ qt/.cvsignore | 7 +++++++ 4 files changed, 22 insertions(+) commit 2a5624a81aa84677a57e098d7d4045f44e3b6f3a Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Apr 6 20:35:03 2005 +0000 2005-04-06 Jeff Muizelaar <jrmuizel@nit.ca> * poppler-page.cc (Page::Page, Page::~Page): Construct and deconstruct the PageData object. Patch from Albert Astals Cid. ChangeLog | 6 ++++++ qt/poppler-page.cc | 6 ++++++ qt/poppler-qt.h | 1 + 3 files changed, 13 insertions(+) commit f983e3d317660653f2bfc56f9b06e2cec675beca Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Apr 6 14:39:40 2005 +0000 2005-04-06 Jeff Muizelaar <jrmuizel@nit.ca> * Makefile.am, configure.ac: Add configuration for qt wrapper. * poppler-qt.pc.in: * qt/Makefile.am: * qt/poppler-document.cc: * qt/poppler-page.cc: * qt/poppler-private.h: * qt/poppler-qt.h: * qt/test-poppler-qt.cpp: New files. ChangeLog | 13 +++ Makefile.am | 13 ++- configure.ac | 64 +++++++++++++- poppler-qt.pc.in | 11 +++ qt/Makefile.am | 32 +++++++ qt/poppler-document.cc | 232 +++++++++++++++++++++++++++++++++++++++++++++++++ qt/poppler-page.cc | 66 ++++++++++++++ qt/poppler-private.h | 32 +++++++ qt/poppler-qt.h | 75 ++++++++++++++++ qt/test-poppler-qt.cpp | 63 ++++++++++++++ 10 files changed, 597 insertions(+), 4 deletions(-) commit d91dd69a7a0dd581c26728d2640e4d36a7ffe75f Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Apr 5 17:46:44 2005 +0000 2005-04-05 Kristian Høgsberg <krh@redhat.com> * NEWS: Attempt to sum up changes since 0.1.2. * configure.ac: Bump release to 0.2.0, add AC_DEFINEs for cairo and splash availability. * poppler/CairoFontEngine.cc: Disable hinting. * glib/poppler-page.cc (poppler_page_render_to_pixbuf): Choose either splash or cairo rendering, based on configure choice. (cairo_render_to_pixbuf): New function to render using the cairo backend. (splash_render_to_pixbuf): Split out the splash code to this function. ChangeLog | 16 +++++ NEWS | 6 +- configure.ac | 16 +++-- glib/Makefile.am | 17 ++++- glib/poppler-page.cc | 152 +++++++++++++++++++++++++++++++++-------- poppler/CairoFontEngine.cc | 2 +- poppler/CairoOutputDevImage.cc | 20 ++---- poppler/CairoOutputDevImage.h | 3 +- 8 files changed, 179 insertions(+), 53 deletions(-) commit b62b0cec2335d987b31fbb0043cb33db29cc6a13 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Apr 5 02:56:32 2005 +0000 2005-04-04 Kristian Høgsberg <krh@redhat.com> * ChangeLog: Add this entry to test commit mailer script. ChangeLog | 2 ++ 1 file changed, 2 insertions(+) commit 50b494266ce197fe88468ca2917b9910d77e5f98 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Apr 5 02:49:18 2005 +0000 2005-04-04 Kristian Høgsberg <krh@redhat.com> * TODO: Add reminder about using PDF font descriptors with fontconfig. ChangeLog | 3 +++ TODO | 2 ++ 2 files changed, 5 insertions(+) commit d3d12235bf4de48363571b3d992ea3bfc29e6529 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Apr 4 21:50:56 2005 +0000 2005-04-04 Kristian Høgsberg <krh@redhat.com> * configure.ac: Add checks for mkstemp() and mkstemps(). * glib/poppler-page.cc (poppler_page_find_text): Reverse y-coordinates so we return PDF style coordinates. From Maro Pesenti Gritti <mpgritti@gmail.com>: * configure.ac, poppler/Makefile.am: Check for fontconfig when we're building the splash backend. * glib/poppler-page.cc (poppler_page_get_text): New function to select text on page. ChangeLog | 15 +++++++++++++++ configure.ac | 5 ++++- glib/poppler-page.cc | 48 +++++++++++++++++++++++++++++++++++++++++++++--- glib/poppler-page.h | 3 +++ poppler/Makefile.am | 4 ++++ 5 files changed, 71 insertions(+), 4 deletions(-) commit 2cb9d70678e33504246cbfbe0525c33f5e3b7736 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Apr 4 05:56:29 2005 +0000 2005-04-04 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_find_text): Reverse list of matches so we get them in the right order. ChangeLog | 5 +++++ glib/poppler-page.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 8c2a5ffb73c0f2d84adebcfbd43f8347ae8c8bbc Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sun Apr 3 18:17:55 2005 +0000 2005-04-03 Martin Kretzschmar <martink@gnome.org> * poppler/DCTStream.h: Wrap #include <jpeglib.h> in extern "C" Fixes build with unpatched libjpeg. ChangeLog | 5 +++++ poppler/DCTStream.h | 2 ++ 2 files changed, 7 insertions(+) commit 1879d82d9088aa36ef5e677f4bae44c84f90caa6 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Sat Apr 2 22:16:38 2005 +0000 2005-04-02 Jeff Muizelaar <jrmuizel@nit.ca> * poppler/Page.h: * poppler/Page.cc (Page::Page): Some initial infrastructure for supporting transitions. ChangeLog | 6 ++++++ poppler/Page.cc | 10 ++++++++++ poppler/Page.h | 4 ++++ 3 files changed, 20 insertions(+) commit fa4efbed51e12811070798a7cfb6b1f9e8d57abc Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Apr 1 00:32:34 2005 +0000 2005-03-31 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_render_to_pixbuf): Clip output to destination pixbuf and fix RGB order. ChangeLog | 5 +++++ glib/poppler-page.cc | 38 +++++++++++++++++++++++--------------- 2 files changed, 28 insertions(+), 15 deletions(-) commit bb508ded0b8c5806a9db1ec73e57b14268896911 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Mar 31 22:45:05 2005 +0000 2005-03-31 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc (poppler_page_find_text): New function to seach a page for occurrences of a given text string. * glib/poppler-page.cc: Add g_return_if_fail() checks to a couple of functions. ChangeLog | 8 +++++ glib/poppler-page.cc | 82 ++++++++++++++++++++++++++++++++++++++++++------ glib/poppler-page.h | 18 ++++++++--- glib/test-poppler-glib.c | 19 +++++++++-- 4 files changed, 109 insertions(+), 18 deletions(-) commit 0b4d481e9c79cb18cf41b503970801bbf4b95b3c Author: Jonathan Blandford <jrb@redhat.com> Date: Thu Mar 31 05:29:42 2005 +0000 Thu Mar 31 00:26:20 2005 Jonathan Blandford <jrb@redhat.com> * glib/poppler-page.cc: * glib/poppler-page.h (poppler_page_get_link_mapping, poppler_page_free_link_mapping): New functions to get a mapping of links to locations on the current document. :s ChangeLog | 7 +++++ glib/poppler-page.cc | 85 ++++++++++++++++++++++++++++++++++++++++++++++++---- glib/poppler-page.h | 15 ++++++++++ 3 files changed, 102 insertions(+), 5 deletions(-) commit c4e18f5a454794bd5e226f1106a54ccf807c6c3d Author: Jeff Muizelaar <jeff@infidigm.net> Date: Thu Mar 31 02:28:46 2005 +0000 2005-03-30 Jeff Muizelaar <jrmuizel@nit.ca> * poppler/DCTStream.h: change x to unsigned int to eliminate comparision warning ChangeLog | 5 +++++ poppler/DCTStream.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit e6a2a588305b4797af901599eb6854028f2be476 Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Mar 30 18:43:44 2005 +0000 2005-03-30 Jeff Muizelaar <jrmuizel@nit.ca> * poppler/Catalog.cc: delete pageLabelInfo on deconstruction ChangeLog | 4 ++++ poppler/Catalog.cc | 1 + 2 files changed, 5 insertions(+) commit a52905c0f0bf4d10d2103b80924a4de204d03836 Author: Jonathan Blandford <jrb@redhat.com> Date: Wed Mar 30 04:08:26 2005 +0000 add this glib/poppler-action.cc | 285 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 285 insertions(+) commit 9542860a74076020b5727d4b761c08cdab42d69e Author: Jonathan Blandford <jrb@redhat.com> Date: Wed Mar 30 04:07:57 2005 +0000 add these glib/poppler-action.h | 157 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 157 insertions(+) commit 07720f98eca8736695f7d0d8e98465d301e6b7cf Author: Jonathan Blandford <jrb@redhat.com> Date: Wed Mar 30 04:07:39 2005 +0000 Tue Mar 29 23:07:17 2005 Jonathan Blandford <jrb@redhat.com> * glib/poppler-page.h: Reformat. ChangeLog | 4 ++++ glib/poppler-page.h | 34 +++++++++++++++++----------------- 2 files changed, 21 insertions(+), 17 deletions(-) commit 3437b9e122aa05f4ede24664ee5a9b2d423ef9c4 Author: Jonathan Blandford <jrb@redhat.com> Date: Wed Mar 30 04:04:53 2005 +0000 Tue Mar 29 22:49:15 2005 Jonathan Blandford <jrb@redhat.com> * glib/poppler-action.[ch]: New item to encapsulate links. * glib/poppler-document.[ch] (poppler_index_iter_get_action): New function to get the action. Also, fix some warnings. * glib/poppler-private.h (_poppler_action_new): New function. * glib/test-poppler-glib.c: Fix warnings. ChangeLog | 8 +++++++ glib/Makefile.am | 2 ++ glib/poppler-document.cc | 57 +++++++++++------------------------------------- glib/poppler-document.h | 7 ++---- glib/poppler-private.h | 12 ++++++++-- glib/poppler.h | 1 + glib/test-poppler-glib.c | 4 +++- 7 files changed, 39 insertions(+), 52 deletions(-) commit cab0ec4d011c34b571050a446c6e3286cc8749c8 Author: Jonathan Blandford <jrb@redhat.com> Date: Tue Mar 29 18:49:26 2005 +0000 Tue Mar 29 02:36:00 2005 Jonathan Blandford <jrb@redhat.com> * glib/poppler-document.[ch] (PopplerIndexIter): Add an iter to extract the index from the doc. Includes a bad hack, for now. Mon Mar 28 22:02:07 2005 Jonathan Blandford <jrb@redhat.com> * glib/poppler-page.cc: * glib/poppler-page.h (poppler_page_get_thumbnail_size): New function. * poppler-glib.pc.in: add -lpoppler-glib to the libs line. ChangeLog | 12 ++++ glib/poppler-document.cc | 160 ++++++++++++++++++++++++++++++++++++++++++++++- glib/poppler-document.h | 15 +++++ glib/poppler-page.cc | 48 +++++++++++++- glib/poppler-page.h | 3 + poppler-glib.pc.in | 2 +- 6 files changed, 236 insertions(+), 4 deletions(-) commit 2de98f3871bc4ea3e361ca4fe37f5b6561918c77 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Mar 28 07:49:54 2005 +0000 2005-03-28 Kristian Høgsberg <krh@redhat.com> * poppler/Page.cc (loadThumb): Backend agnostic method for extracting an embedded thumbnail iamge. * poppler/Dict.cc (lookupInt): New convenience method. * glib/poppler-page.cc (poppler_page_get_thumbnail): New glib function for getting the embedded thumbnail image for a page. ChangeLog | 10 +++++ glib/poppler-page.cc | 23 ++++++++++ glib/poppler-page.h | 32 +++++++------- glib/test-poppler-glib.c | 24 ++++++++--- poppler/Dict.cc | 20 +++++++++ poppler/Dict.h | 1 + poppler/Page.cc | 109 +++++++++++++++++++++++++++++++++++++++++++++++ poppler/Page.h | 1 + 8 files changed, 196 insertions(+), 24 deletions(-) commit 591055d1fbcd0b9c2bb11f14040568051c5976d1 Author: Kristian Høgsberg <krh@redhat.com> Date: Sat Mar 26 00:34:21 2005 +0000 2005-03-25 Kristian Høgsberg <krh@redhat.com> * glib/Makefile.am (libpoppler_glib_la_SOURCES): Add * configure.ac: Check for fontconfig for glib bindings. ChangeLog | 4 ++++ configure.ac | 4 ++-- glib/Makefile.am | 7 +++++-- 3 files changed, 11 insertions(+), 4 deletions(-) commit 1e30abe94a96b91df05716ea079c58782d767951 Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Mar 24 22:24:41 2005 +0000 2005-03-24 Kristian Høgsberg <krh@redhat.com> * glib/Makefile.am: Use POPPLER_GLIB_CFLAGS and POPPLER_GLIB_LIBS instead of GTK_TEST_*. Reported by Adam Jackson <ajax@nwnk.net>. ChangeLog | 5 +++++ glib/Makefile.am | 7 +++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit 1d9fcaa34222b2ccd53280148561917dbb8d95d9 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Mar 23 05:53:08 2005 +0000 File Edit Options Buffers Tools Help 2005-03-23 Kristian Høgsberg <krh@redhat.com> * poppler/Catalog.cc (indexToLabel, labelToIndex): Add stricter checking of incoming labels and indices. * glib/test-poppler-glib.c (main): Change test program to take the page label from the command line. ChangeLog | 6 ++++++ glib/test-poppler-glib.c | 5 ++++- poppler/Catalog.cc | 31 +++++++++++++++++++++++++++++-- 3 files changed, 39 insertions(+), 3 deletions(-) commit a9bbb465a0ee6ab320f76d322a3f575327ad1148 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Mar 23 05:38:34 2005 +0000 2005-03-23 Kristian Høgsberg <krh@redhat.com> * glib/poppler-page.cc: * glib/poppler-page.h: Add poppler_page_get_index() and rename popper_page_get_dimension() to popper_page_get_size() ChangeLog | 6 ++++++ glib/poppler-page.cc | 12 +++++++++--- glib/poppler-page.h | 32 +++++++++++++++++--------------- glib/test-poppler-glib.c | 5 ++--- 4 files changed, 34 insertions(+), 21 deletions(-) commit 178bff27d09d1e18d1fc00c975fa235b0e9f93d3 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Mar 23 04:14:28 2005 +0000 2005-03-22 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc: Implement poppler_document_save(). * glib/poppler-document.h: Add prototype and format headers properly. ChangeLog | 7 +++++++ glib/poppler-document.cc | 20 ++++++++++++++++++++ glib/poppler-document.h | 30 +++++++++++++----------------- 3 files changed, 40 insertions(+), 17 deletions(-) commit e40c6f69c9466df4cc70840b959f72cb0809c777 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Mar 23 01:30:04 2005 +0000 2005-03-22 Kristian Høgsberg <krh@redhat.com> * configure.ac: Fix --disable-popper typo reported by Albert. Require exactly cairo 0.4 since CVS cairo has API changes. ChangeLog | 5 +++++ configure.ac | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) commit 2a1e4f6f6dd87dc59b3579175a87215fd7350ee0 Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Mar 22 22:46:37 2005 +0000 2005-03-22 Kristian Høgsberg <krh@redhat.com> * poppler/Array.cc: * poppler/Array.h: Add getString() convenience method. * poppler/Catalog.cc: * poppler/Catalog.h: Optimize lookup of named destinations. ChangeLog | 8 +++ poppler/Array.cc | 15 ++++++ poppler/Array.h | 1 + poppler/Catalog.cc | 142 ++++++++++++++++++++++++++++++++++------------------- poppler/Catalog.h | 32 +++++++++++- 5 files changed, 146 insertions(+), 52 deletions(-) commit 4dfe0ce4a1ca09d632943f0f6315e31135957ada Author: Kristian Høgsberg <krh@redhat.com> Date: Tue Mar 22 01:50:05 2005 +0000 2005-03-21 Kristian Høgsberg <krh@redhat.com> * NEWS, TODO: Update these. ChangeLog | 4 ++++ NEWS | 1 + TODO | 29 ++++++++++++++++++++--------- 3 files changed, 25 insertions(+), 9 deletions(-) commit c158de90a5a8c6514d8aa22efa0b891a1801e822 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Mar 21 07:53:19 2005 +0000 2005-03-21 Kristian Høgsberg <krh@redhat.com> From Albert Astals Cid <tsdgeos@yahoo.es>: * poppler/Catalog.cc, poppler/Catalog.h: Parse PageMode setting from the Catalog dict and expose it through getPageMode() method. ChangeLog | 10 ++++++++-- poppler/Catalog.cc | 16 ++++++++++++++++ poppler/Catalog.h | 12 ++++++++++++ 3 files changed, 36 insertions(+), 2 deletions(-) commit 9887679ca195714d71cbedde9297e9dcea04eb13 Author: Kristian Høgsberg <krh@redhat.com> Date: Mon Mar 21 07:36:11 2005 +0000 2005-03-21 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc: * glib/poppler-document.h: Expose the documenttitle as a GObject property. * glib/poppler-page.cc: Expose the page label as a GObject property. * glib/poppler-private.h: Add the page index to PopplerPage. * glib/test-poppler-glib.c: Print out page label and document title. * poppler/Catalog.cc: * poppler/Catalog.h: Add page label accessors. * poppler/PageLabelInfo.cc: * poppler/PageLabelInfo.h: New files. * poppler/Makefile.am: Add new files to sources. ChangeLog | 23 ++++ glib/poppler-document.cc | 95 ++++++++++++- glib/poppler-document.h | 3 + glib/poppler-page.cc | 37 ++++- glib/poppler-private.h | 3 +- glib/test-poppler-glib.c | 13 +- poppler/Catalog.cc | 15 ++ poppler/Catalog.h | 6 + poppler/Makefile.am | 4 +- poppler/PageLabelInfo.cc | 346 +++++++++++++++++++++++++++++++++++++++++++++++ poppler/PageLabelInfo.h | 37 +++++ 11 files changed, 573 insertions(+), 9 deletions(-) commit 2cfe917de909254bc3a114a6add68a14b5885fd0 Author: Kristian Høgsberg <krh@redhat.com> Date: Sun Mar 20 05:44:06 2005 +0000 2005-03-20 Kristian Høgsberg <krh@redhat.com> * glib/poppler-document.cc: * glib/poppler-page.h: * glib/poppler.cc: * poppler/Array.cc: * poppler/Array.h: * poppler/Catalog.cc: Fix up filenames in #include statements and comments. ChangeLog | 10 ++++++++++ glib/poppler-document.cc | 2 +- glib/poppler-document.h | 2 +- glib/poppler-page.cc | 2 +- glib/poppler-page.h | 2 +- glib/poppler.cc | 2 +- glib/poppler.h | 2 +- 7 files changed, 16 insertions(+), 6 deletions(-) commit f9b6017cfaf8f814ae2fc027927477c29f24af71 Author: Kristian Høgsberg <krh@redhat.com> Date: Sun Mar 20 00:35:21 2005 +0000 2005-03-19 Kristian Høgsberg <krh@redhat.com> Land the first bits of the glib wrapper. * Makefile.am: * configure.ac: Add new glib subdirectory and configure options for glib wrapper. * glib/Makefile.am: * glib/poppler-document.cc: * glib/poppler-document.h: * glib/poppler-page.cc: * glib/poppler-page.h: * glib/poppler-private.h: * glib/poppler.cc: * glib/poppler.h: * glib/test-poppler-glib.c: * poppler-glib.pc.in: New files. ChangeLog | 19 ++++++ Makefile.am | 27 ++++---- NEWS | 4 ++ configure.ac | 25 ++++++- glib/Makefile.am | 33 ++++++++++ glib/poppler-document.cc | 165 +++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 52 +++++++++++++++ glib/poppler-page.cc | 158 +++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-page.h | 50 ++++++++++++++ glib/poppler-private.h | 20 ++++++ glib/poppler.cc | 29 +++++++++ glib/poppler.h | 42 ++++++++++++ glib/test-poppler-glib.c | 43 ++++++++++++ poppler-glib.pc.in | 11 ++++ 14 files changed, 661 insertions(+), 17 deletions(-) commit 2a31446b227b5cdc8334e672a71835b6ea14713a Author: Jeff Muizelaar <jeff@infidigm.net> Date: Wed Mar 16 15:51:36 2005 +0000 2005-03-16 Jeff Muizelaar <jrmuizel@nit.ca> From Dan Sheridan <dan.sheridan@postman.org.uk> * poppler/XRef.cc (XRef::checkEncrypted): The key length should be 5 for revision 2 documents. ChangeLog | 7 +++++++ poppler/XRef.cc | 6 ++++++ 2 files changed, 13 insertions(+) commit e632a1d4b2f685993bda407458c34ef8e6b74136 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Mar 11 22:43:29 2005 +0000 2005-03-11 Kristian Høgsberg <krh@redhat.com> From Jeff Muizelaar <jrmuizel@nit.ca>: * poppler/CairoOutputDev.cc (CairoOutputDev::drawImageMask): Use getLine instead of getPixel. ChangeLog | 3 +++ poppler/CairoOutputDev.cc | 18 ++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) commit 83e904452f205a2c0cd2723cb12b7fd4640ce342 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Mar 11 21:42:52 2005 +0000 2005-03-11 Kristian Høgsberg <krh@redhat.com> From Jeff Muizelaar <jrmuizel@nit.ca>: * configure.ac: Add checks for libjpeg. * DCTStream.cc, DCTStream.h, Stream.cc, Stream.h, Makefile.am: Conditionally use libjpeg instead of xpdf jpeg decoder. ChangeLog | 9 +++++ configure.ac | 34 +++++++++++++++- poppler/DCTStream.cc | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/DCTStream.h | 70 ++++++++++++++++++++++++++++++++ poppler/Makefile.am | 14 ++++++- poppler/Stream.cc | 8 ++++ poppler/Stream.h | 2 + 7 files changed, 245 insertions(+), 2 deletions(-) commit e2af71338fd89760c4ac76999985efc5eb92817f Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Mar 11 16:42:20 2005 +0000 2005-03-10 Kristian Høgsberg <krh@redhat.com> From Jeff Muizelaar <jrmuizel@nit.ca>: * poppler/CairoFontEngine.cc (CairoFontEngine::getFont): Don't print "Type 3 font!" message. * poppler/CairoOutputDev.cc (CairoOutputDev::drawImageMask): Enable image mask drawing and do it properly, albeit slowly. * poppler/CairoOutputDev.h (CairoOutputDev::interpretType3Chars): Return true so that Gfx.cc turns type3 characters into calls to drawImageMask ChangeLog | 14 ++++++++++++++ poppler/CairoFontEngine.cc | 1 - poppler/CairoOutputDev.cc | 25 ++++++++++--------------- poppler/CairoOutputDev.h | 2 +- 4 files changed, 25 insertions(+), 17 deletions(-) commit 3dc52373346e448077d2539163e873eef6406ed7 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Mar 9 15:47:00 2005 +0000 2005-03-09 Kristian Høgsberg <krh@redhat.com> * NEWS: Describe 0.1.2 (and 0.1.1) release. * configure.ac: Bump poppler version to 0.1.2 ChangeLog | 6 ++++++ NEWS | 12 ++++++++++++ configure.ac | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) commit 5c6a2d34fc25df28ca5326e6910d7cf664f0c3d7 Author: Kristian Høgsberg <krh@redhat.com> Date: Wed Mar 9 15:35:31 2005 +0000 2005-03-09 Kristian Høgsberg <krh@redhat.com> * configure.ac: Bump cairo requirement to 0.4. ChangeLog | 4 ++++ configure.ac | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) commit 5b2d9a61e79cefd819888c8c89231a5fafccd114 Author: Kristian Høgsberg <krh@redhat.com> Date: Sat Mar 5 04:57:49 2005 +0000 2005-03-04 Kristian Høgsberg <krh@redhat.com> Patch from Jeff Muizelaar <jrmuizel@nit.ca>. Changed to allocate glyphs using gmalloc. * poppler/CairoOutputDev.cc (CairoOutputDev::drawString): Implement drawString instead of drawChar. This change should make clipping to a text path work and has a performance improvement. Currently the code is a little ugly because we can't concat matrices to cairo without losing our current font. * poppler/CairoOutputDev.h (CairoOutputDev::useDrawChar): Tell Gfx.cc that it should use drawString instead of drawChar. ChangeLog | 14 ++++++ TODO | 3 ++ poppler/CairoOutputDev.cc | 110 ++++++++++++++++++++++++++++++++++------------ poppler/CairoOutputDev.h | 7 +-- 4 files changed, 102 insertions(+), 32 deletions(-) commit 60d190ef80a0dcd9cc3a67306e2c65c5dd482f24 Author: Kristian Høgsberg <krh@redhat.com> Date: Sat Mar 5 04:37:14 2005 +0000 2005-03-04 Kristian Høgsberg <krh@redhat.com> * test/gtk-cairo-test.cc (view_load): * test/gtk-splash-test.cc (view_load): Fix missing return statement, and remove unused variables. * configure.ac: Add configure option to enable the default KDE flags as described by Albert Astals Cid <tsdgeos@yahoo.es>. * TODO: Update with Jeff's items. * .cvsignore: * */.cvsignore: Add these to silence CVS. ChangeLog | 9 +++++++++ TODO | 15 +++++++++++---- configure.ac | 21 +++++++++++++++++++++ test/gtk-cairo-test.cc | 6 ++---- test/gtk-splash-test.cc | 5 ++--- 5 files changed, 45 insertions(+), 11 deletions(-) commit e6706e505c1675724c8870f7c58079932661db5f Author: Kristian Høgsberg <krh@redhat.com> Date: Sat Mar 5 02:19:50 2005 +0000 2005-03-04 Kristian Høgsberg <krh@redhat.com> * .cvsignore: * */.cvsignore: Add these to silence CVS. .cvsignore | 21 +++++++++++++++++++++ ChangeLog | 3 +++ fofi/.cvsignore | 8 ++++++++ goo/.cvsignore | 8 ++++++++ poppler/.cvsignore | 10 ++++++++++ splash/.cvsignore | 8 ++++++++ test/.cvsignore | 10 ++++++++++ 7 files changed, 68 insertions(+) commit 932edfc3c5c61e3b3e98957b717abbf8055e1c5e Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Mar 4 19:47:13 2005 +0000 2005-03-04 Kristian Høgsberg <krh@redhat.com> * configure.ac: Implement same check for gtk+-2.0 tests as for cairo. ChangeLog | 5 +++++ configure.ac | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) commit c632b35ad9345f280d78c268f84ae3fd5a3921b9 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Mar 4 16:33:43 2005 +0000 2005-03-04 Kristian Høgsberg <krh@redhat.com> * configure.ac: Only fail hard in check for cairo if the user specified --enable-cairo-output (from Brad Hards <bradh@frogmouth.net>). Print summary of configure results at the end of configure script. * poppler/poppler-config.h: Remove this file (noticed by Brad Hards <bradh@frogmouth.net>). ChangeLog | 5 +++++ configure.ac | 17 ++++++++++++++--- 2 files changed, 19 insertions(+), 3 deletions(-) commit 80f9c90273eb31ac349c46bf86dedff7daf21db4 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Mar 4 15:32:32 2005 +0000 2005-03-04 Kristian Høgsberg <krh@redhat.com> * poppler/poppler-config.h: Remove this file (noticed by Brad Hards <bradh@frogmouth.net>). ChangeLog | 5 ++ poppler/poppler-config.h | 146 ----------------------------------------------- 2 files changed, 5 insertions(+), 146 deletions(-) commit 338b83b6f08a7212fdde2bbce94385e9a71a3d23 Author: Kristian Høgsberg <krh@redhat.com> Date: Fri Mar 4 02:46:44 2005 +0000 2005-03-03 Kristian Høgsberg <krh@redhat.com> Patch from Jeff Muizelaar <jrmuizel@nit.ca>: * poppler/CairoOutputDev.cc (CairoOutputDev::drawImage, CairoOutputDev::drawImageMask): destroy the image surface and free the image buffer. ChangeLog | 10 ++++++++++ autogen.sh | 2 +- poppler/CairoOutputDev.cc | 8 +++++--- 3 files changed, 16 insertions(+), 4 deletions(-) commit 062aa51487f539406b54458885b4c9501da3c44d Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Mar 3 20:01:14 2005 +0000 2005-03-03 Kristian Høgsberg <krh@redhat.com> * autogen.sh: Add to CVS. ChangeLog | 4 ++++ autogen.sh | 4 ++++ 2 files changed, 8 insertions(+) commit cb02d5d0e770e2a8cbe5a8ac810820a2ce5fec0c Author: Kristian Høgsberg <krh@redhat.com> Date: Thu Mar 3 19:45:58 2005 +0000 Initial revision AUTHORS | 3 + COPYING | 340 ++++ ChangeLog | 33 + INSTALL | 236 +++ Makefile.am | 29 + NEWS | 4 + README | 37 + README-XPDF | 376 ++++ TODO | 21 + configure.ac | 139 ++ fofi/FoFiBase.cc | 156 ++ fofi/FoFiBase.h | 55 + fofi/FoFiEncodings.cc | 994 ++++++++++ fofi/FoFiEncodings.h | 34 + fofi/FoFiTrueType.cc | 1438 ++++++++++++++ fofi/FoFiTrueType.h | 131 ++ fofi/FoFiType1.cc | 207 ++ fofi/FoFiType1.h | 57 + fofi/FoFiType1C.cc | 2385 ++++++++++++++++++++++ fofi/FoFiType1C.h | 224 +++ fofi/Makefile.am | 16 + goo/GooHash.cc | 356 ++++ goo/GooHash.h | 74 + goo/GooList.cc | 92 + goo/GooList.h | 89 + goo/GooMutex.h | 49 + goo/GooString.cc | 236 +++ goo/GooString.h | 98 + goo/Makefile.am | 20 + goo/gfile.cc | 705 +++++++ goo/gfile.h | 140 ++ goo/gmem.c | 204 ++ goo/gmem.h | 53 + goo/gmempp.cc | 32 + goo/gtypes.h | 29 + poppler-cairo.pc.in | 10 + poppler-splash.pc.in | 10 + poppler.pc.in | 11 + poppler/Annot.cc | 137 ++ poppler/Annot.h | 79 + poppler/Array.cc | 73 + poppler/Array.h | 56 + poppler/BaseFile.h | 82 + poppler/BuiltinFont.cc | 65 + poppler/BuiltinFont.h | 55 + poppler/BuiltinFontTables.cc | 4284 ++++++++++++++++++++++++++++++++++++++++ poppler/BuiltinFontTables.h | 23 + poppler/CMap.cc | 384 ++++ poppler/CMap.h | 101 + poppler/CairoFontEngine.cc | 367 ++++ poppler/CairoFontEngine.h | 61 + poppler/CairoOutputDev.cc | 569 ++++++ poppler/CairoOutputDev.h | 146 ++ poppler/CairoOutputDevImage.cc | 87 + poppler/CairoOutputDevImage.h | 43 + poppler/CairoOutputDevX.cc | 211 ++ poppler/CairoOutputDevX.h | 117 ++ poppler/Catalog.cc | 364 ++++ poppler/Catalog.h | 87 + poppler/CharCodeToUnicode.cc | 533 +++++ poppler/CharCodeToUnicode.h | 112 ++ poppler/CharTypes.h | 24 + poppler/CompactFontTables.h | 464 +++++ poppler/Decrypt.cc | 399 ++++ poppler/Decrypt.h | 59 + poppler/Dict.cc | 95 + poppler/Dict.h | 75 + poppler/Error.cc | 38 + poppler/Error.h | 21 + poppler/ErrorCodes.h | 36 + poppler/FontEncodingTables.cc | 1824 +++++++++++++++++ poppler/FontEncodingTables.h | 20 + poppler/Function.cc | 1525 ++++++++++++++ poppler/Function.h | 181 ++ poppler/Gfx.cc | 3079 +++++++++++++++++++++++++++++ poppler/Gfx.h | 279 +++ poppler/GfxFont.cc | 1508 ++++++++++++++ poppler/GfxFont.h | 313 +++ poppler/GfxState.cc | 2782 ++++++++++++++++++++++++++ poppler/GfxState.h | 1053 ++++++++++ poppler/GlobalParams.cc | 1764 +++++++++++++++++ poppler/GlobalParams.h | 312 +++ poppler/JArithmeticDecoder.cc | 300 +++ poppler/JArithmeticDecoder.h | 89 + poppler/JBIG2Stream.cc | 3337 +++++++++++++++++++++++++++++++ poppler/JBIG2Stream.h | 141 ++ poppler/JPXStream.cc | 2822 ++++++++++++++++++++++++++ poppler/JPXStream.h | 338 ++++ poppler/Lexer.cc | 474 +++++ poppler/Lexer.h | 75 + poppler/Link.cc | 851 ++++++++ poppler/Link.h | 407 ++++ poppler/Makefile.am | 140 ++ poppler/NameToCharCode.cc | 116 ++ poppler/NameToCharCode.h | 40 + poppler/NameToUnicodeTable.h | 1097 ++++++++++ poppler/Object.cc | 231 +++ poppler/Object.h | 301 +++ poppler/Outline.cc | 151 ++ poppler/Outline.h | 74 + poppler/OutputDev.cc | 104 + poppler/OutputDev.h | 162 ++ poppler/PDFDoc.cc | 322 +++ poppler/PDFDoc.h | 176 ++ poppler/PDFDocEncoding.cc | 44 + poppler/PDFDocEncoding.h | 16 + poppler/PSOutputDev.cc | 3803 +++++++++++++++++++++++++++++++++++ poppler/PSOutputDev.h | 312 +++ poppler/PSTokenizer.cc | 135 ++ poppler/PSTokenizer.h | 39 + poppler/Page.cc | 370 ++++ poppler/Page.h | 176 ++ poppler/Parser.cc | 231 +++ poppler/Parser.h | 58 + poppler/SplashOutputDev.cc | 1348 +++++++++++++ poppler/SplashOutputDev.h | 194 ++ poppler/Stream-CCITT.h | 459 +++++ poppler/Stream.cc | 3979 +++++++++++++++++++++++++++++++++++++ poppler/Stream.h | 841 ++++++++ poppler/TextOutputDev.cc | 3529 +++++++++++++++++++++++++++++++++ poppler/TextOutputDev.h | 569 ++++++ poppler/UTF8.h | 56 + poppler/UnicodeMap.cc | 293 +++ poppler/UnicodeMap.h | 122 ++ poppler/UnicodeMapTables.h | 361 ++++ poppler/UnicodeTypeTable.cc | 299 +++ poppler/UnicodeTypeTable.h | 18 + poppler/XRef.cc | 1026 ++++++++++ poppler/XRef.h | 133 ++ poppler/poppler-config.h | 146 ++ poppler/poppler-config.h.in | 145 ++ splash/Makefile.am | 52 + splash/Splash.cc | 1732 ++++++++++++++++ splash/Splash.h | 174 ++ splash/SplashBitmap.cc | 157 ++ splash/SplashBitmap.h | 46 + splash/SplashClip.cc | 270 +++ splash/SplashClip.h | 86 + splash/SplashErrorCodes.h | 30 + splash/SplashFTFont.cc | 289 +++ splash/SplashFTFont.h | 53 + splash/SplashFTFontEngine.cc | 141 ++ splash/SplashFTFontEngine.h | 58 + splash/SplashFTFontFile.cc | 111 ++ splash/SplashFTFontFile.h | 68 + splash/SplashFont.cc | 166 ++ splash/SplashFont.h | 87 + splash/SplashFontEngine.cc | 245 +++ splash/SplashFontEngine.h | 83 + splash/SplashFontFile.cc | 55 + splash/SplashFontFile.h | 58 + splash/SplashFontFileID.cc | 23 + splash/SplashFontFileID.h | 28 + splash/SplashGlyphBitmap.h | 24 + splash/SplashMath.h | 45 + splash/SplashPath.cc | 177 ++ splash/SplashPath.h | 105 + splash/SplashPattern.cc | 64 + splash/SplashPattern.h | 79 + splash/SplashScreen.cc | 107 + splash/SplashScreen.h | 38 + splash/SplashState.cc | 99 + splash/SplashState.h | 86 + splash/SplashT1Font.cc | 251 +++ splash/SplashT1Font.h | 49 + splash/SplashT1FontEngine.cc | 124 ++ splash/SplashT1FontEngine.h | 51 + splash/SplashT1FontFile.cc | 96 + splash/SplashT1FontFile.h | 55 + splash/SplashTypes.h | 80 + splash/SplashXPath.cc | 417 ++++ splash/SplashXPath.h | 90 + splash/SplashXPathScanner.cc | 271 +++ splash/SplashXPathScanner.h | 72 + test/Makefile.am | 48 + test/gtk-cairo-test.cc | 298 +++ test/gtk-splash-test.cc | 314 +++ 177 files changed, 70512 insertions(+)