24 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
412adaa492 Rename getline function to unsafe, to make it greppable.
Now i can trim them one-by-one.
2025-08-23 02:20:05 -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
d1f5756670 Use standard bool types.
I'm using `stdbool.h` for the few remaining C files.  That will
have to change, soon.
2025-08-21 13:59:12 -04:00
af0c428934 Use new not dNew. 2025-08-06 02:29:37 -04:00
9125a4e901 ClientInfo in C++ now. 2025-08-06 02:18:10 -04:00
7a451806a4 Push some ownership out a bit. 2025-08-06 02:17:03 -04:00
3000aa7ef3 Another local string. 2025-08-06 02:14:42 -04:00
88ff5aa44d Fix building on Fedora & GCC 15.1 2025-06-23 20:05:41 -04:00
0c350a85c1 Some file plugin structures RAII'ed. 2025-04-27 11:41:19 -04:00
23d178d472 Another local simple string. 2025-04-19 02:27:43 -04:00
414c1d287e More temporary string cleanup. 2025-04-19 02:25:08 -04:00
aaead901ae Another popup string 2025-04-19 02:18:15 -04:00
688f2fddf2 Another short lifetime string managed. 2025-04-19 02:10:22 -04:00
efb891d82e Ownership for a short lifetime string. 2025-04-19 02:08:30 -04:00
d4a69c0b11 Plumbing ownership further; some things became C++ 2025-04-14 03:48:28 -04:00
27ae7d91c1 Begin converting URL struct into modern C++ class 2025-04-12 22:20:34 -04:00
e595830fab Rename user-facing bits of Dillo to Flenser.
I dunno if I got them all.

This is also now version 0.0.0
2025-04-12 00:43:11 -04:00
396b5fc2a6 This is a major lift into C++.
Much of the code is now building in C++, and I'm using C++23.

A spot test seems to work.  Now I can start to debride all the
painful memory management quirks...
2025-03-01 03:03:25 -05:00
ee54d2aff8 More memory management.
I'm seeing a lot of potential memory leaks of various FLTK components...

Unless their ctors register themselves into some global garbage
collector...  It's a mess.
2025-02-28 15:42:39 -05:00
5d489d1441 Move to another unique ptr. 2025-02-28 15:16:08 -05:00
c6370d1cfd Remove one simple new/delete pair.
More to come!
2025-02-28 15:02:27 -05:00
8101f9f267 This marks the "start" of Flenser. 2025-02-28 13:53:05 -05:00
20fea64cb5 Initial import of Dillo 2025-02-28 13:34:30 -05:00