Skip to content

Commit

Permalink
fix(lib): update poppler win32 binaries from 21.08.0 to 21.09.0 (#313)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Sep 13, 2021
1 parent bc144b3 commit 6cd1a3c
Show file tree
Hide file tree
Showing 481 changed files with 246 additions and 253 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Poppler {
__dirname,
"lib",
"win32",
"poppler-21.08.0",
"poppler-21.09.0",
"Library",
"bin"
);
Expand Down
2 changes: 1 addition & 1 deletion src/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ switch (platform) {
__dirname,
"lib",
"win32",
"poppler-21.08.0",
"poppler-21.09.0",
"Library",
"bin"
);
Expand Down
Binary file not shown.
Binary file not shown.
12 changes: 0 additions & 12 deletions src/lib/win32/poppler-21.08.0/Library/lib/pkgconfig/poppler-cpp.pc

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions src/lib/win32/poppler-21.08.0/Library/lib/pkgconfig/poppler.pc

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ class POPPLER_PRIVATE_EXPORT AnnotPath
{
public:
AnnotPath();
AnnotPath(Array *array);
AnnotPath(std::vector<AnnotCoord> &&coords);
explicit AnnotPath(Array *array);
explicit AnnotPath(std::vector<AnnotCoord> &&coords);
~AnnotPath();

AnnotPath(const AnnotPath &) = delete;
Expand Down Expand Up @@ -191,7 +191,7 @@ class AnnotBorderEffect
borderEffectCloudy // C
};

AnnotBorderEffect(Dict *dict);
explicit AnnotBorderEffect(Dict *dict);

AnnotBorderEffectType getEffectType() const { return effectType; }
double getIntensity() const { return intensity; }
Expand Down Expand Up @@ -297,7 +297,7 @@ class POPPLER_PRIVATE_EXPORT AnnotBorderArray : public AnnotBorder
{
public:
AnnotBorderArray();
AnnotBorderArray(Array *array);
explicit AnnotBorderArray(Array *array);

void setHorizontalCorner(double hc) { horizontalCorner = hc; }
void setVerticalCorner(double vc) { verticalCorner = vc; }
Expand All @@ -322,7 +322,7 @@ class AnnotBorderBS : public AnnotBorder
{
public:
AnnotBorderBS();
AnnotBorderBS(Dict *dict);
explicit AnnotBorderBS(Dict *dict);

private:
AnnotBorderType getType() const override { return typeBS; }
Expand Down Expand Up @@ -351,10 +351,10 @@ class POPPLER_PRIVATE_EXPORT AnnotColor
};

AnnotColor();
AnnotColor(double gray);
explicit AnnotColor(double gray);
AnnotColor(double r, double g, double b);
AnnotColor(double c, double m, double y, double k);
AnnotColor(Array *array, int adjust = 0);
explicit AnnotColor(Array *array, int adjust = 0);

void adjustColor(int adjust);

Expand All @@ -376,7 +376,7 @@ class POPPLER_PRIVATE_EXPORT DefaultAppearance
{
public:
DefaultAppearance(Object &&fontNameA, double fontPtSizeA, std::unique_ptr<AnnotColor> fontColorA);
DefaultAppearance(const GooString *da);
explicit DefaultAppearance(const GooString *da);
void setFontName(Object &&fontNameA);
const Object &getFontName() const { return fontName; }
void setFontPtSize(double fontPtSizeA);
Expand Down Expand Up @@ -415,7 +415,7 @@ class AnnotIconFit
scaleProportional // P
};

AnnotIconFit(Dict *dict);
explicit AnnotIconFit(Dict *dict);

AnnotIconFitScaleWhen getScaleWhen() { return scaleWhen; }
AnnotIconFitScale getScale() { return scale; }
Expand Down Expand Up @@ -490,7 +490,7 @@ class POPPLER_PRIVATE_EXPORT AnnotAppearanceCharacs
captionOverlaid // 6
};

AnnotAppearanceCharacs(Dict *dict);
explicit AnnotAppearanceCharacs(Dict *dict);
~AnnotAppearanceCharacs();

AnnotAppearanceCharacs(const AnnotAppearanceCharacs &) = delete;
Expand Down Expand Up @@ -528,7 +528,7 @@ class POPPLER_PRIVATE_EXPORT AnnotAppearanceCharacs
class AnnotAppearanceBBox
{
public:
AnnotAppearanceBBox(PDFRectangle *rect);
explicit AnnotAppearanceBBox(PDFRectangle *rect);

void setBorderWidth(double w) { borderWidth = w; }

Expand Down Expand Up @@ -1497,7 +1497,7 @@ class Annot3D : public Annot
dStateLive // L
};

Activation(Dict *dict);
explicit Activation(Dict *dict);

private:
ActivationATrigger aTrigger; // A (Default XA)
Expand Down Expand Up @@ -1531,7 +1531,7 @@ class POPPLER_PRIVATE_EXPORT AnnotRichMedia : public Annot
class POPPLER_PRIVATE_EXPORT Params
{
public:
Params(Dict *dict);
explicit Params(Dict *dict);
~Params();

Params(const Params &) = delete;
Expand All @@ -1555,7 +1555,7 @@ class POPPLER_PRIVATE_EXPORT AnnotRichMedia : public Annot
typeVideo // Video
};

Instance(Dict *dict);
explicit Instance(Dict *dict);
~Instance();

Instance(const Instance &) = delete;
Expand All @@ -1581,7 +1581,7 @@ class POPPLER_PRIVATE_EXPORT AnnotRichMedia : public Annot
typeVideo // Video
};

Configuration(Dict *dict);
explicit Configuration(Dict *dict);
~Configuration();

Configuration(const Configuration &) = delete;
Expand Down Expand Up @@ -1624,7 +1624,7 @@ class POPPLER_PRIVATE_EXPORT AnnotRichMedia : public Annot
class POPPLER_PRIVATE_EXPORT Content
{
public:
Content(Dict *dict);
explicit Content(Dict *dict);
~Content();

Content(const Content &) = delete;
Expand Down Expand Up @@ -1655,7 +1655,7 @@ class POPPLER_PRIVATE_EXPORT AnnotRichMedia : public Annot
conditionUserAction // XA
};

Activation(Dict *dict);
explicit Activation(Dict *dict);

Condition getCondition() const;

Expand All @@ -1674,7 +1674,7 @@ class POPPLER_PRIVATE_EXPORT AnnotRichMedia : public Annot
conditionUserAction // XD
};

Deactivation(Dict *dict);
explicit Deactivation(Dict *dict);

Condition getCondition() const;

Expand All @@ -1686,7 +1686,7 @@ class POPPLER_PRIVATE_EXPORT AnnotRichMedia : public Annot
class POPPLER_PRIVATE_EXPORT Settings
{
public:
Settings(Dict *dict);
explicit Settings(Dict *dict);
~Settings();

Settings(const Settings &) = delete;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Copyright (C) 2005 Kristian Høgsberg <krh@redhat.com>
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
// Copyright (C) 2013 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2017-2019 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2017-2019, 2021 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2017 Adrian Johnson <ajohnson@redneon.com>
// Copyright (C) 2018, 2019 Adam Reichold <adam.reichold@t-online.de>
//
Expand Down Expand Up @@ -46,7 +46,7 @@ class POPPLER_PRIVATE_EXPORT Array
{
public:
// Constructor.
Array(XRef *xrefA);
explicit Array(XRef *xrefA);

// Destructor.
~Array();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// under GPL version 2 or later
//
// Copyright (C) 2005, 2006 Kristian Høgsberg <krh@redhat.com>
// Copyright (C) 2005, 2018, 2019 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2005, 2018, 2019, 2021 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2006, 2007 Jeff Muizelaar <jeff@infidigm.net>
// Copyright (C) 2006, 2010 Carlos Garcia Campos <carlosgc@gnome.org>
// Copyright (C) 2008, 2017 Adrian Johnson <ajohnson@redneon.com>
Expand Down Expand Up @@ -104,7 +104,7 @@ class CairoFontEngine
{
public:
// Create a font engine.
CairoFontEngine(FT_Library libA);
explicit CairoFontEngine(FT_Library libA);
~CairoFontEngine();
CairoFontEngine(const CairoFontEngine &) = delete;
CairoFontEngine &operator=(const CairoFontEngine &other) = delete;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class POPPLER_PRIVATE_EXPORT Catalog
{
public:
// Constructor.
Catalog(PDFDoc *docA);
explicit Catalog(PDFDoc *docA);

// Destructor.
~Catalog();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class CharCodeToUnicode
void addMapping(CharCode code, char *uStr, int n, int offset);
void addMappingInt(CharCode code, Unicode u);
CharCodeToUnicode();
CharCodeToUnicode(GooString *tagA);
explicit CharCodeToUnicode(GooString *tagA);
CharCodeToUnicode(GooString *tagA, Unicode *mapA, CharCode mapLenA, bool copyMap, CharCodeToUnicodeString *sMapA, int sMapLenA, int sMapSizeA);

GooString *tag;
Expand All @@ -120,7 +120,7 @@ class CharCodeToUnicode
class CharCodeToUnicodeCache
{
public:
CharCodeToUnicodeCache(int sizeA);
explicit CharCodeToUnicodeCache(int sizeA);
~CharCodeToUnicodeCache();

CharCodeToUnicodeCache(const CharCodeToUnicodeCache &) = delete;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Copyright (C) 2005 Kristian Høgsberg <krh@redhat.com>
// Copyright (C) 2006 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
// Copyright (C) 2007-2008 Julien Rebetez <julienr@svn.gnome.org>
// Copyright (C) 2010, 2017-2020 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2010, 2017-2021 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2010 Paweł Wiejacha <pawel.wiejacha@gmail.com>
// Copyright (C) 2013 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2017 Adrian Johnson <ajohnson@redneon.com>
Expand Down Expand Up @@ -48,8 +48,8 @@ class POPPLER_PRIVATE_EXPORT Dict
{
public:
// Constructor.
Dict(XRef *xrefA);
Dict(const Dict *dictA);
explicit Dict(XRef *xrefA);
explicit Dict(const Dict *dictA);
Dict *copy(XRef *xrefA) const;

Dict(const Dict &) = delete;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// under GPL version 2 or later
//
// Copyright (C) 2008 Carlos Garcia Campos <carlosgc@gnome.org>
// Copyright (C) 2017-2019 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2017-2019, 2021 Albert Astals Cid <aacid@kde.org>
//
// To see a description of the changes please see the Changelog file that
// came with your tarball or type make ChangeLog if you are building from git
Expand All @@ -22,7 +22,7 @@
class POPPLER_PRIVATE_EXPORT EmbFile
{
public:
EmbFile(Object &&efStream);
explicit EmbFile(Object &&efStream);
~EmbFile();

EmbFile(const EmbFile &) = delete;
Expand Down Expand Up @@ -52,7 +52,7 @@ class POPPLER_PRIVATE_EXPORT EmbFile
class POPPLER_PRIVATE_EXPORT FileSpec
{
public:
FileSpec(const Object *fileSpec);
explicit FileSpec(const Object *fileSpec);
~FileSpec();

FileSpec(const FileSpec &) = delete;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// FontInfo.h
//
// Copyright (C) 2005 Kristian Høgsberg <krh@redhat.com>
// Copyright (C) 2005-2008, 2010, 2011, 2018, 2019 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2005-2008, 2010, 2011, 2018, 2019, 2021 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2005 Brad Hards <bradh@frogmouth.net>
// Copyright (C) 2009 Pino Toscano <pino@kde.org>
// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
Expand Down Expand Up @@ -91,7 +91,7 @@ class POPPLER_PRIVATE_EXPORT FontInfoScanner
{
public:
// Constructor.
FontInfoScanner(PDFDoc *doc, int firstPage = 0);
explicit FontInfoScanner(PDFDoc *doc, int firstPage = 0);
// Destructor.
~FontInfoScanner();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// All changes made under the Poppler project to this file are licensed
// under GPL version 2 or later
//
// Copyright (C) 2009, 2010, 2018, 2019 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2009, 2010, 2018, 2019, 2021 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2010 Christian Feuersänger <cfeuersaenger@googlemail.com>
// Copyright (C) 2011 Andrea Canciani <ranma42@gmail.com>
// Copyright (C) 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
Expand Down Expand Up @@ -88,7 +88,7 @@ class POPPLER_PRIVATE_EXPORT Function
protected:
static Function *parse(Object *funcObj, std::set<int> *usedParents);

Function(const Function *func);
explicit Function(const Function *func);

int m, n; // size of input and output tuples
double // min and max values for function domain
Expand Down Expand Up @@ -139,7 +139,7 @@ class SampledFunction : public Function
int getSampleNumber() const { return nSamples; }

private:
SampledFunction(const SampledFunction *func);
explicit SampledFunction(const SampledFunction *func);

int // number of samples for each domain element
sampleSize[funcMaxInputs];
Expand Down Expand Up @@ -177,7 +177,7 @@ class ExponentialFunction : public Function
double getE() const { return e; }

private:
ExponentialFunction(const ExponentialFunction *func);
explicit ExponentialFunction(const ExponentialFunction *func);

double c0[funcMaxOutputs];
double c1[funcMaxOutputs];
Expand Down Expand Up @@ -207,7 +207,7 @@ class StitchingFunction : public Function
const double *getScale() const { return scale; }

private:
StitchingFunction(const StitchingFunction *func);
explicit StitchingFunction(const StitchingFunction *func);

int k;
Function **funcs;
Expand All @@ -234,7 +234,7 @@ class PostScriptFunction : public Function
const GooString *getCodeString() const { return codeString; }

private:
PostScriptFunction(const PostScriptFunction *func);
explicit PostScriptFunction(const PostScriptFunction *func);
bool parseCode(Stream *str, int *codePtr);
GooString getToken(Stream *str);
void resizeCode(int newSize);
Expand Down
Loading

0 comments on commit 6cd1a3c

Please sign in to comment.