176628fa02
Ownership of page Widget plumbed to top.
...
Now it's created by `make_unique`.
2025-04-18 14:22:36 -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
dceaffe4f7
Do the whitespace format.
...
(This may make some diff tracking easier?)
2025-04-18 14:22:36 -04:00
317d1bfa56
Some further expansion of ownership for Widget.
2025-04-18 14:22:35 -04:00
f63c1209a9
Widen the unique pointer a bit more.
2025-04-18 14:22:35 -04:00
f4e70bfa75
I plumbed out ownership a bit and it hasn't crashed yet.
2025-04-18 14:22:35 -04:00
fc9a191582
Started plumbing out the ownership from layout.
...
It seems to not crash, yet.
2025-04-18 14:22:35 -04:00
80f980a2e1
Revert "This adds some resource-ownership tracking."
...
This reverts commit fad3dbc39a .
2025-04-18 14:22:35 -04:00
d001d2609b
Bug tracking string is now kinda C++
2025-04-15 20:12:08 -04:00
5c79999603
Moved BrowserWindow to new/delete.
2025-04-15 20:10:33 -04:00
5a9bd87b0a
Add nil dtor for window, and make it ready for C++
2025-04-15 11:39:05 -04:00
71fdec3129
URL code uses more C++ string bits.
2025-04-14 23:59:21 -04:00
51047f212e
Another quick win on ownership.
2025-04-14 05:03:35 -04:00
b4f3c72f22
Form receiver gets unique ptr.
2025-04-14 04:16:46 -04:00
d4a69c0b11
Plumbing ownership further; some things became C++
2025-04-14 03:48:28 -04:00
76bae93e1c
Plumb the ownership up a bit.
...
The HTML function returning a DilloUrl now returns
ownership. More releases scattered, but we can clean those
up in time.
2025-04-13 15:40:46 -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
a189fff1ad
Declare obsolete certain things in the design docs
2025-04-12 23:02:10 -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
07485c7959
Manage an FLTK cancel button via smart ptr.
...
It's still `release()`'d, but I can make a cleaner
wrapper which explicitly type-enforces the ownership
transfer.
That will come later.
2025-04-12 04:07:13 -04:00
d1d4653477
Manage a string in HTTP TLS core.
2025-04-12 03:07:10 -04:00
446b12f5f7
Manage a window.
2025-04-12 03:05:40 -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
564567d389
Charset now an optional string.
2025-04-11 19:49:07 -04:00
3407c98eec
Make autogen part of the build process
2025-04-11 19:46:57 -04:00
8bcf60ccc9
Rebuild helper.
2025-04-10 02:47:01 -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
f29c4f3992
Removed a few of the SimpleVector lists.
2025-04-09 13:02:23 -04:00
36d04ad1c4
Another easy win.
2025-04-09 04:10:04 -04:00
228da913c4
A major lift.
...
Quite a few uses of raw memory management had to be
struck down, in a batch. It could have been a bit
more precise to do some of the lower dependencies
first, but I didn't start there with my analysis.
2025-04-09 03:48:51 -04:00
885a5ba629
Another memory simplification.
2025-04-07 22:37:33 -04:00
40e2306664
A Vector has been replaced.
2025-03-13 22:26:15 -04:00
9be23f8360
One more.
2025-03-11 17:33:13 -04:00
5f1fa36890
Improvement for keybinding memory management.
...
I'm not respecting the sorted list anymore, but it's still good.
2025-03-04 01:03:18 -05:00
a3ae87e90b
Remove some explicit string management.
2025-03-03 13:44:42 -05: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
a36901db50
A simple one.
2025-03-03 01:14:07 -05:00
d814e000bd
Remove another raw-delete.
2025-03-03 00:53:25 -05:00
23599df231
Unique pointer a member of style node.
2025-03-03 00:49:53 -05:00
865e176e5d
Another one. This one was big.
2025-03-03 00:37:28 -05:00
82fcd7c1f8
Another one bites the dust.
2025-03-03 00:12:01 -05:00
df45103126
Another container.
2025-03-02 23:44:14 -05:00
7c3f2c1535
Remove one custom container usage.
2025-03-02 23:06:04 -05:00