head 1.3; access; symbols pkgsrc-2026Q2:1.2.0.2 pkgsrc-2026Q2-base:1.2; locks; strict; comment @// @; 1.3 date 2026.08.11.14.40.34; author ktnb; state dead; branches; next 1.2; commitid QZhXEhi1zx7TgeRG; 1.2 date 2026.05.13.19.12.43; author ktnb; state Exp; branches; next 1.1; commitid Y1NX9GCxRj5zFGFG; 1.1 date 2026.05.13.17.46.13; author ktnb; state Exp; branches; next ; commitid VqNbhmwH0oZQbGFG; desc @@ 1.3 log @mu: update to 1.14.3 Many internal cleanups/fixups/C++20-modernization, but also a number of new features: mu: - better handling of html parts - fall back to most recent 'Received' for 'Date:'-less messages - record the time-zone offset - command-line completion for bash & zsh mu4e: - improved mime-handling - improved HTML view (generate HTML view for pure text as well) - hide "clickables" until requested (but see - mu4e-view-always-show-url-indicators) scm: - performance improvements - new methods for querying system configuration" and querying database - fields, and getting timezone information (for 'date' and 'changed') @ text @$NetBSD: patch-lib_utils_mu-html-to-text.cc,v 1.2 2026/05/13 19:12:43 ktnb Exp $ ctype(3) for NetBSD 11 --- lib/utils/mu-html-to-text.cc.orig 2026-04-27 19:03:29.000000000 +0000 +++ lib/utils/mu-html-to-text.cc @@@@ -36,7 +36,7 @@@@ starts_with(std::string_view haystack, std::string_vie return false; for (auto&& c = 0U; c != needle.size(); ++c) - if (::tolower(haystack[c]) != ::tolower(needle[c])) + if (::tolower((unsigned char)haystack[c]) != ::tolower((unsigned char)needle[c])) return false; return true; @@@@ -143,7 +143,7 @@@@ class Context { (public) std::string_view eat_head_word() { size_t start_pos{pos_}; while (!done()) { - if (!::isalpha(html_.at(pos_))) + if (!::isalpha(static_cast(html_.at(pos_)))) break; ++pos_; } @@@@ -440,7 +440,7 @@@@ html_escape_char(Context& ctx) auto unescape=[escs](std::string_view esc)->char { if (esc.empty()) return ' '; - auto first{static_cast(::tolower(esc.at(0)))}; + auto first{static_cast(::tolower((unsigned char)esc.at(0)))}; auto rest=esc.substr(1); if (seq_some(escs, [&](auto&& e){return starts_with(rest, e);})) return first; @ 1.2 log @mu: found another ctype(3) issue... @ text @d1 1 a1 1 $NetBSD: patch-lib_utils_mu-html-to-text.cc,v 1.1 2026/05/13 17:46:13 ktnb Exp $ @ 1.1 log @mu: fixed ctype(3) issue @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- lib/utils/mu-html-to-text.cc.orig 2026-05-13 17:22:59.975533319 +0000 d16 9 @