Home - Waterfall Grid T-Grid Console Builders Recent Builds Buildslaves Changesources - JSON API - About
Login

Console View

Legend:   Passed Failed Warnings Failed Again Running Exception Offline No data

Albert Astals Cid
qt: Don't assert when trying to invert singular matrices
oss-fuzz/33611
Albert Astals Cid
Update (C) of previous commit
Albert Astals Cid
Restore setting the Encoding in createAnnotDrawFont
It was removed in 9db685f379c1c9195b5f0c9a693e7a581e6b214f and as far as
i remember the reason was that signatures created with that hung Adobe
Reader, but I can't reproduce it anymore and on top of that is causing
regressions when rendering PDF files (Issue #1070) so restore it.
  • runtests: 3 unexpected failures (0.05%) [1 cairo (33.33%), 1 splash (33.33%), 1 text (33.33%)] -  stdio
Albert Astals Cid
Poppler 21.05.0
Albert Astals Cid
Update (C) of previous commits
Albert Astals Cid
CI: Use fedora 34 for mingw
Nelson Benítez León
find, glib: Enhance find to support multi-line matching
On the backend side, adds 3 new parameters to TextPage::findText(),
one bool to enable the feature, one out PDFRectangle to store
the part of the match that falls on the next line, and one out
bool to inform whether hyphen was present and ignored at end of
the previous match part.

For the glib binding, this extends the public PopplerRectangle
struct by new members to hold additional information about
whether the rectangle belongs to a group of rectangles for the
same match, and whether a hyphen was ignored at the end of the
line. Since PopplerRectangle is public ABI, this is done by making
the public PopplerRectangle API return the enlarged struct, and
internally casting to the new struct when required, the new
members are accessible only via accessor functions.

For Qt5 Qt6 bindings, this commit only implements the new flag
Poppler::Page::AcrossLines (but no new function and no new
return data type) and if this flag is passed, the returned
list of rectangles will also include rectangles for the
second part of across-line matches.

This minimum Qt bindings still allows for the creation of
tests for this feature (using the Qt test framework) which
this commit *do includes*. But a more complete binding (with
a new return type that includes 'matchContinued' and 'ignoredHypen'
boolean fields) is left to do for qt backend maintainers
if they want to use this feature in eg. Okular.

So, as mentioned, this commit incorporates tests for the
implemented across-line matching feature, and the tests do
also check for two included aspects of this feature, which are:

- Ignoring hyphen character while matching when 1) it's the
  last character of the line and 2) its corresponding matching
  character in the search term is not an hyphen too.

- Any whitespace characters in the search term will be allowed
  to match on the logic position where the lines split (i.e. what
  would normally be the newline character in a text file, but
  PDF text does not include newline characters between lines).

Regarding the enhancement to findText() function which implements
matching across lines, just two more notes:

- It won't match on text spanning more than two lines, i.e. it
  only matches text spanning from end of one line to start of
  next line.

- It does not supports finding backwards, if findText() receives
  both <backward> and <matchAcrossLines> parameters as true, it
  will ignore the <matchAcrossLines> parameter. Implementing
  <matchAcrossLines> with backwards direction is possible, but
  it will make an already complex function like findText() to be
  even more complex, for little gain as eg. Evince does not even
  use the <backward> parameter of findText().

Fixes poppler issues #744 and #755
Related Evince issue https://gitlab.gnome.org/GNOME/evince/issues/333
Albert Astals Cid
CI: rename clazy CI to make it clear it uses a new C compiler
Albert Astals Cid
CI: Use clang-12
Disable new performance-no-int-to-ptr clang-tidy check since it triggers
too many issues deep in too many places
Albert Astals Cid
GfxShading::init: Fix assert in broken files
Fixes issue #1071
Albert Astals Cid
qt: Allow to pass the border width when signing
Albert Astals Cid
qt: Make sure new signatures are always properly oriented
With the old code if it the page we were adding a signature was
landscape and then rotated 90 degrees to look like portrait (relatively
common on scanned documents) the text would appear wrongly oriented
Albert Astals Cid
Prevent integer overflow PSOutputDev::checkPageSlice
oss-fuzz/33333
Albert Astals Cid
pdftoppm: Fix regression when using single scaleTo
Fixes #1062
Albert Astals Cid
qt: QStringToUnicodeGooString don't produce a "fake empty" string
if the input string is empty, just return an empty GooString, not a
GooString with only the unicode marker
Albert Astals Cid
PSOutputDev::setupResources: Fix infinite recursion call on broken files
Issue #1065
Albert Astals Cid
Annot: Make things more const correct
Volker Krause
Allow to disable building manual tests
This is consistent with all the other test programs, and helps in
environments where building regular executables doesn't work out of
the box, such as the Android x86 32bit environment I have here.
Albert Astals Cid
TextOutputDev: Fix crash in malformed file
oss-fuzz/32952
Evangelos Foutras
Export SplashFont* symbols used by Scribus
Scribus 1.5.6.1 compiled against poppler 21.04.0 was unable to load its
PDF importer plugin without these classes being exported by libpoppler:

- SplashFontFileID
- SplashFontEngine
- SplashFontSrc
Albert Astals Cid
Poppler 21.04.0
Albert Astals Cid
pdfimages: Do not assert in "too big images"
Fixes #1061
Albert Astals Cid
Update (C)
Nelson Benítez León
Forms: fix unclicking standalone form buttons
We can find pdf forms that eg. have three related
radio buttons where their *only* relationship is
having the same full qualified name.

Such a form is supported by Adobe Reader and
produced by LaTeX through TeXStudio. So, when
clicking one such radio button, Poppler failed
to unclick the other radio buttons as they are
not children nor parent of the clicked one (which
is the ordinary way to set radio button groups
as per the PDF standard).

So, when clicking a radio button, let's add support
to find other radio buttons in the same page that
are only related by having same fully qualified name
(these may be in standalone or normal fields).

Where trying to find where PDF standard covers this
special case of related radio buttons, the closest
thing we can find is section "Field names" inside
chapter "8.6.2 Field Dictionaries" in 1.7 PDF spec.

Issue #1034
Albert Astals Cid
Update (C)
Steve Rosenhamer
Implement rendering of Masks of Image subtype.
Issue #1058
Christian Persch
glib: Remove incorrecly used volatile from enum type registration code
Christian Persch
glib: Use stock glib macro to define boxed type
Poppler already depends on a sufficiently new glib version, so we can
simply use G_DEFINE_BOXED_TYPE instead of defining our own macro.
Marek Kasik
utils: New paragraph for "-sign" in pdfsig.1
Create new paragraph for "-sign" option in pdfsig.1 man page.
Albert Astals Cid
qt: Fix memory leak when QImage constructor "fails"
Albert Astals Cid
Fix rendering of text in some files
Update CMap::addCIDs from xpdf 3.04

Fixes issue #1052
Clément Pit-Claudel
[glib] Expose more fields from MediaRendition in PopplerMedia
Nelson Benítez León
refactor Page::getFormWidgets() to use unique_ptr
Refactor Page::getFormWidgets() to return
std::unique_ptr<FormPageWidgets> so to avoid
possible leaks in API users who forget
to delete object.
Nelson Benítez León
TextSelectionDumper: fix word order for RTL text
This is used by glib backend (Evince).

Fixes issue #53
Albert Astals Cid
Update (C)
Albert Astals Cid
qt: Fix crash in files with malformed signatures
For signatures we need the formwidget, so even if they don't have the
Subtype Widget create one when asked for signatures in the document

Fixes KDE bug #433909
Albert Astals Cid
Hide symbols by default
Use cmake for better import/export defines
Albert Astals Cid
Require the newer glib&friends provided by the new base CI
Albert Astals Cid
Require the newer qt5 provided by the new base CI
Albert Astals Cid
Require the newer cmake provided by the new base CI