[poppler] 5 commits - CMakeLists.txt configure.ac cpp/Doxyfile NEWS qt4/src qt5/src utils/pdfseparate.cc

Pino Toscano pino at kemper.freedesktop.org
Mon Sep 16 10:54:15 PDT 2013


 CMakeLists.txt        |    2 +-
 NEWS                  |   23 +++++++++++++++++++++++
 configure.ac          |    2 +-
 cpp/Doxyfile          |    2 +-
 qt4/src/Doxyfile      |    2 +-
 qt5/src/Doxyfile      |    2 +-
 qt5/src/poppler-qt5.h |    2 +-
 utils/pdfseparate.cc  |    4 ++--
 8 files changed, 31 insertions(+), 8 deletions(-)

New commits:
commit 0f074b16317d874fe58d7042f8434282786ca757
Merge: d277432 b8682d8
Author: Pino Toscano <pino at kde.org>
Date:   Mon Sep 16 19:53:10 2013 +0200

    Merge remote-tracking branch 'origin/poppler-0.24'
    
    Conflicts:
    	utils/pdfimages.1

commit b8682d868ddf7f741e93b791588af0932893f95c
Author: Pino Toscano <pino at kde.org>
Date:   Mon Sep 16 19:46:55 2013 +0200

    pdfseparate: improve the path building
    
    Make use of snprintf to limit the output to the pathName buffer;
    while I'm there, expand its size to 4096 (might help longer paths),
    although a better fix would be dynamically allocate its length
    (and/or using GooString, maybe).

diff --git a/utils/pdfseparate.cc b/utils/pdfseparate.cc
index 35ae020..e41e547 100644
--- a/utils/pdfseparate.cc
+++ b/utils/pdfseparate.cc
@@ -44,7 +44,7 @@ static const ArgDesc argDesc[] = {
 };
 
 bool extractPages (const char *srcFileName, const char *destFileName) {
-  char pathName[1024];
+  char pathName[4096];
   GooString *gfileName = new GooString (srcFileName);
   PDFDoc *doc = new PDFDoc (gfileName, NULL, NULL, NULL);
 
@@ -66,7 +66,7 @@ bool extractPages (const char *srcFileName, const char *destFileName) {
     return false;
   }
   for (int pageNo = firstPage; pageNo <= lastPage; pageNo++) {
-    sprintf (pathName, destFileName, pageNo);
+    snprintf (pathName, sizeof (pathName) - 1, destFileName, pageNo);
     GooString *gpageName = new GooString (pathName);
     int errCode = doc->savePageAs(gpageName, pageNo);
     if ( errCode != errNone) {
commit 563da2d375c003478d398897796ecbf45ce03482
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Aug 26 22:33:10 2013 +0200

    0.24.1

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0da8c6d..96fb5da 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,7 +18,7 @@ CHECK_FILE_OFFSET_BITS()
 
 set(POPPLER_MAJOR_VERSION "0")
 set(POPPLER_MINOR_VERSION "24")
-set(POPPLER_MICRO_VERSION "0")
+set(POPPLER_MICRO_VERSION "1")
 set(POPPLER_VERSION "${POPPLER_MAJOR_VERSION}.${POPPLER_MINOR_VERSION}.${POPPLER_MICRO_VERSION}")
 
 # command line switches
diff --git a/NEWS b/NEWS
index 7254e3a..e1f7cfe 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,26 @@
+Release 0.24.1
+        core:
+         * SplashOutputDev: use getRGBLine images if available. Bug #66928
+         * SplashOutputDev: Don't copy bitmap if we don't need to.
+         * PSOutputDev: Fix regression in -eps -level1sep rendering. Bug #68321
+         * Fix crash in malformed file 1026.asan.0.42.pdf
+         * use copyString instead of strdup where memory is freed with gfree. Bug #67666
+
+        utils:
+         * pdfdetach: don't mention xpdfrc
+         * pdftotext: Fix -bbox with stdin as input. Bug #45163
+         * pdftohtml: Fix jpeg image export. Bug #48270
+         * pdfimages: Fix typos in man page
+
+        glib:
+         * demo: Remove GTK_DISABLE_DEPRECATED compilation flag
+
+        qt4:
+         * Fix small typo in documentation
+
+        qt5:
+         * Fix small typo in documentation
+
 Release 0.24.0
         core:
          * TextOutputDev: Do not draw ligatures more than once when selected. Bug #9001
diff --git a/configure.ac b/configure.ac
index 6f37067..3d23656 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
 m4_define([poppler_version_major],[0])
 m4_define([poppler_version_minor],[24])
-m4_define([poppler_version_micro],[0])
+m4_define([poppler_version_micro],[1])
 m4_define([poppler_version],[poppler_version_major.poppler_version_minor.poppler_version_micro])
 
 AC_PREREQ(2.59)
diff --git a/cpp/Doxyfile b/cpp/Doxyfile
index db1fcc0..09f69a3 100644
--- a/cpp/Doxyfile
+++ b/cpp/Doxyfile
@@ -31,7 +31,7 @@ PROJECT_NAME           = "Poppler CPP"
 # This could be handy for archiving the generated documentation or
 # if some version control system is used.
 
-PROJECT_NUMBER         = 0.24.0
+PROJECT_NUMBER         = 0.24.1
 
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
 # base path where the generated documentation will be put.
diff --git a/qt4/src/Doxyfile b/qt4/src/Doxyfile
index f7c74e5..fbc59e4 100644
--- a/qt4/src/Doxyfile
+++ b/qt4/src/Doxyfile
@@ -31,7 +31,7 @@ PROJECT_NAME           = "Poppler Qt4 "
 # This could be handy for archiving the generated documentation or
 # if some version control system is used.
 
-PROJECT_NUMBER         = 0.24.0
+PROJECT_NUMBER         = 0.24.1
 
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
 # base path where the generated documentation will be put.
diff --git a/qt5/src/Doxyfile b/qt5/src/Doxyfile
index b465cc4..1c3b18f 100644
--- a/qt5/src/Doxyfile
+++ b/qt5/src/Doxyfile
@@ -31,7 +31,7 @@ PROJECT_NAME           = "Poppler Qt5"
 # This could be handy for archiving the generated documentation or
 # if some version control system is used.
 
-PROJECT_NUMBER         = 0.24.0
+PROJECT_NUMBER         = 0.24.1
 
 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
 # base path where the generated documentation will be put.
commit 2c73f1ea9116172692d8350cb7adf1b5376f795c
Author: Albert Astals Cid <aacid at kde.org>
Date:   Mon Aug 26 21:50:51 2013 +0200

    Fix typo

diff --git a/qt5/src/poppler-qt5.h b/qt5/src/poppler-qt5.h
index bf820a1..0eb0b44 100644
--- a/qt5/src/poppler-qt5.h
+++ b/qt5/src/poppler-qt5.h
@@ -104,7 +104,7 @@ namespace Poppler {
     public:
       /**
 	 The default constructor sets the \p text and the rectangle that
-	 contains the text. Coordinated for the \p bBox are in points =
+	 contains the text. Coordinates for the \p bBox are in points =
 	 1/72 of an inch.
       */
       TextBox(const QString& text, const QRectF &bBox);
commit 16da389c61c495111a5a49f62539a423a0655c28
Author: Adrian Johnson <ajohnson at redneon.com>
Date:   Mon Aug 26 07:50:51 2013 +0930

    fix typo in pdfimages.1

diff --git a/utils/pdfimages.1 b/utils/pdfimages.1
index 955d8b3..2929eca 100644
--- a/utils/pdfimages.1
+++ b/utils/pdfimages.1
@@ -40,7 +40,7 @@ Instead of writing the images, list the images along with various information fo
 .IR image-root
 with this option.
 .IP
-The following information is listed for each font:
+The following information is listed for each image:
 .RS
 .TP
 .B page
@@ -133,7 +133,7 @@ ccitt - CCITT Group 3 or Group 4 Fax
 "yes" if the interpolation is to be performed when scaling up the image
 .TP
 .B object ID
-the font dictionary object ID (number and generation)
+the image dictionary object ID (number and generation)
 .RE
 .TP
 .BI \-opw " password"


More information about the poppler mailing list