texinfo-commits
[Top][All Lists]
Advanced

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

master updated (71de2e4d96 -> c3b06d8ecb)


From: Patrice Dumas
Subject: master updated (71de2e4d96 -> c3b06d8ecb)
Date: Tue, 29 Oct 2024 11:22:50 -0400 (EDT)

pertusus pushed a change to branch master.

    from 71de2e4d96 * tp/Texinfo/XS/convert/hashmap.c 
(clear_registered_ids_c_hashmap): do not access the hashmap if it had never 
been initialized.
     new 5b4bce7970 * tp/Texinfo/Convert/HTML.pm (run_stage_handlers), 
tp/Texinfo/XS/convert/call_html_perl_function.c (call_stage_handler), 
tp/Texinfo/XS/convert/convert_html.c (html_run_stage_handlers), 
tp/Texinfo/XS/convert/replace_perl_call_html_function.c (call_stage_handler): 
check the stage handler return value and error out if it is not numeric.  Add 
an error status argument to call_stage_handler to get the specific error in 
html_run_stage_handlers.
     new c3b06d8ecb * tp/Makefile.am (test_files), 
tp/t/init/stage_handler_bad_return.pm, tp/t/init/stage_handler_undef_return.pm, 
tp/tests/Makefile.onetst (type_base_one_test_files_generated_list), 
tp/tests/customization/list-of-tests (simplest_stage_handler_bad_return) 
(simplest_stage_handler_undef_return): add tests of invalid stage handlers 
return values.


Summary of changes:
 ChangeLog                                           | 21 +++++++++++++++++++++
 tp/Makefile.am                                      |  2 ++
 tp/TODO                                             |  1 -
 tp/Texinfo/Convert/HTML.pm                          |  8 ++++++--
 tp/Texinfo/XS/convert/call_html_perl_function.c     | 12 ++++++++++--
 tp/Texinfo/XS/convert/call_html_perl_function.h     |  2 +-
 tp/Texinfo/XS/convert/convert_html.c                | 11 ++++++++++-
 .../XS/convert/replace_perl_call_html_function.c    |  3 ++-
 tp/t/init/stage_handler_bad_return.pm               | 20 ++++++++++++++++++++
 tp/t/init/stage_handler_undef_return.pm             | 10 ++++++++++
 tp/tests/Makefile.onetst                            |  2 ++
 tp/tests/customization/list-of-tests                |  3 +++
 .../simplest_stage_handler_bad_return/simplest.1    |  0
 .../simplest_stage_handler_bad_return/simplest.2    |  1 +
 .../simplest_stage_handler_undef_return/simplest.1  |  0
 .../simplest_stage_handler_undef_return/simplest.2  |  1 +
 ...tomization_simplest_stage_handler_bad_return.sh} |  2 +-
 ...mization_simplest_stage_handler_undef_return.sh} |  2 +-
 18 files changed, 91 insertions(+), 10 deletions(-)
 create mode 100644 tp/t/init/stage_handler_bad_return.pm
 create mode 100644 tp/t/init/stage_handler_undef_return.pm
 copy infog/test-infodir/dummy => 
tp/tests/customization/res_parser/simplest_stage_handler_bad_return/simplest.1 
(100%)
 create mode 100644 
tp/tests/customization/res_parser/simplest_stage_handler_bad_return/simplest.2
 copy infog/test-infodir/dummy => 
tp/tests/customization/res_parser/simplest_stage_handler_undef_return/simplest.1
 (100%)
 create mode 100644 
tp/tests/customization/res_parser/simplest_stage_handler_undef_return/simplest.2
 copy tp/tests/test_scripts/{customization_double_contents_after_title_book.sh 
=> customization_simplest_stage_handler_bad_return.sh} (87%)
 copy tp/tests/test_scripts/{customization_double_contents_after_title_book.sh 
=> customization_simplest_stage_handler_undef_return.sh} (87%)



reply via email to

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