[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: * tp/Texinfo/XS/convert/create_buttons.h (enum BU
From: |
Patrice Dumas |
Subject: |
branch master updated: * tp/Texinfo/XS/convert/create_buttons.h (enum BUTTON_special_unit_directions), tp/Texinfo/XS/convert/html_converter_init_options.h: move enum BUTTON_special_unit_directions to create_buttons.h. |
Date: |
Fri, 04 Oct 2024 02:25:01 -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 79ebbd3a21 * tp/Texinfo/XS/convert/create_buttons.h (enum
BUTTON_special_unit_directions),
tp/Texinfo/XS/convert/html_converter_init_options.h: move enum
BUTTON_special_unit_directions to create_buttons.h.
79ebbd3a21 is described below
commit 79ebbd3a217eb36b60222475a3bb72858276fe5a
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Oct 4 08:25:03 2024 +0200
* tp/Texinfo/XS/convert/create_buttons.h (enum
BUTTON_special_unit_directions),
tp/Texinfo/XS/convert/html_converter_init_options.h: move enum
BUTTON_special_unit_directions to create_buttons.h.
---
ChangeLog | 19 +++++++++++++------
tp/Texinfo/XS/convert/create_buttons.c | 4 ----
tp/Texinfo/XS/convert/create_buttons.h | 7 +++++++
tp/Texinfo/XS/convert/html_converter_init_options.h | 8 --------
4 files changed, 20 insertions(+), 18 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 026671d4be..e3d0313713 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,11 +1,9 @@
2024-10-04 Patrice Dumas <pertusus@free.fr>
- * tp/Texinfo/XS/main/get_perl_info.c
- (html_fill_button_sv_specification_list): cast to (SV *) before
- callling SvPVutf8_nolen. Report from Gavin. Analysis of Andreas
- Schwab: before v5.37.2 SvPVutf8_nolen was a macro that dereferenced
- its argument, after that the implementation moved into an inline
- function.
+ * tp/Texinfo/XS/convert/create_buttons.h (enum
+ BUTTON_special_unit_directions),
+ tp/Texinfo/XS/convert/html_converter_init_options.h: move enum
+ BUTTON_special_unit_directions to create_buttons.h.
2024-08-10 Patrice Dumas <pertusus@free.fr>
@@ -18,6 +16,15 @@
creations functions in a separate file, create_buttons.c. Rename some
functions.
+2024-10-04 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/main/get_perl_info.c
+ (html_fill_button_sv_specification_list): cast to (SV *) before
+ callling SvPVutf8_nolen. Report from Gavin. Analysis of Andreas
+ Schwab: before v5.37.2 SvPVutf8_nolen was a macro that dereferenced
+ its argument, after that the implementation moved into an inline
+ function.
+
2024-08-10 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/main/utils.c (list_add_option)
diff --git a/tp/Texinfo/XS/convert/create_buttons.c
b/tp/Texinfo/XS/convert/create_buttons.c
index dd940d0929..a31c0aea8a 100644
--- a/tp/Texinfo/XS/convert/create_buttons.c
+++ b/tp/Texinfo/XS/convert/create_buttons.c
@@ -30,10 +30,6 @@
*/
#include "create_buttons.h"
-/* HTML converter options setting and initialization. Not with format
- specific converter code, since this code is called from generic
- converter code. */
-
/* should be consistent with enum BUTTON_special_unit_directions. See
the comment there */
static const char *buttons_special_units_names[] = {
diff --git a/tp/Texinfo/XS/convert/create_buttons.h
b/tp/Texinfo/XS/convert/create_buttons.h
index 398289884e..ee713cedcc 100644
--- a/tp/Texinfo/XS/convert/create_buttons.h
+++ b/tp/Texinfo/XS/convert/create_buttons.h
@@ -8,6 +8,13 @@
#include "option_types.h"
#include "converter_types.h"
+/* the enum value is negative to denote a special unit direction with
+ a direction index not already known. And such that -enum_value -2
+ is the index in the special units directions names array */
+enum BUTTON_special_unit_directions {
+ BSUD_D_About = -3,
+ BSUD_D_Contents,
+};
void new_button_specification (BUTTON_SPECIFICATION *button,
enum button_specification_type type,
diff --git a/tp/Texinfo/XS/convert/html_converter_init_options.h
b/tp/Texinfo/XS/convert/html_converter_init_options.h
index 6bce290011..eb96ae9c5c 100644
--- a/tp/Texinfo/XS/convert/html_converter_init_options.h
+++ b/tp/Texinfo/XS/convert/html_converter_init_options.h
@@ -5,14 +5,6 @@
#include "option_types.h"
#include "converter_types.h"
-/* the enum value is negative to denote a special unit direction with
- a direction index not already known. And such that -enum_value -2
- is the index in the special units directions names array */
-enum BUTTON_special_unit_directions {
- BSUD_D_About = -3,
- BSUD_D_Contents,
-};
-
void html_converter_defaults (CONVERTER *self,
CONVERTER_INITIALIZATION_INFO *format_defaults);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: * tp/Texinfo/XS/convert/create_buttons.h (enum BUTTON_special_unit_directions), tp/Texinfo/XS/convert/html_converter_init_options.h: move enum BUTTON_special_unit_directions to create_buttons.h.,
Patrice Dumas <=
- Prev by Date:
branch master updated: * tp/Texinfo/XS/convert/create_buttons.c (new_button_specification) (new_button_specification_list, new_base_navigation_buttons) (new_base_links_buttons, new_base_navigation_section_buttons) (new_base_navigation_section_footer_buttons), tp/Texinfo/XS/convert/html_converter_init_options.c, tp/Texinfo/XS/Makefile.am (libtexinfo_convert_la_SOURCES): put buttons creations functions in a separate file, create_buttons.c. Rename some functions.
- Next by Date:
branch master updated: * tp/Texinfo/XS/convert/create_buttons.c (new_special_unit_direction_button): pass direction information as an enum BUTTON_special_unit_directions. Use buttons_special_units_names to get the button name. Pass converter and call html_get_direction_index in new_special_unit_direction_button. Update callers. Move new_directions_list_buttons_specifications to the end of the file.
- Previous by thread:
branch master updated: * tp/Texinfo/XS/convert/create_buttons.c (new_button_specification) (new_button_specification_list, new_base_navigation_buttons) (new_base_links_buttons, new_base_navigation_section_buttons) (new_base_navigation_section_footer_buttons), tp/Texinfo/XS/convert/html_converter_init_options.c, tp/Texinfo/XS/Makefile.am (libtexinfo_convert_la_SOURCES): put buttons creations functions in a separate file, create_buttons.c. Rename some functions.
- Next by thread:
branch master updated: * tp/Texinfo/XS/convert/create_buttons.c (new_special_unit_direction_button): pass direction information as an enum BUTTON_special_unit_directions. Use buttons_special_units_names to get the button name. Pass converter and call html_get_direction_index in new_special_unit_direction_button. Update callers. Move new_directions_list_buttons_specifications to the end of the file.
- Index(es):