gnucash stable: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Thu Apr 16 16:48:25 EDT 2026
Updated via https://github.com/Gnucash/gnucash/commit/87a1d41f (commit)
via https://github.com/Gnucash/gnucash/commit/9a4193e9 (commit)
from https://github.com/Gnucash/gnucash/commit/3da38203 (commit)
commit 87a1d41f9e336dee1157ec5012700799c6f14420
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Apr 16 13:47:41 2026 -0700
HTML: Remove unimplemented function declarations.
diff --git a/gnucash/html/gnc-html.h b/gnucash/html/gnc-html.h
index 500832846f..e758fd9111 100644
--- a/gnucash/html/gnc-html.h
+++ b/gnucash/html/gnc-html.h
@@ -113,24 +113,6 @@ gboolean gnc_html_register_urltype( URLType type, const gchar* protocol ) NOEXCE
*/
void gnc_html_initialize( void ) NOEXCEPT;
-gchar* gnc_html_encode_string( const gchar* in ) NOEXCEPT;
-gchar* gnc_html_decode_string( const gchar* in ) NOEXCEPT;
-gchar* gnc_html_escape_newlines( const gchar* in ) NOEXCEPT;
-gchar* gnc_html_unescape_newlines( const gchar* in ) NOEXCEPT;
-
-/* object handlers deal with <object classid="foo"> objects in HTML.
- * the handlers are looked up at object load time. */
-void gnc_html_register_object_handler( const gchar* classid, GncHTMLObjectCB hand ) NOEXCEPT;
-void gnc_html_unregister_object_handler( const gchar* classid ) NOEXCEPT;
-
-/* stream handlers load data for particular URLTypes. */
-void gnc_html_register_stream_handler( URLType url_type, GncHTMLStreamCB hand ) NOEXCEPT;
-void gnc_html_unregister_stream_handler( URLType url_type ) NOEXCEPT;
-
-/* handlers for particular URLTypes. */
-void gnc_html_register_url_handler( URLType url_type, GncHTMLUrlCB hand ) NOEXCEPT;
-void gnc_html_unregister_url_handler( URLType url_type ) NOEXCEPT;
-
#ifdef __cplusplus
}
#endif
commit 9a4193e9221294916bed350f3918195c1bf54e0a
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Apr 16 13:41:54 2026 -0700
Fix new llvm deprecation warning about char_traits<unsigned int> coming from boost::u32regex_replace.
diff --git a/gnucash/import-export/csv-imp/gnc-imp-props-price.cpp b/gnucash/import-export/csv-imp/gnc-imp-props-price.cpp
index 666b4098ea..40b5529e7a 100644
--- a/gnucash/import-export/csv-imp/gnc-imp-props-price.cpp
+++ b/gnucash/import-export/csv-imp/gnc-imp-props-price.cpp
@@ -69,7 +69,8 @@ GncNumeric parse_amount_price (const std::string &str, int currency_format)
throw std::invalid_argument (_("Value doesn't appear to contain a valid number."));
auto expr = boost::make_u32regex("[[:Sc:]]");
- std::string str_no_symbols = boost::u32regex_replace(str, expr, "");
+ std::string str_no_symbols;
+ boost::u32regex_replace(icu::UnicodeString::fromUTF8(str), expr, "").toUTF8String(str_no_symbols);
/* Convert based on user chosen currency format */
gnc_numeric val = gnc_numeric_zero();
diff --git a/gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp b/gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp
index 0cd957cb45..46d4b1bbb5 100644
--- a/gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp
+++ b/gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp
@@ -139,7 +139,8 @@ GncNumeric parse_monetary (const std::string &str, int currency_format)
throw std::invalid_argument (_("Value doesn't appear to contain a valid number."));
auto expr = boost::make_u32regex("[[:Sc:][:blank:]]|--");
- std::string str_no_symbols = boost::u32regex_replace(str, expr, "");
+ std::string str_no_symbols;
+ boost::u32regex_replace(icu::UnicodeString::fromUTF8(str), expr, "").toUTF8String(str_no_symbols);
/* Convert based on user chosen currency format */
gnc_numeric val = gnc_numeric_zero();
Summary of changes:
gnucash/html/gnc-html.h | 18 ------------------
gnucash/import-export/csv-imp/gnc-imp-props-price.cpp | 3 ++-
gnucash/import-export/csv-imp/gnc-imp-props-tx.cpp | 3 ++-
3 files changed, 4 insertions(+), 20 deletions(-)
More information about the gnucash-changes
mailing list