summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-09-21Remove the autotools based build systemAlbert Astals Cid42-3787/+43
2017-09-21Add some constness to the basic classesAlbert Astals Cid8-112/+112
2017-09-21Add gtk-doc support to CMake buildCarlos Garcia Campos5-1/+525
2017-09-20PSOutputDev: Fix wrong text generationWilliam Bader2-6/+11
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
2017-09-20qt5: The tests don't need GUIAlbert Astals Cid16-16/+16
2017-09-20Remove the moc includesAlbert Astals Cid13-13/+0
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
2017-09-19Fix crash in broken filesAlbert Astals Cid1-3/+2
Bug #102854
2017-09-19autotools: Fix buildAlbert Astals Cid1-1/+2
2017-09-17Fix printf-like format warningsAlbert Astals Cid2-1/+3
2017-09-17A few more static markersAlbert Astals Cid2-2/+2
2017-09-17Make newer gcc happy about fallthroughAlbert Astals Cid5-7/+18
on HtmlOutputDev.cc fixes a leak when printHtml is false
2017-09-16Fix missing-declarations warningsAlbert Astals Cid23-78/+83
... and add it to default warning set
2017-09-16Fix warning: format ‘%x’ expects argument of type ‘unsigned int*’, ↵Albert Astals Cid1-1/+2
but argument 3 has type ‘int*’
2017-09-16-Woverflow fixesAlbert Astals Cid8-22/+22
2017-09-16-pedantic fixesAlbert Astals Cid6-12/+12
2017-09-16cmake: restructure the warnings into a "default" and "extra" groupAdrian Johnson2-21/+29
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.
2017-09-15CurlPDFDocBuilder don't crash if given a url that doesn't existAlbert Astals Cid1-0/+6
2017-09-15Replace Splash font rendering by Qt font renderingOliver Sander4-115/+177
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.
2017-09-14FoFiType1C::convertToType0: Fix crash in broken filesAlbert Astals Cid1-0/+3
Bug #102724
2017-09-14Splash::scaleImage: Do not try to scale if srcHeight or srcWidth are < 1Albert Astals Cid1-1/+1
Bug #102719
2017-09-13Fix two minor typosOliver Sander1-2/+2
2017-09-13isImageInterpolationRequired: Fix divide by 0 on broken documentsAlbert Astals Cid1-1/+1
Bug #102688
2017-09-13Gfx::doShowText: Fix infinite recursion on broken filesAlbert Astals Cid4-2/+33
Bug #102701
2017-09-13XRef::parseEntry: Fix crash in broken fileAlbert Astals Cid1-0/+3
Bug #102687
2017-09-13pdfinfo: don't truncate dest nameAdrian Johnson1-1/+0
2017-09-13cmake: ensure user cflags/cxxflags are appended to endAdrian Johnson1-20/+24
2017-09-11cmake INSTALL fileAdrian Johnson1-0/+76
2017-09-11Fix crash in FoFiType1C::convertToType0 in broken filesAlbert Astals Cid1-215/+220
Bug #102653
2017-09-10Make JBIG2Stream::readGenericBitmap return cleanly on errorAlbert Astals Cid1-2/+2
instead of causing abort Also fixes warning when compiled with newer gcc
2017-09-08qt5: in development -> is stableAlbert Astals Cid1-1/+1
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"
2017-09-08Annot: Fix crash on broken filesAlbert Astals Cid1-19/+23
Bug #102607
2017-09-08Annot: Fix crash on broken filesAlbert Astals Cid1-3/+3
Bug #102601
2017-09-08SplashOutputDev: Fix crash on broken filesAlbert Astals Cid1-1/+5
Bug #102604
2017-09-08Remove unmaintained TODO fileAlbert Astals Cid1-40/+0
2017-09-07Added methods to get and set the font size of text fieldsHans-Ulrich Jüttner5-20/+134
Fixes bug #101692
2017-09-07Disable glib if cairo is not foundOliver Sander1-0/+1
2017-09-06cmake: Give people the option to build poppler as a static libraryAlbert Astals Cid1-1/+2
2017-09-05cmake: add options to disable glib/qt4/qt5Adrian Johnson1-20/+34
2017-09-05cmake: Fix build when using a cairo different than the system oneAlbert Astals Cid2-3/+3
2017-09-05ignore build directoryAdrian Johnson1-0/+1
2017-09-04Control whether renderToImage shows annotationsOliver Sander2-3/+36
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.
2017-09-04Fix building with old clangAlbert Astals Cid1-0/+2
2017-09-04Initial make dist support in cmakeAlbert Astals Cid2-0/+14
2017-09-03Poppler 0.59poppler-0.59Albert Astals Cid7-7/+22
2017-09-03Update (C)Albert Astals Cid1-1/+1
2017-09-03Remove the old if/else cmake syntaxAlbert Astals Cid9-99/+99
that was weird and forced you to replicate the if clause in the else and endif
2017-09-03Remove the check for cmake >= 2.8.8 since we're requiring 3.1 alreadyAlbert Astals Cid1-15/+10
2017-09-03Fix warning when compiling with cygwinAdrian Johnson1-1/+1
ImageOutputDev.cc:532:14: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
2017-09-03Fix cygwin 32-bit compileAdrian Johnson2-2/+2
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); ^
2017-09-02pdfunite: Fix API porting error that caused abort in some casesAlbert Astals Cid1-6/+8
We need to check for xRef->getTrailerDict() existing before accessing xRef->getDocInfo();