texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Thu, 3 Oct 2024 08:03:37 -0400 (EDT)

branch: master
commit 09d293fa4beceb921c77e547c10d90638e05728f
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Oct 3 09:02:35 2024 +0200

    * tp/Texinfo/XS/main/build_perl_info.h: declare
    html_build_buttons_specification.
    
    * tp/Texinfo/XS/convert/converter_options.c
    (new_directions_list_buttons_specifications): rename
    new_texi2html_buttons_specifications as
    new_directions_list_buttons_specifications.
---
 ChangeLog                                 | 20 +++++++++++++++-----
 tp/Texinfo/XS/convert/converter_options.c | 19 ++++++++++---------
 tp/Texinfo/XS/main/build_perl_info.h      |  2 ++
 3 files changed, 27 insertions(+), 14 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d2cd381833..337d40fa68 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,12 @@
 2024-10-03  Patrice Dumas  <pertusus@free.fr>
 
-       * tp/Texinfo/XS/Makefile.am (libtexinfoxs*): readd mistakenly removed
-       libtexinfoxs in conflicts resolution on 2024-10-02 "remove block of
-       definition of libtexinfo_convert that crept in".
+       * tp/Texinfo/XS/main/build_perl_info.h: declare
+       html_build_buttons_specification.
 
-       * tp/Texinfo/XS/Makefile.am (libtexinfo_convert_la_SOURCES): really
-       add converter_options.c.
+       * tp/Texinfo/XS/convert/converter_options.c
+       (new_directions_list_buttons_specifications): rename
+       new_texi2html_buttons_specifications as
+       new_directions_list_buttons_specifications.
 
 2024-08-04  Patrice Dumas  <pertusus@free.fr>
 
@@ -83,6 +84,15 @@
        * tp/Texinfo/XS/convert/ConvertXS.xs (html_converter_defaults): return
        undef, all the HTML customization default setup is done in C now.
 
+2024-10-03  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/XS/Makefile.am (libtexinfoxs*): readd mistakenly removed
+       libtexinfoxs in conflicts resolution on 2024-10-02 "remove block of
+       definition of libtexinfo_convert that crept in".
+
+       * tp/Texinfo/XS/Makefile.am (libtexinfo_convert_la_SOURCES): really
+       add converter_options.c.
+
 2024-08-04  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/XS/Makefile.am (libtexinfo_convert_la_SOURCES),
diff --git a/tp/Texinfo/XS/convert/converter_options.c 
b/tp/Texinfo/XS/convert/converter_options.c
index 0fb73d70c7..1203674784 100644
--- a/tp/Texinfo/XS/convert/converter_options.c
+++ b/tp/Texinfo/XS/convert/converter_options.c
@@ -221,7 +221,8 @@ static const int T2H_SECTION_FOOTER_BUTTONS[] = {
 
 
 static BUTTON_SPECIFICATION_LIST *
-new_texi2html_buttons_specifications (CONVERTER *self, const int* directions)
+new_directions_list_buttons_specifications (CONVERTER *self,
+                                            const int* directions)
 {
   int buttons_nr = 0;
   int i;
@@ -286,28 +287,28 @@ set_texi2html_default_buttons_specifications (CONVERTER 
*self)
 {
   OPTIONS *options = self->conf;
   set_option_buttons_specification (&options->SECTION_BUTTONS,
-        new_texi2html_buttons_specifications (self, T2H_SECTION_BUTTONS));
+      new_directions_list_buttons_specifications (self, T2H_SECTION_BUTTONS));
 
   set_option_buttons_specification (&options->TOP_BUTTONS,
-        new_texi2html_buttons_specifications (self, T2H_TOP_BUTTONS));
+      new_directions_list_buttons_specifications (self, T2H_TOP_BUTTONS));
 
   set_option_buttons_specification (&options->TOP_FOOTER_BUTTONS,
-        new_texi2html_buttons_specifications (self, T2H_TOP_BUTTONS));
+      new_directions_list_buttons_specifications (self, T2H_TOP_BUTTONS));
 
   set_option_buttons_specification (&options->MISC_BUTTONS,
-        new_texi2html_buttons_specifications (self, T2H_MISC_BUTTONS));
+      new_directions_list_buttons_specifications (self, T2H_MISC_BUTTONS));
 
   set_option_buttons_specification (&options->CHAPTER_BUTTONS,
-        new_texi2html_buttons_specifications (self, T2H_CHAPTER_BUTTONS));
+      new_directions_list_buttons_specifications (self, T2H_CHAPTER_BUTTONS));
 
   set_option_buttons_specification (&options->SECTION_FOOTER_BUTTONS,
-    new_texi2html_buttons_specifications (self, T2H_SECTION_FOOTER_BUTTONS));
+ new_directions_list_buttons_specifications (self, 
T2H_SECTION_FOOTER_BUTTONS));
 
   set_option_buttons_specification (&options->CHAPTER_FOOTER_BUTTONS,
-        new_texi2html_buttons_specifications (self, T2H_CHAPTER_BUTTONS));
+      new_directions_list_buttons_specifications (self, T2H_CHAPTER_BUTTONS));
 
   set_option_buttons_specification (&options->NODE_FOOTER_BUTTONS,
-        new_texi2html_buttons_specifications (self, T2H_SECTION_BUTTONS));
+      new_directions_list_buttons_specifications (self, T2H_SECTION_BUTTONS));
 }
 
 void
diff --git a/tp/Texinfo/XS/main/build_perl_info.h 
b/tp/Texinfo/XS/main/build_perl_info.h
index bb8b9069ca..abe418454d 100644
--- a/tp/Texinfo/XS/main/build_perl_info.h
+++ b/tp/Texinfo/XS/main/build_perl_info.h
@@ -93,6 +93,8 @@ HV *build_sorted_indices_by_index (
 
 SV *html_build_direction_icons (const CONVERTER *converter,
                             const DIRECTION_ICON_LIST *direction_icons);
+SV *html_build_buttons_specification (CONVERTER *converter,
+                                  BUTTON_SPECIFICATION_LIST *buttons);
 
 void pass_document_to_converter_sv (const CONVERTER *converter,
                                     SV *converter_sv, SV *document_in);



reply via email to

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