10 Commits

Author SHA256 Message Date
d4a69c0b11 Plumbing ownership further; some things became C++ 2025-04-14 03:48:28 -04:00
61c879c218 URI header now returns pointers with ownership.
I've put `.release()` at most of the callsites, but this
gives me something to search for when taking the next
steps.
2025-04-13 15:05:21 -04:00
c18a12d223 Plumb out ownership a bit. 2025-04-13 00:42:25 -04:00
7e03da3251 Use RAII internally in the allocation function.
Next to return unique_ptr itself!
2025-04-13 00:36:26 -04:00
4005fa7e14 Move more internal URL stuff to RAII. 2025-04-13 00:31:27 -04:00
27ae7d91c1 Begin converting URL struct into modern C++ class 2025-04-12 22:20:34 -04:00
26b903f02f Test drive using std::string to replace dstr.
Looks like it worked within the URL code.

Now we can really start to slice-and-dice.
2025-04-12 04:25:55 -04:00
441a04609b DilloURL has a dtor.
It is the same as the original free function.  But this
will let me put some ownership on various members and slowly
start to C++ify this core type.
2025-04-12 04:08:14 -04:00
06f8226487 Migrate a lot of C to C++.
It will let me put a lot more dtors into certain
structs that C++ code calls `free` on members within.
2025-04-10 02:46:06 -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