13 Commits

Author SHA256 Message Date
1bf12c858f String alloc shouldn't convert to std::string.
Some checks failed
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
As I work through making code use more C++ RAII and such, most
of the work is handling strings, especially temporaries.  As member
variables which manage string memory get turned into `std::string`,
some use cases might wind up leaking memory.  (One was found in
this change.)

By using a non-convertible-to-string result, such accidents should
be avoided.
2025-09-08 13:24:56 -04:00
f283391b46 Get some of the last remaining C files into C++
They still need to be fixed up, but they now build with C++.
2025-08-23 02:09:47 -04:00
521b60d5da Trie and hyphenator RAII. 2025-08-11 03:47:43 -04:00
91da2ff34b Retire a HashTable. 2025-08-11 03:44:38 -04:00
fad69219ad A few more SimpleVector changes.
Some checks failed
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
2025-08-11 02:30:11 -04:00
640ccd02d3 Use std::min and std::max, not the misc versions. 2025-08-10 17:08:42 -04:00
9a907a0501 More non-STL containers contained. 2025-08-09 15:31:50 -04:00
dec64ad9f8 Another local string. 2025-08-05 02:20:34 -04:00
5ee605b975 Trim unused variable. 2025-08-05 00:13:42 -04:00
35b54bbc0c Local string. 2025-08-04 10:41:05 -04:00
d5b9cb2c5e More temporary strings cleaned up. 2025-08-03 21:09:35 -04:00
336f5a73f1 Some local temp string as std::string. 2025-08-03 21:01:47 -04:00
20fea64cb5 Initial import of Dillo 2025-02-28 13:34:30 -05:00