[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * Pod-Simple-Texinfo/pod2texi.pl (_parsed_manual_
From: |
Patrice Dumas |
Subject: |
branch master updated: * Pod-Simple-Texinfo/pod2texi.pl (_parsed_manual_tree) (_fix_texinfo_tree): comment out calls to Texinfo::Document::rebuild_document. |
Date: |
Sun, 10 Mar 2024 19:26:21 -0400 |
This is an automated email from the git hooks/post-receive script.
pertusus pushed a commit to branch master
in repository texinfo.
The following commit(s) were added to refs/heads/master by this push:
new 162a33a98c * Pod-Simple-Texinfo/pod2texi.pl (_parsed_manual_tree)
(_fix_texinfo_tree): comment out calls to Texinfo::Document::rebuild_document.
162a33a98c is described below
commit 162a33a98c97e0ddc1cde768e7bffb298cf0d368
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Mar 11 00:26:24 2024 +0100
* Pod-Simple-Texinfo/pod2texi.pl (_parsed_manual_tree)
(_fix_texinfo_tree): comment out calls to
Texinfo::Document::rebuild_document.
* tp/Texinfo/XS/convert/ConvertXS.xs: comments for unused overrides.
---
ChangeLog | 8 ++++++++
Pod-Simple-Texinfo/pod2texi.pl | 4 ++--
tp/Texinfo/XS/convert/ConvertXS.xs | 6 ++++--
3 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6de357042e..a09f37b7f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2024-03-10 Patrice Dumas <pertusus@free.fr>
+
+ * Pod-Simple-Texinfo/pod2texi.pl (_parsed_manual_tree)
+ (_fix_texinfo_tree): comment out calls to
+ Texinfo::Document::rebuild_document.
+
+ * tp/Texinfo/XS/convert/ConvertXS.xs: comments for unused overrides.
+
2024-03-10 Patrice Dumas <pertusus@free.fr>
* po/Makevars (XGETTEXT_OPTIONS), tp/Texinfo/XS/main/errors.c
diff --git a/Pod-Simple-Texinfo/pod2texi.pl b/Pod-Simple-Texinfo/pod2texi.pl
index 62f992a5c4..36bb4d9ab4 100755
--- a/Pod-Simple-Texinfo/pod2texi.pl
+++ b/Pod-Simple-Texinfo/pod2texi.pl
@@ -303,7 +303,7 @@ sub _parsed_manual_tree($$$$$)
if ($section_nodes) {
Texinfo::Transformations::insert_nodes_for_sectioning_commands(
$document, $texi_parser);
- Texinfo::Document::rebuild_document($document);
+ #Texinfo::Document::rebuild_document($document);
}
}
Texinfo::Structuring::sectioning_structure($document, $texi_parser);
@@ -359,7 +359,7 @@ sub _fix_texinfo_tree($$$$;$$)
}
}
}
- Texinfo::Document::rebuild_document($document);
+ #Texinfo::Document::rebuild_document($document);
return ($texi_parser, $document);
}
diff --git a/tp/Texinfo/XS/convert/ConvertXS.xs
b/tp/Texinfo/XS/convert/ConvertXS.xs
index 1429311653..e2de5f49e8 100644
--- a/tp/Texinfo/XS/convert/ConvertXS.xs
+++ b/tp/Texinfo/XS/convert/ConvertXS.xs
@@ -985,8 +985,8 @@ html_get_file_information (SV *converter_in, key, ...)
PUSHs(sv_2mortal(result_sv));
# Note that the target information returned is partial, no tree in particular,
-# but it is not an issue as this override is called only in a specific case
-# directly, in general it is only called through the *command* functions below.
+# but it is not an issue as this override should not be called, as the
+# Perl function only appears in overriden functions.
SV *
html_get_target (SV *converter_in, SV *element_sv)
PREINIT:
@@ -2225,6 +2225,8 @@ html_convert_output (SV *converter_in, SV *document_in,
SV *output_units_in, SV
OUTPUT:
RETVAL
+# Note that this override is never called as the Perl function is only
+# called in an overriden function
SV *
html_prepare_node_redirection_page (SV *converter_in, SV *element_sv,
redirection_filename)
const char *redirection_filename = (char *)SvPVutf8_nolen($arg);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * Pod-Simple-Texinfo/pod2texi.pl (_parsed_manual_tree) (_fix_texinfo_tree): comment out calls to Texinfo::Document::rebuild_document.,
Patrice Dumas <=
- Prev by Date:
branch master updated: * po/Makevars (XGETTEXT_OPTIONS), tp/Texinfo/XS/main/errors.c (vmessage_list_line_error, message_list_command_warn) (pmessage_list_command_warn): add a translation context to vmessage_list_line_error. Add the pmessage_list_command_warn function with a translation context and continuation. Add a continuation argument for message_list_command_warn. Update callers.
- Next by Date:
branch master updated: * Pod-Simple-Texinfo/lib/Pod/Simple/Texinfo.pm, tp/t/automatic_menus.t, tp/t/convert_to_text.t, tp/t/index_before_item.t, tp/t/reference_to_text_in_tree.t, tp/t/test_fill_gaps_in_sectioning.t, tp/t/test_tree_copy.t: call tree() to rebuild the tree from a document instead of using Texinfo::Document::rebuild_tree.
- Previous by thread:
branch master updated: * po/Makevars (XGETTEXT_OPTIONS), tp/Texinfo/XS/main/errors.c (vmessage_list_line_error, message_list_command_warn) (pmessage_list_command_warn): add a translation context to vmessage_list_line_error. Add the pmessage_list_command_warn function with a translation context and continuation. Add a continuation argument for message_list_command_warn. Update callers.
- Next by thread:
branch master updated: * Pod-Simple-Texinfo/lib/Pod/Simple/Texinfo.pm, tp/t/automatic_menus.t, tp/t/convert_to_text.t, tp/t/index_before_item.t, tp/t/reference_to_text_in_tree.t, tp/t/test_fill_gaps_in_sectioning.t, tp/t/test_tree_copy.t: call tree() to rebuild the tree from a document instead of using Texinfo::Document::rebuild_tree.
- Index(es):