summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
5 daysUpdate (C)HEADmasterAlbert Astals Cid3-1/+3
6 daysRename ArthurOutputDev to QPainterOutputDevOliver Sander20-209/+211
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.
6 daysUpdate (C)Albert Astals Cid1-1/+1
6 daysqt6: fix compile with newer qt6 codeAlbert Astals Cid1-1/+1
7 daysSwitch the order of the checks to check for overflow firstAlbert Astals Cid1-7/+7
oss-fuzz/26481
9 dayscmake: Deduplicate _list_prefix macroKyle Auble1-11/+3
The macro is only used after an identical version (_gir_list_prefix) is included with GObjectIntrospectionMacros.
9 dayscmake: Finish making FindGTK more robustKyle Auble4-8/+21
* Add CMake guards to fix #831 and close !605 * Move pkg-config calls to FindGTK & parameterize GTK versions
9 dayscmake: Fix linker error when gtk is not in a default locationJohn Hein2-3/+8
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 <kyle.auble@outlook.com>
11 daysFix uninitialized memory read on broken filesAlbert Astals Cid1-1/+1
oss-fuzz/26264
2020-10-07FileSpec::getEmbeddedFile: Check fileSpec is a dict before calling getDictAlbert Astals Cid1-2/+2
Fixes #967
2020-10-07cpp: Fix crashes in embedded file handling on broken filesAlbert Astals Cid1-7/+13
Fixes #966
2020-10-05CI: qt6 try to account for the everchanging urlsAlbert Astals Cid1-4/+4
2020-10-04cmake: Remove python libraries checkKyle Auble1-7/+6
* FindPythonLibs is for C/C++ bindings, not typical python modules * Also make comments & messages clearer
2020-10-04CI: Update qt6 urlAlbert Astals Cid1-4/+4
2020-10-02cmake: Raise error level of missing gtk-doc depsKyle Auble1-4/+2
2020-10-01cmake: Reorganize GObject introspection configKyle Auble1-15/+23
* Fixes #958, separating scanner args enables warnings
2020-10-01cmake: Add some checks for gtk-doc supportKyle Auble1-0/+19
* Fixes #956 (at least on Poppler's end) * Explicitly check for gtk-doc package also
2020-10-01cmake: Note built-in Find<...> modules for laterKyle Auble4-1/+9
* See #955 for details * FindGLIB: Also fix minor case-sensitivity warning
2020-10-01Poppler 20.10.0poppler-20.10.0Albert Astals Cid4-4/+13
2020-10-01CI: qt6: new tarballsAlbert Astals Cid1-4/+4
2020-09-24Fix undefined behaviour null pointer passed as argument 2, which is declared ↵Albert Astals Cid1-5/+4
to never be null Fixes issue #962
2020-09-24Fix undefined behaviour applying non-zero offset 1 to null pointerAlbert Astals Cid1-1/+3
Fixes issue #963
2020-09-25CI: Update qt6Albert Astals Cid1-4/+4
2020-09-18Fix compilation with new Qt6 snaptshotAlbert Astals Cid1-4/+4
2020-09-18CI: Update qt6 url againAlbert Astals Cid1-4/+4
2020-09-16Filter out repeated formsAlbert Astals Cid1-0/+6
Some files like the one from KDE bug 426467 has the same signature repeated 23 times in the Fields field, just return it one
2020-09-14Update (C)Albert Astals Cid2-2/+2
2020-09-13Improve EmbedStream::reset error checking.William Bader1-1/+6
2020-09-13Implement EmbedStream::reset() to fix pdftops -level1sep -optimizecolorspace ↵William Bader2-2/+18
for in-line images.
2020-09-08CI: update qt6 linksAlbert Astals Cid1-4/+4
2020-09-05Update (C)Albert Astals Cid1-1/+1
2020-09-05addStrokeAdjustHint(): fix crash in out-of-memory situation.Albert Astals Cid2-3/+11
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
2020-09-04Update (C)Albert Astals Cid2-0/+2
2020-09-02Splash: Rename Yd to Ydown, Xu to Xup, etc.Tobias Deiminger2-34/+34
Minor gift to new contributors. Makes methods intention more obvious.
2020-09-02evict just font faces owned solely by cacheMichal1-19/+21
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.
2020-09-01poppler 20.09.0poppler-20.09.0Albert Astals Cid5-4/+35
2020-09-01Fix memory leak introduced in 9e853438c5e9d56c07141220f2b30d7215ee9278Albert Astals Cid1-0/+1
Thankfully coverity caught it before the release :)
2020-08-30Add gitlab checkbox point to contributors docMartin Packman1-0/+13
As mentioned by @aacid in merge request comments. Also through general note about helpful title and descriptions.
2020-08-30Update (C)Albert Astals Cid1-0/+1
2020-08-29Splash bilinear scaling: Don't try read behind endTobias Deimigner1-1/+1
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.
2020-08-29CI: Update qt6 archivesAlbert Astals Cid1-4/+4
2020-08-29qt6: workaround QTBUG-86318Albert Astals Cid1-6/+10
2020-08-29qt6: Remove unused includeAlbert Astals Cid1-1/+0
2020-08-27Update (C)Albert Astals Cid2-2/+2
2020-08-26TextSelectionPainter: support glyphless fontsNelson Benítez León2-5/+31
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.
2020-08-26BaseMemStream::getChars: If we're past the end do nothingAlbert Astals Cid1-1/+4
2020-08-25Update (C)Albert Astals Cid2-2/+2
2020-08-25qt: Clean as many null characters from the end as possibleAlbert Astals Cid4-4/+22
Not only one Fixes KDE bug #425791
2020-08-24qt5: Be a bit more stubborn converting dates that come from xmlAlbert Astals Cid1-4/+14
2020-08-24qt5/6: Make Annotation::setModification/CreationDate work on existing annotsAlbert Astals Cid4-34/+190
With an autotest and bonus memory leak fixes for existing tests