commit 5d3e71c8215997a96d2ade7272217087f7e59fe2 Author: Albert Astals Cid Date: Sat Dec 5 23:14:09 2020 +0100 Poppler 20.12.1 CMakeLists.txt | 2 +- NEWS | 9 +++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) commit 5eb2dec26dbb575ca3eafd2509ceb1ca2aaa5fd1 Author: Philipp Knechtges Date: Thu Dec 3 17:02:49 2020 +0100 PSOutputDev: fixing two oversights in the rasterization code This fixes the issue with uninitalized memory valgrind shows in the bug report https://gitlab.freedesktop.org/poppler/poppler/-/issues/1002 . poppler/PSOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit bb599a7809edf73ecd48900bb9f103b0888be23e Author: Albert Astals Cid Date: Sat Dec 5 22:44:55 2020 +0100 CI: clang-tidy disable 3 new clang-tidy 11 warnings At least the unsigned char one needs investiagtion, but let's unblock CI for now .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d608992bd824bab766af038107e733ff47b0a8a0 Author: Philipp Knechtges Date: Wed Dec 2 01:04:25 2020 +0100 fix comment in parseargs.cc utils/parseargs.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 113a1f4cd1cdad64901bcd48485a459cd0ded3c6 Author: Philipp Knechtges Date: Wed Sep 30 18:05:56 2020 +0200 bugfix: add missing profile copy operation in GfxICCBasedColorSpace::copy() poppler/GfxState.cc | 1 + 1 file changed, 1 insertion(+) commit 66a65f996f1f407e95643cf5ddc8818b8ea93c40 Author: Albert Astals Cid Date: Wed Dec 2 18:51:02 2020 +0100 cmake: Use the imported target for boost includes CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0f72f73357414ea79af774d4ce8f4fed80db3d98 Author: Albert Astals Cid Date: Wed Dec 2 18:29:45 2020 +0100 cmake: Use the new syntax to link in the Qt5 libs qt5/demos/CMakeLists.txt | 13 +------------ qt5/src/CMakeLists.txt | 5 +---- qt5/tests/CMakeLists.txt | 16 +++------------- 3 files changed, 5 insertions(+), 29 deletions(-) commit 3ea3ad26bca27bd78f753f4296d4a544ed666e60 Author: Albert Astals Cid Date: Wed Dec 2 18:02:19 2020 +0100 cmake: We don't support gcc < 5 anymore cmake/modules/PopplerMacros.cmake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit fbdf0cfc26cb686677e865b109a283b20231a2d3 Author: Albert Astals Cid Date: Wed Dec 2 01:05:16 2020 +0100 typo splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac5c7c1c7621bd64ebc0b1382d938d9ff727c8e9 Author: Albert Astals Cid Date: Wed Dec 2 00:56:38 2020 +0100 Prevent undefined storing of a too small float in an integer oss-fuzz/25488 splash/Splash.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit 8766a45a1e101538724d2b767b3efd0ec210357c Author: Albert Astals Cid Date: Tue Dec 1 23:29:29 2020 +0100 Poppler 20.12.0 CMakeLists.txt | 4 ++-- NEWS | 37 +++++++++++++++++++++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 41 insertions(+), 4 deletions(-) commit 11d97ec879bc3c846bac2ee6ddfc17d992c57f44 Author: Albert Astals Cid Date: Tue Dec 1 23:42:04 2020 +0100 Fix memory leak in 722f37f7ab39e6d3b7fffb69907433d25f30b5ef poppler/SplashOutputDev.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 57f9f7f1f9e2351b630e15f2667c44348ecb2476 Author: Albert Astals Cid Date: Tue Dec 1 22:46:33 2020 +0100 Move HAVE_SPLASH to poppler-config.h Now that HAVE_SPLASH is used in the the "public unsupported" internal headers config.h.cmake | 3 --- cpp/poppler-page-renderer.cpp | 2 ++ poppler/poppler-config.h.cmake | 6 ++++++ qt5/src/poppler-document.cc | 1 + qt5/src/poppler-page.cc | 1 + qt5/src/poppler-private.h | 1 + qt6/src/poppler-document.cc | 1 + qt6/src/poppler-page.cc | 1 + qt6/src/poppler-private.h | 1 + 9 files changed, 14 insertions(+), 3 deletions(-) commit 722f37f7ab39e6d3b7fffb69907433d25f30b5ef Author: Tobias Deiminger Date: Sun Nov 22 22:13:34 2020 +0100 Splash: Fix blitImage in uncolored tiling patterns Roughly spoken, SplashOutputDev::tilingPatternFill first renders a pattern prototype into a temporary buffer, then draws multiple copies of that buffer over the current background, enough copies to fill a region. To draw the copies, we use either blitImage or drawImage. blitImage is faster, but only works if the current transformation is simple enough (no rotation, no skew, no reflection). Else we have to fallback to drawImage. drawImage would generate the final pattern so that it colorizes a greyscale prototype while fetching the prototype via tilingBitmapSrc buffer accessor. blitImage on the other hand has no such accessor and therefore no color to colorize. But we can get the same result if we colorize the pattern prototype up front. This commit rearranges the code so that we can decide blitImage vs. drawImage early enough to make color mode of the prototype and copying pattern color from former Splash dependent on that decision. To test blitImage for uncolored tiling patterns, render PDFJS-8741-p1-patternscaling.pdf from #983. To test drawImage for uncolored tiling patterns, render 745th page, Figure L.9 – Uncoloured tiling pattern from PDF32000_2008.pdf. Fixes #983. poppler/SplashOutputDev.cc | 67 +++++++++++++++++++++++++--------------------- 1 file changed, 37 insertions(+), 30 deletions(-) commit 8ef16f82b1f0f085d9501978bb85a792f46d8ab2 Author: Albert Astals Cid Date: Sun Nov 29 19:41:45 2020 +0100 Be more strict in XRef::createDocInfoIfNeeded Info needs to be a Dict and an indirect object in the trailer dict oss-fuzz/28057 poppler/PDFDoc.cc | 11 +++-------- poppler/PDFDoc.h | 7 ------- poppler/XRef.cc | 17 +++++++++-------- poppler/XRef.h | 5 +++-- 4 files changed, 15 insertions(+), 25 deletions(-) commit 751deb8ae3df1bc316fa17c83ca573233586b41f Author: Albert Astals Cid Date: Sun Nov 29 00:01:48 2020 +0100 XRef::removeIndirectObject: Fix overflow of gen Also make the check in XRef::addIndirectObject that looks for a free and usable entry a bit more robust (!= to <) than 65535 oss-fuzz/28032 poppler/XRef.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 306df53be898aaebdbd5cd99947e4baef54ac1eb Author: Albert Astals Cid Date: Sat Nov 28 20:59:25 2020 +0100 Fix abort when searching for "bad" label names Give wstring_convert a error string so it does throw an exception when it fails oss-fuzz/28002 poppler/PageLabelInfo_p.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d8fb21b78bc9f11d52491f90076737f484f69c7d Author: Albert Astals Cid Date: Sat Nov 28 20:23:43 2020 +0100 Fix crash when searching things of length 0 poppler/TextOutputDev.cc | 4 ++++ qt5/tests/check_search.cpp | 1 + qt6/tests/check_search.cpp | 1 + 3 files changed, 6 insertions(+) commit 2386bf37f9022cb5a9d434e30e8d8d55f4916e55 Author: Albert Astals Cid Date: Sat Nov 28 01:31:05 2020 +0100 Protect against loops in the PageLabels Kids tree oss-fuzz/27991 poppler/PageLabelInfo.cc | 26 +++++++++++++++++++------- poppler/PageLabelInfo.h | 4 ++-- 2 files changed, 21 insertions(+), 9 deletions(-) commit de8abb8dd3fde0c0b3003ca460902b1517c32b4c Author: Albert Astals Cid Date: Sat Nov 28 01:06:37 2020 +0100 cpp: page::search: Fix invalid memory access if searching for the empty string cpp/poppler-page.cpp | 5 +++++ 1 file changed, 5 insertions(+) commit c48f469cd6755fb9fea7870d6b64aaf891cb2012 Author: Albert Astals Cid Date: Sat Nov 28 00:55:49 2020 +0100 qt5: Fix division by 0 in broken files oss-fuzz/27983 qt5/src/poppler-annotation.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit bce14c781b8066ad7e55020e8e2ade5363856854 Author: Albert Astals Cid Date: Sat Nov 28 00:34:52 2020 +0100 Fix crash in XRef::removeDocInfo() if Info is not a ref oss-fuzz/27968 poppler/XRef.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 691866a3e3de15774fbe825609ae472199573e9b Author: Albert Astals Cid Date: Fri Nov 27 14:53:53 2020 +0100 perf-test: Remove a bunch of code that was windows only I'm 99% sure no-one uses this and could be removed completely, but let's leave the part that actually works on linux too. ConfigureChecks.cmake | 2 - config.h.cmake | 6 - test/perf-test.cc | 371 +------------------------------------------------- 3 files changed, 3 insertions(+), 376 deletions(-) commit 8ea1bf3c1069530171493a6b2dd49ac1f20120fc Author: Ceyhun Alp Date: Thu Nov 26 15:59:51 2020 +0000 Replace malloc with calloc glib/tests/fuzzing/doc_attr_fuzzer.cc | 2 +- glib/tests/fuzzing/find_text_fuzzer.cc | 2 +- glib/tests/fuzzing/label_fuzzer.cc | 2 +- glib/tests/fuzzing/util_fuzzer.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit e05e627a5f6e92cf1c1897c490851db176eb9999 Author: Ceyhun Alp Date: Mon Nov 9 11:31:58 2020 +0000 Clang format glib/tests/fuzzing/annot_fuzzer.cc | 2 +- glib/tests/fuzzing/doc_attr_fuzzer.cc | 2 +- glib/tests/fuzzing/find_text_fuzzer.cc | 2 +- glib/tests/fuzzing/label_fuzzer.cc | 2 +- glib/tests/fuzzing/pdf_draw_fuzzer.cc | 2 +- glib/tests/fuzzing/util_fuzzer.cc | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit e09a603e2ff08ce50fc5a71146101bb4ce40c467 Author: Ceyhun Alp Date: Wed Nov 4 13:24:26 2020 +0000 Changing glib fuzzers from C to CPP ... replace c with cc - glib missing includes glib/tests/CMakeLists.txt | 12 ++++++------ glib/tests/fuzzing/{annot_fuzzer.c => annot_fuzzer.cc} | 4 ++-- glib/tests/fuzzing/{doc_attr_fuzzer.c => doc_attr_fuzzer.cc} | 6 ++++-- .../fuzzing/{find_text_fuzzer.c => find_text_fuzzer.cc} | 6 ++++-- glib/tests/fuzzing/{label_fuzzer.c => label_fuzzer.cc} | 6 ++++-- glib/tests/fuzzing/{pdf_draw_fuzzer.c => pdf_draw_fuzzer.cc} | 4 ++-- glib/tests/fuzzing/{util_fuzzer.c => util_fuzzer.cc} | 6 ++++-- 7 files changed, 26 insertions(+), 18 deletions(-) commit 44af15369a974b2b26a10fa3f4f99ba8e7542bd9 Author: Ceyhun Alp Date: Fri Oct 30 00:41:41 2020 +0000 Fixing null-terminated string parameters cpp/tests/fuzzing/doc_fuzzer.cc | 19 +++++++++++-------- cpp/tests/fuzzing/page_label_fuzzer.cc | 16 ++++++++++++---- cpp/tests/fuzzing/page_search_fuzzer.cc | 14 +++++++++++--- cpp/tests/fuzzing/pdf_file_fuzzer.cc | 4 +--- cpp/tests/fuzzing/pdf_fuzzer.cc | 25 +++---------------------- glib/tests/fuzzing/find_text_fuzzer.c | 8 +++++++- glib/tests/fuzzing/label_fuzzer.c | 2 +- 7 files changed, 46 insertions(+), 42 deletions(-) commit 919a71e52110774f461cbe079a5ed65cf8f48c91 Author: Ceyhun Alp Date: Thu Oct 29 23:32:15 2020 +0000 Updating pdf_fuzzer with the version from OSS-Fuzz repository cpp/tests/CMakeLists.txt | 1 + cpp/tests/{ => fuzzing}/pdf_fuzzer.cc | 10 ++++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit 1e73805f7d8d1ca453550d133d86f59305011e78 Author: Ceyhun Alp Date: Wed Oct 28 01:00:58 2020 +0000 Fixes from Michael's feedback cpp/tests/fuzzing/doc_fuzzer.cc | 16 +- glib/tests/fuzzing/annot_fuzzer.c | 2 - glib/tests/fuzzing/doc_attr_fuzzer.c | 20 +- glib/tests/fuzzing/label_fuzzer.c | 8 +- glib/tests/fuzzing/util_fuzzer.c | 16 +- qt5/tests/fuzzing/FuzzedDataProvider.h | 409 --------------------------------- qt5/tests/fuzzing/fuzzer_temp_file.h | 82 ------- qt5/tests/fuzzing/qt_annot_fuzzer.cc | 10 +- 8 files changed, 48 insertions(+), 515 deletions(-) commit 48026f90fd07f3da886ce0079facec49f8022c07 Author: Ceyhun Alp Date: Fri Oct 23 11:02:20 2020 +0000 Fixing clang_format issues cpp/tests/fuzzing/FuzzedDataProvider.h | 538 +++++++++++++++++--------------- cpp/tests/fuzzing/doc_fuzzer.cc | 12 +- cpp/tests/fuzzing/fuzzer_temp_file.h | 81 ++--- cpp/tests/fuzzing/page_label_fuzzer.cc | 2 +- cpp/tests/fuzzing/page_search_fuzzer.cc | 2 +- glib/tests/fuzzing/annot_fuzzer.c | 3 +- glib/tests/fuzzing/doc_attr_fuzzer.c | 3 +- glib/tests/fuzzing/find_text_fuzzer.c | 3 +- glib/tests/fuzzing/fuzzer_temp_file.h | 81 ++--- glib/tests/fuzzing/label_fuzzer.c | 3 +- glib/tests/fuzzing/pdf_draw_fuzzer.c | 4 +- glib/tests/fuzzing/util_fuzzer.c | 3 +- qt5/tests/fuzzing/FuzzedDataProvider.h | 538 +++++++++++++++++--------------- qt5/tests/fuzzing/fuzzer_temp_file.h | 81 ++--- qt5/tests/fuzzing/qt_annot_fuzzer.cc | 6 +- qt5/tests/fuzzing/qt_label_fuzzer.cc | 6 +- qt5/tests/fuzzing/qt_pdf_fuzzer.cc | 6 +- qt5/tests/fuzzing/qt_search_fuzzer.cc | 6 +- qt5/tests/fuzzing/qt_textbox_fuzzer.cc | 6 +- 19 files changed, 718 insertions(+), 666 deletions(-) commit 890de69dbe531484f687877124c080508b25a9f8 Author: Ceyhun Alp Date: Mon Oct 19 08:23:48 2020 +0000 Fuzzers for qt5 + cleaning up cpp and glib fuzzers cpp/tests/CMakeLists.txt | 2 +- cpp/tests/fuzzing/FuzzedDataProvider.h | 387 ++++++++++++++++++++++++++++++++ cpp/tests/fuzzing/doc_fuzzer.cc | 46 ++++ cpp/tests/fuzzing/page_label_fuzzer.cc | 18 -- cpp/tests/fuzzing/page_search_fuzzer.cc | 18 -- cpp/tests/fuzzing/pdf_file_fuzzer.cc | 18 -- glib/tests/fuzzing/annot_fuzzer.c | 48 +++- glib/tests/fuzzing/doc_attr_fuzzer.c | 1 - glib/tests/fuzzing/find_text_fuzzer.c | 5 +- glib/tests/fuzzing/label_fuzzer.c | 5 +- glib/tests/fuzzing/pdf_draw_fuzzer.c | 31 ++- glib/tests/fuzzing/util_fuzzer.c | 3 - qt5/tests/CMakeLists.txt | 16 ++ qt5/tests/fuzzing/FuzzedDataProvider.h | 387 ++++++++++++++++++++++++++++++++ qt5/tests/fuzzing/fuzzer_temp_file.h | 81 +++++++ qt5/tests/fuzzing/qt_annot_fuzzer.cc | 46 ++++ qt5/tests/fuzzing/qt_label_fuzzer.cc | 29 +++ qt5/tests/fuzzing/qt_pdf_fuzzer.cc | 27 +++ qt5/tests/fuzzing/qt_search_fuzzer.cc | 28 +++ qt5/tests/fuzzing/qt_textbox_fuzzer.cc | 32 +++ 20 files changed, 1150 insertions(+), 78 deletions(-) commit 8b991bcf392c6c7e8957f4e18f3ca9437fcf4797 Author: Ceyhun Alp Date: Mon Oct 12 23:05:37 2020 +0000 Fuzzers for glib glib/tests/CMakeLists.txt | 18 ++++++++ glib/tests/fuzzing/annot_fuzzer.c | 38 ++++++++++++++++ glib/tests/fuzzing/doc_attr_fuzzer.c | 23 ++++++++++ glib/tests/fuzzing/find_text_fuzzer.c | 31 ++++++++++++++ glib/tests/fuzzing/fuzzer_temp_file.h | 81 +++++++++++++++++++++++++++++++++++ glib/tests/fuzzing/label_fuzzer.c | 30 +++++++++++++ glib/tests/fuzzing/pdf_draw_fuzzer.c | 61 ++++++++++++++++++++++++++ glib/tests/fuzzing/util_fuzzer.c | 12 ++++++ 8 files changed, 294 insertions(+) commit c6a50e4f2334d130061b03c31ad96387ba86dbea Author: Ceyhun Alp Date: Sat Oct 10 20:19:39 2020 +0000 Fuzzers for cpp cpp/tests/CMakeLists.txt | 3 ++ cpp/tests/fuzzing/fuzzer_temp_file.h | 81 +++++++++++++++++++++++++++++++++ cpp/tests/fuzzing/page_label_fuzzer.cc | 51 +++++++++++++++++++++ cpp/tests/fuzzing/page_search_fuzzer.cc | 53 +++++++++++++++++++++ cpp/tests/fuzzing/pdf_file_fuzzer.cc | 57 +++++++++++++++++++++++ 5 files changed, 245 insertions(+) commit e9253bda14b10059c734213e3ad88b5b1f8cc546 Author: Albert Astals Cid Date: Fri Nov 27 01:36:13 2020 +0100 Protect against invalid quadding values oss-fuzz/27915 poppler/Form.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 1fba0c2bd540e6100b9a64483101b135bfbcee13 Author: Albert Astals Cid Date: Wed Nov 25 19:05:10 2020 +0100 qt6: fix packages for CI .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7478ee80739ad0b064389bba04e9651d68bd0fa1 Author: Albert Astals Cid Date: Wed Nov 25 01:13:01 2020 +0100 Tweak Annot rendering code for when border width is 0 Fixes issue #997 poppler/Annot.cc | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) commit 3d69e0de6a136cde9844b63886294ae532bc50aa Author: Albert Astals Cid Date: Tue Nov 24 16:36:49 2020 +0100 timeToDateString: We forgot the ' after the minutes Adobe Reader seems to be particularly strict about this poppler/DateInfo.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fb93776c423c166547d952bc199b14383a1d4d8d Author: Albert Astals Cid Date: Tue Nov 24 01:29:59 2020 +0100 Fix Annot border when C is present but empty -> transparent Issue #993 poppler/Gfx.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit aaf2e8083141fcea5dacbc6af6a679533ad8dc55 Author: Albert Astals Cid Date: Sun Nov 22 18:01:10 2020 +0100 Tweak the don't use Appearance stream if annot is typeHighlight After playing hand editing files and opening them in Adobe Reader i *think* the condition is "if the appearance stream has a ExtGState in its Resources dict, then use the appearance stream, otherwise draw it ourselves glib/tests/CMakeLists.txt | 2 +- poppler/Annot.cc | 28 +++++++++++++++++++++++++++- poppler/Annot.h | 3 +++ 3 files changed, 31 insertions(+), 2 deletions(-) commit cd145d56617e7e7501a0054f42b9068babed3dc5 Author: Albert Astals Cid Date: Fri Nov 20 09:13:34 2020 +0100 Fix rendering of some files StreamPredictor::getNextLine when predictori == 2 && nBits == 1 && nComps == 1 Issue #976 Issue #567 poppler/Stream.cc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 2c353300b65f3a89ddb9377a4ef8864bff8d49ab Author: Albert Astals Cid Date: Thu Nov 19 21:27:30 2020 +0100 GfxLabColorSpace::parse: Protect against division by 0 oss-fuzz/27619 poppler/GfxState.cc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 15960417f2fef7e8b94acda712e65e9b5383494c Author: Albert Astals Cid Date: Wed Nov 18 20:14:37 2020 +0100 JBIG2Stream::readTextRegion: Fix integer overflow on broken files poppler/JBIG2Stream.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 331f2f092b7cb3be97a1f5c0665d41cd10e85a8d Author: Oliver Sander Date: Sat Nov 14 22:03:25 2020 +0100 Fix annotation line width if no appearance stream or style are given When handling annotations without appearance stream, the behavior of poppler deviated from what the pdf spec says: Poppler would only take the boundary width from a border style (BS) dictionary if the 'style (S)' field was also present, even though the spec clearly says that both are optional, and does not mention one depending on the other. This behavior was deliberate, because apparently Acroread 8 did it that way. See the comment by Jeff Muizelaar in 28967940. But it seems that Acroread behavior has changed, newer versions do take the 'width' field into account even when there is no 'style (S)' field. The Chromium pdf renderer does the same. So let's change the code back to following the spec rather than an old version of Acroread. BUG: 988 poppler/Annot.cc | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) commit 5a65db3d992eeb8a4cd4b2531f3c59ad25940487 Author: Albert Astals Cid Date: Mon Nov 16 19:49:54 2020 +0100 JBIG2Stream::readCodeTableSeg: More overflow protection in broken files poppler/JBIG2Stream.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit db5f849ab74798f3a0481d506331ef3244862314 Author: Tobias Deiminger Date: Sun Nov 15 13:08:56 2020 +0100 Splash: Fix wrong x adjustment during clipping If a line segment goes beyond the current clip region, Splash::strokeNarrow tries to cut off the segment line to the intersection of the segment line with the clip border. Therefore it has to calculate a new endpoint (=intersection point) of the segment. It does this by using the known segment slope dxdy. Required information (segment start, segment slope, clip border) is known in double precision. However the calculation used the integerized clip border, which necessarily suffers from rounding errors. This error can become very visible when we have a high dxdy (i.e, a flat-angle line). Use SplashClip::getYMin and SplashClip::getYMax instead of getYMinI and getYMaxI, and we get visibly correct results. Fixes #990. splash/Splash.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 72e7e1e826f64d72a2a47e1abd8bccceff5e0a67 Author: Albert Astals Cid Date: Sun Nov 15 22:10:44 2020 +0100 SampledFunction: Initialize cacheOut On some broken files m is 0 so every time we call SampledFunction::transform we just return cachedOut, but it was never initialized. We can solve it other ways but seems seems the least expensive poppler/Function.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bf6909d2d9dc82d3014ce7659469c8e1cc37694c Author: Albert Astals Cid Date: Sun Nov 15 21:51:25 2020 +0100 JBIG2Stream::readSymbolDictSeg: Return early if one of the bitmaps is null Doesn't seem to regress any of the valid files i have and saves some very small looping for hours poppler/JBIG2Stream.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 2b26a3e80a5e8fecc1b94753a7cbe3d0369e7629 Author: Albert Astals Cid Date: Sun Nov 15 18:24:01 2020 +0100 Update (C) poppler/FontInfo.cc | 2 +- poppler/GfxFont.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d0493e210b5cfa82228debc4c0ad7f405ee3acb8 Author: Albert Astals Cid Date: Sun Nov 15 12:43:30 2020 +0100 JBIG2Stream::readTextRegion: Make bitmap an unique_ptr Simplifies having to remember to add the delete on all those error cases poppler/JBIG2Stream.cc | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) commit 95a4ee50304666f299890daa41fdb40ac8e38384 Author: Albert Astals Cid Date: Sun Nov 15 12:37:03 2020 +0100 Remove #if that was confusing clang-format Code looks better now poppler/JBIG2Stream.cc | 257 +++++++++++++++++++++++++------------------------ 1 file changed, 129 insertions(+), 128 deletions(-) commit 0986483fbd49b7bdf5f2e45bb03a7ebe6d3b8e65 Author: Albert Astals Cid Date: Mon Nov 9 01:20:18 2020 +0100 Use the font name without subset tag when querying for a system font i.e. if the font name is DDPJAD+Times-Roman look for a replacement of Times-Roman Fixes issue #972 poppler/FontInfo.cc | 11 +---------- poppler/GfxFont.cc | 27 +++++++++++++++++++++++++++ poppler/GfxFont.h | 5 +++++ poppler/GlobalParams.cc | 2 +- 4 files changed, 34 insertions(+), 11 deletions(-) commit 91ac0038dd48b5da6382ef297eab5128f5266793 Author: Albert Astals Cid Date: Sat Nov 14 20:20:36 2020 +0100 Update (C) poppler/Annot.cc | 2 +- poppler/Annot.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit bd41274e4537a321bb2ab1ae89eb72fa302a2062 Author: Tobias Deiminger Date: Fri Nov 13 09:55:26 2020 +0100 Draw better circles for circle annotations Because PDF spec has no built in circle operator, we can only approximate a circle by joining cubic bezier curve segments. We already did good approximation for line endings and radio buttons by setting distance of bezier control point to (4 * (sqrt(2) - 1) / 3) * r. But the older AnnotGeometry::draw code for subtype circle still used an equivalent of 0.5 * r, which yields a visibly non-circular circle. Fix it by using the bezierCircle define for AnnotGeometry too. Does minor refactoring by introducing AnnotAppearanceBuilder::drawEllipse, and forwarding drawCircle to it. typeSquare code is slightly touched as a consequence, but remains functionally unchanged. Also changes 'S' (stroke path) to 's' (close and stroke path). To my understanding 'close and stroke' is the correct thing to do here, it's in line with drawCircle and the original commit 6c4fa513 didn't explain why it left the path open by using 'S'. Fixes #989. poppler/Annot.cc | 87 +++++++++++++++++++++----------------------------------- poppler/Annot.h | 1 + 2 files changed, 34 insertions(+), 54 deletions(-) commit f4d640d7ad00b30797acce47299cf7a7a59ad505 Author: Kyle Auble Date: Thu Nov 12 19:46:15 2020 -0500 cmake: Remove redundant unit-test macro poppler_add_unittest was only used 3 times & effectively differed from poppler_add_test by just a CMake add_test call. cmake/modules/PopplerMacros.cmake | 23 +++-------------------- glib/tests/CMakeLists.txt | 3 ++- qt5/tests/CMakeLists.txt | 3 ++- qt6/tests/CMakeLists.txt | 3 ++- 4 files changed, 9 insertions(+), 23 deletions(-) commit 85f6354f36d5d4f6bb7c1708f408d7522a9356d6 Author: Kyle Auble Date: Tue Nov 10 23:57:19 2020 -0500 Remove .pc files for private back-ends CMakeLists.txt | 6 ------ poppler-cairo.pc.cmake | 8 -------- poppler-glib.pc.cmake | 2 +- poppler-splash.pc.cmake | 8 -------- 4 files changed, 1 insertion(+), 23 deletions(-) commit 268696ebf5ff01164e8e530b625af327c09ff133 Author: Kyle Auble Date: Sun Nov 8 16:31:56 2020 -0500 cmake: Remove obsolete version-check macro Only used once to check pkgconfig >= 0.18 (released in 2005 at latest). CMakeLists.txt | 17 ++--- cmake/modules/MacroEnsureVersion.cmake | 117 --------------------------------- 2 files changed, 4 insertions(+), 130 deletions(-) commit 89f219c8f72b826d4c0ab4e3fc9a6962005d5151 Author: Kyle Auble Date: Sun Nov 8 16:31:00 2020 -0500 cmake: Remove obsolete bool-to-binary macro Only used once & no longer needed; CMake configure_file converts True/False to def/undef transparently now. CMakeLists.txt | 21 +++++++++++---------- cmake/modules/MacroBoolTo01.cmake | 20 -------------------- 2 files changed, 11 insertions(+), 30 deletions(-) commit a01a75d66ddeeb9637475cb0d4a196a1c1838588 Author: Albert Astals Cid Date: Sat Nov 14 01:26:28 2020 +0100 gcc: Enable -fno-operator-names They are valid C++ but it's not what this project uses, it's a matter of uniformity (same reason we have clang-format for example) cmake/modules/PopplerMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 388f1bc081bbd612c318ec9cf241911f0271f772 Author: Albert Astals Cid Date: Wed Nov 11 19:49:52 2020 +0100 JBIG2Stream::readTextRegion: Prevent integer overflow on broken files oss-fuzz/19177 poppler/JBIG2Stream.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 6e2177d24c5a320ce32029a7062089422f6ada21 Author: Albert Astals Cid Date: Mon Nov 2 22:52:28 2020 +0100 Update (C) poppler/PSOutputDev.h | 2 +- poppler/Stream.cc | 1 + poppler/Stream.h | 1 + utils/pdftops.cc | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) commit 0a243dd9d20bc16f4e83af3e2043c0253b4e4625 Author: Albert Astals Cid Date: Mon Nov 2 22:21:52 2020 +0100 GfxFunctionShading::getColor: Fix buffer overrun in broken documents Issue #979 poppler/GfxState.cc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit eaa1e07b591b975946f2f3f7262dd94deb9d54b3 Author: Albert Astals Cid Date: Mon Nov 2 00:03:04 2020 +0100 Move psLevel to PSOutputDev creation It's were it makes sense, not as part of GlobalParams that we're sloooooooooowly trying to get rid of poppler/GlobalParams.cc | 13 ------------- poppler/GlobalParams.h | 17 ----------------- poppler/PSOutputDev.cc | 22 +++++++++++----------- poppler/PSOutputDev.h | 19 +++++++++++++++---- poppler/PreScanOutputDev.cc | 6 ++---- poppler/PreScanOutputDev.h | 7 +++---- utils/pdftops.cc | 8 +++----- 7 files changed, 34 insertions(+), 58 deletions(-) commit 3c16e88f7c60ec4f49f856ba22d7f20cf626c7d4 Author: Philipp Knechtges Date: Mon Sep 28 15:39:12 2020 +0200 pdftops: fix wording in processcolorformat-related error messages utils/pdftops.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e4e261a013719a48bb26dbfc9c95dd177eea0557 Author: Philipp Knechtges Date: Mon Sep 28 15:33:09 2020 +0200 redact splashModeUndefined and as a substitute introduce a boolean value where necessary poppler/PSOutputDev.cc | 4 ++-- poppler/PSOutputDev.h | 8 +++++++- splash/SplashTypes.h | 2 -- utils/pdftops.cc | 20 ++++++++++++++------ 4 files changed, 23 insertions(+), 11 deletions(-) commit 75abc683868d8933f10128074a4234afaf76e77f Author: Philipp Knechtges Date: Sun Sep 13 19:59:41 2020 +0200 PSOutputDev: use the DeviceN8 bitmap for rasterization with CMYK-output + overprint This mostly mimics the pdftoppm behaviour. poppler/PSOutputDev.cc | 24 ++++++++++++--- poppler/Stream.cc | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Stream.h | 52 ++++++++++++++++++++++++++++++++ 3 files changed, 153 insertions(+), 5 deletions(-) commit 0c772071baa74b11c66981f768dccf123f431ce1 Author: Philipp Knechtges Date: Sun Jun 7 21:42:57 2020 +0200 PSOutputDev/pdftops: for splashModeCMYK8 and language level >=2 activate overprint emulation The overprint operands are always emitted for any language level >= 2, such that it is just consistent to activate overprint emulation during rasterization if it is quite likely that the final device supports this operation. poppler/PSOutputDev.cc | 6 +++++- utils/pdftops.1 | 4 +++- utils/pdftops.cc | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) commit ccdee13835b66892355ebe1bb8d27556edee32be Author: Philipp Knechtges Date: Sun Jun 7 18:34:25 2020 +0200 PSOutputDev/pdftops: provide options to set the rasterization color space and ICC profile Poppler so far has to assume some underlying color space. This commit gives the user the opportunity to specify this color space through two new options in pdftops: -processcolorformat -processcolorprofile The former practically sets the underlying splash bitmap type during rasterization, while the latter sets the display profile of the used SplashOutputDev. poppler/OutputDev.h | 1 + poppler/PSOutputDev.cc | 126 +++++++++++++++++++++++++++++++++++++++---------- poppler/PSOutputDev.h | 23 +++++++-- splash/SplashTypes.h | 2 + utils/CMakeLists.txt | 3 ++ utils/pdftops.1 | 9 ++++ utils/pdftops.cc | 91 +++++++++++++++++++++++++++++++++++ 7 files changed, 226 insertions(+), 29 deletions(-) commit ef71527479bab01da0a8b7b7c6da3320d4bdffbe Author: Albert Astals Cid Date: Sun Nov 1 19:32:52 2020 +0100 Poppler 20.11.0 CMakeLists.txt | 4 ++-- NEWS | 22 ++++++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 27 insertions(+), 5 deletions(-) commit 55a71830ac52ef55c899a1aa6935d935e888e1c7 Author: Albert Astals Cid Date: Sun Nov 1 18:58:53 2020 +0100 Fix comment as pointed out by Nelson poppler/Page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3a6c0f66cf3185658782d3001e778de44ebda8e7 Author: Albert Astals Cid Date: Fri Oct 30 15:44:13 2020 +0100 Dict: Save 8 bytes of memory It's not a lot, but Dict is used relatively often, so won't hurt for a 1 line code change poppler/Dict.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit af86c98f5732a65933911a906a4bca633457c8af Author: Albert Astals Cid Date: Fri Oct 30 16:04:53 2020 +0100 CI: Fix qt6 build CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 1ad3bc825185d6cb0bc922d0dafdc3815558011d Author: Albert Astals Cid Date: Thu Oct 29 19:46:09 2020 +0100 CI: Use debian:unstable instead of fedora:31 that has a newer clazy clazy is broken in fedora 32 and 33 and i'm tired of complaining .gitlab-ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 6d7ed61dfa6a650078446d7a41ab95f2458cfd70 Author: Albert Astals Cid Date: Thu Oct 29 15:53:58 2020 +0100 const++ poppler/Annot.cc | 3 ++- poppler/Annot.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit b4c83738d82ba0d34b050dc4e4cfec53fe02fcdd Author: Albert Astals Cid Date: Thu Oct 29 14:51:00 2020 +0100 cmake: Enable CMAKE_LINK_DEPENDS_NO_SHARED No need to relink libraries just because the .so it depends on has been rebuilt CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 148e5424e6f0deb7680fdc9b25736888089b6b41 Author: Albert Astals Cid Date: Thu Oct 29 13:47:13 2020 +0100 clang: Warn about weak-vtables CMakeLists.txt | 1 + cmake/modules/PopplerMacros.cmake | 1 + glib/poppler-document.cc | 4 ++++ poppler/Annot.cc | 4 ++++ poppler/Annot.h | 3 ++- poppler/CachedFile.cc | 4 +++- poppler/CachedFile.h | 4 ++-- poppler/CairoOutputDev.cc | 5 ++++- poppler/JBIG2Stream.cc | 6 ++++-- poppler/Link.cc | 2 ++ poppler/Link.h | 1 + poppler/PDFDocBuilder.cc | 13 +++++++++++++ poppler/PDFDocBuilder.h | 4 ++-- poppler/SplashOutputDev.cc | 4 +++- poppler/Stream.cc | 10 ++++++++++ poppler/Stream.h | 4 ++-- poppler/TextOutputDev.cc | 4 +++- poppler/XRef.cc | 2 ++ poppler/XRef.h | 2 +- qt5/src/poppler-annotation.cc | 14 ++++++++------ qt5/src/poppler-link-private.h | 6 ++++-- qt5/src/poppler-link.cc | 24 +++++++++++++++++++++++- qt5/src/poppler-page.cc | 7 +++++++ qt5/src/poppler-pdf-converter.cc | 5 ++++- qt5/src/poppler-ps-converter.cc | 5 ++++- qt6/src/poppler-annotation.cc | 12 +++++++----- qt6/src/poppler-link-private.h | 6 ++++-- qt6/src/poppler-link.cc | 29 ++++++++++++++++++++++++++++- qt6/src/poppler-page.cc | 7 +++++++ qt6/src/poppler-pdf-converter.cc | 5 ++++- qt6/src/poppler-ps-converter.cc | 5 ++++- splash/SplashPattern.cc | 7 +++++++ splash/SplashPattern.h | 2 ++ utils/pdftohtml.cc | 7 +++++-- 34 files changed, 182 insertions(+), 37 deletions(-) commit 9625dfa3c22dcb9075e062912cdf8c60b379d7d8 Author: Albert Astals Cid Date: Thu Oct 29 14:29:11 2020 +0100 qt6: properly namespace enums to use the correct ones qt6/src/poppler-annotation.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1635cbced1c8fcf9a933324908502e7e45429ace Author: Albert Astals Cid Date: Thu Oct 29 14:22:11 2020 +0100 stress-threads-qt6: Remove unused seed qt6/tests/stress-threads-qt6.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 2706eca3ad3af99fa6551b9d6fcdc69eb0a0aa4e Author: Albert Astals Cid Date: Wed Oct 28 22:30:00 2020 +0100 More work on rendering of standalone Annot Widgets Issue #806 poppler/Annot.cc | 5 +++-- poppler/Annot.h | 2 ++ poppler/Page.cc | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) commit 09b30131df866b5d697ca10a84d5ce060714f8e5 Author: Albert Astals Cid Date: Mon Oct 26 22:31:05 2020 +0100 Update (C) utils/HtmlFonts.cc | 1 + utils/HtmlFonts.h | 1 + utils/HtmlOutputDev.cc | 1 + 3 files changed, 3 insertions(+) commit 47550058463d181096770624aad811ae4eaf2688 Author: Eddie Kohler Date: Mon Oct 26 14:06:03 2020 -0400 HTML and XML output includes opacity. In HTML output, the opacity attribute is added to CSS. In XML output, opacity is a separate XML attribute on . utils/HtmlFonts.cc | 20 +++++++++++++++----- utils/HtmlFonts.h | 12 ++++++++---- utils/HtmlOutputDev.cc | 2 +- 3 files changed, 24 insertions(+), 10 deletions(-) commit 3e761a5035d5cdbcb861b3ad126942099d075d0e Author: Albert Astals Cid Date: Wed Oct 21 00:48:26 2020 +0200 Update (C) qt5/demos/viewer.cpp | 1 + qt6/demos/viewer.cpp | 1 + qt6/src/poppler-document.cc | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) commit 99346560791c935f74d77405dd35bef0f5823d1b Author: Oliver Sander Date: Fri Oct 16 23:01:42 2020 +0200 Rename ArthurOutputDev to QPainterOutputDev The Qt rendering system hasn't been called 'Arthur' for a long time, let's adapt the code to that. For backward compatibility, the ArthurBackend enum value remains in the files poppler-qt5.h and poppler-qt6.h. These shouldn't be used anymore. qt5/demos/viewer.cpp | 2 +- qt5/src/CMakeLists.txt | 2 +- .../{ArthurOutputDev.cc => QPainterOutputDev.cc} | 102 ++++++++++----------- .../src/QPainterOutputDev.h | 26 +++--- qt5/src/poppler-document.cc | 7 +- qt5/src/poppler-page.cc | 34 +++---- qt5/src/poppler-qt5.h | 7 +- qt5/tests/check_stroke_opacity.cpp | 2 +- qt5/tests/test-poppler-qt5.cpp | 20 ++-- qt5/tests/test-render-to-file.cpp | 10 +- qt6/demos/viewer.cpp | 2 +- qt6/src/CMakeLists.txt | 2 +- .../{ArthurOutputDev.cc => QPainterOutputDev.cc} | 102 ++++++++++----------- .../src/QPainterOutputDev.h | 26 +++--- qt6/src/poppler-document.cc | 4 +- qt6/src/poppler-page.cc | 34 +++---- qt6/src/poppler-qt6.h | 6 +- qt6/tests/check_stroke_opacity.cpp | 2 +- qt6/tests/test-poppler-qt6.cpp | 20 ++-- qt6/tests/test-render-to-file.cpp | 10 +- 20 files changed, 211 insertions(+), 209 deletions(-) commit 2a7b8555c043c50bfb56b7c361d211fd564a74b8 Author: Albert Astals Cid Date: Mon Oct 19 19:29:44 2020 +0200 Update (C) qt6/demos/pageview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 613c9ce5f503cdbd5f6a3daccbc26f3e5a162f59 Author: Albert Astals Cid Date: Mon Oct 19 17:38:16 2020 +0200 qt6: fix compile with newer qt6 code qt6/demos/pageview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8d0765e957f456725c39435d4ad395ad2f2518b4 Author: Albert Astals Cid Date: Sun Oct 18 19:46:20 2020 +0200 Switch the order of the checks to check for overflow first oss-fuzz/26481 fofi/FoFiBase.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 2fd2acd7f0e5710b8e7b1138b519549e7f3d6750 Author: Kyle Auble Date: Fri Oct 16 17:18:42 2020 -0400 cmake: Deduplicate _list_prefix macro The macro is only used after an identical version (_gir_list_prefix) is included with GObjectIntrospectionMacros. glib/CMakeLists.txt | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) commit 8b7dec2843999f8c3d77d921bd58688fbf4ff313 Author: Kyle Auble Date: Sat Oct 10 16:51:12 2020 -0400 cmake: Finish making FindGTK more robust * Add CMake guards to fix #831 and close !605 * Move pkg-config calls to FindGTK & parameterize GTK versions CMakeLists.txt | 2 ++ cmake/modules/FindGTK.cmake | 6 +++++- glib/demo/CMakeLists.txt | 9 ++++++--- glib/tests/CMakeLists.txt | 12 ++++++++---- 4 files changed, 21 insertions(+), 8 deletions(-) commit ec878dc540ce84aa010240d4795e2be2c3cc9caf Author: John Hein Date: Mon Aug 3 18:56:20 2020 -0600 cmake: Fix linker error when gtk is not in a default location Fix the following error when libgtk-3 (et. al.) is not installed in a directory that is not a linker default location: /usr/bin/ld: cannot find -lgtk-3 This change leverages pkg-config to add -L paths as well as the list of gtk3 libraries (-lgtk-3, etc.) Signed-off-by: Kyle Auble glib/demo/CMakeLists.txt | 4 +++- glib/tests/CMakeLists.txt | 7 +++++-- 2 files changed, 8 insertions(+), 3 deletions(-) commit c67bd3fafe0cff41855b4a2fdf7a3eb98a05ea3e Author: Albert Astals Cid Date: Thu Oct 15 14:18:56 2020 +0200 Fix uninitialized memory read on broken files oss-fuzz/26264 poppler/SecurityHandler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d9dab78f7aacf3ad7e0946b3dc60101722df93e Author: Albert Astals Cid Date: Wed Oct 7 23:50:42 2020 +0200 FileSpec::getEmbeddedFile: Check fileSpec is a dict before calling getDict Fixes #967 poppler/FileSpec.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d4be954367cb1ff6f372b74bbd8f186238ec86fc Author: Albert Astals Cid Date: Wed Oct 7 00:08:44 2020 +0200 cpp: Fix crashes in embedded file handling on broken files Fixes #966 cpp/poppler-embedded-file.cpp | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit 4fee2408dad1a2e872810eadec89cb07dc982312 Author: Albert Astals Cid Date: Tue Oct 6 01:08:16 2020 +0200 CI: qt6 try to account for the everchanging urls .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 6487612a84b4152c82aa4334a3ef2f1aa4dc7f6f Author: Kyle Auble Date: Sun Oct 4 16:38:59 2020 +0000 cmake: Remove python libraries check * FindPythonLibs is for C/C++ bindings, not typical python modules * Also make comments & messages clearer CMakeLists.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 1ddb6aeff646e2df7b663c0186d4f9bc9859daba Author: Albert Astals Cid Date: Sun Oct 4 11:46:45 2020 +0200 CI: Update qt6 url .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 061bae27a04684bdb0a1b4a6c3a8adf7fddcb7db Author: Kyle Auble Date: Fri Oct 2 23:41:09 2020 +0000 cmake: Raise error level of missing gtk-doc deps CMakeLists.txt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 327a7ce092397bc2ddb8a35eca52ab2b3f3bb858 Author: Kyle Auble Date: Fri Sep 4 15:07:36 2020 -0400 cmake: Reorganize GObject introspection config * Fixes #958, separating scanner args enables warnings glib/CMakeLists.txt | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) commit ff2130725ce43604323931cf8a365dad9ba93036 Author: Kyle Auble Date: Sun Sep 6 20:03:16 2020 -0400 cmake: Add some checks for gtk-doc support * Fixes #956 (at least on Poppler's end) * Explicitly check for gtk-doc package also CMakeLists.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit c5d85017f5cbc6487327d3de73fbab1c64b6af50 Author: Kyle Auble Date: Fri Sep 4 18:32:06 2020 -0400 cmake: Note built-in Find<...> modules for later * See #955 for details * FindGLIB: Also fix minor case-sensitivity warning cmake/modules/FindFontconfig.cmake | 2 ++ cmake/modules/FindGLIB.cmake | 2 +- cmake/modules/FindGTK.cmake | 2 ++ cmake/modules/FindIconv.cmake | 4 ++++ 4 files changed, 9 insertions(+), 1 deletion(-) commit d288ac9675684fe6fd0e8536a2255b8d341a8ad5 Author: Albert Astals Cid Date: Thu Oct 1 21:44:58 2020 +0200 Poppler 20.10.0 CMakeLists.txt | 4 ++-- NEWS | 9 +++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) commit 386555257158e1d170151b40dcea6bc90111e62f Author: Albert Astals Cid Date: Thu Oct 1 10:35:10 2020 +0200 CI: qt6: new tarballs .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit cfeb9525f0f9e4124de4b3d67de2f4667095366f Author: Albert Astals Cid Date: Fri Sep 25 01:21:53 2020 +0200 Fix undefined behaviour null pointer passed as argument 2, which is declared to never be null Fixes issue #962 poppler/Decrypt.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 2a3368e9c3c8b9a0031faef15041a8ca81f6710a Author: Albert Astals Cid Date: Fri Sep 25 01:17:24 2020 +0200 Fix undefined behaviour applying non-zero offset 1 to null pointer Fixes issue #963 poppler/GfxFont.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 613d5f2a7b18e332896ea7829166ce9ce3234ab4 Author: Albert Astals Cid Date: Fri Sep 25 01:36:41 2020 +0200 CI: Update qt6 .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 636d12b0f403d462af3652e4ebfd62d9fc7c58a8 Author: Albert Astals Cid Date: Fri Sep 18 01:26:40 2020 +0200 Fix compilation with new Qt6 snaptshot qt6/demos/viewer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 8fd2a2781e3aaf798a4c28f450d778b57ae2b0b8 Author: Albert Astals Cid Date: Fri Sep 18 00:54:36 2020 +0200 CI: Update qt6 url again .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit eb7940e737633c17696aec78ecad92048d6163e5 Author: Albert Astals Cid Date: Wed Sep 16 00:04:01 2020 +0200 Filter out repeated forms Some files like the one from KDE bug 426467 has the same signature repeated 23 times in the Fields field, just return it one poppler/Form.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 56cf80b2c53fa61d29b4718df092248a062c61e0 Author: Albert Astals Cid Date: Mon Sep 14 22:56:15 2020 +0200 Update (C) poppler/Stream.cc | 2 +- poppler/Stream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 12303bbdcc0cc72c6ff641140856f2c1f51041b8 Author: William Bader Date: Sun Sep 13 05:22:19 2020 +0100 Improve EmbedStream::reset error checking. poppler/Stream.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit e2ecddf3fc1f93a68b0ae535813f8b0d5ec672b5 Author: William Bader Date: Sun Sep 13 04:52:45 2020 +0100 Implement EmbedStream::reset() to fix pdftops -level1sep -optimizecolorspace for in-line images. poppler/Stream.cc | 17 ++++++++++++++++- poppler/Stream.h | 3 ++- 2 files changed, 18 insertions(+), 2 deletions(-) commit 91d95545b48d3aec6220d943177b571466f9a116 Author: Albert Astals Cid Date: Tue Sep 8 13:04:51 2020 +0200 CI: update qt6 links .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit bb4d6c963e885aac34a1266bdb9d8371e80b3b27 Author: Albert Astals Cid Date: Sat Sep 5 22:02:00 2020 +0200 Update (C) splash/SplashPath.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c47713528f770ac89c90d662aae72c7e48c9497b Author: Albert Astals Cid Date: Sat Sep 5 21:26:37 2020 +0200 addStrokeAdjustHint(): fix crash in out-of-memory situation. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=25411 #0 0xf7ef8f19 in [vdso] #1 0xf7ccdd08 in gsignal (/lib32/libc.so.6+0x2bd08) #2 0xf7ccf206 in abort (/lib32/libc.so.6+0x2d206) #3 0xbdb9c2e in grealloc(void*, unsigned int, bool) gdal/poppler/goo/gmem.h:85:5 #4 0xbdd9e11 in greallocn(void*, int, int, bool, bool) gdal/poppler/goo/gmem.h:171:12 #5 0xc012373 in SplashPath::addStrokeAdjustHint(int, int, int, int) gdal/poppler/splash/SplashPath.cc:211:35 #6 0xbfd156f in Splash::makeStrokePath(SplashPath*, double, bool) gdal/poppler/splash/Splash.cc:5987:34 #7 0xbfcaec2 in Splash::strokeWide(SplashPath*, double) gdal/poppler/splash/Splash.cc:2028:13 #8 0xbfc8a4d in Splash::stroke(SplashPath*) /src/gdal/poppler/splash/Splash.cc Based on patch by Even Rouault splash/Splash.cc | 4 +++- splash/SplashPath.cc | 10 ++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) commit 92ebc6416ccce249a28fafda8123fe86c8aa6311 Author: Albert Astals Cid Date: Fri Sep 4 00:21:36 2020 +0200 Update (C) poppler/CairoFontEngine.cc | 1 + splash/Splash.h | 1 + 2 files changed, 2 insertions(+) commit 6e07b84aa54d79b25d9dc882bc9f4a0479b16832 Author: Tobias Deiminger Date: Wed Sep 2 18:01:08 2020 +0200 Splash: Rename Yd to Ydown, Xu to Xup, etc. Minor gift to new contributors. Makes methods intention more obvious. splash/Splash.cc | 50 +++++++++++++++++++++++++------------------------- splash/Splash.h | 18 +++++++++--------- 2 files changed, 34 insertions(+), 34 deletions(-) commit e79cbe0adcf7d1a0dbfc4a77a096d2fbab327f39 Author: Michal Date: Wed Sep 2 17:18:06 2020 +0000 evict just font faces owned solely by cache These are font faces with reference count 1. Their scaled fonts were already evicted from cairo holdover cache. This should be more functionally equivalent to old behaviour except that eviction is done lazily and not eagerly. poppler/CairoFontEngine.cc | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) commit 2dbd1e0ac8102ec12eb6026df6708ef7c38fc05d Author: Albert Astals Cid Date: Tue Sep 1 22:53:33 2020 +0200 poppler 20.09.0 CMakeLists.txt | 2 +- NEWS | 31 +++++++++++++++++++++++++++++++ cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 35 insertions(+), 4 deletions(-) commit b82d0e17fb8d26f87a51d79046364d141187bd61 Author: Albert Astals Cid Date: Tue Sep 1 22:45:32 2020 +0200 Fix memory leak introduced in 9e853438c5e9d56c07141220f2b30d7215ee9278 Thankfully coverity caught it before the release :) poppler/JBIG2Stream.cc | 1 + 1 file changed, 1 insertion(+) commit ee0bd54496376c18f25d1c863f583598d3ee2632 Author: Martin Packman Date: Sun Aug 30 22:37:48 2020 +0100 Add gitlab checkbox point to contributors doc As mentioned by @aacid in merge request comments. Also through general note about helpful title and descriptions. README.contributors | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit e5e63c5b65099392e95bedc0051bfe849c7b0d85 Author: Albert Astals Cid Date: Sun Aug 30 18:37:37 2020 +0200 Update (C) splash/Splash.cc | 1 + 1 file changed, 1 insertion(+) commit 6a7dae795d3a08497db4a680d6d15ae10df0c681 Author: Tobias Deimigner Date: Fri Aug 28 19:41:18 2020 +0200 Splash bilinear scaling: Don't try read behind end Source line iteration in Splash::scaleImageYuXuBilinear already tries to prevent a read behind source image end, as the comment indicates it and as it's conceptually reasonable. But the check for (currentSrcRow < srcHeight) is wrong and doesn't do what it claims. currentSrcRow will only ever increase to srcHeight - 1 after scaledHeight iterations. Therefore the check always evaluates to true, and src() is aways called. Intention was to prevented the line fetch for the last run and leave line2 identical to line1 (the "extra padding"). Nothing bad happened, because SplashOutputDev::imageSrc and alphaImageSrc gracefully handle the behind-end read. Should be corrected either. splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 78e6050a89d37a9d708eef92e15494d64d1a62c0 Author: Albert Astals Cid Date: Sat Aug 29 12:07:50 2020 +0200 CI: Update qt6 archives .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a9fc7f0bcdcece62eda698016064a5f9e3acea24 Author: Albert Astals Cid Date: Sat Aug 29 12:30:34 2020 +0200 qt6: workaround QTBUG-86318 qt6/tests/stress-threads-qt6.cpp | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 418a9373616c14e67a1f9792d4039e62c3f8feb9 Author: Albert Astals Cid Date: Sat Aug 29 12:12:41 2020 +0200 qt6: Remove unused include qt6/src/poppler-annotation.cc | 1 - 1 file changed, 1 deletion(-) commit 155d7201def1e2b337e408e0c86edf9e5093853a Author: Albert Astals Cid Date: Thu Aug 27 22:03:05 2020 +0200 Update (C) poppler/TextOutputDev.cc | 2 +- poppler/TextOutputDev.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 375809c897a66f42880b9ed522df3cb6bad6c305 Author: Nelson Benítez León Date: Wed Aug 26 14:18:48 2020 -0400 TextSelectionPainter: support glyphless fonts in text selections, by: - Ignoring to draw characters with it. - Painting the selection's background as transparent. Fixes issue #157 Based on inital work by Nelson Benitez and changed to be not tesseract specific by Julian Andres Klode. poppler/TextOutputDev.cc | 35 ++++++++++++++++++++++++++++++----- poppler/TextOutputDev.h | 1 + 2 files changed, 31 insertions(+), 5 deletions(-) commit 55eb5c73e5fb609ba56dee28f74e53b2be28fbb7 Author: Albert Astals Cid Date: Wed Aug 26 22:37:31 2020 +0200 BaseMemStream::getChars: If we're past the end do nothing poppler/Stream.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit c09f01b1be772b39b3d160ebdd6d09eac06e375d Author: Albert Astals Cid Date: Tue Aug 25 23:13:32 2020 +0200 Update (C) qt5/src/poppler-private.cc | 2 +- qt6/src/poppler-private.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 2b8692a5a52a8cd997e70f7912ad7cedeb34891b Author: Albert Astals Cid Date: Tue Aug 25 23:05:51 2020 +0200 qt: Clean as many null characters from the end as possible Not only one Fixes KDE bug #425791 qt5/src/poppler-private.cc | 4 ++-- qt5/tests/check_strings.cpp | 9 +++++++++ qt6/src/poppler-private.cc | 4 ++-- qt6/tests/check_strings.cpp | 9 +++++++++ 4 files changed, 22 insertions(+), 4 deletions(-) commit 4febe9d3ba3359005098b134e5bbe2ec434c87fd Author: Albert Astals Cid Date: Tue Aug 18 22:51:22 2020 +0200 qt5: Be a bit more stubborn converting dates that come from xml qt5/src/poppler-annotation.cc | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) commit 3023066f19509a8e5ced403d5afc804c4d6af238 Author: Albert Astals Cid Date: Tue Aug 18 22:38:43 2020 +0200 qt5/6: Make Annotation::setModification/CreationDate work on existing annots With an autotest and bonus memory leak fixes for existing tests qt5/src/poppler-annotation.cc | 37 ++++++++++---------- qt5/tests/check_annotations.cpp | 75 +++++++++++++++++++++++++++++++++++++++++ qt6/src/poppler-annotation.cc | 37 ++++++++++---------- qt6/tests/check_annotations.cpp | 75 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 190 insertions(+), 34 deletions(-) commit 7064bb38e918edd71d72cba5544b3f3ed73253cf Author: Albert Astals Cid Date: Tue Aug 18 21:50:18 2020 +0200 Fix clearing date in Annot setModified/setDate nullptr means nullptr not null string poppler/Annot.cc | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit e10b0a88bc8182710fd98a919740e349426386f4 Author: Albert Astals Cid Date: Sat Aug 22 21:55:10 2020 +0000 qt: MSVC test fixes qt5/tests/check_search.cpp | 68 +++++++++++++++++++------------------- qt5/tests/check_utf_conversion.cpp | 2 +- 2 files changed, 35 insertions(+), 35 deletions(-) commit 307d6db4247e3b934b5d26059fcd217517c4a187 Author: Albert Astals Cid Date: Sat Aug 22 20:01:09 2020 +0200 Gfx::opSetExtGState: Fix memory leak on broken files While at it move definitions of i and funcs down where used, also remove the abuse of funcs[0] in one place and just declare a Function for it poppler/Gfx.cc | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) commit cad2f028601d8d54277ce8a7876fad3250da0d45 Author: Albert Astals Cid Date: Fri Aug 21 22:20:12 2020 +0200 Update (C) poppler/GlobalParams.cc | 1 + 1 file changed, 1 insertion(+) commit dccd9dbc25560681f0b429178bc96765ce1ae70a Author: Kai Pastor Date: Fri Aug 21 18:50:17 2020 +0000 Fix #elif statement WITH_FONTCONFIGURATION_WIN32 is either undefined or 1. poppler/GlobalParams.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 171bd475f0cc2c98ccd864adf3fd73ecfd4af7cd Author: Albert Astals Cid Date: Fri Aug 21 19:55:32 2020 +0200 qt6: Make inplaceAlign return an enum not an int qt6/src/poppler-annotation.cc | 34 +++++++++++++++++++++++++++------- qt6/src/poppler-annotation.h | 11 ++++++++--- 2 files changed, 35 insertions(+), 10 deletions(-) commit f9480192c02789e687156fd2c297980dde6461ac Author: Albert Astals Cid Date: Fri Aug 21 19:44:50 2020 +0200 qt6: Remove useless A_BASE enum value qt6/src/poppler-annotation.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d1bb49c3368fa2c16c43abbc800566bb2905e429 Author: Albert Astals Cid Date: Fri Aug 21 19:44:27 2020 +0200 qt6: Make flags method actually return flags and not int qt6/src/poppler-annotation-private.h | 4 ++-- qt6/src/poppler-annotation.cc | 20 +++++++++++--------- qt6/src/poppler-annotation.h | 9 +++++---- 3 files changed, 18 insertions(+), 15 deletions(-) commit 150e6efa0e9495ffceffbdfbff795bc9ccdf45f7 Author: Albert Astals Cid Date: Fri Aug 21 15:32:23 2020 +0200 qt: Document TextAnnotation::inplaceAlign qt5/src/poppler-annotation.h | 1 + qt6/src/poppler-annotation.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 92b3edf32a9f7a3617681135290e9d2ba0205ffb Author: Jason Crain Date: Wed Feb 12 19:16:20 2020 -0700 glib: Add accessor functions for PopplerAttachment Issue #715 glib/demo/annots.c | 2 +- glib/demo/attachments.c | 21 ++++++++++----- glib/poppler-attachment.cc | 52 +++++++++++++++++++++++++++++++++++++ glib/poppler-attachment.h | 20 +++++++++++--- glib/reference/poppler-sections.txt | 4 +++ 5 files changed, 87 insertions(+), 12 deletions(-) commit b13cd962b59e65846e3a9b18eee8a8b999b0291a Author: Jason Crain Date: Fri Jan 3 19:05:57 2020 -0700 glib: Deprecate PopplerDocument date properties PopplerDocument's creation-date and mod-date properties are 32-bit unix times, a.k.a. GTime, and will overflow in 2038. Deprecate these properties and replace with creation-datetime and mod-datetime, which are GDateTime instead, and add accessor functions. Fixes #765 glib/demo/info.cc | 12 +-- glib/poppler-document.cc | 161 +++++++++++++++++++++++++++++++++++- glib/poppler-document.h | 8 ++ glib/poppler-private.h | 1 + glib/reference/poppler-sections.txt | 4 + 5 files changed, 178 insertions(+), 8 deletions(-) commit c146da765689968ceb09921928152d5ecd5b0956 Author: Jason Crain Date: Fri Jan 3 18:42:21 2020 -0700 glib: Deprecate PopplerAttachment GTime fields GTime was deprecated in glib 2.62 and will overflow in 2038. The PopplerAttachment struct publicly uses GTime for the 'mtime' and 'ctime' fields. Deprecate these two fields and add accessor functions, poppler_attachment_get_ctime and poppler_attachment_get_mtime, which retun GDateTime* instead. Fixes #765, Related to #715 glib/demo/attachments.c | 15 ++++++----- glib/poppler-attachment.cc | 52 ++++++++++++++++++++++++++++++++----- glib/poppler-attachment.h | 16 ++++++++++++ glib/poppler-document.cc | 36 +++++++++++++++++++++++++ glib/poppler-private.h | 1 + glib/reference/poppler-sections.txt | 2 ++ 6 files changed, 110 insertions(+), 12 deletions(-) commit d7ead51f00e30d7f660ed5914acc26461beb057d Author: Albert Astals Cid Date: Wed Aug 19 18:34:44 2020 +0200 Pretend Opt in Choice forms is inheritable The spec doesn't say it is, but Adobe Reader acts like it is, so emulate its bug (or it's a bug in the spec) Fixes KDE bug #425520 poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 11f83d58fcbd08e648a6b40c2857218fb5ee02a2 Author: Liam Morland Date: Mon Aug 17 21:13:16 2020 -0400 pdftoppm: Document that PDF-file can be - to read it from stdin utils/pdftoppm.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d40cb7cc2e448abb4e3a075df0f47cd8dc9cd93f Author: Liam Morland Date: Mon Aug 17 21:12:25 2020 -0400 pdftotext: Document that PDF-file can be - to read it from stdin utils/pdftotext.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9f30c65b788ba13ae57cffdae8d6c24aec0244bf Author: Liam Morland Date: Mon Aug 17 21:11:22 2020 -0400 pdfinfo: Document that PDF-file can be - to read it from stdin utils/pdfinfo.1 | 4 ++++ 1 file changed, 4 insertions(+) commit 4ea3c7159b13b81d5e423adee027e57e4737006f Author: Liam Morland Date: Mon Aug 17 21:10:12 2020 -0400 pdffonts: Document that PDF-file can be - to read it from stdin utils/pdffonts.1 | 4 ++++ 1 file changed, 4 insertions(+) commit 9c181392389367715dd047feaaaaca9fecac8ada Author: Liam Morland Date: Tue Aug 18 01:02:57 2020 +0000 pdfimages: Document that PDF-file can be '-' to read it from stdin utils/pdfimages.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 42e7905de47c514cec0aba0f0e2ceb4b5fcf5372 Author: Liam Morland Date: Tue Aug 18 00:59:28 2020 +0000 pdftohtml: Document that PDF-file can be '-' to read it from stdin utils/pdftohtml.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 66afa7bfeae4e3cddcb6a9ae7426b6ace01590c5 Author: Albert Astals Cid Date: Tue Aug 11 00:14:00 2020 +0200 Update (C) poppler/JArithmeticDecoder.cc | 1 + poppler/JArithmeticDecoder.h | 1 + poppler/JBIG2Stream.cc | 2 +- poppler/JBIG2Stream.h | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) commit 8c4d5da844efd1b9e99ae0304d6625170a069d4b Author: Even Rouault Date: Sun Aug 9 19:09:27 2020 +0200 JBIG2: avoid potential undefined bit-wise shift poppler/JBIG2Stream.cc | 3 +++ 1 file changed, 3 insertions(+) commit 9e853438c5e9d56c07141220f2b30d7215ee9278 Author: Even Rouault Date: Sun Aug 9 19:07:11 2020 +0200 JBIG2: avoid abort() on large memory allocation Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24772 When numInputSyms + numNewSyms is large enough, a fatal out of memory allocation can occur in JArithmeticDecoderStats() constructor per ``` #0 0xf7f6bf19 in [vdso] #1 0xf7d40d08 in gsignal (/lib32/libc.so.6+0x2bd08) #2 0xf7d42206 in abort (/lib32/libc.so.6+0x2d206) #3 0xbdc0049 in gmalloc(unsigned int, bool) gdal/poppler/goo/gmem.h:52:5 #4 0xbdf3c61 in gmallocn(int, int, bool) gdal/poppler/goo/gmem.h:119:12 #5 0xc1391fd in JArithmeticDecoderStats::JArithmeticDecoderStats(int) gdal/poppler/poppler/JArithmeticDecoder.cc:36:30 #6 0xc1130d5 in JBIG2Stream::resetIntStats(int) gdal/poppler/poppler/JBIG2Stream.cc:4052:25 #7 0xc1083df in JBIG2Stream::readSymbolDictSeg(unsigned int, unsigned int, unsigned int*, unsigned int) gdal/poppler/poppler/JBIG2Stream.cc:1624:9 #8 0xc105305 in JBIG2Stream::readSegments() gdal/poppler/poppler/JBIG2Stream.cc:1318:18 #9 0xc103f5a in JBIG2Stream::reset() gdal/poppler/poppler/JBIG2Stream.cc:1142:5 ``` Avoid it and return nicely. poppler/JArithmeticDecoder.cc | 6 ++++-- poppler/JArithmeticDecoder.h | 1 + poppler/JBIG2Stream.cc | 25 +++++++++++++++++++++---- poppler/JBIG2Stream.h | 2 +- 4 files changed, 27 insertions(+), 7 deletions(-) commit c063a74dd8ff9385165015b7d26f15658046b51c Author: Liam Morland Date: Sat Aug 8 17:47:08 2020 +0000 Document that PDF-file can be '-' to read it from stdin utils/pdftops.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bc42bcaa7d56c17901e4fd333d3afd91bab8c88f Author: Albert Astals Cid Date: Sat Aug 8 19:27:24 2020 +0200 Refine the entry type check Fixes KDE bug #424779 poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c3c3ae490dd4c5341eb15bd3abdac293cf442263 Author: Albert Astals Cid Date: Mon Aug 3 23:58:14 2020 +0200 Update (C) utils/pdftoppm.cc | 1 + 1 file changed, 1 insertion(+) commit eb3447e579aeeb88847196e8bee359e1e737746f Author: Stéfan van der Walt Date: Mon Aug 3 21:57:16 2020 +0000 pdftoppm: report error and exit if output file cannot be written utils/pdftoppm.cc | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 6307b5c229d11690b8ed9d11bdaec48cb470c51e Author: Albert Astals Cid Date: Sun Aug 2 20:25:13 2020 +0200 cmake: Remove stray support for lcms1 in pdftocairo utils/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) commit 446baf49e696001305ed2d3e57c157862a780370 Author: Albert Astals Cid Date: Sun Aug 2 20:22:57 2020 +0200 cmake: Modern way to link against libtiff CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit bc5edcfba6ae88e989892f5d24c69d8ed719ab78 Author: Albert Astals Cid Date: Sun Aug 2 20:19:19 2020 +0200 cmake: Modern way to link against zlib CMakeLists.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 1d83bd32487fc645b7c6dba132764448eb4b0272 Author: Albert Astals Cid Date: Sun Aug 2 20:12:28 2020 +0200 cmake: Modern way to link against libpng CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 175370fda156c1f19072f98bdd236ee4561e4620 Author: Albert Astals Cid Date: Sat Aug 1 18:40:32 2020 +0200 20.08.0 CMakeLists.txt | 13 ++++++++----- NEWS | 12 ++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 22 insertions(+), 7 deletions(-) commit 3a9bfd6ef981692b391e63c32725c12817a2d08f Author: Jean Ghali Date: Mon Jul 20 18:34:30 2020 +0200 Fix x86 + windows asm It broke during the clang-reformat splash/SplashMath.h | 40 +++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) commit 95adf3ed13c963b166f8fca5332dac2c1e886fdd Author: Albert Astals Cid Date: Sat Jul 18 16:26:04 2020 +0200 Update (C) splash/SplashState.cc | 1 + 1 file changed, 1 insertion(+) commit 08b6fd0f11cb052a3674c1e91fee4a85f60d4e54 Author: Peter Wang Date: Thu Jul 16 11:16:03 2020 +1000 Splash: Set initial line width to 1 Fixes #674 The initial value of the line width graphics state parameter in PDF is 1.0. splash/SplashState.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 39fe3635bd5bbbc15a1660dea2cbf85cb8517b6f Author: Albert Astals Cid Date: Thu Jul 16 19:14:13 2020 +0200 Update (C) poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4411426325e05228c57ae05a3849443b4da16b21 Author: Thomas Freitag Date: Thu Jul 16 16:57:27 2020 +0000 In case of sub-page objects: initialize clip max values considering the render resolution Fixes #937 poppler/Gfx.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit a17296083cbbaf4a954429ec9b7a3b1de0c04904 Author: Albert Astals Cid Date: Mon Jul 13 22:18:44 2020 +0200 qt6: There's no AnnotationUtils class anymore qt6/src/poppler-annotation.h | 9 --------- 1 file changed, 9 deletions(-) commit 1a389a50a7ee6a4df02e9dee70ccd7b47e31770a Author: Albert Astals Cid Date: Wed Jul 8 22:23:44 2020 +0200 GfxShading: Simplify holding the Function Make it be a vector of unique pointers. That way we don't have to worry to delete the pointers on error cases, they are deleted automatically. This actually fixes some leaks because in some cases we were deleting them on the error case but in some others we were not poppler/GfxState.cc | 228 ++++++++++++++++++---------------------------------- poppler/GfxState.h | 38 ++++----- 2 files changed, 93 insertions(+), 173 deletions(-) commit ec8a43c8df29fdd6f1228276160898ccd9401c92 Author: Albert Astals Cid Date: Sat Jul 4 00:08:55 2020 +0200 Fix stack overflow with specially crafted files The file is not malformed per se, it just has a huge XRefStm chain and we end up exhausting the stack space trying to parse them all. Having more than 4096 XRefStm seems like won't really happen on real life so break the flow at that point Fixes #936 poppler/XRef.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 3a6c77bc21e4982619ade995564466fbc543d3ac Author: Albert Astals Cid Date: Mon Jul 13 22:16:36 2020 +0200 qt5: Mark AnnotationUtils as deprecated, it's gone in qt6 qt5/src/poppler-annotation.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 31731735e1176136b4f853762a4da59e61064f80 Author: Albert Astals Cid Date: Mon Jul 13 18:40:24 2020 +0200 Deprecated Document::toc in qt5 and remove it in qt6 Use Document::outline instead Allows us to not link to QtXml anymore in qt6 CMakeLists.txt | 6 ++-- qt5/src/poppler-qt5.h | 2 +- qt6/src/CMakeLists.txt | 2 +- qt6/src/poppler-document.cc | 17 --------- qt6/src/poppler-private.cc | 87 --------------------------------------------- qt6/src/poppler-private.h | 2 -- qt6/src/poppler-qt6.h | 27 +------------- 7 files changed, 6 insertions(+), 137 deletions(-) commit 79ee55abfb58c1f3b5f2e8dc68a403908484ef43 Author: Albert Astals Cid Date: Sat Jul 11 00:52:30 2020 +0200 0.90.1 CMakeLists.txt | 2 +- NEWS | 12 ++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) commit 969562d387b3791c7bc192a213e74049e08c9395 Author: Albert Astals Cid Date: Sat Jul 11 00:41:13 2020 +0200 Fix UTF16LE support in TextStringToUCS4 Make test a bit more complex by using a nice checkbox Also copy the text to the qt6 folder poppler/UTF.cc | 2 +- qt5/tests/check_utf_conversion.cpp | 36 ++++++++++++++++++++----------- qt6/tests/check_utf_conversion.cpp | 44 +++++++++++++++++++++++++++++++++++++- 3 files changed, 68 insertions(+), 14 deletions(-) commit 8ee6907bd64b0eb77997ca05c2fc910d5225f4b5 Author: Albert Astals Cid Date: Fri Jul 10 23:09:44 2020 +0200 Update (C) poppler/UTF.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a880ecd7d865a12b0f91f56285907bbb409f32f Author: Nelson Benítez León Date: Thu Jul 9 01:36:24 2020 -0400 Add test for UTF16LE string support Issue #941 qt5/tests/check_utf_conversion.cpp | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit 232cba307e8be35022426ba85f34198af7406899 Author: Nelson Benítez León Date: Thu Jul 9 01:37:20 2020 -0400 Make TextStringToUCS4() support UTF16-LE too UTF16-LE strings can 'de facto' appear on pdf's (eg. title of Outline items) and Acrobat display them fine, so let's support that so we don't show an ugly 'ÿþ' at start of the text (Okular) or even no text at all (Evince). Issue #941 Evince issue: https://gitlab.gnome.org/GNOME/evince/-/issues/1444 poppler/UTF.cc | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit d3af7282507be3846c680a4f66b84b6b3e54853a Author: Albert Astals Cid Date: Fri Jul 10 17:14:17 2020 +0200 qt6: Drop the AnnotationUtils functions to store/read from xml Basically it's undocumented API, you'd have to read this very same code to know what to expect on the XML qt6/src/poppler-annotation.cc | 1102 ----------------------------------------- qt6/src/poppler-annotation.h | 58 --- 2 files changed, 1160 deletions(-) commit b2fadd0f7c5346c07181dd3730bf8d8a255f55b0 Author: Albert Astals Cid Date: Thu Jul 9 00:28:48 2020 +0200 Fix conversion to PS in locales where decimal point is , The bug is only present in newer versions of lcms poppler/GfxState.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 2ec6bb9d0b1cfb3a1176e2b761b99c8e9d712642 Author: Albert Astals Cid Date: Wed Jul 8 00:52:17 2020 +0200 CI: image tweaks qt5_docs can go back to debian unstable clazy one still needs fedora 31, on fedora 32 clazy crashes, they are investigating it .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c290052d1060dbc53b565f1a34f1375324e2a668 Author: Albert Astals Cid Date: Sat Jul 4 01:17:34 2020 +0200 CI: add missing dependency in freetype .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e225b4b804881de02a5d1beb3f3f908a8f8ddc3d Author: Albert Astals Cid Date: Tue Jun 16 09:26:54 2020 +0200 Qt6 frontend Basically a copy of qt5 to qt6 Tested with the tests and the demo, seems to work relatively well Changes: * Changed a few QLinkedList to QVector, we don't need the features that QLinkedList provided * Adapt code to QByteArray behaviour change in [] with indexes past the size * Removed a few deprecated functions from our API * Use more modern cmake syntax to link against the libraries * QDate::toString is gone, use QLocale::toString with a date * Use the QDateTime variants of secsSinceEpoch instead of time_t .gitlab-ci.yml | 8 +- CMakeLists.txt | 14 + qt6/.gitignore | 4 + qt6/CMakeLists.txt | 11 + qt6/demos/.gitignore | 4 + qt6/demos/CMakeLists.txt | 25 + qt6/demos/abstractinfodock.cpp | 52 + qt6/demos/abstractinfodock.h | 48 + qt6/demos/documentobserver.cpp | 45 + qt6/demos/documentobserver.h | 53 + qt6/demos/embeddedfiles.cpp | 73 + qt6/demos/embeddedfiles.h | 44 + qt6/demos/fonts.cpp | 67 + qt6/demos/fonts.h | 43 + qt6/demos/info.cpp | 67 + qt6/demos/info.h | 43 + qt6/demos/main_viewer.cpp | 33 + qt6/demos/metadata.cpp | 45 + qt6/demos/metadata.h | 43 + qt6/demos/navigationtoolbar.cpp | 141 + qt6/demos/navigationtoolbar.h | 66 + qt6/demos/optcontent.cpp | 63 + qt6/demos/optcontent.h | 47 + qt6/demos/pageview.cpp | 96 + qt6/demos/pageview.h | 53 + qt6/demos/permissions.cpp | 61 + qt6/demos/permissions.h | 43 + qt6/demos/thumbnails.cpp | 79 + qt6/demos/thumbnails.h | 48 + qt6/demos/toc.cpp | 165 + qt6/demos/toc.h | 45 + qt6/demos/viewer.cpp | 311 ++ qt6/demos/viewer.h | 73 + qt6/src/.gitignore | 9 + qt6/src/ArthurOutputDev.cc | 1155 +++++++ qt6/src/ArthurOutputDev.h | 206 ++ qt6/src/CMakeLists.txt | 68 + qt6/src/Doxyfile | 1637 +++++++++ qt6/src/Mainpage.dox | 85 + qt6/src/poppler-annotation-helper.h | 73 + qt6/src/poppler-annotation-private.h | 112 + qt6/src/poppler-annotation-private.h.orig | 115 + qt6/src/poppler-annotation.cc | 4636 ++++++++++++++++++++++++++ qt6/src/poppler-annotation.h | 1397 ++++++++ qt6/src/poppler-base-converter.cc | 89 + qt6/src/poppler-converter-private.h | 52 + qt6/src/poppler-document.cc | 873 +++++ qt6/src/poppler-embeddedfile-private.h | 44 + qt6/src/poppler-embeddedfile.cc | 129 + qt6/src/poppler-export.h | 20 + qt6/src/poppler-fontinfo.cc | 153 + qt6/src/poppler-form.cc | 1015 ++++++ qt6/src/poppler-form.h | 755 +++++ qt6/src/poppler-link-extractor-private.h | 56 + qt6/src/poppler-link-extractor.cc | 81 + qt6/src/poppler-link-private.h | 70 + qt6/src/poppler-link.cc | 664 ++++ qt6/src/poppler-link.h | 657 ++++ qt6/src/poppler-media.cc | 154 + qt6/src/poppler-media.h | 98 + qt6/src/poppler-movie.cc | 106 + qt6/src/poppler-optcontent-private.h | 133 + qt6/src/poppler-optcontent.cc | 437 +++ qt6/src/poppler-optcontent.h | 81 + qt6/src/poppler-outline-private.h | 48 + qt6/src/poppler-outline.cc | 183 + qt6/src/poppler-page-private.h | 58 + qt6/src/poppler-page-transition-private.h | 35 + qt6/src/poppler-page-transition.cc | 100 + qt6/src/poppler-page-transition.h | 142 + qt6/src/poppler-page.cc | 882 +++++ qt6/src/poppler-pdf-converter.cc | 103 + qt6/src/poppler-private.cc | 291 ++ qt6/src/poppler-private.h | 262 ++ qt6/src/poppler-ps-converter.cc | 256 ++ qt6/src/poppler-qiodeviceinstream-private.h | 48 + qt6/src/poppler-qiodeviceinstream.cc | 59 + qt6/src/poppler-qiodeviceoutstream-private.h | 47 + qt6/src/poppler-qiodeviceoutstream.cc | 57 + qt6/src/poppler-qt6.h | 2151 ++++++++++++ qt6/src/poppler-sound.cc | 125 + qt6/src/poppler-textbox.cc | 63 + qt6/src/poppler-version.cpp | 40 + qt6/src/poppler-version.h.in | 68 + qt6/tests/.gitignore | 33 + qt6/tests/CMakeLists.txt | 69 + qt6/tests/README.unittest | 23 + qt6/tests/check_actualtext.cpp | 57 + qt6/tests/check_annotations.cpp | 194 ++ qt6/tests/check_attachments.cpp | 154 + qt6/tests/check_dateConversion.cpp | 104 + qt6/tests/check_fonts.cpp | 235 ++ qt6/tests/check_forms.cpp | 257 ++ qt6/tests/check_goostring.cpp | 161 + qt6/tests/check_lexer.cpp | 108 + qt6/tests/check_links.cpp | 121 + qt6/tests/check_metadata.cpp | 286 ++ qt6/tests/check_object.cpp | 41 + qt6/tests/check_optcontent.cpp | 453 +++ qt6/tests/check_outline.cpp | 50 + qt6/tests/check_pagelabelinfo.cpp | 72 + qt6/tests/check_pagelayout.cpp | 50 + qt6/tests/check_pagemode.cpp | 74 + qt6/tests/check_password.cpp | 115 + qt6/tests/check_permissions.cpp | 45 + qt6/tests/check_search.cpp | 282 ++ qt6/tests/check_strings.cpp | 228 ++ qt6/tests/check_stroke_opacity.cpp | 96 + qt6/tests/check_utf_conversion.cpp | 147 + qt6/tests/poppler-attachments.cpp | 36 + qt6/tests/poppler-fonts.cpp | 87 + qt6/tests/poppler-forms.cpp | 272 ++ qt6/tests/poppler-page-labels.cpp | 45 + qt6/tests/poppler-texts.cpp | 37 + qt6/tests/stress-poppler-dir.cpp | 66 + qt6/tests/stress-poppler-qt6.cpp | 74 + qt6/tests/stress-threads-qt6.cpp | 272 ++ qt6/tests/test-password-qt6.cpp | 132 + qt6/tests/test-poppler-qt6.cpp | 218 ++ qt6/tests/test-render-to-file.cpp | 59 + 120 files changed, 26942 insertions(+), 2 deletions(-) commit cd4feb323f005e3b0443572a1123683af5fab71b Author: Albert Astals Cid Date: Thu Jun 18 23:54:45 2020 +0200 Add .git-blame-ignore-revs and some instructions for clang-format .git-blame-ignore-revs | 2 ++ README.contributors | 17 +++++++++++++++++ hooks/pre-commit | 10 ++++++++++ 3 files changed, 29 insertions(+) commit 9d9e20bdcdaf8d6da562e792b9e5672193e714e2 Author: Albert Astals Cid Date: Fri Jun 19 16:52:02 2020 +0200 Check clang-format at CI stage .gitlab-ci.yml | 9 +++++++++ 1 file changed, 9 insertions(+) commit 814fbda28cc8a37fed3134c2db8da28f86fb5ee0 Author: Albert Astals Cid Date: Fri Jul 3 23:51:42 2020 +0200 Run clang-format find . \( -name "*.cpp" -or -name "*.h" -or -name "*.c" -or -name "*.cc" \) -exec clang-format -i {} \; If you reached this file doing a git blame, please see README.contributors (instructions added 2 commits in the future to this one) cmake/modules/CheckFileOffsetBits.c | 7 +- cpp/poppler-destination-private.h | 3 +- cpp/poppler-destination.cpp | 14 +- cpp/poppler-destination.h | 8 +- cpp/poppler-document-private.h | 16 +- cpp/poppler-document.cpp | 91 +- cpp/poppler-document.h | 30 +- cpp/poppler-embedded-file-private.h | 7 +- cpp/poppler-embedded-file.cpp | 13 +- cpp/poppler-embedded-file.h | 3 +- cpp/poppler-font-private.h | 24 +- cpp/poppler-font.cpp | 28 +- cpp/poppler-font.h | 9 +- cpp/poppler-global.cpp | 59 +- cpp/poppler-global.h | 70 +- cpp/poppler-image-private.h | 5 +- cpp/poppler-image.cpp | 59 +- cpp/poppler-image.h | 8 +- cpp/poppler-page-private.h | 8 +- cpp/poppler-page-renderer.cpp | 103 +- cpp/poppler-page-renderer.h | 14 +- cpp/poppler-page-transition.cpp | 18 +- cpp/poppler-page-transition.h | 14 +- cpp/poppler-page.cpp | 113 +- cpp/poppler-page.h | 43 +- cpp/poppler-private.cpp | 5 +- cpp/poppler-private.h | 16 +- cpp/poppler-rectangle.cpp | 5 +- cpp/poppler-rectangle.h | 74 +- cpp/poppler-toc-private.h | 12 +- cpp/poppler-toc.cpp | 37 +- cpp/poppler-toc.h | 6 +- cpp/tests/pdf_fuzzer.cc | 37 +- cpp/tests/poppler-dump.cpp | 248 +- cpp/tests/poppler-render.cpp | 22 +- fofi/FoFiBase.cc | 289 +- fofi/FoFiBase.h | 44 +- fofi/FoFiEncodings.cc | 1882 +-- fofi/FoFiEncodings.h | 4 +- fofi/FoFiIdentifier.cc | 970 +- fofi/FoFiIdentifier.h | 34 +- fofi/FoFiTrueType.cc | 3261 ++-- fofi/FoFiTrueType.h | 297 +- fofi/FoFiType1.cc | 613 +- fofi/FoFiType1.h | 50 +- fofi/FoFiType1C.cc | 5136 +++--- fofi/FoFiType1C.h | 406 +- glib/demo/annots.c | 1528 +- glib/demo/annots.h | 4 +- glib/demo/attachments.c | 522 +- glib/demo/attachments.h | 4 +- glib/demo/find.c | 772 +- glib/demo/find.h | 4 +- glib/demo/fonts.c | 440 +- glib/demo/fonts.h | 4 +- glib/demo/forms.c | 904 +- glib/demo/forms.h | 4 +- glib/demo/images.c | 491 +- glib/demo/images.h | 4 +- glib/demo/info.cc | 447 +- glib/demo/info.h | 6 +- glib/demo/layers.c | 648 +- glib/demo/layers.h | 6 +- glib/demo/links.c | 433 +- glib/demo/links.h | 4 +- glib/demo/main.c | 553 +- glib/demo/outline.c | 315 +- glib/demo/outline.h | 6 +- glib/demo/page.c | 524 +- glib/demo/page.h | 4 +- glib/demo/print.c | 268 +- glib/demo/print.h | 4 +- glib/demo/render.c | 686 +- glib/demo/render.h | 4 +- glib/demo/selections.c | 937 +- glib/demo/selections.h | 4 +- glib/demo/taggedstruct.c | 330 +- glib/demo/taggedstruct.h | 4 +- glib/demo/text.c | 915 +- glib/demo/text.h | 4 +- glib/demo/transitions.c | 434 +- glib/demo/transitions.h | 4 +- glib/demo/utils.c | 1000 +- glib/demo/utils.h | 32 +- glib/poppler-action.cc | 1088 +- glib/poppler-action.h | 230 +- glib/poppler-annot.cc | 1624 +- glib/poppler-annot.h | 371 +- glib/poppler-attachment.cc | 294 +- glib/poppler-attachment.h | 44 +- glib/poppler-cached-file-loader.cc | 120 +- glib/poppler-cached-file-loader.h | 23 +- glib/poppler-date.cc | 18 +- glib/poppler-date.h | 3 +- glib/poppler-document.cc | 3561 ++-- glib/poppler-document.h | 381 +- glib/poppler-form-field.cc | 504 +- glib/poppler-form-field.h | 118 +- glib/poppler-input-stream.cc | 36 +- glib/poppler-input-stream.h | 29 +- glib/poppler-layer.cc | 161 +- glib/poppler-layer.h | 20 +- glib/poppler-macros.h | 6 +- glib/poppler-media.cc | 287 +- glib/poppler-media.h | 29 +- glib/poppler-movie.cc | 275 +- glib/poppler-movie.h | 39 +- glib/poppler-page.cc | 2688 ++- glib/poppler-page.h | 299 +- glib/poppler-private.h | 238 +- glib/poppler-structure-element.cc | 1471 +- glib/poppler-structure-element.h | 456 +- glib/poppler.cc | 58 +- glib/poppler.h | 158 +- glib/tests/check_bb.c | 156 +- glib/tests/check_text.c | 81 +- glib/tests/pdfdrawbb.c | 237 +- goo/GooCheckedOps.h | 65 +- goo/GooLikely.h | 8 +- goo/GooString.cc | 1077 +- goo/GooString.h | 341 +- goo/GooTimer.cc | 71 +- goo/GooTimer.h | 34 +- goo/ImgWriter.cc | 4 +- goo/ImgWriter.h | 18 +- goo/JpegWriter.cc | 215 +- goo/JpegWriter.h | 47 +- goo/NetPBMWriter.cc | 54 +- goo/NetPBMWriter.h | 31 +- goo/PNGWriter.cc | 257 +- goo/PNGWriter.h | 47 +- goo/TiffWriter.cc | 317 +- goo/TiffWriter.h | 50 +- goo/gbase64.cc | 32 +- goo/gbase64.h | 14 +- goo/gbasename.cc | 18 +- goo/gbasename.h | 2 +- goo/gdir.h | 50 +- goo/gfile.cc | 633 +- goo/gfile.h | 96 +- goo/glibc.cc | 42 +- goo/glibc.h | 3 +- goo/glibc_strtok_r.cc | 46 +- goo/gmem.h | 186 +- goo/grandom.cc | 23 +- goo/grandom.h | 2 +- goo/gstrtod.cc | 210 +- goo/gstrtod.h | 2 +- poppler/Annot.cc | 11269 ++++++------- poppler/Annot.h | 2342 +-- poppler/Array.cc | 111 +- poppler/Array.h | 62 +- poppler/BBoxOutputDev.cc | 320 +- poppler/BBoxOutputDev.h | 90 +- poppler/BuiltinFont.h | 109 +- poppler/BuiltinFontWidth.h | 4 +- poppler/CMap.cc | 899 +- poppler/CMap.h | 139 +- poppler/CachedFile.cc | 354 +- poppler/CachedFile.h | 121 +- poppler/CairoFontEngine.cc | 1309 +- poppler/CairoFontEngine.h | 93 +- poppler/CairoOutputDev.cc | 6011 ++++--- poppler/CairoOutputDev.h | 774 +- poppler/CairoRescaleBox.cc | 275 +- poppler/CairoRescaleBox.h | 22 +- poppler/Catalog.cc | 1541 +- poppler/Catalog.h | 375 +- poppler/CertificateInfo.cc | 73 +- poppler/CertificateInfo.h | 178 +- poppler/CharCodeToUnicode.cc | 1108 +- poppler/CharCodeToUnicode.h | 143 +- poppler/CourierBoldObliqueWidths.pregenerated.c | 1718 +- poppler/CourierBoldWidths.pregenerated.c | 1718 +- poppler/CourierObliqueWidths.pregenerated.c | 1718 +- poppler/CourierWidths.pregenerated.c | 1718 +- poppler/CurlCachedFile.cc | 116 +- poppler/CurlCachedFile.h | 21 +- poppler/CurlPDFDocBuilder.cc | 23 +- poppler/CurlPDFDocBuilder.h | 10 +- poppler/DCTStream.cc | 393 +- poppler/DCTStream.h | 58 +- poppler/DateInfo.cc | 157 +- poppler/Decrypt.cc | 3026 ++-- poppler/Decrypt.h | 145 +- poppler/Dict.cc | 270 +- poppler/Dict.h | 136 +- poppler/Error.cc | 75 +- poppler/Error.h | 27 +- poppler/ErrorCodes.h | 30 +- poppler/FileSpec.cc | 424 +- poppler/FileSpec.h | 90 +- poppler/FlateEncoder.cc | 172 +- poppler/FlateEncoder.h | 47 +- poppler/FlateStream.cc | 192 +- poppler/FlateStream.h | 55 +- poppler/FontEncodingTables.cc | 3354 ++-- poppler/FontInfo.cc | 329 +- poppler/FontInfo.h | 117 +- poppler/Form.cc | 3199 ++-- poppler/Form.h | 872 +- poppler/Function.cc | 2960 ++-- poppler/Function.h | 288 +- poppler/Gfx.cc | 9125 +++++----- poppler/Gfx.h | 527 +- poppler/GfxFont.cc | 4459 +++-- poppler/GfxFont.h | 624 +- poppler/GfxState.cc | 11435 +++++++------ poppler/GfxState.h | 2454 +-- poppler/GfxState_helpers.h | 104 +- poppler/GlobalParams.cc | 1933 +-- poppler/GlobalParams.h | 283 +- poppler/GlobalParamsWin.cc | 714 +- poppler/HelveticaBoldObliqueWidths.pregenerated.c | 1718 +- poppler/HelveticaBoldWidths.pregenerated.c | 1668 +- poppler/HelveticaObliqueWidths.pregenerated.c | 1718 +- poppler/HelveticaWidths.pregenerated.c | 1718 +- poppler/Hints.cc | 883 +- poppler/Hints.h | 109 +- poppler/JArithmeticDecoder.cc | 547 +- poppler/JArithmeticDecoder.h | 145 +- poppler/JBIG2Stream.cc | 7527 ++++----- poppler/JBIG2Stream.h | 192 +- poppler/JPEG2000Stream.cc | 581 +- poppler/JPEG2000Stream.h | 48 +- poppler/JPXStream.cc | 6040 ++++--- poppler/JPXStream.h | 499 +- poppler/JSInfo.cc | 381 +- poppler/JSInfo.h | 52 +- poppler/Lexer.cc | 1109 +- poppler/Lexer.h | 106 +- poppler/Linearization.cc | 248 +- poppler/Linearization.h | 34 +- poppler/Link.cc | 1357 +- poppler/Link.h | 622 +- poppler/LocalPDFDocBuilder.cc | 37 +- poppler/LocalPDFDocBuilder.h | 9 +- poppler/MarkedContentOutputDev.cc | 267 +- poppler/MarkedContentOutputDev.h | 163 +- poppler/Movie.cc | 426 +- poppler/Movie.h | 123 +- poppler/NameToCharCode.cc | 154 +- poppler/NameToCharCode.h | 25 +- poppler/NameToUnicodeTable.h | 8716 +++++----- poppler/Object.cc | 271 +- poppler/Object.h | 757 +- poppler/OptionalContent.cc | 492 +- poppler/OptionalContent.h | 104 +- poppler/Outline.cc | 191 +- poppler/Outline.h | 72 +- poppler/OutputDev.cc | 206 +- poppler/OutputDev.h | 518 +- poppler/PDFDoc.cc | 3447 ++-- poppler/PDFDoc.h | 633 +- poppler/PDFDocBuilder.h | 26 +- poppler/PDFDocEncoding.cc | 51 +- poppler/PDFDocEncoding.h | 2 +- poppler/PDFDocFactory.cc | 54 +- poppler/PDFDocFactory.h | 29 +- poppler/PSOutputDev.cc | 13950 ++++++++-------- poppler/PSOutputDev.h | 885 +- poppler/PSTokenizer.cc | 212 +- poppler/PSTokenizer.h | 25 +- poppler/Page.cc | 1344 +- poppler/Page.h | 410 +- poppler/PageLabelInfo.cc | 311 +- poppler/PageLabelInfo.h | 49 +- poppler/PageLabelInfo_p.h | 280 +- poppler/PageTransition.cc | 200 +- poppler/PageTransition.h | 101 +- poppler/Parser.cc | 550 +- poppler/Parser.h | 64 +- poppler/PopplerCache.h | 52 +- poppler/PreScanOutputDev.cc | 487 +- poppler/PreScanOutputDev.h | 237 +- poppler/ProfileData.cc | 27 +- poppler/ProfileData.h | 22 +- poppler/Rendition.cc | 641 +- poppler/Rendition.h | 189 +- poppler/SecurityHandler.cc | 481 +- poppler/SecurityHandler.h | 161 +- poppler/SignatureHandler.cc | 617 +- poppler/SignatureHandler.h | 64 +- poppler/SignatureInfo.cc | 96 +- poppler/SignatureInfo.h | 105 +- poppler/Sound.cc | 156 +- poppler/Sound.h | 66 +- poppler/SplashOutputDev.cc | 8074 +++++---- poppler/SplashOutputDev.h | 598 +- poppler/StdinCachedFile.cc | 28 +- poppler/StdinCachedFile.h | 9 +- poppler/StdinPDFDocBuilder.cc | 21 +- poppler/StdinPDFDocBuilder.h | 9 +- poppler/Stream-CCITT.h | 674 +- poppler/Stream.cc | 9227 +++++------ poppler/Stream.h | 1972 ++- poppler/StructElement.cc | 1751 +- poppler/StructElement.h | 582 +- poppler/StructTreeRoot.cc | 248 +- poppler/StructTreeRoot.h | 107 +- poppler/SymbolWidths.pregenerated.c | 806 +- poppler/TextOutputDev.cc | 9504 ++++++----- poppler/TextOutputDev.h | 1330 +- poppler/TimesBoldItalicWidths.pregenerated.c | 1718 +- poppler/TimesBoldWidths.pregenerated.c | 1718 +- poppler/TimesItalicWidths.pregenerated.c | 1718 +- poppler/TimesRomanWidths.pregenerated.c | 1718 +- poppler/UTF.cc | 894 +- poppler/UnicodeCClassTables.h | 2786 ++-- poppler/UnicodeCompTables.h | 947 +- poppler/UnicodeDecompTables.h | 16531 ++++++++----------- poppler/UnicodeMap.cc | 432 +- poppler/UnicodeMap.h | 114 +- poppler/UnicodeMapFuncs.cc | 114 +- poppler/UnicodeMapTables.h | 393 +- poppler/UnicodeTypeTable.cc | 2279 +-- poppler/UnicodeTypeTable.h | 7 +- poppler/ViewerPreferences.cc | 172 +- poppler/ViewerPreferences.h | 107 +- poppler/XRef.cc | 2760 ++-- poppler/XRef.h | 487 +- poppler/ZapfDingbatsWidths.pregenerated.c | 612 +- qt5/demos/abstractinfodock.cpp | 8 +- qt5/demos/documentobserver.cpp | 11 +- qt5/demos/documentobserver.h | 6 +- qt5/demos/embeddedfiles.cpp | 22 +- qt5/demos/fonts.cpp | 10 +- qt5/demos/info.cpp | 12 +- qt5/demos/metadata.cpp | 8 +- qt5/demos/navigationtoolbar.cpp | 8 +- qt5/demos/optcontent.cpp | 13 +- qt5/demos/pageview.cpp | 16 +- qt5/demos/permissions.cpp | 24 +- qt5/demos/thumbnails.cpp | 11 +- qt5/demos/toc.cpp | 131 +- qt5/demos/viewer.cpp | 31 +- qt5/src/ArthurOutputDev.cc | 1723 +- qt5/src/ArthurOutputDev.h | 288 +- qt5/src/poppler-annotation-helper.h | 24 +- qt5/src/poppler-annotation-private.h | 103 +- qt5/src/poppler-annotation.cc | 4004 ++--- qt5/src/poppler-annotation.h | 775 +- qt5/src/poppler-base-converter.cc | 86 +- qt5/src/poppler-converter-private.h | 24 +- qt5/src/poppler-document.cc | 1331 +- qt5/src/poppler-embeddedfile-private.h | 17 +- qt5/src/poppler-embeddedfile.cc | 85 +- qt5/src/poppler-export.h | 22 +- qt5/src/poppler-fontinfo.cc | 130 +- qt5/src/poppler-form.cc | 1162 +- qt5/src/poppler-form.h | 1420 +- qt5/src/poppler-link-extractor-private.h | 11 +- qt5/src/poppler-link-extractor.cc | 67 +- qt5/src/poppler-link-private.h | 39 +- qt5/src/poppler-link.cc | 1219 +- qt5/src/poppler-link.h | 1002 +- qt5/src/poppler-media.cc | 175 +- qt5/src/poppler-media.h | 26 +- qt5/src/poppler-movie.cc | 77 +- qt5/src/poppler-optcontent-private.h | 92 +- qt5/src/poppler-optcontent.cc | 486 +- qt5/src/poppler-optcontent.h | 49 +- qt5/src/poppler-outline-private.h | 16 +- qt5/src/poppler-outline.cc | 164 +- qt5/src/poppler-page-private.h | 30 +- qt5/src/poppler-page-transition-private.h | 5 +- qt5/src/poppler-page-transition.cc | 53 +- qt5/src/poppler-page-transition.h | 226 +- qt5/src/poppler-page.cc | 1238 +- qt5/src/poppler-pdf-converter.cc | 110 +- qt5/src/poppler-private.cc | 419 +- qt5/src/poppler-private.h | 358 +- qt5/src/poppler-ps-converter.cc | 293 +- qt5/src/poppler-qiodeviceinstream-private.h | 9 +- qt5/src/poppler-qiodeviceinstream.cc | 18 +- qt5/src/poppler-qiodeviceoutstream-private.h | 6 +- qt5/src/poppler-qiodeviceoutstream.cc | 31 +- qt5/src/poppler-qt5.h | 4065 ++--- qt5/src/poppler-sound.cc | 115 +- qt5/src/poppler-textbox.cc | 20 +- qt5/tests/check_actualtext.cpp | 12 +- qt5/tests/check_annotations.cpp | 236 +- qt5/tests/check_attachments.cpp | 129 +- qt5/tests/check_dateConversion.cpp | 91 +- qt5/tests/check_fonts.cpp | 168 +- qt5/tests/check_forms.cpp | 166 +- qt5/tests/check_goostring.cpp | 93 +- qt5/tests/check_lexer.cpp | 13 +- qt5/tests/check_links.cpp | 86 +- qt5/tests/check_metadata.cpp | 162 +- qt5/tests/check_object.cpp | 31 +- qt5/tests/check_optcontent.cpp | 417 +- qt5/tests/check_outline.cpp | 62 +- qt5/tests/check_pagelabelinfo.cpp | 23 +- qt5/tests/check_pagelayout.cpp | 19 +- qt5/tests/check_pagemode.cpp | 27 +- qt5/tests/check_password.cpp | 73 +- qt5/tests/check_permissions.cpp | 21 +- qt5/tests/check_search.cpp | 345 +- qt5/tests/check_strings.cpp | 169 +- qt5/tests/check_stroke_opacity.cpp | 35 +- qt5/tests/check_utf_conversion.cpp | 118 +- qt5/tests/poppler-attachments.cpp | 39 +- qt5/tests/poppler-fonts.cpp | 134 +- qt5/tests/poppler-forms.cpp | 273 +- qt5/tests/poppler-page-labels.cpp | 41 +- qt5/tests/poppler-texts.cpp | 43 +- qt5/tests/stress-poppler-dir.cpp | 95 +- qt5/tests/stress-poppler-qt5.cpp | 99 +- qt5/tests/stress-threads-qt5.cpp | 162 +- qt5/tests/test-password-qt5.cpp | 103 +- qt5/tests/test-poppler-qt5.cpp | 172 +- qt5/tests/test-render-to-file.cpp | 36 +- splash/Splash.cc | 11670 +++++++------ splash/Splash.h | 598 +- splash/SplashBitmap.cc | 1357 +- splash/SplashBitmap.h | 147 +- splash/SplashClip.cc | 652 +- splash/SplashClip.h | 153 +- splash/SplashErrorCodes.h | 24 +- splash/SplashFTFont.cc | 712 +- splash/SplashFTFont.h | 46 +- splash/SplashFTFontEngine.cc | 190 +- splash/SplashFTFontEngine.h | 49 +- splash/SplashFTFontFile.cc | 165 +- splash/SplashFTFontFile.h | 51 +- splash/SplashFont.cc | 321 +- splash/SplashFont.h | 118 +- splash/SplashFontEngine.cc | 315 +- splash/SplashFontEngine.h | 78 +- splash/SplashFontFile.cc | 104 +- splash/SplashFontFile.h | 76 +- splash/SplashFontFileID.cc | 6 +- splash/SplashFontFileID.h | 14 +- splash/SplashGlyphBitmap.h | 13 +- splash/SplashMath.h | 227 +- splash/SplashPath.cc | 315 +- splash/SplashPath.h | 133 +- splash/SplashPattern.cc | 21 +- splash/SplashPattern.h | 71 +- splash/SplashScreen.cc | 577 +- splash/SplashScreen.h | 78 +- splash/SplashState.cc | 406 +- splash/SplashState.h | 147 +- splash/SplashTypes.h | 230 +- splash/SplashXPath.cc | 736 +- splash/SplashXPath.h | 96 +- splash/SplashXPathScanner.cc | 855 +- splash/SplashXPathScanner.h | 121 +- .../goostring-format-checker.cc | 617 +- test/gtk-test.cc | 506 +- test/pdf-fullrewrite.cc | 517 +- test/pdf-inspector.cc | 462 +- test/pdf-operators.c | 150 +- test/perf-test-preview-dummy.cc | 13 +- test/perf-test-preview-win.cc | 109 +- test/perf-test.cc | 304 +- utils/HtmlFonts.cc | 496 +- utils/HtmlFonts.h | 146 +- utils/HtmlLinks.cc | 174 +- utils/HtmlLinks.h | 64 +- utils/HtmlOutputDev.cc | 2742 ++- utils/HtmlOutputDev.h | 443 +- utils/HtmlUtils.h | 27 +- utils/ImageOutputDev.cc | 1138 +- utils/ImageOutputDev.h | 232 +- utils/InMemoryFile.cc | 42 +- utils/InMemoryFile.h | 18 +- utils/Win32Console.cc | 211 +- utils/Win32Console.h | 39 +- utils/numberofcharacters.h | 13 +- utils/parseargs.cc | 332 +- utils/parseargs.h | 48 +- utils/pdfattach.cc | 145 +- utils/pdfdetach.cc | 517 +- utils/pdffonts.cc | 244 +- utils/pdfimages.cc | 289 +- utils/pdfinfo.cc | 1588 +- utils/pdfseparate.cc | 240 +- utils/pdfsig.cc | 282 +- utils/pdftocairo-win32.cc | 847 +- utils/pdftocairo-win32.h | 9 +- utils/pdftocairo.cc | 1853 +-- utils/pdftohtml.cc | 791 +- utils/pdftoppm.cc | 988 +- utils/pdftops.cc | 581 +- utils/pdftotext.cc | 836 +- utils/pdfunite.cc | 656 +- utils/printencodings.cc | 16 +- 489 files changed, 161041 insertions(+), 168881 deletions(-) commit 0d48722746b9702e219df58ad14cee6184a62bef Author: Albert Astals Cid Date: Fri Jul 3 23:26:44 2020 +0200 Tweak code that clang-format doesn't understand glib/poppler-document.h | 2 ++ poppler/JBIG2Stream.cc | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) commit afa4803f79b32c47fc2d187198b9f710f5302df0 Author: Albert Astals Cid Date: Fri Jul 3 23:16:24 2020 +0200 Add _clang-format file + tweak to CMakeLists.txt CMakeLists.txt | 1 + _clang-format | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) commit db75242047c75336abe72b1a32fd907c0d319f71 Author: Albert Astals Cid Date: Thu Jul 2 22:32:15 2020 +0200 0.90.0 CMakeLists.txt | 4 ++-- NEWS | 26 ++++++++++++++++++++++++++ cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 32 insertions(+), 6 deletions(-) commit 42457a711e2168e66d3b55bcf32d4760aa2106b3 Author: Albert Astals Cid Date: Thu Jul 2 00:20:52 2020 +0200 FormPageWidgets: Initialize size poppler/Form.cc | 1 + 1 file changed, 1 insertion(+) commit ae5377cc511d05afb12e325a5e953bfb78b7f9df Author: Albert Astals Cid Date: Tue Jun 30 21:55:47 2020 +0200 Update (C) poppler/JSInfo.cc | 1 + poppler/JSInfo.h | 1 + poppler/PDFDoc.cc | 1 + poppler/PDFDoc.h | 1 + 4 files changed, 4 insertions(+) commit 4b9a643e7308852f1bc6e5932287c313e14416a5 Author: Nelson Benítez León Date: Thu Jun 18 15:31:23 2020 -0400 Move utils/JSInfo.cc utils/JSInfo.h to core poppler and add new JSInfo::scanJS() variant that returns immediately after finding JS. This variant is used by newly added PDFDoc::hasJavascript() method which is in turn used by newly added poppler-glib function poppler_document_has_javascript() CMakeLists.txt | 2 ++ glib/poppler-document.cc | 16 ++++++++++++++++ glib/poppler-document.h | 3 +++ glib/reference/poppler-sections.txt | 1 + {utils => poppler}/JSInfo.cc | 30 ++++++++++++++++++++++++++++++ {utils => poppler}/JSInfo.h | 4 ++++ poppler/PDFDoc.cc | 7 +++++++ poppler/PDFDoc.h | 2 ++ utils/CMakeLists.txt | 4 ---- 9 files changed, 65 insertions(+), 4 deletions(-) commit 69794176c8be5ebfa2a60d1261c8532695d18681 Author: sgerwk Date: Tue Jun 30 18:13:26 2020 +0000 fix boundingbox of type3 fonts glib/tests/CMakeLists.txt | 1 + glib/tests/check_bb.c | 22 +++++++++++++------- poppler/BBoxOutputDev.cc | 51 ++++++++++++++++++++++++----------------------- 3 files changed, 42 insertions(+), 32 deletions(-) commit 434d7a86d952cf6bc8b66eb5f71991847150d682 Author: Nelson Benítez León Date: Tue Jun 30 17:48:14 2020 +0000 poppler-glib: fix adding annots in rotated pages This commit adds support to poppler-glib to correctly add annotations to pages that are rotated. After this commit, annotations added through Evince will be correctly positioned on rotated pages (without any code change needed in Evince), both for normal and 'flagNoRotate' type annots and also for rotated pages that have a cropbox set in. As per PDF spec, annotations in rotated pages must be saved un-rotated, and the pdf client will display them rotated according to the rotation of the page they're in. Poppler-glib was not un-rotating them when saving them in core poppler, we now do it after this change, and poppler-glib will continue to serve them to apps with page's rotation applied, through the poppler_page_get_annot_mapping() API. No new API has been added or changed as of this commit. Evince issue: https://gitlab.gnome.org/GNOME/evince/-/issues/1385 Poppler issue #256 glib/poppler-annot.cc | 86 +++++++++++++++++++++++--------- glib/poppler-page.cc | 131 ++++++++++++++++++++++++++++++++++++++++++++++++- glib/poppler-private.h | 13 +++++ 3 files changed, 204 insertions(+), 26 deletions(-) commit 53368f1717e88e40fe65d27e919c9abca11beac3 Author: Albert Astals Cid Date: Wed Jun 24 22:34:00 2020 +0200 CI: switch qt5_docs to debian testing temporarily qttools5-dev-tools can't be installed in unstable at this point .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) commit 513ed0761fa11e0c4b0d668c92f19ec0eb85cf46 Author: Albert Astals Cid Date: Tue Jun 23 00:34:51 2020 +0200 Small signature improvements Add unknown signature type, and default to that one instead of adbe_pkcs7_detached Move the check for "can we validate" a bit to the bottom, this way on some files like the one from #929 we can extract propertly some more signature details poppler/Form.cc | 17 +++++++++-------- poppler/Form.h | 3 ++- qt5/src/poppler-form.cc | 3 +++ qt5/src/poppler-form.h | 3 ++- 4 files changed, 16 insertions(+), 10 deletions(-) commit e5001ae78d82624e4a1f07b1053c9db5e4643d48 Author: Albert Astals Cid Date: Mon Jun 22 19:34:02 2020 +0200 qt5: Document that Document::page can return nullptr qt5/src/poppler-qt5.h | 2 ++ 1 file changed, 2 insertions(+) commit 94e00cbe5481a02e84fc29974c7d0089d847d3eb Author: Albert Astals Cid Date: Mon Jun 22 19:33:01 2020 +0200 qt5: demo: Fix crash on broken files qt5/demos/thumbnails.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ebb77e7a1fbb83c3ab7f9cd948d950bb5243f7c3 Author: Albert Astals Cid Date: Wed Jun 17 22:39:47 2020 +0200 Fix infinite loop in broken file oss-fuzz/23515 poppler/Catalog.cc | 20 ++++++++++++++------ poppler/Catalog.h | 4 ++-- 2 files changed, 16 insertions(+), 8 deletions(-) commit 1460bb960276ef5f62d08fa077515e628a91880d Author: Albert Astals Cid Date: Sun Jun 21 22:20:38 2020 +0200 Update (C) poppler/PSOutputDev.cc | 2 +- poppler/PSOutputDev.h | 2 +- qt5/src/poppler-ps-converter.cc | 1 + utils/pdftops.cc | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) commit 6faf2739245b4ab24a4d536953f7d0cb763c9823 Author: William Bader Date: Sun Jun 21 17:22:24 2020 +0000 Add a pdftops -rasterize option with values always, never, or whenneeded glib/poppler-page.cc | 7 +++++-- poppler/PSOutputDev.cc | 8 +++++--- poppler/PSOutputDev.h | 13 ++++++++++--- qt5/src/poppler-ps-converter.cc | 2 +- utils/pdftops.1 | 5 +++++ utils/pdftops.cc | 17 +++++++++++++++++ 6 files changed, 43 insertions(+), 9 deletions(-) commit bf15ccd4861d10e2338d0b1b2a65f222eb4e9893 Author: Corentin Noël Date: Fri Jun 12 11:30:39 2020 +0200 glib: Several fixes to the documentation Add the missing symbols and make sure that the links are correct. glib/poppler-action.h | 2 +- glib/poppler-document.cc | 6 +++--- glib/reference/poppler-docs.sgml | 17 +++++++++++++++++ glib/reference/poppler-sections.txt | 7 +++++++ make-glib-api-docs | 2 +- 5 files changed, 29 insertions(+), 5 deletions(-) commit 9c9c3df8f22a12569d5f7a8d8add7abf92e30446 Author: Marek Kasik Date: Mon Jun 8 17:27:28 2020 +0200 glib: Add ability to reset forms Add new PopplerActionType POPPLER_ACTION_RESET_FORM and its handling to PopplerAction. Add poppler_document_reset_form() to PopplerDocument. glib/demo/utils.c | 3 +++ glib/poppler-action.cc | 34 +++++++++++++++++++++++++++++++++ glib/poppler-action.h | 15 ++++++++++++++- glib/poppler-document.cc | 38 +++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 5 +++++ glib/reference/poppler-sections.txt | 1 + 6 files changed, 95 insertions(+), 1 deletion(-) commit 4e0546d0d9dfc5b97c3abc58a8b1fe672fcd695c Author: Albert Astals Cid Date: Sun Jun 7 11:19:02 2020 +0200 CI: build lcms and libcurl on Ubuntu 16.04 .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3a48759464806565cfd332a9dac0d0a9e9086ba Author: Albert Astals Cid Date: Sun Jun 7 11:18:27 2020 +0200 fix running cmake with cmake < 3.12 CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit b58d77e92a6e627427073703e9120b2a94bde011 Author: Albert Astals Cid Date: Thu Jun 4 17:12:46 2020 +0200 qt5: make it clear we require Qt 5.5 Also disable deprecated code until 5.5 and disable later warnings since we can't fix them since most of the times they require a Qt newer than 5.5. We'll tackle them when we increase the minimum Qt version CMakeLists.txt | 2 +- qt5/CMakeLists.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) commit 6bf89c78447692ed781918b7cb3fadb21aa0cf89 Author: Philipp Knechtges Date: Sat May 30 19:18:53 2020 +0200 pdftoppm: add option to set display profile utils/CMakeLists.txt | 3 +++ utils/pdftoppm.1 | 4 ++++ utils/pdftoppm.cc | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) commit a628cbb6da948bb3e508f120a4deb76257b96dd3 Author: Albert Astals Cid Date: Wed Jun 3 00:09:57 2020 +0200 Update (C) poppler/OutputDev.h | 1 + poppler/Page.cc | 1 + qt5/src/poppler-page.cc | 1 + qt5/src/poppler-private.h | 1 + 4 files changed, 4 insertions(+) commit 7257d33a3a938d5621aab0ed53b09c7ce797a646 Author: Philipp Knechtges Date: Fri May 22 18:23:09 2020 +0200 add a dummy GfxState to Page::loadThumb for proper color space handling As far as I can tell this was the only remaining spot in the code where GfxColorSpace::parse was called without a properly initialized GfxState. poppler/Page.cc | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) commit b2141b8921525141560b8e4ef5a351f505d7cf5b Author: Philipp Knechtges Date: Fri May 22 18:17:16 2020 +0200 cleanup displayprofile initialization There were a bunch of global variables that were used to initilize the first version of the display profiles. This code was removed, and all the static initilization was moved from GfxColorSpace to GfxState. Furthermore, for most "users" the setting of the display profile was moved from the static GfxColorSpace::setDisplayProfile function to the OutputDev class. The latter is now invoked early in the initilization of Gfx to set the initial state in the GfxState instance. poppler/Gfx.cc | 1 + poppler/GfxState.cc | 157 ++++++-------------------------------------- poppler/GfxState.h | 9 +-- poppler/OutputDev.h | 26 ++++---- qt5/src/CMakeLists.txt | 3 + qt5/src/poppler-document.cc | 23 +++++-- qt5/src/poppler-page.cc | 8 +++ qt5/src/poppler-private.h | 4 ++ utils/pdftocairo.cc | 4 +- 9 files changed, 70 insertions(+), 165 deletions(-) commit 7dc4f0b56057aa4facc7ba559998d6dac5042792 Author: Philipp Knechtges Date: Fri May 22 11:47:54 2020 +0200 remove sourceProfile variable from GfxColorTransform The sourceProfile variable was initially introduced in commit 1f698b44564b0313c019557616866eae11bf2cc9 for the Postscript CSA generation code. With the last commit this code has been moved to GfxICCBasedColorSpace anyway, so there is no use anymore for storing the profile in GfxColorTransform. poppler/GfxState.cc | 19 +++++++++---------- poppler/GfxState.h | 4 +--- 2 files changed, 10 insertions(+), 13 deletions(-) commit 344f3e655cb0018421350c1a9916381d686025b6 Author: Philipp Knechtges Date: Fri May 22 11:39:28 2020 +0200 move Postscript CSA generation from GfxColorTransform to GfxICCBasedColorSpace With proper ref counting for profiles in place, we can now let GfxICCBasedColorSpace directly generate the CSA rather than going through GfxColorTransform, which in the pre-ref-counting era had the sole ownership on the profiles. poppler/GfxState.cc | 83 +++++++++++++++++++++++++---------------------------- poppler/GfxState.h | 5 ++-- 2 files changed, 42 insertions(+), 46 deletions(-) commit bf7e84cc2399969cc6a98bbcc689a90e20095f39 Author: Hannah von Reth Date: Tue Jun 2 12:46:44 2020 +0200 Use a more modern way to use curl CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d4bd6df9548cc7c84c2a49472803adeb0cb5b339 Author: Albert Astals Cid Date: Tue Jun 2 12:36:27 2020 +0200 Increase cmake version requirement to that of the minimum in our CI We wouldn't realize if we broke it with cmake 3.3 since we're not testing it and cmake 3.5 is old enough CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9d996ed8218c33f616856389f6e252c7596350e8 Author: Albert Astals Cid Date: Wed May 27 23:23:59 2020 +0200 0.89.0 CMakeLists.txt | 4 ++-- NEWS | 17 +++++++++++++++++ cpp/CMakeLists.txt | 2 +- cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 23 insertions(+), 6 deletions(-) commit e9279fecf6f53c60cc85f30dc38198d5675bbe9e Author: Albert Astals Cid Date: Tue May 26 23:48:17 2020 +0200 Make Link that are "Unknown destination type" be "no ok" otherwise we have uninitialized memory when asking for getKind() I mean we have it anyway, but it is understood that if isOk is false any further question you make is allowed to misbehave poppler/Link.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9429aac41fefdbb8b70d3c3233835875c78283ba Author: Albert Astals Cid Date: Sun May 24 00:33:20 2020 +0200 Update (C) poppler/Gfx.cc | 1 + qt5/src/poppler-document.cc | 1 + qt5/src/poppler-qt5.h | 1 + utils/pdftocairo.cc | 1 + 4 files changed, 4 insertions(+) commit e4ac9761a269805cc8510a11b47e2381ad668215 Author: sgerwk Date: Sat May 23 10:37:01 2020 +0200 include annotations in the bounding box glib/poppler-page.cc | 8 +++----- glib/tests/CMakeLists.txt | 4 +++- 2 files changed, 6 insertions(+), 6 deletions(-) commit cdf623865df5343425c2eaea49124c6b45529bea Author: sgerwk Date: Sat May 23 09:49:31 2020 +0200 use state->getClipBBox() instead of tracking the clipping box glib/poppler-page.cc | 2 +- glib/tests/CMakeLists.txt | 6 ++-- poppler/BBoxOutputDev.cc | 78 ++++++++++++++++------------------------------- poppler/BBoxOutputDev.h | 13 ++------ 4 files changed, 34 insertions(+), 65 deletions(-) commit 5927e0b08f1ad6868d04cb209ee1e17b4ac07b70 Author: Philipp Knechtges Date: Sat May 23 18:12:46 2020 +0000 GfxState: substitute manual ref counting in GfxColorTransform by a shared_ptr This patch as said replaces the manual ref counting in GfxColorTransform. Along the lines it also introduces another shared_ptr for cmsHPROFILEs, which is named GfxLCMSProfilePtr. poppler/Gfx.cc | 4 +- poppler/GfxState.cc | 314 +++++++++++++++++++++----------------------- poppler/GfxState.h | 55 ++++---- qt5/src/poppler-document.cc | 6 +- qt5/src/poppler-qt5.h | 11 +- utils/pdftocairo.cc | 9 +- 6 files changed, 195 insertions(+), 204 deletions(-) commit ae2fa0be65833e7598ef5e31c2f419c52ec26ad5 Author: Albert Astals Cid Date: Sat May 23 13:03:38 2020 +0200 cpp: Use push back instead of [] direct access Otherwise asking for tb_font_info->glyph_to_cache_index.size() always returns 0 cpp/poppler-page.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 12dea6841940ce31630d60fa7c892da4597393aa Author: Albert Astals Cid Date: Thu May 21 23:53:07 2020 +0200 Update (C) poppler/GfxState.cc | 3 ++- poppler/GfxState.h | 3 ++- poppler/PSOutputDev.cc | 3 ++- poppler/PSOutputDev.h | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) commit cc0f7960fd9dc4cfda8dc15cb061f891e909b386 Author: Philipp Knechtges Date: Sun May 17 21:00:26 2020 +0200 only activate CSA support for the most recent lcms2 version Add a runtime check. poppler/GfxState.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 2334bea5208d0506e4eee02ed170abd7e73e2fe4 Author: Philipp Knechtges Date: Sun May 17 09:11:01 2020 +0200 make the clang/clazy/Ubuntu/Android pipelines happy poppler/GfxState.cc | 20 ++++++++++---------- poppler/GfxState.h | 2 +- poppler/PSOutputDev.cc | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) commit 1f698b44564b0313c019557616866eae11bf2cc9 Author: Adrian Johnson Date: Sat May 16 22:08:32 2020 +0200 Use ICC profiles in PS output When printing PDFs that use ICC based colors, Poppler always uses the alternate color space in the PostScript output (usually DeviceRGB or DeviceCMYK). The attached patch will use the ICC profile color space in the PS output. Most of the patch is modifying GfxColorTransform and callers to store the source profile as well as the transform. The GfxICCBasedColorSpace class has a new method, getPostScriptCSA(), which uses the LCMS function cmsGetPostScriptCSA() to generate the CIEBased color space dictionary equivalent to the ICC profile. Based on patch from issue #125. poppler/GfxState.cc | 114 +++++++++++++++++++++++++++++++++++-------------- poppler/GfxState.h | 12 +++++- poppler/PSOutputDev.cc | 77 ++++++++++++++++++++++++--------- poppler/PSOutputDev.h | 8 ++-- 4 files changed, 153 insertions(+), 58 deletions(-) commit d5efac76267c7adf7636514280614efcc1ac3392 Author: Philipp Knechtges Date: Sat May 16 14:06:56 2020 +0200 Revert "GfxICCBasedColorSpace: Remove unused member variable" This reverts commit 8c8e0a143e975b16e6c437c03dc2267e7e8ff3fc. poppler/GfxState.cc | 8 +++++--- poppler/GfxState.h | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) commit 846437d9a9e4dcca2d4e8dad6d395b47477c1707 Author: Albert Astals Cid Date: Tue May 19 23:34:20 2020 +0200 Update (C) cpp/poppler-font-private.h | 1 + cpp/poppler-font.cpp | 1 + cpp/poppler-font.h | 1 + cpp/poppler-page-private.h | 3 ++- cpp/poppler-page.cpp | 6 +++--- cpp/poppler-page.h | 3 ++- cpp/poppler-private.h | 4 ++-- cpp/tests/poppler-dump.cpp | 2 +- poppler/TextOutputDev.cc | 2 +- poppler/TextOutputDev.h | 1 + 10 files changed, 15 insertions(+), 9 deletions(-) commit 3189332012ca46998f8ffb872e7ed81c630c4c7a Author: suzuki toshiya Date: Sat May 16 04:54:55 2020 +0000 [cpp] separate the font info in text_box to another struct. * add new API, page::text_list(int opt_flag). The old one taking no argument is kept for ABI compatibility. The opt_flag is a bitmask-multiple of the new enum, page::text_list_option_enum. * text_box.m_data->text_box_font is an unique pointer to the storage (if text_list() requests the font info), or just a null pointer (if text_list() does not request the font info). * new option "--show-text-list-with-font" showing font info, to tests/poppler-dump.cpp. "--show-text-list" does not load the font info at all. Co-authored-by: Adam Reichold Co-authored-by: Albert Astals Cid cpp/poppler-page.cpp | 101 ++++++++++++++++++++++++++++++--------------- cpp/poppler-page.h | 22 ++++++++++ cpp/poppler-private.h | 30 +++++++++----- cpp/tests/poppler-dump.cpp | 18 +++++--- 4 files changed, 121 insertions(+), 50 deletions(-) commit 437553ecb26948f77c3dbf7ad29bca86ffff7f6e Author: Albert Astals Cid Date: Fri May 15 12:57:32 2020 +0000 [cpp] change page_private::init_font_info_cache() to a void method. We already have a boolean font_info_cache_initialized, no need to guess the initialization result by the size of initialized cache. cpp/poppler-page-private.h | 2 +- cpp/poppler-page.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 57de32198a4406eae18b80eed42e6050e2b48cca Author: Albert Astals Cid Date: Fri May 15 12:23:50 2020 +0000 [cpp] in poppler-page.h, add "since 0.89" comment to 3 new methods. cpp/poppler-page.h | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 507027de297f43146f5bbebe8d098dededffc577 Author: suzuki toshiya Date: Tue May 5 10:11:49 2020 +0000 [cpp] introduce a boolean font_info_cache_initialized, to distinguish an initialized-but-empty cache from the uninitialized cache Co-authored-by: Adam Reichold cpp/poppler-page-private.h | 1 + cpp/poppler-page.cpp | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit 2cd79c7382888559d5d8dcc56a84572ac8a77086 Author: Adam Reichold Date: Tue May 5 01:22:29 2020 +0000 [cpp] construct a font_iterator instance in the local storage of page_private::init_font_info_cache() method, instead of the heap cpp/poppler-page.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 7279b4eb397667cd4553f5852286b3f3d73a1a83 Author: Adam Reichold Date: Mon May 4 11:51:55 2020 +0000 [cpp] remove wrong warning note for about the std::string object returned by text_box::get_font_name() cpp/poppler-page.h | 4 ---- 1 file changed, 4 deletions(-) commit af3805f0b60289c7f522da29f9375119a1cd778a Author: Albert Astals Cid Date: Mon May 4 04:32:27 2020 +0000 [cpp] new enum poppler::text_box::writing_mode_enum cpp/poppler-page.cpp | 15 +++++++++++++-- cpp/poppler-page.h | 12 +++++++----- cpp/poppler-private.h | 3 ++- 3 files changed, 22 insertions(+), 8 deletions(-) commit 65053f43dbb83b66302bddda27732168fc74cca1 Author: Albert Astals Cid Date: Sun May 3 16:21:38 2020 +0000 [TextOutputDev] simplify TextFontInfo::matches(const Ref *ref) poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4ea2e879d4e0e9a5d899adb82bbdaab9e505532c Author: Albert Astals Cid Date: Sun May 3 16:17:11 2020 +0000 [cpp] simplify the initialization of poppler::font_info_private.ref and .emb_ref cpp/poppler-font-private.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 60400514324d6e5d0a1c50ce4af84320d350e967 Author: suzuki toshiya Date: Fri May 1 08:04:14 2020 +0000 [cpp] Add the font infos to the text_box object. cpp/CMakeLists.txt | 1 + cpp/poppler-font-private.h | 84 ++++++++++++++++++++++++++++++++++++++++++++++ cpp/poppler-font.cpp | 56 ++++--------------------------- cpp/poppler-font.h | 3 ++ cpp/poppler-page-private.h | 4 +++ cpp/poppler-page.cpp | 68 ++++++++++++++++++++++++++++++++++--- cpp/poppler-page.h | 50 +++++++++++++++++++++++++++ cpp/poppler-private.h | 22 ++++++++++++ cpp/tests/poppler-dump.cpp | 4 +++ poppler/TextOutputDev.cc | 4 +++ poppler/TextOutputDev.h | 1 + 11 files changed, 243 insertions(+), 54 deletions(-) commit bf33c25b0f1be07a9a3cedaf6773de22e4305b80 Author: Albert Astals Cid Date: Tue May 19 17:47:49 2020 +0200 Fix memory leak when failing to load some fonts poppler/SplashOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit 562b5a33f6cc55c7bf342e39a9c7eea609cfbe43 Author: Albert Astals Cid Date: Tue May 19 11:39:17 2020 +0200 Move some variables declaration closer to where they are used poppler/SplashOutputDev.cc | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) commit 0582ea9633d4597b98b3a9c9c7a8c673634aef29 Author: Marek Kasik Date: Mon May 18 18:02:43 2020 +0000 Add support for ResetForm action Add ability to reset FormField class, its descendants and Form class. This takes hierarchy into account so that resetting a field resets also its children. If exclude flag is specified then all fields are reset except those which are listed in Fields key. FormFieldText set DV key as its V key if DV is available. Otherwise, it just removes the V key. FormFieldChoice unselect selected items and set the default ones if specified. FormFieldButton set default apearance state if it is available, otherwise it just removes V key (and set the state to "Off" if it is check button, which is what Adobe Reader does in this situation). FormFieldSignature is not reset. Add LinkResetForm class which stores information needed for resetting of fields of forms. Issue #225 poppler/Form.cc | 225 ++++++++++++++++++++++++++++++++++++++++++++++-- poppler/Form.h | 24 ++++++ poppler/Link.cc | 41 +++++++++ poppler/Link.h | 28 ++++++ qt5/src/poppler-page.cc | 4 + 5 files changed, 314 insertions(+), 8 deletions(-) commit 62727d0119b4e1a6c000506f47673385f7eccd43 Author: Albert Astals Cid Date: Sun May 17 11:53:21 2020 +0200 Read CIDToGIDMap for all GfxCIDFont fonts Also revert my old hack to fix rendering of bug-poppler20605.pdf since that was breaking the PS export. What my old hack did was force the font type to be one of those that read the CIDToGIDMap, what the new fix does is actually just read the CIDToGIDMap for all fonts poppler/GfxFont.cc | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) commit 5cdb78fde50e3dc16006070b0884dfb6b23d964c Author: Albert Astals Cid Date: Thu May 14 00:22:33 2020 +0200 Fix crash in PDFDoc::getSignatureFields when there's no Forms at all poppler/PDFDoc.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0f01638f044c247c2591f873f9f7558ed3c3b4ce Author: Albert Astals Cid Date: Wed May 13 23:12:43 2020 +0200 Update (C) poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9c3b18b8741f6e68711ce807459504493d6a0be0 Author: Marek Kasik Date: Fri Apr 6 15:06:46 2018 +0200 cairo: Fix tiling patterns when pattern cell is too far Rendering of tiling pattern which has pattern matrix moving pattern cell far away can fail on allocation of memory. This commit solves the issue by modifying of cairo pattern matrix so that its offset is closer to the path filled by the pattern. Fixes #190 poppler/CairoOutputDev.cc | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 02ec7a70a7a3c654bd94898633f6552fc7eae8b9 Author: Oliver Sander Date: Tue Apr 28 09:07:41 2020 +0200 Add additional render tests The file stroke-alpha-pattern.pdf contains a third shape. It is rendered correctly by all backends, but as the infrastructure is in place we may as well add a quick test for that. qt5/tests/check_stroke_opacity.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) commit d500783fafd9884415005a27641c9b4d49cfe3e4 Author: Oliver Sander Date: Tue Apr 28 08:21:25 2020 +0200 [cairo] Mention opacity when logging fill color stops poppler/CairoOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c2f914359cdc672288d6cd68f157921214e536fa Author: Oliver Sander Date: Tue Apr 28 08:19:26 2020 +0200 [cairo] Use stroke opacity when clipping to a stroke path Fixes: https://gitlab.freedesktop.org/poppler/poppler/issues/178 poppler/CairoOutputDev.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 7c890b37ac70394cb330e9d9615ad9532769c9e0 Author: Oliver Sander Date: Tue Apr 28 08:13:08 2020 +0200 Fix typo in variable name utils/pdftocairo.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit e10d9cbbc45f2fe470a4da801cb84e85a34d37aa Author: Evgeny Stambulchik Date: Sat May 9 22:55:10 2020 +0000 glib: Add poppler_movie_get_aspect NEWS | 2 +- glib/demo/utils.c | 3 +++ glib/poppler-movie.cc | 25 +++++++++++++++++++++++++ glib/poppler-movie.h | 2 ++ glib/reference/poppler-sections.txt | 3 ++- 5 files changed, 33 insertions(+), 2 deletions(-) commit 2c17c9ed7e50ea15255c905170ab1da30b62b3c6 Author: Oliver Sander Date: Sat May 2 16:52:09 2020 +0200 Allow almost-singular tiling pattern matrices Issue https://gitlab.freedesktop.org/poppler/poppler/issues/894 sports a file with a diagonal tiling pattern matrices with diagonal entries in the range of 5e-4. While entries of this size are unusual but okay, the determinant is below the rather arbitrary threshold of 1e-6. Therefore, poppler decided that the matrix is singular and aborts the rendering. Fix this by really only aborting if inverting the determinant (which is the first thing that is being done with it) results in a non-finite number. As a side effect the code now also allows pattern matrices with a negative determinant. This does not seem to appear in the wild all that often, but I didn't find anything in the spec that rules it out. BUG: https://gitlab.freedesktop.org/poppler/poppler/issues/894 poppler/Gfx.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 448f8e9830cb0420728e844723770a8cfb3327c0 Author: Albert Astals Cid Date: Mon Apr 27 23:26:55 2020 +0200 Poppler 0.88.0 CMakeLists.txt | 4 ++-- NEWS | 26 ++++++++++++++++++++++++++ cpp/CMakeLists.txt | 2 +- cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 33 insertions(+), 7 deletions(-) commit b7aed3eb2950c1389ab81a2261eee2e2221050f6 Author: Nelson Benítez León Date: Sat Feb 29 22:05:18 2020 -0400 glib: implement rotation for 'flagNoRotate' annots previously poppler_page_get_annot_mapping() function was ignoring to rotate annots flagged as 'flagNoRotate' probably because they require a special rotation where the annotation pivots on the upper left corner, as described in PDF 1.7 spec "8.4.2 Annotation Flags" NoRotate flag. Added support for that, while refactoring the code to make it more readable. Fixes #767 glib/poppler-page.cc | 78 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 50 insertions(+), 28 deletions(-) commit 33f3455711916dc9d42b95e168b26748b1acba57 Author: Albert Astals Cid Date: Thu Apr 23 23:47:42 2020 +0200 Update (C) year poppler/PDFDoc.cc | 2 +- poppler/PDFDoc.h | 2 +- poppler/SignatureInfo.cc | 2 +- poppler/SignatureInfo.h | 2 +- qt5/src/poppler-private.h | 2 +- qt5/src/poppler-qt5.h | 2 +- utils/pdfsig.cc | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) commit 12eeb475fbf3ee0bb43b96ea79d46a426ba809e7 Author: Albert Astals Cid Date: Fri Apr 10 00:31:40 2020 +0200 qt5: Add Document::signatures Returns all the signatures of a given document, this is better than iterating over all the pages getting the form fields that are of signature type since there's documents with signatures not associated to a given page Fixes part of #895 qt5/src/poppler-document.cc | 16 ++++++++++++++++ qt5/src/poppler-form.cc | 46 +++++++++++++++++++++++---------------------- qt5/src/poppler-private.h | 2 +- qt5/src/poppler-qt5.h | 11 +++++++++++ 4 files changed, 52 insertions(+), 23 deletions(-) commit ba311960d2486e07e66f59dd8d8a5f6e49a918d0 Author: Albert Astals Cid Date: Thu Apr 9 16:59:54 2020 +0200 pdfsig: Show also signatures that aren't attached to any page Move two methods from FormWidgetSignature to FormFieldSignature where they actually belong Rename PDFDoc::getSignatureWidgets to getSignatureFields, making it go through the FormsFields instead of the Page FormWidgets Remove the gotos from pdfsig code Add a few const here and there Fixes part of #895 poppler/Form.cc | 277 ++++++++++++++++++++++++----------------------- poppler/Form.h | 21 +++- poppler/PDFDoc.cc | 39 ++++--- poppler/PDFDoc.h | 2 +- poppler/Page.cc | 1 + poppler/SignatureInfo.cc | 12 +- poppler/SignatureInfo.h | 14 +-- utils/pdfsig.cc | 54 ++++----- 8 files changed, 216 insertions(+), 204 deletions(-) commit 846575911483787a0fe28d76c4e9b51a644d7152 Author: Oliver Sander Date: Tue Apr 21 16:03:37 2020 +0200 [splash, arthur] Use stroking opacity when clipping to a stroke path When filling a region that is clipped to a stroke path, then the stroking opacity shall be used rather than the fill opacity. I couldn't find this in the spec, but it seems to be what Acrobat does. BUG: https://gitlab.freedesktop.org/poppler/poppler/-/issues/178 poppler/SplashOutputDev.cc | 9 +++++++-- qt5/src/ArthurOutputDev.cc | 5 ++++- qt5/tests/check_stroke_opacity.cpp | 7 +++++++ splash/Splash.cc | 8 +++++--- splash/Splash.h | 6 +++++- 5 files changed, 28 insertions(+), 7 deletions(-) commit 9e302b6bf42c5d8b48bc5b6c04621e52d52da3f2 Author: Aleix Pol Date: Sun Apr 19 22:51:21 2020 +0000 CI: android: adaptations to port to new version of the sdk .gitlab-ci.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 4fc44c017a4ba7775d3f8eea6bb959ac7c53031f Author: Albert Astals Cid Date: Mon Apr 20 00:13:28 2020 +0200 CI: back to debian:unstable Better to have newer compilers. etc to get "better" warnings .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6654288e6dc93f7495786388902e0934f809b6a5 Author: sgerwk Date: Sun Apr 19 20:07:26 2020 +0200 initialize the cairo surface to 1x1, is then changed page by page glib/tests/pdfdrawbb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d37869fc5ed9b8bf2a920058cf63779643d6b25f Author: Albert Astals Cid Date: Sat Apr 18 15:39:30 2020 +0200 Update (C) poppler/OutputDev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8775587096dacd2757917e493f25ca038f169294 Author: Oliver Sander Date: Fri Apr 17 22:09:17 2020 +0200 [arthur] Implement the clipToStrokePath method qt5/src/ArthurOutputDev.cc | 18 ++++++++++++++++++ qt5/src/ArthurOutputDev.h | 1 + qt5/tests/check_stroke_opacity.cpp | 26 ++++++++++++++++++-------- 3 files changed, 37 insertions(+), 8 deletions(-) commit 6c82422498a2d02fd8acea005e7d6fa843caa1d8 Author: Oliver Sander Date: Fri Apr 17 22:04:45 2020 +0200 Document the purpose of the clipToStrokePath method poppler/OutputDev.h | 4 ++++ 1 file changed, 4 insertions(+) commit 5ccc03f13b22c11d38f349b95c6d50dcfbaedb4b Author: Oliver Sander Date: Wed Apr 15 15:40:38 2020 +0200 [arthur] Set the opacity when filling with axial gradients qt5/src/ArthurOutputDev.cc | 5 +-- qt5/tests/CMakeLists.txt | 1 + qt5/tests/check_stroke_opacity.cpp | 73 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 77 insertions(+), 2 deletions(-) commit 9cf9356d334c6a1fa8bc3f1466778541b8f9c276 Author: Albert Astals Cid Date: Sat Apr 11 00:04:02 2020 +0200 Update (C) of last commit qt5/src/ArthurOutputDev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 162fdf21717a92428f4fc0c1bf7e86610b9ea703 Author: Oliver Sander Date: Fri Apr 10 22:01:00 2020 +0000 [arthur] Fix font hinting Previously, the ArthurOutputDev would always use the Qt default value for the QFont hinting preference. At the same time, it contained a custom enum type with various hinting levels that didn't do anything at all. This patch removes the custom enum, uses QFont::HintingPreference instead, and actually passes the chosen value to the font renderer. qt5/src/ArthurOutputDev.cc | 6 +++--- qt5/src/ArthurOutputDev.h | 14 ++------------ qt5/src/poppler-page.cc | 19 +++++++++++++++++++ 3 files changed, 24 insertions(+), 15 deletions(-) commit 17b01bd15db544dbca989938cbf870f6376a8b18 Author: Nelson Benítez León Date: Sat Mar 28 16:36:32 2020 -0400 PopplerFormField: add getter for alternative ui name There are pdf files which carry a tooltip string in this field, so applications need this getter to show it. API added is: gchar* poppler_form_field_get_alternate_ui_name (PopplerFormField *field) Related Poppler issue #34 Related Evince issue: https://gitlab.gnome.org/GNOME/evince/issues/842 glib/poppler-form-field.cc | 24 ++++++++++++++++++++++++ glib/poppler-form-field.h | 2 ++ glib/reference/poppler-docs.sgml | 5 +++++ glib/reference/poppler-sections.txt | 1 + 4 files changed, 32 insertions(+) commit 155f73bdd261622323491df4aebb840cde8bfee1 Author: Albert Astals Cid Date: Tue Apr 7 17:54:22 2020 +0200 Fix crash in destruction of standalone forms If we just give the Dict to Object() it doesn't increase the ref so on destruction we do one unref too much (because we had done one ref too few) and crash poppler/Annot.h | 4 ++-- poppler/Page.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 4098c6546d9be6ab93a817d52dd749b43aede868 Author: Albert Astals Cid Date: Tue Apr 7 17:27:16 2020 +0200 Fix test in MSVC For some reason MSVC doesn't like QStringLiteral with non ascii chars qt5/tests/check_forms.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4e3c9a89beab10613b27421d77d8e2deb73e82c7 Author: Albert Astals Cid Date: Tue Apr 7 00:09:22 2020 +0200 Update (C) of last commit poppler/Annot.h | 1 + poppler/Form.cc | 2 +- poppler/Form.h | 1 + poppler/Page.cc | 1 + poppler/Page.h | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) commit e4badf4d745b8e8f9a0a25b6c3cc97fbadbbb499 Author: Nelson Benítez León Date: Sat Mar 28 16:35:16 2020 -0400 support 'de facto' tooltip feature Most pdf readers implement a tooltip feature by showing the string content of 'TU' field of a widget annotation that is not linked to any form field. Normally, widget annotations carry a reference to a form field which are used together to implement the different form widgets. But, the PDF spec does not forbid standalone (i.e. not linked to any form field) widget annotations, and the fact is they're been used by most pdf readers to show a tooltip when the area of that AnnotWidget is hovered. Some API added for this feature: bool FormField::isStandAlone() void FormField::setStandAlone (bool value) A standalone FormField means it's not part of Catalog's Field array, because of that we store them in a new member inside Page class: std::vector standaloneFields; and send them alongside the rest of FormWidgets in the existant API: FormPageWidgets *Page::getFormWidgets(); Poppler issue #34 Evince issue: https://gitlab.gnome.org/GNOME/evince/issues/842 poppler/Annot.h | 1 + poppler/Form.cc | 16 ++++++++++++++++ poppler/Form.h | 9 ++++++++- poppler/Page.cc | 48 ++++++++++++++++++++++++++++++++++++++++++++++- poppler/Page.h | 8 ++++++++ qt5/tests/check_forms.cpp | 31 ++++++++++++++++++++++++++++++ 6 files changed, 111 insertions(+), 2 deletions(-) commit e90fe93eef66e3a2d9c260343273dad8041c3716 Author: Albert Astals Cid Date: Wed Apr 1 23:59:02 2020 +0200 Update (C) of last commit poppler/BBoxOutputDev.cc | 12 +++++++++--- poppler/BBoxOutputDev.h | 10 ++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) commit 967a21b5c2bedd0c0debb74ae622edbc1a5b486a Author: sgerwk Date: Wed Apr 1 21:53:58 2020 +0000 bounding box of graphics in the page CMakeLists.txt | 2 + glib/CMakeLists.txt | 1 + glib/poppler-page.cc | 48 +++++++ glib/poppler-page.h | 3 + glib/reference/poppler-sections.txt | 1 + glib/tests/CMakeLists.txt | 43 ++++++ glib/tests/check_bb.c | 92 +++++++++++++ glib/tests/check_text.c | 55 ++++++++ glib/tests/pdfdrawbb.c | 143 ++++++++++++++++++++ poppler/BBoxOutputDev.cc | 251 ++++++++++++++++++++++++++++++++++++ poppler/BBoxOutputDev.h | 73 +++++++++++ 11 files changed, 712 insertions(+) commit 04c5fec1047a70ddb5f5ce6ccfc5d31b61d8460d Author: Albert Astals Cid Date: Tue Mar 31 23:50:53 2020 +0200 Add missing since cpp/poppler-page.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 98d6644607b976e0e5f2342629432f0074aeb453 Author: Albert Astals Cid Date: Tue Mar 31 23:49:41 2020 +0200 Add (C) from last commit cpp/poppler-page.cpp | 1 + cpp/poppler-page.h | 1 + cpp/tests/poppler-dump.cpp | 1 + 3 files changed, 3 insertions(+) commit 1e098e9b272d57478a3f23a9a6b6bb1542740aaf Author: Jiri Jakes Date: Tue Mar 31 21:38:23 2020 +0000 cpp: Add non_raw_non_physical layout for page::text() cpp/poppler-page.cpp | 25 ++++++++++++------------- cpp/poppler-page.h | 3 ++- cpp/tests/poppler-dump.cpp | 4 +++- 3 files changed, 17 insertions(+), 15 deletions(-) commit 1ff36d6428765185c645ff10df8044cbb961c2a5 Author: Albert Astals Cid Date: Mon Mar 30 23:27:33 2020 +0200 pdftohtml: Fix noRoundedCoordinates->noroundcoord in man page Fixes #901 utils/pdftohtml.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba81433a112862fa628a1c3d11eb2379cc384f54 Author: Albert Astals Cid Date: Sun Mar 29 16:59:41 2020 +0200 Update (C) of last commit poppler/SplashOutputDev.cc | 2 +- poppler/Stream.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 29cfa16d1f782fa9b5f7f48552183baf4991362a Author: Thomas Freitag Date: Sun Mar 29 12:48:51 2020 +0200 Handle 1 bit RGB images in ICC colorspace poppler/SplashOutputDev.cc | 2 +- poppler/Stream.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4b56adac660e9b0620f5345edb9eef5546de51f6 Author: Albert Astals Cid Date: Sat Mar 28 23:59:34 2020 +0100 Make some PDFRectangle methods const poppler/Page.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0e938b2f82fbb1cf129ee40c84a3081a10c39d0a Author: Albert Astals Cid Date: Sat Mar 28 15:41:37 2020 +0100 0.87.0 CMakeLists.txt | 6 +++--- NEWS | 15 +++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 21 insertions(+), 6 deletions(-) commit f19d6723313c0db1b63b8a04c0d2475422b875fb Author: Albert Astals Cid Date: Thu Mar 26 22:50:34 2020 +0100 Update (C) qt5/src/ArthurOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e1a83dbdc065504291528554cb11ab8fabeb5f6 Author: Oliver Sander Date: Wed Mar 25 21:14:34 2020 +0100 Avoid division by zero in updateLineDash Qt measures dash patterns in terms of line width. This means that you have to divide by the width, which doesn't work if the line width is 'cosmetic', i.e., zero. The Qt documentation states that this case should be treated as if the line width was 1 pixel. BUG: 695 qt5/src/ArthurOutputDev.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 170aa09affc7637cdc8087bb7ae8012b37a80025 Author: Albert Astals Cid Date: Wed Mar 18 17:51:18 2020 +0100 Simplify LinkRendition glib/poppler-action.cc | 2 +- poppler/Link.cc | 2 +- poppler/Link.h | 6 +----- 3 files changed, 3 insertions(+), 7 deletions(-) commit 535db3f8c2d18b2a3c76794b5cc8d4d79f5aef70 Author: Albert Astals Cid Date: Thu Mar 26 22:30:17 2020 +0100 CI: Use debian testing while unstable is broken .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 388a7522beaa3abd9c7c0fb437dc3ca513d250b7 Author: Albert Astals Cid Date: Thu Mar 26 22:30:02 2020 +0100 Update (C) poppler/JPEG2000Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4382264f1b96e6ad6c9e481e4ceae3c22dbcd2f3 Author: Albert Astals Cid Date: Sun Mar 22 12:32:02 2020 +0100 Fix leak in broken files oss-fuzz/21330 poppler/JPEG2000Stream.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 5c601c40d84686134d90a0f862e2507bd628e188 Author: Albert Astals Cid Date: Tue Mar 17 23:39:53 2020 +0100 qt5: Add option to get choice for export value poppler/Form.cc | 5 +++++ poppler/Form.h | 3 ++- qt5/src/poppler-form.cc | 18 +++++++++++++++++- qt5/src/poppler-form.h | 10 +++++++++- 4 files changed, 33 insertions(+), 3 deletions(-) commit 4813adfada062a9161b55e412e3997b748123f7f Author: Albert Astals Cid Date: Thu Mar 19 17:17:04 2020 +0100 Some more const glib/demo/annots.c | 2 +- splash/SplashFTFont.cc | 4 ++-- splash/SplashScreen.cc | 8 ++++---- splash/SplashScreen.h | 6 +++--- utils/InMemoryFile.cc | 3 ++- utils/pdfattach.cc | 4 ++-- utils/pdfdetach.cc | 2 +- 7 files changed, 15 insertions(+), 14 deletions(-) commit 81a86064c14a7fc25047b6040d65464e732cf501 Author: Adam Reichold Date: Wed Mar 18 11:39:50 2020 +0100 Fix vague linkage of Link* class vtables Due to falling back to the implicitly inline destructors, some of the Link* classes had all their overridden methods defined inline with made the linkage of their vtables vague. This change moves their destructors into a defined translation unit thereby anchoring their vtables in the libpoppler DSO which fixes issues using dynamic_cast when builing Poppler using Clang. poppler/Link.cc | 20 ++++++++++++++++++++ poppler/Link.h | 20 +++++++++++++++++++- 2 files changed, 39 insertions(+), 1 deletion(-) commit 80fa729be74bfcfbf9cf2208a55ad95bf113217b Author: Albert Astals Cid Date: Sat Mar 14 17:20:01 2020 +0100 Update (C) utils/HtmlOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 68b6dd2ecd868c1a757cb8b9273e2e26687e5229 Author: Adam Reichold Date: Sat Mar 14 14:49:17 2020 +0100 Replace dynamic_cast by static_cast where we already perform the type checks explicitly before downcasting. glib/poppler-action.cc | 18 +++++++++--------- utils/HtmlOutputDev.cc | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) commit af5565087b63aebfbb20a155dd9318312f688f92 Author: Alex Henrie Date: Wed Mar 11 17:06:16 2020 -0600 Fix memory leak in HtmlOutputDev::getLinkDest utils/HtmlOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f1480aa0720b3f2d4d12b6e1b4370e2ced4c06f2 Author: Albert Astals Cid Date: Sun Mar 1 20:52:52 2020 +0100 Poppler 0.86.1 CMakeLists.txt | 4 ++-- NEWS | 5 +++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) commit 84c52530992f28fc0623747ee505baad7a9bb287 Author: Albert Astals Cid Date: Sun Mar 1 19:08:02 2020 +0100 Fix regression in URI link handling poppler/Link.cc | 1 + qt5/tests/check_links.cpp | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) commit b3cfbbf2679618d0c32670090717a6e2f70faf9c Author: Oliver Sander Date: Tue Feb 11 22:34:10 2020 +0100 Use std::unique_ptr for LinkGoto data members This makes it clear that these pointers are owning. It makes the code slightly shorter, too. poppler/Link.cc | 60 ++++++++++++--------------------------------------------- poppler/Link.h | 37 ++++++++++++++--------------------- 2 files changed, 26 insertions(+), 71 deletions(-) commit a9ba550caaaf89d35f8206463e1fe0d4ecfaa161 Author: Albert Astals Cid Date: Sat Feb 29 00:26:55 2020 +0100 Poppler 0.86.0 CMakeLists.txt | 4 ++-- NEWS | 19 +++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 23 insertions(+), 4 deletions(-) commit bad6503c276f306170799cab2e98f53894c6e147 Author: Albert Astals Cid Date: Fri Feb 28 00:35:25 2020 +0100 Update (C) of last commit splash/SplashPattern.h | 2 +- splash/SplashTypes.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 68af136fb2934a65f912d84a619c39c75d6d90b9 Author: Albert Astals Cid Date: Sat Feb 22 10:05:25 2020 +0100 Implement Splash::gouraudTriangleShadedFill for non parametrized shadings Fixes #881 Unfortunately only implemented for shadings where the 3 vertices of the triangle have the same color for now since i got lost trying to implement the coloring (and also have no pdf to check against) The reason this fixes #881 is because if Splash::gouraudTriangleShadedFill returns false because it doesn't natively support this shading, the default rendering algorithm of Gfx.cc kicks in, and that rendering what does is render different triangles without them knowing they belong to the same shading, meaning that if you have some opacity the edges of the triangles will overlap and and up having different color than the one you really wanted poppler/SplashOutputDev.cc | 51 +++++---- poppler/SplashOutputDev.h | 11 +- splash/Splash.cc | 271 +++++++++++++++++++++++++++++++++------------ splash/SplashPattern.h | 7 +- splash/SplashTypes.h | 7 ++ 5 files changed, 246 insertions(+), 101 deletions(-) commit d4a7367d994483f05151892ee8f14e138e0731c7 Author: Albert Astals Cid Date: Wed Feb 26 22:54:41 2020 +0100 Update (C) of last commit poppler/Form.h | 2 +- poppler/Outline.cc | 2 +- poppler/Outline.h | 2 +- qt5/src/poppler-annotation.cc | 2 +- utils/JSInfo.h | 1 + utils/pdftocairo.cc | 2 +- utils/pdftoppm.cc | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) commit 58dfc767964f133f9bf18b3c5eb641c090584967 Author: Oliver Sander Date: Tue Nov 26 17:02:56 2019 +0100 Handle LinkAction objects by std::unique_ptrs This clarifies the object ownership, and fixes various memory leaks. glib/poppler-form-field.cc | 8 +++--- poppler/Annot.cc | 26 +++++++++--------- poppler/Annot.h | 8 +++--- poppler/Catalog.cc | 7 +++-- poppler/Catalog.h | 2 +- poppler/Form.cc | 2 +- poppler/Form.h | 2 +- poppler/Link.cc | 45 +++++++++++++++---------------- poppler/Link.h | 6 ++--- poppler/Outline.cc | 4 --- poppler/Outline.h | 6 +++-- poppler/Page.cc | 8 +++--- poppler/Page.h | 4 ++- qt5/src/poppler-annotation.cc | 5 ++-- qt5/src/poppler-form.cc | 10 +++---- qt5/src/poppler-page.cc | 6 ++--- utils/JSInfo.cc | 62 +++++++++++++++++++++---------------------- 17 files changed, 104 insertions(+), 107 deletions(-) commit 35b7e926035c7d6852ed148b4dbe6d15e32f3fed Author: Oliver Sander Date: Fri Nov 22 14:32:44 2019 +0100 Revert "pdfinfo: Fix another leak" This reverts commit 4d799cdf9b9039b003de7d3baf05d858bc507a5a. When closing/deallocating a document, poppler should free all memory used by that document internally. Freeing some of that memory within pdfinfo is not a proper solution when valgrind shows leaks. utils/JSInfo.cc | 14 ++++++-------- utils/JSInfo.h | 4 ++-- 2 files changed, 8 insertions(+), 10 deletions(-) commit a11fc679a701879ffd8ba6ccbd4b0a08a03440e6 Author: Oliver Sander Date: Fri Nov 22 08:50:35 2019 +0100 Use a vector of unique_ptr for LinkAction::nextActionList This makes it clear that the vector owns the LinkAction objects. poppler/Link.cc | 14 +++++--------- poppler/Link.h | 5 ++--- qt5/src/poppler-page.cc | 4 ++-- 3 files changed, 9 insertions(+), 14 deletions(-) commit afa0528e1dfaafeb09ad9fb52902b13b378e0250 Author: Albert Astals Cid Date: Sat Feb 22 01:00:05 2020 +0100 pdftoppm/pdftocairo: Fix more odd/even mismatch utils/pdftocairo.cc | 4 ++-- utils/pdftoppm.cc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 90a1441809fc6ca8713022bf8cb5530e9a7ae832 Author: Albert Astals Cid Date: Sun Feb 23 18:23:23 2020 +0100 GooString: remove duplicated code goo/GooString.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ae2660175df533bb93578f7f60a5375a431ad865 Author: Albert Astals Cid Date: Sun Feb 23 18:21:15 2020 +0100 Update (C) last commit goo/GooString.h | 2 +- poppler/Annot.cc | 2 +- poppler/Form.cc | 2 +- poppler/PDFDocEncoding.h | 1 + poppler/Sound.cc | 1 + poppler/Sound.h | 1 + qt5/src/poppler-private.cc | 2 +- qt5/src/poppler-private.h | 2 +- utils/JSInfo.cc | 1 + 9 files changed, 9 insertions(+), 5 deletions(-) commit 3355e20b2849fc1be131095bc2fe5b0a02d41d5a Author: Oliver Sander Date: Wed Jan 29 09:41:35 2020 +0100 Implement fillGooString in terms of fillString This requires to add a method to GooString that allows access as a mutable std::string&. goo/GooString.h | 1 + poppler/Stream.h | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) commit 5804f51c7cf439432082b668ba8df3b0a6048caf Author: Oliver Sander Date: Mon Jan 27 17:33:49 2020 +0100 Use a std::string value in LinkURI glib/poppler-action.cc | 4 +--- poppler/Link.cc | 40 +++++++++++++++------------------------- poppler/Link.h | 10 ++++------ qt5/src/poppler-page.cc | 2 +- qt5/src/poppler-private.cc | 2 +- utils/HtmlOutputDev.cc | 2 +- 6 files changed, 23 insertions(+), 37 deletions(-) commit 06a658708d73b4e2d0bcb9f5572be9b2754368eb Author: Oliver Sander Date: Mon Jan 27 16:24:54 2020 +0100 Use a std::string value in LinkNamed glib/poppler-action.cc | 4 +--- poppler/Link.cc | 11 +++-------- poppler/Link.h | 9 ++++----- qt5/src/poppler-page.cc | 26 +++++++++++++------------- 4 files changed, 21 insertions(+), 29 deletions(-) commit 5d9a9c85bc27f7375a57f6c84913c8e0adcc38d1 Author: Oliver Sander Date: Mon Jan 27 16:11:16 2020 +0100 Use a std::string value in LinkMovie glib/poppler-action.cc | 9 +++------ poppler/Link.cc | 13 ++++--------- poppler/Link.h | 10 +++++----- 3 files changed, 12 insertions(+), 20 deletions(-) commit 42eebb9bade006ceb602805c474bc9df5ef630b9 Author: Oliver Sander Date: Sat Jan 25 20:44:56 2020 +0100 Use a std::string value in LinkRendition poppler/Link.cc | 11 ++++------- poppler/Link.h | 4 ++-- utils/JSInfo.cc | 12 +++++------- 3 files changed, 11 insertions(+), 16 deletions(-) commit 887d35751979d3441a18db00b99cfc5b6b8d958f Author: Oliver Sander Date: Sat Jan 25 17:29:54 2020 +0100 LinkSound: Store Sound in a std::unique_ptr Because the LinkSound class does own the pointer. poppler/Annot.cc | 2 +- poppler/Link.cc | 4 ---- poppler/Link.h | 6 ++---- poppler/Sound.cc | 4 ++-- poppler/Sound.h | 4 +++- 5 files changed, 8 insertions(+), 12 deletions(-) commit 57c7c79df6105300f32b1f5d8775a2be8d1b96f9 Author: Oliver Sander Date: Sat Jan 25 17:29:28 2020 +0100 Do not include GooString.h It is not actually used. poppler/Sound.cc | 1 - poppler/Sound.h | 1 - 2 files changed, 2 deletions(-) commit 70ba56662286257a84d0d979c8f47eb3d3a5356b Author: Oliver Sander Date: Sat Jan 25 10:20:03 2020 +0100 Use a std::string value in LinkJavaScript glib/poppler-action.cc | 9 ++++----- poppler/Link.cc | 15 +++++---------- poppler/Link.h | 9 ++++----- poppler/Stream.h | 11 +++++++++++ qt5/src/poppler-page.cc | 2 +- utils/JSInfo.cc | 7 ++++--- 6 files changed, 29 insertions(+), 24 deletions(-) commit e9278387cbff75ce75a87a92bc297b53256bd3fc Author: Oliver Sander Date: Sat Jan 25 09:46:10 2020 +0100 Use a std::string value in LinkHide poppler/Link.cc | 9 +++------ poppler/Link.h | 12 ++++++------ 2 files changed, 9 insertions(+), 12 deletions(-) commit 9c8d05116e8d4fc26c5a9cd5a41aadb1f39b7f9f Author: Oliver Sander Date: Sun Jan 26 04:46:44 2020 +0100 Implement UnicodeParsedString for std::string goo/GooString.h | 2 ++ poppler/Form.cc | 14 +++++++------- poppler/PDFDocEncoding.h | 4 +++- qt5/src/poppler-private.cc | 10 +++++++--- qt5/src/poppler-private.h | 2 ++ 5 files changed, 21 insertions(+), 11 deletions(-) commit be45004531235f4dc3cce92e5a24b7cff6c385c1 Author: Oliver Sander Date: Thu Jan 23 17:57:52 2020 +0100 Use a std::string value in LinkUnknown poppler/Link.cc | 6 +----- poppler/Link.h | 10 ++++------ 2 files changed, 5 insertions(+), 11 deletions(-) commit 9980bc8eb1e7e6a7e39e684622bce52f3637784b Author: Alex Henrie Date: Tue Jan 28 18:44:15 2020 -0700 Add case table for Adlam poppler/UnicodeTypeTable.cc | 156 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 156 insertions(+) commit bb9f1180f22515e619eb189e1e75f16e95ccc8d9 Author: Alex Henrie Date: Tue Jan 28 18:44:15 2020 -0700 Add case table for Medefaidrin poppler/UnicodeTypeTable.cc | 119 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) commit bbdf276b5cc202855cdb8715924b143dc0b15d4e Author: Alex Henrie Date: Tue Jan 28 18:44:15 2020 -0700 Add case table for Warang Citi poppler/UnicodeTypeTable.cc | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit e631f11fe666d2075297aaf8685dca91d1503cdc Author: Alex Henrie Date: Tue Jan 28 18:44:15 2020 -0700 Add case table for Old Hungarian poppler/UnicodeTypeTable.cc | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) commit 700fe3b70406c5303e333a5626fe58343fc30d5d Author: Albert Astals Cid Date: Thu Feb 20 23:34:47 2020 +0100 Update (C) of previous commit poppler/Catalog.cc | 2 +- poppler/Dict.cc | 2 +- poppler/Dict.h | 2 +- poppler/Stream.cc | 2 +- poppler/Stream.h | 2 +- poppler/XRef.cc | 2 +- poppler/XRef.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) commit ddf97254576a88bd85fcc7b41876c90d1780504e Author: Albert Astals Cid Date: Sat Dec 7 00:18:53 2019 +0100 Make sure Base URI is encrypted if the document is before using it Otherwise we may be being targetted by a link content exfiltration poppler/Catalog.cc | 4 ++-- poppler/Dict.cc | 17 +++++++++++++++++ poppler/Dict.h | 3 +++ poppler/Stream.cc | 8 ++++++++ poppler/Stream.h | 7 +++++-- poppler/XRef.cc | 29 +++++++++++++++++++++++++++++ poppler/XRef.h | 4 ++++ 7 files changed, 68 insertions(+), 4 deletions(-) commit bdafd6066df79e8183ee311fb086993c480b2c55 Author: Albert Astals Cid Date: Thu Feb 20 21:24:19 2020 +0100 CI: Ignore bugprone-sizeof-expression for clang-tidy .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dcce8cc11dd29180bcadbd182d3a8e6900bc08f8 Author: Albert Astals Cid Date: Mon Feb 17 01:08:30 2020 +0100 Remove dead code from GfxGouraudTriangleShading::getTriangle If we're asserting for !isParameterized, that means nFuncs == 0 poppler/GfxState.cc | 40 ++++------------------------------------ 1 file changed, 4 insertions(+), 36 deletions(-) commit 16e1d0509be90a121b48e749cb330fe738f735eb Author: Albert Astals Cid Date: Sat Feb 15 17:19:52 2020 +0100 Update(C) And fix an include while it cpp/poppler-document.cpp | 2 +- poppler/Catalog.cc | 1 + poppler/Catalog.h | 6 ++---- poppler/PDFDoc.h | 1 + qt5/src/poppler-link.cc | 1 + utils/HtmlOutputDev.cc | 2 +- utils/pdfinfo.cc | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) commit ef5a9f53959d71be273fb9ee0956f516f6d3d39c Author: Oliver Sander Date: Fri Feb 14 23:37:35 2020 +0100 Use std::unique_ptr to pass around LinkDest objects This provides no functional changes, but it makes the pointer ownership easier to understand. cpp/poppler-document.cpp | 12 ++++-------- glib/poppler-document.cc | 16 ++++++---------- poppler/Catalog.cc | 17 ++++++++--------- poppler/Catalog.h | 10 ++++++---- poppler/PDFDoc.h | 2 +- qt5/src/poppler-link.cc | 2 +- utils/HtmlOutputDev.cc | 11 ++++------- utils/pdfinfo.cc | 17 ++++++++--------- 8 files changed, 38 insertions(+), 49 deletions(-) commit 5539aeba90d8e5b2ea78444495deaefc900d299c Author: Albert Astals Cid Date: Tue Feb 11 23:05:30 2020 +0100 Update (C) utils/pdfdetach.cc | 1 + 1 file changed, 1 insertion(+) commit b54e06d0f284fd2e72b01c7b7d619d16a69428b7 Author: coeffier Date: Fri Jan 31 15:07:53 2020 +0100 pdfdetach: add 'saveFile' option utils/pdfdetach.1 | 5 +++++ utils/pdfdetach.cc | 20 ++++++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) commit 4ca0cde98c02794cfdd4982018d5104abbd09b59 Author: Albert Astals Cid Date: Thu Jan 30 22:31:46 2020 +0100 glib: Fix leak if poppler_document_new_from_file fails glib/poppler-document.cc | 24 ++++++++++++------------ glib/poppler-private.h | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) commit d27cf873b8db1ca2b20cdc16a724c63a42d6473d Author: Nelson Benítez León Date: Tue Oct 29 19:08:30 2019 -0400 poppler-page: minor optimization on poppler_page_get_annot_mapping(). Let's retrieve the cropbox just once, on the outside of the _for_ loop. glib/poppler-page.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit f5ff25788ef23041a498a98e0ba9718590d96db0 Author: Nelson Benítez León Date: Mon Oct 28 21:51:21 2019 -0400 glib: automatic handle of page's cropbox on annots Core poppler annot (Annot.cc) has cropbox offsets included in the coordinates of the relevant fields (rect and quadrilaterals fields). This commit makes poppler-glib API _not_ include cropbox offsets when providing annot info to clients (by substracting cropbox offsets from the read core Annot info) and in the same way, assumes no cropbox offsets are included in the info received from clients to create new annots (cropbox offsets will be automatically added to the corresponding core poppler Annot). As a result of this, existent clients (like Evince) now automatically work right for annotations placed in pages that have a cropbox. Poppler issue: poppler/poppler#129 Evince issue: https://gitlab.gnome.org/GNOME/evince/issues/1280 glib/poppler-annot.cc | 109 +++++++++++++++++++++++++++++++++++++++---------- glib/poppler-page.cc | 55 +++++++++++++++++++++++++ glib/poppler-private.h | 2 + 3 files changed, 144 insertions(+), 22 deletions(-) commit 8ed4623c3aad7899114ddb9754e303c97ce64e50 Author: Albert Astals Cid Date: Wed Feb 5 21:25:46 2020 +0100 Update (C) qt5/src/poppler-document.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0bdf0d31d99a7becb1e36b5503213fe777673acb Author: Albert Astals Cid Date: Thu Jan 30 22:27:55 2020 +0100 qt5: Fix loading from iodevice qt5/src/poppler-document.cc | 1 + 1 file changed, 1 insertion(+) commit 2df04a397d51af7a50e0a11179b04503db2b2f10 Author: Albert Astals Cid Date: Wed Jan 29 23:26:58 2020 +0100 Poppler 0.85.0 CMakeLists.txt | 4 ++-- NEWS | 21 +++++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 26 insertions(+), 5 deletions(-) commit 2acfe30b35377447be80f9d06e2402d7aeaacdb2 Author: Albert Astals Cid Date: Wed Jan 29 00:16:43 2020 +0100 Update (C) of previous commits poppler/UnicodeTypeTable.cc | 1 + 1 file changed, 1 insertion(+) commit 715878e8906155045e6219018af433ec67be74cc Author: Albert Astals Cid Date: Tue Jan 28 23:53:04 2020 +0100 qt5: Add deseret lowercase search test Or at least i think this is the lowercase one, at least this is the different case than the one on the actual file qt5/tests/check_search.cpp | 3 +++ 1 file changed, 3 insertions(+) commit b9c8632375e0c8a96dbf706e813ef1639dd297af Author: Alex Henrie Date: Thu Jan 23 20:01:57 2020 -0700 Add case table for Deseret and Osage Fixes #853 poppler/UnicodeTypeTable.cc | 52 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 9 deletions(-) commit ceb4206215367b51ff361593ad7ee1771bfe1e97 Author: Albert Astals Cid Date: Tue Jan 28 23:47:28 2020 +0100 qt5: add test to show that deseret search works The one with ignoring case doesn't work yet qt5/tests/check_search.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 2816a3597f4accadcfe982673b501264e8bdee21 Author: Albert Astals Cid Date: Tue Jan 28 23:42:31 2020 +0100 qt5: fix search for "complex" characters poppler internals want ucs4 not unicode based on a patch by Alex Henrie qt5/src/poppler-page.cc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit e249d8965c0f39bd4dcb882048535a5272f66566 Author: Albert Astals Cid Date: Sat Jan 18 11:35:25 2020 +0100 Initialize StandardSecurityHandler::encAlgorithm Fixes uninitialized memory read on broken files poppler/SecurityHandler.cc | 1 + 1 file changed, 1 insertion(+) commit 1f82b0a455659a41b321c9a73c82a38fe4318159 Author: Albert Astals Cid Date: Fri Jan 17 17:39:17 2020 +0100 Remove unused SplashOutputDev variable/function poppler/SplashOutputDev.cc | 7 +------ poppler/SplashOutputDev.h | 5 +---- 2 files changed, 2 insertions(+), 10 deletions(-) commit f7c420c2859ec6774480e237d5a87af7e8807726 Author: Albert Astals Cid Date: Fri Jan 17 17:21:37 2020 +0100 Remove unused SplashOutputDev::setBitmapUpsideDown poppler/SplashOutputDev.cc | 1 - poppler/SplashOutputDev.h | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) commit c9d50037bc860c680ba24877b8727c66c95380da Author: Albert Astals Cid Date: Wed Jan 15 09:58:22 2020 +0100 fofi: add some const fofi/FoFiTrueType.cc | 2 +- fofi/FoFiTrueType.h | 4 ++-- fofi/FoFiType1C.cc | 8 ++++---- fofi/FoFiType1C.h | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) commit 4b063f84124a13f0561d871e43a08e0cf181ced5 Author: Albert Astals Cid Date: Sun Jan 12 23:44:25 2020 +0100 pdftoppm/pdftocairo: Fix -e/-o printing the wrong pages Fixes #873 utils/pdftocairo.cc | 6 +++--- utils/pdftoppm.cc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit a047dea62d28402e819d8ecacdaca95a18f2e3f1 Author: Alexander Volkov Date: Thu Sep 12 00:04:20 2019 +0300 qt5: Allow to load document from QIODevice Extract BaseSeekInputStream class from PopplerInputStream class and inherit an introduced Poppler::QIODeviceInStream from it. This allows to implement Poppler::Document::load(QIODevice *, ...) overload. glib/poppler-input-stream.cc | 98 ++----------------------- glib/poppler-input-stream.h | 33 ++------- poppler/Stream.cc | 107 ++++++++++++++++++++++++++++ poppler/Stream.h | 58 +++++++++++++++ qt5/src/CMakeLists.txt | 1 + qt5/src/poppler-document.cc | 17 ++++- qt5/src/poppler-private.h | 16 +++++ qt5/src/poppler-qiodeviceinstream-private.h | 49 +++++++++++++ qt5/src/poppler-qiodeviceinstream.cc | 63 ++++++++++++++++ qt5/src/poppler-qt5.h | 29 ++++++++ qt5/tests/check_actualtext.cpp | 30 ++++++-- 11 files changed, 376 insertions(+), 125 deletions(-) commit 0d31745f9f2ce6fe0ff01da507c13c393c4456a3 Author: Albert Astals Cid Date: Sun Jan 12 22:30:24 2020 +0100 Update (C) of last commit poppler/BuiltinFont.h | 2 +- poppler/GlobalParamsWin.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 22a334bbf55c900b3efff12a3a676bd14b18decd Author: Albert Astals Cid Date: Sun Jan 12 02:22:33 2020 +0100 Use gperf for the BuiltinFonts hash table Instead of creating one by hand on runtime we create one at compile time It's faster and lets us declare things as static const instead of just static and also allows us to remove two init/destroy functions CMakeLists.txt | 42 +- poppler/BuiltinFont.cc | 61 - poppler/BuiltinFont.h | 85 +- poppler/BuiltinFontTables.cc | 4298 -------------------- .../{BuiltinFontTables.h => BuiltinFontWidth.h} | 21 +- poppler/CourierBoldObliqueWidths.gperf | 330 ++ poppler/CourierBoldObliqueWidths.pregenerated.c | 995 +++++ poppler/CourierBoldWidths.gperf | 330 ++ poppler/CourierBoldWidths.pregenerated.c | 995 +++++ poppler/CourierObliqueWidths.gperf | 330 ++ poppler/CourierObliqueWidths.pregenerated.c | 995 +++++ poppler/CourierWidths.gperf | 330 ++ poppler/CourierWidths.pregenerated.c | 995 +++++ poppler/GfxFont.cc | 16 +- poppler/GlobalParams.cc | 5 - poppler/GlobalParamsWin.cc | 1 - poppler/HelveticaBoldObliqueWidths.gperf | 330 ++ poppler/HelveticaBoldObliqueWidths.pregenerated.c | 995 +++++ poppler/HelveticaBoldWidths.gperf | 331 ++ poppler/HelveticaBoldWidths.pregenerated.c | 986 +++++ poppler/HelveticaObliqueWidths.gperf | 330 ++ poppler/HelveticaObliqueWidths.pregenerated.c | 995 +++++ poppler/HelveticaWidths.gperf | 330 ++ poppler/HelveticaWidths.pregenerated.c | 995 +++++ poppler/SymbolWidths.gperf | 205 + poppler/SymbolWidths.pregenerated.c | 595 +++ poppler/TimesBoldItalicWidths.gperf | 330 ++ poppler/TimesBoldItalicWidths.pregenerated.c | 995 +++++ poppler/TimesBoldWidths.gperf | 330 ++ poppler/TimesBoldWidths.pregenerated.c | 995 +++++ poppler/TimesItalicWidths.gperf | 330 ++ poppler/TimesItalicWidths.pregenerated.c | 995 +++++ poppler/TimesRomanWidths.gperf | 330 ++ poppler/TimesRomanWidths.pregenerated.c | 995 +++++ poppler/ZapfDingbatsWidths.gperf | 217 + poppler/ZapfDingbatsWidths.pregenerated.c | 614 +++ 36 files changed, 17639 insertions(+), 4413 deletions(-) commit c80a00125180d396442d7559f6df65bdd1b5b98d Author: Albert Astals Cid Date: Fri Jan 10 00:46:22 2020 +0100 PSStack::copy: Fix integer overflow leading to potential crash in broken files Fixes issue #870 goo/GooCheckedOps.h | 11 ++++++++++- poppler/Function.cc | 5 +++-- 2 files changed, 13 insertions(+), 3 deletions(-) commit ca9b9cb264b2d2372a171dd8779ac5527dad2b12 Author: Albert Astals Cid Date: Fri Jan 10 00:30:37 2020 +0100 Fix crash on broken files TIL INT_MIN / -1 causes FPE Fixes issue #869 poppler/Function.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 12a657c5f787605602bb2ad9d79ef719bbf7678f Author: Albert Astals Cid Date: Thu Jan 9 14:58:15 2020 +0100 Remove getAuthData function that did "nothing" poppler/SecurityHandler.cc | 19 ++----------------- poppler/SecurityHandler.h | 6 ------ 2 files changed, 2 insertions(+), 23 deletions(-) commit ff404bdfcb5763ae5e219e075ca08b41c220f8ec Author: Albert Astals Cid Date: Thu Jan 9 14:39:14 2020 +0100 SecurityHandler: add const poppler/Parser.cc | 6 +++--- poppler/Parser.h | 6 +++--- poppler/SecurityHandler.cc | 2 +- poppler/SecurityHandler.h | 34 +++++++++++++++++----------------- 4 files changed, 24 insertions(+), 24 deletions(-) commit 409a8a36df099a27f75aefad97a11b354415ea06 Author: Albert Astals Cid Date: Thu Jan 9 14:34:12 2020 +0100 Remove forward declaration for struct that doesn't exist poppler/GlobalParams.h | 1 - poppler/SecurityHandler.h | 1 - 2 files changed, 2 deletions(-) commit 0aba2e2b13f27cfa88074258900d571c42751c0a Author: Albert Astals Cid Date: Tue Jan 7 23:58:37 2020 +0100 builtinFontSubst can be const poppler/BuiltinFontTables.cc | 16 +++++++++++++++- poppler/BuiltinFontTables.h | 16 +++++++++++++++- poppler/GfxFont.cc | 4 ++-- 3 files changed, 32 insertions(+), 4 deletions(-) commit fad2b7341c6a0cb8f2e0ff2e856739cb389d21ef Author: Albert Astals Cid Date: Tue Jan 7 17:52:27 2020 +0100 More static -> static const fofi/FoFiTrueType.cc | 4 ++-- fofi/FoFiType1C.cc | 6 +++--- splash/Splash.cc | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) commit 1bbf480deb1be03fb8c95604a250d4b4f64546d7 Author: Albert Astals Cid Date: Tue Jan 7 17:48:54 2020 +0100 Remove unused CompactFontTables.h file CMakeLists.txt | 1 - poppler/CompactFontTables.h | 478 -------------------------------------------- 2 files changed, 479 deletions(-) commit d2617256819eac077a9537a1c8dbbb44661d6f62 Author: Albert Astals Cid Date: Tue Jan 7 17:44:32 2020 +0100 Mark some static arrays as const poppler/CharCodeToUnicode.cc | 4 ++-- poppler/Decrypt.cc | 4 ++-- poppler/NameToUnicodeTable.h | 6 +++--- poppler/PSOutputDev.cc | 2 +- poppler/TextOutputDev.cc | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) commit 63ca4951f85b1f9d4a66d24d761e9984327bb20f Author: Albert Astals Cid Date: Wed Oct 30 23:36:35 2019 +0100 Introduce Object::getBoolWithDefaultValue makes code slightly more readable poppler/Annot.cc | 43 +++++++---------------------------------- poppler/Form.cc | 5 ++--- poppler/Gfx.cc | 15 ++++----------- poppler/GfxState.cc | 7 +++---- poppler/Link.cc | 9 ++------- poppler/Object.h | 6 +++++- poppler/PageTransition.cc | 8 ++------ poppler/ViewerPreferences.cc | 46 +++++++++----------------------------------- 8 files changed, 34 insertions(+), 105 deletions(-) commit dd0ea681efc1e0a476803be1260f7a7691c26534 Author: David García Garzón Date: Sun Jan 5 23:35:51 2020 +0000 qt5: Fix FormField::name encoding Also add a test for it qt5/src/poppler-form.cc | 2 +- qt5/tests/check_forms.cpp | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) commit c4f8555b6a8085a6a5b3c18a8a21e8aab51fe6d9 Author: Albert Astals Cid Date: Sun Jan 5 01:20:37 2020 +0100 Make getUnicodeMap param a const & instead a const * Now you can write globalParams->getUnicodeMap("UTF-8") which makes much more sense poppler/GlobalParams.cc | 15 +++++++-------- poppler/GlobalParams.h | 6 +++--- poppler/PSOutputDev.cc | 4 ++-- poppler/UTF.cc | 3 +-- poppler/UnicodeMap.cc | 22 +++++++++++----------- poppler/UnicodeMap.h | 8 +++----- 6 files changed, 27 insertions(+), 31 deletions(-) commit 7489b99bc0e8ee22538e5c4697f43181e74044c1 Author: Albert Astals Cid Date: Sun Jan 5 22:49:15 2020 +0100 Make HtmlFontAccu::Get const utils/HtmlFonts.h | 2 +- utils/HtmlOutputDev.cc | 5 ++--- utils/HtmlOutputDev.h | 4 ++-- 3 files changed, 5 insertions(+), 6 deletions(-) commit 6b1ee539705f1ddf8e252f1589866862ad688bc2 Author: Albert Astals Cid Date: Sun Jan 5 22:43:52 2020 +0100 No need for HtmlFontAccu::accu to be a pointer at all utils/HtmlFonts.cc | 12 +++++------- utils/HtmlFonts.h | 6 +++--- 2 files changed, 8 insertions(+), 10 deletions(-) commit cb5bece4f51040cf1d3be5a32af83c989d9c7885 Author: Albert Astals Cid Date: Sun Jan 5 22:41:32 2020 +0100 pdftohtml: Don't substract -2 to font size without any reason utils/HtmlFonts.cc | 2 +- utils/HtmlOutputDev.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit fb9ada7648cb3adb0b8791bab098de1e89c75226 Author: Albert Astals Cid Date: Sun Jan 5 22:40:12 2020 +0100 pdftohtml: Make HtmlFont::size an int It comes from a double so it could potentially be negative utils/HtmlFonts.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a0e6c8ffca03d324846db8b099774aafaf64627f Author: Albert Astals Cid Date: Sun Jan 5 23:05:54 2020 +0100 Fix crash in unicodeToAscii7 Don't make Ascii7Map be static, otherwise it will cache the unicode map between globlParams and end up with a bad pointer If we find the constant searching of the unicode in globalparams is a speed problem we need to apply a similar solution to the one we did for UTF8 poppler/UTF.cc | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) commit bc8250504b14655eb25d11336899bdcc032df18d Author: Albert Astals Cid Date: Sun Jan 5 22:32:55 2020 +0100 Update (C) qt5/src/poppler-form.cc | 1 + 1 file changed, 1 insertion(+) commit a9ef3cb7dd991ab935ad08f75ae4fc85bb594c78 Author: David García Garzón Date: Sun Jan 5 19:53:04 2020 +0100 Accepting UTF-16 uiNames for form fields qt5/src/poppler-form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9de38e9f0125dd5636e03847abc13e8a1c89d232 Author: Albert Astals Cid Date: Sun Jan 5 20:21:28 2020 +0100 Update last commit (C) poppler/MarkedContentOutputDev.cc | 2 +- poppler/MarkedContentOutputDev.h | 2 +- poppler/PSOutputDev.cc | 2 +- poppler/TextOutputDev.cc | 2 +- poppler/UnicodeMap.cc | 2 +- poppler/UnicodeMap.h | 2 +- utils/HtmlFonts.cc | 2 +- utils/JSInfo.cc | 2 +- utils/JSInfo.h | 2 +- utils/pdfdetach.cc | 2 +- utils/pdfinfo.cc | 2 +- utils/pdftotext.cc | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) commit eb5e7d9a62be5f76718115a058e2e3c4b32eb5ff Author: Albert Astals Cid Date: Sun Jan 5 01:20:37 2020 +0100 Remove UnicodeMap reference counting And make the cache just be "infinite", it's not like we support that many maps or that there's so many used in a given session, and if they are, well it's good we cached them All the unicode maps we support use about 2MB of memory, but PSOutputDev is the only one that loads "random" unicodeMaps so to load them all you'd had to print lots of different documents with fonts with lots of different font encodings, so it seems like a not very likely situation and the code gets simplified a bit poppler/GlobalParams.cc | 8 ++--- poppler/GlobalParams.h | 6 ++-- poppler/MarkedContentOutputDev.cc | 2 -- poppler/MarkedContentOutputDev.h | 2 +- poppler/PSOutputDev.cc | 8 ++--- poppler/TextOutputDev.cc | 21 ++++---------- poppler/UTF.cc | 2 +- poppler/UnicodeMap.cc | 61 ++++++--------------------------------- poppler/UnicodeMap.h | 16 ++++------ utils/HtmlFonts.cc | 3 +- utils/JSInfo.cc | 2 +- utils/JSInfo.h | 4 +-- utils/pdfdetach.cc | 3 +- utils/pdfinfo.cc | 11 ++++--- utils/pdftotext.cc | 7 ++--- 15 files changed, 42 insertions(+), 114 deletions(-) commit f5c981d70acfcc5742dda677b619431c483045b2 Author: Albert Astals Cid Date: Sun Jan 5 01:04:58 2020 +0100 Use getUtf8Map otherwise the map pointer may go wrong glib/poppler-document.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 7f53fa0e0b7bfe2be2763da08fa09127c5ecfe4d Author: Albert Astals Cid Date: Sun Jan 5 00:46:04 2020 +0100 cpp: Make document_private() private just in case cpp/poppler-document-private.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 33fa0ebac9e4d247af19ffc5343769684608990d Author: Albert Astals Cid Date: Sun Jan 5 00:41:52 2020 +0100 Update (C) for previous commits cpp/poppler-document-private.h | 2 +- cpp/poppler-document.cpp | 2 +- cpp/poppler-global.cpp | 2 +- cpp/poppler-private.cpp | 1 + cpp/poppler-private.h | 2 +- poppler/CairoOutputDev.cc | 3 ++- poppler/CairoOutputDev.h | 1 + poppler/Error.cc | 1 + poppler/Error.h | 1 + poppler/GlobalParams.cc | 2 +- poppler/GlobalParams.h | 2 +- qt5/src/poppler-document.cc | 2 +- qt5/src/poppler-private.cc | 2 +- qt5/src/poppler-private.h | 2 +- test/perf-test.cc | 1 + 15 files changed, 16 insertions(+), 10 deletions(-) commit 9e15cbae552be5a7b787a07e661ab849427537aa Author: Michal Date: Sat Jan 4 21:49:29 2020 +0000 make FT_Library initialisation thread-safe poppler/CairoOutputDev.cc | 7 ++----- poppler/CairoOutputDev.h | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) commit 9349ed71f9fabc8961cc1dd9ca57aca8be7939db Author: Adam Reichold Date: Sat Jan 4 09:40:03 2020 +0100 Make use of the memoizing UTF-8 UnicodemMap getter in CairoOutputDev::drawChar. poppler/CairoOutputDev.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 5c7ec727e059738828ae61bafb5fe5f8b482b267 Author: Adam Reichold Date: Fri Jan 3 22:12:20 2020 +0100 Remove the error callback data pointer as none of the frontends make use of it. cpp/poppler-document.cpp | 2 +- cpp/poppler-private.cpp | 2 +- cpp/poppler-private.h | 2 +- glib/poppler-document.cc | 8 ++++---- glib/poppler-private.h | 2 +- glib/poppler.cc | 3 +-- poppler/Error.cc | 6 ++---- poppler/Error.h | 4 ++-- poppler/GlobalParams.cc | 4 ++-- poppler/GlobalParams.h | 2 +- qt5/src/poppler-private.cc | 2 +- qt5/src/poppler-private.h | 6 +++--- test/perf-test.cc | 4 ++-- 13 files changed, 22 insertions(+), 25 deletions(-) commit 6de0bba0b7d064195b27619667dbbcb7cd810647 Author: Adam Reichold Date: Fri Jan 3 22:05:53 2020 +0100 Make use of the GlobalParamsIniter to make the glib frontend initialization thread safe. glib/poppler-document.cc | 31 +++++++++++++------------------ glib/poppler-private.h | 3 +++ glib/poppler.cc | 22 +++++++--------------- 3 files changed, 23 insertions(+), 33 deletions(-) commit a8220105f964ee4102e4ee886df2d0b162b42ae6 Author: Adam Reichold Date: Fri Jan 3 21:51:25 2020 +0100 Reuse the GlobalParamsIniter in the qt5 frontend. poppler/GlobalParams.cc | 12 ++++++++++++ poppler/GlobalParams.h | 4 ++++ qt5/src/poppler-document.cc | 3 --- qt5/src/poppler-private.cc | 30 ++---------------------------- qt5/src/poppler-private.h | 12 ++++++------ 5 files changed, 24 insertions(+), 37 deletions(-) commit 7daaa2925858ef1740ec38b25be7bf74c0aefa33 Author: Adam Reichold Date: Fri Jan 3 21:29:23 2020 +0100 Move the initer of the cpp frontend into the core to able to reuse it for the qt5 and glib frontends. cpp/poppler-document-private.h | 21 ++----------- cpp/poppler-document.cpp | 69 +++++++++--------------------------------- cpp/poppler-global.cpp | 2 +- poppler/GlobalParams.cc | 40 ++++++++++++++++++++++++ poppler/GlobalParams.h | 19 ++++++++++++ 5 files changed, 77 insertions(+), 74 deletions(-) commit f2197842c8e7a8c4f7ee15eba1bd42379803e229 Author: Adam Reichold Date: Fri Jan 3 21:22:44 2020 +0100 Improve readability of Error module by using a type alias for the error callback function pointer. poppler/Error.cc | 7 ++----- poppler/Error.h | 6 +++--- 2 files changed, 5 insertions(+), 8 deletions(-) commit 04debcf2a044d358aa8cd3694739db7d5471da0e Author: Albert Astals Cid Date: Sat Jan 4 11:37:01 2020 +0100 Update (C) of previous commits poppler/Link.cc | 2 +- poppler/Link.h | 1 + qt5/src/poppler-link-private.h | 1 + qt5/src/poppler-link.h | 1 + qt5/src/poppler-optcontent.cc | 2 +- 5 files changed, 5 insertions(+), 2 deletions(-) commit 21a7a98ad926b2e0aa3646d0c07ff13df8777f8b Author: Adam Reichold Date: Sat Jan 4 09:31:03 2020 +0100 Remove LinkAction::setNextActions as this setter should not be used outside of the ::parseAction method. poppler/Link.cc | 6 +----- poppler/Link.h | 3 --- 2 files changed, 1 insertion(+), 8 deletions(-) commit 0053b82841d37077b9b22ea393bb807fbe53eb64 Author: Oliver Sander Date: Fri Jan 3 17:54:17 2020 +0100 Deep-copy the LinkOCGAction object The convertLinkActionToLink method deep-copies every poppler LinkAction object into a Link object as used by the Qt5 frontend. With one exception: LinkOCGState objects are not deep-copied, but pointers to them are stored instead. This makes for a memory management that is inconsistent, difficult to understand, and prone to memory errors. The present patch introduces deep-copying for LinkOCGState objects as well. qt5/src/poppler-link-private.h | 14 +++++++++++--- qt5/src/poppler-link.h | 4 ++-- qt5/src/poppler-optcontent.cc | 10 +++++----- qt5/src/poppler-page.cc | 2 +- 4 files changed, 19 insertions(+), 11 deletions(-) commit 80710e99b3d3cb9fe6a05f73f33ed122474c82ae Author: Oliver Sander Date: Fri Jan 3 17:15:22 2020 +0100 Make LinkAction::nextActions return a const reference ... rather than a pointer. This makes it clearer that the result is borrowed, and should not be shallow-copied. poppler/Link.cc | 4 ++-- poppler/Link.h | 2 +- qt5/src/poppler-page.cc | 14 +++++--------- 3 files changed, 8 insertions(+), 12 deletions(-) commit 1239f2dc9c621e6a1962a7ebe0cced9c333c202c Author: Oliver Sander Date: Fri Jan 3 17:10:02 2020 +0100 Make LinkAction::nextActionList a std::vector Rather than a pointer to a std::vector. This removes one layer of indirection when accessing the vector. poppler/Link.cc | 34 +++++++++++++--------------------- poppler/Link.h | 8 ++++---- 2 files changed, 17 insertions(+), 25 deletions(-) commit d81d5ccfd29e12cadbd70642f65ca1516b4e5d04 Author: Albert Astals Cid Date: Fri Jan 3 16:55:36 2020 +0100 Make Sound::fileName a std::string Makes the code a bit simpler poppler/Sound.cc | 10 +++------- poppler/Sound.h | 6 +++--- qt5/src/poppler-sound.cc | 5 ++--- 3 files changed, 8 insertions(+), 13 deletions(-) commit 4f16f53e2b2fc0b83bad9ffcb0c869200f06a406 Author: Albert Astals Cid Date: Fri Jan 3 14:11:01 2020 +0100 Make UnicodeMap::encodingName be a std::string poppler/GlobalParams.cc | 14 +++++++------- poppler/GlobalParams.h | 2 +- poppler/UnicodeMap.cc | 18 ++++++++---------- poppler/UnicodeMap.h | 11 ++++++----- 4 files changed, 22 insertions(+), 23 deletions(-) commit 00aea3562ec628266fe957bfdb8f1188e1beeb4b Author: Albert Astals Cid Date: Fri Jan 3 14:15:49 2020 +0100 Remove GlobalParams::getUnicodeMap2 GlobalParams::getUnicodeMap was just calling GlobalParams::getUnicodeMap2 so move the code of this one to the other one and save ourselves having one function that just calls the other poppler/GlobalParams.cc | 8 ++------ poppler/GlobalParams.h | 3 +-- 2 files changed, 3 insertions(+), 8 deletions(-) commit 6fdf76631cb98012a051f4659583d67c0d5e0fad Author: Albert Astals Cid Date: Fri Jan 3 13:51:56 2020 +0100 Mark 'in' in unicodeToAscii7 as const poppler/UTF.cc | 4 ++-- poppler/UTF.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 98f5383030929c9b2895ffff9a561023b7de867f Author: Albert Astals Cid Date: Fri Jan 3 13:51:39 2020 +0100 Welcome 2020 poppler/poppler-config.h.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f306b50f78e6e6d9ba9733fabff8e6c5567038a Author: Albert Astals Cid Date: Sat Dec 28 13:18:51 2019 +0100 Poppler 0.84.0 CMakeLists.txt | 4 ++-- NEWS | 25 +++++++++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) commit 4c98b692962e49846d91e5c6673392f6ba2b8d61 Author: Albert Astals Cid Date: Sat Dec 28 12:44:54 2019 +0100 Update (C) utils/pdftoppm.cc | 1 + 1 file changed, 1 insertion(+) commit 72f5509211438a7e5e1f1e2290fb6cbda2b923c9 Author: Hartmut Goebel Date: Tue Dec 24 13:46:25 2019 +0000 pdfimages: Add error message if first page is larger then number of pages. utils/pdfimages.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 7de14f43562f4064d7b4cf1264e6cc8a89e6f4f2 Author: Sébastien Berthier Date: Tue Dec 24 10:09:02 2019 +0100 pdftoppm: add -hide-annotations option utils/pdftoppm.1 | 3 +++ utils/pdftoppm.cc | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) commit fabc00e32b8dd90d6cfe3b03613cb335b6760fd4 Author: Albert Astals Cid Date: Thu Dec 19 00:29:54 2019 +0100 Kill OCDisplayNode poppler/OptionalContent.cc | 120 --------------------------------------------- poppler/OptionalContent.h | 35 ------------- 2 files changed, 155 deletions(-) commit 165bfbe220cd395a829deede92f3a0d4648d5ba6 Author: Oliver Sander Date: Mon Nov 25 10:14:24 2019 +0100 Use std::unique_ptr for m_formData To make it clear that it is an owning pointer. qt5/src/poppler-form.cc | 18 +++++++----------- qt5/src/poppler-form.h | 5 +++-- 2 files changed, 10 insertions(+), 13 deletions(-) commit d8a128ee91fb03c2513614bf262042b71441a789 Author: Albert Astals Cid Date: Mon Dec 23 09:45:34 2019 +0100 qVariantFromValue -> QVariant::fromValue qt5/demos/viewer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b278cab777aeb181c15cc5623f3fdf38347a5a57 Author: Albert Astals Cid Date: Mon Dec 23 09:43:29 2019 +0100 qt5: QTime + elapsed -> QElapsedTimer qt5/tests/stress-poppler-dir.cpp | 4 ++-- qt5/tests/stress-poppler-qt5.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit a0289d279d5de130065bc7f35eb264d9ba42b682 Author: Albert Astals Cid Date: Sat Dec 21 09:56:38 2019 +0100 Splash::scaleImageYdXu: Protect against crash if srcWidth is too big oss-fuzz/19630 splash/Splash.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit ac4bbb3cefbe020bbe9af8ac361974c5c2dee3d3 Author: Albert Astals Cid Date: Fri Dec 20 00:25:34 2019 +0100 Splash: remove modified region book-keeping Noone uses it so it's a bit faster not to do it poppler/SplashOutputDev.cc | 9 ------ poppler/SplashOutputDev.h | 6 ---- splash/Splash.cc | 81 ---------------------------------------------- splash/Splash.h | 11 ------- 4 files changed, 107 deletions(-) commit 42d5e54134ca82c96cb29e672e71e924d75526cf Author: Oliver Sander Date: Tue Dec 17 21:06:31 2019 +0100 Make StateList assignable Because it is already copy-constructible, and having one without the other is weird. poppler/Link.h | 2 -- 1 file changed, 2 deletions(-) commit 62ae50571b1b0dca5369be76a962380b4c6e276a Author: Oliver Sander Date: Sat Dec 14 22:19:53 2019 +0100 LinkOCGState: Make stateList a std::vector of objects glib/poppler-action.cc | 8 ++++---- poppler/Link.cc | 29 +++++++++-------------------- poppler/Link.h | 8 ++++---- qt5/src/poppler-optcontent.cc | 10 +++++----- 4 files changed, 22 insertions(+), 33 deletions(-) commit bd8d88f0db6954aa5d4181c0a5b4d0e19a635359 Author: Oliver Sander Date: Sat Dec 14 21:48:07 2019 +0100 LinkOCGState: Replace std::vector* by std::vector glib/poppler-action.cc | 2 +- poppler/Link.cc | 9 +-------- poppler/Link.h | 6 +++--- qt5/src/poppler-optcontent.cc | 4 ++-- 4 files changed, 7 insertions(+), 14 deletions(-) commit 27958cb0c7ec165ab65433dd602387eb37eb7650 Author: Oliver Sander Date: Sat Dec 14 21:41:39 2019 +0100 StateList: Replace std::vector by std::vector A Ref is really just two ints. Let's not call malloc separately for each of them. glib/poppler-action.cc | 6 +++--- poppler/Link.cc | 10 ++-------- poppler/Link.h | 2 +- qt5/src/poppler-optcontent.cc | 6 +++--- 4 files changed, 9 insertions(+), 15 deletions(-) commit a5a713621649d916508e8695169df9221b2b3f9d Author: Oliver Sander Date: Sat Dec 14 21:26:38 2019 +0100 LinkOCGState: Replace std::vector* by std::vector The LinkOCGState has a 'stateList' member, which previously was a pointer to a std::vector. As a std::vector is little more than a pointer itself, one may as well keep it directly within the LinkOCGState object. This is what the patch does. glib/poppler-action.cc | 4 ++-- poppler/Link.cc | 20 +++++++++----------- poppler/Link.h | 7 ++++--- qt5/src/poppler-optcontent.cc | 4 ++-- 4 files changed, 17 insertions(+), 18 deletions(-) commit 39baa7d42966ebd67c2ac91ef1c1450965c37e87 Author: Albert Astals Cid Date: Sun Dec 8 23:38:13 2019 +0100 Update (C) poppler/Array.cc | 2 +- poppler/Array.h | 2 +- poppler/Page.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 8ee4f32cce32c3253c6be66d85d1191c1784bebd Author: Adam Reichold Date: Fri Dec 6 18:58:49 2019 +0100 Align signature of Array::copy with Dict::copy as a preparation for implicit sharing poppler/Array.cc | 4 ++-- poppler/Array.h | 2 +- poppler/Page.cc | 10 ++++------ 3 files changed, 7 insertions(+), 9 deletions(-) commit 3955fe7fae320f3122f663efa1d66a5296db7e6d Author: Nelson Benítez León Date: Fri Dec 6 18:42:49 2019 +0100 autotest for unicodeToAscii7 crasher Includes some small code tweaks by Albert Astals Cid qt5/tests/check_utf_conversion.cpp | 55 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) commit f7414ccb517fcadf8b0d8732d40c4abfb74cccba Author: Albert Astals Cid Date: Fri Dec 6 18:41:29 2019 +0100 Add the proper include so that Unicode is defined poppler/UnicodeTypeTable.h | 2 ++ 1 file changed, 2 insertions(+) commit f01d29372721fbbe7a0c761744a5b2bf83af761e Author: Marek Kasik Date: Fri Jul 19 14:04:30 2019 +0200 Allocate big enough buffer for text conversion Buffer for conversion from Unicode to ASCII7 can be small in some cases leading to invalid writes which can result in crash. This commit increases size of the buffer. poppler/UTF.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac485b0309f5e51d74fdb7484b9f6a7f79448f52 Author: Albert Astals Cid Date: Thu Nov 28 16:31:32 2019 +0100 Move textEOL and textPageBreaks out of GlobalParams to TextOutputDev poppler/GlobalParams.cc | 35 ----------------------------------- poppler/GlobalParams.h | 13 ------------- poppler/TextOutputDev.cc | 18 ++++++++++-------- poppler/TextOutputDev.h | 22 ++++++++++++++++++++-- utils/pdftotext.cc | 26 +++++++++++++++++++------- 5 files changed, 49 insertions(+), 65 deletions(-) commit af86c7460a1e3bfc63d2868306ed712fa432dcb1 Author: Albert Astals Cid Date: Fri Dec 6 00:43:45 2019 +0100 Update (C) utils/pdftocairo.cc | 1 + utils/pdftoppm.cc | 2 ++ 2 files changed, 3 insertions(+) commit d8da6fd3b4c92651092d0a73f54b244bb45e1711 Author: Kris Jurka Date: Wed Dec 4 22:51:16 2019 -0800 pdftoxxx: error out when even/odd selects 0 pages When page selection options and/or document length result in planned output of a single page, further even/odd page selection can then result in no pages being output. Error out instead of producing no output which is confusing to the user. Closes: https://gitlab.freedesktop.org/poppler/poppler/issues/815 utils/pdftocairo.cc | 13 ++++++++++--- utils/pdftoppm.cc | 11 +++++++++++ 2 files changed, 21 insertions(+), 3 deletions(-) commit 311db0b2de9a63d240d19bb90ba95a78f7856388 Author: corentinfoucault Date: Thu Dec 5 12:03:56 2019 +0000 [PdfToPpm] Add an option to scale before rotate -scale-dimension-before-rotation utils/pdftoppm.1 | 3 +++ utils/pdftoppm.cc | 22 ++++++++++++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) commit 5aa8552b283ed41c06fc38928bedbd5ec55ae7be Author: Albert Astals Cid Date: Wed Dec 4 23:28:19 2019 +0100 Update (C) of previous commit utils/pdfsig.cc | 1 + 1 file changed, 1 insertion(+) commit 6f81aa23e8745df604a60e334fe13ccec96d7c3c Author: Nelson Efrain A. Cruz Date: Wed Dec 4 09:18:48 2019 -0300 Changes value of exit code on dumping signatures error utils/pdfsig.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ed8159b0ba705062b6bd8e5c624648642e696662 Author: Nelson Efrain A. Cruz Date: Tue Dec 3 13:24:48 2019 -0300 Fixes pdfsig exit code when dumping signatures utils/pdfsig.cc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 78840bb796384942a21f1d99de80cdaaafcd7f58 Author: Thomas Fischer Date: Thu Nov 21 21:19:44 2019 +0100 pdfinfo: improved paper size recognition Paper sizes of ISO 216, A Series were originally defined in millimeters. For example, A3 is defined to be 297mm x 420mm. However, depending on source, the corresponding size in pts may vary between 1190pt and 1191pt for the longer edge. pdfinfo's formula to compute the length of the longer edge of an A3 paper determines this length to be 1191.82pt. As the error margin so far was set to 1pt, A3 papers with edge length of 1190.8pt were not recognized as A3. This patch makes the error margin depending on the paper size, setting it at 0.3% of the longer edge's length. For A3 paper, the error marging (variable 'isoThreshold') thus becomes 3.58pt. Accordingly, the threshold for 'letter' paper has been raised from 0.1pt to 1pt. utils/pdfinfo.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 36bc1703a7252f3c6f0a6059cd99419152b60a6f Author: Albert Astals Cid Date: Tue Dec 3 23:38:36 2019 +0100 Fix calling a function on a null pointer It wasn't crashing but it's defenitely undefined behaviour. Now instead of calling copy that calls the constructor we call the constructor directly, which deals fine with a null "other" to be created from Also some const poppler/JBIG2Stream.cc | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) commit 4163bccb07191da0e6e6fe2aaa78e01007261fe2 Author: Albert Astals Cid Date: Tue Dec 3 16:02:22 2019 +0100 Add some more const glib/poppler-action.cc | 4 +-- poppler/GfxState.cc | 62 ++++++++++++++++++++++---------------------- poppler/GfxState.h | 64 +++++++++++++++++++++++----------------------- poppler/GlobalParams.cc | 44 ++++++++++++++++--------------- poppler/GlobalParamsWin.cc | 2 +- splash/SplashBitmap.cc | 2 +- utils/pdffonts.cc | 4 +-- 7 files changed, 92 insertions(+), 90 deletions(-) commit f9b6c772bf53e195871c687f7314c7001db6647b Author: Albert Astals Cid Date: Tue Dec 3 15:31:14 2019 +0100 Make HtmlMetaVar::toString const utils/HtmlOutputDev.cc | 4 ++-- utils/HtmlOutputDev.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 5e3e46ecd7df3ee75cac7ee8216ee2d6d87d2665 Author: Albert Astals Cid Date: Fri Nov 29 17:50:28 2019 +0100 Enable modernize-loop-convert .gitlab-ci.yml | 2 +- cpp/tests/poppler-dump.cpp | 8 ++++---- cpp/tests/poppler-render.cpp | 6 +++--- glib/poppler-action.cc | 6 ++---- glib/poppler-cached-file-loader.cc | 8 ++++---- glib/poppler-page.cc | 9 +++------ glib/poppler-structure-element.cc | 4 ++-- poppler/Annot.cc | 12 ++++++------ poppler/CachedFile.cc | 10 +++++----- poppler/Catalog.cc | 4 ++-- poppler/CurlCachedFile.cc | 8 ++++---- poppler/GfxFont.cc | 4 ++-- poppler/GfxState.cc | 9 +++------ poppler/GlobalParams.cc | 20 +++++++++----------- poppler/JBIG2Stream.cc | 8 ++------ poppler/PSOutputDev.cc | 6 ++---- poppler/SplashOutputDev.cc | 3 +-- poppler/StructElement.cc | 8 ++++---- poppler/StructTreeRoot.cc | 4 ++-- poppler/TextOutputDev.cc | 16 +++++----------- poppler/XRef.cc | 7 +++---- qt5/src/poppler-optcontent.cc | 21 +++++++++------------ qt5/src/poppler-page.cc | 4 ++-- qt5/src/poppler-private.cc | 3 +-- splash/Splash.cc | 16 ++++++++-------- splash/SplashBitmap.cc | 4 ++-- splash/SplashState.cc | 11 +++++++---- utils/HtmlOutputDev.cc | 13 +++++-------- utils/pdftoppm.cc | 5 ++--- utils/printencodings.cc | 5 ++--- 30 files changed, 107 insertions(+), 137 deletions(-) commit f6071f61e433c333e2b34458314a263921ad5fa7 Author: Albert Astals Cid Date: Mon Dec 2 22:25:42 2019 +0100 enable modernize-redundant-void-arg No copyright, it's a mechanical change .gitlab-ci.yml | 2 +- glib/poppler.cc | 2 +- poppler/CairoFontEngine.cc | 2 +- poppler/CairoFontEngine.h | 2 +- poppler/TextOutputDev.cc | 4 ++-- test/pdf-inspector.cc | 6 +++--- test/perf-test-preview-dummy.cc | 8 ++++---- test/perf-test.cc | 12 ++++++------ 8 files changed, 19 insertions(+), 19 deletions(-) commit fc9f0f12e88a21e8f15e9b881351e8515c9b6179 Author: Albert Astals Cid Date: Mon Dec 2 22:17:52 2019 +0100 enable modernize-use-bool-literals No copyright, this is a mechanical change .gitlab-ci.yml | 2 +- fofi/FoFiType1.cc | 2 +- glib/poppler-page.cc | 2 +- poppler/CairoOutputDev.cc | 2 +- poppler/Catalog.cc | 2 +- poppler/Function.cc | 10 +++++----- poppler/GfxState.cc | 4 ++-- poppler/JBIG2Stream.cc | 12 ++++++------ poppler/Lexer.cc | 12 ++++++------ poppler/PSTokenizer.cc | 2 +- poppler/Rendition.cc | 2 +- poppler/SplashOutputDev.cc | 6 +++--- poppler/Stream.cc | 4 ++-- poppler/TextOutputDev.cc | 6 +++--- poppler/XRef.cc | 4 ++-- test/perf-test.cc | 2 +- utils/HtmlLinks.cc | 4 ++-- utils/HtmlOutputDev.h | 2 +- 18 files changed, 40 insertions(+), 40 deletions(-) commit 77aa3a007598c4c4836f45d355642d7240f7432b Author: Albert Astals Cid Date: Mon Dec 2 20:03:33 2019 +0100 Enable modernize-use-emplace Not claiming copyright since it's a mechanical change .gitlab-ci.yml | 2 +- cpp/poppler-image.cpp | 10 +++++----- cpp/poppler-page.cpp | 2 +- poppler/ViewerPreferences.cc | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) commit fb285d2c611c5111268d09460d6d58c5fff5bd34 Author: Albert Astals Cid Date: Mon Dec 2 19:44:23 2019 +0100 Enable modernize-use-equals-delete Not claiming copyright since the change is mechanical .gitlab-ci.yml | 2 +- cpp/poppler-global.h | 6 +++--- goo/JpegWriter.h | 6 +++--- goo/PNGWriter.h | 6 +++--- goo/TiffWriter.h | 6 +++--- goo/gdir.h | 14 ++++++++------ poppler/CertificateInfo.h | 6 +++--- poppler/JPEG2000Stream.h | 6 ++++-- poppler/SignatureInfo.h | 6 +++--- 9 files changed, 31 insertions(+), 27 deletions(-) commit 53a4fbbbbbcb5d2a48a140b70af9d3177ebe02c2 Author: Albert Astals Cid Date: Mon Dec 2 19:36:51 2019 +0100 Enable modernize-use-override not claiming copyright for this since it's a mechanical change .gitlab-ci.yml | 2 +- fofi/FoFiIdentifier.cc | 6 ++-- fofi/FoFiTrueType.h | 2 +- fofi/FoFiType1.h | 2 +- fofi/FoFiType1C.h | 2 +- glib/poppler-cached-file-loader.h | 2 +- glib/poppler-input-stream.h | 2 +- goo/JpegWriter.h | 2 +- goo/NetPBMWriter.h | 2 +- goo/PNGWriter.h | 2 +- goo/TiffWriter.h | 2 +- poppler/Annot.h | 38 +++++++++++------------ poppler/CairoFontEngine.h | 4 +-- poppler/CairoOutputDev.h | 4 +-- poppler/CurlCachedFile.h | 2 +- poppler/DCTStream.h | 2 +- poppler/Decrypt.h | 6 ++-- poppler/FlateEncoder.h | 2 +- poppler/Form.h | 12 ++++---- poppler/Function.h | 10 +++--- poppler/GfxFont.h | 4 +-- poppler/GfxState.h | 38 +++++++++++------------ poppler/JBIG2Stream.cc | 8 ++--- poppler/JBIG2Stream.h | 2 +- poppler/JPEG2000Stream.h | 2 +- poppler/Link.h | 24 +++++++-------- poppler/MarkedContentOutputDev.h | 2 +- poppler/PSOutputDev.cc | 2 +- poppler/PSOutputDev.h | 2 +- poppler/PreScanOutputDev.h | 2 +- poppler/SecurityHandler.h | 2 +- poppler/SplashOutputDev.cc | 2 +- poppler/SplashOutputDev.h | 12 ++++---- poppler/Stream.h | 46 ++++++++++++++-------------- poppler/TextOutputDev.cc | 6 ++-- poppler/TextOutputDev.h | 2 +- qt5/demos/abstractinfodock.h | 2 +- qt5/demos/embeddedfiles.h | 2 +- qt5/demos/fonts.h | 2 +- qt5/demos/info.h | 2 +- qt5/demos/metadata.h | 2 +- qt5/demos/navigationtoolbar.h | 2 +- qt5/demos/optcontent.h | 2 +- qt5/demos/pageview.h | 2 +- qt5/demos/permissions.h | 2 +- qt5/demos/thumbnails.h | 2 +- qt5/demos/toc.cpp | 2 +- qt5/demos/toc.h | 2 +- qt5/demos/viewer.h | 2 +- qt5/src/ArthurOutputDev.h | 2 +- qt5/src/poppler-annotation.cc | 12 ++++---- qt5/src/poppler-annotation.h | 28 ++++++++--------- qt5/src/poppler-form.h | 8 ++--- qt5/src/poppler-link-extractor-private.h | 2 +- qt5/src/poppler-link.cc | 4 +-- qt5/src/poppler-link.h | 20 ++++++------ qt5/src/poppler-optcontent.h | 2 +- qt5/src/poppler-qiodeviceoutstream-private.h | 2 +- qt5/src/poppler-qt5.h | 4 +-- qt5/tests/test-password-qt5.cpp | 2 +- qt5/tests/test-poppler-qt5.cpp | 2 +- splash/SplashFTFont.h | 2 +- splash/SplashFTFontFile.h | 2 +- splash/SplashPattern.h | 2 +- test/gtk-test.cc | 2 +- utils/HtmlOutputDev.h | 2 +- utils/ImageOutputDev.h | 2 +- utils/pdftohtml.cc | 2 +- 68 files changed, 195 insertions(+), 195 deletions(-) commit 3caf1a7a54372f74090caf284ddd3e8e94286d49 Author: Albert Astals Cid Date: Mon Dec 2 19:16:36 2019 +0100 Enable modernize-make-shared and modernize-make-unique .gitlab-ci.yml | 2 +- cpp/poppler-image.cpp | 8 +++--- poppler/Gfx.cc | 2 +- poppler/OutputDev.cc | 2 +- utils/pdfinfo.cc | 80 +++++++++++++++++++++++++-------------------------- 5 files changed, 47 insertions(+), 47 deletions(-) commit 2ad55c01e03a3fdb287dae73dbd37849498fa329 Author: Albert Astals Cid Date: Sun Dec 1 22:42:24 2019 +0100 Update (C) of last commit poppler/JBIG2Stream.cc | 1 + poppler/JBIG2Stream.h | 1 + 2 files changed, 2 insertions(+) commit f401ad7a29b95a39db0c2333b2c8f3573374140b Author: Even Rouault Date: Sun Dec 1 19:15:49 2019 +0000 JBIG2Stream: fix leak in reset() if called several times JBIG2Stream::reset() currently allocates new values for the segments and globalSegments member variable. This causes a memory leak if the method is called several times, which can be triggered by the GDAL library that uses Poppler. So add a freeSegments() method where we move the related cleanup of close(), and call that method from reset() and close(). poppler/JBIG2Stream.cc | 16 +++++++++++----- poppler/JBIG2Stream.h | 2 ++ 2 files changed, 13 insertions(+), 5 deletions(-) commit 2a115270698e2f550536e7d69a1d022d5b67d89e Author: Albert Astals Cid Date: Sun Dec 1 13:15:23 2019 +0100 Move the clear for loops into a function And also call memset because it's clearer from "this is what i want" point of view, compiler optimizers are smart enough to convert back to a loop if needed poppler/GfxState.cc | 33 +++++++++++---------------------- poppler/GfxState.h | 4 ++++ 2 files changed, 15 insertions(+), 22 deletions(-) commit 5be0c5cca3770b7096cfa7800fa8c419ced7e7e9 Author: Albert Astals Cid Date: Tue Nov 26 11:45:26 2019 +0100 Rework Hints::readTables a bit fail and return immediately if the length is 0 also set ok to false in a few other "failed to read table" cases poppler/Hints.cc | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) commit 8d46550c4ff3d4a1923cfc4c42e3fd4d154a7624 Author: William Bader Date: Fri Nov 29 01:55:29 2019 -0500 Improve pdftops -optimizecolorspace by implementing the CMYK to K conversion in more places. This fixes the conversion of the PDF in poppler/poppler#833 poppler/PSOutputDev.cc | 181 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 132 insertions(+), 49 deletions(-) commit 6e60cd8ef9696c12e4f33eb671013315b2b07790 Author: Albert Astals Cid Date: Sat Nov 30 02:04:22 2019 +0100 Links: Remove two unused functions Note: If you're one of the people using the internal API against our wishes, you can still roll out these functions yourself poppler/Link.cc | 17 ----------------- poppler/Link.h | 7 ------- 2 files changed, 24 deletions(-) commit 82dc60155a015e5798db6f78a5f165dc7dd376c9 Author: Albert Astals Cid Date: Fri Nov 29 14:54:27 2019 +0100 Turn Links::links into a std::vector instead of ** poppler/Link.cc | 33 +++++++-------------------------- poppler/Link.h | 5 ++--- 2 files changed, 9 insertions(+), 29 deletions(-) commit 1c1d9a70013125f67518f398a2b5abf37ec43cdd Author: Albert Astals Cid Date: Fri Nov 29 17:20:10 2019 +0100 Enable modernize-deprecated-headers .gitlab-ci.yml | 2 +- CMakeLists.txt | 2 +- cpp/poppler-private.h | 2 +- fofi/FoFiBase.cc | 4 ++-- fofi/FoFiEncodings.cc | 2 +- fofi/FoFiIdentifier.cc | 6 +++--- fofi/FoFiTrueType.cc | 6 +++--- fofi/FoFiTrueType.h | 2 +- fofi/FoFiType1.cc | 6 +++--- fofi/FoFiType1C.cc | 8 ++++---- glib/demo/CMakeLists.txt | 1 + glib/poppler-attachment.cc | 2 +- glib/poppler-document.cc | 2 +- glib/poppler-media.cc | 2 +- glib/poppler-page.cc | 2 +- glib/poppler-structure-element.cc | 2 +- goo/GooTimer.cc | 2 +- goo/ImgWriter.h | 2 +- goo/PNGWriter.cc | 4 ++-- goo/TiffWriter.cc | 2 +- goo/gbasename.cc | 4 ++-- goo/gfile.cc | 6 +++--- goo/gfile.h | 8 ++++---- goo/glibc.h | 2 +- goo/glibc_strtok_r.cc | 2 +- goo/gstrtod.cc | 8 ++++---- poppler/Annot.cc | 8 ++++---- poppler/BuiltinFont.cc | 4 ++-- poppler/BuiltinFontTables.cc | 2 +- poppler/CMap.cc | 8 ++++---- poppler/CairoFontEngine.cc | 2 +- poppler/CairoOutputDev.cc | 6 +++--- poppler/CairoRescaleBox.cc | 10 +++++----- poppler/Catalog.cc | 4 ++-- poppler/CertificateInfo.cc | 4 ++-- poppler/CertificateInfo.h | 2 +- poppler/CharCodeToUnicode.cc | 4 ++-- poppler/DCTStream.h | 12 ++++++------ poppler/DateInfo.cc | 4 ++-- poppler/DateInfo.h | 2 +- poppler/Decrypt.cc | 2 +- poppler/Error.cc | 6 +++--- poppler/Error.h | 2 +- poppler/FlateEncoder.h | 10 +++++----- poppler/FlateStream.h | 10 +++++----- poppler/FontEncodingTables.cc | 2 +- poppler/FontInfo.cc | 10 +++++----- poppler/Form.cc | 8 ++++---- poppler/Form.h | 2 +- poppler/Function.cc | 8 ++++---- poppler/Gfx.cc | 10 +++++----- poppler/GfxFont.cc | 12 ++++++------ poppler/GfxState.cc | 6 +++--- poppler/GfxState.h | 2 +- poppler/GlobalParams.cc | 6 +++--- poppler/GlobalParams.h | 4 ++-- poppler/GlobalParamsWin.cc | 8 ++++---- poppler/Hints.cc | 2 +- poppler/Hints.h | 2 +- poppler/JBIG2Stream.cc | 4 ++-- poppler/JPXStream.cc | 2 +- poppler/Lexer.cc | 10 +++++----- poppler/Link.cc | 4 ++-- poppler/Movie.cc | 2 +- poppler/NameToCharCode.cc | 2 +- poppler/NameToUnicodeTable.h | 2 +- poppler/Object.cc | 2 +- poppler/Object.h | 6 +++--- poppler/OutputDev.cc | 2 +- poppler/PDFDoc.cc | 18 +++++++++--------- poppler/PDFDoc.h | 2 +- poppler/PSOutputDev.cc | 12 ++++++------ poppler/PSOutputDev.h | 2 +- poppler/PSTokenizer.cc | 4 ++-- poppler/Page.cc | 4 ++-- poppler/PageLabelInfo.cc | 8 ++++---- poppler/PageLabelInfo.h | 10 +++++----- poppler/Parser.cc | 2 +- poppler/PreScanOutputDev.cc | 2 +- poppler/Rendition.cc | 2 +- poppler/SecurityHandler.cc | 2 +- poppler/SignatureInfo.cc | 4 ++-- poppler/SignatureInfo.h | 2 +- poppler/SplashOutputDev.cc | 2 +- poppler/StdinCachedFile.cc | 2 +- poppler/Stream.cc | 12 ++++++------ poppler/StructElement.cc | 2 +- poppler/StructTreeRoot.cc | 2 +- poppler/TextOutputDev.cc | 10 +++++----- poppler/TextOutputDev.h | 2 +- poppler/UnicodeMap.cc | 4 ++-- poppler/UnicodeTypeTable.cc | 2 +- poppler/XRef.cc | 14 +++++++------- poppler/poppler-config.h.cmake | 2 +- qt5/src/ArthurOutputDev.cc | 4 ++-- qt5/src/CMakeLists.txt | 3 +++ qt5/src/poppler-form.cc | 4 ++-- qt5/src/poppler-form.h | 2 +- qt5/src/poppler-qiodeviceoutstream.cc | 2 +- qt5/tests/stress-threads-qt5.cpp | 2 +- splash/Splash.cc | 10 +++++----- splash/Splash.h | 2 +- splash/SplashBitmap.cc | 8 ++++---- splash/SplashBitmap.h | 2 +- splash/SplashClip.cc | 4 ++-- splash/SplashFTFontEngine.cc | 2 +- splash/SplashFont.cc | 4 ++-- splash/SplashFontEngine.cc | 4 ++-- splash/SplashFontFile.cc | 2 +- splash/SplashMath.h | 2 +- splash/SplashPath.cc | 2 +- splash/SplashScreen.cc | 4 ++-- splash/SplashScreen.h | 2 +- splash/SplashState.cc | 2 +- splash/SplashXPath.cc | 4 ++-- splash/SplashXPathScanner.cc | 4 ++-- test/gtk-test.cc | 2 +- test/perf-test-preview-win.cc | 2 +- test/perf-test.cc | 16 ++++++++-------- utils/CMakeLists.txt | 2 ++ utils/HtmlFonts.cc | 2 +- utils/HtmlLinks.h | 4 ++-- utils/HtmlOutputDev.cc | 14 +++++++------- utils/HtmlOutputDev.h | 2 +- utils/HtmlUtils.h | 2 +- utils/ImageOutputDev.cc | 10 +++++----- utils/ImageOutputDev.h | 2 +- utils/InMemoryFile.cc | 2 +- utils/InMemoryFile.h | 2 +- utils/JSInfo.cc | 2 +- utils/JSInfo.h | 2 +- utils/Win32Console.h | 2 +- utils/parseargs.cc | 10 +++++----- utils/pdfdetach.cc | 2 +- utils/pdffonts.cc | 8 ++++---- utils/pdfimages.cc | 8 ++++---- utils/pdfinfo.cc | 12 ++++++------ utils/pdfseparate.cc | 10 +++++----- utils/pdfsig.cc | 10 +++++----- utils/pdftocairo.cc | 6 +++--- utils/pdftohtml.cc | 10 +++++----- utils/pdftoppm.cc | 6 +++--- utils/pdftops.cc | 8 ++++---- utils/pdftotext.cc | 8 ++++---- 144 files changed, 343 insertions(+), 337 deletions(-) commit 5713d0da012b734a28234455dcf817d5be20a98f Author: Albert Astals Cid Date: Fri Nov 29 16:19:53 2019 +0100 Enable readability-string-compare .gitlab-ci.yml | 2 +- poppler/GfxState.cc | 22 +++++++++++----------- poppler/SplashOutputDev.cc | 8 ++++---- utils/HtmlOutputDev.cc | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) commit 42efcb738cd5924215249c55dd2d0ff7f517d6b5 Author: Albert Astals Cid Date: Fri Nov 29 15:45:37 2019 +0100 Enable readability-inconsistent-declaration-parameter-name .gitlab-ci.yml | 2 +- cpp/poppler-document.h | 5 +++-- cpp/poppler-image.cpp | 14 +++++++------- goo/gbase64.h | 3 ++- goo/gbasename.h | 3 ++- poppler/Annot.cc | 12 ++++++------ poppler/Annot.h | 12 ++++++------ poppler/CachedFile.cc | 6 +++--- poppler/CairoFontEngine.h | 12 ++++++------ poppler/DateInfo.h | 4 ++-- poppler/Form.cc | 36 ++++++++++++++++++------------------ poppler/Form.h | 12 ++++++------ poppler/GfxFont.cc | 8 ++++---- poppler/GfxFont.h | 2 +- poppler/GfxState.h | 6 +++--- poppler/JPEG2000Stream.cc | 2 +- poppler/Movie.h | 10 +++++----- poppler/PDFDoc.h | 2 +- poppler/PSOutputDev.cc | 4 ++-- poppler/Sound.h | 6 +++--- poppler/SplashOutputDev.cc | 2 +- poppler/SplashOutputDev.h | 6 +++--- poppler/StructElement.h | 2 +- poppler/UTF.cc | 6 +++--- poppler/UTF.h | 2 +- poppler/UnicodeTypeTable.h | 5 +++-- qt5/demos/navigationtoolbar.h | 5 +++-- qt5/src/poppler-annotation.h | 10 +++++----- qt5/src/poppler-link.cc | 2 +- qt5/src/poppler-qt5.h | 20 ++++++++++---------- splash/Splash.cc | 4 ++-- splash/Splash.h | 4 ++-- splash/SplashFTFontFile.h | 3 ++- 33 files changed, 119 insertions(+), 113 deletions(-) commit ec2b036e0029e94183a87471c83577336bbaedda Author: Albert Astals Cid Date: Fri Nov 29 14:42:31 2019 +0100 Return early in operator= if we're assigning to ourselves Makes bugprone-unhandled-self-assignment happy cpp/poppler-image.cpp | 5 ++++- qt5/src/poppler-outline.cc | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) commit 98dbe4becbebb96dc46a581dad338e84d747334e Author: Jason Crain Date: Tue Nov 26 23:44:30 2019 -0700 glib: Fix poppler_action_layer_copy function cast warning In our call to g_list_foreach, the GFunc callback type takes two arguments, but we pass the g_object_ref function, which only takes one, so the compiler warns about an incompatible function cast. Fix this by using a for loop instead of g_list_foreach. glib/poppler-action.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0e6790f1eb36786ce7832a0415162b6967e42128 Author: Jason Crain Date: Tue Nov 26 23:44:22 2019 -0700 glib: Fix return in poppler_page_get_text_attributes_for_area Since this function returns a GList*, it should return nullptr on error, not FALSE. glib/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9b4503048e7d0eeb882aeea75140c2b6e3599c48 Author: Jason Crain Date: Tue Nov 26 23:44:15 2019 -0700 glib: Use g_list_free_full Use g_list_free_full instead of g_list_foreach followed by g_list_free. This fixes a compiler warning. The g_list_foreach function takes a "GFunc" callback, which takes two arguments, but the free functions we pass only take one argument, so the compiler warns about an incompatible cast. Using g_list_free_full fixes this because it takes a "GDestroyNotify" callback, which takes one argument. glib/poppler-action.cc | 6 ++---- glib/poppler-document.cc | 10 +++------- glib/poppler-page.cc | 18 ++++++------------ 3 files changed, 11 insertions(+), 23 deletions(-) commit 1496a00af0cb5f4c39d255493501957ef6a7f7da Author: Albert Astals Cid Date: Thu Nov 28 15:59:57 2019 +0100 Move enableFreeType out of GlobalParams It's now moved to pdftoppm+SplashOutputDev that were the only users poppler/GlobalParams.cc | 11 ----------- poppler/GlobalParams.h | 3 --- poppler/SplashOutputDev.cc | 3 ++- poppler/SplashOutputDev.h | 2 ++ qt5/src/ArthurOutputDev.cc | 4 ---- utils/pdftoppm.cc | 5 ++++- 6 files changed, 8 insertions(+), 20 deletions(-) commit e8e577df239350fadbcc19e7a52a834d42624187 Author: Albert Astals Cid Date: Thu Nov 28 15:14:43 2019 +0100 Some more const poppler/CharCodeToUnicode.cc | 2 +- poppler/CharCodeToUnicode.h | 2 +- poppler/GlobalParams.cc | 32 ++++++++++++++++---------------- poppler/GlobalParams.h | 22 +++++++++++----------- poppler/GlobalParamsWin.cc | 6 +++--- 5 files changed, 32 insertions(+), 32 deletions(-) commit 72a8d1bfbc2f1952275b71ae29dc1bc778241b57 Author: Albert Astals Cid Date: Thu Nov 28 00:46:03 2019 +0100 HtmlPage::dumpComplexHeaders: Fix memory leak We can't do const std::string htmlEncoding = HtmlOutputDev::mapEncodingToHtml(globalParams->getTextEncodingName())->toStr(); since HtmlOutputDev::mapEncodingToHtml returned a GooString that needed deletion. It's all std::strings now poppler/GlobalParams.cc | 4 ++-- poppler/GlobalParams.h | 2 +- utils/HtmlOutputDev.cc | 30 ++++++++++++------------------ utils/HtmlOutputDev.h | 5 ++--- 4 files changed, 17 insertions(+), 24 deletions(-) commit 23685aab67b28b6158bce27628fe6fc58adaec1c Author: Albert Astals Cid Date: Thu Nov 28 00:52:25 2019 +0100 Make GfxFont constructor protected You're not supposed to create a GfxFont by itself poppler/GfxFont.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit dc429f039fe9db5989e14f57b4cc7395be4d506d Author: Albert Astals Cid Date: Wed Nov 27 23:29:05 2019 +0100 Poppler 0.83.0 CMakeLists.txt | 4 ++-- NEWS | 18 ++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) commit 7bd2d1b9db89af824d3be7ee2bbfd1ba7be5d408 Author: Albert Astals Cid Date: Wed Nov 27 22:56:46 2019 +0100 some more const poppler/CMap.cc | 4 ++-- poppler/CMap.h | 10 +++++----- poppler/CharCodeToUnicode.cc | 12 ++++++------ poppler/CharCodeToUnicode.h | 12 ++++++------ poppler/GfxFont.cc | 4 ++-- poppler/GfxFont.h | 6 +++--- poppler/NameToCharCode.cc | 18 ++++++++++++++++-- poppler/NameToCharCode.h | 6 +++--- poppler/PageTransition.h | 17 +++++++++-------- 9 files changed, 52 insertions(+), 37 deletions(-) commit 8eb7a123c2ad226598de498cc37fa9b8dccdd3bd Author: Albert Astals Cid Date: Wed Nov 27 17:10:52 2019 +0100 FontInfo: Add some const glib/poppler-document.cc | 8 ++++---- poppler/FontInfo.cc | 2 +- poppler/FontInfo.h | 24 ++++++++++++------------ 3 files changed, 17 insertions(+), 17 deletions(-) commit 7d570b79419750eb60a621c7c312c59910a3746c Author: Albert Astals Cid Date: Tue Nov 26 19:07:28 2019 +0100 Linearization: add const to functions poppler/Linearization.cc | 22 +++++++++++----------- poppler/Linearization.h | 21 +++++++++++---------- 2 files changed, 22 insertions(+), 21 deletions(-) commit 02fca4f88ecb6e961b0d19f3d5d77edf6fb36d16 Author: Albert Astals Cid Date: Tue Nov 26 19:05:52 2019 +0100 Update (C) poppler/Linearization.cc | 1 + 1 file changed, 1 insertion(+) commit 1e3b202760aad7737afe9a57d5f1acd66f6be2ee Author: Even Rouault Date: Tue Nov 26 16:53:01 2019 +0100 Do not recognized as linearized documents that lack a valid Linearized dict Documents such as the one at https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19098 (under embargo at the time of writing) have the structure of the Linearized dict but lack valid integer object numbers. Poppler still manages to make some sense of that, but not recognizing such corrupted files as linearized would help the consumer (GDAL) that does admitedly nasty things around Poppler... poppler/Linearization.cc | 2 ++ 1 file changed, 2 insertions(+) commit 14280c6161108798cd7e60066bd012c87a308cf3 Author: Albert Astals Cid Date: Sun Nov 24 12:04:23 2019 +0100 Add const to TextOutputDev & friends glib/poppler-page.cc | 12 ++-- poppler/GfxState.h | 2 +- poppler/TextOutputDev.cc | 158 +++++++++++++++++++++--------------------- poppler/TextOutputDev.h | 174 +++++++++++++++++++++++------------------------ poppler/UnicodeMap.cc | 2 +- poppler/UnicodeMap.h | 2 +- qt5/src/poppler-page.cc | 2 +- utils/pdftotext.cc | 12 ++-- 8 files changed, 182 insertions(+), 182 deletions(-) commit 73ddac6662bec52c08f06c739c623a868df5da68 Author: Albert Astals Cid Date: Sun Nov 24 10:37:25 2019 +0100 Remove useless virtual markers on override functions poppler/FlateStream.h | 16 ++++++++-------- poppler/JPXStream.h | 16 ++++++++-------- qt5/src/ArthurOutputDev.h | 6 +++--- 3 files changed, 19 insertions(+), 19 deletions(-) commit a0fbc4c7ef978873ba5730958c9e1fa6aeea06c4 Author: Albert Astals Cid Date: Sun Nov 24 10:03:25 2019 +0100 Make Stream::getKind const glib/poppler-input-stream.h | 3 ++- poppler/CachedFile.h | 4 ++-- poppler/DCTStream.h | 4 ++-- poppler/Decrypt.h | 2 +- poppler/FlateEncoder.h | 4 ++-- poppler/FlateStream.h | 4 ++-- poppler/JBIG2Stream.h | 3 ++- poppler/JPEG2000Stream.h | 4 ++-- poppler/JPXStream.h | 16 +++++++++++++++- poppler/PSOutputDev.cc | 2 +- poppler/Stream.cc | 2 +- poppler/Stream.h | 42 +++++++++++++++++++++--------------------- 12 files changed, 53 insertions(+), 37 deletions(-) commit db2faed91c0d809b5eb264edd41fef3b5a4a9568 Author: Albert Astals Cid Date: Sun Nov 24 10:15:52 2019 +0100 CI: savannah git is down, use tarballs .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c017531fdebdd8a9d56c86ba89e861cc067000a2 Author: Albert Astals Cid Date: Sun Nov 24 09:52:54 2019 +0100 Update (C) of few past commits goo/GooString.cc | 1 + goo/GooString.h | 1 + make-glib-api-docs | 1 + qt5/demos/navigationtoolbar.cpp | 1 + 4 files changed, 4 insertions(+) commit 064bbe4be40300739ce8352658e4883534442128 Author: Albert Astals Cid Date: Sat Nov 23 08:13:21 2019 +0100 Add some const to GfxState & friends poppler/CairoOutputDev.cc | 7 ++- poppler/CairoOutputDev.h | 4 +- poppler/Gfx.cc | 6 +-- poppler/GfxState.cc | 42 +++++++-------- poppler/GfxState.h | 129 +++++++++++++++++++++++---------------------- poppler/PSOutputDev.cc | 12 ++--- poppler/PSOutputDev.h | 2 +- poppler/SplashOutputDev.cc | 5 +- poppler/SplashOutputDev.h | 2 +- poppler/TextOutputDev.cc | 12 ++--- qt5/src/ArthurOutputDev.cc | 5 +- 11 files changed, 109 insertions(+), 117 deletions(-) commit 1fa3cbd729bf16e06678b39d05be12d0ec6fa786 Author: Albert Astals Cid Date: Fri Nov 22 22:14:11 2019 +0100 make-glib-api-docs: switch to python3 Seems to work fine and python2 is dying anyway make-glib-api-docs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c646fca7d0e3837942c6e431673af0f79a52b276 Author: Albert Astals Cid Date: Fri Nov 22 21:53:50 2019 +0100 Remove Object::streamIs and Object::isStream(const char *) poppler/Object.h | 8 -------- 1 file changed, 8 deletions(-) commit dc85457466acf5f9ce87988c812d47254ac74ad0 Author: Albert Astals Cid Date: Fri Nov 22 21:49:01 2019 +0100 Remove Object::streamGetLine poppler/Object.h | 4 ---- 1 file changed, 4 deletions(-) commit 8090142cbc9fc2d5dd9b39c22c042cfe5b088fda Author: Albert Astals Cid Date: Fri Nov 22 18:55:04 2019 +0100 Remove Object::streamLookChar poppler/Object.h | 4 ---- 1 file changed, 4 deletions(-) commit c59a2794b68f104fec15bb75af456793bf3c3d96 Author: Albert Astals Cid Date: Fri Nov 22 18:49:06 2019 +0100 qt5: trUtf8 -> tr (less warnings) qt5/demos/navigationtoolbar.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 57c142f62e36254c0eff671daac95c2aee28b801 Author: Albert Astals Cid Date: Fri Nov 22 18:40:27 2019 +0100 Remove Object::streamSetPos poppler/Lexer.h | 4 ++-- poppler/Object.h | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) commit df84cd5c349de7a46abf1d0f5431b4da2e5eed95 Author: Albert Astals Cid Date: Fri Nov 22 18:36:31 2019 +0100 Remove Object::streamGetPos poppler/Lexer.cc | 4 ++-- poppler/Lexer.h | 6 +++--- poppler/Object.h | 4 ---- 3 files changed, 5 insertions(+), 9 deletions(-) commit 7671892300b0044b85ba289a7afb32e640b5b07d Author: Oliver Sander Date: Mon Nov 18 21:07:35 2019 +0100 Have more strings on the stack, rather than on the heap And replace some GooString with std::string while we're at it. utils/HtmlFonts.cc | 21 ++++++--------------- utils/HtmlOutputDev.cc | 49 +++++++++++++++++++------------------------------ 2 files changed, 25 insertions(+), 45 deletions(-) commit d331bfe09816397d5f6c8ef9744c418bc6063fe9 Author: Oliver Sander Date: Mon Nov 18 21:06:59 2019 +0100 Allow to append a std::string This is helpful in situations that mix GooString and std::string. goo/GooString.h | 1 + 1 file changed, 1 insertion(+) commit 99f99aa9d475b0640a6efa0aca922c7eaf5bfdc0 Author: Albert Astals Cid Date: Tue Nov 19 20:20:38 2019 +0000 fix comment goo/GooString.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1417e6825b525eb09b67fdd80ddbbd33ce6eb5dc Author: Oliver Sander Date: Mon Nov 18 21:46:45 2019 +0100 Remove GooString::upperCase It is never used. goo/GooString.cc | 10 ---------- goo/GooString.h | 1 - 2 files changed, 11 deletions(-) commit f2b00803ba4b030acae28c4560ccf011d7edfd4b Author: Albert Astals Cid Date: Mon Nov 18 21:58:37 2019 +0100 Update (C) of previous commit utils/HtmlFonts.cc | 1 + 1 file changed, 1 insertion(+) commit 66fd6879eb647e8349e9ea67258e2da8cf2ecf91 Author: Oliver Sander Date: Mon Nov 18 10:24:29 2019 +0100 Replace GooString::fromInt by std::to_string goo/GooString.cc | 9 --------- goo/GooString.h | 3 --- qt5/tests/check_goostring.cpp | 22 ---------------------- utils/HtmlFonts.cc | 8 ++++---- utils/HtmlOutputDev.cc | 8 ++++---- 5 files changed, 8 insertions(+), 42 deletions(-) commit f8da50f8e44c3f76fd89d9db57b925052d2c9371 Author: Albert Astals Cid Date: Sun Nov 17 21:33:02 2019 +0100 Update (C) of previous commits cpp/poppler-document.cpp | 1 + utils/pdfattach.cc | 1 + utils/pdfimages.cc | 1 + utils/pdfinfo.cc | 1 + utils/pdfseparate.cc | 1 + utils/pdfsig.cc | 1 + utils/pdftocairo.cc | 1 + utils/pdftohtml.cc | 1 + utils/pdftoppm.cc | 1 + utils/pdftops.cc | 1 + utils/pdftotext.cc | 1 + utils/pdfunite.cc | 1 + 12 files changed, 12 insertions(+) commit 020d2d0e6fb097a24a34e2be6180e3eedefc68dd Author: Oliver Sander Date: Sat Nov 9 06:32:46 2019 +0100 Remove goto-based error handling in pdffonts.cc Now that globalParams is a unique_ptr, there is no need for these gotos anymore. utils/pdffonts.cc | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) commit c6479d6cb7b57fea9319f24f8ab46e54aea7235d Author: Oliver Sander Date: Sat Nov 2 21:31:30 2019 +0100 Remove obsolete label 'err1' utils/pdfdetach.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 759d190581f8ff069ecee9155313a8e69a2ca9c6 Author: Oliver Sander Date: Sat Nov 2 17:50:59 2019 +0100 Make globalParams a std::unique_ptr cpp/poppler-document.cpp | 5 ++--- glib/poppler-document.cc | 8 ++++---- poppler/GlobalParams.cc | 2 +- poppler/GlobalParams.h | 3 ++- qt5/src/poppler-private.cc | 4 ++-- qt5/tests/check_optcontent.cpp | 8 ++++---- qt5/tests/check_strings.cpp | 4 ++-- test/gtk-test.cc | 4 +--- test/pdf-fullrewrite.cc | 3 +-- test/pdf-inspector.cc | 3 +-- test/perf-test.cc | 3 +-- utils/pdfattach.cc | 3 +-- utils/pdfdetach.cc | 3 +-- utils/pdffonts.cc | 3 +-- utils/pdfimages.cc | 3 +-- utils/pdfinfo.cc | 4 +--- utils/pdfseparate.cc | 3 +-- utils/pdfsig.cc | 3 +-- utils/pdftocairo.cc | 3 +-- utils/pdftohtml.cc | 4 +--- utils/pdftoppm.cc | 3 +-- utils/pdftops.cc | 3 +-- utils/pdftotext.cc | 4 +--- utils/pdfunite.cc | 3 +-- 24 files changed, 34 insertions(+), 55 deletions(-) commit 8b4a2891d9e4ca8ac835527cc7d114ab08e89ea7 Author: Albert Astals Cid Date: Fri Nov 8 00:43:05 2019 +0100 Fix uninitialized memory use in JBIG2Stream::readTextRegionSeg When the unlikely condition triggers poppler/JBIG2Stream.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 409121ea8b65189bcc2c8541297cd4b51c69d322 Author: Oliver Sander Date: Tue Oct 29 10:35:58 2019 +0100 Do not include string.h, it is not used utils/pdffonts.cc | 1 - 1 file changed, 1 deletion(-) commit 1601933e08e72df51e3ea923a8a34c198a29e518 Author: Oliver Sander Date: Tue Oct 29 10:34:22 2019 +0100 Use std::unique_ptr for passwords utils/pdffonts.cc | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) commit f37f1565c0aa4efec2eaa912397f61952f5c3c7d Author: Oliver Sander Date: Tue Oct 29 10:30:19 2019 +0100 Use std::unique_ptr for PDFDoc utils/pdffonts.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit d1f627fefd6dc84bd37064a421fc0095dbfd21c0 Author: Oliver Sander Date: Tue Oct 29 10:25:59 2019 +0100 Use std::string for the filename ... and create it on the stack rather than on the heap. Makes the code more readable. utils/pdffonts.cc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit d89faa0f8ceddb81fc4430dec08023ac987ad0e4 Author: Oliver Sander Date: Tue Oct 29 10:24:48 2019 +0100 Remove the 'err0' error handling goto target It is used only once, and removing it allows me to move variable declarations around more freely. utils/pdffonts.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 4102e37e3cc52d087c73593125b6a0db497c0f03 Author: Albert Astals Cid Date: Thu Nov 7 13:48:00 2019 +0100 CI: tweak the fedora builders .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3ea23da616817fd18de2108d2ecef3da32e04853 Author: Albert Astals Cid Date: Thu Nov 7 13:05:47 2019 +0100 CI: we can go back to current fedora for clazy-ci .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 280c096521d92f6c165f53021110828ad0174c12 Author: Albert Astals Cid Date: Wed Oct 30 23:04:09 2019 +0100 Update (C) of previous commits poppler/Sound.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4c42f03f26dc9ceb31bcd8bf7c290f3bc87fd862 Author: Albert Astals Cid Date: Wed Oct 30 23:01:40 2019 +0100 qt5: remove a bunch of unused internal functions qt5/src/poppler-annotation-helper.h | 118 ------------------------------------ 1 file changed, 118 deletions(-) commit 647274f118222cce978b3a79a50ad222d003d133 Author: Albert Astals Cid Date: Sun Oct 27 17:37:58 2019 +0100 Introduce Object::getNumWithDefaultValue Is like getNum but instead of asserting if Object is not a num it returns the given default value I find it much easier to read rect->x1 = obj1.arrayGet(0).getNumWithDefaultValue(0); than (obj2 = obj1.arrayGet(0), obj2.isNum() ? rect->x1 = obj2.getNum() : rect->x1 = 0); On top of it has the benefit of being slightly faster poppler/Annot.cc | 97 ++++++++---------------- poppler/Gfx.cc | 4 +- poppler/GfxState.cc | 214 ++++++++++++++++++---------------------------------- poppler/Object.h | 7 ++ poppler/Sound.cc | 5 +- 5 files changed, 111 insertions(+), 216 deletions(-) commit aa7827ab29377ef00c2dfbb16082617690375513 Author: Albert Astals Cid Date: Wed Oct 30 22:21:04 2019 +0100 Use Fedora 30 for clazy while they fix Fedora 31 .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bd3a71199b06d9fec69ff7d28e9c485628e997c8 Author: Adriaan de Groot Date: Sun Oct 27 20:27:59 2019 +0100 unicodeNormalizeNFKC: Make in const poppler/UnicodeTypeTable.cc | 5 +++-- poppler/UnicodeTypeTable.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) commit 1071f5f804ff53466825efdc6eff5818053f007e Author: Albert Astals Cid Date: Fri Oct 25 23:22:11 2019 +0200 0.82.0 CMakeLists.txt | 4 ++-- NEWS | 16 ++++++++++++++++ cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 21 insertions(+), 5 deletions(-) commit 36bd90e04f8434e51fd75901df030f0169c27df4 Author: Albert Astals Cid Date: Wed Oct 16 21:18:12 2019 +0200 Import md5 code from xpdf 4.02 Fixes issue 832 poppler/Decrypt.cc | 319 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 179 insertions(+), 140 deletions(-) commit e076a478e4d2f7d6445215814c86e6ac4654f575 Author: Oliver Sander Date: Mon Oct 14 20:08:33 2019 +0200 Make FontInfo::scan return a std::vector object ... rather than a pointer to a std::vector. Given that a std::vector is little more than a pointer and some size information, there is no need to create std::vector objects on the heap. Returning them by value is just as fast (the vector content is not copied), and makes the code more readable, too. cpp/poppler-font.cpp | 15 +++++-------- glib/poppler-document.cc | 51 +++++++++++++++++++++------------------------ poppler/FontInfo.cc | 8 +++---- poppler/FontInfo.h | 2 +- qt5/src/poppler-fontinfo.cc | 13 ++++-------- utils/pdffonts.cc | 14 +++---------- 6 files changed, 41 insertions(+), 62 deletions(-) commit 8911527dc38908ee56626fc55d09041475cc5145 Author: Oliver Sander Date: Mon Oct 14 15:15:45 2019 +0200 Use a std::unique_ptr for XRef This makes memory handling a tiny bit more robust. poppler/FontInfo.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 78379d8434646dc68d20e935a7e7da38705fa6cd Author: Bohumir Zamecnik Date: Fri Apr 12 13:47:52 2019 +0700 Install Cairo headers if Cairo has been found. Closes #83. CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) commit b35a585063723a5ed3cd592ce907fe605678d1bd Author: Simon McVittie Date: Fri Oct 4 09:08:18 2019 +0100 Silence deprecation warnings for PopplerAttachment->ctime, ->mtime GTime is not Y2038-safe, and is now marked as deprecated. Don't trigger deprecation warnings for projects that include poppler headers but do not otherwise use GTime. Part of #765. Signed-off-by: Simon McVittie glib/poppler-attachment.h | 3 +++ 1 file changed, 3 insertions(+) commit 6c4f3ea4b11033bcafbecad69887d77c6d366ce7 Author: Albert Astals Cid Date: Sun Oct 20 19:28:23 2019 +0200 Update (C) poppler/CharCodeToUnicode.cc | 1 + poppler/CharCodeToUnicode.h | 1 + 2 files changed, 2 insertions(+) commit f197ca2dc7b5f70392e99e18917fb39f20cfc585 Author: Albert Astals Cid Date: Sun Oct 20 19:11:15 2019 +0200 CharCodeToUnicode::mapToUnicode: Make clear the data is const poppler/Annot.cc | 5 +++-- poppler/CairoFontEngine.cc | 2 +- poppler/CairoFontEngine.h | 4 ++-- poppler/CairoOutputDev.cc | 4 ++-- poppler/CairoOutputDev.h | 4 ++-- poppler/CharCodeToUnicode.cc | 2 +- poppler/CharCodeToUnicode.h | 2 +- poppler/Gfx.cc | 2 +- poppler/GfxFont.cc | 10 +++++----- poppler/GfxFont.h | 6 +++--- poppler/MarkedContentOutputDev.cc | 2 +- poppler/MarkedContentOutputDev.h | 4 ++-- poppler/OutputDev.cc | 2 +- poppler/OutputDev.h | 4 ++-- poppler/PSOutputDev.cc | 2 +- poppler/PreScanOutputDev.cc | 2 +- poppler/PreScanOutputDev.h | 2 +- poppler/SplashOutputDev.cc | 4 ++-- poppler/SplashOutputDev.h | 4 ++-- poppler/TextOutputDev.cc | 6 +++--- poppler/TextOutputDev.h | 8 ++++---- qt5/src/ArthurOutputDev.cc | 2 +- qt5/src/ArthurOutputDev.h | 2 +- utils/HtmlOutputDev.cc | 4 ++-- utils/HtmlOutputDev.h | 4 ++-- utils/pdftohtml.cc | 6 +++--- 26 files changed, 50 insertions(+), 49 deletions(-) commit 3d6e70f763285f4e72188309164099e2dc06559c Author: corentin Date: Fri Oct 18 16:29:55 2019 +0200 Add const in CharCodeToUnicode Function updated: getLength mapToUnicode poppler/CharCodeToUnicode.cc | 2 +- poppler/CharCodeToUnicode.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 80de4789e70b69d913362566d2f84642eec9ac51 Author: Albert Astals Cid Date: Wed Oct 9 10:08:36 2019 +0200 Fix assert on malformed documents poppler/Form.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 498883b5397b3b951b5d41d17641ecf2ffe9b801 Author: Albert Astals Cid Date: Mon Oct 7 23:25:07 2019 +0200 Update (C) of previous commit poppler/SplashOutputDev.cc | 2 +- splash/SplashClip.cc | 1 + splash/SplashClip.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit 194e57f21e6a7fe2a5eb3cf687599978b09e03f9 Author: Stefan Brüns Date: Mon Oct 7 20:46:33 2019 +0200 Move the non-trivial part of the clip test to the implementation file This allows to only have a SplashXPathScanner forward declaration in the header file. splash/SplashClip.cc | 15 +++++++++++++++ splash/SplashClip.h | 21 +++------------------ 2 files changed, 18 insertions(+), 18 deletions(-) commit 9d875adabdc94f50de78d72528d373b46a8ed280 Author: Stefan Brüns Date: Mon Oct 7 19:57:32 2019 +0200 Include SplashMath.h only where needed poppler/SplashOutputDev.cc | 1 + splash/SplashClip.cc | 1 + splash/SplashClip.h | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) commit d03f5ab76b0d0dee199b65fc801236a38830b5fc Author: Even Rouault Date: Sun Oct 6 12:52:31 2019 +0200 Do not override user-defined CMAKE_C[XX]_FLAGS for clang 337585e3d881c2c2c9099888b09902119dc05bf8 unconditionnaly overrides any potential user-defined CMAKE_C[XX]_FLAGS. This for example breaks the GDAL oss-fuzz builds which build Poppler from source (see https://github.com/OSGeo/gdal/blob/master/gdal/fuzzers/build.sh#L54) So do the same as the GCC path where we save input CMAKE_C[XX]_FLAGS and reinject them in custom CMAKE_C{XX}_FLAGS_{build_configuration} The values are identical to GCC, execpt for the _DEBUG configuration where we remove '-O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline' since clang does not support -fno-reorder-blocks and -fno-schedule-insns, so it is likely better to disable any optimization for proper debugging. cmake/modules/PopplerMacros.cmake | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 337585e3d881c2c2c9099888b09902119dc05bf8 Author: Albert Astals Cid Date: Thu Oct 3 13:52:49 2019 +0200 Set our default cxx and c flags to clang too This code needs a bit of refactoring to share most of it between gcc and clang cmake/modules/PopplerMacros.cmake | 3 +++ 1 file changed, 3 insertions(+) commit 442be9e34a6af9295ccd487b3091a1abcd4a77ce Author: Albert Astals Cid Date: Thu Oct 3 13:37:10 2019 +0200 Enable a few more clang-tidy bugprone checks .gitlab-ci.yml | 2 +- poppler/Annot.cc | 2 +- qt5/src/poppler-annotation-private.h | 1 - qt5/src/poppler-link.h | 6 +++--- qt5/tests/check_object.cpp | 2 +- 5 files changed, 6 insertions(+), 7 deletions(-) commit 095735fa1259a030da8c854ee8ff649fe907642d Author: Albert Astals Cid Date: Wed Oct 2 17:50:42 2019 +0200 Enable clang-tidy bugprone-too-small-loop-variable And fixes for it in the code .gitlab-ci.yml | 2 +- cpp/tests/poppler-dump.cpp | 4 ++-- glib/poppler-document.cc | 2 +- poppler/Form.cc | 6 +++--- poppler/PSOutputDev.cc | 6 +++--- poppler/StructElement.cc | 4 ++-- qt5/src/poppler-document.cc | 4 ++-- splash/SplashXPathScanner.cc | 6 +++--- 8 files changed, 17 insertions(+), 17 deletions(-) commit f92b2858aa393c8886c35f0db50cc1a3a9603589 Author: Albert Astals Cid Date: Wed Oct 2 09:31:54 2019 +0200 GfxCIDFont::getCodeToGIDMap: n is const and an int poppler/GfxFont.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 5094d45e7994a76ded27c469b5e5f156c6045758 Author: Christian Persch Date: Mon May 27 23:36:19 2019 +0200 glib: Add poppler_document_new_from_bytes This allows creating a PopplerDocument from data stored in a GBytes. This is better than poppler_document_new_from_data() since the document will keep a reference to the data, instead of having to make sure manually that the data stays around as long as the document exists. Also poppler_document_new_from_data() is buggy in that it uses int for the data size instead of gsize. https://gitlab.freedesktop.org/poppler/poppler/issues/771 glib/poppler-document.cc | 59 +++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 4 +++ glib/reference/poppler-sections.txt | 1 + 3 files changed, 64 insertions(+) commit 144a07e4b4298e272c0d5e565ec587806da2ebbc Author: Albert Astals Cid Date: Tue Oct 1 17:45:10 2019 +0200 Use range for loops to iterate const arrays for (const TypeMapEntry &entry : typeMap) { is much easier to read than for (unsigned i = 0; i < sizeof(typeMap) / sizeof(typeMap[0]); i++) { poppler/FontInfo.cc | 4 ++-- poppler/GfxFont.cc | 4 ++-- poppler/StructElement.cc | 24 ++++++++++++------------ poppler/TextOutputDev.cc | 7 +++---- 4 files changed, 19 insertions(+), 20 deletions(-) commit dbd3e82f648df57cf2b4c26a0bc016c983f79138 Author: Albert Astals Cid Date: Fri Sep 27 23:23:24 2019 +0200 Run clang-tidy on CI Only with the performance- checks enabled for now .gitlab-ci.yml | 4 ++-- cpp/poppler-destination.cpp | 4 ++-- cpp/poppler-destination.h | 5 +++-- cpp/poppler-page.cpp | 6 +++--- cpp/poppler-page.h | 6 +++--- poppler/CertificateInfo.cc | 19 ++++++++++++++----- poppler/CertificateInfo.h | 10 +++++----- poppler/Object.h | 4 ++-- poppler/PDFDoc.cc | 4 ++-- qt5/src/poppler-annotation.cc | 2 +- qt5/src/poppler-link.cc | 2 +- qt5/src/poppler-outline.cc | 5 +++-- qt5/src/poppler-qt5.h | 4 ++-- splash/SplashPath.cc | 4 ++-- splash/SplashPath.h | 4 ++-- 15 files changed, 47 insertions(+), 36 deletions(-) commit 7b9aa28e5eb613e7a9d7c6c688aea4025a35543a Author: Albert Astals Cid Date: Sun Sep 29 17:59:52 2019 +0200 Also switch the const_cast in Stream This way we only const_cast in free() poppler/Stream.cc | 50 ++++++++++++++++++++++++++------------------------ poppler/Stream.h | 4 ++-- 2 files changed, 28 insertions(+), 26 deletions(-) commit e702c6508e9b2e8082d99683ba933e9679608251 Author: Albert Astals Cid Date: Sun Sep 29 17:41:44 2019 +0200 Move the const_cast from assignment to free The problem is that some of the times the pointers hold values to const tables and some others hold values to dynamic memory. Instead of const_casting the const tables when needed and holding a non const pointer, we hold a const pointer and only const cast on free if needed fofi/FoFiType1C.cc | 21 +++++++++++---------- fofi/FoFiType1C.h | 2 +- poppler/UnicodeMap.cc | 15 ++++++++------- poppler/UnicodeMap.h | 4 ++-- 4 files changed, 22 insertions(+), 20 deletions(-) commit facb696ee9d7654b2c60f2ebe3e09d71f11d384c Author: Albert Astals Cid Date: Sun Sep 29 17:36:25 2019 +0200 Update (C) from previous commit fofi/FoFiEncodings.cc | 1 + fofi/FoFiEncodings.h | 1 + fofi/FoFiType1C.cc | 1 + poppler/Gfx.cc | 1 + poppler/Gfx.h | 1 + poppler/JArithmeticDecoder.cc | 14 ++++++++++++++ poppler/JArithmeticDecoder.h | 1 + poppler/JBIG2Stream.cc | 1 + poppler/JBIG2Stream.h | 1 + poppler/PDFDocEncoding.cc | 1 + poppler/PDFDocEncoding.h | 1 + poppler/Stream.cc | 1 + poppler/Stream.h | 1 + poppler/UnicodeMap.cc | 1 + poppler/UnicodeMap.h | 1 + poppler/UnicodeMapTables.h | 14 ++++++++++++++ 16 files changed, 42 insertions(+) commit 7ee694c461e35639842b88a6ce4b8b828b733a63 Author: Volker Krause Date: Sun Sep 29 16:52:55 2019 +0200 Make some static data tables const This moves 14.4kB from .data to .rodata, and another 11.6kB from .data to .data.rel.ro. fofi/FoFiEncodings.cc | 6 ++--- fofi/FoFiEncodings.h | 6 ++--- fofi/FoFiType1C.cc | 6 ++--- poppler/Gfx.cc | 6 ++--- poppler/Gfx.h | 4 +-- poppler/JArithmeticDecoder.cc | 8 +++--- poppler/JArithmeticDecoder.h | 8 +++--- poppler/JBIG2Stream.cc | 62 +++++++++++++++++++++---------------------- poppler/JBIG2Stream.h | 18 ++++++------- poppler/PDFDocEncoding.cc | 2 +- poppler/PDFDocEncoding.h | 2 +- poppler/Stream.cc | 14 +++++----- poppler/Stream.h | 6 ++--- poppler/UnicodeMap.cc | 4 +-- poppler/UnicodeMap.h | 2 +- poppler/UnicodeMapTables.h | 8 +++--- 16 files changed, 81 insertions(+), 81 deletions(-) commit 5242a057594f3e635727a3b2f482a3aace10a0e4 Author: Albert Astals Cid Date: Sun Sep 29 12:19:52 2019 +0200 pdf-inspector: Support builddir != srcdir test/CMakeLists.txt | 1 + test/pdf-inspector.cc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit cb7de47e8da8aef49b63647112c6d4b615137c8c Author: Albert Astals Cid Date: Fri Sep 27 22:17:48 2019 +0200 Update (C) of previous commit fofi/FoFiTrueType.cc | 2 +- fofi/FoFiTrueType.h | 2 +- fofi/FoFiType1C.cc | 2 +- fofi/FoFiType1C.h | 2 +- poppler/CharCodeToUnicode.cc | 2 +- poppler/CharCodeToUnicode.h | 2 +- poppler/DateInfo.cc | 2 +- poppler/DateInfo.h | 2 +- poppler/OutputDev.cc | 2 +- poppler/OutputDev.h | 2 +- poppler/PreScanOutputDev.cc | 2 +- poppler/PreScanOutputDev.h | 2 +- poppler/SplashOutputDev.h | 2 +- poppler/UTF.cc | 2 +- poppler/UTF.h | 1 + qt5/src/ArthurOutputDev.h | 2 +- splash/Splash.h | 2 +- splash/SplashFont.cc | 2 +- splash/SplashFont.h | 2 +- splash/SplashTypes.h | 2 +- utils/ImageOutputDev.h | 2 +- 21 files changed, 21 insertions(+), 20 deletions(-) commit 120cfc0de67501988edc9ded58d2a534d0b5a70e Author: Albert Astals Cid Date: Fri Sep 27 18:03:30 2019 +0200 Add some const Suggested by clang-tidy readability-non-const-parameter check fofi/FoFiTrueType.cc | 4 ++-- fofi/FoFiTrueType.h | 4 ++-- fofi/FoFiType1C.cc | 4 ++-- fofi/FoFiType1C.h | 4 ++-- poppler/CairoOutputDev.cc | 8 ++++---- poppler/CairoOutputDev.h | 4 ++-- poppler/CairoRescaleBox.cc | 4 ++-- poppler/CharCodeToUnicode.cc | 2 +- poppler/CharCodeToUnicode.h | 2 +- poppler/DateInfo.cc | 2 +- poppler/DateInfo.h | 2 +- poppler/Decrypt.cc | 34 +++++++++++++++++----------------- poppler/GfxState.cc | 18 +++++++++--------- poppler/GfxState.h | 18 +++++++++--------- poppler/OutputDev.cc | 2 +- poppler/OutputDev.h | 2 +- poppler/PSOutputDev.cc | 10 +++++----- poppler/PSOutputDev.h | 10 +++++----- poppler/PreScanOutputDev.cc | 2 +- poppler/PreScanOutputDev.h | 2 +- poppler/SplashOutputDev.cc | 4 ++-- poppler/SplashOutputDev.h | 2 +- poppler/UTF.cc | 2 +- poppler/UTF.h | 2 +- poppler/XRef.cc | 2 +- poppler/XRef.h | 2 +- qt5/src/ArthurOutputDev.cc | 2 +- qt5/src/ArthurOutputDev.h | 2 +- qt5/src/poppler-annotation-helper.h | 4 ++-- splash/Splash.cc | 4 ++-- splash/Splash.h | 4 ++-- splash/SplashFont.cc | 2 +- splash/SplashFont.h | 4 ++-- splash/SplashTypes.h | 5 +++-- utils/HtmlOutputDev.cc | 2 +- utils/HtmlOutputDev.h | 2 +- utils/ImageOutputDev.cc | 2 +- utils/ImageOutputDev.h | 2 +- 38 files changed, 94 insertions(+), 93 deletions(-) commit cec2397fc0542516cac16615f63ab89032806a2e Author: Albert Astals Cid Date: Fri Sep 27 16:56:33 2019 +0200 Annot: Protect against division by 0.0 poppler/Annot.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 0e8ed9a34e04cc4e56b31f4057c267630c4a7656 Author: Albert Astals Cid Date: Mon Sep 23 10:01:18 2019 +0200 Annot: Fix uninitialized memory read on broken files By initializing width and charCount earlier in Annot::layoutText, there's two early return that need the values to be initialized and we were initializing them later in the function anyway so just move the block to the beginning of the function poppler/Annot.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 39a8b10181d77fff8846df2cff236a3105dd03a5 Author: Albert Astals Cid Date: Sun Sep 22 17:56:22 2019 +0200 Poppler 0.81.0 CMakeLists.txt | 4 ++-- NEWS | 8 ++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) commit 1ef3b513164640390ffeb765ec0dcfa8d36f7262 Author: Albert Astals Cid Date: Sun Sep 22 11:33:31 2019 +0200 Update (C) of last commit poppler/CairoOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit fef3bbc1ef61fb8ee94dc12179d1f660e4016458 Author: Marek Kasik Date: Fri Sep 20 16:33:04 2019 +0200 CairoOutputDev: Check scaled dimensions for 0 Check scaledWidth and scaledHeight for 0 at RescaleDrawImage::getSourceImage() as is done on other places. Set the dimension to 1 if it is 0. Fixes issue #737 poppler/CairoOutputDev.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 72ecb16fb7cfd76aab00a5d664eb05833b85dd77 Author: Albert Astals Cid Date: Mon Sep 2 21:35:03 2019 +0200 CI: Don't force a particular libc++ version .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dc77116d0a27f70eeba4a0a4e8733759cd867f3d Author: Albert Astals Cid Date: Sun Sep 1 22:07:02 2019 +0200 SplashBitmap: Fix wrong width condition for splashModeDeviceN8 splash/SplashBitmap.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 335cb47a0e369fd6cf7af594801c2bcf5d74675a Author: Albert Astals Cid Date: Sat Aug 24 02:01:53 2019 +0200 GfxDeviceNColorSpace: Port to std::vector I was tired of having two constructors for GfxDeviceNColorSpace, both taking GooString ** but one copying those strings and the other keeping them for itself. Moved to std::vector without much fallout in the rest of the code goo/GooString.h | 3 +- poppler/GfxState.cc | 78 +++++++++++++++++++--------------------------- poppler/GfxState.h | 11 +++---- poppler/PSOutputDev.cc | 16 +++++----- poppler/PSOutputDev.h | 2 +- poppler/SplashOutputDev.cc | 8 ++--- 6 files changed, 52 insertions(+), 66 deletions(-) commit a2f2f3b91fb007b0c17090d369179e7605c9a4b7 Author: Albert Astals Cid Date: Sat Aug 24 18:17:10 2019 +0200 GfxDeviceNColorSpace::parse: Only add to separationList if non null Fixes crash with bug-poppler85281.pdf poppler/GfxState.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 2e32545b1d2e31359775a65ef34e0385c9079126 Author: Albert Astals Cid Date: Fri Aug 23 00:11:45 2019 +0200 Always enable SPLASH_CMYK Doesn't seem to cause any speed regression and one ifdef less is code easier to maintain .gitlab-ci.yml | 2 +- CMakeLists.txt | 4 -- config.h.cmake | 3 - poppler/PSOutputDev.cc | 2 - poppler/SplashOutputDev.cc | 165 +------------------------------------------- poppler/SplashOutputDev.h | 2 - qt5/src/poppler-document.cc | 4 -- qt5/src/poppler-page.cc | 10 +-- splash/Splash.cc | 75 +------------------- splash/Splash.h | 13 +--- splash/SplashBitmap.cc | 20 ------ splash/SplashBitmap.h | 2 - splash/SplashState.cc | 19 +---- splash/SplashState.h | 2 - splash/SplashTypes.h | 21 ++---- utils/pdftoppm.cc | 15 +--- utils/pdftops.cc | 6 -- 17 files changed, 17 insertions(+), 348 deletions(-) commit 9d5af77a9538be2cb4fce2fc4601359bb41d3976 Author: Albert Astals Cid Date: Sat Aug 24 00:59:09 2019 +0200 Initialize BaseCryptStream::nextCharBuff on construction Otherwise if we construct a DecryptStream and next we call lookupChar it would use un-initialized memory poppler/Decrypt.cc | 1 + 1 file changed, 1 insertion(+) commit d2a37632661d1c8c29fa28a6e1a5d812508f4ea3 Author: Albert Astals Cid Date: Thu Aug 22 23:27:22 2019 +0200 0.80.0 CMakeLists.txt | 4 ++-- NEWS | 27 +++++++++++++++++++++++++++ cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 33 insertions(+), 6 deletions(-) commit e47daf60cfbbbf1b1501b32a80e5625e51be8eae Author: Evgeny Stambulchik Date: Wed Aug 21 21:57:14 2019 +0300 Make sure guint64 is not overflown glib/poppler-movie.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 7866954b44b7c333b875e3cf5e4865802682e2d2 Author: Evgeny Stambulchik Date: Wed Aug 21 20:55:13 2019 +0300 Store PopplerMovie.volume as double, mapped to 0 - 1 glib/poppler-movie.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 52f70051f652de2ec1e1f8e83fbc090a7c9d0603 Author: Evgeny Stambulchik Date: Wed Aug 21 20:51:10 2019 +0300 PopplerMovieTime no longer used glib/reference/poppler-sections.txt | 1 - 1 file changed, 1 deletion(-) commit f00b088072b4f4a8392a96e2243059ffdbbcc33b Author: Albert Astals Cid Date: Wed Aug 21 17:21:57 2019 +0200 GfxState: Move vars inside the ifdef they are used in poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 365a92e5ed21c642a45dfb75295b7dfa7fc4499a Author: Evgeny Stambulchik Date: Wed Aug 21 01:08:31 2019 +0300 Use guint64 for time-related values of movie objects (in ns) glib/demo/utils.c | 7 ++----- glib/poppler-movie.cc | 50 ++++++++++++++++++++++++++++++-------------------- glib/poppler-movie.h | 20 ++------------------ 3 files changed, 34 insertions(+), 43 deletions(-) commit 764dd94a7f5cac3426a58d3f7efbcf8d1b8c787f Author: Evgeny Stambulchik Date: Wed Aug 21 00:40:13 2019 +0300 Make poppler_movie_get_volume() return double 0.0-1.0 glib/demo/utils.c | 2 +- glib/poppler-movie.cc | 6 +++--- glib/poppler-movie.h | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) commit 8c2c5c46aba84d714f6c8f779eda0646b31b956b Author: Evgeny Stambulchik Date: Wed Aug 21 00:33:16 2019 +0300 Rename poppler_movie_synchronous_play -> poppler_movie_is_synchronous glib/demo/utils.c | 2 +- glib/poppler-movie.cc | 4 ++-- glib/poppler-movie.h | 2 +- glib/reference/poppler-sections.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) commit b1df2588a8180d3aa027c25764377f28c8d94ce6 Author: Evgeny Stambulchik Date: Sat Jul 27 00:34:31 2019 +0300 Update Since: comments for new video APIs glib/poppler-movie.cc | 12 ++++++------ glib/poppler-movie.h | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) commit fc79087f2d26b355b4477155141578a59ff06620 Author: Evgeny Stambulchik Date: Fri Jul 5 02:02:26 2019 +0300 Change time-related Movie glib API's to return time as out Also, added Since: strings and completed missing API doc comments. glib/demo/utils.c | 4 ++-- glib/poppler-movie.cc | 46 ++++++++++++++++++++++++++++++++++++---------- glib/poppler-movie.h | 15 +++++++++++++-- 3 files changed, 51 insertions(+), 14 deletions(-) commit 9a65ab0f43bf3fe1c60da0a0657ccdbaddaba1e5 Author: Evgeny Stambulchik Date: Fri Jul 5 01:11:25 2019 +0300 Update the Movie section in poppler-sections.txt glib/reference/poppler-sections.txt | 7 +++++++ 1 file changed, 7 insertions(+) commit 2f55f4cc10cc7544b1c564ef28f84d470b2dbe05 Author: Evgeny Stambulchik Date: Thu Jun 20 00:07:07 2019 +0300 Implement missing Movie API's in the Glib bindings glib/demo/utils.c | 11 +++++- glib/poppler-movie.cc | 104 ++++++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-movie.h | 17 +++++++++ 3 files changed, 131 insertions(+), 1 deletion(-) commit c6dbde146a47e2c899b57923b370470eddeb90f7 Author: Albert Astals Cid Date: Wed Aug 21 13:00:17 2019 +0200 CI: Android move to the newer kdeorg sdk image .gitlab-ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 7e19574b70edefa8161e57c33025987e58b27c03 Author: Marek Kasik Date: Wed Aug 21 11:40:53 2019 +0200 glib: Documentation fixes for viewer preferences Clarify documentation about returned values of recently added viewer preferences. https://gitlab.freedesktop.org/poppler/poppler/issues/290 glib/poppler-document.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit a89b52e9eefa65a099f59e84080c9762a1d9d9a5 Author: Marek Kasik Date: Tue Aug 20 21:13:38 2019 +0200 glib: Return nullptr if n_ranges is nullptr Return nullptr if we don't have correct pointer for storing number of ranges in poppler_document_get_print_page_ranges(). https://gitlab.freedesktop.org/poppler/poppler/issues/290 glib/poppler-document.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5a61eb75ca807f050b5f436a32de768f63e6177e Author: Marek Kasik Date: Fri Aug 16 14:25:10 2019 +0200 glib: Use C struct for PopplerPageRange Boxed type is not needed so use just common C struct. Use G_GNUC_MALLOC attribute on poppler_document_get_print_page_ranges(). https://gitlab.freedesktop.org/poppler/poppler/issues/290 glib/poppler-document.cc | 57 +++++------------------------------------------- glib/poppler-document.h | 17 +++------------ 2 files changed, 8 insertions(+), 66 deletions(-) commit 18afdb2eef77b39df78bdbf6c9b03f861779e433 Author: Marek Kasik Date: Wed Jun 12 19:01:29 2019 +0200 glib: Make PrintPageRange preference available in API Add poppler_document_get_print_page_ranges() so that applications which use poppler's glib frontend can access this preference. https://gitlab.freedesktop.org/poppler/poppler/issues/290 glib/poppler-document.cc | 44 +++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 3 +++ glib/reference/poppler-sections.txt | 1 + 3 files changed, 48 insertions(+) commit 40ec62ce12b18f13d84d14a102b8b7c8abafedab Author: Marek Kasik Date: Tue Jun 4 13:08:26 2019 +0200 glib: Add PopplerPageRange type This type will be used for getting of suggested page ranges from opened document if it contains PrintPageRange viewer preference. https://gitlab.freedesktop.org/poppler/poppler/issues/290 glib/poppler-document.cc | 47 +++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 24 ++++++++++++++++++++++++ glib/poppler.h | 1 + 3 files changed, 72 insertions(+) commit a3394adb31e7f6e91bef6f52cfdddb132dc5e32d Author: Marek Kasik Date: Thu Feb 21 16:24:46 2019 +0100 glib: Make NumCopies preference available in API Add poppler_document_get_print_n_copies() so that applications which use poppler's glib frontend can access this preference. https://gitlab.freedesktop.org/poppler/poppler/issues/290 glib/poppler-document.cc | 51 ++++++++++++++++++++++++++++++++++++- glib/poppler-document.h | 2 ++ glib/reference/poppler-sections.txt | 1 + 3 files changed, 53 insertions(+), 1 deletion(-) commit 038340faee2892b558a255a3578966df3705f69e Author: Marek Kasik Date: Mon Jun 3 15:03:02 2019 +0200 glib: Make Duplex preference available in API Add poppler_document_get_print_duplex() function and PopplerPrintDuplex enum so that applications which use poppler's glib frontend can access this preference. https://gitlab.freedesktop.org/poppler/poppler/issues/290 glib/poppler-document.cc | 66 +++++++++++++++++++++++++++++++++++-- glib/poppler-document.h | 23 ++++++++++++- glib/reference/poppler-sections.txt | 3 ++ glib/reference/poppler.types | 1 + 4 files changed, 90 insertions(+), 3 deletions(-) commit fb05cab36ec1c29ea1e2f727bba95db58b692a95 Author: Marek Kasik Date: Wed Jan 16 12:47:38 2019 +0100 glib: Make print scaling getter visible Prefix poppler_document_get_print_scaling with POPPLER_PUBLIC in glib/poppler-document.h. glib/poppler-document.h | 1 + 1 file changed, 1 insertion(+) commit 5b81ab6ce06f60daa63029a3eb12cd31d6852799 Author: Adrian Bunk Date: Tue Aug 20 21:00:40 2019 +0300 Remove USE_FIXEDPOINT support This was already non-compiling for some time. Closes #821 CMakeLists.txt | 7 -- config.h.cmake | 3 - goo/FixedPoint.cc | 145 --------------------------------- goo/FixedPoint.h | 176 ----------------------------------------- poppler/poppler-config.h.cmake | 5 -- splash/Splash.cc | 30 ------- splash/SplashFTFont.cc | 69 ---------------- splash/SplashMath.h | 53 ++----------- splash/SplashTypes.h | 5 +- splash/SplashXPath.cc | 22 ------ 10 files changed, 7 insertions(+), 508 deletions(-) commit d70f77ee6a1bdee8b17f08f3066c0cd685853d21 Author: Albert Astals Cid Date: Tue Aug 13 10:55:09 2019 +0200 Decrypt: take a Ref instead of two int poppler/Decrypt.cc | 30 +++++++++++++++--------------- poppler/Decrypt.h | 8 ++++---- poppler/PDFDoc.cc | 10 +++++----- poppler/Parser.cc | 4 ++-- 4 files changed, 26 insertions(+), 26 deletions(-) commit 242c53687ef5f685bb39fcc2b07d34f1443d2c75 Author: Albert Astals Cid Date: Tue Aug 13 10:51:47 2019 +0200 PDFDoc: Add some overloads that take a Ref instead of two int poppler/PDFDoc.cc | 44 +++++++++++++++++++++++++------------------- poppler/PDFDoc.h | 15 ++++++++++----- 2 files changed, 35 insertions(+), 24 deletions(-) commit 3a4a593146e614c31628f9327b2bc1320ac8caa5 Author: Albert Astals Cid Date: Tue Aug 13 10:25:09 2019 +0200 XRef: add XRef::add overload that takes a Ref poppler/PDFDoc.cc | 18 +++++++++--------- poppler/XRef.cc | 5 +++++ poppler/XRef.h | 1 + 3 files changed, 15 insertions(+), 9 deletions(-) commit 2930542f667ac187533ec899280df4b0b7ed0ba9 Author: Albert Astals Cid Date: Sat Aug 10 11:54:27 2019 +0200 GfxPatchMeshShading::parse: Fix abort on broken files poppler/GfxState.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit b7d1374c1eedc32669c1608f6213bea2d7e5fb7b Author: Albert Astals Cid Date: Thu Aug 8 19:27:09 2019 +0200 Update (C) of last commit qt5/src/poppler-fontinfo.cc | 1 + qt5/src/poppler-private.h | 1 + qt5/src/poppler-qt5.h | 1 + 3 files changed, 3 insertions(+) commit 623983346bb2075d572aa2d8c1757bff5b807126 Author: Jan Grulich Date: Wed Aug 7 07:46:29 2019 +0200 Add subsitute-font information to Qt bindings qt5/src/poppler-fontinfo.cc | 5 +++++ qt5/src/poppler-private.h | 2 ++ qt5/src/poppler-qt5.h | 6 ++++++ 3 files changed, 13 insertions(+) commit 98a5a25d88fd919e6267fbb7bd9ef0669889f16a Author: Dan Shea Date: Mon Aug 5 19:59:54 2019 +0200 Update (C) of previous commit poppler/TextOutputDev.cc | 1 + poppler/TextOutputDev.h | 1 + utils/pdftotext.cc | 1 + 3 files changed, 3 insertions(+) commit 54f799e6fda99cf0cc826884247d92c6dc36d8e7 Author: Dan Shea <7741-dshea@users.noreply.gitlab.freedesktop.org> Date: Thu Aug 1 22:11:44 2019 +0000 Add pdftotext -nodiag flag to remove diagonal text on output poppler/TextOutputDev.cc | 39 +++++++++++++++++++++++++++++++++------ poppler/TextOutputDev.h | 17 ++++++++++++----- utils/pdftotext.1 | 5 +++++ utils/pdftotext.cc | 7 +++++-- 4 files changed, 55 insertions(+), 13 deletions(-) commit d706a9ae17bbc03cc2f0b19f89f84b39571df0a6 Author: Albert Astals Cid Date: Thu Aug 1 23:27:27 2019 +0200 GfxRadialShading::parse: Fix memory leak on broken files poppler/GfxState.cc | 3 +++ 1 file changed, 3 insertions(+) commit f3502635eed45d8783c44fdc90487786c8fc4f23 Author: João Netto Date: Sat Jun 29 10:44:33 2019 -0300 Implemented support for modifying the text appearance stream text poppler/Annot.cc | 2 +- poppler/Form.cc | 19 +++++++++++++++++++ poppler/Form.h | 6 ++++++ qt5/src/poppler-form.cc | 8 ++++++++ qt5/src/poppler-form.h | 10 ++++++++++ qt5/src/poppler-private.cc | 5 +++++ qt5/src/poppler-private.h | 2 ++ qt5/tests/check_forms.cpp | 40 ++++++++++++++++++++++++++++++++++++++++ 8 files changed, 91 insertions(+), 1 deletion(-) commit 355fd8d58ca0209284fe568b3add28f207e995c1 Author: Stefan Brüns Date: Mon Aug 27 02:29:20 2018 +0200 SplashXPathScanner: Optionally use small_vector from boost Currently, each row in the intersections vector is allocated separately, when the first intersection is added. To avoid these allocations for common simple polygons, boost::container::small_vector<4, T> is used, which stores up to 4 intersections inline. small_vector is a header-only class. For the documents from #57 (fdo#96728) and #24 (fdo#78728), the runtime/memory is significantly reduced (according to /usr/bin/time -v): (1) $> pdftoppm -r 18 -aa no runsforever-poppler.pdf (2) $> pdftoppm surf-types.pdf Before/After runsforever-poppler | surf-types User time (seconds): 2348.08 / 1773.53 | 7.76 / 5.02 Maximum resident set size (kbytes): 46288 / 45896 | 14076 / 13748 CMakeLists.txt | 13 +++++++++++++ poppler/poppler-config.h.cmake | 6 ++++++ splash/SplashXPathScanner.cc | 2 ++ splash/SplashXPathScanner.h | 14 ++++++++++++++ 4 files changed, 35 insertions(+) commit 3348f4d3cdd625b47c3a63b86f9329df3363e29f Author: João Netto Date: Sat Jul 20 14:50:56 2019 -0300 These changes were implemented in 0.79 qt5/src/poppler-form.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 9bbecdecc8d75a59f270ea6d7af2f22fb201c29f Author: Albert Astals Cid Date: Fri Jul 19 00:57:07 2019 +0200 Update (C) of previous commit qt5/src/poppler-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ff01f747788e5dfee6a30153a88999e76c7f770b Author: Albert Astals Cid Date: Fri Jul 19 00:42:27 2019 +0200 qt5: Fix MSVC build (hopefully) qt5/src/poppler-private.cc | 4 ++-- qt5/src/poppler-private.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit f390d834ecbfe1350f82467d44291d0f567942ee Author: Albert Astals Cid Date: Wed Jul 17 17:34:15 2019 +0200 Simplify GfxResources::lookupPattern by using the new Dict::lookup that returns the Ref if the object is a Ref poppler/Gfx.cc | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) commit dfcd9b8ed7f164d1fa7eb964d0944a136f646d3f Author: Albert Astals Cid Date: Thu Jul 18 13:54:12 2019 +0200 CI: install glibc-langpack-en on fedora .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit aa0f0d718300b4244e0b662f391552d6d91dd84f Author: Albert Astals Cid Date: Wed Jul 17 17:45:12 2019 +0200 cmake: Mark external lib include dirs as SYSTEM this way -isystem is used instead of -I which is the correct thing to do CMakeLists.txt | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit 8ac28200d29c84076fe8845ffacfcf8aa1d1a0f7 Author: Albert Astals Cid Date: Wed Jul 17 17:43:30 2019 +0200 qt5: Simplify code that creates an invalid Ref qt5/src/poppler-annotation.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 95f5088f2fef4f0a7440c30df648d44a3b247a40 Author: Albert Astals Cid Date: Wed Jul 17 00:53:17 2019 +0200 gfree: No need to check for p != nullptr, std::free already does that goo/gmem.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 15c89ce277bddab535e5ea17081f2a87b1bcbe8a Author: Albert Astals Cid Date: Wed Jul 17 00:46:05 2019 +0200 qt5: Page::textList: Fix leak when aborting extraction qt5/src/poppler-page.cc | 1 + 1 file changed, 1 insertion(+) commit a57e2d47049a7f0067381dfa0c490caf946b93e0 Author: Albert Astals Cid Date: Wed Jul 17 00:41:52 2019 +0200 Link: Fix memory leak on invalid files poppler/Link.cc | 1 + 1 file changed, 1 insertion(+) commit 1f244751732f4036e23476cd169f1e1e564b4cd5 Author: Albert Astals Cid Date: Tue Jul 16 00:34:02 2019 +0200 Poppler 0.79.0 CMakeLists.txt | 2 +- NEWS | 16 ++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 20 insertions(+), 4 deletions(-) commit 68ef84e5968a4249c2162b839ca6d7975048a557 Author: Albert Astals Cid Date: Mon Jul 15 23:24:22 2019 +0200 JPXStream::init: ignore dict Length if clearly broken Fixes issue #805 poppler/JPEG2000Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b224e2f5739fe61de9fa69955d016725b2a4b78d Author: Albert Astals Cid Date: Mon Jul 15 22:11:09 2019 +0200 SplashOutputDev::tilingPatternFill: Fix crash on broken file Issue #802 poppler/SplashOutputDev.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 2d191b49ea074cc69ba4c68a572f26c8bdb55abd Author: Albert Astals Cid Date: Wed Jul 10 01:10:22 2019 +0200 Fix mistake on 093531cd0d0878b892d92ebc56c26936e5de3712 These i should have been j too poppler/TextOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bf7d1b7daa7c573237884f42f28d38ce335ea49b Author: Albert Astals Cid Date: Tue Jul 9 00:04:48 2019 +0200 Update (C) of last commit poppler/Annot.cc | 1 + poppler/Annot.h | 1 + qt5/src/poppler-form.cc | 1 + qt5/src/poppler-form.h | 1 + qt5/src/poppler-private.cc | 1 + qt5/src/poppler-private.h | 1 + 6 files changed, 6 insertions(+) commit 04e8309d18fa2f90ed93930e7eb689e523c7eb44 Author: João Netto Date: Mon Jul 8 20:43:19 2019 -0300 Added option to set the form available to print qt5/src/poppler-form.cc | 16 ++++++++++++++++ qt5/src/poppler-form.h | 12 ++++++++++++ qt5/tests/check_forms.cpp | 20 ++++++++++++++++++++ 3 files changed, 48 insertions(+) commit 6afe59eb8bcb223d28eef5bb364ebb4d35ed0f59 Author: João Netto Date: Tue Jun 11 19:06:01 2019 -0300 Implemented support for setIcon by changing appearance Added test for setIcon Made changes to be more inline with API. poppler/Annot.cc | 13 +++++++++- poppler/Annot.h | 1 + qt5/src/poppler-form.cc | 58 ++++++++++++++++++++++++++++++++++++++++++++ qt5/src/poppler-form.h | 39 ++++++++++++++++++++++++++++++ qt5/src/poppler-private.cc | 8 ++++++- qt5/src/poppler-private.h | 8 +++++++ qt5/tests/check_forms.cpp | 60 ++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 185 insertions(+), 2 deletions(-) commit 37659c01087eb8b25a5a593268f1acf52e6624f7 Author: Albert Astals Cid Date: Thu Jul 4 11:06:24 2019 +0200 Account for verticesA possible overflow in GfxGouraudTriangleShading::parse fixes oss-fuzz file abort poppler/GfxState.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit e69dc7a5a44c1c3fb97023d44e9e99a2bca75a46 Author: Albert Astals Cid Date: Wed Jul 3 16:18:43 2019 +0200 TextOuputDev: Fix crash when grealloc would overflow Introduces a new greallocn variant that doesn't free the pointer passed in case of error, since the pointer holds pointers inside, that would lead to leak of all those pointers goo/gmem.h | 12 ++++++++---- poppler/TextOutputDev.cc | 13 +++++++++---- 2 files changed, 17 insertions(+), 8 deletions(-) commit ee7f64083109b18e09b50c0a35136060f7495dbe Author: Albert Astals Cid Date: Thu Jul 4 01:01:28 2019 +0200 Add a template asking people to check the merge option .gitlab/merge_request_templates/merge_request_template.md | 3 +++ 1 file changed, 3 insertions(+) commit 8d2484c25564b67061031da5c900a8757e30dddc Author: Federico Mena Quintero Date: Wed Jul 3 20:26:59 2019 +0000 Turn README into README.md and expand it README | 39 ----------------------- README.md | 107 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 107 insertions(+), 39 deletions(-) commit a8dd0a5909c8902881fc382fa52eda462905979d Author: Albert Astals Cid Date: Wed Jul 3 14:10:13 2019 +0200 qt5: replace deprecated qStableSort with std::stable_sort qt5/src/poppler-optcontent.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cf629d6f829d1371b86fc654891ca83533b0542e Author: Albert Astals Cid Date: Wed Jul 3 14:06:09 2019 +0200 QString::null is deprecated, use QString() qt5/src/poppler-page.cc | 2 +- qt5/src/poppler-qt5.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4ed864b2c412a3f887973c2873104169909bec1b Author: Albert Astals Cid Date: Wed Jul 3 14:02:23 2019 +0200 Update (C) after last commit poppler/Function.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 245abada13cf9841c5ad716e814799343f3562df Author: Albert Astals Cid Date: Mon Jul 1 12:00:12 2019 +0200 Change Function::getToken return a GooString instead of a pointer Makes the calling code simpler, also no need to check for null since the function was never returning null anyway Fixes a memory leak since some of the conditions were missing a delete tok call poppler/Function.cc | 63 ++++++++++++++++------------------------------------- poppler/Function.h | 2 +- 2 files changed, 20 insertions(+), 45 deletions(-) commit ccfaa9dc0f8929d9ec49d8f49ad017cdd06ee5cb Author: Tobias Deiminger Date: Mon Jul 1 23:23:01 2019 +0200 Add unit test for class DefaultAppearance qt5/tests/check_annotations.cpp | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) commit 68b74ab18016520f755bf8bc35e9804fe378ad91 Author: Tobias Deiminger Date: Mon Jul 1 23:10:48 2019 +0200 Fix bad cast of GooString* to const char* in DefaultAppearance Casting GooString* to const char* was probably a reminder from a time where GooString layout had been under poppler control. Nowadays GooString derives from std::string and we must not rely upon the memory layout. The bug leads to DefaultAppearance::getFontName() always returning an invalid Object. The offending code is reachable via AnnotFreeText::generateFreeTextAppearance. poppler/Annot.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 080a79b47c643ccf68d4be1b49ec6062d0b8ba36 Author: Daniel Schaefer Date: Thu Jun 27 18:11:44 2019 +0200 Convert all files to UTF-8 They were ISO-8859 before. README-XPDF | 2 +- poppler/Function.cc | 2 +- poppler/OutputDev.h | 4 ++-- poppler/SplashOutputDev.h | 4 ++-- splash/Splash.h | 2 +- splash/SplashBitmap.cc | 2 +- splash/SplashBitmap.h | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) commit 6a9b1f794e7c86e61f2b642f401788659c5a93d6 Author: Albert Astals Cid Date: Thu Jun 27 00:36:41 2019 +0200 Poppler 0.78.0 CMakeLists.txt | 4 ++-- NEWS | 21 +++++++++++++++++++++ cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 26 insertions(+), 5 deletions(-) commit 67c6f6025fd441e60b3bdcedcfae7121d6f80b30 Author: Albert Astals Cid Date: Wed Jun 26 22:53:44 2019 +0200 Add Jose (C) and move error() message as discussed in gitlab poppler/Annot.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit a24536c619a463763517401045eaf251190c7db0 Author: José Aliste Date: Tue Jun 25 21:32:24 2019 -0400 Handle Ink annots without an InkList but with an AP According to the pdf spec, the AP entry should take precedence over the InkList entry. Thus, it is safe to render Ink annots with an AP entry but missing an InkList entry. This fixes rendering of some Onyx Generated files. poppler/Annot.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit a4d3db87c3bae5e2a364c828479a6cbb0277069e Author: Albert Astals Cid Date: Sun Jun 9 20:18:54 2019 +0200 Add AnnotWidget::setFormAdditionalAction And the corresponding Form helper refactor the code that gets the char * from Annot::FormAdditionalActionsType to a function poppler/Annot.cc | 36 ++++++++++++++++++++++++++++++++---- poppler/Annot.h | 2 ++ poppler/Form.cc | 7 +++++++ poppler/Form.h | 3 ++- 4 files changed, 43 insertions(+), 5 deletions(-) commit f5e49ed4c604e735ee26427eb1a46536938ed80c Author: Albert Astals Cid Date: Sun Jun 9 20:15:47 2019 +0200 Add LinkJavaScript::createObject Creates an Object that represents a a LinkJavaScript with the given text poppler/Link.cc | 9 +++++++++ poppler/Link.h | 2 ++ 2 files changed, 11 insertions(+) commit 4867583bf4a26566fd20345c45280ea21254c89c Author: Albert Astals Cid Date: Sun Jun 9 18:43:24 2019 +0200 Annot: Move implementation of getFormAdditionalAction No idea why it was implemented as a static, it's not reused or anything poppler/Annot.cc | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) commit f4733c31389fe7fd3ef70af86df4eee865ba3660 Author: Albert Astals Cid Date: Fri Jun 21 19:46:51 2019 +0200 Enable shadow warning by default It's always a bad idea having multiple variables with the same name, so complain if that happens cmake/modules/PopplerMacros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5c22d88ecdd540dbec5d559d8659c02d54662303 Author: Albert Astals Cid Date: Fri Jun 21 20:05:56 2019 +0200 qt5: rename variable to fix shadow warning qt5/src/poppler-page.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 56582f515667074ea5d53b7eae1f9451756bb697 Author: Albert Astals Cid Date: Fri Jun 21 20:02:27 2019 +0200 Splash: Rename local variable to fix shadow warning splash/Splash.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 9de727a969896c5b43f2370c1fb3a1a011bc7ee3 Author: Albert Astals Cid Date: Fri Jun 21 19:41:30 2019 +0200 glib: Rename variable to make it more clear what it is also fixes shadow warning glib/poppler-page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7095bc54cd3d11356870be48c10946dc55c350a8 Author: Albert Astals Cid Date: Fri Jun 21 19:29:57 2019 +0200 CairoOuputDev: Rename some input variables Fixes shadow warnings and in some cases makes for better C++ code not using this-> poppler/CairoOutputDev.cc | 52 +++++++++++++++++++++++------------------------ 1 file changed, 26 insertions(+), 26 deletions(-) commit e62c83a88fec28aec9bdcdb210abcd8d84034c7b Author: Albert Astals Cid Date: Fri Jun 21 19:22:32 2019 +0200 rename text member to textPage reflects better what it is and fixes several shadow warnings poppler/CairoOutputDev.cc | 40 ++++++++++++++++++++-------------------- poppler/CairoOutputDev.h | 4 ++-- 2 files changed, 22 insertions(+), 22 deletions(-) commit 536ec92bc2ef34b6b137cf73f5e9e15a1010eb55 Author: Albert Astals Cid Date: Fri Jun 21 19:10:35 2019 +0200 GfXShading: Prepend some variables with bbox_ Makes it clear those variables are only about the bbox, also fixes shadow warnings poppler/GfxState.cc | 18 +++++++++--------- poppler/GfxState.h | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) commit 8ec3c11697a4ed735b2a9d0ee1d759e42d7c6246 Author: Albert Astals Cid Date: Fri Jun 21 18:57:00 2019 +0200 GfxFont: Rename local variable cmap to cnameCmap Fixes shadow warning poppler/GfxFont.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 7b088899d97981a9cd62f68fd632d7394f10c9d7 Author: Albert Astals Cid Date: Fri Jun 21 18:46:34 2019 +0200 TextOutputDev: break i definition into multiple ones Fixes shadow warning poppler/TextOutputDev.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 9cea7a935e608828ef8957aeefbb3539f4f63ae5 Author: Albert Astals Cid Date: Fri Jun 21 18:35:19 2019 +0200 Annot: Rename dx and dy Fixes shadow warning poppler/Annot.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 4e225788ec5d500d4f71d7abe8163517bfeadea0 Author: Albert Astals Cid Date: Fri Jun 21 18:33:20 2019 +0200 Annot: rename one i and one j to k fixes shadow warning poppler/Annot.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 2b73efb5d4aafdca90c892ed61c26bf3a98d87cf Author: Albert Astals Cid Date: Fri Jun 21 18:29:01 2019 +0200 Annot: break out a i definition into multiple fixes shadow warning poppler/Annot.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 4d9fa84efd7b757f90cd36353c20ba033d6a2204 Author: Albert Astals Cid Date: Fri Jun 21 18:24:05 2019 +0200 Annot: Rename three type to a longer more qualified name Fixes shadow warnings poppler/Annot.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 40f5c496016ba94c9a27e31c5d1afb8e1a366de5 Author: Albert Astals Cid Date: Fri Jun 21 18:18:47 2019 +0200 coords -> coordsA fixes shadow warning poppler/Annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d669e12a537e84d0de5b5f478a14dd00d96ed790 Author: Albert Astals Cid Date: Fri Jun 21 16:56:13 2019 +0200 Annot: rect -> rectA in constructor parameters fixes shadow warning poppler/Annot.cc | 76 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 38 insertions(+), 38 deletions(-) commit 093531cd0d0878b892d92ebc56c26936e5de3712 Author: Albert Astals Cid Date: Fri Jun 21 16:43:50 2019 +0200 TextOutputDev: Don't a loop with variable i inside a loop with variable i poppler/TextOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9e3c9bdf8988dcfe00977350428220640073d058 Author: Albert Astals Cid Date: Fri Jun 21 16:42:57 2019 +0200 TextOutputDev: rename two in variables to fix shadow warning poppler/TextOutputDev.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2690e42e4d8fcfd9a815443eb0686fb0c3db4ca0 Author: Tobias Deiminger Date: Mon May 6 10:04:04 2019 +0200 Fix line annotation arrows for usage in dimensioning By combining leader lines with arrow/slash endings, one can use AnnotLine for dimensioning (e.g. see Line Annotation key IT = LineDimension in PDF reference). Current drawing instructions didn't consider this use case. The combination of leader line with ROpenArrow, RClosedArrow and Slash looked poor because arrows were shifted to the inside of the leader strokes. Additionally the main segment was not shortened correctly for some arrow types. This fixes the mentioned issues for AnnotLine and AnnotPolygon. poppler/Annot.cc | 115 +++++++++++++++++++++++++++++++------------------------ poppler/Annot.h | 4 +- 2 files changed, 66 insertions(+), 53 deletions(-) commit c621269e0b9923f4b7ad6862436838ccdf68bd7f Author: Albert Astals Cid Date: Wed Jun 19 22:44:46 2019 +0200 Initialize Function::domain Fixes uninitialized memory read in oss-fuzz 15395 poppler/Function.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fe83564018d4af9ae093b3ef09cc69c112482c7f Author: Albert Astals Cid Date: Wed Jun 19 19:44:27 2019 +0200 Update (C) of last commit poppler/Movie.cc | 1 + 1 file changed, 1 insertion(+) commit 7dd5405d98857e684c46a27a1abde93ba171f313 Author: Evgeny Stambulchik Date: Wed Jun 19 08:57:55 2019 +0000 Fix typos preventing parsing of start&duration poppler/Movie.cc | 82 +++++++++++++++++++++++++++----------------------------- 1 file changed, 39 insertions(+), 43 deletions(-) commit 53c4afce86d506a1ed050667da6982dda92da290 Author: Albert Astals Cid Date: Sun Jun 9 20:48:11 2019 +0200 Remove Annot::xref Makes no sense to store xref if it's just doc->getXRef and we're also storing doc It saves up some memory and also makes the code easier to read since storing both doc and ref may make you think that ref at some point could be different than doc->getXRef but it isn't poppler/Annot.cc | 73 ++++++++++++++++++++++++++++---------------------------- poppler/Annot.h | 4 +--- 2 files changed, 37 insertions(+), 40 deletions(-) commit 58994c211d525705136d045d8b9b8839197481f4 Author: Albert Astals Cid Date: Sun Jun 9 20:37:21 2019 +0200 Remove AnnotAppearance::xref We can just get it from the doc when needed poppler/Annot.cc | 3 +-- poppler/Annot.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) commit a9bf48780660b855135d2435c7dd29dddb3d45c0 Author: Albert Astals Cid Date: Fri Jun 7 17:08:10 2019 +0200 FormField::getFullyQualifiedName: Rename variable fixes shadow warning poppler/Form.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 5d9eebbf4b31ef3124015d7ac4e5d9723b91a042 Author: Albert Astals Cid Date: Fri Jun 7 17:07:06 2019 +0200 FormField::_createWidget: Rename parameter to fix shadow warning poppler/Form.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit fb8093dd3ac116d382b9cea9b940d59be89bd304 Author: Albert Astals Cid Date: Fri Jun 7 17:06:10 2019 +0200 FormWidgetSignature::getSignedRangeBounds: obj -> byteRangeObj poppler/Form.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 126c9883cf62d59a2cb4818e699f7d0ab19f4519 Author: Albert Astals Cid Date: Fri Jun 7 16:56:01 2019 +0200 Form: add A to some constructor parameters to avoid shadow warnings poppler/Form.cc | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit c148085564edf90760cab47a9363b1c868a5322c Author: Albert Astals Cid Date: Fri Jun 7 16:48:54 2019 +0200 FormWidget::getAdditionalAction: Rename parameter to fix shadow warning poppler/Form.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7f87a3a309f30d67e04d365105a479e53ebe814b Author: Albert Astals Cid Date: Fri Jun 7 16:46:49 2019 +0200 Fix last two shadow warnings in PSOutputDev Don't pass doc to writeDocSetup, we already have it Rename writeDocSetup pages to pageList poppler/PSOutputDev.cc | 10 +++++----- poppler/PSOutputDev.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) commit e3a09f02fa1b4ac9197b704fee10233b6386cd99 Author: Albert Astals Cid Date: Thu Jun 6 14:21:15 2019 +0200 scale -> s to not collide with the scale member variable poppler/TextOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 366685602e953354c3818cff185fa7e00f1afb64 Author: Albert Astals Cid Date: Wed Jun 5 21:19:58 2019 +0200 page -> p fixes shadow warnings, doesn't make code harder to read, it's in trivial functions poppler/TextOutputDev.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit c7981a19fab9abf8df31e67c87aa7710fdf60bc7 Author: Albert Astals Cid Date: Wed Jun 5 21:13:46 2019 +0200 text -> t Fixes some shadow warnings poppler/TextOutputDev.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 024dd8d2bd58ded2457581fc2e6eea5ecc664c45 Author: Albert Astals Cid Date: Wed Jun 5 21:10:26 2019 +0200 adjustLine -> doAdjustLine fixes shadow warning splash/Splash.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f9ab3afbb4c1129813eec68c5914ad1796484daf Author: Albert Astals Cid Date: Wed Jun 5 20:55:54 2019 +0200 Fix shadow warning in PSOutputDev::tilingPatternFill poppler/PSOutputDev.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 6b39c1e8c4f13219e0ed5a7545e930136ccbfec5 Author: Albert Astals Cid Date: Wed Jun 5 20:45:28 2019 +0200 Rename fontMaxValidGlyph map to perFontMaxValidGlyph poppler/PSOutputDev.cc | 4 ++-- poppler/PSOutputDev.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 277ce8b4455842d3ddc812a10636603a2d92cf90 Author: Albert Astals Cid Date: Wed Jun 5 20:34:02 2019 +0200 PSOutputDev::writeHeader: pass int instead of vector it's what we really need and fixes shadow warning poppler/PSOutputDev.cc | 8 ++++---- poppler/PSOutputDev.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) commit bd6a0c584ce48accc1351fd651e7bafa6003140b Author: Albert Astals Cid Date: Wed Jun 5 20:29:29 2019 +0200 PSOutputDev: psTitle -> title as a function parameter fixes shadow warning poppler/PSOutputDev.cc | 6 +++--- poppler/PSOutputDev.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit 55ac94ac16a6b1750059ac606a12fc549239229d Author: Albert Astals Cid Date: Wed Jun 5 20:08:04 2019 +0200 HtmlOutputDev: rename variables to not collide with existing ones makes reading the code easier utils/HtmlOutputDev.cc | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit 0c78e1efb6752161b8ed97b03e8d4f44827fca17 Author: Albert Astals Cid Date: Thu May 16 15:13:12 2019 +0200 -Wshadow renaming in perf-test test/perf-test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 89bd3f1f1d60a99a8a3bb7ccd384a5e6e731e0d4 Author: Albert Astals Cid Date: Thu May 16 15:12:05 2019 +0200 HtmlOutputDev::checkPageSlice: rename Page *page to p To not collide with FILE *page utils/HtmlOutputDev.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e56461bb8208ad028c2c1673e80a2a23e3eef795 Author: Albert Astals Cid Date: Fri Apr 5 17:07:52 2019 +0200 AnnotInk(): Rename inkList to inkListArray to not collide with AnnotInk::inkList poppler/Annot.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 20cb86345288063294532c03b123c1f08921ff93 Author: Albert Astals Cid Date: Fri Apr 5 17:06:06 2019 +0200 Configuration(): Rename name to subtypeName to not collide with Configuration::name poppler/Annot.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 32eed048980ae480e6671fe272c6b9037d1cd0e7 Author: Albert Astals Cid Date: Fri Apr 5 17:04:42 2019 +0200 Annot::initialize: Rename ref to pRef to not collide with Annot::ref poppler/Annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 40e999471ecfcb42804c00a3c9ff31677d8838df Author: Albert Astals Cid Date: Fri Mar 29 17:51:02 2019 +0100 GfxDeviceNColorSpace::copy: Move i inside loop poppler/GfxState.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 2e824cd8aa6c743219d6d22f266e33cc7c2d98f8 Author: Albert Astals Cid Date: Fri Mar 29 17:44:31 2019 +0100 GlobalParams: Fix shadow warnings poppler/GlobalParams.cc | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) commit 6c16dacc28d975cf3f78ac6b34612f1900c43e74 Author: Albert Astals Cid Date: Fri Mar 29 17:44:12 2019 +0100 StructElement::parseAttributes: Fix shadow warning poppler/StructElement.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 42b417547e963d150e1e786e2fa503130ff72184 Author: Albert Astals Cid Date: Fri Mar 29 17:38:21 2019 +0100 Dict: Use the that pattern for a non-const this poppler/Dict.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 71830663e816a90841a2534ecc21a0923ab9dbba Author: Albert Astals Cid Date: Fri Mar 29 17:43:42 2019 +0100 ArthurOutputDev: Fix shadow warning qt5/src/ArthurOutputDev.cc | 1 - 1 file changed, 1 deletion(-) commit 3d410e44ab50f064671f6b3c72f7e7eb8d015aeb Author: Albert Astals Cid Date: Fri Mar 29 17:42:52 2019 +0100 gtk-test.cc: Rename variable to fix shadow warning test/gtk-test.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0593f2567c3887b9323bb7c73f6b62748b44722a Author: Albert Astals Cid Date: Fri Mar 29 17:40:36 2019 +0100 OutlineItemData: Rename constructor params Fixes shadow warning qt5/src/poppler-outline-private.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0d56b4665ab296e8f152f1203ac11f5d21ecf36c Author: Albert Astals Cid Date: Fri Mar 29 17:40:03 2019 +0100 Splash::makeDashedPath: Remove i declaration in for We already have one above and this causes a shadow warning splash/Splash.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 61611e9d1db881fdeec730671d092a5144e51533 Author: Albert Astals Cid Date: Wed Jun 5 20:22:02 2019 +0200 PSOutputDev: Move variable declaration inside loop fixes shadow warning poppler/PSOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0eb72dbf3f8f8981b67c6641aca6844bf255ef15 Author: Albert Astals Cid Date: Wed Jun 5 20:19:41 2019 +0200 PSOuputDev: Rename rotate local variable to pageRotate fixes shadow warning poppler/PSOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6831a1ebdc0f3a2d00d64cb979cfe5eccce5da5f Author: Albert Astals Cid Date: Wed Jun 5 20:16:18 2019 +0200 PSOutputDev: rename variables to make things less confusing fixes shadow warnings poppler/PSOutputDev.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 18a60f394e13cbf82e35daf47d563abcbb01dd25 Author: Albert Astals Cid Date: Fri Mar 29 17:39:04 2019 +0100 SplashOutputDev::drawSoftMaskedImage: Rename n to fix shadow warning poppler/SplashOutputDev.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c12e4e0592bb44a4fbacb77ff0e744fd999f3fb4 Author: Christian Persch Date: Wed May 29 11:13:41 2019 +0200 glib: docs: Add index for API new in 0.78 glib/reference/poppler-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit db1626d5210493a9e77cc6575383b566ae5e07f6 Author: Masamichi Hosoda Date: Mon Oct 8 19:02:10 2018 +0900 Add poppler_document_create_dests_tree() to glib frontend Creates named destinations balanced binary tree in document. glib/poppler-document.cc | 85 +++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 3 ++ glib/reference/poppler-sections.txt | 1 + 3 files changed, 89 insertions(+) commit d1f1a354d512645c616941b56aaf30641e89959f Author: Simon McVittie Date: Tue May 28 12:37:24 2019 +0100 glib: Document G_IO_ERROR as a possible error condition This was already implicit from G_IO_ERROR_NOT_SUPPORTED being a documented error condition, and from the use of GCancellable, but is probably clearer when spelled out explicitly. The addition of g_seekable_seek() and g_seekable_tell() in the previous commit might add more error conditions in the same domain. Signed-off-by: Simon McVittie glib/poppler-document.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit aa432bc0be1a8b9f74b85ae78590f11dc6949c8b Author: Simon McVittie Date: Thu Feb 14 09:43:32 2019 +0000 glib: Don't create PopplerInputStream with length 0 Since commit a59f6164, PopplerInputStream requires a nonzero length. Loosely based on an earlier patch by Kouhei Sutou. This version adds support for length == -1, which is documented to work. Resolves: https://gitlab.freedesktop.org/poppler/poppler/issues/414 Bug-Debian: https://bugs.debian.org/896596 glib/poppler-document.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 9481c4733db409c755afee6de0cb784934267dc3 Author: maxice8 Date: Fri Feb 8 16:01:59 2019 -0200 glib: pass poppler to gir libs. Fixes cross compilation of gir in Void Linux [ 85%] Generating Poppler-0.18.gir g-ir-scanner: link: aarch64-linux-gnu-gcc -o /builddir/poppler-0.74.0/build/glib/tmp-introspectfs1jd4m9/Poppler-0.18 -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv8-a -I/usr/aarch64-linux-gnu/usr/include /builddir/poppler-0.74.0/build/glib/tmp-introspectfs1jd4m9/Poppler-0.18.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/builddir/poppler-0.74.0/build -Wl,-rpath,/builddir/poppler-0.74.0/build -L/builddir/poppler-0.74.0/build/glib -Wl,-rpath,/builddir/poppler-0.74.0/build/glib -lpoppler-glib -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -L/usr/aarch64-linux-gnu/usr/lib /usr/lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: warning: libpoppler.so.85, needed by ./libpoppler-glib.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/aarch64-linux-gnu/8.2.0/../../../../aarch64-linux-gnu/bin/ld: ./libpoppler-glib.so: undefined reference to `FormWidgetText::noSpellCheck() const' glib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c250cbd2ef18aca9748e2e8d753a2cb414f6f1d9 Author: zdenop Date: Mon Apr 29 18:06:57 2019 +0200 install pkg-config pc files if pkg-config is found CMakeLists.txt | 35 +++++++++++++++++++---------------- cmake/modules/PopplerMacros.cmake | 6 ++---- 2 files changed, 21 insertions(+), 20 deletions(-) commit ce8f750d8dcd029dc5a3a60e2ac1d0b16fd27ebf Author: Christian Persch Date: Sun May 26 18:50:38 2019 +0200 glib: Fix introspection for poppler_document_new_from_data The API takes binary data, not an UTF-8 string. https://gitlab.freedesktop.org/poppler/poppler/issues/448 glib/poppler-document.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 90ddcddc7f4ce7a8ad4a5d02a7c7a4b9872c383a Author: Federico Mena Quintero Date: Fri May 24 10:12:59 2019 -0500 glib: Don't use the deprecated g_type_class_add_private() Use G_DEFINE_TYPE_WITH_PRIVATE() instead. This has been available since glib 2.38, and poppler requires glib 2.41 already. glib/poppler-attachment.cc | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit 970e14c6c9c05b669a512adfce6421a747f54c71 Author: Federico Mena Quintero Date: Fri May 24 13:06:22 2019 -0500 glib: Document the differences between render() and render_for_printing() - #749 I got these by grepping for "printing" in the source code, and trying to summarize the differences between rendering to the screen and rendering to a printer. Hopefully these are all the important ones. Fixes https://gitlab.freedesktop.org/poppler/poppler/issues/749 glib/poppler-page.cc | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) commit 13eddb110671cb9809fc21558b45db2a775a172b Author: Albert Astals Cid Date: Sat May 25 00:41:38 2019 +0200 Poppler 0.77.0 CMakeLists.txt | 6 +++--- NEWS | 17 +++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 22 insertions(+), 5 deletions(-) commit 89a5367d49b2556a2635dbb6d48d6a6b182a2c6c Author: Albert Astals Cid Date: Thu May 23 00:54:29 2019 +0200 JPEG2000Stream: fail gracefully if not all components have the same WxH I think this is just a mistake, or at least the only file we have with this scenario is a fuzzed one poppler/JPEG2000Stream.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 65adf225eca287f63361cf49bd47388bff81af79 Author: Albert Astals Cid Date: Thu May 16 17:20:55 2019 +0200 qt5: Fix optional content handling with exclusive layers We were setting the "ui" value correctly, but not the "backend" one because we were shortcuting on obeyRadioGroups for the off state Update test to check also for the backend value qt5/src/poppler-optcontent-private.h | 4 +++- qt5/src/poppler-optcontent.cc | 10 ++++++---- qt5/tests/check_optcontent.cpp | 10 ++++++++++ 3 files changed, 19 insertions(+), 5 deletions(-) commit 157c723c0465bfa509dc499be46f3d6b8e3c7048 Author: Albert Astals Cid Date: Thu May 16 17:19:48 2019 +0200 OptionalContent: add some simple const poppler/OptionalContent.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 019cb4a6a908e7ad9959673e21168d6479892603 Author: Albert Astals Cid Date: Wed May 15 23:30:42 2019 +0200 Update (C) of previous commits cpp/poppler-page-renderer.cpp | 1 + 1 file changed, 1 insertion(+) commit 0477707248bb62404961a08e75ecaf106529e7e1 Author: Oliver Sander Date: Thu Apr 25 21:33:30 2019 +0200 Call updateCTM with the identity matrix instead of all zeros The method Gfx::doShowText calls out->updateCTM once with the all-zero matrix. This was apparently implemented with the Splash output device in mind: SplashOutputDev::updateCTM ignores its parameters, and therefore calling it with a zero matrix is okay. For other output devices calling updateCTM with a zero matrix multiplies the CTM with zero, which breaks further rendering. See https://gitlab.freedesktop.org/poppler/poppler/issues/206 for an example. This patch changes the argument to updateCTM in doShowText from the zero matrix to an identity matrix. That way, the CTM is unchanged no matter how the output device implements its updateCTM method. poppler/Gfx.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 792da2e1e08671ba0e9d01c8714bd1747861701f Author: Julián Unrrein Date: Tue May 14 15:42:08 2019 -0300 cpp: Change displayPageSlice parameter to make render_page thread-safe This allows applications to render different pages on different threads cpp/poppler-page-renderer.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9433b6c9c37dcfc82f074230881a98808b2300ab Author: Albert Astals Cid Date: Tue May 14 19:41:53 2019 +0200 Update (C) of previous commit splash/Splash.cc | 1 + 1 file changed, 1 insertion(+) commit 6a1580e84f492b5671d23be98192267bb73de250 Author: Marek Kasik Date: Mon May 13 15:08:38 2019 +0200 Splash: Restrict filling of overlapping boxes Check whether area to fill in Splash::blitTransparent() does not run out of allocated memory for source and for destination and shrink it if needed. Fixes #750 splash/Splash.cc | 48 +++++++++++++++++++++++++++++++++--------------- 1 file changed, 33 insertions(+), 15 deletions(-) commit 03c0bb79945822cbe1e342a28aec8949eed843dd Author: Albert Astals Cid Date: Fri May 10 23:45:12 2019 +0200 Fix small memory leak in SignatureHandler::getCertificateInfo poppler/SignatureHandler.cc | 2 ++ 1 file changed, 2 insertions(+) commit eaeac5c7dba6f53acef3f0be6b226facecfc5f28 Author: Albert Astals Cid Date: Fri May 10 23:28:02 2019 +0200 Fix crash on signature handling Since we only call NSS_Init once, we should only call NSS_Shutdown once. Do it via atexit Fixes issue #766 poppler/SignatureHandler.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit d06b96171260e8f3fd7c12c028f763c0f110a803 Author: Albert Astals Cid Date: Fri May 10 22:51:43 2019 +0200 pdfsig: Fix small memory leak When document is not fully signed utils/pdfsig.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 2709ff2e809a47631f3bd58bd86a65611c70bbe5 Author: Sebastian Berger Date: Fri May 3 10:27:10 2019 +0000 Update pdftotext.1 utils/pdftotext.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 248540fbe44886f7ede290c216822df21ad06d7d Author: Albert Astals Cid Date: Wed May 1 00:05:14 2019 +0200 Poppler 0.76.1 CMakeLists.txt | 2 +- NEWS | 12 ++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) commit fe744fedb2757c6a6b69a5a7a30cab8b7e448cc5 Author: Oliver Sander Date: Tue Apr 30 12:36:37 2019 +0200 Fix some typos in build system output and comments CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0d0630cd6f10d0586172b740290056620fe56b21 Author: Albert Astals Cid Date: Sun Apr 28 19:25:08 2019 +0200 qt5: Fix regression in annotation handling qt5/src/poppler-annotation.cc | 2 +- qt5/tests/check_annotations.cpp | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) commit b49d16a47388e03aa1a56ba64a47751aa993e06a Author: Albert Astals Cid Date: Thu Apr 25 22:31:33 2019 +0200 Update (C) of two previous commits poppler/Decrypt.cc | 2 +- poppler/Gfx.cc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit e0ef346c0f669140076c4cf443f07ea0770996da Author: Albert Astals Cid Date: Fri Sep 21 00:32:24 2018 +0200 Make the mul tables be calculated at compile time with constexpr poppler/Decrypt.cc | 134 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 99 insertions(+), 35 deletions(-) commit 9186cf25d03cd680381dde9766e12310269bbf69 Author: Oliver Sander Date: Thu Apr 25 21:27:04 2019 +0200 Fix a typo in an error message poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 62f945272dd9c4d8c8febb13b38fb7c5c331c1f4 Author: William Bader Date: Tue Apr 23 00:57:18 2019 +0200 Handle splashModeDeviceN8 in two switch poppler/SplashOutputDev.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 3b40194971cb3fcfc63fc238ebab81a1d54fa1e9 Author: Albert Astals Cid Date: Mon Apr 22 13:05:08 2019 +0200 Remove unused functions poppler/SplashOutputDev.cc | 48 ---------------------------------------------- 1 file changed, 48 deletions(-) commit 16f34af3cda7f8e5647c50027ed032952d9afe0e Author: Albert Astals Cid Date: Mon Apr 22 12:58:35 2019 +0200 NULL -> nullptr poppler/SplashOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 310fd7c1465be424126bd8f3d853036178df72b9 Author: Albert Astals Cid Date: Mon Apr 22 12:28:07 2019 +0200 Add SPLASH_CMYK=ON to the clazy CI to have more coverage, this doesn't really reduce the coverage for the "normal" case of not having SPLASH_CMYK defined since there's very few else for that ifdef and they're just simplifications of the if code .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 97781707843016291827796a5bc96340c40cc4e5 Author: Albert Astals Cid Date: Mon Apr 22 12:35:41 2019 +0200 Add (C) for previous commit splash/SplashBitmap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 28d9bcf831ce994a02ee0f92278c614fa31c5d99 Author: William Bader Date: Mon Apr 22 12:24:03 2019 +0200 Fix compile with SPLASH_CMYK enabled splash/SplashBitmap.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit e0eb356d85e2b43751af6ea7ccd753833f8f967c Author: Albert Astals Cid Date: Sun Apr 21 11:46:39 2019 +0200 poppler 0.76.0 CMakeLists.txt | 4 ++-- NEWS | 18 ++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 22 insertions(+), 4 deletions(-) commit 97bbfd67d7fa4d633e10e3dc90fd523051607836 Author: LE GARREC Vincent Date: Wed Apr 17 10:59:34 2019 +0000 ofz-11248: Use-of-uninitialized-value in Parser::makeStream poppler/Hints.cc | 10 ++++++---- poppler/XRef.cc | 4 +++- 2 files changed, 9 insertions(+), 5 deletions(-) commit d1223ff2890a028834d1bdccb8984dc58575eda1 Author: LE GARREC Vincent Date: Wed Apr 17 08:17:47 2019 +0000 ofz-8552: Overflow JBIG2Stream::readTextRegion And fix endless loop. poppler/JBIG2Stream.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 1a950e45cde918513846d8a13022403b859a482e Author: Albert Astals Cid Date: Sat Apr 13 23:43:59 2019 +0200 Small improvements to README.contributors README.contributors | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e1e15db0a4d0a5b051efc9947d5ac79184447b9b Author: himajin100000 Date: Mon Apr 8 21:14:59 2019 +0900 avoid more C4310 fofi/FoFiType1C.cc | 9 +++++---- poppler/Form.cc | 5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) commit 1fbbb3e499873e92d775cac9cc285b3c362e5db7 Author: himajin100000 Date: Sun Apr 7 21:43:55 2019 +0900 avoid warning C4310: cast truncates constant value goo/GooString.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 4ae6786469ec0268307fa05cb6d9ce58b4541941 Author: Albert Astals Cid Date: Mon Apr 8 00:56:12 2019 +0200 Update (C) of previous commit poppler/FontInfo.cc | 2 +- poppler/FontInfo.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 0ec33438f4a407c122c9bfc4dc34758203b50e8a Author: Adam Reichold Date: Sun Apr 7 20:48:30 2019 +0200 Avoid duplicate set look-up and ordering overhead when tracking visited fonts and objects in FontScanner. poppler/FontInfo.cc | 15 +++++---------- poppler/FontInfo.h | 6 ++++-- 2 files changed, 9 insertions(+), 12 deletions(-) commit ba40d76a5555fe78f3a0dab91d0590f452f2ee3e Author: Albert Astals Cid Date: Fri Apr 5 17:17:52 2019 +0200 FormField::FormField: Only call Array::get once poppler/Form.cc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 70845beb5ed8c9b20f3ff1b5054c58b35ebe4872 Author: Albert Astals Cid Date: Fri Apr 5 16:46:29 2019 +0200 Introduce Dict::getVal(int i, Ref *returnRef) And use it in FontInfoScanner::scanFonts poppler/Dict.cc | 11 +++++++++++ poppler/Dict.h | 2 ++ poppler/FontInfo.cc | 11 +++++------ 3 files changed, 18 insertions(+), 6 deletions(-) commit 8051f678b3b43326e5fdfd7c03f39de21059f426 Author: Albert Astals Cid Date: Fri Apr 5 16:34:48 2019 +0200 FontInfoScanner::scanFonts Fix infinite loop in broken files Fixes #752 poppler/FontInfo.cc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 0a1c6c41cf27bbfa2e19fe0b3c48eeb919f8e322 Author: Albert Astals Cid Date: Fri Apr 5 16:30:01 2019 +0200 Rename resObj to dictObjI since that makes much more sense And we already have a resObj down the function that is the Resources object so that should be actually called resObj poppler/FontInfo.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ea34108538742ebddf95052319d2f3cbd29b5986 Author: Albert Astals Cid Date: Fri Apr 5 16:06:22 2019 +0200 Update (C) of previous commit qt5/src/poppler-annotation-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3fe46034a9621b2769d20a15a662334e4270d32c Author: Albert Astals Cid Date: Fri Mar 29 10:52:19 2019 +0100 Use Ref::INVALID more In this case we have to be a bit more careful since we're changing code that used to assign to 0,0 and now INVALID is -1, -1 but i'm confident it's fine inReplyTo seems to be only used in qt5/src/poppler-annotation.cc and i've updated the code to use the boolean isInReplyTo instead of checking the ref number directly The change in Dict only affects its two callers, one in Annot and one in Catalog. The one in catalog has been updated, the one in Annot doesn't seem to need updating (and moreover if you check history before using the new Dict function was using -1, -1 as ref not initialized) The change in Array only affects its one caller, in Function, whose code has been updated The embFontID change is something that was forgotten in the previous commit about using Ref::INVALID The change for iccProfileStreamA is only local to that function and has been changed to use Ref::INVALID in all its uses poppler/Annot.cc | 3 +-- poppler/Annot.h | 1 + poppler/Array.cc | 4 ++-- poppler/Array.h | 1 + poppler/Catalog.cc | 2 +- poppler/Dict.cc | 4 ++-- poppler/Dict.h | 1 + poppler/Function.cc | 2 +- poppler/GfxFont.cc | 8 ++++---- poppler/GfxFont.h | 2 +- poppler/GfxState.cc | 12 +++--------- poppler/Link.h | 4 ++-- qt5/src/poppler-annotation-private.h | 2 +- qt5/src/poppler-annotation.cc | 6 +++--- 14 files changed, 24 insertions(+), 28 deletions(-) commit 9aa0f0aecf9e37f6bb35bab689956d339268a6ef Author: Marek Kasik Date: Thu Feb 21 18:26:33 2019 +0100 Read PrintPageRange viewer preference Lookup for PrintPageRange viewer preference in constructor of ViewerPreferences and make it available via getPrintPageRange() method. https://gitlab.freedesktop.org/poppler/poppler/issues/290 poppler/ViewerPreferences.cc | 24 ++++++++++++++++++++++++ poppler/ViewerPreferences.h | 4 ++++ 2 files changed, 28 insertions(+) commit b6ffc748e7f3fd4864e95ae383e054949bb73f70 Author: Marek Kasik Date: Thu Jan 17 14:45:06 2019 +0100 Read NumCopies viewer preference Lookup for NumCopies viewer preference in constructor of ViewerPreferences and make it available via getNumCopies() method. https://gitlab.freedesktop.org/poppler/poppler/issues/290 poppler/ViewerPreferences.cc | 8 ++++++++ poppler/ViewerPreferences.h | 2 ++ 2 files changed, 10 insertions(+) commit b12aafcddff19bc80fab18a0a243dd17b25614d0 Author: Marek Kasik Date: Tue Jan 22 15:50:31 2019 +0100 Read PickTrayByPDFSize viewer preference Lookup for PickTrayByPDFSize viewer preference in constructor of ViewerPreferences and make it available via getPickTrayByPDFSize() method. https://gitlab.freedesktop.org/poppler/poppler/issues/290 poppler/ViewerPreferences.cc | 7 +++++++ poppler/ViewerPreferences.h | 3 +++ 2 files changed, 10 insertions(+) commit 6e9d57bd3506c22f0f2db0647600567188666978 Author: Albert Astals Cid Date: Wed Apr 3 19:16:43 2019 +0200 Update (C) of previous commit splash/SplashXPathScanner.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8dbe2e6c480405dab9347075cf4be626f90f1d05 Author: Albert Astals Cid Date: Wed Apr 3 18:02:42 2019 +0200 SplashXPathScanner::clipAALine: Fix crash on broken file Make sure the index of allIntersections we access is valid Fixes #748 splash/SplashXPathScanner.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit eec84fe2d2dad20acdfb47cf06f8171e6f9e74dc Author: Albert Astals Cid Date: Tue Apr 2 01:14:30 2019 +0200 Make test pass on MSVC QStringliteral+MSVC+non ascii chars doesn't play very well qt5/tests/check_annotations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 07067734e9e8b39889b5569e72bb64095773b564 Author: Albert Astals Cid Date: Tue Apr 2 00:38:30 2019 +0200 Update (C) of previous commits poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 647344ebbef536248e47b1ab1f1fccb20c941aac Author: Albert Astals Cid Date: Tue Apr 2 00:29:42 2019 +0200 Fix MSVC compile Windows.h defines max/min macros, these extra parentheses makes it happy enough ... goo/GooCheckedOps.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit a17bfb24f7caa4ab5cd7ecc0ccbb7cfc7d72c62a Author: Nelson Benítez León Date: Fri Mar 29 16:58:17 2019 -0400 add testcase for issue #743 qt5/tests/check_search.cpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) commit 67d81ed907040b22c789466f990ba0000f2df7d5 Author: Nelson Benítez León Date: Sun Mar 24 19:44:42 2019 -0400 findText: fix regression on case-insensitive search introduced by commit 86326030f6989c79f8dd9e91cd4c249278cdbc49 The function to detect 7bit Ascii assumed the check was being done on a plain C char type (1 byte length) whereas the passed Unicode type is bigger (defined as unsigned int) and so can hold larger values. So fix our detection for an Ascii7 char appropriately. Fixes issue #743 poppler/TextOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ea12ae67be12883e4626b34db8f2f849fb6d56d7 Author: LE GARREC Vincent Date: Sun Mar 31 20:49:25 2019 +0000 ofz-8443: Integer-overflow in identifyCFF https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8443 fofi/FoFiIdentifier.cc | 8 +++++--- goo/GooCheckedOps.h | 26 +++++++++++++++----------- 2 files changed, 20 insertions(+), 14 deletions(-) commit 516e6149572a16747f21d6510f844b5879954ec0 Author: LE GARREC Vincent Date: Sun Mar 31 00:33:09 2019 +0000 Integer-overflow in Gfx::doAxialShFill oss-fuzz/8631 goo/GooCheckedOps.h | 11 +++++++++++ poppler/Gfx.cc | 21 +++++++++++---------- 2 files changed, 22 insertions(+), 10 deletions(-) commit f25f7f19fab3559ecf2d427a52193767c02e2640 Author: Albert Astals Cid Date: Sun Mar 31 01:19:46 2019 +0100 Update (C) of previous commits poppler/Form.cc | 2 +- poppler/Gfx.cc | 2 +- poppler/GlobalParamsWin.cc | 2 +- poppler/Hints.cc | 1 + poppler/Lexer.h | 1 + poppler/Linearization.cc | 1 + poppler/Parser.cc | 2 +- poppler/Parser.h | 1 + 8 files changed, 8 insertions(+), 4 deletions(-) commit eb40274320381deca89898fb78b57091d2b804cc Author: Adam Reichold Date: Wed Nov 21 18:08:13 2018 +0100 Since a Parser cannot be used without a Lexer, make the Parser own the Lexer by value and construct it in place. poppler/Gfx.cc | 2 +- poppler/GlobalParamsWin.cc | 3 +-- poppler/Hints.cc | 2 +- poppler/Lexer.h | 3 +++ poppler/Linearization.cc | 2 +- poppler/Parser.cc | 61 ++++++++++++++++++++++++---------------------- poppler/Parser.h | 10 ++++---- poppler/XRef.cc | 33 ++++++++++--------------- 8 files changed, 57 insertions(+), 59 deletions(-) commit 8aa78dbcf5370d78ea025e7249e9119202767e44 Author: Nelson Benítez León Date: Sun Nov 11 19:25:30 2018 +0500 Form.cc: fix radiobutton reporting wrong state When a radiobutton (belonging to a normal radiobutton group) has a /V key matching his 'OnStr' state, then when you ask that radiobutton for his state (eg. radiobutton->state()) it will wrongly return 'true', when really the active radiobutton is another one in the group. This happens because the faulty radiobutton was not passing the getState() call to his Parent (which every radiobutton in a group should do, as the Parent stores the value of the current active item). The code was not doing it because it had a valid AppearanceState (/V key). That behaviour may be right for checkboxes but not for radiobuttons. A testcase is included. An example definition of an affected radiobutton follows: /F 4 /FT /Btn /Ff 49152 /AP /N /Beer 59 0 R /Off 61 0 R /AS /Beer /MK /BC [1,0,0] /BG [1,1,1] /CA (4) /P 20 0 R /Parent 8 0 R /Rect [235.277,654.247,249.224,668.194] /Subtype /Widget /Type /Annot /V /Beer Fixes issue #159 poppler/Form.cc | 5 ++++- qt5/tests/check_forms.cpp | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) commit b0f11e3c8696cbb334b765789a548419669fa4ea Author: Albert Astals Cid Date: Sun Mar 31 00:39:09 2019 +0100 Update (C) of previous commit qt5/src/poppler-private.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 74abafe107d0e865919557034c7d6d9dcd19ef6c Author: Adam Reichold Date: Sat Mar 30 19:31:58 2019 +0100 Implement UnicodeParsedString in terms of QString::fromUtf16 for significant simplifications. qt5/src/poppler-private.cc | 37 +++++++------------------------------ 1 file changed, 7 insertions(+), 30 deletions(-) commit b9512adc677408f74087f7865b2d7ea99b81cc4b Author: Adam Reichold Date: Sat Mar 30 12:25:51 2019 +0100 Add test case for annotations containing UTF-16LE-encoded text. qt5/tests/check_annotations.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit d607906598243cfc322073222d7d1c9813d7ad79 Author: Albert Astals Cid Date: Sat Mar 30 11:47:46 2019 +0100 (C) of previous commits goo/GooString.h | 1 + 1 file changed, 1 insertion(+) commit 255eec8cac9ad68b129ed44326118dd1064eb331 Author: Albert Astals Cid Date: Fri Mar 29 12:44:20 2019 +0100 Use the default provided Ref = operator, it's good enough poppler/Link.cc | 6 ++---- poppler/Object.h | 2 +- poppler/StructElement.h | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) commit 81fc9aa333f81be496d8255cd2ad4d0b9e23bba6 Author: Albert Astals Cid Date: Fri Mar 29 12:39:58 2019 +0100 Use the existing Ref operator== glib/poppler-action.cc | 4 ++-- poppler/Annot.cc | 8 ++++---- poppler/Annot.h | 4 ++-- poppler/CairoFontEngine.cc | 6 +++--- poppler/Form.cc | 3 +-- poppler/MarkedContentOutputDev.cc | 5 ++--- poppler/PSOutputDev.cc | 25 +++++++++---------------- poppler/Page.cc | 4 ++-- poppler/SplashOutputDev.cc | 7 +++---- test/pdf-fullrewrite.cc | 6 +++--- 10 files changed, 31 insertions(+), 41 deletions(-) commit 244c7d6926463b079b1f96e34d9e4451d352942e Author: Albert Astals Cid Date: Fri Mar 29 12:59:16 2019 +0100 Make Catalog::findPage just take a Ref instead of num and gen All the callers already have a ref so makes no sense to unbox it cpp/poppler-destination.cpp | 3 ++- glib/poppler-action.cc | 4 ++-- glib/poppler-structure-element.cc | 2 +- poppler/Annot.cc | 4 ++-- poppler/Catalog.cc | 4 ++-- poppler/Catalog.h | 2 +- poppler/PDFDoc.h | 2 +- poppler/StructElement.cc | 2 +- qt5/src/poppler-link.cc | 4 ++-- utils/HtmlOutputDev.cc | 10 +++++----- 10 files changed, 19 insertions(+), 18 deletions(-) commit e2ccb1cdf7702a2c014e7aaeeeb8d5fc4fcf4d18 Author: Albert Astals Cid Date: Fri Mar 29 12:43:39 2019 +0100 FormField: don't assign ref to 0, 0 then to just assign it to aref poppler/Form.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 8c8e0a143e975b16e6c437c03dc2267e7e8ff3fc Author: Albert Astals Cid Date: Thu Mar 28 15:50:15 2019 +0100 GfxICCBasedColorSpace: Remove unused member variable poppler/GfxState.cc | 8 +++----- poppler/GfxState.h | 6 ++---- 2 files changed, 5 insertions(+), 9 deletions(-) commit aaff2ee913fcc37cf35384e198587fe848d2cdf3 Author: Albert Astals Cid Date: Thu Mar 28 14:29:13 2019 +0100 cpp: Support UTF16-LE strings They are not supported in the spec but Adobe supports them and there's files outthere with these kind of strings, so we're supporting them cpp/poppler-private.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 3c12c660748ccdd0b7c08b8f4a2891ad1368e437 Author: Albert Astals Cid Date: Thu Mar 28 12:58:41 2019 +0100 qt5: small optimization to UnicodeParsedString by using QString::reserve it should be faster and use less memory qt5/src/poppler-private.cc | 1 + 1 file changed, 1 insertion(+) commit 623d073030259042921d34034cdcf701dae7c96b Author: Albert Astals Cid Date: Thu Mar 28 12:47:22 2019 +0100 qt: UnicodeParsedString support UTF16-LE strings They are not part of the standard but Adobe seems to support them and there's files out there like that so better to support them than not qt5/src/poppler-private.cc | 15 ++++++++++++--- qt5/tests/check_strings.cpp | 2 ++ 2 files changed, 14 insertions(+), 3 deletions(-) commit 0bb9dbc608a73df0a5579c0db3347f2d147266c4 Author: Christophe Fergeau Date: Tue Sep 26 11:02:58 2017 +0200 document: Handle UTF16-LE annotations I can produce such annotations when adding annotations to a PDF attachement from the standard mail app on my iPhone (iOS 12.1). They currently all show as "ÿþÚ" rather than the actual string content. UTF16-BE vs UTF16-LE is detected by inferring the endianness from the first two bytes of the string (0xFF 0xFE and 0xFE 0xFF aka Byte Order Marker). glib/poppler-document.cc | 4 ++++ goo/GooString.h | 1 + 2 files changed, 5 insertions(+) commit 926ea4645fa36d29d4bf89009719716668103366 Author: Albert Astals Cid Date: Thu Mar 28 00:09:28 2019 +0100 Use the newly introduced Ref::INVALID() poppler/Annot.cc | 10 ++++------ poppler/GfxFont.cc | 14 +++++++------- poppler/GfxFont.h | 4 ++-- poppler/Link.cc | 6 +++--- poppler/Link.h | 2 +- poppler/StructElement.h | 2 +- poppler/StructTreeRoot.h | 4 ++-- qt5/src/poppler-link.cc | 6 +++--- qt5/src/poppler-page.cc | 8 +++----- 9 files changed, 26 insertions(+), 30 deletions(-) commit 8122f6d6d409b53151a20c5578fc525ee97315e8 Author: Marek Kasik Date: Thu Mar 21 13:47:51 2019 +0100 cairo: Constrain number of cycles in rescale filter Pass address of the first byte after end of the source buffer to downsample_row_box_filter() so that we can check that we don't run out of it. Fixes issue #736 poppler/CairoRescaleBox.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit d716e636231c8d636bf2139896d817b66fe6d510 Author: Marek Kasik Date: Thu Mar 21 13:15:37 2019 +0100 cairo: Compute correct coverage values for box filter Use double precision for computation of coverage of the left most pixel in the box filter. Issue #736 poppler/CairoRescaleBox.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 2b5cccbafc79d561811906dfa5bc288aa9478b10 Author: Albert Astals Cid Date: Thu Feb 28 17:57:17 2019 +0100 Rework AnnotPopup parent handling code The old code was not updating the parent member on setParent poppler/Annot.cc | 10 ++++++---- poppler/Annot.h | 4 ++-- poppler/Object.h | 6 ++++++ poppler/Page.cc | 2 +- 4 files changed, 15 insertions(+), 7 deletions(-) commit 732bc31dcc7aa7fda42e4dbaa8a17f0d39125156 Author: Albert Astals Cid Date: Fri Mar 22 22:35:45 2019 +0100 Update (C) of past commits poppler/Annot.cc | 2 +- poppler/Annot.h | 2 +- qt5/src/poppler-annotation.cc | 2 +- utils/HtmlOutputDev.cc | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 30c731b487190c02afff3f036736a392eb60cd9a Author: Adam Reichold Date: Fri Mar 22 19:12:47 2019 +0100 Properly initialize HtmlOutputDev::page to avoid SIGSEGV upon error exit. Closes #742 utils/HtmlOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit c317087a9e5db4f6441b4e399837d5b9afbe46a0 Author: Albert Astals Cid Date: Fri Mar 22 00:21:12 2019 +0100 Stop requiring gcc 4.9 We now just support whatever Ubuntu 16.04 has as minimum (gcc 5.4.0) .gitlab-ci.yml | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) commit 9068f1c0d2f643471a7e159f4a03dca4a20518f2 Author: Tobias Deiminger Date: Thu Mar 21 23:43:48 2019 +0000 Don't error out if there's no DA in FreeText annotation We can proceed anyway, hardcoded default values will be used in AnnotFreeText::generateFreeTextAppearance. poppler/Annot.cc | 7 ++++--- poppler/Annot.h | 2 ++ qt5/src/poppler-annotation.cc | 9 ++++++--- 3 files changed, 12 insertions(+), 6 deletions(-) commit fb5d8000b8f5169d57f84b911f5475b9003fa1ae Author: Albert Astals Cid Date: Thu Mar 21 23:48:45 2019 +0100 Update (C) from last commit cpp/poppler-font.cpp | 1 + cpp/poppler-toc-private.h | 1 + cpp/poppler-toc.cpp | 1 + poppler/Annot.cc | 2 +- poppler/FontInfo.cc | 1 + poppler/FontInfo.h | 1 + poppler/Form.cc | 1 + poppler/Form.h | 1 + poppler/Gfx.h | 1 + poppler/GfxState.cc | 2 +- poppler/GfxState.h | 2 +- poppler/GfxState_helpers.h | 1 + poppler/GlobalParams.cc | 1 + poppler/GlobalParams.h | 1 + poppler/GlobalParamsWin.cc | 1 + poppler/JBIG2Stream.cc | 1 + poppler/JBIG2Stream.h | 1 + poppler/Link.cc | 1 + poppler/Link.h | 1 + poppler/OptionalContent.cc | 1 + poppler/OptionalContent.h | 1 + poppler/Outline.cc | 1 + poppler/Outline.h | 1 + poppler/PDFDocFactory.cc | 1 + poppler/PDFDocFactory.h | 1 + poppler/PSOutputDev.cc | 1 + poppler/PSOutputDev.h | 1 + poppler/PageLabelInfo.h | 1 + poppler/PageLabelInfo_p.h | 1 + poppler/TextOutputDev.cc | 1 + poppler/TextOutputDev.h | 1 + poppler/UnicodeMap.cc | 1 + poppler/UnicodeMapFuncs.h | 1 + qt5/src/poppler-annotation-helper.h | 2 +- qt5/src/poppler-document.cc | 1 + qt5/src/poppler-fontinfo.cc | 1 + qt5/src/poppler-optcontent.cc | 1 + qt5/src/poppler-outline.cc | 1 + qt5/src/poppler-page-transition-private.h | 1 + qt5/src/poppler-page.cc | 2 +- qt5/src/poppler-private.cc | 1 + qt5/src/poppler-private.h | 1 + splash/Splash.cc | 1 + splash/SplashBitmap.cc | 1 + splash/SplashBitmap.h | 1 + test/perf-test.cc | 1 + utils/HtmlOutputDev.cc | 1 + utils/HtmlOutputDev.h | 1 + utils/Win32Console.h | 1 + utils/pdfdetach.cc | 1 + utils/pdffonts.cc | 1 + utils/printencodings.cc | 1 + 52 files changed, 52 insertions(+), 5 deletions(-) commit b843b42cb12f1038c470a646c4899af119a0bece Author: Oliver Sander Date: Thu Mar 21 16:49:01 2019 +0100 Replace 'auto' by actual types glib/poppler-action.cc | 2 +- glib/poppler-page.cc | 14 +++++++------- qt5/src/poppler-document.cc | 2 +- qt5/src/poppler-optcontent.cc | 4 ++-- qt5/src/poppler-outline.cc | 2 +- 5 files changed, 12 insertions(+), 12 deletions(-) commit 7f32f8b78ffecc7788267d4d98d4e6247b955489 Author: Oliver Sander Date: Thu Dec 6 06:54:54 2018 +0100 Remove unused variable glib/poppler-page.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a00a867b78a525d4dc57cd24006d80ea56041bdc Author: Oliver Sander Date: Mon Dec 3 11:37:27 2018 +0100 Unify the declarations of PSOutPaperSize The clazy CI complains about a 'struct vs. class' inconsistency. poppler/PSOutputDev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9bc752c7fabe190987ae46ed28620b62cdff60e9 Author: Oliver Sander Date: Sun Dec 2 21:02:51 2018 +0100 Remove GooList completely CMakeLists.txt | 1 - cpp/poppler-font.cpp | 2 +- cpp/poppler-toc-private.h | 4 +--- cpp/poppler-toc.cpp | 7 +++--- glib/poppler-document.cc | 13 +++++------ glib/poppler-page.cc | 1 - goo/GooList.h | 53 --------------------------------------------- poppler/Annot.cc | 11 +++++----- poppler/FontInfo.cc | 6 ++--- poppler/FontInfo.h | 5 ++--- poppler/Form.cc | 8 +++---- poppler/Form.h | 5 ++--- poppler/Gfx.h | 1 - poppler/GfxState.cc | 14 ++++++------ poppler/GfxState.h | 19 ++++++---------- poppler/GlobalParams.cc | 11 +++++----- poppler/GlobalParams.h | 5 +++-- poppler/GlobalParamsWin.cc | 1 - poppler/JBIG2Stream.cc | 13 +++++------ poppler/JBIG2Stream.h | 4 ++-- poppler/Link.cc | 15 ++++++------- poppler/Link.h | 13 +++++------ poppler/OptionalContent.cc | 11 +++++----- poppler/OptionalContent.h | 7 +++--- poppler/Outline.cc | 5 ++--- poppler/Outline.h | 11 +++++----- poppler/PDFDocFactory.cc | 5 ++--- poppler/PDFDocFactory.h | 4 ++-- poppler/PSOutputDev.cc | 3 +-- poppler/PSOutputDev.h | 2 +- poppler/TextOutputDev.cc | 49 ++++++++++++++++++++--------------------- poppler/TextOutputDev.h | 14 ++++++------ poppler/UnicodeMap.cc | 1 - qt5/src/poppler-document.cc | 4 ++-- qt5/src/poppler-fontinfo.cc | 2 +- qt5/src/poppler-outline.cc | 3 +-- qt5/src/poppler-page.cc | 2 +- qt5/src/poppler-private.cc | 4 ++-- qt5/src/poppler-private.h | 2 +- splash/Splash.cc | 1 - splash/SplashBitmap.cc | 5 ++--- splash/SplashBitmap.h | 6 ++--- test/perf-test.cc | 1 - utils/HtmlOutputDev.cc | 11 +++++----- utils/HtmlOutputDev.h | 9 ++++---- utils/pdfdetach.cc | 1 - utils/pdffonts.cc | 2 +- utils/printencodings.cc | 5 +++-- 48 files changed, 148 insertions(+), 234 deletions(-) commit fa8f3f22e85a5508fa53e8604b079e9b73e63f76 Author: Oliver Sander Date: Sun Dec 2 20:41:27 2018 +0100 Remove method GooList::get Use operator[] instead. This is another move towards discarding GooList in favor of std::vector. cpp/poppler-font.cpp | 2 +- cpp/poppler-toc.cpp | 2 +- glib/poppler-action.cc | 4 +-- glib/poppler-document.cc | 24 ++++++------- glib/poppler-page.cc | 12 +++---- goo/GooList.h | 4 --- poppler/Annot.cc | 78 +++++++++++++++++++++---------------------- poppler/Form.cc | 4 +-- poppler/GfxState.cc | 10 +++--- poppler/GlobalParams.cc | 8 ++--- poppler/JBIG2Stream.cc | 28 ++++++++-------- poppler/OptionalContent.cc | 2 +- poppler/PDFDocFactory.cc | 2 +- poppler/PSOutputDev.cc | 8 ++--- poppler/TextOutputDev.cc | 12 +++---- qt5/src/poppler-fontinfo.cc | 2 +- qt5/src/poppler-optcontent.cc | 4 +-- qt5/src/poppler-page.cc | 2 +- qt5/src/poppler-private.cc | 2 +- splash/Splash.cc | 2 +- splash/SplashBitmap.cc | 2 +- utils/HtmlOutputDev.cc | 6 ++-- utils/pdffonts.cc | 4 +-- utils/printencodings.cc | 2 +- 24 files changed, 111 insertions(+), 115 deletions(-) commit 760ca656bd30bba162392011ebca5c67df25ae47 Author: Oliver Sander Date: Sat Dec 1 13:36:40 2018 +0100 Remove method deleteGooList cpp/poppler-font.cpp | 5 ++++- glib/poppler-document.cc | 5 ++++- goo/GooList.h | 8 -------- poppler/Annot.cc | 30 ++++++++++++++++++++++++------ poppler/Form.cc | 15 ++++++++++++--- poppler/GfxState.cc | 5 ++++- poppler/GlobalParams.cc | 10 ++++++++-- poppler/JBIG2Stream.cc | 10 ++++++++-- poppler/Link.cc | 24 ++++++++++++++++++------ poppler/OptionalContent.cc | 5 ++++- poppler/Outline.cc | 10 ++++++++-- poppler/PDFDocFactory.cc | 5 ++++- poppler/PSOutputDev.cc | 5 ++++- poppler/TextOutputDev.cc | 38 ++++++++++++++++++++++++++++++-------- qt5/src/poppler-fontinfo.cc | 6 +++++- splash/SplashBitmap.cc | 5 ++++- utils/HtmlOutputDev.cc | 10 ++++++++-- 17 files changed, 149 insertions(+), 47 deletions(-) commit 3bf47e100717f4295652d578ecd12e489937b329 Author: Oliver Sander Date: Fri Nov 30 22:20:01 2018 +0100 Make GooList a template type One more step towards getting rid of it completely. cpp/poppler-font.cpp | 4 +-- cpp/poppler-toc-private.h | 5 ++-- cpp/poppler-toc.cpp | 6 ++--- glib/poppler-action.cc | 2 +- glib/poppler-document.cc | 14 +++++----- glib/poppler-page.cc | 18 +++++-------- goo/GooList.h | 13 ++++----- poppler/Annot.cc | 22 +++++++-------- poppler/FontInfo.cc | 7 +++-- poppler/FontInfo.h | 4 +-- poppler/Form.cc | 14 +++++----- poppler/Form.h | 4 +-- poppler/GfxState.cc | 24 ++++++++--------- poppler/GfxState.h | 19 ++++++++----- poppler/GlobalParams.cc | 14 +++++----- poppler/GlobalParams.h | 5 ++-- poppler/JBIG2Stream.cc | 16 +++++------ poppler/JBIG2Stream.h | 5 ++-- poppler/Link.cc | 20 +++++++------- poppler/Link.h | 14 +++++----- poppler/OptionalContent.cc | 13 +++++---- poppler/OptionalContent.h | 8 +++--- poppler/Outline.cc | 8 +++--- poppler/Outline.h | 15 +++++------ poppler/PDFDocFactory.cc | 6 ++--- poppler/PDFDocFactory.h | 5 ++-- poppler/PSOutputDev.cc | 4 +-- poppler/PSOutputDev.h | 5 ++-- poppler/TextOutputDev.cc | 62 +++++++++++++++++++++---------------------- poppler/TextOutputDev.h | 18 ++++++------- qt5/src/poppler-document.cc | 2 +- qt5/src/poppler-fontinfo.cc | 4 +-- qt5/src/poppler-optcontent.cc | 4 +-- qt5/src/poppler-page.cc | 2 +- qt5/src/poppler-private.cc | 4 +-- qt5/src/poppler-private.h | 3 ++- splash/Splash.cc | 2 +- splash/SplashBitmap.cc | 8 +++--- splash/SplashBitmap.h | 6 ++--- utils/HtmlOutputDev.cc | 14 +++++----- utils/HtmlOutputDev.h | 9 ++++--- utils/pdffonts.cc | 2 +- utils/printencodings.cc | 2 +- 43 files changed, 218 insertions(+), 218 deletions(-) commit 5610fc71fcd6b4c54e805470259ed95547aa2328 Author: Oliver Sander Date: Fri Nov 30 21:44:58 2018 +0100 pdfdetach: Replace GooList by std::vector utils/pdfdetach.cc | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit fda9a2a2fcb0d12add4812c84f7d39684d2ca6d7 Author: Oliver Sander Date: Fri Nov 30 17:46:02 2018 +0100 Remove method GooList::getLength Use method 'size' (from std::vector) instead. cpp/poppler-font.cpp | 4 ++-- cpp/poppler-toc.cpp | 6 +++--- glib/poppler-action.cc | 5 ++--- glib/poppler-document.cc | 8 ++++---- glib/poppler-page.cc | 20 +++++++++----------- goo/GooList.h | 3 --- poppler/Annot.cc | 14 +++++++------- poppler/Form.cc | 8 ++++---- poppler/GfxState.cc | 20 ++++++++++---------- poppler/GlobalParams.cc | 9 ++++----- poppler/JBIG2Stream.cc | 29 ++++++++++++++--------------- poppler/OptionalContent.cc | 2 +- poppler/Outline.cc | 2 +- poppler/PDFDocFactory.cc | 2 +- poppler/PSOutputDev.cc | 6 +++--- poppler/TextOutputDev.cc | 21 ++++++++++----------- qt5/src/poppler-document.cc | 4 ++-- qt5/src/poppler-fontinfo.cc | 4 ++-- qt5/src/poppler-optcontent.cc | 4 ++-- qt5/src/poppler-page.cc | 2 +- qt5/src/poppler-private.cc | 3 +-- splash/Splash.cc | 4 ++-- splash/SplashBitmap.cc | 2 +- utils/HtmlOutputDev.cc | 6 +++--- utils/HtmlOutputDev.h | 2 +- utils/pdfdetach.cc | 2 +- utils/pdffonts.cc | 4 ++-- utils/printencodings.cc | 2 +- 28 files changed, 94 insertions(+), 104 deletions(-) commit f4e902124c90333db9b2ff2fee3dcf01f52df999 Author: Albert Astals Cid Date: Thu Mar 21 20:02:28 2019 +0100 Fix mismatched free/delete poppler/OptionalContent.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5a5ae212c8e476dbddb9ce8f7a5e30589ba6c8e5 Author: Albert Astals Cid Date: Thu Mar 21 20:01:12 2019 +0100 Add missing include guards poppler/GfxState_helpers.h | 7 ++++++- poppler/PageLabelInfo.h | 7 ++++++- poppler/PageLabelInfo_p.h | 7 ++++++- poppler/UnicodeMapFuncs.h | 7 ++++++- qt5/src/poppler-annotation-helper.h | 5 +++++ qt5/src/poppler-page-transition-private.h | 7 ++++++- utils/Win32Console.h | 6 ++++++ 7 files changed, 41 insertions(+), 5 deletions(-) commit e68916fca85e497d73327625d72fcf8879ed67b2 Author: Albert Astals Cid Date: Thu Mar 21 00:05:10 2019 +0100 0.75.0 CMakeLists.txt | 4 ++-- NEWS | 17 +++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) commit cb1e3809e3c5329ca4dbd29313c5c2241332874b Author: Adam Reichold Date: Wed Mar 20 21:39:14 2019 +0100 Add CI job to generate glib frontend HTML-based API documentation. .gitlab-ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 333bf1757bc68ce342ca708b881c75914a7c463a Author: Adam Reichold Date: Wed Mar 20 00:16:27 2019 +0100 Also build the Doxygen-based CPP frontend docs in the CI so that they can be automatically published via GitLab Pages. .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit a1e0f77578e88b9f089fd88ccba0608a24f2901c Author: Yves-Gaël Chény Date: Mon Mar 11 12:20:40 2019 +0100 add to parameters for command line tools pdftoppm -sep : single character separor between name and page number, default - -forcenum : force page number even if there is only one page utils/pdftoppm.1 | 6 ++++++ utils/pdftoppm.cc | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) commit 20424e7b6a8b6505db1f6fea8318e9f089a8384c Author: Adam Reichold Date: Sat Feb 9 10:11:24 2019 +0100 Publish Qt5 frontend API documentation as GitLab artifacts and trigger publish via GitLab pages. .gitlab-ci.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit fada09a2ccc11a3a1d308e810f1336d8df6011fd Author: Albert Astals Cid Date: Mon Mar 18 00:50:00 2019 +0100 pdfunite: Fix stack overflow on broken file Fixes issue #741 poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 45c6c323fd577a96bb1bf0a53e1d1e5562932fad Author: Umang Malik Date: Sat Mar 16 00:25:05 2019 +0000 Fix parsing of polygon annotation LE values AnnotPolygon::initialize used to look for strings, corrected it to look for names because pdf reference says LE : An array of two names... poppler/Annot.cc | 240 ++++++++++++++++++++++++++++++++++++------------------- poppler/Annot.h | 7 +- 2 files changed, 162 insertions(+), 85 deletions(-) commit 12d4c8a46dd7b37bdc475d88d81ec5eecae48627 Author: Albert Astals Cid Date: Tue Mar 12 22:59:59 2019 +0100 Switch clazy CI to regular fedora rawhide is broken at this point and the current "fedora" has also clazy 1.5 so that's enough for us .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 148c881286049dde9812beecfed8a7636e6f6def Author: Albert Astals Cid Date: Tue Mar 5 00:54:00 2019 +0100 Update (C) of recent commits poppler/JPXStream.cc | 1 + utils/pdfunite.cc | 1 + 2 files changed, 2 insertions(+) commit 7b4e372deeb716eb3fe3a54b31ed41af759224f9 Author: Marek Kasik Date: Mon Mar 4 12:55:12 2019 +0100 pdfunite: Check XRef's Catalog for being a Dict Check whether Catalog from XRef is Dict for each document passed to pdfunite and return error if not. https://gitlab.freedesktop.org/poppler/poppler/issues/706 utils/pdfunite.cc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 2e406d3de277545c61ef462aca5b9e7b984dc477 Author: Robert Niemi Date: Sat Mar 2 06:43:30 2019 +0100 JPXStream: Replaces undefined left-shift operations. Left-shifting a negative signed int is undefined. Most compilers shifts the same way as unsigned ints, but it's better to be clear about it. poppler/JPXStream.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit d9d9c9f16fbd475aa7653a535f38681d3ccb7899 Author: Albert Astals Cid Date: Sat Mar 2 00:07:29 2019 +0100 pdfsig: fix use after free It can happen that destroying the pdf tries to log, which needs globalParams, so destroy globalParams last Fixes issue #733 utils/pdfsig.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 33befc25c42ff52e44ffd857a4a114b180a952e4 Author: Albert Astals Cid Date: Fri Mar 1 17:46:55 2019 +0100 SignatureHandler: Fix crash on broken files Issue #732 poppler/SignatureHandler.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 679339e0384a630052902cfbad1b278440857046 Author: Albert Astals Cid Date: Thu Feb 28 17:42:20 2019 +0100 Function: use new Array::get function Makes code simple and saves getting twice if it's a ref poppler/Function.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit ef6d9e341c98aaf727a27bd858eda7c52b4bed21 Author: Albert Astals Cid Date: Thu Feb 28 17:40:44 2019 +0100 Array: introduce get variant that returns also the Ref it is one Similar to the new one in Dict poppler/Array.cc | 14 ++++++++++++++ poppler/Array.h | 1 + 2 files changed, 15 insertions(+) commit 11d6103d45521d0cfec2a5e49a8214bf85843c7f Author: Albert Astals Cid Date: Thu Feb 28 17:26:47 2019 +0100 Annot: Use the new Dict::lookup function Simplifies the code poppler/Annot.cc | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit 56dc35f28a3f878e57ad7eb2b0ca63f325882f12 Author: Albert Astals Cid Date: Thu Feb 28 17:05:43 2019 +0100 Annot: Remove unneeded copy() calls poppler/Annot.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit ff77c618d2d71ff7b9e473b5735b027ec9ba55bd Author: Albert Astals Cid Date: Thu Feb 28 17:02:42 2019 +0100 Link: Remove unneeded copy() calls poppler/Link.cc | 17 ++++++++++------- poppler/Link.h | 8 ++++---- 2 files changed, 14 insertions(+), 11 deletions(-) commit d57ceff195f5d02504d7adf7396defc915272b67 Author: Albert Astals Cid Date: Thu Feb 28 16:52:58 2019 +0100 Gfx: Save unneeded copy() calls poppler/Gfx.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 008431647c573d342f07f2e05123bdce938802a3 Author: Albert Astals Cid Date: Thu Feb 28 16:52:33 2019 +0100 StructElement: save unneeded copy() calls poppler/StructElement.cc | 5 +++-- poppler/StructElement.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) commit 38422a432c4f49e31467e5eae447e244eade3218 Author: Albert Astals Cid Date: Thu Feb 28 16:51:57 2019 +0100 OptionalContent: constify poppler/OptionalContent.cc | 2 +- poppler/OptionalContent.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d2ccd7f9cd26a877492bc5dd02094defa9be0592 Author: Albert Astals Cid Date: Thu Feb 28 16:51:25 2019 +0100 Form: Save unneeded copy() calls poppler/Form.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c4c8b5be381c925328ecace0753ce4d0c1305bf8 Author: Albert Astals Cid Date: Thu Feb 28 16:50:36 2019 +0100 FontInfo: Save unneeded copy() call poppler/FontInfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1b7baeab913931b06e53d2d271481f711eeab81 Author: Albert Astals Cid Date: Thu Feb 28 16:50:19 2019 +0100 Annot: save some unneeded copy() calls poppler/Annot.cc | 30 ++++++++++++++---------------- poppler/Annot.h | 6 +++--- 2 files changed, 17 insertions(+), 19 deletions(-) commit c33a0e82f8df11f7a5a0f7d0e0020c485b9142f0 Author: Albert Astals Cid Date: Thu Feb 28 17:33:40 2019 +0100 Update (C) of previous commit poppler/FileSpec.h | 2 +- poppler/Stream.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4402e335d6a907c3eb73708a6cd50061625d431f Author: Albert Astals Cid Date: Sun Feb 10 10:00:32 2019 +0100 Add new util: pdfattach poppler/Catalog.cc | 81 +++++++++++++++++++++++++++++++++++++ poppler/Catalog.h | 8 ++++ poppler/Dict.cc | 13 ++++++ poppler/Dict.h | 1 + poppler/FileSpec.cc | 28 +++++++++++++ poppler/FileSpec.h | 2 + poppler/PDFDoc.cc | 6 +++ poppler/Stream.cc | 1 + poppler/Stream.h | 5 +++ utils/CMakeLists.txt | 9 +++++ utils/pdfattach.1 | 60 +++++++++++++++++++++++++++ utils/pdfattach.cc | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++ 12 files changed, 326 insertions(+) commit f4136a6353162db249f63ddb0f20611622ab61b4 Author: Albert Astals Cid Date: Wed Feb 27 19:43:22 2019 +0100 ImageStream::getLine: fix crash on broken files Fixes #728 poppler/Stream.cc | 3 +++ 1 file changed, 3 insertions(+) commit 49ecbd5933e5b182ffc211d281cdfdc499d0357e Author: Albert Astals Cid Date: Wed Feb 27 15:44:01 2019 +0100 Change Dict::lookupNF return a const & Saves some copy() poppler/Annot.cc | 46 ++++++++++++++++++------------------- poppler/Catalog.cc | 6 ++--- poppler/Dict.cc | 9 ++++---- poppler/Dict.h | 2 +- poppler/FileSpec.cc | 4 ++-- poppler/FontInfo.cc | 2 +- poppler/Form.cc | 4 ++-- poppler/Gfx.cc | 17 +++++++------- poppler/GfxFont.cc | 8 +++---- poppler/Link.cc | 6 ++--- poppler/Movie.cc | 4 ++-- poppler/Object.h | 4 ++-- poppler/OptionalContent.cc | 2 +- poppler/Outline.cc | 10 ++++---- poppler/PDFDoc.cc | 10 ++++---- poppler/PSOutputDev.cc | 2 +- poppler/Page.cc | 24 +++++++++---------- poppler/Stream.cc | 4 ++-- poppler/StructElement.cc | 12 +++++----- poppler/StructTreeRoot.cc | 2 +- poppler/XRef.cc | 21 ++++++++--------- qt5/src/poppler-annotation-helper.h | 4 ++-- utils/pdfunite.cc | 8 +++---- 23 files changed, 105 insertions(+), 106 deletions(-) commit 099a09c57224a8072d1591c193815e6434178f25 Author: Albert Astals Cid Date: Wed Feb 27 15:58:42 2019 +0100 pdf-fullrewrite: Save copy() calls test/pdf-fullrewrite.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 1005f8ab69ef539bc46ad3fd4d7e610de0204239 Author: Albert Astals Cid Date: Wed Feb 27 15:56:23 2019 +0100 StructTreeRoot::parseNumberTreeNode: Save copy() call poppler/StructTreeRoot.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 6b099768fad76d06a7351fc2a446859cfce983fb Author: Albert Astals Cid Date: Wed Feb 27 15:54:30 2019 +0100 StructElement::parseChild: Save copy() call poppler/StructElement.cc | 4 ++-- poppler/StructElement.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 2c26b40b8fd82f813c7a8f115ecfa12096452849 Author: Albert Astals Cid Date: Wed Feb 27 15:52:51 2019 +0100 OptionalContent: Save unneeded copy() calls poppler/OptionalContent.cc | 18 +++++++++--------- poppler/OptionalContent.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) commit b7de46a75644d9e7289c7ec1972ccc6c4eb5afa5 Author: Albert Astals Cid Date: Wed Feb 27 15:49:47 2019 +0100 Object::print: Save unneded copy() calls poppler/Object.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 8b8c9ea6eb89bc6b6a0fb0d479e58ba55345e574 Author: Albert Astals Cid Date: Wed Feb 27 15:48:54 2019 +0100 LinkDest::LinkDest: Save unneeded copy() call poppler/Link.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 8579a7b95b6658d1e1a905a8e0ec938f42b8b8f0 Author: Albert Astals Cid Date: Wed Feb 27 15:48:38 2019 +0100 GfxICCBasedColorSpace::parse: Save unneeded copy() call poppler/GfxState.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4b00c90dcfb2283d872c0dc07d7a54ebd490aaf8 Author: Albert Astals Cid Date: Wed Feb 27 15:14:19 2019 +0100 GfxFontDict::hashFontObject1: Remove unnecessary copy calls poppler/GfxFont.cc | 7 +++---- poppler/GfxFont.h | 4 ++-- 2 files changed, 5 insertions(+), 6 deletions(-) commit 063eda5fae00bfb62f04941dc0657596f67683db Author: Albert Astals Cid Date: Wed Feb 27 14:59:46 2019 +0100 OptionalContent: Remove some unnecessary copy() poppler/OptionalContent.cc | 8 ++++---- poppler/OptionalContent.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit 32c7d7437974a8b675b9e4913de9d35a100888ea Author: Albert Astals Cid Date: Wed Feb 27 14:57:03 2019 +0100 FontInfoScanner::scanFonts: remove unnecessary Object::copy poppler/FontInfo.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 597e26e96d2a1449aea360e2cf6ffcbf4b8f5b1d Author: Albert Astals Cid Date: Wed Feb 27 13:56:23 2019 +0100 Make Annot::getNF and Dict::getNF return const & instead of copy Lots of users can deal with a const & directly, so it saves us some copying. For the ones that can't move the copy to the caller side. Some of copy() on the caller side can be easily removed, that will come on next commits glib/poppler-document.cc | 4 ++-- poppler/Annot.cc | 6 +++--- poppler/Array.cc | 11 ++++++----- poppler/Array.h | 4 ++-- poppler/Catalog.cc | 8 ++++---- poppler/Dict.h | 4 ++-- poppler/FontInfo.cc | 2 +- poppler/Form.cc | 6 +++--- poppler/Function.cc | 2 +- poppler/Gfx.cc | 4 ++-- poppler/GfxFont.cc | 6 +++--- poppler/GfxState.cc | 4 ++-- poppler/Link.cc | 8 ++++---- poppler/Object.cc | 4 ++-- poppler/Object.h | 8 ++++---- poppler/OptionalContent.cc | 24 ++++++++++++------------ poppler/PDFDoc.cc | 24 ++++++++++++------------ poppler/PSOutputDev.cc | 8 ++++---- poppler/Page.cc | 2 +- poppler/StructElement.cc | 4 ++-- poppler/StructTreeRoot.cc | 8 ++++---- poppler/XRef.cc | 4 ++-- qt5/src/poppler-optcontent.cc | 6 +++--- test/pdf-fullrewrite.cc | 8 ++++---- utils/pdfunite.cc | 20 ++++++++++---------- 25 files changed, 95 insertions(+), 94 deletions(-) commit 0a4e86e804b784b497407cc9e82cb109ed19edbf Author: Albert Astals Cid Date: Tue Feb 19 23:06:20 2019 +0100 Update (C) of previous commits poppler/Parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 69d86f90e30785a0db76d3898914de4c0782b947 Author: Albert Astals Cid Date: Tue Feb 19 16:18:48 2019 +0100 TextOutputDev: Fix assert in broken file oss-fuzz/13203 poppler/TextOutputDev.cc | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit b0a3356f675e76cf26e6e1ac626a32f7b081da8d Author: Albert Astals Cid Date: Sun Feb 17 00:54:23 2019 +0100 Remove the "long" Object objRef constructor Did analyze the assembler generated by the more verbose option in Parser.cc that is a hot path and the assembler was the same poppler/Object.h | 2 -- poppler/PDFDoc.cc | 5 ++++- poppler/Parser.cc | 5 ++++- qt5/tests/check_optcontent.cpp | 4 ++-- utils/pdfunite.cc | 8 ++++---- 5 files changed, 14 insertions(+), 10 deletions(-) commit 60b663236547efe8b3d87e0149050056ad9f0f60 Author: Albert Astals Cid Date: Wed Feb 13 20:26:07 2019 +0100 CI Use kdeorg/android-sdk instead of apol/asdk:clang it's a bit more official looking .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cc7a18307d363c687221a49cee3e0b6e22ff390f Author: Masamichi Hosoda Date: Tue Feb 12 21:16:42 2019 +0900 cpp: tests: Add showing version information to poppler-dump cpp/tests/poppler-dump.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 258a25fc02976db194e3eb1e383921a328c72a94 Author: Albert Astals Cid Date: Sun Feb 10 23:52:13 2019 +0100 gbasename: Include stdlib for free fixes macos build goo/gbasename.cc | 2 ++ 1 file changed, 2 insertions(+) commit d14a96210f5def63a817c9a2c6d9e971c7272717 Author: Albert Astals Cid Date: Sun Feb 10 23:51:01 2019 +0100 Update (C) goo/gbasename.cc | 2 +- utils/InMemoryFile.cc | 2 +- utils/InMemoryFile.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit e4b72ca0694d86915676a47642fa3c319f8b936b Author: Date: Sun Feb 10 16:25:35 2019 -0500 tidyup: #if to #ifdef in HAVE_IN_MEMORY_FILE_FOPENCOOKIE as per aacid utils/InMemoryFile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7b9b3a924d6b63e25e6e6157be5c5e471c43e406 Author: Date: Sun Feb 10 16:25:18 2019 -0500 MSVC/Mac build fix: Hide the private methods in InMemoryFile behind a HAVE_IN_MEMORY_FILE_FOPENCOOKIE guard. These use datatypes like off64_t which don't seem to port to MSVC/Mac. utils/InMemoryFile.cc | 2 ++ utils/InMemoryFile.h | 2 ++ 2 files changed, 4 insertions(+) commit 2d1c8327c936600deca28a15230804a448e3f8a2 Author: Date: Sun Feb 10 16:24:29 2019 -0500 MSVC build fix: gbasename: basename()/libgen.h don't exist in MSVC-land. Instead, use _splitpath_s. goo/gbasename.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 0e7b76ef87378e924e9f715bfe4ff50b8af4a709 Author: Albert Astals Cid Date: Sun Feb 10 18:02:11 2019 +0100 NameTree: remove undefined function poppler/Catalog.h | 1 - 1 file changed, 1 deletion(-) commit e65dfd791447225c9477f973cbc172b269164af9 Author: Albert Astals Cid Date: Sun Feb 10 18:01:25 2019 +0100 NameTree: Remove unused member poppler/Catalog.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ae62db7d22c1dbd3b958ec571337d34c9fc7be7b Author: Masamichi Hosoda Date: Sun Feb 10 23:27:25 2019 +0900 cpp: docs: Add description of header version macro This commit adds description of header version macro. POPPLER_VERSION POPPLER_VERSION_MAJOR POPPLER_VERSION_MINOR POPPLER_VERSION_MICRO cpp/poppler-version.cpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit dbc49f4805eff0ca9f200feebd433ab73b12ba73 Author: Masamichi Hosoda Date: Sun Feb 10 22:04:45 2019 +0900 cpp: docs: Add header file information This commit adds header files for the document. It generates header file information including dependency graphs and so on. cpp/poppler-destination.cpp | 3 +++ cpp/poppler-document.cpp | 3 +++ cpp/poppler-embedded-file.cpp | 3 +++ cpp/poppler-font.cpp | 3 +++ cpp/poppler-global.cpp | 3 +++ cpp/poppler-image.cpp | 3 +++ cpp/poppler-page-renderer.cpp | 3 +++ cpp/poppler-page-transition.cpp | 3 +++ cpp/poppler-page.cpp | 3 +++ cpp/poppler-rectangle.cpp | 3 +++ cpp/poppler-toc.cpp | 3 +++ cpp/poppler-version.cpp | 6 ++++++ 12 files changed, 39 insertions(+) commit 9802b5fc05817a9a4db6a65b22411068767fb681 Author: Masamichi Hosoda Date: Sun Feb 10 21:22:50 2019 +0900 cpp: docs: Fix doc generating from poppler-version.h.in Doxygen generated document did not contain `poppler::version_string()`, `poppler::version_major()`, `poppler::version_minor()`, and `poppler::version_micro()`. These descriptions are written in `poppler-version.h.in` in source files and doxygen could not parse `poppler-version.h.in` because its extension is not mapped to any languages. This commit adds `*.in` to C++ in extension mapping. As a result, doxygen parses `poppler-version.h.in` as C++ file. So generated document becomes to contain `poppler::version_string()` etc. cpp/Doxyfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e5fee74cbb924bb6758fa7697c66571e50ec2f7d Author: Albert Astals Cid Date: Sun Feb 10 16:52:11 2019 +0100 Make the Object Ref constructor explicit poppler/Object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4d0cbca6a9ebf92f4947522f56cf9361d4b5314e Author: Albert Astals Cid Date: Sun Feb 10 16:46:56 2019 +0100 Add an XRef::fetch variant that takes a const Ref makes the code more compact and easier to understand glib/poppler-action.cc | 2 +- poppler/FontInfo.cc | 4 ++-- poppler/Gfx.cc | 4 ++-- poppler/Object.cc | 4 ++-- poppler/PDFDoc.cc | 18 +++++++++--------- poppler/XRef.cc | 9 +++++++-- poppler/XRef.h | 3 ++- utils/pdfunite.cc | 2 +- 8 files changed, 26 insertions(+), 20 deletions(-) commit fc555c756becd50d75d87b820b695363030d9ab9 Author: Albert Astals Cid Date: Sun Feb 10 16:28:28 2019 +0100 Object: Add constructor that takes a const Ref makes it easier to not have to unbox the Ref for no reason poppler/Annot.cc | 12 ++++++------ poppler/Form.cc | 2 +- poppler/GfxFont.cc | 6 +++--- poppler/Object.h | 4 +++- poppler/PDFDoc.cc | 2 +- poppler/PSOutputDev.cc | 4 ++-- poppler/Page.cc | 12 ++++++------ poppler/XRef.cc | 4 ++-- qt5/src/poppler-document.cc | 4 ++-- utils/pdfunite.cc | 4 ++-- 10 files changed, 28 insertions(+), 26 deletions(-) commit 5f6ff67b0e1dc075d737fc840642c292329dcd08 Author: Albert Astals Cid Date: Sun Feb 10 15:32:26 2019 +0100 pdftohtml: Add -dataurls to man page utils/pdftohtml.1 | 3 +++ 1 file changed, 3 insertions(+) commit 7b8dbc0a4dc8e0738658b8e4fe7c44adad15af24 Author: Greg Knight Date: Fri Nov 23 22:30:12 2018 -0500 pdftohtml: singleHtml and stout are not mutually exclusive. with -dataurls is actually quite reasonable. utils/pdftohtml.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 91ab53fa635e9ea964f10e9a6681d04d7185c732 Author: Greg Knight Date: Fri Nov 23 19:53:38 2018 -0500 pdftohtml: add support for dataUrls argument eliminate the 'extension' field used to regenerate background images; replace with a list of background images utils/HtmlOutputDev.cc | 67 ++++++++++++++++++++++++++------------------------ utils/HtmlOutputDev.h | 15 ++++++----- utils/pdftohtml.cc | 46 ++++++++++++++++++++++++---------- 3 files changed, 77 insertions(+), 51 deletions(-) commit 44da4d785cffeb5d4bbb1460479add6ce01edea2 Author: Greg Knight Date: Sun Feb 10 10:31:36 2019 +0100 Introduce gbase64 CMakeLists.txt | 1 + goo/gbase64.cc | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ goo/gbase64.h | 28 ++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) commit 2ba81611e9ccdcb49275ee247308bd0dcba3e64d Author: Greg Knight Date: Sun Feb 10 10:28:26 2019 +0100 Introduce gbasename CMakeLists.txt | 1 + goo/gbasename.cc | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ goo/gbasename.h | 22 ++++++++++++++++++++++ utils/HtmlOutputDev.cc | 47 ++++++++++++++++------------------------------ utils/HtmlOutputDev.h | 7 ------- utils/pdfsig.cc | 6 ++---- 6 files changed, 92 insertions(+), 42 deletions(-) commit 7f4da59665969f624c18a1ba3e1f1ac1ca3478b1 Author: Greg Knight Date: Fri Nov 23 19:37:37 2018 -0500 pdftohtml data urls: adding InMemoryFile utility class utils/CMakeLists.txt | 1 + utils/InMemoryFile.cc | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++ utils/InMemoryFile.h | 51 +++++++++++++++++++++++++++++++++++ 3 files changed, 127 insertions(+) commit 8d2a3e533024b01c8ec7fe3170d29877bbf4af5e Author: Albert Astals Cid Date: Sun Feb 10 10:03:05 2019 +0100 constify saveAs GooStrings poppler/PDFDoc.cc | 6 +++--- poppler/PDFDoc.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) commit c0c89223c1724815e8bae78ebac72bb3a4873a68 Author: Albert Astals Cid Date: Thu Feb 7 19:34:31 2019 +0100 0.74.0 CMakeLists.txt | 4 ++-- NEWS | 26 ++++++++++++++++++++++++++ cpp/CMakeLists.txt | 2 +- cpp/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 32 insertions(+), 6 deletions(-) commit 2c5fadd7e1c1b896ee23a3ba694f5f19430b6720 Author: Albert Astals Cid Date: Wed Feb 6 19:45:09 2019 +0100 Update (C) of last commit poppler/CairoOutputDev.cc | 2 +- poppler/CairoRescaleBox.cc | 1 + qt5/src/ArthurOutputDev.cc | 2 +- utils/ImageOutputDev.cc | 2 +- utils/pdftocairo.cc | 2 +- 5 files changed, 5 insertions(+), 4 deletions(-) commit 5a72f3cd65d4c9481b0b5b2535e51057c7b9b291 Author: Albert Astals Cid Date: Wed Feb 6 18:31:55 2019 +0100 Use reinterpret_cast to silence cast-align warnings In ImageOutputDev it comes directly from malloc, and malloc guarantees alignment for basic types, so we're good In ArthurOutputDev it comes from QImage::bits that uses malloc internally, so we're good In cairo* it comes from cairo_image_surface_get_data that comes from pixman_image_get_data that returns a uint32_t * so we're only going to the original type alignment .gitlab-ci.yml | 2 +- poppler/CairoOutputDev.cc | 8 ++++---- poppler/CairoRescaleBox.cc | 2 +- qt5/src/ArthurOutputDev.cc | 6 +++--- utils/ImageOutputDev.cc | 2 +- utils/pdftocairo.cc | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) commit ff1ab1b0c9b265df1fd07380cd78ca0daa63d642 Author: Vincent Le Garrec Date: Sat Feb 2 04:25:52 2019 +0100 Undefined-shift in StreamPredictor::getNextLine oss-fuzz/10284 poppler/Stream.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5d2ef36e11a63d06c05fa6d314cd7571262d6e4e Author: Albert Astals Cid Date: Mon Feb 4 22:30:54 2019 +0100 Update (C) poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8446948decde451b4be5f869e98884233e43588c Author: Albert Astals Cid Date: Sun Feb 3 14:25:18 2019 +0100 SplashXPath: Handle overflow of adjusts gracefully oss-fuzz/12638 splash/SplashXPath.cc | 120 +++++++++++++++++++++++++------------------------- 1 file changed, 61 insertions(+), 59 deletions(-) commit 5417b8c364fb5f71176f1a22554ac98b20a58815 Author: Vincent Le Garrec Date: Sat Feb 2 05:00:49 2019 +0100 Integer-overflow in FoFiBase::checkRegion oss-fuzz/8612 fofi/FoFiBase.cc | 2 ++ 1 file changed, 2 insertions(+) commit 0d4103767f99aebbf7c84165f834fd0e2b5c3054 Author: Albert Astals Cid Date: Sun Feb 3 00:43:41 2019 +0100 Gfx8BitFont: Make multiple code variables instead of one Makes for easier understanding/scoping of its value poppler/GfxFont.cc | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit 308b7ca12352b741c4f11b4b7685ef71fa66d50a Author: Vincent Le Garrec Date: Sat Feb 2 04:40:08 2019 +0100 Integer-overflow in Gfx8BitFont::Gfx8BitFont oss-fuzz/8715 poppler/GfxFont.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b54e1fc3e0d2600621a28d50f9f085b9e38619c2 Author: Adam Reichold Date: Fri Feb 1 08:42:27 2019 +0100 Also defend against requests for negative XRef indices. oss-fuzz/12797 poppler/XRef.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 3cc40be2c545b833d518994d9e459376e6858cb1 Author: Albert Astals Cid Date: Mon Jan 28 22:02:52 2019 +0100 JBIG2Stream: Free huffTab if buildTable fails poppler/JBIG2Stream.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 181db8ab737c2fbf73b1706879d00d97a72426d3 Author: LE GARREC Vincent Date: Sun Jan 27 16:43:15 2019 +0000 ofz-8467: Undefined-shift in CMap::addCIDs poppler/CMap.cc | 5 +++++ 1 file changed, 5 insertions(+) commit c3577325de5b9d59539c2413dcc66283df062ffa Author: LE GARREC Vincent Date: Sun Jan 27 10:19:10 2019 +0000 ofz-8725: Undefined-shift in JBIG2HuffmanDecoder::buildTable poppler/JBIG2Stream.cc | 41 +++++++++++++++++++++++++++++------------ 1 file changed, 29 insertions(+), 12 deletions(-) commit a73c80e024e8b2a9613926793165da07017dfbb2 Author: Vincent Le Garrec Date: Sat Jan 26 09:05:14 2019 +0100 ofz-8516: Undefined-shift in StreamBitReader::readBits https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8516 poppler/Hints.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ef64a69b84ad066559a0f25d5c5af96af38b9dd1 Author: Vincent Le Garrec Date: Sat Jan 26 09:53:38 2019 +0100 ofz-8798: Undefined-shift in JBIG2MMRDecoder::get2DCode https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8798 poppler/JBIG2Stream.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 6f5327114c824791dda72dc415b047d445e46d9d Author: Albert Astals Cid Date: Fri Jan 25 16:10:08 2019 +0100 glib: Fix cast from 'GTime *' (aka 'int *') to 'time_t *' (aka 'long *') Sounds rather scary since we're storing a bigger value than what really fits. Fixed by the suggestion of https://developer.gnome.org/glib/stable/glib-Date-and-Time-Functions.html#GTime Changing the type of _PopplerAttachment ctime/mtime would change the structure size, thus break the BC, so leaving that for the future for now glib/poppler-attachment.cc | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit f2493d53a70e10ea69bd147c48be7c8544979436 Author: Albert Astals Cid Date: Fri Jan 25 19:49:54 2019 +0100 SampledFunction: Fix uninitialized memory read oss-fuzz/12608 poppler/Function.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a6427ea6df68eb20e1970ddaf4017ba9a04e737a Author: Vincent Le Garrec Date: Fri Jan 25 07:37:46 2019 +0100 Fix ofz-8438 https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=8438 poppler/GfxState.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7486e4995d66f1a8676f3e65e408e8cdab049f6b Author: Albert Astals Cid Date: Wed Jan 16 22:56:42 2019 +0100 pdfsig: add -nssdir option Contains code inspired in code by Hans-Ulrich Jüttner and Adrian Johnson poppler/SignatureHandler.cc | 56 ++++++++++++++++++++++++++++++--------------- poppler/SignatureHandler.h | 9 +++++--- poppler/SignatureInfo.cc | 4 ++-- utils/pdfsig.1 | 15 ++++++++++-- utils/pdfsig.cc | 12 +++++++--- 5 files changed, 68 insertions(+), 28 deletions(-) commit 8076bc66c3bd6897d142fba7e7740ab9baf0cb37 Author: Albert Astals Cid Date: Sat Jan 19 21:34:23 2019 +0100 Fix link in FreeBSD .gitlab-ci.yml | 3 +-- CMakeLists.txt | 6 +++++- cmake/modules/FindGLIB.cmake | 6 +++++- cmake/modules/FindNSS3.cmake | 6 +++++- glib/CMakeLists.txt | 6 +++++- 5 files changed, 21 insertions(+), 6 deletions(-) commit 900d02b0cba78e23d80869b89c07db81b63bbcf4 Author: Albert Astals Cid Date: Sat Jan 19 01:20:07 2019 +0100 Update (C) goo/gdir.h | 1 + poppler/Function.cc | 2 +- poppler/SplashOutputDev.cc | 1 + poppler/Stream.cc | 1 + splash/SplashFTFontEngine.cc | 1 + splash/SplashFontEngine.cc | 1 + splash/SplashFontFile.cc | 1 + utils/pdfinfo.cc | 1 + 8 files changed, 8 insertions(+), 1 deletion(-) commit 98f7cf7cf126a1d28797b4ce9095aefe9656e954 Author: Albert Astals Cid Date: Fri Jan 18 17:18:39 2019 +0100 Fix e[0] gcc warning poppler/Function.cc | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) commit 748b4e58e384b806618fae2014b6e413a4168fed Author: Christian Persch Date: Fri Jan 4 22:13:43 2019 +0100 all: Remove support for obsolete systems https://gitlab.freedesktop.org/poppler/poppler/issues/709 goo/gdir.h | 5 -- goo/gfile.cc | 182 +++---------------------------------------- goo/gfile.h | 7 +- poppler/GlobalParams.cc | 2 - poppler/PSOutputDev.cc | 8 -- poppler/SplashOutputDev.cc | 6 -- poppler/Stream.cc | 8 -- poppler/TextOutputDev.cc | 8 -- splash/SplashFTFontEngine.cc | 6 -- splash/SplashFontEngine.cc | 12 --- splash/SplashFontFile.cc | 6 -- utils/pdfinfo.cc | 4 - 12 files changed, 10 insertions(+), 244 deletions(-) commit 9f247fbb14df853274423035530a141405c90cda Author: Volker Krause Date: Wed Jan 16 20:17:12 2019 +0100 Remove unused MacroPushRequiredVars.cmake This is nowadays also provided by CMake itself via CMakePushCheckState. cmake/modules/MacroPushRequiredVars.cmake | 47 ------------------------------- 1 file changed, 47 deletions(-) commit eae71a6b497f0bbafeaf3d8a09dc735e591cdf10 Author: Masamichi Hosoda Date: Sat Jan 12 21:55:17 2019 +0900 cpp: Add named destination for poppler-dump cpp/tests/poppler-dump.cpp | 97 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) commit ec67506c3d0b1c519bb3e2f0bee90fac328e7ddb Author: Masamichi Hosoda Date: Sat Jan 12 18:44:42 2019 +0900 cpp: Add document::create_destination_map() Creates a map of all the named destinations in the document. cpp/poppler-document.cpp | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ cpp/poppler-document.h | 8 +++++++ 2 files changed, 64 insertions(+) commit dbed0702722336baf3ed9fc0e780e14fcdec6f3b Author: Masamichi Hosoda Date: Sat Jan 12 16:08:44 2019 +0900 cpp: Add destination class The information about a destination used in a PDF document. cpp/CMakeLists.txt | 2 + cpp/poppler-destination-private.h | 55 ++++++++ cpp/poppler-destination.cpp | 285 ++++++++++++++++++++++++++++++++++++++ cpp/poppler-destination.h | 68 +++++++++ 4 files changed, 410 insertions(+) commit 842a75d8d6cc0105da6c0b5dbb0997b79ba63246 Author: Volker Krause Date: Tue Jan 15 19:50:39 2019 +0100 Fix fseeko configure check on Android for API level < 24 The availability depends on the _FILE_OFFSET_BITS define, which is set in config.h. So we need to have this during the configure check as well, to test under the same conditions. ConfigureChecks.cmake | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 8984a7103abadd1bbc8c0a7ae093611509874d73 Author: Albert Astals Cid Date: Fri Jan 11 21:02:43 2019 +0100 Update (C) of last commits poppler/Form.cc | 2 +- poppler/SignatureHandler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b82b77b06f97e960c0f35bfc21b61e61109e1a6f Author: Albert Astals Cid Date: Fri Jan 11 11:10:49 2019 +0100 Make validateSignature return a SignatureValidationStatus poppler/Form.cc | 7 +++--- poppler/SignatureHandler.cc | 55 ++++++++++++++++++++++----------------------- poppler/SignatureHandler.h | 5 +---- 3 files changed, 31 insertions(+), 36 deletions(-) commit 01ccc50e5e7407bed8a0b65aeb4b72b038c6ec07 Author: Albert Astals Cid Date: Fri Jan 11 11:05:52 2019 +0100 Merge NSS_CertTranslate into validateCertificate poppler/Form.cc | 5 ++--- poppler/SignatureHandler.cc | 51 +++++++++++++++++++-------------------------- poppler/SignatureHandler.h | 3 +-- 3 files changed, 24 insertions(+), 35 deletions(-) commit fbb6509c05bad7e6bfeba8b4bb2cdc4a0e2d297f Author: Adrian Johnson Date: Sun Nov 25 22:12:12 2018 +0100 Include timezone in timeToDateString() poppler/DateInfo.cc | 61 +++++++++++++++++++++-------------------------------- poppler/DateInfo.h | 1 + 2 files changed, 25 insertions(+), 37 deletions(-) commit 8da4d536cc2b982365483ee873f859b346efeff0 Author: Albert Astals Cid Date: Wed Jan 9 09:58:43 2019 +0100 qt5: demo: Actually use the lazy toc model lazyly qt5/demos/toc.cpp | 145 ++++++++++++++++++++++++++++++++++++++++++++---------- qt5/demos/toc.h | 6 ++- 2 files changed, 124 insertions(+), 27 deletions(-) commit c8e6e73a28f6d66e6babedf9cc8da4f10b9e5ffe Author: Albert Astals Cid Date: Wed Jan 9 20:07:10 2019 +0100 Update (C) of previous commits qt5/demos/toc.cpp | 1 + qt5/src/poppler-outline-private.h | 2 ++ qt5/src/poppler-outline.cc | 2 ++ qt5/src/poppler-qt5.h | 2 +- 4 files changed, 6 insertions(+), 1 deletion(-) commit 9b9795e935867f4bc35c4fdb2979dda8c92f6292 Author: Albert Astals Cid Date: Wed Jan 9 10:20:15 2019 +0000 Update since to 0.74 qt5/src/poppler-qt5.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3cb662cd84520bb669692bfba0560a1ffd233920 Author: Adam Reichold Date: Fri Dec 7 09:38:59 2018 +0100 Add a method the check if an outline item has children to avoid having to eagerly expand the hierarchy anyway. qt5/src/poppler-outline.cc | 11 +++++++++++ qt5/src/poppler-qt5.h | 7 +++++++ qt5/tests/check_outline.cpp | 2 ++ 3 files changed, 20 insertions(+) commit 3376db5e5b2588c5b4d0df74b5c9a3230ffbc78d Author: Adam Reichold Date: Sat Nov 24 18:55:26 2018 +0100 Port the Qt5 viewer demo to use the lazy outline item API (even if for loading all items up front for now). qt5/demos/toc.cpp | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) commit a2e42c88cee27497517bbab098a917bfd80d26f7 Author: Adam Reichold Date: Sat Nov 24 18:55:01 2018 +0100 Add missing doc comments for the lazy outline item API of the Qt5 frontend. qt5/src/poppler-qt5.h | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit c0fc05ed1113383bcbb55272bd64e1842490e2a1 Author: Adam Reichold Date: Wed Oct 31 21:19:55 2018 +0100 Remove the intermediate Outline type since all items are owned by the document and the top-level items will always be eagerly loaded anyway. qt5/src/poppler-document.cc | 16 +++++++++++----- qt5/src/poppler-outline-private.h | 7 ------- qt5/src/poppler-outline.cc | 23 ----------------------- qt5/src/poppler-qt5.h | 19 ++----------------- qt5/tests/check_outline.cpp | 13 ++++--------- 5 files changed, 17 insertions(+), 61 deletions(-) commit 13b5eae9f785a70bc6b9af8e773a555665a1b39c Author: Adam Reichold Date: Wed Oct 31 19:03:57 2018 +0100 Add Qt5 API that lazily builds an outline by wrapping the internal objects. qt5/src/CMakeLists.txt | 1 + qt5/src/poppler-document.cc | 12 ++- qt5/src/poppler-outline-private.h | 52 +++++++++++ qt5/src/poppler-outline.cc | 189 ++++++++++++++++++++++++++++++++++++++ qt5/src/poppler-private.cc | 2 +- qt5/src/poppler-qt5.h | 50 ++++++++++ qt5/tests/CMakeLists.txt | 1 + qt5/tests/check_outline.cpp | 55 +++++++++++ 8 files changed, 360 insertions(+), 2 deletions(-) commit 29fa0f234ff1094c8e9f7a09ca31262e28df40a4 Author: Christian Persch Date: Mon Jan 7 23:26:56 2019 +0100 glib: docs: Add API index for 0.73 glib/reference/poppler-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 67e46f6e1339f830f9f8b6fd27e38708b4cf4b0e Author: Albert Astals Cid Date: Mon Jan 7 22:15:12 2019 +0100 Poppler 0.73.0 CMakeLists.txt | 4 ++-- NEWS | 32 ++++++++++++++++++++++++++++++++ cpp/CMakeLists.txt | 2 +- cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 39 insertions(+), 7 deletions(-) commit 75f3d31daa050ca822d2ab501cdeca748ddf9d54 Author: Marek Kasik Date: Wed Jan 2 14:55:41 2019 +0100 glib: Make PrintScaling preference available in API Add poppler_document_get_print_scaling() function and PopplerPrintScaling enum so that applications which use poppler's glib frontend can access this preference. https://bugs.freedesktop.org/show_bug.cgi?id=92779 glib/poppler-document.cc | 60 ++++++++++++++++++++++++++++++++++++- glib/poppler-document.h | 17 +++++++++++ glib/reference/poppler-sections.txt | 3 ++ glib/reference/poppler.types | 1 + 4 files changed, 80 insertions(+), 1 deletion(-) commit 44505cb397c46baa7dd4a0456f737f36e6d19ad0 Author: Christian Persch Date: Tue Jan 1 18:16:18 2019 +0100 glib: Fix named destinations Named destinations may be described by bytestrings, containing embedded NULs and not being NUL terminated. That means they cannot be exposed directly as char*. The alternatives are to escape the string from the internal representation when exposing it in the API (e.g. in PopplerDest.named_dest), or to add parallel API exposing it as GString, or GBytes. This patch chooses the first option, since the presence of these named destionations in the public, not sealed, PopplerDest struct means that the second option would need more API additions. The chosen option is simpler, and does not need the API users to adapt unless they create the named dest strings themselves, or consume them in ways other than calling poppler APIs. The escaping scheme chosen simply replaces embedded NUL with "\0" and escapes a literal backslash with "\\". This is a minimal ABI change in that some strings that previously worked unchanged as destinations (those containing backslash) now don't work, but on the other hand, previously it was impossible to use any destinations containing embedded NULs. Add poppler_named_dest_{from,to}_bytestring() to perform that conversion, and clarify the documentation for when you need them. Based on a patch by José Aliste . https://gitlab.freedesktop.org/poppler/poppler/issues/631 glib/demo/utils.c | 2 - glib/poppler-action.cc | 5 +- glib/poppler-action.h | 16 ++++ glib/poppler-document.cc | 151 +++++++++++++++++++++++++++++++----- glib/reference/poppler-sections.txt | 2 + 5 files changed, 154 insertions(+), 22 deletions(-) commit 5196cf634cddabde8963306ab99f86c3840fbbbb Author: Albert Astals Cid Date: Sat Jan 5 20:11:22 2019 +0100 qt5: Remove CertificateInfo() This is BC because the version with it was never released People will shoot themselves on the foot and we don't need it qt5/src/poppler-form.cc | 94 ++++++++++++++++++++++++------------------------- qt5/src/poppler-form.h | 3 +- 2 files changed, 48 insertions(+), 49 deletions(-) commit 8e8c8417a724b3d12e310f9858d0bf02f1b49c7e Author: Albert Astals Cid Date: Sat Jan 5 19:48:41 2019 +0100 Remove unneeded/leaky copyString calls the left hand is a std::string poppler/SignatureHandler.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 7fde94de5bc8bcb83f347663abf4dd056a03837e Author: Oliver Sander Date: Sat Oct 27 21:21:31 2018 +0200 Make CertificateInfo a std::unique_ptr poppler/SignatureHandler.cc | 4 ++-- poppler/SignatureHandler.h | 2 +- poppler/SignatureInfo.cc | 8 +++----- poppler/SignatureInfo.h | 5 +++-- 4 files changed, 9 insertions(+), 10 deletions(-) commit 8943f7de0125152f20a64b8092ed516e08e6c1d9 Author: Oliver Sander Date: Sat Oct 27 21:09:29 2018 +0200 Use std::string for the strings in EntityInfo poppler/CertificateInfo.cc | 45 ++++----------------------------------------- poppler/CertificateInfo.h | 8 ++++---- qt5/src/poppler-form.cc | 16 ++++++++-------- 3 files changed, 16 insertions(+), 53 deletions(-) commit 0d3c6b4010629d92e7aee1a7486085d9e0ca711c Author: Oliver Sander Date: Sat Oct 27 20:42:44 2018 +0200 Use GooString for publicKey, cert_serial, cert_der poppler/CertificateInfo.cc | 35 +++++++++-------------------------- poppler/CertificateInfo.h | 12 ++++++------ poppler/SignatureHandler.cc | 4 ++-- qt5/src/poppler-form.cc | 2 +- 4 files changed, 18 insertions(+), 35 deletions(-) commit 119554432264010850250344c8c087c9f31216dc Author: Oliver Sander Date: Fri Oct 26 21:02:56 2018 +0200 Lots of changes to CertificateInfo memory handling poppler/CertificateInfo.cc | 131 ++++++++++++++++++++++++++++++++++---------- poppler/CertificateInfo.h | 39 ++++++++++--- poppler/Form.cc | 2 +- poppler/SignatureHandler.cc | 44 +++++++-------- poppler/SignatureHandler.h | 8 +-- poppler/SignatureInfo.cc | 4 +- poppler/SignatureInfo.h | 3 +- qt5/src/poppler-form.cc | 38 ++++++++----- qt5/src/poppler-form.h | 19 ++++--- 9 files changed, 195 insertions(+), 93 deletions(-) commit 0e2577ec4c3d08eac0b02a3e941d51082b2754c0 Author: Albert Astals Cid Date: Thu Oct 25 21:49:12 2018 +0200 delete copy constructor and assignement poppler/CertificateInfo.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 5a12875cec4d544ea1ca2838fcf407bc2888dd10 Author: Albert Astals Cid Date: Thu Oct 25 21:38:44 2018 +0200 Install the header file CertificateInfo.h CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 5d6e6f3d4ead5f098be84fffab5cc7d4bdefe38a Author: Chinmoy Ranjan Pradhan Date: Tue Jul 17 17:47:34 2018 +0000 Expose X509CertificateInfo in qt5 frontend qt5/src/poppler-form.cc | 222 ++++++++++++++++++++++++++++++++++++++++++++++++ qt5/src/poppler-form.h | 133 +++++++++++++++++++++++++++++ 2 files changed, 355 insertions(+) commit a6944a73286032c2c434f78325531cdf9d3a0de2 Author: Chinmoy Ranjan Pradhan Date: Tue Jul 17 18:18:30 2018 +0000 Add X509CertificateInfo to poppler CMakeLists.txt | 1 + poppler/CertificateInfo.cc | 127 ++++++++++++++++++++++++++++++++++++++++++++ poppler/CertificateInfo.h | 98 ++++++++++++++++++++++++++++++++++ poppler/Form.cc | 1 + poppler/SignatureHandler.cc | 114 +++++++++++++++++++++++++++++++++++++-- poppler/SignatureHandler.h | 5 ++ poppler/SignatureInfo.cc | 14 +++++ poppler/SignatureInfo.h | 5 ++ 8 files changed, 361 insertions(+), 4 deletions(-) commit aed1af47a2f1adde4e47836798346674f84b873a Author: Christian Persch Date: Sat Jan 5 23:50:24 2019 +0100 gfile: Fix the build on WIN32 The openFileDescriptor function is not user in the WIN32 codepaths, so just #ifdef it out on WIN32. goo/gfile.cc | 4 ++++ goo/gfile.h | 4 ++++ 2 files changed, 8 insertions(+) commit 01e963c4f89f47a883c27c597cdf7bf361e8f1ce Author: Albert Astals Cid Date: Sat Jan 5 18:12:42 2019 +0100 qt5: undefine major and minor since old glibc defined them qt5/src/poppler-version.h.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 0e8effb2c5143548f4245300840a510eaf94f9e7 Author: Alexey Pavlov Date: Mon Dec 10 12:03:48 2018 +0100 msys2: add missing include on mingw-w64 utils/pdfsig.cc | 2 ++ 1 file changed, 2 insertions(+) commit 12cf140b0e3b241788b6dfd65129d9bb028bef9c Author: Alexey Pavlov Date: Mon Dec 10 01:07:07 2018 +0100 msys2: fix glib introspection path on mingw-w64 glib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 859b4e54c8a6af13eb4715076dc90a17bb2b71df Author: Alexey Pavlov Date: Mon Dec 10 01:06:18 2018 +0100 msys2: support enabling NSS on mingw-w64 cmake/modules/FindNSS3.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2cebd37e2910a7edacb19c32b82d8b8f7cfe41d6 Author: Albert Astals Cid Date: Sat Jan 5 17:31:00 2019 +0100 Update (C) of previous commits fofi/FoFiBase.cc | 1 + fofi/FoFiIdentifier.cc | 1 + goo/gfile.cc | 1 + goo/gfile.h | 1 + poppler/CairoFontEngine.cc | 1 + poppler/FileSpec.cc | 1 + poppler/GfxState.cc | 2 +- poppler/GlobalParams.cc | 1 + poppler/GlobalParamsWin.cc | 1 + poppler/PDFDoc.cc | 1 + poppler/PSOutputDev.cc | 1 + poppler/TextOutputDev.cc | 1 + splash/SplashBitmap.cc | 1 + 13 files changed, 13 insertions(+), 1 deletion(-) commit d5625de8ce3fc31608248fe14b12c4c7d1a43593 Author: Christian Persch Date: Thu Jan 3 21:11:49 2019 +0100 gfile: Open files with CLOEXEC flag set First try to atomically open the file using O_CLOEXEC for open() and the "e" mode for fopen(), and if that doesn't work or O_CLOEXEC isn't defined, fall back to opening the file first and applying the FD_CLOEXEC flag afterwards. goo/gfile.cc | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) commit 4a3eef323d72b06780c318f58917f884eecc812e Author: Christian Persch Date: Thu Jan 3 21:11:49 2019 +0100 gfile: Add wrapper for open(3p) and use it instead of directly calling open This is in preparation to making the wrapper enforce the O_CLOEXEC flag. goo/gfile.cc | 6 +++++- goo/gfile.h | 3 +++ poppler/CairoFontEngine.cc | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) commit e1e4457a235f6107c09d32994fc628efa9e7bd0e Author: Christian Persch Date: Thu Jan 3 21:11:49 2019 +0100 all: Use the openFile fopen wrapper from gfile.h Use the openFile wrapper instead of calling fopen directly in the libraries. fofi/FoFiBase.cc | 3 ++- fofi/FoFiIdentifier.cc | 3 ++- glib/poppler-attachment.cc | 5 +++-- glib/poppler-media.cc | 5 +++-- poppler/FileSpec.cc | 3 ++- poppler/GfxState.cc | 5 +++-- poppler/GlobalParams.cc | 4 ++-- poppler/GlobalParamsWin.cc | 2 +- poppler/PDFDoc.cc | 6 +++--- poppler/PSOutputDev.cc | 4 ++-- poppler/TextOutputDev.cc | 3 ++- splash/SplashBitmap.cc | 7 ++++--- 12 files changed, 29 insertions(+), 21 deletions(-) commit 1e99a1eeb3a144facf45165df9f457796c045daa Author: Albert Astals Cid Date: Thu Jan 3 19:47:10 2019 +0100 Revert 9fd5ec0e6e5f763b190f2a55ceb5427cfe851d5f It was causing regressions for some half-broken files Rationale: Even if xref::constructXRef is returning false, that only means "i din't find a new xref root", but constructXRef is also quite stubborn in which it basically parses the whole file and stores the positions of all the objects it finds, so for some half broken pdf files this is good enough and we will be able to render those files just fine poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 646be0366430891fcea27980623e9b8f31acfd8f Author: Albert Astals Cid Date: Wed Jan 2 23:14:53 2019 +0100 Update (C) poppler/PDFDoc.cc | 2 +- splash/Splash.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9fd5ec0e6e5f763b190f2a55ceb5427cfe851d5f Author: Albert Astals Cid Date: Mon Dec 31 11:47:57 2018 +0100 PDFDoc::setup: Fix return value At that point xref can have gone wrong since extractPDFSubtype() can have caused a reconstruct that broke stuff so instead of unconditionally returning true, return xref->isOk() Fixes #706 poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 141405e0cc6aead0f2eed83f2f5834afa2b0dbe9 Author: Stefan Brüns Date: Wed Aug 29 00:16:02 2018 +0200 Allocate SplashXPathScanner on the stack SplashXPathScanner is only used inside the each fill function, but newer passed to the outside. As it is small, there is no reason to not allocate it on the stack. splash/Splash.cc | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) commit 3cfc61a2a3b97bc3d0cfea874abddcc7f26a68d3 Author: Albert Astals Cid Date: Wed Jan 2 00:24:35 2019 +0100 Forgot one Again no (C) poppler/JPXStream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 615a12a4d12bc4769226f73026961623f0b15b62 Author: Albert Astals Cid Date: Wed Jan 2 00:20:58 2019 +0100 Fix some trivial warnings No (C) for this (a machine could do it) poppler/JPXStream.cc | 34 +++++++++++++++++----------------- poppler/SplashOutputDev.cc | 2 +- poppler/Stream.cc | 12 ++++++------ qt5/src/poppler-document.cc | 4 ++-- qt5/src/poppler-form.cc | 2 +- 5 files changed, 27 insertions(+), 27 deletions(-) commit ac407360c3d3494a8ebc872080d680b76c294b0a Author: Albert Astals Cid Date: Wed Jan 2 00:22:17 2019 +0100 Add (C) from last commit poppler/GfxState.cc | 2 +- qt5/src/poppler-qt5.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit e07c8b4784234383cb5ddcf1133ea91a772506e2 Author: Adam Reichold Date: Tue Jan 1 10:54:40 2019 +0100 Avoid global display profile state becoming an uncontrolled memory leak by enforcing single initialization. Closes #654 poppler/GfxState.cc | 9 +++++++++ qt5/src/poppler-qt5.h | 4 ++++ 2 files changed, 13 insertions(+) commit 15d2d1edfae7670ab8b75e2e47cbeab1d3ecc842 Author: Albert Astals Cid Date: Wed Jan 2 00:03:52 2019 +0100 Welcome 2019 poppler/poppler-config.h.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 39a251b1b3a3343400a08e2f03c5518a26624626 Author: Adam Reichold Date: Mon Dec 24 15:40:38 2018 +0100 Do not try to parse into unallocated XRef entry and return pointer to dummy entry instead. Closes #692 and oss-fuzz/12330 poppler/XRef.cc | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) commit de0c0b8324e776f0b851485e0fc9622fc35695b7 Author: Albert Astals Cid Date: Sat Dec 29 01:25:17 2018 +0100 FileSpec: Move the fileSpec.dictLookup call inside fileSpec.isDict if Fixes #704 poppler/FileSpec.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 653d743771ed778e46be8c14cccf4fb7e2205b74 Author: Albert Astals Cid Date: Thu Dec 27 17:53:53 2018 +0100 JBIG2Stream: Fix uninitialized memory read on broken files fixes oss-fuzz/12243 poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7f87dc10b6adccd6d1b977a28b064add254aa2da Author: Adam Reichold Date: Thu Dec 27 11:54:53 2018 +0100 Do not try to construct invalid rich media annotation assets. Closes #703 poppler/Annot.cc | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) commit 3ef359a91ae84315ff8667f0c5286c9cafa9332e Author: Albert Astals Cid Date: Wed Dec 26 12:34:36 2018 +0100 Update (C) cpp/poppler-global.cpp | 1 + cpp/poppler-global.h | 1 + 2 files changed, 2 insertions(+) commit 5cba64142f716f5df61c2136175b86e6d7256526 Author: Adam Reichold Date: Mon Dec 24 23:20:45 2018 +0100 Add API to cpp frontend to specify a custom data directory for initialization of global parameters. cpp/poppler-document-private.h | 3 +++ cpp/poppler-document.cpp | 15 ++++++++++++++- cpp/poppler-global.cpp | 17 +++++++++++++++++ cpp/poppler-global.h | 2 ++ 4 files changed, 36 insertions(+), 1 deletion(-) commit 72c316d12e1fe26bf6b4f3911ba8e5bcc46af354 Author: Jeroen Ooms Date: Sun Dec 9 17:21:28 2018 +0100 Windows: only set SOVERSION for shared libs CMakeLists.txt | 2 +- cpp/CMakeLists.txt | 2 +- glib/CMakeLists.txt | 2 +- qt5/src/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 6e7cbc713ae584d195f77845d6cafcdc80fb64ab Author: Albert Astals Cid Date: Sat Dec 22 11:11:59 2018 +0100 Gfx::doTilingPatternFill: Fix undefined behaviour oss-fuzz/8548 poppler/Gfx.cc | 3 +++ 1 file changed, 3 insertions(+) commit 61fe5ae92794feaaaf4eb8abb01d55d152e28dd7 Author: Albert Astals Cid Date: Sat Dec 22 10:59:36 2018 +0100 qt5: test-render-to-file: Save files as png Is a greeeeeeeeeeeeeat disk space saver qt5/tests/test-render-to-file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 230652c1af3c1b3b91e10d94ab79339135dc6ca3 Author: Oliver Sander Date: Tue Dec 11 22:50:07 2018 +0100 Fix memory handling bug The CIDToGID map is an array of ints. The code properly allocated a number N of ints, but then used memcpy for N unsigned shorts. That left the upper half of the array uninitialized. qt5/src/ArthurOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 13ed70184e125a20a5bdbfbf73456de741c81d9f Author: Oliver Sander Date: Fri Nov 9 22:28:21 2018 +0100 Remove method SplashFTFontFile::getCodeToGID This method was added in cc43c720e857548175a9e35b0686a1a7a8957f50 for the use in the ArturOutputDev::updateFont. It is not use there anymore, and can therefore be removed again. splash/SplashFTFontFile.cc | 4 ---- splash/SplashFTFontFile.h | 3 --- 2 files changed, 7 deletions(-) commit 3c56110469b86a7665c18ce165d4ad0e5870ebb3 Author: Oliver Sander Date: Sat Sep 15 13:58:37 2018 +0200 Remove all Splash code from the Arthur backend Previously, Splash code was used to get the codeToGID mapping for font rendering (which you apparently cannot get from Qt). This patch reimplements the same functionality using only FoFi and FreeType. This makes the code easier to understand, because it removes several layers of redirection. qt5/src/ArthurOutputDev.cc | 355 ++++++++++++++++++++------------------------- qt5/src/ArthurOutputDev.h | 15 +- qt5/src/CMakeLists.txt | 2 +- 3 files changed, 167 insertions(+), 205 deletions(-) commit 7477b71e5c4f2d3f4876c1c9cba3c937506bfdaa Author: Yuri Chornoivan Date: Thu Dec 20 14:15:46 2018 +0200 Fix minor typos cpp/poppler-document.cpp | 2 +- cpp/poppler-global.cpp | 2 +- glib/poppler-document.cc | 8 ++++---- glib/poppler-document.h | 2 +- glib/poppler-form-field.cc | 2 +- glib/poppler-page.cc | 4 ++-- glib/poppler-page.h | 6 +++--- glib/poppler-structure-element.cc | 4 ++-- poppler/Annot.cc | 6 +++--- poppler/Annot.h | 4 ++-- poppler/Array.h | 2 +- poppler/CachedFile.h | 2 +- poppler/CairoOutputDev.cc | 4 ++-- poppler/CairoRescaleBox.cc | 4 ++-- poppler/CharCodeToUnicode.cc | 2 +- poppler/Decrypt.cc | 4 ++-- poppler/FlateStream.cc | 4 ++-- poppler/Form.cc | 4 ++-- poppler/GfxFont.cc | 2 +- poppler/GfxState.h | 4 ++-- poppler/PDFDoc.cc | 2 +- poppler/SignatureHandler.cc | 2 +- poppler/SplashOutputDev.cc | 2 +- poppler/StructElement.cc | 2 +- poppler/StructTreeRoot.cc | 2 +- qt5/src/poppler-annotation.h | 4 ++-- qt5/src/poppler-form.h | 4 ++-- qt5/src/poppler-link.h | 8 ++++---- qt5/src/poppler-page.cc | 2 +- qt5/src/poppler-qt5.h | 6 +++--- splash/SplashClip.h | 2 +- test/perf-test.cc | 8 ++++---- utils/HtmlOutputDev.h | 2 +- utils/pdftohtml.cc | 2 +- 34 files changed, 60 insertions(+), 60 deletions(-) commit e676558a8b2d71906f1bf77407318a4fef6a60c2 Author: Albert Astals Cid Date: Sun Dec 16 23:40:02 2018 +0100 qt5: Add the possibility of getting version We provide both the build and runtime version, so if an app was built against poppler 0.65 but running against 0.72, the app can say somewhere in it's about/config dialogs Running poppler 0.72 (built against 0.65) This way we can explain to users while some features are not available even if they should be, because the runtime and build time differences sometimes matter qt5/src/CMakeLists.txt | 4 +++ qt5/src/poppler-version.cpp | 40 +++++++++++++++++++++++++++ qt5/src/poppler-version.h.in | 66 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 110 insertions(+) commit 3f4e9e49dd2063ae64c2575faf713942878e8a67 Author: Albert Astals Cid Date: Tue Dec 18 22:15:29 2018 +0100 Test for issue 690 with new file qt5/tests/check_password.cpp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 1a49822dc7a149174c6cc51fd163f7fda3fbb6c4 Author: Adam Reichold Date: Tue Dec 18 21:46:00 2018 +0100 Copy the string contents, not the string object, into the key buffer. Closes #690 poppler/Decrypt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 641312cb67c9f31188367323ea186f40cbb103e5 Author: Albert Astals Cid Date: Thu Dec 13 22:41:27 2018 +0100 Make it more obvious that XPDF headers have unstable API/ABI CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7565f2366080304bfe4ab5846c90cf4cbc89457b Author: Albert Astals Cid Date: Sun Dec 9 22:43:20 2018 +0100 Update (C) poppler/TextOutputDev.cc | 1 + poppler/TextOutputDev.h | 1 + poppler/UTF.cc | 1 + poppler/UTF.h | 1 + qt5/src/poppler-page-private.h | 1 + qt5/src/poppler-page.cc | 1 + qt5/src/poppler-qt5.h | 1 + 7 files changed, 7 insertions(+) commit 86326030f6989c79f8dd9e91cd4c249278cdbc49 Author: Nelson Benítez León Date: Mon Sep 10 15:51:56 2018 +0100 add new 'IgnoreDiacritics' option to ::findText() This makes possible that simple ascii search terms can match on their accented and other diacritics counterparts. This option will be ignored if the search term is not pure Ascii. Issue #637 glib/poppler-page.cc | 1 + glib/poppler.h | 6 +++- poppler/TextOutputDev.cc | 77 ++++++++++++++++++++++++++++++++++++++---- poppler/TextOutputDev.h | 15 ++++++++ poppler/UTF.cc | 59 ++++++++++++++++++++++++++++++++ poppler/UTF.h | 13 +++++++ qt5/src/poppler-page-private.h | 4 +-- qt5/src/poppler-page.cc | 18 +++++----- qt5/src/poppler-qt5.h | 5 ++- qt5/tests/check_search.cpp | 58 +++++++++++++++++++++++++++++++ 10 files changed, 237 insertions(+), 19 deletions(-) commit 90a3778a8f73761c421991dca789d3a196940573 Author: Albert Astals Cid Date: Fri Dec 7 15:54:11 2018 +0100 Update (C) cpp/poppler-global.cpp | 1 + cpp/poppler-private.cpp | 1 + 2 files changed, 2 insertions(+) commit 135e897ed9a550361eb8f07a5ffedec48f079bd9 Author: Suzuki Toshiya Date: Fri Dec 7 09:21:42 2018 +0100 Improve handling of UTF-16 in cpp frontend by considering Endianess cpp/poppler-global.cpp | 12 ++++++++++-- cpp/poppler-private.cpp | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) commit a4fad73c86a2eabe004e7cbaa8c9c0ff42146375 Author: Albert Astals Cid Date: Thu Dec 6 18:27:04 2018 +0100 cpp: Fix page::text_list encoding issue Text from TextoutputDev always comes in UTF-8 Well it comes in GlobalParams::textEncoding but that is UTF-8 and we don't let people change it cpp/poppler-page.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2f442c6a54d5dc8941e40c12f814869b93ded400 Author: Albert Astals Cid Date: Thu Dec 6 20:15:51 2018 +0100 Update (C) cpp/poppler-document-private.h | 1 + qt5/src/poppler-document.cc | 2 +- qt5/src/poppler-private.cc | 1 + qt5/src/poppler-private.h | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) commit 91419d2a2c4966a4e347b78c50b65625164257db Author: Adam Reichold Date: Mon Dec 3 19:57:18 2018 +0100 Make initialization of globalParams in the qt5 frontend threadsafe so that multiple threads can create documents concurrently. qt5/src/poppler-document.cc | 1 + qt5/src/poppler-private.cc | 4 ++++ qt5/src/poppler-private.h | 2 ++ 3 files changed, 7 insertions(+) commit e5ab9d3b387117d3d6f2e52de5d35882057fa209 Author: Yuliana Date: Mon Dec 3 19:50:50 2018 +0100 Make initialization of globalParams in the cpp frontend threadsafe so that multiple threads can create documents concurrently. cpp/poppler-document-private.h | 1 + cpp/poppler-document.cpp | 5 +++++ 2 files changed, 6 insertions(+) commit ef3ef702bc3dc845731e43215400448c5324efd4 Author: Oliver Sander Date: Fri Nov 30 18:56:05 2018 +0100 Remove the file gtypes.h completely CMakeLists.txt | 1 - fofi/FoFiBase.h | 2 -- fofi/FoFiEncodings.h | 2 -- fofi/FoFiIdentifier.cc | 1 - fofi/FoFiTrueType.cc | 1 - fofi/FoFiTrueType.h | 1 - fofi/FoFiType1.h | 1 - fofi/FoFiType1C.h | 1 - goo/FixedPoint.h | 1 - goo/GooString.h | 2 -- goo/GooTimer.h | 1 - goo/gdir.h | 1 - goo/gfile.h | 1 - goo/grandom.h | 2 -- goo/gtypes.h | 31 ------------------------------- poppler/BuiltinFont.h | 2 -- poppler/CMap.h | 1 - poppler/CachedFile.h | 1 - poppler/CairoFontEngine.h | 1 - poppler/CairoOutputDev.h | 1 - poppler/CairoRescaleBox.h | 1 - poppler/CharCodeToUnicode.h | 1 - poppler/CompactFontTables.h | 2 -- poppler/DateInfo.h | 1 - poppler/Decrypt.h | 1 - poppler/FontInfo.h | 1 - poppler/Function.h | 1 - poppler/Gfx.h | 1 - poppler/GfxFont.h | 1 - poppler/GfxState.h | 1 - poppler/GlobalParams.h | 1 - poppler/Hints.h | 1 - poppler/JArithmeticDecoder.h | 2 -- poppler/JBIG2Stream.h | 1 - poppler/JPEG2000Stream.h | 1 - poppler/JPXStream.h | 1 - poppler/Linearization.h | 1 - poppler/MarkedContentOutputDev.h | 1 - poppler/Object.h | 1 - poppler/OutputDev.h | 1 - poppler/PSTokenizer.h | 2 -- poppler/PageLabelInfo.h | 1 - poppler/PreScanOutputDev.h | 1 - poppler/SecurityHandler.h | 1 - poppler/SplashOutputDev.h | 1 - poppler/Stream.h | 1 - poppler/StructElement.h | 1 - poppler/StructTreeRoot.h | 1 - poppler/TextOutputDev.h | 1 - poppler/UnicodeMap.h | 1 - poppler/UnicodeTypeTable.h | 2 -- poppler/ViewerPreferences.h | 2 -- poppler/XRef.h | 1 - qt5/src/ArthurOutputDev.h | 1 - splash/SplashFTFontEngine.h | 1 - splash/SplashFont.h | 1 - splash/SplashFontEngine.h | 1 - splash/SplashFontFile.h | 1 - splash/SplashFontFileID.h | 2 -- splash/SplashGlyphBitmap.h | 2 -- splash/SplashTypes.h | 2 -- utils/HtmlOutputDev.h | 1 - utils/HtmlUtils.h | 1 - utils/ImageOutputDev.h | 1 - utils/JSInfo.h | 1 - utils/parseargs.h | 2 -- utils/pdfdetach.cc | 1 - utils/pdftocairo-win32.h | 1 - utils/pdftocairo.cc | 1 - 69 files changed, 113 deletions(-) commit cc51c2183cba19e84d2a7e2dddc0278418264357 Author: Oliver Sander Date: Fri Nov 30 18:18:13 2018 +0100 Replace Gulong by unsigned long goo/GooString.cc | 4 ++-- goo/gtypes.h | 5 ----- poppler/Decrypt.cc | 22 +++++++++++----------- poppler/Movie.h | 2 +- poppler/Rendition.cc | 2 +- poppler/Stream.cc | 8 ++++---- 6 files changed, 19 insertions(+), 24 deletions(-) commit 22053d55a26baf856a0b95552875e748dd1fb849 Author: Oliver Sander Date: Fri Nov 30 18:12:17 2018 +0100 Replace Guint by unsigned int fofi/FoFiBase.cc | 12 +- fofi/FoFiBase.h | 6 +- fofi/FoFiIdentifier.cc | 56 ++++---- fofi/FoFiTrueType.cc | 114 +++++++-------- fofi/FoFiTrueType.h | 20 +-- fofi/FoFiType1.cc | 2 +- glib/poppler-input-stream.cc | 8 +- goo/GooString.cc | 4 +- goo/gtypes.h | 1 - poppler/Annot.cc | 2 +- poppler/Annot.h | 6 +- poppler/CMap.cc | 22 +-- poppler/CMap.h | 8 +- poppler/CachedFile.h | 2 +- poppler/CairoFontEngine.cc | 10 +- poppler/CairoFontEngine.h | 8 +- poppler/Catalog.cc | 2 +- poppler/Catalog.h | 4 +- poppler/CharCodeToUnicode.cc | 2 +- poppler/CurlPDFDocBuilder.cc | 2 +- poppler/Decrypt.cc | 44 +++--- poppler/Decrypt.h | 4 +- poppler/FontInfo.cc | 2 +- poppler/Function.cc | 6 +- poppler/Gfx.cc | 4 +- poppler/GfxFont.cc | 2 +- poppler/GfxState.cc | 24 ++-- poppler/GfxState.h | 10 +- poppler/Hints.cc | 88 ++++++------ poppler/Hints.h | 64 ++++----- poppler/JArithmeticDecoder.cc | 22 +-- poppler/JArithmeticDecoder.h | 22 +-- poppler/JBIG2Stream.cc | 316 +++++++++++++++++++++--------------------- poppler/JBIG2Stream.h | 72 +++++----- poppler/JPXStream.cc | 196 +++++++++++++------------- poppler/JPXStream.h | 170 +++++++++++------------ poppler/Linearization.cc | 14 +- poppler/Linearization.h | 14 +- poppler/PDFDoc.cc | 20 +-- poppler/PDFDoc.h | 16 +-- poppler/PSOutputDev.cc | 2 +- poppler/SplashOutputDev.cc | 2 +- poppler/Stream.cc | 12 +- poppler/Stream.h | 10 +- poppler/StructElement.h | 12 +- poppler/UnicodeMap.cc | 4 +- poppler/UnicodeMap.h | 2 +- poppler/XRef.cc | 4 +- qt5/src/poppler-form.cc | 2 +- splash/Splash.cc | 54 ++++---- splash/Splash.h | 2 +- splash/SplashState.h | 2 +- splash/SplashXPath.h | 2 +- utils/pdfunite.cc | 4 +- 54 files changed, 757 insertions(+), 758 deletions(-) commit b7503eb3c2364e7ca7fc37418bb4cc484437ea71 Author: Oliver Sander Date: Fri Nov 30 18:08:02 2018 +0100 Replace Gushort by unsigned short fofi/FoFiEncodings.cc | 6 +++--- fofi/FoFiEncodings.h | 6 +++--- fofi/FoFiType1C.cc | 16 ++++++++-------- fofi/FoFiType1C.h | 6 +++--- goo/gtypes.h | 1 - poppler/BuiltinFont.cc | 2 +- poppler/BuiltinFont.h | 4 ++-- poppler/CompactFontTables.h | 6 +++--- poppler/GfxFont.cc | 6 +++--- poppler/GfxState.h | 4 ++-- poppler/JPXStream.h | 2 +- poppler/Movie.h | 4 ++-- poppler/SplashOutputDev.cc | 6 +++--- poppler/Stream.cc | 12 ++++++------ poppler/Stream.h | 12 ++++++------ qt5/src/ArthurOutputDev.cc | 2 +- splash/SplashMath.h | 12 ++++++------ utils/ImageOutputDev.cc | 2 +- 18 files changed, 54 insertions(+), 55 deletions(-) commit 51bb46766cc5b50d81227cd91e518bc78b0a944b Author: Oliver Sander Date: Fri Nov 30 18:02:01 2018 +0100 Replace Guchar by unsigned char fofi/FoFiBase.cc | 2 +- fofi/FoFiBase.h | 2 +- fofi/FoFiTrueType.cc | 76 ++++---- fofi/FoFiTrueType.h | 4 +- fofi/FoFiType1.cc | 4 +- fofi/FoFiType1C.cc | 44 ++--- fofi/FoFiType1C.h | 4 +- glib/poppler-input-stream.cc | 2 +- glib/poppler-input-stream.h | 2 +- goo/grandom.cc | 4 +- goo/grandom.h | 2 +- goo/gtypes.h | 1 - poppler/CairoOutputDev.cc | 20 +- poppler/DCTStream.cc | 2 +- poppler/DCTStream.h | 2 +- poppler/Decrypt.cc | 276 +++++++++++++-------------- poppler/Decrypt.h | 30 +-- poppler/FlateEncoder.h | 8 +- poppler/Gfx.cc | 2 +- poppler/GfxFont.h | 2 +- poppler/GfxState.cc | 214 ++++++++++----------- poppler/GfxState.h | 104 +++++----- poppler/JArithmeticDecoder.cc | 2 +- poppler/JArithmeticDecoder.h | 2 +- poppler/JBIG2Stream.cc | 26 +-- poppler/JBIG2Stream.h | 6 +- poppler/JPEG2000Stream.cc | 4 +- poppler/JPEG2000Stream.h | 4 +- poppler/Object.h | 4 +- poppler/PDFDoc.cc | 18 +- poppler/PDFDoc.h | 8 +- poppler/PSOutputDev.cc | 32 ++-- poppler/Page.cc | 2 +- poppler/Parser.cc | 4 +- poppler/Parser.h | 4 +- poppler/SecurityHandler.h | 6 +- poppler/SplashOutputDev.cc | 156 +++++++-------- poppler/SplashOutputDev.h | 12 +- poppler/Stream.cc | 86 ++++----- poppler/Stream.h | 52 ++--- poppler/XRef.cc | 4 +- poppler/XRef.h | 6 +- qt5/src/ArthurOutputDev.cc | 10 +- qt5/src/poppler-media.cc | 2 +- qt5/src/poppler-page.cc | 2 +- splash/Splash.cc | 432 +++++++++++++++++++++--------------------- splash/Splash.h | 12 +- splash/SplashBitmap.cc | 18 +- splash/SplashBitmap.h | 6 +- splash/SplashClip.cc | 4 +- splash/SplashClip.h | 2 +- splash/SplashFTFont.cc | 4 +- splash/SplashFont.cc | 4 +- splash/SplashFont.h | 2 +- splash/SplashGlyphBitmap.h | 2 +- splash/SplashPath.cc | 6 +- splash/SplashPath.h | 4 +- splash/SplashScreen.cc | 18 +- splash/SplashScreen.h | 10 +- splash/SplashState.cc | 40 ++-- splash/SplashState.h | 10 +- splash/SplashTypes.h | 34 ++-- splash/SplashXPathScanner.cc | 12 +- test/perf-test.cc | 2 +- utils/HtmlOutputDev.cc | 6 +- utils/HtmlOutputDev.h | 2 +- utils/ImageOutputDev.cc | 4 +- utils/pdfinfo.cc | 2 +- 68 files changed, 947 insertions(+), 948 deletions(-) commit 27954f7d44275d4fc458da680bba89ab749d3c07 Author: Oliver Sander Date: Fri Nov 30 17:55:48 2018 +0100 Move definition of type Goffset from gtypes.h to gfile.h Because it is used for file-related stuff. goo/gfile.h | 3 +++ goo/gtypes.h | 1 - poppler/Error.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit 9414cc632c17afb7b78c559447b2044268f06cfc Author: Albert Astals Cid Date: Thu Dec 6 17:22:06 2018 +0100 Poppler 0.72.0 CMakeLists.txt | 4 ++-- NEWS | 27 +++++++++++++++++++++++++++ cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- 4 files changed, 31 insertions(+), 4 deletions(-) commit 8db8b4ead169e9ac3ad3f274828f6ad25951a6fb Author: Albert Astals Cid Date: Thu Dec 6 17:21:32 2018 +0100 qt5: Revert involuntary ABI change qt5/src/Doxyfile | 2 +- qt5/src/poppler-link.cc | 4 ++-- qt5/src/poppler-link.h | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) commit 4e53767cabc93a2c8d17b338bbf4309669696bd8 Author: Christian Persch Date: Sat Dec 1 22:26:03 2018 +0100 glib: docs: Reorganise sections Sort sections, and add missing functions. glib/reference/poppler-sections.txt | 762 ++++++++++++++++++------------------ glib/reference/poppler.types | 85 +++- 2 files changed, 456 insertions(+), 391 deletions(-) commit a8bb420fe01be16293f0f4b18f299414afe0a125 Author: Christian Persch Date: Sat Dec 1 22:26:03 2018 +0100 glib: docs: Add missing indices of API-added-by-version glib/reference/poppler-docs.sgml | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit a6aee51c1be09dcef03c1dfe924752bbb211ae6a Author: Adam Reichold Date: Wed Nov 28 20:36:50 2018 +0100 Fix typos in utils. utils/pdftohtml.cc | 2 +- utils/pdftops.cc | 2 +- utils/pdftotext.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit dc00f29828feb4192df59b1c1be783d631c2ef5a Author: Albert Astals Cid Date: Wed Nov 28 20:06:20 2018 +0100 Update (C) goo/GooString.cc | 1 + 1 file changed, 1 insertion(+) commit 853623c23e0c805e9b04c59f9449b388a485f31a Author: Greg Knight Date: Wed Nov 28 08:44:39 2018 -0500 use qt5 _data tests per Adam Reichold's recommendation qt5/tests/check_goostring.cpp | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) commit 96a0c301a13d02570f44dc0eafbc97b302e996cb Author: Greg Knight Date: Tue Nov 27 18:37:25 2018 -0500 add testFromInt to fail if GooString::fromInt is broken again qt5/tests/check_goostring.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 903983bbd921a5139e3cd6de227b571870c764d8 Author: Greg Knight Date: Sun Nov 25 15:47:18 2018 -0500 gooString::fromInt: Repair the return value. formatInt renders from "right to left" and returns the position of the most significant digit in 'p' - which is not generally equal to 'buf' in the case of GooString::fromInt (unless you're rendering a 24-digit number.) This repairs several issues in pdftohtml goo/GooString.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8315a1234fb4332d202e3a728938359777706daa Author: Aleix Pol Date: Mon Nov 19 17:57:32 2018 +0100 Include an Android CI It uses the following image: https://phabricator.kde.org/source/sysadmin-ci-tooling/browse/master/system-images/android/sdk/Dockerfile-clang The one we are using now as kdeorg/android-sdk is still using GCC which can't compile poppler master (it can compile last stable version, but new features are used now and it can't cope). KDE will start using this clang version when Qt 5.12 releases and we know there's no major regressions, but poppler can already start doing so now. It only checks that poppler builds correctly, doesn't execute anything. .gitlab-ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 709f2e8d03e961e524f51312fff03b6e37854959 Author: Albert Astals Cid Date: Sun Nov 18 13:03:55 2018 +0100 Regenerate UnicodeDecompTables.h from python 3.7.1 Supposedly more complete Unicode information poppler/UnicodeDecompTables.h | 17870 +++++++++++++++++++++------------------- 1 file changed, 9358 insertions(+), 8512 deletions(-) commit 7bb75cc533339a8480c16fe432ae4034b7ff5c57 Author: Elliott Sales de Andrade Date: Mon Oct 22 00:26:40 2018 -0400 regtest: Fix file opened in wrong mode. regtest/HTMLReport.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit d02d1a1e62a13ff357815f13379a00f34b957233 Author: Elliott Sales de Andrade Date: Sun Oct 21 22:12:19 2018 -0400 regtest: Fix Printer.printerr. regtest/Printer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1c3cc387a8d1686897801833ae1dd9493a48b708 Author: Elliott Sales de Andrade Date: Sun Oct 21 22:05:10 2018 -0400 regtest: Replace execfile with plain read & exec. regtest/Utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 60cf2c0fc385f2a8f60036136c957adf2193cdf9 Author: Elliott Sales de Andrade Date: Sun Oct 21 21:58:20 2018 -0400 regtest: Enable new-style division everywhere. regtest/Bisect.py | 2 +- regtest/Config.py | 2 +- regtest/HTMLReport.py | 2 +- regtest/InterruptibleQueue.py | 2 +- regtest/Printer.py | 2 +- regtest/TestReferences.py | 2 +- regtest/TestRun.py | 12 ++++++++---- regtest/Timer.py | 2 +- regtest/Utils.py | 2 +- regtest/backends/__init__.py | 2 +- regtest/backends/cairo.py | 2 +- regtest/backends/postscript.py | 2 +- regtest/backends/splash.py | 2 +- regtest/backends/text.py | 2 +- regtest/builder/__init__.py | 2 +- regtest/builder/autotools.py | 2 +- regtest/commands/__init__.py | 2 +- regtest/commands/create-refs.py | 2 +- regtest/commands/create-report.py | 2 +- regtest/commands/find-regression.py | 2 +- regtest/commands/run-tests.py | 2 +- regtest/main.py | 2 +- 22 files changed, 29 insertions(+), 25 deletions(-) commit 5a266afcf314660a0bf8b3aeffb6308c1c66f805 Author: Elliott Sales de Andrade Date: Sun Oct 21 21:54:09 2018 -0400 regtest: Enable absolute import on all files. regtest/Bisect.py | 2 +- regtest/Config.py | 2 +- regtest/HTMLReport.py | 2 +- regtest/InterruptibleQueue.py | 2 +- regtest/Printer.py | 2 +- regtest/TestReferences.py | 2 +- regtest/TestRun.py | 2 +- regtest/Timer.py | 2 +- regtest/Utils.py | 2 +- regtest/backends/__init__.py | 2 +- regtest/backends/cairo.py | 2 +- regtest/backends/postscript.py | 2 +- regtest/backends/splash.py | 2 +- regtest/backends/text.py | 2 +- regtest/builder/__init__.py | 2 +- regtest/builder/autotools.py | 2 +- regtest/commands/__init__.py | 2 +- regtest/commands/create-refs.py | 2 +- regtest/commands/create-report.py | 2 +- regtest/commands/find-regression.py | 2 +- regtest/commands/run-tests.py | 2 +- regtest/main.py | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) commit 557423168289490ec9ddf1301924667c82cb3481 Author: Elliott Sales de Andrade Date: Sun Oct 21 21:48:24 2018 -0400 regtest: Replace tabs with spaces. regtest/TestRun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0c744c934927ebe644215d23d06677fd670175c4 Author: Elliott Sales de Andrade Date: Sun Oct 21 21:43:09 2018 -0400 regtest: Use print function everywhere. regtest/Bisect.py | 1 + regtest/Config.py | 1 + regtest/HTMLReport.py | 1 + regtest/InterruptibleQueue.py | 1 + regtest/Printer.py | 1 + regtest/TestReferences.py | 1 + regtest/TestRun.py | 1 + regtest/Timer.py | 1 + regtest/Utils.py | 1 + regtest/backends/__init__.py | 1 + regtest/backends/cairo.py | 1 + regtest/backends/postscript.py | 1 + regtest/backends/splash.py | 1 + regtest/backends/text.py | 1 + regtest/builder/__init__.py | 1 + regtest/builder/autotools.py | 1 + regtest/commands/__init__.py | 3 ++- regtest/commands/create-refs.py | 1 + regtest/commands/create-report.py | 1 + regtest/commands/find-regression.py | 1 + regtest/commands/run-tests.py | 1 + regtest/main.py | 1 + 22 files changed, 23 insertions(+), 1 deletion(-) commit 0c02573f7c43a5b02b29daf8cb7f94d3925137a9 Author: Elliott Sales de Andrade Date: Sun Oct 21 21:38:15 2018 -0400 regtest: Fix iteration through dictionary on Py3. regtest/HTMLReport.py | 6 +----- regtest/commands/__init__.py | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) commit 98a84ba86d5b675b4cd490455c5f5d644235b5c3 Author: Elliott Sales de Andrade Date: Sun Oct 21 21:30:04 2018 -0400 regtest: Don't use exceptions for Printer singleton. In Python 3, exceptions must derive from the BaseException class, which Printer definitely does not do. regtest/Printer.py | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) commit 6c427f7ecb97780ae3405be9ba6c7f0d9fe934dc Author: Elliott Sales de Andrade Date: Sun Oct 21 21:15:26 2018 -0400 Support Python 3 in scripts. gtkdoc.py | 6 ++++- poppler/gen-unicode-tables.py | 61 +++++++++++++++++++++++++++---------------- 2 files changed, 43 insertions(+), 24 deletions(-) commit a85c2ed8f4359341adb94887c4b551a761244fdb Author: Albert Astals Cid Date: Sat Nov 17 19:29:16 2018 +0100 Be more stubborn looking for a nssdb Fixes issue #669 poppler/SignatureHandler.cc | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 647a9813c41d936feea063f42060535464314ccc Author: Albert Astals Cid Date: Fri Nov 16 23:14:13 2018 +0100 Save Object::copy on Page construction poppler/Catalog.cc | 4 ++-- poppler/PDFDoc.cc | 2 +- poppler/Page.cc | 16 ++++++++-------- poppler/Page.h | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) commit 8f158da92c53ae16a368f844965f57ba8ffed77d Author: Adam Reichold Date: Fri Nov 16 21:36:33 2018 +0100 Make GooString constructible and assignable from null pointers again since some of the code expects it. goo/GooString.h | 12 ++++++------ qt5/tests/check_goostring.cpp | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 6 deletions(-) commit e87818f7f9daff228fbc820aa78b3a08615e0826 Author: Albert Astals Cid Date: Fri Nov 16 17:12:24 2018 +0100 Two Object::copy calls less poppler/Catalog.cc | 3 +-- poppler/Page.cc | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) commit 13708e8fd48b4ce72276a99f32d54a2b3b016897 Author: Albert Astals Cid Date: Wed Nov 14 14:53:04 2018 +0100 Annot: Remove some inc/defRef by Object moving glib/poppler-action.cc | 2 +- poppler/Annot.cc | 200 ++++++++++++++++++++++++------------------------- poppler/Annot.h | 46 ++++++------ 3 files changed, 124 insertions(+), 124 deletions(-) commit aa864c8729595e64af136d181bfb581d80e03eb7 Author: Albert Astals Cid Date: Wed Nov 14 01:01:27 2018 +0100 Save an incRef/decRef when creating FormField poppler/Form.cc | 38 +++++++++++++++++++------------------- poppler/Form.h | 12 ++++++------ 2 files changed, 25 insertions(+), 25 deletions(-) commit f846c9a2ccdd975ead3b8287cbac0064841ef360 Author: Albert Astals Cid Date: Wed Nov 14 15:26:47 2018 +0100 JBIG2Stream: Move Object instead of copying it poppler/JBIG2Stream.cc | 6 +++--- poppler/JBIG2Stream.h | 2 +- poppler/Stream.cc | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) commit 09952b05990a4c5bcd9763dd6701cefb13ab8e69 Author: Albert Astals Cid Date: Wed Nov 14 15:05:52 2018 +0100 AnnotFileAttachment::initialize: Save a Object::copy() poppler/Annot.cc | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 20e8d51d6523ce6c92c1aab1b75d7c1bb64b441d Author: Albert Astals Cid Date: Wed Nov 14 15:02:49 2018 +0100 Remove unused AnnotPopup::setParent poppler/Annot.cc | 4 ---- poppler/Annot.h | 1 - 2 files changed, 5 deletions(-) commit 8d5931e6c585fcca27d127b0b804bc19d9188e49 Author: Albert Astals Cid Date: Wed Nov 14 14:58:41 2018 +0100 AnnotAppearance::getAppearanceStream: Save a copy() call poppler/Annot.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit c3a2c11a966a8e260a44716cbb0e26fa437b8f8d Author: Albert Astals Cid Date: Sun Oct 21 11:29:44 2018 +0200 Stream::makeFilter: Fix memory leak fixes oss-fuzz/9614 poppler/Stream.cc | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) commit d0ab87c1471349facd91caa65815670b1e3b7bb7 Author: Albert Astals Cid Date: Mon Nov 12 18:30:56 2018 +0100 Save an incRef/decRef when creating EmbFile poppler/FileSpec.cc | 12 +++++------- poppler/FileSpec.h | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) commit 08d4f02cdfa0f5ab0eccbc476f623dd334ce6432 Author: Tobias Deiminger Date: Mon Nov 12 19:13:04 2018 +0100 Fix parsing of line annotation LE values AnnotLine::initialize used to look for strings, which is wrong, because PDF reference says "LE [...] An array of two names". poppler/Annot.cc | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit f1575bb7352eeaf26e6e1784c9bdff708c93280d Author: Albert Astals Cid Date: Sun Nov 11 23:17:46 2018 +0100 qt5: tests, go back to fromUt8, some tests failed on MSVC And don't feel like investigating why qt5/tests/check_password.cpp | 12 ++++++------ qt5/tests/check_search.cpp | 24 ++++++++++++------------ 2 files changed, 18 insertions(+), 18 deletions(-) commit 817b0f12453985c416a0388cdd4a09697d092b7f Author: Oliver Sander Date: Fri Nov 9 18:42:04 2018 +0100 Rename GooString::getCString GooString::c_str This is the name used by std::string. cpp/poppler-document.cpp | 4 +- cpp/poppler-embedded-file.cpp | 6 +- cpp/poppler-font.cpp | 4 +- cpp/poppler-page.cpp | 2 +- cpp/poppler-private.cpp | 2 +- fofi/FoFiTrueType.cc | 48 +++++------ fofi/FoFiType1C.cc | 168 ++++++++++++++++++------------------ glib/poppler-action.cc | 10 +-- glib/poppler-attachment.cc | 2 +- glib/poppler-document.cc | 22 ++--- glib/poppler-media.cc | 4 +- glib/poppler-movie.cc | 2 +- glib/poppler-page.cc | 4 +- goo/GooString.cc | 2 +- goo/GooString.h | 2 +- goo/gfile.cc | 32 +++---- poppler/Annot.cc | 48 +++++------ poppler/CairoFontEngine.cc | 4 +- poppler/CairoOutputDev.cc | 6 +- poppler/Catalog.cc | 6 +- poppler/CharCodeToUnicode.cc | 6 +- poppler/CurlCachedFile.cc | 6 +- poppler/DateInfo.cc | 2 +- poppler/Decrypt.cc | 54 ++++++------ poppler/Error.cc | 6 +- poppler/Form.cc | 20 ++--- poppler/Function.cc | 6 +- poppler/Gfx.cc | 10 +-- poppler/GfxFont.cc | 12 +-- poppler/GfxState.cc | 8 +- poppler/GlobalParams.cc | 58 ++++++------- poppler/GlobalParamsWin.cc | 28 +++--- poppler/Lexer.cc | 2 +- poppler/Link.cc | 8 +- poppler/LocalPDFDocBuilder.cc | 2 +- poppler/Object.cc | 2 +- poppler/PDFDoc.cc | 32 +++---- poppler/PSOutputDev.cc | 90 +++++++++---------- poppler/PageLabelInfo.cc | 4 +- poppler/Parser.cc | 2 +- poppler/SignatureHandler.cc | 4 +- poppler/SplashOutputDev.cc | 22 ++--- poppler/StructElement.cc | 4 +- poppler/StructElement.h | 2 +- poppler/TextOutputDev.cc | 6 +- poppler/UTF.cc | 2 +- qt5/src/ArthurOutputDev.cc | 24 +++--- qt5/src/poppler-annotation-helper.h | 4 +- qt5/src/poppler-annotation.cc | 14 +-- qt5/src/poppler-document.cc | 4 +- qt5/src/poppler-embeddedfile.cc | 8 +- qt5/src/poppler-form.cc | 6 +- qt5/src/poppler-link.cc | 2 +- qt5/src/poppler-movie.cc | 2 +- qt5/src/poppler-page.cc | 10 +-- qt5/src/poppler-private.cc | 12 +-- qt5/src/poppler-private.h | 4 +- qt5/src/poppler-sound.cc | 2 +- qt5/tests/check_annotations.cpp | 2 +- qt5/tests/check_goostring.cpp | 36 ++++---- qt5/tests/check_pagelabelinfo.cpp | 10 +-- qt5/tests/check_strings.cpp | 4 +- splash/SplashBitmap.cc | 2 +- splash/SplashFTFontEngine.cc | 4 +- splash/SplashFTFontFile.cc | 6 +- splash/SplashFontFile.cc | 2 +- test/perf-test.cc | 2 +- utils/HtmlFonts.cc | 8 +- utils/HtmlFonts.h | 2 +- utils/HtmlLinks.cc | 2 +- utils/HtmlOutputDev.cc | 110 +++++++++++------------ utils/HtmlOutputDev.h | 2 +- utils/JSInfo.cc | 8 +- utils/pdffonts.cc | 10 +-- utils/pdfinfo.cc | 28 +++--- utils/pdfsig.cc | 14 +-- utils/pdftocairo-win32.cc | 22 ++--- utils/pdftocairo.cc | 44 +++++----- utils/pdftohtml.cc | 30 +++---- utils/pdftoppm.cc | 14 +-- utils/pdftops.cc | 6 +- utils/pdftotext.cc | 16 ++-- utils/pdfunite.cc | 10 +-- utils/printencodings.cc | 2 +- 84 files changed, 632 insertions(+), 632 deletions(-) commit fb7f34b1f9706c4912384eabd5dbf44b6c88c71d Author: Albert Astals Cid Date: Sun Nov 11 22:59:48 2018 +0100 Update (C) of last commits poppler/GfxState_helpers.h | 2 +- qt5/src/poppler-annotation-helper.h | 2 +- qt5/src/poppler-annotation.h | 2 +- qt5/src/poppler-link.h | 2 +- splash/SplashScreen.cc | 2 +- splash/SplashXPathScanner.cc | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit 49d5b1b663faa883e774ec7e72ae211fcc625873 Author: Tobias Deiminger Date: Fri Nov 2 20:17:04 2018 +0100 Draw line annotation endings (arrow, circle, ...) Line endings are already parsed from /LE array and are gettable and settable as enum value in current APIs. With this commit we implement the drawing operations so that line endings become actually visible when document is rendered. poppler/Annot.cc | 174 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- poppler/Annot.h | 10 +++- 2 files changed, 179 insertions(+), 5 deletions(-) commit c7161f7127644b2f85e7ef067a4929beeb1a71cb Author: Albert Astals Cid Date: Thu Nov 8 23:28:44 2018 +0100 Add a clazy -Werror CI Enables levels 0, 1 and 2, along with some manual ones Disables non-pod-globa-static, StructElement would need some rework to fix it and it's only a bit about optimization of start time, we can live with it .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 28e953cbab0059dff76c9cfa35c4522709968b0e Author: Albert Astals Cid Date: Wed Nov 7 19:22:49 2018 +0100 Minor clazy Qt fixes in tests and demo qt5/demos/abstractinfodock.cpp | 2 +- qt5/demos/embeddedfiles.cpp | 2 +- qt5/demos/fonts.cpp | 4 +- qt5/demos/info.cpp | 4 +- qt5/demos/navigationtoolbar.cpp | 9 ++-- qt5/demos/optcontent.cpp | 2 +- qt5/demos/pageview.h | 2 +- qt5/demos/permissions.cpp | 2 +- qt5/demos/thumbnails.cpp | 4 +- qt5/demos/toc.cpp | 4 +- qt5/demos/viewer.cpp | 34 ++++++++------ qt5/demos/viewer.h | 2 +- qt5/tests/check_actualtext.cpp | 4 +- qt5/tests/check_annotations.cpp | 6 ++- qt5/tests/check_attachments.cpp | 24 +++++----- qt5/tests/check_dateConversion.cpp | 3 ++ qt5/tests/check_fonts.cpp | 22 +++++---- qt5/tests/check_forms.cpp | 2 + qt5/tests/check_goostring.cpp | 8 ++-- qt5/tests/check_lexer.cpp | 2 + qt5/tests/check_links.cpp | 14 +++--- qt5/tests/check_metadata.cpp | 10 ++-- qt5/tests/check_object.cpp | 2 + qt5/tests/check_optcontent.cpp | 42 +++++++++-------- qt5/tests/check_pagelabelinfo.cpp | 2 + qt5/tests/check_pagelayout.cpp | 2 + qt5/tests/check_pagemode.cpp | 2 + qt5/tests/check_password.cpp | 12 +++-- qt5/tests/check_permissions.cpp | 2 + qt5/tests/check_search.cpp | 94 +++++++++++++++++++------------------- qt5/tests/check_strings.cpp | 57 ++++++++++++----------- qt5/tests/check_utf_conversion.cpp | 26 ++++++----- qt5/tests/poppler-fonts.cpp | 6 +-- qt5/tests/poppler-forms.cpp | 2 +- qt5/tests/stress-poppler-dir.cpp | 18 ++++---- qt5/tests/stress-poppler-qt5.cpp | 23 +++++----- qt5/tests/stress-threads-qt5.cpp | 20 ++++---- qt5/tests/test-password-qt5.cpp | 33 +++++++------ qt5/tests/test-poppler-qt5.cpp | 33 +++++++------ qt5/tests/test-render-to-file.cpp | 6 +-- 40 files changed, 304 insertions(+), 244 deletions(-) commit 74ad4e3570f31afcb7e6e00e0d9cf2c53c3db6eb Author: Albert Astals Cid Date: Wed Nov 7 15:52:00 2018 +0100 char * -> QStringLiteral qt5/src/poppler-private.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82b91c56d1a89c29108bf03b07e751b54b589446 Author: Albert Astals Cid Date: Wed Nov 7 15:48:39 2018 +0100 exclude some function-args-by-value and function-args-by-ref Since they are part of the API qt5/src/poppler-annotation.cc | 2 +- qt5/src/poppler-annotation.h | 1 + qt5/src/poppler-link.cc | 2 +- qt5/src/poppler-link.h | 1 + qt5/src/poppler-page-transition.cc | 2 +- qt5/src/poppler-page-transition.h | 1 + 6 files changed, 6 insertions(+), 3 deletions(-) commit 1ac74b477748c86263c737c6f1b3ac71fb4808bc Author: Albert Astals Cid Date: Wed Nov 7 15:34:20 2018 +0100 Pass small and trivially-copyable type by value fofi/FoFiTrueType.cc | 4 ++-- poppler/Form.cc | 12 ++++++------ poppler/Form.h | 12 ++++++------ poppler/GfxFont.cc | 4 ++-- poppler/GfxState_helpers.h | 2 +- poppler/MarkedContentOutputDev.h | 2 +- poppler/Object.h | 6 +++--- poppler/OptionalContent.cc | 2 +- poppler/OptionalContent.h | 2 +- poppler/StructElement.cc | 2 +- poppler/StructElement.h | 4 ++-- poppler/StructTreeRoot.cc | 2 +- poppler/StructTreeRoot.h | 2 +- qt5/src/poppler-annotation-helper.h | 4 ++-- qt5/src/poppler-link.cc | 12 ++++++------ qt5/src/poppler-link.h | 4 ++-- splash/SplashScreen.cc | 2 +- splash/SplashXPathScanner.cc | 2 +- 18 files changed, 40 insertions(+), 40 deletions(-) commit e69cd723679c4732d07dec13c60af800ba9c0e0a Author: Albert Astals Cid Date: Wed Nov 7 15:28:48 2018 +0100 No need to store to a QImage variable to not use it later Makes clazy happier qt5/tests/stress-poppler-dir.cpp | 2 +- qt5/tests/stress-poppler-qt5.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 8969d8786e95cb86f20adfbc876466eddb1028e7 Author: Albert Astals Cid Date: Fri Nov 9 01:20:37 2018 +0100 NULL -> nullptr glib/poppler-form-field.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 54d003599920276710e7532b2250b302b459e2a4 Author: Albert Astals Cid Date: Thu Nov 8 23:12:15 2018 +0100 qt5: Add -DQT_NO_SIGNALS_SLOTS_KEYWORDS We don't have any signals or slots at the moment but add the keyword so if we ever add them it's using the Q_SIGNAL/Q_SLOT variant so we don't get collisions with other people that use signal/slot qt5/src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 178fdef48c18dfdb2f1efea780ffd320631defcd Author: Albert Astals Cid Date: Sat Nov 3 21:04:52 2018 +0100 Rework Parser::makeStream "entry" variable handling Scopes the entry variable so people don't try to use it in between poppler/Parser.cc | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) commit 426834dbf1c0981593773697a2c47308ecc38593 Author: Albert Astals Cid Date: Wed Nov 7 15:26:56 2018 +0100 NULL -> nullptr glib/poppler-attachment.cc | 2 +- glib/poppler-document.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b8cae8886a2894502dc12ceba63f2aab62ab3992 Author: Albert Astals Cid Date: Tue Nov 6 22:11:28 2018 +0000 Update since to 0.72 glib/poppler-form-field.cc | 2 +- glib/poppler-form-field.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d09f763b3ea5581f7819b46b659f3d9b1b5fd78c Author: Elliott Sales de Andrade Date: Thu Nov 7 00:51:11 2013 -0500 glib: Support getting form widget additional actions. glib/demo/forms.c | 40 ++++++++++++++++++++++++++++++++ glib/poppler-form-field.cc | 57 ++++++++++++++++++++++++++++++++++++++++++++++ glib/poppler-form-field.h | 24 +++++++++++++++++++ glib/poppler-private.h | 4 ++++ 4 files changed, 125 insertions(+) commit ee6166ab599c3d5f694191707c366653afa7b0d3 Author: Elliott Sales de Andrade Date: Thu Nov 7 00:50:38 2013 -0500 glib-demo: Fix indent for actions code. glib/demo/forms.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 744a3491675f22e36a5fba38f58bb90ec7291884 Author: Albert Astals Cid Date: Tue Nov 6 19:28:22 2018 +0100 Update (C) poppler/FileSpec.cc | 1 + 1 file changed, 1 insertion(+) commit d2f5d424ba8752f9a9e9dad410546ec1b46caa0a Author: Adam Reichold Date: Tue Nov 6 09:08:06 2018 +0100 pdfdetach: Check for valid file name of embedded file before using it to determine save path. Closes #660 utils/pdfdetach.cc | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) commit 77a30e94d96220d7e22dff5b3f0a7f296f01b118 Author: Adam Reichold Date: Tue Nov 6 09:13:41 2018 +0100 pdfdetach: Check for valid embedded file before trying to save it. Closes #661 utils/pdfdetach.cc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 6912e06d9ab19ba28991b5cab3319d61d856bd6d Author: Adam Reichold Date: Tue Nov 6 09:00:02 2018 +0100 Check for stream before calling stream methods when saving an embedded file. Closes #659 poppler/FileSpec.cc | 3 +++ 1 file changed, 3 insertions(+) commit 6ced3253fa3356e50d6c1dfa8961561eabefb9e8 Author: Christian Persch Date: Tue Oct 23 23:42:47 2018 +0200 glib: Fix missing destructor call PopplerAttachmentPrivate has a Object member which was never destructed, only set to an empty Object() on dispose. While there is no memory leak (currently!), this is still not correct. Fix this by making PopplerAttachmentPrivate a C++ class, constructed in place of the gobject instance private in init(), and call the destructor explicitly in finalize(). glib/poppler-attachment.cc | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) commit 08572e1bdca03baed694dd9828bb2b878865e669 Author: Albert Astals Cid Date: Sat Nov 3 12:21:41 2018 +0100 Parser::makeStream: Fix crash on malformed files fixes oss-fuzz/11244 poppler/Parser.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 89fccf45fc5bfca3756102e6bec1950ec1d436a9 Author: Albert Astals Cid Date: Sat Nov 3 01:45:55 2018 +0100 initialize entry poppler/Parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2cd0ded91ad25a655ddd0c3ff14bc8c25c4eb410 Author: Albert Astals Cid Date: Sat Nov 3 01:43:30 2018 +0100 Update (C) poppler/Parser.cc | 1 + poppler/XRef.h | 1 + 2 files changed, 2 insertions(+) commit 3d35d209c19c1d3b09b794a0c863ba5de44a9c0a Author: Marek Kasik Date: Mon Oct 29 17:44:47 2018 +0100 Avoid cycles in PDF parsing Mark objects being processed in Parser::makeStream() as being processed and check the mark when entering this method to avoid processing of the same object recursively. poppler/Parser.cc | 15 +++++++++++++++ poppler/XRef.h | 1 + 2 files changed, 16 insertions(+) commit 0c2cfbf9ca0b1d1c9a4fec9417035350753528f4 Author: Albert Astals Cid Date: Fri Nov 2 22:44:23 2018 +0100 Update (C) poppler/Form.cc | 1 + 1 file changed, 1 insertion(+) commit 91fa06ee9279c8ec9569f06c7ec871dd592c49e5 Author: Nelson Benítez León Date: Mon Oct 29 22:48:08 2018 +0500 Form.cc: fix checkbox lacking /AP cannot change state When a checkbox had no /AP key (which is not mandatory) poppler was silently ignoring the setState() call that changes the checked/unchecked state. Fixed by using getOnStr() instead of accessing onStr directly, as the former has code in place to return correct values when the field is a checkbox and has no names for the On/Off states (as a result of not having the /AP key which could contain those names). A testcase is included. An example definition of an affected checkbox follows: /F 4 /FT /Btn /H /P /MK /BC [1,0,0] /BG [1,1,1] /CA (4) /Q 0 /Rect [235.277,654.247,249.224,668.194] /Subtype /Widget /T (basiccheckbox) /Type /Annot /V /Off Fixes issue #655 poppler/Form.cc | 6 +++--- qt5/tests/CMakeLists.txt | 1 + qt5/tests/check_forms.cpp | 43 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+), 3 deletions(-) commit b645e64e906b4b8930cd380cc95b6d6777b96003 Author: Albert Astals Cid Date: Thu Nov 1 23:18:18 2018 +0100 Update (C) poppler/CairoOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52db12dd06fac5cfe9010c1f18ef719f2c6c3df2 Author: Adrian Johnson Date: Sun Oct 14 07:57:34 2018 +0000 cairo: Update comment poppler/CairoOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit cb307609b79187b72f5239330bf7f448d7101678 Author: Adrian Johnson Date: Thu Oct 11 08:42:14 2018 +0000 cairo: Don't use UNIQUE_ID for PS output to avoid using PS memory on cairo >= 1.5.10 poppler/CairoOutputDev.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 5d1e0a3576cd05565988ec697905924948727a87 Author: Albert Astals Cid Date: Thu Nov 1 12:00:13 2018 +0100 Workaround debian unstable not wanting to install libc++-dev .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ce774021d8330814f10d80b060b2870db5860641 Author: Albert Astals Cid Date: Wed Oct 31 22:13:17 2018 +0100 Poppler 0.71.0 CMakeLists.txt | 6 +++--- NEWS | 23 +++++++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 28 insertions(+), 5 deletions(-) commit 8a971633e8b61afeed8edbc89be590a7c8a477dc Author: luzpaz Date: Wed Oct 31 01:02:14 2018 +0000 cpp/poppler-page-transition.cpp typo cpp/poppler-page-transition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2be4ba842e023ea8662755b11b905c22e733e4c8 Author: Albert Astals Cid Date: Wed Oct 31 17:52:51 2018 +0100 qt5: Test two leaks in a test qt5/tests/check_annotations.cpp | 2 ++ 1 file changed, 2 insertions(+) commit aeb2c1798ef39b5d3a167f4531e9f09dcb18e88d Author: Albert Astals Cid Date: Wed Oct 31 17:38:26 2018 +0100 qt5: Fix crash when adding Highlight Annotations qt5/src/poppler-annotation.cc | 2 +- qt5/tests/check_annotations.cpp | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 1 deletion(-) commit 2d6ba9b1483cd4ae7f90d2f7ddef5a08cc3082a2 Author: Albert Astals Cid Date: Tue Oct 30 00:11:06 2018 +0100 Fix crash if document is malformed (too wide) oss-fuzz/11195 splash/Splash.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit a186b43382a8c4e8a4443f9d7048a103499ba264 Author: Albert Astals Cid Date: Mon Oct 29 23:35:30 2018 +0100 Update (C) goo/GooString.cc | 1 + poppler/StructElement.cc | 1 + poppler/StructElement.h | 1 + 3 files changed, 3 insertions(+) commit 48877b91db366293658a2561f08f110501872ce9 Author: Adam Reichold Date: Sat Oct 6 12:04:04 2018 +0200 Replace the implementation of GooString by std::string but keep the exact interface intact. The approach is slightly different to GooList as it reimplements GooString in terms of std::string but keeps its interface intact and does expose any std::string functionality as of now. This is done since GooString has a significantly larger API surface and exposing both API would be quite confusing with with some overloads from GooString and some from std::string being visible. But it does mean we can align the API (they are already pretty close) and expose new things like a reserve method piece by piece. It also already helps in that the implementation of GooString is gone except for the original parts, i.e. the formatting, and we have zero cost conversion from/to std::string which should help in making more use of it elsewhere. It also gives us do-nothing-access to optimizations done for the standard library, e.g. word-level implementations of cmp and friends. (Note that the resulting GooString.cc is a bit funny as the formatting helper are now local to the translation unit, but I had to redeclare them to keep the diff small as I did not change them at all. But if this is done, they could probably just be moved to where the declarations are to make the source file more readable.) goo/GooString.cc | 368 ++++++++++------------------------------------- goo/GooString.h | 125 +++++++--------- poppler/StructElement.cc | 15 +- poppler/StructElement.h | 2 +- 4 files changed, 135 insertions(+), 375 deletions(-) commit ebc05abc1dd0eed0f9a15fcc5a27195d141689ef Author: Elliott Sales de Andrade Date: Tue Oct 23 02:15:20 2018 -0400 glib-demo: Align property labels to top of cell. glib/demo/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5993cc0afdd6f1ebb4e6738536309245e53be18f Author: Albert Astals Cid Date: Fri Oct 26 17:41:43 2018 +0200 qt5: Default to hidden symbols qt5/src/CMakeLists.txt | 4 ++++ qt5/src/poppler-private.h | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit ac8c9ade5b4e3776e709629e5fc38bc5362736b7 Author: Alistair Thomas Date: Mon Feb 12 15:04:15 2018 +0000 Remove glib/poppler.gidl The GIDL format was the pre-cursor to the GObject Introspection Repository (GIR) format. Poppler has used GIR for a long time now. glib/poppler.gidl | 217 ------------------------------------------------------ 1 file changed, 217 deletions(-) commit 54a3233a061925c344c54639a7f6e27588af0b02 Author: luzpaz Date: Fri Oct 26 12:25:25 2018 +0000 poppler-toc.cpp: typo fix cpp/poppler-toc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f235a53673abdd6cf6c2f69ba63a64fccb258b36 Author: Adam Reichold Date: Sat Sep 1 11:53:03 2018 +0200 Add fuzzer target from oss-fuzz project and integrate it into the build system via FUZZER CMake variable. CMakeLists.txt | 9 +++++++-- INSTALL | 4 ++++ cpp/tests/CMakeLists.txt | 10 +++++----- cpp/tests/pdf_fuzzer.cc | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 65 insertions(+), 7 deletions(-) commit c5cdf0cc01e9e61e3e4553d3e388a47ec5b41281 Author: luzpaz Date: Wed Oct 24 18:11:31 2018 +0000 Fix typo in comment cpp/poppler-document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 163420b48bdddf9084208b3cadf04dafad52d40a Author: Oliver Sander Date: Sun Oct 21 08:28:56 2018 +0200 Replace GBool, gTrue, and gFalse by bool, true, false, resp. These are just non-standard names for bool, true, false, respectively. Getting rid of these names saves on layer of mental redirection, and enables proper syntax highlighting in editors. cpp/poppler-page-renderer.cpp | 10 +- cpp/poppler-page.cpp | 26 +- fofi/FoFiBase.cc | 36 +- fofi/FoFiBase.h | 22 +- fofi/FoFiIdentifier.cc | 152 ++++---- fofi/FoFiTrueType.cc | 84 ++--- fofi/FoFiTrueType.h | 18 +- fofi/FoFiType1.cc | 32 +- fofi/FoFiType1.h | 4 +- fofi/FoFiType1C.cc | 268 +++++++------- fofi/FoFiType1C.h | 50 +-- glib/poppler-action.cc | 6 +- glib/poppler-document.cc | 4 +- glib/poppler-form-field.cc | 2 +- glib/poppler-input-stream.cc | 18 +- glib/poppler-input-stream.h | 12 +- glib/poppler-page.cc | 44 +-- glib/poppler-structure-element.cc | 4 +- goo/FixedPoint.cc | 8 +- goo/FixedPoint.h | 4 +- goo/GooString.cc | 52 +-- goo/GooString.h | 20 +- goo/GooTimer.h | 2 +- goo/gdir.h | 12 +- goo/gfile.cc | 10 +- goo/gtypes.h | 12 - poppler/Annot.cc | 300 ++++++++-------- poppler/Annot.h | 80 ++--- poppler/Array.cc | 6 +- poppler/Array.h | 2 +- poppler/BuiltinFont.cc | 6 +- poppler/BuiltinFont.h | 2 +- poppler/CMap.cc | 18 +- poppler/CMap.h | 4 +- poppler/CairoFontEngine.cc | 62 ++-- poppler/CairoFontEngine.h | 26 +- poppler/CairoOutputDev.cc | 206 +++++------ poppler/CairoOutputDev.h | 166 ++++----- poppler/CairoRescaleBox.cc | 6 +- poppler/CairoRescaleBox.h | 2 +- poppler/Catalog.cc | 54 +-- poppler/Catalog.h | 10 +- poppler/CharCodeToUnicode.cc | 24 +- poppler/CharCodeToUnicode.h | 6 +- poppler/CurlPDFDocBuilder.cc | 8 +- poppler/CurlPDFDocBuilder.h | 2 +- poppler/DCTStream.cc | 4 +- poppler/DCTStream.h | 4 +- poppler/DateInfo.cc | 14 +- poppler/DateInfo.h | 2 +- poppler/Decrypt.cc | 96 ++--- poppler/Decrypt.h | 20 +- poppler/Dict.cc | 12 +- poppler/Dict.h | 6 +- poppler/FileSpec.cc | 16 +- poppler/FileSpec.h | 10 +- poppler/FlateEncoder.cc | 20 +- poppler/FlateEncoder.h | 10 +- poppler/FlateStream.cc | 4 +- poppler/FlateStream.h | 2 +- poppler/FontInfo.cc | 6 +- poppler/FontInfo.h | 12 +- poppler/Form.cc | 58 +-- poppler/Form.h | 22 +- poppler/Function.cc | 126 +++---- poppler/Function.h | 32 +- poppler/Gfx.cc | 240 ++++++------- poppler/Gfx.h | 48 +-- poppler/GfxFont.cc | 166 ++++----- poppler/GfxFont.h | 46 +-- poppler/GfxState.cc | 168 ++++----- poppler/GfxState.h | 150 ++++---- poppler/GlobalParams.cc | 168 ++++----- poppler/GlobalParams.h | 54 +-- poppler/GlobalParamsWin.cc | 188 +++++----- poppler/Hints.cc | 56 +-- poppler/Hints.h | 8 +- poppler/JArithmeticDecoder.cc | 12 +- poppler/JArithmeticDecoder.h | 8 +- poppler/JBIG2Stream.cc | 142 ++++---- poppler/JBIG2Stream.h | 42 +-- poppler/JPEG2000Stream.cc | 28 +- poppler/JPEG2000Stream.h | 4 +- poppler/JPXStream.cc | 412 +++++++++++----------- poppler/JPXStream.h | 52 +-- poppler/Lexer.cc | 56 +-- poppler/Lexer.h | 6 +- poppler/Linearization.cc | 4 +- poppler/Link.cc | 62 ++-- poppler/Link.h | 76 ++-- poppler/LocalPDFDocBuilder.cc | 8 +- poppler/LocalPDFDocBuilder.h | 2 +- poppler/MarkedContentOutputDev.cc | 12 +- poppler/MarkedContentOutputDev.h | 12 +- poppler/Movie.cc | 22 +- poppler/Movie.h | 16 +- poppler/Object.h | 60 ++-- poppler/OptionalContent.cc | 22 +- poppler/OptionalContent.h | 6 +- poppler/Outline.cc | 4 +- poppler/Outline.h | 6 +- poppler/OutputDev.cc | 30 +- poppler/OutputDev.h | 96 ++--- poppler/PDFDoc.cc | 222 ++++++------ poppler/PDFDoc.h | 72 ++-- poppler/PDFDocBuilder.h | 4 +- poppler/PSOutputDev.cc | 584 +++++++++++++++---------------- poppler/PSOutputDev.h | 228 ++++++------ poppler/PSTokenizer.cc | 20 +- poppler/PSTokenizer.h | 2 +- poppler/Page.cc | 74 ++-- poppler/Page.h | 50 +-- poppler/PageLabelInfo.cc | 24 +- poppler/PageLabelInfo.h | 4 +- poppler/PageLabelInfo_p.h | 4 +- poppler/PageTransition.cc | 6 +- poppler/PageTransition.h | 8 +- poppler/Parser.cc | 16 +- poppler/Parser.h | 10 +- poppler/PreScanOutputDev.cc | 128 +++---- poppler/PreScanOutputDev.h | 60 ++-- poppler/Rendition.cc | 26 +- poppler/Rendition.h | 18 +- poppler/SecurityHandler.cc | 24 +- poppler/SecurityHandler.h | 20 +- poppler/SplashOutputDev.cc | 408 ++++++++++----------- poppler/SplashOutputDev.h | 156 ++++----- poppler/StdinPDFDocBuilder.cc | 8 +- poppler/StdinPDFDocBuilder.h | 2 +- poppler/Stream.cc | 568 +++++++++++++++--------------- poppler/Stream.h | 226 ++++++------ poppler/StructElement.cc | 214 +++++------ poppler/StructElement.h | 34 +- poppler/StructTreeRoot.cc | 2 +- poppler/TextOutputDev.cc | 260 +++++++------- poppler/TextOutputDev.h | 130 +++---- poppler/UnicodeMap.cc | 8 +- poppler/UnicodeMap.h | 10 +- poppler/UnicodeTypeTable.cc | 32 +- poppler/UnicodeTypeTable.h | 12 +- poppler/ViewerPreferences.cc | 12 +- poppler/ViewerPreferences.h | 24 +- poppler/XRef.cc | 270 +++++++------- poppler/XRef.h | 74 ++-- qt5/src/ArthurOutputDev.cc | 30 +- qt5/src/ArthurOutputDev.h | 28 +- qt5/src/poppler-annotation-helper.h | 2 +- qt5/src/poppler-annotation.cc | 2 +- qt5/src/poppler-form.cc | 4 +- qt5/src/poppler-link-extractor-private.h | 6 +- qt5/src/poppler-link-extractor.cc | 2 +- qt5/src/poppler-movie.cc | 2 +- qt5/src/poppler-page-private.h | 4 +- qt5/src/poppler-page.cc | 84 ++--- qt5/src/poppler-ps-converter.cc | 20 +- qt5/tests/check_pagelabelinfo.cpp | 4 +- splash/Splash.cc | 254 +++++++------- splash/Splash.h | 102 +++--- splash/SplashBitmap.cc | 8 +- splash/SplashBitmap.h | 10 +- splash/SplashClip.cc | 8 +- splash/SplashClip.h | 18 +- splash/SplashFTFont.cc | 36 +- splash/SplashFTFont.h | 10 +- splash/SplashFTFontEngine.cc | 8 +- splash/SplashFTFontEngine.h | 16 +- splash/SplashFTFontFile.cc | 8 +- splash/SplashFTFontFile.h | 6 +- splash/SplashFont.cc | 20 +- splash/SplashFont.h | 10 +- splash/SplashFontEngine.cc | 14 +- splash/SplashFontEngine.h | 12 +- splash/SplashFontFile.cc | 18 +- splash/SplashFontFile.h | 12 +- splash/SplashFontFileID.h | 2 +- splash/SplashGlyphBitmap.h | 4 +- splash/SplashMath.h | 2 +- splash/SplashPath.cc | 8 +- splash/SplashPath.h | 10 +- splash/SplashPattern.cc | 4 +- splash/SplashPattern.h | 18 +- splash/SplashScreen.h | 2 +- splash/SplashState.cc | 36 +- splash/SplashState.h | 22 +- splash/SplashXPath.cc | 12 +- splash/SplashXPath.h | 6 +- splash/SplashXPathScanner.cc | 36 +- splash/SplashXPathScanner.h | 20 +- test/gtk-test.cc | 4 +- test/pdf-fullrewrite.cc | 78 ++--- test/pdf-inspector.cc | 4 +- test/perf-test.cc | 20 +- utils/HtmlFonts.cc | 22 +- utils/HtmlFonts.h | 22 +- utils/HtmlLinks.cc | 10 +- utils/HtmlLinks.h | 6 +- utils/HtmlOutputDev.cc | 102 +++--- utils/HtmlOutputDev.h | 54 +-- utils/HtmlUtils.h | 8 +- utils/ImageOutputDev.cc | 54 +-- utils/ImageOutputDev.h | 64 ++-- utils/JSInfo.cc | 14 +- utils/JSInfo.h | 6 +- utils/parseargs.cc | 40 +-- utils/parseargs.h | 10 +- utils/pdfdetach.cc | 26 +- utils/pdffonts.cc | 8 +- utils/pdfimages.cc | 40 +-- utils/pdfinfo.cc | 46 +-- utils/pdfseparate.cc | 6 +- utils/pdfsig.cc | 10 +- utils/pdftocairo-win32.cc | 32 +- utils/pdftocairo-win32.h | 8 +- utils/pdftocairo.cc | 122 +++---- utils/pdftohtml.cc | 78 ++--- utils/pdftoppm.cc | 68 ++-- utils/pdftops.cc | 76 ++-- utils/pdftotext.cc | 44 +-- utils/pdfunite.cc | 24 +- 219 files changed, 5479 insertions(+), 5491 deletions(-) commit 22dd47a64222bf967d57b986539ae1be46bc06a7 Author: Elliott Sales de Andrade Date: Sun Oct 21 18:48:40 2018 -0400 Use GDateTime to format dates in GLib demo. Removing localtime_r allows the demo to be built on Windows. glib/demo/utils.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit 2125bfa4b754088fd9f753aea70ec08ea14dd4bc Author: Elliott Sales de Andrade Date: Sun Oct 21 18:20:18 2018 -0400 Remove SYSTEM flag from another file for mingw build. .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 497498f02c2b26aa7cfa8f9bc881b305b13796d8 Author: Elliott Sales de Andrade Date: Sun Oct 21 17:55:12 2018 -0400 Use dnf on Fedora instead of yum. dnf replaced yum a few releases ago. .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5b1faed4a8b4a749d06fc192770bb38e98631972 Author: Elliott Sales de Andrade Date: Sun Oct 21 17:47:38 2018 -0400 Enable searching for GTK on Windows. There's no reason it can't be available (either natively, or when cross-compiling with mingw). cmake/modules/FindGTK.cmake | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit f47c25939e8ef6ee995d312bac219791fc5b0236 Author: Albert Astals Cid Date: Tue Oct 23 00:02:56 2018 +0200 We don't need the LCMS find module anymore We only support lcms2 for a while cmake/modules/FindLCMS.cmake | 84 -------------------------------------------- 1 file changed, 84 deletions(-) commit 3867958e84a7a136e5e86157617a3fc64988ee69 Author: Albert Astals Cid Date: Mon Oct 22 21:49:34 2018 +0200 0.70.1 CMakeLists.txt | 2 +- NEWS | 4 ++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) commit 0e012fcdc3258fe788cf53053bb1fe33846285f1 Author: Christian Persch Date: Mon Oct 22 18:33:38 2018 +0200 glib: Install missing header https://gitlab.freedesktop.org/poppler/poppler/issues/647 glib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 0eb4224ae15b0c9ac641c829de0d4ae1b15b609d Author: Albert Astals Cid Date: Mon Oct 22 00:31:13 2018 +0200 also install libgtk3-dev so that glib demo is built .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a43637fc8278ba8ede00fa68a7565ad3626edba Author: Albert Astals Cid Date: Sun Oct 21 18:47:56 2018 +0200 Poppler 0.70.0 CMakeLists.txt | 4 ++-- NEWS | 21 +++++++++++++++++++++ cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 27 insertions(+), 6 deletions(-) commit 2639d577cfebac60c81788442359cfac975e222d Author: Albert Astals Cid Date: Sun Oct 21 18:46:26 2018 +0200 Remove commented out code poppler/Annot.h | 1 - 1 file changed, 1 deletion(-) commit af161a35025edfca7c96e66ad8642e85b5b504cb Author: Albert Astals Cid Date: Sun Oct 21 18:43:56 2018 +0200 Update (C) cpp/poppler-document.cpp | 1 + cpp/poppler-font.cpp | 1 + cpp/poppler-page.cpp | 2 +- goo/GooList.h | 1 + goo/grandom.cc | 1 + goo/grandom.h | 3 ++- poppler/Annot.cc | 2 +- poppler/Annot.h | 3 ++- poppler/CMap.cc | 1 + poppler/CMap.h | 1 + poppler/CairoFontEngine.cc | 1 + poppler/CairoFontEngine.h | 1 + poppler/CairoOutputDev.cc | 1 + poppler/Decrypt.cc | 1 + poppler/FontInfo.cc | 1 + poppler/Gfx.h | 1 + poppler/GfxState.h | 1 + poppler/Link.cc | 1 + poppler/MarkedContentOutputDev.cc | 1 + poppler/Outline.cc | 1 + poppler/OutputDev.cc | 2 +- poppler/PDFDoc.h | 2 +- poppler/PDFDocFactory.cc | 1 + poppler/Page.cc | 1 + poppler/Page.h | 1 + poppler/PageLabelInfo_p.h | 1 + poppler/PopplerCache.h | 1 + poppler/PreScanOutputDev.cc | 2 +- poppler/PreScanOutputDev.h | 2 +- poppler/TextOutputDev.cc | 1 + poppler/UnicodeMap.cc | 2 +- poppler/XRef.cc | 2 ++ poppler/XRef.h | 1 + qt5/src/ArthurOutputDev.h | 2 +- qt5/src/poppler-annotation-helper.h | 2 ++ qt5/src/poppler-annotation.cc | 1 + qt5/src/poppler-fontinfo.cc | 1 + qt5/src/poppler-page.cc | 1 + splash/Splash.cc | 1 + splash/SplashBitmap.cc | 2 +- splash/SplashFTFont.cc | 1 + splash/SplashFTFont.h | 1 + splash/SplashFTFontFile.cc | 2 +- splash/SplashFTFontFile.h | 2 +- splash/SplashFont.cc | 1 + splash/SplashFont.h | 1 + splash/SplashFontEngine.cc | 1 + splash/SplashFontEngine.h | 1 + splash/SplashXPathScanner.cc | 1 + splash/SplashXPathScanner.h | 1 + utils/HtmlFonts.cc | 1 + utils/HtmlFonts.h | 1 + utils/HtmlOutputDev.cc | 1 + utils/ImageOutputDev.h | 1 + utils/pdftocairo-win32.cc | 2 +- utils/printencodings.cc | 1 + 56 files changed, 60 insertions(+), 14 deletions(-) commit fdea0c5c03fac42c783b7f134c153dc9db0a5262 Author: Philipp Knechtges Date: Sun Oct 21 16:58:11 2018 +0200 Adjust pdf writing to honor PDF/A rules PDF/A as can be tested with VeraPDF requires: - Second line needs to be a comment line with four characters with byte encoding above 127 - "obj" needs to be followed by a new line - "endobj" needs to start on a new line poppler/PDFDoc.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit f5e3f799eb791c0dae3acf12283c574bf4e008c0 Author: Albert Astals Cid Date: Sun Oct 21 17:39:21 2018 +0200 PDFDoc: Add some const poppler/PDFDoc.cc | 2 +- poppler/PDFDoc.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 4ef2020d036c5b6b11040be2e2685746434778e5 Author: Christian Persch Date: Fri Oct 19 22:46:15 2018 +0200 glib: Only export symbols in the public API poppler-glib exported lots of internal C++ symbols that are not in the public API, nor have any ABI guarantees. Mark all public functions with POPPLER_PUBLIC, and use symbol visibility to hide everything else. glib/CMakeLists.txt | 3 ++ glib/poppler-action.h | 6 +++ glib/poppler-annot.h | 68 ++++++++++++++++++++++++++++++++++ glib/poppler-attachment.h | 3 ++ glib/poppler-date.h | 3 ++ glib/poppler-document.h | 80 ++++++++++++++++++++++++++++++++++++++++ glib/poppler-enums.h.template | 3 ++ glib/poppler-form-field.h | 33 +++++++++++++++++ glib/poppler-layer.h | 7 ++++ glib/poppler-macros.h | 33 +++++++++++++++++ glib/poppler-media.h | 6 +++ glib/poppler-movie.h | 5 +++ glib/poppler-page.h | 78 +++++++++++++++++++++++++++++++++++++++ glib/poppler-structure-element.h | 72 ++++++++++++++++++++++++++++++++++++ glib/poppler.h | 5 +++ 15 files changed, 405 insertions(+) commit 1d8df8e36b5627a4dffbfe76e384022daf6e4eb1 Author: Christian Persch Date: Fri Oct 19 23:48:49 2018 +0200 pdf-inspector: Link to the right libraries pdf-inspector doesn't use libpoppler-glib, but linked to it. Changing it to link only to libpoppler revealed that it used lots of symbols from poppler-glib that poppler-glib should not export. Fix that by adding the necessary sources to the pdf-inspector sources and linking to the libraries needed by these sources (freetype, pthreads). test/CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 20dfaa9e0b993567055c01902527bcddb9017520 Author: Evangelos Rigas Date: Mon Sep 24 15:59:44 2018 +0100 Add support for PDF subtype property (glib backend) Export PDFSubtype, PDFSubtypePart, and PDFSubtypeConformance to GLib as enums and add function to get the GTS string based on the PDF Subtype. Add PDF Subtype documentation reference in glib. glib/poppler-document.cc | 252 ++++++++++++++++++++++++++++++++++++ glib/poppler-document.h | 87 +++++++++++++ glib/reference/poppler-sections.txt | 13 ++ 3 files changed, 352 insertions(+) commit 8dc68b38874ed1b8f61c051b9b9a5c41d6dd60c2 Author: Albert Astals Cid Date: Wed Oct 17 23:07:41 2018 +0200 GfxFunctionShading::parse: Fix memory leak on broken files oss-fuzz/11020 poppler/GfxState.cc | 3 +++ 1 file changed, 3 insertions(+) commit f162ecdea0dda5dbbdb45503c1d55d9afaa41d44 Author: Marek Kasik Date: Fri Apr 20 11:38:13 2018 +0200 Fix crash on missing embedded file Check whether an embedded file is actually present in the PDF and show warning in that case. https://bugs.freedesktop.org/show_bug.cgi?id=106137 https://gitlab.freedesktop.org/poppler/poppler/issues/236 glib/poppler-attachment.cc | 26 +++++++++++++++++--------- glib/poppler-document.cc | 3 ++- 2 files changed, 19 insertions(+), 10 deletions(-) commit 114ec1fc50595fdfadd1be6b2ae4fc1923f0cf50 Author: Albert Astals Cid Date: Tue Oct 16 19:43:30 2018 +0200 CI: fedora fixed their mingw packages, remove workaround .gitlab-ci.yml | 3 --- 1 file changed, 3 deletions(-) commit 710534c7229c42c85038b4263fc67f4ff4a94182 Author: Albert Astals Cid Date: Tue Oct 16 19:58:27 2018 +0200 Check for overflow in Splash::scaleImageYdXd oss-fuzz/11006 splash/Splash.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5b9f42db983e1d5e915373cf554a50ce4e9b7ef0 Author: Tobias Deiminger Date: Mon Oct 15 08:25:14 2018 +0200 Make Page::renderToImage with Arthur more thread safe An application using ArthurBackend can be subject to multi threading. So better use a copy of XRef during rendering, just the same as it's already done when using SplashBackend. qt5/src/poppler-page.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a32fb958e48ced022a358b5933ae669923f81bb3 Author: Stefan Brüns Date: Sun May 27 06:10:37 2018 +0200 SplashXPathScanner: Force inlining of addIntersection The majority of the code in addIntersection can be optimized away for vertical (x0 == x1) and horizontal (count == 0) segments, thus the inlined code is less than the function call setup alone. This leaves diagonal segments as the only remaining call site, i.e. inlining here is a net win as well. Reduces runtime for #57 (fdo#96728, runsforever-poppler.pdf) from 1442 seconds to 1239 seconds (86%), and #24 (fdo#78728, surf-types.pdf) from ~ 5.0 seconds to 4.7 seconds. splash/SplashXPathScanner.cc | 1 + 1 file changed, 1 insertion(+) commit 97f310b1c5e29e4c323a1688c20b2754e9b36adc Author: Stefan Brüns Date: Sun May 27 06:10:36 2018 +0200 SplashXPathScanner: Move more invariant code out of the loop "seg->x0 - seg->y0 * seg->dxdy" is constant and can be moved out of the loop. The next start point is the old end point. Thus, only the new x coordinate has to clamped (segXMin <= xx1 <= segXMax), also do the 'floor' operation just once per loop. According to valgrind/callgrind, this reduces instruction count in computeIntersections() for #24 (fdo#78728) by 6%. No change for fdo#96728. splash/SplashXPathScanner.cc | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit d8ba50c6638ad6720188c0c8237ffb5bbc3af490 Author: Stefan Brüns Date: Sat May 26 21:34:49 2018 +0200 SplashXPathScanner: Move invariant checks out of addIntersection loop For horizontal segments, count is always 0. For vertical/diagonal segments, the count depends on the winding rule (EvenOdd/NonZero) and the direction, but is constant for each segment. Reduces runtime for #57 (fdo#96728) from 1773 seconds to 1442 seconds (81%). splash/SplashXPathScanner.cc | 22 ++++++++++------------ splash/SplashXPathScanner.h | 3 +-- 2 files changed, 11 insertions(+), 14 deletions(-) commit 5f817cb2067a226bc7bc271a42e66bbbf2811d98 Author: Tobias Deiminger Date: Mon Oct 1 21:39:06 2018 +0200 Skip XRef reconstruction for new-style XRef streams XRef::constructXRef was invented to support old style XRef tables. Sadly it won't work for XRef streams. If applied anyway, it corrupts our existing XRef::entries array. Better skip reconstruction for the XRef-stream-case in XRef::readXRefUntil (just like XRef::fetch already does). Fixes #139. poppler/XRef.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 7f20ace4579f69fc3bd0f975fadec37134c3782c Author: Adam Reichold Date: Wed Oct 10 07:44:58 2018 +0200 Remove usage of pragmas interface and implementation GCC recommends not using them for a long time and its documentation says: > These #pragmas have been superceded as of GCC 2.7.2 by COMDAT support > and the “key method” heuristic mentioned in Vague Linkage. > Using them can actually cause your program to grow due to > unnecessary out-of-line copies of inline functions. Also nobody seems to set USE_GCC_PRAGMAS and sometimes they were guarded by just __GNUC__ which upsets Clang. fofi/FoFiBase.cc | 4 ---- fofi/FoFiBase.h | 4 ---- fofi/FoFiEncodings.cc | 4 ---- fofi/FoFiEncodings.h | 4 ---- fofi/FoFiIdentifier.cc | 4 ---- fofi/FoFiIdentifier.h | 4 ---- fofi/FoFiTrueType.cc | 4 ---- fofi/FoFiTrueType.h | 4 ---- fofi/FoFiType1.cc | 4 ---- fofi/FoFiType1.h | 4 ---- fofi/FoFiType1C.cc | 4 ---- fofi/FoFiType1C.h | 4 ---- goo/FixedPoint.cc | 4 ---- goo/FixedPoint.h | 4 ---- goo/GooString.cc | 4 ---- goo/GooString.h | 4 ---- goo/GooTimer.cc | 4 ---- goo/GooTimer.h | 4 ---- poppler/Annot.cc | 4 ---- poppler/Annot.h | 4 ---- poppler/Array.cc | 4 ---- poppler/Array.h | 4 ---- poppler/BuiltinFont.cc | 4 ---- poppler/BuiltinFont.h | 4 ---- poppler/CMap.cc | 4 ---- poppler/CMap.h | 4 ---- poppler/CairoFontEngine.cc | 4 ---- poppler/CairoFontEngine.h | 4 ---- poppler/CairoOutputDev.cc | 4 ---- poppler/CairoOutputDev.h | 4 ---- poppler/Catalog.cc | 4 ---- poppler/Catalog.h | 4 ---- poppler/CharCodeToUnicode.cc | 4 ---- poppler/CharCodeToUnicode.h | 4 ---- poppler/DCTStream.h | 9 --------- poppler/Decrypt.cc | 4 ---- poppler/Decrypt.h | 4 ---- poppler/Dict.cc | 4 ---- poppler/Dict.h | 4 ---- poppler/Error.cc | 4 ---- poppler/Error.h | 4 ---- poppler/FileSpec.h | 4 ---- poppler/FlateEncoder.cc | 4 ---- poppler/FlateEncoder.h | 4 ---- poppler/FlateStream.cc | 4 ---- poppler/FlateStream.h | 9 --------- poppler/Form.cc | 4 ---- poppler/Form.h | 4 ---- poppler/Function.cc | 4 ---- poppler/Function.h | 4 ---- poppler/Gfx.cc | 4 ---- poppler/Gfx.h | 4 ---- poppler/GfxFont.cc | 4 ---- poppler/GfxFont.h | 4 ---- poppler/GfxState.cc | 4 ---- poppler/GfxState.h | 4 ---- poppler/GlobalParams.cc | 4 ---- poppler/GlobalParams.h | 4 ---- poppler/GlobalParamsWin.cc | 4 ---- poppler/JArithmeticDecoder.cc | 4 ---- poppler/JArithmeticDecoder.h | 4 ---- poppler/JBIG2Stream.cc | 4 ---- poppler/JBIG2Stream.h | 4 ---- poppler/JPXStream.cc | 4 ---- poppler/JPXStream.h | 4 ---- poppler/Lexer.cc | 4 ---- poppler/Lexer.h | 4 ---- poppler/Link.cc | 4 ---- poppler/Link.h | 4 ---- poppler/NameToCharCode.cc | 4 ---- poppler/NameToCharCode.h | 4 ---- poppler/Object.cc | 4 ---- poppler/Object.h | 4 ---- poppler/OptionalContent.cc | 4 ---- poppler/OptionalContent.h | 4 ---- poppler/Outline.cc | 4 ---- poppler/Outline.h | 4 ---- poppler/OutputDev.cc | 4 ---- poppler/OutputDev.h | 4 ---- poppler/PDFDoc.cc | 4 ---- poppler/PDFDoc.h | 4 ---- poppler/PSOutputDev.cc | 4 ---- poppler/PSOutputDev.h | 4 ---- poppler/PSTokenizer.cc | 4 ---- poppler/PSTokenizer.h | 4 ---- poppler/Page.cc | 4 ---- poppler/Page.h | 4 ---- poppler/PageTransition.cc | 4 ---- poppler/PageTransition.h | 4 ---- poppler/Parser.cc | 4 ---- poppler/Parser.h | 4 ---- poppler/PreScanOutputDev.cc | 4 ---- poppler/PreScanOutputDev.h | 4 ---- poppler/ProfileData.cc | 4 ---- poppler/ProfileData.h | 4 ---- poppler/SecurityHandler.cc | 4 ---- poppler/SecurityHandler.h | 4 ---- poppler/SplashOutputDev.cc | 4 ---- poppler/SplashOutputDev.h | 4 ---- poppler/Stream.cc | 4 ---- poppler/Stream.h | 4 ---- poppler/StructElement.cc | 4 ---- poppler/StructElement.h | 4 ---- poppler/StructTreeRoot.cc | 4 ---- poppler/StructTreeRoot.h | 4 ---- poppler/TextOutputDev.cc | 4 ---- poppler/TextOutputDev.h | 4 ---- poppler/UTF.h | 4 ---- poppler/UnicodeMap.cc | 4 ---- poppler/UnicodeMap.h | 4 ---- poppler/XRef.cc | 4 ---- poppler/XRef.h | 4 ---- qt5/src/ArthurOutputDev.cc | 4 ---- qt5/src/ArthurOutputDev.h | 4 ---- splash/Splash.cc | 4 ---- splash/Splash.h | 4 ---- splash/SplashBitmap.cc | 4 ---- splash/SplashBitmap.h | 4 ---- splash/SplashClip.cc | 4 ---- splash/SplashClip.h | 4 ---- splash/SplashFTFont.cc | 4 ---- splash/SplashFTFont.h | 4 ---- splash/SplashFTFontEngine.cc | 4 ---- splash/SplashFTFontEngine.h | 4 ---- splash/SplashFTFontFile.cc | 4 ---- splash/SplashFTFontFile.h | 4 ---- splash/SplashFont.cc | 4 ---- splash/SplashFont.h | 4 ---- splash/SplashFontEngine.cc | 4 ---- splash/SplashFontEngine.h | 4 ---- splash/SplashFontFile.cc | 4 ---- splash/SplashFontFile.h | 4 ---- splash/SplashFontFileID.cc | 4 ---- splash/SplashFontFileID.h | 4 ---- splash/SplashPath.cc | 4 ---- splash/SplashPath.h | 4 ---- splash/SplashPattern.cc | 4 ---- splash/SplashPattern.h | 4 ---- splash/SplashScreen.cc | 4 ---- splash/SplashScreen.h | 4 ---- splash/SplashState.cc | 4 ---- splash/SplashState.h | 4 ---- splash/SplashXPath.cc | 4 ---- splash/SplashXPath.h | 4 ---- splash/SplashXPathScanner.cc | 4 ---- splash/SplashXPathScanner.h | 4 ---- test/gtk-test.cc | 4 ---- test/pdf-inspector.cc | 4 ---- utils/HtmlOutputDev.cc | 4 ---- utils/HtmlOutputDev.h | 4 ---- utils/ImageOutputDev.cc | 4 ---- utils/ImageOutputDev.h | 4 ---- 152 files changed, 618 deletions(-) commit e1501603b6f043a40586ff0babf34980a6f03b15 Author: Adam Reichold Date: Tue Oct 9 21:36:57 2018 +0200 Remove unused function in Decrypt translation unit. poppler/Decrypt.cc | 3 --- 1 file changed, 3 deletions(-) commit cc95433be9d3eee28e701069bbd0d63b7a585dbb Author: Adam Reichold Date: Tue Oct 9 21:36:09 2018 +0200 Remove unused debuggging function in CairoOutputDev translation unit. poppler/CairoOutputDev.cc | 7 ------- 1 file changed, 7 deletions(-) commit bcfa08d007596876bff20dcac0ca84fee69fe56d Author: Adam Reichold Date: Sat Sep 1 12:35:20 2018 +0200 Fix memory leak in Catalog by tracking pages (and page refs) using std::vector and std::unique_ptr instead of manually allocating them. oss-fuzz/10119 poppler/Catalog.cc | 79 +++++++++++++----------------------------------------- poppler/Catalog.h | 6 ++--- 2 files changed, 21 insertions(+), 64 deletions(-) commit 38b54a6a18d53d7f9e1d290c6cc420744c450d4f Author: Oliver Sander Date: Mon Oct 8 21:20:18 2018 +0200 Move 'default' definition of con-/destructors to .cc file poppler/Annot.cc | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Annot.h | 54 +++++++++++++++++++++++++++--------------------------- 2 files changed, 81 insertions(+), 27 deletions(-) commit 602dc4ba8e54977667a0fd884cc3539bc100c963 Author: Oliver Sander Date: Mon Oct 8 16:13:30 2018 +0200 Make compile again poppler/Annot.cc | 39 +++------------------------------------ 1 file changed, 3 insertions(+), 36 deletions(-) commit c66dec6154a72dd45430cb40885a9eb19e01eca9 Author: Oliver Sander Date: Mon Oct 8 10:44:59 2018 +0200 Remove out-commented code poppler/Annot.h | 1 - 1 file changed, 1 deletion(-) commit d8ecf4ca7f574fd49bdfc3afd155245fa130cc6e Author: Oliver Sander Date: Mon Oct 8 10:42:28 2018 +0200 Fix typo in a comment poppler/Annot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d52c567551279b2ee8ab8a6ab848e99c5c0021c7 Author: Oliver Sander Date: Mon Sep 3 17:20:51 2018 +0200 Make my own mess compile again poppler/Annot.cc | 10 ++++------ qt5/src/poppler-annotation-helper.h | 2 ++ 2 files changed, 6 insertions(+), 6 deletions(-) commit 054022ef5d9531944dee4195cf2b8c31d1c428b4 Author: Adam Reichold Date: Wed Aug 29 23:05:18 2018 +0200 Port AnnotPath to use std::vector instead of std::unique_ptr to further avoid manual memory management. poppler/Annot.cc | 26 +++++++++----------------- poppler/Annot.h | 11 +++++------ qt5/src/poppler-annotation.cc | 8 ++++---- 3 files changed, 18 insertions(+), 27 deletions(-) commit 891ba9a47ad837006938a5acdace46049fcb8892 Author: Oliver Sander Date: Wed Aug 29 21:42:28 2018 +0200 Remove an unnecessary pointer assignment No need to set a std::unique_ptr to nullptr right before it goes out of scope. poppler/Annot.cc | 1 - 1 file changed, 1 deletion(-) commit 9b1032753a57a2aa18f21b3e6770d6788f757cf6 Author: Carlos Garcia Campos Date: Sun May 21 14:14:19 2017 +0200 annots: Use std::unique_ptr instead of new/delete glib/poppler-annot.cc | 25 +- poppler/Annot.cc | 889 +++++++++++------------------------- poppler/Annot.h | 382 ++++++++-------- qt5/src/poppler-annotation-helper.h | 2 +- qt5/src/poppler-annotation.cc | 39 +- 5 files changed, 486 insertions(+), 851 deletions(-) commit da428865c21f4be117a665224eaf465ffb9f8a6c Author: Adam Reichold Date: Sun Oct 7 22:43:25 2018 +0200 Fix typo in UPSTREAM_TEST_DATA_URL as while it does work anyway, it is quite confusing. .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 51adf4f54815c3a74b3a224eff5b107adf7ef7fe Author: Steven Boswell Date: Sat Oct 6 09:25:08 2018 +0200 Make HtmlFont::HtmlFilter convert tabs into spaces using the same logic used for spaces. utils/HtmlFonts.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2b5c7c8609e88a4a9b18a19168ba4eb6a60572c3 Author: Adam Reichold Date: Sat Oct 6 09:21:44 2018 +0200 Remove HtmlFont::simple since it is just a diversion around HtmlFont::HtmlFilter. utils/HtmlFonts.cc | 15 --------------- utils/HtmlFonts.h | 1 - utils/HtmlOutputDev.cc | 15 ++++----------- 3 files changed, 4 insertions(+), 27 deletions(-) commit e0eb2474ef0a154001512b66b7cd34f9d0cddd60 Author: Adam Reichold Date: Tue Aug 21 20:09:40 2018 +0200 Remove HtmlFont::pos and always track a font name to allow handling of unknown font families with known style suffixes. utils/HtmlFonts.cc | 135 +++++++++++++++++++------------------------------ utils/HtmlFonts.h | 8 +-- utils/HtmlOutputDev.cc | 6 --- utils/pdftohtml.cc | 1 - 4 files changed, 53 insertions(+), 97 deletions(-) commit 257e583fceea1e35f0162a1dbd961859add688f9 Author: Albert Astals Cid Date: Sun Sep 23 02:55:09 2018 +0200 Remove last use of non const GooString::getCString goo/GooString.h | 1 - poppler/GlobalParams.cc | 40 ++++++++++++++++++---------------------- poppler/GlobalParamsWin.cc | 4 ++-- 3 files changed, 20 insertions(+), 25 deletions(-) commit 89b4f3b9be15e30dfe6a8de431b5de1e8c4f28f3 Author: Albert Astals Cid Date: Sat Oct 6 14:54:39 2018 +0200 mingw64 fedora build We find every so often that the windows build breaks since there's a few ifdef for windows, so CI it Has some mv because the openjpeg2 packages are a bit broken and removes a SYSTEM because i think something in their packages is also broken since i don't need to remove that when i build on my arch linux with mingw64 .gitlab-ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 0118e221548303b71c2b40a878526d017ef64db5 Author: Stefan Brüns Date: Mon Aug 27 02:12:08 2018 +0200 SplashXPathScanner: Reduce complexity of sorting spans For complex paths, a significant amount of time is spent in SplashXPathScanner::computeIntersections, more specifically with sorting the spans in y/x order. Instead of using one large array for all spans, use a 2-dimensional structure. As the number of y positions is known upfront, it is possible to create an array for the y dimension and insert the spans directly at the appropriate position. For Y rows with X spans per row, this reduces the complexity for sorting from O( Y*X log Y*X) to O( Y * X log X), i.e. a reduction by log Y. For the documents from #57 (fdo#96728) and #24 (fdo#78728), the runtime/memory is significantly reduced (according to /usr/bin/time -v): (1) $> pdftoppm -r 18 -aa no runsforever-poppler.pdf (2) $> pdftoppm surf-types.pdf Before/After runsforever-poppler | surf-types User time (seconds): 2979.80 / 2348.08 | 9.45 / 7.76 Maximum resident set size (kbytes): 51208 / 46288 | 18084 / 14076 splash/SplashXPathScanner.cc | 216 ++++++++++++++++++------------------------- splash/SplashXPathScanner.h | 22 +++-- 2 files changed, 106 insertions(+), 132 deletions(-) commit 7ef04b5643c6bad8cd4b6f6fc4aa9b800c49406f Author: Stefan Brüns Date: Fri Aug 24 00:50:26 2018 +0200 SplashXPathScanner: Clamp y range to yMin/yMax outside the loop Instead of implicitly clamping by setting interIdx == interEnd, calculate the first and last y position outside the loop, and use these as loop bounds. splash/SplashXPathScanner.cc | 55 +++++++++++++++++++++----------------------- 1 file changed, 26 insertions(+), 29 deletions(-) commit 68fdbfd0b159e8cf146c480f0d14f5d7adfd5806 Author: Stefan Brüns Date: Sat May 26 19:51:21 2018 +0200 SplashXPathScanner: Move state out of SplashXPathScanner for iterating spans Iterating through spans is independent of the spans itself. Moving the iteration to a seperate class allows to keep the iteration state out of SplashXPathScanner, and also allows to move invariant code out of getNextSpan(...). splash/Splash.cc | 9 ++++++--- splash/SplashXPathScanner.cc | 36 ++++++++++++++++++++++-------------- splash/SplashXPathScanner.h | 30 ++++++++++++++++++------------ 3 files changed, 46 insertions(+), 29 deletions(-) commit 29bf8086b26516090565d5f91ee1a43f98a5c5f6 Author: Albert Astals Cid Date: Fri Oct 5 20:55:41 2018 +0200 GooList: Be a class again All the forward declarations we have are saying class and both MSVC and clang are unhappy about it goo/GooList.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f39161321dcbb7932b77f4883814ce503b9442fe Author: Albert Astals Cid Date: Fri Oct 5 20:14:09 2018 +0200 Fix Windows build poppler/GlobalParamsWin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a6929b40d94d92f7583d17bf4befae36eae87631 Author: Adam Reichold Date: Fri Oct 5 12:45:00 2018 +0200 Remove GooList's reserving constructor since it has only three users and it seems to better to be explicit whether we reserve or resize. goo/GooList.h | 3 --- poppler/GfxState.cc | 3 ++- poppler/Link.cc | 6 ++++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit de89d6449cba119fa86908b2771c4c441cb8a503 Author: Adam Reichold Date: Fri Oct 5 12:29:24 2018 +0200 Do not use non-standard pragma once and do not change semantics of reserving GooList constructor. goo/GooList.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 101728e8a5089c01fc7bca950db0e8ae84d27b47 Author: Adam Reichold Date: Sun Aug 26 22:10:47 2018 +0200 Remove GooList::append since the single element variant is std::vector::push_back and the list variant is used only once. glib/poppler-document.cc | 2 +- goo/GooList.h | 15 --------------- poppler/Annot.cc | 4 ++-- poppler/FontInfo.cc | 2 +- poppler/Form.cc | 2 +- poppler/GfxState.cc | 10 +++++----- poppler/GlobalParams.cc | 8 ++++---- poppler/JBIG2Stream.cc | 18 +++++++++--------- poppler/Link.cc | 10 +++++----- poppler/OptionalContent.cc | 5 +++-- poppler/Outline.cc | 2 +- poppler/PDFDocFactory.cc | 2 +- poppler/PSOutputDev.cc | 2 +- poppler/TextOutputDev.cc | 18 +++++++++--------- splash/Splash.cc | 2 +- splash/SplashBitmap.cc | 2 +- utils/HtmlOutputDev.cc | 12 ++++++------ utils/pdfdetach.cc | 4 ++-- 18 files changed, 53 insertions(+), 67 deletions(-) commit e44e90b434434de5ea3b23d3a40ded7a5ad05b1c Author: Adam Reichold Date: Sun Aug 26 21:46:31 2018 +0200 Remove GooList::put as it is apparently unused. goo/GooList.h | 4 ---- 1 file changed, 4 deletions(-) commit 571a321721c5b166c402995b0a8e015f10948c31 Author: Adam Reichold Date: Sun Aug 26 21:42:47 2018 +0200 Turn deleteGooList macro into a template to improve type checking and diagnostics. cpp/poppler-font.cpp | 2 +- glib/poppler-document.cc | 2 +- goo/GooList.h | 19 ++++++++----------- poppler/Annot.cc | 12 ++++++------ poppler/Form.cc | 6 +++--- poppler/GfxState.cc | 2 +- poppler/GlobalParams.cc | 4 ++-- poppler/JBIG2Stream.cc | 4 ++-- poppler/Link.cc | 6 +++--- poppler/OptionalContent.cc | 2 +- poppler/Outline.cc | 4 ++-- poppler/PDFDocFactory.cc | 2 +- poppler/PSOutputDev.cc | 2 +- poppler/TextOutputDev.cc | 14 +++++++------- qt5/src/poppler-fontinfo.cc | 2 +- splash/SplashBitmap.cc | 2 +- utils/HtmlOutputDev.cc | 4 ++-- utils/pdfdetach.cc | 2 +- 18 files changed, 44 insertions(+), 47 deletions(-) commit 46a8486d71b686facdea716bd04911bd029ac67e Author: Adam Reichold Date: Sun Aug 26 21:31:18 2018 +0200 Remove GooList::insert since the single caller actually needs only std::vector::push_back. goo/GooList.h | 6 ------ poppler/PDFDocFactory.cc | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) commit 76c716c7d65f5110bd3e2eec25aed62aed7fe24a Author: Adam Reichold Date: Sun Aug 26 21:25:35 2018 +0200 Remove GooList::copy since it is apparently unused. goo/GooList.h | 3 --- 1 file changed, 3 deletions(-) commit 4ae24db322e38ec81acc749c71c9efa972afe39d Author: Adam Reichold Date: Sun Aug 26 21:20:57 2018 +0200 Remove GooList::del since its few users are easily converted. goo/GooList.h | 9 --------- poppler/JBIG2Stream.cc | 15 ++++++--------- utils/HtmlOutputDev.cc | 14 +++++++------- 3 files changed, 13 insertions(+), 25 deletions(-) commit 4236d98179699dd7512805075eecb292fc253965 Author: Adam Reichold Date: Sun Aug 26 16:30:28 2018 +0200 Reimplement GooList as a subtype of std::vector This reimplements GooList as a subtype of std::vector to facilitate porting the various places where GooList is used to STL containers. After this change, this can happen mechanically by replacing all of the GooList-specific API by their implementations at the call sites and cleaning up until at some point no more GooList-specific API is left and the type can be removed. This of course keeps the normally inefficient pattern of storing pointer to objects instead of objects inside these containers which however can then be refactoring in a separate step building on top this and as a pure optimization. CMakeLists.txt | 1 - goo/GooList.cc | 136 ------------------------------------------------ goo/GooList.h | 87 +++++++++++++------------------ utils/printencodings.cc | 15 +++--- 4 files changed, 42 insertions(+), 197 deletions(-) commit 3f08b610e4dbbbcb449e686d46360255efd78cfc Author: Oliver Sander Date: Thu Sep 13 20:55:28 2018 +0200 Fold the constant splashFontCacheSize As the cache is a std::array now, the constant is only used in a single location. Hence there is no need to keep it as a separate name. splash/SplashFontEngine.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit a7ffcfe9612970bf37edb1a78480d357d7ecd62b Author: Oliver Sander Date: Thu Sep 13 20:53:32 2018 +0200 Reimplement the Splash font cache as a std::array std::find_if and std::rotate nicely replace the hand-written loops. splash/SplashFontEngine.cc | 66 ++++++++++++++++++---------------------------- splash/SplashFontEngine.h | 4 ++- 2 files changed, 29 insertions(+), 41 deletions(-) commit 588d96b572a28e5b0bef55e152d134b62818f85a Author: Oliver Sander Date: Wed Sep 12 21:34:12 2018 +0200 Make SplashFont::matches a const method splash/SplashFont.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d248d3e59165824ca5279db4c451d63f762f1ac3 Author: Oliver Sander Date: Wed Sep 12 16:17:41 2018 +0200 Make a few pointer arguments const This increases code legibility, if nothing else. splash/SplashFTFont.cc | 2 +- splash/SplashFTFont.h | 2 +- splash/SplashFTFontFile.cc | 2 +- splash/SplashFTFontFile.h | 2 +- splash/SplashFont.cc | 2 +- splash/SplashFont.h | 4 ++-- splash/SplashFontEngine.cc | 4 ++-- splash/SplashFontEngine.h | 2 +- splash/SplashFontFile.h | 2 +- 9 files changed, 11 insertions(+), 11 deletions(-) commit 1243d28214471444333ea1972616ffb8c8926952 Author: Oliver Sander Date: Wed Sep 12 16:02:43 2018 +0200 Minor simplification of font-loading logic If a pointer is explicitly set to nullptr, there is no need to test whether it really is nullptr in the very next line. splash/SplashFontEngine.cc | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) commit 13e610fd95025804623ebfc7d134332071f5f1d5 Author: Adam Reichold Date: Fri Sep 21 18:13:04 2018 +0200 Since the circular dependency between PopplerCache and XRef is gone now, XRef can properly embed PopplerCache without additional indirection. poppler/XRef.cc | 22 +++++----------------- poppler/XRef.h | 8 ++------ 2 files changed, 7 insertions(+), 23 deletions(-) commit 70e929e682cec8b60120ae3b1320eab457bd2ea7 Author: Adam Reichold Date: Fri Sep 21 18:07:04 2018 +0200 Remove specialized PopplerObjectCache since it has only one user and the additional abstraction actually obscures how it is used instead of simplifying it. poppler/Gfx.cc | 16 +++++++++------- poppler/Gfx.h | 3 ++- poppler/PopplerCache.h | 29 ++--------------------------- 3 files changed, 13 insertions(+), 35 deletions(-) commit cb8a526906687d85dfa5af1b30a585e76e2762a7 Author: Adam Reichold Date: Fri Sep 21 17:39:56 2018 +0200 Turn PopplerCache into a template to avoid double indirection for look-up via virtual helper classes. CMakeLists.txt | 1 - poppler/Function.h | 1 - poppler/GfxState.cc | 43 +------------ poppler/GfxState.h | 1 - poppler/OutputDev.cc | 15 ++--- poppler/OutputDev.h | 16 +++-- poppler/PopplerCache.cc | 156 ------------------------------------------------ poppler/PopplerCache.h | 109 ++++++++++++++++----------------- poppler/XRef.cc | 46 +------------- poppler/XRef.h | 4 +- 10 files changed, 77 insertions(+), 315 deletions(-) commit 36d40492565faca3f0fc4fe7a77005b4fca45eec Author: Albert Astals Cid Date: Fri Oct 5 00:17:01 2018 +0200 SignatureValidationInfoPrivate: Match declaration in poppler-form.h qt5/src/poppler-form.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 530bf719646a1f909a70978e41b0487bd4198664 Author: Albert Astals Cid Date: Fri Oct 5 00:13:55 2018 +0200 CairoType3Font: Remove unused member poppler/CairoFontEngine.cc | 7 +++---- poppler/CairoFontEngine.h | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) commit 718eb66aa4e6ab0ccbee16889534b32e0faeeb30 Author: Albert Astals Cid Date: Fri Oct 5 00:10:31 2018 +0200 cmake: Set the clang warnings based on the gcc ones cmake/modules/PopplerMacros.cmake | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit 9829cadbe10ad4cb468514ec68a3160e18f090bc Author: Albert Astals Cid Date: Fri Oct 5 00:10:06 2018 +0200 TextSelectionPainter: Remove unused member poppler/TextOutputDev.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 3edd00c7a0a7047bc530b77587e60b5e59b53641 Author: Albert Astals Cid Date: Fri Oct 5 00:05:58 2018 +0200 Some more NULL to nullptr poppler/CairoOutputDev.h | 2 +- poppler/CurlPDFDocBuilder.h | 6 +++--- poppler/FileSpec.h | 2 +- poppler/FlateEncoder.h | 3 ++- poppler/Form.h | 6 +++--- poppler/Gfx.h | 14 ++++++------- poppler/GfxState.h | 30 +++++++++++++-------------- poppler/GlobalParams.h | 8 ++++---- poppler/Lexer.h | 2 +- poppler/Link.h | 28 +++++++++++++------------- poppler/LocalPDFDocBuilder.h | 6 +++--- poppler/OptionalContent.h | 10 ++++----- poppler/OutputDev.h | 10 ++++----- poppler/PDFDoc.h | 48 ++++++++++++++++++++++---------------------- poppler/PDFDocBuilder.h | 4 ++-- poppler/PDFDocFactory.h | 6 +++--- poppler/PSOutputDev.h | 18 ++++++++--------- poppler/Page.h | 34 +++++++++++++++---------------- poppler/Parser.h | 2 +- poppler/StdinPDFDocBuilder.h | 6 +++--- poppler/Stream.h | 22 ++++++++++---------- poppler/StructElement.h | 14 ++++++------- poppler/StructTreeRoot.h | 6 +++--- poppler/XRef.h | 4 ++-- splash/Splash.h | 2 +- splash/SplashBitmap.h | 2 +- splash/SplashScreen.h | 4 ++-- utils/HtmlOutputDev.h | 10 ++++----- 28 files changed, 155 insertions(+), 154 deletions(-) commit 2f5ad138924ce4e236455b0e4493d4d869c76397 Author: Albert Astals Cid Date: Thu Oct 4 19:44:12 2018 +0200 SplashXPath: check for overflow fixes oss-fuzz/10806 splash/SplashXPath.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 6007b32e10c6283f3d9f4eeb0cb862ecfeba239a Author: Adam Reichold Date: Wed Oct 3 20:24:24 2018 +0200 Inline move construction and assignment of Object to avoid function call overhead. poppler/Object.cc | 16 ---------------- poppler/Object.h | 17 +++++++++++++++-- 2 files changed, 15 insertions(+), 18 deletions(-) commit 5e5e7234c06bc2aa327a1461419f15de4a21b563 Author: Adam Reichold Date: Wed Oct 3 16:53:59 2018 +0200 Add microbenchmark to check effect of using memcpy instead of assignment. qt5/tests/CMakeLists.txt | 1 + qt5/tests/check_object.cpp | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) commit 64fec200816005b6c324f455446ea2ca290ffb87 Author: Adam Reichold Date: Sat Sep 22 11:13:39 2018 +0200 Avoid Object being too friendly with Array, Dict and XRef as these can just use placement-new and the usual destructor which is public anyways. poppler/Object.cc | 5 ----- poppler/Object.h | 13 ++----------- poppler/XRef.cc | 12 ++++++------ 3 files changed, 8 insertions(+), 22 deletions(-) commit cb29b28da31e3f563c46fd596812a7860d52ab8f Author: Adam Reichold Date: Sat Sep 22 11:07:05 2018 +0200 Remove unneccessary macros from Object, avoid zeroing uninitialized objects and avoid copying inactive union members. poppler/Object.cc | 13 +++++++------ poppler/Object.h | 37 ++++++++++++++++--------------------- 2 files changed, 23 insertions(+), 27 deletions(-) commit c4c55d9e3572b2b4ef84d7cdd0b50ca6d3bbd19e Author: Albert Astals Cid Date: Tue Oct 2 20:09:37 2018 +0200 Fix windows build by not build a test that doesnt' build anymore qt5/tests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad998fc493b5fae74f79d53ec930e2b4067e7dda Author: Albert Astals Cid Date: Tue Oct 2 19:44:21 2018 +0200 don't fail tests on platforms we already know the test fails qt5/tests/check_pagelabelinfo.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) commit 139f2a4c1ab53fd5eb339e395a7c068e3622f83f Author: Oliver Sander Date: Thu Aug 30 23:58:37 2018 +0200 Port the implementation of 'class Annots' to std::vector This simplifies the code a little: most of the memory management code disappears, because std::vector does it for us. poppler/Annot.cc | 44 +++++++++++++------------------------------- poppler/Annot.h | 9 ++++----- 2 files changed, 17 insertions(+), 36 deletions(-) commit a6f88881d41f064a4c2438d4e1b532872a879b0c Author: Adam Reichold Date: Sun Sep 23 09:56:51 2018 +0200 Put (optional) usage of codecvt behind a configure check s.t. we at least compile even if we do not properly handle the unicode page label. ConfigureChecks.cmake | 2 ++ config.h.cmake | 3 +++ poppler/PageLabelInfo_p.h | 20 ++++++++++++-------- 3 files changed, 17 insertions(+), 8 deletions(-) commit 65c8bc1eefea0b99e46d4190dc61ead216088283 Author: Adam Reichold Date: Sun Sep 23 00:45:04 2018 +0200 Parse Unicode decimals as well as ASCII decimals when resolving page labels. poppler/PageLabelInfo.cc | 7 ++++--- poppler/PageLabelInfo_p.h | 30 ++++++++++++++++++++++++++++++ qt5/tests/check_pagelabelinfo.cpp | 20 ++++++++++++++++++++ 3 files changed, 54 insertions(+), 3 deletions(-) commit 2cbdd1543134bf256ba49dd1209deadcfc45a4fe Author: Adam Reichold Date: Sat Sep 29 09:53:20 2018 +0200 Do not use unsigned char to instantiate a random engine as the standard permits only short and wider and MSVC is strict about that. goo/grandom.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 80a2aa1ba039947f5c4e87a1ad7b5aa324d96407 Author: Adam Reichold Date: Sun Sep 30 16:51:32 2018 +0200 Use git clone instead of and a relative CI project path to allow MR to modify the test repository. .gitlab-ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit c46717a70341ac0120579c867d49c250bed4ed52 Author: Adam Reichold Date: Fri Aug 31 23:05:05 2018 +0200 Use the C++ standard library facilities for thread-safe random number generation avoiding the need for explicit configure checks. ConfigureChecks.cmake | 1 - config.h.cmake | 3 --- goo/grandom.cc | 58 +++++++++++++-------------------------------------- goo/grandom.h | 20 ++++-------------- 4 files changed, 19 insertions(+), 63 deletions(-) commit f3e3dd8004d87468d0e07c3fe6c05cc0fab50a52 Author: Oliver Sander Date: Thu Sep 27 13:58:34 2018 +0200 FreeText: Use font from default appearance string If a FreeText annotation misses an AP entry, try to create a temporary font as defined by its default appearance string. Tf operator names the font resource, and we can search for the resource inside the default resource dictionary. See ISO32000 sections about "Free Text Annotations" and "Variable Text". If lookup fails for some reason, use Helvetica as fallback. Patch done together with Tobias Deiminger poppler/Annot.cc | 66 ++++++++++++++++++++++++++++++++++++++++++++++---------- poppler/Annot.h | 2 ++ 2 files changed, 57 insertions(+), 11 deletions(-) commit b8b82412a8123369335c37e546cec38eaa460d05 Author: Albert Astals Cid Date: Sun Sep 23 23:47:54 2018 +0200 More const Marked some caches as mutable Fixed an actual bug in page::text that was swapping the page cropbox in each call cpp/poppler-page.cpp | 10 +- glib/poppler-page.cc | 2 +- poppler/CairoOutputDev.cc | 24 +-- poppler/CairoOutputDev.h | 24 +-- poppler/Function.cc | 16 +- poppler/Function.h | 108 +++++----- poppler/Gfx.cc | 20 +- poppler/Gfx.h | 10 +- poppler/GfxState.cc | 126 ++++++------ poppler/GfxState.h | 412 +++++++++++++++++++------------------- poppler/MarkedContentOutputDev.cc | 2 +- poppler/MarkedContentOutputDev.h | 2 +- poppler/OutputDev.cc | 2 +- poppler/OutputDev.h | 16 +- poppler/PDFDoc.cc | 6 +- poppler/PDFDoc.h | 2 +- poppler/PSOutputDev.cc | 45 ++--- poppler/PSOutputDev.h | 16 +- poppler/Page.cc | 4 +- poppler/Page.h | 40 ++-- poppler/PreScanOutputDev.cc | 15 +- poppler/PreScanOutputDev.h | 12 +- poppler/SplashOutputDev.cc | 47 ++--- poppler/SplashOutputDev.h | 14 +- poppler/TextOutputDev.cc | 12 +- poppler/TextOutputDev.h | 24 +-- poppler/UnicodeMap.cc | 2 +- poppler/UnicodeMap.h | 6 +- qt5/src/ArthurOutputDev.cc | 6 +- qt5/src/ArthurOutputDev.h | 6 +- qt5/src/poppler-annotation.cc | 2 +- qt5/src/poppler-form.cc | 2 +- qt5/src/poppler-page.cc | 3 +- utils/HtmlOutputDev.cc | 2 +- utils/ImageOutputDev.cc | 6 +- utils/ImageOutputDev.h | 4 +- utils/pdfinfo.cc | 2 +- utils/pdfunite.cc | 2 +- 38 files changed, 518 insertions(+), 536 deletions(-) commit d5d6dd939e06cd8048d9d8090502915b0488b1dd Author: Albert Astals Cid Date: Sun Sep 23 22:41:12 2018 +0200 Some more NULL -> nullptr poppler/GlobalParams.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 7ec06feed742af74e7b53a1df964eef8c3965e16 Author: Albert Astals Cid Date: Sun Sep 23 22:38:55 2018 +0200 Fix build with -DFONT_CONFIGURATION=generic poppler/GlobalParams.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2ea24b168ab196237093b49cbc24427b023aa79b Author: Albert Astals Cid Date: Sun Sep 23 22:35:32 2018 +0200 FoFiType1C::getIndexVal: Don't calculate val if it's not ok No need to do extra work if we're saying it won't be used Fixes oss-fuzz/10632 fofi/FoFiType1C.cc | 1 + 1 file changed, 1 insertion(+) commit 8ca7c4f2bbce1e22393cb2e71ae9025b72289121 Author: Albert Astals Cid Date: Sun Sep 23 19:32:53 2018 +0200 Fix windows build even more glib/poppler-document.cc | 4 ++++ utils/pdftocairo-win32.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit 21a17289c662fa67128d61180e9f8f357660d06b Author: Albert Astals Cid Date: Sun Sep 23 19:24:54 2018 +0200 Fix Windows build poppler/GlobalParamsWin.cc | 2 +- poppler/PDFDoc.cc | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) commit 2aa679bf2551874561190caff4ea18b34c9b388f Author: Albert Astals Cid Date: Sun Sep 23 19:17:53 2018 +0200 Remove the DEBUG_FORMS define Just define the functions, but not call them poppler/Form.cc | 20 +++----------------- poppler/Form.h | 21 ++++----------------- poppler/poppler-config.h.cmake | 3 --- 3 files changed, 7 insertions(+), 37 deletions(-) commit 87fcbb6a73cfeac5d21a8ce8e8d10f2f52ae0e00 Author: Albert Astals Cid Date: Sun Sep 23 19:15:19 2018 +0200 Remove the DISABLE_OUTLINE define It makes no sense poppler/PDFDoc.cc | 8 -------- poppler/PDFDoc.h | 5 ----- poppler/poppler-config.h.cmake | 2 +- utils/HtmlOutputDev.cc | 12 ------------ utils/HtmlOutputDev.h | 2 -- utils/pdftohtml.cc | 4 ---- 6 files changed, 1 insertion(+), 32 deletions(-) commit cd53c552e75d47a1c1d60953989192271a452c0b Author: Albert Astals Cid Date: Sun Sep 23 19:11:12 2018 +0200 Remove ENABLE_PLUGINS We're never defining it, so just stop carrying it CMakeLists.txt | 2 - poppler/GlobalParams.cc | 219 -------------------------- poppler/GlobalParams.h | 14 -- poppler/SecurityHandler.cc | 96 +----------- poppler/SecurityHandler.h | 40 ----- poppler/XpdfPluginAPI.cc | 243 ----------------------------- poppler/XpdfPluginAPI.h | 342 ----------------------------------------- poppler/poppler-config.h.cmake | 3 +- 8 files changed, 3 insertions(+), 956 deletions(-) commit e84b9e58e0e644f30e104850969a8255d59b9971 Author: Albert Astals Cid Date: Sun Sep 23 19:07:00 2018 +0200 More const glib/poppler-private.h | 2 +- glib/poppler-structure-element.cc | 27 ++++++++++++--------------- poppler/Gfx.h | 2 +- poppler/GfxState.h | 8 ++++---- poppler/PDFDoc.cc | 14 +++++++------- poppler/PDFDoc.h | 36 ++++++++++++++++++------------------ poppler/SecurityHandler.cc | 8 ++++---- poppler/SecurityHandler.h | 12 ++++++------ utils/pdfinfo.cc | 2 +- 9 files changed, 54 insertions(+), 57 deletions(-) commit 1b8a163fe13ddc6734e1c0cbf719947a83c86613 Author: Albert Astals Cid Date: Sun Sep 23 14:03:35 2018 +0200 More const fofi/FoFiTrueType.cc | 2 +- poppler/CMap.cc | 16 ++++++++-------- poppler/CMap.h | 16 ++++++++-------- poppler/CairoFontEngine.cc | 7 +++---- poppler/Decrypt.cc | 26 +++++++++++++------------- poppler/Decrypt.h | 24 ++++++++++++------------ poppler/Gfx.cc | 2 +- poppler/GfxFont.cc | 2 +- poppler/GfxFont.h | 46 +++++++++++++++++++++++----------------------- poppler/GlobalParams.cc | 22 +++++++++++----------- poppler/GlobalParams.h | 18 +++++++++--------- poppler/GlobalParamsWin.cc | 2 +- poppler/PDFDoc.cc | 8 ++++---- poppler/PDFDoc.h | 4 ++-- poppler/PSOutputDev.cc | 2 +- poppler/SplashOutputDev.cc | 4 ++-- poppler/TextOutputDev.cc | 6 +++--- utils/HtmlOutputDev.cc | 5 ++--- 18 files changed, 105 insertions(+), 107 deletions(-) commit 45c8888dcaf3da7981abc045835efd01a24e9e00 Author: Albert Astals Cid Date: Sun Sep 23 13:41:59 2018 +0200 FoFiType1: Some more const fofi/FoFiType1.cc | 10 +++++----- fofi/FoFiType1.h | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) commit 5c54abedbc15d373109b23bf61c4e229d9c0cd9f Author: Albert Astals Cid Date: Sun Sep 23 13:35:45 2018 +0200 FoFiType1C: more const fofi/FoFiType1C.cc | 22 +++++++++++----------- fofi/FoFiType1C.h | 18 +++++++++--------- 2 files changed, 20 insertions(+), 20 deletions(-) commit 70575ed3c0286cda0e288d2aff2b4c2b0e0c640a Author: Albert Astals Cid Date: Sun Sep 23 13:24:30 2018 +0200 FoFiTrueType: More const fofi/FoFiTrueType.cc | 48 ++++++++++++++++++++++++------------------------ fofi/FoFiTrueType.h | 50 +++++++++++++++++++++++++------------------------- 2 files changed, 49 insertions(+), 49 deletions(-) commit 3db883dec4c37d53f0b268970355fdd1b11b097f Author: Albert Astals Cid Date: Sun Sep 23 13:09:34 2018 +0200 Object: two more const char * poppler/Object.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit c46f445b6ff4ea59f845a81b873599835ad64b6a Author: Albert Astals Cid Date: Sun Sep 23 13:05:21 2018 +0200 Object: make getCmd const char * poppler/Gfx.cc | 5 ++--- poppler/Gfx.h | 2 +- poppler/Object.h | 2 +- poppler/XRef.cc | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) commit f1b91cac94f1309452604447e9a5ace4e14336fc Author: Albert Astals Cid Date: Sun Sep 23 02:37:10 2018 +0200 pdftohtml & friends: some const utils/HtmlOutputDev.cc | 17 ++++++++--------- utils/HtmlOutputDev.h | 16 ++++++++-------- utils/pdftohtml.cc | 7 +++---- 3 files changed, 19 insertions(+), 21 deletions(-) commit 3096a561afe4c001b08e54ffee396d6efa071fca Author: Albert Astals Cid Date: Sun Sep 23 02:35:12 2018 +0200 SplashBitmap: const filename splash/SplashBitmap.cc | 4 ++-- splash/SplashBitmap.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit f557542147c59acaf9bc34082f433f74d38e5a58 Author: Albert Astals Cid Date: Sun Sep 23 02:32:23 2018 +0200 pdftops: const char * utils/pdftops.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit f974a592cfce3ef6f06e12b7621b39c1906db5c0 Author: Albert Astals Cid Date: Sun Sep 23 02:31:39 2018 +0200 pdftotext: const char * utils/pdftotext.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 2add4fd2a1d26a00659c9441feafd51a10b671c1 Author: Albert Astals Cid Date: Sun Sep 23 02:31:19 2018 +0200 TextOutputDev: const filename poppler/TextOutputDev.cc | 2 +- poppler/TextOutputDev.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit bdb0a44e069d5767b0a12623d8f8ec7fcb6a4a0e Author: Albert Astals Cid Date: Sun Sep 23 02:28:33 2018 +0200 Include algorithm for std::max Fixes MSVC build poppler/PageLabelInfo.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 52f9386bdab2e5d90c3a0f5721012fdd9278bc00 Author: Albert Astals Cid Date: Sun Sep 23 02:26:02 2018 +0200 Update (C) goo/GooString.cc | 2 +- goo/GooString.h | 2 +- poppler/Array.h | 1 + poppler/Error.cc | 2 +- poppler/Error.h | 2 +- poppler/PageLabelInfo.cc | 1 + poppler/PageLabelInfo.h | 1 + poppler/SplashOutputDev.cc | 1 + utils/parseargs.cc | 2 +- utils/parseargs.h | 2 +- 10 files changed, 10 insertions(+), 6 deletions(-) commit b719b3f00078051ca380d8c30767b48b359dd87f Author: Albert Astals Cid Date: Sun Sep 23 02:21:56 2018 +0200 const char * poppler/CairoFontEngine.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1e1f0c306f1e2626ad7774034a4df499da59e9f8 Author: Albert Astals Cid Date: Sun Sep 23 02:21:45 2018 +0200 pdftocairo: const char * utils/pdftocairo.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit f96e1f246435163328e3123d932608a3954f72bb Author: Albert Astals Cid Date: Sun Sep 23 02:20:28 2018 +0200 parseargs: const char * utils/parseargs.cc | 4 ++-- utils/parseargs.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 8dc1e98b8e112ed48155920f5aa4e46b5d616e79 Author: Albert Astals Cid Date: Sun Sep 23 02:14:51 2018 +0200 GooString: some more const goo/GooString.cc | 12 ++++++------ goo/GooString.h | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) commit 297e6944a67c1891b9ba194fff0562352a5f8d1f Author: Albert Astals Cid Date: Sun Sep 23 02:09:50 2018 +0200 Error: Make the msg be const cpp/poppler-private.cpp | 2 +- cpp/poppler-private.h | 2 +- glib/poppler.cc | 2 +- poppler/Error.cc | 4 ++-- poppler/Error.h | 2 +- qt5/src/poppler-private.cc | 2 +- test/perf-test.cc | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) commit 139748612d18c8e0d701003067eb1838b202267c Author: Albert Astals Cid Date: Sun Sep 23 02:03:25 2018 +0200 gfile: Remove a bunch of unused functions \o/ goo/gfile.cc | 228 ----------------------------------------------------------- goo/gfile.h | 30 -------- 2 files changed, 258 deletions(-) commit d1104f9d7a5e86b80244d0627562fe832d5bcd4b Author: Albert Astals Cid Date: Sun Sep 23 01:54:47 2018 +0200 Don't cast nullptr Doesn't make any sense fofi/FoFiType1.cc | 2 +- fofi/FoFiType1C.cc | 2 +- poppler/Annot.cc | 34 +++++++++++++++++----------------- poppler/Gfx.cc | 10 +++++----- poppler/GfxFont.cc | 6 +++--- poppler/GfxState.cc | 2 +- poppler/Hints.cc | 2 +- poppler/PSOutputDev.cc | 6 +++--- poppler/Page.cc | 4 ++-- poppler/SecurityHandler.cc | 4 ++-- poppler/TextOutputDev.cc | 4 ++-- test/perf-test.cc | 2 +- 12 files changed, 39 insertions(+), 39 deletions(-) commit 8a845c65e0dc290af920ce4175689f7321e1d459 Author: Albert Astals Cid Date: Sun Sep 23 01:45:38 2018 +0200 Fix crash introduced by c792e4cde92e6ece06592955068ffb579e826382 We need to initialize properly the fields that will be used in the destructor before bailing out poppler/GfxState.cc | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit e67e88b393778d81a0ab50aa1faf2b598db98749 Author: Albert Astals Cid Date: Sun Sep 23 01:22:32 2018 +0200 FoFiTrueType: some more const fofi/FoFiTrueType.cc | 12 ++++++------ fofi/FoFiTrueType.h | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) commit f4800bffe2756a64cba03cb1a017bfacad63fdb0 Author: Albert Astals Cid Date: Sun Sep 23 01:21:55 2018 +0200 FoFiType1C: Some more const fofi/FoFiType1C.cc | 4 ++-- fofi/FoFiType1C.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 735d234d76b31c7d2061f70d0cf88cc122613a80 Author: Albert Astals Cid Date: Sun Sep 23 01:16:43 2018 +0200 FoFiBase: No need to store two pointers that point to the same place And also make the data const (until the moment we have to free it) fofi/FoFiBase.cc | 6 +++--- fofi/FoFiBase.h | 5 ++--- fofi/FoFiType1.cc | 4 ++-- 3 files changed, 7 insertions(+), 8 deletions(-) commit bddcc771de9e7d0a7a077732f15a958a44794f94 Author: Albert Astals Cid Date: Sun Sep 23 01:15:23 2018 +0200 FoFiTrueType: Some more const fofi/FoFiTrueType.cc | 4 ++-- fofi/FoFiTrueType.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 367a0c6ec6b25b706b9cf181d69abd5f32ffbcea Author: Albert Astals Cid Date: Sun Sep 23 01:12:11 2018 +0200 FoFiXXX: Make the filenames const char * fofi/FoFiBase.cc | 2 +- fofi/FoFiBase.h | 2 +- fofi/FoFiTrueType.cc | 4 ++-- fofi/FoFiTrueType.h | 4 ++-- fofi/FoFiType1.cc | 4 ++-- fofi/FoFiType1.h | 16 +++++++++++++++- fofi/FoFiType1C.cc | 2 +- fofi/FoFiType1C.h | 2 +- 8 files changed, 25 insertions(+), 11 deletions(-) commit b4c61b1f9149e6f0a7533cb03eeee13f9e6d1811 Author: Albert Astals Cid Date: Sun Sep 23 00:57:25 2018 +0200 Form: add some const poppler/Form.cc | 12 ++++++------ poppler/Form.h | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) commit 1f9f3ddc015a26611e1eff178570f7a7d81fcecc Author: Albert Astals Cid Date: Sun Sep 23 00:54:33 2018 +0200 Decrypt: Make one char * be const poppler/Decrypt.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 47e1342d788c40d225eb0aebded160dea454bf60 Author: Albert Astals Cid Date: Sun Sep 23 00:52:14 2018 +0200 CharCodeToUnicode: Make three char * be const poppler/CharCodeToUnicode.cc | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 0e0d0ca632e0770605e8e7bce58191f8fa4c05d5 Author: Albert Astals Cid Date: Sun Sep 23 00:50:42 2018 +0200 Annot: make two char * be const poppler/Annot.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 384276842ad147b3f65084aaf725a72d45227282 Author: Albert Astals Cid Date: Sun Sep 23 00:49:31 2018 +0200 gdir: Add some const goo/gdir.h | 10 +++++----- goo/gfile.cc | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) commit 646981275fcbb57568ea91529a847f779fba7578 Author: Albert Astals Cid Date: Sun Sep 23 00:46:59 2018 +0200 GlobalParams: Make some GooString * const poppler/GlobalParams.cc | 8 ++++---- poppler/GlobalParams.h | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit a28116539832cde87acd844aa0130df0eed405d6 Author: Albert Astals Cid Date: Sun Sep 23 00:43:11 2018 +0200 FoFiType1C: Add some const fofi/FoFiType1C.cc | 18 +++++++++--------- fofi/FoFiType1C.h | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) commit da87b12ef125e3c2d43822004f1f9f2a7f45aaf3 Author: Albert Astals Cid Date: Sun Sep 23 00:42:51 2018 +0200 FoFiBase: Add some const fofi/FoFiBase.cc | 20 ++++++++++---------- fofi/FoFiBase.h | 18 +++++++++--------- 2 files changed, 19 insertions(+), 19 deletions(-) commit 1b48d72ad9b5e73334d330b94917a351c5305e61 Author: Albert Astals Cid Date: Sun Sep 23 00:35:55 2018 +0200 Function: make variable const char * instead of char * poppler/Function.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ee0479eccbde05648fe5e0ecbcdf52f841271d97 Author: Albert Astals Cid Date: Sun Sep 23 00:16:48 2018 +0200 FoFiIdentifier: make two char * be const char* fofi/FoFiIdentifier.cc | 18 +++++++++--------- fofi/FoFiIdentifier.h | 18 ++++++++++++++++-- 2 files changed, 25 insertions(+), 11 deletions(-) commit 9a71d40d28effb125bcc7f1fd8e76cf6d269b2de Author: Adam Reichold Date: Mon Feb 19 07:20:44 2018 +0100 Port PageLabelInfo from GooString/GooList to std::string/std::vector. poppler/PageLabelInfo.cc | 104 ++++++++++++++++++++--------------------------- poppler/PageLabelInfo.h | 19 ++++----- 2 files changed, 52 insertions(+), 71 deletions(-) commit ab04ccdd0d78ecf50f50b0458468788aa3984bcc Author: Adam Reichold Date: Tue May 15 19:49:58 2018 +0200 Also simplify the Array implementation by rebasing it on std::vector. poppler/Array.cc | 39 ++++++++++----------------------------- poppler/Array.h | 7 +++---- 2 files changed, 13 insertions(+), 33 deletions(-) commit 75663433262c087d3729f16a528e37a345e0f6b4 Author: Adam Reichold Date: Sat Sep 22 10:15:14 2018 +0200 Make look-up size computation for drawSoftMaskedImage unsigned to avoid overflowing into negative number and only check multiplied allocations. oss-fuzz/10158 poppler/SplashOutputDev.cc | 43 ++++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 25 deletions(-) commit 769308e8f46bd6b9eaaed9159071fd78943e74e9 Author: Adam Reichold Date: Fri Sep 21 10:52:28 2018 +0200 Do some more checks for allocation failure in SplashOutputDev::drawSoftMaskedImage. oss-fuzz/10582 poppler/SplashOutputDev.cc | 71 ++++++++++++++++++++++++++++------------------ 1 file changed, 43 insertions(+), 28 deletions(-) commit 1c403665cc7726091465f93955ff6c3af4064a49 Author: Adam Reichold Date: Sat Sep 22 13:22:43 2018 +0200 Fix overflow by noting that pos + length instead of just length must stay within bounds when trying to recover. oss-fuzz/8670 poppler/Parser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c792e4cde92e6ece06592955068ffb579e826382 Author: Adam Reichold Date: Sat Sep 22 12:58:50 2018 +0200 Fix integer overflow by moving check bits-per-compoennt before mask computation. oss-fuzz/9343 poppler/GfxState.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8a675c046cd5689356d51ac2268b90a205fa24ed Author: Adam Reichold Date: Sat Sep 22 13:39:05 2018 +0200 Check that Type1C font dict offset and length do not overflow integer positions. oss-fuzz/8633 fofi/FoFiType1C.cc | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit de999b24ffefb397ff716123ea66137fc48f7daf Author: Albert Astals Cid Date: Sat Sep 22 22:47:59 2018 +0200 Fix copypasta mistake qt5/src/poppler-qt5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b2c2433b4dc8bb11fcd6206dc8e24373a66ba521 Author: Albert Astals Cid Date: Sat Sep 22 20:09:40 2018 +0200 qt5: Be more stubborn getting the page from a label string If using the "plain" label string didn't work, try with an unicode encoded one, this is a bit better since the label->cmpN comparison in PageLabelInfo::labelToIndex now succeeds but unfortunately the strtol used there still gets confused and fails to return the proper page index qt5/src/poppler-document.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit e39fceea516b8c1b17d8719433a1e3e81cc32cee Author: Albert Astals Cid Date: Sat Sep 22 19:42:52 2018 +0200 qt5: Add simple tool to print the labels of pages qt5/tests/CMakeLists.txt | 1 + qt5/tests/poppler-page-labels.cpp | 48 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) commit bc165c4ee67a950e0478b00792f9d160801735bf Author: Albert Astals Cid Date: Sat Sep 22 19:20:31 2018 +0200 qt5: Add Page::index() qt5/src/poppler-page.cc | 4 ++++ qt5/src/poppler-qt5.h | 9 ++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) commit e5aff4b4fcbd3e1cbdd7d6329c00eee10b36e94d Author: Adam Reichold Date: Fri Sep 21 16:31:27 2018 +0200 Remove MULTITHREADED build flag, i.e. always enable threading support based on the C++ standard library and make use of RAII lockers for GlobalParams. CMakeLists.txt | 4 - config.h.cmake | 3 - poppler/Annot.cc | 8 +- poppler/Annot.h | 2 - poppler/Array.cc | 7 +- poppler/Array.h | 2 - poppler/CairoFontEngine.cc | 8 +- poppler/CairoFontEngine.h | 2 - poppler/Catalog.cc | 7 +- poppler/Catalog.h | 4 +- poppler/Dict.cc | 7 +- poppler/Dict.h | 2 - poppler/GlobalParams.cc | 191 ++++++++++++----------------------------- poppler/GlobalParams.h | 2 - poppler/GlobalParamsWin.cc | 20 +---- poppler/PDFDoc.cc | 8 +- poppler/PDFDoc.h | 2 - poppler/Page.cc | 7 +- poppler/Page.h | 2 - poppler/XRef.cc | 12 +-- poppler/XRef.h | 2 - poppler/poppler-config.h.cmake | 5 -- 22 files changed, 76 insertions(+), 231 deletions(-) commit a38895a1851d9a7a9abd1070bba23fb68708cb78 Author: Adam Reichold Date: Sat Sep 1 07:20:32 2018 +0200 Replace GooMutex by std::recursive_mutex (and plain reference counter by std::atomic_int). CMakeLists.txt | 1 - goo/GooMutex.h | 93 -------------------------------------------- poppler/Annot.cc | 23 +---------- poppler/Annot.h | 7 +++- poppler/Array.cc | 20 +--------- poppler/Array.h | 12 +++--- poppler/CMap.cc | 26 +------------ poppler/CMap.h | 11 ++---- poppler/CairoFontEngine.cc | 8 +--- poppler/CairoFontEngine.h | 4 +- poppler/Catalog.cc | 8 +--- poppler/Catalog.h | 3 +- poppler/CharCodeToUnicode.cc | 29 +------------- poppler/CharCodeToUnicode.h | 11 ++---- poppler/Dict.cc | 14 +------ poppler/Dict.h | 7 +--- poppler/GlobalParams.cc | 24 +++--------- poppler/GlobalParams.h | 11 ++---- poppler/PDFDoc.cc | 8 +--- poppler/PDFDoc.h | 5 ++- poppler/Page.cc | 8 +--- poppler/Page.h | 5 ++- poppler/Stream.cc | 26 +------------ poppler/Stream.h | 14 +++---- poppler/XRef.cc | 14 ++----- poppler/XRef.h | 3 +- 26 files changed, 60 insertions(+), 335 deletions(-) commit 2052dc60f5b7403418384237d4bad2c7faf0acee Author: Albert Astals Cid Date: Fri Sep 21 23:41:09 2018 +0200 Poppler 0.69 CMakeLists.txt | 4 ++-- NEWS | 31 +++++++++++++++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 36 insertions(+), 5 deletions(-) commit 554e87a1ea76ce73b4cfe6fca5b9c1bb47502dad Author: Albert Astals Cid Date: Fri Sep 21 18:00:24 2018 +0200 offset from beginning of file can't be < 0 poppler/XRef.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 06c344ccb8ccfafa9c506f40226ea2cce0e5f75c Author: Adam Reichold Date: Fri Sep 21 09:43:40 2018 +0200 Use deferred sorting with Dict again to avoid performance regression This tries to move sorting a Dict into the first find call again, but tries harder to make the double-checked locking work correctly so that at least concurrent calls to find are correct (but concurrent calls to find and add, set or remove are still not allowed). poppler/Dict.cc | 24 ++++++++++++++---------- poppler/Dict.h | 2 +- 2 files changed, 15 insertions(+), 11 deletions(-) commit 22ea442de8776e7e6fa78062cb8bb224b98e736f Author: Albert Astals Cid Date: Thu Sep 20 23:23:56 2018 +0200 SplashOutputDev::drawImage: gmallocn -> checkoverflow oss-fuzz/10194 And also add a likely for the previous change in the file poppler/SplashOutputDev.cc | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 8ff1bddc6a97a5f8b43ff95405f0642fb03f962b Author: Albert Astals Cid Date: Thu Sep 20 23:21:02 2018 +0200 Splash::scaleImageYdXd: gmallocn -> gmallocn_checkoverflow oss-fuzz/10205 splash/Splash.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit cf25cd0c4893b62a9993034079a6c89c6ca370ee Author: Albert Astals Cid Date: Thu Sep 20 23:17:06 2018 +0200 SplashOutputDev::drawSoftMaskedImage: gmallocn -> gmallocn_checkoverflow oss-fuzz/10298 poppler/SplashOutputDev.cc | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit b5db021a71e38d56079cbcfcaf3345765e9ed782 Author: Albert Astals Cid Date: Thu Sep 20 23:10:55 2018 +0200 GfxUnivariateShading::setupCache: gmallocn -> gmallocn_checkoverflow oss-fuzz/10508 poppler/GfxState.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ab1b051a9f65b7f8e4dc9f8f9c28a0aff0c86596 Author: Albert Astals Cid Date: Thu Sep 20 23:05:55 2018 +0200 Remove unused variable poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d1a4c5a9faf95618fc302c358021a745afc0527c Author: Denis Onishchenko Date: Thu Sep 20 22:57:03 2018 +0200 Fix 2 errors in computation of type3 glyphs transformation matrix poppler/Gfx.cc | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) commit 5dadcc93c4d4d44d0ec3bdc6bb54851f6ffaee98 Author: Tobias Deiminger Date: Sun Sep 9 09:28:22 2018 +0200 Compile Qt5 frontend with -DQT_STRICT_ITERATORS QT_STRICT_ITERATORS prevents conversion from non-const iterator to const iterator. It helps detecting situations where we waste resources due to needless detach from implicitely shared container data (i.e. deep copy). If anyone should run into problems, they can disable strict iterators using a global cache variable: $ cmake DENABLE_QT_STRICT_ITERATORS=OFF [...] qt5/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) commit 3105b61e0912df397dd712632d8ea16269ff4d94 Author: Albert Astals Cid Date: Wed Sep 19 23:17:07 2018 +0200 Update (C) poppler/OptionalContent.h | 1 + poppler/StructTreeRoot.cc | 1 + poppler/StructTreeRoot.h | 1 + qt5/src/poppler-link.cc | 1 + qt5/src/poppler-optcontent.cc | 1 + 5 files changed, 5 insertions(+) commit 5bbb2fc4b159b003a22a9d3327ba290a7bba15f0 Author: Adam Reichold Date: Tue Sep 18 21:36:13 2018 +0200 Add a separate build job using Ubuntu 14.04 and GCC 4.9 to compatibility with older systems. .gitlab-ci.yml | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) commit 560b34a6e2d3fd58edfb5f0af751f1aa7d3dc3d8 Author: Adam Reichold Date: Tue Sep 18 11:35:55 2018 +0200 Prevent leaking OptionalContentGroup by using unique_ptr as early as possible. oss-fuzz/10418 poppler/OptionalContent.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 7ac84c1d633b49d69b1ec80606fdca8ee14d80e0 Author: Oliver Sander Date: Tue Sep 18 11:18:33 2018 +0200 Document the new 'ArthurFontID' type qt5/src/ArthurOutputDev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5048bec585be382f9d37110c6b2e16d26d29d5b2 Author: Oliver Sander Date: Tue Sep 18 11:02:58 2018 +0200 Bugfix: Do not disregard Ref::gen when using Ref as a cache key According to Leonard Rosenthol's book, the 'gen' field of a reference is almost always zero. However, this doesn't mean that it can be ignored when comparing two Refs. Incidentally, this patch also makes use of the recently introduced Ref::operator<, which allows to replace the small custom class ArthurFontID by a std::pair. qt5/src/ArthurOutputDev.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) commit 7e9b6f1dba716e7adba1ed2ecd765b207def9747 Author: Adam Reichold Date: Sat Sep 15 09:54:01 2018 +0200 Fix TODO in OCGs by creating a look-up table from Ref to OptionalContentGroup (and make Ref a regular type to do so). glib/poppler-document.cc | 12 ++++-------- poppler/Object.h | 31 +++++++++++++++++++++++++------ poppler/OptionalContent.cc | 42 ++++++++++-------------------------------- poppler/OptionalContent.h | 9 +++++---- poppler/StructTreeRoot.cc | 2 +- poppler/StructTreeRoot.h | 2 +- qt5/src/poppler-link.cc | 5 ----- qt5/src/poppler-optcontent.cc | 9 ++++----- utils/pdfinfo.cc | 2 +- 9 files changed, 51 insertions(+), 63 deletions(-) commit 94527d5a61eb3402b49436b978bad69f71884051 Author: Adam Reichold Date: Sat Sep 15 09:31:37 2018 +0200 Check for Ref type before unwrapping Object as such oss-fuzz/10359 poppler/OptionalContent.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 3af4c151cf09e1e98d311e8308060eb832bdd7d2 Author: Adam Reichold Date: Sun Sep 2 13:48:17 2018 +0200 Make Object::takeString leave a dead object instead of a null string and hence assert non-null strings during object creation. poppler/Object.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit a238d170dd89e27efd44ea09126b84272c0ac47b Author: Tobias Deiminger Date: Fri Sep 7 16:30:48 2018 +0200 Add missing newline after Tf in setTextFont Until now AnnotAppearanceBuilder::setTextFont was only used to write last operation in apperance string for /DA. There you don't notice the missing delimiter. Delimiter will however be required in general, e.g. when writing appearance string for /AP. poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1acbe6af40e598b3afae18709eb32ec44d7b1afc Author: Tobias Deiminger Date: Sat Sep 8 12:39:25 2018 +0200 Fix compilation with QT_STRICT_ITERATORS qt5/tests/check_annotations.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 574840c5a61a9a20c930dd6fec63e6cf11bacfa5 Author: Christian Persch Date: Wed Sep 5 21:19:04 2018 +0200 goo: Split GDir and GDirEntry out of gfile.h This allows including gfile.h together with glib.h which has a conflicting GDir type. https://gitlab.freedesktop.org/poppler/poppler/issues/370 CMakeLists.txt | 1 + goo/gdir.h | 91 +++++++++++++++++++++++++++++++++++++++++++++++++ goo/gfile.cc | 1 + goo/gfile.h | 49 -------------------------- poppler/GlobalParams.cc | 1 + 5 files changed, 94 insertions(+), 49 deletions(-) commit f2223e12e401648a24d559ba766759b8afac2d5e Author: Adam Reichold Date: Sun Sep 2 10:43:18 2018 +0200 Assert validity of Object contents where at least constructor or destructor seem to assume it to catch errors as early as possible when using debug builds. poppler/Object.cc | 8 ++------ poppler/Object.h | 9 +++++---- 2 files changed, 7 insertions(+), 10 deletions(-) commit 7c6c1fef6a7eab712ad335d63c5fe7ff05e6e59f Author: Albert Astals Cid Date: Sun Sep 2 13:32:01 2018 +0200 pdftotext: Fix memory leak in printLine utils/pdftotext.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e8e95d2ca4f1c108cc69cab72c7c5ab31f80a597 Author: Sanchit Anand Date: Tue Aug 28 02:58:39 2018 -0400 pdftotext: Fix only outputs first page content with -bbox-layout option Issue #88 poppler/TextOutputDev.cc | 5 +++++ poppler/TextOutputDev.h | 5 +++++ utils/pdftotext.cc | 6 ++---- 3 files changed, 12 insertions(+), 4 deletions(-) commit 09cc5fd1b4ef758b1f496b33bc5c5cb9e63b08eb Author: Albert Astals Cid Date: Sun Sep 2 13:10:45 2018 +0200 qt5: test: Compile with old qt qt5/tests/check_annotations.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 042d2483c04652036ab921983b4967851f3bb8cf Author: Albert Astals Cid Date: Sun Sep 2 12:39:09 2018 +0200 Add missing (C) And minor style change by Albert poppler/Annot.cc | 6 ++++-- poppler/Annot.h | 6 ++++-- qt5/src/poppler-annotation-helper.h | 1 + qt5/src/poppler-annotation.cc | 2 ++ qt5/src/poppler-annotation.h | 1 + 5 files changed, 12 insertions(+), 4 deletions(-) commit d4b4be23c8b55a118f7b9194a93a8e9da38793c1 Author: Tobias Deiminger Date: Sat Aug 25 23:08:39 2018 +0200 More review fixes Text color is indicated by nonstroking color in graphics state Assumption: Text rendering mode is 'fill'. Increase color precision for lossless roundtrip of 16 bit integers Our API takes QColor from user. We want to support a lossless roundtrip of QColor (16 bit per channel internally) through document save and load, and empirically found .5f is best match. Check only .5f case of color channel roundtrip. Include 65535. We check if precision == 5 is sufficient, and fail if not. We know that precision < 5 will never work, because target set contains less numbers than uint16 range. Use smart pointer in textFont and textColor Add test for CMYK QColor roundtrip Support QColor::Cmyk to AnnotColor::colorCMYK conversion Add simple test for font size. Fix actual/expected args. Model font name as class Object, type objName Take into account that ISO 32000 says Tf operand is always an object of PDF type "name". Further benefit: class Object introduces ownership semantcis. Use more std::unique_ptr and fix some coding syle Some places assumed ownership implicitely. Make it more explicit. Move parse/constructAppearanceString into DefaultAppearance We gain cohesion and automatic memory management. Fix minor styling issues Use std::make_unique from C++14 poppler/Annot.cc | 163 ++++++++++++++++++++-------------------- poppler/Annot.h | 29 ++++--- qt5/src/poppler-annotation.cc | 85 +++++++++++++-------- qt5/tests/check_annotations.cpp | 66 +++++++++++----- 4 files changed, 199 insertions(+), 144 deletions(-) commit b67e7ab708a0606298fd3707347bed935390d062 Author: Adam Reichold Date: Fri Aug 24 20:14:14 2018 +0200 Add a roundtrip consistency test for the text color properties of annotations. qt5/tests/CMakeLists.txt | 1 + qt5/tests/check_annotations.cpp | 75 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) commit db0451ab16060509d13415162a95db269ca0d4f3 Author: Tobias Deiminger Date: Sat Aug 25 19:57:13 2018 +0200 Fix open review comments from #50 Make fontTag optional for AnnotFreeText::parseAppearanceString. Handle fontColor == nullptr in AnnotFreeText::constructAppearanceString. Use AnnotAppearanceBuilder in AnnotFreeText::constructAppearanceString. Delete copy assignment operator for DefaultAppearance. Rename setAppearanceString to setDefaultAppearance. poppler/Annot.cc | 45 +++++++++++++++++-------------------------- poppler/Annot.h | 8 +++++--- qt5/src/poppler-annotation.cc | 2 +- 3 files changed, 24 insertions(+), 31 deletions(-) commit 64531344de3dc663a4429e94381d68cc198d0425 Author: Dileep Sankhla Date: Thu Aug 23 17:48:39 2018 +0200 Add annotation font color poppler/Annot.cc | 73 +++++++++++++++++++++----- poppler/Annot.h | 29 +++++++++-- qt5/src/poppler-annotation-helper.h | 2 +- qt5/src/poppler-annotation.cc | 101 ++++++++++++++++++++++-------------- qt5/src/poppler-annotation.h | 4 ++ 5 files changed, 152 insertions(+), 57 deletions(-) commit f506b8bc52efd0781a933a44bb58d02fb000c78d Author: Albert Astals Cid Date: Sat Sep 1 23:54:26 2018 +0200 Fix handling of Signature Info Location and Reason We can't call GooString->getCString and just store that char * as it belonged to us since it may very well be the inner array of the GooString and be invalid once the GooString goes away poppler/Form.cc | 6 +++--- poppler/SignatureInfo.cc | 8 ++++---- poppler/SignatureInfo.h | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) commit 7418616dbfc9c4e5b05b7a57f4fabed3bf9fdcb0 Author: Albert Astals Cid Date: Sat Sep 1 23:51:48 2018 +0200 Link: Fix memory leak regarding next actions poppler/Link.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 45f0f6d21d51c0408fe1d876f18ef05489e69bc0 Author: Evangelos Rigas Date: Mon Aug 6 10:57:47 2018 +0100 [utils] Add PDF subtype to pdfinfo If the document is compliant with PDF A, E, VT, UA or X standard print PDF subtype version, title, subtitle and explain the part and conformance levels. utils/pdfinfo.cc | 238 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 238 insertions(+) commit 98d1b3dcc2c0530c12fb4422067c529ab375c680 Author: Evangelos Rigas Date: Wed Aug 22 10:51:12 2018 +0300 [core] Add support for PDF subtype property Parse /GTS_PDF(A,E,UA,VT,X)Version from the PDF Information Dictionary into three enums: PDFSubtype, PDFSubtypePart, and PDFSubtypeConformance. poppler/PDFDoc.cc | 132 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/PDFDoc.h | 46 +++++++++++++++++++ 2 files changed, 178 insertions(+) commit 4f039c57fee4413a500a9e36bf8350eae1130442 Author: Albert Astals Cid Date: Sat Sep 1 01:05:02 2018 +0200 Update (C) from last commits cpp/poppler-image.cpp | 1 + poppler/GfxState.cc | 1 + poppler/JBIG2Stream.cc | 1 + qt5/src/ArthurOutputDev.cc | 1 + splash/SplashPath.cc | 1 + 5 files changed, 5 insertions(+) commit 9df44cf1e0e300b751cd1c562f2b48335db72ac7 Author: Jakub Wilk Date: Fri Aug 31 12:05:56 2018 +0200 Install goo/GooCheckedOps.h goo/gmem.h includes goo/GooCheckedOps.h, so they should be installed together. CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 55e2b746e6bd3e495c30fe7e5154ec2c956d3faa Author: Adam Reichold Date: Fri Aug 31 19:17:59 2018 +0200 Check for allocation failure during processing of JBIG2 streams. oss-fuzz/10146 poppler/JBIG2Stream.cc | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit bb078cbd88252e421d14747b98c5c71062cf7571 Author: Adam Reichold Date: Fri Aug 31 20:18:23 2018 +0200 Always check for allocation failure after calling SplashPath::grow and also set curSubpath to zero so that noCurrentPoint applies after allocation failure. oss-fuzz/10148 splash/SplashPath.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit f200264ddb0a16f54ae2711f399867e659957b1d Author: Albert Astals Cid Date: Fri Aug 31 20:03:36 2018 +0200 FoFiType1C::getDeltaIntArray: Fix undefined inf to int conversion fofi/FoFiType1C.cc | 3 +++ 1 file changed, 3 insertions(+) commit 9bfc10eecb57354270806aa1d9278eebb1db2287 Author: Adam Reichold Date: Fri Aug 31 18:47:52 2018 +0200 Bump required C++ standard version to C++14 and convert a few hopefully obvious call sites where types are repeated to using std::make_unique. CMakeLists.txt | 2 +- cpp/poppler-image.cpp | 2 +- cpp/poppler-page.cpp | 14 +++++++------- poppler/GfxState.cc | 2 +- qt5/src/ArthurOutputDev.cc | 46 +++++++++++++++++++++++++++------------------- 5 files changed, 37 insertions(+), 29 deletions(-) commit d2fa4a727fc994256219a4c4f777a1c38dcc26c5 Author: Albert Astals Cid Date: Fri Aug 31 19:53:05 2018 +0200 (C) of previous commits fofi/FoFiType1C.cc | 1 + poppler/SplashOutputDev.h | 1 + 2 files changed, 2 insertions(+) commit 51f1c813970627db0b8804f6a729eed79ac9dfb4 Author: Stefan Brüns Date: Fri Aug 31 00:27:13 2018 +0200 SplashPath: Allocate temporary pathes on the stack The majority of SplashPath'es are created using convertPath(GfxState *, GfxPath *), and are only temporary, i.e. with function scope. Returning a SplashPath instead of a pointer from convertPath() - which is cheap due to the move constructor - saves recurrent new/delete's for each stroke/fill/... operation. poppler/SplashOutputDev.cc | 69 ++++++++++++++++------------------------------ poppler/SplashOutputDev.h | 2 +- 2 files changed, 25 insertions(+), 46 deletions(-) commit a31a9e1b9a1eefcea4c8e08f2d84deb0ac6cc4ae Author: Stefan Brüns Date: Fri Aug 31 00:23:32 2018 +0200 SplashPath: Add move constructor After moving, the new SplashPath is in the same state as it has been copy constructed, the moved from is in the same state as default constructed, i.e. empty. splash/SplashPath.cc | 17 +++++++++++++++++ splash/SplashPath.h | 1 + 2 files changed, 18 insertions(+) commit 2190b9997ac786189368fc03e46e540c308f11b5 Author: Stefan Brüns Date: Wed Aug 29 00:21:57 2018 +0200 Allocate temporary SplashXPath on the stack SplashXPath is only used inside the each fill function, but newer passed to the outside. As it is small, there is no reason not to allocate it on the stack. splash/Splash.cc | 36 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 23 deletions(-) commit 38caf0adac8811e663b51656638177397f1400f6 Author: Albert Astals Cid Date: Fri Aug 31 10:00:15 2018 +0200 Add clang + libc++ testing pipeline Would have catched the missing array include in PSOutputDev .gitlab-ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 4244a048e55d7cce0caddc68b6bb21983e670bc4 Author: Adam Reichold Date: Fri Aug 31 07:33:31 2018 +0200 Replace #pragma once by standard-supported include guards and add missing copyright preamble for new header. goo/GooCheckedOps.h | 15 ++++++++++++++- goo/gmem.h | 5 ++++- 2 files changed, 18 insertions(+), 2 deletions(-) commit 5671d3acc6a723ac3cb63866e2f429e0f0075c68 Author: Adam Reichold Date: Thu Aug 30 21:27:13 2018 +0200 Extend checked operations header with support for Clang in addition to checking for GCC version 5 or later. goo/GooCheckedOps.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit ed28a5612fc0bf8580ccd360ae086fc715d19b35 Author: Adam Reichold Date: Thu Aug 30 20:56:33 2018 +0200 Fix delta decoding for Type1C fonts to avoid signed integer overflow. oss-fuzz/8424 fofi/FoFiType1C.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit de20e92a70e73d828984f41f52212051fba51700 Author: Adam Reichold Date: Thu Aug 30 20:54:17 2018 +0200 Factor out overflow-checked multiplication into a separate header for extension and reuse. goo/GooCheckedOps.h | 32 ++++++++++++++++++++++++++++++++ goo/gmem.h | 16 ++-------------- 2 files changed, 34 insertions(+), 14 deletions(-) commit 3407c5c8003e67deba2b477741ac471927d40f14 Author: Adam Reichold Date: Fri Aug 31 07:38:34 2018 +0200 Reintroduce the assertion in Array::remove since there it is not possible to check any return value. poppler/Array.cc | 1 + 1 file changed, 1 insertion(+) commit 2c25d197c921e292f49aa2b25f4006acd57c1440 Author: Adam Reichold Date: Thu Aug 30 20:26:55 2018 +0200 Remove index out of range assertions from Array getters A lot of code seems to have been incompatible with the recently removed DEBUG_MEM flag, i.e. it relied on the Array getters returning a null object when the index was out of range and rather checked the returned object type (since they had to do that in any case) than the index. Due to this, debug builds became much harder to test, especially using fuzzing. This commit thereby removes the assertions to restore the situation when DEBUG_MEM was present but disabeld by default and should thereby fix oss-fuzz/10121. poppler/Array.cc | 3 --- 1 file changed, 3 deletions(-) commit 987bbb684e688651e3d06502e2ff9b6f08130538 Author: Albert Astals Cid Date: Thu Aug 30 22:49:19 2018 +0200 PSOutputDev: Hopefully fix compilation under MSVC poppler/PSOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit df818b383cf4fa402b89f7b2dd0f958a749a4790 Author: Albert Astals Cid Date: Thu Aug 30 20:46:20 2018 +0200 SplashPath: Fix overflow check What signals overflow is size being 0 not length being 0 splash/SplashPath.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 23d570a6f47bc9bc7bf0bcb5dd561885c9a2c55a Author: Albert Astals Cid Date: Thu Aug 30 18:54:55 2018 +0200 SplashPath: Check for overflow fixes oss-fuzz/10120 splash/SplashPath.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit ad107bbb8e4d8eb1a23e530d040d5b11bb8ff859 Author: Albert Astals Cid Date: Thu Aug 30 18:28:50 2018 +0200 JBIG2Bitmap: Fix overflow check Fixes oss-fuzz/10113 poppler/JBIG2Stream.cc | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit e3a3e3fa996f318c36f9926fa8cc5dfc9edfac20 Author: Philipp Knechtges Date: Sun Aug 26 19:37:29 2018 +0200 PSOutputDev: add native support for type 7 shadings when using level 3 Type 7 shadings are identical for PS and PDF, so we can just emit the corresponding information rather than tiling the whole domain. poppler/PSOutputDev.cc | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/PSOutputDev.h | 4 +++- 2 files changed, 58 insertions(+), 1 deletion(-) commit de34900993bff73c8da651319027b2fa8c490172 Author: Ed Porras Date: Sun Aug 26 20:24:23 2018 +0200 fix macOS compilation due to boolean define in jpeglib typedef enum { FALSE = 0, TRUE = 1 } boolean; goo/JpegWriter.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit be05f7640ca13a6eb327dfac0073acc5dae1e3b4 Author: Albert Astals Cid Date: Wed Aug 29 19:02:34 2018 +0200 Add (c) of the last few commits goo/gmem.h | 1 + poppler/Array.cc | 1 + poppler/CairoRescaleBox.cc | 1 + poppler/GfxFont.cc | 1 + poppler/Object.cc | 1 + poppler/poppler-config.h.cmake | 1 + utils/pdfdetach.cc | 1 + utils/pdffonts.cc | 1 + utils/pdfimages.cc | 1 + utils/pdfinfo.cc | 1 + utils/pdftocairo.cc | 1 + utils/pdftohtml.cc | 1 + utils/pdftoppm.cc | 2 +- utils/pdftops.cc | 1 + utils/pdftotext.cc | 1 + 15 files changed, 15 insertions(+), 1 deletion(-) commit 7d523aeae16daf2d504c058031fff90a1a17bf64 Author: Adam Reichold Date: Mon Aug 27 20:03:17 2018 +0200 Use GCC instrinsics to perform overflow checking in the gmem allocation functions. goo/gmem.h | 4 ++++ 1 file changed, 4 insertions(+) commit 2b4371b434b27874b64742dcd885e4f303082810 Author: Adam Reichold Date: Mon Aug 27 19:55:44 2018 +0200 Turn gmem into a header-only wrapper to allow unnecessary branches to be optimized away and function call overhead to be aovided. CMakeLists.txt | 1 - goo/gmem.cc | 171 ----------------------------------------- goo/gmem.h | 185 +++++++++++++++++++++++++++++++++++---------- poppler/CairoRescaleBox.cc | 6 +- poppler/GfxFont.cc | 2 +- 5 files changed, 147 insertions(+), 218 deletions(-) commit c362ab1b97f20c5b73b3bad8d52015f679178748 Author: Adam Reichold Date: Mon Aug 27 19:42:29 2018 +0200 Remove DEBUG_MEM from Object since this uses RAII now and hence cannot leak. (The existing tracking also is not thread-safe and hence unreliable.) poppler/Object.cc | 31 ------------------------------- poppler/Object.h | 17 ----------------- poppler/poppler-config.h.cmake | 3 +-- utils/pdfdetach.cc | 3 --- utils/pdffonts.cc | 3 --- utils/pdfimages.cc | 3 --- utils/pdfinfo.cc | 3 --- utils/pdftocairo.cc | 3 --- utils/pdftohtml.cc | 3 --- utils/pdftoppm.cc | 3 --- utils/pdftops.cc | 3 --- utils/pdftotext.cc | 3 --- 12 files changed, 1 insertion(+), 77 deletions(-) commit 122b3ca5838f9648646d7a2940badaae86756f03 Author: Adam Reichold Date: Mon Aug 27 19:39:20 2018 +0200 Replace specific DEBUG_MEM in Array implementation by debug assertions. poppler/Array.cc | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) commit f89446f6917a869b0f1a80fcc8ce81a7213dade4 Author: Adam Reichold Date: Mon Aug 27 19:37:25 2018 +0200 Remove generic heap debugging from gmem since external tools and compiler instrumentation achieve the same effect. goo/gmem.cc | 151 ---------------------------------------------------- goo/gmem.h | 9 ---- utils/pdfdetach.cc | 1 - utils/pdffonts.cc | 1 - utils/pdfimages.cc | 1 - utils/pdfinfo.cc | 1 - utils/pdftocairo.cc | 1 - utils/pdftohtml.cc | 1 - utils/pdftoppm.cc | 1 - utils/pdftops.cc | 1 - utils/pdftotext.cc | 1 - 11 files changed, 169 deletions(-) commit 38b67245941a8672372953142b06c80cd0a142c0 Author: Adam Reichold Date: Mon Aug 27 19:27:41 2018 +0200 Remove gmempp implementing C++ memory allocation operators using gmalloc for heap debugging. CMakeLists.txt | 1 - goo/gmempp.cc | 32 -------------------------------- 2 files changed, 33 deletions(-) commit d62d65c21f01c7b0a7c28adebcab43d667bcaed9 Author: Adam Reichold Date: Sat Aug 25 20:06:13 2018 +0200 Use --output-on-failure ctest flag to make failed CI runs more informative. .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93b214986aa89bc085c7937f63e5eafe795d985c Author: Adam Reichold Date: Fri Aug 24 07:42:52 2018 +0200 Reconstruct iterator via index arithmetic instead of relying on a non-standard constructor to fix builds on MSVC. poppler/Dict.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit dcd8ad25023db542ade5edc23fc5f943d8ee6376 Author: Albert Astals Cid Date: Thu Aug 23 23:07:41 2018 +0200 Also delete Object::dictAdd that takes a char * Makes sure noone gets a char * -> const char * promotion via Object poppler/Object.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d63564b2bca955c7ef6ec694e3c64f9e4ee46d57 Author: Albert Astals Cid Date: Thu Aug 23 23:10:57 2018 +0200 Add Adam's copyright for the last patchset poppler/Annot.cc | 1 + poppler/Catalog.cc | 1 + poppler/Catalog.h | 1 + poppler/Dict.cc | 1 + poppler/Dict.h | 1 + poppler/Form.cc | 1 + poppler/Object.h | 1 + poppler/PDFDoc.cc | 2 +- poppler/Parser.cc | 1 + utils/pdfunite.cc | 1 + 10 files changed, 10 insertions(+), 1 deletion(-) commit ff2b670062d1315435b418f7ce47b28adb4b789b Author: Adam Reichold Date: Thu Aug 23 20:29:08 2018 +0200 Delete the previously ownership taking overload of Dict::add to avoid unexpected memory leaks due to the initial API change. poppler/Dict.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 8cb364059d3a8d502811565acd166116dbcd0785 Author: Adam Reichold Date: Tue May 8 18:54:32 2018 +0200 Adjust all users of Dict::add to avoid leaking memory due to by now unnecessary calls to copyString. poppler/Annot.cc | 28 ++++++++++++++-------------- poppler/Gfx.cc | 9 +++------ poppler/Object.h | 4 ++-- poppler/PDFDoc.cc | 8 ++++---- poppler/Parser.cc | 8 +++----- utils/pdfunite.cc | 4 ++-- 6 files changed, 28 insertions(+), 33 deletions(-) commit d479e37d34435c6afedf1343a7f60334f351220c Author: Adam Reichold Date: Tue May 8 18:19:03 2018 +0200 Fix linking errors in release builds due to non exported weak symbols. poppler/Dict.cc | 4 ++++ poppler/Dict.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit d4230e3b72d22a24ffe747891a15635ebf0df628 Author: Adam Reichold Date: Tue May 8 08:32:03 2018 +0200 But do use swap-and-pop if the Dict is still small enough to be unsorted. poppler/Dict.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ca202af16ac9bd177d7417f3e74b8987e9256bc6 Author: Adam Reichold Date: Mon May 7 22:58:43 2018 +0200 Try to simplify Dict by implementing it in terms of std::vector and std::string. poppler/Catalog.cc | 2 +- poppler/Catalog.h | 2 +- poppler/Dict.cc | 240 ++++++++++++++++------------------------------------- poppler/Dict.h | 46 +++++----- poppler/Form.cc | 2 +- poppler/Object.h | 4 +- 6 files changed, 99 insertions(+), 197 deletions(-) commit 670171ba7507bc8ea39c3a33316c86b68fed5e0d Author: Albert Astals Cid Date: Thu Aug 23 18:11:45 2018 +0200 Don't abort if the SampleFunction has too many samples Fixes issue #634 poppler/Function.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 5fbce88ec9f6d360c5b6436837dfa760c8fa8d95 Author: Volker Krause Date: Thu Aug 23 00:56:27 2018 +0200 Fix memory issues in GfxImageColorMap copy ctor - byte_lookup and lookup2 could contain uninitialized memory - lookup2 was not copied at all - lookup could be copied with the wrong size Issue #145 poppler/GfxState.cc | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 2b5f35e59d234aed0805f0ea8ac5086e35837153 Author: Oliver Sander Date: Tue Nov 28 16:40:40 2017 +0100 Document the OutputDev::clip and OutputDev::oeClip methods poppler/OutputDev.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 2a67883de1c896c5a8956226db7871e97724ed2b Author: Adam Reichold Date: Wed Aug 22 06:10:29 2018 +0200 Also install Curl development files since it is a default enabled dependency. .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c220ef254f326866016930ac9c1c2b430fcb11ea Author: Albert Astals Cid Date: Wed Aug 22 00:57:33 2018 +0200 Fix uninitialized memory read Fixes oss-fuzz/10009 poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b8082c67943ea7ef7c115b86cffb0785da32d227 Author: Adam Reichold Date: Tue Aug 21 20:21:36 2018 +0200 Since the CI directory is cached, we need to make sure we create it if necessary instead of failing. .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f1b8626e021a11d2b649be69c563a2a9af210c84 Author: Adam Reichold Date: Tue Aug 21 08:35:31 2018 +0200 Use a proper UTF-8 locale for non-ASCII file names in the tests and rebase onto Debian unstable .gitlab-ci.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 534aca90732c199e96057111272afbc22796ea60 Author: Adam Reichold Date: Tue Aug 21 08:13:10 2018 +0200 Also download test-data to be able to run unit tests .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 78f8a6abed64a1b9ad320587b614ee87bc7791ab Author: Adam Reichold Date: Tue Aug 21 08:00:41 2018 +0200 Add initial GitLab CI manifest .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit c666833e4163a93451eab27c675af9ca82d11593 Author: Albert Astals Cid Date: Sun Aug 19 23:37:51 2018 +0200 poppler 0.68 CMakeLists.txt | 4 ++-- NEWS | 25 +++++++++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 29 insertions(+), 4 deletions(-) commit 9492eeb6af75d691a2131fa8481556b1ac86795c Author: Albert Astals Cid Date: Sun Aug 19 23:29:10 2018 +0200 Update (C) utils/HtmlFonts.cc | 1 + 1 file changed, 1 insertion(+) commit 7a74c4071f001664c4383ea8e4e9d941bdb438b4 Author: Albert Astals Cid Date: Sun Aug 19 19:52:56 2018 +0200 Don't give a warning when Marked value is false Bug #107430 poppler/Catalog.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit ce0f124ae2a50c51cae32b8c4e7559a9223ea3d5 Author: Albert Astals Cid Date: Sat Aug 18 23:58:40 2018 +0200 Make sure that the openjpeg we're getting is version 2 CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 06106d930b18a34c18e32734b73c212b852161a5 Author: Aleksey Nikolaev Date: Thu Aug 16 17:20:00 2018 +0200 Fix build with MSVC cpp/poppler-page.cpp | 4 ++++ cpp/poppler-page.h | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 04db8bd27db154e055a0d1715c0f81d4c37d6871 Author: Albert Astals Cid Date: Thu Aug 16 16:06:50 2018 +0200 LONG_LONG_MAX -> LLONG_MAX poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b0b9e14e25494dfc08bbb9fe7232c7fca0d7f32 Author: Hannah von Reth Date: Thu Aug 16 15:39:28 2018 +0200 Remove wchar_t- on MSVC Qt is built with wchar_t so if you try to build poppler without it, there are conflicting types and everything fails CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) commit 12bf632489587df9da416ed8303fb8aefc26bdac Author: Albert Astals Cid Date: Thu Aug 16 11:18:21 2018 +0200 Use OpenJpeg cmake config file instead of pkgconfig CMakeLists.txt | 16 ++++++++-------- cmake/modules/FindLIBOPENJPEG2.cmake | 22 ---------------------- 2 files changed, 8 insertions(+), 30 deletions(-) commit 0f35c2de35efa5689e4668b76a68c76de893fe7c Author: Albert Astals Cid Date: Thu Aug 9 17:04:38 2018 +0200 Fix spacing poppler/SignatureInfo.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 90ace43c5bb52854b4fa1fdd224d0273b8fd6ff0 Author: Chinmoy Ranjan Pradhan Date: Thu Aug 9 16:39:30 2018 +0200 [qt] Add Reason and Location to SignatureInfo Small tweaks (spacing) by Albert Astals Cid Bug #107299 qt5/src/poppler-form.cc | 17 +++++++++++++++++ qt5/src/poppler-form.h | 13 +++++++++++++ 2 files changed, 30 insertions(+) commit c9bf96aa99059ce0216a75ae2868b79d6e21bc3d Author: Chinmoy Ranjan Pradhan Date: Thu Aug 9 16:35:14 2018 +0200 Add Reason and Location to SignatureInfo Small tweaks (const, etc) by Albert Astals Cid Bug #107299 poppler/Form.cc | 10 ++++++++++ poppler/SignatureInfo.cc | 29 +++++++++++++++++++++++++++++ poppler/SignatureInfo.h | 7 +++++++ 3 files changed, 46 insertions(+) commit 9f8fb7aae92268c9460434abd4d970f04a9af926 Author: Steven Boswell Date: Thu Aug 9 16:16:10 2018 +0200 HtmlFont: Fix possible uninitialized variable & dangling reference Bug #107316 utils/HtmlFonts.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1f8ab328f1440721fe7be7615a9d965a6e3d0439 Author: Albert Astals Cid Date: Thu Aug 9 00:40:14 2018 +0200 XRef::readXRef: Fix possible integer overflow fixes oss-fuzz/9777 poppler/XRef.cc | 5 +++++ 1 file changed, 5 insertions(+) commit c1e90bb19003af9ddf7a1ea88399d9ce47db233f Author: Albert Astals Cid Date: Mon Jul 23 23:05:14 2018 +0200 Always initialize SplashPipe:cSrcVal Fixes Use-of-uninitialized-value in oss-fuzz/9560 splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 71645d9e76f9bb075ae9b6599d281b8382e86e67 Author: Albert Astals Cid Date: Mon Jul 23 00:21:40 2018 +0200 Add (C) for the last commits poppler/SignatureHandler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f9c7d61e36bb1fb0c77681b993fe5f4c2b1cd37e Author: Albert Astals Cid Date: Mon Jul 23 00:19:17 2018 +0200 Don't free signeddata nor signerinfo They get freed as part of freeing CMSMessage poppler/SignatureHandler.cc | 4 ---- 1 file changed, 4 deletions(-) commit 54a75cb091b0994290e6b398b98e3113cd61355a Author: Albert Astals Cid Date: Mon Jul 23 00:18:50 2018 +0200 Don't destroy the cert, doesn't belong to us poppler/SignatureHandler.cc | 3 --- 1 file changed, 3 deletions(-) commit 36f317d488d8ce6efb69db89a2eca09a98553ab5 Author: Albert Astals Cid Date: Sun Jul 22 23:48:03 2018 +0200 Copy subject dn instead of storing it It comes deep from the cert memory so it's destroyed shorting after and thus is invalid if we don't copy it poppler/SignatureInfo.cc | 6 ++++-- poppler/SignatureInfo.h | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) commit 6c4eaf5642439d87dafa03391441bb3e7f3a98c4 Author: Zsombor Hollay-Horvath Date: Sat Jul 21 00:28:50 2018 +0200 cpp: Add rotation() to text_box Bug #106562 cpp/poppler-page.cpp | 7 +++++++ cpp/poppler-page.h | 6 ++++++ cpp/poppler-private.h | 2 ++ 3 files changed, 15 insertions(+) commit bcd89bc0abb2cc05d3dc428074bb24b450ab7cf0 Author: Thibaut Brard Date: Sat Jul 21 00:17:58 2018 +0200 pdftohtml: Add option to not round coordinates when outputing as xml utils/HtmlOutputDev.cc | 22 ++++++++++++++++++---- utils/pdftohtml.1 | 3 +++ utils/pdftohtml.cc | 4 ++++ 3 files changed, 25 insertions(+), 4 deletions(-) commit 6ef17493c7d5344aba4278017724746e63659f7f Author: Albert Astals Cid Date: Sat Jul 21 00:14:07 2018 +0200 JpegWriter: Use the C++11 cascading constructors goo/JpegWriter.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 0b4ad184b479e24b13b0453b89859b75b699b131 Author: Martin Packman Date: Fri Jul 20 23:34:37 2018 +0200 Add -jpegopt optimize option support to utils New option 'optimize=y' for utils that take a -jpegopt param, pdftocairo and pdftoppm. This corresponds to the cjpeg -optimize flag, and slightly reduces the size of the output jpeg but uses additional cpu and memory. New jpegOptimize boolean in splash/SplashBitmap WriteImgParams. New setOptimize method on goo/JpegWriter taking a boolean. Update manpages for new option. goo/JpegWriter.cc | 12 ++++++++++++ goo/JpegWriter.h | 2 ++ splash/SplashBitmap.cc | 2 ++ splash/SplashBitmap.h | 2 ++ utils/pdftocairo.1 | 6 ++++++ utils/pdftocairo.cc | 11 +++++++++++ utils/pdftoppm.1 | 6 ++++++ utils/pdftoppm.cc | 11 +++++++++++ 8 files changed, 52 insertions(+) commit 20d89699b35397f23352d0e60a3e19da2ce6b410 Author: Albert Astals Cid Date: Thu Jul 19 23:20:03 2018 +0200 poppler 0.67 CMakeLists.txt | 4 ++-- NEWS | 8 ++++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 12 insertions(+), 4 deletions(-) commit 8bc5acb1c18e77e912b7d9caa7f73e6969d1dede Author: Albert Astals Cid Date: Thu Jul 19 17:55:13 2018 +0200 Splash::arbitraryTransformMask: Set clipRes to splashClipPartial in some if branches If xx or yy are not in the expected bounds something went wrong so don't assume we're still inside the valid area for the destination either fixes oss-fuzz/9382 splash/Splash.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 004e3c10df0abda214f0c293f9e269fdd979c5ee Author: Albert Astals Cid Date: Wed Jul 18 20:31:27 2018 +0200 Fix crash when Object has negative number Spec says object number has to be > 0 and gen has to be >= 0 Reported by email poppler/Parser.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 155897f3cb88db5050b9d16dc50bfd8b660077b6 Author: Albert Astals Cid Date: Tue Jul 17 01:05:38 2018 +0200 JBIG2Stream::readTextRegion: Fix uninitialized memory read fixes oss-fuzz/9381 poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eb1291f86260124071e12226294631ce685eaad6 Author: Albert Astals Cid Date: Wed Jul 11 00:26:01 2018 +0200 GfxPatchMeshShading::getParameterizedColor: Fix uninitialized memory read fixes oss-fuzz/9264 poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 729e212f465d015959e5a64662593e5e3f8e4924 Author: Albert Astals Cid Date: Fri Jul 6 17:29:46 2018 +0200 Add some easy const to XRef poppler/XRef.cc | 26 +++++++++++++------------- poppler/XRef.h | 46 +++++++++++++++++++++++----------------------- 2 files changed, 36 insertions(+), 36 deletions(-) commit e607d9c4a0057c390c59e306f6dc010aea2125ee Author: Stefan Brüns Date: Sun May 20 19:31:53 2018 +0200 Small optimization for AABGR8 pipes Skip some computations if both src and dest alpha are zero, or if src is fully opaque. Equivalent to Commit f47936af7508A ("Small optimization for AAXRGB8 pipes"). splash/Splash.cc | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) commit 1b5298ebb8d76b5eee11d9cccdfffcdceb5d064b Author: Albert Astals Cid Date: Mon Jul 2 21:46:10 2018 +0200 GfxUnivariateShading::getColor: Fix uninitialized memory read fixes oss-fuzz/9165 poppler/GfxState.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit d8346166d5150c1673379dcb3c658b9805f99764 Author: Albert Astals Cid Date: Mon Jul 2 20:10:25 2018 +0200 Gfx::doRadialShFill: Don't divide by zero fixes oss-fuzz/9133 poppler/Gfx.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 0735821ee03f9d83a9817450b12f45a502f51834 Author: Albert Astals Cid Date: Tue Jun 26 17:09:52 2018 +0200 Form: Remove return in void function poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b317ee3ecb939b91e1f8245177defaa59f8478b7 Author: Albert Astals Cid Date: Tue Jun 26 15:27:48 2018 +0200 Form: Remove unused getContentCopy it's confusing to have getContent and getContentCopy that does 99% the same poppler/Form.cc | 11 ----------- poppler/Form.h | 3 --- 2 files changed, 14 deletions(-) commit 664d166194bc0832fd446b354630c4c7994ae4e3 Author: Albert Astals Cid Date: Tue Jun 26 15:22:13 2018 +0200 Form: Add a few more const poppler/Form.cc | 8 ++++---- poppler/Form.h | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) commit 5ef6a845d8872f5dbc5698260ab5e12391f01f76 Author: Albert Astals Cid Date: Mon Jun 25 19:21:37 2018 +0200 Splash::arbitraryTransformImage: Fix uninitialized memory read fixes oss-fuzz/9066 splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 267228bb071016621c80fc8514927905164aaeea Author: Albert Astals Cid Date: Sun Jun 24 18:28:22 2018 +0200 pdfsig: Use posix basename() instead of GNU one So it builds on non GNU systems too Bug #106783 utils/pdfsig.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 459f369145a9d8f638fe123425f0e2880487640e Author: Albert Astals Cid Date: Sun Jun 24 11:51:20 2018 +0200 Move variable declarations closer to where they are used Allows for declaring two of them as const poppler/Stream.cc | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) commit e8b82c4239da638ae77dfab07faaff33af4af1cc Author: Albert Astals Cid Date: Sun Jun 24 11:46:36 2018 +0200 ImageStream::getLine: Fix ubsan undefined shift I'm not totally sure this is the "correct" fix, but doesn't regress any file on my test suite so seems one of those cases only happens on bad files, and this helps oss-fuzz progress in its testing Fixes oss-fuzz/8432 poppler/Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c0e87eda688351b3caf222e5525f75a3190fd87c Author: Albert Astals Cid Date: Sun Jun 24 11:15:52 2018 +0200 AnnotBorder::parseDashArray: Fix correct calculation obj not being a num also means not correct fixes oss-fuzz/9056 poppler/Annot.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 322f8a453664fbad65c4b998034adf8df2ac0bea Author: Albert Astals Cid Date: Sat Jun 23 00:41:18 2018 +0200 GfxDeviceNColorSpace::parse: Fix leak on malformed files Fixes oss-fuzz/9036 poppler/GfxState.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit af4d5f31705dcfd65319da430f87744b5c1f3616 Author: Albert Astals Cid Date: Fri Jun 22 23:55:09 2018 +0200 SplashFTFont::makeGlyph: Bail out if constructor returned early fixes oss-fuzz/8811 splash/SplashFTFont.cc | 7 +++++-- splash/SplashFTFont.h | 3 ++- 2 files changed, 7 insertions(+), 3 deletions(-) commit 0281c02b9a1cd776c45ca1fd2f5eeea15f6827a6 Author: Albert Astals Cid Date: Fri Jun 22 17:33:21 2018 +0200 (C) update from 2 commits ago fofi/FoFiType1C.h | 1 + 1 file changed, 1 insertion(+) commit 1b65f9eb1beef0d1a41a4d59c89e4acd193a1a3f Author: Albert Astals Cid Date: Fri Jun 22 17:29:26 2018 +0200 Gfx:Generalize protection against a pattern drawing itself fixes oss-fuzz/8929 poppler/CairoOutputDev.cc | 2 +- poppler/Gfx.cc | 53 ++++++++++++++++++++++++++-------------------- poppler/Gfx.h | 4 ++-- poppler/PSOutputDev.cc | 2 +- poppler/SplashOutputDev.cc | 2 +- 5 files changed, 35 insertions(+), 28 deletions(-) commit da349184c61034ac5818efe90d426de6af2c74d7 Author: Albert Astals Cid Date: Fri Jun 22 16:48:11 2018 +0200 FoFiType1C::readPrivateDict: Fix potential uninitialized memory read fixes oss-fuzz/8864 fofi/FoFiType1C.cc | 2 -- fofi/FoFiType1C.h | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) commit 877dcec7e2357991d79508a2aefc39d1510bf235 Author: Albert Astals Cid Date: Tue Jun 19 23:16:47 2018 +0200 Poppler 0.66 CMakeLists.txt | 4 ++-- NEWS | 7 +++++++ cpp/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 4 files changed, 11 insertions(+), 4 deletions(-) commit 37d2aa88409429397a6c8801b34213f6eded8e1e Author: Albert Astals Cid Date: Tue Jun 19 17:42:16 2018 +0200 PostScriptFunction::parseCode: Fix memory leak on malformed files Fixes oss-fuzz/8859 poppler/Function.cc | 1 + 1 file changed, 1 insertion(+) commit e4f4cbddd11ae6386985879187007fa5add43624 Author: Albert Astals Cid Date: Tue Jun 12 09:32:57 2018 +0200 StreamPredictor: Move pixBytes calculation after checks fixes oss-fuzz/8835 poppler/Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit adb7cac1b787b35c4f5d25e0441e459ab92d0469 Author: Albert Astals Cid Date: Tue Jun 12 09:00:33 2018 +0200 GfxImageColorMap: Initialize y to prevent uninit mem use Fixes oss-fuzz/8839 poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6b37df791731e40837fa1eba86ae740650431438 Author: Albert Astals Cid Date: Wed Jun 6 17:56:27 2018 +0200 SampledFunction: Fix divide by zero Actual valid values are 1, 2, 4, 8, 12, 16, 24, and 32 but this check is easier fixes oss-fuzz/8713 poppler/Function.cc | 4 ++++ 1 file changed, 4 insertions(+) commit d6a3dc3ebbc97fcdd3c45028b5741f4b99fc0279 Author: Albert Astals Cid Date: Wed Jun 6 17:46:17 2018 +0200 GfxAxialShading::parse: Fix memory leak on broken files fixes oss-fuzz/8742 poppler/GfxState.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 599e28433268ceaa933cf2a2492c81da4418e207 Author: Albert Astals Cid Date: Tue Jun 5 20:11:19 2018 +0200 JBIG2Stream::readSymbolDictSeg: Fix potential uninitialized memory read fixes oss-fuzz/8748 poppler/JBIG2Stream.cc | 1 + 1 file changed, 1 insertion(+) commit a231de883b438af1807726fab4265ecf4689cf50 Author: Albert Astals Cid Date: Tue Jun 5 20:00:03 2018 +0200 CMap::parse2: Initialize end fixes oss-fuzz/8747 poppler/CMap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c629fefe2b2b1e2663521beeac432c808afe7c7 Author: Albert Astals Cid Date: Tue Jun 5 19:56:53 2018 +0200 JBIG2Stream::readSymbolDictSeg: Initialize dh fixes oss-fuzz/8751 poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0053966d3ec5b5c4eb6480417b2c8a8ccd910964 Author: Albert Astals Cid Date: Mon Jun 4 20:38:41 2018 +0200 JBIG2Stream::readSymbolDictSeg: Initialize refDX fixes oss-fuzz/8696 poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8dfe3fb37ec01e35eb22a0932fe708bc9b78cb4f Author: Albert Astals Cid Date: Wed May 30 17:09:16 2018 +0200 LONG_LONG_MAX -> LLONG_MAX that's the name the standard uses poppler/Parser.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b4f0e2b27a0880801c7af0c82fe17894797511b2 Author: Stefan Brüns Date: Sat May 26 19:51:20 2018 +0200 Splash: Reserve space for path segments upfront Instead of iteratively growing the array reserve sufficient space prior to populating the array. poppler/SplashOutputDev.cc | 2 ++ splash/SplashPath.cc | 18 ++++++++++++++++++ splash/SplashPath.h | 4 ++++ 3 files changed, 24 insertions(+) commit 450a8a54e080b5bb80533b1777b3b670bea1f27a Author: Albert Astals Cid Date: Wed May 30 09:09:12 2018 +0200 JBIG2Stream::readSymbolDictSeg: Initialize refDY fixes oss-fuzz/8621 poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1750c0155762e75d0a80ab55b50d1bfd172c2430 Author: Stefan Brüns Date: Tue May 29 23:49:05 2018 +0200 splash: Correctly manipulate spot colors if SPOT_NCOMPS != 4 The default number of spot colors is 4, in this case the change is without effect, otherwise only the last 4 colors where handled. splash/SplashTypes.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit fb4629eb4b1787332b88b330da16353e5ade7b4d Author: Albert Astals Cid Date: Tue May 29 20:32:23 2018 +0200 SplashFTFont: Early return if face->units_per_EM is 0 fixes oss-fuzz/8617 splash/SplashFTFont.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 943a465d7b76b26de83d2038226c72bcf619c29f Author: Albert Astals Cid Date: Tue May 29 20:23:51 2018 +0200 SplashFTFont: Initialize textScale fixes oss-fuzz/8616 splash/SplashFTFont.cc | 1 + 1 file changed, 1 insertion(+) commit f821faa1795c1b25104d84e9f5a7e8ad218baa61 Author: Albert Astals Cid Date: Tue May 29 20:18:26 2018 +0200 CMap::parse2: Initialize start fixes oss-fuzz/8611 poppler/CMap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a76c8fbd50a3a5cbe0487158e9d2b325e596d2c6 Author: Albert Astals Cid Date: Tue May 29 01:01:26 2018 +0200 GfxSeparationColorSpace::getRGB: ensure color2 doesn't have uninit values if alt->getNComps() is bigger than func->getOutputSize() (which is most likely a faulty file) we init those indexes of color2 with 0 fixes oss-fuzz/8586 poppler/GfxState.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit e35fdb1448b7860d697b9c2ec8bda49c7a8a3ae5 Author: Albert Astals Cid Date: Tue May 29 00:59:22 2018 +0200 JBIG2Stream::readTextRegion: Initialize ds fixes oss-fuzz/8594 poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb25c0d46f1f0e037805f0c6dde07f3ea9c9320c Author: Albert Astals Cid Date: Tue May 29 00:55:28 2018 +0200 Gfx::doRadialShFill: Initialize colorA, colorB and colorC fixes oss-fuzz/8587 poppler/Gfx.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit b8cf8b04cbd1c0c5643cc77ed7b0b60525ecf080 Author: Albert Astals Cid Date: Mon May 28 23:51:32 2018 +0200 FoFiType1::parse: Don't copy to buf more than the available file fixes oss-fuzz/8576 fofi/FoFiType1.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 10a3dc2a9c92349e498ea36bb342b821dcfc9d76 Author: Albert Astals Cid Date: Mon May 28 17:44:34 2018 +0200 GfxState.cc: Fix undefined behaviour when compBits is 31 it's a technical issue since according to spec biggest valid value for compBits is 16, but this is simpler imho fixes oss-fuzz/8582 poppler/GfxState.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 96e7bc19ffcaf46d4cb69660ed040c09d46815d6 Author: Albert Astals Cid Date: Sun May 27 09:42:24 2018 +0200 JBIG2Stream::readTextRegion: Initialize a few variables So if the stream is broken we don't use uninitialized variables fixes oss-fuzz/8547 poppler/JBIG2Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9c0c538e8d1aa39cd136cfb8fe0fbfe1def5174d Author: Albert Astals Cid Date: Sun May 27 09:34:16 2018 +0200 Gfx::doAxialShFill: initialize color1 fixes oss-fuzz/8546 poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 18f376c0dff184851b3ee4c05c40b4ee2c21da8c Author: Albert Astals Cid Date: Sun May 27 09:29:49 2018 +0200 FoFiType1::parse: Fix reading past font length fixes oss-fuzz/8545 fofi/FoFiType1.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 19d3993f3f40b5113141d5a55acea307c174f1d3 Author: Albert Astals Cid Date: Sun May 27 09:10:05 2018 +0200 XRef::fetch: Don't try to fetch objects with negative offset fixes oss-fuzz/8433 poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a8d33246601dbd2bea98bb3404596848f71162a Author: Albert Astals Cid Date: Sun May 27 08:47:19 2018 +0200 Splash::fillGlyph2: fix buffer overflow Make sure xx / 8 + 1 is not out of bounds fixes oss-fuzz/8422 splash/Splash.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1bc71245fa88dc23dc355f926f50f04896739fff Author: Adam Reichold Date: Sat May 26 11:54:41 2018 +0200 LZWStream: make inputBuf unsigned since shifting negative numbers is undefined according to spec poppler/Stream.cc | 6 +++--- poppler/Stream.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit 68c5977980a60b2fbac0a5938e697cf09f37b0a2 Author: Albert Astals Cid Date: Fri May 25 23:06:53 2018 +0200 BaseCryptStream: Initialize all of objKey fixes oss-fuzz/8493 poppler/Decrypt.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 14adecb9693345b7e3baa6dee05f5c88dde7952c Author: Albert Astals Cid Date: Fri May 25 22:57:29 2018 +0200 Decrypt::md5: initialize x When msgLen is small enough x would had initialized values for some parts of the md5 calculation fixes oss-fuzz/8492 poppler/Decrypt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 71bb82bdecccc235e15255635cab2c31cce58e0e Author: Albert Astals Cid Date: Fri May 25 22:52:31 2018 +0200 Gfx::doAxialShFill: initialize color0 fixes oss-fuzz/8470 poppler/Gfx.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b245154fdebc9a78db163bc95959c6c8f5b4126f Author: Albert Astals Cid Date: Fri May 25 22:46:22 2018 +0200 Parser::makeStream: Don't overflow length fixes oss-fuzz/8499 poppler/Parser.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 86777478387577aee8242eb2f11932041e87eff5 Author: Albert Astals Cid Date: Fri May 25 19:44:50 2018 +0200 Splash::fillWithPattern: initialize pipe Makes sure if things fail we're not painting with uninitialized memory fixes oss-fuzz/8538 splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 97caec070090d112d4fb5b63dc433a34e214c7e5 Author: Albert Astals Cid Date: Fri May 25 19:38:19 2018 +0200 FoFiType1C::readTopDict: Return early if parsing fails fixes oss-fuzz/8456 fofi/FoFiType1C.cc | 3 +++ 1 file changed, 3 insertions(+) commit 7e2189377bfaa0594e25eaba26aca47bea59f315 Author: Albert Astals Cid Date: Fri May 25 17:47:07 2018 +0200 GfxGouraudTriangleShading::parse: Add bounds check for compBits The spec is much more strict on what is valid, but i'm only doing a check so that the code doesn't break poppler/GfxState.cc | 4 ++++ 1 file changed, 4 insertions(+) commit fef32ba463a225618a967c541d939fd69e02f2dd Author: Albert Astals Cid Date: Fri May 25 17:42:22 2018 +0200 GfxPatchMeshShading::parse: Add bounds check for compBits The spec is much more strict on what is valid, but i'm only doing a check so that the code doesn't break fixes oss-fuzz/8445 poppler/GfxState.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 3b9d8025dbdfcfac94ede20b05d86d177393cde7 Author: Albert Astals Cid Date: Fri May 25 17:26:37 2018 +0200 Splash: Fix another potential uninitialized memory use fixes oss-fuzz/8466 splash/Splash.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 0e3b18a48c3907a49c51a0ceded6078a2fd790eb Author: Albert Astals Cid Date: Fri May 25 17:06:13 2018 +0200 SplashUnivariatePattern::getColor: Fix potential uninitialized memory read If the GfxUnivariateShading doesn't provide enough bits of color fill them with 0 as to not have random memory read fixes oss-fuzz/8470 poppler/GfxState.cc | 5 +++-- poppler/GfxState.h | 4 +++- poppler/SplashOutputDev.cc | 6 +++++- 3 files changed, 11 insertions(+), 4 deletions(-) commit c75500bf6b2af4b9a26467ce55d1f2879e916b79 Author: Albert Astals Cid Date: Fri May 25 16:41:36 2018 +0200 T3FontCache: change the order in which the overflow checks are done fixes oss-fuzz/8479 poppler/SplashOutputDev.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 4ea7ac960d9ecb6a407d0e660312f5701d3dcd49 Author: Albert Astals Cid Date: Fri May 25 16:35:49 2018 +0200 SplashFTFont::getGlyphPath: early return if textScale == 0 fixes oss-fuzz/8529 splash/SplashFTFont.cc | 4 ++++ 1 file changed, 4 insertions(+) commit c1164653bd8d6bcb7da1d959634f63592a393235 Author: Albert Astals Cid Date: Fri May 25 16:26:44 2018 +0200 GfxGouraudTriangleShading::parse: Protect against coordBits <= 0 fixes oss-fuzz/8524 poppler/GfxState.cc | 4 ++++ 1 file changed, 4 insertions(+) commit a7154bcc6aba5429dc6cc024bd90dae2f1d2d0c1 Author: Albert Astals Cid Date: Fri May 25 16:21:45 2018 +0200 XRef::readXRefTable: Rewrite overflow check In a way that it doesn't depend on undefined behaviour fixes oss-fuzz/8528 poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f966b9096d046aaee4891de11f74207218cc929b Author: Albert Astals Cid Date: Thu May 24 23:58:41 2018 +0200 SplashOutputDev::drawSoftMaskedImage: Fix uninitialized memory read It can happen that maskStr->doGetChars doesn't give us the number of chars we wanted, if that happens just set the remainder to zero poppler/SplashOutputDev.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit b228892adb01f978d5e6045e1e61741bca1950d2 Author: Albert Astals Cid Date: Thu May 24 23:49:12 2018 +0200 Splash::blitImageClipped: initialize pixel At least this way if the getPixels call we're not drawing random memory and thus we get a stable render which helps with regtests splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 67be3708cc4dea9e03f5d0ce5b0214fff35748f2 Author: Albert Astals Cid Date: Thu May 24 23:29:55 2018 +0200 SplashFTFont::makeGlyph: Fix use of uninitialized data caused by the bugfix to not divide by zero splash/SplashFTFont.cc | 4 ++++ 1 file changed, 4 insertions(+) commit c758fc980834882528eeae82568494e46d189cc5 Author: Albert Astals Cid Date: Thu May 24 23:19:16 2018 +0200 FoFiType1::parse: Fix invalid memory access Make sure there's enough line left before calling strncmp fixes oss-fuzz/8425 fofi/FoFiType1.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 07318f3899248f67a58148b29a9555ff47a1b083 Author: Albert Astals Cid Date: Thu May 24 20:15:42 2018 +0200 StreamReader::cmp: Fix potential undefined behaviour going outside an array range is technically undefined behaviour, even if then after you go back in range with the next operation, so we first calculate the diff and then add it to the array fofi/FoFiIdentifier.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 6b91d37a704fb2b6fa9529d859c366c331327ab9 Author: Albert Astals Cid Date: Thu May 24 18:22:00 2018 +0200 SplashOutputDev: Fix memory leak on malformed files i.e. SplashOutputDev::endTextObject is not called after SplashOutputDev::drawChar fixes oss-fuzz/8508 poppler/SplashOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit c9650369c5dd74812db515d986ded898b9002ae4 Author: Albert Astals Cid Date: Thu May 24 18:20:12 2018 +0200 Splash::scaleMaskYuXu: Free internal bitmap data on error this way we don't try to use it later, which will be an uninitialized memory read fixes oss-fuzz/8511 splash/Splash.cc | 1 + 1 file changed, 1 insertion(+) commit f279778fe0aca610cdecb70d0a714bbaa08b0d22 Author: Albert Astals Cid Date: Thu May 24 13:06:00 2018 +0200 JBIG2Stream::readSymbolDictSeg: Fix potential uninitialized memory use fixes oss-fuzz/8468 poppler/JBIG2Stream.cc | 2 ++ 1 file changed, 2 insertions(+) commit ea72a3f3dc1619482ab2502dc50fe628600f38b5 Author: Albert Astals Cid Date: Thu May 24 12:42:54 2018 +0200 gmallocn: move the operation after the checks fixes oss-fuzz/8423 goo/gmem.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit aa39d079dc3b68b0a3512408706d053d664d557d Author: Albert Astals Cid Date: Thu May 24 12:40:38 2018 +0200 XRef::readXRefStreamSection: Add integer overflow check fixes oss-fuzz/8444 poppler/XRef.cc | 3 +++ 1 file changed, 3 insertions(+) commit db73587c566f8e50f03b24628e8948a558ee7039 Author: Albert Astals Cid Date: Thu May 24 11:56:39 2018 +0200 StreamPredictor: move rowBytes calculation after overflow check fixes oss-fuzz/8498 poppler/Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 76820f5ab932a9ed18913bc7d1a452ddf060c133 Author: Albert Astals Cid Date: Thu May 24 01:12:07 2018 +0200 JBIG2Stream::readPageInfoSeg: Fix memory leak on malformed documents fixes oss-fuzz/8463 poppler/JBIG2Stream.cc | 1 + 1 file changed, 1 insertion(+) commit ffb0daefda688564c1456f4b8b3f5a715d228cdc Author: Albert Astals Cid Date: Wed May 23 19:06:51 2018 +0200 Apply previous optimization also to Splash::pipeRunAARGB8 splash/Splash.cc | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) commit f47936af75088c55a19fe6b1a67128fcc3f57b08 Author: Stefan Brüns Date: Wed May 23 19:05:50 2018 +0200 Small optimization for AAXRGB8 pipes Skip some computations if both src and dest alpha are zero, or if src is fully opaque. For common cases (majority of pixels fully opaque) like in fdo#81211, this reduces execution time of pipeRunAAXBGR8 by 50% (-20% total execution time). splash/Splash.cc | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) commit 60ec88b3ca5f109b3532dbf2f36df66aed2d7bbf Author: Albert Astals Cid Date: Wed May 23 19:49:29 2018 +0200 greallocn: move the operation to after the checks fixes oss-fuzz/8484 goo/gmem.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit e0fb18040378659c98fedb4bdaff6a903ddd095b Author: Albert Astals Cid Date: Wed May 23 19:40:50 2018 +0200 Gfx::opSetExtGState: Fix memory leak on broken files doSoftMask was called just once, from opSetExtGState, but was given the duty to delete blendingColorSpace that given doSoftMask has various early returns is hard to do right, so i've moved the deletion to opSetExtGState itself fixes oss-fuzz/8431 poppler/Gfx.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 86991adb172fd55decdc72ec6fc34d41b19beafa Author: Albert Astals Cid Date: Wed May 23 19:35:27 2018 +0200 Gfx::doRadialShFill: Fix potential divide by zero fixes oss-fuzz/8476 poppler/Gfx.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 62c7a6a135aa8c70f638bac9b41a11c4e69c8452 Author: Albert Astals Cid Date: Wed May 23 19:29:39 2018 +0200 GfxImageColorMap::GfxImageColorMap: Bail out early if bits <= 0 fixes oss-fuzz/8478 poppler/GfxState.cc | 3 +++ 1 file changed, 3 insertions(+) commit 6e2de368f620d2e459a4cfe6533a8c29fae6d8c9 Author: Albert Astals Cid Date: Wed May 23 19:21:30 2018 +0200 SplashFTFont::SplashFTFont: Early return if textScale is 0 fixes oss-fuzz/8482 splash/SplashFTFont.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 8d715bfc7c3610b823721dc26368728795baa2fe Author: Albert Astals Cid Date: Wed May 23 15:44:05 2018 +0200 GfxPatchMeshShading::parse: Error out if BitsPerCoordinate <= 0 poppler/GfxState.cc | 4 ++++ 1 file changed, 4 insertions(+) commit f5fb32bd4b64040dc0f9b9e1555dabce804ba566 Author: Albert Astals Cid Date: Wed May 23 15:38:26 2018 +0200 Splash::scaleMaskYuXu: Also check for srcHeight <= 0 splash/Splash.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0318e1667c7b137493f22be61b835eb914f68fa9 Author: Albert Astals Cid Date: Wed May 23 15:34:32 2018 +0200 GfxPatchMeshShading::parse: Fix memory leak on malformed documents fixes oss-fuzz/8487 poppler/GfxState.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 3ca2d43b7ddcca08bc026c6564f89ffbe0dde506 Author: Albert Astals Cid Date: Wed May 23 00:27:08 2018 +0200 warning-- poppler/Decrypt.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 58e056c4b15f262b7715f8061d6885eb80044d0d Author: Albert Astals Cid Date: Wed May 23 00:23:19 2018 +0200 Revert 31c3832b996acbf04ea833e304d7d21ac4533a57 So shifting left negative values is undefined behaviour according to the spec but if we don't do it we break, so we seem to be depending on this undefined behaviour, will try to figure out a better fix poppler/Stream.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit a6c2eb671f08beb682e086d5f6791fdb78906a7c Author: Albert Astals Cid Date: Tue May 22 22:12:03 2018 +0200 Make sure dash[i] is intialized even if obj is not a number fixes oss-fuzz/8462 poppler/Gfx.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 083bfa59378be1c008cb6543f7e9bebde29a4079 Author: Albert Astals Cid Date: Tue May 22 22:01:35 2018 +0200 nBitsDiffObjects can only be 32 as per spec fixes oss-fuzz/8464 poppler/Hints.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 942a426f2844b66758b6b443234c3686d61420cc Author: Albert Astals Cid Date: Tue May 22 21:41:51 2018 +0200 Parser::makeStream: Make sure length is not negative fixes oss-fuzz/8469 poppler/Parser.cc | 3 +++ 1 file changed, 3 insertions(+) commit bf03344ad26b1227b5052420feabe062441c02ed Author: Albert Astals Cid Date: Tue May 22 20:36:05 2018 +0200 StandardSecurityHandler::isUnencrypted: Fix uninitialized memory use fixes oss-fuzz/8426 poppler/SecurityHandler.cc | 3 +++ 1 file changed, 3 insertions(+) commit 31c3832b996acbf04ea833e304d7d21ac4533a57 Author: Albert Astals Cid Date: Tue May 22 20:25:18 2018 +0200 LZWStream::getCode: Don't left shift negative values it's undefined behaviour poppler/Stream.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2c0a0b07fdb2c76487ca4af7b2f50da9904c6c23 Author: Albert Astals Cid Date: Tue May 22 20:15:39 2018 +0200 Gfx::doImage: Fix memory leak on malformed documents fixes oss-fuzz/8452 poppler/Gfx.cc | 1 + 1 file changed, 1 insertion(+) commit ace7ca3e0dd1570ef6804c0f054742b2996b9b9f Author: Albert Astals Cid Date: Tue May 22 20:10:01 2018 +0200 SplashAxialPattern: fix potential divide by zero poppler/SplashOutputDev.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 3b8634e744aa5ba3b317fd3378ba07a438826827 Author: Albert Astals Cid Date: Tue May 22 20:07:50 2018 +0200 GfxAxialShading::getParameterRange: Fix potential divide by zero fixes oss-fuzz/8436 poppler/GfxState.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 91079d4f482b35f190a4f2bbd9f4fb6a8ad7c2a2 Author: Albert Astals Cid Date: Tue May 22 20:01:56 2018 +0200 SampledFunction: Fix potential divide by zero fixes oss-fuzz/8455 poppler/Function.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6169bfb1ecd289a8235be0b8884a550f5d1ad926 Author: Albert Astals Cid Date: Tue May 22 19:56:34 2018 +0200 GfxState.cc: Fix potential division by zero fixes oss-fuzz/8465 poppler/GfxState.cc | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit 0868c499a9f5f37f8df5c9fef03c37496b40fc8a Author: Albert Astals Cid Date: Tue May 22 19:42:38 2018 +0200 Parser::makeStream: Fix potential integer overflow poppler/Parser.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit dbe330678766d1260d7f595d238e90aeae1194d6 Author: Albert Astals Cid Date: Tue May 22 19:31:34 2018 +0200 XRef::constructXRef: Prevent overflow when calculating newSize fixes oss-fuzz/8421 poppler/XRef.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 224dda4d292a097866f109a9d2cec4b3ba78eb97 Author: Albert Astals Cid Date: Tue May 22 19:17:20 2018 +0200 Fix out of bounds write in BaseCryptStream fixes oss-fuzz/8420 poppler/Decrypt.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 0c0c368fed70c1db64ce04b135fd5b060a1f0653 Author: Albert Astals Cid Date: Tue May 22 18:26:29 2018 +0200 LZWStream::clearTable: init newChar to 0 it should not be needed because on well formed streams it will be properly initialized in processNextCode but this solves an uninitialized memory use on malformed documents fixes oss-fuzz/8457 poppler/Stream.cc | 1 + 1 file changed, 1 insertion(+) commit e7f59e39a0aca2a8a363fc0edcf25fb5aaada7a5 Author: Albert Astals Cid Date: Tue May 22 18:22:29 2018 +0200 Splash::scaleMaskYuXu: Fix crash on malformed files fixes oss-fuzz/8435 fixes oss-fuzz/8441 splash/Splash.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 547f19cd420f2d579d921620545e6496adb6a9fb Author: Albert Astals Cid Date: Tue May 22 18:17:58 2018 +0200 Fix crash in "generic" GlobalParams::findSystemFontFile Not very important since we usually either use the fontconfig or the windows one fixes oss-fuzz/8427 poppler/GlobalParams.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit d1d8dea64db53fb151fede27efd5fd3308820a51 Author: Albert Astals Cid Date: Tue May 22 18:13:19 2018 +0200 Fix memory leak on malformed files fixes oss-fuzz/8430 poppler/Gfx.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 127d0fe3a209b04fc9efb086d423bca4ba359dca Author: Albert Astals Cid Date: Tue May 22 01:08:12 2018 +0200 Fix overflownLongLong check We actually want integer math here since doubles lose the precision we want at that high long long values poppler/Lexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9e2dc7ea7e098875e6b93566bdb1d14451c3673 Author: Albert Astals Cid Date: Sat May 19 17:05:25 2018 +0200 Poppler 0.65.0 CMakeLists.txt | 4 ++-- NEWS | 22 ++++++++++++++++++++++ cpp/CMakeLists.txt | 2 +- cpp/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 28 insertions(+), 6 deletions(-) commit 921de21733816fc6cd66c70c7a4914fbfee924d6 Author: Albert Astals Cid Date: Fri May 18 00:45:59 2018 +0200 qt5: remove duplicate code Create new toPopplerAdditionalActionType private function qt5/src/poppler-annotation.cc | 15 +-------------- qt5/src/poppler-form.cc | 17 ++--------------- qt5/src/poppler-private.cc | 18 ++++++++++++++++++ qt5/src/poppler-private.h | 2 ++ 4 files changed, 23 insertions(+), 29 deletions(-) commit 083139775fd4ee8dd073347bb0e2835aab334444 Author: Andre Heinecke Date: Wed May 2 16:20:40 2018 +0200 qt5: Add widget annot actions to FormFields This adds API to access AnnotWidget actions which are associated with a FormField. qt5/src/poppler-form.cc | 31 +++++++++++++++++++++++++++++++ qt5/src/poppler-form.h | 8 ++++++++ 2 files changed, 39 insertions(+) commit 784bf432bffadf654b213caa21ec95fafb963299 Author: Albert Astals Cid Date: Tue May 8 01:16:06 2018 +0200 Fix build with -DFONT_CONFIGURATION=generic poppler/GlobalParams.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 07b8f838b3d8859a3ad34a3140bb24475bd6ac2c Author: Albert Astals Cid Date: Mon May 7 19:13:07 2018 +0200 cast to void * to bypass new gcc -Wclass-memaccess warning Yes what we're doing there is a bit nasty but it works :D poppler/Array.cc | 2 +- poppler/Dict.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 2e750862ed5cba42fba2c6dd953820445d9c64cb Author: Albert Astals Cid Date: Mon May 7 19:02:40 2018 +0200 Remove useless memset Parent already has a proper constructor that initializes stuff and on top of that the sizeof was of the pointer and not of the class itself poppler/StructTreeRoot.cc | 1 - 1 file changed, 1 deletion(-) commit 030c6123c42813818fbb94717d301d4723671545 Author: Albert Astals Cid Date: Sun May 6 17:25:39 2018 +0200 Fix windows build poppler/GlobalParamsWin.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 62ed50c649670423136a49ae0fc39a6d314336a7 Author: Albert Astals Cid Date: Sun May 6 17:01:30 2018 +0200 Remove GlobalParams::getUnicodeToUnicode As shown by Adam in f559cc94310c149a61eb246e1aff7c093f3406b5 it was a noop since we were not filling the hash it tried to get info from poppler/GfxFont.cc | 45 +-------------------------------------------- poppler/GlobalParams.h | 1 - 2 files changed, 1 insertion(+), 45 deletions(-) commit 18cc4c3006695bbebd1d99d953d555a0bb3a3a65 Author: Adam Reichold Date: Wed Feb 21 20:15:22 2018 +0100 Make UnicodeMap a move-only type to simplify the initialization of residentUnicodeMaps s.t. it is closer to the GooHash-based version. poppler/GlobalParams.cc | 35 ++++++---------- poppler/UnicodeMap.cc | 106 +++++++++++++++++++++++++++++++++++------------- poppler/UnicodeMap.h | 16 ++++---- 3 files changed, 97 insertions(+), 60 deletions(-) commit 75cba9a1434c991534795d9185d7b755d9ed288c Author: Adam Reichold Date: Sun Feb 18 16:12:19 2018 +0100 Remove GooHash after replacing it by std::unordered_map. CMakeLists.txt | 2 - goo/GooHash.cc | 403 --------------------------------------------------------- goo/GooHash.h | 93 ------------- 3 files changed, 498 deletions(-) commit ccf5fbf898a27b02085b7b0707e5f59bee443fb3 Author: Adam Reichold Date: Sun Feb 18 16:23:36 2018 +0100 Also replace the Win32-specific usage of GooHash by std::unordered_map on a best-effort basis. poppler/GlobalParams.cc | 6 ------ poppler/GlobalParams.h | 3 ++- poppler/GlobalParamsWin.cc | 25 ++++++++++++------------- 3 files changed, 14 insertions(+), 20 deletions(-) commit 85e43288159804c57b3168fa95f955c41040bd29 Author: Adam Reichold Date: Sun Feb 18 16:11:55 2018 +0100 Replace GooHash by std::unordered_map in PSOutputDev. poppler/PSOutputDev.cc | 31 +++++++++++-------------------- poppler/PSOutputDev.h | 8 +++++--- 2 files changed, 16 insertions(+), 23 deletions(-) commit d5701be9c7daaf097698c0db57e004c4782450ee Author: Adam Reichold Date: Sun Feb 18 16:11:29 2018 +0100 Replace GooHash by std::unordered_map in OutputDev. poppler/Gfx.cc | 20 ++++---------------- poppler/OutputDev.cc | 15 ++++----------- poppler/OutputDev.h | 15 +++++++++------ poppler/PSOutputDev.h | 3 ++- poppler/ProfileData.cc | 10 +--------- poppler/ProfileData.h | 25 ++++++++++--------------- test/pdf-inspector.cc | 17 +++++------------ 7 files changed, 35 insertions(+), 70 deletions(-) commit f559cc94310c149a61eb246e1aff7c093f3406b5 Author: Adam Reichold Date: Sun Feb 18 16:10:59 2018 +0100 Replace GooHash by std::unordered_map in GlobalParams. poppler/CharCodeToUnicode.cc | 9 +- poppler/CharCodeToUnicode.h | 3 +- poppler/GlobalParams.cc | 218 ++++++++++++++----------------------------- poppler/GlobalParams.h | 34 +++---- 4 files changed, 97 insertions(+), 167 deletions(-) commit 41ad41d6eb726aabd3bff18db5c08422e0d18807 Author: Adam Reichold Date: Sun Feb 18 16:10:16 2018 +0100 Replace GooHash by std::unordered_map in FoFiTrueType. fofi/FoFiTrueType.cc | 39 +++++++++++++++------------------------ fofi/FoFiTrueType.h | 8 +++++--- 2 files changed, 20 insertions(+), 27 deletions(-) commit 55272138c3835dd9db8733850304ffe966e6478d Author: Adam Reichold Date: Tue Feb 20 09:07:17 2018 +0100 Add conversion methods between GooString and std::string. goo/GooString.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 08a4ac65d202742209bca6cf3806c4d111a5522c Author: Albert Astals Cid Date: Fri May 4 15:51:18 2018 +0200 FindLIBOPENJPEG2.cmake: Remove cache code It wasn't working since the if mentioned LIBOPENJPEG2_INCLUDE_DIR instead of LIBOPENJPEG2_INCLUDE_DIRS and when fixing the typo it broke the build because we were not defining USE_OPENJPEG2, so better just remove the broken if code cmake/modules/FindLIBOPENJPEG2.cmake | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) commit 8f94bc8e6f65420a63411ead3a7e838a9542acbd Author: Bjarni Ingi Gislason Date: Fri May 4 15:29:09 2018 +0200 pdffonts: Minor formatting changes in the man page Bug #105194 utils/pdffonts.1 | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit 7bd0f774508f543616ebb2ad1f4558fdacfca5b7 Author: Zsombor Hollay-Horvath Date: Fri May 4 15:23:21 2018 +0200 cpp: Expose more image modes, add option to select mode in renderer Bug #105558 cpp/poppler-image.cpp | 46 +++++++++++++++- cpp/poppler-image.h | 5 +- cpp/poppler-page-renderer.cpp | 124 +++++++++++++++++++++++++++++++++++++++++- cpp/poppler-page-renderer.h | 13 +++++ 4 files changed, 184 insertions(+), 4 deletions(-) commit 60b4fe65bc9dc9b82bbadf0be2e3781be796a13d Author: Albert Astals Cid Date: Tue May 1 02:46:17 2018 +0200 FoFiType1C::cvtGlyph: Fix infinite recursion on malformed documents Bugs #104942, #103238 fofi/FoFiType1C.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 8429a67536b7c2f6d752e4a522ee98e6f76a40f9 Author: Albert Astals Cid Date: Tue May 1 02:44:37 2018 +0200 XRef: Fix runtime undefined behaviour Going to the position -1 of an array is undefined behaviour, so don't do it Bug #105970 poppler/XRef.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 9d42769705180d6df4ba8415849ef8790a0e9b1d Author: Albert Astals Cid Date: Tue May 1 02:43:21 2018 +0200 Add the invisible character check to SplashOutputDev::beginType3Char Bug #106244 poppler/SplashOutputDev.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit 15d6519933256ffd1746eb6c7988def34228952e Author: Albert Astals Cid Date: Mon Apr 30 15:09:26 2018 +0200 cpp: add a newline after the error line cpp/poppler-private.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6085b7b35b8ee6b0aab2d1b55064f79cb7e2c2fb Author: Albert Astals Cid Date: Fri Mar 23 16:46:09 2018 +0100 Make poppler_form_field_get_font_size return 0 It was doing that anyway but in a more complex way. Added a note into the docu so that people can volunteer to come and fix it if someone is using it glib/poppler-form-field.cc | 5 ++++- poppler/Annot.cc | 1 - poppler/Annot.h | 3 --- poppler/Form.cc | 4 ---- poppler/Form.h | 2 -- 5 files changed, 4 insertions(+), 11 deletions(-) commit a613cd32bcaabe67649536886637ad022685c402 Author: Albert Astals Cid Date: Thu Apr 19 17:10:23 2018 +0200 Fix compilation with libc++ qt5/src/ArthurOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit 4d851d16aa6a2a9f00b60091a2ef810be1a571ea Author: Albert Astals Cid Date: Tue Apr 17 20:04:26 2018 +0200 poppler 0.64.0 CMakeLists.txt | 4 ++-- NEWS | 33 +++++++++++++++++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 38 insertions(+), 5 deletions(-) commit 1dcf335a8e212fdfd18bad1f56a743504f653cf5 Author: Albert Astals Cid Date: Tue Apr 17 16:21:33 2018 +0200 qt5: Don't need this friend declaration qt5/src/poppler-link.h | 1 - 1 file changed, 1 deletion(-) commit 281d5cbd33521c823f1602f3d0c1e2ad9a4ab1d2 Author: Albert Astals Cid Date: Fri Apr 6 15:34:57 2018 +0200 Object::getName return const char instead of char poppler/Form.cc | 2 +- poppler/Form.h | 2 +- poppler/Gfx.cc | 20 ++++++++++---------- poppler/Gfx.h | 14 +++++++------- poppler/GfxFont.cc | 4 ++-- poppler/Link.cc | 6 +++--- poppler/Link.h | 2 +- poppler/MarkedContentOutputDev.cc | 2 +- poppler/MarkedContentOutputDev.h | 2 +- poppler/Movie.cc | 2 +- poppler/Object.h | 2 +- poppler/OutputDev.cc | 6 +++--- poppler/OutputDev.h | 6 +++--- poppler/Rendition.cc | 2 +- poppler/Stream.cc | 2 +- poppler/Stream.h | 2 +- 16 files changed, 38 insertions(+), 38 deletions(-) commit 8fe1a5b96e5ad7dac60dd0f198b3c8b18fb3c5bb Author: Andre Heinecke Date: Tue Apr 17 10:02:40 2018 +0200 Fix parsing of focus out actions The key is uppercase B with lowercase L. Not I. poppler/Annot.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3636ccbaece6706ef86dfab9303c3f164e68ffe2 Author: Albert Astals Cid Date: Tue Apr 17 10:57:06 2018 +0200 pdfsig: Don't use fixed buffer size for path utils/pdfsig.cc | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 17c7e3b0e1801a8643712013eb3b106c802e0faa Author: Albert Astals Cid Date: Tue Apr 17 11:02:29 2018 +0200 utils: Move numberOfCharacters to shared file utils/numberofcharacters.h | 26 ++++++++++++++++++++++++++ utils/pdftocairo.cc | 13 +------------ utils/pdftoppm.cc | 13 +------------ 3 files changed, 28 insertions(+), 24 deletions(-) commit 73ab9930810ae83998467ec859f3ee3984548cbd Author: Albert Astals Cid Date: Tue Apr 17 10:46:46 2018 +0200 pdfsig: Add -dump to manpage utils/pdfsig.1 | 3 +++ 1 file changed, 3 insertions(+) commit bdece3bb0c115576d23e76dc29ee43f04aafdee0 Author: Chinmoy Ranjan Pradhan Date: Tue Apr 17 10:45:15 2018 +0200 pdfsig: Add -dump which writes signatures to disk Bug #104881 poppler/Form.cc | 8 +++++++- poppler/Form.h | 7 +++++-- utils/pdfsig.cc | 33 +++++++++++++++++++++++++++++++-- 3 files changed, 43 insertions(+), 5 deletions(-) commit 97aa11bf135421c1f87f2a46e2f597626f503f10 Author: Oliver Sander Date: Fri Mar 23 22:04:11 2018 +0100 Document method drawImageMask poppler/OutputDev.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ae4349620863a42ae569f1ce05461bb27340c4ea Author: Albert Astals Cid Date: Mon Apr 16 22:49:54 2018 +0200 Make the second parseAction variant private poppler/Link.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 444d9d8de5d4f8d627084405e1583b6d6d3900c7 Author: Albert Astals Cid Date: Mon Apr 16 22:28:18 2018 +0200 Simplify LinkAction::parseAction a bit After the discussion on the mailing list, also using unique_ptr was wrong poppler/Link.cc | 22 +++++++++++----------- poppler/Link.h | 5 +++-- 2 files changed, 14 insertions(+), 13 deletions(-) commit 88c99f1f6f4faf31faabccd35d9d094958020ebc Author: Albert Astals Cid Date: Mon Apr 16 17:59:35 2018 +0200 Fix crash on malformed documents In GfxGouraudTriangleShading::parse Bug #106061 poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df8a4ee51e18a39f85568c4122e5edd8c03d61df Author: Albert Astals Cid Date: Mon Apr 16 17:46:10 2018 +0200 Make it so we copy seenNextActions a bit less poppler/Link.cc | 20 +++++++++++--------- poppler/Link.h | 3 ++- 2 files changed, 13 insertions(+), 10 deletions(-) commit bd9fb431941916174e1c3b2201bf5f422bcf61bd Author: Aleix Pol Date: Mon Apr 16 16:38:09 2018 +0200 Make it possible to build poppler on Android without fontconfig Didn't manage to make fontconfig build, still nice to have poppler available. CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 34a44e5b95230b1ed03bb030e9963d0187b01951 Author: Aleix Pol Date: Mon Apr 16 16:35:47 2018 +0200 Do not assume that iconv is in /usr/include We find it explicitly because it may be elsewhere. cpp/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit bdd8db389c7b09cd9042267f36214f809e4c5f60 Author: Andre Heinecke Date: Mon Apr 16 17:13:05 2018 +0200 Add support for Next actions following an action Next actions are action dictionaries or an array of action dictonaries. "Next" is an entry in the general action dictionary. These actions are supposed to be performed after each other. So that a single button press can for example both trigger a Hide action and a JavaScript action. poppler/Link.cc | 72 +++++++++++++++++++++++++++++++++++++++++- poppler/Link.h | 18 +++++++++-- qt5/src/poppler-link-private.h | 9 ++++++ qt5/src/poppler-link.cc | 7 +++- qt5/src/poppler-link.h | 11 ++++++- qt5/src/poppler-page.cc | 14 ++++++++ 6 files changed, 125 insertions(+), 6 deletions(-) commit ab72205dd14efe9c5c8d12e6b1ae538208bce168 Author: Andre Heinecke Date: Mon Apr 16 16:31:38 2018 +0200 Add support for hide action The hide action can be used to show / hide fields. poppler/Link.cc | 29 +++++++++++++++++++++++++++++ poppler/Link.h | 35 +++++++++++++++++++++++++++++++++++ qt5/src/poppler-annotation.cc | 6 ++++++ qt5/src/poppler-link-private.h | 17 +++++++++++++++++ qt5/src/poppler-link.cc | 28 ++++++++++++++++++++++++++++ qt5/src/poppler-link.h | 39 ++++++++++++++++++++++++++++++++++++++- qt5/src/poppler-page.cc | 11 +++++++++++ 7 files changed, 164 insertions(+), 1 deletion(-) commit 022ccd4e1c61f4e89c7ffad83d9a5a896f65dc40 Author: Albert Astals Cid Date: Mon Apr 16 16:22:55 2018 +0200 GfxGouraudTriangleShading::parse: Fix memory leak on malformed files Bug #106059 poppler/GfxState.cc | 3 +++ 1 file changed, 3 insertions(+) commit 776257d0c20d4e3ae8d66683ab0f087bf6fc7b0f Author: Albert Astals Cid Date: Wed Apr 11 00:44:41 2018 +0200 Fix leaks in GfxPatchMeshShading::parse with malformed documents Bug #105969 poppler/GfxState.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit d80e7aac3366f93865581a783751abb528c120b3 Author: Albert Astals Cid Date: Wed Apr 11 00:32:35 2018 +0200 Make GfxGouraudTriangleShading::parse more accepting of malformed documents Bug #105972 poppler/GfxState.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit fee13e935e4c9eaadff434436eaceeb13afcfc13 Author: Oliver Sander Date: Fri Mar 23 22:24:42 2018 +0100 Implement Type3 font support for ArthurOutputDev qt5/src/ArthurOutputDev.cc | 177 ++++++++++++++++++++++++++++++++++++++++----- qt5/src/ArthurOutputDev.h | 16 ++-- qt5/src/poppler-page.cc | 4 +- 3 files changed, 170 insertions(+), 27 deletions(-) commit 79c588912f41aa6ee81ea058e7e649199a252f90 Author: Oliver Sander Date: Sun Mar 25 21:38:27 2018 +0200 Do not make ArthurOutputDev::startPage fill the page with white qt5/src/ArthurOutputDev.cc | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) commit 8c8c0034ae88c06616ace5e5ead71318f04311cf Author: Oliver Sander Date: Sat Apr 7 23:45:50 2018 +0200 Implement ArthurOutputDev::drawImageMask Bug #105531 Also temporarily disable type3 fonts since it seems they're not properly supported qt5/src/ArthurOutputDev.cc | 91 +++++++++++++++------------------------------- qt5/src/ArthurOutputDev.h | 2 +- 2 files changed, 30 insertions(+), 63 deletions(-) commit 3e0408966ccdd713de7795ce7992888b3896b49c Author: Andre Heinecke Date: Thu Mar 22 14:53:19 2018 +0100 Qt5: Allow setting of visibility Extends Qt5 API to allow setting visibility flags qt5/src/poppler-form.cc | 11 +++++++++++ qt5/src/poppler-form.h | 6 ++++++ 2 files changed, 17 insertions(+) commit b4127fb1c45fe5dcabe3751f0b40029405224f49 Author: Albert Astals Cid Date: Fri Apr 6 23:08:15 2018 +0200 Add some more const const is always good :) cpp/poppler-embedded-file.cpp | 13 ++-- cpp/poppler-private.cpp | 4 +- cpp/poppler-private.h | 3 +- cpp/poppler-toc-private.h | 4 +- cpp/poppler-toc.cpp | 9 +-- glib/poppler-action.cc | 50 +++++++-------- glib/poppler-document.cc | 8 +-- glib/poppler-layer.cc | 2 +- glib/poppler-media.cc | 4 +- glib/poppler-movie.cc | 2 +- glib/poppler-private.h | 6 +- goo/GooList.cc | 16 ++++- goo/GooList.h | 8 +-- poppler/FileSpec.cc | 10 +-- poppler/FileSpec.h | 26 ++++---- poppler/Function.h | 2 +- poppler/Link.cc | 26 ++++---- poppler/Link.h | 138 ++++++++++++++++++++-------------------- poppler/Movie.cc | 12 ++-- poppler/Movie.h | 26 ++++---- poppler/OptionalContent.cc | 8 +-- poppler/OptionalContent.h | 14 ++-- poppler/Outline.cc | 10 +-- poppler/Outline.h | 20 +++--- poppler/Rendition.cc | 4 +- poppler/Rendition.h | 18 +++--- poppler/Sound.cc | 6 +- poppler/Sound.h | 18 +++--- qt5/src/poppler-document.cc | 4 +- qt5/src/poppler-embeddedfile.cc | 10 +-- qt5/src/poppler-link.cc | 4 +- qt5/src/poppler-media.cc | 2 +- qt5/src/poppler-movie.cc | 4 +- qt5/src/poppler-optcontent.cc | 4 +- qt5/src/poppler-private.cc | 24 +++---- qt5/src/poppler-private.h | 8 +-- qt5/src/poppler-sound.cc | 2 +- utils/HtmlFonts.cc | 4 +- utils/HtmlFonts.h | 2 +- utils/HtmlOutputDev.cc | 12 ++-- utils/HtmlOutputDev.h | 4 +- utils/pdfdetach.cc | 2 +- 42 files changed, 285 insertions(+), 268 deletions(-) commit a8e93f46df9feb7f7241826307af51befdb25d9e Author: Albert Astals Cid Date: Fri Apr 6 09:02:28 2018 +0200 Make Object return const GooString pointer This helps making sure noone is changing strings that belong to objects without us realizing. In fact noone was doing except an ifdef for windows, fixed it to not modify the dict contents anymore glib/poppler-action.cc | 2 +- poppler/Annot.cc | 6 +++--- poppler/FileSpec.cc | 4 +++- poppler/Form.cc | 6 +++--- poppler/GfxFont.cc | 4 ++-- poppler/GfxState.cc | 3 ++- poppler/Link.cc | 3 ++- poppler/Object.h | 3 ++- poppler/Outline.cc | 3 ++- poppler/PDFDoc.cc | 3 ++- poppler/Parser.cc | 4 +++- poppler/Stream.cc | 2 +- poppler/StructElement.cc | 3 ++- qt5/src/poppler-document.cc | 6 +++--- qt5/src/poppler-embeddedfile.cc | 5 +++-- qt5/src/poppler-optcontent.cc | 3 ++- qt5/src/poppler-qt5.h | 2 +- qt5/tests/check_dateConversion.cpp | 4 ++-- test/pdf-fullrewrite.cc | 4 ++-- utils/pdfinfo.cc | 7 ++++--- utils/pdftohtml.cc | 5 +++-- utils/pdftotext.cc | 5 +++-- utils/pdfunite.cc | 5 +++-- 23 files changed, 54 insertions(+), 38 deletions(-) commit 07180b86786cce95df4e2433a7cf3e006749a0f5 Author: Albert Astals Cid Date: Fri Apr 6 13:03:16 2018 +0200 Gfx: Make two functions take const GooString * poppler/Gfx.cc | 8 ++++---- poppler/Gfx.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit c4af5981ab2a5f42a9a1194bb5929c2151fc2674 Author: Albert Astals Cid Date: Fri Apr 6 13:00:12 2018 +0200 OutputDev: change functions taking GooString * to make it const People that use poppler core, beware of the signature change! poppler/CairoOutputDev.cc | 5 +++-- poppler/CairoOutputDev.h | 5 +++-- poppler/OutputDev.h | 7 ++++--- poppler/PSOutputDev.cc | 4 ++-- poppler/PSOutputDev.h | 2 +- poppler/TextOutputDev.cc | 7 ++++--- poppler/TextOutputDev.h | 7 ++++--- utils/HtmlOutputDev.cc | 5 +++-- utils/HtmlOutputDev.h | 5 +++-- 9 files changed, 27 insertions(+), 20 deletions(-) commit 5fc6d9fcb41966b85dc67117531c81ec89f42f20 Author: Albert Astals Cid Date: Fri Apr 6 12:50:18 2018 +0200 PageAttrs and Page getLastModified return const GooString * poppler/Page.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a801b46e1e792b5d0a34f97de870c485e0ef312a Author: Albert Astals Cid Date: Fri Apr 6 12:48:18 2018 +0200 PSOuputDev writePSString and writePSTextLine take const poppler/PSOutputDev.cc | 4 ++-- poppler/PSOutputDev.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit eb6de58de5ef8c2ddeeed386e0b8b498b945797f Author: Albert Astals Cid Date: Fri Apr 6 12:47:12 2018 +0200 PDFDoc::writeString take const GooString pointer poppler/PDFDoc.cc | 2 +- poppler/PDFDoc.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 853b2251d4e11f14cd891bf1b6095ee36683d161 Author: Albert Astals Cid Date: Fri Apr 6 12:46:06 2018 +0200 OCDisplayNode take const GooString pointer poppler/OptionalContent.cc | 4 ++-- poppler/OptionalContent.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 0a8311929ba599d7b0a35e83b1f5dec4a3c9da06 Author: Albert Astals Cid Date: Fri Apr 6 12:44:43 2018 +0200 GfxFont::getNextChar take const char pointer poppler/GfxFont.cc | 4 ++-- poppler/GfxFont.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) commit 0e35441513bdce2471113b937bccb8928c7c9d9f Author: Albert Astals Cid Date: Fri Apr 6 12:42:29 2018 +0200 FormFieldText::tokenizeDA take const GooString poppler/Form.cc | 2 +- poppler/Form.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ba91b95f6e504cce08825e83a567a554ac846e39 Author: Albert Astals Cid Date: Fri Apr 6 12:41:44 2018 +0200 dateStringToTime take const GooString poppler/DateInfo.cc | 4 ++-- poppler/DateInfo.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 9bfe4b43216bce4e702d7d8f61fc7cb9acdbb8f6 Author: Albert Astals Cid Date: Fri Apr 6 12:40:53 2018 +0200 CMap::getCID take const char poppler/CMap.cc | 4 ++-- poppler/CMap.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 690ea9e5c900268556431df71bdac38f5e74dc36 Author: Albert Astals Cid Date: Fri Apr 6 12:39:35 2018 +0200 GooString::insert make pointer const goo/GooString.cc | 2 +- goo/GooString.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit f3551055dab57eb0bc544070b15c6a7435585003 Author: Albert Astals Cid Date: Fri Apr 6 12:19:54 2018 +0200 Introduce AutoFreeMemStream This is done by turning the old MemStream implementation to a new template implementation in BaseMemStream and inheriting from it MemStream for const char * and AutoFreeMemStream for char *. This way we make clear one frees the data and the other does not, while also removing the ugly setNeedsFree in MemStream poppler/Annot.cc | 16 ++++++--------- poppler/SplashOutputDev.cc | 3 +-- poppler/Stream.h | 51 +++++++++++++++++++++++++++------------------- 3 files changed, 37 insertions(+), 33 deletions(-) commit 4cc89c79f58cb416aae8396190a788e1398113ff Author: Albert Astals Cid Date: Fri Apr 6 12:11:55 2018 +0200 Move MemStream implementation to header Will be useful in next step where we turn it into a template poppler/Stream.cc | 83 -------------------------------------------------- poppler/Stream.h | 91 +++++++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 81 insertions(+), 93 deletions(-) commit 8821c04f36cb737776cd9077a46f1a9f86ca54e7 Author: Albert Astals Cid Date: Wed Apr 4 10:20:52 2018 +0200 Workaround form field text not being drawn on broken files Try drawing with the form appearance instead of the field apparance if drawing with the field appearance fails Bug #103245 poppler/Annot.cc | 88 +++++++++++++++++++++++++++++++++++--------------------- poppler/Annot.h | 24 +++++++++------- 2 files changed, 68 insertions(+), 44 deletions(-) commit afb053d652cc1f670465d471f671652b112dbf51 Author: Albert Astals Cid Date: Thu Apr 5 11:48:11 2018 +0200 Annot: Move appearBuf construction to a new class Previously we had appearBuf construction functions in Annot itself which was a bit confusing. Some functions like writeString took appearBuf as parameter, some other did not. By moving it out to a new class and making all the input parameters const pointers we make it clear the construction of appearBuf doesn't have any other side effect on Annot itself or any other class I'm leaving the functions in their old place to minimize the diff so it's easier to read. I'll move them in a follow up commit poppler/Annot.cc | 528 ++++++++++++++++++++++++++++--------------------------- poppler/Annot.h | 73 +++++--- 2 files changed, 321 insertions(+), 280 deletions(-) commit 0a79dc3036111e86a11bd290057da6674da3b311 Author: Albert Astals Cid Date: Thu Apr 5 18:15:33 2018 +0200 Add some more const glib/poppler-action.cc | 14 +++++------ glib/poppler-annot.cc | 18 +++++++-------- glib/poppler-document.cc | 2 +- glib/poppler-form-field.cc | 4 ++-- glib/poppler-private.h | 2 +- poppler/Annot.cc | 16 ++++++------- poppler/Annot.h | 54 +++++++++++++++++++++---------------------- poppler/Catalog.cc | 5 ++-- poppler/Catalog.h | 5 ++-- poppler/Form.cc | 6 ++--- poppler/Form.h | 6 ++--- poppler/Link.h | 23 +++++++++--------- poppler/PDFDoc.h | 3 ++- poppler/UTF.cc | 3 ++- poppler/UTF.h | 3 ++- qt5/src/poppler-annotation.cc | 5 ++-- qt5/src/poppler-document.cc | 9 +++++++- qt5/src/poppler-form.cc | 4 ++-- qt5/src/poppler-page.cc | 2 +- qt5/src/poppler-private.cc | 4 ++-- qt5/src/poppler-private.h | 4 ++-- qt5/src/poppler-qt5.h | 7 ++++++ utils/JSInfo.cc | 7 +++--- utils/JSInfo.h | 3 ++- 24 files changed, 116 insertions(+), 93 deletions(-) commit b60de1700d95d022ec0d1676886b0442cb763473 Author: Albert Astals Cid Date: Thu Apr 5 16:03:54 2018 +0200 Introduce a const version of GfxResources::lookupFont poppler/Gfx.cc | 13 +++++++++++-- poppler/Gfx.h | 5 ++++- poppler/GfxFont.cc | 2 +- poppler/GfxFont.h | 2 +- 4 files changed, 17 insertions(+), 5 deletions(-) commit 6bb508acd9a79671e5e9defc7b92a943fb880cda Author: Albert Astals Cid Date: Thu Apr 5 14:19:51 2018 +0200 More const in GfxFont methods poppler/GfxFont.h | 10 +++++----- poppler/PSOutputDev.cc | 2 +- poppler/PSOutputDev.h | 2 +- poppler/SplashOutputDev.cc | 11 ++++++----- qt5/src/ArthurOutputDev.cc | 3 ++- 5 files changed, 15 insertions(+), 13 deletions(-) commit 390109044bdef1ba67c2339bffaf11b38261854d Author: Albert Astals Cid Date: Thu Apr 5 13:00:59 2018 +0200 Fix windows build poppler/GlobalParamsWin.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f75c0f5c3f9d63334cc21e0ab68f1af45d0037cc Author: Albert Astals Cid Date: Thu Apr 5 12:58:34 2018 +0200 Make GfxFont::getName const glib/poppler-structure-element.cc | 2 +- poppler/FontInfo.cc | 3 ++- poppler/GfxFont.h | 2 +- poppler/GlobalParams.cc | 6 +++--- poppler/PSOutputDev.cc | 6 ++++-- poppler/PSOutputDev.h | 3 ++- utils/HtmlFonts.cc | 3 ++- 7 files changed, 15 insertions(+), 10 deletions(-) commit a669ad5cfb28cdfcfe38bbce39fbf8c6fc3102d9 Author: Albert Astals Cid Date: Thu Apr 5 12:55:39 2018 +0200 buildFcPattern: Don't modify the actual name of the font When doing the '-' to ' ' replacement to build the fc pattern poppler/GlobalParams.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 4f9b3d8d8d17863873a8a399ff3fe212d247b236 Author: Albert Astals Cid Date: Thu Apr 5 12:37:40 2018 +0200 Make some GfxFont methods const poppler/GfxFont.cc | 8 ++++---- poppler/GfxFont.h | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) commit 2bf6f2275c49f94e84f935653d6c42f6b5f9b364 Author: Albert Astals Cid Date: Thu Apr 5 12:21:38 2018 +0200 Make some Form methods const glib/poppler-form-field.cc | 6 +++--- poppler/Annot.cc | 4 ++-- poppler/Form.cc | 18 +++++++++--------- poppler/Form.h | 32 ++++++++++++++++---------------- qt5/src/poppler-form.cc | 3 ++- 5 files changed, 32 insertions(+), 31 deletions(-) commit 6f2bc64e09b7f5e5be6962840ede40369b78fd5e Author: Albert Astals Cid Date: Thu Apr 5 12:25:17 2018 +0200 Make AnnotWidget::drawText and Annot::layoutText input GooString const poppler/Annot.cc | 9 +++++---- poppler/Annot.h | 5 +++-- 2 files changed, 8 insertions(+), 6 deletions(-) commit 5e7931c4c9fdaba8b3343d04eda6e9eb2a2e3dcd Author: Albert Astals Cid Date: Thu Apr 5 12:23:21 2018 +0200 Make _poppler_goo_string_to_utf8 input param const glib/poppler-document.cc | 2 +- glib/poppler-private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3fdb7ea7b6a1ed4add2fbc6dca7a38b27fc79f45 Author: Albert Astals Cid Date: Thu Apr 5 12:21:11 2018 +0200 Make UnicodeParsedString input const qt5/src/poppler-private.cc | 5 +++-- qt5/src/poppler-private.h | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) commit 4b96c8399102a36e542c9da3b34650c26ccdda3c Author: Albert Astals Cid Date: Thu Apr 5 12:19:07 2018 +0200 Make pdfDocEncodingToUTF16 input param const poppler/Form.cc | 5 +++-- poppler/Form.h | 1 + poppler/PDFDocEncoding.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) commit 5804259f22d4d42ed7c37c9efb613910248cd1d4 Author: Albert Astals Cid Date: Thu Apr 5 11:58:50 2018 +0200 GfxFont::getToUnicode -> const And we don't need to do the inc/dec ref dance in Annot since the GfxFont is still alive while we use it and there's no other users to getToUnicode that may keep the CharCodeToUnicode for longer time than the GfxFont live poppler/Annot.cc | 5 ++--- poppler/GfxFont.cc | 12 ++++-------- poppler/GfxFont.h | 7 ++++--- 3 files changed, 10 insertions(+), 14 deletions(-) commit 1eb06156855758e4b1da2adc0334d84d3f857fb1 Author: Albert Astals Cid Date: Thu Apr 5 11:56:57 2018 +0200 CharCodeToUnicode::mapToCharCode -> const poppler/CharCodeToUnicode.cc | 3 ++- poppler/CharCodeToUnicode.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 2a49511517678b7e05660bb9a35a614c83229b66 Author: Albert Astals Cid Date: Thu Apr 5 11:50:23 2018 +0200 Add some const to GooHash and GooString goo/GooHash.cc | 7 ++++--- goo/GooHash.h | 7 ++++--- goo/GooString.cc | 7 ++++--- goo/GooString.h | 7 ++++--- 4 files changed, 16 insertions(+), 12 deletions(-) commit e491e935ea355d48519cf0a14e4b060655850675 Author: Evangelos Foutras Date: Mon Apr 2 16:09:34 2018 +0300 Fix PDFDoc::checkHeader() for PDFs smaller than 1 KiB The fix for bug 104502 made it so PDFDoc::checkHeader() would print a warning and return immediatelly if it encounters an EOF while reading the first 1024 bytes. Some PDF files can be smaller than 1024 bytes, for example those used by pdf2djvu's test suite. The latter would fail due to the unexpected warnings. Change the behavior of PDFDoc::checkHeader() when encountering an EOF so it processes the data it has read so far instead of aborting early. https://bugs.freedesktop.org/show_bug.cgi?id=105674 poppler/PDFDoc.cc | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit c19469f2a80ebc09bef3fbd603034e43c4a707cd Author: Mojca Miklavec Date: Mon Apr 2 12:52:35 2018 +0200 Fix build on some platforms We need to include time.h in gfile.h Bug #105766 goo/gfile.cc | 6 ++---- goo/gfile.h | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) commit c7a317635cfc6934e975e846335e37a68d6b3876 Author: Albert Astals Cid Date: Mon Mar 26 16:10:05 2018 +0200 glib: less deprecated calls And increate gdk pixbuf requirement to the version i think we actually require cmake/modules/FindGTK.cmake | 2 +- glib/demo/annots.c | 2 +- glib/demo/selections.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 7a708ffd374cd18e9e4bfe8a8e95c02184a074ba Author: Oliver Sander Date: Wed Mar 28 00:00:35 2018 +0200 Implement ArthurOutputDev::axialShadedFill qt5/src/ArthurOutputDev.cc | 128 ++++++++++++++++++++++++++++++++++++++++++++- qt5/src/ArthurOutputDev.h | 9 +++- 2 files changed, 135 insertions(+), 2 deletions(-) commit 5e7aef9df36a07c82b0ab40f80fd8464840f6424 Author: Albert Astals Cid Date: Fri Mar 23 15:34:56 2018 +0100 PSOutputDev: move i declaration to the for poppler/PSOutputDev.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 79789ed3d2798fb34f1c82d950e03a4d41e197de Author: Albert Astals Cid Date: Fri Mar 23 19:58:16 2018 +0100 Annot: setColor -> setDrawColor to differentiate from the setColor that actually changes the annot color poppler/Annot.cc | 60 ++++++++++++++++++++++++++++---------------------------- poppler/Annot.h | 2 +- 2 files changed, 31 insertions(+), 31 deletions(-) commit e34e187934e3654989b6af5177f345032623dd9b Author: Albert Astals Cid Date: Fri Mar 23 19:57:39 2018 +0100 SplashOutputDev: make getMatteColor static poppler/SplashOutputDev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c14dfa44a70ce32bbe1268ddff6106cab3f33bc2 Author: Albert Astals Cid Date: Fri Mar 23 19:56:12 2018 +0100 HtmlOutputDev: don't pass catalog around to not use it utils/HtmlOutputDev.cc | 13 ++++++------- utils/HtmlOutputDev.h | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) commit 92c51751a87b31c4bafa7b0146f745b3008ec9fc Author: Albert Astals Cid Date: Fri Mar 23 19:55:42 2018 +0100 JPEG2000Stream.cc: no need to store indexed we only use it in one function poppler/JPEG2000Stream.cc | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 46543272dbe7655821e1c794ca3cc22e8cb4cef9 Author: Albert Astals Cid Date: Tue Mar 20 23:44:23 2018 +0100 gfile: Fix windows build goo/gfile.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 327c342a932d8df731ec02a6b22792004206c2db Author: Andre Heinecke Date: Tue Mar 20 23:07:15 2018 +0100 Add read only setter for form fields Read only is modifiable from AcroForm scripts. poppler/Form.cc | 32 ++++++++++++++++++++++++++++++++ poppler/Form.h | 4 +++- qt5/src/poppler-form.cc | 6 ++++++ qt5/src/poppler-form.h | 7 +++++++ 4 files changed, 48 insertions(+), 1 deletion(-) commit 4798ef5298bcfcfadf8e1d66f9200e3c9eee2248 Author: Carlos Garcia Campos Date: Mon Mar 19 11:16:03 2018 +0100 build: bring back the option to disable GObject introspection It was available with autotools, but we lost it when switching to cmake. CMakeLists.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit f26285f361478219ea9d3c6de1529ecd5ff96ac9 Author: Albert Astals Cid Date: Sun Mar 18 19:23:49 2018 +0100 0.63 CMakeLists.txt | 4 ++-- NEWS | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ cpp/CMakeLists.txt | 2 +- cpp/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 66 insertions(+), 6 deletions(-) commit 8b2079b7250e037599f6640539f8107d93314919 Author: Albert Astals Cid Date: Sun Mar 18 19:01:40 2018 +0100 Update copyrights poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 2 +- poppler/GfxFont.cc | 2 +- poppler/GfxFont.h | 2 +- poppler/Object.h | 2 +- poppler/StructElement.cc | 1 + poppler/StructTreeRoot.cc | 2 +- poppler/StructTreeRoot.h | 1 + poppler/TextOutputDev.cc | 2 +- utils/pdfinfo.cc | 2 +- 10 files changed, 10 insertions(+), 8 deletions(-) commit 41321580f0a13309e5de44eb42851e3c82a5ef8f Author: Adam Reichold Date: Sun Mar 4 09:17:00 2018 +0100 Use the detection idiom to handle the non-standard struct stat field name for high-resolution mtime on Mac OS X. goo/gfile.cc | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) commit b14baefb406b8f08f0702edd686ebc7698cb7f15 Author: Adam Reichold Date: Mon Feb 12 08:09:00 2018 +0100 Explicitly anchor destructor of text_box_data to avoid linker errors using Clang on Mac OS X. cpp/poppler-page.cpp | 3 +++ cpp/poppler-private.h | 3 +++ 2 files changed, 6 insertions(+) commit 4afe2fb10ab969bfd9895c0ba9d4990c5881b451 Author: Carlos Garcia Campos Date: Sun Mar 4 10:28:57 2018 +0100 cairo: use GOOD instead of BEST as the default cairo filter for scaling The quality is good enough and the performance is much better. https://bugs.freedesktop.org/show_bug.cgi?id=103136 poppler/CairoOutputDev.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 41c61811fdd6efe2bef34d2ce26520fc6b3c4237 Author: Jason Crain Date: Fri Feb 23 23:21:03 2018 -0600 TextPage: Add horizontal scaling to font matrix Drawing the text selection sometimes draws text reversed or expanded. This is because the while the current font transformation matrix is saved, the horizontal scaling is not. Include the effect of the horizontal scaling in the transformation matrix. https://bugs.freedesktop.org/show_bug.cgi?id=105259 poppler/TextOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit 2740b3aca81a6a8c690540fc141e5923a1fff460 Author: Albert Astals Cid Date: Tue Feb 27 00:47:04 2018 +0100 cpp: Add since cpp/poppler-page.h | 3 +++ 1 file changed, 3 insertions(+) commit 42a6b8651f040f0960802e705b1aea82a956a63b Author: suzuki toshiya Date: Tue Feb 27 00:46:18 2018 +0100 cpp: Add page::text_list cpp/poppler-page.cpp | 91 ++++++++++++++++++++++++++++++++++++++++++++++ cpp/poppler-page.h | 55 ++++++++++++++++++++++++++++ cpp/poppler-private.h | 9 +++++ cpp/tests/poppler-dump.cpp | 34 +++++++++++++++++ 4 files changed, 189 insertions(+) commit e25d4af6ed9b254db3096a2e483798734296376d Author: Adam Reichold Date: Sun Feb 18 09:43:58 2018 +0100 Fix warnings due to unhandled link types in XML serialization of annotations code in the Qt5 frontend. qt5/src/poppler-annotation.cc | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit e015ab97c1ee3a4ea386ccc86385aad458827d96 Author: Adam Reichold Date: Sun Feb 18 09:42:58 2018 +0100 Fix warnings due to the use of deprecated overloads of Poppler::Page::Search in tests of Qt5 frontend. qt5/tests/check_search.cpp | 38 +++++++++++++++++++------------------- qt5/tests/stress-threads-qt5.cpp | 10 +++++----- 2 files changed, 24 insertions(+), 24 deletions(-) commit 732903ecf1bdb085cac36eb29d330a7970670064 Author: Adam Reichold Date: Sun Feb 18 09:42:04 2018 +0100 Fix buffer size warning due to missing space for null terminator in pdfseparate. utils/pdfseparate.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 791e024656212c65d798cb69a134cdd3e30cc79e Author: Albert Astals Cid Date: Sun Feb 18 23:05:59 2018 +0100 Make it work with newer gtk-doc Hopefully still works with older versions Bug #105075 gtkdoc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 948d392d9acc3d82b86a260c952095a603fe767f Author: William Bader Date: Sun Feb 18 22:06:02 2018 +0100 Add python3 support to gtkdoc.py gtkdoc.py | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 73130ae1125c86ebd0ee504d0681d9911ff2cfbd Author: Albert Astals Cid Date: Wed Feb 14 17:40:23 2018 +0100 SplashGouraudPattern: Remove mode member variable We don't need it anymore, was introduced in the initial overprint implementation and was forgotten to be removed when merging xpdf 3.03 poppler/SplashOutputDev.cc | 9 ++------- poppler/SplashOutputDev.h | 5 ++--- 2 files changed, 4 insertions(+), 10 deletions(-) commit 37efb98d77c14c27a22806ec676c13f0a8b99490 Author: Albert Astals Cid Date: Wed Feb 14 17:43:41 2018 +0100 SplashOutputDev:: Remove unused maskBitmap member poppler/SplashOutputDev.h | 1 - 1 file changed, 1 deletion(-) commit e3cece1bfc00083637f709f7647b4711b5c6a084 Author: Albert Astals Cid Date: Fri Feb 2 23:17:11 2018 +0100 Fix some -Wshadow warnings More to come, -Wshadow is interesting but if we enable it we still get too many warnings for it to be useful cpp/tests/poppler-dump.cpp | 6 ++-- poppler/CachedFile.cc | 8 +++--- poppler/CairoFontEngine.cc | 64 +++++++++++++++++++++--------------------- poppler/CairoOutputDev.cc | 5 ++-- poppler/CairoOutputDev.h | 4 +-- poppler/Decrypt.cc | 6 ++-- poppler/FontInfo.cc | 5 ++-- poppler/Gfx.cc | 2 +- poppler/GfxFont.cc | 12 ++++---- poppler/GfxState.cc | 31 +++++++++----------- poppler/JBIG2Stream.cc | 11 ++++---- poppler/PDFDoc.cc | 4 +-- poppler/StructElement.cc | 6 ++-- poppler/StructTreeRoot.cc | 8 +++--- poppler/TextOutputDev.h | 4 +-- poppler/XRef.cc | 4 +-- qt5/src/ArthurOutputDev.cc | 4 +-- qt5/src/poppler-annotation.cc | 18 ++++++------ qt5/src/poppler-media.cc | 4 +-- qt5/src/poppler-page.cc | 24 ++++++++-------- qt5/tests/test-poppler-qt5.cpp | 10 ++++--- splash/SplashFTFontFile.cc | 5 ++-- utils/ImageOutputDev.cc | 8 +++--- utils/pdfinfo.cc | 7 ++--- utils/pdftocairo.cc | 22 +++++++-------- utils/pdftoppm.cc | 20 ++++++------- 26 files changed, 149 insertions(+), 153 deletions(-) commit 8cfe91ae51fa50e66217c6bbcb236ec3a267e45e Author: Albert Astals Cid Date: Fri Feb 2 23:22:33 2018 +0100 CairoOutputDev: Remove two unused member variables poppler/CairoOutputDev.h | 2 -- 1 file changed, 2 deletions(-) commit b1016f574ac63fa269ca5125827895220e1df883 Author: Albert Astals Cid Date: Thu Feb 1 22:46:33 2018 +0100 Qt5: Add cancellation support to renderToImage and textList qt5/src/poppler-page.cc | 148 ++++++++++++++++++++++++++++-------------------- qt5/src/poppler-qt5.h | 98 +++++++++++++++++++++++++++++++- 2 files changed, 185 insertions(+), 61 deletions(-) commit 248aa0f5832ce063a9ae061dfcf54596e0ea5fba Author: Albert Astals Cid Date: Sun Jan 28 00:25:38 2018 +0100 Fix build without libpng utils/ImageOutputDev.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f93fa48839be2937cd7ce38c14884428416bcc4b Author: Andreas Gruenbacher Date: Sat Jan 27 20:24:09 2018 +0100 Fix build without libtiff Bug #104813 utils/ImageOutputDev.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f65f60e5d3f5e4109a79212a9994b5096a2a2a8d Author: Jason Crain Date: Thu Jan 18 11:57:33 2018 -0600 GfxFontDict: merge reference generation from xpdf 4.00 The GfxFontDict constructor generates a fake indirect reference if the font dictionary doesn't have a real indirect reference. It sometimes assigns the same reference to two different fonts leading to a wrong font being used. XPDF 4.00 fixes this by using the hash of the font data to create the fake reference. https://bugs.freedesktop.org/show_bug.cgi?id=104565 poppler/GfxFont.cc | 125 +++++++++++++++++++++++++++++++++++++++++++++++++---- poppler/GfxFont.h | 4 ++ 2 files changed, 120 insertions(+), 9 deletions(-) commit 7342327039dfc750934f3ce7ff0bdb6bc585151c Author: Albert Astals Cid Date: Wed Jan 17 22:33:42 2018 +0100 Form.h: include time.h for time_t poppler/Form.h | 2 ++ 1 file changed, 2 insertions(+) commit a89e7474fcd9e7e6dd1330c585130346aa862598 Author: suzuki toshiya Date: Wed Jan 17 00:22:55 2018 +0100 Enable building all libs as static libs if the correct switch is used cpp/CMakeLists.txt | 2 +- glib/CMakeLists.txt | 4 ++-- qt5/src/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 7f550e88d86482adcfab6e054ff14588b32b692a Author: Albert Astals Cid Date: Sun Jan 14 20:51:19 2018 +0100 Remove declare but unused Object instances poppler/Annot.cc | 36 ------------------------------------ poppler/CairoFontEngine.cc | 2 -- poppler/Catalog.cc | 1 - poppler/Form.cc | 2 +- poppler/Lexer.cc | 1 - poppler/Link.cc | 2 -- poppler/PDFDoc.cc | 1 - poppler/SplashOutputDev.cc | 2 -- poppler/XRef.cc | 1 - qt5/src/ArthurOutputDev.cc | 1 - utils/JSInfo.cc | 1 - utils/pdfinfo.cc | 1 - utils/pdfseparate.cc | 1 - 13 files changed, 1 insertion(+), 51 deletions(-) commit 4b237953b187f38c90b9a747f587cbc277db6d45 Author: Albert Astals Cid Date: Sun Jan 14 20:17:56 2018 +0100 pdfsig: Remove "int i = 0;" variable that was shadowing pevious i And making us access the wrong sig_widgets element utils/pdfsig.cc | 1 - 1 file changed, 1 deletion(-) commit 08f2cddf18b6ccdc13861b52821cbbf2d3e48472 Author: Albert Astals Cid Date: Thu Jan 11 19:38:29 2018 +0100 GfxFunctionShading::parse: Fix abort in malformed document Bug #104581 poppler/GfxState.cc | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) commit 10831921281f75b4b2c05ab85f4093331788e6a8 Author: Albert Astals Cid Date: Thu Jan 11 00:27:50 2018 +0100 GfxGouraudTriangleShading::parse: Don't abort on malformed documents Bug #104567 poppler/GfxState.cc | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit a59f61641fcb36859b625749afb4561557e419f6 Author: Albert Astals Cid Date: Wed Jan 10 23:24:19 2018 +0100 PDFDoc::setup: Fail early if base stream length is 0 Bug #103552 poppler/PDFDoc.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 00c1566e8cc0dacd899ec6dd267265f4b714eae4 Author: Albert Astals Cid Date: Wed Jan 10 00:49:51 2018 +0100 UnicodeMapFuncs: Move implementation to .cpp With that the last warning i got on poppler core is gone \o/ CMakeLists.txt | 1 + poppler/UnicodeMapFuncs.cc | 88 ++++++++++++++++++++++++++++++++++++++++++++++ poppler/UnicodeMapFuncs.h | 64 +++------------------------------ 3 files changed, 93 insertions(+), 60 deletions(-) commit bf6d79b5c6b5bdcc0d79b4eebd85840e8f2e30ef Author: Albert Astals Cid Date: Wed Jan 10 00:49:33 2018 +0100 Forgot C for last commit poppler/UTF.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ebf33c2b0c66c456683c189af1b297fe24adcf9d Author: Albert Astals Cid Date: Wed Jan 10 00:40:38 2018 +0100 utf16CountUtf8Bytes: initialize codepoint to 0 Was tired of seeing the warning I actually think the code is a little bit fishy for invalid values, but since we only use it for win32 builds i'm not spending much more time looking at it. poppler/UTF.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43ad7071aa126d3b6754421b544e114d87fdd82a Author: Albert Astals Cid Date: Tue Jan 9 23:41:01 2018 +0100 qt5: Implement operator= for PageTransition qt5/src/poppler-page-transition.cc | 10 ++++++++++ qt5/src/poppler-page-transition.h | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) commit c2711874a4afc00448c21e86fdaf0b7aec40b623 Author: Albert Astals Cid Date: Tue Jan 9 19:47:29 2018 +0100 Fix another clazy rule-of-three warning We can just use the default copy assignemnt and constructor for Parent poppler/StructTreeRoot.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 30ccee028213efcf3d3a103ae6003bdcd15e1126 Author: Albert Astals Cid Date: Tue Jan 9 19:42:53 2018 +0100 Fix more Wmissing-field-initializer by using the default initializer goo/gfile.cc | 6 +++--- poppler/GlobalParamsWin.cc | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit ef4e450c921f4373955def51a74ebffd8f7b4599 Author: Albert Astals Cid Date: Tue Jan 9 19:36:16 2018 +0100 Enable no-missing-field-initializers cmake/modules/PopplerMacros.cmake | 2 +- glib/poppler-structure-element.cc | 29 +++++++++++++++-------------- poppler/GfxFont.cc | 4 ++-- poppler/JBIG2Stream.cc | 20 ++++++++++---------- test/gtk-test.cc | 2 +- test/pdf-fullrewrite.cc | 2 +- utils/pdfdetach.cc | 3 ++- utils/pdffonts.cc | 4 ++-- utils/pdfimages.cc | 4 ++-- utils/pdfinfo.cc | 4 ++-- utils/pdfseparate.cc | 4 ++-- utils/pdfsig.cc | 4 ++-- utils/pdftocairo.cc | 4 ++-- utils/pdftohtml.cc | 4 ++-- utils/pdftoppm.cc | 4 ++-- utils/pdftops.cc | 4 ++-- utils/pdftotext.cc | 4 ++-- utils/pdfunite.cc | 4 ++-- 18 files changed, 54 insertions(+), 52 deletions(-) commit efd2205a0bc9e838fd2184c329f8370aa292c346 Author: suzuki toshiya Date: Tue Jan 9 00:03:59 2018 +0100 add "--owner root:0 --group root:0" options to tar command in dist target Because git-archive always uses root:root in the generated tarball, the source tarballs (since 0.60.0) have 2 uid/gids in it. "root:root" by git-archive, and normal users/group by normal tar. For detail, please find the analysis at:: https://lists.freedesktop.org/archives/poppler/2017-December/012737.html Bug #104398 CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cbd864b74fe368c1172974c7040c67ddfbc52cf6 Author: Albert Astals Cid Date: Mon Jan 8 23:48:57 2018 +0100 Fix abort in Gfx::opBeginMarkedContent if args[1] is not a name Bug #104468 poppler/Gfx.cc | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit 1aaf621f511ca4c235cb30a5ddbf050acd30fe91 Author: Ben Timby Date: Mon Jan 8 23:42:40 2018 +0100 Check return code of getChar(), abort reading on error. Bug #104502 poppler/PDFDoc.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit ad7f6acd3c643b5bc0c9b7f91616f678b178a041 Author: Albert Astals Cid Date: Mon Jan 8 23:40:25 2018 +0100 (C) of last commit poppler/Lexer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 582153b68e076c0f2ae71392f7553181c466e849 Author: Albert Astals Cid Date: Mon Jan 8 23:34:13 2018 +0100 Lexer: Check curStr is actually a Stream before doing Stream operations Bug #104518 poppler/Lexer.cc | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit dea6e03352084361e7c89cff7adaa53110c4e91a Author: Albert Astals Cid Date: Mon Jan 8 23:25:39 2018 +0100 Fix new Object API porting bug When doing the XRef::readXRefTable workaround of moving entries[1] to entries[0] set the entries[1] object back to null Bug #104517 poppler/XRef.cc | 1 + 1 file changed, 1 insertion(+) commit 4c9e1b66725051cd4726baf19d891c2d9c710868 Author: Albert Astals Cid Date: Mon Jan 8 23:09:13 2018 +0100 A few more nullptr poppler/Link.h | 2 +- poppler/Object.h | 4 ++-- poppler/OutputDev.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit e428033c2d7efbbbf89bb2f84c8998521ac7ef8e Author: Albert Astals Cid Date: Mon Jan 8 22:55:00 2018 +0100 Run clang-tidy with modernize nullptr Also add two enum values in the qt5 frontend to representate no flags Also mark glib/gtk/cairo system includes so that gcc doesn't report the issues in those headers cmake/modules/PopplerMacros.cmake | 2 +- cpp/poppler-document.cpp | 50 +- cpp/poppler-image.cpp | 20 +- cpp/poppler-page.cpp | 8 +- cpp/poppler-private.cpp | 2 +- cpp/poppler-toc.cpp | 4 +- cpp/tests/poppler-dump.cpp | 2 +- cpp/tests/poppler-render.cpp | 2 +- fofi/FoFiBase.cc | 10 +- fofi/FoFiEncodings.cc | 396 +- fofi/FoFiIdentifier.cc | 2 +- fofi/FoFiTrueType.cc | 30 +- fofi/FoFiType1.cc | 18 +- fofi/FoFiType1C.cc | 28 +- glib/CMakeLists.txt | 4 + glib/demo/info.cc | 12 +- glib/poppler-action.cc | 54 +- glib/poppler-annot.cc | 64 +- glib/poppler-attachment.cc | 12 +- glib/poppler-cached-file-loader.cc | 16 +- glib/poppler-document.cc | 246 +- glib/poppler-form-field.cc | 30 +- glib/poppler-input-stream.cc | 14 +- glib/poppler-layer.cc | 16 +- glib/poppler-media.cc | 10 +- glib/poppler-movie.cc | 6 +- glib/poppler-page.cc | 124 +- glib/poppler-structure-element.cc | 200 +- glib/poppler.cc | 8 +- goo/GooHash.cc | 24 +- goo/GooString.cc | 16 +- goo/GooTimer.cc | 6 +- goo/PNGWriter.cc | 6 +- goo/TiffWriter.cc | 18 +- goo/gfile.cc | 26 +- goo/gmem.cc | 18 +- goo/grandom.cc | 4 +- goo/gstrtod.cc | 10 +- poppler/Annot.cc | 300 +- poppler/Array.cc | 2 +- poppler/BuiltinFont.cc | 2 +- poppler/BuiltinFontTables.cc | 8374 ++++++++++++++++++------------------ poppler/CMap.cc | 22 +- poppler/CairoFontEngine.cc | 42 +- poppler/CairoOutputDev.cc | 108 +- poppler/CairoRescaleBox.cc | 6 +- poppler/Catalog.cc | 76 +- poppler/CharCodeToUnicode.cc | 28 +- poppler/CurlCachedFile.cc | 6 +- poppler/DCTStream.cc | 16 +- poppler/DateInfo.cc | 4 +- poppler/Decrypt.cc | 4 +- poppler/Dict.cc | 8 +- poppler/Error.cc | 4 +- poppler/FileSpec.cc | 18 +- poppler/FontEncodingTables.cc | 980 ++--- poppler/FontInfo.cc | 22 +- poppler/Form.cc | 70 +- poppler/Function.cc | 26 +- poppler/Gfx.cc | 146 +- poppler/GfxFont.cc | 134 +- poppler/GfxState.cc | 346 +- poppler/GlobalParams.cc | 76 +- poppler/GlobalParamsWin.cc | 170 +- poppler/Hints.cc | 18 +- poppler/JArithmeticDecoder.cc | 2 +- poppler/JBIG2Stream.cc | 202 +- poppler/JPEG2000Stream.cc | 22 +- poppler/Lexer.cc | 8 +- poppler/Linearization.cc | 16 +- poppler/Link.cc | 52 +- poppler/MarkedContentOutputDev.cc | 22 +- poppler/Movie.cc | 2 +- poppler/NameToCharCode.cc | 4 +- poppler/NameToUnicodeTable.h | 4 +- poppler/OptionalContent.cc | 28 +- poppler/Outline.cc | 10 +- poppler/OutputDev.cc | 6 +- poppler/PDFDoc.cc | 84 +- poppler/PSOutputDev.cc | 162 +- poppler/PSOutputDev.h | 2 +- poppler/Page.cc | 10 +- poppler/PageLabelInfo.cc | 2 +- poppler/Parser.cc | 10 +- poppler/PopplerCache.cc | 4 +- poppler/Rendition.cc | 4 +- poppler/SecurityHandler.cc | 26 +- poppler/SignatureHandler.cc | 60 +- poppler/Sound.cc | 10 +- poppler/SplashOutputDev.cc | 186 +- poppler/StdinCachedFile.cc | 2 +- poppler/StdinPDFDocBuilder.cc | 2 +- poppler/Stream.cc | 70 +- poppler/StructElement.cc | 72 +- poppler/StructElement.h | 30 +- poppler/StructTreeRoot.cc | 4 +- poppler/StructTreeRoot.h | 2 +- poppler/TextOutputDev.cc | 224 +- poppler/UTF.cc | 6 +- poppler/UnicodeMap.cc | 18 +- poppler/UnicodeTypeTable.cc | 938 ++-- poppler/XRef.cc | 38 +- qt5/demos/abstractinfodock.h | 2 +- qt5/demos/documentobserver.cpp | 2 +- qt5/demos/embeddedfiles.h | 2 +- qt5/demos/fonts.h | 2 +- qt5/demos/info.h | 2 +- qt5/demos/metadata.h | 2 +- qt5/demos/navigationtoolbar.h | 2 +- qt5/demos/optcontent.cpp | 2 +- qt5/demos/optcontent.h | 2 +- qt5/demos/pageview.h | 2 +- qt5/demos/permissions.h | 2 +- qt5/demos/thumbnails.h | 2 +- qt5/demos/toc.cpp | 4 +- qt5/demos/toc.h | 2 +- qt5/demos/viewer.cpp | 4 +- qt5/src/ArthurOutputDev.cc | 2 +- qt5/src/poppler-annotation.cc | 60 +- qt5/src/poppler-base-converter.cc | 8 +- qt5/src/poppler-document.cc | 18 +- qt5/src/poppler-embeddedfile.cc | 14 +- qt5/src/poppler-form.cc | 6 +- qt5/src/poppler-link.cc | 4 +- qt5/src/poppler-media.cc | 2 +- qt5/src/poppler-movie.cc | 2 +- qt5/src/poppler-optcontent.cc | 16 +- qt5/src/poppler-optcontent.h | 2 +- qt5/src/poppler-page.cc | 36 +- qt5/src/poppler-pdf-converter.cc | 2 +- qt5/src/poppler-private.cc | 16 +- qt5/src/poppler-private.h | 2 +- qt5/src/poppler-ps-converter.cc | 10 +- qt5/src/poppler-qt5.h | 8 +- qt5/src/poppler-sound.cc | 2 +- qt5/tests/check_lexer.cpp | 2 +- qt5/tests/check_metadata.cpp | 8 +- qt5/tests/check_search.cpp | 2 +- qt5/tests/stress-threads-qt5.cpp | 12 +- qt5/tests/test-poppler-qt5.cpp | 2 +- splash/Splash.cc | 110 +- splash/SplashBitmap.cc | 18 +- splash/SplashClip.cc | 12 +- splash/SplashFTFont.cc | 8 +- splash/SplashFTFontEngine.cc | 8 +- splash/SplashFTFontFile.cc | 12 +- splash/SplashFont.cc | 8 +- splash/SplashFontEngine.cc | 22 +- splash/SplashFontFile.cc | 4 +- splash/SplashPath.cc | 8 +- splash/SplashScreen.cc | 4 +- splash/SplashState.cc | 22 +- splash/SplashXPath.cc | 8 +- splash/SplashXPathScanner.cc | 4 +- test/CMakeLists.txt | 5 +- test/gtk-test.cc | 28 +- test/pdf-fullrewrite.cc | 14 +- test/pdf-inspector.cc | 22 +- test/perf-test.cc | 66 +- utils/HtmlFonts.cc | 8 +- utils/HtmlLinks.cc | 6 +- utils/HtmlOutputDev.cc | 94 +- utils/ImageOutputDev.cc | 10 +- utils/JSInfo.cc | 4 +- utils/Win32Console.cc | 2 +- utils/parseargs.cc | 2 +- utils/pdfdetach.cc | 8 +- utils/pdffonts.cc | 6 +- utils/pdfimages.cc | 8 +- utils/pdfinfo.cc | 6 +- utils/pdfseparate.cc | 14 +- utils/pdfsig.cc | 12 +- utils/pdftocairo-win32.cc | 22 +- utils/pdftocairo.cc | 34 +- utils/pdftohtml.cc | 36 +- utils/pdftoppm.cc | 20 +- utils/pdftops.cc | 8 +- utils/pdftotext.cc | 10 +- utils/pdfunite.cc | 16 +- 179 files changed, 7929 insertions(+), 7920 deletions(-) commit 2e47887616155dee566083e1aac9adab69aa4386 Author: Albert Astals Cid Date: Mon Jan 8 22:14:34 2018 +0100 Seems we don't need to set this cmake policies to OLD builds fine without warnings cmake/modules/PopplerDefaults.cmake | 8 -------- 1 file changed, 8 deletions(-) commit 1ae5d91467663576a5d11add69fa72a2d108f0ad Author: Albert Astals Cid Date: Mon Jan 8 18:45:43 2018 +0100 Remove useless return in a void function poppler/SplashOutputDev.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8794789a72f845b009656e6d7ae6a00b709e09bc Author: Albert Astals Cid Date: Mon Jan 8 18:07:38 2018 +0100 Delete lots of copy constructors and copy assignment operators Fixes rule-of-three and copyable-polymorphic warnings reported by clazy. The default copy constructor and copy assignment operator are only valid for simple classes so we delete them (i.e. make then not exist) when we have either a virtual class or a destructor, the code still compiles so this doesn't fix any bug, it is more a protection for when you think you can copy a class and don't realize the default copy constrcutor is not doing what you want and you get crashes. Hopefully this helps us in the future :) cpp/poppler-document-private.h | 4 ++++ cpp/poppler-embedded-file-private.h | 4 ++++ cpp/poppler-global.cpp | 3 +++ cpp/poppler-image-private.h | 4 ++++ cpp/poppler-image.cpp | 4 +++- cpp/poppler-page-private.h | 4 ++++ cpp/poppler-toc-private.h | 4 ++++ fofi/FoFiBase.h | 16 ++++++++++++++ fofi/FoFiIdentifier.cc | 4 ++++ goo/GooMutex.h | 5 ++++- goo/ImgWriter.h | 6 +++++- goo/gfile.h | 5 ++++- poppler/Annot.h | 38 +++++++++++++++++++++++++++++++++- poppler/Array.h | 5 ++++- poppler/BuiltinFont.h | 18 ++++++++++++++++ poppler/CMap.h | 8 ++++++- poppler/CachedFile.h | 9 +++++++- poppler/CairoFontEngine.h | 6 +++++- poppler/CairoOutputDev.h | 4 ++++ poppler/CairoRescaleBox.h | 4 ++++ poppler/Catalog.h | 9 +++++++- poppler/CharCodeToUnicode.h | 8 ++++++- poppler/Dict.h | 5 ++++- poppler/FileSpec.h | 8 ++++++- poppler/FontInfo.h | 4 +++- poppler/Form.h | 8 ++++++- poppler/Function.h | 5 ++++- poppler/Gfx.cc | 5 ++++- poppler/Gfx.h | 8 ++++++- poppler/GfxFont.h | 11 +++++++++- poppler/GfxState.cc | 2 ++ poppler/GfxState.h | 26 ++++++++++++++++++++++- poppler/GlobalParams.cc | 6 +++++- poppler/GlobalParams.h | 5 ++++- poppler/Hints.h | 5 ++++- poppler/JArithmeticDecoder.h | 18 ++++++++++++++++ poppler/JBIG2Stream.cc | 4 +++- poppler/Lexer.h | 5 ++++- poppler/Link.h | 10 +++++++++ poppler/MarkedContentOutputDev.h | 4 ++++ poppler/Movie.h | 3 ++- poppler/NameToCharCode.h | 17 +++++++++++++++ poppler/OptionalContent.h | 11 +++++++++- poppler/Outline.h | 8 ++++++- poppler/PDFDoc.h | 5 ++++- poppler/PDFDocBuilder.h | 8 +++++-- poppler/PDFDocFactory.h | 5 ++++- poppler/PSOutputDev.cc | 7 ++++++- poppler/Page.h | 5 ++++- poppler/PageLabelInfo.h | 6 +++++- poppler/Parser.h | 5 ++++- poppler/PopplerCache.h | 18 +++++++++++++--- poppler/Rendition.h | 3 ++- poppler/SecurityHandler.cc | 5 ++++- poppler/SecurityHandler.h | 5 ++++- poppler/Sound.h | 5 ++++- poppler/SplashOutputDev.cc | 4 +++- poppler/Stream.h | 14 ++++++++++++- poppler/StructElement.h | 5 ++++- poppler/StructTreeRoot.h | 4 ++++ poppler/TextOutputDev.cc | 2 ++ poppler/TextOutputDev.h | 29 +++++++++++++++++++++++++- poppler/UnicodeMap.h | 7 +++++++ poppler/XRef.cc | 5 ++++- poppler/XRef.h | 9 +++++++- qt5/demos/documentobserver.h | 3 +++ qt5/src/poppler-annotation-private.h | 5 ++++- qt5/src/poppler-annotation.cc | 14 ++++++++++++- qt5/src/poppler-converter-private.h | 5 ++++- qt5/src/poppler-embeddedfile-private.h | 5 ++++- qt5/src/poppler-link-private.h | 5 ++++- qt5/src/poppler-media.cc | 5 ++++- qt5/src/poppler-movie.cc | 5 ++++- qt5/src/poppler-optcontent-private.h | 5 ++++- qt5/src/poppler-page-transition.cc | 3 +++ qt5/src/poppler-page-transition.h | 3 ++- qt5/src/poppler-private.h | 18 +++++++--------- qt5/src/poppler-sound.cc | 5 ++++- splash/Splash.h | 5 ++++- splash/SplashBitmap.h | 5 ++++- splash/SplashClip.h | 5 ++++- splash/SplashFTFontEngine.h | 5 ++++- splash/SplashFont.h | 5 ++++- splash/SplashFontEngine.h | 5 ++++- splash/SplashFontFile.h | 8 ++++++- splash/SplashFontFileID.h | 16 ++++++++++++++ splash/SplashPath.h | 17 +++++++++++++++ splash/SplashPattern.h | 4 ++++ splash/SplashScreen.h | 5 ++++- splash/SplashState.h | 4 ++++ splash/SplashXPath.h | 4 ++++ splash/SplashXPathScanner.h | 4 ++++ test/perf-test.cc | 4 ++++ utils/HtmlFonts.h | 4 +++- utils/HtmlLinks.h | 5 ++++- utils/HtmlOutputDev.cc | 4 +++- utils/HtmlOutputDev.h | 13 ++++++++++-- 97 files changed, 626 insertions(+), 83 deletions(-) commit 4c7814342806b61fedbb2d45ce74462f9dbc20bc Author: Albert Astals Cid Date: Thu Jan 4 23:12:54 2018 +0100 Fix assert on malformed documents Bug #104354 poppler/GfxState.cc | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit 6233710068e8406cb44741bdc74d1a0e2582e5cf Author: Adrian Johnson Date: Thu Jan 4 15:41:11 2018 +1030 Remove error for wrong child type for tagged pdf It is harmless and as a few PDFs do this it just adds noise to the output. Bug #103587 poppler/StructTreeRoot.cc | 3 --- 1 file changed, 3 deletions(-) commit 321538259a9c79a99ce846a6ea2d94dd7fa56f61 Author: Adrian Johnson Date: Sun Nov 26 20:43:15 2017 +1030 Fix some bugs in StructTreeRoot parsing of parent tree - Add support for parsing child nodes in the number tree - Number tree keys do not have to be consecutive numbers. Use map instead of vector for parentTree. - Due to performance impact of iterating a map instead of vector in parentTreeAdd, add a reverse mapping from Ref to parentTree. - Add mcid parameter to findParentElement() to enable finding the parent when there are multiple MCIDs on the same page. - Move RefCompare from pdfinfo.cc to Object.h so it can be used by other files. Bug #103912 poppler/Object.h | 8 +++ poppler/StructElement.cc | 2 +- poppler/StructTreeRoot.cc | 121 +++++++++++++++++++++++++++------------------- poppler/StructTreeRoot.h | 14 ++++-- utils/pdfinfo.cc | 6 --- 5 files changed, 91 insertions(+), 60 deletions(-) commit c4cbb4fd5e062544bf34109140266d0b027a512b Author: Adrian Johnson Date: Mon Oct 30 19:21:41 2017 +1030 Fix pdfimages with flate encoded inline images - Remove advance strem pos to end of image code from listImage(). getInlineImageLength() already does this. - Always EmbedStream in getInlineImageLength() to get size of stored image. The type of encoding does not matter. - Use same record EmbeddeStream code for all image types in writeImage() - Fix some memory leaks Bug #103446 utils/ImageOutputDev.cc | 54 ++++++++++++------------------------------------- 1 file changed, 13 insertions(+), 41 deletions(-) commit f87238296f7a81f131f2525c4ea3a26d14e8a7ff Author: Adrian Johnson Date: Wed Jan 3 08:36:58 2018 +1030 Fix EmbedStream replay Bug #103446 poppler/Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e70990c5b2d95a9099b8f4a1c69ca9e5b2a559a4 Author: Albert Astals Cid Date: Wed Jan 3 00:46:42 2018 +0100 qt5: make the check for rendition a bit earlier qt5/src/poppler-annotation.cc | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 9f08b62ea283ea66b35cfc6dab3e7f45bc4170b9 Author: Albert Astals Cid Date: Wed Jan 3 00:32:23 2018 +0100 qt5: Do not assume all Screen annotation actions are Renditions Fixes KDE bug #388175 qt5/src/poppler-annotation.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 15272137daf186114d8dfeb6898d8d90b3ccfd91 Author: Albert Astals Cid Date: Wed Jan 3 00:14:13 2018 +0100 Fix undefined sanitizer warning about qsort Said the first parameter is defined by spec to not be null and we where passing null when there's no blocks, so add an if poppler/TextOutputDev.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 066e6a3e0487f9e011f7b8d1ccff62def8db1e6c Author: Albert Astals Cid Date: Wed Jan 3 00:15:14 2018 +0100 Welcome 2018 poppler/poppler-config.h.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9958ecb87de34b923a17521c8bb149569bacca8 Author: Oliver Sander Date: Sat Oct 28 21:16:55 2017 +0200 ArthurOutputDev: Rudimentary support for transparency groups This patch adds minimal support for transparency groups. With it, the Arthur backend can render highlight annotations. qt5/src/ArthurOutputDev.cc | 46 ++++++++++++++++++++++++++++++++++++++++++++++ qt5/src/ArthurOutputDev.h | 15 +++++++++++++++ 2 files changed, 61 insertions(+) commit bda1d76fc3c9cf69b2b67d94278e136ac50c3e3b Author: Oliver Sander Date: Fri Dec 29 00:14:44 2017 +0100 ArthurOutputDev: Replace the QPainter by a stack of QPainters This patch lays some groundwork for the support of transparency groups. Transparency groups temporarily create new painters. These get painted upon, and then the resulting new painting will be drawn at once onto the original PaintDevice. To implement this, we need a stack of painters rather than a single one. The first painter on the stack is the original one. Opening a transparency group pushes a new painter onto the stack, and all drawing operations always go to the painter on the top of the stack. qt5/src/ArthurOutputDev.cc | 88 +++++++++++++++++++++++----------------------- qt5/src/ArthurOutputDev.h | 7 +++- 2 files changed, 50 insertions(+), 45 deletions(-) commit 71b04b79154a8edd27e73a2360d0c3a901246d8c Author: Oliver Sander Date: Fri Aug 11 22:23:46 2017 +0200 ArthurOutputDev: Implement updateBlendMode qt5/src/ArthurOutputDev.cc | 52 ++++++++++++++++++++++++++++++++++++++++++++++ qt5/src/ArthurOutputDev.h | 1 + 2 files changed, 53 insertions(+) commit 9b981f9123fe8c3c8662015de341cff76aa28b07 Author: Thomas Freitag Date: Thu Dec 28 00:55:39 2017 +0100 FoFiTrueType::readPostTable() from xpdf 4.00 Bug #102880 fofi/FoFiTrueType.cc | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) commit 00fc829352716b04d9ab59552daefffed20e2852 Author: Thomas Freitag Date: Thu Dec 28 00:55:00 2017 +0100 Break loop if recursionLimit is reached poppler/Parser.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e41ce80a27b735df8e2ccc17e15adea012543712 Author: Albert Astals Cid Date: Wed Dec 27 00:18:47 2017 +0100 OutlineItem: Store parent and refNum This way when opening our children we make sure they are not also our parent (i.e. there's a loop) Fixes bug #102914 poppler/Outline.cc | 31 +++++++++++++++++-------------- poppler/Outline.h | 6 ++++-- 2 files changed, 21 insertions(+), 16 deletions(-) commit ffefe1c038de555ed39c3d9eca6ef79ac1f97b86 Author: Albert Astals Cid Date: Tue Dec 26 23:57:21 2017 +0100 qt5: demo: don't crash if page is malformed qt5/demos/pageview.cpp | 7 +++++++ 1 file changed, 7 insertions(+) commit 81461f4cddf6b8705e6cf24d20084fc71891bb91 Author: Albert Astals Cid Date: Sat Dec 23 11:20:43 2017 +0100 Remove another LCMS1 old ifdef utils/pdftocairo.cc | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 2556ec0705373a01feffe3ca0cd7147af2fdd2c9 Author: suzuki toshiya Date: Sat Dec 23 11:19:17 2017 +0100 Remove libcms1 crumbs from pdftocairo and qt5 frontend Bug #104358 qt5/src/poppler-document.cc | 5 +---- utils/pdftocairo.cc | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) commit 48de59a92a5f88d10a1a53abf7f15f578104e1ed Author: Carlos Garcia Campos Date: Thu Dec 21 13:25:37 2017 +0100 regtest: Add an option to exit after n failures Note that running jobs are not cancelled when max failures is reached, so we usually end up getting more failures than the maximum. regtest/HTMLReport.py | 2 ++ regtest/Printer.py | 15 ++++++++++++++ regtest/TestRun.py | 46 +++++++++++++++++++++++++++++++++++++++++-- regtest/commands/run-tests.py | 8 +++++++- 4 files changed, 68 insertions(+), 3 deletions(-) commit 79a096a48c735ac301ae4d7439bddf630a559a96 Author: Vincent Le Garrec Date: Thu Dec 21 00:57:48 2017 +0100 Fix index out of bounds undefined behaviour in PSTokenizer Bug #103583 poppler/PSTokenizer.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit c138ec620b5084348dc892bf9fd8228ed098970a Author: Oliver Sander Date: Tue Nov 28 16:40:40 2017 +0100 Arthur: 'clip' should intersect new and old clipping path Previously, the 'clip' method of the ArthurOutputDev class replaced the current clipping path with the one given in the GfxState variable. However, the expected behavior is to intersect the new path with the old one, and use the result as the new clipping path. qt5/src/ArthurOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7b434a7ad9333a3b2250d636a517c58d9a12bca2 Author: Pekka Vuorela Date: Fri Dec 15 16:56:20 2017 +0200 Honor configuration for building glibc copy of strtok_r config.h didn't get included and HAVE_STRTOK_R was never defined. Now getting via glibc.h. goo/glibc_strtok_r.cc | 3 +++ 1 file changed, 3 insertions(+) commit c2037af18095bb42dd43bafb42650df469e7e5ef Author: Oliver Sander Date: Wed Oct 18 23:23:50 2017 +0200 Don't let ArthurOutputDev be friend of SplashPath anymore Now that ArthurOutputDev uses Qt glyph rendering, there is not need for it to be friend of SplashPath anymore. splash/SplashPath.h | 2 -- 1 file changed, 2 deletions(-) commit 33c3b391dfc3c10b1b63b0b82df4dcb47b71c53a Author: Fredrik Fornwall Date: Tue Dec 19 00:37:44 2017 +0100 PDFDoc: use %c instead of \x to output binary Bug #103873 poppler/PDFDoc.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 15dd674a384c80a8f3d4f0647f6617ba72d9bd26 Author: Albert Astals Cid Date: Thu Dec 14 15:11:31 2017 +0100 Remove unused FindLIBOPENJPEG.cmake cmake/modules/FindLIBOPENJPEG.cmake | 64 ------------------------------------- 1 file changed, 64 deletions(-) commit 65dcc0b9c16c80e6718ada060d7ac0e2c0e39abf Author: Albert Astals Cid Date: Wed Dec 13 10:40:50 2017 +0100 Reset lastAbortCheck on updateLevel reset Otherwise we get to a point that the if (updateLevel - lastAbortCheck > 10) { branch is never executed because updateLevel got to 20000 but lastAbortCheck is still at the last value poppler/Gfx.cc | 2 ++ 1 file changed, 2 insertions(+) commit 3690e96154b226025b465ac2260cf1ff2d269abd Author: Albert Astals Cid Date: Wed Dec 13 00:07:20 2017 +0100 Remove the extern C from glib.h Apparently this fixes build with MSVC Bug #103621 goo/glibc.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit f5706275121409887b0e486b896b48cbcccb766a Author: Adrian Johnson Date: Sun Oct 22 10:26:55 2017 +1030 cairo: limit image size when printing 1 bpp image formats can have very large sizes. Even if the maximum cairo image size is not exceeded, it still uses a huge amount of memory and is very slow. This limits the image size when printing to 8192x8192 which is sufficient for 300ppi at A2 size. Cairo >= 1.5.10 scales mime images to the same dimensions as the cairo image, so the original mime image can still be embedded. Bug 103399 poppler/CairoOutputDev.cc | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) commit 3f13dd5f04984be1912b4537ffbfacd892750915 Author: Adrian Johnson Date: Sun Oct 22 09:37:01 2017 +1030 cairo: support embedding CCITT image data Bug 103399 poppler/CairoOutputDev.cc | 46 +++++++++++++++++++++++++++++++++++++++++++--- poppler/CairoOutputDev.h | 5 ++++- poppler/Stream.cc | 14 ++++++++++---- poppler/Stream.h | 6 +++++- 4 files changed, 62 insertions(+), 9 deletions(-) commit 3263fa4439e1a09dae6a0332a90b983d25bc218d Author: Thomas Freitag Date: Tue Dec 12 00:26:37 2017 +0100 windows version for Error out on save if file has changed since we opened it goo/gfile.cc | 14 +++++++++++++- goo/gfile.h | 6 ++++-- 2 files changed, 17 insertions(+), 3 deletions(-) commit e4ee1392136188fab0005a0bd7b30c6d9a16d97d Author: Albert Astals Cid Date: Tue Dec 12 00:24:31 2017 +0100 Error out on save if file has changed since we opened it In poppler we keep the fd of the file open so the XRef+FileStream can locate objects. This is good since we save lots of memory for not having everything on memory all the time, but that means that when we want to save we need the file to be exactly the same as it was when we created the XRef otherwise we're going to be reading from the wrong part of the "new" file. Bug #103793 goo/gfile.cc | 18 +++++++++++++++++- goo/gfile.h | 10 ++++++++-- poppler/ErrorCodes.h | 16 ++++++++++++++++ poppler/PDFDoc.cc | 11 +++++++++++ 4 files changed, 52 insertions(+), 3 deletions(-) commit f10359121568409e6062a82de696fe93be615a53 Author: Albert Astals Cid Date: Sun Dec 3 22:41:32 2017 +0100 Fix memory leak on error condition poppler/Catalog.cc | 1 + 1 file changed, 1 insertion(+) commit 72e0a3a087f160d819f7697a8536bbee12240c7a Author: Albert Astals Cid Date: Sun Dec 3 20:25:06 2017 +0100 0.62.0 CMakeLists.txt | 6 +++--- NEWS | 26 ++++++++++++++++++++++++++ cpp/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 32 insertions(+), 6 deletions(-) commit 90958363fd5e8c5e74a889e0c2140c71a0c09eb6 Author: Albert Astals Cid Date: Sun Dec 3 20:23:09 2017 +0100 Add missing (C) poppler/Error.cc | 2 +- poppler/UTF.cc | 2 +- poppler/UTF.h | 2 +- poppler/UnicodeMapFuncs.h | 1 + utils/JSInfo.cc | 2 +- utils/pdfdetach.cc | 2 +- utils/pdffonts.cc | 2 +- utils/pdfseparate.cc | 1 + utils/pdfsig.cc | 1 + utils/pdftohtml.cc | 1 + utils/pdftotext.cc | 1 + utils/printencodings.cc | 1 + 12 files changed, 12 insertions(+), 6 deletions(-) commit f007ab6beb2616850488271da5162f4ef0dbe789 Author: Adrian Johnson Date: Sat Dec 2 14:13:50 2017 +1030 INSTALL: add debug options also ensure cmake commands are lowercase to be consistent with our code style. INSTALL | 38 +++++++++++++++++++++++++++++++++----- 1 file changed, 33 insertions(+), 5 deletions(-) commit cef42ac807f4da7ae91be1b6b81b50adb9684975 Author: Adrian Johnson Date: Sat Dec 2 14:01:42 2017 +1030 Fix UTF test fail The buffer size was not large enough. Increase it and add an assert to check the buffer size. qt5/tests/check_utf_conversion.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit fb4c69d270a618bb23791e52f46ec73c86574294 Author: Albert Astals Cid Date: Fri Dec 1 23:44:17 2017 +0100 Remove the Qt4 frontend .gitignore | 2 - CMakeLists.txt | 17 - cmake/modules/FindQt4.cmake | 1311 ------- poppler-qt4.pc.cmake | 12 - qt4/.gitignore | 4 - qt4/CMakeLists.txt | 6 - qt4/demos/.gitignore | 4 - qt4/demos/CMakeLists.txt | 28 - qt4/demos/abstractinfodock.cpp | 57 - qt4/demos/abstractinfodock.h | 48 - qt4/demos/documentobserver.cpp | 50 - qt4/demos/documentobserver.h | 50 - qt4/demos/embeddedfiles.cpp | 82 - qt4/demos/embeddedfiles.h | 44 - qt4/demos/fonts.cpp | 72 - qt4/demos/fonts.h | 43 - qt4/demos/info.cpp | 72 - qt4/demos/info.h | 43 - qt4/demos/main_viewer.cpp | 33 - qt4/demos/metadata.cpp | 50 - qt4/demos/metadata.h | 43 - qt4/demos/navigationtoolbar.cpp | 144 - qt4/demos/navigationtoolbar.h | 65 - qt4/demos/optcontent.cpp | 69 - qt4/demos/optcontent.h | 47 - qt4/demos/pageview.cpp | 101 - qt4/demos/pageview.h | 53 - qt4/demos/permissions.cpp | 66 - qt4/demos/permissions.h | 43 - qt4/demos/thumbnails.cpp | 84 - qt4/demos/thumbnails.h | 48 - qt4/demos/toc.cpp | 88 - qt4/demos/toc.h | 43 - qt4/demos/viewer.cpp | 319 -- qt4/demos/viewer.h | 73 - qt4/src/.gitignore | 9 - qt4/src/ArthurOutputDev.cc | 812 ---- qt4/src/ArthurOutputDev.h | 170 - qt4/src/CMakeLists.txt | 54 - qt4/src/Doxyfile | 1637 --------- qt4/src/Mainpage.dox | 85 - qt4/src/poppler-annotation-helper.h | 181 - qt4/src/poppler-annotation-private.h | 112 - qt4/src/poppler-annotation.cc | 5089 -------------------------- qt4/src/poppler-annotation.h | 1375 ------- qt4/src/poppler-base-converter.cc | 105 - qt4/src/poppler-converter-private.h | 49 - qt4/src/poppler-document.cc | 850 ----- qt4/src/poppler-embeddedfile-private.h | 42 - qt4/src/poppler-embeddedfile.cc | 135 - qt4/src/poppler-export.h | 20 - qt4/src/poppler-fontinfo.cc | 150 - qt4/src/poppler-form.cc | 416 --- qt4/src/poppler-form.h | 343 -- qt4/src/poppler-link-extractor-private.h | 57 - qt4/src/poppler-link-extractor.cc | 84 - qt4/src/poppler-link-private.h | 57 - qt4/src/poppler-link.cc | 710 ---- qt4/src/poppler-link.h | 641 ---- qt4/src/poppler-media.cc | 168 - qt4/src/poppler-media.h | 100 - qt4/src/poppler-movie.cc | 110 - qt4/src/poppler-optcontent-private.h | 124 - qt4/src/poppler-optcontent.cc | 456 --- qt4/src/poppler-optcontent.h | 84 - qt4/src/poppler-page-private.h | 57 - qt4/src/poppler-page-transition-private.h | 28 - qt4/src/poppler-page-transition.cc | 101 - qt4/src/poppler-page-transition.h | 158 - qt4/src/poppler-page.cc | 810 ---- qt4/src/poppler-pdf-converter.cc | 115 - qt4/src/poppler-private.cc | 296 -- qt4/src/poppler-private.h | 241 -- qt4/src/poppler-ps-converter.cc | 280 -- qt4/src/poppler-qiodeviceoutstream-private.h | 47 - qt4/src/poppler-qiodeviceoutstream.cc | 64 - qt4/src/poppler-qt4.h | 1990 ---------- qt4/src/poppler-sound.cc | 132 - qt4/src/poppler-textbox.cc | 63 - qt4/tests/.gitignore | 33 - qt4/tests/CMakeLists.txt | 67 - qt4/tests/README.unittest | 23 - qt4/tests/check_actualtext.cpp | 33 - qt4/tests/check_attachments.cpp | 157 - qt4/tests/check_dateConversion.cpp | 142 - qt4/tests/check_fonts.cpp | 248 -- qt4/tests/check_goostring.cpp | 127 - qt4/tests/check_lexer.cpp | 107 - qt4/tests/check_links.cpp | 98 - qt4/tests/check_metadata.cpp | 275 -- qt4/tests/check_optcontent.cpp | 446 --- qt4/tests/check_pagelabelinfo.cpp | 43 - qt4/tests/check_pagelayout.cpp | 49 - qt4/tests/check_pagemode.cpp | 73 - qt4/tests/check_password.cpp | 88 - qt4/tests/check_permissions.cpp | 44 - qt4/tests/check_search.cpp | 175 - qt4/tests/check_strings.cpp | 250 -- qt4/tests/poppler-attachments.cpp | 39 - qt4/tests/poppler-fonts.cpp | 89 - qt4/tests/poppler-forms.cpp | 166 - qt4/tests/poppler-texts.cpp | 40 - qt4/tests/stress-poppler-dir.cpp | 67 - qt4/tests/stress-poppler-qt4.cpp | 74 - qt4/tests/stress-threads-qt4.cpp | 309 -- qt4/tests/test-password-qt4.cpp | 136 - qt4/tests/test-poppler-qt4.cpp | 235 -- qt4/tests/test-render-to-file.cpp | 69 - 108 files changed, 25623 deletions(-) commit bb0011b74093cfbf5a21b72861ac46a2b8699c0e Author: Albert Astals Cid Date: Fri Dec 1 23:37:38 2017 +0100 Make the disable for ENABLE_CMS be none as it is for ENABLE_LIBOPENJPEG and for ENABLE_DCTDECODER CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0ea5ad393601f0b1c060268cf1c310b47f928f7b Author: Albert Astals Cid Date: Fri Dec 1 23:35:28 2017 +0100 Stop supporting openjpeg1, you really want to use openjpeg2 :) CMakeLists.txt | 54 ++--------------- config.h.cmake | 6 -- poppler/JPEG2000Stream.cc | 145 ---------------------------------------------- 3 files changed, 5 insertions(+), 200 deletions(-) commit ce8e17e4fa96b7dd639c72818bba5a26c16cc1cb Author: Albert Astals Cid Date: Fri Dec 1 23:19:39 2017 +0100 Stop supporting lcms1, you really want to use lcms2 :) CMakeLists.txt | 36 ++++++------------------------------ config.h.cmake | 3 --- poppler/Gfx.cc | 5 ----- poppler/GfxState.cc | 40 ---------------------------------------- 4 files changed, 6 insertions(+), 78 deletions(-) commit 42d8d7ffd8b5393dc3103a45932b70bc8ca61c2e Author: Albert Astals Cid Date: Wed Nov 22 21:50:24 2017 +0100 Open files that state 8 bits as third field of W Even we only really accept 32 bits since it is really strange to have more than 2^31 generations Bug #103469 poppler/XRef.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 6ab81a63323e8339647f883649bf74f9d96820ae Author: Oliver Sander Date: Tue Nov 7 17:25:27 2017 +0100 Document the meaning of the 'type' integer of a shading poppler/GfxState.h | 8 ++++++++ 1 file changed, 8 insertions(+) commit 0a9d6debdb3d4e28d9125a007244bca0c1cd760a Author: Jean Ghali Date: Fri Nov 17 23:13:56 2017 +0100 Include glibc.h where needed at least for strtok_r fofi/FoFiType1.cc | 2 ++ poppler/CharCodeToUnicode.cc | 2 ++ poppler/GlobalParams.cc | 2 ++ poppler/PDFDoc.cc | 2 ++ poppler/UnicodeMap.cc | 2 ++ 5 files changed, 10 insertions(+) commit e0302537ec0919d9f3dbf180ebbc6e2653b1049b Author: Albert Astals Cid Date: Wed Nov 15 10:44:14 2017 +0100 qt5: Add API to let the rendering process callback to get a partial rendering Bug #103372 qt5/src/poppler-page.cc | 254 +++++++++++++++++++++++++++++++++--------------- qt5/src/poppler-qt5.h | 78 +++++++++++++++ 2 files changed, 254 insertions(+), 78 deletions(-) commit 33b8e6220d06a26378d7d21c88ead6e2280c2e52 Author: Adrian Johnson Date: Wed Nov 15 19:58:53 2017 +1030 fix MSC macro poppler/GlobalParams.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a6dd3f957f5979fa34a05ba963862de7d0d9df61 Author: Adrian Johnson Date: Sun Nov 12 10:33:07 2017 +1030 Support unicode on windows console The Win32Console should be used in programs that require unicode support for command line arguments and stdio ouput on windows. On windows it gets the command line arguments from GetCommandLineW and converts to UTF-8, and redefines the stdio output functions to convert UTF-8 to calls to WriteConsoleW. On other platforms this class is a no-op. poppler/PDFDoc.cc | 9 +- poppler/UTF.cc | 287 ++++++++++++++++++++++++++++++++++++- poppler/UTF.h | 39 +++++ qt5/tests/CMakeLists.txt | 1 + qt5/tests/check_utf_conversion.cpp | 87 +++++++++++ utils/CMakeLists.txt | 1 + utils/JSInfo.cc | 1 + utils/Win32Console.cc | 167 +++++++++++++++++++++ utils/Win32Console.h | 63 ++++++++ utils/pdfdetach.cc | 2 + utils/pdffonts.cc | 2 + utils/pdfimages.cc | 2 + utils/pdfinfo.cc | 2 + utils/pdfseparate.cc | 2 + utils/pdfsig.cc | 2 + utils/pdftocairo-win32.cc | 1 + utils/pdftocairo.cc | 2 + utils/pdftohtml.cc | 2 + utils/pdftoppm.cc | 2 + utils/pdftops.cc | 2 + utils/pdftotext.cc | 2 + 21 files changed, 676 insertions(+), 2 deletions(-) commit 49107ffcd4d3c9b18fc950d37bede08f89bcfcda Author: Adrian Johnson Date: Sun Nov 12 10:33:07 2017 +1030 Fix some mingw warnings - Include poppler-config.h for mingw PRINTF_FORMAT - Only redefine strcasecmp for MSVC - Recent versions of MSVC have snprintf and vsnprintf poppler/Error.cc | 1 + poppler/GlobalParams.cc | 2 +- poppler/PDFDoc.cc | 1 + test/perf-test.cc | 15 +++------------ 4 files changed, 6 insertions(+), 13 deletions(-) commit 4f687665c39da743e802fc71ba05fb5966095293 Author: Adrian Johnson Date: Sun Nov 12 10:33:07 2017 +1030 sort encoding list makes it easier to find encodings listed by -listenc utils/printencodings.cc | 9 +++++++++ 1 file changed, 9 insertions(+) commit 5c394f71f03d27507db3446ad34f299393fa3621 Author: Adrian Johnson Date: Sun Nov 12 10:33:07 2017 +1030 Move UTF8.h to UnicodeMapFuncs.h and rename UCS2 to UTF16 UTF8.h is not exclusively UTF-8 code. Renaming to UnicodeMapFuncs.h identifies the file as containing maps for UnicodeMap and is consistent with the name UnicodeMapTables.h. The mapUCS2 code was changed to support UTF-16 in 979ef1ca without changing the name. CMakeLists.txt | 2 +- poppler/GlobalParams.cc | 4 ++-- poppler/{UTF8.h => UnicodeMapFuncs.h} | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) commit 9ff60568ab420e86295bfa81cef9375d7c5600b8 Author: Thomas Zajic Date: Tue Nov 14 22:25:37 2017 +0100 pdfsig: install man page utils/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit d63ddd1fb762e536dd78f24bd3e3ddbc3504e1eb Author: Oliver Sander Date: Tue Nov 14 20:05:33 2017 +0100 Use GfxLabColorSpace::transform only when USE_CMS is set The recent commit e84338a44f27afb9872cb108fc29683b35ac55f7 introduced an unqualified use of GfxLabColorSpace::transform, even though that member only exists if USE_CMS is set. Fix this by adding the appropriate preprocessor conditionals. poppler/GfxState.cc | 3 +++ 1 file changed, 3 insertions(+) commit 19909998a2f1f703c9978510ae1fc3baed84de31 Author: Adrian Johnson Date: Sat Nov 11 05:38:25 2017 +1030 glib demo: fix warning glib/demo/selections.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e84338a44f27afb9872cb108fc29683b35ac55f7 Author: Albert Astals Cid Date: Mon Nov 13 00:37:00 2017 +0100 GfxLabColorSpace::parse: Fix crash in broken documents Bug #103582 poppler/GfxState.cc | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) commit fea27db14358c8342c9f5bdbe6cb3bff02cebc2b Author: Albert Astals Cid Date: Sun Nov 12 19:54:52 2017 +0100 Fix leak if parseDA fails poppler/Form.cc | 1 + 1 file changed, 1 insertion(+) commit faeb48920d64a776911a259bcf1bb6231ac1d24c Author: Albert Astals Cid Date: Sun Nov 12 19:14:32 2017 +0100 0.61.1 CMakeLists.txt | 2 +- NEWS | 11 +++++++++++ cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 15 insertions(+), 4 deletions(-) commit 155597a09b2c7fcbd0eea2b5a2021a5b65476e4c Author: Jeroen Ooms Date: Sat Nov 4 05:33:09 2017 -0700 Fix for corrupted image files on Windows Bug #102494 cpp/poppler-image.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c45efa2d7e0db8a4ace0e8c6955b3fa48dc6d070 Author: Adam Sampson Date: Sun Nov 5 11:45:00 2017 +0000 Fix incorrect paths in .pc files. The change in 67c3878ef10449b241c37d1022e2518029860335 used the CMAKE_INSTALL_x variables instead of CMAKE_INSTALL_FULL_x; the former contain things like "include" instead of full paths, so the resulting .pc files break packages that depend on poppler. Use the latter. Also fix a missing @ in the qt5 file. Bug #103578 poppler-cairo.pc.cmake | 4 ++-- poppler-cpp.pc.cmake | 4 ++-- poppler-glib.pc.cmake | 4 ++-- poppler-qt4.pc.cmake | 4 ++-- poppler-qt5.pc.cmake | 4 ++-- poppler-splash.pc.cmake | 4 ++-- poppler.pc.cmake | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) commit 7ccedf2b082e4d46257fb247e1f6e1197d66eead Author: Adrian Johnson Date: Wed Nov 8 21:07:45 2017 +1030 cairo: don't overflow y * stride when accessing image data poppler/CairoOutputDev.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 6ae4293fce77290f4fbdc643c999809d5924bf2c Author: Roland Hieber Date: Wed Nov 8 08:22:01 2017 +0100 CMake: add the custom buildtests target only once Make BUILDTESTS_ADDED a global property, so the `buildtests` target gets added only once. As far as I understood, this seems to fulfil the requirements of CMP0002. Bug #103003 cmake/modules/PopplerMacros.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit aaa9c5308766a88d0512b87051d7c7082f152a9f Author: Albert Astals Cid Date: Fri Nov 3 11:25:02 2017 +0100 Poppler 0.61 CMakeLists.txt | 6 +++--- NEWS | 20 ++++++++++++++++++++ cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 26 insertions(+), 6 deletions(-) commit 79b704b4017cf66dc3c39b49425c8b02760e5165 Author: Albert Astals Cid Date: Fri Nov 3 11:14:10 2017 +0100 Update (C) for commits since last release fofi/FoFiTrueType.cc | 2 +- goo/FixedPoint.cc | 14 ++++++++++++++ goo/FixedPoint.h | 15 +++++++++++++++ goo/GooMutex.h | 1 + goo/GooString.cc | 2 +- goo/GooString.h | 1 + goo/gfile.cc | 2 +- goo/gfile.h | 2 +- goo/glibc.h | 2 +- goo/glibc_strtok_r.cc | 1 + poppler/Annot.cc | 2 +- poppler/Annot.h | 2 +- poppler/Array.cc | 1 + poppler/Array.h | 1 + poppler/CMap.cc | 1 + poppler/CMap.h | 2 +- poppler/CairoFontEngine.cc | 2 +- poppler/CairoFontEngine.h | 2 +- poppler/CairoRescaleBox.cc | 2 +- poppler/Catalog.cc | 2 +- poppler/Catalog.h | 2 +- poppler/CharCodeToUnicode.cc | 2 +- poppler/CharCodeToUnicode.h | 1 + poppler/DCTStream.cc | 1 + poppler/Decrypt.cc | 2 +- poppler/Dict.cc | 1 + poppler/Dict.h | 1 + poppler/FlateEncoder.cc | 1 + poppler/FlateStream.cc | 1 + poppler/GlobalParams.cc | 2 +- poppler/GlobalParams.h | 2 +- poppler/GlobalParamsWin.cc | 2 +- poppler/Object.h | 2 +- poppler/OutputDev.cc | 2 +- poppler/OutputDev.h | 2 +- poppler/PDFDoc.cc | 2 +- poppler/PDFDoc.h | 2 +- poppler/PDFDocFactory.cc | 1 + poppler/PSOutputDev.cc | 2 +- poppler/PSOutputDev.h | 2 +- poppler/Page.cc | 2 +- poppler/Page.h | 2 +- poppler/SplashOutputDev.cc | 2 +- poppler/SplashOutputDev.h | 2 +- poppler/StructTreeRoot.cc | 1 + poppler/TextOutputDev.cc | 2 +- poppler/TextOutputDev.h | 2 +- poppler/UnicodeMap.cc | 1 + poppler/UnicodeMap.h | 14 ++++++++++++++ poppler/XRef.cc | 2 +- poppler/XRef.h | 2 +- poppler/poppler-config.h.cmake | 1 + qt4/src/ArthurOutputDev.cc | 1 + qt4/src/poppler-document.cc | 1 + qt4/src/poppler-page.cc | 1 + qt5/src/ArthurOutputDev.cc | 1 + qt5/src/poppler-document.cc | 1 + qt5/src/poppler-page.cc | 1 + splash/Splash.cc | 2 +- splash/Splash.h | 2 +- splash/SplashFTFont.cc | 1 + splash/SplashFTFont.h | 1 + splash/SplashFTFontEngine.cc | 1 + splash/SplashFTFontEngine.h | 1 + splash/SplashFTFontFile.cc | 2 +- splash/SplashFTFontFile.h | 1 + splash/SplashFontEngine.cc | 1 + splash/SplashFontEngine.h | 1 + splash/SplashMath.h | 1 + splash/SplashState.cc | 1 + splash/SplashState.h | 1 + splash/SplashTypes.h | 1 + splash/SplashXPath.cc | 1 + utils/pdfimages.cc | 2 +- utils/pdftocairo-win32.cc | 2 +- utils/pdftoppm.cc | 2 +- utils/pdftops.cc | 2 +- 77 files changed, 117 insertions(+), 40 deletions(-) commit b8b6a7c9240d1b98e79463ea93245127ac56e764 Author: Sandro Mani Date: Fri Nov 3 10:37:25 2017 +0100 mingw: change library names to include the soversion Bug #103157 CMakeLists.txt | 4 ++++ cpp/CMakeLists.txt | 4 ++++ glib/CMakeLists.txt | 4 ++++ qt4/src/CMakeLists.txt | 4 ++++ qt5/src/CMakeLists.txt | 4 ++++ 5 files changed, 20 insertions(+) commit f6ad64878d91cbd0c19531c7ff669af0e0fa0912 Author: Sandro Mani Date: Tue Oct 31 00:24:11 2017 +0100 Install pkg-config files also on mingw cmake/modules/PopplerMacros.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 67c3878ef10449b241c37d1022e2518029860335 Author: Emilio Pozuelo Monfort Date: Tue Oct 31 00:20:29 2017 +0100 cmake: support GNUInstallDirs This allows users to set various install directories, e.g. libdir, includedir, mandir... Bug #103211 CMakeLists.txt | 21 ++++++++++----------- cmake/modules/GObjectIntrospectionMacros.cmake | 4 ++-- cpp/CMakeLists.txt | 2 +- glib/CMakeLists.txt | 2 +- glib/reference/CMakeLists.txt | 2 +- poppler-cairo.pc.cmake | 5 ++--- poppler-cpp.pc.cmake | 5 ++--- poppler-glib.pc.cmake | 5 ++--- poppler-qt4.pc.cmake | 5 ++--- poppler-qt5.pc.cmake | 5 ++--- poppler-splash.pc.cmake | 5 ++--- poppler.pc.cmake | 5 ++--- qt4/src/CMakeLists.txt | 2 +- qt5/src/CMakeLists.txt | 2 +- utils/CMakeLists.txt | 22 +++++++++++----------- 15 files changed, 42 insertions(+), 50 deletions(-) commit 4d109589e5d2ac989d4fd7ac318ddf976f3106ed Author: Oliver Sander Date: Sun Oct 29 20:28:52 2017 +0100 Fix leak in ArthurOutputDev::updateFont Bug #103508 qt5/src/ArthurOutputDev.cc | 3 +++ 1 file changed, 3 insertions(+) commit b9ae2fd75c147988653093d0ecbf66188d81f8fc Author: Adrian Johnson Date: Sun Oct 22 18:29:31 2017 +1030 glib demo: correct the previous warnings fix Bug 103050 glib/demo/utils.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit d72f0383b959d8495a452d2d32377e588b15ad65 Author: Kay Dohmann Date: Mon Oct 23 23:31:13 2017 +0200 Tweak LZWStream::processNextCode Fixes file attached at bug 103174 and doesn't seem to cause any regression in the files we have around Bug #103174 poppler/Stream.cc | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit e0926ca8a94bafa6d5bfd694064c5e30da2b79db Author: Oliver Sander Date: Thu Oct 5 18:32:40 2017 +0200 Properly implement saveState / restoreState Not all of the internal state was actually saved/restored in those methods, which lead to inconsistencies between the ArthurOutputDev state and the GfxState object. Bug #103118 qt5/src/ArthurOutputDev.cc | 14 ++++++++++++++ qt5/src/ArthurOutputDev.h | 9 +++++++++ 2 files changed, 23 insertions(+) commit ebf6d1ca736fecad49fbf543875c794770bd4d57 Author: Oliver Sander Date: Fri Sep 15 11:18:58 2017 +0200 Clean up the remaining Splash code in Arthur backend - remove some goto-style error handling - use nullptr - use std::unique_ptr (fixes a leak) - remove unused data member m_currentFont - remove some unused forward declarations Bug #103117 qt5/src/ArthurOutputDev.cc | 48 +++++++++++++++++----------------------------- qt5/src/ArthurOutputDev.h | 4 ---- 2 files changed, 18 insertions(+), 34 deletions(-) commit 0a8174945379142348ce1006ce88cb1a75c01c96 Author: Albert Astals Cid Date: Sun Oct 22 12:45:05 2017 +0200 isfinite -> std::isfinite Fixes build on the travis CI poppler/SplashOutputDev.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 9c7b557da043c897292219a16f419ba9650e6dfc Author: Adrian Johnson Date: Mon Oct 2 20:22:02 2017 +1030 Fix mingw warnings poppler/Annot.cc | 6 +++--- poppler/DCTStream.cc | 6 ++++-- poppler/GlobalParams.cc | 29 +++++++++++++++++------------ poppler/XRef.cc | 1 + poppler/poppler-config.h.cmake | 3 +-- 5 files changed, 26 insertions(+), 19 deletions(-) commit 69414f14f60c49f9e0a8243603c6330fa3d11837 Author: Adrian Johnson Date: Mon Oct 2 18:40:58 2017 +1030 mingw build fix - use win32 threads The cmake FindThreads detects both win32 and pthreads on mingw. It also attempts a TryRun test for pthreads which won't work with a cross compile. CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit ecd2b7bf71b110b0e245e2866a13f2c0a901921f Author: Adrian Johnson Date: Mon Oct 2 17:03:19 2017 +1030 Remove VC7 workaround VC7 (2002) does not support C++11 poppler/Gfx.cc | 8 -------- 1 file changed, 8 deletions(-) commit 6e3e639c632f8527f9dc75061605e4a55f2faae9 Author: Adrian Johnson Date: Mon Oct 2 16:59:31 2017 +1030 Use for isfinite() poppler/SplashOutputDev.cc | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) commit f9cef28b504445c7976baa0a51676204f95397fc Author: Adrian Johnson Date: Mon Oct 2 15:13:42 2017 +1030 c++11 has long long fofi/FoFiTrueType.cc | 1 + fofi/FoFiType1.cc | 1 + goo/GooString.cc | 36 ------------------------------------ goo/GooString.h | 13 ------------- poppler/Object.h | 1 + poppler/PDFDoc.cc | 1 + 6 files changed, 4 insertions(+), 49 deletions(-) commit 4f2bd307711f792f8caf93a560444e17bd98611a Author: Adrian Johnson Date: Mon Oct 2 13:45:38 2017 +1030 Remove fmax/fmin from poppler-config.h C++11 has fmax/fmin in so use it and remove the #ifdefs for MSVC. poppler/TextOutputDev.cc | 2 +- poppler/poppler-config.h.cmake | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) commit 555e2ea6b6f80a6f79eeaa44a39c24dc8461e78c Author: Adrian Johnson Date: Mon Oct 2 13:33:07 2017 +1030 Move strtok_r to goo/glibc Move strtok_r out of poppler-config.h as it is not used in any header files Move strtok_r.cpp to goo/glibc_strtok_r.cc to keep it with the other emulated glibc functions. But keep it in a separate file due to the different license. CMakeLists.txt | 2 +- ConfigureChecks.cmake | 1 + config.h.cmake | 3 +++ goo/glibc.h | 4 ++++ poppler/strtok_r.cpp => goo/glibc_strtok_r.cc | 4 +++- poppler/poppler-config.h.cmake | 8 -------- 6 files changed, 12 insertions(+), 10 deletions(-) commit 2ca32d2cfc57626bbc833d4981c7d0a071ccc985 Author: Adrian Johnson Date: Mon Oct 2 13:18:12 2017 +1030 move/remove macros from poppler-config.h that don't need to be there popen/pclose are not used in any .h files - move to config.h POPEN_READ_MODE is not used - remove config.h.cmake | 8 ++++++++ poppler/poppler-config.h.cmake | 15 --------------- 2 files changed, 8 insertions(+), 15 deletions(-) commit bf3931016614c434f7229e00bb75e3b113803d04 Author: Adrian Johnson Date: Mon Oct 2 12:55:41 2017 +1030 Remove unused HAVE_ZLIB_H/HAVE_LIBZ macros CMakeLists.txt | 3 --- config.h.cmake | 3 --- 2 files changed, 6 deletions(-) commit 82e7f4bad79d122fe8cf16be54901d1f1668ca37 Author: Adrian Johnson Date: Mon Oct 2 12:05:10 2017 +1030 Make poppler compile if threads not available CMakeLists.txt | 5 ++++- goo/GooMutex.h | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) commit 350b905537f59323a6b9a854cf019e8e95940bd6 Author: Adrian Johnson Date: Mon Oct 2 11:36:42 2017 +1030 Use -pthread flag instead of -lpthread The -pthread flag should be used for compiling with threads as it sets flags for both the preprocessor and linker. In cmake this is achieved with the set(THREADS_PREFER_PTHREAD_FLAG TRUE) before find_package(Threads) and using the Threads::Threads import target. Also added set(CMAKE_THREAD_PREFER_PTHREAD TRUE) as we only support pthread on non windows platforms. CMakeLists.txt | 11 +++++------ glib/CMakeLists.txt | 4 ++-- utils/CMakeLists.txt | 4 ++-- 3 files changed, 9 insertions(+), 10 deletions(-) commit e01e6db4e0643b7b318a3d7dc49442bb2d6ade00 Author: Adrian Johnson Date: Sun Oct 1 20:51:13 2017 +1030 HAVE_PTHREAD is not used config.h.cmake | 3 --- 1 file changed, 3 deletions(-) commit 36010177e9c168d110c44407512c93b49a9cf95c Author: Adrian Johnson Date: Sun Oct 1 19:28:13 2017 +1030 Remove unused macros The jpeg.h HAVE_BOOLEAN is only required if the application defines type 'boolean' to prevent jpeg.h from redefining it. ConfigureChecks.cmake | 6 ------ config.h.cmake | 36 ------------------------------------ 2 files changed, 42 deletions(-) commit 6658754b9b8dfd1ba692da2681d95e21e9c1c2d4 Author: Adrian Johnson Date: Sun Oct 1 19:09:28 2017 +1030 We always have config.h so drop the macro CMakeLists.txt | 1 - poppler/CairoRescaleBox.cc | 2 -- 2 files changed, 3 deletions(-) commit 7b0d736ccd5d3e1327684d21d6afbe2dec01188f Author: Adrian Johnson Date: Sun Oct 1 19:04:39 2017 +1030 c++11 has so we can drop the stdint.h checks and emulation ConfigureChecks.cmake | 1 - config.h.cmake | 3 --- goo/gtypes_p.h | 30 ------------------------------ poppler/CairoOutputDev.cc | 2 +- poppler/CairoRescaleBox.cc | 2 +- poppler/Decrypt.cc | 2 +- utils/pdftocairo-win32.h | 2 +- utils/pdftocairo.cc | 2 +- 8 files changed, 5 insertions(+), 39 deletions(-) commit 465edbbffcc94f9af9fac7606086a28362f92d09 Author: Adrian Johnson Date: Sun Oct 1 18:48:07 2017 +1030 Fix remaining -Wundef warnings and make -Wundef a default warning cmake/modules/PopplerMacros.cmake | 2 +- goo/FixedPoint.h | 2 +- goo/TiffWriter.cc | 2 +- goo/gfile.cc | 20 ++++++++--------- goo/gfile.h | 10 ++++----- poppler/Annot.cc | 12 +++++----- poppler/Annot.h | 2 +- poppler/Array.cc | 6 ++--- poppler/Array.h | 2 +- poppler/CMap.cc | 14 ++++++------ poppler/CMap.h | 4 ++-- poppler/CairoFontEngine.cc | 10 ++++----- poppler/CairoFontEngine.h | 2 +- poppler/Catalog.cc | 6 ++--- poppler/Catalog.h | 2 +- poppler/CharCodeToUnicode.cc | 16 +++++++------- poppler/CharCodeToUnicode.h | 4 ++-- poppler/Dict.cc | 8 +++---- poppler/Dict.h | 2 +- poppler/FlateStream.cc | 2 +- poppler/Gfx.cc | 4 ++-- poppler/GlobalParams.cc | 12 +++++----- poppler/GlobalParams.h | 4 ++-- poppler/GlobalParamsWin.cc | 2 +- poppler/OutputDev.cc | 2 +- poppler/OutputDev.h | 2 +- poppler/PDFDoc.cc | 6 ++--- poppler/PDFDoc.h | 2 +- poppler/PDFDocFactory.cc | 4 ++-- poppler/PSOutputDev.cc | 24 ++++++++++---------- poppler/PSOutputDev.h | 8 +++---- poppler/Page.cc | 6 ++--- poppler/Page.h | 2 +- poppler/Stream.cc | 8 +++---- poppler/Stream.h | 2 +- poppler/TextOutputDev.cc | 14 ++++++------ poppler/TextOutputDev.h | 14 ++++++------ poppler/UnicodeMap.cc | 16 +++++++------- poppler/UnicodeMap.h | 4 ++-- poppler/XRef.cc | 10 ++++----- poppler/XRef.h | 2 +- utils/ImageOutputDev.cc | 4 ++-- utils/pdfimages.cc | 4 ++-- utils/pdftocairo.cc | 46 +++++++++++++++++++-------------------- utils/pdftoppm.cc | 6 ++--- utils/pdftops.cc | 6 ++--- 46 files changed, 171 insertions(+), 171 deletions(-) commit b424862bf5df75db651076c780c7242eaf887479 Author: Adrian Johnson Date: Sun Oct 1 18:18:42 2017 +1030 Remove HAVE_FREETYPE macros Freetype is a mandatory dependency so we can drop the macros. CMakeLists.txt | 1 - config.h.cmake | 3 --- poppler/SplashOutputDev.cc | 8 -------- poppler/poppler-config.h.cmake | 7 +------ qt4/src/ArthurOutputDev.cc | 2 -- qt5/src/ArthurOutputDev.cc | 2 -- splash/SplashFTFont.cc | 4 ---- splash/SplashFTFont.h | 4 ---- splash/SplashFTFontEngine.cc | 4 ---- splash/SplashFTFontEngine.h | 4 ---- splash/SplashFTFontFile.cc | 4 ---- splash/SplashFTFontFile.h | 4 ---- splash/SplashFontEngine.cc | 20 -------------------- splash/SplashFontEngine.h | 6 ------ utils/pdftoppm.cc | 2 -- 15 files changed, 1 insertion(+), 74 deletions(-) commit e0428ef002e9c8d6e2046fcdeeedcf7462367501 Author: Adrian Johnson Date: Sun Oct 1 18:02:15 2017 +1030 Remove unused t1lib code CMakeLists.txt | 6 - poppler/SplashOutputDev.cc | 3 - poppler/poppler-config.h.cmake | 2 +- qt4/src/ArthurOutputDev.cc | 3 - qt5/src/ArthurOutputDev.cc | 3 - splash/SplashFontEngine.cc | 30 ---- splash/SplashFontEngine.h | 6 - splash/SplashT1Font.cc | 309 ----------------------------------------- splash/SplashT1Font.h | 69 --------- splash/SplashT1FontEngine.cc | 138 ------------------ splash/SplashT1FontEngine.h | 50 ------- splash/SplashT1FontFile.cc | 134 ------------------ splash/SplashT1FontFile.h | 70 ---------- 13 files changed, 1 insertion(+), 822 deletions(-) commit 7f01a804455dcc9d87fa17b566b8bd269b2d5489 Author: Adrian Johnson Date: Sun Oct 1 17:31:23 2017 +1030 Use _WIN32 to check for windows, not WIN32 These should have been fixed in #24259 but must have been missed. goo/gfile.cc | 4 ++-- goo/gfile.h | 2 +- poppler/GlobalParams.cc | 4 ++-- splash/SplashMath.h | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) commit e38ffea64dc9c113607168e298c7ccdf8edaa61e Author: Adrian Johnson Date: Sun Oct 1 17:25:19 2017 +1030 Fix some -Wundef warnings goo/FixedPoint.cc | 2 +- poppler/GlobalParams.cc | 2 +- poppler/PSOutputDev.cc | 8 +-- poppler/SplashOutputDev.cc | 158 ++++++++++++++++++++++---------------------- poppler/SplashOutputDev.h | 2 +- qt4/src/poppler-document.cc | 2 +- qt4/src/poppler-page.cc | 4 +- qt5/src/poppler-document.cc | 2 +- qt5/src/poppler-page.cc | 4 +- splash/Splash.cc | 76 ++++++++++----------- splash/Splash.h | 10 +-- splash/SplashBitmap.cc | 20 +++--- splash/SplashBitmap.h | 2 +- splash/SplashFTFont.cc | 6 +- splash/SplashFontEngine.h | 4 +- splash/SplashMath.h | 42 ++++++------ splash/SplashState.cc | 10 +-- splash/SplashState.h | 2 +- splash/SplashTypes.h | 16 ++--- splash/SplashXPath.cc | 6 +- utils/pdftoppm.cc | 12 ++-- utils/pdftops.cc | 6 +- 22 files changed, 198 insertions(+), 198 deletions(-) commit 9bb84057624c3b2f8fc5d137e70ae34efa46fe31 Author: Adrian Johnson Date: Sun Oct 1 13:27:10 2017 +1030 glib demo: fix deprecated warnings glib/demo/utils.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 5d954d1c4f25447f70d949e31afeeefb70c2a8d5 Author: Adrian Johnson Date: Sun Oct 1 12:53:38 2017 +1030 Fix warning: implicit declaration of function ‘localtime_r’ poppler/glib/demo/utils.c:488:20: warning: implicit declaration of function ‘localtime_r’ [-Wimplicit-function-declaration] if (time == 0 || !localtime_r (&time, &t)) return NULL; ^~~~~~~~~~~ The c files also need the -D_DEFAULT_SOURCE feature macro to enable non standard C++11 functons. cmake/modules/PopplerMacros.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8ccc9efb6c5f717b8cd206a92f802c66bc0a69c7 Author: Adrian Johnson Date: Sun Oct 1 12:35:19 2017 +1030 Fix warning: comparison of unsigned expression < 0 is always false poppler/FlateEncoder.cc | 1 - poppler/StructTreeRoot.cc | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) commit 88571e7877f729eec2f7a3552b0fa6cc913ae1a6 Author: Albert Astals Cid Date: Thu Oct 19 18:11:49 2017 +0200 Move setPSCenter from GlobalParams to PSOutputDev poppler/GlobalParams.cc | 16 ---------------- poppler/GlobalParams.h | 3 --- poppler/PSOutputDev.cc | 3 ++- poppler/PSOutputDev.h | 4 +++- utils/pdftops.cc | 8 ++++---- 5 files changed, 9 insertions(+), 25 deletions(-) commit 5b8fe4ee986673f15fcf8f58409cc85e8bf7ca12 Author: Albert Astals Cid Date: Thu Oct 19 17:49:06 2017 +0200 Remove various never called internal setters from GlobalParams.h TextKeepTinyChars: false, simplify if in TextOutputDev DisableFreeTypeHinting: didn't actually have a getter :D StrokeAdjust: true, adjust the code in Cairo/SplashOutputDev to use gTrue ScreenType: unset, simplify switch in SplashOutputDev ScreenSize: -1, simplify code in SplashOutputDev ScreenDotRadius: -1, simplify code in SplashOutputDev ScreenGamma: 1.0, simplify code in SplashOutputDev ScreenBlackThreshold: 0.0, simplify code in SplashOutputDev ScreenWhiteThreshold: 1.0, simplify code in SplashOutputDev MinLineWidth: 0.0, define it as static const in SplashOutputDev since was used in various places MapNumericCharNames: true, remove GfxFont.cc if guard MapUnknownCharNames: true, remove GfxFont.cc if guard poppler/CairoOutputDev.cc | 2 +- poppler/GfxFont.cc | 94 +++++++++++----------- poppler/GlobalParams.cc | 193 --------------------------------------------- poppler/GlobalParams.h | 44 ----------- poppler/SplashOutputDev.cc | 66 +++++----------- poppler/TextOutputDev.cc | 3 +- 6 files changed, 68 insertions(+), 334 deletions(-) commit 19ebd40547186a8ea6da08c8d8e2a6d6b7e84f5d Author: Albert Astals Cid Date: Fri Oct 13 00:55:49 2017 +0200 CairoOutputDev: Fix crash in broken files Bug #103016 poppler/CairoOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7ee9dadef37b20bca707a6b1e858e17d191e368b Author: Jason Crain Date: Thu Oct 5 15:32:13 2017 -0500 TextOutputDev: Fix crash in fuzzed file This file crashes pdftotext because it positions texts past INT_MIN, leading to overflow in subsequent calculations. Bug #103116 poppler/TextOutputDev.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 369cd504e70e55378c6395355056fa8676679e56 Author: David Tardon Date: Fri Oct 6 08:07:35 2017 +0200 do not install Function.cc, as it's not a header CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) commit f09a9923bb65755e183694c5f1be6af4a50e96e6 Author: Albert Astals Cid Date: Thu Oct 5 19:15:44 2017 +0200 Poppler 0.60.1 CMakeLists.txt | 2 +- NEWS | 7 +++++++ cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 5 files changed, 11 insertions(+), 4 deletions(-) commit e816c7a47caa0c3f5261d467333f8c2eb6a2ad51 Author: Albert Astals Cid Date: Thu Oct 5 18:51:49 2017 +0200 FindLIBOPENJPEG.cmake: Add CheckCXXSourceCompiles Since we use check_cxx_source_compiles cmake/modules/FindLIBOPENJPEG.cmake | 2 ++ 1 file changed, 2 insertions(+) commit f538b74a38acb53b877e000a64647ce8043133ac Author: Oliver Sander Date: Tue Oct 3 00:04:17 2017 +0200 qt5: ArthurOutputDev: Add missing 'return' in error paths qt5/src/ArthurOutputDev.cc | 2 ++ 1 file changed, 2 insertions(+) commit c2ba8fd8cf51af48a9e789d29e9fd5512d1688e3 Author: Albert Astals Cid Date: Mon Oct 2 23:46:49 2017 +0200 Poppler 0.60.0 CMakeLists.txt | 4 ++-- NEWS | 28 ++++++++++++++++++++++++++++ cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 34 insertions(+), 6 deletions(-) commit 9432e0bfc4c4f2e16b7c152aa8b04d6d19ed4898 Author: Albert Astals Cid Date: Mon Oct 2 23:29:21 2017 +0200 Add missing (C) cpp/poppler-private.cpp | 1 + fofi/FoFiTrueType.cc | 2 +- goo/GooString.cc | 2 +- goo/GooString.h | 2 +- goo/JpegWriter.cc | 1 + goo/gmem.h | 2 +- poppler/CairoOutputDev.cc | 2 +- poppler/CurlPDFDocBuilder.cc | 2 +- poppler/Decrypt.cc | 2 +- poppler/GfxState.h | 2 +- poppler/GlobalParams.cc | 2 +- poppler/PSOutputDev.cc | 2 +- poppler/PSOutputDev.h | 2 +- poppler/UnicodeMap.cc | 1 + qt4/src/poppler-link.cc | 2 +- qt4/src/poppler-private.cc | 2 +- qt5/src/poppler-link.cc | 2 +- qt5/src/poppler-private.cc | 2 +- qt5/src/poppler-qt5.h | 1 + splash/Splash.cc | 2 +- splash/SplashFTFontFile.cc | 1 + splash/SplashFTFontFile.h | 1 + utils/pdfseparate.cc | 2 +- 23 files changed, 23 insertions(+), 17 deletions(-) commit da02d7c683f1788d38cccb3716edd1ba011cb94c Author: Albert Astals Cid Date: Mon Oct 2 23:05:59 2017 +0200 remove m4 gtk-doc.make and add comments to poppler-features.h.cmake glib/poppler-features.h.cmake | 55 ++++++++ gtk-doc.make | 305 ---------------------------------------- m4/.gitignore | 5 - m4/ax_pthread.m4 | 317 ------------------------------------------ m4/define-dir.m4 | 34 ----- m4/gtk-doc.m4 | 88 ------------ m4/iconv.m4 | 180 ------------------------ m4/introspection.m4 | 94 ------------- m4/libjpeg.m4 | 114 --------------- 9 files changed, 55 insertions(+), 1137 deletions(-) commit f871b82edfd632f79ec7bdd0b4d560cd348d8b1a Author: Oliver Sander Date: Fri Sep 8 23:27:45 2017 +0200 qt5: ArthurOutputDev: Fix several small bugs related to dash pattern handling qt5/src/ArthurOutputDev.cc | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 3ec5e86ca000653525650a99755c85e512a04bdc Author: Oliver Sander Date: Fri Sep 29 21:24:23 2017 +0200 qt5: ArthurOutputDev: Implement the drawSoftMaskedImage method qt5/src/ArthurOutputDev.cc | 67 ++++++++++++++++++++++++++++++++++++++++++++++ qt5/src/ArthurOutputDev.h | 9 +++++++ 2 files changed, 76 insertions(+) commit 376ae2f8b8a92fd7bd751fbfcd0aa46530b59ca4 Author: Albert Astals Cid Date: Sat Sep 30 11:27:44 2017 +0200 Remove the gir-girs target It depends on the same files (subset) as the gir-typelibs target meaning that sometimes when doing a parallel build you'd get the two commands trying to generate the same file at once and bad things happen cmake/modules/GObjectIntrospectionMacros.cmake | 1 - 1 file changed, 1 deletion(-) commit 19eedc6fb693a62f305e13079501e3105f869f3c Author: Albert Astals Cid Date: Sat Sep 30 11:12:31 2017 +0200 Fix crash in broken files Bug #103045 fofi/FoFiTrueType.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5df4a8b0ad56b11c9be3b362e33810c5af57952b Author: Albert Astals Cid Date: Tue Sep 26 23:49:41 2017 +0200 Enable libcurl support by default CMakeLists.txt | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 2c92c7b6a828c9db8a38f079ea7a3d51c12a481d Author: Albert Astals Cid Date: Mon Sep 25 19:33:44 2017 +0200 Fix infinite recursion on broken files Bug #102969 poppler/Gfx.cc | 46 ++++++++++++++++++++++++++++++++++------------ poppler/GfxState.cc | 33 ++++++++++++++++++--------------- poppler/GfxState.h | 15 +++++++++------ 3 files changed, 61 insertions(+), 33 deletions(-) commit d3f12611b30e6421f05603a9838ed9131b1aa61e Author: Bernd Kuhls Date: Sun Sep 24 23:56:29 2017 +0200 include ctype.h for isdigit Bug #102951 poppler/Form.cc | 2 ++ 1 file changed, 2 insertions(+) commit a1a4be92323ae45f1ecc16595438520309554eb0 Author: Carlos Garcia Campos Date: Sun Sep 24 13:21:58 2017 +0200 cairo: do not use the custom downscaling for rendering images when using cairo >= 1.14 poppler/CairoOutputDev.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 3b64fc488e7ff10634aa2dd76ad4f152ebfe7edc Author: Carlos Garcia Campos Date: Sun Sep 24 12:39:06 2017 +0200 regtest: change default value of utils dir to ../build/utils regtest/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit deba5f3c57929a96105d822c8cba46e5334694c7 Author: Carlos Garcia Campos Date: Sun Sep 24 12:31:43 2017 +0200 cairo: Do not extend the pattern in drawImageMaskRegular This is causing some documents with tiling patterns to take ages to render, since we switched to use drawImageMaskRegular in 00a536a4. This patch applies the same changes made in 7d8dfb09 and db87dc7f for drawImageMaskPrescaled to drawImageMaskRegular. poppler/CairoOutputDev.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit cceb80b353ca748d1e04373d238195fd548319b8 Author: Carlos Garcia Campos Date: Sun Sep 24 08:24:44 2017 +0200 glib: Make g-ir-scanner always link to the libs in build directory It was using the installed libraries, causing a build failure when there's new API added to the poppler core. glib/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2afde7084ab55893182c2da59c429b48eb5d5a35 Author: Albert Astals Cid Date: Fri Sep 22 18:18:54 2017 +0200 Remove GlobalParams::splashResolution Noone was setting or getting the variable poppler/GlobalParams.h | 1 - 1 file changed, 1 deletion(-) commit df783c5d10490e94e911316a6f42bb2d91a22dea Author: Albert Astals Cid Date: Fri Sep 22 18:18:50 2017 +0200 Add a const to the static structure poppler/GlobalParamsWin.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a309cbfdd831b37461284b95763ca5a872e6af2b Author: Albert Astals Cid Date: Fri Sep 22 18:18:46 2017 +0200 Remove GlobalParams::setPSFile It had a setter but not a getter so wasn't used for anything poppler/GlobalParams.cc | 13 ------------- poppler/GlobalParams.h | 2 -- 2 files changed, 15 deletions(-) commit 7af5f7cadbdb89e0eaab148940c2c65cb12cc6d6 Author: Albert Astals Cid Date: Fri Sep 22 18:18:42 2017 +0200 Remove GlobalParams::ccFontFiles it was never filled so it was basically a noop poppler/GfxFont.cc | 10 ---------- poppler/GlobalParams.cc | 14 -------------- poppler/GlobalParams.h | 3 --- 3 files changed, 27 deletions(-) commit b5f8be7ede64e55d44ed484797a66ca068ba955f Author: Albert Astals Cid Date: Fri Sep 22 18:18:39 2017 +0200 Remove GlobalParams::fontDirs It was only read but never filled so it was basically a noop poppler/GlobalParams.cc | 31 +------------------------------ poppler/GlobalParams.h | 1 - 2 files changed, 1 insertion(+), 31 deletions(-) commit 3463537624a24e3bdcaa42c135d337c6cd452ea5 Author: Albert Astals Cid Date: Fri Sep 22 18:18:22 2017 +0200 Remove GlobalParams::getPSResidentFont* There was no way to set its contents so it's basically a noop poppler/GfxFont.cc | 38 ---------------------- poppler/GlobalParams.cc | 85 ------------------------------------------------- poppler/GlobalParams.h | 29 ----------------- poppler/PSOutputDev.cc | 6 ---- 4 files changed, 158 deletions(-) commit 851bc59c6f4b007333d064af5c6992702b92cdf6 Author: Albert Astals Cid Date: Thu Sep 21 20:45:52 2017 +0200 Remove the autotools based build system .gitignore | 20 +- INSTALL | 244 ++------ INSTALL.cmake | 76 --- Makefile.am | 133 ----- autogen.sh | 117 ---- configure.ac | 1154 -------------------------------------- cpp/Makefile.am | 74 --- cpp/tests/Makefile.am | 21 - fofi/Makefile.am | 28 - glib/Makefile.am | 122 ---- glib/demo/Makefile.am | 56 -- glib/poppler-features.h.in | 88 --- glib/reference/Makefile.am | 92 --- glib/reference/version.xml.in | 1 - goo/Makefile.am | 69 --- poppler-cairo-uninstalled.pc.in | 6 - poppler-cairo.pc.in | 9 - poppler-cpp-uninstalled.pc.in | 7 - poppler-cpp.pc.in | 13 - poppler-glib-uninstalled.pc.in | 7 - poppler-glib.pc.in | 13 - poppler-qt4-uninstalled.pc.in | 7 - poppler-qt4.pc.in | 13 - poppler-qt5-uninstalled.pc.in | 7 - poppler-qt5.pc.in | 13 - poppler-splash-uninstalled.pc.in | 7 - poppler-splash.pc.in | 9 - poppler-uninstalled.pc.in | 6 - poppler.pc.in | 11 - poppler/Makefile.am | 348 ------------ poppler/poppler-config.h.in | 196 ------- qt4/Makefile.am | 1 - qt4/demos/Makefile.am | 65 --- qt4/src/Makefile.am | 76 --- qt4/tests/Makefile.am | 141 ----- qt5/Makefile.am | 1 - qt5/demos/Makefile.am | 65 --- qt5/src/Makefile.am | 78 --- qt5/tests/Makefile.am | 141 ----- splash/Makefile.am | 73 --- test/Makefile.am | 67 --- utils/Makefile.am | 155 ----- 42 files changed, 43 insertions(+), 3787 deletions(-) commit 1a33f60da2996ea64c1b903580885697940cf046 Author: Albert Astals Cid Date: Thu Sep 21 20:32:25 2017 +0200 Add some constness to the basic classes goo/GooString.cc | 2 +- goo/GooString.h | 2 +- poppler/Array.cc | 8 +-- poppler/Array.h | 12 ++--- poppler/Dict.cc | 18 +++---- poppler/Dict.h | 26 +++++----- poppler/Object.cc | 4 +- poppler/Object.h | 152 +++++++++++++++++++++++++++--------------------------- 8 files changed, 112 insertions(+), 112 deletions(-) commit 135843fa8398364e0559c2b0b96f9be4a44572c5 Author: Carlos Garcia Campos Date: Wed Sep 20 19:38:14 2017 +0200 Add gtk-doc support to CMake build CMakeLists.txt | 4 +- glib/CMakeLists.txt | 4 + glib/reference/CMakeLists.txt | 12 ++ gtkdoc.py | 440 ++++++++++++++++++++++++++++++++++++++++++ make-glib-api-docs | 66 +++++++ 5 files changed, 525 insertions(+), 1 deletion(-) commit e51db61a33cdbe6307f048b65912a85f6cd1ec5b Author: William Bader Date: Wed Sep 20 19:36:46 2017 +0200 PSOutputDev: Fix wrong text generation This patch moves the code to update the max valid glyph hash into its own function and updates the max valid glyph only if the new value is higher than the previous value. This fixes a problem with pages that have multiple copies of the same font with different glyph counts. If poppler processed the font with the smaller count last, and then the PDF wrote text in the font with the larger count, pdftops would not show the glyphs above the maximum of the smaller font. Bug #102760 poppler/PSOutputDev.cc | 16 ++++++++++------ poppler/PSOutputDev.h | 1 + 2 files changed, 11 insertions(+), 6 deletions(-) commit 6665839b5ce2e4f6fb2acc682ce2f91ed2404ce8 Author: Albert Astals Cid Date: Wed Sep 20 19:36:29 2017 +0200 qt5: The tests don't need GUI qt5/tests/check_actualtext.cpp | 2 +- qt5/tests/check_attachments.cpp | 2 +- qt5/tests/check_dateConversion.cpp | 2 +- qt5/tests/check_fonts.cpp | 2 +- qt5/tests/check_goostring.cpp | 2 +- qt5/tests/check_lexer.cpp | 2 +- qt5/tests/check_links.cpp | 2 +- qt5/tests/check_metadata.cpp | 2 +- qt5/tests/check_optcontent.cpp | 2 +- qt5/tests/check_pagelabelinfo.cpp | 2 +- qt5/tests/check_pagelayout.cpp | 2 +- qt5/tests/check_pagemode.cpp | 2 +- qt5/tests/check_password.cpp | 2 +- qt5/tests/check_permissions.cpp | 2 +- qt5/tests/check_search.cpp | 2 +- qt5/tests/check_strings.cpp | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) commit 26a067d4a84f80eeb892e30a5ab608d0fbea1de5 Author: Albert Astals Cid Date: Wed Sep 20 10:36:04 2017 +0200 Remove the moc includes Some people are having trouble with them and automoc really should be taking care of this so no need to have the include. Let's hope this doesn't break some other people :D qt5/demos/abstractinfodock.cpp | 1 - qt5/demos/embeddedfiles.cpp | 1 - qt5/demos/fonts.cpp | 1 - qt5/demos/info.cpp | 1 - qt5/demos/metadata.cpp | 1 - qt5/demos/navigationtoolbar.cpp | 1 - qt5/demos/optcontent.cpp | 1 - qt5/demos/pageview.cpp | 1 - qt5/demos/permissions.cpp | 1 - qt5/demos/thumbnails.cpp | 1 - qt5/demos/toc.cpp | 1 - qt5/demos/viewer.cpp | 1 - qt5/src/poppler-optcontent.cc | 1 - 13 files changed, 13 deletions(-) commit 939465c40902d72e0c05d4f3a27ee67e4a007ed7 Author: Albert Astals Cid Date: Tue Sep 19 21:19:03 2017 +0200 Fix crash in broken files Bug #102854 poppler/Stream.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit a8aa61f774503c9ebd840e148c4fa31a6959600d Author: Albert Astals Cid Date: Tue Sep 19 21:17:49 2017 +0200 autotools: Fix build qt5/src/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6b82904b717994c887f33bfc72e4999363fc8e72 Author: Albert Astals Cid Date: Sun Sep 17 23:03:48 2017 +0200 Fix printf-like format warnings poppler/Stream.h | 2 +- test/perf-test.cc | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) commit b26924e32128b7ba57260e9fdc54be1893bcff77 Author: Albert Astals Cid Date: Sun Sep 17 02:06:32 2017 +0200 A few more static markers test/perf-test.cc | 2 +- utils/pdftocairo-win32.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4a4e291246f238731429729e10633ee1f627eb77 Author: Albert Astals Cid Date: Sun Sep 17 01:58:36 2017 +0200 Make newer gcc happy about fallthrough on HtmlOutputDev.cc fixes a leak when printHtml is false fofi/FoFiTrueType.cc | 2 ++ poppler/Annot.cc | 4 ++-- poppler/SplashOutputDev.cc | 8 ++++++++ splash/Splash.cc | 2 ++ utils/HtmlOutputDev.cc | 9 ++++----- 5 files changed, 18 insertions(+), 7 deletions(-) commit 0790dd3afb8370aebca8e7e154bbd2b5ae5cd5a2 Author: Albert Astals Cid Date: Sat Sep 16 18:01:49 2017 +0200 Fix missing-declarations warnings ... and add it to default warning set cmake/modules/PopplerMacros.cmake | 2 +- cpp/tests/poppler-dump.cpp | 2 +- glib/poppler-action.cc | 1 + goo/JpegWriter.cc | 2 +- goo/gmem.h | 2 +- poppler/Annot.cc | 6 ++-- poppler/Decrypt.cc | 2 +- poppler/TextOutputDev.cc | 2 +- qt4/src/poppler-link.cc | 2 +- qt4/src/poppler-private.cc | 6 ++-- qt4/tests/check_links.cpp | 4 +-- qt4/tests/poppler-forms.cpp | 14 ++++----- qt5/src/poppler-link.cc | 2 +- qt5/src/poppler-private.cc | 6 ++-- qt5/tests/check_links.cpp | 4 +-- qt5/tests/poppler-forms.cpp | 18 ++++++------ test/perf-test-preview-dummy.cc | 4 +++ test/perf-test.cc | 62 +++++++++++++++++++-------------------- utils/pdfinfo.cc | 4 +-- utils/pdfseparate.cc | 2 +- utils/pdfsig.cc | 6 ++-- utils/pdftotext.cc | 2 +- utils/pdfunite.cc | 6 ++-- 23 files changed, 83 insertions(+), 78 deletions(-) commit afd91b148d3d0ba025821740ff4c075b1de2fdc5 Author: Albert Astals Cid Date: Sat Sep 16 17:47:42 2017 +0200 Fix warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘int*’ poppler/UnicodeMap.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a0ed20f3fb8025706ad9a580f6a692316bf6df66 Author: Albert Astals Cid Date: Sat Sep 16 17:45:42 2017 +0200 -Woverflow fixes cpp/poppler-private.cpp | 4 ++-- glib/poppler-document.cc | 3 +-- goo/GooString.cc | 6 ++++++ goo/GooString.h | 1 + poppler/Annot.cc | 9 +++------ poppler/Form.cc | 13 +++++-------- qt4/src/poppler-private.cc | 4 ++-- qt5/src/poppler-private.cc | 4 ++-- 8 files changed, 22 insertions(+), 22 deletions(-) commit d51cc34d7d51b6ddb7bfba318ed12bcbe763be6a Author: Albert Astals Cid Date: Sat Sep 16 17:35:15 2017 +0200 -pedantic fixes glib/poppler-media.cc | 2 +- glib/poppler-movie.cc | 2 +- glib/poppler-structure-element.cc | 2 +- goo/glibc.h | 2 +- poppler/StructElement.cc | 14 +++++++------- utils/JSInfo.cc | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) commit 804a823a67fedc3e633e89f817232d3c15715b56 Author: Adrian Johnson Date: Sat Sep 16 20:16:58 2017 +0930 cmake: restructure the warnings into a "default" and "extra" group Most of the previous warnings are now in default. Extra warnings that should be fixed but currently result in a lot of warnings are in the extra group. The old no/yes/kde COMPILE_WARNINGS option has been replaced with the boolean option EXTRA_WARN (default off) to enable the extra warnings. CMakeLists.txt | 18 +++++------------- cmake/modules/PopplerMacros.cmake | 32 ++++++++++++++++++++++++-------- 2 files changed, 29 insertions(+), 21 deletions(-) commit 6d40d4bad46ce1b53624feca7410b35e4fe0048d Author: Albert Astals Cid Date: Fri Sep 15 01:07:59 2017 +0200 CurlPDFDocBuilder don't crash if given a url that doesn't exist poppler/CurlPDFDocBuilder.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit cc43c720e857548175a9e35b0686a1a7a8957f50 Author: Oliver Sander Date: Fri Aug 18 11:51:06 2017 +0200 Replace Splash font rendering by Qt font rendering Previously, the Arthur backend would use Splash code to do its font rendering. That was not a satisfactory solution: Qt can do font rendering directly. Also, the Splash font rendering in the Arthur code had a few bugs, which lead to legible-but-not-pretty fonts. This patch replaces the Splash font rendering by Qt font rendering. Some Splash code will have to remain, because Qt seems unable to do the proper charcode-to-glyph-index transformations. I took a lot of inspiration from Mihai Niculescu's patch at https://lists.freedesktop.org/archives/poppler/2013-June/010370.html That's why the patch adds Mihai's name in the copyright list. qt5/src/ArthurOutputDev.cc | 254 +++++++++++++++++++++++++-------------------- qt5/src/ArthurOutputDev.h | 31 +++++- splash/SplashFTFontFile.cc | 4 + splash/SplashFTFontFile.h | 3 + 4 files changed, 177 insertions(+), 115 deletions(-) commit da63c35549e8852a410946ab016a3f25ac701bdf Author: Albert Astals Cid Date: Thu Sep 14 19:14:41 2017 +0200 FoFiType1C::convertToType0: Fix crash in broken files Bug #102724 fofi/FoFiType1C.cc | 3 +++ 1 file changed, 3 insertions(+) commit 504b3590182175390f474657a372e78fb1508262 Author: Albert Astals Cid Date: Thu Sep 14 19:14:23 2017 +0200 Splash::scaleImage: Do not try to scale if srcHeight or srcWidth are < 1 Bug #102719 splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 500ce88a3b5b0bd556ac6941ba66a86cae44663a Author: Oliver Sander Date: Wed Sep 13 12:12:29 2017 +0200 Fix two minor typos qt5/tests/test-render-to-file.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 80f9819b6233f9f9b5fd44f0e4cad026e5d048c2 Author: Albert Astals Cid Date: Wed Sep 13 23:09:45 2017 +0200 isImageInterpolationRequired: Fix divide by 0 on broken documents Bug #102688 splash/Splash.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aaf5327649e8f7371c9d3270e7813c43ddfd47ee Author: Albert Astals Cid Date: Wed Sep 13 23:01:03 2017 +0200 Gfx::doShowText: Fix infinite recursion on broken files Bug #102701 poppler/Gfx.cc | 25 +++++++++++++++++++++++-- poppler/Gfx.h | 1 + poppler/GfxFont.cc | 8 ++++++++ poppler/GfxFont.h | 1 + 4 files changed, 33 insertions(+), 2 deletions(-) commit 476394e7a025e02e4897da2e765df2c895d0708f Author: Albert Astals Cid Date: Wed Sep 13 22:58:14 2017 +0200 XRef::parseEntry: Fix crash in broken file Bug #102687 poppler/XRef.cc | 3 +++ 1 file changed, 3 insertions(+) commit 0f891b85169dabd3d23348aba40266547bd4bcf6 Author: Adrian Johnson Date: Wed Sep 13 20:12:52 2017 +0930 pdfinfo: don't truncate dest name utils/pdfinfo.cc | 1 - 1 file changed, 1 deletion(-) commit 951e7b3c1f337ceaf490edce3c575f89c45cb6d4 Author: Adrian Johnson Date: Wed Sep 13 19:24:07 2017 +0930 cmake: ensure user cflags/cxxflags are appended to end cmake/modules/PopplerMacros.cmake | 44 +++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 20 deletions(-) commit a5c616a65a77bf597836cced6f987e5b93480ca5 Author: Adrian Johnson Date: Mon Sep 11 20:55:01 2017 +0930 cmake INSTALL file INSTALL.cmake | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) commit a5e5649ecf16fa05770620dbbd4985935dc2bbff Author: Albert Astals Cid Date: Mon Sep 11 12:35:16 2017 +0200 Fix crash in FoFiType1C::convertToType0 in broken files Bug #102653 fofi/FoFiType1C.cc | 435 +++++++++++++++++++++++++++-------------------------- 1 file changed, 220 insertions(+), 215 deletions(-) commit 325887ebef8ea1c6ef9d3607a59d95ffea383986 Author: Albert Astals Cid Date: Sun Sep 10 17:41:47 2017 +0200 Make JBIG2Stream::readGenericBitmap return cleanly on error instead of causing abort Also fixes warning when compiled with newer gcc poppler/JBIG2Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f253a28f4c5bb65c363d31b8b46f984c660499ee Author: Albert Astals Cid Date: Fri Sep 8 19:05:36 2017 +0200 qt5: in development -> is stable The API itself is done-ish even if it gets improvements from time to time. In development seems to imply "don't use me yet" qt5/src/Mainpage.dox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1316c7a41f4dd7276f404f775ebb5fef2d24ab1c Author: Albert Astals Cid Date: Fri Sep 8 18:29:42 2017 +0200 Annot: Fix crash on broken files Bug #102607 poppler/Annot.cc | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) commit 2532df6060092e9fab7f041ae9598aff9cdd94bb Author: Albert Astals Cid Date: Fri Sep 8 18:28:15 2017 +0200 Annot: Fix crash on broken files Bug #102601 poppler/Annot.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6472d8493f7e82cc78b41da20a2bf19fcb4e0a7d Author: Albert Astals Cid Date: Fri Sep 8 18:26:05 2017 +0200 SplashOutputDev: Fix crash on broken files Bug #102604 poppler/SplashOutputDev.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 3ab44e2a77b560198c1e1616cfb39c1ac7374e29 Author: Albert Astals Cid Date: Fri Sep 8 18:21:40 2017 +0200 Remove unmaintained TODO file TODO | 40 ---------------------------------------- 1 file changed, 40 deletions(-) commit dfcf997e6fbca31dbe051fbd9c32aca818825e38 Author: Hans-Ulrich Jüttner Date: Wed Sep 6 11:03:52 2017 +0200 Added methods to get and set the font size of text fields Fixes bug #101692 poppler/Annot.cc | 24 +++---------- poppler/Form.cc | 92 +++++++++++++++++++++++++++++++++++++++++++++++++ poppler/Form.h | 16 +++++++++ qt5/src/poppler-form.cc | 12 ++++++- qt5/src/poppler-form.h | 10 ++++++ 5 files changed, 134 insertions(+), 20 deletions(-) commit 0bda8bb8eda838316a61238441665abfd24eb020 Author: Oliver Sander Date: Thu Sep 7 19:55:54 2017 +0200 Disable glib if cairo is not found CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 118cd73a3c4eba78bbfed16cfc2996dec5491944 Author: Albert Astals Cid Date: Wed Sep 6 19:42:26 2017 +0200 cmake: Give people the option to build poppler as a static library CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 766a32ff59dadd9ae4639d8a79861a17be6aec52 Author: Adrian Johnson Date: Tue Sep 5 20:55:45 2017 +0930 cmake: add options to disable glib/qt4/qt5 CMakeLists.txt | 54 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 20 deletions(-) commit 101aba9a8d6623bca419946262fea6b46a790454 Author: Albert Astals Cid Date: Tue Sep 5 19:34:12 2017 +0200 cmake: Fix build when using a cairo different than the system one glib/demo/CMakeLists.txt | 2 +- test/CMakeLists.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 1d3f00e8c53dbbd3a8409993b7b66667df434b5d Author: Adrian Johnson Date: Tue Sep 5 06:39:49 2017 +0930 ignore build directory .gitignore | 1 + 1 file changed, 1 insertion(+) commit 340a99f580b9f7b6add831e9a0252574bfea66f2 Author: Oliver Sander Date: Fri Sep 1 22:16:49 2017 +0200 Control whether renderToImage shows annotations I'd like to control whether the renderToImage and renderToPainter methods show annotations or not. To this end, this patch introduces a new value 'HideAnnotations' to the Document::RenderHint enum. qt5/src/poppler-page.cc | 36 ++++++++++++++++++++++++++++++++++-- qt5/src/poppler-qt5.h | 3 ++- 2 files changed, 36 insertions(+), 3 deletions(-) commit dd80c182cbcb188af0dd590f222ba9bbb31e3fb7 Author: Albert Astals Cid Date: Mon Sep 4 19:36:06 2017 +0200 Fix building with old clang poppler/StructElement.cc | 2 ++ 1 file changed, 2 insertions(+) commit a22cd0badbc177f8a2eedb0386895ddf3379c618 Author: Albert Astals Cid Date: Sun Sep 3 23:35:08 2017 +0200 Initial make dist support in cmake .gitattributes | 5 +++++ CMakeLists.txt | 9 +++++++++ 2 files changed, 14 insertions(+) commit 85bfedad416906b1a5dff377d470387692b5ca70 Author: Albert Astals Cid Date: Sun Sep 3 22:54:32 2017 +0200 Poppler 0.59 CMakeLists.txt | 4 ++-- NEWS | 15 +++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 22 insertions(+), 7 deletions(-) commit 98b4c23cf6f6eb0dbc167ed0606932b0d8de39f1 Author: Albert Astals Cid Date: Sun Sep 3 22:50:31 2017 +0200 Update (C) utils/pdfinfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c8dfc90603111aea36add20c88abde79a351d85 Author: Albert Astals Cid Date: Sun Sep 3 22:32:09 2017 +0200 Remove the old if/else cmake syntax that was weird and forced you to replicate the if clause in the else and endif CMakeLists.txt | 154 +++++++++++++++++++++++------------------------ cpp/tests/CMakeLists.txt | 2 +- glib/CMakeLists.txt | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/tests/CMakeLists.txt | 8 +-- qt5/src/CMakeLists.txt | 2 +- qt5/tests/CMakeLists.txt | 8 +-- test/CMakeLists.txt | 10 +-- utils/CMakeLists.txt | 10 +-- 9 files changed, 99 insertions(+), 99 deletions(-) commit 251bb42e9af251c86b8fec120e14972ac7c07106 Author: Albert Astals Cid Date: Sun Sep 3 22:23:18 2017 +0200 Remove the check for cmake >= 2.8.8 since we're requiring 3.1 already CMakeLists.txt | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) commit 3ea09e735f81a2a16a204388bc474871aaa10271 Author: Adrian Johnson Date: Sat Sep 2 17:50:58 2017 +0930 Fix warning when compiling with cygwin ImageOutputDev.cc:532:14: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized] utils/ImageOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6ef21aea5bb8b87f9a7e9217c316cd5e10612a62 Author: Adrian Johnson Date: Sat Sep 2 17:50:35 2017 +0930 Fix cygwin 32-bit compile poppler/goo/gfile.cc: In function ‘GBool openTempFile(GooString**, FILE**, const char*)’: poppler/goo/gfile.cc:409:37: error: ‘mkstemp’ was not declared in this scope fd = mkstemp((*name)->getCString()); ^ poppler/goo/gfile.cc:417:39: error: ‘fdopen’ was not declared in this scope if (fd < 0 || !(*f = fdopen(fd, mode))) { ^ poppler/goo/gfile.cc: In function ‘int Gfseek(FILE*, Goffset, int)’: poppler/goo/gfile.cc:558:34: error: ‘fseeko’ was not declared in this scope return fseeko(f, offset, whence); ^ poppler/goo/gfile.cc: In function ‘Goffset Gftell(FILE*)’: poppler/goo/gfile.cc:572:18: error: ‘ftello’ was not declared in this scope return ftello(f); ^ cmake/modules/PopplerMacros.cmake | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 048237db6a7122a5769a15c7dd3ae3680e06e9bb Author: Albert Astals Cid Date: Sat Sep 2 22:59:32 2017 +0200 pdfunite: Fix API porting error that caused abort in some cases We need to check for xRef->getTrailerDict() existing before accessing xRef->getDocInfo(); poppler/PDFDoc.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 4459d817194431f4f00553d5ad67b960a37e4c9d Author: Adrian Johnson Date: Sat Sep 2 20:16:44 2017 +0930 pdfinfo: use GooString.append instead of sprintf/strcat https://lists.freedesktop.org/archives/poppler/2017-September/012437.html utils/pdfinfo.cc | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) commit 267ff8af69ae7e8526d9bfe5063207c87a9b70b5 Author: Albert Astals Cid Date: Sat Sep 2 13:27:33 2017 +0200 Fix infinite recursion in NameTree parsing in broken files poppler/Catalog.cc | 16 +++++++++++++--- poppler/Catalog.h | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) commit c5487b653b1c37882af32a25296611e64d7ba867 Author: Albert Astals Cid Date: Sat Sep 2 11:55:17 2017 +0200 pdfinfo: -dests don't crash in broken documents That have pages that don't have ref utils/pdfinfo.cc | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) commit 10660b359dc960f4b0f3728243c64eec79c39851 Author: Albert Astals Cid Date: Sat Sep 2 11:50:00 2017 +0200 pdfinfo: Fix memory leaks when using -dests utils/pdfinfo.cc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit ea6174def73f7478ae76843bb88ef85c5a6150f9 Author: Albert Astals Cid Date: Sat Sep 2 11:31:51 2017 +0200 pdfinfo: Fix crash if getDest* returns nullptr utils/pdfinfo.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 73e12716f3e4643c2ea13421902b8220596454d7 Author: Albert Astals Cid Date: Fri Sep 1 20:11:27 2017 +0200 Poppler 0.58 CMakeLists.txt | 4 ++-- NEWS | 30 ++++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 37 insertions(+), 7 deletions(-) commit 8a5c7be5b5772672b34638532793cf62be78e9b8 Author: Albert Astals Cid Date: Fri Sep 1 20:02:17 2017 +0200 Add missing includes goo/JpegWriter.cc | 2 +- goo/JpegWriter.h | 2 +- goo/gfile.cc | 1 + goo/gfile.h | 1 + poppler/CairoOutputDev.cc | 2 +- poppler/Gfx.cc | 2 +- poppler/GlobalParams.cc | 1 + poppler/GlobalParamsWin.cc | 2 ++ poppler/Outline.cc | 1 + poppler/Stream.cc | 2 +- poppler/Stream.h | 2 +- splash/SplashBitmap.cc | 2 +- splash/SplashBitmap.h | 2 +- utils/pdftocairo.cc | 2 +- 14 files changed, 15 insertions(+), 9 deletions(-) commit 26f64a2a34a9273897c34045ea7af5e8c3c603cb Author: Albert Astals Cid Date: Thu Aug 31 15:37:07 2017 +0200 cmake: enable glib for windows too There's no need to not having it enabled cmake/modules/FindGLIB.cmake | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 90bc39daf9d3276b166b4c88e1d2c1988aa41c71 Author: Oliver Sander Date: Mon Aug 28 10:25:12 2017 +0200 Document some parameters of the drawChar method Thanks to Adrian Johnson, who explained their meaning to me. poppler/OutputDev.h | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 59e6e9b3e4d77229051cafeeeb65a82e9a966204 Author: Albert Astals Cid Date: Sun Aug 27 12:54:03 2017 +0200 Add missing inlcudes when compiling with cmake+mingw utils/pdftocairo-win32.cc | 3 +++ 1 file changed, 3 insertions(+) commit 13cf327cd512ebc26c8bd31cdd80d61027634bcb Author: Albert Astals Cid Date: Sun Aug 27 12:51:19 2017 +0200 cmake: Use -std=c++11 instead of -std=gnu++11 CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) commit 1602610ce2bbab2feb0177f0876e1ed0ee40a472 Author: Tobias C. Berner Date: Sun Aug 27 12:16:05 2017 +0200 Include time.h for time_t qt5/src/poppler-form.h | 2 ++ 1 file changed, 2 insertions(+) commit 40cb9f4bf6f35ea62bc7b9e5c23008f98ebd4b36 Author: Albert Astals Cid Date: Thu Aug 24 11:14:34 2017 +0200 Fix build with mingw config.h.cmake | 6 ++++++ poppler/GlobalParamsWin.cc | 21 ++++++--------------- poppler/Link.cc | 14 ++------------ poppler/PDFDoc.cc | 4 +--- 4 files changed, 15 insertions(+), 30 deletions(-) commit 5be33ba49071a9ffeb62be93e5dc01267318d1c2 Author: Adrian Johnson Date: Wed Aug 23 21:00:09 2017 +0930 Fix Outline title poppler/Outline.cc | 1 + 1 file changed, 1 insertion(+) commit 1b84a71ee2550ae4b14cb1e40576de1f022eb2e8 Author: Oliver Sander Date: Tue Aug 22 11:43:08 2017 +0200 Use Qt::SvgMiterJoin instead of Qt::MiterJoin The two differ in what happens when the miter limit is exceeded. According to https://bugreports.qt.io/browse/QTBUG-52640 Qt::SvgMiterJoin is what the pdf standard requires. Closes: https://bugs.freedesktop.org/show_bug.cgi?id=102356 qt5/src/ArthurOutputDev.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 0793b6740121f4af07360800bebdc6238fc43087 Author: Oliver Sander Date: Sun Aug 13 19:47:15 2017 +0200 Document the updateCTM method poppler/OutputDev.h | 7 +++++++ 1 file changed, 7 insertions(+) commit 488d28ec9507eb99c7cb4cd2cafb54995a8bc9f8 Author: Adrian Johnson Date: Wed Aug 16 21:01:07 2017 +0930 pdfimages: support listing/extracting inline images The difficulty with extracting inline images is that inline images do not provide any way of determining the length or end of image data without decoding the image. We can get the length by using ImageStream to decode the data then check the stream position. But then we are still unable to extract the undecoded image data because embedded streams can only be read once. Since inline images tend to be small the solution implemented is to modify EmbedStream to keep a copy of the data read from it in memory and then allow the data to be read again. Two new functions have been added to EmbedStream. rewind() will cause EmbedStream.getChar() to stop recording data and switch to replaying the saved data, returning EOF when the end of the saved data is reached. The restore() function will make getChar() switch back to reading from the parent stream. ImageOutputDev can now extract or get the image size by first using ImageStream to read data from the embedded stream. After calling rewind() the undecoded image data can be read from the embedded stream until EOF is returned. Then restore() is called so that Gfx can read the 'EI' from the end of the embedded stream. Bug 25625 poppler/Gfx.cc | 2 +- poppler/Stream.cc | 96 +++++++++++++++++++++++++++++++++++++++++++------ poppler/Stream.h | 14 ++++++-- utils/ImageOutputDev.cc | 67 ++++++++++++++++++++++++++++++---- utils/ImageOutputDev.h | 1 + 5 files changed, 159 insertions(+), 21 deletions(-) commit b9030a069756c84669ed6f408399cc7e2ce4fd10 Author: Adrian Johnson Date: Sun Jul 16 12:23:28 2017 +0930 pdftoppm: add -jpegopt for setting jpeg compression parameters Bug 45727 splash/SplashBitmap.cc | 25 ++++++++++++---- splash/SplashBitmap.h | 15 ++++++++-- utils/pdftoppm.1 | 15 ++++++++++ utils/pdftoppm.cc | 80 ++++++++++++++++++++++++++++++++++++++++++++++---- 4 files changed, 120 insertions(+), 15 deletions(-) commit dd54243f00557e84dba887403912d12463c8b1e9 Author: Adrian Johnson Date: Sat Jul 15 21:26:29 2017 +0930 pdftocairo: add -jpegopt for setting jpeg compression parameters Bug 45727 goo/JpegWriter.cc | 10 ++++++++ goo/JpegWriter.h | 2 ++ utils/pdftocairo.1 | 17 ++++++++++++- utils/pdftocairo.cc | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 99 insertions(+), 1 deletion(-) commit 00a536a455e4dd396c6b8b74d3e6a5c82d987eed Author: Adrian Johnson Date: Wed Aug 16 21:21:58 2017 +0930 cairo 1.14 now has high quality downscaling The filter needs to be GOOD or BEST to activate the high quality downscaling. poppler/CairoOutputDev.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 535bc8eeaf8d354a84129fe00c3a5e3ac0a85aa3 Author: Christoph Cullmann Date: Wed Aug 16 21:11:36 2017 +0930 win32: call ANSI functions directly to be able to compile with different -DUNICODE variants Bug 100312 goo/gfile.cc | 14 +++++++------- goo/gfile.h | 2 +- poppler/GlobalParams.cc | 2 +- poppler/GlobalParamsWin.cc | 20 ++++++++++---------- 4 files changed, 19 insertions(+), 19 deletions(-) commit a8d670b59b0301040e716f3a11a78fce1177337d Author: Adrian Johnson Date: Tue Aug 15 21:35:27 2017 +0930 pdfinfo: add -dests option to print named destinations Bug 97262 utils/pdfinfo.1 | 4 ++ utils/pdfinfo.cc | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 143 insertions(+), 1 deletion(-) commit 6d3239a2fd04595fecfb81a8703794877f4d8dec Author: Adrian Johnson Date: Tue Aug 15 20:09:25 2017 +0200 Fix build with autotools qt5/src/Makefile.am | 1 + utils/Makefile.am | 4 ++++ 2 files changed, 5 insertions(+) commit b56a697c58bcf09063827b9c109be9c04a033b8a Author: Albert Astals Cid Date: Tue Aug 15 12:25:26 2017 +0200 Improvements to the previous Signature commit * Remove FormWidgetSignature::setFormSignatureType, the API was weird, make it be an output parameter of getCheckedSignature * include cleanup * Make validation time mandatory, marking to use -1 for *now* * Remove setFormSignatureType noone uses * Fix compilation wihtout NSS3 * Don't static cast between NSS3 HASH_HashType and poppler-qt5 HashAlgorithm * Actually pass validationTime down in FormFieldSignature::validate * Add since markers to poppler-qt5 functions/enums * Fix spacing * Remove SignatureValidationInfo::signingDateTime that returns QDateTime, having two functions that return the same is a bit confusing, and we're not filling the timezone info anyway, so let it be a time_t poppler/Form.cc | 17 ++++--------- poppler/Form.h | 20 ++++++---------- poppler/SignatureHandler.h | 5 ++-- poppler/SignatureInfo.cc | 7 +++++- poppler/SignatureInfo.h | 4 ++-- qt5/src/poppler-form.cc | 52 ++++++++++++++++++++++------------------ qt5/src/poppler-form.h | 59 +++++++++++++++++++++++++++++----------------- utils/pdfsig.cc | 25 +++++--------------- 8 files changed, 96 insertions(+), 93 deletions(-) commit a81700dfa638872fe9641289971ca9a2b50b42ad Author: Hans-Ulrich Jüttner Date: Tue Aug 15 10:27:26 2017 +0200 Various signature related improvements Export signature via Qt5 interface. Add support for signatures of SubFilter "ETSI.CAdES.detached". Add an optional validation time to method validateSignature(). Print full Subject Distinguished Name, signing time, hash algorithm and a statement wether the total document is signed in pdfsig. Fixes bug #99271 poppler/Form.cc | 178 ++++++++++++++++++++++++++++++++++++++++++-- poppler/Form.h | 34 ++++++++- poppler/SignatureHandler.cc | 34 ++++++++- poppler/SignatureHandler.h | 5 +- poppler/SignatureInfo.cc | 33 +++++++- poppler/SignatureInfo.h | 9 ++- qt5/src/poppler-form.cc | 112 ++++++++++++++++++++++++++++ qt5/src/poppler-form.h | 58 +++++++++++++++ utils/pdfsig.1 | 6 +- utils/pdfsig.cc | 73 ++++++++++++++++++ 10 files changed, 523 insertions(+), 19 deletions(-) commit e15a0df15b89e1c7ba98cd7bbbf8ef97e541d231 Author: Hannah von Reth Date: Sun Aug 13 20:26:44 2017 +0200 Remove old/wrong cmake code for MSVC cpp/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) commit 236f4ff4f516cb68a2d102627b0a3da73578c67f Author: Hannah von Reth Date: Sun Aug 13 20:24:15 2017 +0200 Use WIN32_LEAN_AND_MEAN on Windows CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) commit 1abf98b76ba134adc44883cd2ae345f769ca0d5a Author: Oliver Sander Date: Sat Aug 12 16:42:40 2017 +0200 qt5: ArthurOutputDev: Properly set the QPainter transformation Previously, the code did not touch the QPainter world transformation matrix. Rather, the code contained ad hoc coordinate transformations scattered throughout the code. This patch does a cleanup: the QPainter transformation matrix is set properly, and the hand-coded transformations are removed. This should not affect the rendering output, but it makes the current (and future!) code simpler to read and write. qt5/src/ArthurOutputDev.cc | 56 ++++++++++++++++++++++++---------------------- qt5/src/ArthurOutputDev.h | 4 ++++ 2 files changed, 33 insertions(+), 27 deletions(-) commit 2baaa02087ef66b97bf3c4bce49785a10632178f Author: Albert Astals Cid Date: Sun Aug 13 12:35:39 2017 +0200 Revert part of last commit, we wants tests not to fail :) qt5/tests/check_metadata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3af2e18fc31f18efb36408281ca5879f284edaa4 Author: Oliver Sander Date: Fri Aug 11 22:55:41 2017 +0200 Fix copy'n'paste bugs: Qt4 -> Qt5 qt5/src/ArthurOutputDev.h | 2 +- qt5/src/poppler-annotation.h | 2 +- qt5/tests/check_metadata.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit a9581e624fa62b3905b790ac10d1349b1f96048a Author: Roland Hieber Date: Fri Aug 11 11:44:26 2017 +0200 Form.h: fix error: 'vector' in namespace 'std' does not name a type Bug #102147 Original error message while compiling with OSELAS.Toolchain-2016.06.1-arm-v7a-linux-gnueabi, gcc-5.4.0-glibc-2.23-binutils-2.26-kernel-4.6-sanitized: make[5]: Entering directory '/ptx/work/dude/WORK_B/rhi/OSELAS.BSP-Miele-PST/platform-cpu20/build-target/poppler-0.57.0/qt4/src' CXX libpoppler_qt4_la-poppler-form.lo In file included from poppler-form.cc:26:0: ../../poppler/Form.h:544:14: error: 'vector' in namespace 'std' does not name a template type ../../poppler/Form.h:556:8: error: 'vector' in namespace 'std' does not name a template type Makefile:735: recipe for target 'libpoppler_qt4_la-poppler-form.lo' failed configure arguments were: --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libdir=/usr/lib --host=arm-v7a-linux-gnueabi --build=x86_64-host-linux-gnu --enable-option-checking --disable-silent-rules --disable-dependency-tracking --enable-shared --enable-fast-install --enable-libtool-lock --enable-xpdf-headers --enable-build-type=release --disable-single-precision --enable-fixedpoint --enable-cmyk --disable-relocatable --enable-libopenjpeg=none --disable-libnss --disable-libtiff --enable-largefile --enable-zlib --disable-zlib-uncompress --enable-libcurl --enable-dctdecoder=libjpeg --enable-libpng --disable-splash-output --enable-cairo-output --enable-poppler-glib --disable-introspection --disable-gtk-doc --disable-gtk-doc-html --disable-gtk-doc-pdf --enable-poppler-qt4 --disable-poppler-qt5 --enable-poppler-cpp --disable-gtk-test --enable-utils --disable-compile-warnings --enable-cms=lcms1 --without-x --with-font-configuration=fontconfig --without-libiconv-prefix --with-testdatadir= Signed-off-by: Roland Hieber poppler/Form.h | 2 ++ 1 file changed, 2 insertions(+) commit f0ecbc6f988aa19ffb2b7e583dca4e609f2f6c65 Author: Thomas Freitag Date: Thu Aug 10 09:17:27 2017 +0200 Tweak which cmap we use Bug #101855 poppler/GfxFont.cc | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit 7e844eae94bc4eda1c6dcc3460840b25f4ca7898 Author: Oliver Sander Date: Wed Aug 9 11:09:50 2017 +0200 qt5: Arthur: initialize the image with the paper color Bug #102129 qt5/src/poppler-page.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit d7b800933e1b57c180247708991f5c3a282f8305 Author: Jason Alan Palmer Date: Wed Aug 9 00:41:05 2017 +0200 cpp: Fix page.text() not taking page orientation into account Bug #94517 cpp/poppler-page.cpp | 10 +++++++++- cpp/tests/poppler-dump.cpp | 3 ++- 2 files changed, 11 insertions(+), 2 deletions(-) commit cd04a81343fd5cba824a891f25c01eeffee5f906 Author: Albert Astals Cid Date: Tue Aug 8 22:42:46 2017 +0200 Fix use of uninitialized value use Bug #102117 poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fe97135ffb18eaaec7d23a7394641ba103bfe48d Author: Albert Astals Cid Date: Tue Aug 1 19:30:28 2017 +0200 Make the openjpeg1 code compile with the new Object API poppler/JPEG2000Stream.cc | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) commit e5ff049c3d11e6ea24b624807730acd21a6ef4d5 Author: Albert Astals Cid Date: Tue Aug 1 01:07:00 2017 +0200 Gfx::doImage: Simplify memory management of maskColorMap by using a std::unique_ptr Fixes a memory leak reported by Coverity poppler/Gfx.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 19eda068ae1866e4f46efc9534b34779007fdc16 Author: Albert Astals Cid Date: Tue Aug 1 00:53:52 2017 +0200 Fix memory leak on corner case condition poppler/Parser.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dbe7a5da3dce56210bd4ca2deaf8f5ad4a9d0529 Merge: 687474e1 c167f35b Author: Albert Astals Cid Date: Tue Aug 1 00:12:13 2017 +0200 Merge remote-tracking branch 'origin/master' into better_object commit c167f35b8c3fd7e94fa97385949b2c133d918ed4 Author: Albert Astals Cid Date: Mon Jul 31 23:39:37 2017 +0200 Poppler 0.57 CMakeLists.txt | 4 ++-- NEWS | 14 ++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 21 insertions(+), 7 deletions(-) commit be0384d2220a75d2666b1fd2228e156b1595a57f Author: Albert Astals Cid Date: Mon Jul 31 23:34:57 2017 +0200 Add missing (C) poppler/StructTreeRoot.cc | 1 + 1 file changed, 1 insertion(+) commit 0e7f6cb1c42db3d65395365833472ff859def87a Author: Jannick Date: Mon Jul 31 19:53:12 2017 +0200 Fix some warnings in some unusual #ifdef combinations Bug #101812 poppler/PSOutputDev.cc | 2 +- poppler/Stream.cc | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) commit f55d6a64dd3f69fa9c1ba984218809cc50c9b052 Author: Albert Astals Cid Date: Mon Jul 31 19:45:32 2017 +0200 Add missing (C) utils/pdfseparate.cc | 1 + 1 file changed, 1 insertion(+) commit 543b0ea219191122fee0583ce62c19e31de34109 Author: Roland Hieber Date: Mon Jul 17 11:35:32 2017 +0200 configure.ac: fix --disable-FEATURE actually enabling the feature Forwarded: https://bugs.freedesktop.org/show_bug.cgi?id=101818 A frequently seen antipattern is to use AC_ARG_ENABLE(feature, help, action-if-given, action-if-not-given) as AC_ARG_ENABLE(feature, help, action-if-enabled, action-if-disabled). However, action-if-given is also evaluated for --disable-FEATURE (with enableval=no), which results in --disable-FEATURE and --enable-FEATURE doing the same in this case. Rewrite the single-precision, fixedpoint and cmyk arguments accordingly so the user is not confused if they explicitely want to disable those options. Signed-off-by: Roland Hieber configure.ac | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) commit 92ad743b63c3e82211ea0b2e4d4471dd3f71cebc Author: Léonard Michelet Date: Mon Jul 31 19:40:06 2017 +0200 pdfseparate: minor improvement to the documentation Bug #101800 utils/pdfseparate.1 | 7 ++++--- utils/pdfseparate.cc | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) commit 0a2096743fa749a8a7d4caa714eecbe8a9661619 Author: Albert Astals Cid Date: Mon Jul 31 16:52:46 2017 +0200 Add some more overrides poppler/CurlCachedFile.h | 4 ++-- poppler/CurlPDFDocBuilder.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 687474e17db59482dc4538740701bdb32bc9d6bd Author: Albert Astals Cid Date: Mon Jul 31 16:47:31 2017 +0200 Build++ poppler/CurlPDFDocBuilder.cc | 5 +---- poppler/Stream.cc | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) commit 66e718e753a527289ce86cd206fcffd23fc28d81 Merge: 9cecd78f 213ae24b Author: Albert Astals Cid Date: Mon Jul 31 16:39:53 2017 +0200 Merge remote-tracking branch 'origin/master' into better_object commit 213ae24b4df97f557e771060e37197d0e57f6f7f Author: Jannick Date: Sun Jul 16 19:51:49 2017 +0200 added override tag to function declarations poppler/FlateStream.h | 16 ++++++++-------- poppler/JPXStream.h | 16 ++++++++-------- poppler/Stream.h | 16 ++++++++-------- 3 files changed, 24 insertions(+), 24 deletions(-) commit ab371fe60568947e355d89e28d489f7f9a1a7404 Author: Jason Crain Date: Sun Jul 16 12:07:54 2017 -0500 pdftohtml: skip control characters W3C disallows them and they cause a warning in PHP. https://bugs.freedesktop.org/show_bug.cgi?id=101770 utils/HtmlFonts.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 0f4ea2f18b1953ccc88bcbd6b16ede828b44e561 Author: Adrian Johnson Date: Mon Jul 10 21:06:30 2017 +0930 Fix parsing of Type 1 fonts with newlines in encoding sequences Adobe Type 1 font spec states that the encoding sequences should be of the form: dup index /name put The bug 101728 test case has the encoding sequences in the form: dup index /name put Make the Type 1 parse handle encoding sequences split over more than one line. Bug 101728 fofi/FoFiType1.cc | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) commit 75fff6556eaf0ef3a6fcdef2c2229d0b6d1c58d9 Author: Caolán McNamara Date: Wed Jul 12 14:12:46 2017 +0100 CVE-2017-9865 (fdo#100774) avoid stack buffer overflow in GfxImageColorMap:getGray by passing first arg to getGray of maximum possibly required size and similar in HtmlOutputDev::drawPngImage utils/HtmlOutputDev.cc | 6 ++++-- utils/ImageOutputDev.cc | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) commit 5d0c23a9f6cdc3fd216335124788958f46932158 Author: Jan-Erik S Date: Sat Jul 29 18:23:39 2017 +0200 Fix crash in broken document poppler/StructTreeRoot.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 852fd28674e14f25c6902c0adab19909f73f2632 Author: David Faure Date: Sat Jul 29 18:18:23 2017 +0200 Set RUNPATH for poppler shared libs Bug #101945 CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) commit 771c82623e8e1e0c92b8ca6f7c2b8a81ccbb60d3 Author: Albert Astals Cid Date: Mon Jul 3 22:44:42 2017 +0200 pdfunite: fix crash in broken documents Bug #101208 poppler/PDFDoc.cc | 70 +++++++++++++++++++++++++++++++++++++++++-------------- poppler/PDFDoc.h | 21 +++++++---------- 2 files changed, 62 insertions(+), 29 deletions(-) commit 02d9b182b80d5745b79480b0b8d0eb49b0be304e Author: Albert Astals Cid Date: Wed Jun 21 22:49:26 2017 +0200 Poppler 0.56 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 3a2759aa2a98c2157cb35731b95e393b8882f8d3 Author: Jose Aliste Date: Tue May 16 18:44:49 2017 -0400 Check numComps is between reasonable bounds Before this patch, some PDF might crash because of an overflow if numComps does not lie between 0 and 4. This is a security fix for CVE-2017-0319. poppler/Stream.cc | 7 +++++++ 1 file changed, 7 insertions(+) commit d9c88e1c8892c79b8865a0dabdcc0d3ffd55c195 Author: Albert Astals Cid Date: Wed Jun 21 00:56:38 2017 +0200 Fix crash in malformed documents poppler/GfxState.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 55db66c69fd56826b8523710046deab1a8d14ba2 Author: Albert Astals Cid Date: Wed Jun 21 00:55:20 2017 +0200 Fix crash in malformed documents poppler/JBIG2Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5266fa426d73c5dbdb3dd903d50885097833acc6 Author: Albert Astals Cid Date: Tue Jun 20 23:58:26 2017 +0200 Fix crash in malformed document Bug #101526 poppler/Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 112b8ab16128c6e7f80fe7c1890f7b63abd85cce Author: Albert Astals Cid Date: Tue Jun 20 23:51:16 2017 +0200 Fix crash in broken documents Fixes bug #101525 poppler/JBIG2Stream.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit 4e68bf998f886cab8a45fa315164d8ba7aa0dee4 Author: Albert Astals Cid Date: Tue Jun 20 23:43:23 2017 +0200 Fix crash on broken documents Fixes bug #101524 poppler/JBIG2Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 558cdb4a4efbb2227f4009f5d87cdd94bfb40107 Author: Albert Astals Cid Date: Tue Jun 20 23:37:26 2017 +0200 Fix crash in malformed documents Fixes bug #101523 poppler/GfxFont.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f7030a0176ed0ab484a401acc26072060e420679 Author: Albert Astals Cid Date: Mon Jun 19 23:45:24 2017 +0200 Fix crash on broken documents Bug #101505 goo/GooHash.cc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e465d36b8ecf46b80af4ac6b941ae56eb4883a89 Author: Albert Astals Cid Date: Mon Jun 19 23:35:29 2017 +0200 Fix crash on malformed files Bug #101502 poppler/GfxState.cc | 9 +++++++++ 1 file changed, 9 insertions(+) commit e2ab2fa9d8c41e0115b2c276a2594cd2f7c217e6 Author: Albert Astals Cid Date: Mon Jun 19 23:18:51 2017 +0200 Fix crash on malformed files Bug #101500 poppler/Function.cc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 17e4111da1ae5c9798ca0c040bf75c01bbb72a8a Author: Albert Astals Cid Date: Sat Jun 17 17:47:23 2017 +0200 Break earlier on reaching recursion limit Bug #101379 poppler/Parser.cc | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 8e1a2474c5513f7b2f4718258ca90e2d6e03f127 Author: Albert Astals Cid Date: Sat Jun 17 12:35:41 2017 +0200 pdftohmtl: Initialize rotSkewMat Fixes uninitialized memory read at bug #100314 utils/HtmlFonts.cc | 1 + 1 file changed, 1 insertion(+) commit dd7b0eec87ffc389ee3ba7319442e681e19b15ba Author: Albert Astals Cid Date: Sat Jun 17 12:33:35 2017 +0200 Remove unused constructor utils/HtmlFonts.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 5b05222ccd18a121ea2ae1d67b8b5d4947cdfce0 Author: Albert Astals Cid Date: Sat Jun 17 12:33:06 2017 +0200 Fix crash in malformed file Bug #101429 poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e1b5053e54b0ef7d6b09f3b9c97883db533d509a Author: Even Rouault Date: Fri Jun 16 00:21:53 2017 +0200 Fix crash on broken file Fixes bug #101366 poppler/SplashOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 9e05af3da0ce14c48f0652e01718960c6bc7b4b0 Author: Hans-Ulrich Jüttner Date: Wed Jun 14 23:19:48 2017 +0200 FormFieldButton::setState() shouldn't check the field is readOnly Bug #101419 poppler/Form.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 9cecd78ff12a145fd7a61d226d54fd8f9ce19638 Merge: b5ca57db 23a2f6a2 Author: Albert Astals Cid Date: Sat Jun 17 18:35:14 2017 +0200 Merge remote-tracking branch 'origin/master' into better_object commit 23a2f6a2492a0957489eac31b6700b4d68180bdb Author: Albert Astals Cid Date: Sat Jun 17 17:47:23 2017 +0200 Break earlier on reaching recursion limit Bug #101379 poppler/Parser.cc | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 5323bc8baf9add8c28a0a6970ab94b6386f38d14 Author: Albert Astals Cid Date: Sat Jun 17 12:35:41 2017 +0200 pdftohmtl: Initialize rotSkewMat Fixes uninitialized memory read at bug #100314 utils/HtmlFonts.cc | 1 + 1 file changed, 1 insertion(+) commit 67159370014e5cb3ef296b256bf410e0468fe71e Author: Albert Astals Cid Date: Sat Jun 17 12:33:35 2017 +0200 Remove unused constructor utils/HtmlFonts.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d52bba350acb3023ebdba8537854206641cd0998 Author: Albert Astals Cid Date: Sat Jun 17 12:33:06 2017 +0200 Fix crash in malformed file Bug #101429 poppler/Annot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit db254b4b5b1ac2dae46b9fd5ad23af311e481489 Author: Even Rouault Date: Fri Jun 16 00:21:53 2017 +0200 Fix crash on broken file Fixes bug #101366 poppler/SplashOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 9fc5ed2176da68442927127bea8c427800eb244c Author: Hans-Ulrich Jüttner Date: Wed Jun 14 23:19:48 2017 +0200 FormFieldButton::setState() should check the field isn't readOnly Bug #101419 poppler/Form.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 5c9b08a875b07853be6c44e43ff5f7f059df666a Author: Albert Astals Cid Date: Sat May 27 00:09:17 2017 +0200 pdfunite: Fix crash with broken documents Sometimes we can't parse pages so check before accessing them Thanks to Jiaqi Peng for the report Fixes bugs #101153 and #101149 utils/pdfunite.cc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit ff05069f34a00d67cdddb033f6240a3407e90057 Author: Albert Astals Cid Date: Sun May 21 23:39:38 2017 +0200 Poppler 0.55.0 CMakeLists.txt | 2 +- NEWS | 16 ++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 21 insertions(+), 5 deletions(-) commit 680b3f6b80e6d342a6b6e3fe8f1953857784f737 Author: Albert Astals Cid Date: Sun May 21 23:20:56 2017 +0200 Update (C) poppler/Object.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0bf38541443cb8dee4d9a5197fdfcf91f6043a2d Author: Albert Astals Cid Date: Sun May 21 23:20:38 2017 +0200 Don't forget to ship this file ^_^ Makefile.am | 1 + 1 file changed, 1 insertion(+) commit aa03a71c3a1127cffd19bb0f596c4b361a7f2269 Author: Albert Astals Cid Date: Sun May 21 22:37:23 2017 +0200 Fix abort in files with broken Decode arrays Fixes KDE bug #379835 poppler/GfxState.cc | 18 ++++++++++++------ poppler/Object.h | 7 +++++++ 2 files changed, 19 insertions(+), 6 deletions(-) commit 65c5a5266462244130f110599ac5d1011a04216e Author: Albert Astals Cid Date: Sun May 21 18:42:15 2017 +0200 Fail by default if libopenjpeg2/1 is not available You can "force" to use the unmaintained JPX decoder or none at all CMakeLists.txt | 30 +++++++++++++++++++++++++++--- config.h.cmake | 3 +++ configure.ac | 29 +++++++++++++++++++++++++---- poppler/Stream.cc | 5 +++++ 4 files changed, 60 insertions(+), 7 deletions(-) commit ea6d3200ae26775dcc26ed80fad18ca51e7f7f07 Author: Albert Astals Cid Date: Sun May 21 18:08:41 2017 +0200 Fix openjpeg text We've prefered openjpeg2 over 1 for a while CMakeLists.txt | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b286a6b5b1a63563263072305da04604cb022488 Author: Albert Astals Cid Date: Sun May 21 17:45:00 2017 +0200 Fail by default if libjpeg is not available You can "force" to use the unmaintained DCT decoder or none at all CMakeLists.txt | 29 +++++++++++++++++++++++------ config.h.cmake | 3 +++ configure.ac | 40 +++++++++++++++++++++++++++++++--------- poppler/Stream.cc | 7 ++++++- 4 files changed, 63 insertions(+), 16 deletions(-) commit b5ca57dbfecd9e680b3bd4b293b0eac400d24cfb Author: Albert Astals Cid Date: Sat May 13 01:05:43 2017 +0200 Fix memory leak in XRef::constructXRef poppler/XRef.cc | 1 + 1 file changed, 1 insertion(+) commit b21c5f7741bb0af47c64c042a8586d922d26b47a Author: Albert Astals Cid Date: Sat May 13 00:13:43 2017 +0200 Use initNullAfterMalloc since this is after a greallocn poppler/XRef.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e98ca09fafadbf7d37b838ed2f8953dc6a53a034 Author: Albert Astals Cid Date: Sat May 13 00:01:05 2017 +0200 Forgot to add my (C) here poppler/Rendition.h | 1 + 1 file changed, 1 insertion(+) commit 47aa71cf39764135f3e3a39cbfb8efc50de1ac28 Author: Albert Astals Cid Date: Fri May 12 23:38:26 2017 +0200 Make Dict incRef/decRef private poppler/Catalog.cc | 40 +++++++++++----------------------------- poppler/Catalog.h | 2 +- poppler/Dict.h | 9 +++++---- poppler/PDFDoc.cc | 37 ++++++++++++++++--------------------- poppler/PDFDoc.h | 7 +++---- poppler/Page.cc | 17 ++++++++--------- poppler/Page.h | 2 +- utils/pdfunite.cc | 12 +++++------- 8 files changed, 50 insertions(+), 76 deletions(-) commit 0d7aa8c8aa491e005f78b019eff78f400764a61c Author: Albert Astals Cid Date: Fri May 12 23:10:53 2017 +0200 Make Array incRef/decRef private poppler/Array.h | 9 +++++---- poppler/PDFDoc.cc | 14 +++++++------- 2 files changed, 12 insertions(+), 11 deletions(-) commit b1f4e35fa2da8909dee07529ce1dd9445639793b Author: Albert Astals Cid Date: Fri May 12 23:03:28 2017 +0200 Make Stream incRef/decRef private Object handles it for us Also remove incRef/decRef from OutStream glib/poppler-action.cc | 2 +- glib/poppler-attachment.cc | 15 ++++--------- glib/poppler-media.cc | 19 +++++++---------- poppler/FileSpec.h | 1 + poppler/Rendition.cc | 53 +++++++++++++++++++++++----------------------- poppler/Rendition.h | 6 ++++-- poppler/Stream.cc | 1 - poppler/Stream.h | 18 ++++++---------- 8 files changed, 50 insertions(+), 65 deletions(-) commit d34e5304a9094d505ffce8ec4069d4ddf2ee5950 Author: Albert Astals Cid Date: Fri May 12 22:41:03 2017 +0200 Get rid of another incRef() call poppler/Annot.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit a7f2baa21a09454cb393dce806896e62e548f63e Author: Albert Astals Cid Date: Fri May 12 22:38:41 2017 +0200 Pass the Object around instead of the Dict Saves an awkard incRef call poppler/Annot.cc | 198 +++++++++++++++++++++++++++---------------------------- poppler/Annot.h | 46 ++++++------- poppler/Form.cc | 2 +- 3 files changed, 122 insertions(+), 124 deletions(-) commit 0321bca7a3f6f5bd8b8f3e6ad13f4441e53c909b Author: Albert Astals Cid Date: Fri May 12 22:25:36 2017 +0200 SplashOutputDev::doUpdateFont - Fix crash on broken file poppler/SplashOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 96ff78d63d2173671d07f62910b1d85c5fc509ff Author: Albert Astals Cid Date: Wed May 10 11:20:56 2017 +0200 cpp: Return nullptr if the page at index can't be fethed That is the same of what the glib/qt frontends do. Bug #100981 cpp/poppler-document.cpp | 13 ++++++++++++- cpp/tests/poppler-dump.cpp | 18 +++++++++++++----- 2 files changed, 25 insertions(+), 6 deletions(-) commit d83b11300386c7f0364acff06bd809e9efcbe4ca Author: Albert Astals Cid Date: Tue May 9 16:08:18 2017 +0200 JPXStreamPrivate::init2 - Fix memory leak in broken files poppler/JPEG2000Stream.cc | 1 + 1 file changed, 1 insertion(+) commit 270866ebac7920503c0856a5dd1e7937ab68dd5f Author: Albert Astals Cid Date: Tue May 9 14:34:57 2017 +0200 GfxDeviceNColorSpace::parse - Fix memory leak on broken files poppler/GfxState.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 22123c836b35c1e8a1feb831899aacd991597c45 Author: Albert Astals Cid Date: Tue May 9 10:59:21 2017 +0200 TextPool::addWord - Fix memory leak on broken files poppler/TextOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d7a102f49e2ea63c1cf3ed79134ce6fc2b2c6a59 Author: Albert Astals Cid Date: Tue May 9 10:50:27 2017 +0200 FoFiType1::parse - Fix memory leak on broken files fofi/FoFiType1.cc | 1 + 1 file changed, 1 insertion(+) commit 9773c1534668d84b8267c3e5c9d612076fa231a5 Author: Albert Astals Cid Date: Tue May 9 00:38:07 2017 +0200 New Object API Implement the move operators and copy construtor Almost all the init() functions are gone and we just have simple constructors now Also made free() public since you're not supposed to call it anymore, unless you're being evil and malloc'ing Objects like Array/Dict/XRef This has a huge reaction chain, most importantly we don't get objects by passing a pointer Object parameter, we just get the object as a return value, which is a much clearer API - aobj->copy(&obj); + obj = aobj->copy(); before I was never sure what was being copied into what Comes with a huge diff, I probably made some mistake in the porting since there was lots of copy & paste involved cpp/poppler-document.cpp | 14 +- cpp/poppler-page.cpp | 5 +- glib/poppler-action.cc | 27 +- glib/poppler-attachment.cc | 4 +- glib/poppler-document.cc | 30 +- glib/poppler-input-stream.cc | 10 +- glib/poppler-input-stream.h | 4 +- glib/poppler-movie.cc | 5 +- glib/poppler-page.cc | 13 +- glib/poppler-structure-element.cc | 37 +- poppler/Annot.cc | 1779 +++++++++++++++-------------------- poppler/Annot.h | 27 +- poppler/Array.cc | 34 +- poppler/Array.h | 8 +- poppler/CMap.cc | 12 +- poppler/CairoFontEngine.cc | 6 +- poppler/CairoOutputDev.cc | 5 +- poppler/Catalog.cc | 383 +++----- poppler/Catalog.h | 2 +- poppler/DCTStream.cc | 8 +- poppler/Dict.cc | 49 +- poppler/Dict.h | 12 +- poppler/FileSpec.cc | 133 ++- poppler/FileSpec.h | 5 +- poppler/FontInfo.cc | 43 +- poppler/Form.cc | 337 +++---- poppler/Form.h | 2 +- poppler/Function.cc | 225 ++--- poppler/Gfx.cc | 767 ++++++--------- poppler/Gfx.h | 14 +- poppler/GfxFont.cc | 350 +++---- poppler/GfxFont.h | 4 +- poppler/GfxState.cc | 794 ++++++---------- poppler/Hints.cc | 25 +- poppler/JBIG2Stream.cc | 5 +- poppler/JPEG2000Stream.cc | 17 +- poppler/Lexer.cc | 74 +- poppler/Lexer.h | 7 +- poppler/Linearization.cc | 57 +- poppler/Link.cc | 197 ++-- poppler/Movie.cc | 112 +-- poppler/Movie.h | 2 +- poppler/Object.cc | 67 +- poppler/Object.h | 153 ++- poppler/OptionalContent.cc | 144 +-- poppler/Outline.cc | 49 +- poppler/PDFDoc.cc | 371 +++----- poppler/PDFDoc.h | 8 +- poppler/PSOutputDev.cc | 406 +++----- poppler/Page.cc | 192 ++-- poppler/Page.h | 17 +- poppler/PageLabelInfo.cc | 52 +- poppler/PageTransition.cc | 34 +- poppler/Parser.cc | 96 +- poppler/Parser.h | 9 +- poppler/PopplerCache.cc | 21 +- poppler/PopplerCache.h | 4 +- poppler/Rendition.cc | 169 ++-- poppler/SecurityHandler.cc | 85 +- poppler/Sound.cc | 40 +- poppler/Sound.h | 5 +- poppler/SplashOutputDev.cc | 15 +- poppler/StdinPDFDocBuilder.cc | 7 +- poppler/Stream.cc | 133 +-- poppler/Stream.h | 24 +- poppler/StructElement.cc | 244 ++--- poppler/StructTreeRoot.cc | 74 +- poppler/ViewerPreferences.cc | 43 +- poppler/XRef.cc | 404 +++----- poppler/XRef.h | 16 +- qt4/src/poppler-annotation-helper.h | 39 +- qt4/src/poppler-document.cc | 13 +- qt4/src/poppler-form.cc | 7 +- qt4/src/poppler-optcontent.cc | 17 +- qt4/src/poppler-page.cc | 18 +- qt4/src/poppler-private.h | 6 +- qt4/tests/check_lexer.cpp | 63 +- qt4/tests/check_optcontent.cpp | 114 +-- qt5/src/poppler-annotation-helper.h | 39 +- qt5/src/poppler-document.cc | 11 +- qt5/src/poppler-form.cc | 5 +- qt5/src/poppler-optcontent.cc | 17 +- qt5/src/poppler-page.cc | 16 +- qt5/src/poppler-private.h | 6 +- qt5/tests/check_lexer.cpp | 91 +- qt5/tests/check_optcontent.cpp | 114 +-- test/pdf-fullrewrite.cc | 21 +- utils/pdfinfo.cc | 21 +- utils/pdftohtml.cc | 13 +- utils/pdftotext.cc | 24 +- utils/pdfunite.cc | 208 ++-- 91 files changed, 3539 insertions(+), 5850 deletions(-) commit 3c29ded4bee5eadb829ed46af2ec92be57b0077b Author: Albert Astals Cid Date: Fri May 5 23:32:32 2017 +0200 Make Object free itself on init and destruction Will make for a *much* easier way to code. Patches with more std::move coming on top. Most things seem to work though i'm pretty sure some things are broken. NEEDS TESTING poppler/Annot.cc | 3 +- poppler/Array.cc | 5 +-- poppler/Array.h | 4 ++- poppler/Catalog.cc | 29 ++++++++++------- poppler/Catalog.h | 6 ++-- poppler/DCTStream.cc | 8 ++--- poppler/DCTStream.h | 4 +-- poppler/Dict.cc | 29 ++++++++--------- poppler/Dict.h | 4 ++- poppler/Form.cc | 1 - poppler/Gfx.cc | 25 ++++++--------- poppler/Movie.cc | 30 +++++++++++------- poppler/Movie.h | 2 ++ poppler/Object.cc | 51 +++++++++++++++++++++++++++--- poppler/Object.h | 79 +++++++++++++++++++++++++++++----------------- poppler/OptionalContent.cc | 2 +- poppler/Page.cc | 4 +-- poppler/Page.h | 6 ++-- poppler/Parser.cc | 4 +-- poppler/Stream.cc | 36 ++++++++++++++------- poppler/Stream.h | 8 ++--- poppler/StructElement.cc | 10 ++---- poppler/XRef.cc | 19 ++++++++--- utils/pdfunite.cc | 4 +-- 24 files changed, 234 insertions(+), 139 deletions(-) commit d73bcd3721f3b53bb97241cc53a6abf807aff782 Author: Albert Astals Cid Date: Fri May 5 15:12:42 2017 +0200 auto_ptr -> unique_ptr cpp/poppler-document.cpp | 25 +++++++++++++------------ cpp/poppler-image.cpp | 9 +++++---- cpp/poppler-page.cpp | 3 ++- cpp/tests/poppler-dump.cpp | 9 +++++---- cpp/tests/poppler-render.cpp | 5 +++-- qt4/tests/check_fonts.cpp | 4 ++-- qt4/tests/check_links.cpp | 4 ++-- qt5/tests/check_fonts.cpp | 4 ++-- qt5/tests/check_links.cpp | 4 ++-- 9 files changed, 36 insertions(+), 31 deletions(-) commit 9ad9d92591a6389f84919ff2de3668c2b6158dc9 Author: Albert Astals Cid Date: Fri May 5 00:57:35 2017 +0200 Fix memory leak in error condition Coverity was complaining we missed one delete in one of the error conditions, so just made colorMap not be newer, no need to care about deletes ;) poppler/Gfx.cc | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) commit cdab9a2dc27a10c84550db28fac8dbdcdcd4d29d Author: Albert Astals Cid Date: Fri May 5 00:47:45 2017 +0200 Move the bits sanity checking a bit higher in the function Saves some time and makes the code simpler as we have to delete one thing less poppler/Gfx.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit b2545e9368a58a6987614f75d39da4568a076881 Author: Albert Astals Cid Date: Thu May 4 21:24:23 2017 +0200 Fix regression in GfxIndexedColorSpace::mapColorToBase The bounds check was off by one, making file from bug 100931 render incorrectly. Bug #100931 poppler/GfxState.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 09000ce81397eba1eed383f730e48b92b932e0b4 Author: Albert Astals Cid Date: Thu May 4 18:35:16 2017 +0200 Minor optimization Do not create a timer for every single operation since we hardly run the profileCommands if branch poppler/Gfx.cc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit b21b041f7948680c03109f0c404400a9dbc4544c Author: Albert Astals Cid Date: Tue Apr 25 19:48:24 2017 +0200 Fix memory leak when reconstructing broken files Need to free the catalog variable if we're going to fetch over it again Bug #100776 poppler/XRef.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 278439531b13b0b047dbe3a75aa3f1b3407c8bd4 Author: Albert Astals Cid Date: Tue Apr 25 19:42:15 2017 +0200 Fix memory leak (and probably logic bug) parsing broken XRef entries Don't need to get obj1 again to ask if it's an int64 instead of an int Bug #100775 poppler/XRef.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 478be219772a6c298baad568da3643895cd50d35 Author: Albert Astals Cid Date: Fri Apr 21 16:29:44 2017 +0200 Poppler 0.54 CMakeLists.txt | 2 +- NEWS | 14 ++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- glib/CMakeLists.txt | 2 +- glib/Makefile.am | 2 +- gtk-doc.make | 1 + qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 9 files changed, 22 insertions(+), 7 deletions(-) commit d627a38b3a25906b356413a1de29aaad9f7a0f28 Author: Albert Astals Cid Date: Fri Apr 21 16:03:49 2017 +0200 Update (C) poppler/XRef.cc | 2 +- qt5/src/poppler-private.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) commit 3a13817da1fff5244267bbc7dee178ac665de4e0 Author: Adrian Johnson Date: Fri Apr 21 19:23:07 2017 +0930 pdfimages: don't fail listing if inline image data contains 'EI' Normally when listing images we don't read the image data. But for inline images we should read the image data to advance the stream position to the end of the image data. If we don't advance the stream position and the image data happens to contain 'EI', Gfx will resume reading the content stream from the middle of the image data. Bug 100737 utils/ImageOutputDev.cc | 61 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 16 deletions(-) commit e3779c849c86685c9bc294af407b364daf4b2202 Author: Carlos Garcia Campos Date: Sat Apr 8 09:56:59 2017 +0200 glib: Fix return value in API doc comment of poppler_movie_get_play_mode glib/poppler-movie.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cc7809e73c71e0e6b7db29dc8a12cfb573448b77 Author: Albert Astals Cid Date: Wed Apr 5 23:18:52 2017 +0200 Make XRef reconstruction a bit better Also detect streams whose endstream is on the middle of a line and not only at the beginning Bug #100509 poppler/XRef.cc | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) commit 2bbd110113f789c56609b3288258f667e0f3851a Author: Carlos Garcia Campos Date: Sun Apr 2 15:49:48 2017 +0200 glib-demo: Show play mode in movie properties view glib/demo/utils.c | 3 +++ 1 file changed, 3 insertions(+) commit dad9b36e0e91524e8e342cf924026c37fcb1730e Author: Francesco Poli (wintermute) Date: Sun Apr 2 15:28:20 2017 +0200 glib: Expose movie play mode With this patch the movie play mode can be queried via the glib interface. An enum value is obtained that reports whether the movie should be played once, in loop, and so forth... https://bugs.freedesktop.org/show_bug.cgi?id=99625 glib/poppler-movie.cc | 35 +++++++++++++++++++++++++++++++++++ glib/poppler-movie.h | 31 ++++++++++++++++++++++++++----- glib/reference/poppler-sections.txt | 4 ++++ 3 files changed, 65 insertions(+), 5 deletions(-) commit 0dbec24428d96ae78be8ca06b230d68cde445614 Author: Christoph Cullmann Date: Wed Mar 22 23:45:41 2017 +0100 qt5: Compile with -DQT_NO_CAST_FROM_BYTEARRAY Bug #100311 qt5/src/poppler-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ba4eb3ac3f23236e3df1ef992160d702dc5e4e9 Author: Albert Astals Cid Date: Wed Mar 22 23:42:57 2017 +0100 Poppler 0.53 CMakeLists.txt | 4 ++-- NEWS | 18 ++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/Makefile.am | 2 +- 9 files changed, 27 insertions(+), 9 deletions(-) commit 411c963a9fe7d0d51bc96f046792688a020bfc66 Author: Albert Astals Cid Date: Sun Mar 19 12:40:37 2017 +0100 Update (C) goo/PNGWriter.cc | 2 +- goo/PNGWriter.h | 2 +- goo/TiffWriter.cc | 2 +- goo/TiffWriter.h | 2 +- poppler/GfxState.h | 2 +- utils/ImageOutputDev.cc | 2 +- utils/ImageOutputDev.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) commit 96333f6dcd93afadea35f9301c7a919545037ed4 Author: Albert Astals Cid Date: Wed Mar 8 23:33:00 2017 +0100 Add override markers cmake/modules/PopplerMacros.cmake | 4 + fofi/FoFiIdentifier.cc | 42 +-- fofi/FoFiTrueType.h | 2 +- fofi/FoFiType1.h | 2 +- glib/poppler-cached-file-loader.h | 4 +- glib/poppler-input-stream.h | 34 +-- goo/JpegWriter.h | 10 +- goo/NetPBMWriter.h | 8 +- goo/PNGWriter.h | 8 +- goo/TiffWriter.h | 10 +- poppler/Annot.h | 50 ++-- poppler/CairoFontEngine.h | 6 +- poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 344 +++++++++++----------- poppler/DCTStream.h | 18 +- poppler/Decrypt.h | 24 +- poppler/FlateEncoder.h | 16 +- poppler/Form.h | 18 +- poppler/Function.h | 52 ++-- poppler/GfxFont.h | 20 +- poppler/GfxState.cc | 2 +- poppler/GfxState.h | 366 +++++++++++------------ poppler/JBIG2Stream.cc | 16 +- poppler/JBIG2Stream.h | 22 +- poppler/JPEG2000Stream.h | 24 +- poppler/Link.h | 66 ++--- poppler/LocalPDFDocBuilder.h | 5 +- poppler/MarkedContentOutputDev.h | 22 +- poppler/PSOutputDev.cc | 16 +- poppler/PSOutputDev.h | 142 ++++----- poppler/PopplerCache.cc | 2 +- poppler/PreScanOutputDev.h | 110 +++---- poppler/SecurityHandler.h | 30 +- poppler/SplashOutputDev.cc | 2 +- poppler/SplashOutputDev.h | 210 ++++++------- poppler/StdinCachedFile.h | 5 +- poppler/StdinPDFDocBuilder.h | 5 +- poppler/Stream.h | 422 +++++++++++++-------------- poppler/TextOutputDev.cc | 38 +-- poppler/TextOutputDev.h | 46 +-- poppler/XRef.cc | 2 +- poppler/XRef.h | 12 +- qt4/CMakeLists.txt | 3 + qt4/src/poppler-annotation.h | 8 +- qt4/src/poppler-link.h | 2 +- qt5/demos/abstractinfodock.h | 6 +- qt5/demos/embeddedfiles.h | 6 +- qt5/demos/fonts.h | 4 +- qt5/demos/info.h | 4 +- qt5/demos/metadata.h | 4 +- qt5/demos/navigationtoolbar.h | 6 +- qt5/demos/optcontent.h | 6 +- qt5/demos/pageview.h | 6 +- qt5/demos/permissions.h | 4 +- qt5/demos/thumbnails.h | 4 +- qt5/demos/toc.h | 4 +- qt5/demos/viewer.h | 2 +- qt5/src/ArthurOutputDev.cc | 2 +- qt5/src/ArthurOutputDev.h | 90 +++--- qt5/src/poppler-annotation.cc | 56 ++-- qt5/src/poppler-annotation.h | 84 +++--- qt5/src/poppler-form.h | 16 +- qt5/src/poppler-link-extractor-private.h | 10 +- qt5/src/poppler-link.h | 24 +- qt5/src/poppler-optcontent.h | 18 +- qt5/src/poppler-qiodeviceoutstream-private.h | 10 +- qt5/src/poppler-qt5.h | 6 +- qt5/tests/stress-threads-qt5.cpp | 4 +- qt5/tests/test-password-qt5.cpp | 4 +- qt5/tests/test-poppler-qt5.cpp | 6 +- splash/SplashFTFont.h | 12 +- splash/SplashFTFontFile.h | 6 +- splash/SplashPattern.h | 12 +- test/gtk-test.cc | 6 +- utils/HtmlOutputDev.h | 56 ++-- utils/ImageOutputDev.h | 62 ++-- utils/pdftohtml.cc | 12 +- 77 files changed, 1404 insertions(+), 1400 deletions(-) commit da490581b1b4d50efdba1e25115697e17bb0ef51 Author: Albert Astals Cid Date: Wed Mar 8 22:07:34 2017 +0100 Compile in C++11 mode I tried using AX_CXX_COMPILE_STDCXX_11 for the autotools side but could not get it to fill CXXFLAGS or any other variable i could find, help welcome CMakeLists.txt | 4 +++- configure.ac | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) commit aa8633267d1d0e2079bb4a2b82bc7b36a4d306f5 Author: Albert Astals Cid Date: Mon Mar 6 22:45:52 2017 +0100 pdfinfo: Fix memory leak when printing JS utils/JSInfo.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d30e66cf39ef69a81bdd91e21203c876f38d9a09 Author: Albert Astals Cid Date: Mon Mar 6 22:43:27 2017 +0100 pdfinfo: fix leak when printing JS utils/JSInfo.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a7632c5db6875828500dce7c984ec933d5349f26 Author: Albert Astals Cid Date: Mon Mar 6 22:34:20 2017 +0100 pdftohtml: fix small memory leak when constructing some filenames utils/HtmlOutputDev.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 8ebec831c2abea9f13761474990c0d94346c1a35 Author: Albert Astals Cid Date: Mon Mar 6 22:24:06 2017 +0100 SplashOutputDev: Fix memory leak when rendering images with colormap and matte color poppler/SplashOutputDev.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit cfaeeadbc642a297486481d9efd6068fd9ef7ea3 Author: Adrian Johnson Date: Sat Mar 4 10:54:29 2017 +1030 pdfimages: support 16bpc png and tiff images bug 99988 goo/PNGWriter.cc | 4 ++++ goo/PNGWriter.h | 3 ++- goo/TiffWriter.cc | 6 ++++++ goo/TiffWriter.h | 3 ++- poppler/GfxState.h | 4 ++++ utils/ImageOutputDev.cc | 38 +++++++++++++++++++++++++++++++++++++- utils/ImageOutputDev.h | 1 + 7 files changed, 56 insertions(+), 3 deletions(-) commit 1b0653ce395242547b2b34b99034a19cd2d3ea6b Author: Albert Astals Cid Date: Thu Mar 2 01:00:12 2017 +0100 Qt5: Expose Form additional actions qt5/src/poppler-form.cc | 20 ++++++++++++++++++++ qt5/src/poppler-form.h | 19 +++++++++++++++++++ 2 files changed, 39 insertions(+) commit a4c6433c423bd0dcc5056d9ee0375188fea9a0bc Author: Albert Astals Cid Date: Thu Mar 2 00:56:43 2017 +0100 Update (C) of previous commit poppler/Form.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0151e6e3824a6db907d871a2e56f5c20c001b588 Author: Albert Astals Cid Date: Thu Mar 2 00:56:27 2017 +0100 Qt5: expose form calculate order qt5/src/poppler-document.cc | 18 +++++++++++++++++- qt5/src/poppler-qt5.h | 9 ++++++++- 2 files changed, 25 insertions(+), 2 deletions(-) commit 0ae3d40a79c25feb5cb9bce6fc8cc48c30bfd1b6 Author: Albert Astals Cid Date: Thu Mar 2 00:52:21 2017 +0100 Parse AcroForm CO (calculateOrder) poppler/Form.cc | 19 +++++++++++++++++++ poppler/Form.h | 4 ++++ 2 files changed, 23 insertions(+) commit bbfc56b3c9a1e613e6db008a56c9c3333ae1427a Author: Albert Astals Cid Date: Thu Mar 2 00:45:44 2017 +0100 Make FormWidget* setters ignore isReadOnly isReadOnly is for the user but poppler needs to be able to set the value for example for fields whose value is autocalculated poppler/Form.cc | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) commit f853145556a61a3d1104d6fd62261924d9fc9e50 Author: Albert Astals Cid Date: Sun Feb 19 23:25:47 2017 +0100 There's no config file poppler/GlobalParams.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit c7a7c34fcb875414eb3092df84f8e8e8e523648d Author: Albert Astals Cid Date: Wed Feb 15 23:26:10 2017 +0100 Poppler 0.52.0 CMakeLists.txt | 2 +- NEWS | 16 ++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 21 insertions(+), 5 deletions(-) commit baad9bd0406f63cffa8054c5831ccc3cb5d207e3 Author: Albert Astals Cid Date: Wed Feb 15 23:05:55 2017 +0100 Update C years poppler/Annot.cc | 2 +- poppler/OptionalContent.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 83d4d3ee56b22ef4c0899514abcfc4c220fb4031 Author: Albert Astals Cid Date: Mon Feb 13 20:47:05 2017 +0100 Properly initialize some RichMedia variables in corner cases Bug #99767 poppler/Annot.cc | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) commit 8de4b3595a80d8880b842599cb25ab5fd5367689 Author: Albert Astals Cid Date: Mon Feb 13 01:15:04 2017 +0100 Fix assert on reading some OCGs Check the object is a ref before calling getRef Bug #99768 poppler/OptionalContent.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 0b7c235c3ebe2a7a8d7bd6bfb22e605bf770a022 Author: Adrian Johnson Date: Thu Feb 9 21:23:04 2017 +1030 pdftocairo.1: typo utils/pdftocairo.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e7aad35dcba3449bc8a56de070fea7e09cb64833 Author: Hubert Figuière Date: Tue Jan 17 23:58:00 2017 -0500 Qt: fix memory leaks found when running tests -cleanup objects in tests to fix memory leaks. -optcontent was leaking the headers items Bug #99449 qt4/src/poppler-optcontent-private.h | 2 ++ qt4/src/poppler-optcontent.cc | 3 +++ qt4/tests/check_links.cpp | 2 ++ qt5/src/poppler-optcontent-private.h | 2 ++ qt5/src/poppler-optcontent.cc | 3 +++ qt5/tests/check_links.cpp | 2 ++ 6 files changed, 14 insertions(+) commit dc8edecc437f33305257b6cb208dc2da367b7868 Author: Albert Astals Cid Date: Sun Jan 15 18:27:49 2017 +0100 Poppler 0.51 CMakeLists.txt | 2 +- NEWS | 15 ++++++++++++++- configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/Makefile.am | 2 +- 8 files changed, 21 insertions(+), 8 deletions(-) commit c4de00a93c470020c6c96eb343854039bfc0a424 Author: Albert Astals Cid Date: Sat Jan 14 23:42:32 2017 +0100 Forgot to update the \since value qt5/src/poppler-form.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0eb28e216fc45fe5ceed1c093a541ceca0dc0397 Author: Christoph Cullmann Date: Fri Jan 13 00:03:27 2017 +0100 qt5: Fix segfault/assert if LinkDestination is constructed with invalid input string. Bug #99357 qt5/src/poppler-link.cc | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) commit 4db6507320b51e060f73f7fb0eab364e8a1fee77 Author: Sebastian Rasmussen Date: Wed Jan 11 23:37:54 2017 +0100 Check for error from NSS in SignatureHandler construct. And cascading effects in other SignalHandler members. Bug #99363 poppler/SignatureHandler.cc | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 8bb90fc828a3400a2464a38f0ec9e592754197dd Author: Albert Astals Cid Date: Tue Jan 10 17:20:18 2017 +0100 Qt5: Minor api refinements to the new signature classes qt5/src/poppler-form.cc | 32 +++++++++++++++++++++----------- qt5/src/poppler-form.h | 22 +++++++++++----------- qt5/tests/poppler-forms.cpp | 14 +++++++------- 3 files changed, 39 insertions(+), 29 deletions(-) commit aa63debdaa6001ed68333b31cd06c2f9958fd8d2 Author: Hanno Meyer-Thurow Date: Tue Jan 10 16:28:14 2017 +0100 Qt5: Implement digital signature support Bug #94378 qt5/src/poppler-form.cc | 121 ++++++++++++++++++++++++++++++++++++++++++++ qt5/src/poppler-form.h | 106 ++++++++++++++++++++++++++++++++++++++ qt5/src/poppler-page.cc | 7 +++ qt5/tests/poppler-forms.cpp | 47 ++++++++++++++++- 4 files changed, 280 insertions(+), 1 deletion(-) commit 2f831d5b9481e5ab06178409f7fccf74eda6e1a2 Author: Albert Astals Cid Date: Mon Jan 9 00:30:42 2017 +0100 New year! poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit b6c4d6d1312f63e5e6dcfa28ea48ff3e6935daa9 Author: Albert Astals Cid Date: Mon Jan 9 00:28:37 2017 +0100 Fix memory leak in PDFDoc::markAnnotations poppler/PDFDoc.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3cae7773d2f8ad6506e2712689c56fa6975e01d3 Author: Thomas Freitag Date: Mon Jan 9 00:25:53 2017 +0100 pdfunite: add fields to AcroForm dict Bug #99141 utils/pdfunite.cc | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) commit c301f6c675784a65fb2ebdf99ded5d5d3f8defdd Author: Albert Astals Cid Date: Mon Dec 19 22:53:47 2016 +0100 qt5: Add Poppler::FormField::setName qt5/src/poppler-form.cc | 9 ++++++++- qt5/src/poppler-form.h | 10 ++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) commit 86c99de95cd16199e0f9f1fb82999c27d54c5b76 Author: Albert Astals Cid Date: Mon Dec 19 22:53:10 2016 +0100 Add Form[Field|Widget]::setPartialName Useful to repair/tweak pdf files poppler/Form.cc | 16 ++++++++++++++++ poppler/Form.h | 2 ++ 2 files changed, 18 insertions(+) commit 56dfa44960b9ab9fb4dcc01d8e3861a9293b0ee0 Author: Albert Astals Cid Date: Thu Dec 15 23:32:41 2016 +0100 Poppler 0.50 CMakeLists.txt | 4 ++-- NEWS | 25 +++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/CMakeLists.txt | 2 +- qt4/src/Doxyfile | 2 +- qt4/src/Makefile.am | 3 ++- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/Makefile.am | 3 ++- 11 files changed, 38 insertions(+), 11 deletions(-) commit 1511523450f40b539fb1d58950a907f3712fd5c7 Author: Albert Astals Cid Date: Thu Dec 15 22:04:04 2016 +0100 Refine previous fix a bit Call GfxColorSpace::setupColorProfiles only when we really need it poppler/GfxState.cc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 9b016440725de086fa87fcbf776e27acee2c01b7 Author: Marek Kasik Date: Wed Sep 21 12:28:16 2016 +0200 Don't crash when calling cmsGetColorSpace() Initialize RGBProfile and displayProfile before their use if they were not initialized in GfxState's constructor. https://bugs.freedesktop.org/show_bug.cgi?id=97870 poppler/GfxState.cc | 2 ++ 1 file changed, 2 insertions(+) commit 8321b400adf6c042cd630ceea7f54fcf6862211d Author: Albert Astals Cid Date: Thu Dec 15 18:02:30 2016 +0100 Add one more const Makes clang happier (i.e. gives one warning less) fofi/FoFiEncodings.cc | 18 ++++++++++++++++-- fofi/FoFiEncodings.h | 18 ++++++++++++++++-- 2 files changed, 32 insertions(+), 4 deletions(-) commit 1a6e4b65197391b23c2163b939d4787f2058a2e1 Author: Jason Crain Date: Wed Dec 7 09:28:58 2016 -0600 cairo: initialize CairoOutputDev::antialias Initialize CairoOutputDev::antialias to CAIRO_ANTIALIAS_DEFAULT. Bug #98983 poppler/CairoOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit 2cf901c817fc99e1fa57745c11aa79cdfb4e8c99 Author: William Bader Date: Thu Dec 8 21:45:18 2016 +0100 Fix PS conversion for some files Bug #63963 fofi/FoFiTrueType.cc | 13 ++++++++++++- fofi/FoFiTrueType.h | 2 ++ poppler/PSOutputDev.cc | 26 ++++++++++++++++++++++++++ poppler/PSOutputDev.h | 1 + 4 files changed, 41 insertions(+), 1 deletion(-) commit 97b801b55b9bd33f20723c7139cf845a1cba5bd3 Author: Albert Astals Cid Date: Wed Dec 7 22:52:24 2016 +0100 Remove useless include utils/pdftohtml.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 7ac94c8f552f0db13334d4d014cfdb54de72c451 Author: Albert Astals Cid Date: Wed Dec 7 22:38:48 2016 +0100 nSharedGroups doesn't need to be a class member And also mark some variables as const to make it easier to see they don't change poppler/Hints.cc | 20 +++++++------------- poppler/Hints.h | 1 - 2 files changed, 7 insertions(+), 14 deletions(-) commit 4c4b913802c79eb8bf9c0ce72a08842851f1c5bc Author: Jeffrey Morlan Date: Wed Dec 7 22:36:26 2016 +0100 Bail out if nBitsNumObjects or nBitsDiffGroupLength are greater than 32 Bug #94941 poppler/Hints.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 21cd08e34bd317b2ecc7c8b4e0d122d85bdf6714 Author: Albert Astals Cid Date: Sat Dec 3 02:18:58 2016 +0100 Default to libopenjpeg2 instead of libopenjpeg1 Tested 2.1.1 and it's better or equal than the old libopenjpeg1 I thought of doing a version check but i don't think it's common someone will be building a new poppler with an old libopenjpeg2 CMakeLists.txt | 16 ++++++++-------- configure.ac | 31 ++++++++++++++++--------------- 2 files changed, 24 insertions(+), 23 deletions(-) commit b5f3e935c3a1f4824fcd681e291c35852966bb45 Author: Albert Astals Cid Date: Fri Dec 2 00:09:38 2016 +0100 Revert "introduced hex string as a new Object type and used it for file identifier" This reverts commit debd1361f4a4cb7811677ab7a8f241b8b6fca5f9. poppler/Lexer.cc | 3 +-- poppler/Object.cc | 15 ++------------- poppler/Object.h | 16 +++------------- poppler/PDFDoc.cc | 10 ---------- 4 files changed, 6 insertions(+), 38 deletions(-) commit 3a260ba8b3db99b4c0a956cc615704168db30e56 Author: Albert Astals Cid Date: Fri Dec 2 00:09:31 2016 +0100 Revert "treat file identifier as a hex string, not a basic string" This reverts commit 628299bc02ef825609e1ade539f967bbf052be0c. poppler/PDFDoc.cc | 12 ++++++------ poppler/PSOutputDev.cc | 5 ++--- poppler/SecurityHandler.cc | 3 +-- poppler/StructElement.cc | 5 ++--- 4 files changed, 11 insertions(+), 14 deletions(-) commit 42ef2ac51543fabb5f5f5c3a19c79020d4fb1238 Author: Thomas Freitag Date: Wed Nov 30 00:14:46 2016 +0100 Read softmask into memstrean in case of matte In case of matte the softmask has to be read twice. This is not possible when read from stdin. So this patch allocate a memstream first and read the softmask into this memstream. Bug #97803 poppler/SplashOutputDev.cc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit c448e16dc4f2f3c55b06e3f1e098f45f8abacc18 Author: William Bader Date: Wed Nov 30 00:00:15 2016 +0100 patch to add -passlevel1customcolor Bug #97193 poppler/PSOutputDev.cc | 38 ++++++++++++++++---------------------- poppler/PSOutputDev.h | 5 +++++ utils/pdftops.cc | 6 +++++- 3 files changed, 26 insertions(+), 23 deletions(-) commit 628299bc02ef825609e1ade539f967bbf052be0c Author: Jakub Alba Date: Sun Jul 24 22:46:23 2016 +0200 treat file identifier as a hex string, not a basic string poppler/PDFDoc.cc | 12 ++++++------ poppler/PSOutputDev.cc | 5 +++-- poppler/SecurityHandler.cc | 3 ++- poppler/StructElement.cc | 5 +++-- 4 files changed, 14 insertions(+), 11 deletions(-) commit debd1361f4a4cb7811677ab7a8f241b8b6fca5f9 Author: Jakub Alba Date: Sun Jul 24 22:30:30 2016 +0200 introduced hex string as a new Object type and used it for file identifier File identifiers are usually written as hex strings (and this is how the PDF reference presents them in an example). Until now, poppler was reading hex strings properly, but was forgeting about the fact that a given string is a hex string, so e.g. file identifier was first read as a hex string and then printed as an ordinary string and thanks to that what was printed was actually junk. This commit fixes that. poppler/Lexer.cc | 3 ++- poppler/Object.cc | 15 +++++++++++++-- poppler/Object.h | 16 +++++++++++++--- poppler/PDFDoc.cc | 10 ++++++++++ 4 files changed, 38 insertions(+), 6 deletions(-) commit 484d9d46e8995f12ce941be1e080e98e2ff4b95d Author: Albert Astals Cid Date: Fri Nov 25 20:05:19 2016 +0100 Spelling fixes spotted by William Bader qt4/src/poppler-optcontent.h | 2 +- qt5/src/poppler-optcontent.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit bc11784e143d462d62d3f63fc61e58b4b9640da7 Author: Albert Astals Cid Date: Fri Nov 25 17:42:27 2016 +0100 Qt: Support OCG state change links qt4/src/poppler-link-private.h | 57 +++++++++++++++++++ qt4/src/poppler-link.cc | 33 +++++------ qt4/src/poppler-link.h | 34 +++++++++++- qt4/src/poppler-optcontent-private.h | 3 +- qt4/src/poppler-optcontent.cc | 103 +++++++++++++++++++++++------------ qt4/src/poppler-optcontent.h | 8 +++ qt4/src/poppler-page.cc | 11 +++- qt5/src/poppler-link-private.h | 57 +++++++++++++++++++ qt5/src/poppler-link.cc | 33 +++++------ qt5/src/poppler-link.h | 34 +++++++++++- qt5/src/poppler-optcontent-private.h | 3 +- qt5/src/poppler-optcontent.cc | 103 +++++++++++++++++++++++------------ qt5/src/poppler-optcontent.h | 8 +++ qt5/src/poppler-page.cc | 11 +++- 14 files changed, 382 insertions(+), 116 deletions(-) commit b4e93c374deaaf31121a666c987a35bc9554beb3 Author: Kenji Uno Date: Thu Nov 3 10:19:06 2016 +0900 Fix pdftoppm -tiff -gray/-mono incorrect output. - SplashBitmap has imageWriterFormat that ImgWriter should accept. splash/SplashBitmap.cc | 93 +++++++++++++++++++++++++++++++++++++------------- splash/SplashBitmap.h | 3 +- 2 files changed, 71 insertions(+), 25 deletions(-) commit 5a04becc4940b926744e64d3b7d0355adcabf282 Author: Jakub Alba Date: Fri Jun 17 13:41:39 2016 +0200 Fix PDFDoc::saveIncrementalUpdate()'s detection of document being modified Bug 96561 poppler/PDFDoc.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0c9c2089f52de5bb08717518c439fa8bbb99011f Author: Albert Astals Cid Date: Wed Nov 23 20:22:17 2016 +0100 Fix Outline parsing on broken documents Broken documents in which the parent "Last" pointer is earlier than the siblings "Next" pointer This mimics Adobe Reader behaviour. Bug #98732 poppler/Outline.cc | 18 ++++-------------- poppler/Outline.h | 4 ++-- 2 files changed, 6 insertions(+), 16 deletions(-) commit e59cbaf9c1ab4a575633ee3263244e03c6d21713 Author: Jason Crain Date: Fri Nov 18 15:44:29 2016 -0600 glib: Use g_slice_new0 for PopplerActionLayer PDFs using PopplerActionLayer will sometimes crash because they are allocated with g_new0 but freed with g_slice_free. Change the allocation to use g_slice_new0. Bug #98786 glib/poppler-action.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 02e2d8e2c3004c36d1f8f798e5a7a30166f48f37 Author: Albert Astals Cid Date: Tue Nov 15 00:10:43 2016 +0100 0.49 CMakeLists.txt | 4 ++-- NEWS | 5 ++++- configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 11 insertions(+), 8 deletions(-) commit f7f0f14e095425d171456a697804f2f34ed26426 Author: Tor Lillqvist Date: Tue Nov 15 00:06:26 2016 +0100 VS 2013 has fmin() and fmax() NEWS | 13 +++++++++++++ poppler/poppler-config.h.cmake | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) commit 07ac68603552b36a2a6b8ea5982f22f24f5835b1 Author: Albert Astals Cid Date: Tue Nov 15 00:03:24 2016 +0100 Update (C) poppler/PSOutputDev.cc | 1 + poppler/poppler-config.h.in | 1 + utils/pdfseparate.cc | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) commit b837ae3bc69c5c76f1a4e3abaeb22d0574d6b2c8 Author: Thomas Freitag Date: Thu Nov 10 00:33:17 2016 +0100 Continue rendering in case of 'Singular matrix in shading pattern fill' Bug #98623 poppler/Gfx.cc | 1 + 1 file changed, 1 insertion(+) commit 6c01a48458a8b4896d606ef9bcc4af5e03393b72 Author: Thomas Freitag Date: Wed Nov 2 23:10:01 2016 +0100 merge type3 glyph handling from xpdf 3.04 Fixes bug #96667 poppler/SplashOutputDev.cc | 28 +++++++++++++++++++++++----- poppler/SplashOutputDev.h | 1 - 2 files changed, 23 insertions(+), 6 deletions(-) commit f43cb73939f85952d83afc87a6dc638dc1ae311b Author: Albert Astals Cid Date: Wed Nov 2 00:13:26 2016 +0100 Avoid UBSan warning about undefined downcast ...of this-ptr of in-construction FormFieldSignature while still in the base FormField ctor by simply casting the parent-class field member when needed poppler/Form.cc | 83 ++++++++++++++++++++++++++++++++------------------------- poppler/Form.h | 9 +++---- 2 files changed, 50 insertions(+), 42 deletions(-) commit 4539d0b002efbd19393fd55a6fb87b013acdb8f1 Author: Caolán McNamara Date: Thu Oct 27 14:31:20 2016 +0200 PSOutputDev.cc: std::max requires poppler/PSOutputDev.cc | 1 + 1 file changed, 1 insertion(+) commit 4619957cbab81ab0b25f3fdd3ed872f0ad93f074 Author: Tor Lillqvist Date: Thu Oct 27 14:27:32 2016 +0200 VS 2013 has fmin() and fmax() poppler/poppler-config.h.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be073d39f72f625bf3d8482ead76881150695bf4 Author: Albert Astals Cid Date: Mon Oct 31 10:11:56 2016 +0100 Fix typo in disable nss help string Bug #98514 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2a09ec47aef8870dba345f4045e691ffb5a59f4d Author: Albert Astals Cid Date: Mon Oct 24 20:04:22 2016 +0200 Fix memory leak in parametrized gouraudTriangleShadedFill poppler/SplashOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 169889b8e196cfcd288e6555fb048fbbf95ba3f6 Author: Albert Astals Cid Date: Mon Oct 24 20:04:00 2016 +0200 Fix crash on broken files splash/Splash.cc | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) commit 269a91e3b03a19acc06fd0f72356f2e48a6368a7 Author: Jakub Alba Date: Tue Aug 23 13:20:44 2016 +0200 PDFDoc::setDocInfoStringEntry(): treat value consisting of just the unicode marker as an empty string poppler/PDFDoc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43cfdf9de45e6833a2815b173f8cc945f1c5f9d6 Author: Jakub Alba Date: Tue Aug 23 13:19:07 2016 +0200 goo: add GooString::hasJustUnicodeMarker(void) goo/GooString.cc | 2 +- goo/GooString.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit e3c5bdf4fcd29c5d180046d1c279d3f99c1027a7 Author: Jakub Alba Date: Fri Oct 21 23:06:23 2016 +0200 update copyrights cpp/poppler-document.cpp | 2 +- cpp/poppler-document.h | 2 +- cpp/poppler-embedded-file.cpp | 2 +- cpp/poppler-global.cpp | 2 +- cpp/poppler-private.cpp | 2 +- cpp/poppler-private.h | 2 +- glib/poppler-document.cc | 2 +- glib/poppler-document.h | 2 +- goo/GooString.cc | 2 +- goo/GooString.h | 2 +- poppler/Object.h | 2 +- poppler/PDFDoc.cc | 2 +- poppler/PDFDoc.h | 2 +- poppler/XRef.cc | 2 +- poppler/XRef.h | 2 +- qt4/src/poppler-document.cc | 2 +- qt4/src/poppler-private.cc | 2 +- qt4/src/poppler-private.h | 2 +- qt4/src/poppler-qt4.h | 2 +- qt5/src/poppler-document.cc | 2 +- qt5/src/poppler-private.cc | 2 +- qt5/src/poppler-private.h | 2 +- qt5/src/poppler-qt5.h | 2 +- 23 files changed, 23 insertions(+), 23 deletions(-) commit 5d15a52aade68c618c356fe403ca500e74917ef7 Author: Pino Toscano Date: Sun Oct 9 13:04:46 2016 +0200 pdfseparate: remove extra '%' in error message utils/pdfseparate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 036bcee237c814197af3324cd3697ea88d9ac6d3 Author: Albert Astals Cid Date: Sat Oct 8 17:55:31 2016 +0200 0.48 CMakeLists.txt | 4 ++-- NEWS | 12 ++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- poppler/Outline.cc | 1 + poppler/UTF.cc | 1 + poppler/UTF.h | 1 + qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 10 files changed, 22 insertions(+), 7 deletions(-) commit 3cfbc4efde1df6dcb9ef18a0fb26c7e199e6e8f5 Author: Jason Crain Date: Wed Sep 28 14:56:02 2016 +0000 TextOutputDev: Break words on all whitespace characters Some PDF creators like Chrome use no-break spaces or other whitespace characters between words, causing pdftotext -bbox to not break words as expected. Fix this by breaking words on any character with the Unicode whitespace property. Bug #97399 poppler/TextOutputDev.cc | 2 +- poppler/UTF.cc | 12 ++++++++++++ poppler/UTF.h | 2 ++ 3 files changed, 15 insertions(+), 1 deletion(-) commit 27cf7fabad27648019b36b2d6352e6767bfc8689 Author: Albert Astals Cid Date: Wed Sep 28 23:23:33 2016 +0200 Increase glib requirement Seems we've been requiring it for a while at least. See "Build fail on Ubuntu 14.04" thread on the mailing list CMakeLists.txt | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 86e50e156952713f0ce3ecc7b6f03f06dc0902c1 Author: Adrian Johnson Date: Wed Sep 28 06:10:20 2016 +0930 Revert "pdfinfo: add -dests option to print named destinations" This reverts commit 183dbf3249e8db2398b63a749eb010bc0a89dc35. cmake/modules/PopplerMacros.cmake | 2 +- configure.ac | 1 - utils/pdfinfo.1 | 4 -- utils/pdfinfo.cc | 140 +------------------------------------- 4 files changed, 2 insertions(+), 145 deletions(-) commit 183dbf3249e8db2398b63a749eb010bc0a89dc35 Author: Adrian Johnson Date: Sat Sep 17 22:08:23 2016 +0930 pdfinfo: add -dests option to print named destinations Bug 97262 cmake/modules/PopplerMacros.cmake | 2 +- configure.ac | 1 + utils/pdfinfo.1 | 4 ++ utils/pdfinfo.cc | 140 +++++++++++++++++++++++++++++++++++++- 4 files changed, 145 insertions(+), 2 deletions(-) commit 151715976509075e9b95e0ab86d1fcacb2c1580a Author: Masamichi Hosoda Date: Sat Aug 20 23:16:33 2016 +0900 Add functions for named destination name in name-dict Get the number of named destinations in name-dict int numDests(); Get the i'th named destination name in name-dict char *getDestsName(int i); Get the i'th named destination link destination in name-dict LinkDest *getDestsDest(int i); poppler/Catalog.cc | 38 ++++++++++++++++++++++++++++++++++++++ poppler/Catalog.h | 9 +++++++++ 2 files changed, 47 insertions(+) commit 99267c0b3f3aed520247dc0a5eb70df04b00df46 Author: Masamichi Hosoda Date: Sat Aug 20 20:40:18 2016 +0900 Add functions for named destination name in name-tree Get the number of named destinations in name-tree int Catalog::numDestNameTree(); Get the i'th named destination name in name-tree GooString *Catalog::getDestNameTreeName(int i); Get the i'th named destination link destination in name-tree LinkDest *Catalog::getDestNameTreeDest(int i); poppler/Catalog.cc | 13 +++++++++++++ poppler/Catalog.h | 9 +++++++++ 2 files changed, 22 insertions(+) commit 09ab87a9faf552b28eb7fe3e8ffd137390be5535 Author: Masamichi Hosoda Date: Sat Aug 20 19:35:27 2016 +0900 Divide Catalog::findDest() In order to use constructing LinkDest from other functions, this commit divides Catalog::findDest(). poppler/Catalog.cc | 24 +++++++++++++++++------- poppler/Catalog.h | 2 ++ 2 files changed, 19 insertions(+), 7 deletions(-) commit 6c84188c3ff3120c3d13f26a889df51d5be6ed87 Author: Albert Astals Cid Date: Wed Sep 7 23:58:42 2016 +0200 Refactor Hints to be less bad on broken files If we reach the end of the stream don't try to continue reading bits from it Bug #97623 poppler/Hints.cc | 246 +++++++++++++++++++++++++++++++++--------------------- poppler/Hints.h | 16 ++-- poppler/PDFDoc.cc | 4 + 3 files changed, 159 insertions(+), 107 deletions(-) commit 0d06c871df8065e72ae54a1821ca9e872a554352 Author: Albert Astals Cid Date: Tue Sep 6 23:42:55 2016 +0200 Make some classes smaller in memory (amd64) Thanks to elf-dissector TextWord 176 -> 160 Annot 256 -> 240 GfxShading 200 -> 184 poppler/Annot.h | 6 +++--- poppler/GfxState.h | 6 +++--- poppler/TextOutputDev.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) commit 3ccd1c34a19c81d92bff27a095cf912afecb5ef3 Author: Albert Astals Cid Date: Tue Sep 6 23:42:03 2016 +0200 Compile++ splash/SplashScreen.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2ece00c84418fb8a92acc44d2bd0b001bfa10b27 Author: Albert Astals Cid Date: Tue Sep 6 23:41:42 2016 +0200 Fix warning about new enum utils/pdfinfo.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f5c34c63a64ae3a6af9aee2d2710a966b7e2d95c Author: Jakub Kucharski Date: Sat Aug 27 06:13:55 2016 +0200 goo: check at compile time if GooString has the right size static_assert is a C++ feature introduced in C++0x. GCC already uses this standard by default, so we can make use of it. In case it's compiled without C++ >= 0x support, the #if macro will get rid of it. goo/GooString.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 3a1a4baacf9672cd1e26a860303ba22f75c2b942 Author: Jakub Kucharski Date: Sat Aug 27 06:09:04 2016 +0200 goo: fix GooString::STR_STATIC_SIZE calculation Before this fix on 64-bit systems 4 bytes were left unsused (because of memory alignment). I've also removed unnecessary MemoryLayout class which used to be used to calculate GooString::STR_STATIC_SIZE, although it had only made it harder. goo/GooString.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 1de363eecfa50f6432c5ff87c920213186815416 Author: Albert Astals Cid Date: Tue Sep 6 00:09:40 2016 +0200 Fix another ubsan warning splash/SplashScreen.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 90d0fae2b0bd713f36500f59f4bfee33ad9e13bb Author: Albert Astals Cid Date: Mon Sep 5 16:19:41 2016 +0200 Missing (C) from last commit fofi/FoFiBase.cc | 1 + fofi/FoFiTrueType.cc | 2 +- goo/GooString.cc | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 67df1e16d7ae87e8b05c3186063cb925a799790a Author: Albert Astals Cid Date: Mon Sep 5 16:10:58 2016 +0200 Check we don't overflow in some calculations Overflow is undefined behaviour fofi/FoFiBase.cc | 2 ++ fofi/FoFiTrueType.cc | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 7024b3c97df1815a4f1c9f677dc05dcf5ee72c3d Author: Albert Astals Cid Date: Mon Sep 5 16:09:34 2016 +0200 No need to do a memcpy of an empty string Saves some warnings about memcpy of null strings on some broken documents goo/GooString.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a902f5983e6802c9346569fcc599cf5f5042bd8d Author: Albert Astals Cid Date: Mon Sep 5 16:08:17 2016 +0200 initialize XRef::encryptAlgorithm to something poppler/Decrypt.cc | 12 +++++++++++- poppler/Stream.h | 5 +++-- poppler/XRef.cc | 3 ++- 3 files changed, 16 insertions(+), 4 deletions(-) commit 7c7c35db46c0da51c09783a00484161721ea48ab Author: Albert Astals Cid Date: Sun Sep 4 15:40:32 2016 +0200 Fix memory leak in error handling utils/HtmlOutputDev.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4552af28684e18c6153ce5598b121a73477af4d6 Author: Albert Astals Cid Date: Sun Sep 4 15:24:14 2016 +0200 Do not crash on invalid files where nStripes is 0 Bug #85276 poppler/PSOutputDev.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 364c15795a0508d421ca636bc7b71f93039a82b1 Author: Albert Astals Cid Date: Sun Sep 4 15:23:25 2016 +0200 Always delete aaBuf if it is there Doesn't matter if antialias is temporarily disabled splash/Splash.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 22c4701d5f7be0010ee4519daa546fba5ab7ac13 Author: Albert Astals Cid Date: Fri Aug 26 15:18:22 2016 +0200 Fix crash in files with broken JBIG2Streams poppler/JBIG2Stream.cc | 2 ++ 1 file changed, 2 insertions(+) commit c46b8b99b3a2d51692d889df22136cb737d3a47f Author: Albert Astals Cid Date: Fri Aug 26 14:53:19 2016 +0200 Fix memory leak when parsing broken Forms poppler/Form.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 92175cb29450241fafc6d74170f97aee5b7a6d7a Author: Jason Crain Date: Sun Jul 31 00:53:24 2016 -0500 Fix UTF16 decoding of document outline title Use TextStringToUCS4 function and don't ignore astral characters. Bug #97156 poppler/Outline.cc | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) commit fea7bfc3978cb962e2372df3c407114effd5f831 Author: Jason Crain Date: Sat Jul 30 03:38:29 2016 -0500 TextOutputDev: Remove null characters from PDF text Null characters in the PDF text cause problems with the glib frontend's handling of C strings. Filter them out. Bug #97144 poppler/TextOutputDev.cc | 4 ++++ 1 file changed, 4 insertions(+) commit ead33cf26ab7416ae0b37f8eeb19dc231e9a31f0 Author: Albert Astals Cid Date: Mon Aug 22 23:40:07 2016 +0200 Make sure GfxICCBasedColorSpace and its alt colorspace have the same number of nComps On files where this doesn't happen (only bad files i've found so far) this is leading to crashes poppler/GfxState.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 55e9f50deb68fb156335a5eb075b28e7b75d88ed Author: Albert Astals Cid Date: Thu Aug 18 23:54:15 2016 +0200 Poppler 0.47 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 0889366a5872316919dbb640b6cc5cda85295169 Author: Jakub Kucharski Date: Mon Aug 1 01:10:18 2016 +0200 XRef::createDocInfoIfNoneExists(): don't presume that DocInfo is a dictionary In case a PDF document doesn't comply with the PDF reference and its DocInfo object isn't a dictionary, remove it and create a dictionary in its place. poppler/XRef.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 7ba975630e12a3242d73372a685e016101c5e479 Author: Jakub Kucharski Date: Mon Aug 1 01:17:08 2016 +0200 PDFDoc::setDocInfoStringEntry(): free empty value string Normally the ownership of value is passed on to the Object class. In case value is an empty string, it doesn't happen, so we have to free it in order to have a uniform behaviour managing memory and not to introduce memory leaks. poppler/PDFDoc.cc | 3 +++ 1 file changed, 3 insertions(+) commit f0feeed3513899558c59b65f798f294212309486 Author: Matthias Kilian Date: Mon Aug 1 22:50:44 2016 +0200 Work with non gnu grep configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3f5c84e17acfa71dfd44514384398f5a4c449630 Author: Albert Astals Cid Date: Sat Jul 30 17:50:42 2016 +0200 Check for XRefEntry existing before using it Bug #97005 poppler/Hints.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 7d3aea760a14a73962e429059f73d97391660367 Author: Albert Astals Cid Date: Sat Jul 30 17:32:59 2016 +0200 Fix abort on documents where the docinfo obj is not a dict Bug #97134 poppler/PDFDoc.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5641644f485b402cd906d3db73a22a00eb00489b Author: Albert Astals Cid Date: Mon Jul 25 00:14:30 2016 +0200 Poppler 0.46 CMakeLists.txt | 4 ++-- NEWS | 33 +++++++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/CMakeLists.txt | 2 +- cpp/Doxyfile | 2 +- cpp/Makefile.am | 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 +- qt5/src/CMakeLists.txt | 2 +- qt5/src/Doxyfile | 2 +- qt5/src/Makefile.am | 2 +- 15 files changed, 48 insertions(+), 15 deletions(-) commit 97375143f458a9f12009d798ec43364d548051b9 Author: Albert Astals Cid Date: Sun Jul 24 23:59:09 2016 +0200 update Copyrights poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 2 +- poppler/Link.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit bc1e3df84adff679194c33ce2dc52caa70b24df8 Author: Richard Palo Date: Sun Jul 24 23:52:52 2016 +0200 Work with non gnu greps configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df6904366d587133760adf0d43a128aa4d35a712 Author: Jakub Kucharski Date: Sun Jul 24 13:14:39 2016 +0200 qt5: fix memory leaks in Document::modificationDate() and Document::creationDate() qt5/src/poppler-document.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d89ea6ae0ddd70916700a402649a9e0423ae9fbb Author: Jakub Kucharski Date: Sun Jul 24 13:14:19 2016 +0200 qt4: fix memory leaks in Document::modificationDate() and Document::creationDate() qt4/src/poppler-document.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 844ede567f188997bb49ab1fc435797b4f31f5e9 Author: Albert Astals Cid Date: Sun Jul 24 12:47:21 2016 +0200 qt5: Fix memory leak in new implementation of ::date qt5/src/poppler-document.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d34ac7cedf4213020f5a4c05e09aa8d781bc6e43 Author: Jakub Kucharski Date: Sun Jul 24 12:43:41 2016 +0200 qt5: Added document property setters & getters Part of Bug #36653 qt5/src/poppler-document.cc | 234 ++++++++++++++++++++++++++++++++++++-------- qt5/src/poppler-private.cc | 9 ++ qt5/src/poppler-private.h | 3 + qt5/src/poppler-qt5.h | 118 ++++++++++++++++++++++ 4 files changed, 321 insertions(+), 43 deletions(-) commit 720718739c8002304e8da33d9ca87bc0c1511425 Author: Albert Astals Cid Date: Sun Jul 24 12:40:04 2016 +0200 qt4: Fix memory leak in new implementation of ::date qt4/src/poppler-document.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit e7cbc36467dfac9415d7d1cac70b77e04566e75d Author: Jakub Kucharski Date: Sun Jul 24 12:39:34 2016 +0200 qt4: Added document property setters & getters Part of Bug #36653 qt4/src/poppler-document.cc | 234 ++++++++++++++++++++++++++++++++++++-------- qt4/src/poppler-private.cc | 9 ++ qt4/src/poppler-private.h | 3 + qt4/src/poppler-qt4.h | 118 ++++++++++++++++++++++ 4 files changed, 321 insertions(+), 43 deletions(-) commit 977669048b93e0561fc86e15b42ac69884e36fab Author: Jakub Kucharski Date: Sun Jul 24 12:20:58 2016 +0200 cpp: Added document property setters & getters Part of Bug #36653 cpp/poppler-document.cpp | 445 ++++++++++++++++++++++++++++++++++++++++++++--- cpp/poppler-document.h | 24 +++ 2 files changed, 447 insertions(+), 22 deletions(-) commit 7f4a201226bc1112a121c749eb73f2a78e5149e3 Author: Jakub Kucharski Date: Sun Jul 24 12:19:52 2016 +0200 cpp: Added functions to save a document Part of Bug #36653 cpp/poppler-document.cpp | 30 ++++++++++++++++++++++++++++++ cpp/poppler-document.h | 4 ++++ 2 files changed, 34 insertions(+) commit 8d5778feeb3c6cd932ecd7abeba7d1e670d2af66 Author: Adrian Johnson Date: Tue Jul 19 22:58:39 2016 +0930 cairo: try finding glyphs in substitute fonts by unicode value if the glyph name can not be found in the substitute font, try converting the name to unicode value in see of the font cmap has a mapping for the character. Bug 96994 poppler/CairoFontEngine.cc | 5 +++++ 1 file changed, 5 insertions(+) commit 954ee650047c185523f3e20e92f8fc4c67308196 Author: Adrian Johnson Date: Sun Jul 17 21:38:54 2016 +0930 pdftocairo: Use fprintf for printing errors utils/pdftocairo.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 92f283ba931b605935646e2c55007b75c7e82288 Author: Jakub Kucharski Date: Sun Jul 17 01:42:19 2016 +0200 glib: make document metatag gobject properties writeable glib/poppler-document.cc | 56 +++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 48 insertions(+), 8 deletions(-) commit 13f0333a46e2a498700ee6bff9845ae0eceafe80 Author: Adrian Johnson Date: Tue Jul 5 06:54:54 2016 +0930 pdfinfo: update man page for listenc, meta, js, and struct* options utils/pdfinfo.1 | 2 ++ 1 file changed, 2 insertions(+) commit c91483aceb1b640771f572cb3df9ad707e5cad0d Author: Adrian Johnson Date: Mon Jul 4 21:55:53 2016 +0930 pdfinfo: Don't print pdf info when printing metadata, javascript, or structure Bug 96801 utils/pdfinfo.cc | 579 +++++++++++++++++++++++++++---------------------------- 1 file changed, 289 insertions(+), 290 deletions(-) commit 95d30fe3dd0cf265ccefd80d7deac00c7f430b14 Author: Jakub Kucharski Date: Tue Jul 12 23:02:35 2016 +0200 cpp: pass len to GooString constructor in detail::ustring_to_unicode_GooString() Bug #96426 cpp/poppler-private.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8a0b8b2ea57e3b9ac60e17e82aa22994f26d6213 Author: Albert Astals Cid Date: Tue Jul 5 23:35:57 2016 +0200 Be less strict when parsing FitH Link destinations Would need the same for other kind of destinations too but since don't have a file that needs it i'll refrain from changing it Bug #96661 poppler/Link.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 7f893f546dd9753967b986d3a7a56becf9b8d02f Author: Albert Astals Cid Date: Tue Jul 5 23:30:29 2016 +0200 Remove checks that are already at the beginning of the function poppler/Link.cc | 8 -------- 1 file changed, 8 deletions(-) commit 82476b0d6967ce5e61dce4666fe556edd63c16e6 Author: Jakub Kucharski Date: Mon Jun 6 22:17:57 2016 +0200 glib: Added document property setters & simplified getters https://bugs.freedesktop.org/show_bug.cgi?id=36653 glib/poppler-document.cc | 347 +++++++++++++++++++++++++++--------- glib/poppler-document.h | 18 ++ glib/reference/poppler-docs.sgml | 4 + glib/reference/poppler-sections.txt | 8 + 4 files changed, 288 insertions(+), 89 deletions(-) commit 4f7c67b59b9c55b9b896378d3adbecbb73f6eb63 Author: Jakub Kucharski Date: Tue Feb 23 16:46:43 2016 +0100 Added DocInfo setters & getters https://bugs.freedesktop.org/show_bug.cgi?id=36653 poppler/Object.h | 7 +++++- poppler/PDFDoc.cc | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ poppler/PDFDoc.h | 41 ++++++++++++++++++++++++++++++++++ poppler/XRef.cc | 34 ++++++++++++++++++++++++++++ poppler/XRef.h | 7 ++++++ 5 files changed, 155 insertions(+), 1 deletion(-) commit e2851dd8166fa5a1df0518959ad71c9d81bd9152 Author: Jakub Kucharski Date: Tue Feb 23 15:36:43 2016 +0100 Added XRef modification flag https://bugs.freedesktop.org/show_bug.cgi?id=36653 poppler/PDFDoc.cc | 12 +----------- poppler/XRef.cc | 5 +++++ poppler/XRef.h | 7 +++++++ 3 files changed, 13 insertions(+), 11 deletions(-) commit 9faa9b05171e46815924b48d31a7c45a1285c403 Author: Adrian Johnson Date: Sun Jun 5 22:44:56 2016 +0930 Fix tiling patterns with BBox with non-zero x,y poppler/CairoOutputDev.cc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 500fb06a23c95109547fded267a21647c8629502 Author: Adrian Johnson Date: Tue Jun 21 20:05:44 2016 +0930 Don't use -fPIC on cygwin it emits a warning for every file stating that -fPIC is ignored configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5f939d683a8978cdfdb65a3471296bf9e5940055 Author: Adrian Johnson Date: Sun Jun 19 11:07:09 2016 +0930 pdftocairo: revert the use of groups for blending into white page This was added in 853e949 but has since been found to cause regressions eg the test case in bug 63587. utils/pdftocairo.cc | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 5165c1a59332a0bc9da60a1a8d53dace039aae32 Author: Adrian Johnson Date: Sun Jun 19 11:19:24 2016 +0930 cairo: fix bug in setAntialias() Was setting the member cairo instead of cr parameter. Also rename the function to avoid confusion with the public setAntialias() and make it static to prevent this type of bug in future. poppler/CairoOutputDev.cc | 16 ++++++++-------- poppler/CairoOutputDev.h | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) commit dfbb98327cbbc173a63f5db36b6606a93e5166aa Author: Albert Astals Cid Date: Fri Jun 17 00:04:25 2016 +0200 Poppler 0.45 CMakeLists.txt | 4 ++-- NEWS | 19 +++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 26 insertions(+), 7 deletions(-) commit 3829958339b332d7ddf005d5ab98dd0ad3c8b3c6 Author: Albert Astals Cid Date: Thu Jun 16 23:58:07 2016 +0200 Add (C) poppler/DateInfo.cc | 1 + poppler/DateInfo.h | 1 + poppler/Form.cc | 2 +- utils/pdfinfo.cc | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) commit 4c7e057b0315ed37bd47e304ca191191244b2963 Author: Albert Astals Cid Date: Fri Jun 17 00:11:50 2016 +0200 dist glibc.h we don't install it, but we need it for building goo/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 5ee67050c400daa7bc0b0a4f5dddf21be18be124 Author: Adrian Johnson Date: Tue Jun 14 07:32:35 2016 +0930 Fix windows compile utils/pdfinfo.cc | 1 + 1 file changed, 1 insertion(+) commit df0779031d6ae0180024f92602bc2a680cf73dd5 Author: Jakub Kucharski Date: Thu May 19 16:11:04 2016 +0200 cpp: switched from detail::convert_date() to core's dateStringToTime() cpp/poppler-document.cpp | 4 +++- cpp/poppler-embedded-file.cpp | 6 ++++-- cpp/poppler-global.cpp | 6 +++++- cpp/poppler-private.cpp | 25 +------------------------ cpp/poppler-private.h | 3 +-- 5 files changed, 14 insertions(+), 30 deletions(-) commit ff24d677c6078c3dfb54c35541369d908314bcdb Author: Adrian Johnson Date: Wed Feb 24 20:57:37 2016 +1030 pdfinfo: add -isodates for printing dates in ISO-8601 format utils/pdfinfo.1 | 3 +++ utils/pdfinfo.cc | 36 +++++++++++++++++++++++++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) commit dd08f24f5e52c56546dfda70be483dc29e03c2e6 Author: Adrian Johnson Date: Wed Feb 24 21:10:08 2016 +1030 pdfinfo: convert dates to local time zone utils/pdfinfo.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit e4690ee1be027dd7028e86ea6732a3f4f2680ef7 Author: Adrian Johnson Date: Tue Feb 23 21:01:49 2016 +1030 glib: return date in UTC instead of local time Bug 94173 ConfigureChecks.cmake | 1 + config.h.cmake | 3 +++ configure.ac | 1 + glib/poppler-date.cc | 33 +++++++------------------------- goo/glibc.cc | 24 ++++++++++++++++++++++++ goo/glibc.h | 4 ++++ poppler/DateInfo.cc | 52 +++++++++++++++++++++++++++++---------------------- poppler/DateInfo.h | 6 +++++- poppler/Form.cc | 2 +- 9 files changed, 76 insertions(+), 50 deletions(-) commit 7936af2eeb8f84993acabd1b306da50d49256b31 Author: Adrian Johnson Date: Tue Feb 23 20:52:30 2016 +1030 Emulate some non portable glibc functions when not available CMakeLists.txt | 1 + cpp/tests/poppler-dump.cpp | 5 +---- glib/demo/utils.c | 6 ------ goo/Makefile.am | 3 ++- goo/glibc.cc | 34 ++++++++++++++++++++++++++++++++++ goo/glibc.h | 33 +++++++++++++++++++++++++++++++++ poppler/DateInfo.cc | 7 ++----- 7 files changed, 73 insertions(+), 16 deletions(-) commit 4d799cdf9b9039b003de7d3baf05d858bc507a5a Author: Albert Astals Cid Date: Thu Jun 2 00:22:05 2016 +0200 pdfinfo: Fix another leak Again not crucial in pdfinfo itself but nice to be clean so that if it the leak check fails is because the core is doing something bad utils/JSInfo.cc | 13 ++++++++----- utils/JSInfo.h | 3 ++- 2 files changed, 10 insertions(+), 6 deletions(-) commit 4daee8a8ce40aeb658964a5902ae104549f7af75 Author: Albert Astals Cid Date: Wed Jun 1 18:37:57 2016 +0200 Fix memory leak when failing to parse thumbs or actions poppler/Page.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bc6eb28776feaa302ad93e315798cad02c1e2a54 Author: Albert Astals Cid Date: Wed Jun 1 18:36:17 2016 +0200 pdfinto: Fix memory leak It's not very critial that pdfinfo does not leak, but it's nice to have no leaks so one can run ASAN over a file and see if something is wrong or not utils/pdfinfo.cc | 1 + 1 file changed, 1 insertion(+) commit 66617b256acfcd98f727bf11b7d7e92bcbd16de0 Author: Albert Astals Cid Date: Wed Jun 1 18:35:50 2016 +0200 Point ucs4 to null when len is 0 Makes it easier for the caller than can always just free the passed pointer poppler/UTF.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 0d70a57c7ad8a53e2462560a47b6ea5eba73d6c5 Author: Albert Astals Cid Date: Wed Jun 1 18:34:32 2016 +0200 Add docu to the get*Action methods Since unfortunately their behaviour is different in what you have to do with the pointer given poppler/Annot.h | 12 ++++++------ poppler/Form.h | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) commit 3db727f9546779a8896fc30a6669751d726ab86c Author: Albert Astals Cid Date: Wed Jun 1 18:32:45 2016 +0200 Fix memory leak in RichMedia parsing poppler/Annot.cc | 1 + 1 file changed, 1 insertion(+) commit 8ace48fb07b81cab6ae68dc23d173e7441ad6d2e Author: Albert Astals Cid Date: Sun May 29 11:45:55 2016 +0200 SplashOutputDev: Fix iccTransform + splashModeXBGR8 poppler/SplashOutputDev.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 46039c2ef5b666d5ee85e7f6fc6a74a5a9e69526 Author: Albert Astals Cid Date: Fri May 27 11:06:01 2016 +0200 Add braces to make it more clear to which if the else applies poppler/UnicodeTypeTable.cc | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) commit 2d72a8bfc87c9bdcea6b617ebd4b3a3684e174e8 Author: Albert Astals Cid Date: Thu May 26 17:59:21 2016 +0200 Initialize nConfigurations and nAssets poppler/Annot.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4e49b3af7d6f731b9da20a9d6e5aa54578f08d3f Author: Albert Astals Cid Date: Thu May 26 17:34:56 2016 +0200 Fix memory leak on error on JBIG2Stream::readHalftoneRegionSeg poppler/JBIG2Stream.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5f51939eea5b98dcef115d18baec3179701d0292 Author: Albert Astals Cid Date: Tue May 24 23:34:48 2016 +0200 Fix stack overflow Bug #96027 poppler/Stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c820826377d79438ecaf90e9b2106a8451585add Author: Albert Astals Cid Date: Tue May 24 00:00:57 2016 +0200 Fix (C) year utils/HtmlOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ce8dd7fbd132b5f423dc3bf10fa87b973390d0b Author: Albert Astals Cid Date: Mon May 23 23:59:40 2016 +0200 Fix stack overflow on broken file Bug #95567 poppler/Stream.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 37fb37e368c659832fc1a1dfd499c42340b62f38 Author: Vincent Le Garrec Date: Mon May 23 23:18:40 2016 +0200 pdftohtml: Fix crash on broken file Bug #95563 utils/HtmlOutputDev.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit 1d0251c8ab48e2e1a4873d84b4bc573b3ae2a98d Author: Albert Astals Cid Date: Sat May 21 20:02:26 2016 +0200 Fix memory leak in Splash::gouraudTriangleShadedFill splash/Splash.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit eb20f8cc2c0dea281ae44336a8fac8cc86a99895 Author: Albert Astals Cid Date: Sat May 21 19:19:43 2016 +0200 0.44 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 58f56a7af99b477f39e57aed74443b6851afe15f Author: Thomas Freitag Date: Sat May 21 18:25:22 2016 +0200 Fix Compile in 32bit linux Bug #95492 poppler/Decrypt.cc | 65 +++++++++++++++++++++++++++--------------------------- 1 file changed, 33 insertions(+), 32 deletions(-) commit 853e94995255591b35d9bdbeb0174476838097c0 Author: Adrian Johnson Date: Sun Apr 17 16:02:57 2016 +0930 pdftocairo: add -antialias option Bug 94977 poppler/CairoOutputDev.cc | 24 +++++++++++++++++ poppler/CairoOutputDev.h | 4 ++- utils/pdftocairo.1 | 26 +++++++++++++++++++ utils/pdftocairo.cc | 66 ++++++++++++++++++++++++++++++++++++++++++----- 4 files changed, 112 insertions(+), 8 deletions(-) commit 8453966178de8535cdabac090e78ec17857f8975 Author: Thomas Freitag Date: Tue May 17 01:00:37 2016 +0200 Improve rendering of some dotted lines Bug #84693 splash/Splash.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 182abe4ed5c0773073c6751a26a7c4e40e99e02e Author: Thomas Freitag Date: Fri May 13 00:07:24 2016 +0200 Splash: type 3 chars. restore the current position also in output device Bug #95344 poppler/Gfx.cc | 1 + 1 file changed, 1 insertion(+) commit 9c35dc79ec777d9495796124ac7a42bf2b4cf83f Author: Jakub Kucharski Date: Wed May 11 23:34:53 2016 +0200 goo: refactor GooString::Set() it is used only once to concatenate strings and it is in a GooString constructor used specifically for that so I think concatenation should take place in the constructor and GooString::Set should do exactly what it says which is setting the string. Bug #94201 goo/GooString.cc | 40 ++++++++++++++-------------------------- goo/GooString.h | 10 +++++----- 2 files changed, 19 insertions(+), 31 deletions(-) commit 0ecec576faf7e1ef644f5973f17e0b8244560912 Author: Albert Astals Cid Date: Wed May 4 23:23:04 2016 +0200 Fix typo in GfxPatchMeshShading::parse poppler/GfxState.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 890178f9c946931ec34b8b227493ec9f1c6109aa Author: Albert Astals Cid Date: Wed May 4 01:32:47 2016 +0200 Fix potential crash in SplashOutputDev::doUpdateFont If we delete fontLoc we need to set it to NULL since it's not set to any value in all of the branches of this code poppler/SplashOutputDev.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 86572d7d2835fdd77e82eeb428e3a56c2d0f271d Author: Albert Astals Cid Date: Wed May 4 01:27:54 2016 +0200 Fix memory leak in SignatureHandler::getDefaultFirefoxCertDB_Linux poppler/SignatureHandler.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 3707f9d17c5f8a883ddb9614b11676ad49ade5b2 Author: Albert Astals Cid Date: Wed May 4 00:59:01 2016 +0200 Fix potential crash in TextPage::coalesce When flows is not null flow was still pointing to an now deleted flow that may had made it crash in the for loop below poppler/TextOutputDev.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6d26d02c39de6546f57b20c46922f8c56aad78a0 Author: Albert Astals Cid Date: Wed May 4 00:58:12 2016 +0200 Remove call that does nothing We don't use dict after this call and streamGetDict is a pure getter, i.e. it doesn't change the stream at all poppler/GfxState.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 56c71fcaae71c2b3cc91bb981715541518e05684 Author: Albert Astals Cid Date: Wed May 4 00:55:06 2016 +0200 Fix memory leak in PSOutputDev::filterPSLabel poppler/PSOutputDev.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a0c3fd3f18232c126815a129158e0c4cd3a819a9 Author: Albert Astals Cid Date: Fri Apr 29 00:14:24 2016 +0200 New version and soversion CMakeLists.txt | 4 ++-- configure.ac | 2 +- cpp/Doxyfile | 2 +- gtk-doc.make | 2 +- poppler/Makefile.am | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) commit da91593e834d4e617213466331226347f1688a53 Author: Albert Astals Cid Date: Fri Apr 29 00:12:59 2016 +0200 News NEWS | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit bdd25a2583552fe8e72dcf4bc17d9f488b7c1268 Author: Albert Astals Cid Date: Fri Apr 29 00:07:24 2016 +0200 Update Cs poppler/CairoFontEngine.cc | 2 +- poppler/CairoOutputDev.cc | 2 +- poppler/CairoOutputDev.h | 1 + poppler/GfxFont.cc | 2 +- utils/pdftocairo.cc | 1 + 5 files changed, 5 insertions(+), 3 deletions(-) commit dbbe1590d49e620ef0743cb1b99b0b5b9a1f36ec Author: Arseniy Lartsev Date: Thu Apr 28 23:59:05 2016 +0200 qt: Fix crash on certain PDF form item activation actions Bug #94873 qt4/src/poppler-page.cc | 3 ++- qt5/src/poppler-page.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 1cc93886eee3204e2ccd8bcc8b90306e809255e0 Author: Thomas Freitag Date: Thu Apr 28 23:53:06 2016 +0200 Allow newlines in ' obj' sequence Bug #94756 poppler/XRef.cc | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit a8e3399487258e53df0fd4a79c570c8d71188bed Author: Takahiro Hashimoto Date: Wed Apr 27 00:16:52 2016 +0200 Compile with C++11 compilers that don't define isinfinite Bug #94761 poppler/SplashOutputDev.cc | 8 ++++++++ 1 file changed, 8 insertions(+) commit 6eafb6570765605108cf3525f78b10223439ee1d Author: Pino Toscano Date: Thu Apr 21 08:30:25 2016 +0200 configure: remove unused check for gethostbyname configure.ac | 5 ----- 1 file changed, 5 deletions(-) commit d9408c186f9b5c992a4e1492a58dda506d8453ac Author: Pino Toscano Date: Sun Apr 10 10:29:05 2016 +0200 typo fixes - "indentical" -> "identical" - "numberals" -> "numerals" - "paremeters" -> "parameters" poppler/PageLabelInfo_p.h | 2 +- qt4/src/poppler-media.cc | 8 ++++---- qt5/src/poppler-media.cc | 8 ++++---- utils/pdfimages.1 | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) commit 5ac54db9150e949ed0e41eec1f19a7f5ec880646 Author: Pino Toscano Date: Sun Apr 10 10:16:36 2016 +0200 utils: ship pdfsig.1 if pdfsig is built utils/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) commit 92c6799a40b0755ff2d43f33241d442cc5d4e323 Author: Pino Toscano Date: Sun Apr 10 09:43:29 2016 +0200 remove +x modes poppler/SecurityHandler.cc | 0 1 file changed, 0 insertions(+), 0 deletions(-) commit 9c39db64ba2eb20ca769a103d83a830f406486f0 Author: Jason Crain Date: Mon Jan 18 20:56:18 2016 -0600 Add SymbolMT as an alias for the Symbol font A document using the SymbolMT font will have the wrong glyphs drawn. Add it as an alias for the Symbol font so the correct font and encoding are used. Bug #93168 poppler/GfxFont.cc | 4 ++++ 1 file changed, 4 insertions(+) commit af332349d7a5e3737ea53608cda2f1cad6159108 Author: Jason Crain Date: Mon Mar 28 21:36:52 2016 -0500 pdftocairo: Calculate rotation before scaling Scaling calculation (-scale-to-x and -scale-to-y) is wrong if a page is rotated. Fix by moving scale calculation to after rotation calculation. bug #94655 utils/pdftocairo.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit db87dc7fa28537f7532328c278c05d8b60f90d6f Author: Jason Crain Date: Sun Feb 21 22:54:15 2016 -0600 cairo: save mask state and don't extend image mask Don't extend an image mask pattern. Save and restore the mask in tilingPatternFill. bug #94234 poppler/CairoOutputDev.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b68a4ee1dcd1da5b48b2c1f0bb2b6a789ca18ea5 Author: Jason Crain Date: Thu Feb 18 01:59:42 2016 -0600 cairo: Check if PDF knows the width of 'm' in case of substituted font Bug #94054 poppler/CairoFontEngine.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 7d8dfb09d2b9d69d4e80838ce58fdbd091bce7ec Author: Jason Crain Date: Sun Feb 28 16:18:05 2016 -0600 cairo: fix fillToStrokePathClip crash and rendering The cairo backend can crash if the dash pattern changes between calling clipToStrokePathClip and fillToStrokePathClip because fillToStrokePathClip calls cairo_set_dash with the saved dash pattern but the current dash count. Fixes the crash by removing the call to cairo_get_dash_count in fillToStrokePathClip. Makes strokePathClip reference counted because when drawing tiling patterns it may need to be kept around for more than one drawing operation. Uses fillToStrokePathClip in a few more places to fix rendering. bug #62905 poppler/CairoOutputDev.cc | 38 ++++++++++++++++++++++++++++++-------- poppler/CairoOutputDev.h | 1 + 2 files changed, 31 insertions(+), 8 deletions(-) commit 67bc280c4068ae9501053c06ee05341b95a5e6db Author: Thomas Freitag Date: Sun Mar 20 12:39:24 2016 +0100 Implement sanity check for linearization usage Bug #92482 poppler/PDFDoc.cc | 42 +++++++++++++++++++++++++++++++++++++++++- poppler/PDFDoc.h | 7 ++++++- 2 files changed, 47 insertions(+), 2 deletions(-) commit a24ac96e9f5c914c1c979319ca1043dabd334763 Author: Albert Astals Cid Date: Thu Mar 17 00:08:37 2016 +0100 meh typo NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8ff943650e7e2a4cb836be43bf04907a5e156fc Author: Albert Astals Cid Date: Wed Mar 16 23:40:00 2016 +0100 0.42 CMakeLists.txt | 4 ++-- Makefile.am | 1 + NEWS | 28 ++++++++++++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- poppler/Makefile.am | 4 ++-- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 8 files changed, 37 insertions(+), 8 deletions(-) commit ef21f651a4af801502d6b4b4f7258d54f14e7aea Author: Albert Astals Cid Date: Wed Mar 16 20:23:39 2016 +0100 Some (C) updating poppler/FlateStream.cc | 1 + poppler/Gfx.cc | 2 +- poppler/PSOutputDev.cc | 2 +- poppler/SignatureHandler.cc | 2 +- poppler/SplashOutputDev.cc | 2 +- poppler/SplashOutputDev.h | 2 +- poppler/Stream.cc | 2 +- poppler/Stream.h | 2 +- poppler/TextOutputDev.cc | 2 +- poppler/TextOutputDev.h | 2 +- 10 files changed, 10 insertions(+), 9 deletions(-) commit 57b7a52cc6b3675bfbff29ef20a509eadce091ac Author: Thomas Freitag Date: Wed Mar 16 10:36:22 2016 +0100 Fix rendering of some broken PDF files Call constructXRef if necessary xref can't be fetched and the PDF don't use xref streams Bug #92508 poppler/XRef.cc | 8 +++++++- poppler/XRef.h | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) commit 04f3448d73ff7a3a2f1bf885aea64e96cc29a69d Author: Thomas Freitag Date: Wed Mar 16 00:58:35 2016 +0100 Initialize gamut mapping multipliers in ::copy() functions Bug #90697 poppler/GfxState.cc | 6 ++++++ 1 file changed, 6 insertions(+) commit 69ffeb71a79b686d5c79d20832c4666c498098e8 Author: Alok Anand Date: Mon Mar 14 20:18:32 2016 +0100 Add the support for version 5 + revision 6 documents. Bug #85368 poppler/Decrypt.cc | 357 ++++++++++++++++++++++++++++++++++++++++++++- poppler/SecurityHandler.cc | 9 +- 2 files changed, 358 insertions(+), 8 deletions(-) commit 2dcfefb43c0d4ca86a4f4b2d019882e134201b27 Author: Thomas Freitag Date: Sat Mar 12 03:52:01 2016 +0100 handle SMaskInData = 0 for JPX encoded images Bug #93468 poppler/JPEG2000Stream.cc | 77 +++++++++++++++++++++++++++++++++++++---------- 1 file changed, 61 insertions(+), 16 deletions(-) commit e58d310c1802b77a6356ec0d3d0180a2a1605b41 Author: Thomas Freitag Date: Thu Mar 10 12:05:28 2016 +0100 Implement function shading in splash Bug #94441 poppler/SplashOutputDev.cc | 117 +++++++++++++++++++++++++++++++++++++++++++++ poppler/SplashOutputDev.h | 31 +++++++++++- 2 files changed, 147 insertions(+), 1 deletion(-) commit 09e2ae234179c42ccf06b040a0f6c89d65d69713 Author: Thomas Freitag Date: Tue Mar 8 23:08:53 2016 +0100 assure line width > 0 in case of text stroke Bug #94038 poppler/SplashOutputDev.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 37c7469955d465e006d74eecebb766eb8513bbf3 Author: Thomas Freitag Date: Mon Mar 7 20:23:11 2016 +0100 JPXStream: Don't scale image comps to 8 bits in case of an indexed colorspace Followup of bug #94371 poppler/JPEG2000Stream.cc | 58 +++++++++++++++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 20 deletions(-) commit d4e24e5754f5a0bf335ddf83747d0dc85b7c409f Author: Thomas Freitag Date: Sun Mar 6 22:46:23 2016 +0100 implement jpx streams with depth < 8 Bug #94371 poppler/JPEG2000Stream.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 5f79b6485b107fb0939563837046fea6b4b89fdc Author: Albert Astals Cid Date: Thu Mar 3 00:45:34 2016 +0100 (C) here too qt5/src/poppler-link.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a80a036269eb18daf0ec69c23a8bc71fb4852acb Author: Albert Astals Cid Date: Thu Mar 3 00:44:27 2016 +0100 Qt: Only check the link page for local links qt4/src/poppler-link.cc | 32 +++++++++++++++++--------------- qt5/src/poppler-link.cc | 28 +++++++++++++++------------- 2 files changed, 32 insertions(+), 28 deletions(-) commit a3c7f6184d1be3f2737086cf650f4012075515f8 Author: Adrián Pérez de Castro Date: Wed Mar 2 11:58:24 2016 +0200 Tagged-PDF: Document new pdfinfo flags in its manual page https://bugs.freedesktop.org/show_bug.cgi?id=64816 utils/pdfinfo.1 | 9 +++++++++ 1 file changed, 9 insertions(+) commit 7cf52e56677e11b15d610017bccd0cc3f74badaf Author: Emmanuele Bassi Date: Wed Mar 2 04:38:52 2016 +0000 Use correct includes for NSPR/NSS headers The header files provided by NSS3 are inside versioned directories, `$includedir/nss3` and `$includedir/nspr4`, which are provided by the nss3 pkg-config file as include directives for the compiler. We can also use nspr.h as a single entry point, to avoid cherry picking specific headers. https://bugzilla.freedesktop.org/show_bug.cgi?id=94360 poppler/SignatureHandler.cc | 2 +- poppler/SignatureHandler.h | 22 +++++++++------------- 2 files changed, 10 insertions(+), 14 deletions(-) commit 1f7cb78f8b771bae8bfd96a7a7ca3afbaf89c749 Author: Albert Astals Cid Date: Wed Mar 2 09:51:46 2016 +0100 Fix memory leak in Matte parsing Also remove unneeded comment poppler/Gfx.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 36c276f1af7e0f1d8a207f6cdcaa80a24e95e044 Author: Thomas Freitag Date: Wed Mar 2 09:50:01 2016 +0100 Splash: Implementation of matte entries in softmasks of softmasked images Bug #22473 poppler/Gfx.cc | 30 +++++++++++++++-- poppler/GfxState.cc | 7 ++-- poppler/GfxState.h | 7 +++- poppler/SplashOutputDev.cc | 80 +++++++++++++++++++++++++++++++++++++++++++++- poppler/SplashOutputDev.h | 3 +- 5 files changed, 120 insertions(+), 7 deletions(-) commit 810605dae2d7f239ce29640a31a9befe511c3190 Author: Albert Astals Cid Date: Wed Mar 2 00:49:00 2016 +0100 Compile++ poppler/Form.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 9d33825e6f6167f07b2739645b93249b2bc043da Merge: a8853b1d f3e3ebe5 Author: Albert Astals Cid Date: Wed Mar 2 00:37:11 2016 +0100 Merge remote-tracking branch 'origin/signatureHandling' commit f3e3ebe51483050cfdf8773dbd0d6646521f17cb Author: André Guerreiro Date: Wed Mar 2 00:35:05 2016 +0100 Load NSS root certs module This change is needed to actually do certificate validation, because as it is NSS is trying to load the module which contains all the builtin root certs from the Firefox profile directory where it is usually missing. This way it will load the module from a system library directory. poppler/SignatureHandler.cc | 3 +++ 1 file changed, 3 insertions(+) commit a8853b1df0a15570dff6ecc333769257bbf874c3 Author: Adrian Perez de Castro Date: Thu May 9 19:11:26 2013 +0300 Tagged-PDF: Modify pdfinfo to show the document structure https://bugs.freedesktop.org/show_bug.cgi?id=64816 utils/pdfinfo.cc | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) commit 1bf0ffdf1c68019515349262a14425c78c90ea18 Author: Adrian Johnson Date: Thu Feb 25 22:52:32 2016 +1030 Add missing files that got dropped from the previous commit (989ceb6bd90) poppler/FlateEncoder.cc | 148 ++++++++++++++++++++++++++++++++++++++++++++++++ poppler/FlateEncoder.h | 73 ++++++++++++++++++++++++ 2 files changed, 221 insertions(+) commit 989ceb6bd90cc8a79dd48c58183f1855de269c9b Author: William Bader Date: Thu Feb 25 21:01:16 2016 +1030 Add support for Flate compression in Level 3 PostScript output. The changes to the build variables are from Adrian Johnson's DeflateStream patches at https://bugs.freedesktop.org/attachment.cgi?id=89776 CMakeLists.txt | 21 ++++++-- config.h.cmake | 5 +- configure.ac | 97 +++++++++++++++++++++-------------- poppler/FlateStream.cc | 14 +++++ poppler/Makefile.am | 13 ++++- poppler/PSOutputDev.cc | 122 +++++++++++++++++++++++++++++--------------- poppler/PSOutputDev.h | 10 +++- poppler/Stream.cc | 4 +- poppler/Stream.h | 2 +- poppler/poppler-config.h.in | 6 +-- 10 files changed, 202 insertions(+), 92 deletions(-) commit 91c0be60f3e7a53373ba660702358cf52f74d1b2 Author: William Bader Date: Thu Feb 25 20:50:10 2016 +1030 xpdf304: Merge xpdf-3.04 support for LZW encoding in PSOutputDev and Stream. Level 2 and Level 3 PostScript now use LZW encoding instead of Run Length encoding, which can make some images one tenth the size. PSOutputDev provides setEnableLZW() and getEnableLZW() to control support for LZW encoding. poppler/PSOutputDev.cc | 164 ++++++++++++++++++++++++++++++++++--------------- poppler/PSOutputDev.h | 3 + poppler/Stream.cc | 145 +++++++++++++++++++++++++++++++++++++++++++ poppler/Stream.h | 38 ++++++++++++ 4 files changed, 301 insertions(+), 49 deletions(-) commit b88e68f9c84d987a814716aab50543bf8a5cb8f8 Author: William Bader Date: Thu Feb 25 20:41:48 2016 +1030 xpdf304: Merge change from poppler/Gfx.cc to avoid attempting a tiling pattern fill with a singular transform matrix (abs(determinant) < 0.000001). poppler/Gfx.cc | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) commit 3f5f0796d855cb8b8c3a038484d4ca7c6f1a55f2 Author: Jason Crain Date: Fri Feb 19 10:54:29 2016 -0600 Cache result of inner loop in visitDepthFirst Speeds up sorting of text blocks. bug #77087 poppler/TextOutputDev.cc | 42 ++++++++++++++++++++++++++++++++++-------- poppler/TextOutputDev.h | 4 ++++ 2 files changed, 38 insertions(+), 8 deletions(-) commit 448169bd96137e2bf0145783012276220bb0c51a Author: Thomas Freitag Date: Wed Feb 17 23:02:53 2016 +0100 Fall back to Gfx implementation of tiling pattern if repetition rate is small Bug #90596 poppler/SplashOutputDev.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 23e4291f2545f56432b0a9c4d709048825327bc2 Author: Thomas Freitag Date: Wed Feb 17 22:59:30 2016 +0100 Check if PDF knows the witdh of 'm' in case of substituted font To check wether the PDF font declaration includes the width of the letter 'm', compare it with the width of code 0. Code 0 is the replacement glyph in a font and has the width of a blank. The width table is initialized with this value, and the blank is always smaller than a 'm'. Bug #94054 poppler/SplashOutputDev.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 88415426df363f1ef86b741cbc3587a89d31aa1f Author: Albert Astals Cid Date: Wed Feb 17 00:11:49 2016 +0100 0.41.0 CMakeLists.txt | 2 +- NEWS | 9 +++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 14 insertions(+), 5 deletions(-) commit 5689c990a187108ddc0a88b9825ba3bea644368f Author: Thomas Freitag Date: Tue Feb 16 01:44:31 2016 +0100 Adjust limit check and check in addition bitmap pointer Bug #94053 poppler/SplashOutputDev.cc | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 57bc52b93e6431f0dc7762e2001dedd614383001 Author: Jakub Wilk Date: Sun Feb 14 11:22:31 2016 +0100 pdfinfo manpage: corrupted description of -js and -rawdates utils/pdfinfo.1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ab3c9ccb630004be049cb59f303612aa2a35f408 Author: Adrian Johnson Date: Fri Feb 12 20:15:46 2016 +1030 cairo: add missing font types (fontCIDType0COT and fontTrueTypeOT) bug 93559 poppler/CairoFontEngine.cc | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) commit f1c4d8ac1fe4293566285117170e8234c1be3943 Author: Albert Astals Cid Date: Thu Feb 4 01:08:59 2016 +0100 pdfseparate: Refine resource detection Related to bug #87637 poppler/PDFDoc.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 449d45fab8e61393d858549460e61599e4dbd7eb Author: Albert Astals Cid Date: Wed Jan 13 23:19:12 2016 +0100 0.40.0 + NEWS CMakeLists.txt | 2 +- NEWS | 18 ++++++++++++++++++ configure.ac | 2 +- cpp/Doxyfile | 2 +- qt4/src/Doxyfile | 2 +- qt5/src/Doxyfile | 2 +- 6 files changed, 23 insertions(+), 5 deletions(-) commit e9740b57324cf5a09f6f4312165da13c7b3a576b Author: Albert Astals Cid Date: Wed Jan 13 23:14:35 2016 +0100 Update copyrights poppler/Function.cc | 2 +- utils/pdftocairo.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3bfc45bfcca1a52447cedbb95afad1ef362ac6f0 Author: Adrian Johnson Date: Mon Jan 11 21:46:49 2016 +1030 pdftocairo: check for invalid use of -scale-to* and -paper[wh] options Bug 92195 utils/pdftocairo.cc | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 819bea740b1fadb24833e0ecbdf4e75ddca8eb14 Author: Adrian Johnson Date: Mon Jan 11 19:44:14 2016 +1030 pdftocairo: ensure surface flushed before accessing image data utils/pdftocairo.cc | 1 + 1 file changed, 1 insertion(+) commit f7542348b37cc881d854bbc36c3af0a4fe37d839 Author: Adrian Johnson Date: Mon Jan 11 19:39:34 2016 +1030 pdftocairo: document that -singlefile appends file type Bug 86254 utils/pdftocairo.1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 9fa58b1ef6c97e2a30bb3197c11000fac3b059f4 Author: Adrian Johnson Date: Mon Jan 11 19:26:02 2016 +1030 pdftocairo: fix writing to stdout out with image output utils/pdftocairo.cc | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit dcefd7a232ba17af878b95efaa4ffaf147d095b7 Author: Adrian Johnson Date: Fri Jan 8 16:49:25 2016 +1030 check all byte ranges in signature dictionary poppler/Form.cc | 60 +++++++++++++++++++++++++++++--------------------------- poppler/Object.h | 12 +++++++++++- 2 files changed, 42 insertions(+), 30 deletions(-) commit e5104973197c63c3a46e6d2c0f41c9de111d4686 Author: André Guerreiro Date: Fri Jan 8 17:02:35 2016 +1030 Improve robustness of SignatureHandler::validateCertificate poppler/SignatureHandler.cc | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) commit 4b0f6e5ec04058d12fbf7537c80b662cbea931b9 Author: Markus Kilås Date: Wed Jan 6 23:36:17 2016 +0100 Fix printf for unsigned int utils/pdfsig.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 01d4bb222d63eda7dc5ec903c0735179edf77c0e Author: Albert Astals Cid Date: Sun Jan 3 13:01:31 2016 +0100 Happy New Year poppler/poppler-config.h.cmake | 2 +- poppler/poppler-config.h.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d8f418d2f2ec5966d77caf128a52c834fdd0efcf Author: Khaled Hosny Date: Mon Nov 23 13:52:10 2015 +0400 Fix finding Arabic Presentation Forms ligatures PDF text containing Arabic Presentation forms ligatures is still not found after the previous commit. This because the ligatures are decomposed in logical order after normalisation, while the whole string is in visual order. For example the RTL text ABCD in visual order will be DCBA, and assuming B is a ligature, it will be decomposed to B1B2 so the string after normalization will be DCB1B2A while we are expecting it to be DCB2B1A. This patch reverses the order of the decomposition of RTL characters to work around this issue. poppler/TextOutputDev.cc | 4 +++- poppler/UnicodeTypeTable.cc | 20 ++++++++++++++++---- poppler/UnicodeTypeTable.h | 7 ++++++- 3 files changed, 25 insertions(+), 6 deletions(-) commit 67645087477beb618304ea34cbdbafd40b199276 Author: Khaled Hosny Date: Wed Nov 18 14:47:28 2015 +0400 Handle right-to-left text in search Currently right-to-left text reversal is only done during text dumping, but not during search. This commit applies the same reversal logic during PDF search as well. poppler/TextOutputDev.cc | 191 ++++++++++++++++++++++++++--------------------- 1 file changed, 107 insertions(+), 84 deletions(-) commit 00422d0c6baaba639fa0660e3a933cdb76b28f88 Author: Jason Crain Date: Sun Dec 20 09:54:43 2015 -0600 cairo: use shape mask with soft mask Clear target with the shape mask whether the soft mask is set or not. Propagate the shape up to any higher level groups and destroy the shape pattern when done. Fix a memory leak by removing a call to 'cairo_reference (cairo_shape)'. We already keep track of the lifetime of cairo_shape using knockoutCount. bug 91931 poppler/CairoOutputDev.cc | 49 ++++++++++++++++++++++------------------------- 1 file changed, 23 insertions(+), 26 deletions(-) commit bc4cab272e4fe28b836cb2ef1ff672f0d79d243c Author: Carlos Garcia Campos Date: Sat Jan 2 09:49:27 2016 +0100 regtest: Fix the number of worker threads spawned reported in log of run-tests command regtest/TestRun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ea75de614e666d8235c38048585315e0d7ff5522 Author: Adam Reichold Date: Sat Jan 2 09:48:03 2016 +0100 regtest: Limit the number of worker threads to the number of documents to create references The same way we do for the run-tests command. regtest/TestReferences.py | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) commit 25bb59a81de8a1b6dd23fec871a97ccb11fe9d64 Author: Carlos Garcia Campos Date: Fri Jan 1 12:45:42 2016 +0100 regtest: Allow to interrupt run-tests and create-refs commands when multiple threads are used The Queue join implementation uses a non-timed wait that blocks the main thread, making it impossible to interrupt it with CTRL+C or sending SIGINT signal. Using any timeout value for wait would fix the problem, but Queue doesn't allow to pass a timeout to the join method. The Queue implementation is actually quite simple, so we can just add our own implementation with only the things we really need and use a timeout value when calling wait() in join(). regtest/InterruptibleQueue.py | 68 +++++++++++++++++++++++++++++++++++++++++++ regtest/TestReferences.py | 4 +-- regtest/TestRun.py | 4 +-- 3 files changed, 72 insertions(+), 4 deletions(-) commit ffb3ff633b124c476ab48bbcfce04d7f418df9bc Author: Adam Reichold Date: Fri Jan 1 11:32:14 2016 +0100 regtest: Do not use the log printer with the TestReferences lock held regtest/TestReferences.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3b09727ad96a03ba1250f49486948899b4df793 Author: Adam Reichold Date: Fri Dec 25 14:10:03 2015 +0100 Make detection of version one of OpenJPEG prefer a pkg-config manifest if it exists. CMakeLists.txt | 1 - cmake/modules/FindLIBOPENJPEG.cmake | 37 +++++++++++++++++++++++-------------- 2 files changed, 23 insertions(+), 15 deletions(-) commit 7c880daecfcddac2f8181d5f3d506dd409812dbe Author: Adam Reichold Date: Fri Dec 25 14:10:03 2015 +0100 Make use of LINK_PRIVATE flag to fix warning on CMake policy 0022. CMakeLists.txt | 3 +-- cpp/CMakeLists.txt | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 4a413b9b95d5c6815c91adb815254cce97dd5b4b Author: Adam Reichold Date: Fri Dec 25 14:10:03 2015 +0100 Make target names for Qt4 and Qt5 builds unique so they can be built at the same time using recent CMake and Ninja versions. qt4/tests/CMakeLists.txt | 44 +++++++++++++++++++++--------------------- qt5/CMakeLists.txt | 2 ++ qt5/demos/CMakeLists.txt | 2 -- qt5/src/CMakeLists.txt | 2 -- qt5/tests/CMakeLists.txt | 50 +++++++++++++++++++++++------------------------- 5 files changed, 48 insertions(+), 52 deletions(-) commit b3425dd3261679958cd56c0f71995c15d2124433 Author: Albert Astals Cid Date: Tue Dec 22 22:50:33 2015 +0100 Do not crash on invalid files Bug #93476 poppler/Function.cc | 4 ++++ 1 file changed, 4 insertions(+) commit 5d57c34cbf9288eec6ddb149e905268405c19450 Author: Pino Toscano Date: Sun Dec 20 08:42:25 2015 +0100 typo fix: "occurence" -> "occurrence" utils/pdfunite.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 8859cebef5bb5308757505c8f2c8ca9fc12e154d Author: Adrian Johnson Date: Sat Oct 31 08:04:51 2015 +1030 gitignore utils/.gitignore | 1 + 1 file changed, 1 insertion(+) commit 946eb417e6da11491f6409669119254c769b6945 Author: Adrian Johnson Date: Thu Oct 29 21:59:06 2015 +1030 man pages: remove final comma in see also list utils/pdfdetach.1 | 2 +- utils/pdffonts.1 | 2 +- utils/pdfimages.1 | 2 +- utils/pdfinfo.1 | 2 +- utils/pdfseparate.1 | 2 +- utils/pdfsig.1 | 2 +- utils/pdftocairo.1 | 2 +- utils/pdftohtml.1 | 2 +- utils/pdftoppm.1 | 2 +- utils/pdftops.1 | 2 +- utils/pdftotext.1 | 2 +- utils/pdfunite.1 | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) commit 1c66076bac768774e8b2b514bc0c555bc0395348 Author: André Guerreiro Date: Thu Oct 29 21:55:46 2015 +1030 pdfsig: update man page utils/pdfsig.1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 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 298caa2fc52cf50e92e1afda39b77b11f2de9743 Author: Adrian Johnson Date: Wed Oct 28 20:54:43 2015 +1030 Add pdfsig reference (and other missing utils) to man pages utils/pdfdetach.1 | 5 ++++- utils/pdffonts.1 | 3 +++ utils/pdfimages.1 | 5 ++++- utils/pdfinfo.1 | 3 +++ utils/pdfseparate.1 | 10 ++++++++++ utils/pdftocairo.1 | 3 +++ utils/pdftohtml.1 | 3 +++ utils/pdftoppm.1 | 3 +++ utils/pdftops.1 | 3 +++ utils/pdftotext.1 | 5 ++++- utils/pdfunite.1 | 10 ++++++++++ 11 files changed, 50 insertions(+), 3 deletions(-) commit 5a6d6f5ec8782bb69a5805d8d8379a33aa00edec Author: Adrian Johnson Date: Wed Oct 28 20:54:23 2015 +1030 Add pdfsig man page utils/pdfsig.1 | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit 1f8e1a029773cefe0c31357c1e450cc4ecd5a5b5 Author: Adrian Johnson Date: Wed Oct 28 19:38:14 2015 +1030 pdfsig: rename -c to -nocert and make help options consistent with other tools (add -? and list help options last) utils/pdfsig.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 9d5bf425bd82dda303362380c488559be0007d78 Author: Adrian Johnson Date: Wed Oct 28 19:34:26 2015 +1030 rename pdfsigverify to pdfsig utils/CMakeLists.txt | 12 ++++++------ utils/Makefile.am | 6 +++--- utils/{pdfsigverify.cc => pdfsig.cc} | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) commit 1d97f708ceb7cd34ccdb1a4f85192efe83d1853c Author: Albert Astals Cid Date: Tue Oct 27 22:27:31 2015 +0100 Differentiate between unknown and untrusted issuer poppler/SignatureHandler.cc | 4 +++- poppler/SignatureInfo.h | 4 +++- utils/pdfsigverify.cc | 7 +++++-- 3 files changed, 11 insertions(+), 4 deletions(-) commit 19e20dc69a631f92bf4fdc0be0dd840a460cfc92 Author: Markus Kilås Date: Tue Oct 27 22:23:06 2015 +0100 Handle untrusted issuer poppler/SignatureHandler.cc | 2 ++ 1 file changed, 2 insertions(+) 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 02d3564faa5d8174ed93ce66fcda975b1a898ec5 Author: André Guerreiro Date: Wed Oct 14 22:50:05 2015 +0200 Incremental hashing + large file support for digital signatures poppler/Form.cc | 63 +++++++++++++++++++++++++++++++++------------ poppler/Form.h | 1 + poppler/SignatureHandler.cc | 34 ++++++++++++++---------- poppler/SignatureHandler.h | 9 +++++-- 4 files changed, 76 insertions(+), 31 deletions(-) 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 5570c70a20ae62a9b3341372fafc64e916774adb Author: André Guerreiro Date: Mon Oct 5 16:50:30 2015 +0200 NSS conditional build CMakeLists.txt | 19 ++++++++++++++----- config.h.cmake | 3 +++ configure.ac | 20 +++++++++++++++++++- poppler/Form.cc | 7 ++++++- poppler/Makefile.am | 28 ++++++++++++++++++++++------ utils/CMakeLists.txt | 16 +++++++++------- utils/Makefile.am | 5 ++++- 7 files changed, 77 insertions(+), 21 deletions(-) commit c7c0207b1cfe49a4353d6cda93dbebef4508138f Author: André Guerreiro Date: Mon Oct 5 15:57:04 2015 +0200 Support for adbe.pkcs7.sha1 signatures poppler/Form.cc | 2 +- poppler/SignatureHandler.cc | 27 +++++++++++++++++++++++++-- 2 files changed, 26 insertions(+), 3 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 4f7903ebc037c63683637973285bc34ea83542dc Author: André Guerreiro Date: Thu Sep 24 23:57:46 2015 +0200 Fix for Buffer overflow poppler/Form.cc | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 10693fb236ff92c6aa0c0a9f762362d2fd9ea738 Author: Albert Astals Cid Date: Mon Sep 14 20:19:00 2015 +0200 include shuffling poppler/PDFDoc.cc | 2 -- poppler/PDFDoc.h | 3 --- poppler/SignatureHandler.cc | 1 - utils/pdfsigverify.cc | 1 + 4 files changed, 1 insertion(+), 6 deletions(-) commit 6e24d374987fbba0f5a133d73dfcb3e73129b534 Author: Albert Astals Cid Date: Mon Sep 14 19:59:09 2015 +0200 Simplify biterange handling poppler/Form.cc | 22 +++++++--------------- poppler/Form.h | 2 +- 2 files changed, 8 insertions(+), 16 deletions(-) commit 7afa26fc389f4b2aa67cdf286e9c4ebfb3d78de5 Author: Albert Astals Cid Date: Mon Sep 14 19:50:56 2015 +0200 Disable SignatureInfo and SignatureHandler copy ctr and assignment operator poppler/SignatureHandler.h | 3 +++ poppler/SignatureInfo.h | 3 +++ 2 files changed, 6 insertions(+) commit 5348f8d080ae9f0ee58d75fd7ae2bc9f23692eca Author: Albert Astals Cid Date: Mon Sep 14 19:46:23 2015 +0200 Fix some leaks in SignatureHandler poppler/SignatureHandler.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 17b3a8dc2f8ab50696dd1247c4b6dd75991ab17e Author: Albert Astals Cid Date: Mon Sep 14 19:40:30 2015 +0200 Signatures: keep Goostring and convert to uchar when needed poppler/Form.cc | 11 ++++++----- poppler/Form.h | 5 ++--- 2 files changed, 8 insertions(+), 8 deletions(-) commit a4ac855435325225e3d89d83870ff08ec73d86f8 Author: Albert Astals Cid Date: Mon Sep 14 01:52:41 2015 +0200 PDFDoc::getSignatureWidgets: Do not assume a given page exists poppler/PDFDoc.cc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 6509068cf6e4a92359bcc5402f9e9eb9649d641c Author: Albert Astals Cid Date: Mon Sep 14 01:45:47 2015 +0200 SignatureHandler initialize members on constructor poppler/SignatureHandler.cc | 4 ++++ poppler/SignatureHandler.h | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) commit 5d8dfaa9d55932cde638880bcee063a6f084689f Author: Albert Astals Cid Date: Mon Sep 14 01:43:16 2015 +0200 SignatureInfo::setSignerName: free old signer_name poppler/SignatureInfo.cc | 1 + 1 file changed, 1 insertion(+) commit f284cfc7394175ea675d7c76d97a1f8461cf17d2 Author: Albert Astals Cid Date: Mon Sep 14 01:42:11 2015 +0200 Start function names on lowercase poppler/Form.cc | 4 ++-- poppler/SignatureHandler.cc | 5 +++-- poppler/SignatureHandler.h | 5 +++-- 3 files changed, 8 insertions(+), 6 deletions(-) commit 127ad3bb038d90ad7579e2e94cff2890869e2f43 Author: Albert Astals Cid Date: Mon Sep 14 01:40:31 2015 +0200 FormFieldSignature::parseInfo: check for isString instead !isNull poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e428a3b8449830bf00706b4ccf86c27a55970f1f Author: Albert Astals Cid Date: Mon Sep 14 01:39:57 2015 +0200 FormFieldSignature::parseInfo: Use shorter isName version poppler/Form.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba3a4ec30fcd303e91ef41bef491c230a822bd32 Author: Albert Astals Cid Date: Mon Sep 14 01:36:44 2015 +0200 Delete the signature_info in FormFieldSignature not in pdfsigverify poppler/Form.cc | 1 + utils/pdfsigverify.cc | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) commit e6b3d696adea70c79f60a67c275e23c29d2534c3 Author: Albert Astals Cid Date: Mon Sep 14 01:33:56 2015 +0200 Make signature code more resilient Do not abort with sign-a-pdf-with-reader-enabled.pdf poppler/Form.cc | 68 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 31 deletions(-) commit 23fa84ff91666d1feb2242fe4572eb397c791c55 Author: Albert Astals Cid Date: Mon Sep 14 01:28:18 2015 +0200 cmake: No need if NSS3_FOUND if it's required CMakeLists.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 7a1dac27d380f0b1a68383525a4ae4a0c7f3e6f5 Author: Albert Astals Cid Date: Mon Sep 14 01:26:31 2015 +0200 FormFieldSignature::validateSignature: Free to_check earlier poppler/Form.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 71cc344d85aba7a4ae79e2c4c454341096a2329b Author: Albert Astals Cid Date: Mon Sep 14 01:25:31 2015 +0200 Remove PDFDoc::countSignatures poppler/PDFDoc.cc | 7 +------ poppler/PDFDoc.h | 3 +-- utils/pdfsigverify.cc | 9 +++------ 3 files changed, 5 insertions(+), 14 deletions(-) commit c68954dd73202f21b62899dc335fd74218d5b595 Author: Albert Astals Cid Date: Mon Sep 14 01:20:41 2015 +0200 pdfsigverify: move assignment before if utils/pdfsigverify.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8727fe6c08b7326523d6e15c90ce89e5e9d7300e Author: Albert Astals Cid Date: Mon Sep 14 01:20:16 2015 +0200 pdfsigverify: no if before delete utils/pdfsigverify.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit eb1a6a6254fb393555d6d30b99f4ea800d8d446b Author: André Guerreiro Date: Mon Sep 14 01:17:30 2015 +0200 Core: Support for digital signatures Coded with André Esser Bug #16770 CMakeLists.txt | 9 ++ cmake/modules/FindNSS3.cmake | 22 ++++ configure.ac | 2 + poppler/DateInfo.cc | 26 ++++ poppler/DateInfo.h | 3 + poppler/Form.cc | 116 ++++++++++++++++- poppler/Form.h | 16 +++ poppler/Makefile.am | 6 + poppler/PDFDoc.cc | 27 ++++ poppler/PDFDoc.h | 9 ++ poppler/SignatureHandler.cc | 301 +++++++++++++++++++++++++++++++++++++++++++ poppler/SignatureHandler.h | 65 ++++++++++ poppler/SignatureInfo.cc | 86 +++++++++++++ poppler/SignatureInfo.h | 66 ++++++++++ utils/CMakeLists.txt | 8 ++ utils/Makefile.am | 4 + utils/pdfsigverify.cc | 174 +++++++++++++++++++++++++ 17 files changed, 938 insertions(+), 2 deletions(-) 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: 4589ce17 303287eb 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: e62e18e1 f74a5964 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: f2e4154e ef3f7585 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: 2c0cb689 26372cfa 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: 0b639cd2 1161e728 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: bb16c716 a5ad55b7 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: f8f7b3a6 47a947f1 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: 805ff761 aa6205d1 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: 1b705331 310fbeec 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: fed71ebd b36d27b4 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: 08442203 7e9fc61e 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: 84278d8a 0a6c1ff7 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: 7b94b119 5b2cdef4 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: c859d2b8 bae836cd 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: 8d3a2c9d 9fcd46ac 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: 64100e7f a2f0e4b1 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: 85efba38 b02f8731 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: 06e9dc91 58e04a08 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: e7a0f2b9 9ae29c7a 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: 07c25548 47605a8a 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: 3ea3d7c6 78c407ac 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: 8294d18e 7c74bccd 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: bd893d4a 61f79b84 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: 93e8b05f daa0990a 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: a2742c8f e2fe8513 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: 6b30a521 06dabe1e 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: 4966b6f4 dc344b41 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: 0f074b16 1e612d33 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: d2774325 b8682d86 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: d391af7e ed3585ef 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: 3bb8c2e3 70298a02 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: 71c1d162 fc783300 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: 7d1de78a 678c7675 Author: Albert Astals Cid Date: Sun Aug 18 16:41:20 2013 +0200 Merge remote-tracking branch 'origin/poppler-0.24' commit 7d1de78ad79162217ee0ca6c2e99ce51017a327d Merge: 7e0d969d fbea2241 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: 6efc0c7a ef642065 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: b27588c4 c3f953dc 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: 5f9d385d 62d079b4 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: af450a88 86dbc5f6 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: c55b577c ee8cfbc7 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/Makefile.am | 23 +- {poppler => qt4/src}/ArthurOutputDev.cc | 0 {poppler => qt4/src}/ArthurOutputDev.h | 0 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 + 10 files changed, 997 insertions(+), 28 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: 4a0bd6fd 25f453ef 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: bbd27c92 17a16a27 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: a57f9378 b4b13102 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: 61f66588 56044ef4 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: 7b2df1f9 6a98b56f 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: b3d8f510 3a6e2de1 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: 998a9e7c 0c0aef20 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: 5e73cb05 73d09cd5 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: 5e9654a3 b3e44fc5 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: eeecd971 a107428e 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: 970e9f63 53b9cec6 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: bbd27dc4 62a5b4d5 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: ea3698cf 5bc00809 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: fcc14682 aaaea5d0 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: f11e2162 e6559a0d 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: e1ffa910 b9fdb0cb 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: 42368fb9 b312210b 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: 2bce2cf2 a01e2d41 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: 80cf78f2 32069506 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: b21780e6 72c8312d 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: ec7140b3 5a51812b 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: c86062f9 5db6585c 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: 677e5b26 4e142b60 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: 15d40392 a766740c 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: be5d9af3 39882dfe 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: 0d42a6da 8d626256 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: 7eb78809 8fb243bf 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: 2c84acbf 1389aa41 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: 401c35b7 ffd33e7b 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: 164805b4 47f30fa9 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: df355624 95609be5 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: 4dacd7cd 5c7057c6 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: 7f2c255f 9fc4b9f7 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: 48ed05d9 dca21f86 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: 1f279c32 b1dacd1e 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: 40efa729 d254174e 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: 74d6217b 46fb3653 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: 80cf4347 5312984b 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: fb5cb0fb 528b64bb 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: 7b9a9f80 e044814c 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: 3b0962cd 9451b7a6 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: a9d7ea2e 42908e6e 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: 397d7b45 9bb68456 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: 6013d49d 2c0f70af 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: b97c28c4 671df5da 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: 32bb8741 f8c116f1 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: 7cb40726 9f51baaf 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: e980d110 c6d7084d 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: b72c02d1 36580883 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: f3a1b765 3ce4d213 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: 6c40a553 b3e86dbd 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: 17fc1bfa 558a7d9b 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: e0118be3 a4f59113 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: 2c414307 ccd3db5a 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/{UTF8.h => UTF.h} | 23 ++++++++++++++++++++-- utils/HtmlOutputDev.cc | 14 +------------ 9 files changed, 83 insertions(+), 42 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: 9250449a a6312817 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: e17f0956 92ce79f4 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 => pdfseparate.1} | 16 ++++++++-------- utils/{pdfextract.cc => pdfseparate.cc} | 6 +++--- utils/{pdfmerge.1 => pdfunite.1} | 14 +++++++------- utils/{pdfmerge.cc => pdfunite.cc} | 6 +++--- 7 files changed, 45 insertions(+), 45 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: 6721916c 69707f0a 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: 8456a6e1 e23f6b9c 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: 72a77363 12c6239c 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: 2a6bd7aa 0ca5453f 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 => parseargs.cc} | 0 6 files changed, 8 insertions(+), 7 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: c4ddbe89 92738ebb 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 => poppler/poppler-config.h.cmake | 0 2 files changed, 1 insertion(+), 1 deletion(-) 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: fa098929 f3862f7d 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: 3e278925 ea3546f8 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: f399afe6 68658721 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: b2bc9b3f de822554 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: 12a9e427 6d6913a7 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: 59d33d8e f5fec4fd 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: cd5afe6d bacc1dd9 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: 362fe013 9c472f76 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: 3642f0c4 2d6c6053 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: aab17684 4fdd2543 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: 0f9e8430 35f34bd4 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: 7e651186 4254f123 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: ed6c0c26 0569ae76 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: f395531a d8eba8c1 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: 51f0cea0 7f4acb87 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: e9187292 7d65b4da 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: e798802f 4e45e5ca 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: c730b33f fdb0a4a2 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: c2186c18 5347a97e 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: 8c44b175 8cb0e752 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: 26556636 2255c85e 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: 5ba92876 56c92460 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: a4890637 22d10c19 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: 7701e2a5 6d58cda8 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: b43f4e9a 37600b5e 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: 0babb0eb 05336967 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 => info.cc} | 0 2 files changed, 1 insertion(+), 1 deletion(-) 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: 8a8a4f01 4eca2e04 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: bf57117d e2ea7430 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: 5a34cddf b925ea23 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: fb1d1f45 c340255f 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: 1c7b7a0c 78750679 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: ba5b31c6 432e657a 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: c01ab714 25b273db 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: 59d55f73 38d5bb15 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 => .gitignore | 0 ChangeLog | 4586 ----------------------------- fofi/{.cvsignore => .gitignore} | 0 glib/{.cvsignore => .gitignore} | 0 glib/reference/{.cvsignore => .gitignore} | 0 goo/{.cvsignore => .gitignore} | 0 poppler/{.cvsignore => .gitignore} | 0 qt/{.cvsignore => .gitignore} | 0 qt4/{.cvsignore => .gitignore} | 0 qt4/src/{.cvsignore => .gitignore} | 0 qt4/tests/{.cvsignore => .gitignore} | 0 splash/{.cvsignore => .gitignore} | 0 test/{.cvsignore => .gitignore} | 0 utils/{.cvsignore => .gitignore} | 0 14 files changed, 4586 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 => gmem.cc} | 126 +- 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 - 138 files changed, 14350 insertions(+), 6851 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 +++ 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 + acinclude.m4 => m4/libjpeg.m4 | 7 +- m4/qt.m4 | 206 +++++++++++++++++++ poppler/Makefile.am | 1 - poppler/Private.h | 30 --- poppler/TextOutputDev.cc | 2 - qt/Makefile.am | 8 +- qt/poppler-page-transition.cc | 187 +++++++++++++++++ .../poppler-page-transition.h | 3 +- qt/poppler-page.cc | 1 - qt/poppler-private.h | 9 +- qt/poppler-qt.h | 2 +- qt4/src/Makefile.am | 8 +- utils/Makefile.am | 54 ++++- 19 files changed, 634 insertions(+), 416 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(+)