9412da8e85
DNS changes, mostly work?
2025-05-12 23:43:14 -04:00
c64846c02c
Some ownership for history/nav.
2025-04-26 03:25:33 -04:00
cbb099700b
Fix another optional access usage.
2025-04-26 03:22:44 -04:00
512e3fbcfd
Hsts domain list is now a vector...
...
I still have to test this.
2025-04-24 09:05:17 -04:00
b8bc9d5c44
Hsts struct has dtor.
...
Now I can put them into a container.
2025-04-24 08:54:30 -04:00
aec0331924
Fix bad optional reference.
...
The client calls still take pointers, for now.
We'll get there... There's a lot to convert.
2025-04-24 00:29:25 -04:00
265ac2aa9a
Another set of local ownership down.
2025-04-24 00:12:13 -04:00
6af638059b
A bit closer to RAII on the doctree.
...
It should be an external vector of ownership... The recursion
through the stack for deletion has the potential to be a
serious problem.
2025-04-23 20:24:50 -04:00
f702ca398d
Doctree owns its root node correctly now.
2025-04-20 01:42:39 -04:00
0dc0938c7f
This should be a unique_ptr.
...
The lower functions already created them so, and I marked them
`release`. Time to unify.
2025-04-19 02:41:03 -04:00
b5b137c2df
Temporary local string "oldlocale".
2025-04-19 02:39:13 -04:00
918a283748
Ownership of Platform in part of the code.
2025-04-19 01:02:59 -04:00
dfa19f03cd
Browser window owns a few more things.
2025-04-18 17:07:07 -04:00
12812814d4
Merge branch 'fix-ui-crash-bug' into master
...
* fix-ui-crash-bug:
Ownership of page Widget plumbed to top.
Plumb Widget ownership up higher.
Push Widget ownership up one more level.
Do the whitespace format.
Some further expansion of ownership for `Widget`.
Widen the unique pointer a bit more.
I plumbed out ownership a bit and it hasn't crashed yet.
Started plumbing out the ownership from layout.
Revert "This adds some resource-ownership tracking."
2025-04-18 14:23:39 -04:00
5f222e30b8
More ownership work.
2025-04-18 14:23:19 -04:00
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
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
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
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
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
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
fad3dbc39a
This adds some resource-ownership tracking.
...
Time to start spreading this out, more.
2025-03-03 13:26:36 -05:00