Console View
|
|
|
|||
| 83d00ce92a39... |
Albert Astals Cid
aacid@kde.org |
|
|
| CMap::addCIDs: Fix overflow when end is at the end of the uint range | |||
| 2bc385c11578... |
Sune Vuorela
sune@vuorela.dk |
|
|
| Fix subsetting annotations with multiline content | |||
| 4d5f881faa8d... |
John Cater
katre@henchmonkey.org |
|
|
| Include cstdlib for getenv | |||
| e2df1cb9d6d9... |
Albert Astals Cid
aacid@kde.org |
|
|
| Remove unused Text*::findCharRange functions | |||
| cd963881e6ab... |
William Bader
william@newspapersystems.com |
|
|
|
Splash: Shade without antialiasing when there is no AA buffer univariateShadedFill() and functionShadedFill() turn on vector antialiasing for the shaded fill. When the Splash was created without antialiasing, as the one PSOutputDev uses to rasterize pages at -level1 or with -rasterize always, there is no aaBuf, so Splash::shadedFill() fails and Gfx falls back to filling the axial, radial or function shading as many small paths. Enable antialiasing only when the Splash has an aaBuf, via a new Splash::hasAABuf(). The rasterized pixels change slightly. Compared with Ghostscript rendering the PDF, the changed corpus pages are better or equal more often than worse, and the differences are not visible. Best of 3 (best of 1 for okular-slow-page), interleaved against master: pdftops -level1 okular-slow-page-8may23.pdf out.ps 14.9 s -> 0.47 s (32x) pdftops -level1 type3-d0-d1-all-20oct26.pdf out.ps 22.2 s -> 20.1 s (1.11x) |
|||
| ccb8fc10528d... |
Albert Astals Cid
aacid@kde.org |
|
|
| Fix overflow when adding two integers with psOpAdd | |||
| ad5f268c3519... |
Albert Astals Cid
aacid@kde.org |
|
|
|
Fix crash on broken files Dividing the minimum possible integer value (INT_MIN) by -1 is a floating point exception on runtime |
|||
| 3924f2bff456... |
Albert Astals Cid
aacid@kde.org |
|
|
| Fix infinite loop in broken files | |||
| d8d0bc5bb4a7... |
Albert Astals Cid
aacid@kde.org |
|
|
| Update (C) | |||
| fb198a878dac... |
Marek Kasik
mkasik@redhat.com |
|
|
|
qt: Initialize font pointers in QPainterOutputDev updateFont() can return without assigning m_rawFont, leaving it uninitialized. drawChar() can then read and dereference this pointer, leading to undefined behaviour. Initialize m_rawFont and m_currentType3Font to nullptr and guard their dereferences in updateFont() and drawChar(). This happens in both Qt5 and Qt6 frontends. This issue has been found by AISLE in partnership with Red Hat. |
|||
| 04d41e3224aa... |
Albert Astals Cid
aacid@kde.org |
|
|
|
Fix memory leak on broken files This creates memory leak because calling setModifiedObject with an object that was null was hitting the "This will cause a memory leak" line in XRef::setModifiedObject :D |
|||
| 26cf38c401b6... |
Albert Astals Cid
aacid@kde.org |
|
|
| One GooString less | |||
| 6aade2b19e67... |
Fran Quinto
fran.quinto@gmail.com |
|
|
| Annot: Fix the text width of widgets rotated 180 degrees | |||
| f3472f96cffc... |
Sune Vuorela
sune@vuorela.dk |
|
|
|
LCMS init: switch to magic statics for concurrency fixes #1800 |
|||
| 0d492b84925e... |
Fran Quinto
fran.quinto@gmail.com |
|
|
|
TextStringToUtf8: Fix PDFDocEncoding conversion The PDFDocEncoding branch returned a string with a trailing NUL byte and stored the Unicode code points truncated to a single byte, so anything that wasn't ASCII was garbled. Encode the code points as UTF-8 and don't append the terminator. |
|||
| 6c65d124d74f... |
Nicolas Höft
nicolas.hoeft@starlabs.de |
|
|
|
Fix crash when saving pdf with forms Guard against form == nullptr in Annot.cc Fixes #1832 |
|||
| f62cab03f704... |
Sune Vuorela
sune@vuorela.dk |
|
|
|
Fix crash in hash context creation Works around kde bug 527927 It is a bit unknown what the specifics of the involved document is, but dereferencing a nullptr is never a good idea, so let's play safe. |
|||
| 8ddf53acd862... |
Albert Astals Cid
aacid@kde.org |
|
|
|
ossfuzz: Fix previous commit I made the mistake of thinking CI would fail if the ossfuzz build CI job would fail and it got merged without compiling |
|||
| a297ef254a6c... |
Albert Astals Cid
aacid@kde.org |
|
|
|
oss-fuzz: Make tests faster If we tell globalParams we want it to be quiet, it does not need to format the error strings and given that oss-fuzz mainly feeds broken files we end up with lots of error formatting. With the old code we were not printing it but error() still had to do the formatting |
|||
| b17af993128b... |
Valentin Pohu
pohuvalentin@gmail.com |
|
|
|
Remove unused OptContentModelPrivate::setRootNode in qt6 Nothing calls it |
|||
| c988694f35bd... |
Valentin Pohu
pohuvalentin@gmail.com |
|
|
|
Take RichMedia objects as std::unique_ptr in the qt6 private setters Like LinkAnnotation::setLinkDestination, the Private classes own them through std::unique_ptr |
|||
| 8cba8130aa39... |
Valentin Pohu
pohuvalentin@gmail.com |
|
|
|
Fix leak of RichMedia activation and deactivation RichMediaAnnotation::Settings::Private never deleted them, every RichMedia annotation with settings leaked both |
|||
| 1b3aaf2fd395... |
Valentin Pohu
pohuvalentin@gmail.com |
|
|
|
Expose the asset of RichMedia instances Read the required /Asset entry of a RichMediaInstance and give access to its embedded file in qt6 |
|||
| 0ef006dca68d... |
Valentin Pohu
pohuvalentin@gmail.com |
|
|
|
Add a RichMedia file for the instance asset test Used by checkRichMediaInstanceAsset in the qt6 annotations test |
|||
| d3fda58e6f3a... |
Marek Kasik
mkasik@redhat.com |
|
|
|
Qt: Check that Catalog::getForm() returns a Form Avoid a crash by checking that we get a Form from Catalog::getForm() in PageData::convertLinkActionToLink() to prevent a crash caused by dereferencing of the returned pointer. This happens in both Qt5 and Qt6 frontends. This issue has been found by AISLE in partnership with Red Hat. |
|||
| e658c5562481... |
Albert Astals Cid
aacid@kde.org |
|
|
| Update po[t] | |||
| 80de22a1779c... |
Albert Astals Cid
aacid@kde.org |
|
|
|
Fix division by 0 By switching the if order |
|||
| 6afde57fb92a... |
Albert Astals Cid
aacid@kde.org |
|
|
|
Fix integer overflow checkedSubtraction could return INT_MIN that then when we call abs is an overflow. Widen calculation to int64_t to not have that problem oss-fuzz test case 6056277697167360 |
|||
| ebaec9dbd9ff... |
Albert Astals Cid
aacid@kde.org |
|
|
|
Fix integer overflow oss-fuzz test case 5051029973172224 |
|||
| 806aaec81cfa... |
Albert Astals Cid
aacid@kde.org |
|
|
|
Rename all cmake required version variables Some of them had names that got clobbered when doing find_package (i.e. NSS3_VERSION gets overriten when doing find_package(NSS3) and we don't want that |
|||
| 2516ba21bd99... |
Albert Astals Cid
aacid@kde.org |
|
|
| FlateStream::rewind: Don't consider the empty stream failing when reviwnding it | |||
| a45f83bdd75a... |
Albert Astals Cid
aacid@kde.org |
|
|
|
pdfsig: Allow to give multiple nss passwords I need two, one for my firefox store and one for my hardware token The way of knowing the store names is a bit awkard, you first have to call it without a password and when it fails it will tell you the name of the store that failed so you can add it |
|||
| 60e19a301525... |
Albert Astals Cid
aacid@kde.org |
|
|
|
Decrypt: Properly apply password length limit Previously we did apply it in the functions that used len but not on revision6Hash that took the string |
|||
| a0ef09a8db53... |
Albert Astals Cid
aacid@kde.org |
|
|
| utils: Increase max password length | |||
| 8dfee73a2218... |
Albert Astals Cid
aacid@kde.org |
|
|
| Enable readability-avoid-unconditional-preprocessor-if | |||
| 862d453f0043... |
Albert Astals Cid
aacid@kde.org |
|
|
| Tweak the HAVE_GETTEXT magic in the CI | |||
| d8a1f804dc45... |
Albert Astals Cid
aacid@kde.org |
|
|
| Gfx: Turn if 0 into something more understandable | |||
| 74d87e434b1c... |
Albert Astals Cid
aacid@kde.org |
|
|
| PSOutputDev: Turn if 0 into something more understandable | |||
| a003ca4f0ab9... |
Albert Astals Cid
aacid@kde.org |
|
|
| CairoOutputDev: Replace if 0 with more understanable names | |||
| 34061d053dce... |
Albert Astals Cid
aacid@kde.org |
|
|
| Gfx: Remove if 0 that had been there for a long time | |||