[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
From: |
Patrice Dumas |
Date: |
Fri, 4 Oct 2024 18:54:49 -0400 (EDT) |
branch: master
commit 1e50039495b9f10df9c88b047df5058f1325ea5c
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Aug 15 08:23:25 2024 +0200
* tp/Texinfo/XS/convert/convert_html.c: add a form feed delimited code
section for html_attribute_class.
---
ChangeLog | 27 +++++++++++++++++++--------
tp/Texinfo/XS/convert/convert_html.c | 28 +++++++++++++++-------------
2 files changed, 34 insertions(+), 21 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6fb34ad2be..acbe77fe45 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,7 @@
-2024-10-04 Patrice Dumas <pertusus@free.fr>
-
- * tp/Texinfo/XS/convert/convert_html.c
- (html_setup_output_simple_page),
- tp/Texinfo/XS/convert/html_prepare_converter.c (html_set_pages_files):
- readd self->pending_closes initialization that disappeared.
+2024-08-15 Patrice Dumas <pertusus@free.fr>
- * tp/Texinfo/XS/convert/convert_html.c (html_command_description):
- call html_get_target instead of find_element_target.
+ * tp/Texinfo/XS/convert/convert_html.c: add a form feed delimited code
+ section for html_attribute_class.
2024-08-14 Patrice Dumas <pertusus@free.fr>
@@ -74,6 +69,16 @@
(initialize_js_categories_list, initialize_jslicense_files): move
functions and variables to html_prepare_converter.c.
+2024-10-04 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/convert/convert_html.c
+ (html_setup_output_simple_page),
+ tp/Texinfo/XS/convert/html_prepare_converter.c (html_set_pages_files):
+ readd self->pending_closes initialization that disappeared.
+
+ * tp/Texinfo/XS/convert/convert_html.c (html_command_description):
+ call html_get_target instead of find_element_target.
+
2024-08-14 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/convert/convert_html.c (html_get_target): call
@@ -243,6 +248,12 @@
(initialize_css_selector_style_list): move from convert_html.c
to html_conversion_state.c.
+2024-10-04 Patrice Dumas <pertusus@free.fr>
+
+ * tp/Texinfo/XS/convert/html_conversion_state.h: declare
+ html_register_opened_section_level and
+ html_close_registered_sections_level.
+
2024-08-14 Patrice Dumas <pertusus@free.fr>
* tp/Texinfo/XS/Makefile.am (libtexinfo_convert_la_SOURCES),
diff --git a/tp/Texinfo/XS/convert/convert_html.c
b/tp/Texinfo/XS/convert/convert_html.c
index 871fb7e35c..7585852f5d 100644
--- a/tp/Texinfo/XS/convert/convert_html.c
+++ b/tp/Texinfo/XS/convert/convert_html.c
@@ -109,6 +109,15 @@ const enum htmlxref_split_type
htmlxref_entries[htmlxref_split_type_chapter + 1]
/* string functions */
+void
+close_html_lone_element (const CONVERTER *self, TEXT *result)
+{
+ if (self->conf->USE_XML_SYNTAX.o.integer > 0)
+ text_append_n (result, "/>", 2);
+ else
+ text_append_n (result, ">", 1);
+}
+
/* same as matching the regex /^\\[a-zA-Z0-9]+ /
*/
char *
@@ -494,7 +503,7 @@ url_protect_file_text (CONVERTER *self, const char
*input_string)
-/* translation and tree conversion */
+/* string translation and tree conversion */
char *
format_translate_message (CONVERTER *self,
@@ -743,7 +752,7 @@ convert_tree_new_formatting_context (CONVERTER *self, const
ELEMENT *tree,
-/* target, links, href, root command text interface */
+/* target, links, href and root command text formatting, with caching */
/* this number should be safe to use even after targets list has been
reallocated */
@@ -2396,8 +2405,6 @@ from_element_direction (CONVERTER *self, int direction,
-/* misc low level functions */
-
const char *
html_special_unit_info (const CONVERTER *self,
enum special_unit_info_type type,
@@ -2411,6 +2418,10 @@ html_special_unit_info (const CONVERTER *self,
return self->special_unit_info[type][i];
}
+
+
+/* html_attribute_class */
+
static void
add_new_css_page (PAGES_CSS_LIST *css_pages, const char *page_name)
{
@@ -2493,15 +2504,6 @@ collect_css_element_class (CONVERTER *self, const char
*selector)
}
}
-void
-close_html_lone_element (const CONVERTER *self, TEXT *result)
-{
- if (self->conf->USE_XML_SYNTAX.o.integer > 0)
- text_append_n (result, "/>", 2);
- else
- text_append_n (result, ">", 1);
-}
-
static char *
protect_class_name (const char *class_name)
{