[poppler] glib/poppler-action.h glib/poppler-document.cc glib/reference make-glib-api-docs

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jun 13 09:38:17 UTC 2020


 glib/poppler-action.h               |    2 +-
 glib/poppler-document.cc            |    6 +++---
 glib/reference/poppler-docs.sgml    |   17 +++++++++++++++++
 glib/reference/poppler-sections.txt |    7 +++++++
 make-glib-api-docs                  |    2 +-
 5 files changed, 29 insertions(+), 5 deletions(-)

New commits:
commit bf15ccd4861d10e2338d0b1b2a65f222eb4e9893
Author: Corentin Noël <corentin.noel at collabora.com>
Date:   Fri Jun 12 11:30:39 2020 +0200

    glib: Several fixes to the documentation
    
    Add the missing symbols and make sure that the links are correct.

diff --git a/glib/poppler-action.h b/glib/poppler-action.h
index 7e60e0b4..d2bac5cc 100644
--- a/glib/poppler-action.h
+++ b/glib/poppler-action.h
@@ -343,7 +343,7 @@ char   *poppler_named_dest_from_bytestring (const guint8 *data,
                                             gsize         length);
 
 POPPLER_PUBLIC
-guint8 *poppler_named_dest_to_bytestring   (const char   *named_dest,
+guint8 *poppler_named_dest_to_bytestring   (const char   *name,
                                             gsize        *length);
 
 G_END_DECLS
diff --git a/glib/poppler-document.cc b/glib/poppler-document.cc
index 95400d89..0501cf19 100644
--- a/glib/poppler-document.cc
+++ b/glib/poppler-document.cc
@@ -918,9 +918,9 @@ _poppler_dest_destroy_value (gpointer value)
  * Creates named destinations balanced binary tree in @document
  *
  * The tree key is strings in the form returned by
- * poppler_named_dest_bytestring() which constains a destination name.
- * The tree value is the #PopplerDest* which contains a named destination.
- * The return value must be freed with #g_tree_destroy.
+ * poppler_named_dest_to_bytestring() which constains a destination name.
+ * The tree value is the #PopplerDest which contains a named destination.
+ * The return value must be freed with g_tree_destroy().
  *
  * Returns: (transfer full) (nullable): the #GTree, or %NULL
  * Since: 0.78
diff --git a/glib/reference/poppler-docs.sgml b/glib/reference/poppler-docs.sgml
index 8960aeb8..102880ac 100644
--- a/glib/reference/poppler-docs.sgml
+++ b/glib/reference/poppler-docs.sgml
@@ -27,6 +27,7 @@
     <xi:include href="xml/poppler-errors.xml"/>
     <xi:include href="xml/poppler-pdf-utility-functions.xml"/>
     <xi:include href="xml/poppler-features.xml"/>
+    <xi:include href="xml/poppler-text-span.xml"/>
   </chapter>
 
   <index id="api-index-full">
@@ -93,10 +94,26 @@
     <title>Index of new symbols in 0.78</title>
     <xi:include href="xml/api-index-0.78.xml"><xi:fallback /></xi:include>
   </index>
+  <index id="api-index-0-80">
+    <title>Index of new symbols in 0.80</title>
+    <xi:include href="xml/api-index-0.80.xml"><xi:fallback /></xi:include>
+  </index>
+  <index id="api-index-0-82">
+    <title>Index of new symbols in 0.82</title>
+    <xi:include href="xml/api-index-0.82.xml"><xi:fallback /></xi:include>
+  </index>
   <index id="api-index-0-88">
     <title>Index of new symbols in 0.88</title>
     <xi:include href="xml/api-index-0.88.xml"><xi:fallback /></xi:include>
   </index>
+  <index id="api-index-0-89">
+    <title>Index of new symbols in 0.89</title>
+    <xi:include href="xml/api-index-0.89.xml"><xi:fallback /></xi:include>
+  </index>
+  <index id="api-index-0-90">
+    <title>Index of new symbols in 0.90</title>
+    <xi:include href="xml/api-index-0.90.xml"><xi:fallback /></xi:include>
+  </index>
 
 
   <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
diff --git a/glib/reference/poppler-sections.txt b/glib/reference/poppler-sections.txt
index f04a2c62..280b1742 100644
--- a/glib/reference/poppler-sections.txt
+++ b/glib/reference/poppler-sections.txt
@@ -150,7 +150,10 @@ PopplerPDFSubtype
 PopplerPSFile
 PopplerPageLayout
 PopplerPageMode
+PopplerPageRange
 PopplerPermissions
+PopplerPrintDuplex
+PopplerPrintScaling
 PopplerViewerPreferences
 poppler_document_create_dests_tree
 poppler_document_find_dest
@@ -289,6 +292,7 @@ PopplerActionUri
 PopplerActionNamed
 PopplerActionMovie
 PopplerActionRendition
+PopplerActionResetForm
 PopplerActionOCGState
 PopplerActionJavascript
 PopplerActionType
@@ -774,6 +778,9 @@ poppler_get_version
 <SUBSECTION Standard>
 POPPLER_TYPE_BACKEND
 poppler_backend_get_type
+
+<SUBSECTION Private>
+POPPLER_PUBLIC
 </SECTION>
 
 <SECTION>
diff --git a/make-glib-api-docs b/make-glib-api-docs
index ad9db87a..f1399910 100755
--- a/make-glib-api-docs
+++ b/make-glib-api-docs
@@ -59,7 +59,7 @@ gtkdoc = PkgConfigGTKDoc(pkgconfig_file, {
     'doc_dir': os.path.join(args.src_dir, 'glib', 'reference'),
     'output_dir': os.path.join(args.build_dir, 'glib', 'reference'),
     'main_sgml_file': 'poppler-docs.sgml',
-    'source_dirs': [os.path.join(args.src_dir, 'glib')],
+    'source_dirs': [os.path.join(args.src_dir, 'glib'), os.path.join(args.build_dir, 'glib')],
     'cflags': '-I%s' % os.path.join(args.src_dir, 'glib'),
     'ignored_files': ['poppler-private.h', 'poppler-input-stream.h', 'poppler-cached-file-loader.h', 'demo']
 })


More information about the poppler mailing list