texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: * tp/Texinfo/Convert/HTML.pm (%XS_conversion_over


From: Patrice Dumas
Subject: branch master updated: * tp/Texinfo/Convert/HTML.pm (%XS_conversion_overrides, _init_output): remove call to _XS_reset_output_init_conf, the function and the override. The whole _init_output function is already overriden.
Date: Mon, 30 Sep 2024 14:59:36 -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 7e70f2b101 * tp/Texinfo/Convert/HTML.pm (%XS_conversion_overrides, 
_init_output): remove call to _XS_reset_output_init_conf, the function and the 
override.  The whole _init_output function is already overriden.
7e70f2b101 is described below

commit 7e70f2b10116023398bda51c8165c50bf3879e2c
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Mon Jul 22 09:51:38 2024 +0200

    * tp/Texinfo/Convert/HTML.pm (%XS_conversion_overrides, _init_output):
    remove call to _XS_reset_output_init_conf, the function and the
    override.  The whole _init_output function is already overriden.
---
 ChangeLog                                       | 6 ++++++
 tp/Texinfo/Convert/HTML.pm                      | 8 --------
 tp/Texinfo/XS/convert/ConvertXS.xs              | 1 +
 tp/Texinfo/XS/convert/get_converter_perl_info.c | 1 +
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7da8aabb91..61ca180332 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,12 @@
 
        Update test results
 
+2024-07-22  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/HTML.pm (%XS_conversion_overrides, _init_output):
+       remove call to _XS_reset_output_init_conf, the function and the
+       override.  The whole _init_output function is already overriden.
+
 2024-07-22  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/HTML.pm (_initialize_output_state)
diff --git a/tp/Texinfo/Convert/HTML.pm b/tp/Texinfo/Convert/HTML.pm
index 0c021a2472..10d3e344d0 100644
--- a/tp/Texinfo/Convert/HTML.pm
+++ b/tp/Texinfo/Convert/HTML.pm
@@ -111,8 +111,6 @@ my %XS_conversion_overrides = (
    => "Texinfo::Convert::ConvertXS::html_init_output",
   "Texinfo::Convert::HTML::conversion_finalization"
    => "Texinfo::Convert::ConvertXS::html_conversion_finalization",
-  "Texinfo::Convert::HTML::_XS_reset_output_init_conf"
-   => "Texinfo::Convert::ConvertXS::reset_output_init_conf",
   "Texinfo::Convert::HTML::_prepare_simpletitle"
    => "Texinfo::Convert::ConvertXS::html_prepare_simpletitle",
   "Texinfo::Convert::HTML::_prepare_converted_output_info"
@@ -13114,10 +13112,6 @@ sub _html_convert_output($$$$$$$$)
   return $text_output;
 }
 
-sub _XS_reset_output_init_conf($)
-{
-}
-
 # as a function for XS override
 sub _prepare_node_redirection_page($$$)
 {
@@ -13402,8 +13396,6 @@ sub _init_output($)
   # would be deep copy of data and shallow copy of code references.
   # The Clone module does that, but it is not a core module.
   $self->{'output_init_conf'} = { %{$self->{'conf'}} };
-  # pass to XS.
-  _XS_reset_output_init_conf($self);
 
   my $jslicenses = {};
   if ($self->get_conf('HTML_MATH')
diff --git a/tp/Texinfo/XS/convert/ConvertXS.xs 
b/tp/Texinfo/XS/convert/ConvertXS.xs
index f7980ac4f7..6be9f1d587 100644
--- a/tp/Texinfo/XS/convert/ConvertXS.xs
+++ b/tp/Texinfo/XS/convert/ConvertXS.xs
@@ -2125,6 +2125,7 @@ html_check_htmlxref_already_warned (SV *converter_in, 
manual_name, SV *source_in
     OUTPUT:
          RETVAL
 
+# currently unused
 void
 reset_output_init_conf (SV *sv_in)
 
diff --git a/tp/Texinfo/XS/convert/get_converter_perl_info.c 
b/tp/Texinfo/XS/convert/get_converter_perl_info.c
index 481b8086c0..6dd913d473 100644
--- a/tp/Texinfo/XS/convert/get_converter_perl_info.c
+++ b/tp/Texinfo/XS/convert/get_converter_perl_info.c
@@ -235,6 +235,7 @@ converter_initialize (SV *converter_sv)
   return converter_descriptor;
 }
 
+/* currently unused */
 /* reset output_init_conf.  Can be called after it has been modified */
 void
 reset_output_init_conf (SV *sv_in)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]