166 Commits

Author SHA256 Message Date
adam 2394e7d9f7 Local string. 2025-08-11 02:46:49 -04:00
adam accecfca20 Another local string. 2025-08-11 02:42:06 -04:00
adam 143f1f7d2d Some string cleanup 2025-08-10 23:14:32 -04:00
adam 47d9c7eaa0 Another SimpleVector down. 2025-08-10 22:49:36 -04:00
adam 6b3eb54b09 Another simple vector down. 2025-08-10 22:37:23 -04:00
adam 3e16e85878 Minor style nit. 2025-08-10 22:27:41 -04:00
adam 82512db44a Start to permeate more ownership. 2025-08-10 17:27:52 -04:00
adam e65b5e8b86 Smashed another SimpleVector. 2025-08-09 18:08:51 -04:00
adam 0d99c78908 HtmlInput ownership. 2025-08-09 18:03:43 -04:00
adam f4281aea39 Another simple ownership case.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
2025-08-09 17:55:58 -04:00
adam 0bf153b049 Retire some instanceOf usage.
More can be retired.  Eventually, I think I can eliminate
the poor-man's RTTI in `Identity::Class`.
2025-08-09 05:44:53 -04:00
adam 6ec7e50758 instanceOf now uses RTTI and checks its answer.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
Next I'll just remove it, but this commit lets me
have something in history such that I can fall back to
check for bugs that might get introduced.
2025-08-09 05:27:43 -04:00
adam eaee41750d Plumb some ownership around. 2025-08-06 03:38:48 -04:00
adam f3dcd987dc Remove an error in url generation. 2025-08-06 02:07:34 -04:00
adam d767d052f4 Another local string. 2025-08-06 02:05:58 -04:00
adam 96d984777c HTML parsing stack is now a vector. 2025-08-05 23:07:31 -04:00
adam f20470acaf Avoid C typedefs. 2025-08-05 22:53:56 -04:00
adam 56be517082 Another URL in DilloHtml. 2025-08-05 22:36:09 -04:00
adam 9c2225a633 A url. 2025-08-05 22:30:12 -04:00
adam 92e90f9233 Another string. 2025-08-05 22:29:54 -04:00
adam fb5c4c762a More local string management. 2025-08-04 02:39:43 -04:00
adam 331f1c030b An ersatz vector is now replaced. 2025-08-03 21:09:47 -04:00
adam 09e94a651d PNG code uses setjmp/longjmp. Leaving it alone for now. 2025-08-02 02:12:52 -04:00
adam bd11b90200 Gif now owns its data. 2025-08-02 00:55:08 -04:00
adam 019f151588 Use this in gif dtor. 2025-08-01 11:40:22 -04:00
adam 8fbb06a701 Gif with dtor. 2025-08-01 11:39:58 -04:00
adam 2e28fca5dd Forgot a fix to make it build.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
2025-08-01 11:34:44 -04:00
adam bf2ea183b2 A bit more ownership cleanpups.
CI / ubuntu-latest-html-tests (push) Has been cancelled
CI / ubuntu-latest-no-tls (push) Has been cancelled
CI / ubuntu-latest-mbedtls2 (push) Has been cancelled
CI / ubuntu-latest-openssl-3 (push) Has been cancelled
CI / ubuntu-latest-with-old-std (push) Has been cancelled
CI / ubuntu-20-04-openssl-1-1 (push) Has been cancelled
CI / alpine-mbedtls-3_6_0 (push) Has been cancelled
CI / macOS-13-openssl-1-1 (push) Has been cancelled
CI / macOS-13-openssl-3 (push) Has been cancelled
CI / freebsd-14-openssl-3 (push) Has been cancelled
CI / windows-mbedtls (push) Has been cancelled
2025-08-01 02:39:13 -04:00
adam 1f4f31f409 Html dtor simplified more. 2025-08-01 02:24:52 -04:00
adam 9ad7d008e5 The dtor has to be called correctly. 2025-08-01 02:21:53 -04:00
adam 971822ab09 Images list in DilloHtml is now a vector.
Next to put in unique_ptrs.
2025-08-01 02:19:56 -04:00
adam f5ac9a2365 Implicit dtor for DilloHtmlImage. 2025-08-01 02:14:51 -04:00
adam bf1e787deb Forms code is a bit more RAII. 2025-08-01 02:08:15 -04:00
adam eeb3db8bfd A bit more RAII for DilloHtml... 2025-08-01 01:47:08 -04:00
adam b82eab34cf DilloHtml RAII members RAII use implicit cleanup. 2025-08-01 01:37:23 -04:00
adam 252c91e6c1 Simplify some ownership on DilloHtml. 2025-08-01 01:36:14 -04:00
adam 65f85a0b43 Image (reference counted) now uses shared_ptr. 2025-08-01 01:30:15 -04:00
adam 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
adam 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
adam c47430b1ae Some simple C++ modernizations before I make bitvec RAII. 2025-08-01 00:49:17 -04:00
adam 9ddcb3c509 Bitvec now builds in C++ 2025-08-01 00:47:08 -04:00
adam 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
adam 58eceb9a46 Many members of DilloWeb are now C++ RAII. 2025-08-01 00:34:12 -04:00
adam 4093da9640 Use new/delete for another struct 2025-07-30 11:09:16 -04:00
adam 39858a75b1 Root clients is now a C++ container. 2025-07-11 15:26:40 -04:00
adam 2aff56a2f4 Make BrowserWindow own more of its resources. 2025-07-11 15:26:40 -04:00
adam 21b581afb9 More modern code for FD management in HTTP. 2025-07-11 15:26:40 -04:00
adam 88ff5aa44d Fix building on Fedora & GCC 15.1 2025-06-23 20:05:41 -04:00
adam 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
adam 9ddc88d151 Some memory changes in forms. 2025-05-31 08:36:48 -04:00