Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
10 days | glib: properly document return value from poppler_font_info_scan | Pablo Correa Gómez | 2 | -3/+7 | |
10 days | Let GooString::format return a std::string object | Oliver Sander | 1 | -2/+2 | |
... rathern than std::unique_ptr<GooString>. In many cases this avoids a small heap allocation. | |||||
2024-04-22 | Update (C) | Albert Astals Cid | 1 | -1/+1 | |
2024-04-21 | Async api for certificate validation | Sune Vuorela | 1 | -3/+4 | |
2024-04-20 | Move move prependUnicodeMarker to UTF.h | Oliver Sander | 1 | -1/+1 | |
... and rename it to prependUnicodeByteOrderMark. Now all unicode code has moved from GooString.h to UTF.h. | |||||
2024-04-20 | Move method GooString::hasUnicodeMarkerLE to UTF.h | Oliver Sander | 1 | -1/+1 | |
... and rename it to hasUnicodeByteOrderMarkLE. This allows to replace GooString by std::string in a few places. (In a future commit) | |||||
2024-04-20 | Move method GooString::hasUnicodeMarker to UTF.h | Oliver Sander | 1 | -4/+4 | |
... and rename it to hasUnicodeByteOrderMark. This allows to replace GooString by std::string in a few places. (In a future commit) | |||||
2024-02-01 | Update (C) | Albert Astals Cid | 1 | -0/+1 | |
2024-02-01 | More unicode vectors; fewer raw pointers | Sune Vuorela | 1 | -1/+2 | |
2023-09-06 | Let method utf8ToUtf16WithBom return a std::string object | Oliver Sander | 1 | -2/+2 | |
Rather than a std::unique_ptr to a GooString. This avoids a heap allocation. | |||||
2023-08-01 | poppler 23.08.0poppler-23.08.0 | Albert Astals Cid | 1 | -1/+1 | |
2023-07-27 | glib: Add new members to PopplerCertificateInfo | Marek Kasik | 4 | -13/+230 | |
These new members of the structure can be used to show more detailed info about who signed the document and more info about issuer of the certificate. Add PopplerCertificateInfo to PopplerSignatureInfo to be able to get certificate info of the signature. | |||||
2023-07-04 | Improve poppler_get_available_signing_certificates | Jan-Michael Brummer | 1 | -3/+6 | |
Remove #ifdef and error handling Fixes: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1412 | |||||
2023-07-03 | poppler 23.07.0poppler-23.07.0 | Albert Astals Cid | 1 | -2/+2 | |
2023-06-30 | Remove g_auto functions | Jan-Michael Brummer | 2 | -4/+8 | |
2023-06-29 | Signatures: Add signing API to glib part | Jan-Michael Brummer | 12 | -2/+1840 | |
Rectangle corrections by Marek Kasik | |||||
2023-03-27 | clang 15 | Albert Astals Cid | 1 | -1/+1 | |
2023-03-23 | Fix use of dangling memory | Sune Vuorela | 1 | -1/+2 | |
g_strdup is a macro and thus the intermediate getSignerName() value would be destructed after the first line of code in the macro | |||||
2023-03-08 | Update (C) | Albert Astals Cid | 1 | -0/+1 | |
2023-03-08 | Use std::string for strings | Sune Vuorela | 1 | -1/+1 | |
not manual strdup/free | |||||
2022-12-04 | cmake: Add CAIRO_INCLUDE_DIRS to the appropriate targets | Albert Astals Cid | 1 | -0/+1 | |
2022-08-31 | Fix copy'n'paste bug in the check for bounding box correctness | Oliver Sander | 2 | -2/+2 | |
Found by https://sonarcloud.io/project/overview?id=tsdgeos_poppler_mirror | |||||
2022-08-23 | cmake: Better linking against GTK3 | Albert Astals Cid | 2 | -13/+1 | |
2022-08-19 | glib: Fix two potential memory leaks in poppler_document_create_dests_tree | Albert Astals Cid | 1 | -3/+2 | |
2022-07-04 | poppler 22.07.0poppler-22.07.0 | Albert Astals Cid | 1 | -1/+1 | |
2022-07-03 | glib: add support for stamp annotation | Nelson Benítez León | 8 | -4/+507 | |
Creates new PopplerAnnotStamp type with the following public api: PopplerAnnot *poppler_annot_stamp_new(PopplerDocument *doc, PopplerRectangle *rect); PopplerAnnotStampIcon poppler_annot_stamp_get_icon(PopplerAnnotStamp *poppler_annot); void poppler_annot_stamp_set_icon(PopplerAnnotStamp *poppler_annot, PopplerAnnotStampIcon icon); gboolean poppler_annot_stamp_set_custom_image(PopplerAnnotStamp *poppler_annot, cairo_surface_t *image, GError **error); Updates poppler-glib-demo to test PopplerAnnotStamp including the custom image support. | |||||
2022-06-20 | Fixes 2 MSVC compilation bugs | Fabian Keßler | 1 | -2/+2 | |
2022-04-26 | fix multiline find_text() bug in two column docs | Nelson Benítez León | 1 | -3/+3 | |
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. | |||||
2022-04-13 | Correct typo in `poppler-structure-element.cc` | Pablo Rodríguez | 1 | -1/+1 | |
2022-04-01 | Annots: Just return the std::vector instead of two getters | Albert Astals Cid | 1 | -4/+1 | |
Simpler code to use and solves the int vs size_t mismatch by not having a type involved at all | |||||
2022-04-01 | Link: Just return the std::vector instead of two getters | Albert Astals Cid | 1 | -4/+1 | |
Simpler code to use and solves the int vs size_t mismatch by not having a type involved at all | |||||
2022-03-30 | Change GfxFont name into an optional std::string | Albert Astals Cid | 1 | -3/+7 | |
2022-03-30 | Remove the url from the CachedFileLoader::init function | Albert Astals Cid | 3 | -8/+7 | |
It was unused everywhere except in CurlCachedFileLoader, but there we can just pass it in the constructor. The use in one of the two glib cases was a memory leak | |||||
2022-03-30 | Make GooString::format[v] return an unique_ptr | Albert Astals Cid | 1 | -3/+3 | |
2022-03-28 | glib: Fix mem leak in poppler_document_new_from_fd | Christian Persch | 1 | -3/+14 | |
Someone needs to own the GooFile that's referenced by FileStream. Add a simple OwningFileStream class that does that. Fixes: https://gitlab.freedesktop.org/poppler/poppler/-/issues/1227 | |||||
2022-03-24 | Unify 2 enums and a set of defines into an enum | Albert Astals Cid | 1 | -3/+3 | |
2022-03-11 | Add readability-braces-around-statements | Albert Astals Cid | 34 | -335/+650 | |
2022-03-11 | Make GooFile::open return an unique_ptr | Albert Astals Cid | 1 | -2/+3 | |
Sadly uncovers a memory leak on poppler_document_new_from_fd | |||||
2022-03-08 | glib: Fix returning c_str() of temporal strings | Albert Astals Cid | 1 | -3/+3 | |
They go out of scope as soon as the function returns | |||||
2022-03-08 | Annot::getRect: Return a const & instead of a pointer | Albert Astals Cid | 2 | -18/+15 | |
Makes it clear the result is never null | |||||
2022-03-02 | AnnotMarkup::setLabel: Take a unique_ptr | Albert Astals Cid | 1 | -4/+1 | |
This was double deleting on the glib side | |||||
2022-03-02 | Annot::setContents: Take a unique_ptr | Albert Astals Cid | 1 | -4/+1 | |
This was double deleting on the glib side | |||||
2022-02-21 | Store the strings in FontInfo in std::optional<std::string> | Oliver Sander | 1 | -10/+7 | |
This saves some memory allocations, because the strings are now stored by value rather than by a pointer pointing to the heap. Also, the costum copy constructor can be replaced by the default one with this change. | |||||
2022-02-16 | We don't use pthreads anymore, cleanup cmake stuff around it | Albert Astals Cid | 1 | -3/+0 | |
Well, there's some pthread code still in pdftoppm but it's "test" related, and should just be ported to C++11 threads | |||||
2022-02-16 | PDFDoc: Make passwords std::optional instead of pointers | Albert Astals Cid | 1 | -38/+14 | |
Makes it clearer that we're not taking ownership of them | |||||
2022-02-16 | Use Freetype::Freetype | Kai Pastor | 1 | -1/+1 | |
2022-02-15 | Make PDFDoc constructor take the filename as unique_ptr | Albert Astals Cid | 1 | -5/+2 | |
Makes it clear that it will own the given GooString | |||||
2022-02-15 | Change PDFDoc::save from pointer to reference | Albert Astals Cid | 1 | -4/+2 | |
Makes it clear it's not going to be destructed and that it can't be null | |||||
2022-02-10 | Make Catalog::embeddedFile return an unique_ptr | Albert Astals Cid | 1 | -5/+2 | |
2022-02-01 | Improve PDFDoc::getSignatureFields | Albert Astals Cid | 1 | -1/+1 | |