summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-01-01 12:33:28 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-01-01 12:33:28 +0000
commit7750bd6e5ca2361a0717b4246aec5b2bf68aef66 (patch)
treebd8fa514e0ec01fee11506cc63ea8ef55f62f8e3 /Build
parent506da14a49b430b56f1b69cd3ee299b9312695b2 (diff)
poppler 0.22.0
git-svn-id: svn://tug.org/texlive/trunk@28683 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/libs/Makefile.in155
-rw-r--r--Build/source/libs/README4
-rw-r--r--Build/source/libs/aclocal.m441
-rw-r--r--Build/source/libs/cairo/Makefile.in490
-rw-r--r--Build/source/libs/cairo/aclocal.m441
-rwxr-xr-xBuild/source/libs/cairo/configure8
-rwxr-xr-xBuild/source/libs/configure8
-rw-r--r--Build/source/libs/freetype/Makefile.in43
-rw-r--r--Build/source/libs/freetype/aclocal.m441
-rwxr-xr-xBuild/source/libs/freetype/configure8
-rw-r--r--Build/source/libs/gd/Makefile.in145
-rw-r--r--Build/source/libs/gd/aclocal.m441
-rwxr-xr-xBuild/source/libs/gd/configure8
-rw-r--r--Build/source/libs/gd/include/Makefile.in34
-rw-r--r--Build/source/libs/graphite/Makefile.in158
-rw-r--r--Build/source/libs/graphite/aclocal.m441
-rwxr-xr-xBuild/source/libs/graphite/configure8
-rw-r--r--Build/source/libs/graphite/include/graphite/Makefile.in32
-rw-r--r--Build/source/libs/graphite2/Makefile.in145
-rw-r--r--Build/source/libs/graphite2/aclocal.m441
-rwxr-xr-xBuild/source/libs/graphite2/configure8
-rw-r--r--Build/source/libs/graphite2/include/graphite2/Makefile.in34
-rw-r--r--Build/source/libs/harfbuzz/Makefile.in147
-rw-r--r--Build/source/libs/harfbuzz/aclocal.m441
-rwxr-xr-xBuild/source/libs/harfbuzz/configure8
-rw-r--r--Build/source/libs/harfbuzz/include/Makefile.in34
-rw-r--r--Build/source/libs/icu/Makefile.in155
-rw-r--r--Build/source/libs/icu/aclocal.m441
-rwxr-xr-xBuild/source/libs/icu/configure8
-rw-r--r--Build/source/libs/icu/include/Makefile.in120
-rw-r--r--Build/source/libs/icu/include/layout/Makefile.in32
-rw-r--r--Build/source/libs/icu/include/unicode/Makefile.in32
-rw-r--r--Build/source/libs/libpng/Makefile.in599
-rw-r--r--Build/source/libs/libpng/aclocal.m441
-rwxr-xr-xBuild/source/libs/libpng/configure8
-rw-r--r--Build/source/libs/libpng/include/Makefile.in32
-rw-r--r--Build/source/libs/pixman/Makefile.in609
-rw-r--r--Build/source/libs/pixman/aclocal.m441
-rwxr-xr-xBuild/source/libs/pixman/configure8
-rw-r--r--Build/source/libs/pixman/include/Makefile.in34
-rw-r--r--Build/source/libs/poppler/ChangeLog5
-rw-r--r--Build/source/libs/poppler/Makefile.in161
-rw-r--r--Build/source/libs/poppler/aclocal.m441
-rwxr-xr-xBuild/source/libs/poppler/configure38
-rw-r--r--Build/source/libs/poppler/fofi/Makefile.in32
-rw-r--r--Build/source/libs/poppler/goo/Makefile.in32
-rw-r--r--Build/source/libs/poppler/poppler-0.21.0/goo/JpegWriter.cc147
-rw-r--r--Build/source/libs/poppler/poppler-0.21.0/goo/PNGWriter.cc176
-rw-r--r--Build/source/libs/poppler/poppler-0.21.0/goo/PNGWriter.h63
-rw-r--r--Build/source/libs/poppler/poppler-0.21.0/goo/TiffWriter.h56
-rw-r--r--Build/source/libs/poppler/poppler-0.21.0/poppler/CairoRescaleBox.h12
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0-PATCHES/ChangeLog (renamed from Build/source/libs/poppler/poppler-0.21.0-PATCHES/ChangeLog)6
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0-PATCHES/TL-Changes (renamed from Build/source/libs/poppler/poppler-0.21.0-PATCHES/TL-Changes)2
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0-PATCHES/patch-02-warnings (renamed from Build/source/libs/poppler/poppler-0.21.0-PATCHES/patch-02-warnings)34
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/AUTHORS (renamed from Build/source/libs/poppler/poppler-0.21.0/AUTHORS)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/CMakeLists.txt (renamed from Build/source/libs/poppler/poppler-0.21.0/CMakeLists.txt)7
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/COPYING (renamed from Build/source/libs/poppler/poppler-0.21.0/COPYING)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/ChangeLog (renamed from Build/source/libs/poppler/poppler-0.21.0/ChangeLog)2248
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/ConfigureChecks.cmake (renamed from Build/source/libs/poppler/poppler-0.21.0/ConfigureChecks.cmake)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/INSTALL (renamed from Build/source/libs/poppler/poppler-0.21.0/INSTALL)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/Makefile.am (renamed from Build/source/libs/poppler/poppler-0.21.0/Makefile.am)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/NEWS (renamed from Build/source/libs/poppler/poppler-0.21.0/NEWS)91
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/README (renamed from Build/source/libs/poppler/poppler-0.21.0/README)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/README-XPDF (renamed from Build/source/libs/poppler/poppler-0.21.0/README-XPDF)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/TODO (renamed from Build/source/libs/poppler/poppler-0.21.0/TODO)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/config.h.cmake (renamed from Build/source/libs/poppler/poppler-0.21.0/config.h.cmake)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/config.h.in (renamed from Build/source/libs/poppler/poppler-0.21.0/config.h.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/configure.ac (renamed from Build/source/libs/poppler/poppler-0.21.0/configure.ac)5
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiBase.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiBase.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiBase.h (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiBase.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiEncodings.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiEncodings.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiEncodings.h (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiEncodings.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiIdentifier.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiIdentifier.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiIdentifier.h (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiIdentifier.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiTrueType.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiTrueType.cc)684
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiTrueType.h (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiTrueType.h)11
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1.h (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1C.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1C.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1C.h (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1C.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/fofi/Makefile.am (renamed from Build/source/libs/poppler/poppler-0.21.0/fofi/Makefile.am)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/FixedPoint.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/FixedPoint.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/FixedPoint.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/FixedPoint.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/GooHash.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/GooHash.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/GooHash.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/GooHash.h)16
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/GooLikely.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/GooLikely.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/GooList.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/GooList.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/GooList.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/GooList.h)16
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/GooMutex.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/GooMutex.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/GooString.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/GooString.cc)5
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/GooString.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/GooString.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/GooTimer.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/GooTimer.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/GooTimer.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/GooTimer.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/ImgWriter.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/ImgWriter.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/ImgWriter.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/ImgWriter.h)20
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/JpegWriter.cc183
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/JpegWriter.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/JpegWriter.h)49
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/Makefile.am (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/Makefile.am)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/PNGWriter.cc193
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/PNGWriter.h61
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/TiffWriter.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/TiffWriter.cc)151
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/TiffWriter.h60
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/gfile.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/gfile.cc)5
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/gfile.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/gfile.h)4
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/gmem.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/gmem.cc)22
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/gmem.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/gmem.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/gmempp.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/gmempp.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/grandom.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/grandom.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/grandom.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/grandom.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/gstrtod.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/gstrtod.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/gstrtod.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/gstrtod.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/gtypes.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/gtypes.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/goo/gtypes_p.h (renamed from Build/source/libs/poppler/poppler-0.21.0/goo/gtypes_p.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/gtk-doc.make (renamed from Build/source/libs/poppler/poppler-0.21.0/gtk-doc.make)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-cairo-uninstalled.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-cairo-uninstalled.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-cairo.pc.cmake (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-cairo.pc.cmake)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-cairo.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-cairo.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-cpp-uninstalled.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-cpp-uninstalled.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-cpp.pc.cmake (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-cpp.pc.cmake)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-cpp.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-cpp.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-glib-uninstalled.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-glib-uninstalled.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-glib.pc.cmake (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-glib.pc.cmake)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-glib.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-glib.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-qt4-uninstalled.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-qt4-uninstalled.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-qt4.pc.cmake (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-qt4.pc.cmake)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-qt4.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-qt4.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-splash-uninstalled.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-splash-uninstalled.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-splash.pc.cmake (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-splash.pc.cmake)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-splash.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-splash.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler-uninstalled.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler-uninstalled.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler.pc.cmake (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler.pc.cmake)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler.pc.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler.pc.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Annot.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Annot.cc)54
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Annot.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Annot.h)2
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Array.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Array.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Array.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Array.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/ArthurOutputDev.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/ArthurOutputDev.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/ArthurOutputDev.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/ArthurOutputDev.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFont.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFont.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFont.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFont.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFontTables.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFontTables.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFontTables.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFontTables.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CMap.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CMap.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CMap.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CMap.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CachedFile.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CachedFile.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CachedFile.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CachedFile.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CairoFontEngine.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CairoFontEngine.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CairoFontEngine.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CairoFontEngine.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CairoOutputDev.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CairoOutputDev.cc)366
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CairoOutputDev.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CairoOutputDev.h)5
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CairoRescaleBox.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CairoRescaleBox.cc)178
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CairoRescaleBox.h61
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Catalog.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Catalog.cc)19
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Catalog.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Catalog.h)9
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CharCodeToUnicode.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CharCodeToUnicode.cc)13
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CharCodeToUnicode.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CharCodeToUnicode.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CharTypes.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CharTypes.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CompactFontTables.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CompactFontTables.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CurlCachedFile.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CurlCachedFile.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CurlCachedFile.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CurlCachedFile.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CurlPDFDocBuilder.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CurlPDFDocBuilder.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/CurlPDFDocBuilder.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/CurlPDFDocBuilder.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/DCTStream.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/DCTStream.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/DCTStream.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/DCTStream.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/DateInfo.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/DateInfo.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/DateInfo.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/DateInfo.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Decrypt.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Decrypt.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Decrypt.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Decrypt.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Dict.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Dict.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Dict.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Dict.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Error.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Error.cc)21
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Error.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Error.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/ErrorCodes.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/ErrorCodes.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/FileSpec.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/FileSpec.cc)3
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/FileSpec.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/FileSpec.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/FlateStream.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/FlateStream.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/FlateStream.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/FlateStream.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/FontEncodingTables.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/FontEncodingTables.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/FontEncodingTables.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/FontEncodingTables.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/FontInfo.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/FontInfo.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/FontInfo.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/FontInfo.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Form.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Form.cc)204
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Form.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Form.h)12
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Function.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Function.cc)63
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Function.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Function.h)11
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Gfx.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Gfx.cc)10
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Gfx.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Gfx.h)5
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/GfxFont.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/GfxFont.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/GfxFont.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/GfxFont.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/GfxState.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/GfxState.cc)28
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/GfxState.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/GfxState.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/GfxState_helpers.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/GfxState_helpers.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/GlobalParams.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/GlobalParams.cc)6
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/GlobalParams.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/GlobalParams.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/GlobalParamsWin.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/GlobalParamsWin.cc)4
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Hints.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Hints.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Hints.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Hints.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/JArithmeticDecoder.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/JArithmeticDecoder.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/JArithmeticDecoder.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/JArithmeticDecoder.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/JBIG2Stream.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/JBIG2Stream.cc)105
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/JBIG2Stream.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/JBIG2Stream.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/JPEG2000Stream.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/JPEG2000Stream.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/JPEG2000Stream.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/JPEG2000Stream.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/JPXStream.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/JPXStream.cc)114
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/JPXStream.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/JPXStream.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Lexer.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Lexer.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Lexer.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Lexer.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Linearization.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Linearization.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Linearization.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Linearization.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Link.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Link.cc)34
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Link.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Link.h)17
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/LocalPDFDocBuilder.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/LocalPDFDocBuilder.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/LocalPDFDocBuilder.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/LocalPDFDocBuilder.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Makefile.am (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Makefile.am)3
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Movie.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Movie.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Movie.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Movie.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/NameToCharCode.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/NameToCharCode.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/NameToCharCode.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/NameToCharCode.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/NameToUnicodeTable.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/NameToUnicodeTable.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Object.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Object.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Object.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Object.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/OptionalContent.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/OptionalContent.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/OptionalContent.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/OptionalContent.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Outline.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Outline.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Outline.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Outline.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/OutputDev.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/OutputDev.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/OutputDev.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/OutputDev.h)5
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDoc.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDoc.cc)48
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDoc.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDoc.h)6
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocBuilder.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocBuilder.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocEncoding.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocEncoding.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocEncoding.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocEncoding.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocFactory.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocFactory.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocFactory.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocFactory.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PSOutputDev.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PSOutputDev.cc)4
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PSOutputDev.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PSOutputDev.h)4
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PSTokenizer.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PSTokenizer.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PSTokenizer.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PSTokenizer.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Page.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Page.cc)3
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Page.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Page.h)2
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PageLabelInfo.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PageLabelInfo.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PageLabelInfo.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PageLabelInfo.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PageTransition.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PageTransition.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PageTransition.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PageTransition.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Parser.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Parser.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Parser.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Parser.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PopplerCache.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PopplerCache.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PopplerCache.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PopplerCache.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PreScanOutputDev.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PreScanOutputDev.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/PreScanOutputDev.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/PreScanOutputDev.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/ProfileData.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/ProfileData.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/ProfileData.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/ProfileData.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Rendition.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Rendition.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Rendition.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Rendition.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/SecurityHandler.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/SecurityHandler.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/SecurityHandler.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/SecurityHandler.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Sound.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Sound.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Sound.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Sound.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/SplashOutputDev.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/SplashOutputDev.cc)20
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/SplashOutputDev.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/SplashOutputDev.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/StdinCachedFile.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/StdinCachedFile.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/StdinCachedFile.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/StdinCachedFile.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/StdinPDFDocBuilder.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/StdinPDFDocBuilder.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/StdinPDFDocBuilder.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/StdinPDFDocBuilder.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Stream-CCITT.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Stream-CCITT.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Stream.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Stream.cc)105
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/Stream.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/Stream.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/TextOutputDev.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/TextOutputDev.cc)10
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/TextOutputDev.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/TextOutputDev.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UTF.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/UTF.cc)14
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UTF.h39
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UTF8.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/UTF.h)32
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeCClassTables.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeCClassTables.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeCompTables.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeCompTables.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeDecompTables.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeDecompTables.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeMap.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeMap.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeMap.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeMap.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeMapTables.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeMapTables.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeTypeTable.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeTypeTable.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeTypeTable.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeTypeTable.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/ViewerPreferences.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/ViewerPreferences.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/ViewerPreferences.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/ViewerPreferences.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/XRef.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/XRef.cc)2
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/XRef.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/XRef.h)1
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/XpdfPluginAPI.cc (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/XpdfPluginAPI.cc)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/XpdfPluginAPI.h (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/XpdfPluginAPI.h)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/gen-unicode-tables.py (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/gen-unicode-tables.py)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/poppler-config.h.cmake (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/poppler-config.h.cmake)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/poppler-config.h.in (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/poppler-config.h.in)0
-rw-r--r--Build/source/libs/poppler/poppler-0.22.0/poppler/strtok_r.cpp (renamed from Build/source/libs/poppler/poppler-0.21.0/poppler/strtok_r.cpp)0
-rw-r--r--Build/source/libs/poppler/poppler/Makefile.in36
-rw-r--r--Build/source/libs/poppler/version.ac2
-rw-r--r--Build/source/libs/t1lib/Makefile.in558
-rw-r--r--Build/source/libs/t1lib/aclocal.m441
-rwxr-xr-xBuild/source/libs/t1lib/configure8
-rw-r--r--Build/source/libs/teckit/Makefile.in602
-rw-r--r--Build/source/libs/teckit/aclocal.m441
-rwxr-xr-xBuild/source/libs/teckit/configure8
-rw-r--r--Build/source/libs/teckit/include/teckit/Makefile.in32
-rw-r--r--Build/source/libs/xpdf/Makefile.in161
-rw-r--r--Build/source/libs/xpdf/aclocal.m441
-rwxr-xr-xBuild/source/libs/xpdf/configure8
-rw-r--r--Build/source/libs/xpdf/fofi/Makefile.in32
-rw-r--r--Build/source/libs/xpdf/goo/Makefile.in32
-rw-r--r--Build/source/libs/xpdf/splash/Makefile.in32
-rw-r--r--Build/source/libs/xpdf/xpdf/Makefile.in32
-rw-r--r--Build/source/libs/zlib/Makefile.in599
-rw-r--r--Build/source/libs/zlib/aclocal.m441
-rwxr-xr-xBuild/source/libs/zlib/configure8
-rw-r--r--Build/source/libs/zlib/include/Makefile.in32
-rw-r--r--Build/source/libs/zziplib/Makefile.in604
-rw-r--r--Build/source/libs/zziplib/aclocal.m441
-rwxr-xr-xBuild/source/libs/zziplib/configure8
-rw-r--r--Build/source/libs/zziplib/include/zzip/Makefile.in32
314 files changed, 8375 insertions, 4458 deletions
diff --git a/Build/source/libs/Makefile.in b/Build/source/libs/Makefile.in
index e6160e3333e..948c04a1ca5 100644
--- a/Build/source/libs/Makefile.in
+++ b/Build/source/libs/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -50,15 +50,16 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(top_srcdir)/../build-aux/config.guess \
- $(top_srcdir)/../build-aux/config.sub \
- $(top_srcdir)/../build-aux/install-sh \
- $(top_srcdir)/../build-aux/missing $(top_srcdir)/configure \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) ChangeLog README \
../build-aux/config.guess ../build-aux/config.sub \
../build-aux/depcomp ../build-aux/install-sh \
- ../build-aux/ltmain.sh ../build-aux/missing \
- ../build-aux/texinfo.tex ../build-aux/ylwrap ChangeLog
+ ../build-aux/missing ../build-aux/texinfo.tex \
+ ../build-aux/ylwrap ../build-aux/ltmain.sh \
+ $(top_srcdir)/../build-aux/config.guess \
+ $(top_srcdir)/../build-aux/config.sub \
+ $(top_srcdir)/../build-aux/install-sh \
+ $(top_srcdir)/../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../m4/kpse-cairo-flags.m4 \
$(top_srcdir)/../m4/kpse-common.m4 \
@@ -181,13 +182,14 @@ am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -195,9 +197,29 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
@@ -392,7 +414,7 @@ $(am__aclocal_m4_deps):
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -420,31 +442,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -460,12 +464,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -477,15 +476,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -494,18 +489,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -810,26 +803,22 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am all-local am--refresh check check-am clean \
- clean-cscope clean-generic cscope cscopelist \
- cscopelist-recursive ctags ctags-recursive dist dist-all \
- dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
- dist-xz dist-zip distcheck distclean distclean-generic \
- distclean-tags distcleancheck distdir distuninstallcheck dvi \
- dvi-am html html-am info info-am install install-am \
- install-data install-data-am install-dvi install-dvi-am \
- install-exec install-exec-am install-html install-html-am \
- install-info install-info-am install-man install-pdf \
- install-pdf-am install-ps install-ps-am install-strip \
- installcheck installcheck-am installdirs installdirs-am \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
+ dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
+ dist-zip distcheck distclean distclean-generic distclean-tags \
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
+ pdf-am ps ps-am tags tags-am uninstall uninstall-am
# just in case a subdirectory has added directories
diff --git a/Build/source/libs/README b/Build/source/libs/README
index a18d8e29d8e..dd578551ccf 100644
--- a/Build/source/libs/README
+++ b/Build/source/libs/README
@@ -14,7 +14,7 @@ cairo 1.12.8 - checked 28nov12
freetype 1.5 - ?
-freetype2 2.4.9 - checked 9mar12
+freetype2 2.4.11 - checked 31dec12
http://savannah.nongnu.org/download/freetype/
gd 2.0.35 - unchecked 10may12, libgd still down
@@ -44,7 +44,7 @@ libpng 1.5.13 - checked 28sep12
pixman 0.28.0 - checked 28nov12
http://cairographics.org/releases/
-poppler 0.21.0 - checked 15oct12
+poppler 0.22.0 - checked 31dec12
http://poppler.freedesktop.org/ - used by luatex and xetex
t1lib 5.1.2 - checked 10may12
diff --git a/Build/source/libs/aclocal.m4 b/Build/source/libs/aclocal.m4
index 50c939ed171..48de20af88f 100644
--- a/Build/source/libs/aclocal.m4
+++ b/Build/source/libs/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/cairo/Makefile.in b/Build/source/libs/cairo/Makefile.in
index 1b2fc4bb618..45837c511c2 100644
--- a/Build/source/libs/cairo/Makefile.in
+++ b/Build/source/libs/cairo/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -52,18 +52,19 @@ build_triplet = @build@
host_triplet = @host@
check_PROGRAMS =
subdir = .
-DIST_COMMON = README $(am__configure_deps) \
- $(am__dist_check_SCRIPTS_DIST) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(am__dist_check_SCRIPTS_DIST) \
+ $(top_srcdir)/../../build-aux/test-driver ChangeLog README \
+ ../../build-aux/config.guess ../../build-aux/config.sub \
+ ../../build-aux/depcomp ../../build-aux/install-sh \
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
$(top_srcdir)/../../build-aux/config.guess \
$(top_srcdir)/../../build-aux/config.sub \
$(top_srcdir)/../../build-aux/install-sh \
$(top_srcdir)/../../build-aux/ltmain.sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
- ../../build-aux/config.guess ../../build-aux/config.sub \
- ../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-pixman-flags.m4 \
@@ -102,10 +103,209 @@ am__can_run_installinfo = \
*) (install-info --version) >/dev/null 2>&1;; \
esac
DATA = $(noinst_DATA)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
am__tty_colors_dummy = \
mgn= red= grn= lgn= blu= brg= std=; \
am__color_tests=no
-am__tty_colors = $(am__tty_colors_dummy)
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red=''; \
+ grn=''; \
+ lgn=''; \
+ blu=''; \
+ mgn=''; \
+ brg=''; \
+ std=''; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+AM_RECURSIVE_TARGETS = check recheck
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../../build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -254,6 +454,7 @@ DISTCLEANFILES = config.force
all: all-am
.SUFFIXES:
+.SUFFIXES: .log .test .test$(EXEEXT) .trs
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@@ -306,107 +507,168 @@ clean-libtool:
distclean-libtool:
-rm -f libtool config.lt
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# exand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS) $(dist_check_SCRIPTS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
$(am__remove_distdir)
@@ -594,6 +856,9 @@ install-strip:
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
@@ -679,17 +944,18 @@ uninstall-am:
.PHONY: all all-am am--refresh check check-TESTS check-am clean \
clean-checkPROGRAMS clean-generic clean-libtool clean-local \
- dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
- dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
- distclean-generic distclean-libtool distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+ cscopelist-am ctags-am dist dist-all dist-bzip2 dist-gzip \
+ dist-hook dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
+ distcheck distclean distclean-generic distclean-libtool \
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am recheck tags-am \
uninstall uninstall-am
diff --git a/Build/source/libs/cairo/aclocal.m4 b/Build/source/libs/cairo/aclocal.m4
index ec69db724e9..4a65d408840 100644
--- a/Build/source/libs/cairo/aclocal.m4
+++ b/Build/source/libs/cairo/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/cairo/configure b/Build/source/libs/cairo/configure
index 39ea3f093a0..dfa18ab179d 100755
--- a/Build/source/libs/cairo/configure
+++ b/Build/source/libs/cairo/configure
@@ -2169,7 +2169,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2353,8 +2353,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -15120,7 +15120,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/configure b/Build/source/libs/configure
index c63aee27f10..8b47873e861 100755
--- a/Build/source/libs/configure
+++ b/Build/source/libs/configure
@@ -5369,7 +5369,7 @@ fi
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -5553,8 +5553,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -7619,7 +7619,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/freetype/Makefile.in b/Build/source/libs/freetype/Makefile.in
index 9d87a776b8d..522e6e718fc 100644
--- a/Build/source/libs/freetype/Makefile.in
+++ b/Build/source/libs/freetype/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,13 +49,14 @@ NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = .
-DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) ChangeLog \
../../build-aux/config.guess ../../build-aux/config.sub \
../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
+ $(top_srcdir)/../../build-aux/install-sh \
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-warnings.m4 \
@@ -87,6 +88,7 @@ am__can_run_installinfo = \
*) (install-info --version) >/dev/null 2>&1;; \
esac
DATA = $(noinst_DATA)
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -232,11 +234,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -506,17 +506,18 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am am--refresh check check-am clean clean-generic \
- clean-local dist dist-all dist-bzip2 dist-gzip dist-hook \
- dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \
- distclean distclean-generic distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
+ clean-local cscopelist-am ctags-am dist dist-all dist-bzip2 \
+ dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
+ dist-zip distcheck distclean distclean-generic distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-data install-data-am \
+ install-dvi install-dvi-am install-exec install-exec-am \
+ install-html install-html-am install-info install-info-am \
+ install-man install-pdf install-pdf-am install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
+ uninstall uninstall-am
# Rebuild
diff --git a/Build/source/libs/freetype/aclocal.m4 b/Build/source/libs/freetype/aclocal.m4
index 7f7fe5ffa4b..25ff2ef600b 100644
--- a/Build/source/libs/freetype/aclocal.m4
+++ b/Build/source/libs/freetype/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/freetype/configure b/Build/source/libs/freetype/configure
index 0de18346b4b..a5eca3cab93 100755
--- a/Build/source/libs/freetype/configure
+++ b/Build/source/libs/freetype/configure
@@ -1880,7 +1880,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2064,8 +2064,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -5395,7 +5395,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/gd/Makefile.in b/Build/source/libs/gd/Makefile.in
index eeeb90d6159..58949777f24 100644
--- a/Build/source/libs/gd/Makefile.in
+++ b/Build/source/libs/gd/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -51,18 +51,19 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.hin \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.hin $(top_srcdir)/../../build-aux/depcomp \
+ ChangeLog README ../../build-aux/config.guess \
+ ../../build-aux/config.sub ../../build-aux/depcomp \
+ ../../build-aux/install-sh ../../build-aux/missing \
+ ../../build-aux/texinfo.tex ../../build-aux/ylwrap \
+ ../../build-aux/ltmain.sh \
$(top_srcdir)/../../build-aux/config.guess \
$(top_srcdir)/../../build-aux/config.sub \
- $(top_srcdir)/../../build-aux/depcomp \
$(top_srcdir)/../../build-aux/install-sh \
$(top_srcdir)/../../build-aux/ltmain.sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
- ../../build-aux/config.guess ../../build-aux/config.sub \
- ../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-freetype2-flags.m4 \
@@ -142,13 +143,14 @@ am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(libgd_a_SOURCES)
DIST_SOURCES = $(libgd_a_SOURCES)
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -156,9 +158,30 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.hin
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
@@ -895,7 +918,7 @@ distclean-libtool:
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -923,31 +946,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -963,12 +968,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -980,15 +980,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.hin $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.hin $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -997,18 +993,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -1319,17 +1313,14 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-am clean clean-cscope \
- clean-generic clean-libtool clean-noinstLIBRARIES cscope \
- cscopelist cscopelist-recursive ctags ctags-recursive dist \
- dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
- dist-tarZ dist-xz dist-zip distcheck distclean \
- distclean-compile distclean-generic distclean-hdr \
+.MAKE: $(am__recursive_targets) all install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-libtool clean-noinstLIBRARIES cscope cscopelist-am ctags \
+ ctags-am dist dist-all dist-bzip2 dist-gzip dist-hook \
+ dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \
+ distclean distclean-compile distclean-generic distclean-hdr \
distclean-libtool distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
@@ -1339,8 +1330,8 @@ uninstall-am:
install-strip installcheck installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-compile mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am
# Rebuild
diff --git a/Build/source/libs/gd/aclocal.m4 b/Build/source/libs/gd/aclocal.m4
index 45bf2a1cad6..4d0bb89b541 100644
--- a/Build/source/libs/gd/aclocal.m4
+++ b/Build/source/libs/gd/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/gd/configure b/Build/source/libs/gd/configure
index 49160c389df..bbec70446d6 100755
--- a/Build/source/libs/gd/configure
+++ b/Build/source/libs/gd/configure
@@ -2331,7 +2331,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2515,8 +2515,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -16011,7 +16011,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/gd/include/Makefile.in b/Build/source/libs/gd/include/Makefile.in
index a3b3a84bb1e..3dd4c162496 100644
--- a/Build/source/libs/gd/include/Makefile.in
+++ b/Build/source/libs/gd/include/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,8 +49,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -89,6 +89,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -274,11 +275,9 @@ mostlyclean-libtool:
clean-libtool:
-rm -rf .libs _libs
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -416,16 +415,17 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- clean-libtool distclean distclean-generic distclean-libtool \
- distclean-local distdir dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- uninstall uninstall-am
+ clean-libtool cscopelist-am ctags-am distclean \
+ distclean-generic distclean-libtool distclean-local distdir \
+ dvi dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/graphite/Makefile.in b/Build/source/libs/graphite/Makefile.in
index ec2166d10e6..5155f1e6569 100644
--- a/Build/source/libs/graphite/Makefile.in
+++ b/Build/source/libs/graphite/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -51,17 +51,17 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = .
-DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(top_srcdir)/../../build-aux/depcomp ChangeLog \
+ ../../build-aux/config.guess ../../build-aux/config.sub \
+ ../../build-aux/depcomp ../../build-aux/install-sh \
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
$(top_srcdir)/../../build-aux/config.guess \
$(top_srcdir)/../../build-aux/config.sub \
- $(top_srcdir)/../../build-aux/depcomp \
$(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
- ../../build-aux/config.guess ../../build-aux/config.sub \
- ../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-warnings.m4 \
@@ -128,13 +128,14 @@ am__v_CXXLD_0 = @echo " CXXLD " $@;
am__v_CXXLD_1 =
SOURCES = $(nodist_libgraphite_a_SOURCES)
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -142,9 +143,29 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
@@ -782,7 +803,7 @@ TransductionLog.obj: $(GRAPHITE_TREE)/src/segment/TransductionLog.cpp
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -810,31 +831,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -850,12 +853,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -867,15 +865,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -884,18 +878,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -1203,26 +1195,24 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-am clean clean-cscope \
- clean-generic clean-noinstLIBRARIES cscope cscopelist \
- cscopelist-recursive ctags ctags-recursive dist dist-all \
- dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
- dist-xz dist-zip distcheck distclean distclean-compile \
- distclean-generic distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- installdirs-am maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
- ps ps-am tags tags-recursive uninstall uninstall-am
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am dist \
+ dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
+ dist-tarZ dist-xz dist-zip distcheck distclean \
+ distclean-compile distclean-generic distclean-tags \
+ distcleancheck distdir distuninstallcheck dvi dvi-am html \
+ html-am info info-am install install-am install-data \
+ install-data-am install-dvi install-dvi-am install-exec \
+ install-exec-am install-html install-html-am install-info \
+ install-info-am install-man install-pdf install-pdf-am \
+ install-ps install-ps-am install-strip installcheck \
+ installcheck-am installdirs installdirs-am maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am
# Rebuild
diff --git a/Build/source/libs/graphite/aclocal.m4 b/Build/source/libs/graphite/aclocal.m4
index 7f7fe5ffa4b..25ff2ef600b 100644
--- a/Build/source/libs/graphite/aclocal.m4
+++ b/Build/source/libs/graphite/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/graphite/configure b/Build/source/libs/graphite/configure
index 0000adb40f6..044d8779377 100755
--- a/Build/source/libs/graphite/configure
+++ b/Build/source/libs/graphite/configure
@@ -2400,7 +2400,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2584,8 +2584,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -7248,7 +7248,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/graphite/include/graphite/Makefile.in b/Build/source/libs/graphite/include/graphite/Makefile.in
index 0190a314558..958a805e723 100644
--- a/Build/source/libs/graphite/include/graphite/Makefile.in
+++ b/Build/source/libs/graphite/include/graphite/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,8 +49,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include/graphite
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -80,6 +80,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -248,11 +249,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -390,15 +389,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/graphite2/Makefile.in b/Build/source/libs/graphite2/Makefile.in
index 860cd4accc1..4effce8040f 100644
--- a/Build/source/libs/graphite2/Makefile.in
+++ b/Build/source/libs/graphite2/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -60,18 +60,19 @@ host_triplet = @host@
@WITH_FILEFACE_TRUE@am__append_4 = $(GRAPHITE2_SRC)/FileFace.cpp
@WITH_TRACING_TRUE@am__append_5 = $(GRAPHITE2_SRC)/json.cpp
subdir = .
-DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in $(top_srcdir)/../../build-aux/depcomp \
+ ChangeLog ../../build-aux/config.guess \
+ ../../build-aux/config.sub ../../build-aux/depcomp \
+ ../../build-aux/install-sh ../../build-aux/missing \
+ ../../build-aux/texinfo.tex ../../build-aux/ylwrap \
+ ../../build-aux/ltmain.sh \
$(top_srcdir)/../../build-aux/config.guess \
$(top_srcdir)/../../build-aux/config.sub \
- $(top_srcdir)/../../build-aux/depcomp \
$(top_srcdir)/../../build-aux/install-sh \
$(top_srcdir)/../../build-aux/ltmain.sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
- ../../build-aux/config.guess ../../build-aux/config.sub \
- ../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-warnings.m4 \
@@ -217,13 +218,14 @@ am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(libgraphite2_a_SOURCES)
DIST_SOURCES = $(am__libgraphite2_a_SOURCES_DIST)
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -231,9 +233,30 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
@@ -1052,7 +1075,7 @@ distclean-libtool:
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -1080,31 +1103,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -1120,12 +1125,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -1137,15 +1137,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -1154,18 +1150,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -1476,17 +1470,14 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-am clean clean-cscope \
- clean-generic clean-libtool clean-noinstLIBRARIES cscope \
- cscopelist cscopelist-recursive ctags ctags-recursive dist \
- dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
- dist-tarZ dist-xz dist-zip distcheck distclean \
- distclean-compile distclean-generic distclean-hdr \
+.MAKE: $(am__recursive_targets) all install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-libtool clean-noinstLIBRARIES cscope cscopelist-am ctags \
+ ctags-am dist dist-all dist-bzip2 dist-gzip dist-hook \
+ dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \
+ distclean distclean-compile distclean-generic distclean-hdr \
distclean-libtool distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
@@ -1496,8 +1487,8 @@ uninstall-am:
install-strip installcheck installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-compile mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am
# Rebuild
diff --git a/Build/source/libs/graphite2/aclocal.m4 b/Build/source/libs/graphite2/aclocal.m4
index 7cf77d51a09..5d9c2a5c519 100644
--- a/Build/source/libs/graphite2/aclocal.m4
+++ b/Build/source/libs/graphite2/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/graphite2/configure b/Build/source/libs/graphite2/configure
index 5b731be32d3..8d7af740dbb 100755
--- a/Build/source/libs/graphite2/configure
+++ b/Build/source/libs/graphite2/configure
@@ -2304,7 +2304,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2488,8 +2488,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -17722,7 +17722,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/graphite2/include/graphite2/Makefile.in b/Build/source/libs/graphite2/include/graphite2/Makefile.in
index 01b6b639cb4..9a511cb1c73 100644
--- a/Build/source/libs/graphite2/include/graphite2/Makefile.in
+++ b/Build/source/libs/graphite2/include/graphite2/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,8 +49,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include/graphite2
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -86,6 +86,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -257,11 +258,9 @@ mostlyclean-libtool:
clean-libtool:
-rm -rf .libs _libs
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -399,16 +398,17 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- clean-libtool distclean distclean-generic distclean-libtool \
- distclean-local distdir dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- uninstall uninstall-am
+ clean-libtool cscopelist-am ctags-am distclean \
+ distclean-generic distclean-libtool distclean-local distdir \
+ dvi dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/harfbuzz/Makefile.in b/Build/source/libs/harfbuzz/Makefile.in
index 1f3315d2459..f81212a712a 100644
--- a/Build/source/libs/harfbuzz/Makefile.in
+++ b/Build/source/libs/harfbuzz/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -51,19 +51,20 @@ POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
subdir = .
-DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in \
+ $(top_srcdir)/harfbuzz-0.9.8/src/hb-version.h.in \
+ $(top_srcdir)/../../build-aux/depcomp ChangeLog \
+ ../../build-aux/config.guess ../../build-aux/config.sub \
+ ../../build-aux/depcomp ../../build-aux/install-sh \
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
$(top_srcdir)/../../build-aux/config.guess \
$(top_srcdir)/../../build-aux/config.sub \
- $(top_srcdir)/../../build-aux/depcomp \
$(top_srcdir)/../../build-aux/install-sh \
$(top_srcdir)/../../build-aux/ltmain.sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
- $(top_srcdir)/harfbuzz-0.9.8/src/hb-version.h.in \
- ../../build-aux/config.guess ../../build-aux/config.sub \
- ../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-freetype2-flags.m4 \
@@ -165,13 +166,14 @@ am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(libharfbuzz_a_SOURCES)
DIST_SOURCES = $(libharfbuzz_a_SOURCES)
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -179,9 +181,30 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
@@ -919,7 +942,7 @@ distclean-libtool:
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -947,31 +970,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -987,12 +992,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -1004,15 +1004,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -1021,18 +1017,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -1343,17 +1337,14 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-am clean clean-cscope \
- clean-generic clean-libtool clean-noinstLIBRARIES cscope \
- cscopelist cscopelist-recursive ctags ctags-recursive dist \
- dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
- dist-tarZ dist-xz dist-zip distcheck distclean \
- distclean-compile distclean-generic distclean-hdr \
+.MAKE: $(am__recursive_targets) all install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-libtool clean-noinstLIBRARIES cscope cscopelist-am ctags \
+ ctags-am dist dist-all dist-bzip2 dist-gzip dist-hook \
+ dist-lzip dist-shar dist-tarZ dist-xz dist-zip distcheck \
+ distclean distclean-compile distclean-generic distclean-hdr \
distclean-libtool distclean-tags distcleancheck distdir \
distuninstallcheck dvi dvi-am html html-am info info-am \
install install-am install-data install-data-am install-dvi \
@@ -1363,8 +1354,8 @@ uninstall-am:
install-strip installcheck installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-compile mostlyclean-generic \
- mostlyclean-libtool pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am
+ mostlyclean-libtool pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am
# Rebuild
diff --git a/Build/source/libs/harfbuzz/aclocal.m4 b/Build/source/libs/harfbuzz/aclocal.m4
index 04d90eefdfb..fc45ba5a796 100644
--- a/Build/source/libs/harfbuzz/aclocal.m4
+++ b/Build/source/libs/harfbuzz/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/harfbuzz/configure b/Build/source/libs/harfbuzz/configure
index b4c883c53e3..ac2977a3d67 100755
--- a/Build/source/libs/harfbuzz/configure
+++ b/Build/source/libs/harfbuzz/configure
@@ -2426,7 +2426,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2610,8 +2610,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -20031,7 +20031,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/harfbuzz/include/Makefile.in b/Build/source/libs/harfbuzz/include/Makefile.in
index 142e0b27324..9eee039f452 100644
--- a/Build/source/libs/harfbuzz/include/Makefile.in
+++ b/Build/source/libs/harfbuzz/include/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,8 +49,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -91,6 +91,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -284,11 +285,9 @@ mostlyclean-libtool:
clean-libtool:
-rm -rf .libs _libs
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -426,16 +425,17 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- clean-libtool distclean distclean-generic distclean-libtool \
- distclean-local distdir dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- uninstall uninstall-am
+ clean-libtool cscopelist-am ctags-am distclean \
+ distclean-generic distclean-libtool distclean-local distdir \
+ dvi dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/icu/Makefile.in b/Build/source/libs/icu/Makefile.in
index 0696216b801..6ff62cf92f7 100644
--- a/Build/source/libs/icu/Makefile.in
+++ b/Build/source/libs/icu/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -51,16 +51,16 @@ build_triplet = @build@
host_triplet = @host@
@build_TRUE@am__append_1 = include
subdir = .
-DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) ChangeLog README \
+ ../../build-aux/config.guess ../../build-aux/config.sub \
+ ../../build-aux/depcomp ../../build-aux/install-sh \
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
$(top_srcdir)/../../build-aux/config.guess \
$(top_srcdir)/../../build-aux/config.sub \
$(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
- ../../build-aux/config.guess ../../build-aux/config.sub \
- ../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-warnings.m4 \
@@ -86,13 +86,14 @@ am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -100,9 +101,29 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
@@ -296,7 +317,7 @@ $(am__aclocal_m4_deps):
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -324,31 +345,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -364,12 +367,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -381,15 +379,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -398,18 +392,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -715,26 +707,23 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am all-local am--refresh check check-am clean \
- clean-cscope clean-generic cscope cscopelist \
- cscopelist-recursive ctags ctags-recursive dist dist-all \
- dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
- dist-xz dist-zip distcheck distclean distclean-generic \
- distclean-local distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- installdirs-am maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
- tags-recursive uninstall uninstall-am
+.MAKE: $(am__recursive_targets) install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
+ dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
+ dist-zip distcheck distclean distclean-generic distclean-local \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs installdirs-am \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
+ uninstall-am
# Rebuild
diff --git a/Build/source/libs/icu/aclocal.m4 b/Build/source/libs/icu/aclocal.m4
index 7f7fe5ffa4b..25ff2ef600b 100644
--- a/Build/source/libs/icu/aclocal.m4
+++ b/Build/source/libs/icu/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/icu/configure b/Build/source/libs/icu/configure
index c249a317d96..59f5da50e26 100755
--- a/Build/source/libs/icu/configure
+++ b/Build/source/libs/icu/configure
@@ -1897,7 +1897,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2081,8 +2081,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -4874,7 +4874,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/icu/include/Makefile.in b/Build/source/libs/icu/include/Makefile.in
index d1aa9d7a370..20b176d6c2a 100644
--- a/Build/source/libs/icu/include/Makefile.in
+++ b/Build/source/libs/icu/include/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,8 +49,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -75,13 +75,14 @@ am__v_at_0 = @
am__v_at_1 =
SOURCES =
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -89,9 +90,29 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
distdir
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
@@ -268,7 +289,7 @@ $(am__aclocal_m4_deps):
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -296,31 +317,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -336,12 +339,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -353,15 +351,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -370,9 +364,10 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
+cscopelist: cscopelist-recursive
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -545,23 +540,20 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
+.MAKE: $(am__recursive_targets) install-am install-strip
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am all-local check check-am clean clean-generic \
- cscopelist cscopelist-recursive ctags ctags-recursive \
- distclean distclean-generic distclean-local distclean-tags \
- distdir dvi dvi-am html html-am info info-am install \
- install-am install-data install-data-am install-dvi \
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am all-local \
+ check check-am clean clean-generic cscopelist-am ctags \
+ ctags-am distclean distclean-generic distclean-local \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-pdf install-pdf-am install-ps install-ps-am \
install-strip installcheck installcheck-am installdirs \
installdirs-am maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
- tags-recursive uninstall uninstall-am
+ tags-am uninstall uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/icu/include/layout/Makefile.in b/Build/source/libs/icu/include/layout/Makefile.in
index 3aa30a88dd8..1f9a0b9955b 100644
--- a/Build/source/libs/icu/include/layout/Makefile.in
+++ b/Build/source/libs/icu/include/layout/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,8 +49,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include/layout
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -80,6 +80,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -221,11 +222,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -363,15 +362,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/icu/include/unicode/Makefile.in b/Build/source/libs/icu/include/unicode/Makefile.in
index 915866b29c0..f4331e77f07 100644
--- a/Build/source/libs/icu/include/unicode/Makefile.in
+++ b/Build/source/libs/icu/include/unicode/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,8 +49,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include/unicode
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -80,6 +80,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -224,11 +225,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -366,15 +365,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/libpng/Makefile.in b/Build/source/libs/libpng/Makefile.in
index 9ac48e75ba6..9f935d0684d 100644
--- a/Build/source/libs/libpng/Makefile.in
+++ b/Build/source/libs/libpng/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -50,16 +50,17 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
@build_TRUE@check_PROGRAMS = pngtest$(EXEEXT)
subdir = .
-DIST_COMMON = README $(am__configure_deps) \
- $(am__dist_check_SCRIPTS_DIST) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in $(am__dist_check_SCRIPTS_DIST) \
$(top_srcdir)/../../build-aux/depcomp \
- $(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
+ $(top_srcdir)/../../build-aux/test-driver ChangeLog README \
../../build-aux/config.guess ../../build-aux/config.sub \
../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
+ $(top_srcdir)/../../build-aux/install-sh \
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-warnings.m4 \
@@ -128,13 +129,14 @@ am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(nodist_libpng_a_SOURCES) $(nodist_pngtest_SOURCES)
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -142,16 +144,234 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- cscope distdir dist dist-all distcheck
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope check recheck distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
am__tty_colors_dummy = \
mgn= red= grn= lgn= blu= brg= std=; \
am__color_tests=no
-am__tty_colors = $(am__tty_colors_dummy)
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red=''; \
+ grn=''; \
+ lgn=''; \
+ blu=''; \
+ mgn=''; \
+ brg=''; \
+ std=''; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../../build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
@@ -326,7 +546,7 @@ all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
-.SUFFIXES: .c .o .obj
+.SUFFIXES: .c .log .o .obj .test .test$(EXEEXT) .trs
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@@ -657,7 +877,7 @@ pngtest.obj: $(LIBPNG_TREE)/pngtest.c
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -685,31 +905,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -725,12 +927,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -742,15 +939,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -759,18 +952,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -787,98 +978,161 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# exand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS) $(dist_check_SCRIPTS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
$(am__remove_distdir)
@@ -1092,6 +1346,9 @@ install-strip:
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
@@ -1177,27 +1434,25 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
+.MAKE: $(am__recursive_targets) all check-am install-am install-strip
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-TESTS check-am clean \
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-TESTS check-am clean \
clean-checkPROGRAMS clean-cscope clean-generic \
- clean-noinstLIBRARIES cscope cscopelist cscopelist-recursive \
- ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
- dist-hook dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
- distcheck distclean distclean-compile distclean-generic \
- distclean-hdr distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- installdirs-am maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
- ps ps-am tags tags-recursive uninstall uninstall-am
+ clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am dist \
+ dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
+ dist-tarZ dist-xz dist-zip distcheck distclean \
+ distclean-compile distclean-generic distclean-hdr \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs installdirs-am \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
+ recheck tags tags-am uninstall uninstall-am
# Rebuild
diff --git a/Build/source/libs/libpng/aclocal.m4 b/Build/source/libs/libpng/aclocal.m4
index f058fa03f63..29d803867e2 100644
--- a/Build/source/libs/libpng/aclocal.m4
+++ b/Build/source/libs/libpng/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/libpng/configure b/Build/source/libs/libpng/configure
index a3d4195ea49..5f7be0a4754 100755
--- a/Build/source/libs/libpng/configure
+++ b/Build/source/libs/libpng/configure
@@ -2262,7 +2262,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2446,8 +2446,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -6863,7 +6863,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/libpng/include/Makefile.in b/Build/source/libs/libpng/include/Makefile.in
index 8314a955eab..c4b40545de0 100644
--- a/Build/source/libs/libpng/include/Makefile.in
+++ b/Build/source/libs/libpng/include/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -47,8 +47,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -80,6 +80,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -218,11 +219,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -360,15 +359,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/pixman/Makefile.in b/Build/source/libs/pixman/Makefile.in
index 9e90b897fb5..4bb2d1de712 100644
--- a/Build/source/libs/pixman/Makefile.in
+++ b/Build/source/libs/pixman/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -50,21 +50,22 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = README $(am__configure_deps) \
- $(am__dist_check_SCRIPTS_DIST) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
- $(srcdir)/sources.am \
+DIST_COMMON = $(srcdir)/sources.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am $(top_srcdir)/configure \
+ $(am__configure_deps) $(srcdir)/config.h.in \
+ $(top_srcdir)/pixman-0.28.0/pixman/pixman-version.h.in \
+ $(am__dist_check_SCRIPTS_DIST) \
+ $(top_srcdir)/../../build-aux/depcomp \
+ $(top_srcdir)/../../build-aux/test-driver ChangeLog README \
+ ../../build-aux/config.guess ../../build-aux/config.sub \
+ ../../build-aux/depcomp ../../build-aux/install-sh \
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
$(top_srcdir)/../../build-aux/config.guess \
$(top_srcdir)/../../build-aux/config.sub \
- $(top_srcdir)/../../build-aux/depcomp \
$(top_srcdir)/../../build-aux/install-sh \
$(top_srcdir)/../../build-aux/ltmain.sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
- $(top_srcdir)/pixman-0.28.0/pixman/pixman-version.h.in \
- ../../build-aux/config.guess ../../build-aux/config.sub \
- ../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ $(top_srcdir)/../../build-aux/missing
check_PROGRAMS =
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
@@ -142,13 +143,14 @@ am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(libpixman_la_SOURCES)
DIST_SOURCES = $(libpixman_la_SOURCES)
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -156,16 +158,234 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- cscope distdir dist dist-all distcheck
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope check recheck distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
am__tty_colors_dummy = \
mgn= red= grn= lgn= blu= brg= std=; \
am__color_tests=no
-am__tty_colors = $(am__tty_colors_dummy)
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red=''; \
+ grn=''; \
+ lgn=''; \
+ blu=''; \
+ mgn=''; \
+ brg=''; \
+ std=''; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../../build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
@@ -383,7 +603,7 @@ all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
-.SUFFIXES: .c .lo .o .obj
+.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(srcdir)/sources.am $(am__configure_deps)
@@ -734,7 +954,7 @@ distclean-libtool:
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -762,31 +982,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -802,12 +1004,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -819,15 +1016,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -836,18 +1029,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -864,98 +1055,161 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# exand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS) $(dist_check_SCRIPTS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
$(am__remove_distdir)
@@ -1169,6 +1423,9 @@ install-strip:
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
@@ -1253,28 +1510,26 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
+.MAKE: $(am__recursive_targets) all check-am install-am install-strip
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-TESTS check-am clean \
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-TESTS check-am clean \
clean-checkPROGRAMS clean-cscope clean-generic clean-libtool \
- clean-noinstLTLIBRARIES cscope cscopelist cscopelist-recursive \
- ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
- dist-hook dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
- distcheck distclean distclean-compile distclean-generic \
- distclean-hdr distclean-libtool distclean-tags distcleancheck \
- distdir distuninstallcheck dvi dvi-am html html-am info \
- info-am install install-am install-data install-data-am \
- install-dvi install-dvi-am install-exec install-exec-am \
- install-html install-html-am install-info install-info-am \
- install-man install-pdf install-pdf-am install-ps \
- install-ps-am install-strip installcheck installcheck-am \
- installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- tags tags-recursive uninstall uninstall-am
+ clean-noinstLTLIBRARIES cscope cscopelist-am ctags ctags-am \
+ dist dist-all dist-bzip2 dist-gzip dist-hook dist-lzip \
+ dist-shar dist-tarZ dist-xz dist-zip distcheck distclean \
+ distclean-compile distclean-generic distclean-hdr \
+ distclean-libtool distclean-tags distcleancheck distdir \
+ distuninstallcheck dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \
+ uninstall uninstall-am
# Rebuild
diff --git a/Build/source/libs/pixman/aclocal.m4 b/Build/source/libs/pixman/aclocal.m4
index 371cd4888ac..a43ebd39fec 100644
--- a/Build/source/libs/pixman/aclocal.m4
+++ b/Build/source/libs/pixman/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/pixman/configure b/Build/source/libs/pixman/configure
index 0fd4bc419ab..b121559c5e7 100755
--- a/Build/source/libs/pixman/configure
+++ b/Build/source/libs/pixman/configure
@@ -2392,7 +2392,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2576,8 +2576,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -14451,7 +14451,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/pixman/include/Makefile.in b/Build/source/libs/pixman/include/Makefile.in
index 13d118310b2..df7a2df5a55 100644
--- a/Build/source/libs/pixman/include/Makefile.in
+++ b/Build/source/libs/pixman/include/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,8 +49,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -87,6 +87,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -254,11 +255,9 @@ mostlyclean-libtool:
clean-libtool:
-rm -rf .libs _libs
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -396,16 +395,17 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- clean-libtool distclean distclean-generic distclean-libtool \
- distclean-local distdir dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
- uninstall uninstall-am
+ clean-libtool cscopelist-am ctags-am distclean \
+ distclean-generic distclean-libtool distclean-local distdir \
+ dvi dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/poppler/ChangeLog b/Build/source/libs/poppler/ChangeLog
index 0bb5a364a4b..c80886d6f9d 100644
--- a/Build/source/libs/poppler/ChangeLog
+++ b/Build/source/libs/poppler/ChangeLog
@@ -1,3 +1,8 @@
+2012-12-31 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Import poppler-0.22.0.
+ * version.ac: Adjust.
+
2012-12-15 Peter Breitenlohner <peb@mppmu.mpg.de>
* configure.ac: Use KPSE_BASIC to enable silent rules.
diff --git a/Build/source/libs/poppler/Makefile.in b/Build/source/libs/poppler/Makefile.in
index 4bdc19897f8..4da2e4bba43 100644
--- a/Build/source/libs/poppler/Makefile.in
+++ b/Build/source/libs/poppler/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,15 +49,16 @@ NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = .
-DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
- $(top_srcdir)/../../build-aux/depcomp \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in $(top_srcdir)/../../build-aux/depcomp \
+ ChangeLog ../../build-aux/config.guess \
+ ../../build-aux/config.sub ../../build-aux/depcomp \
+ ../../build-aux/install-sh ../../build-aux/missing \
+ ../../build-aux/texinfo.tex ../../build-aux/ylwrap \
+ ../../build-aux/ltmain.sh \
$(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
- ../../build-aux/config.guess ../../build-aux/config.sub \
- ../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-warnings.m4 \
@@ -148,13 +149,14 @@ am__v_CXXLD_0 = @echo " CXXLD " $@;
am__v_CXXLD_1 =
SOURCES = $(nodist_libpoppler_a_SOURCES)
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -162,9 +164,30 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
@@ -1590,7 +1613,7 @@ XpdfPluginAPI.obj: $(POPPLER_SRC)/XpdfPluginAPI.cc
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -1618,31 +1641,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -1658,12 +1663,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -1675,15 +1675,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -1692,18 +1688,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -2012,27 +2006,24 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-am clean clean-cscope \
- clean-generic clean-noinstLIBRARIES cscope cscopelist \
- cscopelist-recursive ctags ctags-recursive dist dist-all \
- dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
- dist-xz dist-zip distcheck distclean distclean-compile \
- distclean-generic distclean-hdr distclean-tags distcleancheck \
- distdir distuninstallcheck dvi dvi-am html html-am info \
- info-am install install-am install-data install-data-am \
- install-dvi install-dvi-am install-exec install-exec-am \
- install-html install-html-am install-info install-info-am \
- install-man install-pdf install-pdf-am install-ps \
- install-ps-am install-strip installcheck installcheck-am \
- installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am
+.MAKE: $(am__recursive_targets) all install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am dist \
+ dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
+ dist-tarZ dist-xz dist-zip distcheck distclean \
+ distclean-compile distclean-generic distclean-hdr \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs installdirs-am \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
+ tags tags-am uninstall uninstall-am
# Rebuild
diff --git a/Build/source/libs/poppler/aclocal.m4 b/Build/source/libs/poppler/aclocal.m4
index f058fa03f63..29d803867e2 100644
--- a/Build/source/libs/poppler/aclocal.m4
+++ b/Build/source/libs/poppler/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/poppler/configure b/Build/source/libs/poppler/configure
index 643534cce41..07d0ddbdeff 100755
--- a/Build/source/libs/poppler/configure
+++ b/Build/source/libs/poppler/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for poppler for TeX Live 0.21.0.
+# Generated by GNU Autoconf 2.69 for poppler for TeX Live 0.22.0.
#
# Report bugs to <tex-k@tug.org>.
#
@@ -580,12 +580,12 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='poppler for TeX Live'
PACKAGE_TARNAME='poppler-for-tex-live'
-PACKAGE_VERSION='0.21.0'
-PACKAGE_STRING='poppler for TeX Live 0.21.0'
+PACKAGE_VERSION='0.22.0'
+PACKAGE_STRING='poppler for TeX Live 0.22.0'
PACKAGE_BUGREPORT='tex-k@tug.org'
PACKAGE_URL=''
-ac_unique_file="poppler-0.21.0/poppler/Array.cc"
+ac_unique_file="poppler-0.22.0/poppler/Array.cc"
# Factoring default headers for most tests.
ac_includes_default="\
#include <stdio.h>
@@ -1300,7 +1300,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures poppler for TeX Live 0.21.0 to adapt to many kinds of systems.
+\`configure' configures poppler for TeX Live 0.22.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1367,7 +1367,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of poppler for TeX Live 0.21.0:";;
+ short | recursive ) echo "Configuration of poppler for TeX Live 0.22.0:";;
esac
cat <<\_ACEOF
@@ -1480,7 +1480,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-poppler for TeX Live configure 0.21.0
+poppler for TeX Live configure 0.22.0
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1887,7 +1887,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by poppler for TeX Live $as_me 0.21.0, which was
+It was created by poppler for TeX Live $as_me 0.22.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2268,7 +2268,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2452,8 +2452,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -3751,7 +3751,7 @@ fi
# Define the identity of the package.
PACKAGE='poppler-for-tex-live'
- VERSION='0.21.0'
+ VERSION='0.22.0'
# Some tools Automake needs.
@@ -5999,12 +5999,12 @@ fi
ac_config_headers="$ac_config_headers config.h"
-ac_config_headers="$ac_config_headers poppler/poppler-config.h:poppler-0.21.0/poppler/poppler-config.h.in"
+ac_config_headers="$ac_config_headers poppler/poppler-config.h:poppler-0.22.0/poppler/poppler-config.h.in"
cat >>confdefs.h <<_ACEOF
-#define POPPLER_VERSION "0.21.0"
+#define POPPLER_VERSION "0.22.0"
_ACEOF
@@ -6097,7 +6097,7 @@ fi
$as_echo "#define ENABLE_ZLIB 1" >>confdefs.h
-POPPLER_TREE=poppler-0.21.0
+POPPLER_TREE=poppler-0.22.0
ac_config_files="$ac_config_files Makefile poppler/Makefile goo/Makefile fofi/Makefile"
@@ -6649,7 +6649,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by poppler for TeX Live $as_me 0.21.0, which was
+This file was extended by poppler for TeX Live $as_me 0.22.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -6715,7 +6715,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-poppler for TeX Live config.status 0.21.0
+poppler for TeX Live config.status 0.22.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
@@ -6846,7 +6846,7 @@ do
case $ac_config_target in
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
"config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
- "poppler/poppler-config.h") CONFIG_HEADERS="$CONFIG_HEADERS poppler/poppler-config.h:poppler-0.21.0/poppler/poppler-config.h.in" ;;
+ "poppler/poppler-config.h") CONFIG_HEADERS="$CONFIG_HEADERS poppler/poppler-config.h:poppler-0.22.0/poppler/poppler-config.h.in" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
"poppler/Makefile") CONFIG_FILES="$CONFIG_FILES poppler/Makefile" ;;
"goo/Makefile") CONFIG_FILES="$CONFIG_FILES goo/Makefile" ;;
@@ -7447,7 +7447,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/poppler/fofi/Makefile.in b/Build/source/libs/poppler/fofi/Makefile.in
index 82344d24bb5..20481aac741 100644
--- a/Build/source/libs/poppler/fofi/Makefile.in
+++ b/Build/source/libs/poppler/fofi/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -47,8 +47,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = fofi
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -81,6 +81,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -218,11 +219,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -360,15 +359,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/poppler/goo/Makefile.in b/Build/source/libs/poppler/goo/Makefile.in
index db8c3f79222..0e2a7d7aad4 100644
--- a/Build/source/libs/poppler/goo/Makefile.in
+++ b/Build/source/libs/poppler/goo/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -47,8 +47,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = goo
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -81,6 +81,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -218,11 +219,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -360,15 +359,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/JpegWriter.cc b/Build/source/libs/poppler/poppler-0.21.0/goo/JpegWriter.cc
deleted file mode 100644
index 2fe3d3276cf..00000000000
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/JpegWriter.cc
+++ /dev/null
@@ -1,147 +0,0 @@
-//========================================================================
-//
-// JpegWriter.cc
-//
-// This file is licensed under the GPLv2 or later
-//
-// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
-// Copyright (C) 2010, 2012 Adrian Johnson <ajohnson@redneon.com>
-// Copyright (C) 2010 Harry Roberts <harry.roberts@midnight-labs.org>
-// Copyright (C) 2011 Thomas Freitag <Thomas.Freitag@alfa.de>
-//
-//========================================================================
-
-#include "JpegWriter.h"
-
-#ifdef ENABLE_LIBJPEG
-
-#include "poppler/Error.h"
-
-void outputMessage(j_common_ptr cinfo)
-{
- char buffer[JMSG_LENGTH_MAX];
-
- // Create the message
- (*cinfo->err->format_message) (cinfo, buffer);
-
- // Send it to poppler's error handler
- error(errInternal, -1, "{0:s}", buffer);
-}
-
-JpegWriter::JpegWriter(int q, bool p, J_COLOR_SPACE cm)
-: progressive(p), quality(q), colorMode(cm)
-{
-}
-
-JpegWriter::JpegWriter(J_COLOR_SPACE cm)
-: progressive(false), quality(-1), colorMode(cm)
-{
-}
-
-JpegWriter::~JpegWriter()
-{
- // cleanup
- jpeg_destroy_compress(&cinfo);
-}
-
-bool JpegWriter::init(FILE *f, int width, int height, int hDPI, int vDPI)
-{
- // Setup error handler
- cinfo.err = jpeg_std_error(&jerr);
- jerr.output_message = &outputMessage;
-
- // Initialize libjpeg
- jpeg_create_compress(&cinfo);
-
- // Set colorspace and initialise defaults
- cinfo.in_color_space = colorMode; /* colorspace of input image */
- jpeg_set_defaults(&cinfo);
-
- // Set destination file
- jpeg_stdio_dest(&cinfo, f);
-
- // Set libjpeg configuration
- cinfo.image_width = width;
- cinfo.image_height = height;
- cinfo.density_unit = 1; // dots per inch
- cinfo.X_density = hDPI;
- cinfo.Y_density = vDPI;
- /* # of color components per pixel */
- switch (colorMode) {
- case JCS_GRAYSCALE:
- cinfo.input_components = 1;
- break;
- case JCS_RGB:
- cinfo.input_components = 3;
- break;
- case JCS_CMYK:
- cinfo.input_components = 4;
- break;
- default:
- return false;
- }
- if (cinfo.in_color_space == JCS_CMYK) {
- jpeg_set_colorspace(&cinfo, JCS_YCCK);
- cinfo.write_JFIF_header = TRUE;
- }
-
- // Set quality
- if( quality >= 0 && quality <= 100 ) {
- jpeg_set_quality(&cinfo, quality, true);
- }
-
- // Use progressive mode
- if( progressive) {
- jpeg_simple_progression(&cinfo);
- }
-
- // Get ready for data
- jpeg_start_compress(&cinfo, TRUE);
-
- return true;
-}
-
-bool JpegWriter::writePointers(unsigned char **rowPointers, int rowCount)
-{
- if (colorMode == JCS_CMYK) {
- for (int y = 0; y < rowCount; y++) {
- unsigned char *row = rowPointers[y];
- for (unsigned int x = 0; x < cinfo.image_width; x++) {
- for (int n = 0; n < 4; n++) {
- *row = 0xff - *row;
- row++;
- }
- }
- }
- }
- // Write all rows to the file
- jpeg_write_scanlines(&cinfo, rowPointers, rowCount);
-
- return true;
-}
-
-bool JpegWriter::writeRow(unsigned char **rowPointer)
-{
- if (colorMode == JCS_CMYK) {
- unsigned char *row = rowPointer[0];
- for (unsigned int x = 0; x < cinfo.image_width; x++) {
- for (int n = 0; n < 4; n++) {
- *row = 0xff - *row;
- row++;
- }
- }
- }
- // Write the row to the file
- jpeg_write_scanlines(&cinfo, rowPointer, 1);
-
- return true;
-}
-
-bool JpegWriter::close()
-{
- jpeg_finish_compress(&cinfo);
-
- return true;
-}
-
-#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/PNGWriter.cc b/Build/source/libs/poppler/poppler-0.21.0/goo/PNGWriter.cc
deleted file mode 100644
index fe8b79ed0d5..00000000000
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/PNGWriter.cc
+++ /dev/null
@@ -1,176 +0,0 @@
-//========================================================================
-//
-// PNGWriter.cc
-//
-// This file is licensed under the GPLv2 or later
-//
-// Copyright (C) 2009 Warren Toomey <wkt@tuhs.org>
-// Copyright (C) 2009 Shen Liang <shenzhuxi@gmail.com>
-// Copyright (C) 2009, 2011 Albert Astals Cid <aacid@kde.org>
-// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
-// Copyright (C) 2010, 2011 Adrian Johnson <ajohnson@redneon.com>
-// Copyright (C) 2011 Thomas Klausner <wiz@danbala.tuwien.ac.at>
-//
-//========================================================================
-
-#include "PNGWriter.h"
-
-#ifdef ENABLE_LIBPNG
-
-#include <zlib.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "poppler/Error.h"
-#include "goo/gmem.h"
-
-PNGWriter::PNGWriter(Format formatA) : format(formatA)
-{
- icc_data = NULL;
- icc_data_size = 0;
- icc_name = NULL;
- sRGB_profile = false;
-}
-
-PNGWriter::~PNGWriter()
-{
- /* cleanup heap allocation */
- png_destroy_write_struct(&png_ptr, &info_ptr);
- if (icc_data) {
- gfree(icc_data);
- free(icc_name);
- }
-}
-
-void PNGWriter::setICCProfile(const char *name, unsigned char *data, int size)
-{
- icc_data = (unsigned char *)gmalloc(size);
- memcpy(icc_data, data, size);
- icc_data_size = size;
- icc_name = strdup(name);
-}
-
-void PNGWriter::setSRGBProfile()
-{
- sRGB_profile = true;
-}
-
-bool PNGWriter::init(FILE *f, int width, int height, int hDPI, int vDPI)
-{
- /* libpng changed the png_set_iCCP() prototype in 1.5.0 */
-#if PNG_LIBPNG_VER < 10500
- png_charp icc_data_ptr = (png_charp)icc_data;
-#else
- png_const_bytep icc_data_ptr = (png_const_bytep)icc_data;
-#endif
-
- /* initialize stuff */
- png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
- if (!png_ptr) {
- error(errInternal, -1, "png_create_write_struct failed");
- return false;
- }
-
- info_ptr = png_create_info_struct(png_ptr);
- if (!info_ptr) {
- error(errInternal, -1, "png_create_info_struct failed");
- return false;
- }
-
- if (setjmp(png_jmpbuf(png_ptr))) {
- error(errInternal, -1, "png_jmpbuf failed");
- return false;
- }
-
- /* write header */
- png_init_io(png_ptr, f);
- if (setjmp(png_jmpbuf(png_ptr))) {
- error(errInternal, -1, "Error during writing header");
- return false;
- }
-
- // Set up the type of PNG image and the compression level
- png_set_compression_level(png_ptr, Z_BEST_COMPRESSION);
-
- // Silence silly gcc
- png_byte bit_depth = -1;
- png_byte color_type = -1;
- switch (format) {
- case RGB:
- bit_depth = 8;
- color_type = PNG_COLOR_TYPE_RGB;
- break;
- case RGBA:
- bit_depth = 8;
- color_type = PNG_COLOR_TYPE_RGB_ALPHA;
- break;
- case GRAY:
- bit_depth = 8;
- color_type = PNG_COLOR_TYPE_GRAY;
- break;
- case MONOCHROME:
- bit_depth = 1;
- color_type = PNG_COLOR_TYPE_GRAY;
- break;
- }
- png_byte interlace_type = PNG_INTERLACE_NONE;
-
- png_set_IHDR(png_ptr, info_ptr, width, height, bit_depth, color_type, interlace_type, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
-
- png_set_pHYs(png_ptr, info_ptr, hDPI/0.0254, vDPI/0.0254, PNG_RESOLUTION_METER);
-
- if (icc_data)
- png_set_iCCP(png_ptr, info_ptr, icc_name, PNG_COMPRESSION_TYPE_BASE, icc_data_ptr, icc_data_size);
- else if (sRGB_profile)
- png_set_sRGB(png_ptr, info_ptr, PNG_sRGB_INTENT_RELATIVE);
-
- png_write_info(png_ptr, info_ptr);
- if (setjmp(png_jmpbuf(png_ptr))) {
- error(errInternal, -1, "error during writing png info bytes");
- return false;
- }
-
- // pack 1 pixel/byte rows into 8 pixels/byte
- if (format == MONOCHROME)
- png_set_packing(png_ptr);
-
- return true;
-}
-
-bool PNGWriter::writePointers(unsigned char **rowPointers, int rowCount)
-{
- png_write_image(png_ptr, rowPointers);
- /* write bytes */
- if (setjmp(png_jmpbuf(png_ptr))) {
- error(errInternal, -1, "Error during writing bytes");
- return false;
- }
-
- return true;
-}
-
-bool PNGWriter::writeRow(unsigned char **row)
-{
- // Write the row to the file
- png_write_rows(png_ptr, row, 1);
- if (setjmp(png_jmpbuf(png_ptr))) {
- error(errInternal, -1, "error during png row write");
- return false;
- }
-
- return true;
-}
-
-bool PNGWriter::close()
-{
- /* end write */
- png_write_end(png_ptr, info_ptr);
- if (setjmp(png_jmpbuf(png_ptr))) {
- error(errInternal, -1, "Error during end of write");
- return false;
- }
-
- return true;
-}
-
-#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/PNGWriter.h b/Build/source/libs/poppler/poppler-0.21.0/goo/PNGWriter.h
deleted file mode 100644
index 9e412b4e9b8..00000000000
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/PNGWriter.h
+++ /dev/null
@@ -1,63 +0,0 @@
-//========================================================================
-//
-// PNGWriter.h
-//
-// This file is licensed under the GPLv2 or later
-//
-// Copyright (C) 2009 Warren Toomey <wkt@tuhs.org>
-// Copyright (C) 2009 Shen Liang <shenzhuxi@gmail.com>
-// Copyright (C) 2009, 2011 Albert Astals Cid <aacid@kde.org>
-// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
-// Copyright (C) 2010, 2011 Adrian Johnson <ajohnson@redneon.com>
-//
-//========================================================================
-
-#ifndef PNGWRITER_H
-#define PNGWRITER_H
-
-#include "poppler-config.h"
-
-#ifdef ENABLE_LIBPNG
-
-#include <cstdio>
-#include <png.h>
-#include "ImgWriter.h"
-
-class PNGWriter : public ImgWriter
-{
- public:
-
- /* RGB - 3 bytes/pixel
- * RGBA - 4 bytes/pixel
- * GRAY - 1 byte/pixel
- * MONOCHROME - 1 byte/pixel. PNGWriter will bitpack to 8 pixels/byte
- */
- enum Format { RGB, RGBA, GRAY, MONOCHROME };
-
- PNGWriter(Format format = RGB);
- ~PNGWriter();
-
- void setICCProfile(const char *name, unsigned char *data, int size);
- void setSRGBProfile();
-
-
- bool init(FILE *f, int width, int height, int hDPI, int vDPI);
-
- bool writePointers(unsigned char **rowPointers, int rowCount);
- bool writeRow(unsigned char **row);
-
- bool close();
-
- private:
- Format format;
- png_structp png_ptr;
- png_infop info_ptr;
- unsigned char *icc_data;
- int icc_data_size;
- char *icc_name;
- bool sRGB_profile;
-};
-
-#endif
-
-#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/TiffWriter.h b/Build/source/libs/poppler/poppler-0.21.0/goo/TiffWriter.h
deleted file mode 100644
index bffd17a9880..00000000000
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/TiffWriter.h
+++ /dev/null
@@ -1,56 +0,0 @@
-//========================================================================
-//
-// TiffWriter.h
-//
-// This file is licensed under the GPLv2 or later
-//
-// Copyright (C) 2010, 2012 William Bader <williambader@hotmail.com>
-// Copyright (C) 2011 Albert Astals Cid <aacid@kde.org>
-//
-//========================================================================
-
-#ifndef TIFFWRITER_H
-#define TIFFWRITER_H
-
-#include "poppler-config.h"
-
-#ifdef ENABLE_LIBTIFF
-
-#include <sys/types.h>
-#include "ImgWriter.h"
-#include "splash/SplashTypes.h"
-
-extern "C" {
-#include "tiffio.h"
-}
-
-class TiffWriter : public ImgWriter
-{
- public:
- TiffWriter();
- ~TiffWriter();
-
- void setCompressionString(const char *compressionStringArg);
- void setSplashMode(SplashColorMode splashModeArg);
-
- bool init(FILE *openedFile, int width, int height, int hDPI, int vDPI);
-
- bool writePointers(unsigned char **rowPointers, int rowCount);
- bool writeRow(unsigned char **rowData);
-
- bool supportCMYK() { return true; }
-
- bool close();
-
- private:
- TIFF *f; // LibTiff file context
- int numRows; // number of rows in the image
- int curRow; // number of rows written
- const char *compressionString; // compression type
- SplashColorMode splashMode; // format of image data
-
-};
-
-#endif
-
-#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoRescaleBox.h b/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoRescaleBox.h
deleted file mode 100644
index 5349c87f306..00000000000
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoRescaleBox.h
+++ /dev/null
@@ -1,12 +0,0 @@
-#ifndef CAIRO_RESCALE_BOX_H
-#define CAIRO_RESCALE_BOX_H
-
-#include "goo/gtypes.h"
-
-GBool downscale_box_filter(unsigned int *orig, int orig_stride, unsigned orig_width, unsigned orig_height,
- signed scaled_width, signed scaled_height,
- unsigned short int start_column, unsigned short int start_row,
- unsigned short int width, unsigned short int height,
- unsigned int *dest, int dst_stride);
-
-#endif /* CAIRO_RESCALE_BOX_H */
diff --git a/Build/source/libs/poppler/poppler-0.21.0-PATCHES/ChangeLog b/Build/source/libs/poppler/poppler-0.22.0-PATCHES/ChangeLog
index 9fa38154633..89888346a52 100644
--- a/Build/source/libs/poppler/poppler-0.21.0-PATCHES/ChangeLog
+++ b/Build/source/libs/poppler/poppler-0.22.0-PATCHES/ChangeLog
@@ -1,3 +1,9 @@
+2012-12-31 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ Imported poppler-0.22.0 source tree from:
+ http://poppler.freedesktop.org/
+ * patch-02-warnings: Adapted.
+
2012-10-15 Peter Breitenlohner <peb@mppmu.mpg.de>
Imported poppler-0.21.0 source tree from:
diff --git a/Build/source/libs/poppler/poppler-0.21.0-PATCHES/TL-Changes b/Build/source/libs/poppler/poppler-0.22.0-PATCHES/TL-Changes
index 00177057a05..a12c8d9f7dd 100644
--- a/Build/source/libs/poppler/poppler-0.21.0-PATCHES/TL-Changes
+++ b/Build/source/libs/poppler/poppler-0.22.0-PATCHES/TL-Changes
@@ -1,4 +1,4 @@
-Changes applied to the poppler-0.21.0 tree as obtained from:
+Changes applied to the poppler-0.22.0 tree as obtained from:
http://poppler.freedesktop.org/
Removed:
diff --git a/Build/source/libs/poppler/poppler-0.21.0-PATCHES/patch-02-warnings b/Build/source/libs/poppler/poppler-0.22.0-PATCHES/patch-02-warnings
index 6f0520078b1..7005780d152 100644
--- a/Build/source/libs/poppler/poppler-0.21.0-PATCHES/patch-02-warnings
+++ b/Build/source/libs/poppler/poppler-0.22.0-PATCHES/patch-02-warnings
@@ -1,7 +1,7 @@
-diff -ur poppler-0.21.0.orig/poppler/GfxState.cc poppler-0.21.0/poppler/GfxState.cc
---- poppler-0.21.0.orig/poppler/GfxState.cc 2012-09-11 23:26:45.000000000 +0200
-+++ poppler-0.21.0/poppler/GfxState.cc 2012-10-15 11:08:08.000000000 +0200
-@@ -3423,7 +3423,7 @@
+diff -ur poppler-0.22.0.orig/poppler/GfxState.cc poppler-0.22.0/poppler/GfxState.cc
+--- poppler-0.22.0.orig/poppler/GfxState.cc 2012-12-29 19:10:14.000000000 +0100
++++ poppler-0.22.0/poppler/GfxState.cc 2012-12-31 18:31:11.556637007 +0100
+@@ -3433,7 +3433,7 @@
getParameterRange(&sMin, &sMax, xMin, yMin, xMax, yMax);
upperBound = ctm->norm() * getDistance(sMin, sMax);
@@ -10,9 +10,9 @@ diff -ur poppler-0.21.0.orig/poppler/GfxState.cc poppler-0.21.0/poppler/GfxState
maxSize = std::max<int>(maxSize, 2);
{
-diff -ur poppler-0.21.0.orig/poppler/GfxState.h poppler-0.21.0/poppler/GfxState.h
---- poppler-0.21.0.orig/poppler/GfxState.h 2012-09-11 23:32:57.000000000 +0200
-+++ poppler-0.21.0/poppler/GfxState.h 2012-10-15 11:08:08.000000000 +0200
+diff -ur poppler-0.22.0.orig/poppler/GfxState.h poppler-0.22.0/poppler/GfxState.h
+--- poppler-0.22.0.orig/poppler/GfxState.h 2012-12-28 01:17:05.000000000 +0100
++++ poppler-0.22.0/poppler/GfxState.h 2012-12-31 18:31:11.560620942 +0100
@@ -101,7 +101,7 @@
}
@@ -22,9 +22,9 @@ diff -ur poppler-0.21.0.orig/poppler/GfxState.h poppler-0.21.0/poppler/GfxState.
}
static inline double byteToDbl(Guchar x) {
-diff -ur poppler-0.21.0.orig/poppler/Hints.cc poppler-0.21.0/poppler/Hints.cc
---- poppler-0.21.0.orig/poppler/Hints.cc 2012-02-29 21:12:22.000000000 +0100
-+++ poppler-0.21.0/poppler/Hints.cc 2012-10-15 11:08:08.000000000 +0200
+diff -ur poppler-0.22.0.orig/poppler/Hints.cc poppler-0.22.0/poppler/Hints.cc
+--- poppler-0.22.0.orig/poppler/Hints.cc 2012-12-28 01:17:03.000000000 +0100
++++ poppler-0.22.0/poppler/Hints.cc 2012-12-31 18:31:11.560620942 +0100
@@ -415,7 +415,7 @@
{
Guint bit, bits;
@@ -48,9 +48,9 @@ diff -ur poppler-0.21.0.orig/poppler/Hints.cc poppler-0.21.0/poppler/Hints.cc
return bit | bits;
}
-diff -ur poppler-0.21.0.orig/poppler/Lexer.cc poppler-0.21.0/poppler/Lexer.cc
---- poppler-0.21.0.orig/poppler/Lexer.cc 2012-09-16 13:50:19.000000000 +0200
-+++ poppler-0.21.0/poppler/Lexer.cc 2012-10-15 11:08:08.000000000 +0200
+diff -ur poppler-0.22.0.orig/poppler/Lexer.cc poppler-0.22.0/poppler/Lexer.cc
+--- poppler-0.22.0.orig/poppler/Lexer.cc 2012-12-28 01:17:03.000000000 +0100
++++ poppler-0.22.0/poppler/Lexer.cc 2012-12-31 18:31:11.560620942 +0100
@@ -216,7 +216,7 @@
overflownUnsignedInteger = gTrue;
xf = xi * 10.0 + (c - '0');
@@ -60,10 +60,10 @@ diff -ur poppler-0.21.0.orig/poppler/Lexer.cc poppler-0.21.0/poppler/Lexer.cc
}
} else {
xi = xi * 10 + (c - '0');
-diff -ur poppler-0.21.0.orig/poppler/Stream.cc poppler-0.21.0/poppler/Stream.cc
---- poppler-0.21.0.orig/poppler/Stream.cc 2012-09-18 00:11:08.000000000 +0200
-+++ poppler-0.21.0/poppler/Stream.cc 2012-10-15 11:08:08.000000000 +0200
-@@ -479,7 +479,7 @@
+diff -ur poppler-0.22.0.orig/poppler/Stream.cc poppler-0.22.0/poppler/Stream.cc
+--- poppler-0.22.0.orig/poppler/Stream.cc 2012-12-28 01:17:03.000000000 +0100
++++ poppler-0.22.0/poppler/Stream.cc 2012-12-31 18:31:11.560620942 +0100
+@@ -480,7 +480,7 @@
Guchar *p;
int readChars = str->doGetChars(inputLineSize, inputLine);
diff --git a/Build/source/libs/poppler/poppler-0.21.0/AUTHORS b/Build/source/libs/poppler/poppler-0.22.0/AUTHORS
index a785e403211..a785e403211 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/AUTHORS
+++ b/Build/source/libs/poppler/poppler-0.22.0/AUTHORS
diff --git a/Build/source/libs/poppler/poppler-0.21.0/CMakeLists.txt b/Build/source/libs/poppler/poppler-0.22.0/CMakeLists.txt
index 459846af24d..913615cc092 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/CMakeLists.txt
+++ b/Build/source/libs/poppler/poppler-0.22.0/CMakeLists.txt
@@ -15,7 +15,7 @@ include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
set(POPPLER_MAJOR_VERSION "0")
-set(POPPLER_MINOR_VERSION "21")
+set(POPPLER_MINOR_VERSION "22")
set(POPPLER_MICRO_VERSION "0")
set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION}.${POPPLER_MICRO_VERSION}")
@@ -217,9 +217,11 @@ if(_comp_warnings STREQUAL "no")
set(CMAKE_CXX_FLAGS "${DEFAULT_COMPILE_WARNINGS_NO} ${CMAKE_CXX_FLAGS}")
endif(_comp_warnings STREQUAL "no")
if(_comp_warnings STREQUAL "yes")
+ set(CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${DEFAULT_COMPILE_WARNINGS_YES} ${CMAKE_CXX_FLAGS}")
endif(_comp_warnings STREQUAL "yes")
if(_comp_warnings STREQUAL "kde")
+ set(CMAKE_C_FLAGS "-Wall ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${DEFAULT_COMPILE_WARNINGS_KDE} ${CMAKE_CXX_FLAGS}")
endif(_comp_warnings STREQUAL "kde")
@@ -394,7 +396,7 @@ add_library(poppler STATIC ${poppler_SRCS})
else(MSVC)
add_library(poppler SHARED ${poppler_SRCS})
endif(MSVC)
-set_target_properties(poppler PROPERTIES VERSION 29.0.0 SOVERSION 29)
+set_target_properties(poppler PROPERTIES VERSION 34.0.0 SOVERSION 34)
target_link_libraries(poppler ${poppler_LIBS})
target_link_libraries(poppler LINK_INTERFACE_LIBRARIES "")
install(TARGETS poppler RUNTIME DESTINATION bin LIBRARY DESTINATION lib${LIB_SUFFIX} ARCHIVE DESTINATION lib${LIB_SUFFIX})
@@ -469,6 +471,7 @@ if(ENABLE_XPDF_HEADERS)
poppler/StdinCachedFile.h
poppler/StdinPDFDocBuilder.h
poppler/UTF.h
+ poppler/UTF8.h
poppler/XpdfPluginAPI.h
poppler/Sound.h
${CMAKE_CURRENT_BINARY_DIR}/poppler/poppler-config.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/COPYING b/Build/source/libs/poppler/poppler-0.22.0/COPYING
index d511905c164..d511905c164 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/COPYING
+++ b/Build/source/libs/poppler/poppler-0.22.0/COPYING
diff --git a/Build/source/libs/poppler/poppler-0.21.0/ChangeLog b/Build/source/libs/poppler/poppler-0.22.0/ChangeLog
index d1c2a92232a..23e6d9fed3c 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/ChangeLog
+++ b/Build/source/libs/poppler/poppler-0.22.0/ChangeLog
@@ -1,43 +1,2105 @@
-commit 70030b91ce2280f23c3e5adf863f1d336c9c5faf
+commit 801f7feea79e5bc3b5417566552e4df1e6b8a51c
Author: Albert Astals Cid <aacid@kde.org>
-Date: Fri Sep 21 08:18:29 2012 +0200
+Date: Sat Dec 29 19:22:54 2012 +0100
- Increase sonames
+ 0.22.0
+
+ CMakeLists.txt | 6 +++---
+ NEWS | 14 ++++++++++++++
+ configure.ac | 4 ++--
+ cpp/Doxyfile | 2 +-
+ poppler/Makefile.am | 2 +-
+ qt4/src/Doxyfile | 2 +-
+ 6 files changed, 22 insertions(+), 8 deletions(-)
+
+commit bf5ef68c89d4189b18458b764f807cfc6599bad7
+Author: Carlos Garcia Campos <carlosgc@gnome.org>
+Date: Sat Dec 29 19:43:11 2012 +0100
+
+ regtest: Print test results when the test has finished
+
+ To make sure the result corresponds to the test now that we are using
+ multiple threads.
+
+ regtest/Printer.py | 25 +++++++++++++++++++------
+ regtest/TestRun.py | 18 +++++++++---------
+ 2 files changed, 28 insertions(+), 15 deletions(-)
+
+commit 80c7f6aa3fa83175fafc71fa8c834350d513a48f
+Author: Jason Crain <jason@aquaticape.us>
+Date: Fri Nov 23 23:31:01 2012 -0600
+
+ TextOutputDev: Use page size for max value in TextPage::visitSelection
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=50138
+
+ poppler/TextOutputDev.cc | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+commit 0d31edfa5617f4fecb04d5476de54a63b6146686
+Author: Ross Lagerwall <rosslagerwall@gmail.com>
+Date: Fri Nov 30 09:23:55 2012 +0000
+
+ pdf-inspector Change from the deprecated GtkTable to GtkGrid
+
+ This fixes the problem of the description_label height changing after
+ its text changes which was introduced since the port to Gtk3.
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57727
+
+ test/pdf-inspector.ui | 39 +++++++++++++++------------------------
+ 1 file changed, 15 insertions(+), 24 deletions(-)
+
+commit 9977a4f26b5698b0b85ca911e7392013941944e0
+Author: Ross Lagerwall <rosslagerwall@gmail.com>
+Date: Tue Nov 13 15:49:44 2012 +0000
+
+ pdf-inspector: Remove deprectated has-separator property
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57727
+
+ test/pdf-inspector.ui | 1 -
+ 1 file changed, 1 deletion(-)
+
+commit 806d116a38c2a6552c9bcee2c6f753d7059c17aa
+Author: Ross Lagerwall <rosslagerwall@gmail.com>
+Date: Tue Nov 13 15:44:15 2012 +0000
+
+ pdf-inspector: Add correct title and copyright
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57727
+
+ test/pdf-inspector.cc | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+commit 7d5bf74c19768fa3447819a4debff06d5d83900a
+Author: Ross Lagerwall <rosslagerwall@gmail.com>
+Date: Tue Nov 13 15:23:36 2012 +0000
+
+ pdf-inspector: Fix crash by not freeing filename_g
+
+ It is not necessary because PDFDoc takes over filename_g and destroys
+ it in its deconstructor.
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57727
+
+ test/pdf-inspector.cc | 1 -
+ 1 file changed, 1 deletion(-)
+
+commit d61c6d4944d6f7c9e8b517dd28958124f4923d08
+Author: Thomas Freitag <Thomas.Freitag@alfa.de>
+Date: Fri Dec 28 01:18:48 2012 +0100
+
+ Repair pdfunite
+
+ Sorry, when I implemented the support encrypted pdf files in
+ pdfseparate I
+ missed that writePageObjects of course is also used in pdfunite
+ for combining
+ pages, and even more that encrypted files are still not supported
+ by pdfunite,
+ I removed the numoffset from writing the objects itself. Therefore
+ there are
+ still all objects in the combined pdf file, but the references
+ missing the
+ numoffset and therefore were no more reachable.
+ The patch repairs it.
+
+ Bug #58569
+
+ poppler/PDFDoc.cc | 6 ++++--
+ poppler/PDFDoc.h | 4 ++--
+ utils/pdfunite.cc | 4 ++--
+ 3 files changed, 8 insertions(+), 6 deletions(-)
+
+commit be4804bff2b722ceac180da52ad436fee548f9ee
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Fri Dec 28 01:17:14 2012 +0100
+
+ dos2unix
+
+ poppler/PDFDoc.cc | 36 ++++++++++++++++++------------------
+ 1 file changed, 18 insertions(+), 18 deletions(-)
+
+commit 703c77eb59aa22ab6372d56a20ee81dc7dfa6e4a
+Author: Even Rouault <even.rouault@mines-paris.org>
+Date: Fri Dec 28 00:57:17 2012 +0100
+
+ Fix very long loop in JPXStream::getImageParams()
+
+ poppler/JPXStream.cc | 14 ++++++++++----
+ 1 file changed, 10 insertions(+), 4 deletions(-)
+
+commit 7e0be7854adc49e4e00c0badb0dc470fbdf6d612
+Author: Even Rouault <even.rouault@mines-paris.org>
+Date: Fri Dec 28 00:44:29 2012 +0100
+
+ Avoid DoS due to huge number of JPX tiles in a stream
+
+ poppler/JPXStream.cc | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+commit 2017dbebd9afd4f172242ff8462fce739d911e64
+Author: Even Rouault <even.rouault@mines-paris.org>
+Date: Fri Dec 28 00:30:13 2012 +0100
+
+ Do not crash on 0 or negative nBits values
+
+ poppler/Stream.cc | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+commit 858df0dc04e2f306e806fe0fc4fb5c8ec804e263
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Thu Dec 27 23:30:27 2012 +0100
+
+ Fix arg typo
+
+ poppler/PDFDoc.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 1dd6280d79ad22461208702b3c929377887c99ff
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 15 16:39:23 2012 +0100
+
+ 0.21.4 soversion increases
+
+ CMakeLists.txt | 2 +-
+ glib/CMakeLists.txt | 2 +-
+ glib/Makefile.am | 2 +-
+ poppler/Makefile.am | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+commit 99d0288bb0b6879ae5414d174939bbd9c1e90bd3
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 15 16:37:19 2012 +0100
+
+ 0.21.4 version increase
+
+ CMakeLists.txt | 2 +-
+ configure.ac | 2 +-
+ cpp/Doxyfile | 2 +-
+ qt4/src/Doxyfile | 2 +-
+ 4 files changed, 4 insertions(+), 4 deletions(-)
+
+commit 2bc48d5369f1dbecfc4db2878f33bdeb80d8d90f
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 15 16:36:38 2012 +0100
+
+ 0.21.4 NEWS
+
+ NEWS | 18 ++++++++++++++++++
+ 1 file changed, 18 insertions(+)
+
+commit b3423d54b1254597d7ca953872211fa3aa83e29c
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 15 16:29:54 2012 +0100
+
+ Updated copyrights
+
+ goo/JpegWriter.h | 2 +-
+ goo/PNGWriter.cc | 1 +
+ goo/PNGWriter.h | 1 +
+ goo/TiffWriter.cc | 1 +
+ goo/TiffWriter.h | 1 +
+ poppler/GlobalParams.cc | 2 +-
+ poppler/TextOutputDev.cc | 1 +
+ splash/Splash.cc | 1 +
+ utils/HtmlOutputDev.cc | 1 +
+ 9 files changed, 9 insertions(+), 2 deletions(-)
+
+commit 487f20d24830a97cad4773ae27f0c2cc58df2ed0
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Thu Dec 13 20:40:39 2012 +0100
+
+ Check obj1 is a dict before using it
+
+ Fixes bug #58257
+
+ poppler/Gfx.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 03045469206adbd797e3a38fee3a16cdd1716812
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Thu Dec 13 19:24:54 2012 +0100
+
+ Fix crop on EPS conversion
+
+ Bug #30692
+ Patch is half William Bader's and half mine
+
+ poppler/OutputDev.h | 5 +++++
+ poppler/PSOutputDev.h | 4 +++-
+ poppler/Page.cc | 3 +++
+ poppler/Page.h | 2 ++
+ 4 files changed, 13 insertions(+), 1 deletion(-)
+
+commit 5d50b2765428e5a417967be2f41452ab05917db7
+Author: Peter Breitenlohner <peb@mppmu.mpg.de>
+Date: Tue Dec 11 18:54:30 2012 +0100
+
+ Correct bad semantics
+
+ Negation has higher precedence than comparison
+ Confirmed by Marek Kasik that wrote the code originally
+
+ poppler/TextOutputDev.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit e306bad391a3ff49593f1f3bac0717d62599bd13
+Author: Pino Toscano <pino@kde.org>
+Date: Sun Dec 9 22:40:27 2012 +0100
+
+ pngwriter: move #include <png.h> into .cc file
+
+ Move all the private data (including the libpng types) to a private
+ class.
+
+ This requires HtmlOutputDev.cc to include <png.h> on its own (which
+ is correct, since it uses the libpng API directly).
+
+ goo/PNGWriter.cc | 98
+ ++++++++++++++++++++++++++++--------------------
+ goo/PNGWriter.h | 12 ++----
+ utils/HtmlOutputDev.cc | 4 ++
+ 3 files changed, 64 insertions(+), 50 deletions(-)
+
+commit cf338551e9d031cc00d56cea0d258ec5fd96e79a
+Author: Pino Toscano <pino@kde.org>
+Date: Sun Dec 9 22:22:03 2012 +0100
+
+ tiffwriter: move #include <tiffio.h> into .cc file
+
+ Move all the private data (including the libtiff types) to a private
+ class.
+
+ goo/TiffWriter.cc | 94
+ ++++++++++++++++++++++++++++++-----------------------
+ goo/TiffWriter.h | 12 ++-----
+ 2 files changed, 56 insertions(+), 50 deletions(-)
+
+commit 0dfa51f0bfa787ee9c865fd4f05e4bd964c260fc
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sun Dec 9 22:31:50 2012 +0100
+
+ Having a look at the log Marek has (C) in this file
+
+ poppler/TextOutputDev.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+commit f1b2e29e1d5f420903085318f06c4dc83ebb24f3
+Author: Thomas Freitag <Thomas.Freitag@alfa.de>
+Date: Sun Dec 9 20:59:26 2012 +0100
+
+ Fix crash when rendering on mono1
+
+ poppler/SplashOutputDev.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 71bad47ed6a36d825b0d08992c8db56845c71e40
+Author: Marek Kasik <mkasik@redhat.com>
+Date: Sun Dec 9 20:20:00 2012 +0100
+
+ Filter stuff that might end up in the shell
+
+ Since it seems shells don't know how to filter stuff and might
+ causing bad things to happen
+
+ poppler/Error.cc | 21 +++++++++++++++++----
+ 1 file changed, 17 insertions(+), 4 deletions(-)
+
+commit c35d030472e6cb140c3dff30b91541772c992eb0
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 8 23:51:59 2012 +0100
+
+ Add private copy constructor and operator= to make sure we don't
+ use the default ones
+
+ Since using them would results in bad things happening
+
+ goo/GooHash.h | 16 ++++++++++++++++
+ goo/GooList.h | 16 ++++++++++++++++
+ goo/PNGWriter.h | 5 ++++-
+ goo/TiffWriter.h | 5 ++++-
+ goo/gfile.h | 4 ++++
+ 5 files changed, 44 insertions(+), 2 deletions(-)
+
+commit f6741d9242bf2d9c13c8d534c50c8e4d404afc7f
+Author: Adrian Johnson <ajohnson@redneon.com>
+Date: Sun Dec 2 09:34:35 2012 +1030
+
+ jpegwriter: move #include "jpeglib.h" into .cc file
+
+ On cygwin pdftocairo -v shows the wrong version due to
+ jpeglib.h defining PACKAGE_VERSION.
+
+ Avoid polluting our header files by moving libjpeg.h and
+ libjpeg types into JpegWriter.cc
+
+ Bug 57687
+
+ goo/JpegWriter.cc | 120
+ +++++++++++++++++++++++++++++++-----------------
+ goo/JpegWriter.h | 25 +++++-----
+ splash/SplashBitmap.cc | 2 +-
+ utils/pdftocairo.cc | 4 +-
+ 4 files changed, 95 insertions(+), 56 deletions(-)
+
+commit e78dbb1b7dbd20c3ae547b02270ab0648c1bfc61
+Author: Adrian Johnson <ajohnson@redneon.com>
+Date: Sun Dec 2 09:10:32 2012 +1030
+
+ Reformat goo/*Writer files to poppler style
+
+ goo/ImgWriter.h | 20 ++---
+ goo/JpegWriter.cc | 184 +++++++++++++++++++++----------------------
+ goo/JpegWriter.h | 38 ++++-----
+ goo/PNGWriter.cc | 224
+ ++++++++++++++++++++++++++---------------------------
+ goo/PNGWriter.h | 62 +++++++--------
+ goo/TiffWriter.cc | 40 +++++-----
+ goo/TiffWriter.h | 58 +++++++-------
+ 7 files changed, 313 insertions(+), 313 deletions(-)
+
+commit 1bfe4b22cf893dd498d6f306ee9cf942c72fe3ed
+Author: Matthias Kramm <kramm@quiss.org>
+Date: Mon Nov 19 12:39:56 2012 -0800
+
+ Fix linewidths in monochrome mode.
+
+ For zoom levels that scale the page below sqrt(2) of the original
+ resolution, monochrome line widths were wrong (snapped back to 1 pixel
+ wide.) This patch fixes that issue.
+
+ splash/Splash.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit e5008bdb26df0135edfbd30a811df2332f4e036c
+Author: José Aliste <jaliste@src.gnome.org>
+Date: Sat Dec 8 10:33:21 2012 -0300
+
+ glib-demo: Update the demo to modify flags of annotations
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=58015
+
+ glib/demo/annots.c | 65
+ ++++++++++++++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 65 insertions(+)
+
+commit 8cd5cae953de374276c11711dc106de15c8dcad0
+Author: Carlos Garcia Campos <carlosgc@gnome.org>
+Date: Sat Dec 8 18:57:07 2012 +0100
+
+ regtest: Use the number of cpus as default number of worker threads
+
+ regtest/main.py | 8 +++++---
+ 1 file changed, 5 insertions(+), 3 deletions(-)
+
+commit 605c363b04ba3853883010c0a413054fe246d9aa
+Author: Carlos Garcia Campos <carlosgc@gnome.org>
+Date: Sat Dec 8 18:45:22 2012 +0100
+
+ regtest: Remove trailing whitespaces
+
+ regtest/TestReferences.py | 10 +++++-----
+ regtest/TestRun.py | 10 +++++-----
+ regtest/main.py | 6 +++---
+ 3 files changed, 13 insertions(+), 13 deletions(-)
+
+commit 787a8438708397f0a1bf26e93726f544c91533e6
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sun Dec 2 08:03:10 2012 +0100
+
+ Fix compile warning on deprecated conversion from string constant
+
+ Fixes (for win32):
+
+ CXX GlobalParams.lo
+ GlobalParams.cc: In function 'char* get_poppler_datadir()':
+ GlobalParams.cc:181:12: warning: deprecated conversion from string
+ constant to 'char*' [-Wwrite-strings]
+
+ poppler/GlobalParams.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit cb3a10417ae659fdb7b77132c569c93ec00bc95e
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Sun Dec 2 01:41:05 2012 +0100
+
+ Fixed check_lexer on 32-bit systems
+
+ qt4/tests/check_lexer.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit 8550576bdf74180b62f54f9fd59213fbcd0a1be1
+Author: José Aliste <jaliste@src.gnome.org>
+Date: Sat Dec 8 10:33:04 2012 -0300
+
+ glib: Add poppler_annot_set_flags
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=58015
+
+ glib/poppler-annot.cc | 22 ++++++++++++++++++++++
+ glib/poppler-annot.h | 2 ++
+ 2 files changed, 24 insertions(+)
+
+commit 15dcc5426ce319429e1a2c518902effb2ddf06cf
+Author: Adam Reichold <adamreichold@myopera.com>
+Date: Thu Dec 6 18:45:46 2012 +0100
+
+ implement parallel testing using Python's Queue class
+
+ regtest/Printer.py | 36 ++++++++++++++++-----------
+ regtest/TestReferences.py | 23 +++++++++++++++++-
+ regtest/TestRun.py | 58
+ +++++++++++++++++++++++++++++++++++---------
+ regtest/backends/cairo.py | 5 ++--
+ regtest/backends/splash.py | 5 ++--
+ regtest/main.py | 11 ++++++++-
+ 6 files changed, 104 insertions(+), 34 deletions(-)
+
+commit c46646020826136b403e9aae8e2ded24c7165522
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sun Dec 2 10:04:28 2012 +0100
+
+ glib-demo: Do not use deprecated gtk_color_button_{get,set}_rgba()
+
+ Since Gtk 3.4, gtk_color_button_get_rgba() and
+ gtk_color_button_set_rgba() have been deprecated.
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57798
+
+ glib/demo/selections.c | 16 ++++++++++++++++
+ 1 file changed, 16 insertions(+)
+
+commit f8c1b55e764a6e79b0530fb1be9ee11917f4237e
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 1 22:19:17 2012 +0100
+
+ 0.21.3
+
+ CMakeLists.txt | 4 ++--
+ NEWS | 17 +++++++++++++++++
+ configure.ac | 2 +-
+ cpp/Doxyfile | 2 +-
+ poppler/Makefile.am | 2 +-
+ qt4/src/Doxyfile | 2 +-
+ 6 files changed, 23 insertions(+), 6 deletions(-)
+
+commit e3716d9d735a1093399a3c5c33ea5471a6adc405
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 1 22:34:00 2012 +0100
+
+ Build on make check correctly
+
+ qt4/tests/check_goostring.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit c7ae96b162e8a05269a54c31f8e7c411edc84553
+Merge: 1f279c3 b1dacd1
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 1 21:26:24 2012 +0100
+
+ Merge commit 'b1dacd1e6ab00eb1976491eb2b45c76671011b38'
+
+commit 1f279c32dcdc899b509fc00aaa57382bc8af90f3
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 1 20:37:52 2012 +0100
+
+ Update copyrights
+
+ poppler/CairoOutputDev.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+commit 5daa17c013be8ebe180ff48207e189bd9bd50a84
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 1 20:06:17 2012 +0100
+
+ Initialize to NULL, fixes crash
+
+ Since the TextStringToUCS4 not always assigns to second param,
+ initialize uni to NULL
+
+ poppler/TextOutputDev.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit f673be852e6564e039b5ec24e5bf583149b1d5a4
+Author: Jason Crain <jason@aquaticape.us>
+Date: Sat Dec 1 20:03:00 2012 +0100
+
+ Allow large chars in TextPage
+
+ poppler/TextOutputDev.cc | 1 -
+ 1 file changed, 1 deletion(-)
+
+commit aca122432951c4c0a2a5dbaba046d848f2153b84
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 18:27:55 2012 +0200
+
+ Fix compile warning on unused variable filename_g
+
+ glib/poppler-document.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit c702066961b1cc2a9c0fb16546e9db93c312813b
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 18:23:59 2012 +0200
+
+ Do not use 'size' uninitialized
+
+ poppler/PDFDoc.cc | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+commit 14bdeacb0eb8e4a1d3995f310a1b526e4dcc96dc
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 18:09:01 2012 +0200
+
+ Fix compile warnings on deprecated conversion from string constant to
+ 'char*'
+
+ poppler/FileSpec.cc | 3 ++-
+ poppler/GlobalParamsWin.cc | 4 ++--
+ 2 files changed, 4 insertions(+), 3 deletions(-)
+
+commit 72d4a1ba998218de876e2a0e939bbec4b7795299
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 17:52:13 2012 +0200
+
+ Fix compile warning on signed/unsigned comparison
+
+ goo/gfile.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 1262111e70ff161e495505bd6a262cc0357a943c
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 17:46:54 2012 +0200
+
+ Remove unused variable
+
+ goo/gfile.cc | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+commit 85572b85950ed4e4421f1e61e704e5c250ca27d9
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sat Dec 1 01:50:25 2012 +0100
+
+ Silence gcc warning
+
+ Bug #57572
+
+ goo/TiffWriter.cc | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit a97aead193a927b91a4e33d7b5d2ba7179e664df
+Author: Adrian Johnson <ajohnson@redneon.com>
+Date: Fri Nov 30 21:30:19 2012 +0100
+
+ Splash: Implement bilinear image scaling
+
+ Bug #22138
+
+ poppler/SplashOutputDev.cc | 10 +--
+ splash/Splash.cc | 183
+ +++++++++++++++++++++++++++++++++++++++++---
+ splash/Splash.h | 13 +++-
+ 3 files changed, 188 insertions(+), 18 deletions(-)
+
+commit e6806d893a9a104e3f23d69d0245ad0e4948a409
+Author: Pino Toscano <pino@kde.org>
+Date: Wed Nov 28 17:59:36 2012 +0100
+
+ cmake: Enable compiler warnings for C code
+
+ Compilation of glib/demo uses a C compiler, thus compiler warnings
+ should be enabled in the CFLAGS variable.
+
+ followup of 5c5945d163fe406960ccc2e3a71882722b9e69d1
+
+ CMakeLists.txt | 2 ++
+ 1 file changed, 2 insertions(+)
+
+commit bdb17da35de49b9fd1a549c3afd5e36004552080
+Author: Hib Eris <hib@hiberis.nl>
+Date: Mon Nov 26 20:38:03 2012 +0100
+
+ cairo: Fix uninitaliazed warning in CairoOutputDev
+
+ Fix warning:
+
+ CXX CairoOutputDev.lo
+ ../../poppler/poppler/CairoOutputDev.cc: In member function 'virtual
+ void RescaleDrawImage::getRow(int, uint32_t*)':
+ ../../poppler/poppler/CairoOutputDev.cc:2813:25: warning: 'pix'
+ may be used uninitialized in this function [-Wuninitialized]
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57571
+
+ poppler/CairoOutputDev.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit beff044e4fdf44e80ad7c75255cb71a83e70a293
+Author: Hib Eris <hib@hiberis.nl>
+Date: Tue Nov 27 22:19:01 2012 +0100
+
+ glib-demo: Fix warning on signedness
+
+ Fixes:
+
+ CC attachments.o
+ ../../../poppler/glib/demo/attachments.c: In function
+ ‘attachment_save_callback’:
+ ../../../poppler/glib/demo/attachments.c:190:2: warning: pointer
+ targets in passing argument 2 of ‘g_checksum_update’ differ in
+ signedness [-Wpointer-sign]
+ /usr/include/glib-2.0/glib/gchecksum.h:69:23: note: expected ‘const
+ guchar *’ but argument is of type ‘const gchar *’
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57620
+
+ glib/demo/attachments.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit b484749ffa58315e4b61738d652347d7a77da982
+Author: Hib Eris <hib@hiberis.nl>
+Date: Tue Nov 27 19:38:59 2012 +0100
+
+ glib-demo: Fix set but unused warning
+
+ Fixes:
+
+ CC print.o
+ ../../../poppler/glib/demo/print.c: In function
+ ‘pgd_print_draw_page’:
+ ../../../poppler/glib/demo/print.c:68:27: warning: variable
+ ‘settings’ set but not used [-Wunused-but-set-variable]
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57620
+
+ glib/demo/print.c | 9 ++++++---
+ 1 file changed, 6 insertions(+), 3 deletions(-)
+
+commit 8438daf7bf7ab1b96c6899baab7e47d9c634cb3d
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sun Jun 24 14:54:31 2012 +0200
+
+ glib-demo: pgd_text_view_query_tooltip(): return a gboolean
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57620
+
+ glib/demo/text.c | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+commit ff9e211cfb60eb820b9b046da546352fa59d7df9
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 22:56:02 2012 +0200
+
+ glib-demo: Remove set but unused variable textinfo
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57620
+
+ glib/demo/text.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+commit 8e5ae33bc63eca5297dea12fc281ba223f5be09a
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 22:44:22 2012 +0200
+
+ glib-demo: Fix warning "operation on 'page' may be undefined
+ [-Wsequence-point]"
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57620
+
+ glib/demo/text.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit c6f98d62b885e1d7f6ce1f265d4a87dca36494de
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 22:38:35 2012 +0200
+
+ glib-demo: Remove unused variable slice_selector
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57620
+
+ glib/demo/render.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit da56d280e2a51229c93117d8b537897ba63296cf
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 22:36:29 2012 +0200
+
+ glib-demo: Remove unused variable region
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57620
+
+ glib/demo/selections.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+commit c792e59064018e0fd899f32080489419517f2bbe
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 22:34:44 2012 +0200
+
+ glib-demo: Do not use 'text' uninitialized
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57620
+
+ glib/demo/utils.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit c5a8f7eda14030436e6905dd826e72cabbcf0e5f
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 22:26:53 2012 +0200
+
+ glib-demo: Fix warning on unused variable selection
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57620
+
+ glib/demo/layers.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+commit 4ceb3f4f4ca0092e79bb36723a7332b071491666
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Jun 23 18:36:12 2012 +0200
+
+ glib-demo: Fix warnings on unused variables
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=57620
+
+ glib/demo/annots.c | 4 +---
+ 1 file changed, 1 insertion(+), 3 deletions(-)
+
+commit 5c5945d163fe406960ccc2e3a71882722b9e69d1
+Author: Hib Eris <hib@hiberis.nl>
+Date: Tue Nov 27 19:21:34 2012 +0100
+
+ Enable compiler warnings for C code
+
+ Compilation of glib/demo uses a C compiler, thus compiler warnings
+ should be enabled in the CFLAGS variable.
+
+ configure.ac | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+commit 55940e989701eb9118015e30f4f48eb654fa34c4
+Author: Pino Toscano <pino@kde.org>
+Date: Tue Nov 27 16:05:15 2012 +0100
+
+ fix my previous GooString::insert fix
+
+ we need only to move the characters after the specified position,
+ not all of them
+
+ extend qt4's check_goostring with few more checks covering this
+ (and the previous) fix
+
+ goo/GooString.cc | 2 +-
+ qt4/tests/check_goostring.cpp | 39
+ +++++++++++++++++++++++++++++++++++++++
+ 2 files changed, 40 insertions(+), 1 deletion(-)
+
+commit dcbc9686d97f4f6596c43d1f701207278c25f8eb
+Author: Pino Toscano <pino@kde.org>
+Date: Mon Nov 26 14:44:21 2012 +0100
+
+ glib/cmake: Include Gio-2.0 for introspection
+
+ Fixes g-ir-scanner warnings:
+ poppler-document.cc:257: Warning: Poppler:
+ poppler_document_new_from_stream: argument stream: Unresolved type:
+ 'GInputStream*'
+ poppler-document.cc:257: Warning: Poppler:
+ poppler_document_new_from_stream: argument cancellable: Unresolved
+ type: 'GCancellable*'
+ poppler-document.cc:315: Warning: Poppler:
+ poppler_document_new_from_gfile: argument file: Unresolved type:
+ 'GFile*'
+ poppler-document.cc:315: Warning: Poppler:
+ poppler_document_new_from_gfile: argument cancellable: Unresolved
+ type: 'GCancellable*'
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=56218
+
+ folloup of c84753e12029fcc6113f80dedc9a943ce1deb214
+
+ glib/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 169e4cb001fa235ca608d3d0b42ea4214161fc2d
+Author: Pino Toscano <pino@kde.org>
+Date: Mon Nov 26 14:42:59 2012 +0100
+
+ glib/cmake: Show all suppressed introspection scanner warnings
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=56218
+
+ followup of 11a1f6f512a7d7b86defeb5963fa16bc08e3ba1c
+
+ glib/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 62c0dbbe9f1987c78eeb87f248d35e7fd73e968a
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Mon Nov 26 00:40:57 2012 +0100
+
+ Check GooString::insert
+
+ Checks we don't break what we just fixed with Pino's patch
+
+ qt4/tests/CMakeLists.txt | 1 +
+ qt4/tests/Makefile.am | 7 ++++++-
+ qt4/tests/check_goostring.cpp | 22 ++++++++++++++++++++++
+ 3 files changed, 29 insertions(+), 1 deletion(-)
+
+commit 01e438ca47776075c8171bda090e7d859fd9f620
+Author: Adam Reichold <adamreichold@myopera.com>
+Date: Mon Nov 26 00:39:05 2012 +0100
+
+ Don't use memcpy to copy classes
+
+ poppler/Function.cc | 63
+ ++++++++++++++++++++++++++++++++++++++++++---------
+ poppler/Function.h | 11 +++++----
+ 2 files changed, 59 insertions(+), 15 deletions(-)
+
+commit 7ba15d11e56175601104d125d5e4a47619c224bf
+Author: Pino Toscano <pino@kde.org>
+Date: Mon Nov 26 00:29:35 2012 +0100
+
+ fix GooString::insert()
+
+ Hi,
+
+ as reported in a Debian bug [1], it seems GooString::insert could lead
+ to using uninitialized memory.
+ The case is a simple:
+ GooString goo;
+ goo.insert(0, ".");
+ goo.insert(0, "This is a very long long test string");
+ i.e. basically first insert a single character at position 0, and
+ then a
+ string longer than STR_STATIC_SIZE always at position 0.
+
+ [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693817
+
+ goo/GooString.cc | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+commit 703f85a10cf7ad61d2f2d3a5faf347fdddcb4738
+Author: Carlos Garcia Campos <carlosgc@gnome.org>
+Date: Sun Nov 25 12:36:33 2012 +0100
+
+ glib: Fix returns tag in PopplerAttachmentSaveFunc api doc
+
+ glib/poppler-attachment.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 52896031783b28cee350ea92c8736e2c2e4e9d33
+Author: José Aliste <jaliste@src.gnome.org>
+Date: Mon Nov 19 23:47:19 2012 +0100
+
+ glib: Add missing ":" at the end of some functions documentation
+
+ New versions of gir-scanner emit a warning when the : at
+ the end of the function documentation is not found.
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=56218
+
+ glib/poppler-annot.cc | 2 +-
+ glib/poppler-form-field.cc | 10 +++++-----
+ glib/poppler-layer.cc | 12 ++++++------
+ 3 files changed, 12 insertions(+), 12 deletions(-)
+
+commit 60dfc1a3471f824f40b0bef5b97a7b04bd78e72b
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Oct 20 10:17:01 2012 +0200
+
+ glib: Exclude poppler-input-stream.h from introspection files
+
+ Fixes warning:
+
+ poppler-input-stream.h:28: Warning: Poppler:
+ symbol='inputStreamBufSize': Unknown namespace for symbol
+ 'inputStreamBufSize'
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=56218
+
+ glib/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit c84753e12029fcc6113f80dedc9a943ce1deb214
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Oct 20 09:40:09 2012 +0200
+
+ glib: Include Gio-2.0 for introspection
+
+ Fixes g-ir-scanner warnings:
+ poppler-document.cc:257: Warning: Poppler:
+ poppler_document_new_from_stream: argument stream: Unresolved type:
+ 'GInputStream*'
+ poppler-document.cc:257: Warning: Poppler:
+ poppler_document_new_from_stream: argument cancellable: Unresolved
+ type: 'GCancellable*'
+ poppler-document.cc:315: Warning: Poppler:
+ poppler_document_new_from_gfile: argument file: Unresolved type:
+ 'GFile*'
+ poppler-document.cc:315: Warning: Poppler:
+ poppler_document_new_from_gfile: argument cancellable: Unresolved
+ type: 'GCancellable*'
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=56218
+
+ glib/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 11a1f6f512a7d7b86defeb5963fa16bc08e3ba1c
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Oct 20 09:30:05 2012 +0200
+
+ glib: Show all suppressed introspection scanner warnings
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=56218
+
+ glib/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 16812829a7d4816717731318b1aa1bc3ab5e3935
+Author: Jason Crain <jason@aquaticape.us>
+Date: Mon Aug 27 22:42:11 2012 -0500
+
+ Update fill and stroke color in CairoOutputDev::startPage
+
+ Keep fill_color and stroke_color from falling out of sync with
+ fill_pattern and stroke_pattern.
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=54526
+
+ glib/poppler-page.cc | 2 +-
+ poppler/CairoOutputDev.cc | 2 ++
+ 2 files changed, 3 insertions(+), 1 deletion(-)
+
+commit c93702bea0718d67660f2255344dcf9b0f502d57
+Author: José Aliste <jaliste@src.gnome.org>
+Date: Tue Nov 20 11:25:41 2012 +0100
+
+ glib: Ensure text is only computed on first render
+
+ Getting the text on a page could be quite slow on
+ complex pages without structured text. Before this patch,
+ poppler_page_render would reprocess the text each time
+ is called.
+
+ glib/poppler-page.cc | 9 ++++-----
+ 1 file changed, 4 insertions(+), 5 deletions(-)
+
+commit b0297110c455eb18096268b59d6095d428380de5
+Author: Jason Crain <jason@aquaticape.us>
+Date: Wed Nov 21 14:15:59 2012 -0600
+
+ glib: check if words end with spaces
+
+ poppler_page_get_text_layout and poppler_page_get_text_attributes
+ assume that each word ends with a space or newline, causing them to
+ become mismatched from the text. This adds a check to
+ TextWord::getSpaceAfter.
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=54504
+
+ glib/poppler-page.cc | 62
+ ++++++++++++++++++++++++++++----------------------
+ 1 file changed, 35 insertions(+), 27 deletions(-)
+
+commit b1dacd1e6ab00eb1976491eb2b45c76671011b38
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Fri Nov 23 00:12:24 2012 +0100
+
+ 0.21.2
+
+ CMakeLists.txt | 4 ++--
+ NEWS | 13 +++++++++++++
+ configure.ac | 2 +-
+ cpp/Doxyfile | 2 +-
+ poppler/Makefile.am | 2 +-
+ qt4/src/Doxyfile | 2 +-
+ 6 files changed, 19 insertions(+), 6 deletions(-)
+
+commit 2d2a3af7159945c3fd54f22878e2eb09e019bbc6
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Fri Nov 23 00:06:39 2012 +0100
+
+ Update copyrights
+
+ goo/TiffWriter.cc | 1 +
+ goo/TiffWriter.h | 1 +
+ poppler/CairoRescaleBox.cc | 1 +
+ poppler/CairoRescaleBox.h | 38 ++++++++++++++++++++++++++++++++++++++
+ splash/SplashBitmap.cc | 2 +-
+ 5 files changed, 42 insertions(+), 1 deletion(-)
+
+commit e0d0177562ff546b59b3bc8eb68a08dc740d6f6c
+Author: Adrian Johnson <ajohnson@redneon.com>
+Date: Wed Nov 14 22:44:20 2012 +1030
+
+ cairo: Fix crash in CairoImageOutputDev with setSoftMaskFromImageMask
+
+ Bug 57067
+
+ poppler/CairoOutputDev.cc | 46
+ +++++++++++++++++++++++++++++++++++++++++++++
+ poppler/CairoOutputDev.h | 5 +++++
+ 2 files changed, 51 insertions(+)
+
+commit f050717f986a6c2833876d14083363a540fa849a
+Author: Adrian Johnson <ajohnson@redneon.com>
+Date: Wed Nov 14 23:50:10 2012 +1030
+
+ cairo: fix soft mask when image resolution != smask resolution
+
+ Both image and mask are drawn the same size (unit square) regardless
+ of the size of the image data.
+
+ Bug 57070
+
+ poppler/CairoOutputDev.cc | 12 +++---------
+ 1 file changed, 3 insertions(+), 9 deletions(-)
- CMakeLists.txt | 2 +-
- glib/CMakeLists.txt | 2 +-
- glib/Makefile.am | 2 +-
+commit 87fd5275514b63f13622b79a8fcfe443ccc4f45d
+Author: Adrian Johnson <ajohnson@redneon.com>
+Date: Sun Nov 11 18:53:12 2012 +1030
+
+ cairo: make drawImage work with images > 32767 in width/height
+
+ Cairo images are limited to 32767 in width and height due to the
+ 16.16 format used by pixman. Make drawImage work with large images
+ by scaling down the image before a cairo image is created.
+
+ CairoRescaleBox.cc has been turned into a class with a virtual
+ function to get the next row of the source image. This allows the
+ rescale code to access the source data one row at a time to avoid
+ needing to allocate an image the size of the source image.
+
+ A RescaleDrawImage class derived from CairoRescaleBox has been
+ written to create the cairo source image to be used by drawImage. The
+ code from drawImage that created the cairo source image has been moved
+ into RescaleDrawImage::getSourceImage and RescaleDrawImage::getRow.
+
+ Bug 56858
+
+ poppler/CairoOutputDev.cc | 278
+ +++++++++++++++++++++++---------------------
+ poppler/CairoRescaleBox.cc | 177 +++++++++++++++-------------
+ poppler/CairoRescaleBox.h | 21 +++-
+ 3 files changed, 258 insertions(+), 218 deletions(-)
+
+commit d1c509c48fc422649d0c2c2d70af5e13e3472874
+Author: Adrian Johnson <ajohnson@redneon.com>
+Date: Sat Nov 17 10:04:55 2012 +1030
+
+ pdftocairo: add tiff support
+
+ Bug 57006
+
+ utils/pdftocairo.1 | 23 ++++++++------
+ utils/pdftocairo.cc | 88
+ ++++++++++++++++++++++++++++++++++++++++-----------
+ 2 files changed, 83 insertions(+), 28 deletions(-)
+
+commit 6d3fe48cf30b298b4436462904d781ea441c1f3d
+Author: Adrian Johnson <ajohnson@redneon.com>
+Date: Sat Nov 17 10:03:22 2012 +1030
+
+ tiff: remove splash dependency and add RGBA support
+
+ Bug 57006
+
+ goo/TiffWriter.cc | 47
+ +++++++++++++++++++----------------------------
+ goo/TiffWriter.h | 13 ++++++++++---
+ splash/SplashBitmap.cc | 23 +++++++++++++++++++++--
+ 3 files changed, 50 insertions(+), 33 deletions(-)
+
+commit 15f600a5702788f7e5b91cd67bc2438179921939
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Thu Nov 15 22:17:27 2012 +0100
+
+ Don't do a check for sanity that then we don't use
+
+ Fixes bugs 56753 and 51684
+
+ fofi/FoFiTrueType.cc | 26 --------------------------
+ 1 file changed, 26 deletions(-)
+
+commit c7e3c2d7087e4fc36564ba7bd55e27e100e0a5e5
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Nov 14 14:58:45 2012 +0100
+
+ Remove unused code
+
+ fofi/FoFiTrueType.cc | 658
+ ------------------------------------------
+ fofi/FoFiTrueType.h | 11 +-
+ splash/SplashFTFontEngine.cc | 42 +--
+ 3 files changed, 2 insertions(+), 709 deletions(-)
+
+commit 06951f529e6514a0c26d6d821ab5fab0920a7cf3
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Nov 13 23:37:22 2012 +0100
+
+ Simplify >= 0 ifs for unsigned
+
+ cpp/poppler-global.cpp | 8 ++------
+ 1 file changed, 2 insertions(+), 6 deletions(-)
+
+commit fa813adc3f7b7ee3cc819f1e0cb85e01f13c2c01
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Nov 13 23:37:01 2012 +0100
+
+ Remove < 0 ifs for unsigned
+
+ splash/SplashFTFont.cc | 8 --------
+ 1 file changed, 8 deletions(-)
+
+commit 1969bcd693289eba1138fcaa74a684cb3ff2aefc
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Nov 13 23:36:40 2012 +0100
+
+ Remove unused members
+
+ poppler/Gfx.cc | 3 ---
+ poppler/Gfx.h | 5 +----
+ 2 files changed, 1 insertion(+), 7 deletions(-)
+
+commit 3a6e5ed5e28b6113696a7ae60b0b85d7097eb731
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Nov 13 23:35:53 2012 +0100
+
+ Remove >= 0 checks for unsigned variables
+
+ utils/HtmlFonts.cc | 6 +++---
+ utils/HtmlFonts.h | 4 ++--
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+commit 0dcc2d711810dd64aa8d8721ce53a6b72e12c47c
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Nov 13 23:35:10 2012 +0100
+
+ Remove unused var
+
+ utils/pdfinfo.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 1fc97862d30bf723135310bfc8701e6788bfd284
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Nov 13 23:24:19 2012 +0100
+
+ size can't be smaller than 0 because it's a size_t
+
+ goo/gmem.cc | 22 +---------------------
+ 1 file changed, 1 insertion(+), 21 deletions(-)
+
+commit bb801a9b889bc0e62cf8b853c26cc6636b4af9a1
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Nov 13 22:51:17 2012 +0100
+
+ Removed unused var
+
+ utils/pdfinfo.cc | 1 -
+ 1 file changed, 1 deletion(-)
+
+commit fd651fb49653e89d96b032e010a7d8e891536bb0
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Mon Nov 12 00:42:49 2012 +0100
+
+ Parse the args (so that -v says vesion only)
+
+ Fixes bug #56817
+
+ utils/pdfunite.cc | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+commit 7e2e9567f51d01be9a88848e1141c6d4f0f768a1
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Fri Nov 9 20:02:25 2012 +0100
+
+ 0.21.1
+
+ CMakeLists.txt | 4 ++--
+ NEWS | 14 ++++++++++++++
+ configure.ac | 2 +-
+ cpp/Doxyfile | 2 +-
poppler/Makefile.am | 2 +-
qt4/src/CMakeLists.txt | 2 +-
+ qt4/src/Doxyfile | 2 +-
qt4/src/Makefile.am | 2 +-
+ 8 files changed, 22 insertions(+), 8 deletions(-)
+
+commit 98b7cfd289abb53a745a88d6ec99e95df477fc8f
+Merge: 40efa72 d254174
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Fri Nov 9 00:38:19 2012 +0100
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+ Conflicts:
+ poppler/Form.cc
+
+commit 40efa72987ebf62cbf2c761c10a209e2e6be612e
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Sun Nov 4 11:20:29 2012 +0100
+
+ Replaced forward declaration of enum CryptAlgorithm with a proper
+ #include
+
+ Forward-declaring enums is illegal. It hasn't caused problems so far
+ because XRef.h includes Object.h, which in turn includes Stream.h,
+ where
+ the enum is defined.
+ Therefore, enum is alreadly defined when the compiler reaches
+ that line.
+
+ To avoid future issues, I've replaced it with a proper #include
+ "Stream.h"
+ (which expands to nothing as Stream.h has already been included
+ at that
+ point).
+
+ I've also added a #include in XRef.h because it references enum
+ CryptAlgorithm too. Also in this case, it expands to nothing.
+
+ poppler/PDFDoc.h | 2 +-
+ poppler/XRef.h | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+commit 0f7c17d7f92d4cdfbd8816dba666aeed924d8bc2
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Fri Nov 2 10:54:17 2012 +0100
+
+ qt4: Export information about the document form type
+
+ This patch also wraps the code that checks the form type and moves it
+ from pdfinfo to the Catalog class.
+
+ poppler/Catalog.cc | 19 +++++++++++++++++++
+ poppler/Catalog.h | 9 +++++++++
+ qt4/src/poppler-document.cc | 16 ++++++++++++++++
+ qt4/src/poppler-qt4.h | 18 ++++++++++++++++++
+ utils/pdfinfo.cc | 19 ++++++++++---------
+ 5 files changed, 72 insertions(+), 9 deletions(-)
+
+commit f3f5a166bcd16b6f2cb516cceb2b3f41b6faf0b4
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Fri Nov 2 01:53:24 2012 +0100
+
+ Editable FormFieldChoice: Clear editedChoice when one of the
+ predefined option is selected
+
+ This patch clears the user-entered text when the user interacts with
+ predefined options.
+
+ poppler/Form.cc | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+commit ddcd5dc0ceecc02f0d4f740cb6c9b557dfd33c74
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Thu Nov 1 00:58:51 2012 +0100
+
+ FormFieldChoice ctor: Added support to recognize user strings as
+ /V value
+
+ Fixes
+ http://lists.freedesktop.org/archives/poppler/2012-October/009688.html
+
+ poppler/Form.cc | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+commit 1302bf52bba7e6446f01358240a4b5b583e196a9
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Wed Oct 31 19:56:37 2012 +0100
+
+ FormFieldChoice ctor: Stop scanning if /V is a string and the
+ corresponding option has been identified
+
+ poppler/Form.cc | 11 +++++++++--
+ 1 file changed, 9 insertions(+), 2 deletions(-)
+
+commit d254174e08146115ad04ac1f1bf82bb26e56c684
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Wed Oct 31 16:57:56 2012 +0100
+
+ FormFieldChoice::updateSelection: Fixed wrong loop condition
+
+ poppler/Form.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 401de95f5ab42ab0f5d8fd92d76b5def50f84a2b
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Wed Oct 31 19:43:51 2012 +0100
+
+ FormFieldChoice ctor: Look for selected options in /I instead of /V
+ if /I is available
+
+ Since /I stores the indices of the selected options, it can
+ distinguish
+ duplicate option (i.e. options with the same name/export value).
+
+ poppler/Form.cc | 71
+ ++++++++++++++++++++++++++++++++-----------------------
+ 1 file changed, 42 insertions(+), 29 deletions(-)
+
+commit cfd3a46a857100cb634e18192b762e7342165348
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Wed Oct 31 15:44:32 2012 +0100
+
+ FormFieldChoice: Handle /V values containing the export value instead
+ of the option name
+
+ According to the PDF spec, /V should always contain an "option
+ name" and
+ never an "export value" if /Opt is an array of couples. However, it
+ seems that acroread works the other way round: it is able to identify
+ selected options only if they are referred by their export value
+ instead of the option name.
+ With this patch, we mimic this behavior.
+
+ poppler/Form.cc | 49 ++++++++++++++++++++++++++++++++++---------------
+ 1 file changed, 34 insertions(+), 15 deletions(-)
+
+commit ce99940bcac0447f32ee2ad46efb09af93989c12
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Sat Oct 13 00:13:33 2012 +0200
+
+ FormFieldChoice::updateSelection: Write /I too
+
+ This improves handling of choice fields containing two or more entries
+ with the same name, and also makes sure that the previous value of /I
+ gets updated (failing to update it results in acroread still showing
+ the old selection).
+
+ poppler/Form.cc | 50 ++++++++++++++++++++++++++++++++++++--------------
+ 1 file changed, 36 insertions(+), 14 deletions(-)
+
+commit 102553e2104a1b223c8ac924aa6702829adebbdb
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Wed Oct 31 16:57:56 2012 +0100
+
+ FormFieldChoice::updateSelection: Fixed wrong loop condition
+
+ poppler/Form.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit d7522ea1d2e66beef64f705e8986142f15fcf613
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Wed Oct 31 15:26:37 2012 +0100
+
+ FormFieldChoice ctor: Don't convert "human-readable" option names
+ to unicode
+
+ Despite that comment, they're not meant to be read by humans only,
+ but they
+ are also used as option identifiers.
+
+ This patch stops poppler from forcing them to be unicode. Instead,
+ they now stay the same encoding as their corresponding /Opt entry.
+
+ This fixes poppler not being able to recognize selected entries
+ in documents produced by poppler itself: previously, the /V value was
+ always written in Unicode encoding, and therefore it was very
+ often not
+ binary-equal to the corresponding /Opt entry.
+ Now the /V value is always binary-equal to the corresponding /Opt
+ entry.
+
+ poppler/Form.cc | 16 +---------------
+ 1 file changed, 1 insertion(+), 15 deletions(-)
+
+commit da08ebeee241198907378c6461721fddb5106875
+Author: Adrian Johnson <ajohnson@redneon.com>
+Date: Sun Oct 28 12:13:22 2012 +1030
+
+ Don't allow invalid unicode to be passed to backends
+
+ poppler/CharCodeToUnicode.cc | 11 +++++++++--
+ poppler/UTF.cc | 11 +++++++++++
+ poppler/UTF.h | 4 ++++
+ 3 files changed, 24 insertions(+), 2 deletions(-)
+
+commit 9f92feda5eff9b2542c64349f33ae3cf250e7f4b
+Author: Thomas Freitag <Thomas.Freitag@alfa.de>
+Date: Fri Nov 2 23:05:55 2012 +0100
+
+ Memory leak in CharCodeToUnicode
+
+ Bug #54702
+
+ poppler/CharCodeToUnicode.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+commit ef11b4f0e642dff0be02bf3327eb56bf0b364847
+Author: Thomas Freitag <Thomas.Freitag@alfa.de>
+Date: Fri Nov 2 22:44:27 2012 +0100
+
+ Implement overprint in qt interface
+
+ With minor api fixes by me (Albert Astals Cid)
+
+ qt4/src/poppler-document.cc | 23 +++++++++++---
+ qt4/src/poppler-page.cc | 38 ++++++++++++-----------
+ qt4/src/poppler-private.h | 69
+ +++++++++++++++++++++++++++---------------
+ qt4/src/poppler-qt4.h | 11 ++++++-
+ splash/SplashBitmap.cc | 70
+ +++++++++++++++++++++++++++++++++++++++++++
+ splash/SplashBitmap.h | 5 +++-
+ 6 files changed, 169 insertions(+), 47 deletions(-)
+
+commit ae8fc0cbfc6123189e17b3cf1286e0540f181646
+Author: Adrian Johnson <ajohnson@redneon.com>
+Date: Tue Oct 30 21:22:04 2012 +1030
+
+ cairo: support parameterized Gouraud shading
+
+ Bug 56463
+
+ poppler/CairoOutputDev.cc | 19 +++++++++++++++----
+ 1 file changed, 15 insertions(+), 4 deletions(-)
+
+commit 3be4e835d765f2f060e2a2e07dd23905c3212cdd
+Author: Pino Toscano <pino@kde.org>
+Date: Wed Oct 24 18:37:06 2012 +0200
+
+ dos2unix
+
+ utils/pdftoppm.cc | 876
+ ++++++++++++++++++++++++++---------------------------
+ 1 file changed, 438 insertions(+), 438 deletions(-)
+
+commit 77a980472e76b568346a49057b0217111a14a4cd
+Merge: 74d6217 46fb365
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Oct 23 00:23:53 2012 +0200
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+commit 46fb3653c7ae44c34d12d799df8f70d649eaa995
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Oct 23 00:22:55 2012 +0200
+
+ Fix the or-ing of flags
+
+ qt4/src/poppler-document.cc | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit 74d6217ba164fdfe263b4edac8047b60506e39a6
+Author: Carlos Garcia Campos <carlosgc@gnome.org>
+Date: Sun Oct 21 17:48:57 2012 +0200
+
+ regstest: Add print_test_result_ln() and use it for failed test
+ results
+
+ To make sure they are always shown.
+
+ regtest/Printer.py | 3 +++
+ regtest/TestRun.py | 10 +++++-----
+ 2 files changed, 8 insertions(+), 5 deletions(-)
+
+commit 4e9b8d2cca44241a501bb8095b3980d17fcda6c5
+Author: Carlos Garcia Campos <carlosgc@gnome.org>
+Date: Sun Oct 21 17:48:22 2012 +0200
+
+ regtest: Do not rewrite lines in verbose mode
+
+ regtest/Printer.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 2a25264afe3c59931f6a3638e2d6c6c2e0e5dfba
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Fri Oct 19 17:22:56 2012 +0200
+
+ make static
+
+ because i can
+
+ qt4/tests/check_fonts.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit bc4a54c0a4430216c9aeaf2c3bddbaeef5a004e4
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Fri Oct 19 17:22:13 2012 +0200
+
+ Compile with clang
+
+ qt4/tests/check_fonts.cpp | 6 ++++--
+ 1 file changed, 4 insertions(+), 2 deletions(-)
+
+commit f38194cfae8f8690bc3767cbdcf140519564366c
+Merge: 80cf434 5312984
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Fri Oct 19 00:02:02 2012 +0200
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+commit 5312984b40355b067001704e9c688ea0a72b1159
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Fri Oct 19 00:00:53 2012 +0200
+
+ Define the numbers a bit better so gcc in i386 understands them better
+
+ qt4/tests/check_lexer.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+commit 80cf43472e5913f5f64bf73cb4a8ac5a53063f2e
+Author: Adam Reichold <adamreichold@myopera.com>
+Date: Wed Oct 17 08:27:13 2012 +0200
+
+ added accessors for FormWidgetChoice::editChoice property to qt4
+ frontend
+
+ qt4/src/poppler-form.cc | 23 +++++++++++++++++++++++
+ qt4/src/poppler-form.h | 15 +++++++++++++++
+ 2 files changed, 38 insertions(+)
+
+commit 0b3ff2dc4e1ba37dd66f5913b10a9d69e31c40ce
+Merge: fb5cb0f 528b64b
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Oct 17 00:28:40 2012 +0200
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+ Conflicts:
+ CMakeLists.txt
+ NEWS
+ configure.ac
+ cpp/Doxyfile
+ poppler/Annot.cc
+ poppler/Form.h
+ qt4/src/Doxyfile
+
+commit 528b64bb077ed37c0d8fc7ae2ef3dc2c0dbb26ca
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Tue Sep 4 23:10:17 2012 +0200
+
+ Free entries in the xref form a linked list: terminate it properly
+ when writing the XRef
+
+ The last entry must point back to object 0. Previously it was left
+ unitialized and resulted in "-000000001 00000 f" being written in the
+ XRef table.
+
+ poppler/XRef.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+commit fb5cb0fbdfcd06556661b38b0c598922fff2d759
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Thu Oct 4 11:20:42 2012 +0200
+
+ Create the 24x24 rectangle for text annotation icons from the top-left
+ corner instead of bottom-left
+
+ poppler/Annot.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 35c07fe40d7b18e19f6ef0f5615f9f5ac8195cf7
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Tue Oct 9 15:24:02 2012 +0200
+
+ AnnotWidget: Avoid repeatedly deleting and creating xref entries
+ for appearance streams
+
+ Previously updating the appearance stream always involved deleting
+ the old
+ stream's xref entry and creating a new one.
+ Since xref entry deletion causes the generation number to be
+ incremented, this
+ behavior caused the generation number to quickly rise during user
+ input.
+
+ This patch stops it by reusing the same entry as the old appearance
+ stream in
+ case of repeated modifications.
+
+ poppler/Annot.cc | 40 ++++++++++++++++++++++++++++------------
+ poppler/Annot.h | 1 +
+ 2 files changed, 29 insertions(+), 12 deletions(-)
+
+commit 2127a977bbe9985aa58561116508ad4f08430a2c
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Tue Oct 9 12:49:26 2012 +0200
+
+ Generate and write the appearance stream in
+ AnnotWidget::updateWidgetApperance()
+
+ Note: At the moment the old appearance is deleted and a *new* xref
+ entry is
+ created every time AnnotWidget::updateWidgetApperance() is called.
+
+ poppler/Annot.cc | 30 +++++++++++++++++++++++++-----
+ 1 file changed, 25 insertions(+), 5 deletions(-)
+
+commit 0446e2cc1073f4579a90284d28bc5872e46e0536
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Tue Oct 9 10:47:40 2012 +0200
+
+ Killed FormField::isModified() in favor of a new AnnotWidget callback
+
+ Instead of having to ask FormField from AnnotWidget::draw if the
+ widget's appearance needs to be rebuilt, now AnnotWidget gets notified
+ of changes via the new AnnotWidget::updateAppearanceStream() callback.
+
+ poppler/Annot.cc | 16 ++++++++++------
+ poppler/Annot.h | 1 +
+ poppler/Form.cc | 52
+ ++++++++++++++++++++++++++++++++++++++--------------
+ poppler/Form.h | 12 +++++++++---
+ 4 files changed, 58 insertions(+), 23 deletions(-)
+
+commit 68d732ab2d55ae15e194ececfffa753977fae84c
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Tue Oct 9 15:24:02 2012 +0200
+
+ AnnotWidget: Avoid repeatedly deleting and creating xref entries
+ for appearance streams
+
+ Previously updating the appearance stream always involved deleting
+ the old
+ stream's xref entry and creating a new one.
+ Since xref entry deletion causes the generation number to be
+ incremented, this
+ behavior caused the generation number to quickly rise during user
+ input.
+
+ This patch stops it by reusing the same entry as the old appearance
+ stream in
+ case of repeated modifications.
+
+ poppler/Annot.cc | 40 ++++++++++++++++++++++++++++------------
+ poppler/Annot.h | 1 +
+ 2 files changed, 29 insertions(+), 12 deletions(-)
+
+commit e2993cc9551dc7521528904646f941c9747473f7
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Tue Oct 9 12:49:26 2012 +0200
+
+ Generate and write the appearance stream in
+ AnnotWidget::updateWidgetApperance()
+
+ Note: At the moment the old appearance is deleted and a *new* xref
+ entry is
+ created every time AnnotWidget::updateWidgetApperance() is called.
+
+ poppler/Annot.cc | 30 +++++++++++++++++++++++++-----
+ 1 file changed, 25 insertions(+), 5 deletions(-)
+
+commit df924493922e8c0f7b1e19c2847d33b28a098913
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Tue Oct 9 10:47:40 2012 +0200
+
+ Killed FormField::isModified() in favor of a new AnnotWidget callback
+
+ Instead of having to ask FormField from AnnotWidget::draw if the
+ widget's appearance needs to be rebuilt, now AnnotWidget gets notified
+ of changes via the new AnnotWidget::updateAppearanceStream() callback.
+
+ poppler/Annot.cc | 16 ++++++++++------
+ poppler/Annot.h | 1 +
+ poppler/Form.cc | 52
+ ++++++++++++++++++++++++++++++++++++++--------------
+ poppler/Form.h | 12 +++++++++---
+ 4 files changed, 58 insertions(+), 23 deletions(-)
+
+commit 0a5bda01ace9f8576d687c5a28feb5cf09b48a92
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Sun Oct 14 23:05:27 2012 +0200
+
+ New/old header for cmake buildsystem
+
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+commit 6d46f0b477143eb0df09f718e96dd2ff2a7dd61b
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Sep 22 20:50:07 2012 +0200
+
+ Split our UTF.h into xpdf based UTF8.h and a poppler specific UTF.h
+
+ poppler/GlobalParams.cc | 2 +-
+ poppler/Makefile.am | 1 +
+ poppler/UTF.h | 79
+ +-------------------------------------------
+ poppler/UTF8.h | 84
+ +++++++++++++++++++++++++++++++++++++++++++++++
+ 4 files changed, 87 insertions(+), 79 deletions(-)
+
+commit 03cbba935c90ce9a6d9ad44f7cda4901c2f81f2e
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sat Sep 22 19:58:40 2012 +0200
+
+ Do not use mapUTF8() directly in CairoOutputDev
+
+ poppler/CairoOutputDev.cc | 8 +++++---
+ 1 file changed, 5 insertions(+), 3 deletions(-)
+
+commit f219bdbcadcb0334d595bbd9afd01f00c37d1978
+Author: Hib Eris <hib@hiberis.nl>
+Date: Sun Oct 14 22:59:55 2012 +0200
+
+ Make sure array index is >= 0
+
+ Fixes this warning on array subscript type:
+ UTF.cc: In function 'int TextStringToUCS4(GooString*, Unicode**)':
+ UTF.cc:99:33: warning: array subscript has type 'char'
+ [-Wchar-subscripts]
+
+ poppler/UTF.cc | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+commit 65a2555607e03c94d77ae9ebdb34ab6d4f8844b6
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Fri Oct 12 23:54:57 2012 +0200
+
+ FormFieldChoice ctor: Fixed wrong index variable
+
+ It caused a crash if multiple items are initially selected.
+
+ poppler/Form.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 710bb3383306a9aa6debbfe1364029ee12a15576
+Author: Fabio D'Urso <fabiodurso@hotmail.it>
+Date: Fri Oct 12 23:54:57 2012 +0200
+
+ FormFieldChoice ctor: Fixed wrong index variable
+
+ It caused a crash if multiple items are initially selected.
+
+ poppler/Form.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit ce18c9b3d5251305eb76d294fdf4b4de9382b3a4
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Oct 10 19:54:57 2012 +0200
+
+ 0.20.5
+
+ CMakeLists.txt | 2 +-
+ NEWS | 15 +++++++++++++++
+ configure.ac | 2 +-
+ cpp/Doxyfile | 2 +-
+ qt4/src/Doxyfile | 2 +-
+ 5 files changed, 19 insertions(+), 4 deletions(-)
+
+commit b112602334a5de84ae30c2e90d9bc6d4609f7f96
+Author: Tobias Koening <tobias.koenig@kdab.com>
+Date: Mon Oct 8 22:32:34 2012 +0200
+
+ [qt4] make LinkRendition properties available
+
+ Bug #55378
+
+ poppler/Link.cc | 34 ++++++++++++++++++-----
+ poppler/Link.h | 17 +++++++++---
+ qt4/src/poppler-annotation.cc | 2 --
+ qt4/src/poppler-annotation.h | 1 +
+ qt4/src/poppler-link.cc | 60
+ ++++++++++++++++++++++++++++++++++++++---
+ qt4/src/poppler-link.h | 57
+ ++++++++++++++++++++++++++++++++++++---
+ qt4/src/poppler-page.cc | 8 +++++-
+ 7 files changed, 158 insertions(+), 21 deletions(-)
+
+commit 6d6bd660dbb652f2f3e87c81c55a87d1fc11ec70
+Author: Carlos Garcia Campos <carlosgc@gnome.org>
+Date: Sat Oct 6 10:26:55 2012 +0200
+
+ glib: chain up finalize to the parent class
+
+ This was missing in some of the classes.
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=55521
+
+ glib/poppler-document.cc | 6 ++++++
+ glib/poppler-page.cc | 2 ++
+ 2 files changed, 8 insertions(+)
+
+commit ac3875a9e7f2f4f31881d3d1b3081f2adaef65a1
+Author: Carlos Garcia Campos <carlosgc@gnome.org>
+Date: Sat Oct 6 10:26:55 2012 +0200
+
+ glib: chain up finalize to the parent class
+
+ This was missing in some of the classes.
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=55521
+
+ glib/poppler-document.cc | 6 ++++++
+ glib/poppler-page.cc | 2 ++
+ 2 files changed, 8 insertions(+)
+
+commit 042d332c1c9f628e3bfaabf3da9e04436a8677b5
+Merge: 7b9a9f8 e044814
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Thu Oct 4 00:53:01 2012 +0200
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+commit e044814c0657a6c5b44939a01dcbdc8d83396d43
+Author: Thomas Freitag <Thomas.Freitag@alfa.de>
+Date: Thu Oct 4 00:51:04 2012 +0200
+
+ Do not render invalid outlines
+
+ Bug #55573
+
+ splash/SplashFTFont.cc | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+commit 7b9a9f809d07303fe5adff9210731613df8b2adf
+Merge: 3b0962c 9451b7a
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Oct 3 01:24:04 2012 +0200
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+commit 9451b7a61b6dcaa6c4a76f3efda82f1ebd408654
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Oct 3 01:21:45 2012 +0200
+
+ Fix crash when parsing some unknown colorspaces
+
+ Can't do csObj->getName if csObj is a dict
+
+ poppler/GfxState.cc | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit 3b0962cd14b15ce92c0916f58ed5ba00aebe80b0
+Merge: a9d7ea2 42908e6
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Oct 2 19:51:48 2012 +0200
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+commit 42908e6e72d95cec0f70b202c4b1c23f7e47c2a4
+Author: Lu Wang <coolwanglu@gmail.com>
+Date: Tue Oct 2 19:31:04 2012 +0200
+
+ support automake-1.12 in autogen.sh
+
+ Bug #55541
+
+ autogen.sh | 15 ++++++++-------
+ 1 file changed, 8 insertions(+), 7 deletions(-)
+
+commit a9d7ea2eb549acbf6ca7e2a299ffed46ff3d8758
+Merge: 397d7b4 9bb6845
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Sep 26 15:31:29 2012 +0200
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+ Conflicts:
+ poppler/XRef.cc
+
+commit 9bb68456de41d24db7acf61204bc3f4e36e98505
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Sep 26 15:13:47 2012 +0200
+
+ Initilize rootNum
+
+ Fixes valgrind warnings about uninitialized uses
+
+ poppler/XRef.cc | 1 +
+ 1 file changed, 1 insertion(+)
+
+commit 397d7b4597ad4bc8ab41fd7a99078473a3c93eb0
+Merge: 6013d49 2c0f70a
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Sep 26 15:00:04 2012 +0200
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+commit 2c0f70afff03798165c2b609e115dc7e9c034c57
+Author: Thomas Freitag <Thomas.Freitag@alfa.de>
+Date: Wed Sep 26 14:58:05 2012 +0200
+
+ More crash fixes for broken documents
+
+ poppler/JPXStream.cc | 97
+ ++++++++++++++++++++++++++++++++++++++++++--------
+ 1 file changed, 82 insertions(+), 15 deletions(-)
+
+commit 78558d24692c68212da35a88deb68069c5a06d81
+Author: Thomas Freitag <Thomas.Freitag@alfa.de>
+Date: Wed Sep 26 14:32:05 2012 +0200
+
+ Fix more crashes in broken files
+
+ solves 1258.pdf.SIGSEGV.dee.288 and 1255.pdf.asan.38.285, extends
+ 1043.pdf.asan.47.50 and 557.pdf.asan.47.894
+
+ poppler/GfxState.cc | 26 +++++++++++++++++++++++---
+ 1 file changed, 23 insertions(+), 3 deletions(-)
+
+commit e8822c0f3a46195ec7c6e55c556dd0c5716be742
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Sep 26 14:21:46 2012 +0200
+
+ Add unlikelys
+
+ poppler/Stream.cc | 32 ++++++++++++++++----------------
+ 1 file changed, 16 insertions(+), 16 deletions(-)
+
+commit 31874f2e065b0d68f726ef404de98f42489c80c7
+Author: Thomas Freitag <Thomas.Freitag@alfa.de>
+Date: Wed Sep 26 14:17:00 2012 +0200
+
+ Less crashes in broken files
+
+ rebased patch for 1001.pdf.asan.2a.4, extends patch for
+ 100.pdf.asan.38.2
+
+ poppler/Stream.cc | 100
+ +++++++++++++++++++++++++++++++++++++++++++++++++++--
+ 1 file changed, 98 insertions(+), 2 deletions(-)
+
+commit 81b1d9207840ec1e66eef469b29a36a8556b7265
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Sep 26 13:38:54 2012 +0200
+
+ Add some unlikelys
+
+ poppler/JBIG2Stream.cc | 28 ++++++++++++++--------------
+ 1 file changed, 14 insertions(+), 14 deletions(-)
+
+commit 9ae1184e3049cabc695c8645a10eaef748b6e641
+Author: Thomas Freitag <Thomas.Freitag@alfa.de>
+Date: Wed Sep 26 12:32:26 2012 +0200
+
+ More fixes against broken files
+
+ solves 121.pdf.asan.6f.235, extends 682.pdf.SIGFPE.f3.1033 and
+ 569.pdf.SIGSEGV.c1.907, extends Patch for 829. and 839. asan and
+ sigsegv series
+
+ poppler/JBIG2Stream.cc | 105
+ ++++++++++++++++++++++++++++++++++++++++++------
+ 1 file changed, 93 insertions(+), 12 deletions(-)
+
+commit 1d72c14b3877ae730ac0aa92f36923269e8a2004
+Author: Thomas Freitag <Thomas.Freitag@alfa.de>
+Date: Wed Sep 26 11:48:14 2012 +0200
+
+ Fix crash in 158.pdf.asan.d.451
+
+ poppler/SplashOutputDev.cc | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+commit 6013d49d852c58c4c23f787fd7dd64731c0918f1
+Merge: b97c28c 671df5d
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Wed Sep 26 00:53:28 2012 +0200
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+commit 671df5dad0732882ceb9e053c3f947dfe0597f3d
+Author: Lu Wang <coolwanglu@gmail.com>
+Date: Wed Sep 26 00:52:32 2012 +0200
+
+ Don't close the stream if it's not a stream
+
+ poppler/PSOutputDev.cc | 4 +++-
+ 1 file changed, 3 insertions(+), 1 deletion(-)
+
+commit b97c28c42a18d1c2a8fabea52c092d948811d582
+Merge: 32bb874 f8c116f
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Sep 25 23:22:23 2012 +0200
+
+ Merge remote-tracking branch 'origin/poppler-0.20'
+
+ Conflicts:
+ qt4/src/Makefile.am
+
+commit f8c116f1e0fbf3516ce228fbb34c33d6b618bed0
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Tue Sep 25 23:07:55 2012 +0200
+
+ Add LCMS_FLAGS
+
+ Fixes compilation when lcms is on non standard locations
+ Bug #55326
+
+ qt4/src/Makefile.am | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+commit 32bb87419c360a3b14c717c0f385198b70a1b2e7
+Author: Carlos Garcia Campos <carlosgc@gnome.org>
+Date: Sun Sep 23 18:15:13 2012 +0200
+
+ regtest: Reduce the noise of the default output when running tests
+
+ Show permanent information only about failed tests, without the
+ details
+ about the failing pages. Previous verbose output is available passing
+ --verbose command line output.
+
+ regtest/Printer.py | 96
+ +++++++++++++++++++++++++++++++++++
+ regtest/TestReferences.py | 8 +--
+ regtest/TestRun.py | 35 ++++++-------
+ regtest/backends/__init__.py | 13 +++--
+ regtest/commands/create-refs.py | 3 +-
+ regtest/commands/find-regression.py | 5 +-
+ regtest/commands/run-tests.py | 3 +-
+ regtest/main.py | 3 ++
+ 8 files changed, 137 insertions(+), 29 deletions(-)
+
+commit ca6afce24aac2ef9d88e215177b11760f7468a6d
+Author: Lu Wang <coolwanglu@gmail.com>
+Date: Fri Sep 21 21:33:05 2012 +0200
+
+ Do not call drawing routines if we don't need non text
+
+ Bug #54617
+
+ poppler/Gfx.cc | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+commit 70030b91ce2280f23c3e5adf863f1d336c9c5faf
+Author: Albert Astals Cid <aacid@kde.org>
+Date: Fri Sep 21 08:18:29 2012 +0200
+
+ Increase sonames
+
+ CMakeLists.txt | 2 +-
+ glib/CMakeLists.txt | 2 +-
+ glib/Makefile.am | 2 +-
+ poppler/Makefile.am | 2 +-
+ qt4/src/CMakeLists.txt | 2 +-
+ qt4/src/Makefile.am | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
commit 2323e38f1a54cb58ec31b4cf15e6c2b1db742ca5
Author: Albert Astals Cid <aacid@kde.org>
-Date: Fri Sep 21 08:12:52 2012 +0200
+Date: Fri Sep 21 08:12:52 2012 +0200
Version increase
CMakeLists.txt | 4 ++--
- configure.ac | 4 ++--
- cpp/Doxyfile | 2 +-
+ configure.ac | 4 ++--
+ cpp/Doxyfile | 2 +-
qt4/src/Doxyfile | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
commit 11a9a620276d199701be5811eb63687ace85ace1
Author: Albert Astals Cid <aacid@kde.org>
-Date: Fri Sep 21 08:10:15 2012 +0200
+Date: Fri Sep 21 08:10:15 2012 +0200
Drop the s from AdditionalActionsType
qt4/src/poppler-annotation-private.h | 5 +++--
- qt4/src/poppler-annotation.cc | 6 +++---
- qt4/src/poppler-annotation.h | 6 +++---
+ qt4/src/poppler-annotation.cc | 6 +++---
+ qt4/src/poppler-annotation.h | 6 +++---
3 files changed, 9 insertions(+), 8 deletions(-)
commit 028e0e7ddf8c30d311feb937385ef21acd34a52d
Author: Albert Astals Cid <aacid@kde.org>
-Date: Thu Sep 20 18:13:08 2012 +0200
+Date: Thu Sep 20 18:13:08 2012 +0200
0.21.0 news
@@ -46,19 +2108,19 @@ Date: Thu Sep 20 18:13:08 2012 +0200
commit 2f2d053352e04e434d83dd93dfdbd08ab5b23f2e
Author: Albert Astals Cid <aacid@kde.org>
-Date: Thu Sep 20 18:12:57 2012 +0200
+Date: Thu Sep 20 18:12:57 2012 +0200
Update copyrights
- poppler/Annot.cc | 3 ++-
- poppler/Annot.h | 1 +
+ poppler/Annot.cc | 3 ++-
+ poppler/Annot.h | 1 +
poppler/TextOutputDev.cc | 2 +-
- poppler/UTF.h | 1 +
+ poppler/UTF.h | 1 +
4 files changed, 5 insertions(+), 2 deletions(-)
commit 9fad83913791478b63fc76360f1a13e955cdcf4a
Author: Albert Astals Cid <aacid@kde.org>
-Date: Mon Sep 17 23:15:10 2012 +0200
+Date: Mon Sep 17 23:15:10 2012 +0200
Move to init
@@ -67,7 +2129,7 @@ Date: Mon Sep 17 23:15:10 2012 +0200
commit c470a3929c0a02b8a543fcada22138ab1fc18176
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
-Date: Mon Sep 17 23:13:48 2012 +0200
+Date: Mon Sep 17 23:13:48 2012 +0200
Support encrypted pdf files in pdfseparate
@@ -79,49 +2141,49 @@ Date: Mon Sep 17 23:13:48 2012 +0200
commit 9b613dcf3c77bc2801d1125dc9bbc5a4dd04e16b
Author: Albert Astals Cid <aacid@kde.org>
-Date: Mon Sep 17 23:12:43 2012 +0200
+Date: Mon Sep 17 23:12:43 2012 +0200
Compile
- goo/TiffWriter.cc | 5 +++++
+ goo/TiffWriter.cc | 5 +++++
1 file changed, 5 insertions(+)
commit fb5c383bd5be7090fc78380b4bb3244c3316c0cd
Author: William Bader <williambader@hotmail.com>
-Date: Mon Sep 17 00:03:49 2012 +0200
+Date: Mon Sep 17 00:03:49 2012 +0200
Make pdftoppm -tiff -overprint work
Bug #54896
goo/TiffWriter.cc | 13 ++++++++++++-
- goo/TiffWriter.h | 4 +++-
+ goo/TiffWriter.h | 4 +++-
2 files changed, 15 insertions(+), 2 deletions(-)
commit 3794916572a0531b10ee57c9f189497489b90bc8
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 16 17:53:47 2012 +0200
+Date: Sun Sep 16 17:53:47 2012 +0200
Fix the siblings field correctly
Fixes KDE bug #302334
- poppler/Form.cc | 45
+ poppler/Form.cc | 45
+++++++++++++++++++++++++--------------------
- poppler/Form.h | 24 +++++++++++++-----------
+ poppler/Form.h | 24 +++++++++++++-----------
qt4/src/poppler-form.cc | 13 ++++++++++---
3 files changed, 48 insertions(+), 34 deletions(-)
commit e8b6d2ac3a874dd5de166b52625fa628004ea5fe
Merge: 7cb4072 9f51baa
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 16 14:08:34 2012 +0200
+Date: Sun Sep 16 14:08:34 2012 +0200
Merge remote-tracking branch 'origin/poppler-0.20'
commit 9f51baaf7a86680f2195ecdb978f1eb59a8aa734
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 16 14:07:45 2012 +0200
+Date: Sun Sep 16 14:07:45 2012 +0200
Rework the #ifdef so that i don't get a gcc warning
@@ -130,7 +2192,7 @@ Date: Sun Sep 16 14:07:45 2012 +0200
commit b63049f97629a93ec346033e0ec56fc11f34c4fe
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 16 14:05:01 2012 +0200
+Date: Sun Sep 16 14:05:01 2012 +0200
Forgot to add the new test to autotools
@@ -140,21 +2202,21 @@ Date: Sun Sep 16 14:05:01 2012 +0200
commit 7cb40726f9e80ee2b2f27ca6ce151b46c6ec091d
Merge: e980d11 c6d7084
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 16 13:50:19 2012 +0200
+Date: Sun Sep 16 13:50:19 2012 +0200
Merge remote-tracking branch 'origin/poppler-0.20'
commit c6d7084d316e94b5b042b086f5440f8543ff5947
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 16 13:48:51 2012 +0200
+Date: Sun Sep 16 13:48:51 2012 +0200
Fix parsing of numbers
-2147483648 is an integer
-2147483649 is a real
- poppler/Lexer.cc | 14 +++++-
- qt4/tests/CMakeLists.txt | 1 +
+ poppler/Lexer.cc | 14 +++++-
+ qt4/tests/CMakeLists.txt | 1 +
qt4/tests/check_lexer.cpp | 118
+++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 131 insertions(+), 2 deletions(-)
@@ -162,13 +2224,13 @@ Date: Sun Sep 16 13:48:51 2012 +0200
commit e980d11061c19f13c75f93506e07903b4d1c7f97
Merge: b72c02d 3658088
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sat Sep 15 20:41:50 2012 +0200
+Date: Sat Sep 15 20:41:50 2012 +0200
Merge remote-tracking branch 'origin/poppler-0.20'
commit 365808837080574080b4f8da079124c172fb2123
Author: Alexey Pavlov <alexpux@gmail.com>
-Date: Sat Sep 15 20:38:10 2012 +0200
+Date: Sat Sep 15 20:38:10 2012 +0200
Fix build using mingw64 with winpthread
@@ -180,13 +2242,13 @@ Date: Sat Sep 15 20:38:10 2012 +0200
Bug #54851
poppler/poppler-config.h.cmake | 2 +-
- poppler/poppler-config.h.in | 2 +-
- poppler/strtok_r.cpp | 16 +++++++++++++++-
+ poppler/poppler-config.h.in | 2 +-
+ poppler/strtok_r.cpp | 16 +++++++++++++++-
3 files changed, 17 insertions(+), 3 deletions(-)
commit b72c02d1a2ec8180b3ddfd2bb2b462c0189377d5
Author: Albert Astals Cid <aacid@kde.org>
-Date: Thu Sep 13 19:56:45 2012 +0200
+Date: Thu Sep 13 19:56:45 2012 +0200
Remove the fonts loop
@@ -197,7 +2259,7 @@ Date: Thu Sep 13 19:56:45 2012 +0200
commit cb93d51ccb6b1f6938946ae5d38fb9817005fd7a
Author: Albert Astals Cid <aacid@kde.org>
-Date: Wed Sep 12 00:12:07 2012 +0200
+Date: Wed Sep 12 00:12:07 2012 +0200
Make gcc happy
@@ -210,7 +2272,7 @@ Date: Wed Sep 12 00:12:07 2012 +0200
commit 3349a8dd7e0469cc5b5aaa8dd929c6078183ef86
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
-Date: Wed Sep 12 00:04:45 2012 +0200
+Date: Wed Sep 12 00:04:45 2012 +0200
Splash: Avoid bogus memory error for tilingPattern
@@ -223,12 +2285,12 @@ Date: Wed Sep 12 00:04:45 2012 +0200
such a huge
bitmap and then draw it to splash.
- poppler/SplashOutputDev.cc | 7 +++++--
+ poppler/SplashOutputDev.cc | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 2e77799a1668f949612f551425d0665c59ff1d93
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
-Date: Tue Sep 11 23:33:25 2012 +0200
+Date: Tue Sep 11 23:33:25 2012 +0200
Splash: Implement DeviceN support
@@ -315,39 +2377,39 @@ Date: Tue Sep 11 23:33:25 2012 +0200
application
and the cirumstances if it wants to use this new mode or not.
- poppler/Function.cc | 14 +
- poppler/Function.h | 4 +
- poppler/GfxState.cc | 341 ++++++++++++++++-
- poppler/GfxState.h | 41 ++-
+ poppler/Function.cc | 14 +
+ poppler/Function.h | 4 +
+ poppler/GfxState.cc | 341 ++++++++++++++++-
+ poppler/GfxState.h | 41 ++-
poppler/SplashOutputDev.cc | 173 ++++++++-
- poppler/SplashOutputDev.h | 3 +
- splash/Splash.cc | 255 ++++++++++++-
- splash/Splash.h | 7 +-
+ poppler/SplashOutputDev.h | 3 +
+ splash/Splash.cc | 255 ++++++++++++-
+ splash/Splash.h | 7 +-
splash/SplashBitmap.cc | 115 +++++-
- splash/SplashBitmap.h | 8 +-
- splash/SplashState.cc | 30 +-
- splash/SplashState.h | 3 +
- splash/SplashTypes.h | 30 +-
- utils/pdftoppm.cc | 878
+ splash/SplashBitmap.h | 8 +-
+ splash/SplashState.cc | 30 +-
+ splash/SplashState.h | 3 +
+ splash/SplashTypes.h | 30 +-
+ utils/pdftoppm.cc | 878
++++++++++++++++++++++----------------------
14 files changed, 1415 insertions(+), 487 deletions(-)
commit cb2ed646c4ef4161e443ee0a377d1111b3be28ff
Merge: f3a1b76 3ce4d21
Author: Albert Astals Cid <aacid@kde.org>
-Date: Tue Sep 11 19:29:19 2012 +0200
+Date: Tue Sep 11 19:29:19 2012 +0200
Merge remote-tracking branch 'origin/poppler-0.20'
commit f3a1b765bd6a58d327a80feedbe30e1c0792076e
Author: Jason Crain <jason@aquaticape.us>
-Date: Tue Sep 11 19:28:28 2012 +0200
+Date: Tue Sep 11 19:28:28 2012 +0200
Allow multiple fonts in a TextWord
Bug #6923
- glib/poppler-page.cc | 49 +++++-----
+ glib/poppler-page.cc | 49 +++++-----
poppler/TextOutputDev.cc | 224
++++++++++++++++++++++------------------------
poppler/TextOutputDev.h | 21 ++---
@@ -355,7 +2417,7 @@ Date: Tue Sep 11 19:28:28 2012 +0200
commit 3ce4d213480471dfd8e307c24c99bf3c6308cd6f
Author: Albert Astals Cid <aacid@kde.org>
-Date: Tue Sep 11 19:24:58 2012 +0200
+Date: Tue Sep 11 19:24:58 2012 +0200
Do not use isnan as it is C99
@@ -364,7 +2426,7 @@ Date: Tue Sep 11 19:24:58 2012 +0200
commit 4d7a64a23fd4b4b5ee0d47ead8677f374aaaf6c9
Author: Jason Crain <jason@aquaticape.us>
-Date: Tue Sep 11 19:24:11 2012 +0200
+Date: Tue Sep 11 19:24:11 2012 +0200
Check for NaN in TextPage::addChar
@@ -373,21 +2435,21 @@ Date: Tue Sep 11 19:24:11 2012 +0200
commit e79b70ec13ab4d2cce8f245d150fa9329b436658
Author: Tobias Koenig <tokoe@kdab.com>
-Date: Tue Sep 11 16:39:55 2012 +0200
+Date: Tue Sep 11 16:39:55 2012 +0200
Make 'additional actions' available in Annotation API of Qt4 frontend
Bug #53589
qt4/src/poppler-annotation-private.h | 3 ++
- qt4/src/poppler-annotation.cc | 99
+ qt4/src/poppler-annotation.cc | 99
+++++++++++++++++++++++++++++++++-
- qt4/src/poppler-annotation.h | 68 ++++++++++++++++++++++-
+ qt4/src/poppler-annotation.h | 68 ++++++++++++++++++++++-
3 files changed, 168 insertions(+), 2 deletions(-)
commit 5f338ea7d01cabc0f8c50690d0bc262d85baa0ed
Author: Albert Astals Cid <aacid@kde.org>
-Date: Mon Sep 10 19:47:20 2012 +0200
+Date: Mon Sep 10 19:47:20 2012 +0200
Fix typo
@@ -396,28 +2458,28 @@ Date: Mon Sep 10 19:47:20 2012 +0200
commit 5fd691dc58aac817bca81c87c4820afcf53989d1
Author: Albert Astals Cid <aacid@kde.org>
-Date: Mon Sep 10 19:29:01 2012 +0200
+Date: Mon Sep 10 19:29:01 2012 +0200
0.20.40.20.40.20.40.20.4
- CMakeLists.txt | 4 ++--
- NEWS | 13 +++++++++++++
- configure.ac | 2 +-
- cpp/Doxyfile | 2 +-
- poppler/Makefile.am | 2 +-
- qt4/src/Doxyfile | 2 +-
+ CMakeLists.txt | 4 ++--
+ NEWS | 13 +++++++++++++
+ configure.ac | 2 +-
+ cpp/Doxyfile | 2 +-
+ poppler/Makefile.am | 2 +-
+ qt4/src/Doxyfile | 2 +-
6 files changed, 19 insertions(+), 6 deletions(-)
commit 1b40cdd9f863cd3868db85b5ccfa77a8350c56d6
Merge: 6c40a55 b3e86db
Author: Albert Astals Cid <aacid@kde.org>
-Date: Mon Sep 10 18:49:52 2012 +0200
+Date: Mon Sep 10 18:49:52 2012 +0200
Merge remote-tracking branch 'origin/poppler-0.20'
commit b3e86dbdba82956f125e37f69176072e2d0127f2
Author: Thomas Freitag <Thomas.Freitag@kabelmail.de>
-Date: Sun Sep 9 23:35:45 2012 +0200
+Date: Sun Sep 9 23:35:45 2012 +0200
Try to find another rootNum if actual rootNum doesn't point to a dict
@@ -430,32 +2492,32 @@ Date: Sun Sep 9 23:35:45 2012 +0200
commit 6c40a553a3c8825931c59797059392fd110531cc
Merge: 17fc1bf 558a7d9
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 9 23:27:40 2012 +0200
+Date: Sun Sep 9 23:27:40 2012 +0200
Merge remote-tracking branch 'origin/poppler-0.20'
commit 558a7d9b046bbbe185dea263b48a3cb2664378fc
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
-Date: Sun Sep 9 23:25:47 2012 +0200
+Date: Sun Sep 9 23:25:47 2012 +0200
Fix invalid memory access in solves 1066.pdf.asan.38.75
- splash/SplashClip.cc | 23 +++++++++++++++++++++++
+ splash/SplashClip.cc | 23 +++++++++++++++++++++++
splash/SplashXPathScanner.cc | 3 +++
2 files changed, 26 insertions(+)
commit d0df8e54512f584ca2b3edbae1c19e167948e5c3
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
-Date: Sun Sep 9 23:21:38 2012 +0200
+Date: Sun Sep 9 23:21:38 2012 +0200
Fix invalid memory access in 1106.pdf.asan.30.120.patch
- poppler/Function.cc | 5 +++++
+ poppler/Function.cc | 5 +++++
1 file changed, 5 insertions(+)
commit 86b89864396a1dcf027e5793e6ac75411977bcf9
Author: Thomas Freitag <Thomas.Freitag@kabelmail.de>
-Date: Sun Sep 9 23:08:49 2012 +0200
+Date: Sun Sep 9 23:08:49 2012 +0200
Fix crash in 1255.pdf.SIGSEGV.56f.285
@@ -464,17 +2526,17 @@ Date: Sun Sep 9 23:08:49 2012 +0200
commit 96931732f343d2bbda9af9488b485da031866c3b
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
-Date: Sun Sep 9 22:47:57 2012 +0200
+Date: Sun Sep 9 22:47:57 2012 +0200
Fix invalid memory access in 61.pdf.asan.13.95
- fofi/FoFiType1C.cc | 25 +++++++++++++++++--------
- fofi/FoFiType1C.h | 2 ++
+ fofi/FoFiType1C.cc | 25 +++++++++++++++++--------
+ fofi/FoFiType1C.h | 2 ++
2 files changed, 19 insertions(+), 8 deletions(-)
commit 26917d69c4da6a110db02b120133c36579fbb17c
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 9 22:23:36 2012 +0200
+Date: Sun Sep 9 22:23:36 2012 +0200
Add unlikely
@@ -483,7 +2545,7 @@ Date: Sun Sep 9 22:23:36 2012 +0200
commit e6a3c797c01aa343f640f2e6f45de5bf379aa8ad
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
-Date: Sun Sep 9 22:22:59 2012 +0200
+Date: Sun Sep 9 22:22:59 2012 +0200
Fix wrong memory access in 68.pdf.asan.7.1030
@@ -492,7 +2554,7 @@ Date: Sun Sep 9 22:22:59 2012 +0200
commit 48fe18cf277cd2a4e665c74b3a594482f762f4b6
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 9 22:09:44 2012 +0200
+Date: Sun Sep 9 22:09:44 2012 +0200
Fix memory leak
@@ -501,17 +2563,17 @@ Date: Sun Sep 9 22:09:44 2012 +0200
commit b87aafc0cdb36c3555053f2684c45f1a9d7b2f94
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 9 21:42:48 2012 +0200
+Date: Sun Sep 9 21:42:48 2012 +0200
Add unlikelys to the ifs
- poppler/DCTStream.cc | 4 ++--
+ poppler/DCTStream.cc | 4 ++--
poppler/JBIG2Stream.cc | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
commit a019eef2f8ca53addd7ccab7f9c47657f4e52286
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
-Date: Sun Sep 9 21:41:09 2012 +0200
+Date: Sun Sep 9 21:41:09 2012 +0200
Fix crash in 1162.pdf.SIGSEGV.28e.182
@@ -520,7 +2582,7 @@ Date: Sun Sep 9 21:41:09 2012 +0200
commit ad7c6ac88f2315c9ce003308d1b4988592d4434b
Author: William Bader <williambader@hotmail.com>
-Date: Sun Sep 9 21:31:58 2012 +0200
+Date: Sun Sep 9 21:31:58 2012 +0200
Fix crash in 1028.pdf.SIGSEGV.ae6.33
@@ -529,7 +2591,7 @@ Date: Sun Sep 9 21:31:58 2012 +0200
commit b861af714daee4125e54b250dddf82106f5a8ce8
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 9 21:15:06 2012 +0200
+Date: Sun Sep 9 21:15:06 2012 +0200
Fix memory leak
@@ -539,13 +2601,13 @@ Date: Sun Sep 9 21:15:06 2012 +0200
commit 17fc1bfa8013cafe3b348f0cc07ef08bf9c7dd9a
Merge: e0118be a4f5911
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 9 12:52:49 2012 +0200
+Date: Sun Sep 9 12:52:49 2012 +0200
Merge remote-tracking branch 'origin/poppler-0.20'
commit a4f59113574a8d7460c6ce5000cb09d20fe52b74
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sun Sep 9 12:49:43 2012 +0200
+Date: Sun Sep 9 12:49:43 2012 +0200
Fix memory leak
@@ -554,7 +2616,7 @@ Date: Sun Sep 9 12:49:43 2012 +0200
commit 28240046f8fe37ca96f9a80cb1ea3a59af9c66f3
Author: Thomas Freitag <Thomas.Freitag@alfa.de>
-Date: Sun Sep 9 12:48:26 2012 +0200
+Date: Sun Sep 9 12:48:26 2012 +0200
Fix crash in 589.pdf.SIGSEGV.8b1.929
@@ -564,7 +2626,7 @@ Date: Sun Sep 9 12:48:26 2012 +0200
commit e0118be3ba38bd00fa2a9c20c5b4cd82e820ba0b
Merge: 2c41430 ccd3db5
Author: Albert Astals Cid <aacid@kde.org>
-Date: Sat Sep 8 18:15:43 2012 +0200
+Date: Sat Sep 8 18:15:43 2012 +0200
Merge remote-tracking branch 'origin/poppler-0.20'
diff --git a/Build/source/libs/poppler/poppler-0.21.0/ConfigureChecks.cmake b/Build/source/libs/poppler/poppler-0.22.0/ConfigureChecks.cmake
index 6e547ed65cb..6e547ed65cb 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/ConfigureChecks.cmake
+++ b/Build/source/libs/poppler/poppler-0.22.0/ConfigureChecks.cmake
diff --git a/Build/source/libs/poppler/poppler-0.21.0/INSTALL b/Build/source/libs/poppler/poppler-0.22.0/INSTALL
index 56b077d6a0b..56b077d6a0b 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/INSTALL
+++ b/Build/source/libs/poppler/poppler-0.22.0/INSTALL
diff --git a/Build/source/libs/poppler/poppler-0.21.0/Makefile.am b/Build/source/libs/poppler/poppler-0.22.0/Makefile.am
index a9f5db1cad6..a9f5db1cad6 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/Makefile.am
+++ b/Build/source/libs/poppler/poppler-0.22.0/Makefile.am
diff --git a/Build/source/libs/poppler/poppler-0.21.0/NEWS b/Build/source/libs/poppler/poppler-0.22.0/NEWS
index 69ba3c49ae7..22e9a0b1a07 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/NEWS
+++ b/Build/source/libs/poppler/poppler-0.22.0/NEWS
@@ -1,3 +1,79 @@
+Release 0.22.0
+ core:
+ * Fix crash in invalid files that define a <= 0 bits per image value
+ * Fix a few issues in JPX decoding when not using OpenJPEG
+ * TextOutputDev: Use page size for max value in TextPage::visitSelection
+ * Fix typo in error message
+
+ utils:
+ * Fix pdfunite regression (Bug #58569)
+ * Demo fixes and improvements
+
+ misc:
+ * pdf-inspector improvements
+
+Release 0.21.4
+ core:
+ * SplashOutputDev: Fix crash when rendering in monochrome mode
+ * SplashOutputDev: Fix line widths in monochrome mode (Bug #57294)
+ * PSOutputDev: Fix crop on EPS conversion (Bug #30692)
+ * TextOutputDev: Fix minor logic mistake
+ * Fix assert on some malformed files (Bug #58257)
+ * Move #include "jpeglib.h" into .cc file (Bug #57687)
+ * Filter text that may end up being written to the shell
+ * Fix windows compile warnings
+
+ glib:
+ * Add poppler_annot_set_flags (Bug #58015)
+ * Demo fixes and improvements
+
+ qt4:
+ * Fix check_lexer on 32-bit systems
+
+Release 0.21.3
+ core:
+ * Splash: Implement bilinear image scaling (Bug #22138)
+ * CairoOutputDev: Update fill and stroke color in startPage (Bug #54526)
+ * Fix GooString::insert()
+ * Allow large chars in TextPage
+ * Fix crash on ActualText::end
+ * Don't use memcpy to copy classes
+ * Fix warnings
+
+ glib:
+ * Check if words end with spaces (Bug #54504)
+ * Ensure text is only computed on first render
+ * Fix warnings while generating introspection file
+ * Fix returns tag in PopplerAttachmentSaveFunc api doc
+ * Minor demo fixes
+
+Release 0.21.2
+ core:
+ * CairoOutputDev: make drawImage work with images > 32767 in width/height (Bug #56858)
+ * CairoOutputDev: Fix soft mask when image resolution != smask resolution (Bug #57070)
+ * CairoOutputDev: Fix crash in CairoImageOutputDev with setSoftMaskFromImageMask (Bug #57067)
+ * Remove a check on fonts that we don't need (Bug #56753)
+ * Misc code cleanups
+
+ utils:
+ * pdftocairo: Add tiff output support (Bug #57006)
+ * pdfunite: Fix -v (Bug #56817)
+ * Misc code cleanups
+
+Release 0.21.1
+ core:
+ * Annotation improvements
+ * Form improvements
+ * CairoImageOutputDev: Support parameterized Gouraud shading (Bug #56463)
+ * UTF validation fixes
+ * Do not call drawing routines if we don't need non text (Bug #54617)
+ * Fix Memory leak in CharCodeToUnicode (Bug #54702)
+
+ qt4:
+ * Make LinkRendition properties available (Bug #55378)
+ * Accessors for FormWidgetChoice::editChoice
+ * Implement overprint
+
Release 0.21.0
core:
* Support the modification of files with Encrypt
@@ -37,6 +113,21 @@ Release 0.21.0
* Add the possibility of using lcms1 even if lcms2 is installed
* Remove extra fontconfig CFLAGS and LIBS
+Release 0.20.5
+ core:
+ * Fix crashes in malformed documents
+ * Fix parsing of very big numbers
+ * Splash: Do not render invalid font outlines (Bug #55573)
+ * Check for NaN in TextPage::addChar
+
+ build system:
+ * Fix build using mingw64 with winpthread
+ * autotools: Fix compilation when lcms is on non standard locations (Bug #55326)
+ * Support automake-1.12 (Bug #55541)
+
+ glib:
+ * Chain up finalize to the parent class (Bug #55521)
+
Release 0.20.4
core:
* Improvements regarding embedded file handling. (KDE Bug #306008)
diff --git a/Build/source/libs/poppler/poppler-0.21.0/README b/Build/source/libs/poppler/poppler-0.22.0/README
index fa223900fbf..fa223900fbf 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/README
+++ b/Build/source/libs/poppler/poppler-0.22.0/README
diff --git a/Build/source/libs/poppler/poppler-0.21.0/README-XPDF b/Build/source/libs/poppler/poppler-0.22.0/README-XPDF
index e97791ce5b2..e97791ce5b2 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/README-XPDF
+++ b/Build/source/libs/poppler/poppler-0.22.0/README-XPDF
diff --git a/Build/source/libs/poppler/poppler-0.21.0/TODO b/Build/source/libs/poppler/poppler-0.22.0/TODO
index e067c2a3156..e067c2a3156 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/TODO
+++ b/Build/source/libs/poppler/poppler-0.22.0/TODO
diff --git a/Build/source/libs/poppler/poppler-0.21.0/config.h.cmake b/Build/source/libs/poppler/poppler-0.22.0/config.h.cmake
index cde219f1e76..cde219f1e76 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/config.h.cmake
+++ b/Build/source/libs/poppler/poppler-0.22.0/config.h.cmake
diff --git a/Build/source/libs/poppler/poppler-0.21.0/config.h.in b/Build/source/libs/poppler/poppler-0.22.0/config.h.in
index a29b012bad5..a29b012bad5 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/config.h.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/config.h.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/configure.ac b/Build/source/libs/poppler/poppler-0.22.0/configure.ac
index 2c44efb2368..c2d6bdd476f 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/configure.ac
+++ b/Build/source/libs/poppler/poppler-0.22.0/configure.ac
@@ -1,5 +1,5 @@
m4_define([poppler_version_major],[0])
-m4_define([poppler_version_minor],[21])
+m4_define([poppler_version_minor],[22])
m4_define([poppler_version_micro],[0])
m4_define([poppler_version],[poppler_version_major.poppler_version_minor.poppler_version_micro])
@@ -743,7 +743,8 @@ if test "x$GCC" != xyes; then
fi
case "$enable_compile_warnings" in
no) ;;
- yes) CXXFLAGS="-Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-check-new -fno-common $CXXFLAGS" ;;
+ yes) CXXFLAGS="-Wall -Woverloaded-virtual -Wnon-virtual-dtor -Wcast-align -fno-exceptions -fno-check-new -fno-common $CXXFLAGS";
+ CFLAGS="-Wall $CFLAGS" ;;
kde) CXXFLAGS="-Wnon-virtual-dtor -Wno-long-long -Wundef \
-D_XOPEN_SOURCE=600 -D_BSD_SOURCE -Wcast-align \
-Wconversion -Wall -W -Wpointer-arith \
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiBase.cc b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiBase.cc
index 86bafd80208..86bafd80208 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiBase.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiBase.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiBase.h b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiBase.h
index d613acd2bb1..d613acd2bb1 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiBase.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiBase.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiEncodings.cc b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiEncodings.cc
index 5cea6fab7f1..5cea6fab7f1 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiEncodings.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiEncodings.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiEncodings.h b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiEncodings.h
index ab80ad362a6..ab80ad362a6 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiEncodings.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiEncodings.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiIdentifier.cc b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiIdentifier.cc
index d8ee7e0e509..d8ee7e0e509 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiIdentifier.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiIdentifier.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiIdentifier.h b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiIdentifier.h
index af1323b76d6..af1323b76d6 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiIdentifier.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiIdentifier.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiTrueType.cc b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiTrueType.cc
index c777d02282e..cd11d6ff2c6 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiTrueType.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiTrueType.cc
@@ -842,664 +842,6 @@ void FoFiTrueType::convertToType0(char *psName, int *cidMap, int nCIDs,
delete ff;
}
-void FoFiTrueType::writeTTF(FoFiOutputFunc outputFunc,
- void *outputStream, char *name,
- int *codeToGID) {
- // this substitute cmap table maps char code ffff to glyph 0,
- // with tables for MacRoman and MS Unicode
- static char cmapTab[44] = {
- 0, 0, // table version number
- 0, 2, // number of encoding tables
- 0, 1, // platform ID
- 0, 0, // encoding ID
- 0, 0, 0, 20, // offset of subtable
- 0, 3, // platform ID
- 0, 1, // encoding ID
- 0, 0, 0, 20, // offset of subtable
- 0, 4, // subtable format
- 0, 24, // subtable length
- 0, 0, // subtable version
- 0, 2, // segment count * 2
- 0, 2, // 2 * 2 ^ floor(log2(segCount))
- 0, 0, // floor(log2(segCount))
- 0, 0, // 2*segCount - 2*2^floor(log2(segCount))
- (char)0xff, (char)0xff, // endCount[0]
- 0, 0, // reserved
- (char)0xff, (char)0xff, // startCount[0]
- 0, 1, // idDelta[0]
- 0, 0 // idRangeOffset[0]
- };
- static char nameTab[8] = {
- 0, 0, // format
- 0, 0, // number of name records
- 0, 6, // offset to start of string storage
- 0, 0 // pad to multiple of four bytes
- };
- static char postTab[32] = {
- 0, 1, 0, 0, // format
- 0, 0, 0, 0, // italic angle
- 0, 0, // underline position
- 0, 0, // underline thickness
- 0, 0, 0, 0, // fixed pitch
- 0, 0, 0, 0, // min Type 42 memory
- 0, 0, 0, 0, // max Type 42 memory
- 0, 0, 0, 0, // min Type 1 memory
- 0, 0, 0, 0 // max Type 1 memory
- };
- static char os2Tab[86] = {
- 0, 1, // version
- 0, 1, // xAvgCharWidth
- 0x01, (char)0x90, // usWeightClass
- 0, 5, // usWidthClass
- 0, 0, // fsType
- 0, 0, // ySubscriptXSize
- 0, 0, // ySubscriptYSize
- 0, 0, // ySubscriptXOffset
- 0, 0, // ySubscriptYOffset
- 0, 0, // ySuperscriptXSize
- 0, 0, // ySuperscriptYSize
- 0, 0, // ySuperscriptXOffset
- 0, 0, // ySuperscriptYOffset
- 0, 0, // yStrikeoutSize
- 0, 0, // yStrikeoutPosition
- 0, 0, // sFamilyClass
- 0, 0, 0, 0, 0, // panose
- 0, 0, 0, 0, 0,
- 0, 0, 0, 0, // ulUnicodeRange1
- 0, 0, 0, 0, // ulUnicodeRange2
- 0, 0, 0, 0, // ulUnicodeRange3
- 0, 0, 0, 0, // ulUnicodeRange4
- 0, 0, 0, 0, // achVendID
- 0, 0, // fsSelection
- 0, 0, // usFirstCharIndex
- 0, 0, // usLastCharIndex
- 0, 0, // sTypoAscender
- 0, 0, // sTypoDescender
- 0, 0, // sTypoLineGap
- 0x20, 0x00, // usWinAscent
- 0x20, 0x00, // usWinDescent
- 0, 0, 0, 1, // ulCodePageRange1
- 0, 0, 0, 0 // ulCodePageRange2
- };
- GBool missingCmap, missingName, missingPost, missingOS2;
- GBool unsortedLoca, emptyCmap, badCmapLen, abbrevHMTX;
- int nZeroLengthTables, nBogusTables;
- int nHMetrics, advWidth, lsb;
- TrueTypeLoca *locaTable;
- TrueTypeTable *newTables;
- char *newNameTab, *newCmapTab, *newHHEATab, *newHMTXTab;
- int nNewTables, cmapIdx, cmapLen, glyfLen, newNameLen, newCmapLen, next;
- int newHHEALen, newHMTXLen;
- Guint locaChecksum, glyfChecksum, fileChecksum;
- char *tableDir;
- char locaBuf[4], checksumBuf[4];
- GBool ok;
- Guint t;
- int pos, i, j, k, n;
-
- if (openTypeCFF) {
- return;
- }
-
- if (tables == NULL) {
- return;
- }
-
- // check for missing tables
- // (Note: if the OS/2 table is missing, the Microsoft PCL5 driver
- // will embed a PCL TrueType font with the pitch field set to zero,
- // which apparently causes divide-by-zero errors. As far as I can
- // tell, the only important field in the OS/2 table is
- // xAvgCharWidth.)
- missingCmap = (cmapIdx = seekTable("cmap")) < 0;
- missingName = seekTable("name") < 0;
- missingPost = seekTable("post") < 0;
- missingOS2 = seekTable("OS/2") < 0;
-
- // read the loca table, check to see if it's sorted
- locaTable = (TrueTypeLoca *)gmallocn(nGlyphs + 1, sizeof(TrueTypeLoca));
- unsortedLoca = gFalse;
- i = seekTable("loca");
- pos = tables[i].offset;
- ok = gTrue;
- for (i = 0; i <= nGlyphs; ++i) {
- if (locaFmt) {
- locaTable[i].origOffset = (int)getU32BE(pos + i*4, &ok);
- } else {
- locaTable[i].origOffset = 2 * getU16BE(pos + i*2, &ok);
- }
- if (i > 0 && locaTable[i].origOffset < locaTable[i-1].origOffset) {
- unsortedLoca = gTrue;
- }
- // glyph descriptions must be at least 12 bytes long (nContours,
- // xMin, yMin, xMax, yMax, instructionLength - two bytes each);
- // invalid glyph descriptions (even if they're never used) make
- // Windows choke, so we work around that problem here (ideally,
- // this would parse the glyph descriptions in the glyf table and
- // remove any that were invalid, but this quick test is a decent
- // start)
- if (i > 0 &&
- locaTable[i].origOffset - locaTable[i-1].origOffset > 0 &&
- locaTable[i].origOffset - locaTable[i-1].origOffset < 12) {
- locaTable[i-1].origOffset = locaTable[i].origOffset;
- unsortedLoca = gTrue;
- }
- locaTable[i].idx = i;
- }
-
- // check for zero-length tables and bogus tags
- nZeroLengthTables = nBogusTables = 0;
- for (i = 0; i < nTables; ++i) {
- if (tables[i].len == 0) {
- ++nZeroLengthTables;
- if (tables[i].tag == cmapTag) {
- missingCmap = gTrue;
- } else if (tables[i].tag == nameTag) {
- missingName = gTrue;
- } else if (tables[i].tag == postTag) {
- missingPost = gTrue;
- } else if (tables[i].tag == os2Tag) {
- missingOS2 = gTrue;
- }
- } else if (!(tables[i].tag & 0xe0000000) ||
- !(tables[i].tag & 0x00e00000) ||
- !(tables[i].tag & 0x0000e000) ||
- !(tables[i].tag & 0x000000e0)) {
- // tags where any of the bytes are < 0x20 are probably bogus
- // (the TrueType spec uses ASCII sequences for tags) -- this
- // catches problems where the number of tables given in the
- // header is too large, and so gibberish data is read at the end
- // of the table directory
- ++nBogusTables;
- }
- }
-
- // check for an empty cmap table or an incorrect cmap table length
- emptyCmap = badCmapLen = gFalse;
- cmapLen = 0; // make gcc happy
- if (!missingCmap) {
- if (nCmaps == 0) {
- emptyCmap = gTrue;
- } else {
- cmapLen = cmaps[0].offset + cmaps[0].len;
- for (i = 1; i < nCmaps; ++i) {
- if (cmaps[i].offset + cmaps[i].len > cmapLen) {
- cmapLen = cmaps[i].offset + cmaps[i].len;
- }
- }
- cmapLen -= tables[cmapIdx].offset;
- if (cmapLen > tables[cmapIdx].len) {
- badCmapLen = gTrue;
- }
- }
- }
-
- // check for an abbreviated hmtx table (this is completely legal,
- // but confuses the Microsoft PCL5 printer driver, which generates
- // embedded fonts with the pitch field set to zero)
- i = seekTable("hhea");
- nHMetrics = getU16BE(tables[i].offset + 34, &ok);
- abbrevHMTX = nHMetrics < nGlyphs;
-
- // if nothing is broken, just write the TTF file as is
- if (!missingCmap && !missingName && !missingPost && !missingOS2 &&
- !unsortedLoca && !emptyCmap && !badCmapLen && !abbrevHMTX &&
- nZeroLengthTables == 0 && nBogusTables == 0 &&
- !name && !codeToGID) {
- (*outputFunc)(outputStream, (char *)file, len);
- goto done1;
- }
-
- // sort the 'loca' table: some (non-compliant) fonts have
- // out-of-order loca tables; in order to correctly handle the case
- // where (compliant) fonts have empty entries in the middle of the
- // table, cmpTrueTypeLocaOffset uses offset as its primary sort key,
- // and idx as its secondary key (ensuring that adjacent entries with
- // the same pos value remain in the same order)
- glyfLen = 0; // make gcc happy
- if (unsortedLoca) {
- std::sort(locaTable, locaTable + nGlyphs + 1,
- cmpTrueTypeLocaOffsetFunctor());
- for (i = 0; i < nGlyphs; ++i) {
- locaTable[i].len = locaTable[i+1].origOffset - locaTable[i].origOffset;
- }
- locaTable[nGlyphs].len = 0;
- std::sort(locaTable, locaTable + nGlyphs + 1, cmpTrueTypeLocaIdxFunctor());
- // if the last entry in the loca is not the max offset (size of
- // the glyf table), something is wrong -- work around the problem
- // by forcing the last sorted entry to have a zero length
- locaTable[nGlyphs].len = 0;
- pos = 0;
- for (i = 0; i <= nGlyphs; ++i) {
- locaTable[i].newOffset = pos;
- pos += locaTable[i].len;
- if (pos & 3) {
- pos += 4 - (pos & 3);
- }
- }
- glyfLen = pos;
- }
-
- // compute checksums for the loca and glyf tables
- locaChecksum = glyfChecksum = 0;
- if (unsortedLoca) {
- if (locaFmt) {
- for (j = 0; j <= nGlyphs; ++j) {
- locaChecksum += locaTable[j].newOffset;
- }
- } else {
- for (j = 0; j <= nGlyphs; j += 2) {
- locaChecksum += locaTable[j].newOffset << 16;
- if (j + 1 <= nGlyphs) {
- locaChecksum += locaTable[j+1].newOffset;
- }
- }
- }
- pos = tables[seekTable("glyf")].offset;
- for (j = 0; j < nGlyphs; ++j) {
- n = locaTable[j].len;
- if (n > 0) {
- k = locaTable[j].origOffset;
- if (checkRegion(pos + k, n)) {
- glyfChecksum += computeTableChecksum(file + pos + k, n);
- }
- }
- }
- }
-
- // construct the new name table
- if (name) {
- n = strlen(name);
- newNameLen = (6 + 4*12 + 2 * (3*n + 7) + 3) & ~3;
- newNameTab = (char *)gmalloc(newNameLen);
- memset(newNameTab, 0, newNameLen);
- newNameTab[0] = 0; // format selector
- newNameTab[1] = 0;
- newNameTab[2] = 0; // number of name records
- newNameTab[3] = 4;
- newNameTab[4] = 0; // offset to start of string storage
- newNameTab[5] = 6 + 4*12;
- next = 0;
- for (i = 0; i < 4; ++i) {
- newNameTab[6 + i*12 + 0] = 0; // platform ID = Microsoft
- newNameTab[6 + i*12 + 1] = 3;
- newNameTab[6 + i*12 + 2] = 0; // encoding ID = Unicode
- newNameTab[6 + i*12 + 3] = 1;
- newNameTab[6 + i*12 + 4] = 0x04; // language ID = American English
- newNameTab[6 + i*12 + 5] = 0x09;
- newNameTab[6 + i*12 + 6] = 0; // name ID
- newNameTab[6 + i*12 + 7] = i + 1;
- newNameTab[6 + i*12 + 8] = i+1 == 2 ? 0 : ((2*n) >> 8); // string length
- newNameTab[6 + i*12 + 9] = i+1 == 2 ? 14 : ((2*n) & 0xff);
- newNameTab[6 + i*12 + 10] = next >> 8; // string offset
- newNameTab[6 + i*12 + 11] = next & 0xff;
- if (i+1 == 2) {
- memcpy(newNameTab + 6 + 4*12 + next, "\0R\0e\0g\0u\0l\0a\0r", 14);
- next += 14;
- } else {
- for (j = 0; j < n; ++j) {
- newNameTab[6 + 4*12 + next + 2*j] = 0;
- newNameTab[6 + 4*12 + next + 2*j + 1] = name[j];
- }
- next += 2*n;
- }
- }
- } else {
- newNameLen = 0;
- newNameTab = NULL;
- }
-
- // construct the new cmap table
- if (codeToGID) {
- newCmapLen = 44 + 256 * 2;
- newCmapTab = (char *)gmalloc(newCmapLen);
- newCmapTab[0] = 0; // table version number = 0
- newCmapTab[1] = 0;
- newCmapTab[2] = 0; // number of encoding tables = 1
- newCmapTab[3] = 1;
- newCmapTab[4] = 0; // platform ID = Microsoft
- newCmapTab[5] = 3;
- newCmapTab[6] = 0; // encoding ID = Unicode
- newCmapTab[7] = 1;
- newCmapTab[8] = 0; // offset of subtable
- newCmapTab[9] = 0;
- newCmapTab[10] = 0;
- newCmapTab[11] = 12;
- newCmapTab[12] = 0; // subtable format = 4
- newCmapTab[13] = 4;
- newCmapTab[14] = 0x02; // subtable length
- newCmapTab[15] = 0x20;
- newCmapTab[16] = 0; // subtable version = 0
- newCmapTab[17] = 0;
- newCmapTab[18] = 0; // segment count * 2
- newCmapTab[19] = 4;
- newCmapTab[20] = 0; // 2 * 2 ^ floor(log2(segCount))
- newCmapTab[21] = 4;
- newCmapTab[22] = 0; // floor(log2(segCount))
- newCmapTab[23] = 1;
- newCmapTab[24] = 0; // 2*segCount - 2*2^floor(log2(segCount))
- newCmapTab[25] = 0;
- newCmapTab[26] = 0x00; // endCount[0]
- newCmapTab[27] = (char)0xff;
- newCmapTab[28] = (char)0xff; // endCount[1]
- newCmapTab[29] = (char)0xff;
- newCmapTab[30] = 0; // reserved
- newCmapTab[31] = 0;
- newCmapTab[32] = 0x00; // startCount[0]
- newCmapTab[33] = 0x00;
- newCmapTab[34] = (char)0xff; // startCount[1]
- newCmapTab[35] = (char)0xff;
- newCmapTab[36] = 0; // idDelta[0]
- newCmapTab[37] = 0;
- newCmapTab[38] = 0; // idDelta[1]
- newCmapTab[39] = 1;
- newCmapTab[40] = 0; // idRangeOffset[0]
- newCmapTab[41] = 4;
- newCmapTab[42] = 0; // idRangeOffset[1]
- newCmapTab[43] = 0;
- for (i = 0; i < 256; ++i) {
- if (codeToGID[i] < 0) {
- //~ this may not be correct - we want this character to never be
- //~ displayed, but mapping it to the notdef glyph may result in
- //~ little boxes being displayed
- newCmapTab[44 + 2*i] = 0;
- newCmapTab[44 + 2*i + 1] = 0;
- } else {
- newCmapTab[44 + 2*i] = codeToGID[i] >> 8;
- newCmapTab[44 + 2*i + 1] = codeToGID[i] & 0xff;
- }
- }
- } else {
- newCmapLen = 0;
- newCmapTab = NULL;
- }
-
- // generate the new hmtx table and the updated hhea table
- if (abbrevHMTX) {
- i = seekTable("hhea");
- pos = tables[i].offset;
- newHHEALen = 36;
- newHHEATab = (char *)gmalloc(newHHEALen);
- for (i = 0; i < newHHEALen; ++i) {
- newHHEATab[i] = getU8(pos++, &ok);
- }
- newHHEATab[34] = nGlyphs >> 8;
- newHHEATab[35] = nGlyphs & 0xff;
- i = seekTable("hmtx");
- pos = tables[i].offset;
- newHMTXLen = 4 * nGlyphs;
- newHMTXTab = (char *)gmalloc(newHMTXLen);
- advWidth = 0;
- for (i = 0; i < nHMetrics; ++i) {
- advWidth = getU16BE(pos, &ok);
- lsb = getU16BE(pos + 2, &ok);
- pos += 4;
- newHMTXTab[4*i ] = advWidth >> 8;
- newHMTXTab[4*i + 1] = advWidth & 0xff;
- newHMTXTab[4*i + 2] = lsb >> 8;
- newHMTXTab[4*i + 3] = lsb & 0xff;
- }
- for (; i < nGlyphs; ++i) {
- lsb = getU16BE(pos, &ok);
- pos += 2;
- newHMTXTab[4*i ] = advWidth >> 8;
- newHMTXTab[4*i + 1] = advWidth & 0xff;
- newHMTXTab[4*i + 2] = lsb >> 8;
- newHMTXTab[4*i + 3] = lsb & 0xff;
- }
- } else {
- newHHEATab = newHMTXTab = NULL;
- newHHEALen = newHMTXLen = 0; // make gcc happy
- }
-
- // construct the new table directory:
- // - keep all original tables with non-zero length
- // - fix the cmap table's length, if necessary
- // - add missing tables
- // - sort the table by tag
- // - compute new table positions, including 4-byte alignment
- // - (re)compute table checksums
- nNewTables = nTables - nZeroLengthTables - nBogusTables +
- (missingCmap ? 1 : 0) + (missingName ? 1 : 0) +
- (missingPost ? 1 : 0) + (missingOS2 ? 1 : 0);
- newTables = (TrueTypeTable *)gmallocn(nNewTables, sizeof(TrueTypeTable));
- j = 0;
- for (i = 0; i < nTables; ++i) {
- if (tables[i].len > 0 &&
- (tables[i].tag & 0xe0000000) &&
- (tables[i].tag & 0x00e00000) &&
- (tables[i].tag & 0x0000e000) &&
- (tables[i].tag & 0x000000e0)) {
- newTables[j] = tables[i];
- newTables[j].origOffset = tables[i].offset;
- if (checkRegion(tables[i].offset, tables[i].len)) {
- newTables[j].checksum =
- computeTableChecksum(file + tables[i].offset, tables[i].len);
- if (tables[i].tag == headTag) {
- // don't include the file checksum
- newTables[j].checksum -= getU32BE(tables[i].offset + 8, &ok);
- }
- }
- if (newTables[j].tag == cmapTag && codeToGID) {
- newTables[j].len = newCmapLen;
- newTables[j].checksum = computeTableChecksum((Guchar *)newCmapTab,
- newCmapLen);
- } else if (newTables[j].tag == cmapTag && emptyCmap) {
- newTables[j].checksum = computeTableChecksum((Guchar *)cmapTab,
- sizeof(cmapTab));
- newTables[j].len = sizeof(cmapTab);
- } else if (newTables[j].tag == cmapTag && badCmapLen) {
- newTables[j].len = cmapLen;
- } else if (newTables[j].tag == locaTag && unsortedLoca) {
- newTables[j].len = (nGlyphs + 1) * (locaFmt ? 4 : 2);
- newTables[j].checksum = locaChecksum;
- } else if (newTables[j].tag == glyfTag && unsortedLoca) {
- newTables[j].len = glyfLen;
- newTables[j].checksum = glyfChecksum;
- } else if (newTables[j].tag == nameTag && name) {
- newTables[j].len = newNameLen;
- newTables[j].checksum = computeTableChecksum((Guchar *)newNameTab,
- newNameLen);
- } else if (newTables[j].tag == hheaTag && abbrevHMTX) {
- newTables[j].len = newHHEALen;
- newTables[j].checksum = computeTableChecksum((Guchar *)newHHEATab,
- newHHEALen);
- } else if (newTables[j].tag == hmtxTag && abbrevHMTX) {
- newTables[j].len = newHMTXLen;
- newTables[j].checksum = computeTableChecksum((Guchar *)newHMTXTab,
- newHMTXLen);
- }
- ++j;
- }
- }
- if (missingCmap) {
- newTables[j].tag = cmapTag;
- if (codeToGID) {
- newTables[j].checksum = computeTableChecksum((Guchar *)newCmapTab,
- newCmapLen);
- newTables[j].len = newCmapLen;
- } else {
- newTables[j].checksum = computeTableChecksum((Guchar *)cmapTab,
- sizeof(cmapTab));
- newTables[j].len = sizeof(cmapTab);
- }
- ++j;
- }
- if (missingName) {
- newTables[j].tag = nameTag;
- if (name) {
- newTables[j].checksum = computeTableChecksum((Guchar *)newNameTab,
- newNameLen);
- newTables[j].len = newNameLen;
- } else {
- newTables[j].checksum = computeTableChecksum((Guchar *)nameTab,
- sizeof(nameTab));
- newTables[j].len = sizeof(nameTab);
- }
- ++j;
- }
- if (missingPost) {
- newTables[j].tag = postTag;
- newTables[j].checksum = computeTableChecksum((Guchar *)postTab,
- sizeof(postTab));
- newTables[j].len = sizeof(postTab);
- ++j;
- }
- if (missingOS2) {
- newTables[j].tag = os2Tag;
- newTables[j].checksum = computeTableChecksum((Guchar *)os2Tab,
- sizeof(os2Tab));
- newTables[j].len = sizeof(os2Tab);
- ++j;
- }
- std::sort(newTables, newTables + nNewTables, cmpTrueTypeTableTagFunctor());
- pos = 12 + nNewTables * 16;
- for (i = 0; i < nNewTables; ++i) {
- newTables[i].offset = pos;
- pos += newTables[i].len;
- if (pos & 3) {
- pos += 4 - (pos & 3);
- }
- }
-
- // write the table directory
- tableDir = (char *)gmalloc(12 + nNewTables * 16);
- tableDir[0] = 0x00; // sfnt version
- tableDir[1] = 0x01;
- tableDir[2] = 0x00;
- tableDir[3] = 0x00;
- tableDir[4] = (char)((nNewTables >> 8) & 0xff); // numTables
- tableDir[5] = (char)(nNewTables & 0xff);
- for (i = -1, t = (Guint)nNewTables; t; ++i, t >>= 1) ;
- t = 1 << (4 + i);
- tableDir[6] = (char)((t >> 8) & 0xff); // searchRange
- tableDir[7] = (char)(t & 0xff);
- tableDir[8] = (char)((i >> 8) & 0xff); // entrySelector
- tableDir[9] = (char)(i & 0xff);
- t = nNewTables * 16 - t;
- tableDir[10] = (char)((t >> 8) & 0xff); // rangeShift
- tableDir[11] = (char)(t & 0xff);
- pos = 12;
- for (i = 0; i < nNewTables; ++i) {
- tableDir[pos ] = (char)(newTables[i].tag >> 24);
- tableDir[pos+ 1] = (char)(newTables[i].tag >> 16);
- tableDir[pos+ 2] = (char)(newTables[i].tag >> 8);
- tableDir[pos+ 3] = (char) newTables[i].tag;
- tableDir[pos+ 4] = (char)(newTables[i].checksum >> 24);
- tableDir[pos+ 5] = (char)(newTables[i].checksum >> 16);
- tableDir[pos+ 6] = (char)(newTables[i].checksum >> 8);
- tableDir[pos+ 7] = (char) newTables[i].checksum;
- tableDir[pos+ 8] = (char)(newTables[i].offset >> 24);
- tableDir[pos+ 9] = (char)(newTables[i].offset >> 16);
- tableDir[pos+10] = (char)(newTables[i].offset >> 8);
- tableDir[pos+11] = (char) newTables[i].offset;
- tableDir[pos+12] = (char)(newTables[i].len >> 24);
- tableDir[pos+13] = (char)(newTables[i].len >> 16);
- tableDir[pos+14] = (char)(newTables[i].len >> 8);
- tableDir[pos+15] = (char) newTables[i].len;
- pos += 16;
- }
- (*outputFunc)(outputStream, tableDir, 12 + nNewTables * 16);
-
- // compute the file checksum
- fileChecksum = computeTableChecksum((Guchar *)tableDir,
- 12 + nNewTables * 16);
- for (i = 0; i < nNewTables; ++i) {
- fileChecksum += newTables[i].checksum;
- }
- fileChecksum = 0xb1b0afba - fileChecksum;
-
- // write the tables
- for (i = 0; i < nNewTables; ++i) {
- if (newTables[i].tag == headTag) {
- if (checkRegion(newTables[i].origOffset, newTables[i].len)) {
- (*outputFunc)(outputStream, (char *)file + newTables[i].origOffset, 8);
- checksumBuf[0] = fileChecksum >> 24;
- checksumBuf[1] = fileChecksum >> 16;
- checksumBuf[2] = fileChecksum >> 8;
- checksumBuf[3] = fileChecksum;
- (*outputFunc)(outputStream, checksumBuf, 4);
- (*outputFunc)(outputStream,
- (char *)file + newTables[i].origOffset + 12,
- newTables[i].len - 12);
- } else {
- for (j = 0; j < newTables[i].len; ++j) {
- (*outputFunc)(outputStream, "\0", 1);
- }
- }
- } else if (newTables[i].tag == cmapTag && codeToGID) {
- (*outputFunc)(outputStream, newCmapTab, newTables[i].len);
- } else if (newTables[i].tag == cmapTag && missingCmap) {
- (*outputFunc)(outputStream, cmapTab, newTables[i].len);
- } else if (newTables[i].tag == nameTag && name) {
- (*outputFunc)(outputStream, newNameTab, newTables[i].len);
- } else if (newTables[i].tag == nameTag && missingName) {
- (*outputFunc)(outputStream, nameTab, newTables[i].len);
- } else if (newTables[i].tag == postTag && missingPost) {
- (*outputFunc)(outputStream, postTab, newTables[i].len);
- } else if (newTables[i].tag == os2Tag && missingOS2) {
- (*outputFunc)(outputStream, os2Tab, newTables[i].len);
- } else if (newTables[i].tag == hheaTag && abbrevHMTX) {
- (*outputFunc)(outputStream, newHHEATab, newTables[i].len);
- } else if (newTables[i].tag == hmtxTag && abbrevHMTX) {
- (*outputFunc)(outputStream, newHMTXTab, newTables[i].len);
- } else if (newTables[i].tag == locaTag && unsortedLoca) {
- for (j = 0; j <= nGlyphs; ++j) {
- if (locaFmt) {
- locaBuf[0] = (char)(locaTable[j].newOffset >> 24);
- locaBuf[1] = (char)(locaTable[j].newOffset >> 16);
- locaBuf[2] = (char)(locaTable[j].newOffset >> 8);
- locaBuf[3] = (char) locaTable[j].newOffset;
- (*outputFunc)(outputStream, locaBuf, 4);
- } else {
- locaBuf[0] = (char)(locaTable[j].newOffset >> 9);
- locaBuf[1] = (char)(locaTable[j].newOffset >> 1);
- (*outputFunc)(outputStream, locaBuf, 2);
- }
- }
- } else if (newTables[i].tag == glyfTag && unsortedLoca) {
- pos = tables[seekTable("glyf")].offset;
- for (j = 0; j < nGlyphs; ++j) {
- n = locaTable[j].len;
- if (n > 0) {
- k = locaTable[j].origOffset;
- if (checkRegion(pos + k, n)) {
- (*outputFunc)(outputStream, (char *)file + pos + k, n);
- } else {
- for (k = 0; k < n; ++k) {
- (*outputFunc)(outputStream, "\0", 1);
- }
- }
- if ((k = locaTable[j].len & 3)) {
- (*outputFunc)(outputStream, "\0\0\0\0", 4 - k);
- }
- }
- }
- } else {
- if (checkRegion(newTables[i].origOffset, newTables[i].len)) {
- (*outputFunc)(outputStream, (char *)file + newTables[i].origOffset,
- newTables[i].len);
- } else {
- for (j = 0; j < newTables[i].len; ++j) {
- (*outputFunc)(outputStream, "\0", 1);
- }
- }
- }
- if (newTables[i].len & 3) {
- (*outputFunc)(outputStream, "\0\0\0", 4 - (newTables[i].len & 3));
- }
- }
-
- gfree(newHMTXTab);
- gfree(newHHEATab);
- gfree(newCmapTab);
- gfree(newNameTab);
- gfree(tableDir);
- gfree(newTables);
- done1:
- gfree(locaTable);
-}
-
void FoFiTrueType::cvtEncoding(char **encoding,
FoFiOutputFunc outputFunc,
void *outputStream) {
@@ -2073,32 +1415,6 @@ void FoFiTrueType::parse() {
return;
}
- // make sure the loca table is sane (correct length and entries are
- // in bounds)
- if (!openTypeCFF) {
- i = seekTable("loca");
- if (tables[i].len < 0) {
- parsedOk = gFalse;
- return;
- }
- if (tables[i].len < (nGlyphs + 1) * (locaFmt ? 4 : 2)) {
- nGlyphs = tables[i].len / (locaFmt ? 4 : 2) - 1;
- }
- for (j = 0; j <= nGlyphs; ++j) {
- if (locaFmt) {
- pos = (int)getU32BE(tables[i].offset + j*4, &parsedOk);
- } else {
- pos = getU16BE(tables[i].offset + j*2, &parsedOk);
- }
- if (pos < 0 || pos > len) {
- parsedOk = gFalse;
- }
- }
- if (!parsedOk) {
- return;
- }
- }
-
// read the post table
readPostTable();
}
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiTrueType.h b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiTrueType.h
index fb05ae9a51e..b40a44a8d70 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiTrueType.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiTrueType.h
@@ -15,7 +15,7 @@
//
// Copyright (C) 2006 Takashi Iwai <tiwai@suse.de>
// Copyright (C) 2007 Koji Otani <sho@bbr.jp>
-// Copyright (C) 2011 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2011, 2012 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2012 Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp>
//
// To see a description of the changes please see the Changelog file that
@@ -152,15 +152,6 @@ public:
void convertToType0(char *psName, int *cidMap, int nCIDs,
FoFiOutputFunc outputFunc, void *outputStream);
- // Write a clean TTF file, filling in missing tables and correcting
- // various other errors. If <name> is non-NULL, the font is renamed
- // to <name>. If <codeToGID> is non-NULL, the font is re-encoded,
- // using a Windows Unicode cmap. If <name> is NULL and the font is
- // complete and correct, it will be written unmodified. (Not useful
- // for OpenType CFF fonts.)
- void writeTTF(FoFiOutputFunc outputFunc, void *outputStream,
- char *name = NULL, int *codeToGID = NULL);
-
// Returns a pointer to the CFF font embedded in this OpenType font.
// If successful, sets *<start> and *<length>, and returns true.
// Otherwise returns false. (Only useful for OpenType CFF fonts).
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1.cc b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1.cc
index 8fa10a016b6..8fa10a016b6 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1.h b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1.h
index f4e29b4ef0b..f4e29b4ef0b 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1C.cc b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1C.cc
index c4595a3260e..c4595a3260e 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1C.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1C.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1C.h b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1C.h
index 698dccd77fd..698dccd77fd 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/FoFiType1C.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/FoFiType1C.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/fofi/Makefile.am b/Build/source/libs/poppler/poppler-0.22.0/fofi/Makefile.am
index c4654dd28b9..c4654dd28b9 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/fofi/Makefile.am
+++ b/Build/source/libs/poppler/poppler-0.22.0/fofi/Makefile.am
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/FixedPoint.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/FixedPoint.cc
index 26b2f0fe890..26b2f0fe890 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/FixedPoint.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/FixedPoint.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/FixedPoint.h b/Build/source/libs/poppler/poppler-0.22.0/goo/FixedPoint.h
index 99749802db7..99749802db7 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/FixedPoint.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/FixedPoint.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/GooHash.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/GooHash.cc
index f4a92f17506..f4a92f17506 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/GooHash.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/GooHash.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/GooHash.h b/Build/source/libs/poppler/poppler-0.22.0/goo/GooHash.h
index b973a93a48d..eda19e31409 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/GooHash.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/GooHash.h
@@ -6,6 +6,20 @@
//
//========================================================================
+//========================================================================
+//
+// Modified under the Poppler project - http://poppler.freedesktop.org
+//
+// All changes made under the Poppler project to this file are licensed
+// under GPL version 2 or later
+//
+// Copyright (C) 2012 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
+//
+//========================================================================
+
#ifndef GHASH_H
#define GHASH_H
@@ -45,6 +59,8 @@ public:
void killIter(GooHashIter **iter);
private:
+ GooHash(const GooHash &other);
+ GooHash& operator=(const GooHash &other);
void expand();
GooHashBucket *find(GooString *key, int *h);
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/GooLikely.h b/Build/source/libs/poppler/poppler-0.22.0/goo/GooLikely.h
index 724ccf00870..724ccf00870 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/GooLikely.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/GooLikely.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/GooList.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/GooList.cc
index 6ce4952dc6a..6ce4952dc6a 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/GooList.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/GooList.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/GooList.h b/Build/source/libs/poppler/poppler-0.22.0/goo/GooList.h
index 964568a4ef8..c83a0e36a8a 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/GooList.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/GooList.h
@@ -6,6 +6,20 @@
//
//========================================================================
+//========================================================================
+//
+// Modified under the Poppler project - http://poppler.freedesktop.org
+//
+// All changes made under the Poppler project to this file are licensed
+// under GPL version 2 or later
+//
+// Copyright (C) 2012 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
+//
+//========================================================================
+
#ifndef GLIST_H
#define GLIST_H
@@ -79,6 +93,8 @@ public:
void setAllocIncr(int incA) { inc = incA; }
private:
+ GooList(const GooList &other);
+ GooList& operator=(const GooList &other);
void expand();
void shrink();
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/GooMutex.h b/Build/source/libs/poppler/poppler-0.22.0/goo/GooMutex.h
index 3f53a626a67..3f53a626a67 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/GooMutex.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/GooMutex.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/GooString.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/GooString.cc
index 451a70e711d..d35161d87ad 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/GooString.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/GooString.cc
@@ -22,6 +22,7 @@
// Copyright (C) 2011 Kenji Uno <ku@digitaldolphins.jp>
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2012 Pino Toscano <pino@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
@@ -769,14 +770,12 @@ GooString *GooString::insert(int i, GooString *str) {
}
GooString *GooString::insert(int i, const char *str, int lengthA) {
- int j;
int prevLen = length;
if (CALC_STRING_LEN == lengthA)
lengthA = strlen(str);
resize(length + lengthA);
- for (j = prevLen; j >= i; --j)
- s[j+lengthA] = s[j];
+ memmove(s+i+lengthA, s+i, prevLen-i);
memcpy(s+i, str, lengthA);
return this;
}
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/GooString.h b/Build/source/libs/poppler/poppler-0.22.0/goo/GooString.h
index b24051b6b67..b24051b6b67 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/GooString.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/GooString.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/GooTimer.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/GooTimer.cc
index c766c6bf2e4..c766c6bf2e4 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/GooTimer.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/GooTimer.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/GooTimer.h b/Build/source/libs/poppler/poppler-0.22.0/goo/GooTimer.h
index d77373e90c1..d77373e90c1 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/GooTimer.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/GooTimer.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/ImgWriter.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/ImgWriter.cc
index a30d26d89ad..a30d26d89ad 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/ImgWriter.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/ImgWriter.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/ImgWriter.h b/Build/source/libs/poppler/poppler-0.22.0/goo/ImgWriter.h
index 185c230ef48..8feb3511e4d 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/ImgWriter.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/ImgWriter.h
@@ -16,18 +16,18 @@
#define IMGWRITER_H
#include <stdio.h>
-
+
class ImgWriter
{
- public:
- virtual ~ImgWriter();
- virtual bool init(FILE *f, int width, int height, int hDPI, int vDPI) = 0;
-
- virtual bool writePointers(unsigned char **rowPointers, int rowCount) = 0;
- virtual bool writeRow(unsigned char **row) = 0;
-
- virtual bool close() = 0;
- virtual bool supportCMYK() { return false; }
+public:
+ virtual ~ImgWriter();
+ virtual bool init(FILE *f, int width, int height, int hDPI, int vDPI) = 0;
+
+ virtual bool writePointers(unsigned char **rowPointers, int rowCount) = 0;
+ virtual bool writeRow(unsigned char **row) = 0;
+
+ virtual bool close() = 0;
+ virtual bool supportCMYK() { return false; }
};
#endif
diff --git a/Build/source/libs/poppler/poppler-0.22.0/goo/JpegWriter.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/JpegWriter.cc
new file mode 100644
index 00000000000..09f9b7b6bc6
--- /dev/null
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/JpegWriter.cc
@@ -0,0 +1,183 @@
+//========================================================================
+//
+// JpegWriter.cc
+//
+// This file is licensed under the GPLv2 or later
+//
+// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
+// Copyright (C) 2010, 2012 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2010 Harry Roberts <harry.roberts@midnight-labs.org>
+// Copyright (C) 2011 Thomas Freitag <Thomas.Freitag@alfa.de>
+//
+//========================================================================
+
+#include "JpegWriter.h"
+
+#ifdef ENABLE_LIBJPEG
+
+extern "C" {
+#include <jpeglib.h>
+}
+
+#include "poppler/Error.h"
+
+struct JpegWriterPrivate {
+ bool progressive;
+ int quality;
+ JpegWriter::Format format;
+ struct jpeg_compress_struct cinfo;
+ struct jpeg_error_mgr jerr;
+};
+
+void outputMessage(j_common_ptr cinfo)
+{
+ char buffer[JMSG_LENGTH_MAX];
+
+ // Create the message
+ (*cinfo->err->format_message) (cinfo, buffer);
+
+ // Send it to poppler's error handler
+ error(errInternal, -1, "{0:s}", buffer);
+}
+
+JpegWriter::JpegWriter(int q, bool p, Format formatA)
+{
+ priv = new JpegWriterPrivate;
+ priv->progressive = p;
+ priv->quality = q;
+ priv->format = formatA;
+}
+
+JpegWriter::JpegWriter(Format formatA)
+{
+ priv = new JpegWriterPrivate;
+ priv->progressive = false;
+ priv->quality = -1;
+ priv->format = formatA;
+}
+
+JpegWriter::~JpegWriter()
+{
+ // cleanup
+ jpeg_destroy_compress(&priv->cinfo);
+ delete priv;
+}
+
+bool JpegWriter::init(FILE *f, int width, int height, int hDPI, int vDPI)
+{
+ // Setup error handler
+ priv->cinfo.err = jpeg_std_error(&priv->jerr);
+ priv->jerr.output_message = &outputMessage;
+
+ // Initialize libjpeg
+ jpeg_create_compress(&priv->cinfo);
+
+ // First set colorspace and call jpeg_set_defaults() since
+ // jpeg_set_defaults() sets default values for all fields in
+ // cinfo based on the colorspace.
+ switch (priv->format) {
+ case RGB:
+ priv->cinfo.in_color_space = JCS_RGB;
+ break;
+ case GRAY:
+ priv->cinfo.in_color_space = JCS_GRAYSCALE;
+ break;
+ case CMYK:
+ priv->cinfo.in_color_space = JCS_CMYK;
+ break;
+ default:
+ return false;
+ }
+ jpeg_set_defaults(&priv->cinfo);
+
+ // Set destination file
+ jpeg_stdio_dest(&priv->cinfo, f);
+
+ // Set libjpeg configuration
+ priv->cinfo.image_width = width;
+ priv->cinfo.image_height = height;
+ priv->cinfo.density_unit = 1; // dots per inch
+ priv->cinfo.X_density = hDPI;
+ priv->cinfo.Y_density = vDPI;
+ switch (priv->format) {
+ case GRAY:
+ priv->cinfo.input_components = 1;
+ break;
+ case RGB:
+ priv->cinfo.input_components = 3;
+ break;
+ case CMYK:
+ priv->cinfo.input_components = 4;
+ jpeg_set_colorspace(&priv->cinfo, JCS_YCCK);
+ priv->cinfo.write_JFIF_header = TRUE;
+ break;
+ default:
+ return false;
+ }
+
+ // Set quality
+ if (priv->quality >= 0 && priv->quality <= 100) {
+ jpeg_set_quality(&priv->cinfo, priv->quality, true);
+ }
+
+ // Use progressive mode
+ if (priv->progressive) {
+ jpeg_simple_progression(&priv->cinfo);
+ }
+
+ // Get ready for data
+ jpeg_start_compress(&priv->cinfo, TRUE);
+
+ return true;
+}
+
+bool JpegWriter::writePointers(unsigned char **rowPointers, int rowCount)
+{
+ if (priv->format == CMYK) {
+ for (int y = 0; y < rowCount; y++) {
+ unsigned char *row = rowPointers[y];
+ for (unsigned int x = 0; x < priv->cinfo.image_width; x++) {
+ for (int n = 0; n < 4; n++) {
+ *row = 0xff - *row;
+ row++;
+ }
+ }
+ }
+ }
+ // Write all rows to the file
+ jpeg_write_scanlines(&priv->cinfo, rowPointers, rowCount);
+
+ return true;
+}
+
+bool JpegWriter::writeRow(unsigned char **rowPointer)
+{
+ if (priv->format == CMYK) {
+ unsigned char *row = rowPointer[0];
+ for (unsigned int x = 0; x < priv->cinfo.image_width; x++) {
+ for (int n = 0; n < 4; n++) {
+ *row = 0xff - *row;
+ row++;
+ }
+ }
+ }
+ // Write the row to the file
+ jpeg_write_scanlines(&priv->cinfo, rowPointer, 1);
+
+ return true;
+}
+
+bool JpegWriter::close()
+{
+ jpeg_finish_compress(&priv->cinfo);
+
+ return true;
+}
+
+bool JpegWriter::supportCMYK()
+{
+ return priv->format == CMYK;
+}
+
+
+#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/JpegWriter.h b/Build/source/libs/poppler/poppler-0.22.0/goo/JpegWriter.h
index d076224ed70..d69bbbb8dda 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/JpegWriter.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/JpegWriter.h
@@ -5,7 +5,7 @@
// This file is licensed under the GPLv2 or later
//
// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
-// Copyright (C) 2010 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2010, 2012 Adrian Johnson <ajohnson@redneon.com>
// Copyright (C) 2010 Jürg Billeter <j@bitron.ch>
// Copyright (C) 2010 Harry Roberts <harry.roberts@midnight-labs.org>
// Copyright (C) 2010 Brian Cameron <brian.cameron@oracle.com>
@@ -24,31 +24,34 @@
#include <sys/types.h>
#include "ImgWriter.h"
-extern "C" {
-#include <jpeglib.h>
-}
+struct JpegWriterPrivate;
class JpegWriter : public ImgWriter
{
- public:
- JpegWriter(int quality, bool progressive, J_COLOR_SPACE colorMode = JCS_RGB);
- JpegWriter(J_COLOR_SPACE colorMode = JCS_RGB);
- ~JpegWriter();
-
- bool init(FILE *f, int width, int height, int hDPI, int vDPI);
-
- bool writePointers(unsigned char **rowPointers, int rowCount);
- bool writeRow(unsigned char **row);
-
- bool close();
- bool supportCMYK() { return colorMode == JCS_CMYK; }
-
- private:
- bool progressive;
- int quality;
- J_COLOR_SPACE colorMode;
- struct jpeg_compress_struct cinfo;
- struct jpeg_error_mgr jerr;
+public:
+ /* RGB - 3 bytes/pixel
+ * GRAY - 1 byte/pixel
+ * CMYK - 4 bytes/pixel
+ */
+ enum Format { RGB, GRAY, CMYK };
+
+ JpegWriter(int quality, bool progressive, Format format = RGB);
+ JpegWriter(Format format = RGB);
+ ~JpegWriter();
+
+ bool init(FILE *f, int width, int height, int hDPI, int vDPI);
+
+ bool writePointers(unsigned char **rowPointers, int rowCount);
+ bool writeRow(unsigned char **row);
+
+ bool close();
+ bool supportCMYK();
+
+private:
+ JpegWriter(const JpegWriter &other);
+ JpegWriter& operator=(const JpegWriter &other);
+
+ JpegWriterPrivate *priv;
};
#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/Makefile.am b/Build/source/libs/poppler/poppler-0.22.0/goo/Makefile.am
index 0764e79ca18..0764e79ca18 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/Makefile.am
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/Makefile.am
diff --git a/Build/source/libs/poppler/poppler-0.22.0/goo/PNGWriter.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/PNGWriter.cc
new file mode 100644
index 00000000000..b775600c0a3
--- /dev/null
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/PNGWriter.cc
@@ -0,0 +1,193 @@
+//========================================================================
+//
+// PNGWriter.cc
+//
+// This file is licensed under the GPLv2 or later
+//
+// Copyright (C) 2009 Warren Toomey <wkt@tuhs.org>
+// Copyright (C) 2009 Shen Liang <shenzhuxi@gmail.com>
+// Copyright (C) 2009, 2011 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
+// Copyright (C) 2010, 2011 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2011 Thomas Klausner <wiz@danbala.tuwien.ac.at>
+// Copyright (C) 2012 Pino Toscano <pino@kde.org>
+//
+//========================================================================
+
+#include "PNGWriter.h"
+
+#ifdef ENABLE_LIBPNG
+
+#include <zlib.h>
+#include <stdlib.h>
+#include <string.h>
+
+#include "poppler/Error.h"
+#include "goo/gmem.h"
+
+#include <png.h>
+
+struct PNGWriterPrivate {
+ PNGWriter::Format format;
+ png_structp png_ptr;
+ png_infop info_ptr;
+ unsigned char *icc_data;
+ int icc_data_size;
+ char *icc_name;
+ bool sRGB_profile;
+};
+
+PNGWriter::PNGWriter(Format formatA)
+{
+ priv = new PNGWriterPrivate;
+ priv->format = formatA;
+ priv->icc_data = NULL;
+ priv->icc_data_size = 0;
+ priv->icc_name = NULL;
+ priv->sRGB_profile = false;
+}
+
+PNGWriter::~PNGWriter()
+{
+ /* cleanup heap allocation */
+ png_destroy_write_struct(&priv->png_ptr, &priv->info_ptr);
+ if (priv->icc_data) {
+ gfree(priv->icc_data);
+ free(priv->icc_name);
+ }
+
+ delete priv;
+}
+
+void PNGWriter::setICCProfile(const char *name, unsigned char *data, int size)
+{
+ priv->icc_data = (unsigned char *)gmalloc(size);
+ memcpy(priv->icc_data, data, size);
+ priv->icc_data_size = size;
+ priv->icc_name = strdup(name);
+}
+
+void PNGWriter::setSRGBProfile()
+{
+ priv->sRGB_profile = true;
+}
+
+bool PNGWriter::init(FILE *f, int width, int height, int hDPI, int vDPI)
+{
+ /* libpng changed the png_set_iCCP() prototype in 1.5.0 */
+#if PNG_LIBPNG_VER < 10500
+ png_charp icc_data_ptr = (png_charp)priv->icc_data;
+#else
+ png_const_bytep icc_data_ptr = (png_const_bytep)priv->icc_data;
+#endif
+
+ /* initialize stuff */
+ priv->png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
+ if (!priv->png_ptr) {
+ error(errInternal, -1, "png_create_write_struct failed");
+ return false;
+ }
+
+ priv->info_ptr = png_create_info_struct(priv->png_ptr);
+ if (!priv->info_ptr) {
+ error(errInternal, -1, "png_create_info_struct failed");
+ return false;
+ }
+
+ if (setjmp(png_jmpbuf(priv->png_ptr))) {
+ error(errInternal, -1, "png_jmpbuf failed");
+ return false;
+ }
+
+ /* write header */
+ png_init_io(priv->png_ptr, f);
+ if (setjmp(png_jmpbuf(priv->png_ptr))) {
+ error(errInternal, -1, "Error during writing header");
+ return false;
+ }
+
+ // Set up the type of PNG image and the compression level
+ png_set_compression_level(priv->png_ptr, Z_BEST_COMPRESSION);
+
+ // Silence silly gcc
+ png_byte bit_depth = -1;
+ png_byte color_type = -1;
+ switch (priv->format) {
+ case RGB:
+ bit_depth = 8;
+ color_type = PNG_COLOR_TYPE_RGB;
+ break;
+ case RGBA:
+ bit_depth = 8;
+ color_type = PNG_COLOR_TYPE_RGB_ALPHA;
+ break;
+ case GRAY:
+ bit_depth = 8;
+ color_type = PNG_COLOR_TYPE_GRAY;
+ break;
+ case MONOCHROME:
+ bit_depth = 1;
+ color_type = PNG_COLOR_TYPE_GRAY;
+ break;
+ }
+ png_byte interlace_type = PNG_INTERLACE_NONE;
+
+ png_set_IHDR(priv->png_ptr, priv->info_ptr, width, height, bit_depth, color_type, interlace_type, PNG_COMPRESSION_TYPE_DEFAULT, PNG_FILTER_TYPE_DEFAULT);
+
+ png_set_pHYs(priv->png_ptr, priv->info_ptr, hDPI/0.0254, vDPI/0.0254, PNG_RESOLUTION_METER);
+
+ if (priv->icc_data)
+ png_set_iCCP(priv->png_ptr, priv->info_ptr, priv->icc_name, PNG_COMPRESSION_TYPE_BASE, icc_data_ptr, priv->icc_data_size);
+ else if (priv->sRGB_profile)
+ png_set_sRGB(priv->png_ptr, priv->info_ptr, PNG_sRGB_INTENT_RELATIVE);
+
+ png_write_info(priv->png_ptr, priv->info_ptr);
+ if (setjmp(png_jmpbuf(priv->png_ptr))) {
+ error(errInternal, -1, "error during writing png info bytes");
+ return false;
+ }
+
+ // pack 1 pixel/byte rows into 8 pixels/byte
+ if (priv->format == MONOCHROME)
+ png_set_packing(priv->png_ptr);
+
+ return true;
+}
+
+bool PNGWriter::writePointers(unsigned char **rowPointers, int rowCount)
+{
+ png_write_image(priv->png_ptr, rowPointers);
+ /* write bytes */
+ if (setjmp(png_jmpbuf(priv->png_ptr))) {
+ error(errInternal, -1, "Error during writing bytes");
+ return false;
+ }
+
+ return true;
+}
+
+bool PNGWriter::writeRow(unsigned char **row)
+{
+ // Write the row to the file
+ png_write_rows(priv->png_ptr, row, 1);
+ if (setjmp(png_jmpbuf(priv->png_ptr))) {
+ error(errInternal, -1, "error during png row write");
+ return false;
+ }
+
+ return true;
+}
+
+bool PNGWriter::close()
+{
+ /* end write */
+ png_write_end(priv->png_ptr, priv->info_ptr);
+ if (setjmp(png_jmpbuf(priv->png_ptr))) {
+ error(errInternal, -1, "Error during end of write");
+ return false;
+ }
+
+ return true;
+}
+
+#endif
diff --git a/Build/source/libs/poppler/poppler-0.22.0/goo/PNGWriter.h b/Build/source/libs/poppler/poppler-0.22.0/goo/PNGWriter.h
new file mode 100644
index 00000000000..c73c96426b8
--- /dev/null
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/PNGWriter.h
@@ -0,0 +1,61 @@
+//========================================================================
+//
+// PNGWriter.h
+//
+// This file is licensed under the GPLv2 or later
+//
+// Copyright (C) 2009 Warren Toomey <wkt@tuhs.org>
+// Copyright (C) 2009 Shen Liang <shenzhuxi@gmail.com>
+// Copyright (C) 2009, 2011, 2012 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2009 Stefan Thomas <thomas@eload24.com>
+// Copyright (C) 2010, 2011 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2012 Pino Toscano <pino@kde.org>
+//
+//========================================================================
+
+#ifndef PNGWRITER_H
+#define PNGWRITER_H
+
+#include "poppler-config.h"
+
+#ifdef ENABLE_LIBPNG
+
+#include "ImgWriter.h"
+
+class PNGWriterPrivate;
+
+class PNGWriter : public ImgWriter
+{
+public:
+
+ /* RGB - 3 bytes/pixel
+ * RGBA - 4 bytes/pixel
+ * GRAY - 1 byte/pixel
+ * MONOCHROME - 1 byte/pixel. PNGWriter will bitpack to 8 pixels/byte
+ */
+ enum Format { RGB, RGBA, GRAY, MONOCHROME };
+
+ PNGWriter(Format format = RGB);
+ ~PNGWriter();
+
+ void setICCProfile(const char *name, unsigned char *data, int size);
+ void setSRGBProfile();
+
+
+ bool init(FILE *f, int width, int height, int hDPI, int vDPI);
+
+ bool writePointers(unsigned char **rowPointers, int rowCount);
+ bool writeRow(unsigned char **row);
+
+ bool close();
+
+private:
+ PNGWriter(const PNGWriter &other);
+ PNGWriter& operator=(const PNGWriter &other);
+
+ PNGWriterPrivate *priv;
+};
+
+#endif
+
+#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/TiffWriter.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/TiffWriter.cc
index 9c134f905d3..d372a5bdfce 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/TiffWriter.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/TiffWriter.cc
@@ -6,6 +6,8 @@
//
// Copyright (C) 2010, 2012 William Bader <williambader@hotmail.com>
// Copyright (C) 2012 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2012 Pino Toscano <pino@kde.org>
//
//========================================================================
@@ -15,32 +17,38 @@
#include <string.h>
+extern "C" {
+#include <tiffio.h>
+}
+
+struct TiffWriterPrivate {
+ TIFF *f; // LibTiff file context
+ int numRows; // number of rows in the image
+ int curRow; // number of rows written
+ const char *compressionString; // compression type
+ TiffWriter::Format format; // format of image data
+};
+
TiffWriter::~TiffWriter()
{
- // no cleanup needed
+ delete priv;
}
-TiffWriter::TiffWriter()
+TiffWriter::TiffWriter(Format formatA)
{
- f = NULL;
- numRows = 0;
- curRow = 0;
- compressionString = NULL;
- splashMode = splashModeRGB8;
+ priv = new TiffWriterPrivate;
+ priv->f = NULL;
+ priv->numRows = 0;
+ priv->curRow = 0;
+ priv->compressionString = NULL;
+ priv->format = formatA;
}
// Set the compression type
void TiffWriter::setCompressionString(const char *compressionStringArg)
{
- compressionString = compressionStringArg;
-}
-
-// Set the bitmap mode
-
-void TiffWriter::setSplashMode(SplashColorMode splashModeArg)
-{
- splashMode = splashModeArg;
+ priv->compressionString = compressionStringArg;
}
// Write a TIFF file.
@@ -48,10 +56,10 @@ void TiffWriter::setSplashMode(SplashColorMode splashModeArg)
bool TiffWriter::init(FILE *openedFile, int width, int height, int hDPI, int vDPI)
{
unsigned int compression;
- uint16 photometric;
+ uint16 photometric = 0;
uint32 rowsperstrip = (uint32) -1;
int bitspersample;
- uint16 samplesperpixel;
+ uint16 samplesperpixel = 0;
const struct compression_name_tag {
const char *compressionName; // name of the compression option from the command line
unsigned int compressionCode; // internal libtiff code
@@ -79,29 +87,29 @@ bool TiffWriter::init(FILE *openedFile, int width, int height, int hDPI, int vDP
// Initialize
- f = NULL;
- curRow = 0;
+ priv->f = NULL;
+ priv->curRow = 0;
// Store the number of rows
- numRows = height;
+ priv->numRows = height;
// Set the compression
compression = COMPRESSION_NONE;
- if (compressionString == NULL || strcmp(compressionString, "") == 0) {
+ if (priv->compressionString == NULL || strcmp(priv->compressionString, "") == 0) {
compression = COMPRESSION_NONE;
} else {
int i;
for (i = 0; compressionList[i].compressionName != NULL; i++) {
- if (strcmp(compressionString, compressionList[i].compressionName) == 0) {
+ if (strcmp(priv->compressionString, compressionList[i].compressionName) == 0) {
compression = compressionList[i].compressionCode;
break;
}
}
if (compressionList[i].compressionName == NULL) {
- fprintf(stderr, "TiffWriter: Unknown compression type '%.10s', using 'none'.\n", compressionString);
+ fprintf(stderr, "TiffWriter: Unknown compression type '%.10s', using 'none'.\n", priv->compressionString);
fprintf(stderr, "Known compression types (the tiff library might not support every type)\n");
for (i = 0; compressionList[i].compressionName != NULL; i++) {
fprintf(stderr, "%10s %s\n", compressionList[i].compressionName, compressionList[i].compressionDescription);
@@ -109,35 +117,31 @@ bool TiffWriter::init(FILE *openedFile, int width, int height, int hDPI, int vDP
}
}
- // Set bits per sample, samples per pixel, and photometric type from the splash mode
+ // Set bits per sample, samples per pixel, and photometric type from format
- bitspersample = (splashMode == splashModeMono1? 1: 8);
+ bitspersample = (priv->format == MONOCHROME ? 1 : 8);
- switch (splashMode) {
+ switch (priv->format) {
+ case MONOCHROME:
+ case GRAY:
+ samplesperpixel = 1;
+ photometric = PHOTOMETRIC_MINISBLACK;
+ break;
- case splashModeMono1:
- case splashModeMono8:
- samplesperpixel = 1;
- photometric = PHOTOMETRIC_MINISBLACK;
- break;
+ case RGB:
+ samplesperpixel = 3;
+ photometric = PHOTOMETRIC_RGB;
+ break;
- case splashModeRGB8:
- case splashModeBGR8:
- samplesperpixel = 3;
- photometric = PHOTOMETRIC_RGB;
- break;
+ case RGBA_PREMULTIPLIED:
+ samplesperpixel = 4;
+ photometric = PHOTOMETRIC_RGB;
+ break;
-#if SPLASH_CMYK
- case splashModeCMYK8:
- case splashModeDeviceN8:
- samplesperpixel = 4;
- photometric = PHOTOMETRIC_SEPARATED;
- break;
-#endif
-
- default:
- fprintf(stderr, "TiffWriter: Mode %d not supported\n", splashMode);
- return false;
+ case CMYK:
+ samplesperpixel = 4;
+ photometric = PHOTOMETRIC_SEPARATED;
+ break;
}
// Open the file
@@ -147,33 +151,36 @@ bool TiffWriter::init(FILE *openedFile, int width, int height, int hDPI, int vDP
return false;
}
- f = TIFFFdOpen(fileno(openedFile), "-", "w");
+ priv->f = TIFFFdOpen(fileno(openedFile), "-", "w");
- if (!f) {
+ if (!priv->f) {
return false;
}
// Set TIFF tags
- TIFFSetField(f, TIFFTAG_IMAGEWIDTH, width);
- TIFFSetField(f, TIFFTAG_IMAGELENGTH, height);
- TIFFSetField(f, TIFFTAG_ORIENTATION, ORIENTATION_TOPLEFT);
- TIFFSetField(f, TIFFTAG_SAMPLESPERPIXEL, samplesperpixel);
- TIFFSetField(f, TIFFTAG_BITSPERSAMPLE, bitspersample);
- TIFFSetField(f, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG);
- TIFFSetField(f, TIFFTAG_PHOTOMETRIC, photometric);
- TIFFSetField(f, TIFFTAG_COMPRESSION, (uint16) compression);
- TIFFSetField(f, TIFFTAG_ROWSPERSTRIP, TIFFDefaultStripSize(f, rowsperstrip));
- TIFFSetField(f, TIFFTAG_XRESOLUTION, (double) hDPI);
- TIFFSetField(f, TIFFTAG_YRESOLUTION, (double) vDPI);
- TIFFSetField(f, TIFFTAG_RESOLUTIONUNIT, RESUNIT_INCH);
-
-#if SPLASH_CMYK
- if (splashMode == splashModeCMYK8 || splashMode == splashModeDeviceN8) {
- TIFFSetField(f, TIFFTAG_INKSET, INKSET_CMYK);
- TIFFSetField(f, TIFFTAG_NUMBEROFINKS, 4);
+ TIFFSetField(priv->f, TIFFTAG_IMAGEWIDTH, width);
+ TIFFSetField(priv->f, TIFFTAG_IMAGELENGTH, height);
+ TIFFSetField(priv->f, TIFFTAG_ORIENTATION, ORIENTATION_TOPLEFT);
+ TIFFSetField(priv->f, TIFFTAG_SAMPLESPERPIXEL, samplesperpixel);
+ TIFFSetField(priv->f, TIFFTAG_BITSPERSAMPLE, bitspersample);
+ TIFFSetField(priv->f, TIFFTAG_PLANARCONFIG, PLANARCONFIG_CONTIG);
+ TIFFSetField(priv->f, TIFFTAG_PHOTOMETRIC, photometric);
+ TIFFSetField(priv->f, TIFFTAG_COMPRESSION, (uint16) compression);
+ TIFFSetField(priv->f, TIFFTAG_ROWSPERSTRIP, TIFFDefaultStripSize(priv->f, rowsperstrip));
+ TIFFSetField(priv->f, TIFFTAG_XRESOLUTION, (double) hDPI);
+ TIFFSetField(priv->f, TIFFTAG_YRESOLUTION, (double) vDPI);
+ TIFFSetField(priv->f, TIFFTAG_RESOLUTIONUNIT, RESUNIT_INCH);
+
+ if (priv->format == RGBA_PREMULTIPLIED) {
+ uint16 extra = EXTRASAMPLE_ASSOCALPHA;
+ TIFFSetField(priv->f, TIFFTAG_EXTRASAMPLES, 1, &extra);
+ }
+
+ if (priv->format == CMYK) {
+ TIFFSetField(priv->f, TIFFTAG_INKSET, INKSET_CMYK);
+ TIFFSetField(priv->f, TIFFTAG_NUMBEROFINKS, 4);
}
-#endif
return true;
}
@@ -183,7 +190,7 @@ bool TiffWriter::writePointers(unsigned char **rowPointers, int rowCount)
// Write all rows to the file
for (int row = 0; row < rowCount; row++) {
- if (TIFFWriteScanline(f, rowPointers[row], row, 0) < 0) {
+ if (TIFFWriteScanline(priv->f, rowPointers[row], row, 0) < 0) {
fprintf(stderr, "TiffWriter: Error writing tiff row %d\n", row);
return false;
}
@@ -196,12 +203,12 @@ bool TiffWriter::writeRow(unsigned char **rowData)
{
// Add a single row
- if (TIFFWriteScanline(f, *rowData, curRow, 0) < 0) {
- fprintf(stderr, "TiffWriter: Error writing tiff row %d\n", curRow);
+ if (TIFFWriteScanline(priv->f, *rowData, priv->curRow, 0) < 0) {
+ fprintf(stderr, "TiffWriter: Error writing tiff row %d\n", priv->curRow);
return false;
}
- curRow++;
+ priv->curRow++;
return true;
}
@@ -210,7 +217,7 @@ bool TiffWriter::close()
{
// Close the file
- TIFFClose(f);
+ TIFFClose(priv->f);
return true;
}
diff --git a/Build/source/libs/poppler/poppler-0.22.0/goo/TiffWriter.h b/Build/source/libs/poppler/poppler-0.22.0/goo/TiffWriter.h
new file mode 100644
index 00000000000..52fdd53efa5
--- /dev/null
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/TiffWriter.h
@@ -0,0 +1,60 @@
+//========================================================================
+//
+// TiffWriter.h
+//
+// This file is licensed under the GPLv2 or later
+//
+// Copyright (C) 2010, 2012 William Bader <williambader@hotmail.com>
+// Copyright (C) 2011, 2012 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2012 Pino Toscano <pino@kde.org>
+//
+//========================================================================
+
+#ifndef TIFFWRITER_H
+#define TIFFWRITER_H
+
+#include "poppler-config.h"
+
+#ifdef ENABLE_LIBTIFF
+
+#include <sys/types.h>
+#include "ImgWriter.h"
+
+struct TiffWriterPrivate;
+
+class TiffWriter : public ImgWriter
+{
+public:
+ /* RGB - 3 bytes/pixel
+ * RGBA_PREMULTIPLIED - 4 bytes/pixel premultiplied by alpha
+ * GRAY - 1 byte/pixel
+ * MONOCHROME - 8 pixels/byte
+ * CMYK - 4 bytes/pixel
+ */
+ enum Format { RGB, RGBA_PREMULTIPLIED, GRAY, MONOCHROME, CMYK };
+
+ TiffWriter(Format format = RGB);
+ ~TiffWriter();
+
+ void setCompressionString(const char *compressionStringArg);
+
+ bool init(FILE *openedFile, int width, int height, int hDPI, int vDPI);
+
+ bool writePointers(unsigned char **rowPointers, int rowCount);
+ bool writeRow(unsigned char **rowData);
+
+ bool supportCMYK() { return true; }
+
+ bool close();
+
+private:
+ TiffWriter(const TiffWriter &other);
+ TiffWriter& operator=(const TiffWriter &other);
+
+ TiffWriterPrivate *priv;
+};
+
+#endif
+
+#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/gfile.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/gfile.cc
index 604c0fae663..b075b2baf6d 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/gfile.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/gfile.cc
@@ -18,7 +18,7 @@
// Copyright (C) 2006 Takashi Iwai <tiwai@suse.de>
// Copyright (C) 2006 Kristian Høgsberg <krh@redhat.com>
// Copyright (C) 2008 Adam Batkin <adam@batkin.net>
-// Copyright (C) 2008, 2010 Hib Eris <hib@hiberis.nl>
+// Copyright (C) 2008, 2010, 2012 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2009, 2012 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2009 Kovid Goyal <kovid@kovidgoyal.net>
//
@@ -336,7 +336,6 @@ GBool openTempFile(GooString **name, FILE **f, const char *mode) {
//---------- Win32 ----------
char *tempDir;
GooString *s, *s2;
- char buf[32];
FILE *f2;
int t, i;
@@ -462,7 +461,7 @@ FILE *openFile(const char *path, const char *mode) {
char nPath[_MAX_PATH + 1];
wchar_t wMode[8];
const char *p;
- int i;
+ size_t i;
// NB: _wfopen is only available in NT
version.dwOSVersionInfoSize = sizeof(version);
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/gfile.h b/Build/source/libs/poppler/poppler-0.22.0/goo/gfile.h
index cefd6793b89..4e1102381e2 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/gfile.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/gfile.h
@@ -128,6 +128,8 @@ public:
GBool isDir() { return dir; }
private:
+ GDirEntry(const GDirEntry &other);
+ GDirEntry& operator=(const GDirEntry &other);
GooString *name; // dir/file name
GooString *fullPath;
@@ -143,6 +145,8 @@ public:
void rewind();
private:
+ GDir(const GDir &other);
+ GDir& operator=(const GDir &other);
GooString *path; // directory path
GBool doStat; // call stat() for each entry?
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/gmem.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/gmem.cc
index 768b283a18e..c1c607ac3f3 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/gmem.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/gmem.cc
@@ -14,7 +14,7 @@
// under GPL version 2 or later
//
// Copyright (C) 2005 Takashi Iwai <tiwai@suse.de>
-// Copyright (C) 2007-2010 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2007-2010, 2012 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2008 Jonathan Kew <jonathan_kew@sil.org>
//
// To see a description of the changes please see the Changelog file that
@@ -71,11 +71,6 @@ inline static void *gmalloc(size_t size, bool checkoverflow) {
void *data;
unsigned long *trl, *p;
- if (size < 0) {
- fprintf(stderr, "Invalid memory allocation size\n");
- if (checkoverflow) return NULL;
- else exit(1);
- }
if (size == 0) {
return NULL;
}
@@ -109,11 +104,6 @@ inline static void *gmalloc(size_t size, bool checkoverflow) {
#else
void *p;
- if (size < 0) {
- fprintf(stderr, "Invalid memory allocation size\n");
- if (checkoverflow) return NULL;
- else exit(1);
- }
if (size == 0) {
return NULL;
}
@@ -140,11 +130,6 @@ inline static void *grealloc(void *p, size_t size, bool checkoverflow) {
void *q;
int oldSize;
- if (size < 0) {
- fprintf(stderr, "Invalid memory allocation size\n");
- if (checkoverflow) return NULL;
- else exit(1);
- }
if (size == 0) {
if (p) {
gfree(p);
@@ -164,11 +149,6 @@ inline static void *grealloc(void *p, size_t size, bool checkoverflow) {
#else
void *q;
- if (size < 0) {
- fprintf(stderr, "Invalid memory allocation size\n");
- if (checkoverflow) return NULL;
- else exit(1);
- }
if (size == 0) {
if (p) {
free(p);
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/gmem.h b/Build/source/libs/poppler/poppler-0.22.0/goo/gmem.h
index 898f33933f9..898f33933f9 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/gmem.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/gmem.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/gmempp.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/gmempp.cc
index a70338ca3ce..a70338ca3ce 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/gmempp.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/gmempp.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/grandom.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/grandom.cc
index 1237175420b..1237175420b 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/grandom.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/grandom.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/grandom.h b/Build/source/libs/poppler/poppler-0.22.0/goo/grandom.h
index 45fa791aba8..45fa791aba8 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/grandom.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/grandom.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/gstrtod.cc b/Build/source/libs/poppler/poppler-0.22.0/goo/gstrtod.cc
index cd1d5b554f7..cd1d5b554f7 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/gstrtod.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/gstrtod.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/gstrtod.h b/Build/source/libs/poppler/poppler-0.22.0/goo/gstrtod.h
index e8abdadf53e..e8abdadf53e 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/gstrtod.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/gstrtod.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/gtypes.h b/Build/source/libs/poppler/poppler-0.22.0/goo/gtypes.h
index b7a2dd2d268..b7a2dd2d268 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/gtypes.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/gtypes.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/goo/gtypes_p.h b/Build/source/libs/poppler/poppler-0.22.0/goo/gtypes_p.h
index cc4866e1389..cc4866e1389 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/goo/gtypes_p.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/goo/gtypes_p.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/gtk-doc.make b/Build/source/libs/poppler/poppler-0.22.0/gtk-doc.make
index 9841de47922..9841de47922 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/gtk-doc.make
+++ b/Build/source/libs/poppler/poppler-0.22.0/gtk-doc.make
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-cairo-uninstalled.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-cairo-uninstalled.pc.in
index 2458eb20df8..2458eb20df8 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-cairo-uninstalled.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-cairo-uninstalled.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-cairo.pc.cmake b/Build/source/libs/poppler/poppler-0.22.0/poppler-cairo.pc.cmake
index b32f118314b..b32f118314b 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-cairo.pc.cmake
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-cairo.pc.cmake
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-cairo.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-cairo.pc.in
index 367a5b690bf..367a5b690bf 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-cairo.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-cairo.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-cpp-uninstalled.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-cpp-uninstalled.pc.in
index af3640eb2c1..af3640eb2c1 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-cpp-uninstalled.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-cpp-uninstalled.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-cpp.pc.cmake b/Build/source/libs/poppler/poppler-0.22.0/poppler-cpp.pc.cmake
index 3f56b3d9d90..3f56b3d9d90 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-cpp.pc.cmake
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-cpp.pc.cmake
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-cpp.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-cpp.pc.in
index a7e97c25dfe..a7e97c25dfe 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-cpp.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-cpp.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-glib-uninstalled.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-glib-uninstalled.pc.in
index 5506c4e53ac..5506c4e53ac 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-glib-uninstalled.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-glib-uninstalled.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-glib.pc.cmake b/Build/source/libs/poppler/poppler-0.22.0/poppler-glib.pc.cmake
index e15e6699a43..e15e6699a43 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-glib.pc.cmake
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-glib.pc.cmake
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-glib.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-glib.pc.in
index cd30feb728f..cd30feb728f 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-glib.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-glib.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-qt4-uninstalled.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-qt4-uninstalled.pc.in
index 3a336c6c294..3a336c6c294 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-qt4-uninstalled.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-qt4-uninstalled.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-qt4.pc.cmake b/Build/source/libs/poppler/poppler-0.22.0/poppler-qt4.pc.cmake
index b17fd5d8453..b17fd5d8453 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-qt4.pc.cmake
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-qt4.pc.cmake
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-qt4.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-qt4.pc.in
index 306ae46e0b0..306ae46e0b0 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-qt4.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-qt4.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-splash-uninstalled.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-splash-uninstalled.pc.in
index 436ecdb8f1b..436ecdb8f1b 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-splash-uninstalled.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-splash-uninstalled.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-splash.pc.cmake b/Build/source/libs/poppler/poppler-0.22.0/poppler-splash.pc.cmake
index cb95b3d2d27..cb95b3d2d27 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-splash.pc.cmake
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-splash.pc.cmake
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-splash.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-splash.pc.in
index cf3491fc7cf..cf3491fc7cf 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-splash.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-splash.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler-uninstalled.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler-uninstalled.pc.in
index 6076e80c5b3..6076e80c5b3 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler-uninstalled.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler-uninstalled.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler.pc.cmake b/Build/source/libs/poppler/poppler-0.22.0/poppler.pc.cmake
index f1aebedbefd..f1aebedbefd 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler.pc.cmake
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler.pc.cmake
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler.pc.in b/Build/source/libs/poppler/poppler-0.22.0/poppler.pc.in
index 8605b28673b..8605b28673b 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler.pc.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler.pc.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Annot.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Annot.cc
index 53cbb675b51..dae0f62214c 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Annot.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Annot.cc
@@ -2392,7 +2392,7 @@ void AnnotText::draw(Gfx *gfx, GBool printing) {
appearBuf->append ("Q\n");
// Force 24x24 rectangle
- PDFRectangle fixedRect(rect->x1, rect->y1, rect->x1 + 24, rect->y1 + 24);
+ PDFRectangle fixedRect(rect->x1, rect->y2 - 24, rect->x1 + 24, rect->y2);
appearBBox = new AnnotAppearanceBBox(&fixedRect);
double bbox[4];
appearBBox->getBBoxRect(bbox);
@@ -3810,6 +3810,8 @@ void AnnotWidget::initialize(PDFDoc *docA, Dict *dict) {
parent = NULL;
}
obj1.free();
+
+ updatedAppearanceStream.num = updatedAppearanceStream.gen = -1;
}
LinkAction* AnnotWidget::getAdditionalAction(AdditionalActionsType type)
@@ -4905,6 +4907,48 @@ void AnnotWidget::generateFieldAppearance() {
appearStream->setNeedFree(gTrue);
}
+void AnnotWidget::updateAppearanceStream()
+{
+ // If this the first time updateAppearanceStream() is called on this widget,
+ // destroy the AP dictionary because we are going to create a new one.
+ if (updatedAppearanceStream.num == -1) {
+ invalidateAppearance(); // Delete AP dictionary and all referenced streams
+ }
+
+ // There's no need to create a new appearance stream if NeedAppearances is
+ // set, because it will be ignored next time anyway.
+ if (form && form->getNeedAppearances())
+ return;
+
+ // Create the new appearance
+ generateFieldAppearance();
+
+ // Fetch the appearance stream we've just created
+ Object obj1;
+ appearance.fetch(xref, &obj1);
+
+ // If this the first time updateAppearanceStream() is called on this widget,
+ // create a new AP dictionary containing the new appearance stream.
+ // Otherwise, just update the stream we had created previously.
+ if (updatedAppearanceStream.num == -1) {
+ // Write the appearance stream
+ updatedAppearanceStream = xref->addIndirectObject(&obj1);
+ obj1.free();
+
+ // Write the AP dictionary
+ Object obj2;
+ obj1.initDict(xref);
+ obj1.dictAdd(copyString("N"), obj2.initRef(updatedAppearanceStream.num, updatedAppearanceStream.gen));
+ update("AP", &obj1);
+
+ // Update our internal pointers to the appearance dictionary
+ appearStreams = new AnnotAppearance(doc, &obj1);
+ } else {
+ // Replace the existing appearance stream
+ xref->setModifiedObject(&obj1, updatedAppearanceStream);
+ obj1.free();
+ }
+}
void AnnotWidget::draw(Gfx *gfx, GBool printing) {
Object obj;
@@ -4916,13 +4960,9 @@ void AnnotWidget::draw(Gfx *gfx, GBool printing) {
// Only construct the appearance stream when
// - annot doesn't have an AP or
- // - it's a field containing text (text and choices) and
- // - NeedAppearances is true or
- // - widget has been modified or
+ // - NeedAppearances is true
if (field) {
- if (appearance.isNull() || (form && form->getNeedAppearances()) ||
- ((field->getType() == formText || field->getType() == formChoice) &&
- field->isModified()))
+ if (appearance.isNull() || (form && form->getNeedAppearances()))
generateFieldAppearance();
}
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Annot.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Annot.h
index e495d066390..68ddeb7911f 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Annot.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Annot.h
@@ -1291,6 +1291,7 @@ public:
void drawFormFieldText(GfxResources *resources, GooString *da);
void drawFormFieldChoice(GfxResources *resources, GooString *da);
void generateFieldAppearance ();
+ void updateAppearanceStream ();
AnnotWidgetHighlightMode getMode() { return mode; }
AnnotAppearanceCharacs *getAppearCharacs() { return appearCharacs; }
@@ -1319,6 +1320,7 @@ private:
// AnnotBorderBS border; // BS
Dict *parent; // Parent
GBool addDingbatsResource;
+ Ref updatedAppearanceStream; // {-1,-1} if updateAppearanceStream has never been called
};
//------------------------------------------------------------------------
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Array.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Array.cc
index cb2243296f6..cb2243296f6 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Array.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Array.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Array.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Array.h
index 666a409c2d2..666a409c2d2 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Array.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Array.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/ArthurOutputDev.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/ArthurOutputDev.cc
index a1cb89db537..a1cb89db537 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/ArthurOutputDev.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/ArthurOutputDev.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/ArthurOutputDev.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/ArthurOutputDev.h
index ed631a053ef..ed631a053ef 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/ArthurOutputDev.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/ArthurOutputDev.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFont.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFont.cc
index 20a297d6135..20a297d6135 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFont.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFont.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFont.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFont.h
index bbdd0558e9f..bbdd0558e9f 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFont.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFont.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFontTables.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFontTables.cc
index 5115b7bcf13..5115b7bcf13 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFontTables.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFontTables.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFontTables.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFontTables.h
index eb45549efd2..eb45549efd2 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/BuiltinFontTables.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/BuiltinFontTables.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CMap.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/CMap.cc
index 13f293a4aea..13f293a4aea 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CMap.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CMap.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CMap.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/CMap.h
index f4f5a9141c8..f4f5a9141c8 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CMap.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CMap.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CachedFile.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/CachedFile.cc
index 4c20daefcdd..4c20daefcdd 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CachedFile.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CachedFile.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CachedFile.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/CachedFile.h
index b99ea1ecad4..b99ea1ecad4 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CachedFile.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CachedFile.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoFontEngine.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoFontEngine.cc
index c4493e87a3a..c4493e87a3a 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoFontEngine.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoFontEngine.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoFontEngine.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoFontEngine.h
index 63353489f2c..63353489f2c 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoFontEngine.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoFontEngine.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoOutputDev.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoOutputDev.cc
index d8f78d75d28..441ca45f8f1 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoOutputDev.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoOutputDev.cc
@@ -23,10 +23,11 @@
// Copyright (C) 2008-2012 Adrian Johnson <ajohnson@redneon.com>
// Copyright (C) 2008 Michael Vrable <mvrable@cs.ucsd.edu>
// Copyright (C) 2008, 2009 Chris Wilson <chris@chris-wilson.co.uk>
-// Copyright (C) 2008 Hib Eris <hib@hiberis.nl>
+// Copyright (C) 2008, 2012 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2009, 2010 David Benjamin <davidben@mit.edu>
// Copyright (C) 2011, 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2012 Patrick Pfeifer <p2000@mailinator.com>
+// Copyright (C) 2012 Jason Crain <jason@aquaticape.us>
//
// 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
@@ -61,7 +62,7 @@
#include "CairoOutputDev.h"
#include "CairoFontEngine.h"
#include "CairoRescaleBox.h"
-#include "UTF.h"
+#include "UnicodeMap.h"
//------------------------------------------------------------------------
// #define LOG_CAIRO
@@ -242,7 +243,9 @@ void CairoOutputDev::startPage(int pageNum, GfxState *state) {
cairo_pattern_destroy(stroke_pattern);
fill_pattern = cairo_pattern_create_rgb(0., 0., 0.);
+ fill_color.r = fill_color.g = fill_color.b = 0;
stroke_pattern = cairo_pattern_reference(fill_pattern);
+ stroke_color.r = stroke_color.g = stroke_color.b = 0;
if (text)
text->startPage(state);
@@ -945,10 +948,21 @@ GBool CairoOutputDev::gouraudTriangleShadedFill(GfxState *state, GfxGouraudTrian
fill_pattern = cairo_pattern_create_mesh ();
for (i = 0; i < shading->getNTriangles(); i++) {
- shading->getTriangle(i,
- &x0, &y0, &color[0],
- &x1, &y1, &color[1],
- &x2, &y2, &color[2]);
+ if (shading->isParameterized()) {
+ double color0, color1, color2;
+ shading->getTriangle(i, &x0, &y0, &color0,
+ &x1, &y1, &color1,
+ &x2, &y2, &color2);
+ shading->getParameterizedColor(color0, &color[0]);
+ shading->getParameterizedColor(color1, &color[1]);
+ shading->getParameterizedColor(color2, &color[2]);
+ } else {
+ shading->getTriangle(i,
+ &x0, &y0, &color[0],
+ &x1, &y1, &color[1],
+ &x2, &y2, &color[2]);
+
+ }
cairo_mesh_pattern_begin_patch (fill_pattern);
@@ -1169,6 +1183,8 @@ void CairoOutputDev::drawChar(GfxState *state, double x, double y,
glyphs[glyphCount].y = y - originY;
glyphCount++;
if (use_show_text_glyphs) {
+ GooString enc("UTF-8");
+ UnicodeMap *utf8Map = globalParams->getUnicodeMap(&enc);
if (utf8Max - utf8Count < uLen*6) {
// utf8 encoded characters can be up to 6 bytes
if (utf8Max > uLen*6)
@@ -1179,7 +1195,7 @@ void CairoOutputDev::drawChar(GfxState *state, double x, double y,
}
clusters[clusterCount].num_bytes = 0;
for (int i = 0; i < uLen; i++) {
- int size = mapUTF8 (u[i], utf8 + utf8Count, utf8Max - utf8Count);
+ int size = utf8Map->mapUnicode(u[i], utf8 + utf8Count, utf8Max - utf8Count);
utf8Count += size;
clusters[clusterCount].num_bytes += size;
}
@@ -1737,49 +1753,6 @@ void CairoOutputDev::getScaledSize(int orig_width,
}
}
-cairo_surface_t *CairoOutputDev::downscaleSurface(cairo_surface_t *orig_surface) {
- cairo_surface_t *dest_surface;
- unsigned char *dest_buffer;
- int dest_stride;
- unsigned char *orig_buffer;
- int orig_width, orig_height;
- int orig_stride;
- int scaledHeight;
- int scaledWidth;
- GBool res;
-
- if (printing)
- return NULL;
-
- orig_width = cairo_image_surface_get_width (orig_surface);
- orig_height = cairo_image_surface_get_height (orig_surface);
- getScaledSize (orig_width, orig_height, &scaledWidth, &scaledHeight);
- if (scaledWidth >= orig_width || scaledHeight >= orig_height)
- return NULL;
-
- dest_surface = cairo_surface_create_similar (orig_surface,
- cairo_surface_get_content (orig_surface),
- scaledWidth, scaledHeight);
- dest_buffer = cairo_image_surface_get_data (dest_surface);
- dest_stride = cairo_image_surface_get_stride (dest_surface);
-
- orig_buffer = cairo_image_surface_get_data (orig_surface);
- orig_stride = cairo_image_surface_get_stride (orig_surface);
-
- res = downscale_box_filter((uint32_t *)orig_buffer,
- orig_stride, orig_width, orig_height,
- scaledWidth, scaledHeight, 0, 0,
- scaledWidth, scaledHeight,
- (uint32_t *)dest_buffer, dest_stride);
- if (!res) {
- cairo_surface_destroy (dest_surface);
- return NULL;
- }
-
- return dest_surface;
-
-}
-
cairo_filter_t
CairoOutputDev::getFilterForSurface(cairo_surface_t *image,
GBool interpolate)
@@ -2611,9 +2584,7 @@ void CairoOutputDev::drawSoftMaskedImage(GfxState *state, Object *ref, Stream *s
cairo_set_source (cairo, pattern);
if (!printing) {
- cairo_rectangle (cairo, 0., 0.,
- MIN (width, maskWidth) / (double)width,
- MIN (height, maskHeight) / (double)height);
+ cairo_rectangle (cairo, 0., 0., 1., 1.);
cairo_clip (cairo);
}
cairo_mask (cairo, maskPattern);
@@ -2622,9 +2593,7 @@ void CairoOutputDev::drawSoftMaskedImage(GfxState *state, Object *ref, Stream *s
cairo_pop_group_to_source (cairo);
cairo_save (cairo);
if (!printing) {
- cairo_rectangle (cairo, 0., 0.,
- MIN (width, maskWidth) / (double)width,
- MIN (height, maskHeight) / (double)height);
+ cairo_rectangle (cairo, 0., 0., 1., 1.);
cairo_clip (cairo);
}
cairo_paint_with_alpha (cairo, fill_opacity);
@@ -2635,9 +2604,7 @@ void CairoOutputDev::drawSoftMaskedImage(GfxState *state, Object *ref, Stream *s
cairo_save (cairo_shape);
cairo_set_source (cairo_shape, pattern);
if (!printing) {
- cairo_rectangle (cairo_shape, 0., 0.,
- MIN (width, maskWidth) / (double)width,
- MIN (height, maskHeight) / (double)height);
+ cairo_rectangle (cairo_shape, 0., 0., 1., 1.);
cairo_fill (cairo_shape);
} else {
cairo_mask (cairo_shape, pattern);
@@ -2725,63 +2692,119 @@ void CairoOutputDev::setMimeData(Stream *str, Object *ref, cairo_surface_t *imag
}
}
-void CairoOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
- int width, int height,
- GfxImageColorMap *colorMap,
- GBool interpolate,
- int *maskColors, GBool inlineImg)
-{
- cairo_surface_t *image;
- cairo_pattern_t *pattern, *maskPattern;
+class RescaleDrawImage : public CairoRescaleBox {
+private:
ImageStream *imgStr;
- cairo_matrix_t matrix;
- unsigned char *buffer;
- int stride, i;
- GfxRGB *lookup = NULL;
- cairo_filter_t filter = CAIRO_FILTER_BILINEAR;
-
- /* TODO: Do we want to cache these? */
- imgStr = new ImageStream(str, width,
- colorMap->getNumPixelComps(),
- colorMap->getBits());
- imgStr->reset();
+ GfxRGB *lookup;
+ int width;
+ GfxImageColorMap *colorMap;
+ int *maskColors;
+ int current_row;
+
+public:
+ cairo_surface_t *getSourceImage(Stream *str,
+ int widthA, int height,
+ int scaledWidth, int scaledHeight,
+ GBool printing,
+ GfxImageColorMap *colorMapA,
+ int *maskColorsA) {
+ cairo_surface_t *image = NULL;
+ int i;
+
+ lookup = NULL;
+ colorMap = colorMapA;
+ maskColors = maskColorsA;
+ width = widthA;
+ current_row = -1;
+
+ /* TODO: Do we want to cache these? */
+ imgStr = new ImageStream(str, width,
+ colorMap->getNumPixelComps(),
+ colorMap->getBits());
+ imgStr->reset();
#if 0
- /* ICCBased color space doesn't do any color correction
- * so check its underlying color space as well */
- int is_identity_transform;
- is_identity_transform = colorMap->getColorSpace()->getMode() == csDeviceRGB ||
- (colorMap->getColorSpace()->getMode() == csICCBased &&
- ((GfxICCBasedColorSpace*)colorMap->getColorSpace())->getAlt()->getMode() == csDeviceRGB);
+ /* ICCBased color space doesn't do any color correction
+ * so check its underlying color space as well */
+ int is_identity_transform;
+ is_identity_transform = colorMap->getColorSpace()->getMode() == csDeviceRGB ||
+ (colorMap->getColorSpace()->getMode() == csICCBased &&
+ ((GfxICCBasedColorSpace*)colorMap->getColorSpace())->getAlt()->getMode() == csDeviceRGB);
#endif
- image = cairo_image_surface_create (maskColors ?
- CAIRO_FORMAT_ARGB32 :
- CAIRO_FORMAT_RGB24,
- width, height);
- if (cairo_surface_status (image))
- goto cleanup;
+ // special case for one-channel (monochrome/gray/separation) images:
+ // build a lookup table here
+ if (colorMap->getNumPixelComps() == 1) {
+ int n;
+ Guchar pix;
- // special case for one-channel (monochrome/gray/separation) images:
- // build a lookup table here
- if (colorMap->getNumPixelComps() == 1) {
- int n;
- Guchar pix;
+ n = 1 << colorMap->getBits();
+ lookup = (GfxRGB *)gmallocn(n, sizeof(GfxRGB));
+ for (i = 0; i < n; ++i) {
+ pix = (Guchar)i;
- n = 1 << colorMap->getBits();
- lookup = (GfxRGB *)gmallocn(n, sizeof(GfxRGB));
- for (i = 0; i < n; ++i) {
- pix = (Guchar)i;
+ colorMap->getRGB(&pix, &lookup[i]);
+ }
+ }
- colorMap->getRGB(&pix, &lookup[i]);
+ if (printing || scaledWidth >= width || scaledHeight >= height) {
+ // No downscaling. Create cairo image containing the source image data.
+ unsigned char *buffer;
+ int stride;
+
+ image = cairo_image_surface_create (maskColors ?
+ CAIRO_FORMAT_ARGB32 :
+ CAIRO_FORMAT_RGB24,
+ width, height);
+ if (cairo_surface_status (image))
+ goto cleanup;
+
+ buffer = cairo_image_surface_get_data (image);
+ stride = cairo_image_surface_get_stride (image);
+ for (int y = 0; y < height; y++) {
+ uint32_t *dest = (uint32_t *) (buffer + y * stride);
+ getRow(y, dest);
+ }
+ } else {
+ // // Downscaling required. Create cairo image the size of the
+ // rescaled image and // downscale the source image data into
+ // the cairo image. downScaleImage() will call getRow() to read
+ // source image data from the image stream. This avoids having
+ // to create an image the size of the source image which may
+ // exceed cairo's 32676x32767 image size limit (and also saves a
+ // lot of memory).
+ image = cairo_image_surface_create (maskColors ?
+ CAIRO_FORMAT_ARGB32 :
+ CAIRO_FORMAT_RGB24,
+ scaledWidth, scaledHeight);
+ if (cairo_surface_status (image))
+ goto cleanup;
+
+ downScaleImage(width, height,
+ scaledWidth, scaledHeight,
+ 0, 0, scaledWidth, scaledHeight,
+ image);
}
+ cairo_surface_mark_dirty (image);
+
+ cleanup:
+ gfree(lookup);
+ imgStr->close();
+ delete imgStr;
+ return image;
}
- buffer = cairo_image_surface_get_data (image);
- stride = cairo_image_surface_get_stride (image);
- for (int y = 0; y < height; y++) {
- uint32_t *dest = (uint32_t *) (buffer + y * stride);
- Guchar *pix = imgStr->getLine();
+ void getRow(int row_num, uint32_t *row_data) {
+ int i;
+ Guchar *pix;
+
+ if (row_num <= current_row)
+ return;
+
+ while (current_row < row_num) {
+ pix = imgStr->getLine();
+ current_row++;
+ }
if (lookup) {
Guchar *p = pix;
@@ -2789,54 +2812,63 @@ void CairoOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
for (i = 0; i < width; i++) {
rgb = lookup[*p];
- dest[i] =
- ((int) colToByte(rgb.r) << 16) |
- ((int) colToByte(rgb.g) << 8) |
- ((int) colToByte(rgb.b) << 0);
- p++;
+ row_data[i] =
+ ((int) colToByte(rgb.r) << 16) |
+ ((int) colToByte(rgb.g) << 8) |
+ ((int) colToByte(rgb.b) << 0);
+ p++;
}
} else {
- colorMap->getRGBLine (pix, dest, width);
+ colorMap->getRGBLine (pix, row_data, width);
}
if (maskColors) {
for (int x = 0; x < width; x++) {
- bool is_opaque = false;
- for (int i = 0; i < colorMap->getNumPixelComps(); ++i) {
- if (pix[i] < maskColors[2*i] ||
- pix[i] > maskColors[2*i+1]) {
- is_opaque = true;
- break;
- }
- }
- if (is_opaque)
- *dest |= 0xff000000;
- else
- *dest = 0;
- dest++;
- pix += colorMap->getNumPixelComps();
+ bool is_opaque = false;
+ for (int i = 0; i < colorMap->getNumPixelComps(); ++i) {
+ if (pix[i] < maskColors[2*i] ||
+ pix[i] > maskColors[2*i+1]) {
+ is_opaque = true;
+ break;
+ }
+ }
+ if (is_opaque)
+ *row_data |= 0xff000000;
+ else
+ *row_data = 0;
+ row_data++;
+ pix += colorMap->getNumPixelComps();
}
}
}
- gfree(lookup);
- LOG (printf ("drawImage %dx%d\n", width, height));
+};
- cairo_surface_t *scaled_surface;
+void CairoOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
+ int widthA, int heightA,
+ GfxImageColorMap *colorMap,
+ GBool interpolate,
+ int *maskColors, GBool inlineImg)
+{
+ cairo_surface_t *image;
+ cairo_pattern_t *pattern, *maskPattern;
+ cairo_matrix_t matrix;
+ int width, height;
+ int scaledWidth, scaledHeight;
+ cairo_filter_t filter = CAIRO_FILTER_BILINEAR;
+ RescaleDrawImage rescale;
- scaled_surface = downscaleSurface (image);
- if (scaled_surface) {
- if (cairo_surface_status (scaled_surface))
- goto cleanup;
- cairo_surface_destroy (image);
- image = scaled_surface;
- width = cairo_image_surface_get_width (image);
- height = cairo_image_surface_get_height (image);
- } else {
- filter = getFilterForSurface (image, interpolate);
- }
+ LOG (printf ("drawImage %dx%d\n", widthA, heightA));
- cairo_surface_mark_dirty (image);
+ getScaledSize (widthA, heightA, &scaledWidth, &scaledHeight);
+ image = rescale.getSourceImage(str, widthA, heightA, scaledWidth, scaledHeight, printing, colorMap, maskColors);
+ if (!image)
+ return;
+
+ width = cairo_image_surface_get_width (image);
+ height = cairo_image_surface_get_height (image);
+ if (width == widthA && height == heightA)
+ filter = getFilterForSurface (image, interpolate);
if (!inlineImg) /* don't read stream twice if it is an inline image */
setMimeData(str, ref, image);
@@ -2844,7 +2876,7 @@ void CairoOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
pattern = cairo_pattern_create_for_surface (image);
cairo_surface_destroy (image);
if (cairo_pattern_status (pattern))
- goto cleanup;
+ return;
cairo_pattern_set_filter (pattern, filter);
@@ -2856,7 +2888,7 @@ void CairoOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
cairo_pattern_set_matrix (pattern, &matrix);
if (cairo_pattern_status (pattern)) {
cairo_pattern_destroy (pattern);
- goto cleanup;
+ return;
}
if (!mask && fill_opacity != 1.0) {
@@ -2899,10 +2931,6 @@ void CairoOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
}
cairo_pattern_destroy (pattern);
-
-cleanup:
- imgStr->close();
- delete imgStr;
}
@@ -2980,6 +3008,52 @@ void CairoImageOutputDev::drawImageMask(GfxState *state, Object *ref, Stream *st
}
}
+void CairoImageOutputDev::setSoftMaskFromImageMask(GfxState *state, Object *ref, Stream *str,
+ int width, int height, GBool invert,
+ GBool inlineImg, double *baseMatrix)
+{
+ cairo_t *cr;
+ cairo_surface_t *surface;
+ double x1, y1, x2, y2;
+ double *ctm;
+ double mat[6];
+ CairoImage *image;
+
+ ctm = state->getCTM();
+
+ mat[0] = ctm[0];
+ mat[1] = ctm[1];
+ mat[2] = -ctm[2];
+ mat[3] = -ctm[3];
+ mat[4] = ctm[2] + ctm[4];
+ mat[5] = ctm[3] + ctm[5];
+ x1 = mat[4];
+ y1 = mat[5];
+ x2 = x1 + width;
+ y2 = y1 + height;
+
+ image = new CairoImage (x1, y1, x2, y2);
+ saveImage (image);
+
+ if (imgDrawCbk && imgDrawCbk (numImages - 1, imgDrawCbkData)) {
+ surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, width, height);
+ cr = cairo_create (surface);
+ setCairo (cr);
+ cairo_translate (cr, 0, height);
+ cairo_scale (cr, width, -height);
+
+ CairoOutputDev::drawImageMask(state, ref, str, width, height, invert, inlineImg, gFalse);
+ if (state->getFillColorSpace()->getMode() == csPattern) {
+ cairo_mask (cairo, mask);
+ }
+ image->setImage (surface);
+
+ setCairo (NULL);
+ cairo_surface_destroy (surface);
+ cairo_destroy (cr);
+ }
+}
+
void CairoImageOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
int width, int height, GfxImageColorMap *colorMap,
GBool interpolate, int *maskColors, GBool inlineImg)
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoOutputDev.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoOutputDev.h
index df76975cf29..a699a7b45c6 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoOutputDev.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoOutputDev.h
@@ -465,6 +465,11 @@ public:
Stream *maskStr,
int maskWidth, int maskHeight,
GBool maskInvert, GBool maskInterpolate);
+ virtual void setSoftMaskFromImageMask(GfxState *state, Object *ref, Stream *str,
+ int width, int height, GBool invert,
+ GBool inlineImg, double *baseMatrix);
+ virtual void unsetSoftMaskFromImageMask(GfxState *state, double *baseMatrix) {}
+
//----- transparency groups and soft masks
virtual void beginTransparencyGroup(GfxState * /*state*/, double * /*bbox*/,
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoRescaleBox.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoRescaleBox.cc
index 68a0c4cb055..3c96f45e5d3 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CairoRescaleBox.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoRescaleBox.cc
@@ -31,6 +31,7 @@
// under GPL version 2 or later
//
// Copyright (C) 2012 Hib Eris <hib@hiberis.nl>
+// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
//
// 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
@@ -57,6 +58,7 @@
/* we work in fixed point where 1. == 1 << 24 */
#define FIXED_SHIFT 24
+
static void downsample_row_box_filter (
int start, int width,
uint32_t *src, uint32_t *dest,
@@ -261,106 +263,116 @@ static int compute_coverage (int coverage[], int src_length, int dest_length)
return ratio;
}
-GBool downscale_box_filter(uint32_t *orig, int orig_stride, unsigned orig_width, unsigned orig_height,
- signed scaled_width, signed scaled_height,
- uint16_t start_column, uint16_t start_row,
- uint16_t width, uint16_t height,
- uint32_t *dest, int dst_stride)
-{
- int pixel_coverage_x, pixel_coverage_y;
- int dest_y;
- int src_y = 0;
- uint32_t *scanline = orig;
- int *x_coverage = NULL;
- int *y_coverage = NULL;
- uint32_t *temp_buf = NULL;
- GBool retval = gFalse;
-
- x_coverage = (int *)gmallocn3 (orig_width, 1, sizeof(int));
- y_coverage = (int *)gmallocn3 (orig_height, 1, sizeof(int));
-
- /* we need to allocate enough room for ceil(src_height/dest_height)+1
- Example:
- src_height = 140
- dest_height = 50
- src_height/dest_height = 2.8
-
- |-------------| 2.8 pixels
- |----|----|----|----| 4 pixels
- need to sample 3 pixels
-
- |-------------| 2.8 pixels
- |----|----|----|----| 4 pixels
- need to sample 4 pixels
- */
- temp_buf = (uint32_t *)gmallocn3 ((orig_height + scaled_height-1)/scaled_height+1, scaled_width, sizeof(uint32_t));
+GBool CairoRescaleBox::downScaleImage(unsigned orig_width, unsigned orig_height,
+ signed scaled_width, signed scaled_height,
+ unsigned short int start_column, unsigned short int start_row,
+ unsigned short int width, unsigned short int height,
+ cairo_surface_t *dest_surface) {
+ int pixel_coverage_x, pixel_coverage_y;
+ int dest_y;
+ int src_y = 0;
+ uint32_t *scanline;
+ int *x_coverage = NULL;
+ int *y_coverage = NULL;
+ uint32_t *temp_buf = NULL;
+ GBool retval = gFalse;
+ unsigned int *dest;
+ int dst_stride;
+
+ dest = (unsigned int *)cairo_image_surface_get_data (dest_surface);
+ dst_stride = cairo_image_surface_get_stride (dest_surface);
+
+ scanline = (uint32_t*)gmallocn3 (orig_width, 1, sizeof(int));
+
+ x_coverage = (int *)gmallocn3 (orig_width, 1, sizeof(int));
+ y_coverage = (int *)gmallocn3 (orig_height, 1, sizeof(int));
+
+ /* we need to allocate enough room for ceil(src_height/dest_height)+1
+ Example:
+ src_height = 140
+ dest_height = 50
+ src_height/dest_height = 2.8
- if (!x_coverage || !y_coverage || !scanline || !temp_buf)
- goto cleanup;
+ |-------------| 2.8 pixels
+ |----|----|----|----| 4 pixels
+ need to sample 3 pixels
- pixel_coverage_x = compute_coverage (x_coverage, orig_width, scaled_width);
- pixel_coverage_y = compute_coverage (y_coverage, orig_height, scaled_height);
+ |-------------| 2.8 pixels
+ |----|----|----|----| 4 pixels
+ need to sample 4 pixels
+ */
- assert (width + start_column <= scaled_width);
+ temp_buf = (uint32_t *)gmallocn3 ((orig_height + scaled_height-1)/scaled_height+1, scaled_width, sizeof(uint32_t));
- /* skip the rows at the beginning */
- for (dest_y = 0; dest_y < start_row; dest_y++)
+ if (!x_coverage || !y_coverage || !scanline || !temp_buf)
+ goto cleanup;
+
+ pixel_coverage_x = compute_coverage (x_coverage, orig_width, scaled_width);
+ pixel_coverage_y = compute_coverage (y_coverage, orig_height, scaled_height);
+
+ assert (width + start_column <= scaled_width);
+
+
+
+ /* skip the rows at the beginning */
+ for (dest_y = 0; dest_y < start_row; dest_y++)
+ {
+ int box = 1 << FIXED_SHIFT;
+ int start_coverage_y = y_coverage[dest_y];
+ box -= start_coverage_y;
+ src_y++;
+ while (box >= pixel_coverage_y)
{
- int box = 1 << FIXED_SHIFT;
- int start_coverage_y = y_coverage[dest_y];
- box -= start_coverage_y;
- src_y++;
- while (box >= pixel_coverage_y)
- {
- box -= pixel_coverage_y;
- src_y++;
- }
+ box -= pixel_coverage_y;
+ src_y++;
}
+ }
- for (; dest_y < start_row + height; dest_y++)
- {
- int columns = 0;
- int box = 1 << FIXED_SHIFT;
- int start_coverage_y = y_coverage[dest_y];
+ for (; dest_y < start_row + height; dest_y++)
+ {
+ int columns = 0;
+ int box = 1 << FIXED_SHIFT;
+ int start_coverage_y = y_coverage[dest_y];
- scanline = orig + src_y * orig_stride / 4;
- downsample_row_box_filter (start_column, width, scanline, temp_buf + width * columns, x_coverage, pixel_coverage_x);
- columns++;
- src_y++;
- box -= start_coverage_y;
+ getRow(src_y, scanline);
+ downsample_row_box_filter (start_column, width, scanline, temp_buf + width * columns, x_coverage, pixel_coverage_x);
+ columns++;
+ src_y++;
+ box -= start_coverage_y;
- while (box >= pixel_coverage_y)
- {
- scanline = orig + src_y * orig_stride / 4;
- downsample_row_box_filter (start_column, width, scanline, temp_buf + width * columns, x_coverage, pixel_coverage_x);
- columns++;
- src_y++;
- box -= pixel_coverage_y;
- }
+ while (box >= pixel_coverage_y)
+ {
+ getRow(src_y, scanline);
+ downsample_row_box_filter (start_column, width, scanline, temp_buf + width * columns, x_coverage, pixel_coverage_x);
+ columns++;
+ src_y++;
+ box -= pixel_coverage_y;
+ }
- /* downsample any leftovers */
- if (box > 0)
- {
- scanline = orig + src_y * orig_stride / 4;
- downsample_row_box_filter (start_column, width, scanline, temp_buf + width * columns, x_coverage, pixel_coverage_x);
- columns++;
- }
+ /* downsample any leftovers */
+ if (box > 0)
+ {
+ getRow(src_y, scanline);
+ downsample_row_box_filter (start_column, width, scanline, temp_buf + width * columns, x_coverage, pixel_coverage_x);
+ columns++;
+ }
- /* now scale the rows we just downsampled in the y direction */
- downsample_columns_box_filter (width, start_coverage_y, pixel_coverage_y, temp_buf, dest);
- dest += dst_stride / 4;
+ /* now scale the rows we just downsampled in the y direction */
+ downsample_columns_box_filter (width, start_coverage_y, pixel_coverage_y, temp_buf, dest);
+ dest += dst_stride / 4;
// assert(width*columns <= ((orig_height + scaled_height-1)/scaled_height+1) * width);
- }
+ }
// assert (src_y<=orig_height);
- retval = gTrue;
+ retval = gTrue;
cleanup:
- free (x_coverage);
- free (y_coverage);
- free (temp_buf);
+ free (x_coverage);
+ free (y_coverage);
+ free (temp_buf);
+ free (scanline);
- return retval;
+ return retval;
}
diff --git a/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoRescaleBox.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoRescaleBox.h
new file mode 100644
index 00000000000..072e8a9c80c
--- /dev/null
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CairoRescaleBox.h
@@ -0,0 +1,61 @@
+/*
+ * Copyright © 2009 Mozilla Corporation
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that
+ * copyright notice and this permission notice appear in supporting
+ * documentation, and that the name of Mozilla Corporation not be used in
+ * advertising or publicity pertaining to distribution of the software without
+ * specific, written prior permission. Mozilla Corporation makes no
+ * representations about the suitability of this software for any purpose. It
+ * is provided "as is" without express or implied warranty.
+ *
+ * MOZILLA CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT
+ * SHALL MOZILLA CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ * OF THIS SOFTWARE.
+ *
+ * Author: Jeff Muizelaar, Mozilla Corp.
+ */
+
+//========================================================================
+//
+// Modified under the Poppler project - http://poppler.freedesktop.org
+//
+// All changes made under the Poppler project to this file are licensed
+// under GPL version 2 or later
+//
+// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
+//
+// 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
+//
+//========================================================================
+
+#ifndef CAIRO_RESCALE_BOX_H
+#define CAIRO_RESCALE_BOX_H
+
+#include "goo/gtypes.h"
+#include <cairo.h>
+
+class CairoRescaleBox {
+public:
+
+ CairoRescaleBox() {};
+ virtual ~CairoRescaleBox() {};
+
+ virtual GBool downScaleImage(unsigned orig_width, unsigned orig_height,
+ signed scaled_width, signed scaled_height,
+ unsigned short int start_column, unsigned short int start_row,
+ unsigned short int width, unsigned short int height,
+ cairo_surface_t *dest_surface);
+
+ virtual void getRow(int row_num, uint32_t *row_data) = 0;
+
+};
+
+#endif /* CAIRO_RESCALE_BOX_H */
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Catalog.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Catalog.cc
index 0f42356f97c..cf6dff0a573 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Catalog.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Catalog.cc
@@ -24,6 +24,7 @@
// Copyright (C) 2008, 2011 Pino Toscano <pino@kde.org>
// Copyright (C) 2009 Ilya Gorenbein <igorenbein@finjan.com>
// Copyright (C) 2010 Hib Eris <hib@hiberis.nl>
+// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
//
// 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
@@ -864,6 +865,24 @@ Object *Catalog::getDests()
return &dests;
}
+Catalog::FormType Catalog::getFormType()
+{
+ Object xfa;
+ FormType res = NoForm;
+
+ if (acroForm.isDict()) {
+ acroForm.dictLookup("XFA", &xfa);
+ if (xfa.isStream() || xfa.isArray()) {
+ res = XfaForm;
+ } else {
+ res = AcroForm;
+ }
+ xfa.free();
+ }
+
+ return res;
+}
+
Form *Catalog::getForm()
{
if (!form) {
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Catalog.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Catalog.h
index cdb1f1373e0..ef469ec85b5 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Catalog.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Catalog.h
@@ -20,6 +20,7 @@
// Copyright (C) 2007 Julien Rebetez <julienr@svn.gnome.org>
// Copyright (C) 2008, 2011 Pino Toscano <pino@kde.org>
// Copyright (C) 2010 Hib Eris <hib@hiberis.nl>
+// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
//
// 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
@@ -153,6 +154,14 @@ public:
OCGs *getOptContentConfig() { return optContent; }
+ enum FormType
+ {
+ NoForm,
+ AcroForm,
+ XfaForm
+ };
+
+ FormType getFormType();
Form* getForm();
ViewerPreferences *getViewerPreferences();
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CharCodeToUnicode.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/CharCodeToUnicode.cc
index 4298090590b..16ba6d48649 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CharCodeToUnicode.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CharCodeToUnicode.cc
@@ -439,7 +439,7 @@ void CharCodeToUnicode::addMapping(CharCode code, char *uStr, int n,
for (i = oldLen; i < mapLen; ++i) {
map[i] = 0;
}
- }
+ }
}
if (n <= 4) {
if (!parseHex(uStr, n, &u)) {
@@ -447,6 +447,9 @@ void CharCodeToUnicode::addMapping(CharCode code, char *uStr, int n,
return;
}
map[code] = u + offset;
+ if (!UnicodeIsValid(map[code])) {
+ map[code] = 0xfffd;
+ }
} else {
if (sMapLen >= sMapSize) {
sMapSize = sMapSize + 16;
@@ -459,12 +462,14 @@ void CharCodeToUnicode::addMapping(CharCode code, char *uStr, int n,
Unicode *utf16 = (Unicode*)gmallocn(utf16Len, sizeof(Unicode));
for (j = 0; j < utf16Len; ++j) {
if (!parseHex(uStr + j*4, 4, &utf16[j])) {
+ gfree(utf16);
error(errSyntaxWarning, -1, "Illegal entry in ToUnicode CMap");
return;
}
}
utf16[utf16Len - 1] += offset;
sMap[sMapLen].len = UTF16toUCS4(utf16, utf16Len, &sMap[sMapLen].u);
+ gfree(utf16);
++sMapLen;
}
}
@@ -593,7 +598,11 @@ void CharCodeToUnicode::setMapping(CharCode c, Unicode *u, int len) {
sMap[i].len = len;
sMap[i].u = (Unicode*)gmallocn(len, sizeof(Unicode));
for (j = 0; j < len; ++j) {
- sMap[i].u[j] = u[j];
+ if (UnicodeIsValid(u[j])) {
+ sMap[i].u[j] = u[j];
+ } else {
+ sMap[i].u[j] = 0xfffd;
+ }
}
}
}
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CharCodeToUnicode.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/CharCodeToUnicode.h
index 1672105a8f4..1672105a8f4 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CharCodeToUnicode.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CharCodeToUnicode.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CharTypes.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/CharTypes.h
index d0df630d0c9..d0df630d0c9 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CharTypes.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CharTypes.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CompactFontTables.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/CompactFontTables.h
index cfbfdaf5752..cfbfdaf5752 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CompactFontTables.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CompactFontTables.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CurlCachedFile.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/CurlCachedFile.cc
index af4c2b60322..af4c2b60322 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CurlCachedFile.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CurlCachedFile.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CurlCachedFile.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/CurlCachedFile.h
index 49882aba8ac..49882aba8ac 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CurlCachedFile.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CurlCachedFile.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CurlPDFDocBuilder.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/CurlPDFDocBuilder.cc
index 5b02b14a784..5b02b14a784 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CurlPDFDocBuilder.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CurlPDFDocBuilder.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/CurlPDFDocBuilder.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/CurlPDFDocBuilder.h
index fb34862057c..fb34862057c 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/CurlPDFDocBuilder.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/CurlPDFDocBuilder.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/DCTStream.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/DCTStream.cc
index 6302c8b6adf..6302c8b6adf 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/DCTStream.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/DCTStream.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/DCTStream.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/DCTStream.h
index 55bd985d1d7..55bd985d1d7 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/DCTStream.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/DCTStream.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/DateInfo.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/DateInfo.cc
index 563204a1743..563204a1743 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/DateInfo.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/DateInfo.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/DateInfo.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/DateInfo.h
index 116350f4134..116350f4134 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/DateInfo.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/DateInfo.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Decrypt.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Decrypt.cc
index 44f696192c1..44f696192c1 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Decrypt.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Decrypt.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Decrypt.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Decrypt.h
index c049f5c9a59..c049f5c9a59 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Decrypt.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Decrypt.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Dict.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Dict.cc
index c4f667bf505..c4f667bf505 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Dict.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Dict.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Dict.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Dict.h
index 897f221346a..897f221346a 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Dict.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Dict.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Error.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Error.cc
index 9d044bc7ef5..ce71820b214 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Error.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Error.cc
@@ -16,6 +16,7 @@
// Copyright (C) 2005, 2007 Jeff Muizelaar <jeff@infidigm.net>
// Copyright (C) 2005 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2007 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
+// Copyright (C) 2012 Marek Kasik <mkasik@redhat.com>
//
// 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
@@ -59,7 +60,7 @@ void setErrorCallback(void (*cbk)(void *data, ErrorCategory category,
void CDECL error(ErrorCategory category, int pos, const char *msg, ...) {
va_list args;
- GooString *s;
+ GooString *s, *sanitized;
// NB: this can be called before the globalParams object is created
if (!errorCbk && globalParams && globalParams->getErrQuiet()) {
@@ -68,17 +69,29 @@ void CDECL error(ErrorCategory category, int pos, const char *msg, ...) {
va_start(args, msg);
s = GooString::formatv(msg, args);
va_end(args);
+
+ sanitized = new GooString ();
+ for (int i = 0; i < s->getLength(); ++i) {
+ const char c = s->getChar(i);
+ if (c < (char)0x20 || c >= (char)0x7f) {
+ sanitized->appendf("<{0:02x}>", c & 0xff);
+ } else {
+ sanitized->append(c);
+ }
+ }
+
if (errorCbk) {
- (*errorCbk)(errorCbkData, category, pos, s->getCString());
+ (*errorCbk)(errorCbkData, category, pos, sanitized->getCString());
} else {
if (pos >= 0) {
fprintf(stderr, "%s (%d): %s\n",
- errorCategoryNames[category], pos, s->getCString());
+ errorCategoryNames[category], pos, sanitized->getCString());
} else {
fprintf(stderr, "%s: %s\n",
- errorCategoryNames[category], s->getCString());
+ errorCategoryNames[category], sanitized->getCString());
}
fflush(stderr);
}
delete s;
+ delete sanitized;
}
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Error.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Error.h
index d7a0991fd54..d7a0991fd54 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Error.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Error.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/ErrorCodes.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/ErrorCodes.h
index b28528df564..b28528df564 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/ErrorCodes.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/ErrorCodes.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/FileSpec.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/FileSpec.cc
index 1adcf5b9966..bac1eaea0d7 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/FileSpec.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/FileSpec.cc
@@ -8,6 +8,7 @@
// Copyright (C) 2008-2009 Carlos Garcia Campos <carlosgc@gnome.org>
// Copyright (C) 2009 Kovid Goyal <kovid@kovidgoyal.net>
// Copyright (C) 2012 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2012 Hib Eris <hib@hiberis.nl>
//
// 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
@@ -229,7 +230,7 @@ GBool getFileSpecNameForPlatform (Object *fileSpec, Object *fileName)
if (!fileSpec->dictLookup("F", fileName)->isString ()) {
fileName->free();
#ifdef _WIN32
- char *platform = "DOS";
+ const char *platform = "DOS";
#else
const char *platform = "Unix";
#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/FileSpec.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/FileSpec.h
index 9f2f6fcd131..9f2f6fcd131 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/FileSpec.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/FileSpec.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/FlateStream.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/FlateStream.cc
index 7990dadd821..7990dadd821 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/FlateStream.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/FlateStream.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/FlateStream.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/FlateStream.h
index 9e3835f042a..9e3835f042a 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/FlateStream.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/FlateStream.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/FontEncodingTables.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/FontEncodingTables.cc
index 6ebef787421..6ebef787421 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/FontEncodingTables.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/FontEncodingTables.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/FontEncodingTables.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/FontEncodingTables.h
index a417b324e48..a417b324e48 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/FontEncodingTables.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/FontEncodingTables.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/FontInfo.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/FontInfo.cc
index 35d5f5f2097..35d5f5f2097 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/FontInfo.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/FontInfo.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/FontInfo.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/FontInfo.h
index db90440da73..db90440da73 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/FontInfo.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/FontInfo.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Form.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Form.cc
index 309b065ac1d..78c25e3aa93 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Form.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Form.cc
@@ -14,6 +14,7 @@
// Copyright 2009 Matthias Drochner <M.Drochner@fz-juelich.de>
// Copyright 2009 KDAB via Guillermo Amaral <gamaral@amaral.com.mx>
// Copyright 2010, 2012 Mark Riedesel <mark@klowner.com>
+// Copyright 2012 Fabio D'Urso <fabiodurso@hotmail.it>
//
//========================================================================
@@ -124,10 +125,6 @@ bool FormWidget::isReadOnly() const
return field->isReadOnly();
}
-GBool FormWidget::isModified() const {
- return field->isModified();
-}
-
int FormWidget::encodeID (unsigned pageNum, unsigned fieldNum)
{
return (pageNum << 4*sizeof(unsigned)) + fieldNum;
@@ -211,6 +208,11 @@ void FormWidgetButton::setAppearanceState(const char *state) {
widget->setAppearanceState(state);
}
+void FormWidgetButton::updateWidgetAppearance()
+{
+ // The appearance stream must NOT be regenerated for this widget type
+}
+
void FormWidgetButton::setState (GBool astate)
{
//pushButtons don't have state
@@ -247,7 +249,13 @@ GooString* FormWidgetText::getContentCopy ()
{
return parent->getContentCopy();
}
-
+
+void FormWidgetText::updateWidgetAppearance()
+{
+ if (widget)
+ widget->updateAppearanceStream();
+}
+
bool FormWidgetText::isMultiline () const
{
return parent->isMultiline();
@@ -356,6 +364,12 @@ GooString* FormWidgetChoice::getEditChoice ()
return parent->getEditChoice();
}
+void FormWidgetChoice::updateWidgetAppearance()
+{
+ if (widget)
+ widget->updateAppearanceStream();
+}
+
bool FormWidgetChoice::isSelected (int i)
{
if (!_checkRange(i)) return false;
@@ -423,6 +437,11 @@ FormWidgetSignature::FormWidgetSignature(PDFDoc *docA, Object *aobj, unsigned nu
parent = static_cast<FormFieldSignature*>(field);
}
+void FormWidgetSignature::updateWidgetAppearance()
+{
+ // Unimplemented
+}
+
//========================================================================
// FormField
@@ -446,7 +465,6 @@ FormField::FormField(PDFDoc *docA, Object *aobj, const Ref& aref, FormField *par
fullyQualifiedName = NULL;
quadding = quaddingLeftJustified;
hasQuadding = gFalse;
- modified = gFalse;
ref = aref;
@@ -623,10 +641,6 @@ void FormField::createWidgetAnnotations() {
}
}
-GBool FormField::isModified() const {
- return modified ? gTrue : parent ? parent->isModified() : gFalse;
-}
-
void FormField::_createWidget (Object *obj, Ref aref)
{
terminal = true;
@@ -758,6 +772,18 @@ GooString* FormField::getFullyQualifiedName() {
return fullyQualifiedName;
}
+void FormField::updateChildrenAppearance()
+{
+ // Recursively update each child's appearance
+ if (terminal) {
+ for (int i = 0; i < numChildren; i++)
+ widgets[i]->updateWidgetAppearance();
+ } else {
+ for (int i = 0; i < numChildren; i++)
+ children[i]->updateChildrenAppearance();
+ }
+}
+
//------------------------------------------------------------------------
// FormFieldButton
//------------------------------------------------------------------------
@@ -864,7 +890,6 @@ GBool FormFieldButton::setState(char *state)
if (terminal && parent && parent->getType() == formButton && appearanceState.isNull()) {
// It's button in a set, set state on parent
if (static_cast<FormFieldButton*>(parent)->setState(state)) {
- modified = gTrue;
return gTrue;
}
return gFalse;
@@ -910,7 +935,6 @@ GBool FormFieldButton::setState(char *state)
}
updateState(state);
- modified = gTrue;
return gTrue;
}
@@ -1024,7 +1048,7 @@ void FormFieldText::setContentCopy (GooString* new_content)
obj1.initString(content ? content->copy() : new GooString(""));
obj.getDict()->set("V", &obj1);
xref->setModifiedObject(&obj, ref);
- modified = gTrue;
+ updateChildrenAppearance();
}
FormFieldText::~FormFieldText()
@@ -1106,44 +1130,70 @@ FormFieldChoice::FormFieldChoice(PDFDoc *docA, Object *aobj, const Ref& ref, For
}
obj1.free();
- // find selected items and convert choice's human readable strings to UTF16
- if (Form::fieldLookup(dict, "V", &obj1)->isString()) {
- for (int i = 0; i < numChoices; i++) {
- if (!choices[i].optionName)
- continue;
-
- if (choices[i].optionName->cmp(obj1.getString()) == 0)
- choices[i].selected = true;
-
- if (!choices[i].optionName->hasUnicodeMarker()) {
- int len;
- char* buffer = pdfDocEncodingToUTF16(choices[i].optionName, &len);
- choices[i].optionName->Set(buffer, len);
- delete [] buffer;
+ // Find selected items
+ // Note: PDF specs say that /V has precedence over /I, but acroread seems to
+ // do the opposite. We do the same.
+ if (Form::fieldLookup(dict, "I", &obj1)->isArray()) {
+ for (int i = 0; i < obj1.arrayGetLength(); i++) {
+ Object obj2;
+ if (obj1.arrayGet(i, &obj2)->isInt() && obj2.getInt() >= 0 && obj2.getInt() < numChoices) {
+ choices[obj2.getInt()].selected = true;
}
+ obj2.free();
}
- } else if (obj1.isArray()) {
- for (int i = 0; i < numChoices; i++) {
- if (!choices[i].optionName)
- continue;
+ } else {
+ obj1.free();
+ // Note: According to PDF specs, /V should *never* contain the exportVal.
+ // However, if /Opt is an array of (exportVal,optionName) pairs, acroread
+ // seems to expect the exportVal instead of the optionName and so we do too.
+ if (Form::fieldLookup(dict, "V", &obj1)->isString()) {
+ GBool optionFound = gFalse;
- for (int j = 0; j < obj1.arrayGetLength(); j++) {
- Object obj2;
+ for (int i = 0; i < numChoices; i++) {
+ if (choices[i].exportVal) {
+ if (choices[i].exportVal->cmp(obj1.getString()) == 0) {
+ optionFound = gTrue;
+ }
+ } else if (choices[i].optionName) {
+ if (choices[i].optionName->cmp(obj1.getString()) == 0) {
+ optionFound = gTrue;
+ }
+ }
- obj1.arrayGet(i, &obj2);
- if (choices[i].optionName->cmp(obj2.getString()) == 0) {
+ if (optionFound) {
choices[i].selected = true;
- obj2.free();
- break;
+ break; // We've determined that this option is selected. No need to keep on scanning
}
- obj2.free();
}
- if (!choices[i].optionName->hasUnicodeMarker()) {
- int len;
- char* buffer = pdfDocEncodingToUTF16(choices[i].optionName, &len);
- choices[i].optionName->Set(buffer, len);
- delete [] buffer;
+ // Set custom value if /V doesn't refer to any predefined option and the field is user-editable
+ if (!optionFound && edit) {
+ editedChoice = obj1.getString()->copy();
+ }
+ } else if (obj1.isArray()) {
+ for (int i = 0; i < numChoices; i++) {
+ for (int j = 0; j < obj1.arrayGetLength(); j++) {
+ Object obj2;
+ obj1.arrayGet(j, &obj2);
+ GBool matches = gFalse;
+
+ if (choices[i].exportVal) {
+ if (choices[i].exportVal->cmp(obj2.getString()) == 0) {
+ matches = gTrue;
+ }
+ } else if (choices[i].optionName) {
+ if (choices[i].optionName->cmp(obj2.getString()) == 0) {
+ matches = gTrue;
+ }
+ }
+
+ obj2.free();
+
+ if (matches) {
+ choices[i].selected = true;
+ break; // We've determined that this option is selected. No need to keep on scanning
+ }
+ }
}
}
}
@@ -1169,37 +1219,63 @@ void FormFieldChoice::print(int indent)
#endif
void FormFieldChoice::updateSelection() {
- Object obj1;
+ Object objV, objI, obj1;
+ objI.initNull();
- //this is an editable combo-box with user-entered text
if (edit && editedChoice) {
- obj1.initString(editedChoice->copy());
+ // This is an editable combo-box with user-entered text
+ objV.initString(editedChoice->copy());
} else {
- int numSelected = getNumSelected();
+ const int numSelected = getNumSelected();
+
+ // Create /I array only if multiple selection is allowed (as per PDF spec)
+ if (multiselect) {
+ objI.initArray(xref);
+ }
+
if (numSelected == 0) {
- obj1.initString(new GooString(""));
+ // No options are selected
+ objV.initString(new GooString(""));
} else if (numSelected == 1) {
- for (int i = 0; numChoices; i++) {
- if (choices[i].optionName && choices[i].selected) {
- obj1.initString(choices[i].optionName->copy());
- break;
+ // Only one option is selected
+ for (int i = 0; i < numChoices; i++) {
+ if (choices[i].selected) {
+ if (multiselect) {
+ objI.arrayAdd(obj1.initInt(i));
+ }
+
+ if (choices[i].exportVal) {
+ objV.initString(choices[i].exportVal->copy());
+ } else if (choices[i].optionName) {
+ objV.initString(choices[i].optionName->copy());
+ }
+
+ break; // We've just written the selected option. No need to keep on scanning
}
}
} else {
- obj1.initArray(xref);
+ // More than one option is selected
+ objV.initArray(xref);
for (int i = 0; i < numChoices; i++) {
- if (choices[i].optionName && choices[i].selected) {
- Object obj2;
- obj2.initString(choices[i].optionName->copy());
- obj1.arrayAdd(&obj2);
+ if (choices[i].selected) {
+ if (multiselect) {
+ objI.arrayAdd(obj1.initInt(i));
+ }
+
+ if (choices[i].exportVal) {
+ objV.arrayAdd(obj1.initString(choices[i].exportVal->copy()));
+ } else if (choices[i].optionName) {
+ objV.arrayAdd(obj1.initString(choices[i].optionName->copy()));
+ }
}
}
}
}
- obj.getDict()->set("V", &obj1);
+ obj.getDict()->set("V", &objV);
+ obj.getDict()->set("I", &objI);
xref->setModifiedObject(&obj, ref);
- modified = gTrue;
+ updateChildrenAppearance();
}
void FormFieldChoice::unselectAll ()
@@ -1210,20 +1286,30 @@ void FormFieldChoice::unselectAll ()
}
void FormFieldChoice::deselectAll () {
+ delete editedChoice;
+ editedChoice = NULL;
+
unselectAll();
updateSelection();
}
void FormFieldChoice::toggle (int i)
{
+ delete editedChoice;
+ editedChoice = NULL;
+
choices[i].selected = !choices[i].selected;
updateSelection();
}
void FormFieldChoice::select (int i)
{
+ delete editedChoice;
+ editedChoice = NULL;
+
if (!multiselect)
unselectAll();
+
choices[i].selected = true;
updateSelection();
}
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Form.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Form.h
index 303936a226d..ef67748aa69 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Form.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Form.h
@@ -9,6 +9,7 @@
// Copyright 2007-2010, 2012 Albert Astals Cid <aacid@kde.org>
// Copyright 2010 Mark Riedesel <mark@klowner.com>
// Copyright 2011 Pino Toscano <pino@kde.org>
+// Copyright 2012 Fabio D'Urso <fabiodurso@hotmail.it>
//
//========================================================================
@@ -109,6 +110,8 @@ public:
void createWidgetAnnotation();
AnnotWidget *getWidgetAnnotation() const { return widget; }
+ virtual void updateWidgetAppearance() = 0;
+
#ifdef DEBUG_FORMS
void print(int indent = 0);
#endif
@@ -154,6 +157,7 @@ public:
char* getOnStr();
void setAppearanceState(const char *state);
+ void updateWidgetAppearance();
protected:
GooString *onStr;
@@ -175,6 +179,8 @@ public:
//except a UTF16BE string
void setContent(GooString* new_content);
+ void updateWidgetAppearance();
+
bool isMultiline () const;
bool isPassword () const;
bool isFileSelect () const;
@@ -214,6 +220,7 @@ public:
GooString* getEditChoice ();
+ void updateWidgetAppearance();
bool isSelected (int i);
bool isCombo () const;
@@ -234,6 +241,7 @@ protected:
class FormWidgetSignature: public FormWidget {
public:
FormWidgetSignature(PDFDoc *docA, Object *dict, unsigned num, Ref ref, FormField *p);
+ void updateWidgetAppearance();
protected:
FormFieldSignature *parent;
};
@@ -259,8 +267,6 @@ public:
void setReadOnly (bool b) { readOnly = b; }
bool isReadOnly () const { return readOnly; }
- GBool isModified () const;
-
GooString* getDefaultAppearance() const { return defaultAppearance; }
GBool hasTextQuadding() const { return hasQuadding; }
VariableTextQuadding getTextQuadding() const { return quadding; }
@@ -288,6 +294,7 @@ public:
protected:
void _createWidget (Object *obj, Ref aref);
void createChildren(std::set<int> *usedParents);
+ void updateChildrenAppearance();
FormFieldType type; // field type
Ref ref;
@@ -300,7 +307,6 @@ public:
int numChildren;
FormWidget **widgets;
bool readOnly;
- GBool modified;
GooString *partialName; // T field
GooString *alternateUiName; // TU field
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Function.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Function.cc
index d26aed81597..1dece2d5904 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Function.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Function.cc
@@ -18,6 +18,7 @@
// 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>
+// Copyright (C) 2012 Adam Reichold <adamreichold@myopera.com>
//
// 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
@@ -106,6 +107,16 @@ Function *Function::parse(Object *funcObj, std::set<int> *usedParents) {
return func;
}
+Function::Function(const Function *func) {
+ m = func->m;
+ n = func->n;
+
+ memcpy(domain, func->domain, funcMaxInputs * 2 * sizeof(double));
+ memcpy(range, func->range, funcMaxOutputs * 2 * sizeof(double));
+
+ hasRange = func->hasRange;
+}
+
GBool Function::init(Dict *dict) {
Object obj1, obj2;
int i;
@@ -419,13 +430,28 @@ SampledFunction::~SampledFunction() {
}
}
-SampledFunction::SampledFunction(SampledFunction *func) {
- memcpy(this, func, sizeof(SampledFunction));
+SampledFunction::SampledFunction(const SampledFunction *func) : Function(func) {
+ memcpy(sampleSize, func->sampleSize, funcMaxInputs * sizeof(int));
+
+ memcpy(encode, func->encode, funcMaxInputs * 2 * sizeof(double));
+ memcpy(decode, func->decode, funcMaxOutputs * 2 * sizeof(double));
+
+ memcpy(inputMul, func->inputMul, funcMaxInputs * sizeof(double));
+
+ nSamples = func->nSamples;
+
idxOffset = (int *)gmallocn(1 << m, sizeof(int));
memcpy(idxOffset, func->idxOffset, (1 << m) * (int)sizeof(int));
+
samples = (double *)gmallocn(nSamples, sizeof(double));
memcpy(samples, func->samples, nSamples * sizeof(double));
+
sBuf = (double *)gmallocn(1 << m, sizeof(double));
+
+ memcpy(cacheIn, func->cacheIn, funcMaxInputs * sizeof(double));
+ memcpy(cacheOut, func->cacheOut, funcMaxOutputs * sizeof(double));
+
+ ok = func->ok;
}
void SampledFunction::transform(double *in, double *out) {
@@ -616,8 +642,13 @@ ExponentialFunction::ExponentialFunction(Object *funcObj, Dict *dict) {
ExponentialFunction::~ExponentialFunction() {
}
-ExponentialFunction::ExponentialFunction(ExponentialFunction *func) {
- memcpy(this, func, sizeof(ExponentialFunction));
+ExponentialFunction::ExponentialFunction(const ExponentialFunction *func) : Function(func) {
+ memcpy(c0, func->c0, funcMaxOutputs * sizeof(double));
+ memcpy(c1, func->c1, funcMaxOutputs * sizeof(double));
+
+ e = func->e;
+ isLinear = func->isLinear;
+ ok = func->ok;
}
void ExponentialFunction::transform(double *in, double *out) {
@@ -761,21 +792,24 @@ StitchingFunction::StitchingFunction(Object *funcObj, Dict *dict, std::set<int>
obj1.free();
}
-StitchingFunction::StitchingFunction(StitchingFunction *func) {
- int i;
+StitchingFunction::StitchingFunction(const StitchingFunction *func) : Function(func) {
+ k = func->k;
- memcpy(this, func, sizeof(StitchingFunction));
funcs = (Function **)gmallocn(k, sizeof(Function *));
- for (i = 0; i < k; ++i) {
+ for (int i = 0; i < k; ++i) {
funcs[i] = func->funcs[i]->copy();
}
+
bounds = (double *)gmallocn(k + 1, sizeof(double));
memcpy(bounds, func->bounds, (k + 1) * sizeof(double));
+
encode = (double *)gmallocn(2 * k, sizeof(double));
memcpy(encode, func->encode, 2 * k * sizeof(double));
+
scale = (double *)gmallocn(k, sizeof(double));
memcpy(scale, func->scale, k * sizeof(double));
- ok = gTrue;
+
+ ok = func->ok;
}
StitchingFunction::~StitchingFunction() {
@@ -1184,11 +1218,18 @@ PostScriptFunction::PostScriptFunction(Object *funcObj, Dict *dict) {
return;
}
-PostScriptFunction::PostScriptFunction(PostScriptFunction *func) {
- memcpy(this, func, sizeof(PostScriptFunction));
+PostScriptFunction::PostScriptFunction(const PostScriptFunction *func) : Function(func) {
+ codeSize = func->codeSize;
+
code = (PSObject *)gmallocn(codeSize, sizeof(PSObject));
memcpy(code, func->code, codeSize * sizeof(PSObject));
+
codeString = func->codeString->copy();
+
+ memcpy(cacheIn, func->cacheIn, funcMaxInputs * sizeof(double));
+ memcpy(cacheOut, func->cacheOut, funcMaxOutputs * sizeof(double));
+
+ ok = func->ok;
}
PostScriptFunction::~PostScriptFunction() {
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Function.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Function.h
index 25df1337055..90e2a768ad0 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Function.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Function.h
@@ -17,6 +17,7 @@
// 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>
+// Copyright (C) 2012 Adam Reichold <adamreichold@myopera.com>
//
// 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
@@ -90,6 +91,8 @@ public:
protected:
static Function *parse(Object *funcObj, std::set<int> *usedParents);
+ Function(const Function *func);
+
int m, n; // size of input and output tuples
double // min and max values for function domain
domain[funcMaxInputs][2];
@@ -140,7 +143,7 @@ public:
private:
- SampledFunction(SampledFunction *func);
+ SampledFunction(const SampledFunction *func);
int // number of samples for each domain element
sampleSize[funcMaxInputs];
@@ -179,7 +182,7 @@ public:
private:
- ExponentialFunction(ExponentialFunction *func);
+ ExponentialFunction(const ExponentialFunction *func);
double c0[funcMaxOutputs];
double c1[funcMaxOutputs];
@@ -210,7 +213,7 @@ public:
private:
- StitchingFunction(StitchingFunction *func);
+ StitchingFunction(const StitchingFunction *func);
int k;
Function **funcs;
@@ -238,7 +241,7 @@ public:
private:
- PostScriptFunction(PostScriptFunction *func);
+ PostScriptFunction(const PostScriptFunction *func);
GBool parseCode(Stream *str, int *codePtr);
GooString *getToken(Stream *str);
void resizeCode(int newSize);
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Gfx.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Gfx.cc
index 4e663b438a2..5c9ed35c396 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Gfx.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Gfx.cc
@@ -36,6 +36,7 @@
// Copyright (C) 2011 Axel Strübing <axel.struebing@freenet.de>
// Copyright (C) 2012 Even Rouault <even.rouault@mines-paris.org>
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
+// Copyright (C) 2012 Lu Wang <coolwanglu@gmail.com>
//
// 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
@@ -567,7 +568,6 @@ Gfx::Gfx(PDFDoc *docA, OutputDev *outA, int pageNum, Dict *resDict,
baseMatrix[i] = state->getCTM()[i];
}
formDepth = 0;
- textClipBBoxEmpty = gTrue;
ocState = gTrue;
parser = NULL;
abortCheckCbk = abortCheckCbkA;
@@ -620,7 +620,6 @@ Gfx::Gfx(PDFDoc *docA, OutputDev *outA, Dict *resDict,
baseMatrix[i] = state->getCTM()[i];
}
formDepth = 0;
- textClipBBoxEmpty = gTrue;
ocState = gTrue;
parser = NULL;
abortCheckCbk = abortCheckCbkA;
@@ -3617,7 +3616,6 @@ void Gfx::opBeginText(Object args[], int numArgs) {
out->updateTextMat(state);
out->updateTextPos(state);
fontChanged = gTrue;
- textClipBBoxEmpty = gTrue;
}
void Gfx::opEndText(Object args[], int numArgs) {
@@ -4285,7 +4283,7 @@ void Gfx::doImage(Object *ref, Stream *str, GBool inlineImg) {
obj1.free();
// if drawing is disabled, skip over inline image data
- if (!ocState) {
+ if (!ocState || !out->needNonText()) {
str->reset();
n = height * ((width + 7) / 8);
for (i = 0; i < n; ++i) {
@@ -4544,7 +4542,7 @@ void Gfx::doImage(Object *ref, Stream *str, GBool inlineImg) {
}
// if drawing is disabled, skip over inline image data
- if (!ocState) {
+ if (!ocState || !out->needNonText()) {
str->reset();
n = height * ((width * colorMap->getNumPixelComps() *
colorMap->getBits() + 7) / 8);
@@ -4603,7 +4601,7 @@ GBool Gfx::checkTransparencyGroup(Dict *resDict) {
Object obj1, obj2;
GfxBlendMode mode;
- if (res->lookupGState(dict->getKey(i), &obj1)) {
+ if (res->lookupGState(dict->getKey(i), &obj1) && obj1.isDict()) {
if (!obj1.dictLookup("BM", &obj2)->isNull()) {
if (state->parseBlendMode(&obj2, &mode)) {
if (mode != gfxBlendNormal)
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Gfx.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Gfx.h
index 37022e0c62a..7c42f14d7ed 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Gfx.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Gfx.h
@@ -17,7 +17,7 @@
// Copyright (C) 2007 Iñigo Martínez <inigomartinez@gmail.com>
// Copyright (C) 2008 Brad Hards <bradh@kde.org>
// Copyright (C) 2008, 2010 Carlos Garcia Campos <carlosgc@gnome.org>
-// Copyright (C) 2009-2011 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2009-2012 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2009, 2010, 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2010 David Benjamin <davidben@mit.edu>
// Copyright (C) 2010 Christian Feuersänger <cfeuersaenger@googlemail.com>
@@ -219,9 +219,6 @@ private:
double baseMatrix[6]; // default matrix for most recent
// page/form/pattern
int formDepth;
- double textClipBBox[4]; // text clipping bounding box
- GBool textClipBBoxEmpty; // true if textClipBBox has not been
- // initialized yet
GBool ocState; // true if drawing is enabled, false if
// disabled
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/GfxFont.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/GfxFont.cc
index ea22af8272c..ea22af8272c 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/GfxFont.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/GfxFont.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/GfxFont.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/GfxFont.h
index f9806681102..f9806681102 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/GfxFont.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/GfxFont.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/GfxState.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/GfxState.cc
index ea1d78983ed..b8a888f2194 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/GfxState.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/GfxState.cc
@@ -313,7 +313,7 @@ GfxColorSpace *GfxColorSpace::parse(Object *csObj, Gfx *gfx, int recursion) {
} else if (obj1.isName("DeviceCMYK")) {
cs = new GfxDeviceCMYKColorSpace();
} else {
- error(errSyntaxWarning, -1, "Bad color space '{0:s}'", csObj->getName());
+ error(errSyntaxWarning, -1, "Bad color space dict'");
}
obj1.free();
} else {
@@ -2253,10 +2253,16 @@ GfxColorSpace *GfxSeparationColorSpace::parse(Array *arr, Gfx *gfx, int recursio
if (!(funcA = Function::parse(&obj1))) {
goto err4;
}
+ if (funcA->getInputSize() != 1) {
+ error(errSyntaxWarning, -1, "Bad SeparationColorSpace function");
+ goto err5;
+ }
obj1.free();
cs = new GfxSeparationColorSpace(nameA, altA, funcA);
return cs;
+ err5:
+ delete funcA;
err4:
delete altA;
err3:
@@ -3398,6 +3404,10 @@ void GfxUnivariateShading::getColor(double t, GfxColor *color) {
out[i] = 0;
}
for (i = 0; i < nFuncs; ++i) {
+ if (funcs[i]->getInputSize() != 1) {
+ error(errSyntaxWarning, -1, "Invalid shading function (input != 1)");
+ break;
+ }
funcs[i]->transform(&t, &out[i]);
}
}
@@ -3569,7 +3579,7 @@ GfxAxialShading *GfxAxialShading::parse(Dict *dict, Gfx *gfx) {
dict->lookup("Function", &obj1);
if (obj1.isArray()) {
nFuncsA = obj1.arrayGetLength();
- if (nFuncsA > gfxColorMaxComps) {
+ if (nFuncsA > gfxColorMaxComps || nFuncsA == 0) {
error(errSyntaxWarning, -1, "Invalid Function array in shading dictionary");
goto err1;
}
@@ -3594,9 +3604,19 @@ GfxAxialShading *GfxAxialShading::parse(Dict *dict, Gfx *gfx) {
extend0A = extend1A = gFalse;
if (dict->lookup("Extend", &obj1)->isArray() &&
obj1.arrayGetLength() == 2) {
- extend0A = obj1.arrayGet(0, &obj2)->getBool();
+ obj1.arrayGet(0, &obj2);
+ if (obj2.isBool()) {
+ extend0A = obj2.getBool();
+ } else {
+ error(errSyntaxWarning, -1, "Invalid axial shading extend (0)");
+ }
obj2.free();
- extend1A = obj1.arrayGet(1, &obj2)->getBool();
+ obj1.arrayGet(1, &obj2);
+ if (obj2.isBool()) {
+ extend1A = obj2.getBool();
+ } else {
+ error(errSyntaxWarning, -1, "Invalid axial shading extend (1)");
+ }
obj2.free();
}
obj1.free();
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/GfxState.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/GfxState.h
index cdbf3e84d7e..cdbf3e84d7e 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/GfxState.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/GfxState.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/GfxState_helpers.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/GfxState_helpers.h
index bc0024edd79..bc0024edd79 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/GfxState_helpers.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/GfxState_helpers.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/GlobalParams.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/GlobalParams.cc
index 148a0dd1233..6efdd0c0b9c 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/GlobalParams.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/GlobalParams.cc
@@ -25,7 +25,7 @@
// Copyright (C) 2009 Petr Gajdos <pgajdos@novell.com>
// Copyright (C) 2009, 2011, 2012 William Bader <williambader@hotmail.com>
// Copyright (C) 2009 Kovid Goyal <kovid@kovidgoyal.net>
-// Copyright (C) 2010 Hib Eris <hib@hiberis.nl>
+// Copyright (C) 2010, 2012 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2010 Patrick Spendrin <ps_ml@gmx.de>
// Copyright (C) 2010 Jakub Wilk <ubanus@users.sf.net>
// Copyright (C) 2011 Pino Toscano <pino@kde.org>
@@ -108,7 +108,7 @@
#include "NameToUnicodeTable.h"
#include "UnicodeMapTables.h"
-#include "UTF.h"
+#include "UTF8.h"
#ifdef ENABLE_PLUGINS
# ifdef _WIN32
@@ -166,7 +166,7 @@ DllMain (HINSTANCE hinstDLL,
}
}
-static char *
+static const char *
get_poppler_datadir (void)
{
static char retval[MAX_PATH];
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/GlobalParams.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/GlobalParams.h
index bc11684f268..bc11684f268 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/GlobalParams.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/GlobalParams.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/GlobalParamsWin.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/GlobalParamsWin.cc
index 527f08e1946..b76e1564c32 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/GlobalParamsWin.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/GlobalParamsWin.cc
@@ -1,7 +1,7 @@
/* Written by Krzysztof Kowalczyk (http://blog.kowalczyk.info)
but mostly based on xpdf code.
- // Copyright (C) 2010 Hib Eris <hib@hiberis.nl>
+ // Copyright (C) 2010, 2012 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2012 Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp>
// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
@@ -242,7 +242,7 @@ static bool FileExists(const char *path)
void SysFontList::scanWindowsFonts(GooString *winFontDir) {
OSVERSIONINFO version;
- char *path;
+ const char *path;
DWORD idx, valNameLen, dataLen, type;
HKEY regKey;
char valName[1024], data[1024];
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Hints.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Hints.cc
index af67182cbdd..af67182cbdd 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Hints.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Hints.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Hints.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Hints.h
index d598e796beb..d598e796beb 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Hints.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Hints.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/JArithmeticDecoder.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/JArithmeticDecoder.cc
index d23f7ea3887..d23f7ea3887 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/JArithmeticDecoder.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/JArithmeticDecoder.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/JArithmeticDecoder.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/JArithmeticDecoder.h
index 3c3e6fed0e5..3c3e6fed0e5 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/JArithmeticDecoder.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/JArithmeticDecoder.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/JBIG2Stream.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/JBIG2Stream.cc
index 78a205dccb9..afba8c6118d 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/JBIG2Stream.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/JBIG2Stream.cc
@@ -19,6 +19,7 @@
// Copyright (C) 2009 David Benjamin <davidben@mit.edu>
// Copyright (C) 2011 Edward Jiang <ejiang@google.com>
// Copyright (C) 2012 William Bader <williambader@hotmail.com>
+// Copyright (C) 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
//
// 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
@@ -585,6 +586,9 @@ int JBIG2MMRDecoder::getBlackCode() {
} else {
code = buf >> (bufLen - 12);
}
+ if (unlikely((code & 0xff) < 64)) {
+ break;
+ }
p = &blackTab2[(code & 0xff) - 64];
} else {
if (bufLen <= 6) {
@@ -713,8 +717,10 @@ JBIG2Bitmap::JBIG2Bitmap(Guint segNumA, int wA, int hA):
return;
}
// need to allocate one extra guard byte for use in combine()
- data = (Guchar *)gmalloc(h * line + 1);
- data[h * line] = 0;
+ data = (Guchar *)gmalloc_checkoverflow(h * line + 1);
+ if (data != NULL) {
+ data[h * line] = 0;
+ }
}
JBIG2Bitmap::JBIG2Bitmap(Guint segNumA, JBIG2Bitmap *bitmap):
@@ -1099,8 +1105,8 @@ public:
virtual ~JBIG2PatternDict();
virtual JBIG2SegmentType getType() { return jbig2SegPatternDict; }
Guint getSize() { return size; }
- void setBitmap(Guint idx, JBIG2Bitmap *bitmap) { bitmaps[idx] = bitmap; }
- JBIG2Bitmap *getBitmap(Guint idx) { return bitmaps[idx]; }
+ void setBitmap(Guint idx, JBIG2Bitmap *bitmap) { if (likely(idx < size)) bitmaps[idx] = bitmap; }
+ JBIG2Bitmap *getBitmap(Guint idx) { return (idx < size) ? bitmaps[idx] : NULL; }
private:
@@ -1111,8 +1117,13 @@ private:
JBIG2PatternDict::JBIG2PatternDict(Guint segNumA, Guint sizeA):
JBIG2Segment(segNumA)
{
- size = sizeA;
- bitmaps = (JBIG2Bitmap **)gmallocn(size, sizeof(JBIG2Bitmap *));
+ bitmaps = (JBIG2Bitmap **)gmallocn_checkoverflow(sizeA, sizeof(JBIG2Bitmap *));
+ if (bitmaps) {
+ size = sizeA;
+ } else {
+ size = 0;
+ error(errSyntaxError, -1, "JBIG2PatternDict: can't allocate bitmaps");
+ }
}
JBIG2PatternDict::~JBIG2PatternDict() {
@@ -1755,6 +1766,10 @@ GBool JBIG2Stream::readSymbolDictSeg(Guint segNum, Guint length,
goto syntaxError;
}
symHeight += dh;
+ if (unlikely(symHeight > 0x40000000)) {
+ error(errSyntaxError, curStr->getPos(), "Bad height value in JBIG2 symbol dictionary");
+ goto syntaxError;
+ }
symWidth = 0;
totalWidth = 0;
j = i;
@@ -1822,6 +1837,10 @@ GBool JBIG2Stream::readSymbolDictSeg(Guint segNum, Guint length,
goto syntaxError;
}
refBitmap = bitmaps[symID];
+ if (unlikely(refBitmap == NULL)) {
+ error(errSyntaxError, curStr->getPos(), "Invalid ref bitmap for symbol ID {0:d} in JBIG2 symbol dictionary", symID);
+ goto syntaxError;
+ }
bitmaps[numInputSyms + i] =
readGenericRefinementRegion(symWidth, symHeight,
sdrTemplate, gFalse,
@@ -1857,6 +1876,10 @@ GBool JBIG2Stream::readSymbolDictSeg(Guint segNum, Guint length,
collBitmap = new JBIG2Bitmap(0, totalWidth, symHeight);
bmSize = symHeight * ((totalWidth + 7) >> 3);
p = collBitmap->getDataPtr();
+ if (unlikely(p == NULL)) {
+ delete collBitmap;
+ goto syntaxError;
+ }
for (k = 0; k < (Guint)bmSize; ++k) {
if ((c = curStr->getChar()) == EOF) {
break;
@@ -2206,6 +2229,7 @@ void JBIG2Stream::readTextRegionSeg(Guint segNum, GBool imm,
symCodeTab[i++].prefixLen = 0;
}
} else if (j > 0x100) {
+ if (unlikely(i == 0)) ++i;
for (j -= 0x100; j && i < numSyms; --j) {
symCodeTab[i].prefixLen = symCodeTab[i-1].prefixLen;
++i;
@@ -2373,6 +2397,11 @@ JBIG2Bitmap *JBIG2Stream::readTextRegion(GBool huff, GBool refine,
if (symID >= (Guint)numSyms) {
error(errSyntaxError, curStr->getPos(), "Invalid symbol number in JBIG2 text region");
+ if (unlikely(numInstances - inst > 0x800)) {
+ // don't loop too often with damaged JBIg2 streams
+ delete bitmap;
+ return NULL;
+ }
} else {
// get the symbol bitmap
@@ -2424,8 +2453,24 @@ JBIG2Bitmap *JBIG2Stream::readTextRegion(GBool huff, GBool refine,
//~ something is wrong here - refCorner shouldn't degenerate into
//~ two cases
bw = symbolBitmap->getWidth() - 1;
+ if (unlikely(symbolBitmap->getHeight() == 0)) {
+ error(errSyntaxError, curStr->getPos(), "Invalid symbol bitmap height");
+ if (ri) {
+ delete symbolBitmap;
+ }
+ delete bitmap;
+ return NULL;
+ }
bh = symbolBitmap->getHeight() - 1;
if (transposed) {
+ if (unlikely(s > 2 * bitmap->getHeight())) {
+ error(errSyntaxError, curStr->getPos(), "Invalid JBIG2 combine");
+ if (ri) {
+ delete symbolBitmap;
+ }
+ delete bitmap;
+ return NULL;
+ }
switch (refCorner) {
case 0: // bottom left
bitmap->combine(symbolBitmap, tt, s, combOp);
@@ -2444,15 +2489,47 @@ JBIG2Bitmap *JBIG2Stream::readTextRegion(GBool huff, GBool refine,
} else {
switch (refCorner) {
case 0: // bottom left
+ if (unlikely(tt - (int) bh > 2 * bitmap->getHeight())) {
+ error(errSyntaxError, curStr->getPos(), "Invalid JBIG2 combine");
+ if (ri) {
+ delete symbolBitmap;
+ }
+ delete bitmap;
+ return NULL;
+ }
bitmap->combine(symbolBitmap, s, tt - bh, combOp);
break;
case 1: // top left
+ if (unlikely(tt > 2 * bitmap->getHeight())) {
+ error(errSyntaxError, curStr->getPos(), "Invalid JBIG2 combine");
+ if (ri) {
+ delete symbolBitmap;
+ }
+ delete bitmap;
+ return NULL;
+ }
bitmap->combine(symbolBitmap, s, tt, combOp);
break;
case 2: // bottom right
+ if (unlikely(tt - (int) bh > 2 * bitmap->getHeight())) {
+ error(errSyntaxError, curStr->getPos(), "Invalid JBIG2 combine");
+ if (ri) {
+ delete symbolBitmap;
+ }
+ delete bitmap;
+ return NULL;
+ }
bitmap->combine(symbolBitmap, s, tt - bh, combOp);
break;
case 3: // top right
+ if (unlikely(tt > 2 * bitmap->getHeight())) {
+ error(errSyntaxError, curStr->getPos(), "Invalid JBIG2 combine");
+ if (ri) {
+ delete symbolBitmap;
+ }
+ delete bitmap;
+ return NULL;
+ }
bitmap->combine(symbolBitmap, s, tt, combOp);
break;
}
@@ -2528,7 +2605,7 @@ void JBIG2Stream::readPatternDictSeg(Guint segNum, Guint length) {
// split up the bitmap
x = 0;
- for (i = 0; i <= grayMax; ++i) {
+ for (i = 0; i <= grayMax && i < patternDict->getSize(); ++i) {
patternDict->setBitmap(i, bitmap->getSlice(x, 0, patternW, patternH));
x += patternW;
}
@@ -2679,6 +2756,10 @@ void JBIG2Stream::readHalftoneRegionSeg(Guint segNum, GBool imm,
for (n = 0; n < gridW; ++n) {
if (!(enableSkip && skipBitmap->getPixel(n, m))) {
patternBitmap = patternDict->getBitmap(grayImg[i]);
+ if (unlikely(patternBitmap == NULL)) {
+ error(errSyntaxError, curStr->getPos(), "Bad pattern bitmap");
+ return;
+ }
bitmap->combine(patternBitmap, xx >> 8, yy >> 8, combOp);
}
xx += stepX;
@@ -3135,7 +3216,7 @@ JBIG2Bitmap *JBIG2Stream::readGenericBitmap(GBool mmr, int w, int h,
atx[2] >= -8 && atx[2] <= 8 &&
atx[3] >= -8 && atx[3] <= 8) {
// set up the adaptive context
- if (y + aty[0] >= 0) {
+ if (y + aty[0] >= 0 && y + aty[0] < bitmap->getHeight()) {
atP0 = bitmap->getDataPtr() + (y + aty[0]) * bitmap->getLineSize();
atBuf0 = *atP0++ << 8;
} else {
@@ -3143,7 +3224,7 @@ JBIG2Bitmap *JBIG2Stream::readGenericBitmap(GBool mmr, int w, int h,
atBuf0 = 0;
}
atShift0 = 15 - atx[0];
- if (y + aty[1] >= 0) {
+ if (y + aty[1] >= 0 && y + aty[1] < bitmap->getHeight()) {
atP1 = bitmap->getDataPtr() + (y + aty[1]) * bitmap->getLineSize();
atBuf1 = *atP1++ << 8;
} else {
@@ -3151,7 +3232,7 @@ JBIG2Bitmap *JBIG2Stream::readGenericBitmap(GBool mmr, int w, int h,
atBuf1 = 0;
}
atShift1 = 15 - atx[1];
- if (y + aty[2] >= 0) {
+ if (y + aty[2] >= 0 && y + aty[2] < bitmap->getHeight()) {
atP2 = bitmap->getDataPtr() + (y + aty[2]) * bitmap->getLineSize();
atBuf2 = *atP2++ << 8;
} else {
@@ -3159,7 +3240,7 @@ JBIG2Bitmap *JBIG2Stream::readGenericBitmap(GBool mmr, int w, int h,
atBuf2 = 0;
}
atShift2 = 15 - atx[2];
- if (y + aty[3] >= 0) {
+ if (y + aty[3] >= 0 && y + aty[3] < bitmap->getHeight()) {
atP3 = bitmap->getDataPtr() + (y + aty[3]) * bitmap->getLineSize();
atBuf3 = *atP3++ << 8;
} else {
@@ -3678,7 +3759,7 @@ void JBIG2Stream::readGenericRefinementRegionSeg(Guint segNum, GBool imm,
refBitmap, 0, 0, atx, aty);
// combine the region bitmap into the page bitmap
- if (imm) {
+ if (imm && bitmap) {
pageBitmap->combine(bitmap, x, y, extCombOp);
delete bitmap;
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/JBIG2Stream.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/JBIG2Stream.h
index c518aa5e6ca..c518aa5e6ca 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/JBIG2Stream.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/JBIG2Stream.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/JPEG2000Stream.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/JPEG2000Stream.cc
index e2fd8086b53..e2fd8086b53 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/JPEG2000Stream.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/JPEG2000Stream.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/JPEG2000Stream.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/JPEG2000Stream.h
index 5aed32d4594..5aed32d4594 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/JPEG2000Stream.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/JPEG2000Stream.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/JPXStream.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/JPXStream.cc
index 2cf616d6ae1..1476e6a0cfe 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/JPXStream.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/JPXStream.cc
@@ -14,6 +14,8 @@
// under GPL version 2 or later
//
// Copyright (C) 2008, 2012 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
+// Copyright (C) 2012 Even Rouault <even.rouault@mines-paris.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
@@ -257,6 +259,10 @@ JPXStream::JPXStream(Stream *strA):
bitBufLen = 0;
bitBufSkip = gFalse;
byteCount = 0;
+
+ curX = curY = 0;
+ curComp = 0;
+ readBufLen = 0;
}
JPXStream::~JPXStream() {
@@ -410,6 +416,10 @@ void JPXStream::fillReadBuf() {
tileIdx = ((curY - img.yTileOffset) / img.yTileSize) * img.nXTiles
+ (curX - img.xTileOffset) / img.xTileSize;
#if 1 //~ ignore the palette, assume the PDF ColorSpace object is valid
+ if (img.tiles == NULL || tileIdx >= img.nXTiles * img.nYTiles || img.tiles[tileIdx].tileComps == NULL) {
+ error(errSyntaxError, getPos(), "Unexpected tileIdx in fillReadBuf in JPX stream");
+ return;
+ }
tileComp = &img.tiles[tileIdx].tileComps[curComp];
#else
tileComp = &img.tiles[tileIdx].tileComps[havePalette ? 0 : curComp];
@@ -420,6 +430,10 @@ void JPXStream::fillReadBuf() {
error(errSyntaxError, getPos(), "Unexpected ty in fillReadBuf in JPX stream");
return;
}
+ if (unlikely(tx >= (tileComp->x1 - tileComp->x0))) {
+ error(errSyntaxError, getPos(), "Unexpected tx in fillReadBuf in JPX stream");
+ return;
+ }
pix = (int)tileComp->data[ty * (tileComp->x1 - tileComp->x0) + tx];
pixBits = tileComp->prec;
#if 1 //~ ignore the palette, assume the PDF ColorSpace object is valid
@@ -516,13 +530,19 @@ void JPXStream::getImageParams(int *bitsPerComponent,
csPrec = csPrec1;
haveCSMode = gTrue;
}
- for (i = 0; i < dataLen - 7; ++i) {
- bufStr->getChar();
+ if( dataLen >= 7 ) {
+ for (i = 0; i < dataLen - 7; ++i) {
+ if (bufStr->getChar() == EOF)
+ break;
+ }
}
}
} else {
- for (i = 0; i < dataLen - 3; ++i) {
- bufStr->getChar();
+ if( dataLen >= 3 ) {
+ for (i = 0; i < dataLen - 3; ++i) {
+ if (bufStr->getChar() == EOF)
+ break;
+ }
}
}
}
@@ -535,7 +555,10 @@ void JPXStream::getImageParams(int *bitsPerComponent,
} else {
cover(4);
for (i = 0; i < dataLen; ++i) {
- bufStr->getChar();
+ if (unlikely(bufStr->getChar() == EOF)) {
+ error(errSyntaxError, getPos(), "Unexpected EOF in getImageParams in JPX stream");
+ break;
+ }
}
}
}
@@ -592,6 +615,13 @@ GBool JPXStream::readBoxes() {
haveImgHdr = gFalse;
+ // initialize in case there is a parse error
+ img.xSize = img.ySize = 0;
+ img.xOffset = img.yOffset = 0;
+ img.xTileSize = img.yTileSize = 0;
+ img.xTileOffset = img.yTileOffset = 0;
+ img.nComps = 0;
+
// check for a naked JPEG 2000 codestream (without the JP2/JPX
// wrapper) -- this appears to be a violation of the PDF spec, but
// Acrobat allows it
@@ -895,7 +925,7 @@ GBool JPXStream::readCodestream(Guint len) {
JPXTileComp *tileComp;
int segType;
GBool haveSIZ, haveCOD, haveQCD, haveSOT;
- Guint precinctSize, style;
+ Guint precinctSize, style, nDecompLevels;
Guint segLen, capabilities, comp, i, j, r;
//----- main header
@@ -951,7 +981,7 @@ GBool JPXStream::readCodestream(Guint len) {
/ img.yTileSize;
// check for overflow before allocating memory
if (img.nXTiles <= 0 || img.nYTiles <= 0 ||
- img.nXTiles >= INT_MAX / img.nYTiles) {
+ img.nXTiles >= 65535 / img.nYTiles) {
error(errSyntaxError, getPos(),
"Bad tile count in JPX SIZ marker segment");
return gFalse;
@@ -998,11 +1028,15 @@ GBool JPXStream::readCodestream(Guint len) {
"JPX COD marker segment before SIZ segment");
return gFalse;
}
+ if (img.tiles == NULL || img.nXTiles * img.nYTiles == 0 || img.tiles[0].tileComps == NULL) {
+ error(errSyntaxError, getPos(), "Error in JPX COD marker segment");
+ return gFalse;
+ }
if (!readUByte(&img.tiles[0].tileComps[0].style) ||
!readUByte(&img.tiles[0].progOrder) ||
!readUWord(&img.tiles[0].nLayers) ||
!readUByte(&img.tiles[0].multiComp) ||
- !readUByte(&img.tiles[0].tileComps[0].nDecompLevels) ||
+ !readUByte(&nDecompLevels) ||
!readUByte(&img.tiles[0].tileComps[0].codeBlockW) ||
!readUByte(&img.tiles[0].tileComps[0].codeBlockH) ||
!readUByte(&img.tiles[0].tileComps[0].codeBlockStyle) ||
@@ -1010,12 +1044,13 @@ GBool JPXStream::readCodestream(Guint len) {
error(errSyntaxError, getPos(), "Error in JPX COD marker segment");
return gFalse;
}
- if (img.tiles[0].tileComps[0].nDecompLevels > 32 ||
+ if (nDecompLevels > 32 ||
img.tiles[0].tileComps[0].codeBlockW > 8 ||
img.tiles[0].tileComps[0].codeBlockH > 8) {
error(errSyntaxError, getPos(), "Error in JPX COD marker segment");
return gFalse;
}
+ img.tiles[0].tileComps[0].nDecompLevels = nDecompLevels;
img.tiles[0].tileComps[0].codeBlockW += 2;
img.tiles[0].tileComps[0].codeBlockH += 2;
for (i = 0; i < img.nXTiles * img.nYTiles; ++i) {
@@ -1040,9 +1075,13 @@ GBool JPXStream::readCodestream(Guint len) {
img.tiles[0].tileComps[0].transform;
}
img.tiles[i].tileComps[comp].resLevels =
- (JPXResLevel *)gmallocn(
+ (JPXResLevel *)gmallocn_checkoverflow(
(img.tiles[i].tileComps[comp].nDecompLevels + 1),
sizeof(JPXResLevel));
+ if (img.tiles[i].tileComps[comp].resLevels == NULL) {
+ error(errSyntaxError, getPos(), "Error in JPX COD marker segment");
+ return gFalse;
+ }
for (r = 0; r <= img.tiles[i].tileComps[comp].nDecompLevels; ++r) {
img.tiles[i].tileComps[comp].resLevels[r].precincts = NULL;
}
@@ -1089,7 +1128,7 @@ GBool JPXStream::readCodestream(Guint len) {
(img.nComps <= 256 && !readUByte(&comp)) ||
comp >= img.nComps ||
!readUByte(&style) ||
- !readUByte(&img.tiles[0].tileComps[comp].nDecompLevels) ||
+ !readUByte(&nDecompLevels) ||
!readUByte(&img.tiles[0].tileComps[comp].codeBlockW) ||
!readUByte(&img.tiles[0].tileComps[comp].codeBlockH) ||
!readUByte(&img.tiles[0].tileComps[comp].codeBlockStyle) ||
@@ -1097,12 +1136,13 @@ GBool JPXStream::readCodestream(Guint len) {
error(errSyntaxError, getPos(), "Error in JPX COC marker segment");
return gFalse;
}
- if (img.tiles[0].tileComps[comp].nDecompLevels > 32 ||
+ if (nDecompLevels > 32 ||
img.tiles[0].tileComps[comp].codeBlockW > 8 ||
img.tiles[0].tileComps[comp].codeBlockH > 8) {
error(errSyntaxError, getPos(), "Error in JPX COC marker segment");
return gFalse;
}
+ img.tiles[0].tileComps[comp].nDecompLevels = nDecompLevels;
img.tiles[0].tileComps[comp].style =
(img.tiles[0].tileComps[comp].style & ~1) | (style & 1);
img.tiles[0].tileComps[comp].codeBlockW += 2;
@@ -1494,7 +1534,7 @@ GBool JPXStream::readTilePart() {
GBool haveSOD;
Guint tileIdx, tilePartLen, tilePartIdx, nTileParts;
GBool tilePartToEOC;
- Guint precinctSize, style;
+ Guint precinctSize, style, nDecompLevels;
Guint n, nSBs, nx, ny, sbx0, sby0, comp, segLen;
Guint i, j, k, cbX, cbY, r, pre, sb, cbi, cbj;
int segType, level;
@@ -1508,8 +1548,8 @@ GBool JPXStream::readTilePart() {
return gFalse;
}
- if ((tilePartIdx > 0 && !img.tiles[tileIdx].init) ||
- tileIdx >= img.nXTiles * img.nYTiles) {
+ if (tileIdx >= img.nXTiles * img.nYTiles ||
+ (tilePartIdx > 0 && !img.tiles[tileIdx].init)) {
error(errSyntaxError, getPos(), "Weird tile index in JPX stream");
return gFalse;
}
@@ -1531,7 +1571,7 @@ GBool JPXStream::readTilePart() {
!readUByte(&img.tiles[tileIdx].progOrder) ||
!readUWord(&img.tiles[tileIdx].nLayers) ||
!readUByte(&img.tiles[tileIdx].multiComp) ||
- !readUByte(&img.tiles[tileIdx].tileComps[0].nDecompLevels) ||
+ !readUByte(&nDecompLevels) ||
!readUByte(&img.tiles[tileIdx].tileComps[0].codeBlockW) ||
!readUByte(&img.tiles[tileIdx].tileComps[0].codeBlockH) ||
!readUByte(&img.tiles[tileIdx].tileComps[0].codeBlockStyle) ||
@@ -1539,12 +1579,13 @@ GBool JPXStream::readTilePart() {
error(errSyntaxError, getPos(), "Error in JPX COD marker segment");
return gFalse;
}
- if (img.tiles[tileIdx].tileComps[0].nDecompLevels > 32 ||
+ if (nDecompLevels > 32 ||
img.tiles[tileIdx].tileComps[0].codeBlockW > 8 ||
img.tiles[tileIdx].tileComps[0].codeBlockH > 8) {
error(errSyntaxError, getPos(), "Error in JPX COD marker segment");
return gFalse;
}
+ img.tiles[tileIdx].tileComps[0].nDecompLevels = nDecompLevels;
img.tiles[tileIdx].tileComps[0].codeBlockW += 2;
img.tiles[tileIdx].tileComps[0].codeBlockH += 2;
for (comp = 0; comp < img.nComps; ++comp) {
@@ -1605,7 +1646,7 @@ GBool JPXStream::readTilePart() {
(img.nComps <= 256 && !readUByte(&comp)) ||
comp >= img.nComps ||
!readUByte(&style) ||
- !readUByte(&img.tiles[tileIdx].tileComps[comp].nDecompLevels) ||
+ !readUByte(&nDecompLevels) ||
!readUByte(&img.tiles[tileIdx].tileComps[comp].codeBlockW) ||
!readUByte(&img.tiles[tileIdx].tileComps[comp].codeBlockH) ||
!readUByte(&img.tiles[tileIdx].tileComps[comp].codeBlockStyle) ||
@@ -1613,12 +1654,13 @@ GBool JPXStream::readTilePart() {
error(errSyntaxError, getPos(), "Error in JPX COC marker segment");
return gFalse;
}
- if (img.tiles[tileIdx].tileComps[comp].nDecompLevels > 32 ||
+ if (nDecompLevels > 32 ||
img.tiles[tileIdx].tileComps[comp].codeBlockW > 8 ||
img.tiles[tileIdx].tileComps[comp].codeBlockH > 8) {
error(errSyntaxError, getPos(), "Error in JPX COD marker segment");
return gFalse;
}
+ img.tiles[tileIdx].tileComps[comp].nDecompLevels = nDecompLevels;
img.tiles[tileIdx].tileComps[comp].style =
(img.tiles[tileIdx].tileComps[comp].style & ~1) | (style & 1);
img.tiles[tileIdx].tileComps[comp].codeBlockW += 2;
@@ -2350,6 +2392,12 @@ GBool JPXStream::readTilePartData(Guint tileIdx,
tile->res = 0;
}
}
+ tileComp = &tile->tileComps[tile->comp];
+ if (tile->res >= tileComp->nDecompLevels + 1) {
+ if (++tile->comp == img.nComps) {
+ return gTrue;
+ }
+ }
}
break;
case 3: // precinct, component, resolution level, layer
@@ -2840,7 +2888,13 @@ void JPXStream::inverseTransformLevel(JPXTileComp *tileComp,
// i-quant parameters
if (qStyle == 0) {
cover(100);
- eps = (tileComp->quantSteps[3*r - 2 + sb] >> 3) & 0x1f;
+ const Guint stepIndex = 3*r - 2 + sb;
+ if (unlikely(stepIndex >= tileComp->nQuantSteps)) {
+ error(errSyntaxError, getPos(),
+ "Wrong index for quantSteps in inverseTransformLevel in JPX stream");
+ break;
+ }
+ eps = (tileComp->quantSteps[stepIndex] >> 3) & 0x1f;
shift = guard + eps - 1;
mu = 0; // make gcc happy
} else {
@@ -2958,6 +3012,16 @@ void JPXStream::inverseTransformLevel(JPXTileComp *tileComp,
*bufPtr = dataPtr[x];
}
}
+ if (tileComp->x1 - tileComp->x0 > tileComp->y1 - tileComp->y0) {
+ x = tileComp->x1 - tileComp->x0 + 5;
+ } else {
+ x = tileComp->y1 - tileComp->y0 + 5;
+ }
+ if (offset + nx2 > x || nx2 == 0) {
+ error(errSyntaxError, getPos(),
+ "Invalid call of inverseTransform1D in inverseTransformLevel in JPX stream");
+ return;
+ }
inverseTransform1D(tileComp, tileComp->buf, offset, nx2);
for (x = 0, bufPtr = tileComp->buf + offset; x < nx2; ++x, ++bufPtr) {
dataPtr[x] = *bufPtr;
@@ -2998,6 +3062,16 @@ void JPXStream::inverseTransformLevel(JPXTileComp *tileComp,
*bufPtr = dataPtr[y * tileComp->w];
}
}
+ if (tileComp->x1 - tileComp->x0 > tileComp->y1 - tileComp->y0) {
+ y = tileComp->x1 - tileComp->x0 + 5;
+ } else {
+ y = tileComp->y1 - tileComp->y0 + 5;
+ }
+ if (offset + ny2 > y || ny2 == 0) {
+ error(errSyntaxError, getPos(),
+ "Invalid call of inverseTransform1D in inverseTransformLevel in JPX stream");
+ return;
+ }
inverseTransform1D(tileComp, tileComp->buf, offset, ny2);
for (y = 0, bufPtr = tileComp->buf + offset; y < ny2; ++y, ++bufPtr) {
dataPtr[y * tileComp->w] = *bufPtr;
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/JPXStream.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/JPXStream.h
index 30855431fb4..30855431fb4 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/JPXStream.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/JPXStream.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Lexer.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Lexer.cc
index d24c01fcd18..d24c01fcd18 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Lexer.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Lexer.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Lexer.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Lexer.h
index 284479dfbfa..284479dfbfa 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Lexer.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Lexer.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Linearization.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Linearization.cc
index 33331d1af37..33331d1af37 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Linearization.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Linearization.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Linearization.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Linearization.h
index 6728a750aba..6728a750aba 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Linearization.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Linearization.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Link.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Link.cc
index b90b1c13c2a..b5b2bd3aef2 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Link.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Link.cc
@@ -19,6 +19,7 @@
// Copyright (C) 2008-2010, 2012 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2009 Kovid Goyal <kovid@kovidgoyal.net>
// Copyright (C) 2009 Ilya Gorenbein <igorenbein@finjan.com>
+// Copyright (C) 2012 Tobias Koening <tobias.koenig@kdab.com>
//
// 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
@@ -700,9 +701,10 @@ LinkSound::~LinkSound() {
//------------------------------------------------------------------------
LinkRendition::LinkRendition(Object *obj) {
- operation = -1;
+ operation = NoRendition;
media = NULL;
js = NULL;
+ int operationCode = -1;
if (obj->isDict()) {
Object tmp;
@@ -721,25 +723,43 @@ LinkRendition::LinkRendition(Object *obj) {
tmp.free();
if (obj->dictLookup("OP", &tmp)->isInt()) {
- operation = tmp.getInt();
- if (!js && (operation < 0 || operation > 4)) {
- error(errSyntaxWarning, -1, "Invalid Rendition Action: unrecognized operation valued: {0:d}", operation);
+ operationCode = tmp.getInt();
+ if (!js && (operationCode < 0 || operationCode > 4)) {
+ error(errSyntaxWarning, -1, "Invalid Rendition Action: unrecognized operation valued: {0:d}", operationCode);
} else {
Object obj1;
// retrieve rendition object
if (obj->dictLookup("R", &renditionObj)->isDict()) {
media = new MediaRendition(&renditionObj);
- } else if (operation == 0 || operation == 4) {
- error(errSyntaxWarning, -1, "Invalid Rendition Action: no R field with op = {0:d}", operation);
+ } else if (operationCode == 0 || operationCode == 4) {
+ error(errSyntaxWarning, -1, "Invalid Rendition Action: no R field with op = {0:d}", operationCode);
renditionObj.free();
}
if (!obj->dictLookupNF("AN", &screenRef)->isRef() && operation >= 0 && operation <= 4) {
- error(errSyntaxWarning, -1, "Invalid Rendition Action: no AN field with op = {0:d}", operation);
+ error(errSyntaxWarning, -1, "Invalid Rendition Action: no AN field with op = {0:d}", operationCode);
screenRef.free();
}
}
+
+ switch (operationCode) {
+ case 0:
+ operation = PlayRendition;
+ break;
+ case 1:
+ operation = StopRendition;
+ break;
+ case 2:
+ operation = PauseRendition;
+ break;
+ case 3:
+ operation = ResumeRendition;
+ break;
+ case 4:
+ operation = PlayRendition;
+ break;
+ }
} else if (!js) {
error(errSyntaxWarning, -1, "Invalid Rendition action: no OP or JS field defined");
}
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Link.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Link.h
index 8e2df24f40a..fc2abe60052 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Link.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Link.h
@@ -16,6 +16,7 @@
// Copyright (C) 2006, 2008 Pino Toscano <pino@kde.org>
// Copyright (C) 2008 Hugo Mercier <hmercier31@gmail.com>
// Copyright (C) 2010, 2011 Carlos Garcia Campos <carlosgc@gnome.org>
+// Copyright (C) 2012 Tobias Koening <tobias.koenig@kdab.com>
//
// 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
@@ -51,7 +52,7 @@ enum LinkActionKind {
actionURI, // URI
actionNamed, // named action
actionMovie, // movie action
- actionRendition,
+ actionRendition, // rendition action
actionSound, // sound action
actionJavaScript, // JavaScript action
actionOCGState, // Set-OCG-State action
@@ -319,6 +320,16 @@ private:
class LinkRendition: public LinkAction {
public:
+ /**
+ * Describes the possible rendition operations.
+ */
+ enum RenditionOperation {
+ NoRendition,
+ PlayRendition,
+ StopRendition,
+ PauseRendition,
+ ResumeRendition
+ };
LinkRendition(Object *Obj);
@@ -334,7 +345,7 @@ public:
GBool hasScreenAnnot() { return screenRef.isRef(); }
Ref getScreenAnnot() { return screenRef.getRef(); }
- int getOperation() { return operation; }
+ RenditionOperation getOperation() { return operation; }
MediaRendition* getMedia() { return media; }
@@ -344,7 +355,7 @@ private:
Object screenRef;
Object renditionObj;
- int operation;
+ RenditionOperation operation;
MediaRendition* media;
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/LocalPDFDocBuilder.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/LocalPDFDocBuilder.cc
index 6f6f1fca9f7..6f6f1fca9f7 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/LocalPDFDocBuilder.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/LocalPDFDocBuilder.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/LocalPDFDocBuilder.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/LocalPDFDocBuilder.h
index c2b1d903885..c2b1d903885 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/LocalPDFDocBuilder.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/LocalPDFDocBuilder.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Makefile.am b/Build/source/libs/poppler/poppler-0.22.0/poppler/Makefile.am
index 3a5f4ca44aa..c25ab03b9cd 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Makefile.am
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Makefile.am
@@ -177,7 +177,7 @@ libpoppler_la_LIBADD = \
$(PTHREAD_LIBS) \
$(win32_libs)
-libpoppler_la_LDFLAGS = -version-info 29:0:0 @create_shared_lib@ @auto_import_flags@
+libpoppler_la_LDFLAGS = -version-info 34:0:0 @create_shared_lib@ @auto_import_flags@
if ENABLE_XPDF_HEADERS
@@ -252,6 +252,7 @@ poppler_include_HEADERS = \
TextOutputDev.h \
SecurityHandler.h \
UTF.h \
+ UTF8.h \
XpdfPluginAPI.h \
Sound.h
nodist_poppler_include_HEADERS = poppler-config.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Movie.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Movie.cc
index f68b6adcd4d..f68b6adcd4d 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Movie.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Movie.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Movie.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Movie.h
index 1a162659179..1a162659179 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Movie.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Movie.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/NameToCharCode.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/NameToCharCode.cc
index 5448dc4ce10..5448dc4ce10 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/NameToCharCode.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/NameToCharCode.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/NameToCharCode.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/NameToCharCode.h
index 5b1092bb96b..5b1092bb96b 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/NameToCharCode.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/NameToCharCode.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/NameToUnicodeTable.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/NameToUnicodeTable.h
index 74645ab2878..74645ab2878 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/NameToUnicodeTable.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/NameToUnicodeTable.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Object.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Object.cc
index 1963b7f88d4..1963b7f88d4 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Object.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Object.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Object.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Object.h
index c885d739fb3..c885d739fb3 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Object.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Object.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/OptionalContent.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/OptionalContent.cc
index e0d49bc9a5f..e0d49bc9a5f 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/OptionalContent.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/OptionalContent.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/OptionalContent.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/OptionalContent.h
index 02c9a471e33..02c9a471e33 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/OptionalContent.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/OptionalContent.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Outline.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Outline.cc
index bd4e6d01b6d..bd4e6d01b6d 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Outline.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Outline.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Outline.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Outline.h
index 90190e69280..90190e69280 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Outline.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Outline.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/OutputDev.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/OutputDev.cc
index 54580d0c106..54580d0c106 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/OutputDev.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/OutputDev.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/OutputDev.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/OutputDev.h
index 15af90ab4cb..f540d57348b 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/OutputDev.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/OutputDev.h
@@ -22,6 +22,7 @@
// Copyright (C) 2009, 2012 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2010 Christian Feuersänger <cfeuersaenger@googlemail.com>
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
+// Copyright (C) 2012 William Bader <williambader@hotmail.com>
//
// 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
@@ -111,6 +112,10 @@ public:
// Does this device require incCharCount to be called for text on
// non-shown layers?
virtual GBool needCharCount() { return gFalse; }
+
+ // Does this device need to clip pages to the crop box even when the
+ // box is the crop box?
+ virtual GBool needClipToCropBox() { return gFalse; }
//----- initialization and control
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDoc.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDoc.cc
index f52d498fc3f..0d78588cf53 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDoc.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDoc.cc
@@ -21,7 +21,7 @@
// Copyright (C) 2009 Eric Toombs <ewtoombs@uwaterloo.ca>
// Copyright (C) 2009 Kovid Goyal <kovid@kovidgoyal.net>
// Copyright (C) 2009, 2011 Axel Struebing <axel.struebing@freenet.de>
-// Copyright (C) 2010, 2011 Hib Eris <hib@hiberis.nl>
+// Copyright (C) 2010-2012 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2010 Jakub Wilk <ubanus@users.sf.net>
// Copyright (C) 2010 Ilya Gorenbein <igorenbein@finjan.com>
// Copyright (C) 2010 Srinivas Adicherla <srinivas.adicherla@geodesic.com>
@@ -153,7 +153,7 @@ PDFDoc::PDFDoc(GooString *fileNameA, GooString *ownerPassword,
// Keep a copy of the errno returned by fopen so that it can be
// referred to later.
fopenErrno = errno;
- error(errIO, -1, "Couldn't open file '{0:t}': {0:s}.", fileName, strerror(errno));
+ error(errIO, -1, "Couldn't open file '{0:t}': {1:s}.", fileName, strerror(errno));
errCode = errOpenFile;
return;
}
@@ -189,7 +189,7 @@ PDFDoc::PDFDoc(wchar_t *fileNameA, int fileNameLen, GooString *ownerPassword,
// try to open file
// NB: _wfopen is only available in NT
struct _stat buf;
- int size;
+ int size = 0;
version.dwOSVersionInfoSize = sizeof(version);
GetVersionEx(&version);
if (version.dwPlatformId == VER_PLATFORM_WIN32_NT) {
@@ -203,7 +203,7 @@ PDFDoc::PDFDoc(wchar_t *fileNameA, int fileNameLen, GooString *ownerPassword,
}
file = fopen(fileName->getCString(), "rb");
}
- if (!file) {
+ if (!size || !file) {
error(errIO, -1, "Couldn't open file '{0:t}'", fileName);
errCode = errOpenFile;
return;
@@ -610,15 +610,15 @@ int PDFDoc::savePageAs(GooString *name, int pageNo)
OutStream *outStr;
XRef *yRef, *countRef;
int rootNum = getXRef()->getNumObjects() + 1;
-
- // Make sure that special flags are set, because we are going to read
- // all objects, including Unencrypted ones.
- xref->scanSpecialFlags();
-
- Guchar *fileKey;
- CryptAlgorithm encAlgorithm;
- int keyLength;
- xref->getEncryptionParameters(&fileKey, &encAlgorithm, &keyLength);
+
+ // Make sure that special flags are set, because we are going to read
+ // all objects, including Unencrypted ones.
+ xref->scanSpecialFlags();
+
+ Guchar *fileKey;
+ CryptAlgorithm encAlgorithm;
+ int keyLength;
+ xref->getEncryptionParameters(&fileKey, &encAlgorithm, &keyLength);
if (pageNo < 1 || pageNo > getNumPages()) {
error(errInternal, -1, "Illegal pageNo: {0:d}({1:d})", pageNo, getNumPages() );
@@ -1526,13 +1526,13 @@ void PDFDoc::markPageObjects(Dict *pageDict, XRef *xRef, XRef *countRef, Guint n
}
}
-Guint PDFDoc::writePageObjects(OutStream *outStr, XRef *xRef, Guint numOffset)
+Guint PDFDoc::writePageObjects(OutStream *outStr, XRef *xRef, Guint numOffset, GBool combine)
{
Guint objectsCount = 0; //count the number of objects in the XRef(s)
- Guchar *fileKey;
- CryptAlgorithm encAlgorithm;
- int keyLength;
- xRef->getEncryptionParameters(&fileKey, &encAlgorithm, &keyLength);
+ Guchar *fileKey;
+ CryptAlgorithm encAlgorithm;
+ int keyLength;
+ xRef->getEncryptionParameters(&fileKey, &encAlgorithm, &keyLength);
for (int n = numOffset; n < xRef->getNumObjects(); n++) {
if (xRef->getEntry(n)->type != xrefEntryFree) {
@@ -1543,11 +1543,13 @@ Guint PDFDoc::writePageObjects(OutStream *outStr, XRef *xRef, Guint numOffset)
objectsCount++;
getXRef()->fetch(ref.num - numOffset, ref.gen, &obj);
Guint offset = writeObjectHeader(&ref, outStr);
- if (xRef->getEntry(n)->getFlag(XRefEntry::Unencrypted)) {
- writeObject(&obj, outStr, NULL, cryptRC4, 0, 0, 0);
- } else {
- writeObject(&obj, outStr, fileKey, encAlgorithm, keyLength, ref.num, ref.gen);
- }
+ if (combine) {
+ writeObject(&obj, outStr, getXRef(), numOffset, NULL, cryptRC4, 0, 0, 0);
+ } else if (xRef->getEntry(n)->getFlag(XRefEntry::Unencrypted)) {
+ writeObject(&obj, outStr, NULL, cryptRC4, 0, 0, 0);
+ } else {
+ writeObject(&obj, outStr, fileKey, encAlgorithm, keyLength, ref.num, ref.gen);
+ }
writeObjectFooter(outStr);
xRef->add(ref.num, ref.gen, offset, gTrue);
obj.free();
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDoc.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDoc.h
index 328b0c7f13a..4562346506d 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDoc.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDoc.h
@@ -22,7 +22,7 @@
// Copyright (C) 2009 Kovid Goyal <kovid@kovidgoyal.net>
// Copyright (C) 2010 Hib Eris <hib@hiberis.nl>
// Copyright (C) 2010 Srinivas Adicherla <srinivas.adicherla@geodesic.com>
-// Copyright (C) 2011 Thomas Freitag <Thomas.Freitag@alfa.de>
+// Copyright (C) 2011, 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
//
// To see a description of the changes please see the Changelog file that
@@ -43,10 +43,10 @@
#include "Page.h"
#include "Annot.h"
#include "OptionalContent.h"
+#include "Stream.h"
class GooString;
class BaseStream;
-enum CryptAlgorithm;
class OutputDev;
class Links;
class LinkAction;
@@ -243,7 +243,7 @@ public:
void replacePageDict(int pageNo, int rotate, PDFRectangle *mediaBox, PDFRectangle *cropBox, Object *pageCTM);
void markPageObjects(Dict *pageDict, XRef *xRef, XRef *countRef, Guint numOffset);
// write all objects used by pageDict to outStr
- Guint writePageObjects(OutStream *outStr, XRef *xRef, Guint numOffset);
+ Guint writePageObjects(OutStream *outStr, XRef *xRef, Guint numOffset, GBool combine = gFalse);
static void writeObject (Object *obj, OutStream* outStr, XRef *xref, Guint numOffset, Guchar *fileKey,
CryptAlgorithm encAlgorithm, int keyLength, int objNum, int objGen);
static void writeHeader(OutStream *outStr, int major, int minor);
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocBuilder.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocBuilder.h
index d6eccf5487a..d6eccf5487a 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocBuilder.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocBuilder.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocEncoding.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocEncoding.cc
index 79408346419..79408346419 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocEncoding.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocEncoding.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocEncoding.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocEncoding.h
index 4f0840bb28a..4f0840bb28a 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocEncoding.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocEncoding.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocFactory.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocFactory.cc
index 1ec46477237..1ec46477237 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocFactory.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocFactory.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocFactory.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocFactory.h
index dbceaa567ee..dbceaa567ee 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PDFDocFactory.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PDFDocFactory.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PSOutputDev.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/PSOutputDev.cc
index 93b078a0771..95be97faba3 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PSOutputDev.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PSOutputDev.cc
@@ -27,6 +27,7 @@
// Copyright (C) 2009 Kovid Goyal <kovid@kovidgoyal.net>
// Copyright (C) 2009-2011 Adrian Johnson <ajohnson@redneon.com>
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
+// Copyright (C) 2012 Lu Wang <coolwanglu@gmail.com>
//
// 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
@@ -2148,7 +2149,8 @@ void PSOutputDev::setupEmbeddedType1Font(Ref *id, GooString *psName) {
writePS("%%EndResource\n");
err1:
- strObj.streamClose();
+ if (strObj.isStream())
+ strObj.streamClose();
strObj.free();
}
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PSOutputDev.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/PSOutputDev.h
index 809f05812eb..6f290969777 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PSOutputDev.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PSOutputDev.h
@@ -15,7 +15,7 @@
//
// Copyright (C) 2005 Martin Kretzschmar <martink@gnome.org>
// Copyright (C) 2005 Kristian Høgsberg <krh@redhat.com>
-// Copyright (C) 2006-2008 Albert Astals Cid <aacid@kde.org>
+// Copyright (C) 2006-2008, 2012 Albert Astals Cid <aacid@kde.org>
// Copyright (C) 2007 Brad Hards <bradh@kde.org>
// Copyright (C) 2009-2012 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2009 Till Kamppeter <till.kamppeter@gmail.com>
@@ -151,6 +151,8 @@ public:
// Does this device use beginType3Char/endType3Char? Otherwise,
// text in Type 3 fonts will be drawn with drawChar/drawString.
virtual GBool interpretType3Chars() { return gFalse; }
+
+ virtual GBool needClipToCropBox() { return mode == psModeEPS; }
//----- header/trailer (used only if manualCtrl is true)
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PSTokenizer.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/PSTokenizer.cc
index 05127f0d03c..05127f0d03c 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PSTokenizer.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PSTokenizer.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PSTokenizer.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/PSTokenizer.h
index fc2f053d3f2..fc2f053d3f2 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PSTokenizer.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PSTokenizer.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Page.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Page.cc
index 87bc3a40131..8c2065b347c 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Page.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Page.cc
@@ -481,6 +481,9 @@ Gfx *Page::createGfx(OutputDev *out, double hDPI, double vDPI,
printf("***** Rotate = %d\n", attrs->getRotate());
}
+ if (!crop) {
+ crop = (box == *cropBox) && out->needClipToCropBox();
+ }
gfx = new Gfx(doc, out, num, attrs->getResourceDict(),
hDPI, vDPI, &box, crop ? cropBox : (PDFRectangle *)NULL,
rotate, abortCheckCbk, abortCheckCbkData);
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Page.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Page.h
index 78cedc41abe..a6098edc808 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Page.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Page.h
@@ -59,6 +59,8 @@ public:
GBool isValid() { return x1 != 0 || y1 != 0 || x2 != 0 || y2 != 0; }
GBool contains(double x, double y) { return x1 <= x && x <= x2 && y1 <= y && y <= y2; }
void clipTo(PDFRectangle *rect);
+
+ bool operator==(const PDFRectangle &rect) const { return x1 == rect.x1 && y1 == rect.y1 && x2 == rect.x2 && y2 == rect.y2; }
};
//------------------------------------------------------------------------
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PageLabelInfo.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/PageLabelInfo.cc
index a099d11a699..a099d11a699 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PageLabelInfo.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PageLabelInfo.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PageLabelInfo.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/PageLabelInfo.h
index 960e710069d..960e710069d 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PageLabelInfo.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PageLabelInfo.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PageTransition.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/PageTransition.cc
index 3fbd0de2802..3fbd0de2802 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PageTransition.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PageTransition.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PageTransition.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/PageTransition.h
index e892c6c5051..e892c6c5051 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PageTransition.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PageTransition.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Parser.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Parser.cc
index 5b80293b134..5b80293b134 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Parser.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Parser.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Parser.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Parser.h
index 5ab40995fc3..5ab40995fc3 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Parser.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Parser.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PopplerCache.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/PopplerCache.cc
index 6018a77b70f..6018a77b70f 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PopplerCache.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PopplerCache.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PopplerCache.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/PopplerCache.h
index 74010a2fa6b..74010a2fa6b 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PopplerCache.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PopplerCache.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PreScanOutputDev.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/PreScanOutputDev.cc
index 3a86d526f12..3a86d526f12 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PreScanOutputDev.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PreScanOutputDev.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/PreScanOutputDev.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/PreScanOutputDev.h
index 5260a3b7ace..5260a3b7ace 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/PreScanOutputDev.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/PreScanOutputDev.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/ProfileData.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/ProfileData.cc
index a0c44747a56..a0c44747a56 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/ProfileData.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/ProfileData.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/ProfileData.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/ProfileData.h
index 418ee010755..418ee010755 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/ProfileData.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/ProfileData.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Rendition.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Rendition.cc
index c040bf2b4a8..c040bf2b4a8 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Rendition.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Rendition.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Rendition.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Rendition.h
index 75bfeff32c9..75bfeff32c9 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Rendition.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Rendition.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/SecurityHandler.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/SecurityHandler.cc
index a48449af578..a48449af578 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/SecurityHandler.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/SecurityHandler.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/SecurityHandler.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/SecurityHandler.h
index c2991c8f375..c2991c8f375 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/SecurityHandler.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/SecurityHandler.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Sound.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Sound.cc
index 6129fdcb47d..6129fdcb47d 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Sound.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Sound.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Sound.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Sound.h
index acb0f8d9acd..acb0f8d9acd 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Sound.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Sound.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/SplashOutputDev.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/SplashOutputDev.cc
index a915f687835..6f2d4d6ae96 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/SplashOutputDev.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/SplashOutputDev.cc
@@ -29,7 +29,7 @@
// Copyright (C) 2010 Christian Feuersänger <cfeuersaenger@googlemail.com>
// Copyright (C) 2011 Andreas Hartmetz <ahartmetz@gmail.com>
// Copyright (C) 2011 Andrea Canciani <ranma42@gmail.com>
-// Copyright (C) 2011 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2011, 2012 Adrian Johnson <ajohnson@redneon.com>
//
// 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
@@ -2332,6 +2332,14 @@ GBool SplashOutputDev::beginType3Char(GfxState *state, double x, double y,
// create new entry in the font cache
if (nT3Fonts == splashOutT3FontCacheSize) {
+ t3gs = t3GlyphStack;
+ while (t3gs != NULL) {
+ if (t3gs->cache == t3FontCache[nT3Fonts - 1]) {
+ error(errSyntaxWarning, -1, "t3FontCache reaches limit but font still on stack in SplashOutputDev::beginType3Char");
+ return gTrue;
+ }
+ t3gs = t3gs->next;
+ }
delete t3FontCache[nT3Fonts - 1];
--nT3Fonts;
}
@@ -3207,7 +3215,7 @@ void SplashOutputDev::drawImage(GfxState *state, Object *ref, Stream *str,
}
src = maskColors ? &alphaImageSrc : &imageSrc;
splash->drawImage(src, &imgData, srcMode, maskColors ? gTrue : gFalse,
- width, height, mat);
+ width, height, mat, interpolate);
if (inlineImg) {
while (imgData.y < height) {
imgData.imgStr->getLine();
@@ -3509,7 +3517,7 @@ void SplashOutputDev::drawMaskedImage(GfxState *state, Object *ref,
srcMode = colorMode;
}
splash->drawImage(&maskedImageSrc, &imgData, srcMode, gTrue,
- width, height, mat);
+ width, height, mat, interpolate);
delete maskBitmap;
gfree(imgData.lookup);
delete imgData.imgStr;
@@ -3584,7 +3592,7 @@ void SplashOutputDev::drawSoftMaskedImage(GfxState *state, Object *ref,
maskColor[0] = 0;
maskSplash->clear(maskColor);
maskSplash->drawImage(&imageSrc, &imgMaskData, splashModeMono8, gFalse,
- maskWidth, maskHeight, mat);
+ maskWidth, maskHeight, mat, maskInterpolate);
delete imgMaskData.imgStr;
maskStr->close();
gfree(imgMaskData.lookup);
@@ -3671,7 +3679,7 @@ void SplashOutputDev::drawSoftMaskedImage(GfxState *state, Object *ref,
} else {
srcMode = colorMode;
}
- splash->drawImage(&imageSrc, &imgData, srcMode, gFalse, width, height, mat);
+ splash->drawImage(&imageSrc, &imgData, srcMode, gFalse, width, height, mat, interpolate);
splash->setSoftMask(NULL);
gfree(imgData.lookup);
delete imgData.imgStr;
@@ -4182,7 +4190,7 @@ GBool SplashOutputDev::tilingPatternFill(GfxState *state, Gfx *gfx1, Catalog *ca
m1.m[4] = -kx;
m1.m[5] = -ky;
- bitmap = new SplashBitmap(surface_width, surface_height, colorMode != splashModeMono1,
+ bitmap = new SplashBitmap(surface_width, surface_height, 1,
(paintType == 1) ? colorMode : splashModeMono8, gTrue);
memset(bitmap->getAlphaPtr(), 0, bitmap->getWidth() * bitmap->getHeight());
if (paintType == 2) {
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/SplashOutputDev.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/SplashOutputDev.h
index de7934d48a5..de7934d48a5 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/SplashOutputDev.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/SplashOutputDev.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/StdinCachedFile.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/StdinCachedFile.cc
index db966377bb0..db966377bb0 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/StdinCachedFile.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/StdinCachedFile.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/StdinCachedFile.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/StdinCachedFile.h
index 5be6fa841a3..5be6fa841a3 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/StdinCachedFile.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/StdinCachedFile.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/StdinPDFDocBuilder.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/StdinPDFDocBuilder.cc
index 571ee46d7f6..571ee46d7f6 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/StdinPDFDocBuilder.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/StdinPDFDocBuilder.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/StdinPDFDocBuilder.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/StdinPDFDocBuilder.h
index e9b2f47f636..e9b2f47f636 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/StdinPDFDocBuilder.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/StdinPDFDocBuilder.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Stream-CCITT.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Stream-CCITT.h
index 7207729a4d1..7207729a4d1 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Stream-CCITT.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Stream-CCITT.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Stream.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/Stream.cc
index 4820034aaa7..d6078c6f417 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Stream.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Stream.cc
@@ -26,6 +26,7 @@
// Copyright (C) 2012 Thomas Freitag <Thomas.Freitag@alfa.de>
// Copyright (C) 2012 Oliver Sander <sander@mi.fu-berlin.de>
// Copyright (C) 2012 Fabio D'Urso <fabiodurso@hotmail.it>
+// Copyright (C) 2012 Even Rouault <even.rouault@mines-paris.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
@@ -419,11 +420,11 @@ ImageStream::ImageStream(Stream *strA, int widthA, int nCompsA, int nBitsA) {
nVals = width * nComps;
inputLineSize = (nVals * nBits + 7) >> 3;
- if (nVals > INT_MAX / nBits - 7) {
+ if (nBits <= 0 || nVals > INT_MAX / nBits - 7) {
// force a call to gmallocn(-1,...), which will throw an exception
inputLineSize = -1;
}
- inputLine = (Guchar *)gmallocn(inputLineSize, sizeof(char));
+ inputLine = (Guchar *)gmallocn_checkoverflow(inputLineSize, sizeof(char));
if (nBits == 8) {
imgLine = (Guchar *)inputLine;
} else {
@@ -1708,7 +1709,7 @@ int CCITTFaxStream::lookChar() {
// 2-D encoding
if (nextLine2D) {
- for (i = 0; codingLine[i] < columns; ++i) {
+ for (i = 0; i < columns && codingLine[i] < columns; ++i) {
refLine[i] = codingLine[i];
}
refLine[i++] = columns;
@@ -1724,7 +1725,7 @@ int CCITTFaxStream::lookChar() {
// codingLine[a0i = 0] = refLine[b1i = 0] = 0 is possible
// exception at right edge:
// refLine[b1i] = refLine[b1i+1] = columns is possible
- while (codingLine[a0i] < columns) {
+ while (codingLine[a0i] < columns && !err) {
code1 = getTwoDimCode();
switch (code1) {
case twoDimPass:
@@ -1758,49 +1759,109 @@ int CCITTFaxStream::lookChar() {
}
while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
b1i += 2;
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
}
break;
case twoDimVertR3:
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
addPixels(refLine[b1i] + 3, blackPixels);
blackPixels ^= 1;
if (codingLine[a0i] < columns) {
++b1i;
while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
b1i += 2;
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
}
}
break;
case twoDimVertR2:
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
addPixels(refLine[b1i] + 2, blackPixels);
blackPixels ^= 1;
if (codingLine[a0i] < columns) {
++b1i;
while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
b1i += 2;
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
}
}
break;
case twoDimVertR1:
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
addPixels(refLine[b1i] + 1, blackPixels);
blackPixels ^= 1;
if (codingLine[a0i] < columns) {
++b1i;
while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
b1i += 2;
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
}
}
break;
case twoDimVert0:
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
addPixels(refLine[b1i], blackPixels);
blackPixels ^= 1;
if (codingLine[a0i] < columns) {
++b1i;
while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
b1i += 2;
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
}
}
break;
case twoDimVertL3:
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
addPixelsNeg(refLine[b1i] - 3, blackPixels);
blackPixels ^= 1;
if (codingLine[a0i] < columns) {
@@ -1811,10 +1872,22 @@ int CCITTFaxStream::lookChar() {
}
while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
b1i += 2;
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
}
}
break;
case twoDimVertL2:
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
addPixelsNeg(refLine[b1i] - 2, blackPixels);
blackPixels ^= 1;
if (codingLine[a0i] < columns) {
@@ -1825,10 +1898,22 @@ int CCITTFaxStream::lookChar() {
}
while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
b1i += 2;
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
}
}
break;
case twoDimVertL1:
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
addPixelsNeg(refLine[b1i] - 1, blackPixels);
blackPixels ^= 1;
if (codingLine[a0i] < columns) {
@@ -1839,6 +1924,12 @@ int CCITTFaxStream::lookChar() {
}
while (refLine[b1i] <= codingLine[a0i] && refLine[b1i] < columns) {
b1i += 2;
+ if (unlikely(b1i > columns + 1)) {
+ error(errSyntaxError, getPos(),
+ "Bad 2D code {0:04x} in CCITTFax stream", code1);
+ err = gTrue;
+ break;
+ }
}
}
break;
@@ -2022,6 +2113,12 @@ int CCITTFaxStream::lookChar() {
outputBits = 0;
if (codingLine[a0i] < columns) {
++a0i;
+ if (unlikely(a0i > columns)) {
+ error(errSyntaxError, getPos(),
+ "Bad bits {0:04x} in CCITTFax stream", bits);
+ err = gTrue;
+ break;
+ }
outputBits = codingLine[a0i] - codingLine[a0i - 1];
} else if (bits > 0) {
buf <<= bits;
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/Stream.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/Stream.h
index 20b5fd6d421..20b5fd6d421 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/Stream.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/Stream.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/TextOutputDev.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/TextOutputDev.cc
index 2be0b4247ce..a2198dfd039 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/TextOutputDev.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/TextOutputDev.cc
@@ -26,10 +26,12 @@
// Copyright (C) 2009 Ross Moore <ross@maths.mq.edu.au>
// Copyright (C) 2009 Kovid Goyal <kovid@kovidgoyal.net>
// Copyright (C) 2010 Brian Ewins <brian.ewins@gmail.com>
+// Copyright (C) 2010 Marek Kasik <mkasik@redhat.com>
// Copyright (C) 2010 Suzuki Toshiya <mpsuzuki@hiroshima-u.ac.jp>
// Copyright (C) 2011 Sam Liao <phyomh@gmail.com>
// Copyright (C) 2012 Horst Prote <prote@fmi.uni-stuttgart.de>
// Copyright (C) 2012 Jason Crain <jason@aquaticape.us>
+// Copyright (C) 2012 Peter Breitenlohner <peb@mppmu.mpg.de>
//
// 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
@@ -2280,7 +2282,6 @@ void TextPage::addChar(GfxState *state, double x, double y,
state->transform(x, y, &x1, &y1);
if (x1 + w1 < 0 || x1 > pageWidth ||
y1 + h1 < 0 || y1 > pageHeight ||
- w1 > pageWidth || h1 > pageHeight ||
x1 != x1 || y1 != y1 || // IEEE way of checking for isnan
w1 != w1 || h1 != h1) {
charPos += nBytes;
@@ -3371,7 +3372,7 @@ void TextPage::coalesce(GBool physLayout, double fixedPitch, GBool doHTML) {
* so that they extend in x without hitting neighbours
*/
for (blk1 = blkList; blk1; blk1 = blk1->next) {
- if (!blk1->tableId >= 0) {
+ if (!(blk1->tableId >= 0)) {
double xMax = DBL_MAX;
double xMin = DBL_MIN;
@@ -4614,7 +4615,8 @@ void TextPage::visitSelection(TextSelectionVisitor *visitor,
if (!best_block[i] ||
d < best_d[i] ||
(!blk->next && !flow->next &&
- x[i] > xMax && y[i] > yMax)) {
+ x[i] >= fmin(xMax, pageWidth) &&
+ y[i] >= fmin(yMax, pageHeight))) {
best_block[i] = blk;
best_flow[i] = flow;
best_count[i] = count;
@@ -5219,7 +5221,7 @@ void ActualText::end(GfxState *state) {
// extents of all the glyphs inside the span
if (actualTextNBytes) {
- Unicode *uni;
+ Unicode *uni = NULL;
int length;
// now that we have the position info for all of the text inside
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/TextOutputDev.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/TextOutputDev.h
index 100f23e0431..100f23e0431 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/TextOutputDev.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/TextOutputDev.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/UTF.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/UTF.cc
index 8e9cb9d5e69..42c783630ab 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/UTF.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UTF.cc
@@ -15,6 +15,7 @@
//
// Copyright (C) 2008 Koji Otani <sho@bbr.jp>
// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
+// Copyright (C) 2012 Hib Eris <hib@hiberis.nl>
//
// 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
@@ -25,6 +26,14 @@
#include "PDFDocEncoding.h"
#include "UTF.h"
+bool UnicodeIsValid(Unicode ucs4)
+{
+ return (ucs4 < 0x110000) &&
+ ((ucs4 & 0xfffff800) != 0xd800) &&
+ (ucs4 < 0xfdd0 || ucs4 > 0xfdef) &&
+ ((ucs4 & 0xfffe) != 0xfffe);
+}
+
int UTF16toUCS4(const Unicode *utf16, int utf16Len, Unicode **ucs4)
{
int i, n, len;
@@ -63,6 +72,9 @@ int UTF16toUCS4(const Unicode *utf16, int utf16Len, Unicode **ucs4)
} else {
u[n] = utf16[i];
}
+ if (!UnicodeIsValid(u[n])) {
+ u[n] = 0xfffd;
+ }
n++;
}
*ucs4 = u;
@@ -96,7 +108,7 @@ int TextStringToUCS4(GooString *textStr, Unicode **ucs4)
} else {
u = (Unicode*)gmallocn(len, sizeof(Unicode));
for (i = 0 ; i < len; i++) {
- u[i] = pdfDocEncoding[s[i]];
+ u[i] = pdfDocEncoding[s[i] & 0xff];
}
}
*ucs4 = u;
diff --git a/Build/source/libs/poppler/poppler-0.22.0/poppler/UTF.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/UTF.h
new file mode 100644
index 00000000000..248c168cca5
--- /dev/null
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UTF.h
@@ -0,0 +1,39 @@
+//========================================================================
+//
+// UTF.h
+//
+// This file is licensed under the GPLv2 or later
+//
+// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
+//
+//========================================================================
+
+#ifndef UTF_H
+#define UTF_H
+
+#ifdef USE_GCC_PRAGMAS
+#pragma implementation
+#endif
+
+#include "goo/GooString.h"
+#include "CharTypes.h"
+
+// Convert a UTF-16 string to a UCS-4
+// utf16 - utf16 bytes
+// utf16_len - number of UTF-16 characters
+// ucs4_out - if not NULL, allocates and returns UCS-4 string. Free with gfree.
+// returns number of UCS-4 characters
+int UTF16toUCS4(const Unicode *utf16, int utf16_len, Unicode **ucs4_out);
+
+// Convert a PDF Text String to UCS-4
+// s - PDF text string
+// ucs4 - if the number of UCS-4 characters is > 0, allocates and
+// returns UCS-4 string. Free with gfree.
+// returns number of UCS-4 characters
+int TextStringToUCS4(GooString *textStr, Unicode **ucs4);
+
+// check if UCS-4 character is valid
+bool UnicodeIsValid(Unicode ucs4);
+
+
+#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/UTF.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/UTF8.h
index 079b3a24ae1..34a07d4082f 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/UTF.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UTF8.h
@@ -1,6 +1,6 @@
//========================================================================
//
-// UTF.h
+// UTF8.h
//
// Copyright 2001-2003 Glyph & Cog, LLC
//
@@ -14,38 +14,12 @@
// under GPL version 2 or later
//
// Copyright (C) 2008 Koji Otani <sho@bbr.jp>
-// Copyright (C) 2012 Adrian Johnson <ajohnson@redneon.com>
//
// 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
//
//========================================================================
-#ifndef UTF_H
-#define UTF_H
-
-#ifdef USE_GCC_PRAGMAS
-#pragma implementation
-#endif
-
-#include "goo/GooString.h"
-#include "CharTypes.h"
-
-// Convert a UTF-16 string to a UCS-4
-// utf16 - utf16 bytes
-// utf16_len - number of UTF-16 characters
-// ucs4_out - if not NULL, allocates and returns UCS-4 string. Free with gfree.
-// returns number of UCS-4 characters
-int UTF16toUCS4(const Unicode *utf16, int utf16_len, Unicode **ucs4_out);
-
-// Convert a PDF Text String to UCS-4
-// s - PDF text string
-// ucs4 - if the number of UCS-4 characters is > 0, allocates and
-// returns UCS-4 string. Free with gfree.
-// returns number of UCS-4 characters
-int TextStringToUCS4(GooString *textStr, Unicode **ucs4);
-
-
static int mapUTF8(Unicode u, char *buf, int bufSize) {
if (u <= 0x0000007f) {
if (bufSize < 1) {
@@ -86,7 +60,7 @@ static int mapUCS2(Unicode u, char *buf, int bufSize) {
if (u <= 0xffff) {
if (bufSize < 2) {
return 0;
- }
+ }
buf[0] = (char)((u >> 8) & 0xff);
buf[1] = (char)(u & 0xff);
return 2;
@@ -108,5 +82,3 @@ static int mapUCS2(Unicode u, char *buf, int bufSize) {
return 0;
}
}
-
-#endif
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeCClassTables.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeCClassTables.h
index 62f9ecc3657..62f9ecc3657 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeCClassTables.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeCClassTables.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeCompTables.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeCompTables.h
index 68e2f86aee9..68e2f86aee9 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeCompTables.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeCompTables.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeDecompTables.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeDecompTables.h
index 4bc34b18d99..4bc34b18d99 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeDecompTables.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeDecompTables.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeMap.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeMap.cc
index 0528cdfc686..0528cdfc686 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeMap.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeMap.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeMap.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeMap.h
index ba7df2cfb99..ba7df2cfb99 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeMap.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeMap.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeMapTables.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeMapTables.h
index 073e474e6be..073e474e6be 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeMapTables.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeMapTables.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeTypeTable.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeTypeTable.cc
index 721af9db6e5..721af9db6e5 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeTypeTable.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeTypeTable.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeTypeTable.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeTypeTable.h
index 869aad9e6c6..869aad9e6c6 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/UnicodeTypeTable.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/UnicodeTypeTable.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/ViewerPreferences.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/ViewerPreferences.cc
index cba8d0ac512..cba8d0ac512 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/ViewerPreferences.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/ViewerPreferences.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/ViewerPreferences.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/ViewerPreferences.h
index 8cdc4d40a73..8cdc4d40a73 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/ViewerPreferences.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/ViewerPreferences.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/XRef.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/XRef.cc
index c8a93b9e43a..81e939ad1e9 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/XRef.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/XRef.cc
@@ -271,6 +271,7 @@ void XRef::init() {
encrypted = gFalse;
permFlags = defPermFlags;
ownerPasswordOk = gFalse;
+ rootNum = -1;
}
XRef::XRef() {
@@ -1298,6 +1299,7 @@ void XRef::writeXRef(XRef::XRefWriter *writer, GBool writeAllEntries) {
lastFreeEntry = i;
}
}
+ getEntry(lastFreeEntry)->offset = 0;
if (writeAllEntries) {
writer->startSection(0, size);
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/XRef.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/XRef.h
index 2defc6ca2c3..9af4a139faa 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/XRef.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/XRef.h
@@ -36,6 +36,7 @@
#include "goo/gtypes.h"
#include "Object.h"
+#include "Stream.h"
#include <vector>
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/XpdfPluginAPI.cc b/Build/source/libs/poppler/poppler-0.22.0/poppler/XpdfPluginAPI.cc
index 834c681d991..834c681d991 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/XpdfPluginAPI.cc
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/XpdfPluginAPI.cc
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/XpdfPluginAPI.h b/Build/source/libs/poppler/poppler-0.22.0/poppler/XpdfPluginAPI.h
index b0165c0a72a..b0165c0a72a 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/XpdfPluginAPI.h
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/XpdfPluginAPI.h
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/gen-unicode-tables.py b/Build/source/libs/poppler/poppler-0.22.0/poppler/gen-unicode-tables.py
index 282f6e52518..282f6e52518 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/gen-unicode-tables.py
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/gen-unicode-tables.py
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/poppler-config.h.cmake b/Build/source/libs/poppler/poppler-0.22.0/poppler/poppler-config.h.cmake
index 2425f6a6cf7..2425f6a6cf7 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/poppler-config.h.cmake
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/poppler-config.h.cmake
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/poppler-config.h.in b/Build/source/libs/poppler/poppler-0.22.0/poppler/poppler-config.h.in
index 5c56ea4bc61..5c56ea4bc61 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/poppler-config.h.in
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/poppler-config.h.in
diff --git a/Build/source/libs/poppler/poppler-0.21.0/poppler/strtok_r.cpp b/Build/source/libs/poppler/poppler-0.22.0/poppler/strtok_r.cpp
index 6483e0f7be9..6483e0f7be9 100644
--- a/Build/source/libs/poppler/poppler-0.21.0/poppler/strtok_r.cpp
+++ b/Build/source/libs/poppler/poppler-0.22.0/poppler/strtok_r.cpp
diff --git a/Build/source/libs/poppler/poppler/Makefile.in b/Build/source/libs/poppler/poppler/Makefile.in
index 097e1b41c25..350edb39c22 100644
--- a/Build/source/libs/poppler/poppler/Makefile.in
+++ b/Build/source/libs/poppler/poppler/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -47,9 +47,9 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am \
- $(top_srcdir)/poppler-0.21.0/poppler/poppler-config.h.in
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am \
+ $(top_srcdir)/poppler-0.22.0/poppler/poppler-config.h.in
subdir = poppler
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -81,6 +81,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -224,17 +225,15 @@ poppler-config.h: stamp-h2
@if test ! -f $@; then rm -f stamp-h2; else :; fi
@if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h2; else :; fi
-stamp-h2: $(top_srcdir)/poppler-0.21.0/poppler/poppler-config.h.in $(top_builddir)/config.status
+stamp-h2: $(top_srcdir)/poppler-0.22.0/poppler/poppler-config.h.in $(top_builddir)/config.status
@rm -f stamp-h2
cd $(top_builddir) && $(SHELL) ./config.status poppler/poppler-config.h
distclean-hdr:
-rm -f poppler-config.h stamp-h2
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -372,15 +371,16 @@ uninstall-am:
.MAKE: all install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-hdr distclean-local \
- distdir dvi dvi-am html html-am info info-am install \
- install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- maintainer-clean maintainer-clean-generic mostlyclean \
- mostlyclean-generic pdf pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-hdr distclean-local distdir dvi dvi-am html html-am \
+ info info-am install install-am install-data install-data-am \
+ install-dvi install-dvi-am install-exec install-exec-am \
+ install-html install-html-am install-info install-info-am \
+ install-man install-pdf install-pdf-am install-ps \
+ install-ps-am install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags-am \
+ uninstall uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/poppler/version.ac b/Build/source/libs/poppler/version.ac
index 939ae476177..026c7fdc412 100644
--- a/Build/source/libs/poppler/version.ac
+++ b/Build/source/libs/poppler/version.ac
@@ -8,4 +8,4 @@ dnl
dnl --------------------------------------------------------
dnl
dnl m4-include this file to define the current poppler version
-m4_define([poppler_version], [0.21.0])
+m4_define([poppler_version], [0.22.0])
diff --git a/Build/source/libs/t1lib/Makefile.in b/Build/source/libs/t1lib/Makefile.in
index f12fb27fefc..20e0ddbc4e9 100644
--- a/Build/source/libs/t1lib/Makefile.in
+++ b/Build/source/libs/t1lib/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -50,16 +50,18 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
@build_TRUE@check_PROGRAMS = type1afm$(EXEEXT)
subdir = .
-DIST_COMMON = README $(am__configure_deps) \
- $(am__dist_check_SCRIPTS_DIST) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(top_srcdir)/../../build-aux/depcomp \
- $(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
$(top_srcdir)/lib/t1lib/sysconf.h.in \
+ $(am__dist_check_SCRIPTS_DIST) \
+ $(top_srcdir)/../../build-aux/depcomp \
+ $(top_srcdir)/../../build-aux/test-driver ChangeLog README \
../../build-aux/config.guess ../../build-aux/config.sub \
../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
+ $(top_srcdir)/../../build-aux/install-sh \
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-lib-version.m4 \
@@ -139,14 +141,228 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
-AM_RECURSIVE_TARGETS = cscope
+AM_RECURSIVE_TARGETS = cscope check recheck
am__tty_colors_dummy = \
mgn= red= grn= lgn= blu= brg= std=; \
am__color_tests=no
-am__tty_colors = $(am__tty_colors_dummy)
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red=''; \
+ grn=''; \
+ lgn=''; \
+ blu=''; \
+ mgn=''; \
+ brg=''; \
+ std=''; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../../build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
@@ -379,7 +595,7 @@ CLEANFILES = l047016t.afmx x047016t.afm x047016t.pfa
all: all-am
.SUFFIXES:
-.SUFFIXES: .c .o .obj
+.SUFFIXES: .c .log .o .obj .test .test$(EXEEXT) .trs
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@@ -916,26 +1132,15 @@ type1afm.obj: $(T1LIB_TREE)/type1afm/type1afm.c
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o type1afm.obj `if test -f '$(T1LIB_TREE)/type1afm/type1afm.c'; then $(CYGPATH_W) '$(T1LIB_TREE)/type1afm/type1afm.c'; else $(CYGPATH_W) '$(srcdir)/$(T1LIB_TREE)/type1afm/type1afm.c'; fi`
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-am
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -947,15 +1152,11 @@ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-am
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -964,18 +1165,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-am
-cscope.files: clean-cscope cscopelist
-
-cscopelist: $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -992,98 +1191,161 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# exand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS) $(dist_check_SCRIPTS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
$(am__remove_distdir)
@@ -1271,6 +1533,9 @@ install-strip:
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
@@ -1357,21 +1622,22 @@ uninstall-am:
.MAKE: check-am install-am install-strip
-.PHONY: CTAGS GTAGS all all-am am--refresh check check-TESTS check-am \
- clean clean-checkPROGRAMS clean-cscope clean-generic \
- clean-noinstLIBRARIES cscope cscopelist ctags dist dist-all \
- dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
- dist-xz dist-zip distcheck distclean distclean-compile \
- distclean-generic distclean-hdr distclean-tags distcleancheck \
- distdir distuninstallcheck dvi dvi-am html html-am info \
- info-am install install-am install-data install-data-am \
- install-dvi install-dvi-am install-exec install-exec-am \
- install-html install-html-am install-info install-info-am \
- install-man install-pdf install-pdf-am install-ps \
- install-ps-am install-strip installcheck installcheck-am \
- installdirs maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
- ps ps-am tags uninstall uninstall-am
+.PHONY: CTAGS GTAGS TAGS all all-am am--refresh check check-TESTS \
+ check-am clean clean-checkPROGRAMS clean-cscope clean-generic \
+ clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am dist \
+ dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
+ dist-tarZ dist-xz dist-zip distcheck distclean \
+ distclean-compile distclean-generic distclean-hdr \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs maintainer-clean \
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
+ mostlyclean-generic pdf pdf-am ps ps-am recheck tags tags-am \
+ uninstall uninstall-am
# Rebuild
diff --git a/Build/source/libs/t1lib/aclocal.m4 b/Build/source/libs/t1lib/aclocal.m4
index 754d3c5ff53..52e241154fc 100644
--- a/Build/source/libs/t1lib/aclocal.m4
+++ b/Build/source/libs/t1lib/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/t1lib/configure b/Build/source/libs/t1lib/configure
index 14d0cc8fe5c..a86d6062c13 100755
--- a/Build/source/libs/t1lib/configure
+++ b/Build/source/libs/t1lib/configure
@@ -2278,7 +2278,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2462,8 +2462,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -7036,7 +7036,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/teckit/Makefile.in b/Build/source/libs/teckit/Makefile.in
index e33b8d27c2d..2490c917435 100644
--- a/Build/source/libs/teckit/Makefile.in
+++ b/Build/source/libs/teckit/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -53,17 +53,18 @@ build_triplet = @build@
host_triplet = @host@
bin_PROGRAMS = teckit_compile$(EXEEXT)
subdir = .
-DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in $(top_srcdir)/../../build-aux/depcomp \
+ $(top_srcdir)/../../build-aux/test-driver ChangeLog \
+ ../../build-aux/config.guess ../../build-aux/config.sub \
+ ../../build-aux/depcomp ../../build-aux/install-sh \
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
$(top_srcdir)/../../build-aux/config.guess \
$(top_srcdir)/../../build-aux/config.sub \
- $(top_srcdir)/../../build-aux/depcomp \
$(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
- ../../build-aux/config.guess ../../build-aux/config.sub \
- ../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-cxx-hack.m4 \
@@ -137,13 +138,14 @@ SOURCES = $(nodist_libTECkit_a_SOURCES) \
$(nodist_libTECkit_Compiler_a_SOURCES) \
$(nodist_teckit_compile_SOURCES)
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -151,16 +153,234 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- cscope distdir dist dist-all distcheck
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope check recheck distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
am__tty_colors_dummy = \
mgn= red= grn= lgn= blu= brg= std=; \
am__color_tests=no
-am__tty_colors = $(am__tty_colors_dummy)
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red=''; \
+ grn=''; \
+ lgn=''; \
+ blu=''; \
+ mgn=''; \
+ brg=''; \
+ std=''; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../../build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
@@ -347,7 +567,7 @@ all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
-.SUFFIXES: .cpp .o .obj
+.SUFFIXES: .cpp .log .o .obj .test .test$(EXEEXT) .trs
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@@ -417,10 +637,11 @@ install-binPROGRAMS: $(bin_PROGRAMS)
fi; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
- while read p p1; do if test -f $$p; \
- then echo "$$p"; echo "$$p"; else :; fi; \
+ while read p p1; do if test -f $$p \
+ ; then echo "$$p"; echo "$$p"; else :; fi; \
done | \
- sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
+ sed -e 'p;s,.*/,,;n;h' \
+ -e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
@@ -441,7 +662,8 @@ uninstall-binPROGRAMS:
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
- -e 's/$$/$(EXEEXT)/' `; \
+ -e 's/$$/$(EXEEXT)/' \
+ `; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(bindir)" && rm -f $$files
@@ -539,7 +761,7 @@ TECkit_Compile.obj: $(TECKIT_TREE)/source/Sample-tools/TECkit_Compile.cpp
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -567,31 +789,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -607,12 +811,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -624,15 +823,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -641,18 +836,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -669,98 +862,161 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# exand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
$(am__remove_distdir)
@@ -975,6 +1231,9 @@ install-strip:
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
@@ -1060,27 +1319,24 @@ ps-am:
uninstall-am: uninstall-binPROGRAMS
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-TESTS check-am clean \
- clean-binPROGRAMS clean-cscope clean-generic \
- clean-noinstLIBRARIES cscope cscopelist cscopelist-recursive \
- ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
- dist-hook dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
- distcheck distclean distclean-compile distclean-generic \
- distclean-hdr distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-binPROGRAMS install-data \
+.MAKE: $(am__recursive_targets) all check-am install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-TESTS check-am clean clean-binPROGRAMS \
+ clean-cscope clean-generic clean-noinstLIBRARIES cscope \
+ cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
+ dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
+ dist-zip distcheck distclean distclean-compile \
+ distclean-generic distclean-hdr distclean-tags distcleancheck \
+ distdir distuninstallcheck dvi dvi-am html html-am info \
+ info-am install install-am install-binPROGRAMS install-data \
install-data-am install-dvi install-dvi-am install-exec \
install-exec-am install-html install-html-am install-info \
install-info-am install-man install-pdf install-pdf-am \
install-ps install-ps-am install-strip installcheck \
installcheck-am installdirs installdirs-am maintainer-clean \
maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
+ mostlyclean-generic pdf pdf-am ps ps-am recheck tags tags-am \
uninstall uninstall-am uninstall-binPROGRAMS
diff --git a/Build/source/libs/teckit/aclocal.m4 b/Build/source/libs/teckit/aclocal.m4
index a4834f41274..8ff6c8d9c09 100644
--- a/Build/source/libs/teckit/aclocal.m4
+++ b/Build/source/libs/teckit/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/teckit/configure b/Build/source/libs/teckit/configure
index b890a8a5f65..2bc0a585574 100755
--- a/Build/source/libs/teckit/configure
+++ b/Build/source/libs/teckit/configure
@@ -2490,7 +2490,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2674,8 +2674,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -7838,7 +7838,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/teckit/include/teckit/Makefile.in b/Build/source/libs/teckit/include/teckit/Makefile.in
index 0d053a5c461..60a299cd655 100644
--- a/Build/source/libs/teckit/include/teckit/Makefile.in
+++ b/Build/source/libs/teckit/include/teckit/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,8 +49,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include/teckit
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -83,6 +83,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -234,11 +235,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -376,15 +375,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/xpdf/Makefile.in b/Build/source/libs/xpdf/Makefile.in
index 012f1e8caff..58ad75b3458 100644
--- a/Build/source/libs/xpdf/Makefile.in
+++ b/Build/source/libs/xpdf/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,15 +49,16 @@ NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
subdir = .
-DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/aconf.h.in \
- $(top_srcdir)/../../build-aux/depcomp \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/aconf.h.in $(top_srcdir)/../../build-aux/depcomp \
+ ChangeLog ../../build-aux/config.guess \
+ ../../build-aux/config.sub ../../build-aux/depcomp \
+ ../../build-aux/install-sh ../../build-aux/missing \
+ ../../build-aux/texinfo.tex ../../build-aux/ylwrap \
+ ../../build-aux/ltmain.sh \
$(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
- ../../build-aux/config.guess ../../build-aux/config.sub \
- ../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-warnings.m4 \
@@ -136,13 +137,14 @@ am__v_CXXLD_0 = @echo " CXXLD " $@;
am__v_CXXLD_1 =
SOURCES = $(nodist_libxpdf_a_SOURCES)
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -150,9 +152,30 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
cscope distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)aconf.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
@@ -1148,7 +1171,7 @@ XRef.obj: $(XPDF_SRC)/XRef.cc
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -1176,31 +1199,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) aconf.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -1216,12 +1221,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) aconf.h.in $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) aconf.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -1233,15 +1233,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) aconf.h.in $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) aconf.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) aconf.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -1250,18 +1246,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -1569,27 +1563,24 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
-
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-am clean clean-cscope \
- clean-generic clean-noinstLIBRARIES cscope cscopelist \
- cscopelist-recursive ctags ctags-recursive dist dist-all \
- dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar dist-tarZ \
- dist-xz dist-zip distcheck distclean distclean-compile \
- distclean-generic distclean-hdr distclean-tags distcleancheck \
- distdir distuninstallcheck dvi dvi-am html html-am info \
- info-am install install-am install-data install-data-am \
- install-dvi install-dvi-am install-exec install-exec-am \
- install-html install-html-am install-info install-info-am \
- install-man install-pdf install-pdf-am install-ps \
- install-ps-am install-strip installcheck installcheck-am \
- installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am
+.MAKE: $(am__recursive_targets) all install-am install-strip
+
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-am clean clean-cscope clean-generic \
+ clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am dist \
+ dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
+ dist-tarZ dist-xz dist-zip distcheck distclean \
+ distclean-compile distclean-generic distclean-hdr \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs installdirs-am \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
+ tags tags-am uninstall uninstall-am
# Rebuild
diff --git a/Build/source/libs/xpdf/aclocal.m4 b/Build/source/libs/xpdf/aclocal.m4
index 7f7fe5ffa4b..25ff2ef600b 100644
--- a/Build/source/libs/xpdf/aclocal.m4
+++ b/Build/source/libs/xpdf/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/xpdf/configure b/Build/source/libs/xpdf/configure
index f10da550d58..bdb55af782b 100755
--- a/Build/source/libs/xpdf/configure
+++ b/Build/source/libs/xpdf/configure
@@ -2249,7 +2249,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2433,8 +2433,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -7359,7 +7359,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/xpdf/fofi/Makefile.in b/Build/source/libs/xpdf/fofi/Makefile.in
index 62d555dead6..db8ea922c15 100644
--- a/Build/source/libs/xpdf/fofi/Makefile.in
+++ b/Build/source/libs/xpdf/fofi/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -47,8 +47,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = fofi
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -79,6 +79,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -213,11 +214,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -355,15 +354,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/xpdf/goo/Makefile.in b/Build/source/libs/xpdf/goo/Makefile.in
index bd723564f28..15b9aef3eaf 100644
--- a/Build/source/libs/xpdf/goo/Makefile.in
+++ b/Build/source/libs/xpdf/goo/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -47,8 +47,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = goo
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -79,6 +79,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -213,11 +214,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -355,15 +354,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/xpdf/splash/Makefile.in b/Build/source/libs/xpdf/splash/Makefile.in
index 2d8f508ed83..49e1fa46469 100644
--- a/Build/source/libs/xpdf/splash/Makefile.in
+++ b/Build/source/libs/xpdf/splash/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -47,8 +47,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = splash
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -79,6 +79,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -213,11 +214,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -355,15 +354,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/xpdf/xpdf/Makefile.in b/Build/source/libs/xpdf/xpdf/Makefile.in
index ad2cdc4b04b..a8716a1f667 100644
--- a/Build/source/libs/xpdf/xpdf/Makefile.in
+++ b/Build/source/libs/xpdf/xpdf/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -47,8 +47,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = xpdf
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -79,6 +79,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -213,11 +214,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -355,15 +354,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/zlib/Makefile.in b/Build/source/libs/zlib/Makefile.in
index 04612f53318..d41b28da4fd 100644
--- a/Build/source/libs/zlib/Makefile.in
+++ b/Build/source/libs/zlib/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -50,16 +50,17 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
@build_TRUE@check_PROGRAMS = example$(EXEEXT) minigzip$(EXEEXT)
subdir = .
-DIST_COMMON = README $(am__configure_deps) \
- $(am__dist_check_SCRIPTS_DIST) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in $(am__dist_check_SCRIPTS_DIST) \
$(top_srcdir)/../../build-aux/depcomp \
- $(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
+ $(top_srcdir)/../../build-aux/test-driver ChangeLog README \
../../build-aux/config.guess ../../build-aux/config.sub \
../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
+ $(top_srcdir)/../../build-aux/install-sh \
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
$(top_srcdir)/../../m4/kpse-warnings.m4 \
@@ -133,13 +134,14 @@ am__v_CCLD_1 =
SOURCES = $(nodist_libz_a_SOURCES) $(nodist_example_SOURCES) \
$(nodist_minigzip_SOURCES)
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -147,16 +149,234 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- cscope distdir dist dist-all distcheck
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope check recheck distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
am__tty_colors_dummy = \
mgn= red= grn= lgn= blu= brg= std=; \
am__color_tests=no
-am__tty_colors = $(am__tty_colors_dummy)
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red=''; \
+ grn=''; \
+ lgn=''; \
+ blu=''; \
+ mgn=''; \
+ brg=''; \
+ std=''; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../../build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
@@ -335,7 +555,7 @@ all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
-.SUFFIXES: .c .o .obj
+.SUFFIXES: .c .log .o .obj .test .test$(EXEEXT) .trs
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@@ -684,7 +904,7 @@ minigzip.obj: $(ZLIB_TREE)/test/minigzip.c
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -712,31 +932,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -752,12 +954,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -769,15 +966,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -786,18 +979,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -814,98 +1005,161 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# exand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS) $(dist_check_SCRIPTS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
$(am__remove_distdir)
@@ -1119,6 +1373,9 @@ install-strip:
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
@@ -1204,27 +1461,25 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
+.MAKE: $(am__recursive_targets) all check-am install-am install-strip
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-TESTS check-am clean \
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-TESTS check-am clean \
clean-checkPROGRAMS clean-cscope clean-generic \
- clean-noinstLIBRARIES cscope cscopelist cscopelist-recursive \
- ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
- dist-hook dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
- distcheck distclean distclean-compile distclean-generic \
- distclean-hdr distclean-tags distcleancheck distdir \
- distuninstallcheck dvi dvi-am html html-am info info-am \
- install install-am install-data install-data-am install-dvi \
- install-dvi-am install-exec install-exec-am install-html \
- install-html-am install-info install-info-am install-man \
- install-pdf install-pdf-am install-ps install-ps-am \
- install-strip installcheck installcheck-am installdirs \
- installdirs-am maintainer-clean maintainer-clean-generic \
- mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
- ps ps-am tags tags-recursive uninstall uninstall-am
+ clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am dist \
+ dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
+ dist-tarZ dist-xz dist-zip distcheck distclean \
+ distclean-compile distclean-generic distclean-hdr \
+ distclean-tags distcleancheck distdir distuninstallcheck dvi \
+ dvi-am html html-am info info-am install install-am \
+ install-data install-data-am install-dvi install-dvi-am \
+ install-exec install-exec-am install-html install-html-am \
+ install-info install-info-am install-man install-pdf \
+ install-pdf-am install-ps install-ps-am install-strip \
+ installcheck installcheck-am installdirs installdirs-am \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
+ recheck tags tags-am uninstall uninstall-am
# Rebuild
diff --git a/Build/source/libs/zlib/aclocal.m4 b/Build/source/libs/zlib/aclocal.m4
index a654afff4eb..2598ff82507 100644
--- a/Build/source/libs/zlib/aclocal.m4
+++ b/Build/source/libs/zlib/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/zlib/configure b/Build/source/libs/zlib/configure
index df7bb123167..584e3e3cf85 100755
--- a/Build/source/libs/zlib/configure
+++ b/Build/source/libs/zlib/configure
@@ -2127,7 +2127,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2311,8 +2311,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -6701,7 +6701,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/zlib/include/Makefile.in b/Build/source/libs/zlib/include/Makefile.in
index 60dc83c5295..25dfdabcb1c 100644
--- a/Build/source/libs/zlib/include/Makefile.in
+++ b/Build/source/libs/zlib/include/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -47,8 +47,8 @@ POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/../../m4/kpse-common.m4 \
@@ -80,6 +80,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -214,11 +215,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -356,15 +355,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \
diff --git a/Build/source/libs/zziplib/Makefile.in b/Build/source/libs/zziplib/Makefile.in
index f4094247389..5321124549f 100644
--- a/Build/source/libs/zziplib/Makefile.in
+++ b/Build/source/libs/zziplib/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -52,18 +52,19 @@ build_triplet = @build@
host_triplet = @host@
@build_TRUE@check_PROGRAMS = unzzip$(EXEEXT)
subdir = .
-DIST_COMMON = README $(am__configure_deps) \
- $(am__dist_check_SCRIPTS_DIST) $(srcdir)/Makefile.am \
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
- $(top_srcdir)/../../build-aux/config.guess \
- $(top_srcdir)/../../build-aux/config.sub \
+DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
+ $(top_srcdir)/configure $(am__configure_deps) \
+ $(srcdir)/config.h.in $(am__dist_check_SCRIPTS_DIST) \
$(top_srcdir)/../../build-aux/depcomp \
- $(top_srcdir)/../../build-aux/install-sh \
- $(top_srcdir)/../../build-aux/missing $(top_srcdir)/configure \
+ $(top_srcdir)/../../build-aux/test-driver ChangeLog README \
../../build-aux/config.guess ../../build-aux/config.sub \
../../build-aux/depcomp ../../build-aux/install-sh \
- ../../build-aux/ltmain.sh ../../build-aux/missing \
- ../../build-aux/texinfo.tex ../../build-aux/ylwrap ChangeLog
+ ../../build-aux/missing ../../build-aux/texinfo.tex \
+ ../../build-aux/ylwrap ../../build-aux/ltmain.sh \
+ $(top_srcdir)/../../build-aux/config.guess \
+ $(top_srcdir)/../../build-aux/config.sub \
+ $(top_srcdir)/../../build-aux/install-sh \
+ $(top_srcdir)/../../build-aux/missing
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_sys_largefile_sensitive.m4 \
$(top_srcdir)/m4/ax_prefix_config_h.m4 \
@@ -132,13 +133,14 @@ am__v_CCLD_0 = @echo " CCLD " $@;
am__v_CCLD_1 =
SOURCES = $(nodist_libzzip_a_SOURCES) $(nodist_unzzip_SOURCES)
DIST_SOURCES =
-RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
- html-recursive info-recursive install-data-recursive \
- install-dvi-recursive install-exec-recursive \
- install-html-recursive install-info-recursive \
- install-pdf-recursive install-ps-recursive install-recursive \
- installcheck-recursive installdirs-recursive pdf-recursive \
- ps-recursive uninstall-recursive
+RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
+ ctags-recursive dvi-recursive html-recursive info-recursive \
+ install-data-recursive install-dvi-recursive \
+ install-exec-recursive install-html-recursive \
+ install-info-recursive install-pdf-recursive \
+ install-ps-recursive install-recursive installcheck-recursive \
+ installdirs-recursive pdf-recursive ps-recursive \
+ tags-recursive uninstall-recursive
am__can_run_installinfo = \
case $$AM_UPDATE_INFO_DIR in \
n|no|NO) false;; \
@@ -146,16 +148,234 @@ am__can_run_installinfo = \
esac
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
distclean-recursive maintainer-clean-recursive
-AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
- $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
- cscope distdir dist dist-all distcheck
+am__recursive_targets = \
+ $(RECURSIVE_TARGETS) \
+ $(RECURSIVE_CLEAN_TARGETS) \
+ $(am__extra_recursive_targets)
+AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
+ cscope check recheck distdir dist dist-all distcheck
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \
+ $(LISP)config.h.in
+# Read a list of newline-separated strings from the standard input,
+# and print each of them once, without duplicates. Input order is
+# *not* preserved.
+am__uniquify_input = $(AWK) '\
+ BEGIN { nonempty = 0; } \
+ { items[$$0] = 1; nonempty = 1; } \
+ END { if (nonempty) { for (i in items) print i; }; } \
+'
+# Make sure the list of sources is unique. This is necessary because,
+# e.g., the same source file might be shared among _SOURCES variables
+# for different programs/libraries.
+am__define_uniq_tagged_files = \
+ list='$(am__tagged_files)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | $(am__uniquify_input)`
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
am__tty_colors_dummy = \
mgn= red= grn= lgn= blu= brg= std=; \
am__color_tests=no
-am__tty_colors = $(am__tty_colors_dummy)
+am__tty_colors = { \
+ $(am__tty_colors_dummy); \
+ if test "X$(AM_COLOR_TESTS)" = Xno; then \
+ am__color_tests=no; \
+ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
+ am__color_tests=yes; \
+ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
+ am__color_tests=yes; \
+ fi; \
+ if test $$am__color_tests = yes; then \
+ red=''; \
+ grn=''; \
+ lgn=''; \
+ blu=''; \
+ mgn=''; \
+ brg=''; \
+ std=''; \
+ fi; \
+}
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
+am__install_max = 40
+am__nobase_strip_setup = \
+ srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
+am__nobase_strip = \
+ for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
+am__nobase_list = $(am__nobase_strip_setup); \
+ for p in $$list; do echo "$$p $$p"; done | \
+ sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
+ $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
+ if (++n[$$2] == $(am__install_max)) \
+ { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
+ END { for (dir in files) print dir, files[dir] }'
+am__base_list = \
+ sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
+ sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
+am__uninstall_files_from_dir = { \
+ test -z "$$files" \
+ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
+ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
+ $(am__cd) "$$dir" && rm -f $$files; }; \
+ }
+am__recheck_rx = ^[ ]*:recheck:[ ]*
+am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
+am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
+# A command that, given a newline-separated list of test names on the
+# standard input, print the name of the tests that are to be re-run
+# upon "make recheck".
+am__list_recheck_tests = $(AWK) '{ \
+ recheck = 1; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ { \
+ if ((getline line2 < ($$0 ".log")) < 0) \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
+ { \
+ recheck = 0; \
+ break; \
+ } \
+ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
+ { \
+ break; \
+ } \
+ }; \
+ if (recheck) \
+ print $$0; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# A command that, given a newline-separated list of test names on the
+# standard input, create the global log from their .trs and .log files.
+am__create_global_log = $(AWK) ' \
+function fatal(msg) \
+{ \
+ print "fatal: making $@: " msg | "cat >&2"; \
+ exit 1; \
+} \
+function rst_section(header) \
+{ \
+ print header; \
+ len = length(header); \
+ for (i = 1; i <= len; i = i + 1) \
+ printf "="; \
+ printf "\n\n"; \
+} \
+{ \
+ copy_in_global_log = 1; \
+ global_test_result = "RUN"; \
+ while ((rc = (getline line < ($$0 ".trs"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".trs"); \
+ if (line ~ /$(am__global_test_result_rx)/) \
+ { \
+ sub("$(am__global_test_result_rx)", "", line); \
+ sub("[ ]*$$", "", line); \
+ global_test_result = line; \
+ } \
+ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
+ copy_in_global_log = 0; \
+ }; \
+ if (copy_in_global_log) \
+ { \
+ rst_section(global_test_result ": " $$0); \
+ while ((rc = (getline line < ($$0 ".log"))) != 0) \
+ { \
+ if (rc < 0) \
+ fatal("failed to read from " $$0 ".log"); \
+ print line; \
+ }; \
+ printf "\n"; \
+ }; \
+ close ($$0 ".trs"); \
+ close ($$0 ".log"); \
+}'
+# Restructured Text title.
+am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
+# Solaris 10 'make', and several other traditional 'make' implementations,
+# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
+# by disabling -e (using the XSI extension "set +e") if it's set.
+am__sh_e_setup = case $$- in *e*) set +e;; esac
+# Default flags passed to test drivers.
+am__common_driver_flags = \
+ --color-tests "$$am__color_tests" \
+ --enable-hard-errors "$$am__enable_hard_errors" \
+ --expect-failure "$$am__expect_failure"
+# To be inserted before the command running the test. Creates the
+# directory for the log if needed. Stores in $dir the directory
+# containing $f, in $tst the test, in $log the log. Executes the
+# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
+# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
+# will run the test scripts (or their associated LOG_COMPILER, if
+# thy have one).
+am__check_pre = \
+$(am__sh_e_setup); \
+$(am__vpath_adj_setup) $(am__vpath_adj) \
+$(am__tty_colors); \
+srcdir=$(srcdir); export srcdir; \
+case "$@" in \
+ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
+ *) am__odir=.;; \
+esac; \
+test "x$$am__odir" = x"." || test -d "$$am__odir" \
+ || $(MKDIR_P) "$$am__odir" || exit $$?; \
+if test -f "./$$f"; then dir=./; \
+elif test -f "$$f"; then dir=; \
+else dir="$(srcdir)/"; fi; \
+tst=$$dir$$f; log='$@'; \
+if test -n '$(DISABLE_HARD_ERRORS)'; then \
+ am__enable_hard_errors=no; \
+else \
+ am__enable_hard_errors=yes; \
+fi; \
+case " $(XFAIL_TESTS) " in \
+ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
+ am__expect_failure=yes;; \
+ *) \
+ am__expect_failure=no;; \
+esac; \
+$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
+# A shell command to get the names of the tests scripts with any registered
+# extension removed (i.e., equivalently, the names of the test logs, with
+# the '.log' extension removed). The result is saved in the shell variable
+# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
+# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
+# since that might cause problem with VPATH rewrites for suffix-less tests.
+# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
+am__set_TESTS_bases = \
+ bases='$(TEST_LOGS)'; \
+ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
+ bases=`echo $$bases`
+RECHECK_LOGS = $(TEST_LOGS)
+TEST_SUITE_LOG = test-suite.log
+TEST_EXTENSIONS = @EXEEXT@ .test
+am__test_logs1 = $(TESTS:=.log)
+am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log)
+TEST_LOGS = $(am__test_logs2:.test.log=.log)
+TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/../../build-aux/test-driver
+TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \
+ $(TEST_LOG_FLAGS)
+am__set_b = \
+ case '$@' in \
+ */*) \
+ case '$*' in \
+ */*) b='$*';; \
+ *) b=`echo '$@' | sed 's/\.log$$//'`; \
+ esac;; \
+ *) \
+ b='$*';; \
+ esac
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
@@ -331,7 +551,7 @@ all: config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
.SUFFIXES:
-.SUFFIXES: .c .o .obj
+.SUFFIXES: .c .log .o .obj .test .test$(EXEEXT) .trs
am--refresh: Makefile
@:
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
@@ -572,7 +792,7 @@ unzzip.obj: $(ZZIPLIB_TREE)/bins/unzzip.c
# (1) if the variable is set in 'config.status', edit 'config.status'
# (which will cause the Makefiles to be regenerated when you run 'make');
# (2) otherwise, pass the desired values on the 'make' command line.
-$(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
+$(am__recursive_targets):
@fail= failcom='exit 1'; \
for f in x $$MAKEFLAGS; do \
case $$f in \
@@ -600,31 +820,13 @@ $(RECURSIVE_TARGETS) $(RECURSIVE_CLEAN_TARGETS):
if test "$$dot_seen" = "no"; then \
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
fi; test -z "$$fail"
-tags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
- done
-ctags-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
- done
-cscopelist-recursive:
- list='$(SUBDIRS)'; for subdir in $$list; do \
- test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) cscopelist); \
- done
-ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
- mkid -fID $$unique
-tags: TAGS
-
-TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
+ID: $(am__tagged_files)
+ $(am__define_uniq_tagged_files); mkid -fID $$unique
+tags: tags-recursive
+TAGS: tags
+
+tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
set x; \
here=`pwd`; \
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
@@ -640,12 +842,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
fi; \
done; \
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ $(am__define_uniq_tagged_files); \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
@@ -657,15 +854,11 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
$$unique; \
fi; \
fi
-ctags: CTAGS
-CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
- $(TAGS_FILES) $(LISP)
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
- unique=`for i in $$list; do \
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
- done | \
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
- END { if (nonempty) { for (i in files) print i; }; }'`; \
+ctags: ctags-recursive
+
+CTAGS: ctags
+ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
+ $(am__define_uniq_tagged_files); \
test -z "$(CTAGS_ARGS)$$unique" \
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
@@ -674,18 +867,16 @@ GTAGS:
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
-
cscope: cscope.files
test ! -s cscope.files \
|| $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
-
clean-cscope:
-rm -f cscope.files
+cscope.files: clean-cscope cscopelist
+cscopelist: cscopelist-recursive
-cscope.files: clean-cscope cscopelist-recursive cscopelist
-
-cscopelist: cscopelist-recursive $(HEADERS) $(SOURCES) $(LISP)
- list='$(SOURCES) $(HEADERS) $(LISP)'; \
+cscopelist-am: $(am__tagged_files)
+ list='$(am__tagged_files)'; \
case "$(srcdir)" in \
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
*) sdir=$(subdir)/$(srcdir) ;; \
@@ -702,98 +893,161 @@ distclean-tags:
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
-check-TESTS: $(TESTS)
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
- srcdir=$(srcdir); export srcdir; \
- list=' $(TESTS) '; \
- $(am__tty_colors); \
- if test -n "$$list"; then \
- for tst in $$list; do \
- if test -f ./$$tst; then dir=./; \
- elif test -f $$tst; then dir=; \
- else dir="$(srcdir)/"; fi; \
- if $(TESTS_ENVIRONMENT) $${dir}$$tst $(AM_TESTS_FD_REDIRECT); then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xpass=`expr $$xpass + 1`; \
- failed=`expr $$failed + 1`; \
- col=$$red; res=XPASS; \
- ;; \
- *) \
- col=$$grn; res=PASS; \
- ;; \
- esac; \
- elif test $$? -ne 77; then \
- all=`expr $$all + 1`; \
- case " $(XFAIL_TESTS) " in \
- *[\ \ ]$$tst[\ \ ]*) \
- xfail=`expr $$xfail + 1`; \
- col=$$lgn; res=XFAIL; \
- ;; \
- *) \
- failed=`expr $$failed + 1`; \
- col=$$red; res=FAIL; \
- ;; \
- esac; \
- else \
- skip=`expr $$skip + 1`; \
- col=$$blu; res=SKIP; \
- fi; \
- echo "$${col}$$res$${std}: $$tst"; \
- done; \
- if test "$$all" -eq 1; then \
- tests="test"; \
- All=""; \
- else \
- tests="tests"; \
- All="All "; \
+# Recover from deleted '.trs' file; this should ensure that
+# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
+# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
+# to avoid problems with "make -n".
+.log.trs:
+ rm -f $< $@
+ $(MAKE) $(AM_MAKEFLAGS) $<
+
+# Leading 'am--fnord' is there to ensure the list of targets does not
+# exand to empty, as could happen e.g. with make check TESTS=''.
+am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
+am--force-recheck:
+ @:
+
+$(TEST_SUITE_LOG): $(TEST_LOGS)
+ @$(am__set_TESTS_bases); \
+ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
+ redo_bases=`for i in $$bases; do \
+ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
+ done`; \
+ if test -n "$$redo_bases"; then \
+ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
+ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
+ if $(am__make_dryrun); then :; else \
+ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
fi; \
- if test "$$failed" -eq 0; then \
- if test "$$xfail" -eq 0; then \
- banner="$$All$$all $$tests passed"; \
- else \
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
- fi; \
- else \
- if test "$$xpass" -eq 0; then \
- banner="$$failed of $$all $$tests failed"; \
+ fi; \
+ if test -n "$$am__remaking_logs"; then \
+ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
+ "recursion detected" >&2; \
+ else \
+ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
+ fi; \
+ if $(am__make_dryrun); then :; else \
+ st=0; \
+ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
+ for i in $$redo_bases; do \
+ test -f $$i.trs && test -r $$i.trs \
+ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \
+ test -f $$i.log && test -r $$i.log \
+ || { echo "$$errmsg $$i.log" >&2; st=1; }; \
+ done; \
+ test $$st -eq 0 || exit 1; \
+ fi
+ @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
+ ws='[ ]'; \
+ results=`for b in $$bases; do echo $$b.trs; done`; \
+ test -n "$$results" || results=/dev/null; \
+ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
+ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
+ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
+ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
+ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
+ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
+ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
+ if test `expr $$fail + $$xpass + $$error` -eq 0; then \
+ success=true; \
+ else \
+ success=false; \
+ fi; \
+ br='==================='; br=$$br$$br$$br$$br; \
+ result_count () \
+ { \
+ if test x"$$1" = x"--maybe-color"; then \
+ maybe_colorize=yes; \
+ elif test x"$$1" = x"--no-color"; then \
+ maybe_colorize=no; \
else \
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
+ echo "$@: invalid 'result_count' usage" >&2; exit 4; \
fi; \
- fi; \
- dashes="$$banner"; \
- skipped=""; \
- if test "$$skip" -ne 0; then \
- if test "$$skip" -eq 1; then \
- skipped="($$skip test was not run)"; \
+ shift; \
+ desc=$$1 count=$$2; \
+ if test $$maybe_colorize = yes && test $$count -gt 0; then \
+ color_start=$$3 color_end=$$std; \
else \
- skipped="($$skip tests were not run)"; \
+ color_start= color_end=; \
fi; \
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$skipped"; \
- fi; \
- report=""; \
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
- report="Please report to $(PACKAGE_BUGREPORT)"; \
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
- dashes="$$report"; \
- fi; \
- dashes=`echo "$$dashes" | sed s/./=/g`; \
- if test "$$failed" -eq 0; then \
- col="$$grn"; \
- else \
- col="$$red"; \
- fi; \
- echo "$${col}$$dashes$${std}"; \
- echo "$${col}$$banner$${std}"; \
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
- test -z "$$report" || echo "$${col}$$report$${std}"; \
- echo "$${col}$$dashes$${std}"; \
- test "$$failed" -eq 0; \
- else :; fi
+ echo "$${color_start}# $$desc $$count$${color_end}"; \
+ }; \
+ create_testsuite_report () \
+ { \
+ result_count $$1 "TOTAL:" $$all "$$brg"; \
+ result_count $$1 "PASS: " $$pass "$$grn"; \
+ result_count $$1 "SKIP: " $$skip "$$blu"; \
+ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
+ result_count $$1 "FAIL: " $$fail "$$red"; \
+ result_count $$1 "XPASS:" $$xpass "$$red"; \
+ result_count $$1 "ERROR:" $$error "$$mgn"; \
+ }; \
+ { \
+ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
+ $(am__rst_title); \
+ create_testsuite_report --no-color; \
+ echo; \
+ echo ".. contents:: :depth: 2"; \
+ echo; \
+ for b in $$bases; do echo $$b; done \
+ | $(am__create_global_log); \
+ } >$(TEST_SUITE_LOG).tmp || exit 1; \
+ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
+ if $$success; then \
+ col="$$grn"; \
+ else \
+ col="$$red"; \
+ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
+ fi; \
+ echo "$${col}$$br$${std}"; \
+ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \
+ echo "$${col}$$br$${std}"; \
+ create_testsuite_report --maybe-color; \
+ echo "$$col$$br$$std"; \
+ if $$success; then :; else \
+ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
+ if test -n "$(PACKAGE_BUGREPORT)"; then \
+ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
+ fi; \
+ echo "$$col$$br$$std"; \
+ fi; \
+ $$success || exit 1
+
+check-TESTS:
+ @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
+ @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ trs_list=`for i in $$bases; do echo $$i.trs; done`; \
+ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
+ exit $$?;
+recheck: all $(check_PROGRAMS) $(dist_check_SCRIPTS)
+ @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
+ @set +e; $(am__set_TESTS_bases); \
+ bases=`for i in $$bases; do echo $$i; done \
+ | $(am__list_recheck_tests)` || exit 1; \
+ log_list=`for i in $$bases; do echo $$i.log; done`; \
+ log_list=`echo $$log_list`; \
+ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
+ am__force_recheck=am--force-recheck \
+ TEST_LOGS="$$log_list"; \
+ exit $$?
+.test.log:
+ @p='$<'; \
+ $(am__set_b); \
+ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+ --log-file $$b.log --trs-file $$b.trs \
+ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+ "$$tst" $(AM_TESTS_FD_REDIRECT)
+@am__EXEEXT_TRUE@.test$(EXEEXT).log:
+@am__EXEEXT_TRUE@ @p='$<'; \
+@am__EXEEXT_TRUE@ $(am__set_b); \
+@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \
+@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \
+@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \
+@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT)
distdir: $(DISTFILES)
$(am__remove_distdir)
@@ -1007,6 +1261,9 @@ install-strip:
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
fi
mostlyclean-generic:
+ -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
+ -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
+ -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
clean-generic:
@@ -1091,28 +1348,25 @@ ps-am:
uninstall-am:
-.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) all check-am \
- cscopelist-recursive ctags-recursive install-am install-strip \
- tags-recursive
+.MAKE: $(am__recursive_targets) all check-am install-am install-strip
-.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
- all all-am am--refresh check check-TESTS check-am clean \
+.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
+ am--refresh check check-TESTS check-am clean \
clean-checkPROGRAMS clean-cscope clean-generic \
- clean-noinstLIBRARIES cscope cscopelist cscopelist-recursive \
- ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
- dist-hook dist-lzip dist-shar dist-tarZ dist-xz dist-zip \
- distcheck distclean distclean-compile distclean-generic \
- distclean-hdr distclean-local distclean-tags distcleancheck \
- distdir distuninstallcheck dvi dvi-am html html-am info \
- info-am install install-am install-data install-data-am \
- install-dvi install-dvi-am install-exec install-exec-am \
- install-html install-html-am install-info install-info-am \
- install-man install-pdf install-pdf-am install-ps \
- install-ps-am install-strip installcheck installcheck-am \
- installdirs installdirs-am maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-compile \
- mostlyclean-generic pdf pdf-am ps ps-am tags tags-recursive \
- uninstall uninstall-am
+ clean-noinstLIBRARIES cscope cscopelist-am ctags ctags-am dist \
+ dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \
+ dist-tarZ dist-xz dist-zip distcheck distclean \
+ distclean-compile distclean-generic distclean-hdr \
+ distclean-local distclean-tags distcleancheck distdir \
+ distuninstallcheck dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ installdirs-am maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \
+ ps ps-am recheck tags tags-am uninstall uninstall-am
# Rebuild
diff --git a/Build/source/libs/zziplib/aclocal.m4 b/Build/source/libs/zziplib/aclocal.m4
index 83b8b437b25..6c3e9131703 100644
--- a/Build/source/libs/zziplib/aclocal.m4
+++ b/Build/source/libs/zziplib/aclocal.m4
@@ -1,4 +1,4 @@
-# generated automatically by aclocal 1.12.6 -*- Autoconf -*-
+# generated automatically by aclocal 1.13 -*- Autoconf -*-
# Copyright (C) 1996-2012 Free Software Foundation, Inc.
@@ -11,6 +11,7 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
+m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4_defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])])
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
@@ -31,10 +32,10 @@ To do so, use the procedure documented by the package, typically 'autoreconf'.])
# generated from the m4 files accompanying Automake X.Y.
# (This private macro should not be called outside this file.)
AC_DEFUN([AM_AUTOMAKE_VERSION],
-[am__api_version='1.12'
+[am__api_version='1.13'
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
dnl require some minimum version. Point them to the right macro.
-m4_if([$1], [1.12.6], [],
+m4_if([$1], [1.13], [],
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
])
@@ -50,7 +51,7 @@ m4_define([_AM_AUTOCONF_VERSION], [])
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
-[AM_AUTOMAKE_VERSION([1.12.6])dnl
+[AM_AUTOMAKE_VERSION([1.13])dnl
m4_ifndef([AC_AUTOCONF_VERSION],
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
@@ -343,7 +344,7 @@ _AM_SUBST_NOTMAKE([am__nodep])dnl
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
@@ -429,7 +430,7 @@ AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
# arguments mandatory, and then we can depend on a new Autoconf
# release and drop the old call support.
AC_DEFUN([AM_INIT_AUTOMAKE],
-[AC_PREREQ([2.62])dnl
+[AC_PREREQ([2.65])dnl
dnl Autoconf wants to disallow AM_ names. We explicitly allow
dnl the ones we care about.
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
@@ -459,8 +460,7 @@ AC_SUBST([CYGPATH_W])
dnl Distinguish between old-style and new-style calls.
m4_ifval([$2],
[AC_DIAGNOSE([obsolete],
-[$0: two- and three-arguments forms are deprecated. For more info, see:
-http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation])
+ [$0: two- and three-arguments forms are deprecated.])
m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
AC_SUBST([PACKAGE], [$1])dnl
AC_SUBST([VERSION], [$2])],
@@ -514,18 +514,15 @@ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
[_AM_DEPENDENCIES([OBJC])],
[m4_define([AC_PROG_OBJC],
m4_defn([AC_PROG_OBJC])[_AM_DEPENDENCIES([OBJC])])])dnl
-dnl Support for Objective C++ was only introduced in Autoconf 2.65,
-dnl but we still cater to Autoconf 2.62.
-m4_ifdef([AC_PROG_OBJCXX],
-[AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
+AC_PROVIDE_IFELSE([AC_PROG_OBJCXX],
[_AM_DEPENDENCIES([OBJCXX])],
[m4_define([AC_PROG_OBJCXX],
- m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])])dnl
+ m4_defn([AC_PROG_OBJCXX])[_AM_DEPENDENCIES([OBJCXX])])])dnl
])
-_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
-dnl The 'parallel-tests' driver may need to know about EXEEXT, so add the
-dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
-dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
+AC_REQUIRE([AM_SILENT_RULES])dnl
+dnl The testsuite driver may need to know about EXEEXT, so add the
+dnl 'am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This
+dnl macro is hooked onto _AC_COMPILER_EXEEXT early, see below.
AC_CONFIG_COMMANDS_PRE(dnl
[m4_provide_if([_AM_COMPILER_EXEEXT],
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
@@ -635,8 +632,6 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
]
)
-AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-
# Check to see how 'make' treats includes. -*- Autoconf -*-
# Copyright (C) 2001-2012 Free Software Foundation, Inc.
@@ -704,8 +699,8 @@ AC_SUBST($1)])
# AM_MISSING_HAS_RUN
# ------------------
-# Define MISSING if not defined so far and test if it supports --run.
-# If it does, set am_missing_run to use it, otherwise, to nothing.
+# Define MISSING if not defined so far and test if it is modern enough.
+# If it is, set am_missing_run to use it, otherwise, to nothing.
AC_DEFUN([AM_MISSING_HAS_RUN],
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
AC_REQUIRE_AUX_FILE([missing])dnl
@@ -718,8 +713,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
AC_MSG_WARN(['missing' script is too old or missing])
diff --git a/Build/source/libs/zziplib/configure b/Build/source/libs/zziplib/configure
index 5620114969e..2df1a9e1312 100755
--- a/Build/source/libs/zziplib/configure
+++ b/Build/source/libs/zziplib/configure
@@ -2458,7 +2458,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
-am__api_version='1.12'
+am__api_version='1.13'
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
@@ -2642,8 +2642,8 @@ if test x"${MISSING+set}" != xset; then
esac
fi
# Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
- am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+ am_missing_run="$MISSING "
else
am_missing_run=
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
@@ -7904,7 +7904,7 @@ $as_echo "$as_me: executing $ac_file commands" >&6;}
case $ac_file$ac_mode in
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
- # Autoconf 2.62 quotes --file arguments for eval, but not when files
+ # Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
diff --git a/Build/source/libs/zziplib/include/zzip/Makefile.in b/Build/source/libs/zziplib/include/zzip/Makefile.in
index a1c7e4ace11..9221ef002e6 100644
--- a/Build/source/libs/zziplib/include/zzip/Makefile.in
+++ b/Build/source/libs/zziplib/include/zzip/Makefile.in
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.12.6 from Makefile.am.
+# Makefile.in generated by automake 1.13 from Makefile.am.
# @configure_input@
# Copyright (C) 1994-2012 Free Software Foundation, Inc.
@@ -49,8 +49,8 @@ PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
- $(top_srcdir)/../am/hdr_links.am
+DIST_COMMON = $(top_srcdir)/../am/hdr_links.am $(srcdir)/Makefile.in \
+ $(srcdir)/Makefile.am
subdir = include/zzip
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/m4/ac_sys_largefile_sensitive.m4 \
@@ -85,6 +85,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
+am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
ACLOCAL = @ACLOCAL@
AMTAR = @AMTAR@
@@ -239,11 +240,9 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
-tags: TAGS
-TAGS:
+tags TAGS:
-ctags: CTAGS
-CTAGS:
+ctags CTAGS:
cscope cscopelist:
@@ -381,15 +380,16 @@ uninstall-am:
.MAKE: install-am install-strip
.PHONY: all all-am all-local check check-am clean clean-generic \
- distclean distclean-generic distclean-local distdir dvi dvi-am \
- html html-am info info-am install install-am install-data \
- install-data-am install-dvi install-dvi-am install-exec \
- install-exec-am install-html install-html-am install-info \
- install-info-am install-man install-pdf install-pdf-am \
- install-ps install-ps-am install-strip installcheck \
- installcheck-am installdirs maintainer-clean \
- maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- pdf-am ps ps-am uninstall uninstall-am
+ cscopelist-am ctags-am distclean distclean-generic \
+ distclean-local distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-dvi \
+ install-dvi-am install-exec install-exec-am install-html \
+ install-html-am install-info install-info-am install-man \
+ install-pdf install-pdf-am install-ps install-ps-am \
+ install-strip installcheck installcheck-am installdirs \
+ maintainer-clean maintainer-clean-generic mostlyclean \
+ mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
+ uninstall-am
all-local:
@for file in $(hdr_links); do \