Console View
|
|
|||
Albert Astals Cid
aacid @kde.org |
|
||
test: Fix finding cairo headers on compile time | |||
Albert Astals Cid
aacid @kde.org |
|
||
Make gcc a bit happier | |||
Adrian Johnson
ajohnson @redneon.com |
|
||
Add cairo thread test | |||
Albert Astals Cid
aacid @kde.org |
|
||
pdfattach: Assume filename is utf8 encoded Which is the encoding most [linux] OS use Fixes issue #1079 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Forms: Fix crash in forms with their own DR When adding potentially missing fonts to the PDF file because we have written a letter like ħ that is not available on the form font, if the form has their own DR, we also need to add the font to that DR Font dict and not only to the global Form one (in theory we would only have to add it to the particular form one and not to the global, but it's easier this way and it's not like we're adding the data twice, we're just adding the Ref to two dicts) |
|||
Albert Astals Cid
aacid @kde.org |
|
||
TextPage::coalesce: Fix crash on broken files oss-fuzz/47350 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
greallocn: Make gcc 12.1 happier Without this hint that bytes is always going to be > 0 we got a million of warnings like In function ‘void gfree(void*)’, inlined from ‘void* greallocn(void*, int, int, bool, bool)’ at goo/gmem.h:178:14, inlined from ‘void CharCodeToUnicode::setMapping(CharCode, Unicode*, int)’ at poppler/CharCodeToUnicode.cc:648:60: goo/gmem.h:65:14: warning: pointer used after ‘void free(void*)’ [-Wuse-after-free] 65 | std::free(p); | ~~~~~~~~~^~~ In function ‘void gfree(void*)’, inlined from ‘void* grealloc(void*, size_t, bool)’ at goo/gmem.h:73:14, inlined from ‘void* greallocn(void*, int, int, bool, bool)’ at goo/gmem.h:174:27, inlined from ‘void CharCodeToUnicode::setMapping(CharCode, Unicode*, int)’ at poppler/CharCodeToUnicode.cc:648:60: goo/gmem.h:65:14: note: call to ‘void free(void*)’ here 65 | std::free(p); | ~~~~~~~~~^~~ |
|||
Albert Astals Cid
aacid @kde.org |
|
||
NetPBMWriter: Change destructor Makes gcc 12.1 happier, i think it was a gcc bug anyway, but the new code is a bit "better" anyway, the warning i was getting is In file included from utils/ImageOutputDev.cc:44: In destructor ‘virtual NetPBMWriter::~NetPBMWriter()’, inlined from ‘virtual NetPBMWriter::~NetPBMWriter()’ at goo/NetPBMWriter.h:41:31, inlined from ‘void ImageOutputDev::writeImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool)’ at utils/ImageOutputDev.cc:636:16: goo/NetPBMWriter.h:41:31: warning: array subscript ‘NetPBMWriter[0]’ is partly outside array bounds of ‘ImgWriter [2]’ [-Warray-bounds] 41 | ~NetPBMWriter() override {}; | ^ utils/ImageOutputDev.cc: In member function ‘void ImageOutputDev::writeImage(GfxState*, Object*, Stream*, int, int, GfxImageColorMap*, bool)’: utils/ImageOutputDev.cc:620:57: note: object of size 16 allocated by ‘operator new’ 620 | writer = new PNGWriter(PNGWriter::MONOCHROME); | ^ utils/ImageOutputDev.cc:623:51: note: object of size 16 allocated by ‘operator new’ 623 | writer = new PNGWriter(PNGWriter::GRAY); | ^ utils/ImageOutputDev.cc:627:52: note: object of size 16 allocated by ‘operator new’ 627 | writer = new PNGWriter(PNGWriter::RGB48); | ^ utils/ImageOutputDev.cc:630:50: note: object of size 16 allocated by ‘operator new’ 630 | writer = new PNGWriter(PNGWriter::RGB); | ^ |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Albert Astals Cid
aacid @kde.org |
|
||
Fix uninitialized memory read on broken files | |||
Albert Astals Cid
aacid @kde.org |
|
||
GetWindowsFontDir: Simply call SHGetFolderPathA Instead of all the dance with loading various different dlls We don't support terribly old Windows that don't even have SHGetFolderPathA |
|||
Adrian Johnson
ajohnson @redneon.com |
|
||
cairo: preserve text color when drawing type 3 glyphs Type 3 glyphs (that don't override the color) should be painted with the current graphics state color when the text operator is invoked. |
|||
Albert Astals Cid
aacid @kde.org |
|
||
JBIGStream: Fix unint memory read on broken files oss-fuzz/47224 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Tobias C. Berner
tcberner @gmail.com |
|
||
Fix c_time usage In 2656d986d01da5aea4f51c75e4deee569ca88064 the time type was switched to time_t, without including the necessary ctime header. |
|||
Albert Astals Cid
aacid @kde.org |
|
||
poppler 22.05.0 | |||
Albert Astals Cid
aacid @kde.org |
|
||
Fix rendering regression introduced in 5f915d46c99ecbc0c026b86de50f9e0243391a01 We can't assume "Fields" needs to exist, there's other things there like NeedAppearances that are valid without Fields The bug in Catalog::addFormToAcroForm remains, but will need to wait to get fixed on next release |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Nelson Benítez León
nbenitezl @gmail.com |
|
||
fix multiline find_text() bug in two column docs Fix for a bug in double column documents where some single line matches are wrongly returned as being multiline matches. Includes test case for the bug. |
|||
Nelson Benítez León
nbenitezl @gmail.com |
|
||
fix bug in multiline find_text() which caused some false positives being returned. Includes test case for the bug. See original comment about this bug: https://gitlab.gnome.org/GNOME/evince/-/merge_requests/159#note_1431380 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Adrian Johnson
ajohnson @redneon.com |
|
||
HtmlOutputDev: don't use png.h It is not needed. Fixes mingw build that was failing with png.h not found. |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Rework GetWindowsFontDir | |||
Albert Astals Cid
aacid @kde.org |
|
||
Stream: Fix two types to hold what the are stored to | |||
Albert Astals Cid
aacid @kde.org |
|
||
CI: -Werror for the Android builder | |||
Albert Astals Cid
aacid @kde.org |
|
||
cpp: Use time_t for time The existing time_type is unsigned int which suffers from the Y2K38 problem |
|||
Albert Astals Cid
aacid @kde.org |
|
||
CI: Update mingw to fedora 36 | |||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Alexander Sulfrian
asulfrian @zedat.fu-berlin.de |
|
||
qt: Pass leftFontSize down to `FormWidgetSignature::signDocumentWithAppearence` A similar issue for `PDFDoc::sign` was already fixed in: 864466a6753014106448f1a6c0000aa68bedf101 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Fix crash in very badly damaged documents when adding a freetext annotation oss-fuzz/46497 |
|||
Pablo Rodríguez
1425-ousia @users.noreply.gitlab.freedesktop.org |
|
||
Correct typo in `poppler-structure-element.cc` | |||
Albert Astals Cid
aacid @kde.org |
|
||
MSVC: Fix conversion warnings Make the conversions from double to int/char explicit, we want them |
|||
Albert Astals Cid
aacid @kde.org |
|
||
MSVC: type conversion warning fix Don't support adding fonts bigger than INT_MAX |
|||
Albert Astals Cid
aacid @kde.org |
|
||
MSVC: type warning fixes outBuf is 16384 long so we can cast its ptrdiff_t to int fine |
|||
Albert Astals Cid
aacid @kde.org |
|
||
MSVC: type conversion warnings int to size_t float to double |
|||
Albert Astals Cid
aacid @kde.org |
|
||
MSVC: More warning fixes * Add casts that convert between types but we know the value inside the bigger type will be small enough * Some ceil/round/floor -> int cast * Add forced casts because the destination type is needed * Add some casts (distance between characters in an user option will be int) which potentially could be wrong, but noone is going to write such a long parameter in the command line |
|||
Albert Astals Cid
aacid @kde.org |
|
||
FoFiOutputFunc: Use size_t instead of int | |||
Albert Astals Cid
aacid @kde.org |
|
||
easier to understand definition for FoFiOutputFunc | |||
Albert Astals Cid
aacid @kde.org |
|
||
PSOutputFunc -> FoFiOutputFunc | |||
Albert Astals Cid
aacid @kde.org |
|
||
AnnotAppearanceBuilder::drawText: Make dx, dy const | |||