Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
poppler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nathanael Noblet
poppler
Commits
1c1d9a70
Commit
1c1d9a70
authored
Nov 29, 2019
by
Albert Astals Cid
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable modernize-deprecated-headers
parent
5713d0da
Changes
144
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
144 changed files
with
343 additions
and
337 deletions
+343
-337
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
cpp/poppler-private.h
cpp/poppler-private.h
+1
-1
fofi/FoFiBase.cc
fofi/FoFiBase.cc
+2
-2
fofi/FoFiEncodings.cc
fofi/FoFiEncodings.cc
+1
-1
fofi/FoFiIdentifier.cc
fofi/FoFiIdentifier.cc
+3
-3
fofi/FoFiTrueType.cc
fofi/FoFiTrueType.cc
+3
-3
fofi/FoFiTrueType.h
fofi/FoFiTrueType.h
+1
-1
fofi/FoFiType1.cc
fofi/FoFiType1.cc
+3
-3
fofi/FoFiType1C.cc
fofi/FoFiType1C.cc
+4
-4
glib/demo/CMakeLists.txt
glib/demo/CMakeLists.txt
+1
-0
glib/poppler-attachment.cc
glib/poppler-attachment.cc
+1
-1
glib/poppler-document.cc
glib/poppler-document.cc
+1
-1
glib/poppler-media.cc
glib/poppler-media.cc
+1
-1
glib/poppler-page.cc
glib/poppler-page.cc
+1
-1
glib/poppler-structure-element.cc
glib/poppler-structure-element.cc
+1
-1
goo/GooTimer.cc
goo/GooTimer.cc
+1
-1
goo/ImgWriter.h
goo/ImgWriter.h
+1
-1
goo/PNGWriter.cc
goo/PNGWriter.cc
+2
-2
goo/TiffWriter.cc
goo/TiffWriter.cc
+1
-1
goo/gbasename.cc
goo/gbasename.cc
+2
-2
goo/gfile.cc
goo/gfile.cc
+3
-3
goo/gfile.h
goo/gfile.h
+4
-4
goo/glibc.h
goo/glibc.h
+1
-1
goo/glibc_strtok_r.cc
goo/glibc_strtok_r.cc
+1
-1
goo/gstrtod.cc
goo/gstrtod.cc
+4
-4
poppler/Annot.cc
poppler/Annot.cc
+4
-4
poppler/BuiltinFont.cc
poppler/BuiltinFont.cc
+2
-2
poppler/BuiltinFontTables.cc
poppler/BuiltinFontTables.cc
+1
-1
poppler/CMap.cc
poppler/CMap.cc
+4
-4
poppler/CairoFontEngine.cc
poppler/CairoFontEngine.cc
+1
-1
poppler/CairoOutputDev.cc
poppler/CairoOutputDev.cc
+3
-3
poppler/CairoRescaleBox.cc
poppler/CairoRescaleBox.cc
+5
-5
poppler/Catalog.cc
poppler/Catalog.cc
+2
-2
poppler/CertificateInfo.cc
poppler/CertificateInfo.cc
+2
-2
poppler/CertificateInfo.h
poppler/CertificateInfo.h
+1
-1
poppler/CharCodeToUnicode.cc
poppler/CharCodeToUnicode.cc
+2
-2
poppler/DCTStream.h
poppler/DCTStream.h
+6
-6
poppler/DateInfo.cc
poppler/DateInfo.cc
+2
-2
poppler/DateInfo.h
poppler/DateInfo.h
+1
-1
poppler/Decrypt.cc
poppler/Decrypt.cc
+1
-1
poppler/Error.cc
poppler/Error.cc
+3
-3
poppler/Error.h
poppler/Error.h
+1
-1
poppler/FlateEncoder.h
poppler/FlateEncoder.h
+5
-5
poppler/FlateStream.h
poppler/FlateStream.h
+5
-5
poppler/FontEncodingTables.cc
poppler/FontEncodingTables.cc
+1
-1
poppler/FontInfo.cc
poppler/FontInfo.cc
+5
-5
poppler/Form.cc
poppler/Form.cc
+4
-4
poppler/Form.h
poppler/Form.h
+1
-1
poppler/Function.cc
poppler/Function.cc
+4
-4
poppler/Gfx.cc
poppler/Gfx.cc
+5
-5
poppler/GfxFont.cc
poppler/GfxFont.cc
+6
-6
poppler/GfxState.cc
poppler/GfxState.cc
+3
-3
poppler/GfxState.h
poppler/GfxState.h
+1
-1
poppler/GlobalParams.cc
poppler/GlobalParams.cc
+3
-3
poppler/GlobalParams.h
poppler/GlobalParams.h
+2
-2
poppler/GlobalParamsWin.cc
poppler/GlobalParamsWin.cc
+4
-4
poppler/Hints.cc
poppler/Hints.cc
+1
-1
poppler/Hints.h
poppler/Hints.h
+1
-1
poppler/JBIG2Stream.cc
poppler/JBIG2Stream.cc
+2
-2
poppler/JPXStream.cc
poppler/JPXStream.cc
+1
-1
poppler/Lexer.cc
poppler/Lexer.cc
+5
-5
poppler/Link.cc
poppler/Link.cc
+2
-2
poppler/Movie.cc
poppler/Movie.cc
+1
-1
poppler/NameToCharCode.cc
poppler/NameToCharCode.cc
+1
-1
poppler/NameToUnicodeTable.h
poppler/NameToUnicodeTable.h
+1
-1
poppler/Object.cc
poppler/Object.cc
+1
-1
poppler/Object.h
poppler/Object.h
+3
-3
poppler/OutputDev.cc
poppler/OutputDev.cc
+1
-1
poppler/PDFDoc.cc
poppler/PDFDoc.cc
+9
-9
poppler/PDFDoc.h
poppler/PDFDoc.h
+1
-1
poppler/PSOutputDev.cc
poppler/PSOutputDev.cc
+6
-6
poppler/PSOutputDev.h
poppler/PSOutputDev.h
+1
-1
poppler/PSTokenizer.cc
poppler/PSTokenizer.cc
+2
-2
poppler/Page.cc
poppler/Page.cc
+2
-2
poppler/PageLabelInfo.cc
poppler/PageLabelInfo.cc
+4
-4
poppler/PageLabelInfo.h
poppler/PageLabelInfo.h
+5
-5
poppler/Parser.cc
poppler/Parser.cc
+1
-1
poppler/PreScanOutputDev.cc
poppler/PreScanOutputDev.cc
+1
-1
poppler/Rendition.cc
poppler/Rendition.cc
+1
-1
poppler/SecurityHandler.cc
poppler/SecurityHandler.cc
+1
-1
poppler/SignatureInfo.cc
poppler/SignatureInfo.cc
+2
-2
poppler/SignatureInfo.h
poppler/SignatureInfo.h
+1
-1
poppler/SplashOutputDev.cc
poppler/SplashOutputDev.cc
+1
-1
poppler/StdinCachedFile.cc
poppler/StdinCachedFile.cc
+1
-1
poppler/Stream.cc
poppler/Stream.cc
+6
-6
poppler/StructElement.cc
poppler/StructElement.cc
+1
-1
poppler/StructTreeRoot.cc
poppler/StructTreeRoot.cc
+1
-1
poppler/TextOutputDev.cc
poppler/TextOutputDev.cc
+5
-5
poppler/TextOutputDev.h
poppler/TextOutputDev.h
+1
-1
poppler/UnicodeMap.cc
poppler/UnicodeMap.cc
+2
-2
poppler/UnicodeTypeTable.cc
poppler/UnicodeTypeTable.cc
+1
-1
poppler/XRef.cc
poppler/XRef.cc
+7
-7
poppler/poppler-config.h.cmake
poppler/poppler-config.h.cmake
+1
-1
qt5/src/ArthurOutputDev.cc
qt5/src/ArthurOutputDev.cc
+2
-2
qt5/src/CMakeLists.txt
qt5/src/CMakeLists.txt
+3
-0
qt5/src/poppler-form.cc
qt5/src/poppler-form.cc
+2
-2
qt5/src/poppler-form.h
qt5/src/poppler-form.h
+1
-1
qt5/src/poppler-qiodeviceoutstream.cc
qt5/src/poppler-qiodeviceoutstream.cc
+1
-1
qt5/tests/stress-threads-qt5.cpp
qt5/tests/stress-threads-qt5.cpp
+1
-1
splash/Splash.cc
splash/Splash.cc
+5
-5
splash/Splash.h
splash/Splash.h
+1
-1
splash/SplashBitmap.cc
splash/SplashBitmap.cc
+4
-4
splash/SplashBitmap.h
splash/SplashBitmap.h
+1
-1
splash/SplashClip.cc
splash/SplashClip.cc
+2
-2
splash/SplashFTFontEngine.cc
splash/SplashFTFontEngine.cc
+1
-1
splash/SplashFont.cc
splash/SplashFont.cc
+2
-2
splash/SplashFontEngine.cc
splash/SplashFontEngine.cc
+2
-2
splash/SplashFontFile.cc
splash/SplashFontFile.cc
+1
-1
splash/SplashMath.h
splash/SplashMath.h
+1
-1
splash/SplashPath.cc
splash/SplashPath.cc
+1
-1
splash/SplashScreen.cc
splash/SplashScreen.cc
+2
-2
splash/SplashScreen.h
splash/SplashScreen.h
+1
-1
splash/SplashState.cc
splash/SplashState.cc
+1
-1
splash/SplashXPath.cc
splash/SplashXPath.cc
+2
-2
splash/SplashXPathScanner.cc
splash/SplashXPathScanner.cc
+2
-2
test/gtk-test.cc
test/gtk-test.cc
+1
-1
test/perf-test-preview-win.cc
test/perf-test-preview-win.cc
+1
-1
test/perf-test.cc
test/perf-test.cc
+8
-8
utils/CMakeLists.txt
utils/CMakeLists.txt
+2
-0
utils/HtmlFonts.cc
utils/HtmlFonts.cc
+1
-1
utils/HtmlLinks.h
utils/HtmlLinks.h
+2
-2
utils/HtmlOutputDev.cc
utils/HtmlOutputDev.cc
+7
-7
utils/HtmlOutputDev.h
utils/HtmlOutputDev.h
+1
-1
utils/HtmlUtils.h
utils/HtmlUtils.h
+1
-1
utils/ImageOutputDev.cc
utils/ImageOutputDev.cc
+5
-5
utils/ImageOutputDev.h
utils/ImageOutputDev.h
+1
-1
utils/InMemoryFile.cc
utils/InMemoryFile.cc
+1
-1
utils/InMemoryFile.h
utils/InMemoryFile.h
+1
-1
utils/JSInfo.cc
utils/JSInfo.cc
+1
-1
utils/JSInfo.h
utils/JSInfo.h
+1
-1
utils/Win32Console.h
utils/Win32Console.h
+1
-1
utils/parseargs.cc
utils/parseargs.cc
+5
-5
utils/pdfdetach.cc
utils/pdfdetach.cc
+1
-1
utils/pdffonts.cc
utils/pdffonts.cc
+4
-4
utils/pdfimages.cc
utils/pdfimages.cc
+4
-4
utils/pdfinfo.cc
utils/pdfinfo.cc
+6
-6
utils/pdfseparate.cc
utils/pdfseparate.cc
+5
-5
utils/pdfsig.cc
utils/pdfsig.cc
+5
-5
utils/pdftocairo.cc
utils/pdftocairo.cc
+3
-3
utils/pdftohtml.cc
utils/pdftohtml.cc
+5
-5
utils/pdftoppm.cc
utils/pdftoppm.cc
+3
-3
utils/pdftops.cc
utils/pdftops.cc
+4
-4
utils/pdftotext.cc
utils/pdftotext.cc
+4
-4
No files found.
.gitlab-ci.yml
View file @
1c1d9a70
...
...
@@ -40,7 +40,7 @@ build_clang_libcpp:
script
:
-
git clone --branch ${CI_COMMIT_REF_NAME} --depth 1 ${TEST_DATA_URL} test-data || git clone --depth 1 ${UPSTREAM_TEST_DATA_URL} test-data
-
mkdir -p build && cd build
-
CC=clang CXX=clang++ cmake -G Ninja -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DTESTDATADIR=$PWD/../test-data -DCMAKE_CXX_CLANG_TIDY="clang-tidy;-header-filter=.;-checks=-*,performance-*,,bugprone-*,readability-inconsistent-declaration-parameter-name,readability-string-compare,-bugprone-narrowing-conversions,-bugprone-macro-parentheses,-bugprone-suspicious-string-compare,-bugprone-incorrect-roundings,-bugprone-undefined-memory-manipulation;-warnings-as-errors=*" ..
-
CC=clang CXX=clang++ cmake -G Ninja -DCMAKE_CXX_FLAGS=-stdlib=libc++ -DTESTDATADIR=$PWD/../test-data -DCMAKE_CXX_CLANG_TIDY="clang-tidy;-header-filter=.;-checks=-*,performance-*,,bugprone-*,readability-inconsistent-declaration-parameter-name,readability-string-compare,
modernize-deprecated-headers,
-bugprone-narrowing-conversions,-bugprone-macro-parentheses,-bugprone-suspicious-string-compare,-bugprone-incorrect-roundings,-bugprone-undefined-memory-manipulation;-warnings-as-errors=*" ..
-
ninja
-
ctest --output-on-failure
...
...
CMakeLists.txt
View file @
1c1d9a70
...
...
@@ -263,7 +263,6 @@ if(ENABLE_ZLIB)
endif
()
if
(
NSS3_FOUND
)
add_definitions
(
${
NSS3_CFLAGS
}
)
set
(
ENABLE_NSS3 ON
)
endif
()
if
(
JPEG_FOUND
)
...
...
@@ -461,6 +460,7 @@ if (ENABLE_NSS3)
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.6.0"
)
set
(
poppler_LIBS
${
poppler_LIBS
}
${
NSS3_LIBRARIES
}
)
include_directories
(
SYSTEM
${
NSS3_INCLUDE_DIRS
}
)
else
()
set
(
poppler_LIBS
${
poppler_LIBS
}
PkgConfig::NSS3
)
endif
()
...
...
cpp/poppler-private.h
View file @
1c1d9a70
...
...
@@ -32,7 +32,7 @@
#include "Error.h"
#include "CharTypes.h"
#include <
stdarg.h
>
#include <
cstdarg
>
class
GooString
;
class
PDFRectangle
;
...
...
fofi/FoFiBase.cc
View file @
1c1d9a70
...
...
@@ -26,8 +26,8 @@
#include <config.h>
#include <
stdio.h
>
#include <
limits.h
>
#include <
cstdio
>
#include <
climits
>
#include "goo/gfile.h"
#include "goo/gmem.h"
#include "poppler/Error.h"
...
...
fofi/FoFiEncodings.cc
View file @
1c1d9a70
...
...
@@ -23,7 +23,7 @@
#include <config.h>
#include <
stdlib.h
>
#include <
cstdlib
>
#include "FoFiEncodings.h"
//------------------------------------------------------------------------
...
...
fofi/FoFiIdentifier.cc
View file @
1c1d9a70
...
...
@@ -23,9 +23,9 @@
//
//========================================================================
#include <
stdio.h
>
#include <
string.h
>
#include <
limits.h
>
#include <
cstdio
>
#include <
cstring
>
#include <
climits
>
#include "goo/gfile.h"
#include "goo/GooCheckedOps.h"
#include "FoFiIdentifier.h"
...
...
fofi/FoFiTrueType.cc
View file @
1c1d9a70
...
...
@@ -32,9 +32,9 @@
#include <config.h>
#include <
stdlib.h
>
#include <
string.h
>
#include <
limits.h
>
#include <
cstdlib
>
#include <
cstring
>
#include <
climits
>
#include <algorithm>
#include "goo/gmem.h"
#include "goo/GooLikely.h"
...
...
fofi/FoFiTrueType.h
View file @
1c1d9a70
...
...
@@ -28,7 +28,7 @@
#ifndef FOFITRUETYPE_H
#define FOFITRUETYPE_H
#include
"stddef.h"
#include
<cstddef>
#include <unordered_map>
#include <string>
#include "FoFiBase.h"
...
...
fofi/FoFiType1.cc
View file @
1c1d9a70
...
...
@@ -27,9 +27,9 @@
#include <config.h>
#include <
stdlib.h
>
#include <
string.h
>
#include <
limits.h
>
#include <
cstdlib
>
#include <
cstring
>
#include <
climits
>
#include "goo/glibc.h"
#include "goo/gmem.h"
#include "goo/GooLikely.h"
...
...
fofi/FoFiType1C.cc
View file @
1c1d9a70
...
...
@@ -26,9 +26,9 @@
#include <config.h>
#include <
stdlib.h
>
#include <
string.h
>
#include <
math.
h>
#include <
cstdlib
>
#include <
cstring
>
#include <
cmat
h>
#include "goo/gmem.h"
#include "goo/gstrtod.h"
#include "goo/GooLikely.h"
...
...
@@ -2673,7 +2673,7 @@ int FoFiType1C::getDeltaIntArray(int *arr, int maxLen) const {
x
=
0
;
for
(
i
=
0
;
i
<
n
;
++
i
)
{
int
y
;
if
(
unlikely
(
isinf
(
ops
[
i
].
num
)))
{
if
(
unlikely
(
std
::
isinf
(
ops
[
i
].
num
)))
{
return
i
;
}
if
(
checkedAdd
(
x
,
(
int
)
ops
[
i
].
num
,
&
y
))
{
...
...
glib/demo/CMakeLists.txt
View file @
1c1d9a70
include_directories
(
SYSTEM
${
GTK3_INCLUDE_DIRS
}
)
...
...
glib/poppler-attachment.cc
View file @
1c1d9a70
...
...
@@ -17,7 +17,7 @@
*/
#include "config.h"
#include <
errno.h
>
#include <
cerrno
>
#include <goo/gfile.h>
...
...
glib/poppler-document.cc
View file @
1c1d9a70
...
...
@@ -22,7 +22,7 @@
*/
#include "config.h"
#include <
string.h
>
#include <
cstring
>
#ifndef __GI_SCANNER__
#include <memory>
...
...
glib/poppler-media.cc
View file @
1c1d9a70
...
...
@@ -19,7 +19,7 @@
#include "config.h"
#include <
errno.h
>
#include <
cerrno
>
#include <goo/gfile.h>
...
...
glib/poppler-page.cc
View file @
1c1d9a70
...
...
@@ -17,7 +17,7 @@
*/
#include "config.h"
#include <
math.
h>
#include <
cmat
h>
#ifndef __GI_SCANNER__
#include <GlobalParams.h>
...
...
glib/poppler-structure-element.cc
View file @
1c1d9a70
...
...
@@ -25,7 +25,7 @@
#include <StructElement.h>
#include <GlobalParams.h>
#include <UnicodeMap.h>
#include <
math.
h>
#include <
cmat
h>
#endif
/* !__GI_SCANNER__ */
#include "poppler.h"
...
...
goo/GooTimer.cc
View file @
1c1d9a70
...
...
@@ -14,7 +14,7 @@
#include <config.h>
#include "GooTimer.h"
#include <
string.h
>
#include <
cstring
>
#define USEC_PER_SEC 1000000
...
...
goo/ImgWriter.h
View file @
1c1d9a70
...
...
@@ -15,7 +15,7 @@
#ifndef IMGWRITER_H
#define IMGWRITER_H
#include <
stdio.h
>
#include <
cstdio
>
class
ImgWriter
{
...
...
goo/PNGWriter.cc
View file @
1c1d9a70
...
...
@@ -19,8 +19,8 @@
#ifdef ENABLE_LIBPNG
#include <zlib.h>
#include <
stdlib.h
>
#include <
string.h
>
#include <
cstdlib
>
#include <
cstring
>
#include "poppler/Error.h"
#include "goo/gmem.h"
...
...
goo/TiffWriter.cc
View file @
1c1d9a70
...
...
@@ -16,7 +16,7 @@
#ifdef ENABLE_LIBTIFF
#include <
string.h
>
#include <
cstring
>
#ifdef _WIN32
#include <io.h>
...
...
goo/gbasename.cc
View file @
1c1d9a70
...
...
@@ -43,8 +43,8 @@
#ifndef _MSC_VER
# include <libgen.h>
#endif
#include <
stdlib.h
>
#include <
string.h
>
#include <
cstdlib
>
#include <
cstring
>
std
::
string
gbasename
(
const
char
*
filename
)
{
...
...
goo/gfile.cc
View file @
1c1d9a70
...
...
@@ -40,11 +40,11 @@
# include <sys/types.h>
# include <sys/stat.h>
# include <fcntl.h>
# include <
limits.h
>
# include <
string.h
>
# include <
climits
>
# include <
cstring
>
# include <pwd.h>
#endif // _WIN32
#include <
stdio.h
>
#include <
cstdio
>
#include <limits>
#include "GooString.h"
#include "gfile.h"
...
...
goo/gfile.h
View file @
1c1d9a70
...
...
@@ -36,10 +36,10 @@
#define GFILE_H
#include "poppler-config.h"
#include <
stdio.h
>
#include <
stdlib.h
>
#include <
stddef.h
>
#include <
time.h
>
#include <
cstdio
>
#include <
cstdlib
>
#include <
cstddef
>
#include <
ctime
>
extern
"C"
{
#if defined(_WIN32)
# include <sys/stat.h>
...
...
goo/glibc.h
View file @
1c1d9a70
...
...
@@ -16,7 +16,7 @@
#include "config.h"
#include <
time.h
>
#include <
ctime
>
#ifndef HAVE_GMTIME_R
struct
tm
*
gmtime_r
(
const
time_t
*
timep
,
struct
tm
*
result
);
...
...
goo/glibc_strtok_r.cc
View file @
1c1d9a70
...
...
@@ -61,7 +61,7 @@
#ifndef HAVE_STRTOK_R
#include <
string.h
>
#include <
cstring
>
#define __rawmemchr strchr
...
...
goo/gstrtod.cc
View file @
1c1d9a70
...
...
@@ -22,10 +22,10 @@
#include "gstrtod.h"
#include <
locale.h
>
#include <
errno.h
>
#include <
stdlib.h
>
#include <
string.h
>
#include <
clocale
>
#include <
cerrno
>
#include <
cstdlib
>
#include <
cstring
>
#define ascii_isspace(c) \
(c == ' ' || c == '\f' || c == '\n' || c == '\r' || c == '\t' || c == '\v')
...
...
poppler/Annot.cc
View file @
1c1d9a70
...
...
@@ -52,9 +52,9 @@
#include <config.h>
#include <
stdlib.h
>
#include <
math.
h>
#include <
assert.h
>
#include <
cstdlib
>
#include <
cmat
h>
#include <
cassert
>
#include "goo/gmem.h"
#include "goo/gstrtod.h"
#include "Error.h"
...
...
@@ -77,7 +77,7 @@
#include "FileSpec.h"
#include "DateInfo.h"
#include "Link.h"
#include <
string.h
>
#include <
cstring
>
#include <algorithm>
#ifndef M_PI
...
...
poppler/BuiltinFont.cc
View file @
1c1d9a70
...
...
@@ -8,8 +8,8 @@
#include <config.h>
#include <
stdlib.h
>
#include <
string.h
>
#include <
cstdlib
>
#include <
cstring
>
#include "goo/gmem.h"
#include "FontEncodingTables.h"
#include "BuiltinFont.h"
...
...
poppler/BuiltinFontTables.cc
View file @
1c1d9a70
...
...
@@ -7,7 +7,7 @@
//========================================================================
#include <config.h>
#include <
stdlib.h
>
#include <
cstdlib
>
#include "FontEncodingTables.h"
#include "BuiltinFontTables.h"
...
...
poppler/CMap.cc
View file @
1c1d9a70
...
...
@@ -27,10 +27,10 @@
#include <config.h>
#include <
stdio.h
>
#include <
stdlib.h
>
#include <
string.h
>
#include <c
type.h
>
#include <
cstdio
>
#include <
cstdlib
>
#include <
cstring
>
#include <c
ctype
>
#include "goo/gmem.h"
#include "goo/gfile.h"
#include "goo/GooString.h"
...
...
poppler/CairoFontEngine.cc
View file @
1c1d9a70
...
...
@@ -39,7 +39,7 @@
#include <config.h>
#include "config.h"
#include <
string.h
>
#include <
cstring
>
#include "CairoFontEngine.h"
#include "CairoOutputDev.h"
#include "GlobalParams.h"
...
...
poppler/CairoOutputDev.cc
View file @
1c1d9a70
...
...
@@ -41,9 +41,9 @@
#include <config.h>
#include <cstdint>
#include <
string.h
>
#include <
math.
h>
#include <
assert.h
>
#include <
cstring
>
#include <
cmat
h>
#include <
cassert
>
#include <cairo.h>
#include "goo/gfile.h"
...
...
poppler/CairoRescaleBox.cc
View file @
1c1d9a70
...
...
@@ -47,11 +47,11 @@
#include <config.h>
#include <cstdint>
#include <
stdint.h
>
#include <
stdio.h
>
#include <
assert.h
>
#include <
stdlib.h
>
#include <
math.
h>
#include <
cstdint
>
#include <
cstdio
>
#include <
cassert
>
#include <
cstdlib
>
#include <
cmat
h>
#include "goo/gmem.h"
#include "CairoRescaleBox.h"
...
...
poppler/Catalog.cc
View file @
1c1d9a70
...
...
@@ -43,8 +43,8 @@
#include <config.h>
#include <
stddef.h
>
#include <
stdlib.h
>
#include <
cstddef
>
#include <
cstdlib
>
#include "goo/gmem.h"
#include "Object.h"
#include "PDFDoc.h"
...
...
poppler/CertificateInfo.cc
View file @
1c1d9a70
...
...
@@ -12,8 +12,8 @@
#include "CertificateInfo.h"
#include <
string.h
>
#include <
stdlib.h
>
#include <
cstring
>
#include <
cstdlib
>
X509CertificateInfo
::
PublicKeyInfo
::
PublicKeyInfo
()
:
publicKeyType
(
OTHERKEY
),
...
...
poppler/CertificateInfo.h
View file @
1c1d9a70
...
...
@@ -14,7 +14,7 @@
#define CERTIFICATEINFO_H
#include <memory>
#include <
time.h
>
#include <
ctime
>
#include "goo/GooString.h"
enum
CertificateKeyUsageExtension
...
...
poppler/CharCodeToUnicode.cc
View file @
1c1d9a70
...
...
@@ -36,8 +36,8 @@
#include <config.h>
#include <
stdio.h
>
#include <
string.h
>
#include <
cstdio
>
#include <
cstring
>
#include "goo/glibc.h"
#include "goo/gmem.h"
#include "goo/gfile.h"
...
...
poppler/DCTStream.h
View file @
1c1d9a70
...
...
@@ -17,15 +17,15 @@
#define DCTSTREAM_H
#include "poppler-config.h"
#include <
stdio.h
>
#include <
stdlib.h
>
#include <
stddef.h
>
#include <
setjmp.h
>
#include <
cstdio
>
#include <
cstdlib
>
#include <
cstddef
>
#include <
csetjmp
>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <
string.h
>
#include <c
type.h
>
#include <
cstring
>
#include <c
ctype
>
#include "goo/gmem.h"
#include "goo/gfile.h"
#include "Error.h"
...
...
poppler/DateInfo.cc
View file @
1c1d9a70
...
...
@@ -26,8 +26,8 @@
#include "glibc.h"
#include "DateInfo.h"
#include <
stdio.h
>
#include <
string.h
>
#include <
cstdio
>
#include <
cstring
>
/* See PDF Reference 1.3, Section 3.8.2 for PDF Date representation */
bool
parseDateString
(
const
char
*
dateString
,
int
*
year
,
int
*
month
,
int
*
day
,
int
*
hour
,
int
*
minute
,
int
*
second
,
char
*
tz
,
int
*
tzHour
,
int
*
tzMinute
)
...
...
poppler/DateInfo.h
View file @
1c1d9a70
...
...
@@ -25,7 +25,7 @@
#define DATE_INFO_H
#include "goo/GooString.h"
#include <
time.h
>
#include <
ctime
>
bool
parseDateString
(
const
char
*
string
,
int
*
year
,
int
*
month
,
int
*
day
,
int
*
hour
,
int
*
minute
,
int
*
second
,
char
*
tz
,
int
*
tzHour
,
int
*
tzMinute
);
...
...
poppler/Decrypt.cc
View file @
1c1d9a70
...
...
@@ -31,7 +31,7 @@
#include <config.h>
#include <cstdint>
#include <
string.h
>
#include <
cstring
>
#include "goo/gmem.h"
#include "goo/grandom.h"
#include "Decrypt.h"
...
...
poppler/Error.cc
View file @
1c1d9a70
...
...
@@ -27,9 +27,9 @@
#include <config.h>
#include <poppler-config.h>
#include <
stdio.h
>
#include <
stddef.h
>
#include <
stdarg.h
>
#include <
cstdio
>
#include <
cstddef
>
#include <
cstdarg
>
#include "GooString.h"
#include "GlobalParams.h"
#include "Error.h"
...
...
poppler/Error.h
View file @
1c1d9a70
...
...
@@ -27,7 +27,7 @@
#ifndef ERROR_H
#define ERROR_H
#include <
stdarg.h
>
#include <
cstdarg
>
#include "poppler-config.h"
#include "goo/gfile.h"
#include "goo/GooString.h"
...
...
poppler/FlateEncoder.h
View file @
1c1d9a70
...
...
@@ -13,14 +13,14 @@
#define FLATEENCODE_H
#include "poppler-config.h"
#include <
stdio.h
>
#include <
stdlib.h
>
#include <
stddef.h
>
#include <
cstdio
>
#include <
cstdlib
>
#include <
cstddef
>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <
string.h
>
#include <c
type.h
>
#include <
cstring
>
#include <c
ctype
>
#include "goo/gmem.h"
#include "goo/gfile.h"
#include "Error.h"
...
...
poppler/FlateStream.h
View file @
1c1d9a70
...
...
@@ -13,14 +13,14 @@
#define FLATESTREAM_H
#include "poppler-config.h"
#include <
stdio.h
>
#include <
stdlib.h
>
#include <
stddef.h
>
#include <
cstdio
>
#include <
cstdlib
>
#include <
cstddef
>
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include <
string.h
>
#include <c
type.h
>
#include <
cstring
>
#include <c
ctype
>
#include "goo/gmem.h"
#include "goo/gfile.h"
#include "Error.h"
...
...
poppler/FontEncodingTables.cc
View file @
1c1d9a70
...
...
@@ -7,7 +7,7 @@
//========================================================================
#include <config.h>
#include <
stdlib.h
>
#include <
cstdlib
>
#include "FontEncodingTables.h"
const
char
*
macRomanEncoding
[
256
]
=
{
...
...
poppler/FontInfo.cc
View file @
1c1d9a70
...
...
@@ -30,11 +30,11 @@
//========================================================================
#include "config.h"
#include <
stdio.h
>
#include <
stdlib.h
>
#include <
stddef.h
>
#include <
string.h
>
#include <
math.
h>
#include <
cstdio
>
#include <
cstdlib
>
#include <
cstddef
>
#include <
cstring
>
#include <
cmat
h>
#include "GlobalParams.h"
#include "Error.h"
#include "Object.h"
...
...
poppler/Form.cc
View file @
1c1d9a70
...
...
@@ -34,10 +34,10 @@
#include <set>
#include <limits>
#include <
stddef.h
>
#include <
stdlib.h
>
#include <
string.h
>
#include <c
type.h
>
#include <
cstddef
>
#include <
cstdlib
>
#include <
cstring
>
#include <c
ctype
>
#include "goo/gmem.h"