Console View
|
|
|||
Sune Vuorela
sune @vuorela.dk |
|
||
pdfsig: Allow show and select backend | |||
Sune Vuorela
sune @vuorela.dk |
|
||
Don't fail signature basics tests if backend is not configured | |||
Albert Astals Cid
aacid @kde.org |
|
||
poppler 23.06.0 | |||
Sune Vuorela
sune @vuorela.dk |
|
||
Fix cornercase crash in weird pdfsig setups This fixes a potential crash in setups where at least one cryptographic signature backend is compiled in, but none is functional. |
|||
Sune Vuorela
sune @vuorela.dk |
|
||
Store embedded fonts widths table more effective Some non-scientific experiments: A single 8k pdf document with okular adding a simple typewriter annotation with content "aoeu" in approximately the same place grows without this patch to 894k. With this patch, it grows to 649k. For comparison, if one doesn't embed the widths content at all, the same process grew to 638k While this isn't ground breaking gains, it is still some improvement. |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Remove poppler mingw CI until it's fixed again https://bugzilla.redhat.com/show_bug.cgi?id=2212050 |
|||
Sune Vuorela
sune @vuorela.dk |
|
||
Rename NSS CryptoSign backend classes and files in line with GPG backend. | |||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Khaled Hosny
khaled @aliftype.com |
|
||
Try harder to get Type 3 font name There is no BaseFont in Type 3 fonts, so we first try fontDescriptor’s FontName, but fontDescriptor is optional so we then try the Name key. Fixes #1396 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Sune Vuorela
sune @vuorela.dk |
|
||
Qt frontend code for selecting cryptosign backend | |||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Ilia Kats
ilia-kats @gmx.net |
|
||
fix segfault in _free_type3_font_info The destructor of Gfx calls methods of outputDev, so it needs to be deleted first |
|||
Sune Vuorela
sune @vuorela.dk |
|
||
Fix crash with weird hashing used for signatures | |||
Sune Vuorela
sune @vuorela.dk |
|
||
Cryptosign backend using gpgme (gpgsm) for all your signature needs | |||
Sune Vuorela
sune @vuorela.dk |
|
||
Set certificate info a bit earlier; that way we also get it if signature validation fails | |||
Sune Vuorela
sune @vuorela.dk |
|
||
Add function to get specific element from the DN parse result | |||
Sune Vuorela
sune @vuorela.dk |
|
||
Parser for Distinguished Names in certificates Not all crypto libraries exposes the fields parsed, so we wil need our own. Derived from KDE's libkleo, but improved and has added test coverage |
|||
Sune Vuorela
sune @vuorela.dk |
|
||
Let's try get in a bit of gnupg A script to build a gnupg2.4.1 A gpgme that is hardcoded to use the above gnupg And enough CMake to see we can find it. |
|||
Albert Astals Cid
aacid @kde.org |
|
||
symbol.ttf is not a good Symbol font Add the URW++ font names for a proper Symbol replacement |
|||
Albert Astals Cid
aacid @kde.org |
|
||
OutlineItem::open: Fix crash on malformed files Fixes #1399 |
|||
Sune Vuorela
sune @vuorela.dk |
|
||
Lookup with same rules as inserting them Inserting fonts happens without a trailing space if font style is empty. Apply teh same rules when lookin up. |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Jordan Abrahams-Whitehead
ajordanr @google.com |
|
||
Add missing #include <cstdio> prior to jpeglib.h Fixes #1398 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Look for fonts in both windows font dir and poppler fonts dir | |||
Sune Vuorela
sune @vuorela.dk |
|
||
Skip font lookup for nonprintable characters This is at least one cause for https://bugs.kde.org/show_bug.cgi?id=469664 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Andre Heinecke
aheinecke @gnupg.org |
|
||
Fix crash when signing existing signature On windows, helvetica is not available and that makes poppler crash, so fix crash and add fallback to arial. This has already been implemented for "new" signatures, both the fallback and the crash in 09fdfecea3a13d30b5c52e1258d17549739d9ea8 and a563801e1a6be5e70645472d82f4ba8534b454d1 Refactor the fallback code to be reusable and use the same crash guard. |
|||
Sune Vuorela
sune @vuorela.dk |
|
||
Convert embedded files to bytearray a bit smarter The current behavior also triggers a runtime warning per byte: "Using QByteRef with an index pointing outside the valid range of a QByteArray. The corresponding behavior is deprecated, and will be changed in a future version of Qt." This will keep an extra copy of the data around during convertion, but that's probably okay. |
|||
Albert Astals Cid
aacid @kde.org |
|
||
GooString -> std::string | |||
Albert Astals Cid
aacid @kde.org |
|
||
FontInfo: Make it return proper information about font substitution GfxFont::locateFont is what the output devices use, which is more complex than just findSystemFontFile so use that |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Fix memory leak when looking for fonts in Windows | |||
Albert Astals Cid
aacid @kde.org |
|
||
poppler 23.05.0 | |||
Albert Astals Cid
aacid @kde.org |
|
||
Update (C) | |||
Albert Astals Cid
aacid @kde.org |
|
||
Form::ensureFontsForAllCharacters: Create resources if there's not one Fixes #1383 |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Don't include an empty space at the end of the font name if there's no style | |||
Albert Astals Cid
aacid @kde.org |
|
||
Do not hardcode Noto Sans as FontName | |||
Nicolas Fella
nicolas.fella @kdab.com |
|
||
Set SigFlags when signing unsigned signature When creating a new signature we change SigFlags to indicate that there are now signatures However when signing an existing unsigned signature form that doesn't happen This breaks working on the file in Acrobat reader, e.g. it doesn't show the signatures panel and can't save amendments to the file Fixes https://bugs.kde.org/show_bug.cgi?id=461371 |
|||
Sune Vuorela
sune @vuorela.dk |
|
||
API fixup: Use optional instead of a 'None' backend Let's fix the cryptosign backend code before release. |
|||
Albert Astals Cid
aacid @kde.org |
|
||
Check overflow in nvals correctly | |||