Commit Graph

219 Commits

Author SHA256 Message Date
1f4f31f409 Html dtor simplified more. 2025-08-01 02:24:52 -04:00
9ad7d008e5 The dtor has to be called correctly. 2025-08-01 02:21:53 -04:00
971822ab09 Images list in DilloHtml is now a vector.
Next to put in unique_ptrs.
2025-08-01 02:19:56 -04:00
f5ac9a2365 Implicit dtor for DilloHtmlImage. 2025-08-01 02:14:51 -04:00
bf1e787deb Forms code is a bit more RAII. 2025-08-01 02:08:15 -04:00
eeb3db8bfd A bit more RAII for DilloHtml... 2025-08-01 01:47:08 -04:00
b82eab34cf DilloHtml RAII members RAII use implicit cleanup. 2025-08-01 01:37:23 -04:00
252c91e6c1 Simplify some ownership on DilloHtml. 2025-08-01 01:36:14 -04:00
65f85a0b43 Image (reference counted) now uses shared_ptr. 2025-08-01 01:30:15 -04:00
b2963b17d2 Just about ready to make Image use shared_ptr.
This lets me get rid of the refcount member and the
ref/deref functions.
2025-08-01 01:04:35 -04:00
a16f3cb74d Bitvec now is RAII (sorta).
I should probably use either a `std::vector< uint8_t >` or
maybe a bitvector object... but for now, this is progress.
2025-08-01 00:59:32 -04:00
c47430b1ae Some simple C++ modernizations before I make bitvec RAII. 2025-08-01 00:49:17 -04:00
9ddcb3c509 Bitvec now builds in C++ 2025-08-01 00:47:08 -04:00
4284c308be C++ implicit typedef.
Before I C++ify image, I'll C++ify bitvec.

It isn't even built in C++ yet.
2025-08-01 00:39:53 -04:00
58eceb9a46 Many members of DilloWeb are now C++ RAII. 2025-08-01 00:34:12 -04:00
4093da9640 Use new/delete for another struct 2025-07-30 11:09:16 -04:00
39858a75b1 Root clients is now a C++ container. 2025-07-11 15:26:40 -04:00
2aff56a2f4 Make BrowserWindow own more of its resources. 2025-07-11 15:26:40 -04:00
21b581afb9 More modern code for FD management in HTTP. 2025-07-11 15:26:40 -04:00
88ff5aa44d Fix building on Fedora & GCC 15.1 2025-06-23 20:05:41 -04:00
fda0baa552 Merge branch 'icon' into master
* icon:
  A bit more tweaking to try to get the icon to work.
  Add new icon.

 Conflicts:
	rebuild
2025-05-31 08:38:59 -04:00
8bd7974105 Merge branch 'master' of gitea.nerdland.org:adam/flenser into master
* 'master' of gitea.nerdland.org:adam/flenser:
  Automatic processor count for parallel make
  Fix building when webp libs are not there.
2025-05-31 08:37:04 -04:00
9ddc88d151 Some memory changes in forms. 2025-05-31 08:36:48 -04:00
bfa41d20ac Merge branch 'dns-changes' into master
* dns-changes:
  DNS changes, mostly work?
2025-05-24 08:55:15 -04:00
ef7011c7cf Popup menu ownership of URLs. 2025-05-20 12:47:56 -04:00
bd581c55b6 Fix form rendering bugs I introduced.
In translating from pointers to strings, I
need to handle the nullable case better.
2025-05-20 02:19:51 -04:00
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