11 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
143f1f7d2d Some string cleanup 2025-08-10 23:14:32 -04:00
4ce4fac659 Another STLification of a list. 2025-08-09 11:20:20 -04:00
b1ac6cde6d Expand a bit of ownership... 2025-04-18 18:31:23 -04:00
99515ff353 Plumb Widget ownership up higher. 2025-04-18 14:22:36 -04:00
b6c7511997 Push Widget ownership up one more level. 2025-04-18 14:22:36 -04:00
80f980a2e1 Revert "This adds some resource-ownership tracking."
This reverts commit fad3dbc39a.
2025-04-18 14:22:35 -04:00
4616cbac27 Another one.
This one is annoying.  Sometimes `const char *` means
`std::string`... but sometimes it's `std::optional< std::string >`.

A bit of a pretzel.
2025-03-03 13:36:09 -05:00
fad3dbc39a This adds some resource-ownership tracking.
Time to start spreading this out, more.
2025-03-03 13:26:36 -05:00
20fea64cb5 Initial import of Dillo 2025-02-28 13:34:30 -05:00