243 Commits

Author SHA256 Message Date
f41a7bd7c3 A bit more tweaking to try to get the icon to work. 2025-05-20 02:10:36 -04:00
2e06959fb0 Add new icon. 2025-05-13 19:17:25 -04:00
9412da8e85 DNS changes, mostly work? 2025-05-12 23:43:14 -04:00
44bf91d361 Automatic processor count for parallel make 2025-05-12 22:30:00 -04:00
22fc5227c4 Fix building when webp libs are not there. 2025-05-12 22:30:00 -04:00
0c350a85c1 Some file plugin structures RAII'ed. 2025-04-27 11:41:19 -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
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
918a283748 Ownership of Platform in part of the code. 2025-04-19 01:02:59 -04:00
4ba2146cd1 Plumb another pointer further... 2025-04-18 18:36:52 -04:00
b1ac6cde6d Expand a bit of ownership... 2025-04-18 18:31:23 -04:00
dfa19f03cd Browser window owns a few more things. 2025-04-18 17:07:07 -04:00
b1854e8db8 Put some ownership on a vector. 2025-04-18 16:09:46 -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
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