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

Console View

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

Albert Astals Cid
Update (C)
Adam Reichold
Align signature of Array::copy with Dict::copy as a preparation for implicit sharing
Nelson Benítez León
autotest for unicodeToAscii7 crasher
Includes some small code tweaks by Albert Astals Cid
Albert Astals Cid
Add the proper include so that Unicode is defined
Marek Kasik
Allocate big enough buffer for text conversion
Buffer for conversion from Unicode to ASCII7 can
be small in some cases leading to invalid writes
which can result in crash.
This commit increases size of the buffer.
Albert Astals Cid
Move textEOL and textPageBreaks out of GlobalParams to TextOutputDev
Albert Astals Cid
Update (C)
Kris Jurka
pdftoxxx: error out when even/odd selects 0 pages
When page selection options and/or document length result in planned
output of a single page, further even/odd page selection can then
result in no pages being output.  Error out instead of producing no
output which is confusing to the user.

Closes: https://gitlab.freedesktop.org/poppler/poppler/issues/815
[PdfToPpm] Add an option to scale before rotate
Albert Astals Cid
Update (C) of previous commit
Nelson Efrain A. Cruz
Changes value of exit code on dumping signatures error
Nelson Efrain A. Cruz
Fixes pdfsig exit code when dumping signatures
Thomas Fischer
pdfinfo: improved paper size recognition
Paper sizes of ISO 216, A Series were originally defined in millimeters.
For example, A3 is defined to be 297mm x 420mm. However, depending on
source, the corresponding size in pts may vary between 1190pt and 1191pt
for the longer edge.

pdfinfo's formula to compute the length of the longer edge of an A3
paper determines this length to be 1191.82pt. As the error margin so far
was set to 1pt, A3 papers with edge length of 1190.8pt were not
recognized as A3.

This patch makes the error margin depending on the paper size, setting
it at 0.3% of the longer edge's length. For A3 paper, the error marging
(variable 'isoThreshold') thus becomes 3.58pt.

Accordingly, the threshold for 'letter' paper has been raised from 0.1pt
to 1pt.
Albert Astals Cid
Fix calling a function on a null pointer
It wasn't crashing but it's defenitely undefined behaviour.

Now instead of calling copy that calls the constructor we call the
constructor directly, which deals fine with a null "other" to be created

Also some const
Albert Astals Cid
Add some more const
Albert Astals Cid
Make HtmlMetaVar::toString const
Albert Astals Cid
Enable modernize-loop-convert
Albert Astals Cid
enable modernize-redundant-void-arg
No copyright, it's a mechanical change
Albert Astals Cid
enable modernize-use-bool-literals
No copyright, this is a mechanical change
Albert Astals Cid
Enable modernize-use-emplace
Not claiming copyright since it's a mechanical change
Albert Astals Cid
Enable modernize-use-equals-delete
Not claiming copyright since the change is mechanical
Albert Astals Cid
Enable modernize-use-override
not claiming copyright for this since it's a mechanical change
Albert Astals Cid
Enable modernize-make-shared and modernize-make-unique
Albert Astals Cid
Update (C) of last commit
Even Rouault
JBIG2Stream: fix leak in reset() if called several times
JBIG2Stream::reset() currently allocates new values for the
segments and globalSegments member variable. This causes a
memory leak if the method is called several times, which can
be triggered by the GDAL library that uses Poppler.
So add a freeSegments() method where we move the related cleanup
of close(), and call that method from reset() and close().
Albert Astals Cid
Move the clear for loops into a function
And also call memset because it's clearer from "this is what i want"
point of view, compiler optimizers are smart enough to convert back to a
loop if needed
Albert Astals Cid
Rework Hints::readTables a bit
fail and return immediately if the length is 0
also set ok to false in a few other "failed to read table" cases
William Bader
Improve pdftops -optimizecolorspace by implementing the CMYK to K conversion in more places. This fixes the conversion of the PDF in poppler/poppler#833
Albert Astals Cid
Links: Remove two unused functions
Note: If you're one of the people using the internal API against our
wishes, you can still roll out these functions yourself
Albert Astals Cid
Turn Links::links into a std::vector instead of **
Albert Astals Cid
Enable modernize-deprecated-headers
Albert Astals Cid
Enable readability-string-compare
Albert Astals Cid
Enable readability-inconsistent-declaration-parameter-name
Albert Astals Cid
Return early in operator= if we're assigning to ourselves
Makes bugprone-unhandled-self-assignment happy
Jason Crain
glib: Fix poppler_action_layer_copy function cast warning
In our call to g_list_foreach, the GFunc callback type takes two
arguments, but we pass the g_object_ref function, which only takes one,
so the compiler warns about an incompatible function cast.

Fix this by using a for loop instead of g_list_foreach.
Jason Crain
glib: Fix return in poppler_page_get_text_attributes_for_area
Since this function returns a GList*, it should return nullptr on error,
not FALSE.
Jason Crain
glib: Use g_list_free_full
Use g_list_free_full instead of g_list_foreach followed by g_list_free.
This fixes a compiler warning.

The g_list_foreach function takes a "GFunc" callback, which takes two
arguments, but the free functions we pass only take one argument, so the
compiler warns about an incompatible cast. Using g_list_free_full fixes
this because it takes a "GDestroyNotify" callback, which takes one
Albert Astals Cid
Move enableFreeType out of GlobalParams
It's now moved to pdftoppm+SplashOutputDev that were the only users
Albert Astals Cid
Some more const
Albert Astals Cid
HtmlPage::dumpComplexHeaders: Fix memory leak
We can't do
  const std::string htmlEncoding = HtmlOutputDev::mapEncodingToHtml(globalParams->getTextEncodingName())->toStr();
since HtmlOutputDev::mapEncodingToHtml returned a GooString that needed

It's all std::strings now